Compare commits

...
1889 Commits
Author SHA1 Message Date
Evan Hunt 40a96669b8 prepare final release of 9.4.2-P2-W1 2008-09-04 05:47:09 +00:00
Evan Hunt 546f408239 grammar fix in change note 2008-08-21 01:03:34 +00:00
Evan Hunt a717a19d6b Release 9.4.2-P2-W1 2008-08-21 00:50:09 +00:00
cvs2git eb4d312817 This commit was manufactured by cvs2git to create branch 'v9_4_2_P2_win32'. 2008-07-29 19:43:34 +00:00
cvs2git 0541399136 This commit was manufactured by cvs2git to create branch
'custom_ALLIANZ_v9_4_2_P2'.
2008-07-29 19:43:30 +00:00
Evan Hunt 0a92490229 added missing note 2008-07-29 19:43:29 +00:00
Tatuya JINMEI 神明達哉 702217e3c7 a missing cast for isc_task_send() 2008-07-29 18:35:53 +00:00
Evan Hunt e395d9662a Prepare release of 9.4.2-P2 2008-07-29 05:03:28 +00:00
Evan Hunt 09b149372c ISC_SOCKET_FDSETSIZE enables use of larger fdsets with select() on
systems with small FD_SETSIZE values [rt18328]
2008-07-29 04:47:31 +00:00
Mark Andrews 72c5b41bc3 2404. [port] hpux: files unlimited support. 2008-07-28 22:44:46 +00:00
Automatic Updater 18ad0be608 update copyright notice 2008-07-25 23:48:16 +00:00
Automatic Updater 997e3043ac newcopyrights 2008-07-25 23:30:34 +00:00
Francis Dupont 3e09d1d570 Support Solaris 2.11 and over. [RT #18362] 2008-07-25 20:59:06 +00:00
Automatic Updater 4e39e29c58 update copyright notice 2008-07-24 23:48:09 +00:00
Automatic Updater 09186134ba newcopyrights 2008-07-24 23:30:37 +00:00
Francis Dupont 6b15a77141 Expect to get E[MN]FILE errno internal_accept() [RT #18358] 2008-07-24 10:29:29 +00:00
Tatuya JINMEI 神明達哉 0527ba3ab2 2399. [bug] Abort timeout queries to reduce the number of open
UDP sockets. [RT #18367]
2008-07-24 05:00:48 +00:00
Mark Andrews 629ace4fad isc__socketmgr_setreserved + isc_resource_curlimit 2008-07-24 00:17:15 +00:00
Automatic Updater 81f3d26d18 update copyright notice 2008-07-23 23:48:17 +00:00
Automatic Updater 95dc187b51 newcopyrights 2008-07-23 23:30:44 +00:00
Mark Andrews bca93e302d 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
part 2
2008-07-23 23:16:44 +00:00
Mark Andrews 3b2b1d11e8 2398. [bug] Improve file descriptor management. New,
temporary, named.conf option reserved-sockets,
                        default 512. [RT #18344]
2008-07-23 12:04:33 +00:00
Mark Andrews 1387860b7f 2395. [port] Avoid warning and no effect from "files unlimited"
on Linux when running as root. [RT #18335]

2322.   [port]          MacOS: work around the limitation of setrlimit()
                        for RLIMIT_NOFILE. [RT #17526]
2008-07-23 11:30:56 +00:00
Mark Andrews 0b7abafe7a 2394. [bug] Default configuration options set the limit for
open files to 'unlimited' as described in the
                        documentation. [RT #18331]
2008-07-23 11:13:47 +00:00
Automatic Updater 507b51cd25 newcopyrights 2008-07-23 07:30:28 +00:00
Automatic Updater 986e08461a update copyright notice 2008-07-23 07:28:57 +00:00
Automatic Updater 7adc458eb7 newcopyrights 2008-07-23 07:24:45 +00:00
Tatuya JINMEI 神明達哉 b32492a4e6 missing copyright about arc4random 2008-07-23 02:32:36 +00:00
Mark Andrews 47a1536eb6 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 04:26:23 +00:00
cvs2git b3a954b6a9 This commit was manufactured by cvs2git to create branch 'v9_4_2_patch'. 2008-06-23 23:47:13 +00:00
cvs2git 246fc8e737 This commit was manufactured by cvs2git to create branch 'v9_4'. 2008-06-23 23:47:12 +00:00
Automatic Updater fd79558bbe regen 2008-06-18 01:31:59 +00:00
Automatic Updater ff73202c55 update copyright notice 2008-06-17 23:46:03 +00:00
Automatic Updater 1d2966a16e newcopyrights 2008-06-17 23:30:20 +00:00
Tatuya JINMEI 神明達哉 d1e5bece78 (forgot RT#) 2008-06-17 22:41:34 +00:00
Tatuya JINMEI 神明達哉 014dab1f70 2383. [bug] named could double queries when they resulted in
SERVFAIL due to overkilling EDNS0 failure detection.
2008-06-17 22:39:53 +00:00
Mark Andrews 4f6fcbae60 2382. [doc] Add descriptions of IPSECKEY, SPF and SSHFP to ARM. 2008-06-17 06:48:20 +00:00
Mark Andrews f1d1a0166b 2381. [port] dlz/mysql: support multiple install layouts for
mysql.  <prefix>/include/{,mysql/}mysql.h and
                        <prefix>/lib/{,mysql/}. [RT #18152]
2008-06-17 04:04:40 +00:00
Mark Andrews 5b6715ebbe 2380. [bug] dns_view_find() was not returning NXDOMAIN/NXRRSET
proofs which, in turn, caused validation failures
                        for insecure zones immediately below a secure zone
                        the server was authoritative for. [RT #18112]
2008-06-17 03:28:56 +00:00
Automatic Updater a4329ee066 newcopyrights 2008-06-13 23:30:15 +00:00
Tatuya JINMEI 神明達哉 071b19cda5 2379. [contrib] queryperf/gen-data-queryperf.py: removed redundant
TLDs and supported RRs with TTLs [RT #17972]
2008-06-13 18:19:00 +00:00
Automatic Updater cd241b9fe5 update copyright notice 2008-06-02 23:46:01 +00:00
Automatic Updater d4e867750d newcopyrights 2008-06-02 23:30:20 +00:00
Mark Andrews ef69841ab6 2377. [bug] Address race condition in dnssec-signzone. [RT #18142] 2008-06-02 00:27:00 +00:00
Automatic Updater 1de22fb5ea regen 2008-06-01 01:31:05 +00:00
Automatic Updater 81a0ff9825 regen 2008-05-31 01:31:09 +00:00
Automatic Updater da8fd41fbf update copyright notice 2008-05-30 23:46:01 +00:00
Automatic Updater 782457f8aa newcopyrights 2008-05-30 23:30:10 +00:00
Tatuya JINMEI 神明達哉 90d42c633a fixed a typo in comment [RT #18130] 2008-05-30 18:29:23 +00:00
Mark Andrews 29b1ebf435 2376. [bug] Change #2144 was not complete. 2008-05-29 05:30:30 +00:00
Evan Hunt 23dc195797 Update for 9.4.2-P1, removing dns_dispatch_hash() 2008-05-28 19:32:49 +00:00
Evan Hunt 8e7ed44c3b Update for 9.4.2-P1 2008-05-27 22:34:02 +00:00
Evan Hunt 2ef2b4dbcf Update for 9.4.2-P1 2008-05-27 22:07:34 +00:00
Automatic Updater f1e151afbb regen 2008-05-24 01:31:12 +00:00
Automatic Updater f96ae14f2e regen 2008-05-23 01:30:56 +00:00
Automatic Updater f921681dc8 regen 2008-05-23 01:30:54 +00:00
Automatic Updater a764b8dcc9 update copyright notice 2008-05-22 23:46:03 +00:00
Automatic Updater 977c1ea909 newcopyrights 2008-05-22 23:30:15 +00:00
Evan Hunt e556d88e1e Updating for release of 9.4.2-P1 2008-05-22 21:46:53 +00:00
Evan Hunt 9a080e3db2 Release 9.4.2-P1 with query port randomization 2008-05-22 21:28:06 +00:00
Evan Hunt 906685e44d Fully randomize UDP query ports to improve forgery resilience. [rt17949] 2008-05-22 21:16:05 +00:00
Automatic Updater a5666a460a update copyright notice 2008-05-15 23:46:06 +00:00
Automatic Updater 71a6dc3e49 newcopyrights 2008-05-15 23:30:12 +00:00
Evan Hunt de291e9ffb fixed incorrect TAG_HMACSHA256_BITS value [rt18047] 2008-05-15 00:51:25 +00:00
Mark Andrews 23ea2f27cd spelling 2008-05-13 00:27:57 +00:00
Automatic Updater 29542405d2 newcopyrights 2008-05-12 23:30:09 +00:00
Mark Andrews 2a7e80bf21 2369. [bug] libbind: Array bounds overrun on read in bitncmp().
[RT #18054]
2008-05-12 00:21:22 +00:00
Automatic Updater 9c52f0ff94 update copyright notice 2008-05-05 23:46:05 +00:00
Mark Andrews 97ae84549b add shutdown_task lock comment 2008-05-05 01:50:22 +00:00
Mark Andrews 91a7efa2fd 2364. [bug] named could trigger a assertion when serving a
malformed signed zone. [RT #17828]
2008-04-29 00:56:22 +00:00
Mark Andrews 60dae1ab5d 2363. [port] sunos: pre-set "lt_cv_sys_max_cmd_len=4096;".
[RT #17513]
2008-04-28 23:53:34 +00:00
Mark Andrews e8d28c7e97 update #2331 description 2008-04-28 03:29:33 +00:00
Tatuya JINMEI 神明達哉 bf80cd7bef 2361. [bug] "recursion" statistics counter could be counted
multiple times for a single query.  [RT #17990]
2008-04-23 01:19:06 +00:00
Automatic Updater 41dfc19af1 newcopyrights 2008-04-18 23:30:08 +00:00
Evan Hunt e191633041 add missing definition for dns_peer_newprefix() 2008-04-18 20:51:41 +00:00
Evan Hunt 6733e03bd1 Releasing 9.4.3b1 2008-04-18 19:59:35 +00:00
Evan Hunt 8a07b18eeb type was missing from internal_next6() function declaration 2008-04-18 19:44:38 +00:00
Evan Hunt 1fcf8e160c Releasing 9.4.3b1 2008-04-18 19:20:10 +00:00
Automatic Updater e0487fb011 regen 2008-04-06 01:31:05 +00:00
Automatic Updater fe61b795ea update copyright notice 2008-04-05 23:46:04 +00:00
Automatic Updater 0923050013 newcopyrights 2008-04-05 23:30:12 +00:00
Automatic Updater c74b69a6b1 regen 2008-04-05 01:28:59 +00:00
Automatic Updater 2cda1b1cc7 update copyright notice 2008-04-04 23:46:02 +00:00
Mark Andrews 9327364d48 2358. [doc] Update host's default query description. [RT #17934] 2008-04-04 23:30:56 +00:00
Automatic Updater f382db00cf newcopyrights 2008-04-04 23:30:09 +00:00
Tatuya JINMEI 神明達哉 ddc245c441 2356. [bug] Builtin mutex profiler was not scalable enough.
[RT #17436]
2008-04-04 02:58:42 +00:00
Automatic Updater cdeaf5e36f newcopyrights 2008-04-03 23:30:09 +00:00
Mark Andrews 6fb736f4b0 2353. [func] libbind: nsid support. [RT #17091] 2008-04-03 23:15:15 +00:00
Automatic Updater 710fd09b10 update copyright notice 2008-04-02 23:45:58 +00:00
Automatic Updater d9843b83d8 newcopyrights 2008-04-02 23:30:09 +00:00
Mark Andrews 8735a488ef 2350. [port] win32: IPv6 support. [RT #17797] 2008-04-02 03:09:08 +00:00
Francis Dupont de1f9075a1 commit rt17451 2008-03-31 13:32:59 +00:00
Automatic Updater 2729ea6849 update copyright notice 2008-03-29 23:46:10 +00:00
Automatic Updater feabde6562 update copyright notice 2008-03-28 23:46:04 +00:00
Automatic Updater 3eafe5ed35 newcopyrights 2008-03-28 23:30:08 +00:00
Mark Andrews a9737ba865 2345. [bug] named-checkconf failed to detect when forwarders
were set at both the options/view level and in
                        a root zone. [RT #17671]
2008-03-28 03:30:29 +00:00
Automatic Updater 0e64d01cdc regen 2008-03-28 01:31:03 +00:00
Automatic Updater 56afeda680 update copyright notice 2008-03-27 23:45:57 +00:00
Automatic Updater f51f736644 newcopyrights 2008-03-27 23:30:16 +00:00
Mark Andrews ffb058f5c6 2344. [bug] Improve "logging{ file ...; };" documentation.
[RT #17888]
2008-03-27 03:44:15 +00:00
Automatic Updater 7400183ab3 update copyright notice 2008-03-20 23:46:01 +00:00
Automatic Updater b72f50e7c0 newcopyrights 2008-03-20 23:30:13 +00:00
Tatuya JINMEI 神明達哉 f52e2cc5df 2343. [bug] (Seemingly) duplicate IPv6 entries could be
created in ADB. [RT #17837]
2008-03-20 22:44:12 +00:00
Mark Andrews b65ec3e90d 2341. [bug] libbind: add missing -I../include for off source
tree builds. [RT #17606]
2008-03-20 04:21:03 +00:00
Automatic Updater dfdb6a9e9b newcopyrights 2008-03-18 23:30:12 +00:00
Jeremy Reed 279b1757e9 Mention allow-query changes and allow-query-cache. [RT #17726]
And add new copyright year too.
2008-03-18 15:45:43 +00:00
Automatic Updater 29f69a8629 regen 2008-03-15 01:31:04 +00:00
Jeremy Reed 1e5057fcb9 Fix typo in $GENERATE example. 2008-03-14 14:37:32 +00:00
Automatic Updater ce2736a02b newcopyrights 2008-03-07 23:30:09 +00:00
Mark Andrews bc51df6135 platform.h 2008-03-07 01:44:08 +00:00
cvs2git 08c4e48efe This commit was manufactured by cvs2git to create branch 'v9_4_2_patch'. 2008-03-07 01:43:44 +00:00
cvs2git bb271f890f This commit was manufactured by cvs2git to create branch 'v9_4'. 2008-03-07 01:43:43 +00:00
Automatic Updater 48bc2a0b9f update copyright notice 2008-03-03 23:45:56 +00:00
Automatic Updater e8c49b01e4 newcopyrights 2008-03-03 23:30:13 +00:00
Mark Andrews 2b251dd453 2340. [port] openbsd: interface configuration. [RT #17700] 2008-03-03 01:22:56 +00:00
Mark Andrews 07e5ce1185 2339. [port] tru64: support for libbind. [RT #17589] 2008-03-02 22:32:59 +00:00
Automatic Updater c3ced80f10 newcopyrights 2008-02-28 23:30:12 +00:00
Mark Andrews a8f7598129 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-28 05:50:41 +00:00
Automatic Updater 9e338c377f newcopyrights 2008-02-27 23:30:08 +00:00
Mark Andrews 0acb0b2cff 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-27 00:09:36 +00:00
Mark Andrews 41b9ef69ae regen 2008-02-25 05:08:04 +00:00
Mark Andrews 02f1601c2c remove .org's 2008-02-19 22:41:16 +00:00
Evan Hunt 9fceeebc72 Fix build error: parameter type was changed in the prototype but not in
the function header.
2008-02-19 17:10:04 +00:00
Mark Andrews efd6462e33 bad CHANGE numbers 2008-02-19 02:28:04 +00:00
Automatic Updater 1e14d03284 update copyright notice 2008-02-18 23:46:01 +00:00
Automatic Updater f224aefea3 newcopyrights 2008-02-18 23:30:10 +00:00
Mark Andrews c819d94359 2238. [bug] check_ds() could be called with a non DS rdataset.
[RT #17598]
2008-02-18 23:08:50 +00:00
Mark Andrews 56b56e1dd4 2237. [bug] BUILD_LDFLAGS was not being correctly set. [RT #17614] 2008-02-18 22:45:19 +00:00
Mark Andrews e26df4eb8b 2335. [port] sunos: libbind and *printf() support for long long.
[RT #17513]
2008-02-18 04:09:00 +00:00
Mark Andrews c5f88eed14 2333. [bug] Fix off by one error in isc_time_nowplusinterval().
[RT #17608]
2008-02-17 23:47:36 +00:00
Mark Andrews 4aa807e80d remove query-loc-0.3.0 2008-02-17 22:18:05 +00:00
Automatic Updater 43f99232a3 update copyright notice 2008-02-15 23:45:53 +00:00
Automatic Updater c4e784407c newcopyrights 2008-02-15 23:30:08 +00:00
Mark Andrews b702be914e tag root-server address changes as [maint] 2008-02-15 03:43:19 +00:00
Mark Andrews e08cf589d1 2334. [bug] Bad REQUIRES in fromstruct_in_naptr(), off by one
bug in fromstruct_txt(). [RT #17609]
2008-02-15 03:36:52 +00:00
Mark Andrews 55c3d7d70e 2332. [contrib] query-loc-0.4.0. [RT #17602] 2008-02-15 02:19:42 +00:00
cvs2git 150c5c32cd This commit was manufactured by cvs2git to create branch 'v9_4'. 2008-02-15 01:47:16 +00:00
Automatic Updater ae98afa369 update copyright notice 2008-02-07 23:45:56 +00:00
Automatic Updater 420b395fa0 newcopyrights 2008-02-07 23:30:12 +00:00
Mark Andrews c54a22e64d 80 cols 2008-02-07 03:27:35 +00:00
Mark Andrews 458d1cf9a0 2331. [bug] Failure to regenerate any signatures was not being reported
or past back to the UPDATE client. [RT #17570]
2008-02-07 03:16:08 +00:00
Mark Andrews 0b89d9e3d3 2330. [bug] Remove potential race condition when handling
over memory events. [RT #17572]

                        WARNING: API CHANGE: over memory callback
                        function now needs to call isc_mem_waterack().
                        See <isc/mem.h> for details.
2008-02-07 03:03:35 +00:00
Automatic Updater bb632f80ab update copyright notice 2008-02-05 23:46:09 +00:00
Automatic Updater 979fc57500 newcopyrights 2008-02-05 23:30:10 +00:00
Mark Andrews 401ad7a960 2329. [bug] Clearer help text for dig's '-x' and '-i' options. 2008-02-05 07:00:28 +00:00
Mark Andrews ee16a9824c 2328. [bug] Add AAAA addresses for A.ROOT-SERVERS.NET,
F.ROOT-SERVERS.NET, H.ROOT-SERVERS.NET,
                        J.ROOT-SERVERS.NET, K.ROOT-SERVERS.NET and
                        M.ROOT-SERVERS.NET.
2008-02-05 03:30:35 +00:00
Automatic Updater 4f70264d8d update copyright notice 2008-01-31 23:46:05 +00:00
Mark Andrews 73f2356a90 2326. [bug] It was possible to trigger a INSIST in the acache
processing.
2008-01-31 05:23:47 +00:00
Automatic Updater d6f2a7d2bd update copyright notice 2008-01-30 23:45:55 +00:00
Automatic Updater b05ed73c93 newcopyrights 2008-01-30 23:30:16 +00:00
Mark Andrews 999b0e7d1c 2325. [port] Linux: use capset() function if available. [RT #17557] 2008-01-30 05:03:57 +00:00
Mark Andrews 8d960e2b4a regen 2008-01-30 02:31:40 +00:00
Automatic Updater 3f9a46807e newcopyrights 2008-01-27 23:30:10 +00:00
Mark Andrews 30454c2524 regen 2008-01-27 06:10:05 +00:00
Mark Andrews 84ce142bc5 2323. [port] tru64: namespace clash. [RT #17547] 2008-01-27 02:06:26 +00:00
Automatic Updater ed5ea48932 update copyright notice 2008-01-26 23:46:08 +00:00
Automatic Updater 1e5170a12d newcopyrights 2008-01-26 23:30:10 +00:00
Tatuya JINMEI 神明達哉 73dd742501 2322. [port] MacOS: work around the limitation of setrlimit()
for RLIMIT_NOFILE. [RT #17526]
2008-01-25 23:52:31 +00:00
Automatic Updater 0dc87f465d update copyright notice 2008-01-23 03:21:46 +00:00
Automatic Updater 80a2e4ed06 newcopyrights 2008-01-23 03:20:19 +00:00
Mark Andrews d7f5dc5d41 Fixes needed to compile on windows 2008-01-23 03:13:56 +00:00
Mark Andrews 73f6bd6c8c regen 2008-01-23 02:24:20 +00:00
Automatic Updater 5c11233b61 update copyright notice 2008-01-23 02:15:02 +00:00
Automatic Updater 08d50f361d newcopyrights 2008-01-23 02:13:33 +00:00
Mark Andrews 18f81d31b8 2318. [port] sunos fixes for libbind. [RT #17514] 2008-01-23 02:13:05 +00:00
cvs2git 18b31b38ae This commit was manufactured by cvs2git to create branch 'v9_4'. 2008-01-23 02:06:43 +00:00
Mark Andrews 6f3644ece7 fix typo 2008-01-23 00:34:08 +00:00
Automatic Updater 4473673e78 update copyright notice 2008-01-22 23:27:06 +00:00
Automatic Updater c9e5acf34b newcopyrights 2008-01-22 23:25:46 +00:00
Mark Andrews 1c48da96a3 2319. [bug] Silence Coverity warnings in
lib/dns/rdata/in_1/apl_42.c. [RT #174]
2008-01-22 23:21:36 +00:00
Mark Andrews a6744ad04d 2318. [port] ISC_PLATFORM_NEEDTIMESPEC missing from
lib/bind/config.h.in. [RT #17514]
2008-01-22 23:00:59 +00:00
Evan Hunt 2d4b4cab37 Merge in xfer test changes from 9.5 2008-01-22 04:58:43 +00:00
Mark Andrews 7510afad31 2314. [bug] Uninitialized memory use on error path in
bin/named/lwdnoop.c.  [RT #17476]
2008-01-22 01:55:23 +00:00
Mark Andrews 162e23c017 2313. [cleanup] Silence Coverity warnings. Handle private stacks.
[RT #17447] [RT #17478]
2008-01-22 01:43:20 +00:00
Mark Andrews 8d8b80389a 2312. [cleanup] Silence Coverity warning in lib/isc/unix/socket.c.
[RT #17458]
2008-01-22 01:39:08 +00:00
Automatic Updater 01000c626a newcopyrights 2008-01-21 23:30:11 +00:00
Evan Hunt 1f33ceb989 Update ACL regression test. [rt17462] 2008-01-21 22:44:42 +00:00
Automatic Updater b4fe8b528c newcopyrights 2008-01-19 23:30:10 +00:00
Mark Andrews ecd644c312 regen 2008-01-19 01:52:46 +00:00
Automatic Updater ff949f50d4 update copyright notice 2008-01-18 23:46:01 +00:00
Automatic Updater d1291ede77 newcopyrights 2008-01-18 23:30:10 +00:00
Mark Andrews 6e3c5522ae regen 2008-01-18 09:36:39 +00:00
Tatuya JINMEI 神明達哉 fc258391ab missing <command> tags for statement grammar notations. 2008-01-18 02:19:46 +00:00
Automatic Updater fcef5293d2 update copyright notice 2008-01-17 23:46:05 +00:00
Automatic Updater c47f7ded3a newcopyrights 2008-01-17 23:30:15 +00:00
Mark Andrews fb8a001d0f 2310 [bug] dig, host, nslookup: flush stdout before emitting
debug/fatal messages.  [RT #17501]
2008-01-17 21:51:13 +00:00
Mark Andrews 41bce38c25 automate the cleanup of leading/trailing whitespace in C files 2008-01-17 07:44:08 +00:00
Mark Andrews 634e8a7c99 2308. [cleanup] Silence Coverity warning in bin/named/controlconf.c.
[RT #17495]
2008-01-17 03:01:10 +00:00
Automatic Updater 5788284cb8 update copyright notice 2008-01-16 23:45:55 +00:00
Automatic Updater 527e63231e newcopyrights 2008-01-16 23:30:11 +00:00
Mark Andrews 47addc0e9c 2307. [bug] Remove infinite loop from lib/dns/sdb.c. [RT #17496] 2008-01-16 21:58:11 +00:00
Automatic Updater fc36e4d54b update copyright notice 2008-01-15 23:46:02 +00:00
Automatic Updater 9c0798ba63 newcopyrights 2008-01-15 23:30:10 +00:00
Mark Andrews 87877a464c 2306. [bug] Remove potential race from lib/dns/resolver.c.
[RT #17470]
2008-01-15 12:38:20 +00:00
Mark Andrews 696e426c27 2305. [security] inet_network() buffer overflow. CVE-2008-0122. 2008-01-15 04:02:18 +00:00
Mark Andrews 59aeb87035 2304. [bug] Check returns from all dns_rdata_tostruct() calls.
[RT #17460]
2008-01-15 01:13:05 +00:00
Automatic Updater 5a648e8bc2 update copyright notice 2008-01-14 23:45:59 +00:00
Automatic Updater adbaa771bd newcopyrights 2008-01-14 23:30:14 +00:00
Mark Andrews 33288720bd 2303. [bug] Remove unnecessary code from bin/named/lwdgnba.c.
[RT #17471]
2008-01-14 13:06:01 +00:00
Mark Andrews 9106ea68af 2302. [bug] Fix memset() calls in lib/tests/t_api.c. [RT #17472] 2008-01-14 12:47:41 +00:00
Mark Andrews d15b766a9b 2301. [bug] Remove resource leak and fix error messages in
bin/tests/system/lwresd/lwtest.c. [RT #17474]
2008-01-14 12:18:16 +00:00
Mark Andrews 99dcc249b9 2300. [bug] Fixed failure to close open file in
bin/tests/names/t_names.c. [RT #17473]
2008-01-14 11:55:00 +00:00
Automatic Updater 9ae09be40e update copyright notice 2008-01-12 23:46:06 +00:00
Automatic Updater 854df78468 newcopyrights 2008-01-12 23:30:10 +00:00
Mark Andrews c12f226142 2299. [bug] Remove unnecessary NULL check in
bin/nsupdate/nsupdate.c. [RT #17475]
2008-01-12 22:15:59 +00:00
Mark Andrews 346275086d 2298. [bug] isc_mutex_lock() failure not caught in
bin/tests/timers/t_timers.c. [RT #17468]
2008-01-12 22:05:55 +00:00
Mark Andrews 9b43a690b5 2297. [bug] isc_entropy_createfilesource() failure not caught in
bin/tests/dst/t_dst.c. [RT #17467]
2008-01-12 21:53:33 +00:00
Automatic Updater b01218b1bd update copyright notice 2008-01-11 23:45:59 +00:00
Automatic Updater a0f0e9c186 newcopyrights 2008-01-11 23:30:13 +00:00
Mark Andrews a4f24d6aa6 docbook not dockbook 2008-01-11 04:52:29 +00:00
Mark Andrews 6dbfdd479b 2296. [port] Allow docbook stylesheet location to be specified to
configure. [RT #17457]
2008-01-11 03:22:08 +00:00
Mark Andrews 5ca13ca96c 2295. [bug] Silence static overrun error in bin/named/lwaddr.c.
[RT #17459]
2008-01-11 03:03:51 +00:00
Mark Andrews ca587379cd 2293. [func] Add ACL regression test. [RT #17375] 2008-01-11 02:19:16 +00:00
cvs2git 0dd8e92824 This commit was manufactured by cvs2git to create branch 'v9_4'. 2008-01-10 23:47:03 +00:00
Automatic Updater 47289f9dc1 update copyright notice 2008-01-09 23:45:58 +00:00
Automatic Updater af40ef5d01 newcopyrights 2008-01-09 23:30:15 +00:00
Mark Andrews 0a61938a98 2292. [bug] Log if the working directory is not writable.
[RT #17312]

2291.   [bug]           PR_SET_DUMPABLE may be set too late.  Also report
                        failure to set PR_SET_DUMPABLE. [RT #17312]
2008-01-09 04:52:56 +00:00
Mark Andrews 0c2ec376cd 2290. [bug] Let AD in the query signal that the client wants AD
set in the response. [RT #17301]
2008-01-09 04:14:23 +00:00
Mark Andrews 893d7e7b21 2288. [port] win32: mark service as running when we have finished
loading.  [RT #17441]
2008-01-09 02:38:06 +00:00
Automatic Updater 8a805888e9 update copyright notice 2008-01-04 23:46:04 +00:00
Automatic Updater b852502b15 newcopyrights 2008-01-04 23:30:09 +00:00
Mark Andrews f84f4ba3df 2287. [bug] Use 'volatile' if the compiler supports it. [RT #17413] 2008-01-04 03:36:49 +00:00
Automatic Updater d9c05810b6 newcopyrights 2008-01-03 23:30:09 +00:00
Automatic Updater 9a581e09eb update copyright notice 2008-01-02 23:46:02 +00:00
Automatic Updater a79de84fe1 newcopyrights 2008-01-02 23:30:11 +00:00
Mark Andrews b3eb875aad 2284. [bug] Memory leak in UPDATE prerequisite processing.
[RT #17377]
2008-01-02 04:44:56 +00:00
Mark Andrews 2e98c04405 2283. [bug] TSIG keys were not attaching to the memory
context.  TSIG keys should use the rings
                        memory context rather than the clients memory
                        context. [RT #17377]
2008-01-02 04:43:44 +00:00
Automatic Updater 01fc91e696 newcopyrights 2007-12-14 23:30:15 +00:00
Mark Andrews 7cb3c5e476 regen 2007-12-14 22:37:17 +00:00
Mark Andrews f0a5941fa9 reference rndc-confgen 2007-12-14 20:53:58 +00:00
Mark Andrews d566e3ce9b 2279. [bug] Use setsockopt(SO_NOSIGPIPE), when available,
to protect applications from receiving spurious
                        SIGPIPE signals when using the resolver.
2007-12-14 04:00:53 +00:00
Mark Andrews b6cb449936 2278. [bug] win32: handle the case where Windows returns no
searchlist or DNS suffix. [RT #17354]
2007-12-14 01:42:26 +00:00
Mark Andrews 14cb60c197 2277. [bug] Empty zone names were not correctly being caught at
in the post parse checks. [RT #17357]
2007-12-14 01:25:18 +00:00
Automatic Updater f9ff0578d9 newcopyrights 2007-12-04 23:30:17 +00:00
Mark Andrews 152b2275aa regen 2007-12-04 01:39:30 +00:00
Automatic Updater 825a111396 update copyright notice 2007-12-02 23:46:31 +00:00
Automatic Updater dd74c0b04a newcopyrights 2007-12-02 23:30:30 +00:00
Mark Andrews af767241c5 2247. [doc] Sort doc/misc/options. [RT #17067] 2007-12-02 22:36:01 +00:00
Mark Andrews e327a10c1a 2273. [bug] Adjust log level to WARNING when saving inconsistant
stub/slave master and journal files. [RT# 17279]
2007-12-02 22:31:35 +00:00
Mark Andrews 79e8aee551 2246. [bug] Make the startup of test servers (ans.pl) more
robust. [RT #17147]
2007-12-02 22:18:21 +00:00
Mark Andrews d63f4c5457 2272. [bug] Handle illegal dnssec-lookaside trust-anchor names.
[RT #17262]
2007-12-02 22:05:26 +00:00
Mark Andrews 69a46dbced 2260. [bug] Reported wrong clients-per-query when increasing the
value. [RT #17236]
2007-12-02 21:16:36 +00:00
Mark Andrews 3bd000a477 2270. [bug] dns_db_closeversion() version->writer could be reset
before it is tested. [RT #17290]
2007-12-02 20:33:45 +00:00
Mark Andrews 1a877e71fc 2269. [contrib] dbus memory leaks and missing va_end calls. [RT #17232] 2007-12-02 19:26:10 +00:00
Mark Andrews d5ad178122 2268. [bug] 0.IN-ADDR.ARPA was missing from the empty zones
list.
2007-12-02 18:58:20 +00:00
Automatic Updater a098c9e62a update copyright notice 2007-11-26 23:46:18 +00:00
Automatic Updater 7bbb8f2ec2 newcopyrights 2007-11-26 23:30:14 +00:00
Mark Andrews 1b1df14c88 2266. [bug] client.c:get_clientmctx() returned the same mctx
once the pool of mctx's was filled. [RT #17218]
2007-11-26 05:26:09 +00:00
Mark Andrews 80bd93ea22 2265. [bug] Test that the memory context's basic_table is non NULL
before freeing.  [RT #17265]
2007-11-26 04:32:14 +00:00
Mark Andrews 32a8d3517a 2264. [bug] Server prefix length was being ignored. [RT #17308] 2007-11-26 03:01:34 +00:00
Mark Andrews fa723b7c0f 2263. [bug] "named-checkconf -z" failed to set default value
for "check-integrity".  [RT #17306]
2007-11-26 02:26:17 +00:00
Mark Andrews 520ccb71a6 2262. [bug] Error status from all but the last view could be
lost. [RT #17292]
2007-11-26 01:59:40 +00:00
Mark Andrews 9a132c0777 regen 2007-11-26 01:34:47 +00:00
Mark Andrews 990ecfa939 reg 2007-11-21 01:37:15 +00:00
Evan Hunt 0a241539ac Put back 9.4.2rc2 line that was removed by mistake 2007-11-19 23:14:56 +00:00
Evan Hunt 84fcd60d38 Release 9.4.2 2007-11-19 15:25:23 +00:00
Shane Kerr 20e7a0cd43 Backed out until 9.4.2 goes from RC to final. 2007-11-01 13:53:27 +00:00
Shane Kerr e0bd646ca8 Fix logging when increasing client-per-query, for BIND 9.4.
See RT ticket #17236 for more.
2007-11-01 13:13:24 +00:00
Mark Andrews afb61d9bb8 remove #define inline. 9.4.2rc1 has been out long enough that we shouldn't need the #define in 9.4.2rc2 2007-10-31 05:14:59 +00:00
Mark Andrews 5da432cb53 add /I "../../../lib/isc/win32/include" 2007-10-31 04:58:07 +00:00
Mark Andrews d68e56f210 9.4.2rc1 2007-10-31 03:15:20 +00:00
Mark Andrews 45279488f6 9.4.2rc2 2007-10-31 03:11:22 +00:00
Mark Andrews 1df1494d5c 2259. [bug] Reverse incorrect LIBINTERFACE bump of libisc
in 9.4.2rc1.  Applications built against 9.4.2rc1
                        will need to be rebuilt.
2007-10-31 03:07:59 +00:00
Automatic Updater 9364eb1b97 update copyright notice 2007-10-31 03:02:45 +00:00
Mark Andrews 2096741a81 9.4.2rc2 2007-10-31 02:59:58 +00:00
Automatic Updater e8f7a6006c newcopyrights 2007-10-31 02:56:03 +00:00
Mark Andrews 7fc5684787 regen 2007-10-31 02:14:07 +00:00
Mark Andrews 6a4b3012c3 2258. [bug] Fallback from IXFR/TSIG to SOA/AXFR/TSIG broken.
[RT #17241]
2007-10-31 01:59:47 +00:00
Mark Andrews 4748fe5529 2257. [bug] win32: Use the full path to vcredist_x86.exe when
calling it. [RT #17222]
2007-10-31 01:43:36 +00:00
Mark Andrews 25f65407f4 regen 2007-10-31 01:35:59 +00:00
Mark Andrews f481323e93 2256. [bug] win32: Correctly register the installation location of
bindevt.dll. [RT #17159]
2007-10-31 00:15:17 +00:00
Mark Andrews d6114b474c 2255. [bug] L.ROOT-SERVERS.NET is now 199.7.83.42. 2007-10-30 23:47:50 +00:00
Mark Andrews 3a11a25bc0 whitespace 2007-10-30 23:31:43 +00:00
Automatic Updater 482699b073 update copyright notice 2007-10-24 23:46:26 +00:00
Automatic Updater 38f1fc2357 newcopyrights 2007-10-24 23:30:18 +00:00
Mark Andrews 8283c44c5c 2254. [bug] timer.c:dispatch() failed to lock timer->lock
when reading timer->idle allowing it to see
                        intermediate values as timer->idle was reset by
                        isc_timer_touch(). [RT #17243]
2007-10-24 01:05:29 +00:00
Automatic Updater 9f82b3c68e update copyright notice 2007-09-26 23:46:34 +00:00
Automatic Updater 027d33f0bc newcopyrights 2007-09-26 23:30:11 +00:00
Mark Andrews ee98a6e6e8 9.4.2rc1 2007-09-26 05:04:06 +00:00
Evan Hunt b6d7e10f58 Fix several errors reported by Coverity. [RT #17160] 2007-09-26 04:41:47 +00:00
Evan Hunt 47e37d8ebd Validating lack of DS records at trust anchors wasn't working. [RT #17151] 2007-09-26 04:39:45 +00:00
Mark Andrews 03bebf4833 regen 2007-09-26 04:36:57 +00:00
Mark Andrews 5c50ff5e35 2251. [doc] Update memstatistics-file documentation to reflect
reality. Note there is behaviour change for BIND 9.5.
                        [RT #17113]
2007-09-26 03:28:27 +00:00
Evan Hunt 388933bf08 Only set Authentic Data bit if client requested DNSSEC, per RFC 3655 [RT #17175] 2007-09-26 03:08:14 +00:00
Evan Hunt 43d7f1111c Remove mistaken reference to a patch that wasn't merged in 9.4 2007-09-25 23:41:05 +00:00
cvs2git 11cbece08f This commit was manufactured by cvs2git to create branch 'v9_4'. 2007-09-24 23:46:49 +00:00
Mark Andrews 08e9e8a4ec regen 2007-09-24 05:40:25 +00:00
Mark Andrews 5a70eb4550 regen 2007-09-24 02:40:29 +00:00
Automatic Updater aad4048c30 newcopyrights 2007-09-18 23:30:18 +00:00
Evan Hunt 745b0243ff update libisc.def to include new isc_string_*() routines for 9.4.2rc1 release 2007-09-18 21:35:09 +00:00
Evan Hunt 6345e57b3d Bumping libtool version numbers for 9.4.2rc1 2007-09-18 18:03:44 +00:00
Evan Hunt ea4cf4b9b0 Releasing 9.4.2rc1 2007-09-18 03:15:21 +00:00
Mark Andrews f64dc66601 9.4.2rc1 2007-09-18 00:08:54 +00:00
Automatic Updater d37b5acf56 update copyright notice 2007-09-14 23:46:18 +00:00
Automatic Updater cd14e1419e newcopyrights 2007-09-14 23:30:14 +00:00
Mark Andrews 8a4538cafc 2238. [bug] It was possible to trigger a REQUIRE when a
validation was cancelled. [RT #17106]
2007-09-14 05:52:50 +00:00
Mark Andrews 2298b2bf03 2237. [bug] libbind: res_init() was not thread aware. [RT #17123] 2007-09-14 05:35:47 +00:00
Mark Andrews 01b3391d5d 2236. [bug] dnssec-signzone failed to preserve the case of
of wildcard owner names. [RT #17085]
2007-09-14 04:35:42 +00:00
Mark Andrews d4a013040c 2235. [bug] <isc/atomic.h> was not being installed. [RT #17135] 2007-09-14 04:27:29 +00:00
cvs2git 52c9b72749 This commit was manufactured by cvs2git to create branch 'v9_4'. 2007-09-14 04:10:01 +00:00
Automatic Updater f2d800e290 update copyright notice 2007-09-13 23:46:26 +00:00
Automatic Updater a7ec7a4521 newcopyrights 2007-09-13 23:30:18 +00:00
Evan Hunt 5ad994e8dc Fix compiler warnings on SCO OSr5 2007-09-13 05:04:52 +00:00
Mark Andrews 3ea7e4e2db 2232. [bug] dns_adb_findaddrinfo() could fail and return
ISC_R_SUCCESS. [RT #17137]
2007-09-11 02:23:26 +00:00
Automatic Updater 5609177316 newcopyrights 2007-09-07 23:30:15 +00:00
Mark Andrews cf1994f45f regen 2007-09-07 12:48:57 +00:00
Mark Andrews e0d747c292 update YYYYMMDDRR serial numbers 2007-09-07 07:30:53 +00:00
Mark Andrews 6d7c6fd5df 2231. [bug] Building dlzbdb (contrib/dlz/bin/dlzbdb) was broken.
[RT #17088]
2007-09-07 06:56:42 +00:00
Mark Andrews 9442d3b0f2 update 2007-09-07 06:34:21 +00:00
Mark Andrews 7d9a3d30af 2230. [bug] We could INSIST reading a corrupted journal.
[RT #17132]
2007-09-07 05:21:41 +00:00
Mark Andrews 28ef8afb0a use "if set, otherwise" for allow-query-set 2007-09-06 01:38:30 +00:00
Mark Andrews dc3e259f44 update allow-query-cache description 2007-09-06 01:33:32 +00:00
Automatic Updater 33cf28c6c0 newcopyrights 2007-09-05 23:30:16 +00:00
Mark Andrews bf35340c75 regen 2007-09-05 13:49:41 +00:00
Mark Andrews 5087e727ce 2218 -> 2188 2007-09-05 07:50:30 +00:00
Mark Andrews 213604e58e regen 2007-09-05 07:46:02 +00:00
Mark Andrews d25b101350 2228. [contrib] contrib: Change 2218 was incomplete. 2007-09-05 07:44:57 +00:00
cvs2git da8dd224d4 This commit was manufactured by cvs2git to create branch 'v9_4'. 2007-09-05 07:36:06 +00:00
Mark Andrews 4cac19e52b regen 2007-09-04 02:30:40 +00:00
Automatic Updater c671fb8a2a update copyright notice 2007-09-03 23:46:21 +00:00
Automatic Updater 566e5e7f71 newcopyrights 2007-09-03 23:30:14 +00:00
Mark Andrews 1bec4df29e 2227. [cleanup] Tidied up the FAQ. [RT #17121] 2007-09-03 00:48:10 +00:00
Mark Andrews 992462d958 2227. [cleanup] Tidied up the FAQ. [RT #17121] 2007-09-03 00:40:28 +00:00
Automatic Updater 1966f56729 update copyright notice 2007-09-02 23:46:24 +00:00
Automatic Updater c6aa085024 newcopyrights 2007-09-02 23:30:17 +00:00
Mark Andrews 0a8cfca39d missing ISC_FORMAT_PRINTF 2007-09-02 23:06:21 +00:00
Mark Andrews 77a700dfcb silence warning message 2007-09-02 23:00:24 +00:00
Automatic Updater 4a14be8faf update copyright notice 2007-08-31 23:46:25 +00:00
Automatic Updater 1997a63442 newcopyrights 2007-08-31 23:30:13 +00:00
Mark Andrews 668918871a 2225. [bug] More support for systems with no IPv4 addresses.
[RT #17111]
2007-08-31 03:44:52 +00:00
Automatic Updater 2b562ba346 update copyright notice 2007-08-30 23:46:18 +00:00
Automatic Updater fd810e08b2 newcopyrights 2007-08-30 23:30:14 +00:00
Mark Andrews b318fda538 2224. [bug] Defer journal compaction if a xfrin is in progress.
[RT #17119]

2223.   [bug]           Make a new journal when compacting. [RT #17119]
2007-08-30 05:15:03 +00:00
Automatic Updater beb9fabda3 update copyright notice 2007-08-28 07:20:06 +00:00
Mark Andrews b8d26157f7 2221. [bug] Set the event result code to reflect the actual
record returned to caller when a cache update is
                        rejected due to a more credible answer existing.
                        [RT #17017]
2007-08-28 02:24:59 +00:00
Mark Andrews 1815475d20 incremental and/or conversion for old branches 2007-08-28 02:13:34 +00:00
Mark Andrews 2816e46c56 2220. [bug] win32: Address a race condition in final shutdown of
the Windows socket code. [RT #17028]
2007-08-28 00:40:50 +00:00
Mark Andrews bc8b82523f 2219. [bug] Apply zone consistancy checks to additions, not
removals, when updating. [RT #17049]
2007-08-28 00:08:49 +00:00
Automatic Updater e814402153 update copyright notice 2007-08-27 23:46:28 +00:00
Automatic Updater 726ff3e26b newcopyrights 2007-08-27 23:30:15 +00:00
Mark Andrews b5ded8a160 2218. [bug] Remove unnecessary REQUIRE from dns_validator_create().
[RT #16976]
2007-08-27 04:47:14 +00:00
Mark Andrews ce0a17a105 2216. [cleanup] Fix a number of errors reported by Coverity.
[RT #17094]
2007-08-27 03:34:24 +00:00
Mark Andrews 8b16173f90 2215. [bug] Bad REQUIRE check isc_hmacsha1_verify(). [RT #17094] 2007-08-27 03:29:40 +00:00
Mark Andrews eec72daf02 2214. [bug] Deregister OpenSSL lock callback when cleaning
up.  Reorder OpenSSL cleanup so that RAND_cleanup()
                        is called before the locks are destroyed. [RT #17098]
2007-08-27 03:10:13 +00:00
Mark Andrews 0338565b1a 2213. [bug] SIG0 diagnostic failure messages were looking at the
wrong status code. [RT #17101]
2007-08-22 00:58:30 +00:00
Mark Andrews 45cb52156c regen 2007-08-19 23:26:13 +00:00
Mark Andrews 0a7b9e4580 add masterfile-format 2007-08-17 06:26:18 +00:00
Mark Andrews 8c2220687c update change number 2007-08-15 05:27:49 +00:00
Mark Andrews e7f12d902e 2213. [func] 'host -m' now causes memory statistics and active
memory to be printed at exit. [RT 17028]
2007-08-15 04:52:27 +00:00
Mark Andrews 15720456db 2210. [bug] Deleting class specific records via UPDATE could
fail.  [RT #17074]
2007-08-14 00:30:18 +00:00
Mark Andrews 6beecaf1b0 2209. [port] osx: linking against user supplied static OpenSSL
libraries failed as the system ones were still being
                        found. [RT #17078]
2007-08-14 00:17:17 +00:00
Mark Andrews 08c102235d regen 2007-08-13 05:27:39 +00:00
Mark Andrews df7ea08221 remove duplicate biblio entry 2007-08-13 03:58:17 +00:00
Mark Andrews 69e676d909 Run Message Compiler 2007-08-07 01:16:53 +00:00
Automatic Updater 06c60d8cb9 update copyright notice 2007-08-06 05:58:23 +00:00
Automatic Updater a398e15467 newcopyrights 2007-08-06 05:56:17 +00:00
Mark Andrews 20b683a3f1 add BAT 2007-08-06 05:55:18 +00:00
Mark Andrews 53f757c404 2208. [port] win32: make sure both build methods produce the
same output. [RT #17058]
2007-08-06 04:40:30 +00:00
Mark Andrews 20490fde31 2207. [port] Some implementations of getaddrinfo() fail to set
ai_canonname correctly. [RT #17061]
2007-08-06 01:10:11 +00:00
Mark Andrews 458a12bc98 9.4.0rc1 2007-07-24 23:42:00 +00:00
Mark Andrews 516a2ca452 9.4.2rc1 2007-07-24 23:41:19 +00:00
Mark Andrews b1591ea668 regen 2007-07-09 06:51:14 +00:00
Mark Andrews e550366612 2206. [security] "allow-query-cache" and "allow-recursion" now
cross inherit from each other.

                        If allow-query-cache is not set in named.conf then
                        allow-recursion is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        If allow-recursion is not set in named.conf then
                        allow-query-cache is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        [RT #16987]
2007-07-09 02:18:49 +00:00
Mark Andrews efc95087e6 2205. [bug] libbind: change #2119 broke thread support. [RT #16982] 2007-07-09 01:52:58 +00:00
Automatic Updater a637b2d293 newcopyrights 2007-06-28 23:30:15 +00:00
Mark Andrews 83973e2f1a set vcredist before the if 2007-06-28 06:21:26 +00:00
Mark Andrews d7620ea1d9 copy vcredist_x86.exe to the release/debug directories 2007-06-28 04:37:20 +00:00
Mark Andrews 8ef7ad017e silence "Different types treated as unsigned for >." warning 2007-06-27 04:18:42 +00:00
Mark Andrews 1aa4908ae6 add missing 1310 to "#elif _MSC_VER > 1200 && _MSC_VER < 1310" 2007-06-27 01:12:17 +00:00
Automatic Updater 2859f78491 update copyright notice 2007-06-26 23:46:21 +00:00
Automatic Updater 615019e180 newcopyrights 2007-06-26 23:30:17 +00:00
Mark Andrews 68c6977ade replace gettimeofday with isc_time_now 2007-06-26 06:05:49 +00:00
Mark Andrews c8e9c42008 s/u_int16_t/isc_uint16_t/ 2007-06-26 04:59:35 +00:00
Mark Andrews 7e3d6b4095 2203. [security] Query id generation was cryptographically weak.
[RT # 16915]
2007-06-26 04:11:24 +00:00
Mark Andrews 833c6d566b 2203. [security] Query id generation was cryptographically weak.
[RT # 16915]
2007-06-26 02:56:59 +00:00
Mark Andrews 685397fc48 2202. [security] The default acls for allow-query-cache and
allow-recursion were not being applied. [RT #16960]
2007-06-25 02:42:24 +00:00
Mark Andrews 5d82e9e9d0 regen 2007-06-20 02:26:59 +00:00
Mark Andrews 50090b4a8c s/seperate/separate/ 2007-06-19 14:19:17 +00:00
Mark Andrews 910155133a documentation updates from Jeremy 2007-06-19 06:59:09 +00:00
Mark Andrews 83bfbd2ba4 2200. [bug] The search for cached NSEC records was stopping to
early leading to excessive DLV queries. [RT #16930]
2007-06-19 06:21:25 +00:00
Automatic Updater e8ac0336eb update copyright notice 2007-06-18 23:46:33 +00:00
Automatic Updater 121c9194c0 newcopyrights 2007-06-18 23:30:16 +00:00
Mark Andrews 7b6c5dae56 2199. [bug] win32: don't call WSAStartup() while loading dlls.
[RT #16911]
2007-06-18 03:30:39 +00:00
Mark Andrews d4af3982fa 2199. [bug] win32: don't call WSAStartup() while loading dlls.
[RT #16911]
2007-06-18 03:08:56 +00:00
Mark Andrews 91c0ef1b66 2198. [bug] win32: RegCloseKey() could be called when
RegOpenKeyEx() failed. [RT #16911]
2007-06-18 03:02:18 +00:00
Mark Andrews 05abca048c 2197. [bug] Add INSIST to catch negative responses which are
not setting the event result code appropriately.
                        [RT #16909]
2007-06-18 02:43:46 +00:00
Mark Andrews 1fb1179fea 2196. [port] win32: yield processor while waiting for once to
to complete. [RT# 16958]
2007-06-18 01:20:12 +00:00
Mark Andrews d41f33d826 spelling s/is/in/ 2007-06-17 23:48:27 +00:00
Mark Andrews 0ed233824b regen 2007-06-14 03:32:45 +00:00
Mark Andrews d5e092b53f document duplicate and dropped stats categories 2007-06-13 07:11:35 +00:00
Mark Andrews 61d0f80ec1 s/duplicates/duplicate/ 2007-06-13 07:07:57 +00:00
Mark Andrews 165c6c6ddc regen 2007-05-31 23:28:50 +00:00
Mark Andrews 6467c03871 update from jeremy 2007-05-31 22:29:47 +00:00
Mark Andrews ee53302d04 regen 2007-05-30 02:29:46 +00:00
Mark Andrews d16fc825eb more changes from Jeremy 2007-05-29 23:14:40 +00:00
Mark Andrews 993135b07d regen 2007-05-29 01:19:15 +00:00
Mark Andrews 5d128e13ea dnssec-validation 2007-05-28 13:46:44 +00:00
Mark Andrews b629d1ee1c regen 2007-05-28 03:45:51 +00:00
Mark Andrews c89954d09b s/dnssec-validate/dnssec-validatation/ 2007-05-28 00:12:00 +00:00
Automatic Updater 13027e4260 newcopyrights 2007-05-24 23:30:17 +00:00
Mark Andrews 22cb63a074 9.4.2b1 2007-05-24 03:02:33 +00:00
Mark Andrews 74b10f7d3e 2194. [bug] Close journal before calling 'done' in xfrin.c. 2007-05-24 02:56:10 +00:00
Automatic Updater 0f8720aa85 update copyright notice 2007-05-24 01:57:00 +00:00
Automatic Updater cdcc39cd96 newcopyrights 2007-05-24 01:55:20 +00:00
Mark Andrews 4559465f75 2194. [bug] Close journal before calling 'done' in xfrin.c. 2007-05-24 01:43:22 +00:00
Mark Andrews a53f31dfa9 2193. [port] win32: BINDInstall.exe is now linked statically.
[RT #16906]

2192.   [port]          win32: use vcredist_x86.exe to install Visual
                        Studio's redistributable dlls if building with
                        Visual Stdio 2005 or later.
2007-05-24 01:19:48 +00:00
Automatic Updater ccd4cefa9a newcopyrights 2007-05-21 03:44:26 +00:00
Mark Andrews d5d44a1fed 2189. [bug] Handle socket() returning EINTR. [RT #15949] 2007-05-21 01:56:11 +00:00
Mark Andrews 6930fabc02 spelling 2007-05-21 01:32:19 +00:00
Mark Andrews 4264104334 2188. [contrib] queryperf: autoconf changes to make the seach for
libresolv or libbind more robust. [RT #16299]
2007-05-21 01:30:19 +00:00
Mark Andrews e3d261cf3b 2188. [contrib] queryperf: autoconf changes to make the seach for
libresolv or libbind more robust. [RT #16299]
2007-05-21 01:24:56 +00:00
Automatic Updater dc6337ec77 update copyright notice 2007-05-18 23:46:28 +00:00
Automatic Updater 96a331d618 newcopyrights 2007-05-18 23:30:23 +00:00
Mark Andrews ba2d3a220a 2187. [bug] query_addds(), query_addwildcardproof() and
query_addnxrrsetnsec() should take a version
                        arguement. [RT #16368]
2007-05-18 06:55:27 +00:00
Mark Andrews f24112e4cb regen 2007-05-18 06:34:39 +00:00
Mark Andrews 6c22bb20b4 2186. [port] cygwin: libbind: check for struct sockaddr_storage
independently of IPv6. [RT #16482]
2007-05-18 06:32:09 +00:00
Mark Andrews dcc911f06e 2185. [port] sunos: libbind: check for ssize_t, memmove() and
memchr(). [RT #16463]
2007-05-18 06:24:39 +00:00
Mark Andrews 514ba8adb0 2183. [bug] dnssec-signzone didn't handle offline private keys
well.  [RT #16832]
2007-05-18 05:59:26 +00:00
Mark Andrews 797d405689 2182. [bug] dns_dispatch_createtcp() and dispatch_createudp()
could return ISC_R_SUCCESS when they ran out of
                        memory. [RT #16365]
2007-05-18 05:34:37 +00:00
Automatic Updater 8478094e14 update copyright notice 2007-05-16 23:46:24 +00:00
Automatic Updater 7a606ad5d4 newcopyrights 2007-05-16 23:30:18 +00:00
Mark Andrews a08f129297 2177. [bug] Array bounds overrun on read (rcodetext) at
debug level 10+. [RT #16798]
2007-05-16 21:58:26 +00:00
Mark Andrews db96c6c439 unexpeced/unexpected 2007-05-16 06:59:31 +00:00
Mark Andrews 0563aa1fee 2181. [port] sunos: libbind: add paths.h from BIND 8. [RT #16462] 2007-05-16 06:36:22 +00:00
cvs2git 77935d4d3c This commit was manufactured by cvs2git to create branch 'v9_4'. 2007-05-16 06:29:37 +00:00
Mark Andrews fcf8b4bfa4 regen 2007-05-16 06:11:29 +00:00
Mark Andrews 953b6ce0c8 more fixes from Jeremy [RT #16870] 2007-05-16 04:36:19 +00:00
Mark Andrews d01f775c13 minor changes from Jeremy [RT #16869] 2007-05-16 01:45:31 +00:00
Automatic Updater d1ac992f95 update copyright notice 2007-05-15 23:46:28 +00:00
Automatic Updater 730f503901 newcopyrights 2007-05-15 23:30:15 +00:00
Mark Andrews f19d04aaaa s/ENDS/EDNS/ 2007-05-15 21:56:41 +00:00
Mark Andrews ca6110abca 2180. [cleanup] Remove bit test from 'compress_test' as they
are no longer needed. [RT #16497]
2007-05-15 05:42:34 +00:00
Mark Andrews 8baa2e593c remove 2007-05-15 05:30:15 +00:00
Mark Andrews da1308fcb7 update 2007-05-15 05:29:19 +00:00
Mark Andrews 2b14a229e5 2178. [bug] 'rndc reload' of a slave or stub zone resulted in
a reference leak. [RT #16867]
2007-05-15 02:31:05 +00:00
Mark Andrews 4693d8cd04 2177. [bug] Array bounds overrun on read (rcodetext). [RT #16798] 2007-05-15 02:03:35 +00:00
Automatic Updater 55b2004848 update copyright notice 2007-05-10 23:46:24 +00:00
Automatic Updater 2b357d50dc newcopyrights 2007-05-10 23:30:14 +00:00
Mark Andrews 5e65b85301 2176. [contrib] dbus update to handle race condition during
initialisation (Bugzilla 235809). [RT #16842]
2007-05-10 05:55:16 +00:00
Mark Andrews c3ac3a7ce1 2175. [bug] win32: windows broadcast condition variable support
was broken. [RT #16592]
2007-05-09 23:51:44 +00:00
Mark Andrews a61c46a551 regen 2007-05-09 13:35:48 +00:00
Mark Andrews f1d66c2d66 minor changes from Jeremy [RT #16863] 2007-05-09 06:19:49 +00:00
Mark Andrews f5f9fb95c5 regen 2007-05-09 03:33:14 +00:00
Mark Andrews df49919bec minor man page updates from Jeremy [RT #16859] 2007-05-09 01:38:19 +00:00
Mark Andrews 7b75e1ec64 notify-delay documentation 2007-05-08 07:11:57 +00:00
Mark Andrews 05a4504b4b regen 2007-05-08 02:30:11 +00:00
Mark Andrews ebca5ecd26 minor documentation fixes from Jeremy [RT #16855] 2007-05-08 00:33:07 +00:00
Automatic Updater ea38cea2c1 update copyright notice 2007-05-02 23:46:24 +00:00
Automatic Updater 7ba281fdf9 newcopyrights 2007-05-02 23:30:13 +00:00
Mark Andrews 7fad0d90a4 add default install location and directory example 2007-05-02 05:08:26 +00:00
Mark Andrews 59ec13b5d0 2174. [bug] I/O errors should always be fatal when reading
master files. [RT #16825]
2007-05-02 04:12:28 +00:00
Automatic Updater 9d316833a8 update copyright notice 2007-05-01 23:46:16 +00:00
Automatic Updater 737477239c newcopyrights 2007-05-01 23:30:13 +00:00
Mark Andrews c292ab408a finish 9.4.1 insertion into 9.4 branch 2007-05-01 03:23:30 +00:00
Mark Andrews e0d84e2aa1 2173. [port] win32: When compiling with MSVS 2005 SP1 we also
need to ship Microsoft.VC80.MFCLOC.
2007-05-01 03:22:04 +00:00
Mark Andrews 7754a4eab9 2172. [bug] query_addsoa() was being called with a non zone db.
[RT #16834]
2007-04-30 01:04:51 +00:00
Mark Andrews 81a0879a12 2171. [bug] Handle breaks in DNSSEC trust chains where the parent
servers are not DS aware (DS queries to the parent
                        return a referral to the child).
2007-04-27 06:37:38 +00:00
Automatic Updater b2a7f737d8 update copyright notice 2007-04-26 23:46:20 +00:00
Automatic Updater 9618a0da2b newcopyrights 2007-04-26 23:30:26 +00:00
Mark Andrews 87a4850d93 regen 2007-04-26 13:29:47 +00:00
Mark Andrews 1004204b35 update Y2K comment 2007-04-26 06:15:48 +00:00
Mark Andrews d1e6389849 2170. [func] Add acache processing to test suite. [RT #16711] 2007-04-26 04:10:55 +00:00
Automatic Updater 541ec560c4 update copyright notice 2007-04-24 23:46:25 +00:00
Automatic Updater a0b8524464 newcopyrights 2007-04-24 23:30:16 +00:00
Mark Andrews 1fb753cebc 2169. [bug] host, nslookup: when reporting NXDOMAIN report the
given name and not the last name searched for.
                        [RT #16763]
2007-04-24 07:36:36 +00:00
Mark Andrews 9a5d339d24 2168. [bug] nsupdate: in non-interactive mode treat syntax errors
as fatal errors. [RT #16785]
2007-04-24 07:10:22 +00:00
Mark Andrews b5f9044cec 2167. [bug] When re-using a automatic zone named failed to
attach it to the new view. [RT #16786]
2007-04-24 06:58:47 +00:00
Evan Hunt fe274526fd When running in batch mode, dig could misinterpret a server address as a
name to be looked up, causing unexpected output. [RT #16743]
2007-04-24 06:49:52 +00:00
Mark Andrews 7fb4998f7f regen 2007-04-24 06:18:57 +00:00
Mark Andrews 9bba2e3f7f minor cleanups 2007-04-24 01:59:47 +00:00
Mark Andrews 3120e64a98 regen 2007-04-23 02:36:35 +00:00
Automatic Updater 51a3b9fd2a update copyright notice 2007-04-03 23:43:54 +00:00
Automatic Updater 37253fab4e newcopyrights 2007-04-03 23:30:16 +00:00
Mark Andrews dab584a7f3 remove unused label 2007-04-03 00:05:17 +00:00
Mark Andrews fd9dc4719c 2161. [bug] 'rndc flush' could report a false success. [RT #16698] 2007-04-03 00:00:46 +00:00
Mark Andrews 9b0d6d0085 2292bis -> RFC 3542 2007-04-02 02:10:51 +00:00
Automatic Updater dcd79cbfd8 update copyright notice 2007-03-29 23:46:34 +00:00
Automatic Updater c176550cef newcopyrights 2007-03-29 23:30:15 +00:00
Mark Andrews 4429f425e4 2164. [bug] The code to determine how named-checkzone /
named-compilezone was called failed under windows.
                        [RT #16764]
2007-03-29 04:56:06 +00:00
Automatic Updater 39cb40ad24 update copyright notice 2007-03-14 23:46:21 +00:00
Automatic Updater 7851a393c5 newcopyrights 2007-03-14 23:30:15 +00:00
Mark Andrews aa8d1b48c5 2162. [func] Allow "rrset-order fixed" to be disabled at compile
time. [RT #16665]
2007-03-14 06:03:56 +00:00
Automatic Updater c74a5ceb43 update copyright notice 2007-03-13 23:46:23 +00:00
Automatic Updater 884b6ae9ae newcopyrights 2007-03-13 23:30:13 +00:00
Mark Andrews e591519a9d 2160. [bug] libisc wasn't handling NULL ifa_addr pointers returned
from getifaddrs(). [RT #16708]
2007-03-13 04:36:04 +00:00
Mark Andrews bf95fc2017 2160. [bug] libisc wasn't handling NULL ifa_addr pointers returned
from getifaddrs(). [RT #16708]
2007-03-12 06:10:47 +00:00
Mark Andrews b7f41879c5 2159. [bug] Array bounds overrun in acache processing. [RT #16710] 2007-03-12 03:42:43 +00:00
Automatic Updater 43af05a84f update copyright notice 2007-03-06 02:12:08 +00:00
Automatic Updater e5ce80284e newcopyrights 2007-03-06 02:09:48 +00:00
Mark Andrews e31db4fc25 2158. [bug] ns_client_isself() failed to initialise key
leading to a REQUIRE failure. [RT #16688]
2007-03-06 01:17:33 +00:00
Mark Andrews 154e92a9e6 2156. [bug] Fix node reference leaks in lookup.c:lookup_find(),
resolver.c:validated() and resolver.c:cache_name().
                        Fix a memory leak in rbtdb.c:free_noqname().
                        Make lookup.c:lookup_find() robust against
                        event leaks. [RT #16685]
2007-03-06 00:50:11 +00:00
Automatic Updater c234ff7a54 newcopyrights 2007-03-05 23:30:18 +00:00
Mark Andrews 48231250b6 2155. [contrib] SQLite sdb module from jaboydjr@netwalk.com.
[RT #16694]
2007-03-05 05:34:02 +00:00
cvs2git 587164daa6 This commit was manufactured by cvs2git to create branch 'v9_4'. 2007-03-05 05:30:25 +00:00
Automatic Updater 7f2465fd67 update copyright notice 2007-03-01 23:46:12 +00:00
Automatic Updater 1cf8e2d585 newcopyrights 2007-03-01 23:30:12 +00:00
Mark Andrews 119bf45cfe 2153. [bug] nsupdate could leak memory. [RT #16691] 2007-03-01 00:18:41 +00:00
Automatic Updater 1f25c1d05f update copyright notice 2007-02-27 23:46:18 +00:00
Automatic Updater d6206f5527 newcopyrights 2007-02-27 23:30:16 +00:00
Mark Andrews 6c8adc79c3 temorarially comment out INSIST 2007-02-27 03:32:21 +00:00
Mark Andrews d818f18227 2152. [cleanup] Use sizeof(buf) instead of fixed number in
dighost.c:get_trusted_key(). [RT #16678]
2007-02-27 01:07:18 +00:00
Mark Andrews 6ed1b5d62a 2151. [bug] Missing newline in usage message for journalprint.
[RT #16679]
2007-02-27 00:54:17 +00:00
Automatic Updater a4a729b991 update copyright notice 2007-02-26 23:46:23 +00:00
Automatic Updater 7f30956106 newcopyrights 2007-02-26 23:30:16 +00:00
Mark Andrews 8725735cbc 2150. [bug] 'rrset-order cyclic' uniformly distribute the
starting point for the first response for a given
                        RRset. [RT #16655]
2007-02-26 23:13:40 +00:00
Mark Andrews acf69637e7 untangle change 2007-02-26 23:02:08 +00:00
Mark Andrews 79377914a6 2149. [bug] isc_mem_checkdestroyed() failed to abort on
if there were still active memory contexts.
                        [RT #16672]
2007-02-26 23:00:01 +00:00
Mark Andrews 0daabaa972 2147. [bug] libbind: remove potential buffer overflow from
hmac_link.c. [RT #16437]
2007-02-26 02:00:24 +00:00
Mark Andrews 9f404f3caf 2146. [cleanup] Silence Linux's spurious "obsolete setsockopt
SO_BSDCOMPAT" message. [RT #16641]
2007-02-26 01:45:10 +00:00
Mark Andrews f40348003a 2145. [bug] Check DS/DLV digest lengths for known digests.
[RT #16622]
2007-02-26 01:30:22 +00:00
Mark Andrews 475aa1607a 2144. [cleanup] Suppress logging of SERVFAIL from forwarders.
[RT #16619]
2007-02-26 01:14:03 +00:00
Mark Andrews d9366b9794 2143. [bug] We failed to restart the IPv6 client when the
kernel failed to return the destination the
                        packet was sent to. [RT #16613]
2007-02-26 01:01:01 +00:00
Mark Andrews e21c38c0da 2142. [bug] Handle master files with a modification time that
matches the epoch. [RT# 16612]
2007-02-26 00:50:04 +00:00
Mark Andrews c5e73c64c0 2141. [bug] dig/host should not be setting IDN_ASCCHECK (IDN
equivalent of LDH checks).  [RT #16609]
2007-02-26 00:37:03 +00:00
Mark Andrews 787d905caf 2119. [compat] libbind: allow res_init() to succeed enough to
return the default domain even if it was unable
                        to allocate memory.
2007-02-26 00:19:18 +00:00
Mark Andrews 46217fcd14 2140. [bug] libbind: missing unlock on pthread_key_create()
failures. [RT #16654]
2007-02-26 00:05:34 +00:00
Mark Andrews 546212d1ed 2139. [bug] dns_view_find() was being called with wrong type
in adb.c. [RT #16670]
2007-02-25 23:35:31 +00:00
Automatic Updater 80d8ff06d7 newcopyrights 2007-02-15 23:26:42 +00:00
Mark Andrews 14fb776eb8 9.4.0 2007-02-15 02:21:10 +00:00
Evan Hunt 04c3991ab5 9.4.0 2007-02-15 02:16:47 +00:00
Evan Hunt 209db472b7 9.4.0 2007-02-15 01:55:40 +00:00
Evan Hunt a6b624a794 9.4.0 2007-02-15 01:42:38 +00:00
Mark Andrews 262fea1026 whitespace 2007-02-15 01:41:22 +00:00
Mark Andrews ae3a93c7a2 update copyright notice 2007-02-14 23:45:43 +00:00
Mark Andrews 4772bfcb77 2138. [bug] Lock order reversal in resolver.c. [RT #16653] 2007-02-14 23:41:01 +00:00
Mark Andrews 6b0bf57261 2137. [port] Mips little endian and/or mips 64 bit are now
supported for atomic operations. [RT#16648]
2007-02-14 23:36:23 +00:00
Mark Andrews 6491035fd9 2137. [port] Mips little endian and/or mips 64 bit are now
supported for atomic operations. [RT#16653]
2007-02-14 23:33:01 +00:00
Mark Andrews d803bdabca newcopyrights 2007-02-14 23:30:15 +00:00
Mark Andrews c67e4952ae 2136. [bug] nslookup/host looped if there was no search list
and the host didn't exist. [RT #16657]
2007-02-14 01:20:44 +00:00
Mark Andrews 2c360614d8 2135. [bug] Uninitialised rdataset in sdlz.c. [RT# 16656] 2007-02-13 23:37:37 +00:00
Mark Andrews bc71e273f0 update copyright notice 2007-02-13 00:04:50 +00:00
Mark Andrews 9938ae860a newcopyrights 2007-02-12 23:30:14 +00:00
Mark Andrews 0c443bf652 2133. [port] powerpc: Support both IBM and MacOS Power PC
assembler syntaxes. [RT #16647]
2007-02-12 00:54:52 +00:00
Mark Andrews d24c8fb8cc update copyright notice 2007-02-07 23:57:58 +00:00
Mark Andrews c4d599194a newcopyrights 2007-02-07 23:30:21 +00:00
Mark Andrews b207ee4546 2132. [bug] Missing unlock on out of memory in
dns_dispatchmgr_setudp().
2007-02-07 06:09:26 +00:00
Mark Andrews 2443a71d1a missing unlock 2007-02-07 05:41:47 +00:00
Mark Andrews 939329cbbe remove and abort on error 2007-02-06 23:42:32 +00:00
Mark Andrews 4fd60d8270 newcopyrights 2007-02-06 23:30:16 +00:00
Mark Andrews c2ce526b07 2131. [contrib] dlz/mysql: AXFR was broken. [RT #16630] 2007-02-06 05:56:54 +00:00
Mark Andrews 445925017b Isn't "make install" supposed to generate a default named.conf? 2007-02-05 05:23:39 +00:00
Mark Andrews 49086c2657 regen 2007-02-02 04:33:09 +00:00
Mark Andrews 5c78101c54 update copyright notice 2007-02-01 23:55:20 +00:00
Mark Andrews da982e09a6 newcopyrights 2007-02-01 23:30:24 +00:00
Mark Andrews 710b8b8b88 remove SO_BSDCOMPAT reference 2007-02-01 04:42:11 +00:00
Mark Andrews cacd20ad10 Q: Why do we get the following warning at run time:
kernel: process `named' is using obsolete setsockopt SO_BSDCOMPAT
2007-01-31 23:54:42 +00:00
Mark Andrews 05f7dc3e18 update copyright notice 2007-01-30 23:52:53 +00:00
Mark Andrews abd34f6da8 newcopyrights 2007-01-30 23:30:18 +00:00
Rob Austein 5dcadf1257 Don't bomb "make doc" when "make all" hasn't been run. [RT #16636] 2007-01-30 07:47:32 +00:00
Mark Andrews d61c8f6039 regen 2007-01-30 00:23:46 +00:00
Mark Andrews c41d4310ad update copyright notice 2007-01-29 23:57:21 +00:00
Mark Andrews e62fcb74ae newcopyrights 2007-01-29 23:30:15 +00:00
Rob Austein 466883adc5 2128. [doc] xsltproc --nonet, update DTD versions. [RT #16635] 2007-01-29 22:15:28 +00:00
Mark Andrews ce79a07afc update copyright notice 2007-01-27 00:22:48 +00:00
Mark Andrews a3573eed2f newcopyrights 2007-01-26 23:30:49 +00:00
Mark Andrews 469b30c329 regen 2007-01-26 23:28:21 +00:00
Rob Austein f06cad2eec New version of xsltproc noticed missing <xsl:param/>. [RT #16632] 2007-01-26 21:32:45 +00:00
Mark Andrews be544fb9f2 newcopyrights 2007-01-19 23:30:17 +00:00
Mark Andrews 05d5bca50a regen 2007-01-19 01:26:07 +00:00
Mark Andrews 23ab85270c update copyright notice 2007-01-19 00:55:49 +00:00
Mark Andrews 4be10e4ec0 newcopyrights 2007-01-18 23:30:14 +00:00
Mark Andrews f1d7367206 "make depend" didn't work 2007-01-18 00:13:38 +00:00
Mark Andrews 438d1db069 update copyright notice 2007-01-18 00:06:11 +00:00
Mark Andrews d3da9fa37e newcopyrights 2007-01-17 23:30:18 +00:00
Mark Andrews c09445e01c update copyright notice 2007-01-17 00:32:46 +00:00
Mark Andrews d4c7210e5a add missing years 2007-01-16 04:36:55 +00:00
Mark Andrews a9be8dfbdf add missing years 2007-01-16 02:54:46 +00:00
Mark Andrews 76294115b1 add missing years 2007-01-16 02:04:29 +00:00
Mark Andrews 4eb0c6757f newcopyrights 2007-01-15 23:30:15 +00:00
Mark Andrews 172a0a238a update 2007-01-15 02:55:05 +00:00
Mark Andrews 4b3d26a7d8 bug -> security 2007-01-15 02:54:30 +00:00
Mark Andrews 7d008f2fdc newcopyrights 2007-01-08 23:30:13 +00:00
Mark Andrews cdc229b5ca 9.4.0rc2 2007-01-08 03:16:13 +00:00
Mark Andrews 033d062a6f update copyright notice 2007-01-08 03:13:06 +00:00
Mark Andrews fa2efdeb11 DSA_generate_parameters_ex parameters 2007-01-08 03:03:48 +00:00
Mark Andrews 2b9d391049 update 2007-01-08 02:53:21 +00:00
Mark Andrews e41953eec7 prime_len -> key->key_size 2007-01-08 02:52:39 +00:00
Mark Andrews a95e076bcd newcopyrights 2007-01-08 02:42:47 +00:00
Mark Andrews 64d5cc809c update copyright notice 2007-01-08 02:42:00 +00:00
Mark Andrews 1584c5c13f newcopyrights 2007-01-08 02:28:58 +00:00
Mark Andrews 0269439f5e 9.4.0rc2 2007-01-08 02:22:46 +00:00
Mark Andrews daa9355f0c 2127. [port] Improved OpenSSL 0.9.8 support. [RT #16563] 2007-01-08 01:58:16 +00:00
Mark Andrews 9aefa7e508 2126. [bug] Serialise validation of type ANY responses. [RT #16555] 2007-01-08 01:37:53 +00:00
Mark Andrews 8b2827c22c 2125. [bug] dns_zone_getzeronosoattl() REQUIRE failure if DLZ
was defined. [RT #16574]
2007-01-08 00:51:48 +00:00
Mark Andrews 2399e06127 2124. [bug] It was possible to dereference a freed fetch
context. [RT #16584]
2007-01-08 00:45:12 +00:00
Mark Andrews e993c09f76 update copyright notice 2006-12-27 22:44:49 +00:00
Mark Andrews 73a711df8e newcopyrights 2006-12-26 23:30:16 +00:00
Rob Austein 4fa012e37d distclean wasn't removing releaseinfo.xml. 2006-12-26 17:59:27 +00:00
Mark Andrews 7767e2c443 isc_time_seconds 2006-12-22 05:28:32 +00:00
Mark Andrews de1f0f22b3 update 2006-12-22 04:24:48 +00:00
Mark Andrews c2ae19ad70 regen 2006-12-19 01:35:40 +00:00
Mark Andrews 3bb55ddfa9 s/used/use/ 2006-12-18 23:37:34 +00:00
Mark Andrews 8d246f51be add paragraph on CH/IN name space overlap 2006-12-18 23:33:16 +00:00
Mark Andrews 13017ad7f1 regen 2006-12-17 04:54:15 +00:00
Rob Austein 9fd8fe83b7 2120. [doc] Fix markup on nsupdate man page. [RT #16556] 2006-12-16 01:15:13 +00:00
Mark Andrews 705235ea89 regen 2006-12-12 01:44:30 +00:00
Mark Andrews 48a755c757 newcopyrights 2006-12-11 23:30:14 +00:00
Mark Andrews f9cbc75127 v9_4_0rc1 2006-12-11 00:31:11 +00:00
Mark Andrews a1396c3270 0 => 0U 2006-12-08 05:07:59 +00:00
Mark Andrews a7973f0f55 update copyrights 2006-12-08 00:03:35 +00:00
Mark Andrews aead6d4ff4 update copyright notice 2006-12-07 23:57:58 +00:00
Mark Andrews 9e9cec657f newcopyrights 2006-12-07 23:30:18 +00:00
Mark Andrews cedf1574b9 remove DNS_R_TOOMANYHOPS test 2006-12-07 13:23:46 +00:00
Mark Andrews 725e070355 9.4.0rc1 2006-12-07 07:06:38 +00:00
Mark Andrews dd2055b130 2118. [bug] Handle response with long chains of domain name
compression pointers which point to other compression
                        pointers. [RT #16427]
2006-12-07 07:03:10 +00:00
Mark Andrews b486456a3d 2117. [bug] DNSSEC fixes: named could fail to cache NSEC records
which could lead to validation failures.  named didn't
                        handle negative DS responses that were in the process
                        of being validated.  Check CNAME bit before accepting
                        NODATA proof. To be able to ignore a child NSEC there
                        must be SOA (and NS) set in the bitmap. [RT #16399]
2006-12-07 06:50:34 +00:00
Mark Andrews 6b39ac73d3 2116. [bug] 'rndc reload' could cause the cache to continually
be cleaned. [RT #16401]
2006-12-07 06:31:38 +00:00
Mark Andrews c6cd59d1c6 2115. [bug] 'rndc reconfig' could trigger a INSIST if the
number of masters for a zone was reduced. [RT #16444]
2006-12-07 06:21:16 +00:00
Mark Andrews 229050d932 2114. [bug] dig/host/nslookup: searches for names with multiple
labels were failing. [RT #16447]
2006-12-07 06:08:02 +00:00
Mark Andrews 4590c00349 2113. [bug] nsupdate: if a zone is specified it should be used
for server discover. [RT# 16455]
2006-12-07 05:39:45 +00:00
Mark Andrews 975bf17988 2112. [security] Warn if weak RSA exponent is used. [RT #16460] 2006-12-07 05:24:20 +00:00
Mark Andrews c6858cc1bf 2111. [bug] Fix a number of errors reported by Coverity.
[RT #16507]
2006-12-07 04:53:03 +00:00
Mark Andrews 35bd1a5437 2110. [bug] "minimal-response yes;" interacted badly with BIND 8
priming queries. [RT #16491]
2006-12-07 04:38:39 +00:00
Mark Andrews fedf811cc5 2109. [port] libbind: silence aix 5.3 compiler warnings. [RT #16502] 2006-12-07 03:54:24 +00:00
Mark Andrews 1b7613fe00 2107. [bug] dighost.c: more cleanup of buffers. [RT #16499] 2006-12-07 01:27:22 +00:00
Mark Andrews 37ce08838c fix cut-and-paste line break 2006-11-22 23:26:02 +00:00
Mark Andrews be833e751c update copyright notice 2006-11-14 01:07:28 +00:00
Mark Andrews ab8e5efd9a newcopyrights 2006-11-13 23:30:42 +00:00
Mark Andrews 4445b87404 2102. [port] Silence solaris 10 warnings. 2006-11-13 11:56:52 +00:00
Mark Andrews f6af77f3b5 2102. [port] Silence solaris 10 warnings. 2006-11-13 05:03:08 +00:00
Mark Andrews d043930b33 2102. [port] Silence solaris 10 warnings. 2006-11-10 19:00:07 +00:00
Mark Andrews 1e04f45107 2104. [port] Fix Solaris SMF error message. 2006-11-10 18:51:14 +00:00
Mark Andrews b3e2689783 2103. [port] Add /usr/sfw to list of locations for OpenSSL
under Solaris.
2006-11-10 18:31:22 +00:00
Mark Andrews e81de00d53 2102. [port] Silence solaris 10 warnings. 2006-11-09 23:59:29 +00:00
Mark Andrews 1babb044df regen 2006-11-09 22:24:43 +00:00
Mark Andrews 4b43f942ca v9.4.0b4 2006-11-08 02:14:17 +00:00
Mark Andrews e0edb0a2ab regen 2006-11-08 02:07:00 +00:00
Mark Andrews b1de2028c6 9.4.0b4 2006-11-08 02:02:55 +00:00
Mark Andrews 049e1c30cc 2099. [port] win32: more manifiest issues. 2006-11-08 01:51:10 +00:00
Mark Andrews e6f9351878 newcopyrights 2006-11-07 23:30:14 +00:00
Mark Andrews 1127e2f3e3 2101. [bug] OpenSSL version checks were not quite right.
[RT #16476]
2006-11-07 21:30:47 +00:00
Mark Andrews 89bdb31a6e 2100. [port] win32: copy libeay32.dll to Build\Debug.
Copy Debug\named-checkzone to Debug\named-compilezone.
2006-11-07 21:03:05 +00:00
Mark Andrews f3a7a736fc 2098. [bug] Race in rbtdb.c:no_references(), which occasionally
triggered an INSIST failure about the node lock
                        reference.  [RT #16411]
2006-10-26 06:04:29 +00:00
Mark Andrews 0db54382ec regen 2006-10-19 01:05:02 +00:00
Mark Andrews 59e8d54189 make openssl version check a warning 2006-10-19 01:04:13 +00:00
Mark Andrews 4311ff149b 9.4.0b3 2006-10-18 04:31:42 +00:00
Mark Andrews 76ef7b4856 2097. [bug] named could reference a destroyed memory context
after being reloaded / reconfigured. [RT #16428]
2006-10-18 04:24:19 +00:00
Mark Andrews cd4543de5b 2096. [bug] libbind: handle applications that fail to detect
res_init() failures better.
2006-10-16 23:00:58 +00:00
Mark Andrews 82da8ef8c1 newcopyrights 2006-10-11 23:30:15 +00:00
Mark Andrews 011d70369e remove unnecessary dependancies from checktool, dighost, dnssectool and rndcutil 2006-10-11 06:52:52 +00:00
Mark Andrews d63403047d WIN32 not WIN 2006-10-11 03:58:14 +00:00
Mark Andrews 5a1c4905ef be consistant when identifing/changeing openssl versions 2006-10-11 03:49:20 +00:00
Mark Andrews cd6e9d2ca8 update copyright notice 2006-10-11 02:33:29 +00:00
Mark Andrews d292c84ec1 2095. [port] libbind: alway prototype inet_cidr_ntop_ipv6() and
net_cidr_ntop_ipv6(). [RT #16388]
2006-10-11 02:32:47 +00:00
Mark Andrews f0d1317d39 newcopyrights 2006-10-10 23:30:16 +00:00
Mark Andrews b3c3f296fd Use F5 as large RSA exponent w/ OpenSSL 0.9.8 2006-10-10 02:29:01 +00:00
Mark Andrews fa7ff935c1 2094. [contrib] Update named-bootconf. [RT# 16404] 2006-10-10 00:06:29 +00:00
Mark Andrews 6e86c923a8 2093. [bug] named-checkzone -s was broken.
format was missing : for s
2006-10-05 05:24:35 +00:00
Mark Andrews 3d6cf11de0 update copyright notice 2006-10-05 00:31:42 +00:00
Mark Andrews 2603ab293b newcopyrights 2006-10-05 00:19:46 +00:00
Mark Andrews 1bc4d15f7a add .dsp and .dsw 2006-10-05 00:16:41 +00:00
Mark Andrews 44d3a7a5d1 update CAN list 2006-10-04 05:40:08 +00:00
Mark Andrews cdb01ab17b update CAN list 2006-10-04 05:25:22 +00:00
Mark Andrews cb187fc554 win32 2006-10-04 03:56:23 +00:00
Mark Andrews a6c41e234d win32 2006-10-04 03:11:27 +00:00
Mark Andrews e86bc7a029 win32 2006-10-04 03:03:17 +00:00
Mark Andrews 1c28af638c win32 2006-10-04 02:52:17 +00:00
Mark Andrews e2371724a9 win32 2006-10-04 02:44:50 +00:00
Mark Andrews 9440f5ff11 win32 2006-10-04 02:06:06 +00:00
Mark Andrews b21ae613bc update copyright notice 2006-10-03 23:50:51 +00:00
Mark Andrews 144335d3c2 newcopyrights 2006-10-02 23:30:15 +00:00
Mark Andrews 5de385c402 win32 2006-10-02 07:14:36 +00:00
Mark Andrews 1f0a7896bf win32 2006-10-02 06:36:43 +00:00
Mark Andrews 622d4cb4ec 2092. [bug] win32: dig, host, nslookup. Use registry config
if resolv.conf does not exist or no nameservers
                        listed. [RT #15877]
2006-10-02 03:22:59 +00:00
Mark Andrews 5209cedf01 2091. [port] dighost.c: race condition on cleanup. [RT #16417] 2006-10-02 03:14:35 +00:00
Mark Andrews 7b19edc3ba 2090. [port] win32: Visual C++ 2005 command line manifest support.
[RT #16417]
2006-10-02 03:00:35 +00:00
Mark Andrews 3fea8b338d 2089. [security] Raise the minimum safe OpenSSL versions to
OpenSSL 0.9.7l and OpenSSL 0.9.8d.  Versions
                        prior to these have known security flaws which
                        are (potentially) exploitable in named. [RT #16391]

2088.   [security]      Change the default RSA exponent from 3 to 65537.
                        [RT #16391]
2006-10-02 02:05:09 +00:00
Mark Andrews 23380103e4 2087. [port] libisc failed to compile on OS's w/o a vsnprintf.
[RT #16382]
2006-10-02 01:33:31 +00:00
Mark Andrews c576457bfa 2086. [port] libbind: FreeBSD now has get*by*_r() functions.
[RT #16403]
2006-10-02 01:23:09 +00:00
Mark Andrews 548f63c859 update 2006-10-01 00:02:07 +00:00
Mark Andrews d159daa07d update copyright notice 2006-09-30 23:58:37 +00:00
Mark Andrews c32da1c30e newcopyrights 2006-09-29 23:30:26 +00:00
Mark Andrews 1936ebe24c regen 2006-09-29 08:34:49 +00:00
Mark Andrews ad9c9eb83f check-name -> check-names 2006-09-29 06:33:00 +00:00
Mark Andrews 861391fdd0 2085. [doc] win32: added index.html and README to zip. [RT #16201] 2006-09-29 06:14:21 +00:00
Mark Andrews 6ae8eff943 newcopyrights 2006-09-28 23:30:20 +00:00
Mark Andrews 9f1554a852 2084. [contrib] dbus update for 9.3.3rc2. 2006-09-28 05:53:47 +00:00
cvs2git 5a540055f8 This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-09-28 05:46:21 +00:00
Mark Andrews 6e26988f61 update copyright notice 2006-09-28 00:03:10 +00:00
Mark Andrews 0f65bd5763 newcopyrights 2006-09-27 23:30:18 +00:00
Mark Andrews 1cd62e9b85 2083. [port] win32: Visual C++ 2005 support. 2006-09-27 00:29:46 +00:00
cvs2git 1d9ae9565a This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-09-25 04:24:02 +00:00
Mark Andrews 0a74367fc7 regen 2006-09-13 02:56:54 +00:00
Mark Andrews 5fdd1e51a5 2082. [doc] Document 'cache-file' as a test only option. 2006-09-13 00:20:50 +00:00
Mark Andrews 2ccc3c0469 regen 2006-09-11 02:32:29 +00:00
Mark Andrews 7790e026cf newcopyrights 2006-08-31 23:30:16 +00:00
Mark Andrews baebf50b59 9.4.0b2 2006-08-31 04:42:47 +00:00
Mark Andrews 4254520595 9.4.0b2 2006-08-31 04:05:31 +00:00
Mark Andrews 7185e0dc18 2066. [security] Handle SIG queries gracefully. [RT #16300] 2006-08-31 03:57:05 +00:00
Mark Andrews f80a45d8fd regen 2006-08-31 00:19:33 +00:00
Mark Andrews fbac5d06f3 update copyright notice 2006-08-30 23:49:57 +00:00
Mark Andrews 4cc410cd49 newcopyrights 2006-08-30 23:47:19 +00:00
Mark Andrews 4a7c53b740 minor wording change 2006-08-30 23:42:37 +00:00
Mark Andrews 60d65d2868 2081. [port] libbind: minor 64-bit portability fix in memcluster.c.
[RT #16360]
2006-08-30 23:30:35 +00:00
Mark Andrews 42d97729ab newcopyrights 2006-08-30 23:30:28 +00:00
Mark Andrews a6888e9a6d 2080. [port] libbind: res_init.c did not compile on older versions
of Solaris. [RT #16363]
2006-08-30 23:23:13 +00:00
Mark Andrews ed810a7416 2079. [bug] The lame cache was not handling multiple types
correctly. [RT #16361]
2006-08-30 23:07:41 +00:00
Mark Andrews 370671e775 2078. [bug] dnssec-checkzone output style "default" was badly
named.  It is now called "relative". [RT #16326]

2077.   [bug]           'dnssec-signzone -O raw' wasn't outputing the
                        complete signed zone. [RT #16326]
2006-08-30 23:01:54 +00:00
Mark Andrews e9b4fcf8b0 update copyright notice 2006-08-25 05:25:51 +00:00
Mark Andrews 3f89c34b0a newcopyrights 2006-08-24 23:30:18 +00:00
Mark Andrews 5ccb202517 2076. [bug] Several files were missing #include <config.h>
causing build failures on OSF. [RT #16341]
2006-08-24 00:44:24 +00:00
Mark Andrews f372bb76a0 2075. [bug] The spillat timer event hander could leak memory.
[RT #16357]
2006-08-22 06:13:42 +00:00
Mark Andrews e100eb4d72 2074. [bug] dns_request_createvia2(), dns_request_createvia3(),
dns_request_createraw2() and dns_request_createraw3()
                        failed to send multiple UDP requests. [RT #16349]
2006-08-21 00:40:53 +00:00
Mark Andrews dcb9712873 2073. [bug] Incorrect semantics check for update policy "wildcard".
[RT #16353]
2006-08-21 00:09:52 +00:00
Mark Andrews b969b94000 update copyright notice 2006-08-16 23:54:34 +00:00
Mark Andrews cfce5429f7 newcopyrights 2006-08-16 23:30:15 +00:00
Mark Andrews 6922bfb2c9 2072. [bug] We were not generating valid HMAC SHA digests.
[RT #16320]
2006-08-16 03:18:14 +00:00
Mark Andrews 91552641be update copyright notice 2006-08-10 23:59:29 +00:00
Mark Andrews 4cf9e689a5 newcopyrights 2006-08-10 23:30:18 +00:00
Mark Andrews 75ad0f0fd5 2070. [bug] The remote address was not always displayed when
reporting dispatch failures. [RT #16315]
2006-08-10 02:04:40 +00:00
Mark Andrews 19c58dd220 2071. [port] Test whether gcc accepts -fno-strict-aliasing.
[RT #16324]
2006-08-10 02:03:13 +00:00
Mark Andrews ccb2659df7 2071. [port] Test whether gcc accepts -fno-strict-aliasing.
[RT #16324]
2006-08-10 01:55:29 +00:00
Mark Andrews a825fc42ad 2070. [bug] The remote address was not always displayed when
reporting dispatch failures. [RT #16315]
2006-08-10 01:43:44 +00:00
Mark Andrews c52fc715a3 2069. [bug] Cross compiling was not working. [RT #16330] 2006-08-09 22:26:15 +00:00
Mark Andrews 33e14d3440 2068. [cleanup] Lower incremental tuning message to debug 1.
[RT #16319]
2006-08-08 06:39:36 +00:00
Mark Andrews 17e2791acc 2067. [bug] 'rndc' could close the socket too early triggering
a INSIST under Windows. [RT #16317]
2006-08-04 03:03:41 +00:00
Mark Andrews d78ddfb01d 2065. [bug] libbind: probe for HPUX prototypes for
endprotoent_r() and endservent_r().  [RT 16313]
2006-08-03 01:25:56 +00:00
Mark Andrews 44a5930e91 spelling 2006-08-01 03:45:21 +00:00
Mark Andrews 023f226b91 newcopyrights 2006-08-01 03:11:52 +00:00
Mark Andrews 77c56679d8 #endif in wrong place 2006-08-01 01:42:45 +00:00
Mark Andrews e937c93f97 2064. [bug] libbind: silence AIX compiler warnings. [RT #16218] 2006-08-01 01:20:33 +00:00
Mark Andrews 0651a6eda2 2063. [bug] Change #1955 introduced a bug which caused the first
'rndc flush' call to not free memory. [RT #16244]
2006-08-01 01:06:48 +00:00
Mark Andrews f5a79017a9 2062. [bug] 'dig +nssearch' was reusing a buffer before it had
been returned by the socket code. [RT #16307]
2006-08-01 00:54:38 +00:00
Mark Andrews 0e4f882a9c update comment 2006-07-31 02:04:48 +00:00
Mark Andrews 41b6189259 2061. [bug] Accept expired wildcard message reversed. [RT #16296] 2006-07-24 22:43:31 +00:00
Mark Andrews 0c1d76c634 2060. [bug] Enabling DLZ support could leave views partially
configured. [RT #16295]
2006-07-24 05:52:44 +00:00
Mark Andrews 4a39b9ed4b 9.4.0b1 2006-07-24 01:31:49 +00:00
Mark Andrews a5d9b9cccf 2059. [bug] Search into cache rbtdb could trigger an INSIST
failure while cleaning up a stale rdataset.
                        [RT #16292]
2006-07-24 01:23:11 +00:00
Mark Andrews b7526ed408 2058. [bug] Adjust how we calculate rtt estimates in the presence
of authoritative servers that drop EDNS and/or CD
                        requests.  Also fallback to EDNS/512 and plain DNS
                        faster for zones with less than 3 servers.  [RT #16187]
2006-07-22 01:20:53 +00:00
Mark Andrews 722166b332 2057. [bug] Make setting "ra" dependent on both allow-query-cache
and allow-recursion. [RT #16290]
2006-07-22 01:02:36 +00:00
Mark Andrews 79ab60d813 2056. [bug] dig: ixfr= was not being treated case insensitively
at all times. [RT #15955]
2006-07-21 23:52:21 +00:00
Mark Andrews 487c21e0af 2055. [bug] Missing goto after dropping multicast query.
[RT #15944]
2006-07-21 23:40:30 +00:00
Mark Andrews 09aa7af238 newcopyrights 2006-07-21 23:30:15 +00:00
Mark Andrews db64b3f457 add libisccfg.lib 2006-07-21 07:38:47 +00:00
Mark Andrews 64ddcea7b6 add libisccfg.lib 2006-07-21 07:32:40 +00:00
Mark Andrews 7a2c0ad40d add lib/isccfg/include 2006-07-21 07:06:41 +00:00
Mark Andrews fae5141c93 update copyright notice 2006-07-21 02:05:57 +00:00
Mark Andrews e434a56183 newcopyrights 2006-07-20 23:30:15 +00:00
Mark Andrews 365c42d5bc 2054. [port] freebsd: do not explicitly link against -lpthread.
[RT #16170]
2006-07-20 06:12:59 +00:00
Mark Andrews d97313886d 2054. [port] freebsd: do not explicitly link against -lpthread.
[RT #16170]
2006-07-20 05:48:55 +00:00
Mark Andrews 13104ae4e1 2053. [port] netbsd:libbind: silence compiler warnings. [RT #16220] 2006-07-20 03:59:34 +00:00
Mark Andrews 1a561dfd3d 2052. [bug] 'rndc' improve connect failed message to report
the failing address. [RT #15978]
2006-07-20 03:45:15 +00:00
Mark Andrews 40d909da6d 2051. [port] More strtol() fixes. [RT #16249] 2006-07-20 03:37:06 +00:00
Mark Andrews 40409bfe35 2050. [bug] Parsing of NSAP records was not case insensitive.
[RT #16287]
2006-07-20 03:26:56 +00:00
Mark Andrews fd5f5991fa regen 2006-07-20 02:33:48 +00:00
Mark Andrews 41f4a6a513 update copyright notice 2006-07-20 01:10:30 +00:00
Mark Andrews 00a25be929 grammer 2006-07-20 00:15:35 +00:00
Mark Andrews e309bb2eee newcopyrights 2006-07-19 23:30:19 +00:00
Mark Andrews 28d310d40a of -> or 2006-07-19 01:03:51 +00:00
Mark Andrews fbcf5c31ae 2049. [bug] Restore SOA before AXFR when falling back from
a attempted IXFR when transfering in a zone.
                        Allow a initial SOA query before attempting
                        a AXFR to be requested. [RT #16156]
2006-07-19 00:58:01 +00:00
Mark Andrews 68cbb891bc 2048. [bug] It was possible to loop forever when using
avoid-v4-udp-ports / avoid-v6-udp-ports when
                        the OS always returned the same local port.
                        [RT #16182]
2006-07-19 00:44:40 +00:00
Mark Andrews a335f7f0cd 2045. [func] use lock buckets for acache entries to limit memory
consumption. [RT #16183]
2006-07-19 00:34:56 +00:00
Mark Andrews 35396a6fa0 log message typo and %d -> %u 2006-07-19 00:25:10 +00:00
Mark Andrews 6370768e52 2047. [bug] Failed to initialise the interface flags to zero.
[RT #16245]
2006-07-19 00:12:14 +00:00
Mark Andrews 354e6fa3c7 regen 2006-07-18 20:50:17 +00:00
Tatuya JINMEI 神明達哉 1196b714f5 2046. [bug] rbtdb.c:rdataset_setadditional() could cause duplicate
cleanup [RT #16247].
2006-07-06 06:43:26 +00:00
Tatuya JINMEI 神明達哉 89e13cd590 warning fix in a call to isc_atomic_store() [RT#16219] 2006-07-06 06:31:49 +00:00
Mark Andrews f96692e626 regen 2006-06-29 13:03:03 +00:00
Mark Andrews bb4b36d014 update copyright notice 2006-06-24 00:25:39 +00:00
Mark Andrews 94689ee05c newcopyrights 2006-06-21 23:30:18 +00:00
Mark Andrews a268b329e5 2044. [port] add support for atomic operations for Itanium.
[RT #16179]
2006-06-21 03:40:40 +00:00
cvs2git b3b73a7cd8 This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-06-21 03:40:39 +00:00
Mark Andrews c9e1cba686 move .NOTPARALLEL:/.NO_PARALLEL: so not first target 2006-06-21 03:31:46 +00:00
Mark Andrews a075c5eed5 silence: large integer implicitly truncated to unsigned type 2006-06-21 01:25:40 +00:00
Mark Andrews ccaba83f7f newcopyrights 2006-06-20 23:30:20 +00:00
Mark Andrews d06bf7cc26 silence: aix 5.3 missing braces warnings 2006-06-20 07:00:28 +00:00
Mark Andrews f80921e577 silence: value computed is not used 2006-06-20 02:51:32 +00:00
Mark Andrews 40e51d721a sunos 4 and --with-libtool 2006-06-14 05:03:23 +00:00
Mark Andrews 86a6fb2068 ISC_LOG_INFO -> ISC_LOG_DEBUG(1) 2006-06-13 04:54:39 +00:00
Mark Andrews 2f0ce820e9 update copyright notice 2006-06-09 23:50:54 +00:00
Mark Andrews c8811eebb0 newcopyrights 2006-06-09 23:30:15 +00:00
Mark Andrews d7177afbc2 2043. [port] nsupdate/nslookup: Force the flushing of the prompt
for interactive sessions. [RT#16148]
2006-06-09 07:30:28 +00:00
Mark Andrews d123f89780 update copyright notice 2006-06-09 00:54:08 +00:00
Mark Andrews f89af13cf3 newcopyrights 2006-06-08 23:30:17 +00:00
Mark Andrews 521c56458a regen 2006-06-08 02:43:36 +00:00
Mark Andrews cc99a74166 spelling / grammer 2006-06-08 01:44:13 +00:00
Mark Andrews 8847465cca 2042. [bug] named-checkconf was incorrectly rejecting the
logging category "config". [RT #16117]
2006-06-08 01:43:00 +00:00
Mark Andrews b81aca93c1 newcopyrights 2006-06-07 23:30:16 +00:00
Mark Andrews 178157615f 2040. [bug] rbtdb no_references() could trigger an INSIST
failure with --enable-atomic.  [RT #16022]
2006-06-07 03:39:00 +00:00
Mark Andrews 2ae38ce976 2041. [bug] "configure --with-dlz-bdb=yes" produced a bad
set of libraries to be linked. [RT #16129]
2006-06-07 02:24:49 +00:00
Mark Andrews 4dcc685a16 update copyright notice 2006-06-07 00:29:45 +00:00
Mark Andrews c21a88b76c newcopyrights 2006-06-06 23:30:20 +00:00
Mark Andrews a2985107d4 spelling 2006-06-06 23:21:21 +00:00
Mark Andrews f5b06d2a02 2039. [func] Check that all buffers passed to the socket code
have been retrieve when the socket event is freed.
                        [RT #16122]

2038.   [bug]           dig/nslookup/host was unlinking from wrong list
                        when handling errors. [RT #16122]
2006-06-06 00:56:09 +00:00
Mark Andrews 9ac23073e4 OpenBSD 2006-06-06 00:20:28 +00:00
Mark Andrews 0e17d86272 update copyright notice 2006-06-06 00:11:41 +00:00
Mark Andrews d742934fd8 newcopyrights 2006-06-05 23:30:17 +00:00
Mark Andrews 6b94ad1850 2037. [func] When unlinking the first or last element in a list
check that the list head points to the element to
                        be unlinked. [RT #15959]
2006-06-05 00:40:41 +00:00
Mark Andrews 5db4fd3a18 2036. [bug] 'rndc recursing' could cause trigger a REQUIRE.
[RT #16075]
2006-06-05 00:13:29 +00:00
Mark Andrews 1497a74d81 2034. [bug] gcc: set -fno-strict-aliasing. [RT #16124] 2006-06-02 04:49:22 +00:00
Mark Andrews 103c412172 2034. [bug] gcc: set -fno-strict-aliasing. [RT #16124] 2006-06-02 03:44:37 +00:00
Mark Andrews d3782ad701 clarity 2006-05-29 23:27:07 +00:00
Mark Andrews 9607ed2edf 2033. [bug] We wern't creating multiple client memory contexts
on demand as expected. [RT #16095]
2006-05-29 01:26:43 +00:00
Mark Andrews d0afd54b34 9.4.0a6 2006-05-26 04:26:17 +00:00
Mark Andrews 4b0ee0ba86 2032. [bug] Remove a INSIST in query_addadditional2(). [RT #16074] 2006-05-26 02:48:26 +00:00
Mark Andrews 9251adaf48 9.4.0a6 2006-05-26 01:53:56 +00:00
Mark Andrews c34a19b63f 9.4.0a6 2006-05-26 01:31:23 +00:00
Mark Andrews a3f85746be 2031. [bug] Emit a error message when "rndc refresh" is called on
a non slave/stub zone. [RT # 16073]
2006-05-24 04:30:43 +00:00
Mark Andrews 01b2ff64cc update copyright notice 2006-05-23 23:51:04 +00:00
Mark Andrews 65dd2b6996 newcopyrights 2006-05-23 23:30:16 +00:00
Mark Andrews 9e0b69bf49 2030. [bug] We were being overly conservative when disabling
openssl engine support. [RT #16030]
2006-05-23 04:50:52 +00:00
Mark Andrews 7c7ca945e9 2029. [bug] host printed out the server multiple times when
specified on the command line. [RT #15992]
2006-05-23 04:40:42 +00:00
Mark Andrews ad9cd2df24 newcopyrights 2006-05-19 23:30:16 +00:00
Mark Andrews bc8780cbea s/x68/x86/ 2006-05-19 04:43:11 +00:00
Mark Andrews 8ae91c8651 change number 2006-05-19 02:52:16 +00:00
Mark Andrews e7e7964c74 2026. [port] linux: socket.c compatability for old systems.
[RT #16015]
2006-05-19 02:49:29 +00:00
Mark Andrews c838b53140 2027. [port] libbind: solaris x68 support. [RT #16020] 2006-05-19 02:36:00 +00:00
Mark Andrews 64766f3c8b update copyright notice 2006-05-19 00:04:01 +00:00
Mark Andrews 42ace29bba newcopyrights 2006-05-18 23:30:18 +00:00
Mark Andrews 86c4403666 2026. [bug] Rate limit the two recursive client exceeded messages.
[RT #16044]
2006-05-18 03:14:03 +00:00
Mark Andrews 740051909d 2025. [func] Update "zone serial unchanged" message. [RT #16026] 2006-05-18 02:38:27 +00:00
Mark Andrews 72a28d8eba 2022. [bug] If dnssec validation is disabled only assert CD if
CD was requested. [RT #16037]

2021.   [bug]           dnssec-enable no; triggered a REQUIRE. [RT #16037]
2006-05-18 02:02:35 +00:00
Mark Andrews eab272cfeb 2023. [bug] "make install" should create ${localstatedir}/run and
${sysconfdir} if they do not exist. [RT #16033]
2006-05-18 01:04:34 +00:00
Mark Andrews c3425b89a5 2022. [bug] If dnssec validation is disabled only assert CD if
CD was requested. [RT #16037]

2021.   [bug]           dnssec-enable no; triggered a REQUIRE. [RT #16037]
2006-05-18 00:54:41 +00:00
Mark Andrews a74224ad1e regen 2006-05-17 02:38:44 +00:00
Mark Andrews c14078b211 grammer, spelling and clarity 2006-05-17 01:59:30 +00:00
Mark Andrews 72cec30321 grammer, spelling and clarity 2006-05-17 01:33:29 +00:00
Mark Andrews 82841337bb grammer, spelling and clarity 2006-05-16 06:43:06 +00:00
Mark Andrews bb663a73bd make query-source{-v6} clearer 2006-05-16 06:11:37 +00:00
Mark Andrews 6216aa9b81 2020. [bug] rdataset_setadditional() could leak memory. [RT #16034] 2006-05-16 04:11:39 +00:00
Mark Andrews 3202b2fa98 fix comment 2006-05-16 03:59:26 +00:00
Mark Andrews a2a3e2935e 2019. [tuning] Reduce the amount of work performed per quantum
when cleaning the cache. [RT #15986]
2006-05-16 03:57:15 +00:00
Mark Andrews b815ddd122 2018. [bug] Checking if the HMAC MD5 private file was broken.
[RT #15960]
2006-05-16 03:47:14 +00:00
Mark Andrews 974ea3c6f7 2017. [bug] allow-query default was net correct. [RT #15946] 2006-05-16 03:39:57 +00:00
Mark Andrews bbbdc97ccf 2016. [bug] Return a partial answer if recursion is not
allowed but requested and we had the answer
                        to the original qname. [RT #15945]
2006-05-16 03:28:16 +00:00
Mark Andrews d674eb266a recusion -> recursion 2006-05-15 06:11:39 +00:00
Mark Andrews 317363c3d7 regen 2006-05-08 15:46:15 +00:00
Mark Andrews 88f1d5ffe9 comment: cleanng -> cleaning 2006-05-04 02:20:37 +00:00
Mark Andrews dcf3e09392 update new feature list 2006-05-04 01:30:15 +00:00
Mark Andrews 82c943cfb2 9.4.0a5 2006-05-03 02:28:25 +00:00
Mark Andrews 36109acaf9 regen 2006-05-03 02:26:59 +00:00
Mark Andrews a5f8e650e8 9.4.0a5 2006-05-03 01:49:09 +00:00
Mark Andrews b209b57067 2015. [cleanup] use-additional-cache is now acache-enable for
consistancy.  Default acache-enable off in BIND 9.4
                        as it requires memory usage to be configured.
                        It may be enabled by default in BIND 9.5 once we
                        have more experience with it.
2006-05-03 01:46:40 +00:00
Mark Andrews 0211c78765 update copyright notice 2006-05-03 00:07:49 +00:00
Mark Andrews 69dbf23eff newcopyrights 2006-05-02 23:30:13 +00:00
Shane Kerr a80207d2a3 Stats for acache. Currently running on senna (ns-ext). 2006-05-02 12:55:31 +00:00
Mark Andrews 317964b121 2013. [bug] Handle unexpected TSIGs on unsigned AXFR/IXFR
responses more gracefully. [RT #15941]
2006-05-02 04:23:12 +00:00
Mark Andrews ca97057dca 2012. [func] Don't insert new acache entries if acache is full.
[RT #15970]
2006-05-02 03:28:41 +00:00
Mark Andrews 0453bdaa60 update copyright notice 2006-04-27 09:36:45 +00:00
Mark Andrews cf999b32dd newcopyrights 2006-04-26 23:30:17 +00:00
Shane Kerr 59bfe4ee90 Pulling rt15970 into 9.4 pre-release. 2006-04-26 12:12:07 +00:00
Shane Kerr cea64f9221 Pulling rt15958 into 9.4 pre-release. 2006-04-26 11:31:51 +00:00
Mark Andrews 3e6da549e0 regen 2006-04-23 10:12:43 +00:00
Michael Graff 564e2a6b6a pull up my changes from the mainline, to v9_4 2006-04-17 18:27:33 +00:00
Mark Andrews 80b382ff7b tag mis-match 2006-04-15 22:19:21 +00:00
Mark Andrews 02a387df62 update copyright notice 2006-04-15 01:30:15 +00:00
Mark Andrews 97065c4bcd newcopyrights 2006-04-13 23:30:12 +00:00
David Hankins 66da3a511e 2011. [func] dnssec-signzone can now update the SOA record of
the signed zone, either as an increment or as the
                        system time(). [RT #15633]
2006-04-13 18:09:46 +00:00
Mark Andrews 806f538c21 add const 2006-03-10 04:54:35 +00:00
Mark Andrews d7704efa4f newcopyrights 2006-03-10 04:30:06 +00:00
Mark Andrews a8b11b6a07 9.4.0a4 2006-03-10 04:29:35 +00:00
Mark Andrews e0fd5aaec9 update copyright notice 2006-03-10 04:15:10 +00:00
Mark Andrews 12ab87da04 newcopyrights 2006-03-10 04:12:13 +00:00
Mark Andrews 00c089f67d sync with HEAD 2006-03-10 04:04:32 +00:00
Mark Andrews 4ba635bc47 win32 2006-03-10 03:30:54 +00:00
Mark Andrews 5a52a2084b win32 2006-03-10 03:29:12 +00:00
Mark Andrews da1d72402a win32 2006-03-10 03:23:43 +00:00
Mark Andrews 0aaeda8d70 win32 2006-03-10 03:17:03 +00:00
Mark Andrews f44f29c8d6 win32 2006-03-10 03:14:28 +00:00
Mark Andrews 36d7f4bc26 win32 2006-03-10 03:11:45 +00:00
Mark Andrews af61764261 win32 2006-03-10 03:04:06 +00:00
Mark Andrews bc15fe3357 win32 2006-03-10 03:01:52 +00:00
Mark Andrews 4dec833feb update 2006-03-10 01:32:26 +00:00
Mark Andrews bf2fe05272 HAVE_RSA_GENERATE_KEY/HAVE_DSA_GENERATE_PARAMETERS/HAVE_DH_GENERATE_PARAMETERS 2006-03-10 01:13:42 +00:00
Mark Andrews 488e4f4e6a newcopyrights 2006-03-10 00:59:05 +00:00
Mark Andrews db8ac421d8 regen 2006-03-10 00:47:40 +00:00
Mark Andrews 50c7241d69 9.4.0a4 2006-03-10 00:28:00 +00:00
Mark Andrews a9c698bf3a update copyright notice 2006-03-10 00:23:20 +00:00
Mark Andrews 8e6f53c1b8 newcopyrights 2006-03-10 00:20:31 +00:00
Mark Andrews a501e657d3 2009. [bug] libbind: coverity fixes. [RT #15808] 2006-03-10 00:20:08 +00:00
Mark Andrews e9724570aa 2008. [func] It is now posssible to enable/disable DNSSEC
validation from rndc.  This is useful for the
                        mobile hosts where the current connection point
                        breaks DNSSEC (firewall/proxy).  [RT #15592]

                                rndc validation newstate [view]
2006-03-09 23:46:20 +00:00
Mark Andrews f560a1877b 2007. [func] It is now possible to explicitly enable DNSSEC
validation.  default dnssec-validation no; to
                        be changed to yes in 9.5.0.  [RT #15674]
2006-03-09 23:38:21 +00:00
cvs2git 915c9ab0fe This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-03-09 21:58:58 +00:00
Mark Andrews 980c5d7b8d regen 2006-03-09 05:04:01 +00:00
Mark Andrews 1ba9283d78 2006. [security] Allow-query-cache and allow-recursion now default
to the builtin acls "localnets" and "localhost".

                        This is being done to make caching servers less
                        attractive as reflective amplifying targets for
                        spoofed traffic.  This still leave authoritative
                        servers exposed.

                        The best fix is for full BCP 38 deployment to
                        remove spoofed traffic.
2006-03-09 03:40:33 +00:00
Mark Andrews 2d583a44d6 newcopyrights 2006-03-08 23:30:18 +00:00
Mark Andrews 8a6f69ef96 2005. [bug] libbind: Retransmission timeouts should be
based on which attempt it is to the nameserver
                        and not the nameserver itself. [RT #13548]
2006-03-08 04:14:17 +00:00
Mark Andrews b16c72bf12 2004. [bug] dns_tsig_sign() could pass a NULL pointer to
dst_context_destroy() when cleaning up after a
                        error. [RT #15835]
2006-03-08 03:55:50 +00:00
Mark Andrews 9b6c85ca20 2003. [bug] libbind: The DNS name/address lookup functions could
occasionally follow a random pointer due to
                        structures not being completely zeroed. [RT #15806]
2006-03-08 03:43:18 +00:00
Mark Andrews 1396c84257 tidy up 2006-03-07 05:06:09 +00:00
Mark Andrews 69036420c7 update copyright notice 2006-03-07 00:34:53 +00:00
Mark Andrews 3dc062fe12 newcopyrights 2006-03-06 23:30:22 +00:00
Mark Andrews cdaad1be46 regen 2006-03-06 08:06:49 +00:00
Mark Andrews 13481a92d8 2002 [bug] libbind: tighten the constraints on when
struct addrinfo._ai_pad exists.  [RT #15783]
2006-03-06 02:27:15 +00:00
Mark Andrews cb6bc372d8 2001. [func] Check the KSK flag when updating a dynamic zone.
New zone option "update-check-ksk yes;".  [RT #15817]
2006-03-06 01:38:01 +00:00
Mark Andrews ac5fb539db 2000. [bug] memmove()/strtol() fix was incomplete. [#RT 15812] 2006-03-06 01:11:04 +00:00
Mark Andrews 69ed9fe33f update copyright notice 2006-03-05 23:58:51 +00:00
Mark Andrews a2415e0e15 newcopyrights 2006-03-05 11:25:23 +00:00
Mark Andrews b40b95a7ef (char *) -> (unsigned char *) 2006-03-03 04:43:49 +00:00
Mark Andrews 3ee9b493ac add -Wpointer-arith to gcc 2006-03-03 03:21:09 +00:00
Mark Andrews 7eeb45a377 use (char *) for pointer arithmetic 2006-03-03 03:05:20 +00:00
Mark Andrews bf3bbdc9b6 1999. [func] Implement "rrset-order fixed". [RT #13662] 2006-03-03 00:56:53 +00:00
cvs2git 4798bc9e3c This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-03-03 00:43:36 +00:00
Mark Andrews 1adea826d0 update copyright notice 2006-03-02 23:48:49 +00:00
Mark Andrews d35adfae2c newcopyrights 2006-03-02 23:30:13 +00:00
Mark Andrews 7cdc4b985e 1998. [bug] Restrict handling of fifos as sockets to just SunOS.
This allows named to connect to entropy gathering
                        daemons that use fifos instead of sockets. [RT #15840]
2006-03-02 23:29:24 +00:00
Mark Andrews 3497fc3b77 1997. [bug] Named was failing to replace negative cache entries
when a positive one for the type was learnt.
                        [RT #15818]
2006-03-02 23:19:20 +00:00
Mark Andrews c4f3ffc491 1995. [bug] 'host' was reporting multiple "is an alias" messages.
[RT #15702]
2006-03-02 01:50:15 +00:00
Mark Andrews 1f8449c606 update copyright notice 2006-03-02 00:37:22 +00:00
Mark Andrews 8c3babd406 newcopyrights 2006-03-01 23:30:13 +00:00
Mark Andrews 8fe36fefe9 1994. [port] OpenSSL 0.9.8 support. [RT #15694] 2006-03-01 02:41:02 +00:00
Mark Andrews da7a930549 1993. [bug] Log messsage, via syslog, were missing the space
after the timestamp if "print-time yes" was specified.
                        [RT #15844]
2006-03-01 02:25:11 +00:00
Mark Andrews e73fc6bcef 1992. [bug] Not all incoming zone transfer messages included the
view.  [RT #15825]
2006-03-01 02:13:19 +00:00
Mark Andrews 8e1a73851d newcopyrights 2006-02-28 23:30:13 +00:00
Mark Andrews ea407e7082 1991. [cleanup] The configuration data, once read, should be treated
as readonly.  Expand the use of const to enforce this
                        at compile time. [RT #15813]
2006-02-28 03:10:49 +00:00
Mark Andrews f537534a39 1990. [bug] libbind: isc's override of broken gettimeofday()
implementions was not always effective.
                        [RT #15709]
2006-02-28 00:11:03 +00:00
Mark Andrews b84c54c850 update entry 2006-02-27 21:10:29 +00:00
Mark Andrews e608c03f34 regen 2006-02-27 02:18:04 +00:00
Mark Andrews ee8c147111 update copyright notice 2006-02-26 23:49:49 +00:00
Mark Andrews 7b8f402a4b newcopyrights 2006-02-26 23:30:13 +00:00
Mark Andrews 7af42116ba fix minor typos 2006-02-26 23:01:58 +00:00
Mark Andrews 5fcfdf8903 remove redundant memset 2006-02-26 22:30:56 +00:00
Mark Andrews c81148b3c6 update copyright notice 2006-02-26 22:28:37 +00:00
Mark Andrews 07f4e72711 newcopyrights 2006-02-24 23:30:19 +00:00
Mark Andrews bfca12c389 1989. [bug] win32: don't check the service password when
re-installing. [RT #15882]
2006-02-24 03:54:16 +00:00
Mark Andrews 4faccdcc07 1988. [bug] Remove a bus error from the SHA256/SHA512 support.
[RT #15878]
2006-02-24 00:06:32 +00:00
Mark Andrews c43996849a newcopyrights 2006-02-23 23:30:18 +00:00
Mark Andrews 904333546e update example 2006-02-23 22:33:55 +00:00
Mark Andrews ae3a8d847a update copyright notice 2006-02-22 23:50:09 +00:00
Mark Andrews 0e92ea829a newcopyrights 2006-02-22 23:30:15 +00:00
Mark Andrews 2f46120278 post merge problem 2006-02-22 01:57:12 +00:00
Mark Andrews c017465e4a 1987. [func] DS/DLV SHA256 digest algorithm support. [RT #15608] 2006-02-21 23:53:35 +00:00
Mark Andrews 77c5b1c067 1986. [func] Report when a zone is removed. [RT #15849] 2006-02-21 23:17:32 +00:00
Mark Andrews 9cc63c0b9e update copyright notice 2006-02-19 06:50:47 +00:00
Mark Andrews 03d9ed7779 newcopyrights 2006-02-17 23:30:14 +00:00
Mark Andrews 902d68b8bf regen 2006-02-17 02:05:47 +00:00
Mark Andrews f773366d5e 1985. [protocol] DLV has now been assigned a official type code of
32769. [RT #15807]

                        Note: care should be taken to ensure you upgrade
                        both named and dnssec-signzone at the same time for
                        zones with DLV records where named is the master
                        server for the zone.  Also any zones that contain
                        DLV records should be removed when upgrading a slave
                        zone.  You do not however have to upgrade all
                        servers for a zone with DLV records simultaniously.
2006-02-17 01:12:01 +00:00
cvs2git 30a6de88f0 This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-02-17 01:04:16 +00:00
Mark Andrews 8fc5e43bd9 1597. [func] Allow notify-source and query-source to be specified
on a per server basis similar to transfer-source.
                        [RT #6496]
2006-02-17 00:42:10 +00:00
Mark Andrews 80693a5fe0 1984. [func] dig, nslookup and host now advertise a 4096 byte
EDNS UDP buffer size by default. [RT #15855]
2006-02-17 00:14:21 +00:00
Mark Andrews e77385c265 update copyright notice 2006-02-16 23:51:32 +00:00
Mark Andrews 8cec66ed7f newcopyrights 2006-02-16 23:30:13 +00:00
Mark Andrews 918db3b403 regen 2006-02-16 04:57:56 +00:00
Mark Andrews dfb3eacdfb 1983. [func] Two new update policies. "selfsub" and "selfwild".
[RT #12895]
2006-02-16 01:38:49 +00:00
Mark Andrews 671495dd1e 1982. [bug] DNSKEY was being accepted on the parent side of
a delegation.  KEY is still accepted there for
                        RFC 3007 validated updates. [RT #15620]
2006-02-16 01:23:47 +00:00
Mark Andrews 0e38e7be45 update copyright notice 2006-02-13 23:50:53 +00:00
Mark Andrews e14e1988e5 newcopyrights 2006-02-13 23:30:17 +00:00
Mark Andrews bcc2d242d0 1981. [bug] win32: condition.c:wait() could fail to reattain
the mutex lock.
2006-02-13 03:39:02 +00:00
Mark Andrews 051f8a3397 Fix a signal race condition with the following change.
1980.   [func]          dnssec-signzone: output the SOA record as the
                        first record in the signed zone. [RT #15758]
2006-02-07 21:56:47 +00:00
Mark Andrews 26e33ad133 regen 2006-02-07 05:52:36 +00:00
Mark Andrews 60579704fe regen 2006-02-06 05:28:42 +00:00
Mark Andrews 2472552390 regen 2006-02-06 03:36:44 +00:00
Mark Andrews de6cb2108a update copyright notice 2006-02-03 23:51:38 +00:00
Mark Andrews 4956486838 newcopyrights 2006-02-03 23:30:17 +00:00
Mark Andrews 61822e71d1 1980. [func] dnssec-signzone: output the SOA record as the
first record in the signed zone. [RT #15758]
2006-02-03 00:15:43 +00:00
Mark Andrews d4c7754f14 1979. [port] linux: allow named to drop core after changing
user ids. [RT #15753]
2006-02-02 23:37:59 +00:00
Mark Andrews ff7e8e2f5b newcopyrights 2006-02-02 23:31:37 +00:00
Mark Andrews 3c8829f50a 1978. [port] Handle systems which have a broken recvmsg().
[RT #15742]
2006-02-02 23:13:20 +00:00
Mark Andrews 0c3fa5d938 1977. [bug] Silence noisy log message. [RT #15704] 2006-02-02 22:52:57 +00:00
Mark Andrews 870cf686c6 1976. [bug] Handle systems with no IPv4 addresses. [RT #15695] 2006-02-02 22:39:53 +00:00
Mark Andrews 4dd7e34f48 comment typo 2006-02-01 22:39:17 +00:00
Mark Andrews 6f93c80e8d update copyright notice 2006-02-01 00:10:34 +00:00
Mark Andrews d392fb7eb4 newcopyrights 2006-01-31 23:30:13 +00:00
Mark Andrews 8b1e1a03b2 silence compiler warnings 2006-01-31 23:03:52 +00:00
Mark Andrews 3ef5c36a94 silence compiler warning 2006-01-31 01:58:39 +00:00
Mark Andrews 275a1ccaf6 1975. [bug] libbind: isc_gethexstring() could misparse multi-line
hex strings with comments. [RT #15814]
2006-01-31 00:55:32 +00:00
Mark Andrews 7d20ed76ff silence compiler warnings 2006-01-31 00:38:06 +00:00
Mark Andrews e9c31cd679 silence compiler warnings 2006-01-31 00:25:46 +00:00
Mark Andrews 9ee3ecd4bf set BYTE_ORDER from WORDS_BIGENDIAN if not otherwise defined 2006-01-31 00:13:15 +00:00
Mark Andrews 15cd70917b regen 2006-01-30 02:26:25 +00:00
Mark Andrews 572e225823 delegation-only is valid for type forward 2006-01-30 00:39:39 +00:00
Mark Andrews 5c40f431b8 1974. [doc] List each of the zone types and associated zone
options seperately in the ARM.
2006-01-30 00:30:04 +00:00
Mark Andrews c3f2d61ede regen 2006-01-29 22:56:53 +00:00
Mark Andrews 17b2cc8f16 regen 2006-01-28 02:15:41 +00:00
Mark Andrews deaa25fd63 update copyright notice 2006-01-27 23:57:45 +00:00
Mark Andrews 77a9b5dbf3 update 2006-01-27 23:39:13 +00:00
Mark Andrews 084e118b18 newcopyrights 2006-01-27 23:30:14 +00:00
Mark Andrews 1ed167177d regen 2006-01-27 05:16:45 +00:00
Mark Andrews 65fdd79a50 1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
HMACSHA512 support. [RT #13606]
2006-01-27 02:50:51 +00:00
cvs2git fbbcef65f5 This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-01-27 02:35:16 +00:00
Mark Andrews 691a48f8e0 1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998]
Fix the CLEANER_IDLE macro to make this change complete. [RT #15815]
2006-01-26 23:07:49 +00:00
Mark Andrews 0c4eb5c99e newcopyrights 2006-01-23 23:30:18 +00:00
Mark Andrews 6f0b93539c 1972. [contrib] DBUS dynamic forwarders integation from
Jason Vas Dias <jvdias@redhat.com>.
2006-01-23 04:56:26 +00:00
cvs2git 4618ea5ccc This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-01-23 04:53:37 +00:00
Mark Andrews e9726c25ba regen 2006-01-18 04:59:11 +00:00
Mark Andrews 1d23449b0b update copyright notice 2006-01-17 23:49:31 +00:00
Mark Andrews 25daac20b5 newcopyrights 2006-01-17 23:30:17 +00:00
Mark Andrews 73e8579252 regen 2006-01-17 02:14:43 +00:00
Mark Andrews f84d9b582b xref named.conf(5) 2006-01-16 23:59:51 +00:00
Mark Andrews 70b15d3957 update copyright notice 2006-01-10 23:50:41 +00:00
Mark Andrews 2526270652 newcopyrights 2006-01-10 23:30:15 +00:00
Mark Andrews d60e7efb55 1971. [port] linux: make detection of missing IF_NAMESIZE more
robust. [RT #15443]
2006-01-10 05:09:08 +00:00
Mark Andrews 2cb35446ae style 2006-01-10 03:03:26 +00:00
Mark Andrews 8b774c8c4e regen 2006-01-07 03:40:23 +00:00
Mark Andrews 5cdce69e65 update copyright notice 2006-01-07 00:23:34 +00:00
Mark Andrews 59a29a6b78 newcopyrights 2006-01-06 23:30:13 +00:00
Mark Andrews 93980d685f specify -D as libtool does not preserve argv0. 2006-01-06 06:57:13 +00:00
Mark Andrews bb091d4bbe remove ns1/example.db.raw 2006-01-06 06:56:32 +00:00
Mark Andrews fff0cbc65c 1970. [bug] nsupdate: adjust UDP timeout when falling back to
unsigned SOA query. [RT #15775]
2006-01-06 04:50:21 +00:00
Mark Andrews 310d10a544 silence compiler warning 2006-01-06 02:04:09 +00:00
Mark Andrews df6f75f878 regen 2006-01-06 01:48:04 +00:00
Mark Andrews ec6e807f29 1969. [bug] win32: the socket code was freeing the socket
structure too early. [RT #15776]
2006-01-06 01:34:20 +00:00
Mark Andrews 27428ec47a 1968. [bug] Missing lock in resolver.c:validated(). [RT #15739] 2006-01-06 01:13:05 +00:00
Mark Andrews 82830b197b 1967. [func] dig/nslookup/host: warn about missing QR. [RT #15779] 2006-01-06 00:56:00 +00:00
Mark Andrews e23d3f34e6 1966. [bug] Don't set CD when we have fallen back to plain DNS.
[RT #15727]
2006-01-06 00:43:07 +00:00
Mark Andrews 00e430246d 1965. [func] Suppress spurious "recusion requested but not
available" warning with 'dig +qr'. [RT #15780].
2006-01-06 00:25:41 +00:00
Mark Andrews 76f6d0382a 1964. [func] Seperate out MX and SRV to CNAME checks. [RT #15723] 2006-01-06 00:10:00 +00:00
Mark Andrews 586f82c999 update copyright notice 2006-01-06 00:01:43 +00:00
Mark Andrews 9b1351dbb2 newcopyrights 2006-01-05 23:30:13 +00:00
Mark Andrews a788a04b08 unbalances <term>'s 2006-01-05 11:42:36 +00:00
Mark Andrews f7464d52ff typo 2006-01-05 03:49:10 +00:00
Mark Andrews ea87c36c34 1963. [port] Tru64 4.0E doesn't support send() and recv().
[RT #15586]
2006-01-05 03:46:26 +00:00
Mark Andrews dbf2a22cda 1962. [bug] Named failed to clear old update-policy when it
was removed. [RT #15491]
2006-01-05 03:38:28 +00:00
Mark Andrews 7820998a39 1961. [bug] Check the port and address of responses forwarded
to dispatch. [RT #15474]
2006-01-05 03:30:56 +00:00
Mark Andrews d71329a7df 1960. [bug] Update code should set NSEC ttls from SOA MINIMUM.
[RT #15465]
2006-01-05 03:21:54 +00:00
Mark Andrews ff3b707f8a 1959. [func] Control the zeroing of the negative response TTL to
a soa query.  Defaults "zero-no-soa-ttl yes;" and
                        "zero-no-soa-ttl-cache no;". [RT #15460]
2006-01-05 02:24:27 +00:00
Mark Andrews 84df135b2b fixed typos in error messages 2006-01-05 01:41:28 +00:00
Mark Andrews b35878c85b 1958. [bug] Named failed to update the zone's secure state
until the zone was reloaded. [RT #15412]
2006-01-05 01:33:55 +00:00
Mark Andrews 1e53d23ec4 1957. [bug] Dig mishandled responses to class ANY queries.
[RT #15402]
2006-01-05 01:04:28 +00:00
Mark Andrews 5975e2882e 1956. [bug] Improve cross compile support, 'gen' is now built
by native compiler.  See README for additional
                        cross compile support information. [RT #15148]
2006-01-05 00:41:03 +00:00
Mark Andrews 0befce1b74 1956. [bug] Improve cross compile support, 'gen' is now built
by native compiler.  See README for additional
                        cross compile support information. [RT #15148]
2006-01-05 00:30:10 +00:00
Mark Andrews 8c5dac56cd 1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998] 2006-01-05 00:21:11 +00:00
Mark Andrews 48d9f5bdaa inclu1954. [func] Named now falls back to advertising EDNS with a
512 byte receive buffer if the initial EDNS queries
                        fail.  [RT #14852]

1953.   [func]          The maximum EDNS UDP response named will send can
                        now be set in named.conf (max-udp-size).  This is
                        independent of the advertised receive buffer
                        (edns-udp-size). [RT #14852]
2006-01-05 00:10:44 +00:00
Mark Andrews e770e36d60 update copyright notice 2006-01-04 23:50:23 +00:00
Mark Andrews d0d651026d newcopyrights 2006-01-04 23:30:18 +00:00
Mark Andrews 4e3c349b7a 1952. [port] hpux: tell the linker to build a runtime link
path "-Wl,+b:". [RT #14816].
2006-01-04 22:48:19 +00:00
Mark Andrews 821c84f2e0 1951. [security] Drop queries from particular well known ports.
Don't return FORMERR to queries from particular
                        well known ports.  [RT #15636]
2006-01-04 05:13:43 +00:00
Mark Andrews e74b6c9c74 1950. [port] Solaris 2.5.1 and earlier cannot bind() then connect()
a TCP socket. This prevents the source address being
                        set for TCP connections. [RT #15628]
2006-01-04 04:29:18 +00:00
Mark Andrews 9114d9ae77 1949. [func] Addition memory leakage checks. [RT #15544] 2006-01-04 03:20:27 +00:00
Mark Andrews 9efa0b0eaa 1948. [bug] If was possible to trigger a REQUIRE failure in
xfrin.c:maybe_free() if named ran out of memory.
                        [RT #15568]
2006-01-04 03:08:40 +00:00
Mark Andrews f53e702b25 1947. [func] It is now possible to configure named to accept
expired RRSIGs.  Default "dnssec-accept-expired no;".
                        Setting "dnssec-accept-expired yes;" leaves named
                        vulnerable to replay attacks.  [RT #14685]
2006-01-04 02:58:42 +00:00
Mark Andrews 062b135630 update copyright notice 2006-01-04 00:37:23 +00:00
Mark Andrews 5195cbd6a3 newcopyrights 2006-01-03 23:30:17 +00:00
Mark Andrews 6201fe7298 1946. [bug] resume_dslookup() could trigger a REQUIRE failure
when using forwarders. [RT #15549]
2006-01-03 07:23:41 +00:00
Mark Andrews 431e2ab380 1945. [cleanup] dnssec-keygen: RSA (RSAMD5) is nolonger recommended.
To generate a RSAMD5 key you must explictly request
                        RSAMD5. [RT #13780]
2006-01-03 07:19:32 +00:00
Mark Andrews 7c500c5380 1944. [cleanup] isc_hash_create() does not need a read/write lock.
[RT #15522]
2006-01-03 05:55:01 +00:00
Mark Andrews 7a6ae288f4 spelling 2006-01-03 05:38:45 +00:00
Mark Andrews 15ed0dd65a 1943. [bug] Set the loadtime after rollimg forward the journal.
[RT #15647]
2006-01-03 05:37:13 +00:00
Mark Andrews faa9dc3c7d update copyrights 2005-12-06 23:40:07 +00:00
Mark Andrews 5b6d8a55ec v9_4_0a3 2005-12-06 03:03:34 +00:00
Mark Andrews b730720648 fix relative path 2005-12-06 02:00:01 +00:00
Mark Andrews 07956467c6 Handle named-compilezone.exe copy 2005-12-06 01:57:44 +00:00
Mark Andrews d05c833a90 win32 2005-12-06 01:19:54 +00:00
Mark Andrews 89f2e1aa4a 9.4.0a3 2005-12-06 00:39:17 +00:00
Mark Andrews 1002410f4d 9.4.0a3 2005-12-06 00:03:00 +00:00
Mark Andrews e3a0c1266e regen 2005-12-05 01:40:16 +00:00
Mark Andrews cf4e1143ea 1942. [bug] If the name of a DNSKEY match that of one in
trusted-keys do not attempt to validate the DNSKEY
                        using the parents DS RRset. [RT #15649]
2005-12-05 00:00:03 +00:00
Mark Andrews bc89eff622 update copyright notice 2005-11-30 23:52:53 +00:00
Mark Andrews 5bacdc2945 newcopyrights 2005-11-30 23:30:10 +00:00
Mark Andrews 72adedc82e 1941. [bug] ncache_adderesult() should set eresult even if no
rdataset is passed to it. [RT #15642]
2005-11-30 22:56:21 +00:00
Mark Andrews 864f9d0d0a silence dereferencing type-punned pointer will break strict-aliasing rules warning 2005-11-30 04:58:32 +00:00
Mark Andrews 3c8367a203 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2005-11-30 03:44:39 +00:00
Mark Andrews e6988ed649 silence compiler warnings [RT #15562] 2005-11-03 23:02:24 +00:00
Mark Andrews c96954b3fb regen 2005-11-03 02:44:32 +00:00
Mark Andrews c7d337e4ff 1939. [bug] The resolver could dereference a null pointer after
validation if all the queries have timed out.
                        [RT #15528]

1938.   [bug]           The validator was not correctly handling unsecure
                        negative responses at or below a SEP. [RT #15528]
2005-11-03 00:58:00 +00:00
Mark Andrews 5029beeca2 update copyright notice 2005-11-03 00:02:55 +00:00
Mark Andrews 7d1a7dd02f pullup bind8:
1721.   [bug]           Change #1718 was incomplete.  Missing error return
                        on out of memory.
2005-11-03 00:01:18 +00:00
Mark Andrews a3f66da0c8 newcopyrights 2005-11-02 23:34:25 +00:00
Mark Andrews 71152af636 1937. [bug] sdlz doesn't handle RRSIG records. [RT #15564] 2005-11-02 23:29:50 +00:00
Mark Andrews a748400418 regen 2005-11-02 23:26:03 +00:00
Mark Andrews 28c3edd081 regen 2005-11-02 22:54:38 +00:00
Mark Andrews ae311fc61d extend cname and other data answer 2005-11-02 22:53:33 +00:00
Mark Andrews 68cf43ce19 move clients-per-query to tuning 2005-11-02 22:24:51 +00:00
Mark Andrews 8178f16f24 address timing issue in tests 2005-11-02 04:56:05 +00:00
Mark Andrews 43d25d3d13 1936. [bug] The validator could leak memory. [RT #15544] 2005-11-02 01:53:25 +00:00
Mark Andrews 52fa04c198 1935. [bug] 'acache' was DO sensitive. [RT #15430]
1934.   [func]          Validate pending NS RRsets, in the authority section,
                        prior to returning them if it can be done without
                        requiring DNSKEYs to be fetched.  [RT #15430]
2005-11-02 01:37:35 +00:00
Mark Andrews c3ce52ca59 update 2005-11-01 05:50:31 +00:00
Mark Andrews 9fd3293120 newcopyrights 2005-10-29 23:34:14 +00:00
Tatuya JINMEI 神明達哉 8ab00ba4d1 1919. [contrib] queryperf: a set of new features: collecting/printing
response delays, printing intermediate results, and
			adjusting query rate for the "target" qps.

(pull down to 9.4)
2005-10-29 00:21:12 +00:00
Mark Andrews a748f3fd88 always clean .o's 2005-10-28 01:53:28 +00:00
Mark Andrews d69f3661aa fix isc_timer_gettype return type 2005-10-26 06:50:50 +00:00
Mark Andrews b1439dd74c regen 2005-10-26 06:02:02 +00:00
Mark Andrews c27790ad8e spelling arguement vs argument 2005-10-26 04:59:20 +00:00
Mark Andrews 9aed407b75 CHANGE # 2005-10-21 06:41:18 +00:00
Mark Andrews d7d8f38caa 1932. [bug] dump_rdataset_raw() had a incorrect INSIST. [RT #15534] 2005-10-21 03:19:35 +00:00
Mark Andrews e6589ee119 regen 2005-10-20 23:59:57 +00:00
Mark Andrews 97885e90c6 1932. [bug] hpux: LDFLAGS was getting corrupted. [RT #15530] 2005-10-20 23:47:26 +00:00
Mark Andrews d1be0a9947 silence compiler warning 2005-10-17 03:50:11 +00:00
Mark Andrews 7e9dc3455a win32 2005-10-17 01:11:49 +00:00
Mark Andrews b787150c78 9.4.0a2 2005-10-17 00:02:59 +00:00
Mark Andrews ab8654ad34 9.4.0a2 2005-10-16 23:57:06 +00:00
Mark Andrews 4e35003f01 4193: Unique Local IPv6 Unicast Addresses 2005-10-16 23:54:17 +00:00
Mark Andrews b859060f6c 1930. [port] HPUX: ia64 support. [RT #15473] 2005-10-16 23:53:03 +00:00
Mark Andrews 60d1171ac5 1931. [bug] Per-client mctx could require a huge amount of memory,
particularly for a busy caching server. [RT #15519]
2005-10-16 23:29:38 +00:00
Mark Andrews 454d71306d silence compiler 2005-10-14 05:44:12 +00:00
Mark Andrews faf9916889 silence compiler 2005-10-14 05:26:54 +00:00
Mark Andrews 6d82d03ea3 update copyright notice 2005-10-14 02:13:08 +00:00
Mark Andrews 22b291ad8d newcopyrights 2005-10-14 01:59:03 +00:00
Mark Andrews 3a204dc120 1930. [port] HPUX: ia64 support. [RT #15473]
1929.   [port]          FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:33:30 +00:00
Mark Andrews 4edafbbd51 1930. [port] HPUX: ia64 support. [RT #15473]
1929.   [port]          FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:28:24 +00:00
Mark Andrews 4361c20d0f regen 2005-10-13 02:53:16 +00:00
Mark Andrews cb5c9b5c74 9.4.0a2 2005-10-13 02:49:23 +00:00
Mark Andrews 369f44092a 1927. [bug] Access to soanode or nsnode in rbtdb violated the
lock order rule and could cause a dead lock.
                        [RT# 15518]
2005-10-13 02:12:25 +00:00
Mark Andrews 5def46551b update
1920.   [bug]           The cache rbtdb lock array was too small to
                        have the desired performance characteristics.
                        [RT #15454]
2005-10-13 01:26:07 +00:00
Mark Andrews 3f3027195c 1928. [bug] Race in rbtdb.c:currentversion(). [RT #15517] 2005-10-13 01:22:56 +00:00
Mark Andrews e0a51afdbd newcopyrights 2005-10-11 23:37:43 +00:00
Mark Andrews 0f320b880f BINDinstall was being installed in the wrong place. 2005-10-11 23:13:18 +00:00
Mark Andrews 812e2c86a2 1926. [bug] The Windows installer did not check for empty
passwords. [RT #15483]
2005-10-11 22:56:47 +00:00
Mark Andrews 785071e3cb 1925. [port] All outer level AC_TRY_RUNs need cross compiling
defaults. [RT #15469]
2005-10-11 22:31:51 +00:00
Mark Andrews 83e359a742 1924. [port] libbind: hpux ia64 support. [RT #15473] 2005-10-11 00:31:46 +00:00
Mark Andrews b68059cb7b 1924. [port] libbind: hpux ia64 support. [RT #15473] 2005-10-11 00:25:12 +00:00
Mark Andrews bd2b832da7 regen 2005-10-10 03:10:54 +00:00
Mark Andrews 503ab0f91a update forwarders description 2005-10-10 00:20:33 +00:00
Mark Andrews b9a8524f2f 1923. [bug] ns_client_detach() called too early. [RT #15499] 2005-10-07 04:07:54 +00:00
cvs2git 724b596d78 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-10-04 21:38:49 +00:00
Mark Andrews d97f99776c 1922. [bug] check-tool.c:setup_logging() missing call to
dns_log_setcontext().
2005-09-30 08:22:58 +00:00
Mark Andrews 099193af68 update copyright notice 2005-09-30 00:39:40 +00:00
Mark Andrews 4e3d865461 newcopyrights 2005-09-28 23:39:10 +00:00
Mark Andrews 100bc61d16 DEFAULT_CACHE_NODE_LOCK_COUNT=7 2005-09-28 22:45:52 +00:00
Mark Andrews 6a87e81bf3 bad change numbers 2005-09-28 06:05:02 +00:00
Mark Andrews cfdb8ad3dc 1920. [bug] Client memory contexts were not using internal
malloc. [RT# 15434]
2005-09-28 04:52:03 +00:00
Mark Andrews 081c8387a5 1919. [bug] The cache memory context array was too small to
have the desired performance characteristics.
                        [RT #15454]

stop.pl Increase amount of time allowed for named to stop before aborting the
server.
2005-09-28 04:42:50 +00:00
Mark Andrews df61987b00 isc_thread_key_destroy->isc_thread_key_delete 2005-09-20 06:02:12 +00:00
Mark Andrews f891ab7478 win32 2005-09-20 05:57:57 +00:00
Mark Andrews 3f1eda9a80 win32 2005-09-20 05:48:19 +00:00
Mark Andrews 708f60e7d4 win32 2005-09-20 05:38:37 +00:00
Mark Andrews 11e1f697de win32 2005-09-20 05:25:37 +00:00
Mark Andrews c113cefb9c damp interations adjustments [RT#15404] 2005-09-20 04:33:48 +00:00
Mark Andrews 4b3fde9378 silence compiler warning 2005-09-19 00:15:20 +00:00
Mark Andrews 2f57e5ea0a update 2005-09-19 00:10:33 +00:00
Mark Andrews 876546cb4d finetune isc_thread_key implementation [RT #15408] 2005-09-18 07:58:09 +00:00
Mark Andrews a912e9791d isc_mem_put not isc_mem_putanddetach 2005-09-18 07:05:40 +00:00
Mark Andrews b9c54202b5 regen 2005-09-15 22:50:08 +00:00
Mark Andrews 6e3b22de9f adjust for libxslt-1.1.15 2005-09-15 02:28:05 +00:00
Mark Andrews 861c5e2aca regen 2005-09-13 02:59:19 +00:00
Mark Andrews 6230958567 spelling 2005-09-13 01:38:53 +00:00
Mark Andrews ba2f7a75d9 update copyright notice 2005-09-13 00:35:11 +00:00
Mark Andrews 97b35aef1d newcopyrights 2005-09-12 23:56:31 +00:00
Mark Andrews 4a56cd461d fix cleanup 2005-09-12 22:36:18 +00:00
Mark Andrews d913302781 reversed sense if test 2005-09-12 07:10:41 +00:00
Mark Andrews c3a209d5d9 update 2005-09-12 03:00:14 +00:00
Mark Andrews 8644971009 remove duplicate description 2005-09-12 02:12:08 +00:00
Mark Andrews e11fe4011b 1918. [bug] Memory leak when checking acls. [RT #15391] 2005-09-12 02:04:07 +00:00
Mark Andrews 178a00b9db regen 2005-09-12 00:59:09 +00:00
Mark Andrews 3b38d915bc 1917. [doc] funcsynopsisinfo wasn't being treated as verbatim
when generating man pages. [RT #15385]
2005-09-12 00:04:58 +00:00
Mark Andrews 88259e7f02 silence compiler warnings 2005-09-10 01:09:29 +00:00
Mark Andrews b93f209433 make sure key is created if needed on both paths 2005-09-10 01:04:22 +00:00
Mark Andrews 76c17cf29b update copyright notice 2005-09-09 14:11:05 +00:00
Mark Andrews 7e58a422a1 update 2005-09-09 14:08:34 +00:00
Mark Andrews 4b103902df update 2005-09-09 13:55:05 +00:00
Mark Andrews abaa2493bc regen 2005-09-09 13:29:54 +00:00
Mark Andrews ec18b7d228 win32: minimal isc_key_*() implementation 2005-09-09 12:31:53 +00:00
Mark Andrews 7d014ff9d7 1916. [func] Integrate contibuted IDN code from JPNIC. [RT #15383] 2005-09-09 06:23:39 +00:00
Mark Andrews 1209225bcb 1916. [func] Integrate contibuted IDN code from JPNIC. [RT #15383] 2005-09-09 06:22:03 +00:00
cvs2git 79962012be This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-09-09 06:13:59 +00:00
Mark Andrews 10639b4850 pullup:
res_init()/res_ninit() could leak memory when re-called.
2005-09-09 00:40:27 +00:00
Mark Andrews 63d4a2a917 1915. [bug] dig +ndots was broken. [RT #15215] 2005-09-09 00:24:39 +00:00
Mark Andrews d65af876f7 newcopyrights 2005-09-07 23:39:04 +00:00
Mark Andrews e7b7953b4e copy named-checkzone to named-compilezone 2005-09-07 14:31:19 +00:00
Mark Andrews 6afa4b61d9 add named-compilezone 2005-09-07 14:25:16 +00:00
Mark Andrews e61923d692 win32 2005-09-07 14:13:32 +00:00
Mark Andrews c6749d82b4 iwin32 2005-09-07 10:02:41 +00:00
Mark Andrews 7e662aab1a iwin32 2005-09-07 09:58:04 +00:00
Mark Andrews 33acff0ce9 win32 2005-09-07 06:10:55 +00:00
Mark Andrews 5d828d6557 remove before linking 2005-09-07 00:29:53 +00:00
Mark Andrews a853d5dbe5 newcopyrights 2005-09-06 23:42:50 +00:00
Mark Andrews ee3bff8e4b copy Bv9ARM.pdf 2005-09-06 08:04:02 +00:00
Mark Andrews 885ccd6dfb update copyright notice 2005-09-06 07:29:33 +00:00
Mark Andrews 558ed95f0c 9.4.0a1 2005-09-06 07:02:43 +00:00
Mark Andrews e8ca58f592 9.4.0a0 2005-09-06 07:00:24 +00:00
Mark Andrews c2c3af417e newcopyrights 2005-09-06 06:59:48 +00:00
Mark Andrews f6200ca9fb 1914. [protocol] DS is required to accept mnemonic algorithms
(RFC 4034).  Still emit numeric algorithms for
                        compatability with RFC 3658. [RT #15354]
2005-09-06 06:48:39 +00:00
Mark Andrews c896ba3250 update 2005-09-06 06:38:14 +00:00
Mark Andrews 5d9d3e8c37 9.4.0 2005-09-06 06:01:25 +00:00
Mark Andrews d10c398ea4 newcopyrights 2005-09-06 04:12:57 +00:00
Mark Andrews 7f0e432047 9.4.0 2005-09-06 03:59:01 +00:00
Mark Andrews 847f1d06ab update copyright notice 2005-09-06 03:47:21 +00:00
Mark Andrews 44c1180062 add copyright notice 2005-09-06 02:58:32 +00:00
Mark Andrews f669693e39 update 2005-09-06 02:52:59 +00:00
Mark Andrews 840aa4cfaa newcopyrights 2005-09-06 02:46:18 +00:00
Mark Andrews 011a8b726a update 2005-09-06 02:36:51 +00:00
Mark Andrews 5535d908df update 2005-09-06 02:32:00 +00:00
Mark Andrews 66d240aae2 update 2005-09-06 02:27:47 +00:00
Mark Andrews 6f0722fdfd update 2005-09-06 02:21:54 +00:00
Mark Andrews ef443ff786 handle copyright less xml 2005-09-06 01:59:47 +00:00
Mark Andrews 8267819c42 newcopyrights 2005-09-06 01:25:15 +00:00
Mark Andrews a9e4b91098 add xml support 2005-09-06 01:17:33 +00:00
Mark Andrews 2ca16c2f87 regen 2005-09-05 06:12:13 +00:00
Mark Andrews bab555195e update for 9.4.0 2005-09-05 05:51:05 +00:00
Mark Andrews 0b5b8dba69 regen 2005-09-05 03:16:30 +00:00
Mark Andrews c0c29fa38f sync with head 2005-09-05 03:01:49 +00:00
Mark Andrews 4813aa536f win32: silence compiler warnings 2005-09-05 02:30:52 +00:00
Mark Andrews 948b570f18 cleanup 2005-09-05 02:24:33 +00:00
Mark Andrews daead3cfd5 silence compiler error 2005-09-05 02:07:45 +00:00
Mark Andrews b8de382c4f win32 2005-09-05 02:07:15 +00:00
Mark Andrews 4f52f8b33a win32 2005-09-05 01:59:16 +00:00
Mark Andrews 30f4c7c49f win32 2005-09-05 01:49:09 +00:00
Mark Andrews e057d7fa0d win32 2005-09-05 01:41:57 +00:00
Mark Andrews 373faf9e53 win32 support 2005-09-05 01:26:09 +00:00
Mark Andrews 756c1c98e4 1913. [func] Integrate contibuted DLZ code into named. [RT #11382] 2005-09-05 00:20:08 +00:00
cvs2git df2b07d6b2 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-09-05 00:12:30 +00:00
Mark Andrews 368ab46f70 silence compiler warnings 2005-09-03 12:47:03 +00:00
Mark Andrews b0f7f1700f pullup 2005-09-02 13:27:12 +00:00
Mark Andrews 446217ba10 update for release 2005-09-02 06:31:41 +00:00
Mark Andrews ad9e172b18 change numbers 2005-09-02 04:56:54 +00:00
Mark Andrews 83e075783d Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. [RT #14966] 2005-09-02 04:03:20 +00:00
Mark Andrews ede113a252 update 2005-09-02 01:49:18 +00:00
Mark Andrews 06d62cdd29 update 2005-09-02 01:41:51 +00:00
Mark Andrews 5512af8aec new draft 2005-09-02 01:41:37 +00:00
cvs2git 2c7e3ac579 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-09-02 01:39:31 +00:00
Mark Andrews 38c3dc6a65 update 2005-09-02 01:15:25 +00:00
Mark Andrews a2f70ecf14 1921. [port] aix: atomic locking for powerpc. [RT #15020] 2005-09-01 03:40:48 +00:00
Mark Andrews 13769892d0 1920. [bug] Update windows socket code. [RT #14965] 2005-09-01 03:04:36 +00:00
Mark Andrews a02c541f06 regen 2005-08-30 04:16:49 +00:00
Mark Andrews f2da1963d2 remove references to makekeyset/signkey 2005-08-30 01:58:31 +00:00
Mark Andrews 60a7279b81 remove references to makekeyset and signkey 2005-08-30 01:53:09 +00:00
Mark Andrews 1a09e310d5 remove make-keyset reference 2005-08-30 01:42:12 +00:00
Mark Andrews 8d469c42f8 update trusted-keys description 2005-08-30 00:47:49 +00:00
Mark Andrews eb754bd635 regen 2005-08-25 06:33:35 +00:00
Mark Andrews 7e60a1125d use_atomic fails for powerpc+libtool+thread+aix 2005-08-25 06:31:54 +00:00
Mark Andrews 550b458bb5 regen 2005-08-25 06:15:32 +00:00
Mark Andrews f5ab36ad01 make configure match powerpc atomic support 2005-08-25 06:13:58 +00:00
Mark Andrews 4ee4431103 silence compiler warning 2005-08-25 04:43:51 +00:00
Mark Andrews fc732a80df silence compiler warnings 2005-08-25 04:31:58 +00:00
Mark Andrews 1360a714c3 regen 2005-08-25 02:54:41 +00:00
Mark Andrews 55ae24844a 1919. [bug] dig's +sigchase code overhauled. [RT #14933]
1918.   [bug]           The DLV code has been re-worked to make no longer
                        query order sensitive. [RT #14933]
2005-08-25 01:54:01 +00:00
Mark Andrews b8f09dec6c 1917. [func] dig now warns if 'RA' is not set in the answer when
'RD' was set in the query.  host/nslookup skip servers
                        that fail to set 'RA' when 'RD' is set unless a server
                        is explicitly set.  [RT #15005]
2005-08-25 00:43:26 +00:00
Mark Andrews 783db10c34 1916. [func] host/nslookup now continue (default)/fail on SERVFAIL.
[RT #15006]
2005-08-25 00:33:36 +00:00
Mark Andrews e6b2687c12 1915. [func] dig now has a '-q queryname' and '+showsearch' options.
[RT #15034]
2005-08-25 00:21:01 +00:00
Mark Andrews 59606dc362 seperate out sibling glue checks 2005-08-25 00:05:47 +00:00
Mark Andrews a70f7d0f9d silence compiler warning 2005-08-23 04:48:16 +00:00
Mark Andrews d9f32b1a33 cleanup comment 2005-08-23 04:12:38 +00:00
Mark Andrews d179f9cb82 silence compiler warnings 2005-08-23 04:10:11 +00:00
Mark Andrews 8f35e7e93a adjust builtin syntax checks [RT#15268] 2005-08-23 03:02:19 +00:00
Mark Andrews 35dfb27614 1914. [bug] Strings returned from cfg_obj_asstring() should be
treated as read-only.  The prototype for
                        cfg_obj_asstring() has been updated to reflect this.
                        [RT #15256]
2005-08-23 02:31:40 +00:00
Mark Andrews 01f355e99a MEMUNLOCK called too early 2005-08-22 01:34:11 +00:00
Mark Andrews 1a79463418 dns_log_init() and dns_log_setcontext() had been moved to setup_logging() 2005-08-22 01:02:09 +00:00
Mark Andrews 57e6c4f902 regen 2005-08-18 02:56:07 +00:00
Mark Andrews 4df834d69f 1913. [func] Automatic empty zone creation for D.F.IP6.ARPA and
friends.  Note: RFC 1918 zones are not yet covered by
                        this but are likely to be in a future release.

                        New options: empty-server, empty-contact,
                        empty-zones-enable and disable-empty-zone.
2005-08-18 01:03:03 +00:00
Mark Andrews be4092f04e initalise/destroy entropy and hash contexts 2005-08-16 04:42:24 +00:00
Mark Andrews fc45613805 1912. [func] ISC string copy API. 2005-08-16 04:39:05 +00:00
Mark Andrews 86e7fbb8db silence compiler warning 2005-08-15 02:03:08 +00:00
Mark Andrews bbdb4afea0 1911. [func] Attempt to make the amount of work performed in a
iteration self tuning.  The covers nodes clean from
                        the cache per iteration, nodes written to disk when
                        rewriting a master file and nodes destroyed per
                        iteration when destroying a zone or a cache.
                        [RT #14996]
2005-08-15 01:46:51 +00:00
Mark Andrews 9a5919cb9b silence compiler warning 2005-08-12 01:36:03 +00:00
Mark Andrews 043a194979 soft is an int 2005-08-11 15:01:54 +00:00
Mark Andrews 421f1295b8 SOLARIS2 + HAVE_STROPTS_H 2005-08-11 08:05:31 +00:00
Mark Andrews 79a5a49135 1910. [cleanup] Don't add DNSKEY records to the additional section. 2005-08-11 05:35:12 +00:00
Mark Andrews 4297388959 1909. [bug] ixfr-from-differences failed to ensure that the
serial number increased. [RT #15036]
2005-07-29 00:35:16 +00:00
Mark Andrews ed1cff8314 update copyreight notice 2005-07-29 00:12:55 +00:00
Mark Andrews b75694711d update 2005-07-29 00:00:02 +00:00
Mark Andrews 439b006323 newcopyrights 2005-07-28 23:34:00 +00:00
Mark Andrews 24cbc72f9a sync w/ bind8 2005-07-28 07:40:04 +00:00
cvs2git 0c72e6c759 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-28 06:54:13 +00:00
Mark Andrews 6dff954cda result was not being assigned. 2005-07-28 05:46:55 +00:00
Mark Andrews f0c0dbccc0 1908. [func] named-checkconf now validates update-policy entries.
[RT #14963]
2005-07-28 05:45:23 +00:00
Mark Andrews d35792e94e 1907. [bug] Extend ISC_SOCKADDR_FORMATSIZE and
ISC_NETADDR_FORMATSIZE to allow for scope details.
2005-07-28 04:58:47 +00:00
Mark Andrews f349074a4d 1906. [func] x86 and x86_64 now have seperate atomic locking
implementations.
2005-07-27 04:25:03 +00:00
Mark Andrews afac697f0d remove trailing whitespace 2005-07-27 04:16:54 +00:00
Mark Andrews b9ee625560 1905. [bug] Recursive clients soft quota support wasn't working
as expected. [RT #15103]
2005-07-27 02:44:22 +00:00
Mark Andrews 29d6442fe5 ref not rep 2005-07-25 00:51:46 +00:00
Mark Andrews bbf243f240 update 2005-07-23 04:38:56 +00:00
Mark Andrews f6c5374202 update copyright notice 2005-07-23 04:35:12 +00:00
Mark Andrews 228cd7a9bf update 2005-07-22 05:57:23 +00:00
Mark Andrews c4c69dc13c failed to increment sp on last change. 2005-07-22 05:30:00 +00:00
Mark Andrews 604d2e88fe update 2005-07-22 03:13:55 +00:00
Mark Andrews b3ed8cabc1 1904. [bug] A escaped character is, potentially, converted to
the output character set too early. [RT #14666]
2005-07-20 01:49:27 +00:00
Mark Andrews 57a6a248d5 regen 2005-07-20 00:12:05 +00:00
Mark Andrews d1ba9ad04e regen 2005-07-19 07:14:50 +00:00
Mark Andrews 6628a21310 regen 2005-07-19 06:35:57 +00:00
Mark Andrews 31aeea625c uintptr_t is in <inttypes.h> on some platforms 2005-07-19 06:20:21 +00:00
cvs2git f99142d9d3 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-19 06:12:25 +00:00
Mark Andrews 19086ed551 1903. [doc] Review ARM for BIND 9.4. 2005-07-19 05:55:48 +00:00
cvs2git 6ffcc1b43c This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-19 04:55:26 +00:00
Mark Andrews 2e7f29dc00 update copyright notice 2005-07-18 23:59:26 +00:00
Mark Andrews 43de986da3 newcopyrights 2005-07-18 23:33:51 +00:00
Mark Andrews 4ba1af055e sync w/ HEAD 2005-07-18 07:29:21 +00:00
Mark Andrews 38fa252a94 new draft 2005-07-18 07:14:55 +00:00
Mark Andrews 56fa3e9ac0 sunc w/ HEAD 2005-07-18 07:02:19 +00:00
Mark Andrews 7afad00f40 sync w/ HEAD 2005-07-18 06:16:54 +00:00
Mark Andrews 0094683a9e 1902. [port] Use uintptr_t if available. [RT #14606] 2005-07-18 05:20:33 +00:00
Mark Andrews d33ca0baa7 1902. [port] Use uintptr_t if available. [RT #14606] 2005-07-18 05:19:47 +00:00
Mark Andrews 714c56efba regen 2005-07-18 02:45:03 +00:00
Mark Andrews 859fa27d87 update copyright notice 2005-07-16 00:40:54 +00:00
Mark Andrews 36d9a67287 newcopyrights 2005-07-15 23:33:38 +00:00
Mark Andrews 545fd2eaca spf_99 not spf_16 2005-07-15 01:38:34 +00:00
Mark Andrews 95494c7858 newcopyrights 2005-07-14 23:33:48 +00:00
Mark Andrews 7ec7de6e32 spf 2005-07-14 06:54:30 +00:00
Mark Andrews 23e40d8db0 1901. [func] Support for SPF rdata type. [RT #15033] 2005-07-14 06:51:03 +00:00
cvs2git 5778f2c88b This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-14 06:46:45 +00:00
Mark Andrews d71b58a6ca newcopyrights 2005-07-12 23:33:40 +00:00
Mark Andrews da76da34cd update copyright notice 2005-07-12 05:47:28 +00:00
Mark Andrews 82e2318373 1900. [port] freebsd: pthread_mutex_init can fail if it runs out
of memory. [RT #14995]
2005-07-12 01:22:34 +00:00
cvs2git 2a10229517 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-12 01:14:34 +00:00
Mark Andrews bd6ece146e 1899. [func] Raise the UDP recieve buffer size to 32k if it is
less than 32k. [RT #14953]
2005-07-12 00:47:36 +00:00
Mark Andrews c4b9f95b01 newcopyrights 2005-07-11 23:34:33 +00:00
Mark Andrews 6a2a83ab08 remove extraneous * after specific solaris version in case statements 2005-07-11 03:33:10 +00:00
Mark Andrews 725e04ed4b remove extraneous * after specific solaris version in case statements 2005-07-11 03:28:00 +00:00
Tatuya JINMEI 神明達哉 06b4938bd0 added powerpc and mips as supported architectures in change 1813. 2005-07-09 07:18:11 +00:00
Tatuya JINMEI 神明達哉 96eba1a4a5 regen 2005-07-09 07:16:02 +00:00
Tatuya JINMEI 神明達哉 2e39c5a201 supported mips atomic ops 2005-07-09 07:15:50 +00:00
Tatuya JINMEI 神明達哉 e6345d4d68 atomic ops for mips 2005-07-09 07:14:00 +00:00
cvs2git e2464a3d78 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-09 07:08:31 +00:00
Tatuya JINMEI 神明達哉 5ec9d08d57 typo in a comment line 2005-07-09 06:44:28 +00:00
Mark Andrews 0e3c727afb 1898. [port] sunos: non blocking i/o support. [RT #14951] 2005-07-08 04:58:44 +00:00
Mark Andrews e26767fd7b 1898. [port] sunos: non blocking i/o support. [RT #14951] 2005-07-08 04:43:21 +00:00
Mark Andrews 866a0ec9f2 1897. [func] Support for IPSECKEY rdata type. [RT #14967] 2005-07-07 03:17:36 +00:00
cvs2git e031593942 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-07 03:13:00 +00:00
Mark Andrews 72fe3ad9e1 1896. [bug] The cache could delete expired records too fast for
clients with a virtual time in the past. [RT #14991]
2005-07-07 02:53:19 +00:00
Mark Andrews 70f901a0b8 newcopyrights 2005-07-05 23:33:31 +00:00
Tatuya JINMEI 神明達哉 8db2fbc719 regen 2005-07-05 17:41:33 +00:00
Tatuya JINMEI 神明達哉 0595eb35c0 detect availability of atomic ops for powerpc 2005-07-05 17:40:14 +00:00
Tatuya JINMEI 神明達哉 01843b2f85 added support for atomic ops for powerpc 2005-07-05 17:37:02 +00:00
cvs2git 5341298957 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-05 00:44:25 +00:00
Mark Andrews d2debaa494 1895. [bug] fctx_create() could return success even though it
failed. [RT #14993]
2005-07-04 23:14:21 +00:00
Mark Andrews ac01dfd1f4 some extra locks need for change #1813 2005-07-04 03:58:20 +00:00
Mark Andrews a5b6bcc58f 1894. [func] dig: report the number of extra bytes still left in
the packet after processing all the records.

1893.   [cleanup]       dighost.c: move external declarations into <dig/dig.h>.
2005-07-04 03:11:00 +00:00
Mark Andrews df96fe1596 1892. [bug] dnssec-signzone, dnssec-keygen: handle negative debug
levels. [RT #14962]
2005-07-01 03:55:28 +00:00
Mark Andrews 512addad20 regen 2005-06-28 06:04:30 +00:00
Mark Andrews d1622cd9ec 1817. [func] Add support for additional zone file formats for
improving loading performance.  The masterfile-format
                        option in named.conf can be used to specify a
                        non-default format.  A separate command
                        named-compilezone was provided to generate zone files
                        in the new format.  Additionally, the -I and -O options
                        for dnssec-signzone specify the input and output
                        formats.
2005-06-28 03:00:21 +00:00
Mark Andrews 4a6d442084 regen 2005-06-27 02:58:50 +00:00
Mark Andrews e021d8eff8 1891. [func] Limit the number of recursive clients that can be
waiting for a single query (<qname,qtype,qclass>) to
                        resolve.  New options clients-per-query and
                        max-clients-per-query.
2005-06-27 00:20:04 +00:00
Mark Andrews c46d51606b regen 2005-06-26 00:06:07 +00:00
Mark Andrews 86d38ca5b6 remove garbage line 2005-06-24 00:17:39 +00:00
Mark Andrews 110b2aee49 update copyright notice 2005-06-24 00:08:13 +00:00
Mark Andrews f54e89feda make adb_test and byname_test compile and run 2005-06-23 23:51:47 +00:00
Mark Andrews 369eef1f71 newcopyrights 2005-06-23 23:35:55 +00:00
Mark Andrews 01c9fc9f5c 1890. [func] Add a system test for named-checkconf. [RT #14931] 2005-06-23 07:04:31 +00:00
cvs2git 303901e9a0 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-23 06:52:26 +00:00
Mark Andrews 722c04d3a2 handle isc_mem_create() failure gracefully 2005-06-23 06:14:52 +00:00
Mark Andrews 4d1fbf8a0f 1889. [func] The lame cache is now done on a <qname,qclass,qtype>
basis as some servers only appear to be lame for
                        certain query types.  [RT #14916]
2005-06-23 04:23:16 +00:00
Mark Andrews fdd90d33ae handle libtool prefix 2005-06-23 00:48:13 +00:00
Mark Andrews 02ff44e8ef sync w/ head 2005-06-22 22:05:50 +00:00
Mark Andrews a755c7e2a1 update copyright notice 2005-06-22 00:13:09 +00:00
Mark Andrews 0798f8e5e3 newcopyrights 2005-06-21 23:34:20 +00:00
Mark Andrews 2abe589f6b 1817. [func] add support for additional zone file formats for
improving loading performance.  The masterfile-format
                        option in named.conf can be used to specify a
                        non-default format.  A new separate command
                        named-compilezone was provided to generate zone files
                        in a new format.
2005-06-20 02:44:28 +00:00
Mark Andrews fd759209ce 1817. [func] add support for additional zone file formats for
improving loading performance.  The masterfile-format
                        option in named.conf can be used to specify a
                        non-default format.  A new separate command
                        named-compilezone was provided to generate zone files
                        in a new format.
2005-06-20 01:21:17 +00:00
cvs2git d6d88a0efb This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-20 01:05:34 +00:00
Mark Andrews fd2d42320c remove #define ROOTNS 1 2005-06-19 22:46:19 +00:00
Mark Andrews e84be1e4c4 simplify conditional code 2005-06-19 22:17:14 +00:00
Mark Andrews e930c6b822 extent timeout now that we are have memrecord on 2005-06-19 05:50:23 +00:00
Mark Andrews 34d26f0a33 CONF_modules_unload(), ENGINE_cleanup() and CRYPTO_cleanup_all_ex_data() are
not available in 0x0090607fL
2005-06-18 00:51:07 +00:00
Mark Andrews 9b233a577b silence implicit function declaration warning 2005-06-17 03:58:27 +00:00
Mark Andrews 110aa8d42d 1888. [func] "USE INTERNAL MALLOC" is now runtime selectable.
[RT #14892]
2005-06-17 02:27:16 +00:00
Mark Andrews 9ac4b79fc1 1887. [func] Detect duplicates of UDP queries we are recursing on
and drop them.  New stats category "duplicates".
                        [RT #2471]
2005-06-17 02:04:33 +00:00
Mark Andrews 4f1662f715 1886. [bug] Fix unreasonably low quantum on call to
dns_rbt_destroy2().  Remove unnecessay unhash_node()
                        call. [RT #14919]
2005-06-17 01:01:56 +00:00
Tatuya JINMEI 神明達哉 3c4e7e625a regen 2005-06-16 22:16:31 +00:00
Tatuya JINMEI 神明達哉 ee61ed661a [pull down from HEAD]
provided __asm version of assembly code for atomic atomic operations
for better compatibility.

(this is a temporary resolution so that this one won't block other tests.
we'll revisit this change when we figure out performance implication of
the __asm version.)
2005-06-16 22:01:02 +00:00
Mark Andrews 31be554eb7 update copyright notice 2005-06-12 00:02:53 +00:00
Mark Andrews 4a2b76db35 newcopyrights 2005-06-11 23:33:22 +00:00
Mark Andrews 0a26cd90ac #1864 had a size(foo) instead of sizeof(*foo) which broke on 64 bit machines. 2005-06-10 07:49:44 +00:00
Mark Andrews c1555d276d 1885. [func] Additional memory debugging support to track size
and mctx arguements. [RT #14814]
2005-06-10 07:10:08 +00:00
Mark Andrews 006dbb4c62 1884. [bug] process_dhtkey() was using the wrong memory context
to free some memory. [RT #14890]
2005-06-10 07:03:25 +00:00
Mark Andrews 89fa5b1430 update copyright notice 2005-06-09 23:55:10 +00:00
Mark Andrews cfe26b0408 newcopyrights 2005-06-09 23:33:50 +00:00
Mark Andrews 0abf0a4b73 newcopyrights 2005-06-08 02:17:29 +00:00
Mark Andrews 83995ba83a 1883. [port] sunos: portability fixes. [RT #14814] 2005-06-08 02:10:35 +00:00
cvs2git cb3eaf5777 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-08 02:09:20 +00:00
Mark Andrews 3ee0dbff63 1882. [port] win32: isc__errno2result() now reports its caller.
[RT #13753]

1881.   [port]          win32: Handle ERROR_NETNAME_DELETED.  [RT #13753]
2005-06-08 01:05:15 +00:00
Mark Andrews 11d84597be 1860. [port] solaris 2.8: hack_shutup_pthreadmutexinit was
incorrectly set. [RT #14775]
2005-06-08 00:49:50 +00:00
Mark Andrews ab74fc8218 regen 2005-06-07 03:05:54 +00:00
Mark Andrews 8bf73a23f6 1855. [bug] ixfr-from-differences was failing to detect changes
of ttl due to dns_diff_subtract() was ignoring the ttl
                        of records.  [RT #14616]
2005-06-07 02:02:11 +00:00
Mark Andrews 37495b467a 1857. [bug] named could trigger a INSIST() if reconfigured /
reloaded too fast.  [RT #14673]
2005-06-07 01:53:50 +00:00
Mark Andrews b73879351c 1861. [bug] dig could trigger a INSIST on certain malformed
responses. [RT #14801]
2005-06-07 01:43:52 +00:00
Mark Andrews 4f60122350 1864. [bug] Don't try the alternative transfer source if you
got a answer / transfer with the main source
                        address. [RT #14802]
2005-06-07 01:22:01 +00:00
Mark Andrews 517edde365 1866. [bug] resolv.conf parse errors were being ignored by
dig/host/nslookup. [RT #14841]

1865.   [bug]           Silently ignore nameservers in /etc/resolv.conf with
                        bad addresses. [RT #14841]
2005-06-07 01:00:56 +00:00
Mark Andrews 468fdfbc2b 1867. [bug] It was possible to trigger a INSIST in
dlv_validatezonekey(). [RT #14846]
2005-06-07 00:39:12 +00:00
Mark Andrews 740a273347 1868. [func] edns-udp-size can now be overridden on a per
server basis. [RT #14851]
2005-06-07 00:30:42 +00:00
Mark Andrews ee1c0b612a 1879. [func] Added framework for handling multiple EDNS versions.
1878.   [func]          dig can now specify the EDNS version when making
                        a query.
2005-06-07 00:18:08 +00:00
Mark Andrews e7ac62d47d adjust description 2005-06-06 04:41:19 +00:00
Mark Andrews d62e40a39a update copyright 2005-06-05 00:02:23 +00:00
Mark Andrews 483ea7fd5b newcopyrights 2005-06-04 23:33:13 +00:00
Tatuya JINMEI 神明達哉 c8f9d7ecfd regen 2005-06-04 06:24:23 +00:00
Tatuya JINMEI 神明達哉 56dc24eda7 1813. [func] Restructured the data locking framework using
architecture dependent atomic operations (when
			available), improving response performance on
			multi-processor machines significantly.
			x86, x86_64, alpha, and sparc64 are currently
			supported.

(pulled down from the head)
2005-06-04 06:23:47 +00:00
cvs2git c8317826f6 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-04 05:32:53 +00:00
Mark Andrews 2237ce0e60 1859. [func] Add support for CH A record. [RT #14695] 2005-06-04 00:39:05 +00:00
cvs2git 574953a0ce This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-04 00:18:57 +00:00
Mark Andrews ad5d99f620 style 2005-06-01 01:57:37 +00:00
Mark Andrews c4f65b18d5 update copyright notice 2005-05-30 01:59:57 +00:00
Mark Andrews 841348836f newcopyrights 2005-05-27 23:33:34 +00:00
Mark Andrews cb79d4148f 1863. [bug] rrset-order fixed error messages not complete. 2005-05-27 00:50:32 +00:00
Mark Andrews 266e5d1666 integrity check cleanup 2005-05-24 04:44:36 +00:00
Mark Andrews 3c5f7c7020 1838. [cleanup] Don't allow Linux capabilities to be inherited.
[RT #13707]
2005-05-20 01:37:26 +00:00
Mark Andrews 12d509846c 1837. [bug] Compile time option ISC_FACILITY was not effective
for 'named -u <user>'.  [RT #13714]
2005-05-20 01:21:44 +00:00
Mark Andrews 1da3399320 update copyright notice 2005-05-20 01:10:11 +00:00
Mark Andrews 958a8e3596 newcopyrights 2005-05-19 23:35:31 +00:00
Mark Andrews 9524945d0b regen 2005-05-19 07:42:10 +00:00
Mark Andrews 5717fe5ffc update 2005-05-19 05:24:29 +00:00
Mark Andrews b538f5c027 sync with head 2005-05-19 05:21:11 +00:00
Mark Andrews 066f566317 1862. [func] Add additional zone data constancy checks.
named-checkzone has extended checking of NS, MX and
                        SRV record and the hosts they reference.
                        named has extended post zone load checks.
                        New zone options: check-mx and integrity-check.
                        [RT #4940]
2005-05-19 04:59:57 +00:00
Mark Andrews 38d45fe1a8 1845. [bug] Improve error reporting to distingish between
accept()/fcntl() and socket()/fcntl() errors.
                        [RT #13745]
2005-05-19 02:41:52 +00:00
Mark Andrews 3783523d04 typo in comment 2005-05-16 05:31:22 +00:00
Mark Andrews 06cc96d1fd remove deleted files 2005-05-15 23:58:28 +00:00
Mark Andrews 5fe68f8a6d comment out debugging prints 2005-05-15 23:52:25 +00:00
Mark Andrews e250973f5d newcopyrights 2005-05-13 23:37:13 +00:00
Mark Andrews 20912549a9 regen 2005-05-13 03:12:14 +00:00
Mark Andrews b73e0a5f1b track the modification years even if we are not going to be updating the copyrights 2005-05-13 01:47:14 +00:00
Mark Andrews 50dcfb93d7 update copyright notice 2005-05-13 01:32:53 +00:00
Mark Andrews c55d4313df perl not C 2005-05-13 01:08:31 +00:00
Mark Andrews 9e32849c47 copyright notice is now generated from the source 2005-05-13 01:03:03 +00:00
Rob Austein 21e1a64cc6 regen 2005-05-12 23:58:32 +00:00
Rob Austein d49b033d27 Add $Id$ comments to generated output. 2005-05-12 20:21:33 +00:00
Mark Andrews 4581d3a076 update 2005-05-12 08:56:23 +00:00
Mark Andrews f8711ab89d remove extra < 2005-05-12 08:12:02 +00:00
Mark Andrews 3ea0b51727 regenerate <bookinfo> / <docinfo> as appropriate. 2005-05-12 07:24:10 +00:00
Mark Andrews 5033d8a494 1858. [bug] The flush-zones-on-shutdown option wasn't being
parsed. [RT #14686]
2005-05-12 04:35:13 +00:00
Mark Andrews a78ee566af newcopyrights 2005-05-12 02:54:14 +00:00
Mark Andrews 0d90ba9b18 handle files newer than 2004 2005-05-12 02:29:53 +00:00
Mark Andrews 747c7b1197 handle XSL files 2005-05-12 02:11:20 +00:00
Mark Andrews 20b9b21e96 fully collect the text before a comment in a docbook source 2005-05-12 01:05:38 +00:00
Rob Austein 98c08ebd02 Missing newline 2005-05-11 23:15:23 +00:00
Rob Austein 6a99134ec4 regen 2005-05-11 06:07:05 +00:00
Rob Austein 0328f86501 1856. [doc] Switch Docbook toolchain from DSSSL to XSL. 2005-05-11 05:56:14 +00:00
cvs2git 57e9dfad6e This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-05-11 05:55:42 +00:00
Mark Andrews 6757a7293e update copyright notice 2005-05-08 23:57:10 +00:00
Mark Andrews e937732372 newcopyrights 2005-05-06 23:35:13 +00:00
Mark Andrews 2b712bab1e 1854. [bug] lwres also needs to know the print format for
(long long).  [RT #13754]
2005-05-06 02:10:58 +00:00
Mark Andrews 13dea06bd6 1853. [bug] Rework how DLV interacts with proveunsecure().
[RT #13605]
2005-05-06 01:59:48 +00:00
Mark Andrews 913c9a9674 remove deleted files 2005-05-04 00:03:02 +00:00
Rob Austein 93680e2c98 1852. [cleanup] Remove dnssec-signkey and dnssec-makekeyset 2005-05-03 22:51:33 +00:00
Mark Andrews 48275e3edd update copyright notice 2005-05-02 00:26:11 +00:00
Mark Andrews 6a0a5097a6 newcopyrights 2005-04-29 23:36:47 +00:00
Mark Andrews 63d17fa08e oops the dnssec-signzone.@O@ was needed to set VERSION. 2005-04-29 05:24:15 +00:00
Mark Andrews 78a9f5d804 remove explict build rule for dnssec-signzone.o 2005-04-29 04:29:35 +00:00
Mark Andrews 27237763df further changes for
1848.   [bug]           Improve SMF integration. [RT #13238]
2005-04-29 00:55:53 +00:00
Mark Andrews e8f92bfe9c update copyright notice 2005-04-29 00:17:24 +00:00
Mark Andrews 80143afd3f newcopyrights 2005-04-27 23:33:55 +00:00
Rob Austein 338ab5929d Fix comment-within-comment warning. 2005-04-27 18:17:28 +00:00
Rob Austein 372edff338 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 05:02:59 +00:00
Mark Andrews 2485cd0162 1850. [bug] Memory leak in lwres_getipnodebyaddr(). [RT #14591] 2005-04-27 00:33:39 +00:00
Mark Andrews cb46325b21 cleanup 2005-04-27 00:06:04 +00:00
Mark Andrews a4a100c795 regen 2005-04-26 03:58:17 +00:00
Mark Andrews 523d2d8a04 document named-checkzone -W 2005-04-08 04:52:30 +00:00
Mark Andrews 284544d8b0 update named-checkzone/rndc descriptions to 9.3 level. 2005-04-08 04:44:12 +00:00
Mark Andrews 5aaf6178a5 1849. [doc] All forms of the man pages (docbook, man, html) should
have consistant copyright dates.
2005-04-07 04:08:53 +00:00
Mark Andrews 20273cc57a newcopyrights 2005-04-05 23:33:39 +00:00
Mark Andrews 07700dd611 Mac OS X 10.3.8 2005-04-05 03:04:27 +00:00
Mark Andrews 76f577db86 1848. [bug] Improve SMF integration. [RT #13238] 2005-04-05 02:13:28 +00:00
Mark Andrews 9c75560697 1848. [bug] Improve SMF integration. [RT #13238] 2005-04-05 01:29:52 +00:00
Mark Andrews a392997a02 1848. [bug] Improve SMF integration. [RT #13238] 2005-04-05 01:04:49 +00:00
cvs2git 3a502554ff This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-04-05 00:58:19 +00:00
Mark Andrews 96d9cfc39c newcopyrights 2005-04-03 23:33:13 +00:00
Mark Andrews d16e5588cc regen 2005-04-03 03:32:07 +00:00
Mark Andrews 31ec08ccd0 1847. [bug] isc_ondestroy_init() is called too late in
in dns_rbtdb_create()/dns_rbtdb_create().
                        [RT #13661]
2005-04-01 07:08:25 +00:00
Mark Andrews 8bfbefa821 1846. [contrib] query-loc-0.3.0 from Stephane Bortzmeyer
<bortzmeyer@nic.fr>.
2005-04-01 06:17:40 +00:00
cvs2git 9477faa1ce This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-04-01 05:35:04 +00:00
Mark Andrews 494efe97c7 update copyright notice 2005-03-31 23:59:41 +00:00
Mark Andrews 30cf16748e newcopyrights 2005-03-31 23:33:25 +00:00
Mark Andrews 370532e66f 1844. [bug] inet_pton() accepted more that 4 hexadecimal digits
for each 16 bit piece of the IPv6 address.  The text
                        representation of a IPv6 address has been tighted
                        to disallow this (draft-ietf-ipv6-addr-arch-v4-02.txt).
                        [RT #5662]
2005-03-31 07:26:45 +00:00
Mark Andrews 2883f8c77b Irix, MipsPRO 7.4.1m not 7.3.1m 2005-03-31 04:23:57 +00:00
Mark Andrews 381ad307cd update copyright notice 2005-03-31 04:23:01 +00:00
Mark Andrews 6bc2b1e3f6 1841. [bug] "dig +nssearch" now makes a recursive query to
find the list of nameservers to query. [RT #13694]
2005-03-31 02:37:24 +00:00
Mark Andrews 432546fc2a Irix, MipsPRO 7.3.1m is known to cause problems. 2005-03-31 00:02:08 +00:00
Mark Andrews 2c2049910d newcopyrights 2005-03-30 23:33:14 +00:00
Mark Andrews 9f6258e07c 1843. [cleanup] CINCLUDES takes precedence over CFLAGS. This helps
when CFLAGS contains "-I /usr/local/include"
                        resulting in old header files being used.
2005-03-30 06:04:35 +00:00
Mark Andrews 1100decf3f 1842. [port] cmsg_len() could produce incorrect results on
some platform. [RT #13744]
2005-03-30 05:42:53 +00:00
Mark Andrews 852e0edf29 update copyright notice 2005-03-24 00:14:22 +00:00
Mark Andrews 8bb0d80903 update copyright notice 2005-03-23 03:43:51 +00:00
Mark Andrews 34d093292c add example 2005-03-22 23:38:37 +00:00
Mark Andrews 22617509e4 newcopyrights 2005-03-22 23:33:30 +00:00
Mark Andrews 1f3437e4ce Q: I get "transfer of 'example.com/IN' from 192.168.4.12#53: failed while
receiving responses: permission denied" error messages.
2005-03-22 23:24:25 +00:00
Mark Andrews 63e6c7162c regen 2005-03-22 04:59:38 +00:00
Mark Andrews a8c1b0a317 update copyright notice 2005-03-22 02:41:44 +00:00
Mark Andrews 136dd06775 1840. [func] dnssec-signzone can now randomize signature end times
(dnssec-signzone -j jitter). [RT #13609]
2005-03-22 02:32:13 +00:00
Mark Andrews 4f1a020ecb newcopyrights 2005-03-21 23:33:47 +00:00
Mark Andrews df98c38146 1839. [bug] <isc/hash.h> was not being installed. 2005-03-21 05:47:31 +00:00
Mark Andrews c5e115c9e7 update copyright notice 2005-03-20 22:34:32 +00:00
Mark Andrews e11923b777 newcopyrights 2005-03-18 23:34:51 +00:00
Mark Andrews c16387389e silence compiler warnings. 2005-03-18 05:56:54 +00:00
Mark Andrews e9d4df07ff silence compiler warnings 2005-03-18 05:05:29 +00:00
Mark Andrews 7e8d7fd7b0 regen 2005-03-18 03:28:24 +00:00
Mark Andrews a7149af1d9 Don't depend on autoconf being called w/ -I ../.. 2005-03-18 03:26:51 +00:00
Mark Andrews 3a3772a3dc update copyright notice 2005-03-17 03:57:11 +00:00
Mark Andrews 8ffd60dd18 namespace sun -> sunix 2005-03-16 23:51:28 +00:00
Mark Andrews d0eb63d9a4 newcopyrights 2005-03-16 23:33:23 +00:00
Mark Andrews c414b1dd2f silence compiler warnings 2005-03-16 23:24:00 +00:00
Mark Andrews 2f8bc03001 silence ptr mismatch signed/unsigned. 2005-03-16 20:16:15 +00:00
Mark Andrews 604f247c48 1836. [cleanup] Silence compiler warnings in hash_test.c 2005-03-16 19:57:01 +00:00
Mark Andrews d369d27947 1836. [cleanup] Silence compiler warnings in hash_test.c 2005-03-16 19:48:34 +00:00
Mark Andrews e44cab3f75 conflict w/ builtin, log -> lctx. 2005-03-16 13:52:59 +00:00
Mark Andrews 96d5190618 missing ${LIBTOOL_MODE_LINK} 2005-03-16 13:46:16 +00:00
Mark Andrews 2f9d14c5a9 1836. [cleanup] Silence compiler warnings in hash_test.c. 2005-03-16 13:41:48 +00:00
Mark Andrews e11b0a4abe regen 2005-03-16 04:59:37 +00:00
Mark Andrews e212a80bf9 1807. [bug] When forwarding (forward only) set the active domain
from the forward zone name. [RT #13526]
2005-03-16 03:51:56 +00:00
Mark Andrews 5a2e4be11a 1820. [bug] Gracefully handle acl loops. [RT #13659] 2005-03-16 03:35:44 +00:00
Mark Andrews a24bc01c09 1835. [bug] Update dnssec-signzone's usage message. [RT #13657] 2005-03-16 03:09:33 +00:00
Mark Andrews ecf00155fe repeated word 2005-03-16 02:52:56 +00:00
Mark Andrews 3dcc113be5 1834. [bug] Bad memset in rdata_test.c. [RT #13658] 2005-03-16 02:45:20 +00:00
Mark Andrews 2470a7582e 1833. [bug] Race condition in isc_mutex_lock_profile(). [RT #13660] 2005-03-16 01:57:11 +00:00
Mark Andrews 99c8fa7462 1832. [bug] named fails to return BADKEY on unknown TSIG algorithm.
[RT #13620]
2005-03-16 01:46:45 +00:00
Mark Andrews e012f3bf16 1816. [port] UnixWare: failed to compile lib/isc/unix/net.c.
[RT #13597]
2005-03-16 01:22:50 +00:00
Mark Andrews afdc349f6a 1831. [doc] Update named-checkzone documentation. [RT#13604] 2005-03-16 01:07:31 +00:00
Mark Andrews 69a50c6d75 1815. [bug] nsupdate triggered a REQUIRE if the server was set
without also setting the zone and it encountered
                        a CNAME and was using TSIG.  [RT #13086]
2005-03-16 01:03:32 +00:00
Mark Andrews 04aed74c85 update copyright 2005-03-16 00:56:29 +00:00
Mark Andrews 5332e9a61d 1803. [bug] dnssec-signzone sometimes failed to remove old
RRSIGs. [RT #13483]
2005-03-16 00:10:44 +00:00
Mark Andrews 032a7034d6 newcopyrights 2005-03-16 00:03:56 +00:00
Mark Andrews 437a0aa264 newcopyrights 2005-03-15 23:59:12 +00:00
Mark Andrews 6d1b2cca4e 1830. [bug] adb lame cache has sence of test reversed. [RT #13600] 2005-03-15 23:39:28 +00:00
Mark Andrews dbdac9c07e 1829. [bug] win32: "pid-file none;" broken. [RT #13563] 2005-03-15 23:17:00 +00:00
Mark Andrews 39c7daba9c 1810. [bug] configure, lib/bind/configure make different default
decisions about whether to do a threaded build.
                        [RT #13212]
2005-03-15 23:08:57 +00:00
Mark Andrews 34c0330628 1810. [bug] configure, lib/bind/configure make different default
decisions about whether to do a threaded build.
                        [RT #13212]
2005-03-15 22:59:09 +00:00
cvs2git e5cbc46f4b This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-03-15 22:58:52 +00:00
Mark Andrews 16fd75dd6b 1799. [bug] 'rndc flushname' failed to flush negative cache
entries. [RT #13438]
2005-03-15 02:49:54 +00:00
Mark Andrews 06d7605be2 1809. [bug] "make distclean" failed for libbind if the platform
is not supported.
2005-03-15 02:15:22 +00:00
Mark Andrews cf26e24dec dumpb -> dumpdb 2005-03-15 02:12:34 +00:00
Mark Andrews a0645ffdd3 1828. [bug] isc_rwlock_init() failed to properly cleanup if it
encountered a error. [RT #13549]
2005-03-15 02:04:11 +00:00
Mark Andrews 6518824e1a 1827. [bug] host: update usage message for '-a'. [RT #37116] 2005-03-15 01:48:43 +00:00
Mark Andrews 0827b21e80 1802. [bug] Handle connection resets better. [RT #11280] 2005-03-15 01:39:35 +00:00
Mark Andrews 163f0fd424 1804. [bug] Ensure that if we are queried for glue that it fits
in the additional section or TC is set to tell the
                        client to retry using TCP. [RT #10114]
2005-03-15 01:31:31 +00:00
Mark Andrews 8665ebaebe 1826. [bug] Missing DESTROYLOCK() in isc_mem_createx() on out
of memory error. [RT #13537]
2005-03-15 01:11:50 +00:00
Mark Andrews 7feb5a3d3a style 2005-03-15 00:46:40 +00:00
Mark Andrews 40ecbd1b55 1825. [bug] Missing unlock on out of memory error from in
rbtdb.c:subtractrdataset().  [RT #13519]
2005-03-15 00:34:33 +00:00
Mark Andrews ac7af34ea0 1824. [bug] Memory leak on dns_zone_setdbtype() failure.
[RT #13510]
2005-03-15 00:24:25 +00:00
Mark Andrews a2ae35c02c 1823. [bug] Wrong macro used to check for point to point interface.
[RT#13418]
2005-03-15 00:09:02 +00:00
Mark Andrews 7769123869 1795. [bug] "rndc dumpb" was not fully documented. Minor
formating issues with "rndc dumpdb -all".  [RT #13396]
2005-03-14 23:55:50 +00:00
Mark Andrews 4eb91c5a68 1822. [bug] check-names test for RT was reversed. [RT #13382] 2005-03-14 23:41:19 +00:00
Mark Andrews 8810438125 1791. [bug] 'host -t a' still printed out AAAA and MX records.
[RT #13230]
2005-03-14 23:36:37 +00:00
Mark Andrews b85e8e5904 update copyright notice 2005-03-06 15:31:38 +00:00
Mark Andrews d51703454d newcopyrights 2005-03-04 23:33:26 +00:00
Mark Andrews db82e0aaa3 1819. [bug] The validator needed to check both the algorithm and
digest types of the DS to determine if it could be
                        used to introduce a secure zone. [RT #13593]
2005-03-04 03:53:54 +00:00
Mark Andrews ee91dffebc 1811. [func] Preserve the case of domain names in rdata during
zone transfers. [RT #13547]
2005-03-04 02:57:30 +00:00
Mark Andrews 822b6e1642 update copyright notice 2005-03-03 06:33:28 +00:00
Mark Andrews f19142c7e9 newcopyrights 2005-03-03 05:27:14 +00:00
Mark Andrews 3fe9a1b994 1818. [bug] 'named-checkconf -z' triggered an INSIST. [RT #13599] 2005-03-03 04:53:40 +00:00
Mark Andrews fecb87d5b9 update copyright notice 2005-02-24 00:32:23 +00:00
Mark Andrews 931ed495b1 newcopyrights 2005-02-23 23:33:44 +00:00
Mark Andrews 805d768210 update 2005-02-23 01:50:09 +00:00
Mark Andrews fa466736a6 1814. [func] UNIX domain controls are now supported. 2005-02-23 01:04:46 +00:00
Mark Andrews 8e5880d6ad typo in comment 2005-02-17 05:44:00 +00:00
Mark Andrews ee0d243812 update copyright notice 2005-02-11 00:01:16 +00:00
Mark Andrews f3e3cee7e1 newcopyrights 2005-02-10 23:34:18 +00:00
Mark Andrews 696f2d996e aclconf is now in libisccfg 2005-02-10 06:07:14 +00:00
Mark Andrews 292840fa92 link against libdns 2005-02-10 06:04:41 +00:00
Mark Andrews ccfb99f09d 1758. [func] Don't send notify messages to self. [RT #12933] 2005-02-10 05:50:52 +00:00
Mark Andrews a88ca26544 update copyright notice 2005-02-09 05:18:28 +00:00
Mark Andrews c2337cf410 newcopyrights 2005-02-09 04:01:12 +00:00
Mark Andrews 4ae1da5780 1812. [port] win32: IN6_IS_ADDR_UNSPECIFIED macro is incorrect.
[RT #13453]
2005-02-09 03:47:02 +00:00
Mark Andrews 950a40375d 1806. [bug] The resolver returned the wrong result when a CNAME /
DNAME was encountered when fetching glue from a
                        secure namespace. [RT #13501]

1805.   [bug]           Pending status was not being cleared when DLV was
                        active. [RT #13501]
2005-02-09 00:00:35 +00:00
Mark Andrews 8dae6842f8 update copyright notice 2005-02-07 23:56:43 +00:00
Mark Andrews 1957c64f87 newcopyrights 2005-02-07 23:34:47 +00:00
Mark Andrews d5075a0df8 1801. [func] Report differences between hints and real NS rrset
and associated address records.
2005-02-07 00:53:47 +00:00
Mark Andrews c060c83d88 update copyright notice 2005-02-07 00:03:49 +00:00
Mark Andrews f5d8366b40 newcopyrights 2005-02-03 23:33:48 +00:00
Mark Andrews e8e1cff725 1808. [bug] zone.c:notify_zone() contained a race condition,
zone->db could change underneath it.  [RT #13511]
2005-02-03 05:20:30 +00:00
Tatuya JINMEI 神明達哉 b39844140c forgot destroing the acache entry lock in destroy_entry(), causing memory
leak. [RT #13533]
2005-02-03 02:53:54 +00:00
Mark Andrews 8a4c29b09b gcc-3.3.5 powerpc generates incorrect code at -02 2005-02-02 05:20:38 +00:00
Mark Andrews a09d1e35d6 update copyright notice 2005-01-20 00:01:14 +00:00
Mark Andrews 7373681dbb newcopyrights 2005-01-19 23:42:53 +00:00
Mark Andrews b590279082 1800. [bug] Changes #1719 allowed a INSIST to be triggered.
[RT #13428]
2005-01-19 23:39:15 +00:00
Mark Andrews a78fe6ef67 remove unused variable. 2005-01-19 23:22:03 +00:00
Mark Andrews acc66f028e Q: I get "Error 1067" when starting named under Windows. 2005-01-18 02:04:50 +00:00
Mark Andrews 32a007b9cb update copyright 2005-01-17 23:57:38 +00:00
Mark Andrews 13a6c55784 newcopyrights 2005-01-17 23:33:20 +00:00
Mark Andrews 38636245d1 update copyrights 2005-01-17 04:11:03 +00:00
Mark Andrews 400674fc2b regen 2005-01-17 01:42:20 +00:00
Mark Andrews 92531cb186 1798. [func] The server syntax has been extended to support a
range of servers.  [RT #11132]
2005-01-16 23:56:09 +00:00
Mark Andrews ba38e9e550 newcopyrights 2005-01-14 23:32:56 +00:00
Mark Andrews f14dd601bb 1796. [func] "rndc freeze/thaw" now freezes/thaws all zones. 2005-01-14 03:28:03 +00:00
Mark Andrews e216a94529 update copyrights 2005-01-13 23:57:30 +00:00
Mark Andrews 84c16f71fc spelling 2005-01-13 05:15:43 +00:00
Mark Andrews 12c719a008 regen 2005-01-13 04:43:04 +00:00
Mark Andrews 85a925b768 newcopyrights 2005-01-12 23:32:53 +00:00
Mark Andrews 1619928e2d update copyrights 2005-01-12 01:54:57 +00:00
Mark Andrews 243397c8ec 1793. [func] Extend adjusting TTL warning messages. [RT #13378]
: ----------------------------------------------------------------------
2005-01-11 23:56:59 +00:00
Mark Andrews 2229167142 aclconf.[ch] were moved. preserve copyright history. 2005-01-11 23:52:10 +00:00
Mark Andrews c1cd02f8f1 newcopyrights 2005-01-11 23:34:15 +00:00
Mark Andrews 5daded5446 1792. [func] New zone option "notify-delay". Specify a minimum
delay between sets of NOTIFY messages.
2005-01-11 23:10:40 +00:00
Mark Andrews 7589da4751 regen 2005-01-11 04:58:44 +00:00
Mark Andrews 0547d8d5d5 1797. [func] named-checkconf now check acls to verify that they
only refer to existing acls. [RT #13101]
2005-01-11 03:56:00 +00:00
cvs2git 800c85d32c This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-01-11 03:46:12 +00:00
Mark Andrews 7150e2289b update copyright 2005-01-11 01:39:40 +00:00
Mark Andrews 0ea99b13ca newcopyrights 2005-01-10 23:56:21 +00:00
Mark Andrews 3326ecbfc9 update copyright notice 2005-01-10 23:50:57 +00:00
Mark Andrews a0e2e604a3 regen 2005-01-10 05:59:18 +00:00
Mark Andrews 4238db360a 1794. [func] Named and named-checkzone can now both check for
non-terminal wildcard records.
2005-01-10 00:05:32 +00:00
Mark Andrews f1d1090930 set the cache DB in the view's additional cache object so that
additional sections for a (DNS) cached response can also be stored
  in the additional cache. [RT #13339]
2004-12-29 23:13:55 +00:00
Mark Andrews 5bb72db271 cleanup 2004-12-29 22:44:37 +00:00
Mark Andrews 90b3f5c332 C avoided leakage of a cache entry by adjusting the timing of
incrementing the reference counter to the entry.  Otherwise, the
  entry could leak when dns_acache_setentry() fails.  This must be
  corrected in some way if not by this change. [RT #13339]
VS: ----------------------------------------------------------------------
2004-12-29 22:38:09 +00:00
Mark Andrews 944f0a4bbd update copyright notice 2004-12-23 00:08:16 +00:00
Mark Andrews 7a2a03b49e regen 2004-12-22 01:50:25 +00:00
Mark Andrews a877d4c63e newcopyrights 2004-12-21 23:47:57 +00:00
Tatuya JINMEI 神明達哉 7a79852eb2 1526. [func] Implemented "additional section caching (or acache)",
an internal cache framework for additional section
			content to improve response performance.  Several
			configuration options were provided to control the
			behavior.

(merged into 9_4)
2004-12-21 10:59:02 +00:00
cvs2git a62fb3a719 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-12-21 10:54:13 +00:00
Mark Andrews 73cb9349b1 need to link against libdns. 2004-12-10 00:11:50 +00:00
Mark Andrews be6c9fc4cd 1790. [cleanup] Move lib/dns/sec/dst up into lib/dns. This should
allow parallel make to succeed.
2004-12-09 04:43:53 +00:00
cvs2git d2025ec8db This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-12-09 01:41:29 +00:00
Mark Andrews 41d65b833f missing @ 2004-12-08 13:17:44 +00:00
Mark Andrews c72ce119cf 1789. [bug] Prerequisite test for tkey and dnssec could fail
with "configure --with-libtool".
2004-12-08 06:14:06 +00:00
Mark Andrews c1074125b8 1788. [bug] libbind9.la/libbind9.so needs to link against
libisccfg.la/libisccfg.so.
2004-12-08 02:59:30 +00:00
Mark Andrews e2cbd57f37 redo
1775.   [bug]           Only compile getnetent_r.c when threaded. [RT #13205]
2004-12-07 00:53:48 +00:00
Mark Andrews 5e870d8714 update 2004-12-06 23:56:51 +00:00
Mark Andrews 7690db6bf4 1786. [port] AIX: libt_api needs to be taught to look for
T_testlist in the main executable (--with-libtool).
                        [RT #13239]
2004-12-06 22:48:16 +00:00
Mark Andrews ae1325f526 1775. [bug] Only compile getnetent_r.c when threaded. [RT #13205] 2004-12-06 21:55:47 +00:00
Mark Andrews 524b8c1994 1787. [port] HPUX: both "cc" and "gcc" need -Wl,+vnocompatwarnings. 2004-12-06 21:37:43 +00:00
Mark Andrews 2bebd5a862 1784. [cleanup] "libtool -allow-undefined" is the default.
Leave hooks in configure to allow it to be set
                        if needed in the future.
2004-12-06 06:11:53 +00:00
Mark Andrews be8db5acb7 Updated config.guess returns alphaev6-dec-osf5.1b not
alphaev6-dec-osf5.1.
2004-12-06 01:19:48 +00:00
Mark Andrews 5c9ecaf3cf 1784. [cleanup] "libtool -allow-undefined" is the default.
Leave hooks in configure to allow it to be set
                        if needed in the future.
2004-12-05 23:07:26 +00:00
Mark Andrews 6d09c2e00a 1782. [port] OSX: --with-libtool + --enable-libbind broke on
__evOptMonoTime.  [RT #13219]
2004-12-05 22:40:03 +00:00
Mark Andrews f483ea59f8 1781. [port] FreeBSD 5.3: set PTHREAD_SCOPE_SYSTEM. [RT #12810] 2004-12-04 07:04:33 +00:00
Mark Andrews 84df115196 1783. [cleanup] We only need one copy of libtool.m4, ltmain.sh in the
source tree.
2004-12-03 02:55:09 +00:00
Mark Andrews c6097a1f9f 1773. [bug] Fast retry on host / net unreachable. [RT #13153] 2004-12-03 02:05:22 +00:00
Mark Andrews 852b2bc995 1779. [port] OSF 5.1: libtool didn't handle -pthread correctly.
Redo w/ fix from generic fix from libtool maintainer.
2004-12-02 23:41:13 +00:00
Mark Andrews a5be9c2e84 1780. [bug] Update libtool to 1.5.10. 2004-12-02 02:27:45 +00:00
Mark Andrews 42b8b6377e 1779. [port] OSF 5.1: libtool didn't handle -pthread correctly. 2004-12-01 05:01:39 +00:00
Mark Andrews decfa21d33 1778. [port] HUX 11.11: fix broken IN6ADDR_ANY_INIT and
IN6ADDR_LOOPBACK_INIT macros.
2004-11-30 13:29:02 +00:00
Mark Andrews d1d46c59b3 1777. [port] OSF 5.1: fix broken IN6ADDR_ANY_INIT and
IN6ADDR_LOOPBACK_INIT macros.
2004-11-30 06:54:10 +00:00
Mark Andrews c743b9c6fc 1776. [port] Solaris 2.9: fix broken PTHREAD_MUTEX_INIT macro. 2004-11-30 06:01:28 +00:00
Mark Andrews 9dea5f922e 1774. [port] Aix: Silence compiler warnings / build failures.
[RT #13154]
2004-11-30 01:26:31 +00:00
Mark Andrews 7bb67fe38b 1774. [port] Aix: Silence compiler warnings / build failures.
[RT #13154]
2004-11-30 01:18:08 +00:00
Mark Andrews aaf48f73ed update copyright notices 2004-11-24 23:49:17 +00:00
Mark Andrews bd26d70efa newcopyrights 2004-11-23 23:49:03 +00:00
Mark Andrews 0f455e5b47 1763. [func] Perform sanity checks on NS records which refer to
'in zone' names. [RT #13002]
2004-11-23 05:24:49 +00:00
cvs2git 88e02c6704 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-11-23 05:23:47 +00:00
Mark Andrews 1750c03cd1 1766. [bug] Update the master file timestamp on successful refresh
as well as the journal's timestamp. [RT# 13062]
2004-11-22 23:53:46 +00:00
Mark Andrews 979123b8fb 1745. [bug] Dig/host/nslookup accept replies from link locals
regardless of scope if no scope was specified when
                        query was sent. [RT #12745]
2004-11-22 23:30:02 +00:00
Mark Andrews 3fd0b523af 2.6. TXT records are no longer automatically split. 2004-11-22 22:32:19 +00:00
Mark Andrews a011dafa20 1770. [bug] named-checkconf failed to report missing a missing
file clause for rbt{64} master/hint zones. [RT#13009]
2004-11-22 05:02:24 +00:00
Mark Andrews d399e368a7 1767. [port] Builds on IPv6 platforms without IPv6 Advanced API
support for (struct in6_pktinfo) failed.  [RT #13077]
2004-11-18 21:32:08 +00:00
Mark Andrews dbbe421efa 1769. [port] win32: change compiler flags /MTd ==> /MDd,
/MT ==> /MD.
2004-11-18 01:04:12 +00:00
Mark Andrews 85b5356472 1768. [bug] nsecnoexistnodata() could be called with a non-NSEC
rdataset. [RT #12907]
2004-11-17 23:53:01 +00:00
Mark Andrews 047ca3efe0 regen 2004-11-11 01:55:59 +00:00
Mark Andrews 6ad17026b1 1755. [func] allow-update is now settable at the options / view
level. [RT #6636]
2004-11-11 01:07:55 +00:00
Mark Andrews 64cc2807dc 1765. [bug] configure --with-openssl=auto failed. [RT #12937] 2004-11-11 00:37:20 +00:00
Mark Andrews c3deb0e30d 1761. [bug] 'rndc dumpdb' didn't report unassociated entries.
[RT #12971]
2004-11-10 22:32:31 +00:00
Mark Andrews 8805e88c43 1762. [bug] isc_interfaceiter_create() could return ISC_R_SUCCESS
even when it failed. [RT #12995]
2004-11-10 22:22:44 +00:00
Mark Andrews 39e15bfaae 1759. [bug] Named failed to startup if the OS supported IPv6
but had no IPv6 interfaces configured. [RT #12942]
2004-11-10 22:13:48 +00:00
Mark Andrews 14720abb0f 1757. [func] host now can turn on memory debugging flags with '-m'. 2004-11-10 22:04:32 +00:00
Mark Andrews ec97c2abe4 1754. [bug] We wern't always attempting to query the parent
server for the DS records at the zone cut.
                        [RT #12774]
2004-11-10 21:57:40 +00:00
Mark Andrews 684bd7a140 1760. [bug] Host / net unreachable was not penalising rtt
estimates. [RT #12970]
2004-11-10 21:47:50 +00:00
Mark Andrews 5a0b4219cb 1764. [bug] dns_zone_replacedb failed to emit a error message
if there was no SOA record in the replacment db.
                        [RT #13016]
2004-11-09 22:17:50 +00:00
Mark Andrews c4e78f339d 1756. [func] named-checkconf now checks the logging configuration.
[RT #12352]
2004-11-09 21:24:15 +00:00
Mark Andrews 993d0487ca 1753. [bug] Don't serve a slave zone which has no NS records.
[RT #12894]
2004-10-26 02:06:49 +00:00
Mark Andrews 796af4025b 1740. [bug] Replace rbt's hash algorithm as it performed badly
with certain zones. [RT #12729]
2004-10-25 01:32:25 +00:00
Mark Andrews 3e312e54c5 1752. [port] Move isc_app_start() to after ns_os_daemonise()
as some fork() implementations unblock the signals
                        that are blocked by isc_app_start(). [RT #12810]
2004-10-25 00:49:11 +00:00
Mark Andrews 746921d376 regen 2004-10-21 02:45:17 +00:00
Mark Andrews 171664d085 1749. [bug] 'check-names response ignore;' failed to ignore.
[RT #12866]
2004-10-21 01:54:08 +00:00
Mark Andrews b8b92cc855 1748. [func] dig now returns the byte count for axfr/ixfr. 2004-10-21 01:44:35 +00:00
Mark Andrews 983e56a9a0 1742. [bug] Deleting all records at a node then adding a
previously existing record, in a single UPDATE
                        transaction, failed to leave / regenerate the
                        associated RRSIG records. [RT #12788]
2004-10-21 01:34:16 +00:00
Mark Andrews d9fa40d016 1676. [func] New option "allow-query-cache". This lets
allow-query be used to specify the default zone
                        access level rather than having to have every
                        zone override the global value.  allow-query-cache
                        can be set at both the options and view levels.
                        If allow-query-cache is not set allow-query applies.
2004-10-21 00:59:52 +00:00
Mark Andrews aeb0ed5f03 1751. [bug] --enable-getifaddrs failed under linux. [RT #12867] 2004-10-20 00:34:32 +00:00
Mark Andrews dd56672283 1750. [port] lib/bind/make/rules.in:subdirs was not bash friendly.
[RT #12864]
2004-10-20 00:26:13 +00:00
Mark Andrews 1d6f7e5bfe regen 2004-10-17 23:42:01 +00:00
Mark Andrews 5ad808cbc9 1747. [bug] BIND 8 compatability: named/named-checkconf failed
to parse "host-statistics-max" in named.conf.
2004-10-17 23:19:15 +00:00
Mark Andrews 9a4faedd32 1742. [bug] If isc_taskmgr_create() was not able to create the
requested number of worker threads then destruction
                        of the manager would trigger an INSIST() failure.
                        [RT #12790]
2004-10-15 00:45:21 +00:00
Mark Andrews 422071960a 1746. [func] Make public the function to read a key file,
dst_key_read_public(). [RT #12450]
2004-10-14 06:00:11 +00:00
Mark Andrews 92c601d063 regen 2004-10-14 02:51:18 +00:00
Mark Andrews e2da38bec5 1684. [func] ixfr-from-differences now takes master and slave in
addition to yes and no at the options and view levels.
2004-10-14 00:51:33 +00:00
Mark Andrews 4e282e97be 1744. [bug] If tuple2msgname() failed to convert a tuple to
a name a REQUIRE could be triggered. [RT #12796]
2004-10-13 22:28:31 +00:00
Mark Andrews 38364a5555 1741. [bug] Deleting all records at a node in a secure zone
using a update-policy grant failed. [RT #12787]
2004-10-12 22:01:52 +00:00
Mark Andrews f22f3078ab 1739. [bug] dns_rbt_deletetree() could incorrectly return
ISC_R_QUOTA.  [RT #12695]

1738.   [bug]           Enable overrun checking by default. [RT #12695]
2004-10-11 05:48:53 +00:00
Mark Andrews 2ac530b13c 1710. [func] 'rndc notify zone [class [view]]' resend the NOTIFY
messages for the specified zone. [RT #9479]
2004-10-11 05:30:03 +00:00
Mark Andrews 8ce0329ba8 regen 2004-10-07 02:52:23 +00:00
Mark Andrews 36bddc2e08 1725. [port] linux: update error message on interaction of threads,
capabilities and setuid support (named -u). [RT #12541]
2004-10-07 02:33:48 +00:00
Mark Andrews fb24d33f0a 1715. [func] 'dig +trace' now randomly selects the next servers
to try.  Report if there is a bad delegation.
2004-10-07 02:21:16 +00:00
Mark Andrews 30d7aefb3d 1705. [func] Allow the journal's name to be changed via named.conf. 2004-10-07 02:15:30 +00:00
Mark Andrews 90020caedf Add credit:
DNSSEC validation code in dig coded by Olivier Courtay
(olivier.courtay@irisa.fr) for the IDsA project (http://idsa.irisa.fr).
2004-10-07 01:12:13 +00:00
Mark Andrews d26f1a1a66 regen 2004-10-07 00:09:46 +00:00
Mark Andrews c55eaedb23 1729. [func] Improve check-names error messages.
1728.   [doc]           Update check-names documentation.

1727.   [bug]           named-checkzone: check-names support didn't match
                        documentation.
2004-10-06 05:41:56 +00:00
Mark Andrews 21280ae70e spelling 2004-10-05 22:18:25 +00:00
Mark Andrews a904a45f9f 1732. [bug] 'rrset-order name "*"' wasn't being applied to ".".
[RT #12467]
2004-10-05 04:38:40 +00:00
Mark Andrews a040a52191 1730. [port] Determine the length type used by the socket API.
[RT #12581]
2004-10-05 03:22:32 +00:00
Mark Andrews 36f2f2995d 1731. [port] darwin: relax version test in ifconfig.sh.
[RT #12581]

1730.   [port]          Determine the length type used by the socket API.
                        [RT #12581]
2004-10-05 03:18:24 +00:00
Mark Andrews a4c0ed5e69 1724. [bug] Look for DNSKEY records with "dig +sigtrace".
[RT #12557]
2004-10-05 03:01:36 +00:00
Mark Andrews 8ae0b86fca 1737. [bug] named failed if more that 16 masters were specified.
[RT #12627]
2004-10-05 02:52:06 +00:00
Mark Andrews a2d610b7a1 1736. [bug] dst_key_fromnamedfile() could fail to read a
public key. [RT #12687]
2004-10-01 00:17:13 +00:00
Mark Andrews 98a3caf512 1735. [bug] 'dig +sigtrace' could die with a REQUIRE failure.
[RE #12688]
2004-10-01 00:00:50 +00:00
Mark Andrews bafe87e278 1733. [bug] Return non-zero exit status on initial load failure.
[RT #12658]
2004-09-29 06:43:54 +00:00
Mark Andrews 74c34ec4a0 1734. [cleanup] 'rndc-confgen -a -t' remove extra '/' in path.
[RT #12588]
2004-09-28 07:17:08 +00:00
Mark Andrews 22e6067c16 Update error message. s/isc_socket_recv()/isc_socket_recv2()/ 2004-09-26 22:36:34 +00:00
Mark Andrews 3689445b72 update 2004-09-25 00:07:05 +00:00
Mark Andrews 91cfc8ef5b newcopyrights 2004-09-24 23:48:08 +00:00
Mark Andrews 65efc3e9d0 1726. [port] aix5: add support for aix5. 2004-09-24 05:58:28 +00:00
cvs2git f1c606616b This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-09-24 04:32:36 +00:00
Mark Andrews c8b578e649 1723. [cleanup] Silence compiler warnings from t_tasks.c. [RT #12493] 2004-09-21 02:15:35 +00:00
Mark Andrews ceb903b63e silence compiler 2004-09-17 13:33:09 +00:00
Mark Andrews d3c38555a4 silence compiler 2004-09-17 05:58:12 +00:00
Mark Andrews 3b03a78e3f silence compiler 2004-09-16 07:08:15 +00:00
Mark Andrews 1618097376 silence compiler 2004-09-16 07:02:23 +00:00
Mark Andrews 597d5884d9 make -j3 support 2004-09-16 05:13:00 +00:00
Mark Andrews 441199c960 1722. [bug] Don't commit the journal on malformed ixfr streams.
[RT #12519]

1721.   [bug]           Error message from the journal processing were not
                        always identifing the relevent journal. [RT #12519]
2004-09-16 04:56:02 +00:00
Mark Andrews e8cf98cf53 1713. [port] linux: extend capset failure message to say:
please ensure that the capset kernel module is
                        loaded.  see insmod(8)
2004-09-16 02:49:50 +00:00
Mark Andrews 9049555824 move the calculation of remaining 2004-09-16 02:13:29 +00:00
Mark Andrews 55bc69db77 1720. [bug] 'dig +chase' did not terminate on a RFC 2308 Type 1
negative response. [RT #12506]

1719.   [bug]           named was not correctly caching a RFC 2308 Type 1
                        negative response. [RT #12506]

1718.   [bug]           nsupdate was not handling RFC 2308 Type 3 negative
                        responses when looking for the zone / master server.
                        [RT #12506]
2004-09-16 02:12:11 +00:00
Mark Andrews 6b2e48094d silence compiler warnings 2004-09-16 01:02:20 +00:00
Mark Andrews bdf47db44f pullup
1684.   [port]          64 bit size_t issues / compiler warnings.
2004-09-16 00:55:14 +00:00
Mark Andrews afbb36df79 1717. [port] solaris: ifconfig.sh did not support Solaris 10.
"ifconfig.sh down" didn't work for Solaris 9.
2004-09-09 01:27:56 +00:00
Mark Andrews c66aadb4ca bad descriptions s/dns_label_countlabels/dns_name_countlabels/ 2004-09-08 00:30:08 +00:00
Mark Andrews 6bfbd57c9d 1716. [doc] named.conf(5) was being installed in the wrong
location.  [RT# 12441]
2004-09-06 21:52:16 +00:00
Mark Andrews 8448a9a2fc indenting 2004-09-06 06:23:47 +00:00
Mark Andrews 4a381a30fb 1714. [bug] dig/host/nslookup were only trying the first
address when a nameserver was specified by name.
                        [RT #12286]
2004-09-06 01:32:30 +00:00
Mark Andrews 628a8203ec 1712. [bug] Missing FULLCHECK for "trusted-key" in dig. 2004-09-03 03:55:06 +00:00
Mark Andrews 869e9e12a6 1711. [func] 'rndc unfreeze' has been deprecated by 'rndc thaw'. 2004-09-03 03:50:01 +00:00
Mark Andrews af39460a87 1709. [port] solaris: add SMF support from Sun. 2004-09-01 07:22:19 +00:00
Mark Andrews bdf6738ff3 1708. [cleanup] Replaced dns_fullname_hash() with dns_name_fullhash()
for conformance to the name space convention.  Binary
                        backward compatibility to the old function name is
                        provided. [RT #12376]
2004-09-01 05:17:05 +00:00
Mark Andrews 9278253078 fix typo in unexecuted code 2004-09-01 04:38:03 +00:00
Mark Andrews bd0d561c70 2797. [bug] Don't decrement the dispatch manager's maxbuffers.
[RT #20613]
2004-09-01 04:26:21 +00:00
Mark Andrews d9581a5ae7 1682. [bug] gethostby*_r() implementations that copied the return
pointer got NULL returned on success.
2004-09-01 02:03:59 +00:00
Mark Andrews d7d0e75fa6 copyright 2004-08-30 00:51:40 +00:00
Mark Andrews 623a72f308 use isc/print.c dates for lwres/print.c
use isc/print.h dates for lwres/print_p.c
2004-08-29 11:01:18 +00:00
Mark Andrews 3b73c81cad newcopyrights 2004-08-28 23:48:24 +00:00
Mark Andrews 932729846c 1704. [port] lwres needed a snprintf() implementation for
platforms without snprintf().  Add missing
                        "#include <isc/print.h>". [RT #12321]
2004-08-28 06:21:13 +00:00
cvs2git 6640ab627b This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-28 06:20:16 +00:00
Mark Andrews 84eb259dd3 1703. [bug] named would loop sending NOTIFY messages when it
failed to receive a response. [RT #12322]
2004-08-28 05:53:20 +00:00
Mark Andrews 42d6177825 1702. [bug] also-notify should not be applied to builtin zones.
[RT #12323]
2004-08-28 05:43:18 +00:00
Mark Andrews 823743f382 1706. [bug] 'rndc stop' failed to cause zones to be flushed
sometimes. [RT #12328]
2004-08-27 12:25:13 +00:00
Mark Andrews 908191b021 1707. [contrib] sdb/ldap updated to version 1.0-beta. 2004-08-27 00:10:25 +00:00
Mark Andrews 1f067b12ac new draft 2004-08-26 02:34:07 +00:00
Mark Andrews 41ececbd60 3833: Threat Analysis of the Domain Name System (DNS) 2004-08-25 00:53:32 +00:00
Mark Andrews 3ef92be8f2 pullup:
1679.   [bug]           A bad length check was introduced by change #1661
                        in dns_ho.c.
2004-08-24 00:32:57 +00:00
Tatuya JINMEI 神明達哉 701aea77a4 corrected the position of 3071 2004-08-23 07:05:45 +00:00
Mark Andrews d752e8a3c5 1. 3071 is missing
2. use tab characters as the delimiter between the RFC number and the
   title for 3007 and 3008 (just for consistency with other entries)
2004-08-23 06:49:09 +00:00
Mark Andrews 5b7b2ddd6c regen 2004-08-22 23:53:39 +00:00
Mark Andrews d5bf55ac93 regen 2004-08-21 07:35:35 +00:00
Mark Andrews 6344d163c8 newcopyrights 2004-08-21 07:02:26 +00:00
Mark Andrews 9a91e39824 remove 2004-08-21 06:56:50 +00:00
Mark Andrews 714f00f34f 1701. [doc] A minimal named.conf man page. 2004-08-21 06:27:27 +00:00
Mark Andrews ef92b68d62 1701. [doc] A minimal named.conf man page. 2004-08-20 21:42:34 +00:00
cvs2git 2ed3a4a076 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-20 21:33:17 +00:00
Mark Andrews 5ac8c345e2 update to reflect current lab systems 2004-08-20 06:00:25 +00:00
Mark Andrews bd9d6b2ba0 1700. [func] nslookup is no longer to be treated as deprecated.
Remove "deprecated" warning message.  Add man page.
2004-08-20 01:08:38 +00:00
cvs2git 3b99704b2c This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-20 00:54:30 +00:00
Mark Andrews 37c81e560d 1699. [bug] dnssec-signzone can generate "not exact" errors
when resigning. [RT #12281]
2004-08-20 00:45:54 +00:00
Mark Andrews b06e3d472b new draft 2004-08-19 23:11:40 +00:00
cvs2git 8e784e9439 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-19 22:58:47 +00:00
Mark Andrews 30900706e0 update for 9.4 2004-08-19 05:11:33 +00:00
Mark Andrews 0536f2b2f0 copyright 2004-08-19 04:42:54 +00:00
Mark Andrews 8913a9b481 3845: DNS Security (DNSSEC) NextSECure (NSEC) RDATA Format 2004-08-18 00:47:30 +00:00
cvs2git 6489978df2 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-18 00:39:42 +00:00
Mark Andrews 5a788a3258 1677. [bug] IN6_IS_ADDR_MC_NODELOCAL() addresses can also have
symbolic scope id's.
2004-08-17 05:51:14 +00:00
Mark Andrews b755e803b4 add docbook 2004-08-16 23:57:13 +00:00
Mark Andrews 9582d21861 regen 2004-08-16 05:41:40 +00:00
Mark Andrews e08827739c 1698. [doc] Use reserved IPv6 documentation prefix. 2004-08-16 00:50:01 +00:00
Mark Andrews f4a5522a05 regen 2004-08-15 09:28:48 +00:00
Tatuya JINMEI 神明達哉 3789b2f9aa s/6 to 4/Dual-stack/ [RT #12258] 2004-08-15 04:50:13 +00:00
Tatuya JINMEI 神明達哉 e4eb1714ef 1697. [bug] xxx-source{,-v6} was not effective when it
specified one of listening addresses and a
			different port than the listening port. [RT #12257]
2004-08-15 04:41:13 +00:00
Mark Andrews 2efcba3c5e regen 2004-08-14 09:20:13 +00:00
Tatuya JINMEI 神明達哉 955dd7ff98 listen-on-v6 is an "option". 2004-08-12 08:31:37 +00:00
Mark Andrews c85856ca60 1696. [bug] dnssec-signzone failed to clean out nodes that
consisted of only NSEC and RRSIG records.
                        [RT #12154]
2004-08-11 08:55:13 +00:00
Tatuya JINMEI 神明達哉 6cd2d7e24c comment wording / style nits. 2004-08-10 04:56:42 +00:00
Tatuya JINMEI 神明達哉 6a2aa7ce4a corrected the RFC number for the ipv6 basic API. 2004-08-10 04:28:41 +00:00
Mark Andrews bf0812f885 pullup:
1676.   [port]          Solaris 8 has if_nametoindex().
2004-08-10 02:39:56 +00:00
Mark Andrews d50ffa90f1 pullup:
1676.   [port]          Solaris 8 has if_nametoindex().

1675.   [bug]           match any returned scope when a scope is not specified
                        on non global scope address in resolv.conf.

1674.   [bug]           getaddrinfo() failed to set sin6_scope_id correctly
                        on some platforms.
2004-08-10 02:37:24 +00:00
Mark Andrews caceb753df improve dns_name_getlabelsequence() description. 2004-08-10 00:41:51 +00:00
Mark Andrews c4dd6e6095 1695. [bug] DS records when forwarding require special handling.
[RT #12133]
2004-08-10 00:40:46 +00:00
Mark Andrews c2f81bb678 new draft 2004-08-10 00:05:50 +00:00
Tatuya JINMEI 神明達哉 08efce292a minor editorial nits. 2004-08-02 04:07:21 +00:00
Mark Andrews 8a89fa71fc regen 2004-08-01 23:51:50 +00:00
Tatuya JINMEI 神明達哉 57ee8fabd9 updated IPv6 API issues. 2004-07-29 23:15:53 +00:00
Mark Andrews 64c639bbbf 1693. [bug] max-journal-size was not effective for master zones
with ixfr-from-differences set. [RT# 12024]
2004-07-29 00:17:02 +00:00
Mark Andrews 6728e3d25e 1694. [bug] Report if the builtin views of "_default" / "_bind"
are defined in named.conf. [RT #12023]
2004-07-29 00:07:58 +00:00
Mark Andrews 438467e01d pullup:
1672.   [bug]           libbind: failed to print unknown types and classes
                        above 4095. didn't correctly print unknown records
                        with zero length.
2004-07-28 20:16:40 +00:00
Mark Andrews 12e65c5dbe regen 2004-07-23 06:08:29 +00:00
Mark Andrews d12fc40960 1692. [bug] Don't set -I, -L and -R flags when libcrypto is in
/usr/lib. [RT #11971]
2004-07-23 04:43:43 +00:00
Mark Andrews 5fec812ac0 1692. [bug] Don't set -I, -L and -R flags when librcypto is in
/usr/lib. [RT #11971]
2004-07-23 04:36:02 +00:00
Mark Andrews ddfbf6e9b1 1680. [func] rndc: the source address can now be specified. 2004-07-23 04:12:49 +00:00
Mark Andrews 0f42634aea 1690. [bug] Delay detaching view from the client until UPDATE
processing completes when shutting down. [RT #11714]
2004-07-23 02:57:24 +00:00
Mark Andrews 27879f362b 1691. [bug] sdb's attachversion was not complete. [RT #11990] 2004-07-22 04:04:50 +00:00
Mark Andrews bd50355db6 1689. [bug] DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros
contained gratuitous semicolons. [RT #11707]
2004-07-22 00:16:36 +00:00
Mark Andrews 7e4b06161b 1687. [bug] Race condition in dispatch. [RT #10272] 2004-07-21 00:49:15 +00:00
Mark Andrews 5de917ca79 new draft 2004-07-20 23:49:16 +00:00
cvs2git d22ee2f3f2 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-07-20 23:48:49 +00:00
Mark Andrews a090029c97 new draft 2004-07-20 23:34:12 +00:00
Mark Andrews d8b30c39c0 1686. [bug] Named sent a extraneous NOTIFY when it received a
redundant UPDATE request. [RT #11943]
2004-07-20 07:39:03 +00:00
Mark Andrews 5537212dfd 1688. [bug] LDFLAGS was not supported. 2004-07-20 07:03:33 +00:00
Mark Andrews c9c8fb5c51 new draft 2004-07-20 02:57:04 +00:00
cvs2git 6c31e10894 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-07-20 02:51:30 +00:00
Mark Andrews 251b3de9e2 pullup:
1669.   [bug]           Only test the gcc minor version when the major version
                        is known.
2004-07-19 05:55:45 +00:00
Rob Austein 2e48a4e6ad 1685. [bug] Change #1679 loop tests weren't quite right. 2004-07-02 22:15:12 +00:00
Mark Andrews e39229464b indenting 2004-07-01 04:52:28 +00:00
Mark Andrews 55479c62ff pullup:
1668.   [port]          solaris: allow applications compiling against
                        libbind to be compiled with "cc -Xc".
2004-07-01 04:40:15 +00:00
Mark Andrews 379c309c59 silence compiler 2004-07-01 02:02:24 +00:00
Mark Andrews 476e2fe301 1682. [port] Update configure test for (long long) printf format.
[RT #5066]
2004-07-01 00:21:23 +00:00
Mark Andrews ef425ef21f 1683. [bug] dig +sigchase could leak memory. [RT #11445] 2004-06-30 23:57:33 +00:00
Mark Andrews dc7661af5e 1681. [bug] Only set SO_REUSEADDR when a port is specified in
isc_socket_bind(). [RT #11742]
2004-06-30 23:28:06 +00:00
Mark Andrews 219967d623 order should be signed. 2004-06-30 14:14:46 +00:00
Mark Andrews 2be2570329 new draft 2004-06-29 23:41:59 +00:00
cvs2git 01692255cc This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-06-29 23:40:09 +00:00
Mark Andrews 753b90055a 1675. [bug] named would sometimes add extra NSEC records to
the authority section.
2004-06-29 00:52:18 +00:00
Mark Andrews 618f285e34 change #1679 still left case where address could not be tried.
fix loop termination condition to ensure that all finds are tried.
2004-06-27 01:30:37 +00:00
Mark Andrews c7c2135320 1679. [bug] When there was a single nameserver with multiple
addresses for a zone not all addresses were tried.
                        [RT #11706]
2004-06-25 04:44:35 +00:00
Mark Andrews caaf6e63f5 pullup:
document RES_DEBUG2 to that it not assigned.
2004-06-25 00:41:00 +00:00
Mark Andrews 7571b765f0 pullup:
1665.   [port]          getnameinfo() was broken on machines with 8 octet
                        longs.
2004-06-25 00:34:26 +00:00
Mark Andrews c7a343536d 1678. [bug] RRSIG should use TYPEXXXXX for unknown types. 2004-06-24 00:58:13 +00:00
Mark Andrews 20255af8ef regen 2004-06-23 09:11:24 +00:00
Mark Andrews 39c53a9930 1677. [bug] dig: +aaonly didn't work, +aaflag undocumented. 2004-06-23 04:13:45 +00:00
Mark Andrews 6104800c39 1674. [port] linux: increase buffer size used to scan
/proc/net/if_inet6.
2004-06-22 05:25:52 +00:00
Mark Andrews 59a615b03f add a explict dependancy for interfaceiter.@O@. 2004-06-22 02:54:06 +00:00
Mark Andrews 2bf69ec3a6 1673. [port] linux: issue a error messages if IPv6 interface
scans fails.
2004-06-22 02:37:15 +00:00
Mark Andrews 79b546c9bd change # 2004-06-21 07:09:29 +00:00
Mark Andrews ee5ed8a3fe 1671. [cleanup] Tests which only function in a threaded build
now return R:THREADONLY (rather than R:UNTESTED)
                        in a non-threaded build.
2004-06-21 06:45:19 +00:00
Mark Andrews 10e8263963 1671. [contrib] queryperf: add NAPTR to the list of known types. 2004-06-21 00:46:17 +00:00
Mark Andrews 029f8dce4d 1670. [func] Log UPDATE requests to slave zones without an acl as
"disabled" at debug level 3. [RT# 11657]
2004-06-21 00:42:36 +00:00
Rob Austein 3aa419673c 1668. [bug] DIG_SIGCHASE was making bin/dig/host dump core. 2004-06-19 02:48:18 +00:00
Mark Andrews c137d96671 1667. [port] linux: not all versions have IF_NAMESIZE. 2004-06-19 01:02:49 +00:00
Mark Andrews a1d28069cf regen 2004-06-18 06:00:24 +00:00
Mark Andrews f2e254d992 copy migration docs
don't make dnssec-signkey and dnssec-makekeyset.
2004-06-18 05:00:39 +00:00
Mark Andrews 6a543b4d9c 1666. [bug] The optional port on hostnames in dual-stack-servers
was being ignored.

1665.   [func]          rndc now allows addresses to be set in the
                        server clauses.
2004-06-18 04:39:40 +00:00
Mark Andrews 1717965ef4 1663. [func] Look for OpenSSL by default. 2004-06-18 01:38:06 +00:00
Mark Andrews 634ad333b6 1661. [bug] Restore dns_name_concatenate() call in
adb.c:set_target().  [RT #11582]
2004-06-18 01:22:19 +00:00
Mark Andrews 44800f9368 1660. [bug] win32: connection_reset_fix() was being called
unconditionally.  [RT #11595]
2004-06-18 01:15:21 +00:00
Mark Andrews b615bec612 1664. [bug] nsupdate needed KEY for SIG(0), not DNSKEY. 2004-06-17 01:42:36 +00:00
Mark Andrews a003b9fc73 1662. [bug] Change #1658 failed to one use of 'type' to 'keytype'. 2004-06-16 01:34:40 +00:00
Mark Andrews 10843d5d55 regen 2004-06-11 02:49:04 +00:00
Mark Andrews 220322f0cf 1659. [cleanup] Cleanup some messages that were referring to KEY vs
DNSKEY, NXT vs NSEC and SIG vs RRSIG.

1658.   [func]          Update dnssec-keygen to default to KEY for HMAC-MD5
                        and DH.  Tighten which options apply to KEY and
                        DNSKEY records.
2004-06-11 01:17:46 +00:00
Mark Andrews 0b144e9b31 1655. [bug] Logging multiple versions w/o a size was broken.
[RT #11446]
2004-06-11 00:35:52 +00:00
Mark Andrews 9908a282c8 1654. [bug] isc_result_totext() contained array bounds read
error.

1653.   [func]          Add key type checking to dst_key_fromfilename(),
                        DST_TYPE_KEY should be used to read TSIG, TKEY and
                        SIG(0) keys.

1652.   [bug]           TKEY still uses KEY.
2004-06-11 00:30:16 +00:00
Mark Andrews 8341ed2c6d 1657. [doc] ARM: document query log output.
1656.   [doc]           Update DNSSEC description in ARM to cover DS, NSEC
                        DNSKEY and RRSIG.  [RT #11542]
2004-06-11 00:19:52 +00:00
Mark Andrews 05908c80cd update 2004-06-09 01:40:44 +00:00
Mark Andrews 25bcf78fa7 new draft 2004-06-08 07:16:02 +00:00
Mark Andrews 5053f115e2 consolidate commits 2004-06-08 07:12:56 +00:00
cvs2git 9c7993422c This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-06-08 06:50:25 +00:00
Mark Andrews 1e029f6f2a bind9-users -> bind-users 2004-06-08 00:18:03 +00:00
Mark Andrews 68863b2728 1651. [bug] dig: process multiple dash options.
1650.   [bug]           dig, nslookup: flush standard out after each command.
2004-06-07 03:56:20 +00:00
Mark Andrews 81efc666ad 1647. [bug] It was possible trigger a INSIST when chasing a DS
record that required walking back over a empty node.
                        [RT #11445]
2004-06-07 03:24:42 +00:00
Mark Andrews 7965518f3c regen 2004-06-04 06:30:53 +00:00
Mark Andrews 673d278aa3 1649. [bug] Silence "unexpected non-minimal diff" message.
[RT #11206]
2004-06-04 03:45:45 +00:00
Mark Andrews 30966c9ac0 1644. [bug] Update the journal modification time after a
sucessfull refresh query. [RT #11436]
2004-06-04 02:42:00 +00:00
Mark Andrews 9b058373f8 1648. [func] Update dnssec-lookaside named.conf syntax to support
multiple dnssec-lookaside namespaces (not yet
                        implemented).
2004-06-04 02:31:56 +00:00
Mark Andrews 64be62f812 1646. [bug] win32: logging file versions didn't work with
non-UNC filenames.  [RT#11486]
2004-06-04 02:18:34 +00:00
Mark Andrews 4398add6a5 linux capset 2004-06-03 05:06:52 +00:00
Mark Andrews 7d7b3ad278 res_servicenumber returns -1 on error. 2004-06-03 04:44:15 +00:00
Mark Andrews 3dc68478eb don't compare unsigned w/ <= 0. 2004-06-03 04:40:59 +00:00
Mark Andrews 1e6066b68f update -b usage 2004-06-03 04:22:27 +00:00
Mark Andrews 44cf237d1d regen 2004-06-03 04:17:55 +00:00
Mark Andrews a68e747291 make sure executable files are executable. 2004-06-03 02:51:23 +00:00
Mark Andrews 4caab078d9 update corpauthor 2004-06-03 02:24:29 +00:00
Mark Andrews 55fe0312d0 645. [bug] named could trigger a REQUIRE failure if multiple
masters with keys are specified.
2004-05-29 00:01:11 +00:00
Mark Andrews 78920b507a 1643. [bug] dns_db_closeversion() could leak memory / node
references. [RT #11163]
2004-05-23 11:09:37 +00:00
Mark Andrews 1deb037c8e regen 2004-05-21 08:21:37 +00:00
Mark Andrews caf92532ae 1642. [port] Support OpenSSL implementations which don't have
DSA support. [RT #11360]
2004-05-21 08:20:01 +00:00
Mark Andrews 30294f6c0e regen 2004-05-20 02:48:06 +00:00
Mark Andrews 15080fc251 1641. [bug] Update the check-names description in ARM. [RT #11389] 2004-05-20 00:24:27 +00:00
Mark Andrews 292f96ff4f include <sys/param.h> for NetBSD 2004-05-18 01:40:02 +00:00
Mark Andrews be622473b4 mfc71.dll and msvcr71.dll correspond to _MSC_VER 1310 (Wesley Griffin) 2004-05-18 01:29:42 +00:00
Mark Andrews cb940a7288 do not install dnssec-makekeyset and dnssec-signkey. 2004-05-17 10:12:40 +00:00
Mark Andrews 95f4bcecf4 Install MFC71.DLL and MSVCR71.DLL if _MSC_VER is 1400 2004-05-17 10:10:06 +00:00
Mark Andrews 4be64b1ca2 pullup:
1661.   [cleanup]       indiscriminate use strlcat/strlcpy make auditing
                        harder.
2004-05-17 07:50:33 +00:00
Mark Andrews f0bb2f7719 1634. [bug] named didn't supply a useful error message when it
detected duplicate views.  [RT #11208]
2004-05-17 05:44:29 +00:00
Mark Andrews c4de8d8c96 1638. [bug] win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
incorrectly closing the socket.  [RT #11291]
2004-05-17 03:21:08 +00:00
Mark Andrews c9c83c4ad2 LIBTOO_MODE_INSTALL -> LIBTOOL_MODE_INSTALL 2004-05-16 00:16:11 +00:00
Tatuya JINMEI 神明達哉 aff41690b6 1629. [func] dig now supports IPv6 scoped addresses with the
extended format in the local-server part. [RT #8753]

(pull down to 9.4)
2004-05-15 03:47:17 +00:00
Mark Andrews 74eec39849 newcopyrights 2004-05-14 23:49:02 +00:00
Mark Andrews 7f6a0583f1 DVL -> DLV 2004-05-14 05:59:23 +00:00
Mark Andrews ff9af122db 1638. [bug] "ixfr-from-differences" could generate a REQUIRE
failure if the journal open failed. [RT #11347]
2004-05-14 05:25:26 +00:00
Mark Andrews 02a4320bcd 1639. [func] Initial dlv system test. 2004-05-14 05:20:11 +00:00
Mark Andrews aa1a497079 1606. [bug] DVL insecurity proof was failing.
1605.   [func]          New dns_db_find() option DNS_DBFIND_COVERINGNSEC.
2004-05-14 05:07:12 +00:00
cvs2git a27623480f This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-05-14 04:58:26 +00:00
Mark Andrews 7b963cfbc5 1636. [bug] The dump done callback could get ISC_R_SUCCESS even if
a error had occured.  The database version no longer
                        matched the version of the database that was dumped.
2004-05-14 01:18:01 +00:00
Mark Andrews bc9e8c403f 1637. [bug] Node reference leak on error in addnoqname(). 2004-05-14 01:16:00 +00:00
Mark Andrews 179814803c move cleanup of in_roothints earlier to make it easier to detect reference
count mismatches.
2004-05-14 01:03:49 +00:00
Mark Andrews df73d89a1c 1635. [bug] Memory leak on error in query_addds(). 2004-05-14 00:59:30 +00:00
Mark Andrews 7cb6ca7958 newcopyrights 2004-05-13 23:49:49 +00:00
Tatuya JINMEI 神明達哉 22e5a0c8c0 corrected change entry ordering (broken in the previous commit) 2004-05-13 05:52:17 +00:00
Tatuya JINMEI 神明達哉 7f8ab29dcb 1630. [contrib] queryperf: add support for IPv6 transport.
(pull down to 9.4)
2004-05-13 05:51:37 +00:00
cvs2git cb91b780ca This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-05-12 07:06:44 +00:00
Mark Andrews 57311e5df8 1633. [bug] named should return NOTIMP to update requests to a
slaves without a allow-update-forwarding acl specified.
                        [RT #11331]
2004-05-12 06:39:15 +00:00
Mark Andrews 1107676239 1632. [bug] nsupdate failed to send prerequisite only UPDATE
messages. [RT #11288]
2004-05-12 04:48:15 +00:00
Mark Andrews 7b5a3c1fd0 regen 2004-05-12 02:44:55 +00:00
Mark Andrews f3991600da refer to transfer-source and notify-source in query-source description. 2004-05-12 02:06:13 +00:00
Mark Andrews dad5c123aa 1631. [bug] dns_journal_compact() could sometimes corrupt the
journal. [RT #11124]
2004-05-11 22:23:37 +00:00
Mark Andrews 11551beed8 1628. [bug] Typo in Compaq Trucluster support. [RT# 11264] 2004-05-06 03:25:58 +00:00
Mark Andrews 4cb64b11f1 newcopyrights 2004-05-05 23:49:24 +00:00
Mark Andrews 2ec5372082 1625. [bug] named failed to load/transfer RFC2535 signed zones
which contained CNAMES. [RT# 11237]
2004-05-05 01:32:37 +00:00
Mark Andrews ea7087645f silence compiler punned warning (adjust signed/unsigned chars). 2004-05-04 03:28:07 +00:00
Mark Andrews bc245cf13d silence compiler warning (cast to long and use %ld) 2004-05-04 03:24:02 +00:00
Mark Andrews 298eb0857d 1627. [bug] win32: sockets were not being closed when the
last external reference was removed. [RT# 11179]
2004-05-04 00:03:44 +00:00
Mark Andrews cc1094f25c regen 2004-05-03 10:59:17 +00:00
Mark Andrews cd1c1074fe 1626. [bug] --enable-getifaddrs was broken. [RT#11259] 2004-05-03 10:57:33 +00:00
Mark Andrews b4222ab69f 1624. [bug] zonemgr_putio() call should be locked. [RT# 11163] 2004-04-29 01:52:19 +00:00
Mark Andrews 476800df75 1622. [func] probe the system to see if IPV6_(RECV)PKTINFO is
available, and suppress wildcard binding if not.

1621.   [bug]           match-destinations did not work for IPv6 TCP queries.
                        [RT# 11156]
2004-04-29 01:45:54 +00:00
Mark Andrews 2ac036ebfb 1623. [bug] A serial number of zero was being displayed in the
"sending notifies" log message when also-notify was
                        used. [RT #11177]
2004-04-28 04:23:41 +00:00
Mark Andrews 2d89e6048e 1620. [func] When loading a zone report if it is signed. [RT #11149] 2004-04-28 04:07:23 +00:00
Mark Andrews b2e565ba75 pullup:
decunix/ibm: gethostbyname_r() only supported a small number of addresses.
2004-04-22 03:33:23 +00:00
Mark Andrews 6b7dc303b7 1612. [bug] check-names at the option/view level could trigger
an INSIST. [RT# 11116]
2004-04-20 14:12:44 +00:00
Mark Andrews d5f3865e75 1619. [bug] Missing ISC_LIST_UNLINK in end_reserved_dispatches().
[RT# 11118]
2004-04-20 07:10:44 +00:00
Mark Andrews 2ee8a9a4b9 1616. [compat] Ensure that named's version is visible in the core
dump. [RT #11127]
2004-04-20 06:53:03 +00:00
Mark Andrews a45abfed67 1613. [bug] Builds would fail on machines w/o a if_nametoindex().
Missing #ifdef ISC_PLATFORM_HAVEIFNAMETOINDEX/#endif.
                        [RT #11119]
2004-04-20 06:46:09 +00:00
Mark Andrews fb8352775c silence compiler warning 2004-04-19 23:41:03 +00:00
Mark Andrews 90c44ce934 1614. [port] win32: silence resource limit messages. [RT# 11101] 2004-04-19 23:15:59 +00:00
Mark Andrews fc43874b3d 1618. [bug] Fencepost errors in dns_name_ishostname() and
dns_name_ismailbox() could trigger a INSIST().
2004-04-19 21:54:23 +00:00
Mark Andrews 6ad3caff69 1617. [port] win32: VC++ 6.0 support. 2004-04-19 06:20:46 +00:00
Mark Andrews 5327f2bda7 1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
it is defined.
2004-04-19 03:02:23 +00:00
Mark Andrews 97fdd08843 regen 2004-04-16 02:40:52 +00:00
Mark Andrews c1425cc1d5 1600. [bug] Duplicate zone pre-load checks were not case
insensitive.

1599.   [bug]           Fix memory leak on error path when checking named.conf.

1598.   [func]          Specify that certain parts of the namespace must
                        be secure (dnssec-must-be-secure).
2004-04-16 00:01:45 +00:00
Mark Andrews 8f935bc37f 1611. [bug] solaris: IPv6 interface scanning failed to cope with
no active IPv6 interfaces.
2004-04-15 07:05:33 +00:00
Mark Andrews 95175131b3 1610. [bug] On dual stack machines "dig -b" failed to set the
address type to be looked up with "@server".
                        [RT #11069]
2004-04-15 06:50:30 +00:00
Mark Andrews 1b493bdca3 #include <time.h>. 2004-04-15 05:34:00 +00:00
Mark Andrews 3bdf0a6885 hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR. 2004-04-15 02:04:05 +00:00
Mark Andrews 2813da82e5 Attempt to disable parallel processing. 2004-04-15 00:34:30 +00:00
Mark Andrews ee89886bf1 silence compiler warning 2004-04-14 05:14:04 +00:00
Mark Andrews 70135b936f regen 2004-04-13 12:17:09 +00:00
Mark Andrews 69f7a10d8e add description for RES_NO_NIBBLE2 2004-04-13 07:11:42 +00:00
Mark Andrews 026edac15d remove spurious tabs 2004-04-13 05:56:02 +00:00
Mark Andrews 45282ea0b8 remove stray nbits reference 2004-04-13 03:29:43 +00:00
Mark Andrews d76583dcde 1609. [func] dig now has support to chase DNSSEC signature chains.
Requires -DDIG_SIGCHASE=1 to be set in STD_CDEFINES.
2004-04-13 03:01:28 +00:00
Mark Andrews 8420fe1554 1608. [func] dig and host now accept -4/-6 to select IP transport
to use when making queries.
2004-04-13 01:30:33 +00:00
Mark Andrews 53190193d9 #ifdef EPFNOSUPPORT 2004-04-12 07:13:50 +00:00
Mark Andrews 68f0e786c9 1601. [bug] Silence spurious warning 'both "recursion no;" and
"allow-recursion" active' warning from view "_bind".
                        [RT# 10920]
2004-04-10 05:03:33 +00:00
Mark Andrews fa2eb19362 1602. [bug] Logging to a file failed unless a size was specified.
[RT# 10925]
2004-04-10 04:31:45 +00:00
Mark Andrews c56abaf801 1603. [bug] nsupdate: set interactive based on isatty().
[RT# 10929]
2004-04-10 04:09:39 +00:00
Mark Andrews b4a33928e8 pullup from BIND 8
1657.   [bug]           gmtime_r() called incorrectly.
2004-04-10 03:44:57 +00:00
Mark Andrews 7c3cd0fbcf add missing double-quote 2004-04-10 02:51:53 +00:00
Mark Andrews a63cbcb6d3 1607. [bug] dig, host and nslookup were still using random()
to generate query ids. [RT# 11013]
2004-04-08 01:26:01 +00:00
Mark Andrews 8ed427554c 1594. [bug] 'rndc dumpdb' could prevent named from answering
queries while the dump was in progress.  [RT #10565]
2004-04-08 00:11:24 +00:00
Mark Andrews 0526023fec regen 2004-04-07 00:58:17 +00:00
Mark Andrews b00f9a463a regen 2004-04-06 22:02:30 +00:00
Mark Andrews aa887cfa4c 1604. [bug] A xfrout_ctx_create() failure would result in
xfrout_ctx_destroy() being called with a
                        partially initialized structure.
2004-04-06 00:31:24 +00:00
Mark Andrews bc94d297e5 1595. [func] New notify type 'master-only'. Enable notify for
master zones only.
2004-03-30 02:12:16 +00:00
Mark Andrews 33ef81bd13 1596. [func] Accept 'notify-source' style syntax for query-source. 2004-03-30 02:04:47 +00:00
cvs2git b707bf2a1f This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-03-30 01:18:50 +00:00
1696 changed files with 37287 additions and 84867 deletions
+176 -590
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -13,7 +13,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
$Id: COPYRIGHT,v 1.14 2008/01/02 23:47:01 tbox Exp $
$Id: COPYRIGHT,v 1.9.18.4.10.1 2008/07/23 07:28:54 tbox Exp $
Portions Copyright (C) 1996-2001 Nominum, Inc.
+9 -39
View File
@@ -1,6 +1,6 @@
Frequently Asked Questions about BIND 9
Copyright © 2004-2008 Internet Systems Consortium, Inc. ("ISC")
Copyright © 2004-2007 Internet Systems Consortium, Inc. ("ISC")
Copyright © 2000-2003 Internet Software Consortium.
@@ -396,8 +396,8 @@ A: Someone is trying to update your DNS data using the RFC2136 Dynamic
Update protocol. Windows 2000 machines have a habit of sending dynamic
update requests to DNS servers without being specifically configured to
do so. If the update requests are coming from a Windows 2000 machine,
see <http://support.microsoft.com/support/kb/articles/q246/8/04.asp>
for information about how to turn them off.
see http://support.microsoft.com/support/kb/articles/q246/8/04.asp for
information about how to turn them off.
Q: When I do a "dig . ns", many of the A records for the root servers are
missing. Why?
@@ -468,7 +468,7 @@ A: If the IN-ADDR.ARPA name covered refers to a internal address space you
are using then you have failed to follow RFC 1918 usage rules and are
leaking queries to the Internet. You should establish your own zones
for these addresses to prevent you querying the Internet's name servers
for these addresses. Please see <http://as112.net/> for details of the
for these addresses. Please see http://as112.net/ for details of the
problems you are causing and the counter measures that have had to be
deployed.
@@ -569,20 +569,7 @@ Q: Why do I get the following errors:
A: This is the result of a Linux kernel bug.
See: <http://marc.theaimsgroup.com/?l=linux-netdev&m=113081708031466&w=
2>
Q: Why does named lock up when it attempts to connect over IPSEC tunnels?
A: This is due to a kernel bug where the fact that a socket is marked
non-blocking is ignored. It is reported that setting xfrm_larval_drop
to 1 helps but this may have negative side effects. See: <https://
bugzilla.redhat.com/show_bug.cgi?id=427629> and <http://lkml.org/lkml/
2007/12/4/260>.
xfrm_larval_drop can be set to 1 by the following procedure:
echo "1" > proc/sys/net/core/xfrm_larval_drop
See: http://marc.theaimsgroup.com/?l=linux-netdev&m=113081708031466&w=2
Q: Why do I see 5 (or more) copies of named on Linux?
@@ -607,12 +594,7 @@ Q: I get the error message "named: capset failed: Operation not permitted"
when starting named.
A: The capability module, part of "Linux Security Modules/LSM", has not
been loaded into the kernel. See insmod(8), modprobe(8).
The relevant modules can be loaded by running:
modprobe commoncap
modprobe capability
been loaded into the kernel. See insmod(8).
Q: I'm running BIND on Red Hat Enterprise Linux or Fedora Core -
@@ -626,7 +608,7 @@ Q: I'm running BIND on Red Hat Enterprise Linux or Fedora Core -
A: Red Hat Security Enhanced Linux (SELinux) policy security protections :
Red Hat have adopted the National Security Agency's SELinux security
policy (see <http://www.nsa.gov/selinux>) and recommendations for BIND
policy ( see http://www.nsa.gov/selinux ) and recommendations for BIND
security , which are more secure than running named in a chroot and
make use of the bind-chroot environment unnecessary .
@@ -717,18 +699,6 @@ A: Red Hat Security Enhanced Linux (SELinux) policy security protections :
See these man-pages for more information : selinux(8), named_selinux
(8), chcon(1), setsebool(8)
Q: Listening on individual IPv6 interfaces does not work.
A: This is usually due to "/proc/net/if_inet6" not being available in the
chroot file system. Mount another instance of "proc" in the chroot file
system.
This can be be made permanent by adding a second instance to /etc/
fstab.
proc /proc proc defaults 0 0
proc /var/named/proc proc defaults 0 0
4.3. Windows
Q: Zone transfers from my BIND 9 master to my Windows 2000 slave fail.
@@ -766,7 +736,7 @@ A: /dev/random is not configured. Use rndcontrol(8) to tell the kernel to
/etc/rc.conf
rand_irqs="3 14 15"
See also <http://people.freebsd.org/~dougb/randomness.html>.
See also http://people.freebsd.org/~dougb/randomness.html
4.5. Solaris
@@ -774,7 +744,7 @@ Q: How do I integrate BIND 9 and Solaris SMF
A: Sun has a blog entry describing how to do this.
<http://blogs.sun.com/roller/page/anay/Weblog?catname=%2FSolaris>
http://blogs.sun.com/roller/page/anay/Weblog?catname=%2FSolaris
4.6. Apple Mac OS X
+12 -130
View File
@@ -1,7 +1,7 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" []>
<!--
- Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: FAQ.xml,v 1.39 2008/05/31 01:44:13 marka Exp $ -->
<!-- $Id: FAQ.xml,v 1.4.4.16 2007/10/31 02:14:07 marka Exp $ -->
<article class="faq">
<title>Frequently Asked Questions about BIND 9</title>
@@ -27,7 +27,6 @@
<year>2005</year>
<year>2006</year>
<year>2007</year>
<year>2008</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -706,7 +705,8 @@ zone "list.dsbl.org" {
requests are coming from a Windows 2000 machine, see
<ulink
url="http://support.microsoft.com/support/kb/articles/q246/8/04.asp">
&lt;http://support.microsoft.com/support/kb/articles/q246/8/04.asp&gt;</ulink>
http://support.microsoft.com/support/kb/articles/q246/8/04.asp
</ulink>
for information about how to turn them off.
</para>
</answer>
@@ -856,7 +856,7 @@ serial-query-rate 5; // default 20</programlisting>
usage rules and are leaking queries to the Internet. You
should establish your own zones for these addresses to prevent
you querying the Internet's name servers for these addresses.
Please see <ulink url="http://as112.net/">&lt;http://as112.net/&gt;</ulink>
Please see <ulink url="http://as112.net/">http://as112.net/</ulink>
for details of the problems you are causing and the counter
measures that have had to be deployed.
</para>
@@ -1009,31 +1009,7 @@ client: UDP client handler shutting down due to fatal receive error: unexpected
</para>
<para>
See:
<ulink url="http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2">&lt;http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2&gt;</ulink>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
Why does named lock up when it attempts to connect over IPSEC tunnels?
</para>
</question>
<answer>
<para>
This is due to a kernel bug where the fact that a socket is marked
non-blocking is ignored. It is reported that setting
xfrm_larval_drop to 1 helps but this may have negative side effects.
See:
<ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=427629">&lt;https://bugzilla.redhat.com/show_bug.cgi?id=427629&gt;</ulink>
and
<ulink url="http://lkml.org/lkml/2007/12/4/260">&lt;http://lkml.org/lkml/2007/12/4/260&gt;</ulink>.
</para>
<para>
xfrm_larval_drop can be set to 1 by the following procedure:
<programlisting>
echo "1" &gt; proc/sys/net/core/xfrm_larval_drop</programlisting>
<ulink url="http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2">http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2</ulink>
</para>
</answer>
</qandaentry>
@@ -1088,13 +1064,7 @@ echo "1" &gt; proc/sys/net/core/xfrm_larval_drop</programlisting>
<answer>
<para>
The capability module, part of "Linux Security Modules/LSM",
has not been loaded into the kernel. See insmod(8), modprobe(8).
</para>
<para>
The relevant modules can be loaded by running:
<programlisting>
modprobe commoncap
modprobe capability</programlisting>
has not been loaded into the kernel. See insmod(8).
</para>
</answer>
</qandaentry>
@@ -1124,9 +1094,8 @@ modprobe capability</programlisting>
<para>
Red Hat have adopted the National Security Agency's
SELinux security policy (see <ulink
url="http://www.nsa.gov/selinux">&lt;http://www.nsa.gov/selinux&gt;</ulink>)
and recommendations for BIND security , which are more
SELinux security policy ( see http://www.nsa.gov/selinux
) and recommendations for BIND security , which are more
secure than running named in a chroot and make use of
the bind-chroot environment unnecessary .
</para>
@@ -1264,30 +1233,6 @@ named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,d
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
Listening on individual IPv6 interfaces does not work.
</para>
</question>
<answer>
<para>
This is usually due to "/proc/net/if_inet6" not being available
in the chroot file system. Mount another instance of "proc"
in the chroot file system.
</para>
<para>
This can be be made permanent by adding a second instance to
/etc/fstab.
<informalexample>
<programlisting>
proc /proc proc defaults 0 0
proc /var/named/proc proc defaults 0 0</programlisting>
</informalexample>
</para>
</answer>
</qandaentry>
</qandadiv> <!-- Linux -->
@@ -1365,7 +1310,8 @@ rand_irqs="3 14 15"</programlisting>
<para>
See also
<ulink url="http://people.freebsd.org/~dougb/randomness.html">
&lt;http://people.freebsd.org/~dougb/randomness.html&gt;</ulink>.
http://people.freebsd.org/~dougb/randomness.html
</ulink>
</para>
</answer>
</qandaentry>
@@ -1387,76 +1333,12 @@ rand_irqs="3 14 15"</programlisting>
<para>
<ulink
url="http://blogs.sun.com/roller/page/anay/Weblog?catname=%2FSolaris">
&lt;http://blogs.sun.com/roller/page/anay/Weblog?catname=%2FSolaris&gt;
http://blogs.sun.com/roller/page/anay/Weblog?catname=%2FSolaris
</ulink>
</para>
</answer>
</qandaentry>
</qandadiv>
<qandadiv><title>Apple Mac OS X</title>
<qandaentry>
<question>
<para>
How do I run BIND 9 on Apple Mac OS X?
</para>
</question>
<answer>
<para>
If you run Tiger(Mac OS 10.4) or later then this is all you need to do:
</para>
<informalexample>
<programlisting>
% sudo rndc-confgen > /etc/rndc.conf</programlisting>
</informalexample>
<para>
Copy the key statement from /etc/rndc.conf into /etc/rndc.key, e.g.:
</para>
<informalexample>
<programlisting>
key "rndc-key" {
algorithm hmac-md5;
secret "uvceheVuqf17ZwIcTydddw==";
};</programlisting>
</informalexample>
<para>
Then start the relevant service:
</para>
<informalexample>
<programlisting>
% sudo service org.isc.named start</programlisting>
</informalexample>
<para>
This is persistent upon a reboot, so you will have to do it only once.
</para>
</answer>
<answer>
<para>
Alternatively you can just generate /etc/rndc.key by running:
</para>
<informalexample>
<programlisting>
% sudo rndc-confgen -a</programlisting>
</informalexample>
<para>
Then start the relevant service:
</para>
<informalexample>
<programlisting>
% sudo service org.isc.named start</programlisting>
</informalexample>
<para>
Named will look for /etc/rndc.key when it starts if it
doesn't have a controls section or the existing controls are
missing keys sub-clauses. This is persistent upon a
reboot, so you will have to do it only once.
</para>
</answer>
</qandaentry>
</qandadiv>
</qandadiv> <!-- Operating-System Specific Questions -->
+1 -1
View File
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.50 2007/09/03 00:36:53 marka Exp $
# $Id: Makefile.in,v 1.43.18.6 2007/09/03 23:46:21 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+97 -57
View File
@@ -43,33 +43,25 @@ BIND 9
Nominum, Inc.
BIND 9.5.0
BIND 9.4.2
BIND 9.5.0 has a number of new features over 9.4,
including:
BIND 9.4.2 is a maintenance release, containing fixes for
a number of bugs in 9.4.1.
GSS-TSIG support (RFC 3645).
Warning: If you installed BIND 9.4.2rc1 then any applications
linked against this release candidate will need to be rebuilt.
DHCID support.
BIND 9.4.1
Experimental http server and statistics support for named via xml.
More detailed statistics counters including those supported in BIND 8.
Faster ACL processing.
Use Doxygen to generate internal documentation.
Efficient LRU cache-cleaning mechanism.
NSID support.
BIND 9.4.1 is a security release, containing a fix for
a security bugs in 9.4.0.
BIND 9.4.0
BIND 9.4.0 has a number of new features over 9.3,
including:
Implemented "additional section caching (or acache)", an
Implemented "additional section caching" (or "acache"), an
internal cache framework for additional section content to
improve response performance. Several configuration options
were provided to control the behavior.
@@ -160,12 +152,11 @@ BIND 9.4.0
Add support for CH A record.
Add additional zone data constancy checks. named-checkzone
Add additional zone data consistancy checks. named-checkzone
has extended checking of NS, MX and SRV record and the hosts
they reference. named has extended post zone load checks.
New zone options: check-mx and integrity-check.
edns-udp-size can now be overridden on a per server basis.
dig can now specify the EDNS version when making a query.
@@ -178,7 +169,7 @@ BIND 9.4.0
Detect duplicates of UDP queries we are recursing on and
drop them. New stats category "duplicates".
"USE INTERNAL MALLOC" is now runtime selectable.
Memory management. "USE INTERNAL MALLOC" is now runtime selectable.
The lame cache is now done on a <qname,qclass,qtype> basis
as some servers only appear to be lame for certain query
@@ -193,9 +184,9 @@ BIND 9.4.0
Support for IPSECKEY rdata type.
Raise the UDP recieve buffer size to 32k if it is less than 32k.
Raise the UDP receive buffer size to 32k if it is less than 32k.
x86 and x86_64 now have seperate atomic locking implementations.
x86 and x86_64 now have separate atomic locking implementations.
named-checkconf now validates update-policy entries.
@@ -223,9 +214,69 @@ BIND 9.4.0
to set 'RA' when 'RD' is set unless a server is explicitly
set.
Integrate contibuted DLZ code into named.
Integrate contributed DLZ code into named.
Integrate contibuted IDN code from JPNIC.
Integrate contributed IDN code from JPNIC.
Validate pending NS RRsets, in the authority section, prior
to returning them if it can be done without requiring DNSKEYs
to be fetched.
It is now possible to configure named to accept expired
RRSIGs. Default "dnssec-accept-expired no;". Setting
"dnssec-accept-expired yes;" leaves named vulnerable to
replay attacks.
Additional memory leakage checks.
The maximum EDNS UDP response named will send can now be
set in named.conf (max-udp-size). This is independent of
the advertised receive buffer (edns-udp-size).
Named now falls back to advertising EDNS with a 512 byte
receive buffer if the initial EDNS queries fail.
Control the zeroing of the negative response TTL to a soa
query. Defaults "zero-no-soa-ttl yes;" and
"zero-no-soa-ttl-cache no;".
Separate out MX and SRV to CNAME checks.
dig/nslookup/host: warn about missing "QR".
TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
HMACSHA512 support.
dnssec-signzone: output the SOA record as the first record
in the signed zone.
Two new update policies. "selfsub" and "selfwild".
dig, nslookup and host now advertise a 4096 byte EDNS UDP
buffer size by default.
Report when a zone is removed.
DS/DLV SHA256 digest algorithm support.
Implement "rrset-order fixed".
Check the KSK flag when updating a secure dynamic zone.
New zone option "update-check-ksk yes;".
It is now possible to explicitly enable DNSSEC validation.
default dnssec-validation no; to be changed to yes in 9.5.0.
It is now possible to enable/disable DNSSEC validation
from rndc. This is useful for the mobile hosts where the
current connection point breaks DNSSEC (firewall/proxy).
rndc validation newstate [view]
dnssec-signzone can now update the SOA record of the signed
zone, either as an increment or as the system time().
Statistics about acache now recorded and sent to log.
libbind: corresponds to that from BIND 8.4.7.
@@ -372,31 +423,27 @@ Building
We've had successful builds and tests on the following systems:
COMPAQ Tru64 UNIX 5.1B
Fedora Core 6
FreeBSD 4.10, 5.2.1, 6.2
HP-UX 11.11
Mac OS X 10.5
NetBSD 3.x and 4.0-beta
OpenBSD 3.3 and up
Solaris 8, 9, 9 (x86), 10
Ubuntu 7.04, 7.10
NetBSD 1.5
Slackware Linux 8.1
Solaris 8, 9, 9 (x86)
Windows NT/2000/XP/2003
We have recent reports from the user community that a supported
version of BIND will build and run on the following systems:
Additionally, we have unverified reports of success building
previous versions of BIND 9 from users of the following systems:
AIX 4.3, 5L
CentOS 4, 4.5, 5
Darwin 9.0.0d1/ARM
Debian 4
Fedora Core 5, 7
FreeBSD 6.1
HP-UX 11.23 PA
MacOS X 10.4, 10.5
Red Hat Enterprise Linux 4, 5
SCO OpenServer 5.0.6
Slackware 9, 10
SuSE 9, 10
AIX 5L
SuSE Linux 7.0
Slackware Linux 7.x, 8.0
Red Hat Linux 7.1
Debian GNU/Linux 2.2 and 3.0
Mandrake 8.1
OpenBSD 2.6, 2.8, 2.9, 3.1, 3.6, 3.8
UnixWare 7.1.1
HP-UX 10.20
BSD/OS 4.2
Mac OS X 10.1, 10.3.8
To build, just
@@ -433,6 +480,8 @@ Building
-DDIG_SIGCHASE_BU=1)
Disable dropping queries from particular well known ports.
-DNS_CLIENT_DROPPORT=0
Disable support for "rrset-order fixed".
-DDNS_RDATASET_FIXED=0
LDFLAGS
Linker flags. Defaults to empty string.
@@ -468,11 +517,6 @@ Building
on the configure command line. The default is operating
system dependent.
Support for the "fixed" rrset-order option can be enabled
or disabled by specifying "--enable-fixed-rrset" or
"--disable-fixed-rrset" on the configure command line.
The default is "disabled", to reduce memory footprint.
If your operating system has integrated support for IPv6, it
will be used automatically. If you have installed KAME IPv6
separately, use "--with-kame[=PATH]" to specify its location.
@@ -515,9 +559,6 @@ Building
on your system, and some require Perl; see bin/tests/system/README
for details.
SunOS 4 requires "printf" to be installed to make the shared
libraries. sh-utils-1.16 provides a "printf" which compiles
on SunOS 4.
Documentation
@@ -553,9 +594,8 @@ Bug Reports and Mailing Lists
http://www.isc.org/ops/lists/
If you're planning on making changes to the BIND 9 source
code, you might want to join the BIND Workers mailing list.
Send mail to
bind-workers-request@isc.org
code, you might want to join the BIND Forum as a Worker.
This gives you access to the bind-workers@isc.org mailing
list and pre-release access to the code.
http://www.isc.org/sw/guild/bf/
+1 -1
View File
@@ -109,4 +109,4 @@ about idnkit and this patch.
Bug reports and comments on this kit should be sent to
mdnkit-bugs@nic.ad.jp and idn-cmt@nic.ad.jp, respectively.
; $Id: README.idnkit,v 1.2 2005/09/09 06:13:57 marka Exp $
; $Id: README.idnkit,v 1.2.2.2 2005/09/12 02:12:08 marka Exp $
-61
View File
@@ -1,61 +0,0 @@
BIND-9 PKCS#11 support
Prerequisite
The PKCS#11 support needs a PKCS#11 OpenSSL engine based on the Solaris one,
released the 2007-11-21 for OpenSSL 0.9.8g, with a bug fix (call to free)
and some improvements, including user friendly PIN management.
Compilation
"configure --with-pkcs11 ..."
PKCS#11 Libraries
Tested with Solaris one with a SCA board and with openCryptoki with the
software token.
OpenSSL Engines
With PKCS#11 support the PKCS#11 engine is statically loaded but at its
initialization it dynamically loads the PKCS#11 objects.
Even the pre commands are therefore unused they are defined with:
SO_PATH:
define: PKCS11_SO_PATH
default: /usr/local/lib/engines/engine_pkcs11.so
MODULE_PATH:
define: PKCS11_MODULE_PATH
default: /usr/lib/libpkcs11.so
Without PKCS#11 support, a specific OpenSSL engine can be still used
by defining ENGINE_ID at compile time.
PKCS#11 tools
The contrib/pkcs11-keygen directory contains a set of experimental tools
to handle keys stored in a Hardware Security Module at the benefit of BIND.
The patch for OpenSSL 0.9.8g is in this directory. Read its README.pkcs11
for the way to use it (these are the original notes so with the original
path, etc. Define OPENCRYPTOKI to use it with openCryptoki.)
PIN management
With the just fixed PKCS#11 OpenSSL engine, the PIN should be entered
each time it is required. With the improved engine, the PIN should be
entered the first time it is required or can be configured in the
OpenSSL configuration file (aka. openssl.cnf) by adding in it:
- at the beginning:
openssl_conf = openssl_def
- at any place these sections:
[ openssl_def ]
engines = engine_section
[ engine_section ]
pkcs11 = pkcs11_section
[ pkcs11_section ]
PIN = put__your__pin__value__here
Note
Some names here are registered trademarks, at least Solaris is a trademark
of Sun Microsystems Inc...
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: acconfig.h,v 1.51 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: acconfig.h,v 1.44.18.5 2005/04/29 00:15:20 marka Exp $ */
/*! \file */
+3 -3
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.25 2007/06/19 23:46:59 tbox Exp $
# $Id: Makefile.in,v 1.23 2004/03/05 04:57:10 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+3 -3
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.32 2007/06/19 23:46:59 tbox Exp $
# $Id: Makefile.in,v 1.24.18.6 2006/06/09 00:54:08 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+80 -183
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check-tool.c,v 1.34 2008/01/18 23:46:57 tbox Exp $ */
/* $Id: check-tool.c,v 1.10.18.18 2007/09/13 05:04:01 each Exp $ */
/*! \file */
@@ -24,17 +24,16 @@
#include <stdio.h>
#include "check-tool.h"
#include <isc/util.h>
#include <isc/buffer.h>
#include <isc/log.h>
#include <isc/mem.h>
#include <isc/netdb.h>
#include <isc/net.h>
#include <isc/netdb.h>
#include <isc/region.h>
#include <isc/stdio.h>
#include <isc/string.h>
#include <isc/symtab.h>
#include <isc/types.h>
#include <isc/util.h>
#include <dns/fixedname.h>
#include <dns/log.h>
@@ -60,16 +59,7 @@
result = (r); \
if (result != ISC_R_SUCCESS) \
goto cleanup; \
} while (0)
#define ERR_IS_CNAME 1
#define ERR_NO_ADDRESSES 2
#define ERR_LOOKUP_FAILURE 3
#define ERR_EXTRA_A 4
#define ERR_EXTRA_AAAA 5
#define ERR_MISSING_GLUE 5
#define ERR_IS_MXCNAME 6
#define ERR_IS_SRVCNAME 7
} while (0)
static const char *dbtype[] = { "rbt" };
@@ -78,7 +68,7 @@ isc_boolean_t nomerge = ISC_TRUE;
isc_boolean_t docheckmx = ISC_TRUE;
isc_boolean_t dochecksrv = ISC_TRUE;
isc_boolean_t docheckns = ISC_TRUE;
unsigned int zone_options = DNS_ZONEOPT_CHECKNS |
unsigned int zone_options = DNS_ZONEOPT_CHECKNS |
DNS_ZONEOPT_CHECKMX |
DNS_ZONEOPT_MANYERRORS |
DNS_ZONEOPT_CHECKNAMES |
@@ -101,58 +91,6 @@ static isc_logcategory_t categories[] = {
{ NULL, 0 }
};
static isc_symtab_t *symtab = NULL;
static isc_mem_t *sym_mctx;
static void
freekey(char *key, unsigned int type, isc_symvalue_t value, void *userarg) {
UNUSED(type);
UNUSED(value);
isc_mem_free(userarg, key);
}
static void
add(char *key, int value) {
isc_result_t result;
isc_symvalue_t symvalue;
if (sym_mctx == NULL) {
result = isc_mem_create(0, 0, &sym_mctx);
if (result != ISC_R_SUCCESS)
return;
}
if (symtab == NULL) {
result = isc_symtab_create(sym_mctx, 100, freekey, sym_mctx,
ISC_FALSE, &symtab);
if (result != ISC_R_SUCCESS)
return;
}
key = isc_mem_strdup(sym_mctx, key);
if (key == NULL)
return;
symvalue.as_pointer = NULL;
result = isc_symtab_define(symtab, key, value, symvalue,
isc_symexists_reject);
if (result != ISC_R_SUCCESS)
isc_mem_free(sym_mctx, key);
}
static isc_boolean_t
logged(char *key, int value) {
isc_result_t result;
if (symtab == NULL)
return (ISC_FALSE);
result = isc_symtab_lookup(symtab, key, value, NULL);
if (result == ISC_R_SUCCESS)
return (ISC_TRUE);
return (ISC_FALSE);
}
static isc_boolean_t
checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
dns_rdataset_t *a, dns_rdataset_t *aaaa)
@@ -187,7 +125,7 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
if (dns_name_countlabels(name) > 1U)
strcat(namebuf, ".");
dns_name_format(owner, ownerbuf, sizeof(ownerbuf));
result = getaddrinfo(namebuf, NULL, &hints, &ai);
dns_name_format(name, namebuf, sizeof(namebuf) - 1);
switch (result) {
@@ -200,40 +138,30 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
while (cur != NULL && cur->ai_canonname == NULL &&
cur->ai_next != NULL)
cur = cur->ai_next;
if (ai != NULL && cur->ai_canonname != NULL &&
strcasecmp(ai->ai_canonname, namebuf) != 0 &&
!logged(namebuf, ERR_IS_CNAME)) {
if (cur != NULL && cur->ai_canonname != NULL &&
strcasecmp(ai->ai_canonname, namebuf) != 0) {
dns_zone_log(zone, ISC_LOG_ERROR,
"%s/NS '%s' (out of zone) "
"is a CNAME '%s' (illegal)",
ownerbuf, namebuf,
cur->ai_canonname);
"is a CNAME (illegal)",
ownerbuf, namebuf);
/* XXX950 make fatal for 9.5.0 */
/* answer = ISC_FALSE; */
add(namebuf, ERR_IS_CNAME);
}
break;
case EAI_NONAME:
#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
case EAI_NODATA:
#endif
if (!logged(namebuf, ERR_NO_ADDRESSES)) {
dns_zone_log(zone, ISC_LOG_ERROR,
"%s/NS '%s' (out of zone) "
"has no addresses records (A or AAAA)",
ownerbuf, namebuf);
add(namebuf, ERR_NO_ADDRESSES);
}
dns_zone_log(zone, ISC_LOG_ERROR, "%s/NS '%s' (out of zone) "
"has no addresses records (A or AAAA)",
ownerbuf, namebuf);
/* XXX950 make fatal for 9.5.0 */
return (ISC_TRUE);
default:
if (!logged(namebuf, ERR_LOOKUP_FAILURE)) {
dns_zone_log(zone, ISC_LOG_WARNING,
"getaddrinfo(%s) failed: %s",
namebuf, gai_strerror(result));
add(namebuf, ERR_LOOKUP_FAILURE);
}
dns_zone_log(zone, ISC_LOG_WARNING,
"getaddrinfo(%s) failed: %s",
namebuf, gai_strerror(result));
return (ISC_TRUE);
}
if (a == NULL || aaaa == NULL)
@@ -256,13 +184,12 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
break;
}
}
if (!match && !logged(namebuf, ERR_EXTRA_A)) {
if (!match) {
dns_zone_log(zone, ISC_LOG_ERROR, "%s/NS '%s' "
"extra GLUE A record (%s)",
ownerbuf, namebuf,
inet_ntop(AF_INET, rdata.data,
addrbuf, sizeof(addrbuf)));
add(namebuf, ERR_EXTRA_A);
/* XXX950 make fatal for 9.5.0 */
/* answer = ISC_FALSE; */
}
@@ -286,13 +213,12 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
break;
}
}
if (!match && !logged(namebuf, ERR_EXTRA_AAAA)) {
if (!match) {
dns_zone_log(zone, ISC_LOG_ERROR, "%s/NS '%s' "
"extra GLUE AAAA record (%s)",
ownerbuf, namebuf,
inet_ntop(AF_INET6, rdata.data,
addrbuf, sizeof(addrbuf)));
add(namebuf, ERR_EXTRA_AAAA);
/* XXX950 make fatal for 9.5.0. */
/* answer = ISC_FALSE; */
}
@@ -304,48 +230,42 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
/*
* Check that all addresses appear in the glue.
*/
if (!logged(namebuf, ERR_MISSING_GLUE)) {
isc_boolean_t missing_glue = ISC_FALSE;
for (cur = ai; cur != NULL; cur = cur->ai_next) {
switch (cur->ai_family) {
case AF_INET:
rdataset = a;
ptr = &((struct sockaddr_in *)(cur->ai_addr))->sin_addr;
type = "A";
break;
case AF_INET6:
rdataset = aaaa;
ptr = &((struct sockaddr_in6 *)(cur->ai_addr))->sin6_addr;
type = "AAAA";
break;
default:
continue;
}
match = ISC_FALSE;
if (dns_rdataset_isassociated(rdataset))
result = dns_rdataset_first(rdataset);
else
result = ISC_R_FAILURE;
while (result == ISC_R_SUCCESS && !match) {
dns_rdataset_current(rdataset, &rdata);
if (memcmp(ptr, rdata.data, rdata.length) == 0)
match = ISC_TRUE;
dns_rdata_reset(&rdata);
result = dns_rdataset_next(rdataset);
}
if (!match) {
dns_zone_log(zone, ISC_LOG_ERROR, "%s/NS '%s' "
"missing GLUE %s record (%s)",
ownerbuf, namebuf, type,
inet_ntop(cur->ai_family, ptr,
addrbuf, sizeof(addrbuf)));
/* XXX950 make fatal for 9.5.0. */
/* answer = ISC_FALSE; */
missing_glue = ISC_TRUE;
}
for (cur = ai; cur != NULL; cur = cur->ai_next) {
switch (cur->ai_family) {
case AF_INET:
rdataset = a;
ptr = &((struct sockaddr_in *)(cur->ai_addr))->sin_addr;
type = "A";
break;
case AF_INET6:
rdataset = aaaa;
ptr = &((struct sockaddr_in6 *)(cur->ai_addr))->sin6_addr;
type = "AAAA";
break;
default:
continue;
}
match = ISC_FALSE;
if (dns_rdataset_isassociated(rdataset))
result = dns_rdataset_first(rdataset);
else
result = ISC_R_FAILURE;
while (result == ISC_R_SUCCESS && !match) {
dns_rdataset_current(rdataset, &rdata);
if (memcmp(ptr, rdata.data, rdata.length) == 0)
match = ISC_TRUE;
dns_rdata_reset(&rdata);
result = dns_rdataset_next(rdataset);
}
if (!match) {
dns_zone_log(zone, ISC_LOG_ERROR, "%s/NS '%s' "
"missing GLUE %s record (%s)",
ownerbuf, namebuf, type,
inet_ntop(cur->ai_family, ptr,
addrbuf, sizeof(addrbuf)));
/* XXX950 make fatal for 9.5.0. */
/* answer = ISC_FALSE; */
}
if (missing_glue)
add(namebuf, ERR_MISSING_GLUE);
}
freeaddrinfo(ai);
return (answer);
@@ -377,7 +297,7 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
if (dns_name_countlabels(name) > 1U)
strcat(namebuf, ".");
dns_name_format(owner, ownerbuf, sizeof(ownerbuf));
result = getaddrinfo(namebuf, NULL, &hints, &ai);
dns_name_format(name, namebuf, sizeof(namebuf) - 1);
switch (result) {
@@ -395,15 +315,10 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
if ((zone_options & DNS_ZONEOPT_WARNMXCNAME) != 0)
level = ISC_LOG_WARNING;
if ((zone_options & DNS_ZONEOPT_IGNOREMXCNAME) == 0) {
if (!logged(namebuf, ERR_IS_MXCNAME)) {
dns_zone_log(zone, level,
"%s/MX '%s' (out of zone)"
" is a CNAME '%s' "
"(illegal)",
ownerbuf, namebuf,
cur->ai_canonname);
add(namebuf, ERR_IS_MXCNAME);
}
dns_zone_log(zone, ISC_LOG_WARNING,
"%s/MX '%s' (out of zone) "
"is a CNAME (illegal)",
ownerbuf, namebuf);
if (level == ISC_LOG_ERROR)
answer = ISC_FALSE;
}
@@ -415,23 +330,16 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
case EAI_NODATA:
#endif
if (!logged(namebuf, ERR_NO_ADDRESSES)) {
dns_zone_log(zone, ISC_LOG_ERROR,
"%s/MX '%s' (out of zone) "
"has no addresses records (A or AAAA)",
ownerbuf, namebuf);
add(namebuf, ERR_NO_ADDRESSES);
}
dns_zone_log(zone, ISC_LOG_ERROR, "%s/MX '%s' (out of zone) "
"has no addresses records (A or AAAA)",
ownerbuf, namebuf);
/* XXX950 make fatal for 9.5.0. */
return (ISC_TRUE);
default:
if (!logged(namebuf, ERR_LOOKUP_FAILURE)) {
dns_zone_log(zone, ISC_LOG_WARNING,
dns_zone_log(zone, ISC_LOG_WARNING,
"getaddrinfo(%s) failed: %s",
namebuf, gai_strerror(result));
add(namebuf, ERR_LOOKUP_FAILURE);
}
return (ISC_TRUE);
}
#else
@@ -462,7 +370,7 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
if (dns_name_countlabels(name) > 1U)
strcat(namebuf, ".");
dns_name_format(owner, ownerbuf, sizeof(ownerbuf));
result = getaddrinfo(namebuf, NULL, &hints, &ai);
dns_name_format(name, namebuf, sizeof(namebuf) - 1);
switch (result) {
@@ -480,14 +388,10 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
if ((zone_options & DNS_ZONEOPT_WARNSRVCNAME) != 0)
level = ISC_LOG_WARNING;
if ((zone_options & DNS_ZONEOPT_IGNORESRVCNAME) == 0) {
if (!logged(namebuf, ERR_IS_SRVCNAME)) {
dns_zone_log(zone, level, "%s/SRV '%s'"
" (out of zone) is a "
"CNAME '%s' (illegal)",
ownerbuf, namebuf,
cur->ai_canonname);
add(namebuf, ERR_IS_SRVCNAME);
}
dns_zone_log(zone, level,
"%s/SRV '%s' (out of zone) "
"is a CNAME (illegal)",
ownerbuf, namebuf);
if (level == ISC_LOG_ERROR)
answer = ISC_FALSE;
}
@@ -499,23 +403,16 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
case EAI_NODATA:
#endif
if (!logged(namebuf, ERR_NO_ADDRESSES)) {
dns_zone_log(zone, ISC_LOG_ERROR,
"%s/SRV '%s' (out of zone) "
"has no addresses records (A or AAAA)",
ownerbuf, namebuf);
add(namebuf, ERR_NO_ADDRESSES);
}
dns_zone_log(zone, ISC_LOG_ERROR, "%s/SRV '%s' (out of zone) "
"has no addresses records (A or AAAA)",
ownerbuf, namebuf);
/* XXX950 make fatal for 9.5.0. */
return (ISC_TRUE);
default:
if (!logged(namebuf, ERR_LOOKUP_FAILURE)) {
dns_zone_log(zone, ISC_LOG_WARNING,
"getaddrinfo(%s) failed: %s",
namebuf, gai_strerror(result));
add(namebuf, ERR_LOOKUP_FAILURE);
}
dns_zone_log(zone, ISC_LOG_WARNING,
"getaddrinfo(%s) failed: %s",
namebuf, gai_strerror(result));
return (ISC_TRUE);
}
#else
@@ -524,7 +421,7 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
}
isc_result_t
setup_logging(isc_mem_t *mctx, FILE *errout, isc_log_t **logp) {
setup_logging(isc_mem_t *mctx, isc_log_t **logp) {
isc_logdestination_t destination;
isc_logconfig_t *logconfig = NULL;
isc_log_t *log = NULL;
@@ -536,7 +433,7 @@ setup_logging(isc_mem_t *mctx, FILE *errout, isc_log_t **logp) {
dns_log_setcontext(log);
cfg_log_init(log);
destination.file.stream = errout;
destination.file.stream = stdout;
destination.file.name = NULL;
destination.file.versions = ISC_LOG_ROLLNEVER;
destination.file.maximum_size = 0;
@@ -620,14 +517,14 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
FILE *output = stdout;
if (debug) {
if (filename != NULL && strcmp(filename, "-") != 0)
if (filename != NULL)
fprintf(stderr, "dumping \"%s\" to \"%s\"\n",
zonename, filename);
else
fprintf(stderr, "dumping \"%s\"\n", zonename);
}
if (filename != NULL && strcmp(filename, "-") != 0) {
if (filename != NULL) {
result = isc_stdio_open(filename, "w+", &output);
if (result != ISC_R_SUCCESS) {
@@ -639,7 +536,7 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
result = dns_zone_dumptostream2(zone, output, fileformat, style);
if (output != stdout)
if (filename != NULL)
(void)isc_stdio_close(output);
return (result);
+4 -5
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check-tool.h,v 1.14 2007/06/18 23:47:17 tbox Exp $ */
/* $Id: check-tool.h,v 1.7.18.4 2005/06/20 01:19:25 marka Exp $ */
#ifndef CHECK_TOOL_H
#define CHECK_TOOL_H
@@ -23,7 +23,6 @@
/*! \file */
#include <isc/lang.h>
#include <isc/stdio.h>
#include <isc/types.h>
#include <dns/masterdump.h>
@@ -32,7 +31,7 @@
ISC_LANG_BEGINDECLS
isc_result_t
setup_logging(isc_mem_t *mctx, FILE *errout, isc_log_t **logp);
setup_logging(isc_mem_t *mctx, isc_log_t **logp);
isc_result_t
load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
+2 -7
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkconf.8,v 1.30 2007/06/20 02:27:32 marka Exp $
.\" $Id: named-checkconf.8,v 1.16.18.13 2007/06/20 02:26:58 marka Exp $
.\"
.hy 0
.ad l
@@ -33,18 +33,13 @@
named\-checkconf \- named configuration file syntax checking tool
.SH "SYNOPSIS"
.HP 16
\fBnamed\-checkconf\fR [\fB\-h\fR] [\fB\-v\fR] [\fB\-j\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] {filename} [\fB\-z\fR]
\fBnamed\-checkconf\fR [\fB\-v\fR] [\fB\-j\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] {filename} [\fB\-z\fR]
.SH "DESCRIPTION"
.PP
\fBnamed\-checkconf\fR
checks the syntax, but not the semantics, of a named configuration file.
.SH "OPTIONS"
.PP
\-h
.RS 4
Print the usage summary and exit.
.RE
.PP
\-t \fIdirectory\fR
.RS 4
Chroot to
+9 -25
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkconf.c,v 1.46 2007/11/26 02:12:45 marka Exp $ */
/* $Id: named-checkconf.c,v 1.28.18.14 2006/02/28 03:10:47 marka Exp $ */
/*! \file */
@@ -47,8 +47,6 @@
#include "check-tool.h"
static const char *program = "named-checkconf";
isc_log_t *logc = NULL;
#define CHECK(r)\
@@ -61,8 +59,8 @@ isc_log_t *logc = NULL;
/*% usage */
static void
usage(void) {
fprintf(stderr, "usage: %s [-h] [-j] [-v] [-z] [-t directory] "
"[named.conf]\n", program);
fprintf(stderr, "usage: named-checkconf [-j] [-v] [-z] [-t directory] "
"[named.conf]\n");
exit(1);
}
@@ -226,8 +224,7 @@ configure_zone(const char *vclass, const char *view,
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
else
zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
} else
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
}
obj = NULL;
if (get_maps(maps, "check-mx-cname", &obj)) {
@@ -400,9 +397,7 @@ main(int argc, char **argv) {
isc_entropy_t *ectx = NULL;
isc_boolean_t load_zones = ISC_FALSE;
isc_commandline_errprint = ISC_FALSE;
while ((c = isc_commandline_parse(argc, argv, "dhjt:vz")) != EOF) {
while ((c = isc_commandline_parse(argc, argv, "djt:vz")) != EOF) {
switch (c) {
case 'd':
debug++;
@@ -438,22 +433,11 @@ main(int argc, char **argv) {
dochecksrv = ISC_FALSE;
break;
case '?':
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
case 'h':
usage();
default:
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
usage();
}
}
if (isc_commandline_index + 1 < argc)
usage();
if (argv[isc_commandline_index] != NULL)
conffile = argv[isc_commandline_index];
if (conffile == NULL || conffile[0] == '\0')
@@ -461,7 +445,7 @@ main(int argc, char **argv) {
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
RUNTIME_CHECK(setup_logging(mctx, stdout, &logc) == ISC_R_SUCCESS);
RUNTIME_CHECK(setup_logging(mctx, &logc) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
+1 -11
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.docbook,v 1.19 2007/06/19 06:58:03 marka Exp $ -->
<!-- $Id: named-checkconf.docbook,v 1.8.18.10 2007/08/28 07:19:55 tbox Exp $ -->
<refentry id="man.named-checkconf">
<refentryinfo>
<date>June 14, 2000</date>
@@ -53,7 +53,6 @@
<refsynopsisdiv>
<cmdsynopsis>
<command>named-checkconf</command>
<arg><option>-h</option></arg>
<arg><option>-v</option></arg>
<arg><option>-j</option></arg>
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
@@ -74,15 +73,6 @@
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>-h</term>
<listitem>
<para>
Print the usage summary and exit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-t <replaceable class="parameter">directory</replaceable></term>
<listitem>
+7 -11
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.html,v 1.30 2007/06/20 02:27:32 marka Exp $ -->
<!-- $Id: named-checkconf.html,v 1.9.18.20 2007/06/20 02:26:58 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,22 +29,18 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">named-checkconf</code> [<code class="option">-h</code>] [<code class="option">-v</code>] [<code class="option">-j</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] {filename} [<code class="option">-z</code>]</p></div>
<div class="cmdsynopsis"><p><code class="command">named-checkconf</code> [<code class="option">-v</code>] [<code class="option">-j</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] {filename} [<code class="option">-z</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543387"></a><h2>DESCRIPTION</h2>
<a name="id2543383"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkconf</strong></span>
checks the syntax, but not the semantics, of a named
configuration file.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543399"></a><h2>OPTIONS</h2>
<a name="id2543395"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-h</span></dt>
<dd><p>
Print the usage summary and exit.
</p></dd>
<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
Chroot to <code class="filename">directory</code> so that
@@ -74,21 +70,21 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543507"></a><h2>RETURN VALUES</h2>
<a name="id2543489"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkconf</strong></span>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543518"></a><h2>SEE ALSO</h2>
<a name="id2543500"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">named-checkzone</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543548"></a><h2>AUTHOR</h2>
<a name="id2543530"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+3 -12
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkzone.8,v 1.42 2007/06/20 02:27:32 marka Exp $
.\" $Id: named-checkzone.8,v 1.18.18.23 2007/06/20 02:26:58 marka Exp $
.\"
.hy 0
.ad l
@@ -33,7 +33,7 @@
named\-checkzone, named\-compilezone \- zone file validity checking or converting tool
.SH "SYNOPSIS"
.HP 16
\fBnamed\-checkzone\fR [\fB\-d\fR] [\fB\-h\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-M\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-S\ \fR\fB\fImode\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
\fBnamed\-checkzone\fR [\fB\-d\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-M\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-S\ \fR\fB\fImode\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
.HP 18
\fBnamed\-compilezone\fR [\fB\-d\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-C\ \fR\fB\fImode\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
.SH "DESCRIPTION"
@@ -58,11 +58,6 @@ configuration file.
Enable debugging.
.RE
.PP
\-h
.RS 4
Print the usage summary and exit.
.RE
.PP
\-q
.RS 4
Quiet mode \- exit code only.
@@ -193,11 +188,7 @@ Specify whether NS records should be checked to see if they are addresses. Possi
\-o \fIfilename\fR
.RS 4
Write zone output to
\fIfilename\fR. If
\fIfilename\fR
is
\fI\-\fR
then write to standard out. This is mandatory for
\fIfilename\fR. This is mandatory for
\fBnamed\-compilezone\fR.
.RE
.PP
+18 -45
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkzone.c,v 1.49 2007/06/18 23:47:17 tbox Exp $ */
/* $Id: named-checkzone.c,v 1.29.18.19 2007/08/28 07:19:55 tbox Exp $ */
/*! \file */
@@ -105,7 +105,6 @@ main(int argc, char **argv) {
const char *outputformatstr = NULL;
dns_masterformat_t inputformat = dns_masterformat_text;
dns_masterformat_t outputformat = dns_masterformat_text;
FILE *errout = stdout;
outputstyle = &dns_master_style_full;
@@ -140,10 +139,8 @@ main(int argc, char **argv) {
#define ARGCMP(X) (strcmp(isc_commandline_argument, X) == 0)
isc_commandline_errprint = ISC_FALSE;
while ((c = isc_commandline_parse(argc, argv,
"c:df:hi:jk:m:n:qs:t:o:vw:DF:M:S:W:"))
"c:df:i:jk:m:n:qs:t:o:vw:DF:M:S:W:"))
!= EOF) {
switch (c) {
case 'c':
@@ -345,17 +342,17 @@ main(int argc, char **argv) {
zone_options &= ~DNS_ZONEOPT_CHECKWILDCARD;
break;
case '?':
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
prog_name, isc_commandline_option);
case 'h':
usage();
default:
fprintf(stderr, "%s: unhandled option -%c\n",
prog_name, isc_commandline_option);
exit(1);
usage();
}
}
if (progmode == progmode_compile) {
dumpzone = 1; /* always dump */
if (output_filename == NULL) {
fprintf(stderr,
"output file required, but not specified\n");
usage();
}
}
@@ -392,36 +389,12 @@ main(int argc, char **argv) {
}
}
if (progmode == progmode_compile) {
dumpzone = 1; /* always dump */
if (output_filename == NULL) {
fprintf(stderr,
"output file required, but not specified\n");
usage();
}
}
if (output_filename != NULL)
dumpzone = 1;
/*
* If we are outputing to stdout then send the informational
* output to stderr.
*/
if (dumpzone &&
(output_filename == NULL ||
strcmp(output_filename, "-") == 0 ||
strcmp(output_filename, "/dev/fd/1") == 0 ||
strcmp(output_filename, "/dev/stdout") == 0))
errout = stderr;
if (isc_commandline_index + 2 != argc)
if (isc_commandline_index + 2 > argc)
usage();
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
if (!quiet)
RUNTIME_CHECK(setup_logging(mctx, errout, &lctx)
== ISC_R_SUCCESS);
RUNTIME_CHECK(setup_logging(mctx, &lctx) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
== ISC_R_SUCCESS);
@@ -435,17 +408,17 @@ main(int argc, char **argv) {
if (result == ISC_R_SUCCESS && dumpzone) {
if (!quiet && progmode == progmode_compile) {
fprintf(errout, "dump zone to %s...", output_filename);
fflush(errout);
fprintf(stdout, "dump zone to %s...", output_filename);
fflush(stdout);
}
result = dump_zone(origin, zone, output_filename,
outputformat, outputstyle);
if (!quiet && progmode == progmode_compile)
fprintf(errout, "done\n");
fprintf(stdout, "done\n");
}
if (!quiet && result == ISC_R_SUCCESS)
fprintf(errout, "OK\n");
fprintf(stdout, "OK\n");
destroy();
if (lctx != NULL)
isc_log_destroy(&lctx);
+1 -13
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.docbook,v 1.34 2007/06/19 06:58:03 marka Exp $ -->
<!-- $Id: named-checkzone.docbook,v 1.11.18.21 2007/08/28 07:19:55 tbox Exp $ -->
<refentry id="man.named-checkzone">
<refentryinfo>
<date>June 13, 2000</date>
@@ -56,7 +56,6 @@
<cmdsynopsis>
<command>named-checkzone</command>
<arg><option>-d</option></arg>
<arg><option>-h</option></arg>
<arg><option>-j</option></arg>
<arg><option>-q</option></arg>
<arg><option>-v</option></arg>
@@ -137,15 +136,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-h</term>
<listitem>
<para>
Print the usage summary and exit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-q</term>
<listitem>
@@ -311,8 +301,6 @@
<listitem>
<para>
Write zone output to <filename>filename</filename>.
If <filename>filename</filename> is <filename>-</filename> then
write to standard out.
This is mandatory for <command>named-compilezone</command>.
</para>
</listitem>
+7 -13
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.html,v 1.42 2007/06/20 02:27:32 marka Exp $ -->
<!-- $Id: named-checkzone.html,v 1.11.18.30 2007/06/20 02:26:58 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,11 +29,11 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">named-checkzone</code> [<code class="option">-d</code>] [<code class="option">-h</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-M <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-S <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {zonename} {filename}</p></div>
<div class="cmdsynopsis"><p><code class="command">named-checkzone</code> [<code class="option">-d</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-M <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-S <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {zonename} {filename}</p></div>
<div class="cmdsynopsis"><p><code class="command">named-compilezone</code> [<code class="option">-d</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-C <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {zonename} {filename}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543669"></a><h2>DESCRIPTION</h2>
<a name="id2543665"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkzone</strong></span>
checks the syntax and integrity of a zone file. It performs the
same checks as <span><strong class="command">named</strong></span> does when loading a
@@ -53,16 +53,12 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543704"></a><h2>OPTIONS</h2>
<a name="id2543700"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-d</span></dt>
<dd><p>
Enable debugging.
</p></dd>
<dt><span class="term">-h</span></dt>
<dd><p>
Print the usage summary and exit.
</p></dd>
<dt><span class="term">-q</span></dt>
<dd><p>
Quiet mode - exit code only.
@@ -173,8 +169,6 @@
<dt><span class="term">-o <em class="replaceable"><code>filename</code></em></span></dt>
<dd><p>
Write zone output to <code class="filename">filename</code>.
If <code class="filename">filename</code> is <code class="filename">-</code> then
write to standard out.
This is mandatory for <span><strong class="command">named-compilezone</strong></span>.
</p></dd>
<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
@@ -239,14 +233,14 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544325"></a><h2>RETURN VALUES</h2>
<a name="id2544299"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkzone</strong></span>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544337"></a><h2>SEE ALSO</h2>
<a name="id2544311"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">named-checkconf</span>(8)</span>,
<em class="citetitle">RFC 1035</em>,
@@ -254,7 +248,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544370"></a><h2>AUTHOR</h2>
<a name="id2544344"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+3 -3
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.41 2007/06/19 23:46:59 tbox Exp $
# $Id: Makefile.in,v 1.33.18.6 2005/09/09 14:11:04 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+3 -8
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dig.1,v 1.48 2008/05/15 01:12:20 tbox Exp $
.\" $Id: dig.1,v 1.23.18.22 2007/05/16 06:11:27 marka Exp $
.\"
.hy 0
.ad l
@@ -489,11 +489,6 @@ Requires dig be compiled with \-DDIG_SIGCHASE.
.RS 4
When chasing DNSSEC signature chains perform a top\-down validation. Requires dig be compiled with \-DDIG_SIGCHASE.
.RE
.PP
\fB+[no]nsid\fR
.RS 4
Include an EDNS name server ID request when sending a query.
.RE
.SH "MULTIPLE QUERIES"
.PP
The BIND 9 implementation of
@@ -556,7 +551,7 @@ RFC1035.
.PP
There are probably too many query options.
.SH "COPYRIGHT"
Copyright \(co 2004\-2008 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2007 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2003 Internet Software Consortium.
.br
+42 -57
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.221 2008/04/03 02:01:08 marka Exp $ */
/* $Id: dig.c,v 1.186.18.29 2007/08/28 07:19:55 tbox Exp $ */
/*! \file */
@@ -50,7 +50,7 @@
#define ADD_STRING(b, s) { \
if (strlen(s) >= isc_buffer_availablelength(b)) \
return (ISC_R_NOSPACE); \
return (ISC_R_NOSPACE); \
else \
isc_buffer_putstr(b, s); \
}
@@ -144,8 +144,8 @@ help(void) {
" q-type is one of (a,any,mx,ns,soa,hinfo,axfr,txt,...) [default:a]\n"
" (Use ixfr=version for type ixfr)\n"
" q-opt is one of:\n"
" -x dot-notation (shortcut for reverse lookups)\n"
" -i (use IP6.INT for IPv6 reverse lookups)\n"
" -x dot-notation (shortcut for in-addr lookups)\n"
" -i (IP6.INT reverse IPv6 lookups)\n"
" -f filename (batch mode)\n"
" -b address[#port] (bind to source address/port)\n"
" -p port (specify port number)\n"
@@ -194,7 +194,6 @@ help(void) {
" +[no]identify (ID responders in short answers)\n"
" +[no]trace (Trace delegation down from root)\n"
" +[no]dnssec (Request DNSSEC records)\n"
" +[no]nsid (Request Name Server ID)\n"
#ifdef DIG_SIGCHASE
" +[no]sigchase (Chase DNSSEC signatures)\n"
" +trusted-key=#### (Trusted Key when chasing DNSSEC sigs)\n"
@@ -384,7 +383,7 @@ printrdataset(dns_name_t *owner_name, dns_rdataset_t *rdataset,
else if (nottl || noclass)
result = dns_master_stylecreate(&style, styleflags,
24, 24, 32, 40, 80, 8, mctx);
else
else
result = dns_master_stylecreate(&style, styleflags,
24, 32, 40, 48, 80, 8, mctx);
check_result(result, "dns_master_stylecreate");
@@ -393,7 +392,7 @@ printrdataset(dns_name_t *owner_name, dns_rdataset_t *rdataset,
if (style != NULL)
dns_master_styledestroy(&style, mctx);
return(result);
}
#endif
@@ -430,7 +429,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
else if (nottl || noclass)
result = dns_master_stylecreate(&style, styleflags,
24, 24, 32, 40, 80, 8, mctx);
else
else
result = dns_master_stylecreate(&style, styleflags,
24, 32, 40, 48, 80, 8, mctx);
check_result(result, "dns_master_stylecreate");
@@ -639,7 +638,7 @@ printgreeting(int argc, char **argv, dig_lookup_t *lookup) {
strncat(lookup->cmdline, append, remaining);
}
if (first) {
snprintf(append, sizeof(append),
snprintf(append, sizeof(append),
";; global options: %s %s\n",
short_form ? "short_form" : "",
printcmd ? "printcmd" : "");
@@ -717,7 +716,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
FULLCHECK2("aaonly", "aaflag");
lookup->aaonly = state;
break;
case 'd':
case 'd':
switch (cmd[2]) {
case 'd': /* additional */
FULLCHECK("additional");
@@ -802,13 +801,13 @@ plus_option(char *option, isc_boolean_t is_batchfile,
FULLCHECK("defname");
usesearch = state;
break;
case 'n': /* dnssec */
case 'n': /* dnssec */
FULLCHECK("dnssec");
if (state && lookup->edns == -1)
lookup->edns = 0;
lookup->dnssec = state;
break;
case 'o': /* domain */
case 'o': /* domain */
FULLCHECK("domain");
if (value == NULL)
goto need_value;
@@ -861,40 +860,28 @@ plus_option(char *option, isc_boolean_t is_batchfile,
goto invalid_option;
ndots = parse_uint(value, "ndots", MAXNDOTS);
break;
case 's':
switch (cmd[2]) {
case 'i': /* nsid */
FULLCHECK("nsid");
if (state && lookup->edns == -1)
lookup->edns = 0;
lookup->nsid = state;
break;
case 's': /* nssearch */
FULLCHECK("nssearch");
lookup->ns_search_only = state;
if (state) {
lookup->trace_root = ISC_TRUE;
lookup->recurse = ISC_TRUE;
lookup->identify = ISC_TRUE;
lookup->stats = ISC_FALSE;
lookup->comments = ISC_FALSE;
lookup->section_additional = ISC_FALSE;
lookup->section_authority = ISC_FALSE;
lookup->section_question = ISC_FALSE;
lookup->rdtype = dns_rdatatype_ns;
lookup->rdtypeset = ISC_TRUE;
short_form = ISC_TRUE;
}
break;
default:
goto invalid_option;
case 's': /* nssearch */
FULLCHECK("nssearch");
lookup->ns_search_only = state;
if (state) {
lookup->trace_root = ISC_TRUE;
lookup->recurse = ISC_TRUE;
lookup->identify = ISC_TRUE;
lookup->stats = ISC_FALSE;
lookup->comments = ISC_FALSE;
lookup->section_additional = ISC_FALSE;
lookup->section_authority = ISC_FALSE;
lookup->section_question = ISC_FALSE;
lookup->rdtype = dns_rdatatype_ns;
lookup->rdtypeset = ISC_TRUE;
short_form = ISC_TRUE;
}
break;
default:
goto invalid_option;
}
break;
case 'q':
case 'q':
switch (cmd[1]) {
case 'r': /* qr */
FULLCHECK("qr");
@@ -970,11 +957,11 @@ plus_option(char *option, isc_boolean_t is_batchfile,
break;
#ifdef DIG_SIGCHASE
case 'i': /* sigchase */
FULLCHECK("sigchase");
FULLCHECK("sigchase");
lookup->sigchase = state;
if (lookup->sigchase)
lookup->dnssec = ISC_TRUE;
break;
break;
#endif
case 't': /* stats */
FULLCHECK("stats");
@@ -1002,7 +989,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
timeout = 1;
break;
#if DIG_SIGCHASE_TD
case 'o': /* topdown */
case 'o': /* topdown */
FULLCHECK("topdown");
lookup->do_topdown = state;
break;
@@ -1037,7 +1024,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
#ifdef DIG_SIGCHASE
case 'u': /* trusted-key */
FULLCHECK("trusted-key");
if (value == NULL)
if (value == NULL)
goto need_value;
if (!state)
goto invalid_option;
@@ -1171,7 +1158,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
hash = strchr(value, '#');
if (hash != NULL) {
srcport = (in_port_t)
parse_uint(hash + 1,
parse_uint(hash + 1,
"port number", MAXPORT);
*hash = '\0';
} else
@@ -1224,7 +1211,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
(*lookup) = clone_lookup(default_lookup,
ISC_TRUE);
*need_clone = ISC_TRUE;
strncpy((*lookup)->textname, value,
strncpy((*lookup)->textname, value,
sizeof((*lookup)->textname));
(*lookup)->textname[sizeof((*lookup)->textname)-1]=0;
(*lookup)->trace_root = ISC_TF((*lookup)->trace ||
@@ -1263,10 +1250,9 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
(*lookup)->rdtypeset = ISC_TRUE;
(*lookup)->ixfr_serial =
parse_uint(&value[5], "serial number",
MAXSERIAL);
MAXSERIAL);
(*lookup)->section_question = plusquest;
(*lookup)->comments = pluscomm;
(*lookup)->tcp_mode = ISC_TRUE;
} else {
(*lookup)->rdtype = rdtype;
(*lookup)->rdtypeset = ISC_TRUE;
@@ -1290,7 +1276,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
if (ptr2 == NULL)
usage();
ptr3 = next_token(&value,":"); /* secret or NULL */
if (ptr3 != NULL) {
if (ptr3 != NULL) {
if (strcasecmp(ptr, "hmac-md5") == 0) {
hmacname = DNS_TSIG_HMACMD5_NAME;
digestbits = 0;
@@ -1439,7 +1425,7 @@ getaddresses(dig_lookup_t *lookup, const char *host) {
char tmp[ISC_NETADDR_FORMATSIZE];
result = bind9_getaddresses(host, 0, sockaddrs,
DIG_MAX_ADDRESSES, &count);
DIG_MAX_ADDRESSES, &count);
if (result != ISC_R_SUCCESS)
fatal("couldn't get address for '%s': %s",
host, isc_result_totext(result));
@@ -1501,7 +1487,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
if (homedir != NULL) {
unsigned int n;
n = snprintf(rcfile, sizeof(rcfile), "%s/.digrc",
homedir);
homedir);
if (n < sizeof(rcfile))
batchfp = fopen(rcfile, "r");
}
@@ -1581,7 +1567,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
tr.base = rv[0];
tr.length = strlen(rv[0]);
result = dns_rdatatype_fromtext(&rdtype,
(isc_textregion_t *)&tr);
(isc_textregion_t *)&tr);
if (result == ISC_R_SUCCESS &&
rdtype == dns_rdatatype_ixfr) {
result = DNS_R_UNKNOWN;
@@ -1602,12 +1588,11 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
lookup->rdtypeset = ISC_TRUE;
lookup->ixfr_serial =
parse_uint(&rv[0][5],
"serial number",
MAXSERIAL);
"serial number",
MAXSERIAL);
lookup->section_question =
plusquest;
lookup->comments = pluscomm;
lookup->tcp_mode = ISC_TRUE;
} else {
lookup->rdtype = rdtype;
lookup->rdtypeset = ISC_TRUE;
@@ -1639,7 +1624,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
lookup = clone_lookup(default_lookup,
ISC_TRUE);
need_clone = ISC_TRUE;
strncpy(lookup->textname, rv[0],
strncpy(lookup->textname, rv[0],
sizeof(lookup->textname));
lookup->textname[sizeof(lookup->textname)-1]=0;
lookup->trace_root = ISC_TF(lookup->trace ||
+2 -11
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.docbook,v 1.40 2008/05/14 23:47:03 tbox Exp $ -->
<!-- $Id: dig.docbook,v 1.17.18.21 2007/08/28 07:19:55 tbox Exp $ -->
<refentry id="man.dig">
<refentryinfo>
@@ -42,7 +42,6 @@
<year>2005</year>
<year>2006</year>
<year>2007</year>
<year>2008</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -830,14 +829,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term><option>+[no]nsid</option></term>
<listitem>
<para>
Include an EDNS name server ID request when sending a query.
</para>
</listitem>
</varlistentry>
</variablelist>
+11 -15
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.html,v 1.43 2008/05/15 01:12:20 tbox Exp $ -->
<!-- $Id: dig.html,v 1.13.18.28 2007/05/16 06:11:27 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -34,7 +34,7 @@
<div class="cmdsynopsis"><p><code class="command">dig</code> [global-queryopt...] [query...]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543511"></a><h2>DESCRIPTION</h2>
<a name="id2543508"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dig</strong></span>
(domain information groper) is a flexible tool
for interrogating DNS name servers. It performs DNS lookups and
@@ -80,7 +80,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543580"></a><h2>SIMPLE USAGE</h2>
<a name="id2543577"></a><h2>SIMPLE USAGE</h2>
<p>
A typical invocation of <span><strong class="command">dig</strong></span> looks like:
</p>
@@ -126,7 +126,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543671"></a><h2>OPTIONS</h2>
<a name="id2543668"></a><h2>OPTIONS</h2>
<p>
The <code class="option">-b</code> option sets the source IP address of the query
to <em class="parameter"><code>address</code></em>. This must be a valid
@@ -226,7 +226,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543942"></a><h2>QUERY OPTIONS</h2>
<a name="id2543939"></a><h2>QUERY OPTIONS</h2>
<p><span><strong class="command">dig</strong></span>
provides a number of query options which affect
the way in which lookups are made and the results displayed. Some of
@@ -539,17 +539,13 @@
validation.
Requires dig be compiled with -DDIG_SIGCHASE.
</p></dd>
<dt><span class="term"><code class="option">+[no]nsid</code></span></dt>
<dd><p>
Include an EDNS name server ID request when sending a query.
</p></dd>
</dl></div>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545145"></a><h2>MULTIPLE QUERIES</h2>
<a name="id2545128"></a><h2>MULTIPLE QUERIES</h2>
<p>
The BIND 9 implementation of <span><strong class="command">dig </strong></span>
supports
@@ -595,7 +591,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545275"></a><h2>IDN SUPPORT</h2>
<a name="id2545258"></a><h2>IDN SUPPORT</h2>
<p>
If <span><strong class="command">dig</strong></span> has been built with IDN (internationalized
domain name) support, it can accept and display non-ASCII domain names.
@@ -609,14 +605,14 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545298"></a><h2>FILES</h2>
<a name="id2545281"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
<p><code class="filename">${HOME}/.digrc</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545315"></a><h2>SEE ALSO</h2>
<a name="id2545298"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">host</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
@@ -624,7 +620,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545352"></a><h2>BUGS</h2>
<a name="id2545335"></a><h2>BUGS</h2>
<p>
There are probably too many query options.
</p>
+130 -147
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.309 2008/04/03 02:01:08 marka Exp $ */
/* $Id: dighost.c,v 1.259.18.43.10.3 2008/07/23 23:16:43 marka Exp $ */
/*! \file
* \note
@@ -277,7 +277,7 @@ dns_name_t chase_name; /* the query name */
/*
* the current name is the parent name when we follow delegation
*/
dns_name_t chase_current_name;
dns_name_t chase_current_name;
/*
* the child name is used for delegation (NS DS responses in AUTHORITY section)
*/
@@ -493,7 +493,6 @@ void
fatal(const char *format, ...) {
va_list args;
fflush(stdout);
fprintf(stderr, "%s: ", progname);
va_start(args, format);
vfprintf(stderr, format, args);
@@ -511,7 +510,6 @@ debug(const char *format, ...) {
va_list args;
if (debugging) {
fflush(stdout);
va_start(args, format);
vfprintf(stderr, format, args);
va_end(args);
@@ -618,13 +616,13 @@ set_nameserver(char *opt) {
return;
result = bind9_getaddresses(opt, 0, sockaddrs,
DIG_MAX_ADDRESSES, &count);
DIG_MAX_ADDRESSES, &count);
if (result != ISC_R_SUCCESS)
fatal("couldn't get address for '%s': %s",
opt, isc_result_totext(result));
flush_server_list();
for (i = 0; i < count; i++) {
isc_netaddr_fromsockaddr(&netaddr, &sockaddrs[i]);
isc_netaddr_format(&netaddr, tmp, sizeof(tmp));
@@ -724,7 +722,6 @@ make_empty_lookup(void) {
looknew->servfail_stops = ISC_TRUE;
looknew->besteffort = ISC_TRUE;
looknew->dnssec = ISC_FALSE;
looknew->nsid = ISC_FALSE;
#ifdef DIG_SIGCHASE
looknew->sigchase = ISC_FALSE;
#if DIG_SIGCHASE_TD
@@ -804,7 +801,6 @@ clone_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
looknew->servfail_stops = lookold->servfail_stops;
looknew->besteffort = lookold->besteffort;
looknew->dnssec = lookold->dnssec;
looknew->nsid = lookold->nsid;
#ifdef DIG_SIGCHASE
looknew->sigchase = lookold->sigchase;
#if DIG_SIGCHASE_TD
@@ -895,7 +891,7 @@ setup_text_key(void) {
result = isc_base64_decodestring(keysecret, &secretbuf);
if (result != ISC_R_SUCCESS)
goto failure;
secretsize = isc_buffer_usedlength(&secretbuf);
result = dns_name_fromtext(&keyname, namebuf,
@@ -1029,7 +1025,7 @@ setup_system(void) {
domain = NULL;
}
}
if (ndots == -1) {
ndots = lwconf->ndots;
debug("ndots is %d.", ndots);
@@ -1092,7 +1088,7 @@ clear_searchlist(void) {
void
set_search_domain(char *domain) {
dig_searchlist_t *search;
clear_searchlist();
search = make_searchlist_entry(domain);
ISC_LIST_APPEND(search_list, search, link);
@@ -1157,11 +1153,11 @@ setup_libs(void) {
/*%
* Add EDNS0 option record to a message. Currently, the only supported
* options are UDP buffer size, the DO bit, and NSID request.
* options are UDP buffer size and the DO bit.
*/
static void
add_opt(dns_message_t *msg, isc_uint16_t udpsize, isc_uint16_t edns,
isc_boolean_t dnssec, isc_boolean_t nsid)
isc_boolean_t dnssec)
{
dns_rdataset_t *rdataset = NULL;
dns_rdatalist_t *rdatalist = NULL;
@@ -1184,19 +1180,8 @@ add_opt(dns_message_t *msg, isc_uint16_t udpsize, isc_uint16_t edns,
rdatalist->ttl = edns << 16;
if (dnssec)
rdatalist->ttl |= DNS_MESSAGEEXTFLAG_DO;
if (nsid) {
unsigned char data[4];
isc_buffer_t buf;
isc_buffer_init(&buf, data, sizeof(data));
isc_buffer_putuint16(&buf, DNS_OPT_NSID);
isc_buffer_putuint16(&buf, 0);
rdata->data = data;
rdata->length = sizeof(data);
} else {
rdata->data = NULL;
rdata->length = 0;
}
rdata->data = NULL;
rdata->length = 0;
ISC_LIST_INIT(rdatalist->rdata);
ISC_LIST_APPEND(rdatalist->rdata, rdata, link);
dns_rdatalist_tordataset(rdatalist, rdataset);
@@ -1424,7 +1409,7 @@ start_lookup(void) {
current_lookup->qrdtype_sigchase
= current_lookup->qrdtype;
current_lookup->qrdtype = dns_rdatatype_ns;
current_lookup->rdclass_sigchase
= current_lookup->rdclass;
current_lookup->rdclass_sigchaseset
@@ -1505,7 +1490,7 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
INSIST(!free_now);
debug("following up %s", query->lookup->textname);
for (result = dns_message_firstname(msg, section);
result == ISC_R_SUCCESS;
result = dns_message_nextname(msg, section)) {
@@ -1560,8 +1545,7 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
dns_rdataset_current(rdataset, &rdata);
query->lookup->nsfound++;
result = dns_rdata_tostruct(&rdata, &ns, NULL);
check_result(result, "dns_rdata_tostruct");
(void)dns_rdata_tostruct(&rdata, &ns, NULL);
dns_name_format(&ns.name, namestr, sizeof(namestr));
dns_rdata_freestruct(&ns);
@@ -1966,15 +1950,12 @@ setup_lookup(dig_lookup_t *lookup) {
if ((lookup->rdtype == dns_rdatatype_axfr) ||
(lookup->rdtype == dns_rdatatype_ixfr)) {
lookup->doing_xfr = ISC_TRUE;
/*
* Force TCP mode if we're doing an axfr.
* Force TCP mode if we're doing an xfr.
* XXX UDP ixfr's would be useful
*/
if (lookup->rdtype == dns_rdatatype_axfr) {
lookup->doing_xfr = ISC_TRUE;
lookup->tcp_mode = ISC_TRUE;
} else if (lookup->tcp_mode) {
lookup->doing_xfr = ISC_TRUE;
}
lookup->tcp_mode = ISC_TRUE;
}
add_question(lookup->sendmsg, lookup->name, lookup->rdclass,
@@ -2011,7 +1992,7 @@ setup_lookup(dig_lookup_t *lookup) {
if (lookup->edns < 0)
lookup->edns = 0;
add_opt(lookup->sendmsg, lookup->udpsize,
lookup->edns, lookup->dnssec, lookup->nsid);
lookup->edns, lookup->dnssec);
}
result = dns_message_rendersection(lookup->sendmsg,
@@ -2108,7 +2089,7 @@ send_done(isc_task_t *_task, isc_event_t *event) {
for (b = ISC_LIST_HEAD(sevent->bufferlist);
b != NULL;
b = ISC_LIST_HEAD(sevent->bufferlist))
b = ISC_LIST_HEAD(sevent->bufferlist))
ISC_LIST_DEQUEUE(sevent->bufferlist, b, link);
query = event->ev_arg;
@@ -2188,7 +2169,7 @@ bringup_timer(dig_query_t *query, unsigned int default_timeout) {
&l->interval, global_task, connect_timeout,
l, &l->timer);
check_result(result, "isc_timer_create");
}
}
static void
connect_done(isc_task_t *task, isc_event_t *event);
@@ -2210,7 +2191,7 @@ send_tcp_connect(dig_query_t *query) {
query->waiting_connect = ISC_TRUE;
query->lookup->current_query = query;
get_address(query->servname, port, &query->sockaddr);
if (specified_source &&
(isc_sockaddr_pf(&query->sockaddr) !=
isc_sockaddr_pf(&bind_address))) {
@@ -2236,14 +2217,15 @@ send_tcp_connect(dig_query_t *query) {
sockcount++;
debug("sockcount=%d", sockcount);
if (specified_source)
result = isc_socket_bind(query->sock, &bind_address);
result = isc_socket_bind(query->sock, &bind_address,
ISC_SOCKET_REUSEADDRESS);
else {
if ((isc_sockaddr_pf(&query->sockaddr) == AF_INET) &&
have_ipv4)
isc_sockaddr_any(&bind_any);
else
isc_sockaddr_any6(&bind_any);
result = isc_socket_bind(query->sock, &bind_any);
result = isc_socket_bind(query->sock, &bind_any, 0);
}
check_result(result, "isc_socket_bind");
bringup_timer(query, TCP_TIMEOUT);
@@ -2290,11 +2272,12 @@ send_udp(dig_query_t *query) {
sockcount++;
debug("sockcount=%d", sockcount);
if (specified_source) {
result = isc_socket_bind(query->sock, &bind_address);
result = isc_socket_bind(query->sock, &bind_address,
ISC_SOCKET_REUSEADDRESS);
} else {
isc_sockaddr_anyofpf(&bind_any,
isc_sockaddr_pf(&query->sockaddr));
result = isc_socket_bind(query->sock, &bind_any);
result = isc_socket_bind(query->sock, &bind_any, 0);
}
check_result(result, "isc_socket_bind");
@@ -2680,8 +2663,7 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
goto next_rdata;
/* Now we have an SOA. Work with it. */
debug("got an SOA");
result = dns_rdata_tostruct(&rdata, &soa, NULL);
check_result(result, "dns_rdata_tostruct");
(void)dns_rdata_tostruct(&rdata, &soa, NULL);
serial = soa.serial;
dns_rdata_freestruct(&soa);
if (!query->first_soa_rcvd) {
@@ -2844,13 +2826,13 @@ recv_done(isc_task_t *task, isc_event_t *event) {
char buf2[ISC_SOCKADDR_FORMATSIZE];
isc_sockaddr_t any;
if (isc_sockaddr_pf(&query->sockaddr) == AF_INET)
if (isc_sockaddr_pf(&query->sockaddr) == AF_INET)
isc_sockaddr_any(&any);
else
isc_sockaddr_any6(&any);
/*
* We don't expect a match when the packet is
* We don't expect a match when the packet is
* sent to 0.0.0.0, :: or to a multicast addresses.
* XXXMPA broadcast needs to be handled here as well.
*/
@@ -2868,7 +2850,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
}
}
result = dns_message_peekheader(b, &id, &msgflags);
result = dns_message_peekheader(b, &id, &msgflags);
if (result != ISC_R_SUCCESS || l->sendmsg->id != id) {
match = ISC_FALSE;
if (l->tcp_mode) {
@@ -2973,7 +2955,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
return;
}
if ((msg->flags & DNS_MESSAGEFLAG_TC) != 0 &&
!l->ignore && !l->tcp_mode) {
!l->ignore && !l->tcp_mode) {
printf(";; Truncated, retrying in TCP mode.\n");
n = requeue_lookup(l, ISC_TRUE);
n->tcp_mode = ISC_TRUE;
@@ -2985,7 +2967,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
check_next_lookup(l);
UNLOCK_LOOKUP;
return;
}
}
if ((msg->rcode == dns_rcode_servfail && !l->servfail_stops) ||
(check_ra && (msg->flags & DNS_MESSAGEFLAG_RA) == 0 && l->recurse))
{
@@ -3111,7 +3093,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
if (l->trace_root) {
/*
* This is the initial NS query.
* This is the initial NS query.
*/
int n;
@@ -3126,7 +3108,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
if (!do_sigchase)
#endif
printmessage(query, msg, ISC_TRUE);
}
}
#ifdef DIG_SIGCHASE
if (do_sigchase) {
chase_msg = isc_mem_allocate(mctx,
@@ -3145,13 +3127,13 @@ recv_done(isc_task_t *task, isc_event_t *event) {
isc_buffer_usedregion(b, &r);
result = isc_buffer_allocate(mctx, &buf, r.length);
check_result(result, "isc_buffer_allocate");
result = isc_buffer_copyregion(buf, &r);
check_result(result, "isc_buffer_copyregion");
result = dns_message_parse(msg_temp, buf, 0);
isc_buffer_free(&buf);
chase_msg->msg = msg_temp;
@@ -3167,9 +3149,9 @@ recv_done(isc_task_t *task, isc_event_t *event) {
}
#endif
}
#ifdef DIG_SIGCHASE
if (l->sigchase && ISC_LIST_EMPTY(lookup_list)) {
if (l->sigchase && ISC_LIST_EMPTY(lookup_list)) {
sigchase(msg_temp);
}
#endif
@@ -3326,7 +3308,7 @@ cancel_all(void) {
*/
void
destroy_libs(void) {
#ifdef DIG_SIGCHASE
#ifdef DIG_SIGCHASE
void * ptr;
dig_message_t *chase_msg;
#endif
@@ -3366,8 +3348,8 @@ destroy_libs(void) {
clear_searchlist();
#ifdef WITH_IDN
result = dns_name_settotextfilter(NULL);
check_result(result, "dns_name_settotextfilter");
result = dns_name_settotextfilter(NULL);
check_result(result, "dns_name_settotextfilter");
#endif
dns_name_destroy();
@@ -3439,7 +3421,7 @@ destroy_libs(void) {
#endif
debug("Destroy memory");
#endif
if (memdebugging != 0)
isc_mem_stats(mctx, stderr);
@@ -3536,7 +3518,7 @@ append_textname(char *name, const char *origin, size_t namesize) {
(void)strcpy(name + namelen, origin);
return idn_success;
}
static void
idn_check_result(idn_result_t r, const char *msg) {
if (r != idn_success) {
@@ -3572,14 +3554,14 @@ void
dump_database_section(dns_message_t *msg, int section)
{
dns_name_t *msg_name=NULL;
dns_rdataset_t *rdataset;
do {
dns_message_currentname(msg, section, &msg_name);
for (rdataset = ISC_LIST_HEAD(msg_name->list); rdataset != NULL;
rdataset = ISC_LIST_NEXT(rdataset, link)) {
rdataset = ISC_LIST_NEXT(rdataset, link)) {
dns_name_print(msg_name, stdout);
printf("\n");
print_rdataset(msg_name, rdataset, mctx);
@@ -3596,15 +3578,15 @@ dump_database(void) {
for (msg = ISC_LIST_HEAD(chase_message_list); msg != NULL;
msg = ISC_LIST_NEXT(msg, link)) {
if (dns_message_firstname(msg->msg, DNS_SECTION_ANSWER)
== ISC_R_SUCCESS)
== ISC_R_SUCCESS)
dump_database_section(msg->msg, DNS_SECTION_ANSWER);
if (dns_message_firstname(msg->msg, DNS_SECTION_AUTHORITY)
== ISC_R_SUCCESS)
== ISC_R_SUCCESS)
dump_database_section(msg->msg, DNS_SECTION_AUTHORITY);
if (dns_message_firstname(msg->msg, DNS_SECTION_ADDITIONAL)
== ISC_R_SUCCESS)
== ISC_R_SUCCESS)
dump_database_section(msg->msg, DNS_SECTION_ADDITIONAL);
}
}
@@ -3634,7 +3616,7 @@ search_type(dns_name_t *name, dns_rdatatype_t type, dns_rdatatype_t covers) {
if ((siginfo.covered == covers) ||
(covers == dns_rdatatype_any)) {
dns_rdata_reset(&sigrdata);
dns_rdata_freestruct(&siginfo);
dns_rdata_freestruct(&siginfo);
return (rdataset);
}
dns_rdata_reset(&sigrdata);
@@ -3672,7 +3654,7 @@ chase_scanname(dns_name_t *name, dns_rdatatype_t type, dns_rdatatype_t covers)
{
dns_rdataset_t *rdataset = NULL;
dig_message_t * msg;
for (msg = ISC_LIST_HEAD(chase_message_list2); msg != NULL;
msg = ISC_LIST_NEXT(msg, link)) {
if (dns_message_firstname(msg->msg, DNS_SECTION_ANSWER)
@@ -3765,7 +3747,7 @@ insert_trustedkey(dst_key_t * key)
return;
tk_list.key[tk_list.nb_tk++] = key;
return;
return;
}
void
@@ -3788,7 +3770,7 @@ char alphnum[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
isc_result_t
removetmpkey(isc_mem_t *mctx, const char *file)
removetmpkey(isc_mem_t *mctx, const char *file)
{
char *tempnamekey = NULL;
int tempnamekeylen;
@@ -3801,7 +3783,7 @@ removetmpkey(isc_mem_t *mctx, const char *file)
return (ISC_R_NOMEMORY);
memset(tempnamekey, 0, tempnamekeylen);
strcat(tempnamekey, file);
strcat(tempnamekey,".key");
isc_file_remove(tempnamekey);
@@ -3841,24 +3823,24 @@ opentmpkey(isc_mem_t *mctx, const char *file, char **tempp, FILE **fp) {
isc_mem_free(mctx, tempname);
return (ISC_R_FAILURE);
}
x = cp--;
while (cp >= tempname && *cp == 'X') {
isc_random_get(&which);
*cp = alphnum[which % (sizeof(alphnum) - 1)];
x = cp--;
}
tempnamekeylen = tempnamelen+5;
tempnamekey = isc_mem_allocate(mctx, tempnamekeylen);
if (tempnamekey == NULL)
return (ISC_R_NOMEMORY);
memset(tempnamekey, 0, tempnamekeylen);
strncpy(tempnamekey, tempname, tempnamelen);
strcat(tempnamekey ,".key");
if (isc_file_exists(tempnamekey)) {
isc_mem_free(mctx, tempnamekey);
isc_mem_free(mctx, tempname);
@@ -3879,7 +3861,7 @@ opentmpkey(isc_mem_t *mctx, const char *file, char **tempp, FILE **fp) {
cleanup:
isc_mem_free(mctx, tempname);
return (result);
}
@@ -3893,7 +3875,7 @@ get_trusted_key(isc_mem_t *mctx)
char buf[1500];
FILE *fp, *fptemp;
dst_key_t *key = NULL;
result = isc_file_exists(trustedkey);
if (result != ISC_TRUE) {
result = isc_file_exists("/etc/trusted-key.key");
@@ -3971,11 +3953,11 @@ nameFromString(const char *str, dns_name_t *p_ret) {
result = dns_name_dup(dns_fixedname_name(&fixedname), mctx, p_ret);
check_result(result, "nameFromString");
}
}
#if DIG_SIGCHASE_TD
isc_result_t
isc_result_t
prepare_lookup(dns_name_t *name)
{
isc_result_t result;
@@ -3993,7 +3975,7 @@ prepare_lookup(dns_name_t *name)
lookup->rdtype = lookup->rdtype_sigchase;
lookup->rdtypeset = ISC_TRUE;
lookup->qrdtype = lookup->qrdtype_sigchase;
s = ISC_LIST_HEAD(lookup->my_server_list);
while (s != NULL) {
debug("freeing server %p belonging to %p",
@@ -4026,11 +4008,12 @@ prepare_lookup(dns_name_t *name)
dns_rdataset_current(chase_nsrdataset, &rdata);
result = dns_rdata_tostruct(&rdata, &ns, NULL);
check_result(result, "dns_rdata_tostruct");
(void)dns_rdata_tostruct(&rdata, &ns, NULL);
#ifdef __FOLLOW_GLUE__
result = advanced_rrsearch(&rdataset, &ns.name,
dns_rdatatype_aaaa,
dns_rdatatype_any, &true);
@@ -4054,12 +4037,12 @@ prepare_lookup(dns_name_t *name)
srv = make_server(namestr, namestr);
ISC_LIST_APPEND(lookup->my_server_list,
srv, link);
}
}
rdataset = NULL;
result = advanced_rrsearch(&rdataset, &ns.name, dns_rdatatype_a,
dns_rdatatype_any, &true);
@@ -4081,28 +4064,28 @@ prepare_lookup(dns_name_t *name)
isc_buffer_free(&b);
dns_rdata_reset(&a);
printf("ns name: %s\n", namestr);
srv = make_server(namestr, namestr);
ISC_LIST_APPEND(lookup->my_server_list,
srv, link);
}
}
#else
dns_name_format(&ns.name, namestr, sizeof(namestr));
printf("ns name: ");
dns_name_print(&ns.name, stdout);
printf("\n");
srv = make_server(namestr, namestr);
ISC_LIST_APPEND(lookup->my_server_list, srv, link);
#endif
#endif
dns_rdata_freestruct(&ns);
dns_rdata_reset(&rdata);
}
ISC_LIST_APPEND(lookup_list, lookup, link);
@@ -4156,10 +4139,10 @@ grandfather_pb_test(dns_name_t *zone_name, dns_rdataset_t *sigrdataset)
do {
dns_rdataset_current(sigrdataset, &sigrdata);
result = dns_rdata_tostruct(&sigrdata, &siginfo, NULL);
check_result(result, "sigrdata tostruct siginfo");
if (dns_name_compare(&siginfo.signer, zone_name) == 0) {
dns_rdata_freestruct(&siginfo);
dns_rdata_reset(&sigrdata);
@@ -4167,7 +4150,7 @@ grandfather_pb_test(dns_name_t *zone_name, dns_rdataset_t *sigrdataset)
}
dns_rdata_freestruct(&siginfo);
} while (dns_rdataset_next(chase_sigkeyrdataset) == ISC_R_SUCCESS);
dns_rdata_reset(&sigrdata);
@@ -4197,7 +4180,7 @@ initialization(dns_name_t *name)
return (ISC_R_SUCCESS);
}
#endif
#endif
void
print_rdataset(dns_name_t *name, dns_rdataset_t *rdataset, isc_mem_t *mctx)
@@ -4221,10 +4204,10 @@ print_rdataset(dns_name_t *name, dns_rdataset_t *rdataset, isc_mem_t *mctx)
}
void
void
dup_name(dns_name_t *source, dns_name_t *target, isc_mem_t *mctx) {
isc_result_t result;
isc_result_t result;
if (dns_name_dynamic(target))
free_name(target, mctx);
result = dns_name_dup(source, mctx, target);
@@ -4243,7 +4226,7 @@ free_name(dns_name_t *name, isc_mem_t *mctx) {
* return ISC_R_SUCCESS if the DNSKEY RRset contains a trusted_key
* and the RRset is valid
* return ISC_R_NOTFOUND if not contains trusted key
or if the RRset isn't valid
or if the RRset isn't valid
* return ISC_R_FAILURE if problem
*
*/
@@ -4268,17 +4251,17 @@ contains_trusted_key(dns_name_t *name, dns_rdataset_t *rdataset,
do {
dns_rdataset_current(rdataset, &rdata);
INSIST(rdata.type == dns_rdatatype_dnskey);
result = dns_dnssec_keyfromrdata(name, &rdata,
mctx, &dnsseckey);
check_result(result, "dns_dnssec_keyfromrdata");
for (i = 0; i < tk_list.nb_tk; i++) {
if (dst_key_compare(tk_list.key[i], dnsseckey)
== ISC_TRUE) {
dns_rdata_reset(&rdata);
printf(";; Ok, find a Trusted Key in the "
"DNSKEY RRset: %d\n",
dst_key_id(dnsseckey));
@@ -4293,7 +4276,7 @@ contains_trusted_key(dns_name_t *name, dns_rdataset_t *rdataset,
}
}
}
dns_rdata_reset(&rdata);
if (dnsseckey != NULL)
dst_key_free(&dnsseckey);
@@ -4323,7 +4306,7 @@ sigchase_verify_sig(dns_name_t *name, dns_rdataset_t *rdataset,
do {
dns_rdataset_current(keyrdataset, &keyrdata);
INSIST(keyrdata.type == dns_rdatatype_dnskey);
result = dns_dnssec_keyfromrdata(name, &keyrdata,
mctx, &dnsseckey);
check_result(result, "dns_dnssec_keyfromrdata");
@@ -4355,22 +4338,22 @@ sigchase_verify_sig_key(dns_name_t *name, dns_rdataset_t *rdataset,
result = dns_rdataset_first(sigrdataset);
check_result(result, "empty RRSIG dataset");
dns_rdata_init(&sigrdata);
do {
dns_rdataset_current(sigrdataset, &sigrdata);
result = dns_rdata_tostruct(&sigrdata, &siginfo, NULL);
check_result(result, "sigrdata tostruct siginfo");
/*
* Test if the id of the DNSKEY is
* the id of the DNSKEY signer's
*/
if (siginfo.keyid == dst_key_id(dnsseckey)) {
result = dns_rdataset_first(rdataset);
check_result(result, "empty DS dataset");
result = dns_dnssec_verify(name, rdataset, dnsseckey,
ISC_FALSE, mctx, &sigrdata);
@@ -4387,7 +4370,7 @@ sigchase_verify_sig_key(dns_name_t *name, dns_rdataset_t *rdataset,
}
}
dns_rdata_freestruct(&siginfo);
} while (dns_rdataset_next(chase_sigkeyrdataset) == ISC_R_SUCCESS);
dns_rdata_reset(&sigrdata);
@@ -4413,18 +4396,18 @@ sigchase_verify_ds(dns_name_t *name, dns_rdataset_t *keyrdataset,
dns_rdata_init(&dsrdata);
do {
dns_rdataset_current(dsrdataset, &dsrdata);
result = dns_rdata_tostruct(&dsrdata, &dsinfo, NULL);
check_result(result, "dns_rdata_tostruct for DS");
result = dns_rdataset_first(keyrdataset);
check_result(result, "empty KEY dataset");
dns_rdata_init(&keyrdata);
dns_rdata_init(&keyrdata);
do {
dns_rdataset_current(keyrdataset, &keyrdata);
INSIST(keyrdata.type == dns_rdatatype_dnskey);
result = dns_dnssec_keyfromrdata(name, &keyrdata,
mctx, &dnsseckey);
check_result(result, "dns_dnssec_keyfromrdata");
@@ -4439,20 +4422,20 @@ sigchase_verify_ds(dns_name_t *name, dns_rdataset_t *keyrdataset,
result = dns_ds_buildrdata(name, &keyrdata,
dsinfo.digest_type,
dsbuf, &newdsrdata);
dns_rdata_freestruct(&dsinfo);
dns_rdata_freestruct(&dsinfo);
if (result != ISC_R_SUCCESS) {
dns_rdata_reset(&keyrdata);
dns_rdata_reset(&newdsrdata);
dns_rdata_reset(&dsrdata);
dst_key_free(&dnsseckey);
dns_rdata_freestruct(&dsinfo);
dns_rdata_freestruct(&dsinfo);
printf("Oops: impossible to build"
" new DS rdata\n");
return (result);
}
if (dns_rdata_compare(&dsrdata,
&newdsrdata) == 0) {
printf(";; OK a DS valids a DNSKEY"
@@ -4460,7 +4443,7 @@ sigchase_verify_ds(dns_name_t *name, dns_rdataset_t *keyrdataset,
printf(";; Now verify that this"
" DNSKEY validates the "
"DNSKEY RRset\n");
result = sigchase_verify_sig_key(name,
keyrdataset,
dnsseckey,
@@ -4471,7 +4454,7 @@ sigchase_verify_ds(dns_name_t *name, dns_rdataset_t *keyrdataset,
dns_rdata_reset(&newdsrdata);
dns_rdata_reset(&dsrdata);
dst_key_free(&dnsseckey);
return (result);
}
} else {
@@ -4485,12 +4468,12 @@ sigchase_verify_ds(dns_name_t *name, dns_rdataset_t *keyrdataset,
dnsseckey = NULL;
} while (dns_rdataset_next(chase_keyrdataset) == ISC_R_SUCCESS);
dns_rdata_reset(&keyrdata);
} while (dns_rdataset_next(chase_dsrdataset) == ISC_R_SUCCESS);
#if 0
dns_rdata_reset(&dsrdata); WARNING
#endif
return (ISC_R_NOTFOUND);
}
@@ -4503,13 +4486,13 @@ sigchase_verify_ds(dns_name_t *name, dns_rdataset_t *keyrdataset,
* ISC_R_SUCCESS: if we found the rrset
* ISC_R_NOTFOUND: we do not found the rrset in cache
* and we do a query on the net
* ISC_R_FAILURE: rrset not found
* ISC_R_FAILURE: rrset not found
*/
isc_result_t
advanced_rrsearch(dns_rdataset_t **rdataset, dns_name_t *name,
dns_rdatatype_t type, dns_rdatatype_t covers,
isc_boolean_t *lookedup)
{
{
isc_boolean_t tmplookedup;
INSIST(rdataset != NULL);
@@ -4584,7 +4567,7 @@ sigchase_td(dns_message_t *msg)
}
}
if (have_answer) {
chase_rdataset
= chase_scanname_section(msg, &chase_name,
@@ -4644,7 +4627,7 @@ sigchase_td(dns_message_t *msg)
chase_dsrdataset,
mctx);
}
if (result != ISC_R_SUCCESS) {
printf("\n;; chain of trust can't be validated:"
" FAILED\n\n");
@@ -4696,7 +4679,7 @@ sigchase_td(dns_message_t *msg)
chase_sigrdataset = NULL;
have_response = ISC_FALSE;
have_delegation_ns = ISC_FALSE;
dns_name_init(&tmp_name, NULL);
result = child_of_zone(&chase_name, &chase_current_name,
&tmp_name);
@@ -4775,10 +4758,10 @@ sigchase_td(dns_message_t *msg)
}
chase_keyrdataset = NULL;
chase_sigkeyrdataset = NULL;
prepare_lookup(&chase_authority_name);
have_response = ISC_FALSE;
have_delegation_ns = ISC_FALSE;
delegation_follow = ISC_TRUE;
@@ -4872,7 +4855,7 @@ sigchase_td(dns_message_t *msg)
}
}
#endif
#endif
#if DIG_SIGCHASE_BU
@@ -4889,7 +4872,7 @@ getneededrr(dns_message_t *msg)
if ((result = dns_message_firstname(msg, DNS_SECTION_ANSWER))
!= ISC_R_SUCCESS) {
printf(";; NO ANSWERS: %s\n", isc_result_totext(result));
if (chase_name.ndata == NULL)
return (ISC_R_ADDRNOTAVAIL);
} else {
@@ -4932,7 +4915,7 @@ getneededrr(dns_message_t *msg)
}
INSIST(chase_sigrdataset != NULL);
/* first find the DNSKEY name */
result = dns_rdataset_first(chase_sigrdataset);
check_result(result, "empty RRSIG dataset");
@@ -4943,7 +4926,7 @@ getneededrr(dns_message_t *msg)
dup_name(&siginfo.signer, &chase_signame, mctx);
dns_rdata_freestruct(&siginfo);
dns_rdata_reset(&sigrdata);
/* Do we have a key? */
if (chase_keyrdataset == NULL) {
result = advanced_rrsearch(&chase_keyrdataset,
@@ -5012,7 +4995,7 @@ getneededrr(dns_message_t *msg)
print_rdataset(&chase_signame, chase_dsrdataset, mctx);
}
}
if (chase_dsrdataset != NULL) {
/*
* if there is no RRSIG of DS,
@@ -5071,7 +5054,7 @@ sigchase_bu(dns_message_t *msg)
dns_name_init(&query_name, NULL);
dns_name_init(&rdata_name, NULL);
nameFromString(current_lookup->textname, &query_name);
result = prove_nx(msg, &query_name, current_lookup->rdclass,
current_lookup->rdtype, &rdata_name,
&rdataset, &sigrdataset);
@@ -5093,7 +5076,7 @@ sigchase_bu(dns_message_t *msg)
}
printf(";; An NSEC prove the non-existence of a answers,"
" Now we want validate this NSEC\n");
dup_name(&rdata_name, &chase_name, mctx);
free_name(&rdata_name, mctx);
chase_rdataset = rdataset;
@@ -5174,7 +5157,7 @@ sigchase_bu(dns_message_t *msg)
chase_sigdsrdataset = NULL;
chase_siglookedup = chase_keylookedup = ISC_FALSE;
chase_dslookedup = chase_sigdslookedup = ISC_FALSE;
printf(";; Now, we want to validate the DS : recursive call\n");
sigchase(msg);
return;
@@ -5267,7 +5250,7 @@ prove_nx_domain(dns_message_t *msg,
" validate the non-existence : FAILED\n");
return (ISC_R_FAILURE);
}
do {
nsecname = NULL;
dns_message_currentname(msg, DNS_SECTION_AUTHORITY, &nsecname);
@@ -5345,7 +5328,7 @@ prove_nx_type(dns_message_t *msg, dns_name_t *name, dns_rdataset_t *nsecset,
ret = dns_rdataset_first(nsecset);
check_result(ret,"dns_rdataset_first");
dns_rdataset_current(nsecset, &nsec);
ret = dns_nsec_typepresent(&nsec, type);
@@ -5413,6 +5396,6 @@ prove_nx(dns_message_t *msg, dns_name_t *name, dns_rdataclass_t class,
rdataset, sigrdataset);
return (ret);
}
/* Never get here */
/* Never get here */
}
#endif
+4 -4
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: host.1,v 1.29 2008/04/05 01:09:34 tbox Exp $
.\" $Id: host.1,v 1.14.18.14 2007/05/09 03:33:12 marka Exp $
.\"
.hy 0
.ad l
@@ -154,7 +154,7 @@ option is used to select the query type.
\fItype\fR
can be any recognized query type: CNAME, NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
\fBhost\fR
automatically selects an appropriate query type. By default it looks for A, AAAA, and MX records, but if the
automatically selects an appropriate query type. By default it looks for A records, but if the
\fB\-C\fR
option was given, queries will be made for SOA records, and if
\fIname\fR
@@ -213,7 +213,7 @@ runs.
\fBdig\fR(1),
\fBnamed\fR(8).
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br
+1 -2
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: host.c,v 1.116 2007/12/03 00:21:48 marka Exp $ */
/* $Id: host.c,v 1.94.18.19 2007/08/28 07:19:55 tbox Exp $ */
/*! \file */
@@ -689,7 +689,6 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
lookup->tcp_mode = ISC_TRUE;
} else if (rdtype == dns_rdatatype_ixfr) {
lookup->ixfr_serial = serial;
lookup->tcp_mode = ISC_TRUE;
list_type = rdtype;
#ifdef WITH_IDN
} else if (rdtype == dns_rdatatype_a ||
+3 -4
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.docbook,v 1.18 2008/04/04 23:47:01 tbox Exp $ -->
<!-- $Id: host.docbook,v 1.5.18.11 2007/08/28 07:19:55 tbox Exp $ -->
<refentry id="man.host">
<refentryinfo>
@@ -41,7 +41,6 @@
<year>2004</year>
<year>2005</year>
<year>2007</year>
<year>2008</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -200,7 +199,7 @@
NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
<command>host</command> automatically selects an appropriate
query
type. By default it looks for A, AAAA, and MX records, but if the
type. By default it looks for A records, but if the
<option>-C</option> option was given, queries will be made for SOA
records, and if <parameter>name</parameter> is a
dotted-decimal IPv4
+7 -7
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.html,v 1.28 2008/04/05 01:09:34 tbox Exp $ -->
<!-- $Id: host.html,v 1.7.18.20 2007/05/09 03:33:12 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">host</code> [<code class="option">-aCdlnrsTwv</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-N <em class="replaceable"><code>ndots</code></em></code>] [<code class="option">-R <em class="replaceable"><code>number</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-W <em class="replaceable"><code>wait</code></em></code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] {name} [server]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543431"></a><h2>DESCRIPTION</h2>
<a name="id2543428"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">host</strong></span>
is a simple utility for performing DNS lookups.
It is normally used to convert names to IP addresses and vice versa.
@@ -148,7 +148,7 @@
NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
<span><strong class="command">host</strong></span> automatically selects an appropriate
query
type. By default it looks for A, AAAA, and MX records, but if the
type. By default it looks for A records, but if the
<code class="option">-C</code> option was given, queries will be made for SOA
records, and if <em class="parameter"><code>name</code></em> is a
dotted-decimal IPv4
@@ -184,7 +184,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543797"></a><h2>IDN SUPPORT</h2>
<a name="id2543725"></a><h2>IDN SUPPORT</h2>
<p>
If <span><strong class="command">host</strong></span> has been built with IDN (internationalized
domain name) support, it can accept and display non-ASCII domain names.
@@ -198,12 +198,12 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543819"></a><h2>FILES</h2>
<a name="id2543748"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543831"></a><h2>SEE ALSO</h2>
<a name="id2543828"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
</p>
+15 -16
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.h,v 1.107 2008/04/03 06:09:04 tbox Exp $ */
/* $Id: dig.h,v 1.82.18.23 2007/08/28 07:19:55 tbox Exp $ */
#ifndef DIG_H
#define DIG_H
@@ -102,7 +102,7 @@ typedef struct dig_searchlist dig_searchlist_t;
/*% The dig_lookup structure */
struct dig_lookup {
isc_boolean_t
pending, /*%< Pending a successful answer */
pending, /*%< Pending a successful answer */
waiting_connect,
doing_xfr,
ns_search_only, /*%< dig +nssearch, host -C */
@@ -129,28 +129,27 @@ struct dig_lookup {
need_search,
done_as_is,
besteffort,
dnssec,
nsid; /*% Name Server ID (RFC 5001) */
dnssec;
#ifdef DIG_SIGCHASE
isc_boolean_t sigchase;
#if DIG_SIGCHASE_TD
isc_boolean_t do_topdown,
trace_root_sigchase,
rdtype_sigchaseset,
rdclass_sigchaseset;
isc_boolean_t do_topdown,
trace_root_sigchase,
rdtype_sigchaseset,
rdclass_sigchaseset;
/* Name we are going to validate RRset */
char textnamesigchase[MXNAME];
char textnamesigchase[MXNAME];
#endif
#endif
char textname[MXNAME]; /*% Name we're going to be looking up */
char cmdline[MXNAME];
dns_rdatatype_t rdtype;
dns_rdatatype_t qrdtype;
#if DIG_SIGCHASE_TD
dns_rdatatype_t rdtype_sigchase;
dns_rdatatype_t qrdtype_sigchase;
dns_rdataclass_t rdclass_sigchase;
dns_rdatatype_t rdtype_sigchase;
dns_rdatatype_t qrdtype_sigchase;
dns_rdataclass_t rdclass_sigchase;
#endif
dns_rdataclass_t rdclass;
isc_boolean_t rdtypeset;
@@ -232,7 +231,7 @@ struct dig_searchlist {
};
#ifdef DIG_SIGCHASE
struct dig_message {
dns_message_t *msg;
dns_message_t *msg;
ISC_LINK(dig_message_t) link;
};
#endif
@@ -250,7 +249,7 @@ extern dig_searchlistlist_t search_list;
extern unsigned int extrabytes;
extern isc_boolean_t check_ra, have_ipv4, have_ipv6, specified_source,
usesearch, showsearch, qr;
usesearch, showsearch, qr;
extern in_port_t port;
extern unsigned int timeout;
extern isc_mem_t *mctx;
+1 -1
View File
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: nslookup.1,v 1.14 2007/05/16 06:12:01 marka Exp $
.\" $Id: nslookup.1,v 1.1.10.14 2007/05/16 06:11:27 marka Exp $
.\"
.hy 0
.ad l
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nslookup.c,v 1.117 2007/06/18 23:47:17 tbox Exp $ */
/* $Id: nslookup.c,v 1.101.18.15 2007/08/28 07:19:55 tbox Exp $ */
#include <config.h>
+1 -1
View File
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.docbook,v 1.16 2007/06/18 23:47:17 tbox Exp $ -->
<!-- $Id: nslookup.docbook,v 1.4.2.13 2007/08/28 07:19:55 tbox Exp $ -->
<!--
- Copyright (c) 1985, 1989
- The Regents of the University of California. All rights reserved.
+1 -1
View File
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.html,v 1.21 2007/05/16 06:12:01 marka Exp $ -->
<!-- $Id: nslookup.html,v 1.1.10.21 2007/05/16 06:11:27 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-1
View File
@@ -3,6 +3,5 @@ dnssec-keygen
dnssec-makekeyset
dnssec-signkey
dnssec-signzone
dnssec-keyfromlabel
*.lo
.libs
+7 -14
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.34 2008/04/01 23:47:10 tbox Exp $
# $Id: Makefile.in,v 1.26.18.4 2005/05/02 00:26:11 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -39,27 +39,20 @@ DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
# Alphabetically
TARGETS = dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@ \
dnssec-keyfromlabel@EXEEXT@
TARGETS = dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@
OBJS = dnssectool.@O@
SRCS = dnssec-keyfromlabel.c dnssec-keygen.c dnssec-signzone.c \
dnssectool.c
SRCS = dnssec-keygen.c dnssec-signzone.c dnssectool.c
MANPAGES = dnssec-keyfromlabel.8 dnssec-keygen.8 dnssec-signzone.8
MANPAGES = dnssec-keygen.8 dnssec-signzone.8
HTMLPAGES = dnssec-keyfromlabel.html dnssec-keygen.html \
dnssec-signzone.html
HTMLPAGES = dnssec-keygen.html dnssec-signzone.html
MANOBJS = ${MANPAGES} ${HTMLPAGES}
@BIND9_MAKE_RULES@
dnssec-keyfromlabel@EXEEXT@: dnssec-keyfromlabel.@O@ ${OBJS} ${DEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
dnssec-keyfromlabel.@O@ ${OBJS} ${LIBS}
dnssec-keygen@EXEEXT@: dnssec-keygen.@O@ ${OBJS} ${DEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
dnssec-keygen.@O@ ${OBJS} ${LIBS}
-149
View File
@@ -1,149 +0,0 @@
.\" Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-keyfromlabel.8,v 1.3 2008/04/01 01:11:50 tbox Exp $
.\"
.hy 0
.ad l
.\" Title: dnssec\-keyfromlabel
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: february 8, 2008
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "DNSSEC\-KEYFROMLABEL" "8" "february 8, 2008" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
dnssec\-keyfromlabel \- DNSSEC key generation tool
.SH "SYNOPSIS"
.HP 20
\fBdnssec\-keyfromlabel\fR {\-a\ \fIalgorithm\fR} {\-l\ \fIlabel\fR} [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIflag\fR\fR] [\fB\-k\fR] [\fB\-n\ \fR\fB\fInametype\fR\fR] [\fB\-p\ \fR\fB\fIprotocol\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-v\ \fR\fB\fIlevel\fR\fR] {name}
.SH "DESCRIPTION"
.PP
\fBdnssec\-keyfromlabel\fR
gets keys with the given label from a crypto hardware and builds key files for DNSSEC (Secure DNS), as defined in RFC 2535 and RFC 4034.
.SH "OPTIONS"
.PP
\-a \fIalgorithm\fR
.RS 4
Selects the cryptographic algorithm. The value of
\fBalgorithm\fR
must be one of RSAMD5 (RSA) or RSASHA1, DSA or DH (Diffie Hellman). These values are case insensitive.
.sp
Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement algorithm, and DSA is recommended.
.sp
Note 2: DH automatically sets the \-k flag.
.RE
.PP
\-l \fIlabel\fR
.RS 4
Specifies the label of keys in the crypto hardware (PKCS#11 device).
.RE
.PP
\-n \fInametype\fR
.RS 4
Specifies the owner type of the key. The value of
\fBnametype\fR
must either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with a host (KEY)), USER (for a key associated with a user(KEY)) or OTHER (DNSKEY). These values are case insensitive.
.RE
.PP
\-c \fIclass\fR
.RS 4
Indicates that the DNS record containing the key should have the specified class. If not specified, class IN is used.
.RE
.PP
\-f \fIflag\fR
.RS 4
Set the specified flag in the flag field of the KEY/DNSKEY record. The only recognized flag is KSK (Key Signing Key) DNSKEY.
.RE
.PP
\-h
.RS 4
Prints a short summary of the options and arguments to
\fBdnssec\-keygen\fR.
.RE
.PP
\-k
.RS 4
Generate KEY records rather than DNSKEY records.
.RE
.PP
\-p \fIprotocol\fR
.RS 4
Sets the protocol value for the generated key. The protocol is a number between 0 and 255. The default is 3 (DNSSEC). Other possible values for this argument are listed in RFC 2535 and its successors.
.RE
.PP
\-t \fItype\fR
.RS 4
Indicates the use of the key.
\fBtype\fR
must be one of AUTHCONF, NOAUTHCONF, NOAUTH, or NOCONF. The default is AUTHCONF. AUTH refers to the ability to authenticate data, and CONF the ability to encrypt data.
.RE
.PP
\-v \fIlevel\fR
.RS 4
Sets the debugging level.
.RE
.SH "GENERATED KEY FILES"
.PP
When
\fBdnssec\-keyfromlabel\fR
completes successfully, it prints a string of the form
\fIKnnnn.+aaa+iiiii\fR
to the standard output. This is an identification string for the key files it has generated.
.TP 4
\(bu
\fInnnn\fR
is the key name.
.TP 4
\(bu
\fIaaa\fR
is the numeric representation of the algorithm.
.TP 4
\(bu
\fIiiiii\fR
is the key identifier (or footprint).
.PP
\fBdnssec\-keyfromlabel\fR
creates two files, with names based on the printed string.
\fIKnnnn.+aaa+iiiii.key\fR
contains the public key, and
\fIKnnnn.+aaa+iiiii.private\fR
contains the private key.
.PP
The
\fI.key\fR
file contains a DNS KEY record that can be inserted into a zone file (directly or with a $INCLUDE statement).
.PP
The
\fI.private\fR
file contains algorithm specific fields. For obvious security reasons, this file does not have general read permission.
.SH "SEE ALSO"
.PP
\fBdnssec\-keygen\fR(8),
\fBdnssec\-signzone\fR(8),
BIND 9 Administrator Reference Manual,
RFC 2535,
RFC 2845,
RFC 2539.
.SH "AUTHOR"
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2008 Internet Systems Consortium, Inc. ("ISC")
.br
-326
View File
@@ -1,326 +0,0 @@
/*
* Copyright (C) 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-keyfromlabel.c,v 1.3 2008/03/31 23:47:11 tbox Exp $ */
/*! \file */
#include <config.h>
#include <stdlib.h>
#include <isc/buffer.h>
#include <isc/commandline.h>
#include <isc/entropy.h>
#include <isc/mem.h>
#include <isc/region.h>
#include <isc/string.h>
#include <isc/util.h>
#include <dns/fixedname.h>
#include <dns/keyvalues.h>
#include <dns/log.h>
#include <dns/name.h>
#include <dns/rdataclass.h>
#include <dns/result.h>
#include <dns/secalg.h>
#include <dst/dst.h>
#include "dnssectool.h"
#define MAX_RSA 4096 /* should be long enough... */
const char *program = "dnssec-keyfromlabel";
int verbose;
static const char *algs = "RSA | RSAMD5 | DH | DSA | RSASHA1";
static void
usage(void) {
fprintf(stderr, "Usage:\n");
fprintf(stderr, " %s -a alg -l label [options] name\n\n",
program);
fprintf(stderr, "Version: %s\n", VERSION);
fprintf(stderr, "Required options:\n");
fprintf(stderr, " -a algorithm: %s\n", algs);
fprintf(stderr, " -l label: label of the key\n");
fprintf(stderr, " name: owner of the key\n");
fprintf(stderr, "Other options:\n");
fprintf(stderr, " -n nametype: ZONE | HOST | ENTITY | USER | OTHER\n");
fprintf(stderr, " (DNSKEY generation defaults to ZONE\n");
fprintf(stderr, " -c <class> (default: IN)\n");
fprintf(stderr, " -f keyflag: KSK\n");
fprintf(stderr, " -t <type>: "
"AUTHCONF | NOAUTHCONF | NOAUTH | NOCONF "
"(default: AUTHCONF)\n");
fprintf(stderr, " -p <protocol>: "
"default: 3 [dnssec]\n");
fprintf(stderr, " -v <verbose level>\n");
fprintf(stderr, " -k : generate a TYPE=KEY key\n");
fprintf(stderr, "Output:\n");
fprintf(stderr, " K<name>+<alg>+<id>.key, "
"K<name>+<alg>+<id>.private\n");
exit (-1);
}
int
main(int argc, char **argv) {
char *algname = NULL, *nametype = NULL, *type = NULL;
char *classname = NULL;
char *endp;
dst_key_t *key = NULL, *oldkey;
dns_fixedname_t fname;
dns_name_t *name;
isc_uint16_t flags = 0, ksk = 0;
dns_secalg_t alg;
isc_boolean_t null_key = ISC_FALSE;
isc_mem_t *mctx = NULL;
int ch;
int protocol = -1, signatory = 0;
isc_result_t ret;
isc_textregion_t r;
char filename[255];
isc_buffer_t buf;
isc_log_t *log = NULL;
isc_entropy_t *ectx = NULL;
dns_rdataclass_t rdclass;
int options = DST_TYPE_PRIVATE | DST_TYPE_PUBLIC;
char *label = NULL;
if (argc == 1)
usage();
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
dns_result_register();
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"a:c:f:kl:n:p:t:v:h")) != -1)
{
switch (ch) {
case 'a':
algname = isc_commandline_argument;
break;
case 'c':
classname = isc_commandline_argument;
break;
case 'f':
if (strcasecmp(isc_commandline_argument, "KSK") == 0)
ksk = DNS_KEYFLAG_KSK;
else
fatal("unknown flag '%s'",
isc_commandline_argument);
break;
case 'k':
options |= DST_TYPE_KEY;
break;
case 'l':
label = isc_commandline_argument;
break;
case 'n':
nametype = isc_commandline_argument;
break;
case 'p':
protocol = strtol(isc_commandline_argument, &endp, 10);
if (*endp != '\0' || protocol < 0 || protocol > 255)
fatal("-p must be followed by a number "
"[0..255]");
break;
case 't':
type = isc_commandline_argument;
break;
case 'v':
verbose = strtol(isc_commandline_argument, &endp, 0);
if (*endp != '\0')
fatal("-v must be followed by a number");
break;
case '?':
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
case 'h':
usage();
default:
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
}
}
if (ectx == NULL)
setup_entropy(mctx, NULL, &ectx);
ret = dst_lib_init(mctx, ectx,
ISC_ENTROPY_BLOCKING | ISC_ENTROPY_GOODONLY);
if (ret != ISC_R_SUCCESS)
fatal("could not initialize dst");
setup_logging(verbose, mctx, &log);
if (label == NULL)
fatal("the key label was not specified");
if (argc < isc_commandline_index + 1)
fatal("the key name was not specified");
if (argc > isc_commandline_index + 1)
fatal("extraneous arguments");
if (algname == NULL)
fatal("no algorithm was specified");
if (strcasecmp(algname, "RSA") == 0) {
fprintf(stderr, "The use of RSA (RSAMD5) is not recommended.\n"
"If you still wish to use RSA (RSAMD5) please "
"specify \"-a RSAMD5\"\n");
return (1);
} else {
r.base = algname;
r.length = strlen(algname);
ret = dns_secalg_fromtext(&alg, &r);
if (ret != ISC_R_SUCCESS)
fatal("unknown algorithm %s", algname);
if (alg == DST_ALG_DH)
options |= DST_TYPE_KEY;
}
if (type != NULL && (options & DST_TYPE_KEY) != 0) {
if (strcasecmp(type, "NOAUTH") == 0)
flags |= DNS_KEYTYPE_NOAUTH;
else if (strcasecmp(type, "NOCONF") == 0)
flags |= DNS_KEYTYPE_NOCONF;
else if (strcasecmp(type, "NOAUTHCONF") == 0) {
flags |= (DNS_KEYTYPE_NOAUTH | DNS_KEYTYPE_NOCONF);
}
else if (strcasecmp(type, "AUTHCONF") == 0)
/* nothing */;
else
fatal("invalid type %s", type);
}
if (nametype == NULL) {
if ((options & DST_TYPE_KEY) != 0) /* KEY */
fatal("no nametype specified");
flags |= DNS_KEYOWNER_ZONE; /* DNSKEY */
} else if (strcasecmp(nametype, "zone") == 0)
flags |= DNS_KEYOWNER_ZONE;
else if ((options & DST_TYPE_KEY) != 0) { /* KEY */
if (strcasecmp(nametype, "host") == 0 ||
strcasecmp(nametype, "entity") == 0)
flags |= DNS_KEYOWNER_ENTITY;
else if (strcasecmp(nametype, "user") == 0)
flags |= DNS_KEYOWNER_USER;
else
fatal("invalid KEY nametype %s", nametype);
} else if (strcasecmp(nametype, "other") != 0) /* DNSKEY */
fatal("invalid DNSKEY nametype %s", nametype);
rdclass = strtoclass(classname);
if ((options & DST_TYPE_KEY) != 0) /* KEY */
flags |= signatory;
else if ((flags & DNS_KEYOWNER_ZONE) != 0) /* DNSKEY */
flags |= ksk;
if (protocol == -1)
protocol = DNS_KEYPROTO_DNSSEC;
else if ((options & DST_TYPE_KEY) == 0 &&
protocol != DNS_KEYPROTO_DNSSEC)
fatal("invalid DNSKEY protocol: %d", protocol);
if ((flags & DNS_KEYFLAG_TYPEMASK) == DNS_KEYTYPE_NOKEY) {
if ((flags & DNS_KEYFLAG_SIGNATORYMASK) != 0)
fatal("specified null key with signing authority");
}
if ((flags & DNS_KEYFLAG_OWNERMASK) == DNS_KEYOWNER_ZONE &&
alg == DNS_KEYALG_DH)
fatal("a key with algorithm '%s' cannot be a zone key",
algname);
dns_fixedname_init(&fname);
name = dns_fixedname_name(&fname);
isc_buffer_init(&buf, argv[isc_commandline_index],
strlen(argv[isc_commandline_index]));
isc_buffer_add(&buf, strlen(argv[isc_commandline_index]));
ret = dns_name_fromtext(name, &buf, dns_rootname, ISC_FALSE, NULL);
if (ret != ISC_R_SUCCESS)
fatal("invalid key name %s: %s", argv[isc_commandline_index],
isc_result_totext(ret));
if ((flags & DNS_KEYFLAG_TYPEMASK) == DNS_KEYTYPE_NOKEY)
null_key = ISC_TRUE;
isc_buffer_init(&buf, filename, sizeof(filename) - 1);
/* associate the key */
ret = dst_key_fromlabel(name, alg, flags, protocol,
rdclass, "", label, NULL, mctx, &key);
isc_entropy_stopcallbacksources(ectx);
if (ret != ISC_R_SUCCESS) {
char namestr[DNS_NAME_FORMATSIZE];
char algstr[ALG_FORMATSIZE];
dns_name_format(name, namestr, sizeof(namestr));
alg_format(alg, algstr, sizeof(algstr));
fatal("failed to generate key %s/%s: %s\n",
namestr, algstr, isc_result_totext(ret));
exit(-1);
}
/*
* Try to read a key with the same name, alg and id from disk.
* If there is one we must continue generating a new one
* unless we were asked to generate a null key, in which
* case we return failure.
*/
ret = dst_key_fromfile(name, dst_key_id(key), alg,
DST_TYPE_PRIVATE, NULL, mctx, &oldkey);
/* do not overwrite an existing key */
if (ret == ISC_R_SUCCESS) {
isc_buffer_clear(&buf);
ret = dst_key_buildfilename(key, 0, NULL, &buf);
fprintf(stderr, "%s: %s already exists\n",
program, filename);
dst_key_free(&key);
exit (1);
}
ret = dst_key_tofile(key, options, NULL);
if (ret != ISC_R_SUCCESS) {
char keystr[KEY_FORMATSIZE];
key_format(key, keystr, sizeof(keystr));
fatal("failed to write key %s: %s\n", keystr,
isc_result_totext(ret));
}
isc_buffer_clear(&buf);
ret = dst_key_buildfilename(key, 0, NULL, &buf);
printf("%s\n", filename);
dst_key_free(&key);
cleanup_logging(&log);
cleanup_entropy(&ectx);
dst_lib_destroy();
dns_name_destroy();
if (verbose > 10)
isc_mem_stats(mctx, stdout);
isc_mem_destroy(&mctx);
return (0);
}
-265
View File
@@ -1,265 +0,0 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keyfromlabel.docbook,v 1.3 2008/03/31 23:47:11 tbox Exp $ -->
<refentry id="man.dnssec-keyfromlabel">
<refentryinfo>
<date>february 8, 2008</date>
</refentryinfo>
<refmeta>
<refentrytitle><application>dnssec-keyfromlabel</application></refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo>BIND9</refmiscinfo>
</refmeta>
<refnamediv>
<refname><application>dnssec-keyfromlabel</application></refname>
<refpurpose>DNSSEC key generation tool</refpurpose>
</refnamediv>
<docinfo>
<copyright>
<year>2008</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
<refsynopsisdiv>
<cmdsynopsis>
<command>dnssec-keyfromlabel</command>
<arg choice="req">-a <replaceable class="parameter">algorithm</replaceable></arg>
<arg choice="req">-l <replaceable class="parameter">label</replaceable></arg>
<arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
<arg><option>-f <replaceable class="parameter">flag</replaceable></option></arg>
<arg><option>-k</option></arg>
<arg><option>-n <replaceable class="parameter">nametype</replaceable></option></arg>
<arg><option>-p <replaceable class="parameter">protocol</replaceable></option></arg>
<arg><option>-t <replaceable class="parameter">type</replaceable></option></arg>
<arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
<arg choice="req">name</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para><command>dnssec-keyfromlabel</command>
gets keys with the given label from a crypto hardware and builds
key files for DNSSEC (Secure DNS), as defined in RFC 2535
and RFC 4034.
</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>-a <replaceable class="parameter">algorithm</replaceable></term>
<listitem>
<para>
Selects the cryptographic algorithm. The value of
<option>algorithm</option> must be one of RSAMD5 (RSA)
or RSASHA1, DSA or DH (Diffie Hellman). These values
are case insensitive.
</para>
<para>
Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
algorithm, and DSA is recommended.
</para>
<para>
Note 2: DH automatically sets the -k flag.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-l <replaceable class="parameter">label</replaceable></term>
<listitem>
<para>
Specifies the label of keys in the crypto hardware
(PKCS#11 device).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-n <replaceable class="parameter">nametype</replaceable></term>
<listitem>
<para>
Specifies the owner type of the key. The value of
<option>nametype</option> must either be ZONE (for a DNSSEC
zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with
a host (KEY)),
USER (for a key associated with a user(KEY)) or OTHER (DNSKEY).
These values are
case insensitive.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-c <replaceable class="parameter">class</replaceable></term>
<listitem>
<para>
Indicates that the DNS record containing the key should have
the specified class. If not specified, class IN is used.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-f <replaceable class="parameter">flag</replaceable></term>
<listitem>
<para>
Set the specified flag in the flag field of the KEY/DNSKEY record.
The only recognized flag is KSK (Key Signing Key) DNSKEY.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-h</term>
<listitem>
<para>
Prints a short summary of the options and arguments to
<command>dnssec-keygen</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-k</term>
<listitem>
<para>
Generate KEY records rather than DNSKEY records.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-p <replaceable class="parameter">protocol</replaceable></term>
<listitem>
<para>
Sets the protocol value for the generated key. The protocol
is a number between 0 and 255. The default is 3 (DNSSEC).
Other possible values for this argument are listed in
RFC 2535 and its successors.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-t <replaceable class="parameter">type</replaceable></term>
<listitem>
<para>
Indicates the use of the key. <option>type</option> must be
one of AUTHCONF, NOAUTHCONF, NOAUTH, or NOCONF. The default
is AUTHCONF. AUTH refers to the ability to authenticate
data, and CONF the ability to encrypt data.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-v <replaceable class="parameter">level</replaceable></term>
<listitem>
<para>
Sets the debugging level.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>GENERATED KEY FILES</title>
<para>
When <command>dnssec-keyfromlabel</command> completes
successfully,
it prints a string of the form <filename>Knnnn.+aaa+iiiii</filename>
to the standard output. This is an identification string for
the key files it has generated.
</para>
<itemizedlist>
<listitem>
<para><filename>nnnn</filename> is the key name.
</para>
</listitem>
<listitem>
<para><filename>aaa</filename> is the numeric representation
of the
algorithm.
</para>
</listitem>
<listitem>
<para><filename>iiiii</filename> is the key identifier (or
footprint).
</para>
</listitem>
</itemizedlist>
<para><command>dnssec-keyfromlabel</command>
creates two files, with names based
on the printed string. <filename>Knnnn.+aaa+iiiii.key</filename>
contains the public key, and
<filename>Knnnn.+aaa+iiiii.private</filename> contains the
private
key.
</para>
<para>
The <filename>.key</filename> file contains a DNS KEY record
that
can be inserted into a zone file (directly or with a $INCLUDE
statement).
</para>
<para>
The <filename>.private</filename> file contains algorithm
specific
fields. For obvious security reasons, this file does not have
general read permission.
</para>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para><citerefentry>
<refentrytitle>dnssec-keygen</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>dnssec-signzone</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>,
<citetitle>RFC 2535</citetitle>,
<citetitle>RFC 2845</citetitle>,
<citetitle>RFC 2539</citetitle>.
</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para><corpauthor>Internet Systems Consortium</corpauthor>
</para>
</refsect1>
</refentry><!--
- Local variables:
- mode: sgml
- End:
-->
-171
View File
@@ -1,171 +0,0 @@
<!--
- Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keyfromlabel.html,v 1.3 2008/04/01 01:11:50 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>dnssec-keyfromlabel</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
<a name="man.dnssec-keyfromlabel"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2>Name</h2>
<p><span class="application">dnssec-keyfromlabel</span> &#8212; DNSSEC key generation tool</p>
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">dnssec-keyfromlabel</code> {-a <em class="replaceable"><code>algorithm</code></em>} {-l <em class="replaceable"><code>label</code></em>} [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-k</code>] [<code class="option">-n <em class="replaceable"><code>nametype</code></em></code>] [<code class="option">-p <em class="replaceable"><code>protocol</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] {name}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543413"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-keyfromlabel</strong></span>
gets keys with the given label from a crypto hardware and builds
key files for DNSSEC (Secure DNS), as defined in RFC 2535
and RFC 4034.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543425"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
<dd>
<p>
Selects the cryptographic algorithm. The value of
<code class="option">algorithm</code> must be one of RSAMD5 (RSA)
or RSASHA1, DSA or DH (Diffie Hellman). These values
are case insensitive.
</p>
<p>
Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
algorithm, and DSA is recommended.
</p>
<p>
Note 2: DH automatically sets the -k flag.
</p>
</dd>
<dt><span class="term">-l <em class="replaceable"><code>label</code></em></span></dt>
<dd><p>
Specifies the label of keys in the crypto hardware
(PKCS#11 device).
</p></dd>
<dt><span class="term">-n <em class="replaceable"><code>nametype</code></em></span></dt>
<dd><p>
Specifies the owner type of the key. The value of
<code class="option">nametype</code> must either be ZONE (for a DNSSEC
zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with
a host (KEY)),
USER (for a key associated with a user(KEY)) or OTHER (DNSKEY).
These values are
case insensitive.
</p></dd>
<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
<dd><p>
Indicates that the DNS record containing the key should have
the specified class. If not specified, class IN is used.
</p></dd>
<dt><span class="term">-f <em class="replaceable"><code>flag</code></em></span></dt>
<dd><p>
Set the specified flag in the flag field of the KEY/DNSKEY record.
The only recognized flag is KSK (Key Signing Key) DNSKEY.
</p></dd>
<dt><span class="term">-h</span></dt>
<dd><p>
Prints a short summary of the options and arguments to
<span><strong class="command">dnssec-keygen</strong></span>.
</p></dd>
<dt><span class="term">-k</span></dt>
<dd><p>
Generate KEY records rather than DNSKEY records.
</p></dd>
<dt><span class="term">-p <em class="replaceable"><code>protocol</code></em></span></dt>
<dd><p>
Sets the protocol value for the generated key. The protocol
is a number between 0 and 255. The default is 3 (DNSSEC).
Other possible values for this argument are listed in
RFC 2535 and its successors.
</p></dd>
<dt><span class="term">-t <em class="replaceable"><code>type</code></em></span></dt>
<dd><p>
Indicates the use of the key. <code class="option">type</code> must be
one of AUTHCONF, NOAUTHCONF, NOAUTH, or NOCONF. The default
is AUTHCONF. AUTH refers to the ability to authenticate
data, and CONF the ability to encrypt data.
</p></dd>
<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
<dd><p>
Sets the debugging level.
</p></dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543619"></a><h2>GENERATED KEY FILES</h2>
<p>
When <span><strong class="command">dnssec-keyfromlabel</strong></span> completes
successfully,
it prints a string of the form <code class="filename">Knnnn.+aaa+iiiii</code>
to the standard output. This is an identification string for
the key files it has generated.
</p>
<div class="itemizedlist"><ul type="disc">
<li><p><code class="filename">nnnn</code> is the key name.
</p></li>
<li><p><code class="filename">aaa</code> is the numeric representation
of the
algorithm.
</p></li>
<li><p><code class="filename">iiiii</code> is the key identifier (or
footprint).
</p></li>
</ul></div>
<p><span><strong class="command">dnssec-keyfromlabel</strong></span>
creates two files, with names based
on the printed string. <code class="filename">Knnnn.+aaa+iiiii.key</code>
contains the public key, and
<code class="filename">Knnnn.+aaa+iiiii.private</code> contains the
private
key.
</p>
<p>
The <code class="filename">.key</code> file contains a DNS KEY record
that
can be inserted into a zone file (directly or with a $INCLUDE
statement).
</p>
<p>
The <code class="filename">.private</code> file contains algorithm
specific
fields. For obvious security reasons, this file does not have
general read permission.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543691"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>,
<em class="citetitle">RFC 2535</em>,
<em class="citetitle">RFC 2845</em>,
<em class="citetitle">RFC 2539</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543731"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
</div></body>
</html>
+2 -2
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-keygen.8,v 1.38 2007/06/18 23:37:19 marka Exp $
.\" $Id: dnssec-keygen.8,v 1.23.18.14 2007/05/09 03:33:12 marka Exp $
.\"
.hy 0
.ad l
@@ -60,7 +60,7 @@ Specifies the number of bits in the key. The choice of key size depends on the a
.RS 4
Specifies the owner type of the key. The value of
\fBnametype\fR
must either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with a host (KEY)), USER (for a key associated with a user(KEY)) or OTHER (DNSKEY). These values are case insensitive. Defaults to ZONE for DNSKEY generation.
must either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with a host (KEY)), USER (for a key associated with a user(KEY)) or OTHER (DNSKEY). These values are case insensitive.
.RE
.PP
\-c \fIclass\fR
+11 -34
View File
@@ -1,19 +1,6 @@
/*
* Portions Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NETWORK ASSOCIATES DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE
* FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Portions Copyright (C) 1995-2000 by Network Associates, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -29,7 +16,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-keygen.c,v 1.79 2007/08/28 07:20:42 tbox Exp $ */
/* $Id: dnssec-keygen.c,v 1.66.18.10 2007/08/28 07:19:55 tbox Exp $ */
/*! \file */
@@ -74,7 +61,7 @@ dsa_size_ok(int size) {
static void
usage(void) {
fprintf(stderr, "Usage:\n");
fprintf(stderr, " %s -a alg -b bits [-n type] [options] name\n\n",
fprintf(stderr, " %s -a alg -b bits -n type [options] name\n\n",
program);
fprintf(stderr, "Version: %s\n", VERSION);
fprintf(stderr, "Required options:\n");
@@ -91,7 +78,6 @@ usage(void) {
fprintf(stderr, " HMAC-SHA384:\t[1..384]\n");
fprintf(stderr, " HMAC-SHA512:\t[1..512]\n");
fprintf(stderr, " -n nametype: ZONE | HOST | ENTITY | USER | OTHER\n");
fprintf(stderr, " (DNSKEY generation defaults to ZONE\n");
fprintf(stderr, " name: owner of the key\n");
fprintf(stderr, "Other options:\n");
fprintf(stderr, " -c <class> (default: IN)\n");
@@ -148,10 +134,8 @@ main(int argc, char **argv) {
dns_result_register();
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"a:b:c:d:ef:g:kn:t:p:s:r:v:h")) != -1)
"a:b:c:d:ef:g:kn:t:p:s:r:v:h")) != -1)
{
switch (ch) {
case 'a':
@@ -218,17 +202,12 @@ main(int argc, char **argv) {
fatal("-v must be followed by a number");
break;
case '?':
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
case 'h':
usage();
default:
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
fprintf(stderr, "%s: invalid argument -%c\n",
program, ch);
usage();
}
}
@@ -377,13 +356,11 @@ main(int argc, char **argv) {
if (alg != DNS_KEYALG_DH && generator != 0)
fatal("specified DH generator for a non-DH key");
if (nametype == NULL) {
if ((options & DST_TYPE_KEY) != 0) /* KEY / HMAC */
fatal("no nametype specified");
flags |= DNS_KEYOWNER_ZONE; /* DNSKEY */
} else if (strcasecmp(nametype, "zone") == 0)
if (nametype == NULL)
fatal("no nametype specified");
if (strcasecmp(nametype, "zone") == 0)
flags |= DNS_KEYOWNER_ZONE;
else if ((options & DST_TYPE_KEY) != 0) { /* KEY / HMAC */
else if ((options & DST_TYPE_KEY) != 0) { /* KEY */
if (strcasecmp(nametype, "host") == 0 ||
strcasecmp(nametype, "entity") == 0)
flags |= DNS_KEYOWNER_ENTITY;
@@ -396,7 +373,7 @@ main(int argc, char **argv) {
rdclass = strtoclass(classname);
if ((options & DST_TYPE_KEY) != 0) /* KEY / HMAC */
if ((options & DST_TYPE_KEY) != 0) /* KEY */
flags |= signatory;
else if ((flags & DNS_KEYOWNER_ZONE) != 0) /* DNSKEY */
flags |= ksk;
+3 -3
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keygen.docbook,v 1.19 2007/06/18 23:47:17 tbox Exp $ -->
<!-- $Id: dnssec-keygen.docbook,v 1.7.18.11 2007/08/28 07:20:00 tbox Exp $ -->
<refentry id="man.dnssec-keygen">
<refentryinfo>
<date>June 30, 2000</date>
@@ -129,8 +129,8 @@
zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with
a host (KEY)),
USER (for a key associated with a user(KEY)) or OTHER (DNSKEY).
These values are case insensitive. Defaults to ZONE for DNSKEY
generation.
These values are
case insensitive.
</para>
</listitem>
</varlistentry>
+3 -3
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keygen.html,v 1.30 2007/06/18 23:37:19 marka Exp $ -->
<!-- $Id: dnssec-keygen.html,v 1.9.18.20 2007/05/09 03:33:12 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -76,8 +76,8 @@
zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with
a host (KEY)),
USER (for a key associated with a user(KEY)) or OTHER (DNSKEY).
These values are case insensitive. Defaults to ZONE for DNSKEY
generation.
These values are
case insensitive.
</p></dd>
<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
<dd><p>
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-signzone.8,v 1.45 2007/05/09 03:33:50 marka Exp $
.\" $Id: dnssec-signzone.8,v 1.28.18.17 2007/05/09 03:33:12 marka Exp $
.\"
.hy 0
.ad l
+26 -50
View File
@@ -1,19 +1,6 @@
/*
* Portions Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NETWORK ASSOCIATES DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE
* FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Portions Copyright (C) 1995-2000 by Network Associates, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -29,7 +16,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-signzone.c,v 1.206 2008/06/02 23:47:04 tbox Exp $ */
/* $Id: dnssec-signzone.c,v 1.177.18.24 2007/08/28 07:20:00 tbox Exp $ */
/*! \file */
@@ -141,6 +128,7 @@ static dns_name_t *gorigin; /* The database origin */
static isc_task_t *master = NULL;
static unsigned int ntasks = 0;
static isc_boolean_t shuttingdown = ISC_FALSE, finished = ISC_FALSE;
static unsigned int assigned = 0, completed = 0;
static isc_boolean_t nokeys = ISC_FALSE;
static isc_boolean_t removefile = ISC_FALSE;
static isc_boolean_t generateds = ISC_FALSE;
@@ -981,7 +969,7 @@ active_node(dns_dbnode_t *node) {
fatal("rdataset iteration failed: %s",
isc_result_totext(result));
} else {
/*
/*
* Delete RRSIGs for types that no longer exist.
*/
result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter2);
@@ -1206,7 +1194,7 @@ signapex(void) {
dns_fixedname_t fixed;
dns_name_t *name;
isc_result_t result;
dns_fixedname_init(&fixed);
name = dns_fixedname_name(&fixed);
result = dns_dbiterator_current(gdbiter, &node, name);
@@ -1236,19 +1224,16 @@ assignwork(isc_task_t *task, isc_task_t *worker) {
dns_rdataset_t nsec;
isc_boolean_t found;
isc_result_t result;
static unsigned int ended = 0; /* Protected by namelock. */
if (shuttingdown)
return;
LOCK(&namelock);
if (finished) {
ended++;
if (ended == ntasks) {
if (assigned == completed) {
isc_task_detach(&task);
isc_app_shutdown();
}
goto unlock;
return;
}
fname = isc_mem_get(mctx, sizeof(dns_fixedname_t));
@@ -1258,6 +1243,7 @@ assignwork(isc_task_t *task, isc_task_t *worker) {
name = dns_fixedname_name(fname);
node = NULL;
found = ISC_FALSE;
LOCK(&namelock);
while (!found) {
result = dns_dbiterator_current(gdbiter, &node, name);
if (result != ISC_R_SUCCESS)
@@ -1284,14 +1270,14 @@ assignwork(isc_task_t *task, isc_task_t *worker) {
fatal("failure iterating database: %s",
isc_result_totext(result));
}
UNLOCK(&namelock);
if (!found) {
ended++;
if (ended == ntasks) {
if (assigned == completed) {
isc_task_detach(&task);
isc_app_shutdown();
}
isc_mem_put(mctx, fname, sizeof(dns_fixedname_t));
goto unlock;
return;
}
sevent = (sevent_t *)
isc_event_allocate(mctx, task, SIGNER_EVENT_WORK,
@@ -1302,8 +1288,7 @@ assignwork(isc_task_t *task, isc_task_t *worker) {
sevent->node = node;
sevent->fname = fname;
isc_task_send(worker, ISC_EVENT_PTR(&sevent));
unlock:
UNLOCK(&namelock);
assigned++;
}
/*%
@@ -1326,6 +1311,7 @@ writenode(isc_task_t *task, isc_event_t *event) {
isc_task_t *worker;
sevent_t *sevent = (sevent_t *)event;
completed++;
worker = (isc_task_t *)event->ev_sender;
dumpnode(dns_fixedname_name(sevent->fname), sevent->node);
cleannode(gdb, gversion, sevent->node);
@@ -1619,7 +1605,7 @@ writeset(const char *prefix, dns_rdatatype_t type) {
unsigned char dsbuf[DNS_DS_BUFFERSIZE];
unsigned char keybuf[DST_KEY_MAXSIZE];
unsigned int filenamelen;
const dns_master_style_t *style =
const dns_master_style_t *style =
(type == dns_rdatatype_dnskey) ? masterstyle : dsstyle;
isc_buffer_init(&namebuf, namestr, sizeof(namestr));
@@ -1832,13 +1818,13 @@ print_stats(isc_time_t *timer_start, isc_time_t *timer_finish) {
printf("Signatures successfully verified: %10d\n", nverified);
printf("Signatures unsuccessfully verified: %10d\n", nverifyfailed);
runtime_ms = runtime_us / 1000;
printf("Runtime in seconds: %7u.%03u\n",
(unsigned int) (runtime_ms / 1000),
printf("Runtime in seconds: %7u.%03u\n",
(unsigned int) (runtime_ms / 1000),
(unsigned int) (runtime_ms % 1000));
if (runtime_us > 0) {
sig_ms = ((isc_uint64_t)nsigned * 1000000000) / runtime_us;
printf("Signatures per second: %7u.%03u\n",
(unsigned int) sig_ms / 1000,
(unsigned int) sig_ms / 1000,
(unsigned int) sig_ms % 1000);
}
}
@@ -1876,10 +1862,8 @@ main(int argc, char *argv[]) {
dns_result_register();
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"ac:d:e:f:ghi:I:j:k:l:n:N:o:O:pr:s:Stv:z"))
"ac:d:e:f:ghi:I:j:k:l:n:N:o:O:pr:s:Stv:z"))
!= -1) {
switch (ch) {
case 'a':
@@ -1906,19 +1890,11 @@ main(int argc, char *argv[]) {
generateds = ISC_TRUE;
break;
case '?':
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
case 'h':
default:
usage();
break;
default:
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
case 'i':
endp = NULL;
cycle = strtol(isc_commandline_argument, &endp, 0);
@@ -1938,7 +1914,7 @@ main(int argc, char *argv[]) {
fatal("jitter must be numeric and positive");
break;
case 'l':
case 'l':
dns_fixedname_init(&dlv_fixed);
len = strlen(isc_commandline_argument);
isc_buffer_init(&b, isc_commandline_argument, len);
@@ -2104,7 +2080,7 @@ main(int argc, char *argv[]) {
result = dns_master_stylecreate(&dsstyle, DNS_STYLEFLAG_NO_TTL,
0, 24, 0, 0, 0, 8, mctx);
check_result(result, "dns_master_stylecreate");
gdb = NULL;
TIME_NOW(&timer_start);
@@ -2126,8 +2102,8 @@ main(int argc, char *argv[]) {
DST_TYPE_PRIVATE,
mctx, &newkey);
if (result != ISC_R_SUCCESS)
fatal("cannot load dnskey %s: %s", argv[i],
isc_result_totext(result));
fatal("cannot load dnskey %s: %s", argv[i],
isc_result_totext(result));
key = ISC_LIST_HEAD(keylist);
while (key != NULL) {
@@ -2135,7 +2111,7 @@ main(int argc, char *argv[]) {
if (dst_key_id(dkey) == dst_key_id(newkey) &&
dst_key_alg(dkey) == dst_key_alg(newkey) &&
dns_name_equal(dst_key_name(dkey),
dst_key_name(newkey)))
dst_key_name(newkey)))
{
if (!dst_key_isprivate(dkey))
fatal("cannot sign zone with "
@@ -2164,7 +2140,7 @@ main(int argc, char *argv[]) {
mctx, &newkey);
if (result != ISC_R_SUCCESS)
fatal("cannot load dnskey %s: %s", dskeyfile[i],
isc_result_totext(result));
isc_result_totext(result));
key = ISC_LIST_HEAD(keylist);
while (key != NULL) {
@@ -2172,7 +2148,7 @@ main(int argc, char *argv[]) {
if (dst_key_id(dkey) == dst_key_id(newkey) &&
dst_key_alg(dkey) == dst_key_alg(newkey) &&
dns_name_equal(dst_key_name(dkey),
dst_key_name(newkey)))
dst_key_name(newkey)))
{
/* Override key flags. */
key->issigningkey = ISC_TRUE;
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-signzone.docbook,v 1.27 2007/06/18 23:47:18 tbox Exp $ -->
<!-- $Id: dnssec-signzone.docbook,v 1.10.18.17 2007/08/28 07:20:00 tbox Exp $ -->
<refentry id="man.dnssec-signzone">
<refentryinfo>
<date>June 30, 2000</date>
+1 -1
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-signzone.html,v 1.31 2007/05/09 03:33:50 marka Exp $ -->
<!-- $Id: dnssec-signzone.html,v 1.8.18.23 2007/05/09 03:33:12 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssectool.c,v 1.45 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: dnssectool.c,v 1.40.18.3 2005/07/01 03:55:28 marka Exp $ */
/*! \file */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssectool.h,v 1.20 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: dnssectool.h,v 1.18 2004/03/05 04:57:41 marka Exp $ */
#ifndef DNSSECTOOL_H
#define DNSSECTOOL_H 1
+6 -12
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.100 2008/03/31 05:00:29 marka Exp $
# $Id: Makefile.in,v 1.80.18.7 2005/09/05 00:18:10 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -38,7 +38,7 @@ DLZDRIVER_SRCS = @DLZ_DRIVER_SRCS@
DLZDRIVER_INCLUDES = @DLZ_DRIVER_INCLUDES@
DLZDRIVER_LIBS = @DLZ_DRIVER_LIBS@
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \
${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES}
@@ -75,7 +75,7 @@ TARGETS = named@EXEEXT@ lwresd@EXEEXT@
OBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
controlconf.@O@ interfacemgr.@O@ \
listenlist.@O@ log.@O@ logconf.@O@ main.@O@ notify.@O@ \
query.@O@ server.@O@ sortlist.@O@ statschannel.@O@ \
query.@O@ server.@O@ sortlist.@O@ \
tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
zoneconf.@O@ \
lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
@@ -87,7 +87,7 @@ UOBJS = unix/os.@O@
SRCS = builtin.c client.c config.c control.c \
controlconf.c interfacemgr.c \
listenlist.c log.c logconf.c main.c notify.c \
query.c server.c sortlist.c statschannel.c \
query.c server.c sortlist.c \
tkeyconf.c tsigconf.c update.c xfrout.c \
zoneconf.c \
lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
@@ -130,12 +130,6 @@ docclean manclean maintainer-clean::
clean distclean maintainer-clean::
rm -f ${TARGETS} ${OBJS}
bind9.xsl.h: bind9.xsl convertxsl.pl
${PERL} ${srcdir}/convertxsl.pl < ${srcdir}/bind9.xsl > bind9.xsl.h
depend: bind9.xsl.h
statschannel.@O@: bind9.xsl.h
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
-617
View File
@@ -1,617 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2006-2008 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: bind9.xsl,v 1.18 2008/06/23 19:41:18 jinmei Exp $ -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:template match="isc/bind/statistics">
<html>
<head>
<style type="text/css">
body {
font-family: sans-serif;
background-color: #ffffff;
color: #000000;
}
table {
border-collapse: collapse;
}
tr.rowh {
text-align: center;
border: 1px solid #000000;
background-color: #8080ff;
color: #ffffff;
}
tr.row {
text-align: right;
border: 1px solid #000000;
background-color: teal;
color: #ffffff;
}
tr.lrow {
text-align: left;
border: 1px solid #000000;
background-color: teal;
color: #ffffff;
}
td, th {
padding-right: 5px;
padding-left: 5px;
}
.header {
background-color: teal;
color: #ffffff;
padding: 4px;
}
.content {
background-color: #ffffff;
color: #000000;
padding: 4px;
}
.item {
padding: 4px;
align: right;
}
.value {
padding: 4px;
font-weight: bold;
}
</style>
<title>BIND 9 Statistics</title>
</head>
<body>
<div class="header">Bind 9 Configuration and Statistics</div>
<br/>
<table>
<tr class="rowh"><th colspan="2">Times</th></tr>
<tr class="lrow">
<td>boot-time</td>
<td><xsl:value-of select="server/boot-time"/></td>
</tr>
<tr class="lrow">
<td>current-time</td>
<td><xsl:value-of select="server/current-time"/></td>
</tr>
</table>
<br/>
<table>
<tr class="rowh"><th colspan="2">Incoming Requests</th></tr>
<xsl:for-each select="server/requests/opcode">
<tr class="lrow">
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="counter"/></td>
</tr>
</xsl:for-each>
</table>
<br/>
<table>
<tr class="rowh"><th colspan="2">Incoming Queries</th></tr>
<xsl:for-each select="server/queries-in/rdtype">
<tr class="lrow">
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="counter"/></td>
</tr>
</xsl:for-each>
</table>
<br/>
<xsl:for-each select="views/view">
<table>
<tr class="rowh">
<th colspan="2">Outgoing Queries from View <xsl:value-of select="name"/></th>
</tr>
<xsl:for-each select="rdtype">
<tr class="lrow">
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="counter"/></td>
</tr>
</xsl:for-each>
</table>
<br/>
</xsl:for-each>
<br/>
<table>
<tr class="rowh"><th colspan="10">Server Statistics</th></tr>
<tr class="rowh">
<!-- The ordering of the following items must be consistent
with dns_nsstatscounter_xxx -->
<th>Requestv4</th>
<th>Requestv6</th>
<th>ReqEdns0</th>
<th>ReqBadEDNSVer</th>
<th>ReqTSIG</th>
<th>ReqSIG0</th>
<th>ReqBadSIG</th>
<th>ReqTCP</th>
<th>AuthQryRej</th>
<th>RecQryRej</th>
</tr>
<tr class="lrow">
<td><xsl:value-of select="server/nsstats/Requestv4"/></td>
<td><xsl:value-of select="server/nsstats/Requestv6"/></td>
<td><xsl:value-of select="server/nsstats/ReqEdns0"/></td>
<td><xsl:value-of select="server/nsstats/ReqBadEDNSVer"/></td>
<td><xsl:value-of select="server/nsstats/ReqTSIG"/></td>
<td><xsl:value-of select="server/nsstats/ReqSIG0"/></td>
<td><xsl:value-of select="server/nsstats/ReqBadSIG"/></td>
<td><xsl:value-of select="server/nsstats/ReqTCP"/></td>
<td><xsl:value-of select="server/nsstats/AuthQryRej"/></td>
<td><xsl:value-of select="server/nsstats/RecQryRej"/></td>
</tr>
<tr class="rowh">
<th>XfrRej</th>
<th>UpdateRej</th>
<th>Response</th>
<th>RespTruncated</th>
<th>RespEDNS0</th>
<th>RespTSIG</th>
<th>RespSIG0</th>
<th>QrySuccess</th>
<th>QryAuthAns</th>
<th>QryNoauthAns</th>
</tr>
<tr class="lrow">
<td><xsl:value-of select="server/nsstats/XfrRej"/></td>
<td><xsl:value-of select="server/nsstats/UpdateRej"/></td>
<td><xsl:value-of select="server/nsstats/Response"/></td>
<td><xsl:value-of select="server/nsstats/TruncatedResp"/></td>
<td><xsl:value-of select="server/nsstats/RespEDNS0"/></td>
<td><xsl:value-of select="server/nsstats/RespTSIG"/></td>
<td><xsl:value-of select="server/nsstats/RespSIG0"/></td>
<td><xsl:value-of select="server/nsstats/QrySuccess"/></td>
<td><xsl:value-of select="server/nsstats/QryAuthAns"/></td>
<td><xsl:value-of select="server/nsstats/QryNoauthAns"/></td>
</tr>
<tr class="rowh">
<th>QryReferral</th>
<th>QryNxrrset</th>
<th>QrySERVFAIL</th>
<th>QryFORMERR</th>
<th>QryNXDOMAIN</th>
<th>QryRecursion</th>
<th>QryDuplicate</th>
<th>QryDropped</th>
<th>QryFailure</th>
<th>XfrReqDone</th>
</tr>
<tr class="lrow">
<td><xsl:value-of select="server/nsstats/QryReferral"/></td>
<td><xsl:value-of select="server/nsstats/QryNxrrset"/></td>
<td><xsl:value-of select="server/nsstats/QrySERVFAIL"/></td>
<td><xsl:value-of select="server/nsstats/QryFORMERR"/></td>
<td><xsl:value-of select="server/nsstats/QryNXDOMAIN"/></td>
<td><xsl:value-of select="server/nsstats/QryRecursion"/></td>
<td><xsl:value-of select="server/nsstats/QryDuplicate"/></td>
<td><xsl:value-of select="server/nsstats/QryDropped"/></td>
<td><xsl:value-of select="server/nsstats/QryFailure"/></td>
<td><xsl:value-of select="server/nsstats/XfrReqDone"/></td>
</tr>
<tr class="rowh">
<th>UpdateReqFwd</th>
<th>UpdateRespFwd</th>
<th>UpdateFwdFail</th>
<th>UpdateDone</th>
<th>UpdateFail</th>
<th>UpdateBadPrereq</th>
<th>RespMismatch</th>
<th />
<th />
<th />
</tr>
<tr class="lrow">
<td><xsl:value-of select="server/nsstats/UpdateReqFwd"/></td>
<td><xsl:value-of select="server/nsstats/UpdateRespFwd"/></td>
<td><xsl:value-of select="server/nsstats/UpdateFwdFail"/></td>
<td><xsl:value-of select="server/nsstats/UpdateDone"/></td>
<td><xsl:value-of select="server/nsstats/UpdateFail"/></td>
<td><xsl:value-of select="server/nsstats/UpdateBadPrereq"/></td>
<td><xsl:value-of select="server/resstats/Mismatch"/></td>
<td />
<td />
<td />
</tr>
</table>
<br/>
<table>
<tr class="rowh"><th colspan="10">Zone Maintenance Statistics</th></tr>
<tr class="rowh">
<!-- The ordering of the following items must be consistent
with dns_zonestatscounter_xxx -->
<th>NotifyOutv4</th>
<th>NotifyOutv6</th>
<th>NotifyInv4</th>
<th>NotifyInv6</th>
<th>NotifyRej</th>
<th>SOAOutv4</th>
<th>SOAOutv6</th>
<th>AXFRReqv4</th>
<th>AXFRReqv6</th>
<th>IXFRReqv4</th>
</tr>
<tr class="lrow">
<td><xsl:value-of select="server/zonestats/NotifyOutv4"/></td>
<td><xsl:value-of select="server/zonestats/NotifyOutv6"/></td>
<td><xsl:value-of select="server/zonestats/NotifyInv4"/></td>
<td><xsl:value-of select="server/zonestats/NotifyInv6"/></td>
<td><xsl:value-of select="server/zonestats/NotifyRej"/></td>
<td><xsl:value-of select="server/zonestats/SOAOutv4"/></td>
<td><xsl:value-of select="server/zonestats/SOAOutv6"/></td>
<td><xsl:value-of select="server/zonestats/AXFRReqv4"/></td>
<td><xsl:value-of select="server/zonestats/AXFRReqv6"/></td>
<td><xsl:value-of select="server/zonestats/IXFRReqv4"/></td>
</tr>
<tr class="rowh">
<th>IXFRReqv6</th>
<th>XfrSuccess</th>
<th>XfrFail</th>
<th/>
<th/>
<th/>
<th/>
<th/>
<th/>
<th/>
</tr>
<tr class="lrow">
<td><xsl:value-of select="server/zonestats/IXFRReqv6"/></td>
<td><xsl:value-of select="server/zonestats/XfrSuccess"/></td>
<td><xsl:value-of select="server/zonestats/XfrFail"/></td>
<td/>
<td/>
<td/>
<td/>
<td/>
<td/>
<td/>
</tr>
</table>
<br/>
<xsl:for-each select="views/view">
<table>
<tr class="rowh">
<th colspan="10">Resolver Statistics for View <xsl:value-of select="name"/></th>
</tr>
<tr class="rowh">
<!-- The ordering of the following items must be consistent
with dns_resstatscounter_xxx -->
<th>Queryv4</th>
<th>Queryv6</th>
<th>Responsev4</th>
<th>Responsev6</th>
<th>NXDOMAIN</th>
<th>SERVFAIL</th>
<th>FORMERR</th>
<th>OtherError</th>
<th>EDNS0Fail</th>
<!-- this counter is not applicable to per-view stat,
but keep it for generating the description table used in
the statschannel.c.
<th>Mismatch</th> -->
<th>Truncated</th>
</tr>
<tr class="lrow">
<td><xsl:value-of select="resstats/Queryv4"/></td>
<td><xsl:value-of select="resstats/Queryv6"/></td>
<td><xsl:value-of select="resstats/Responsev4"/></td>
<td><xsl:value-of select="resstats/Responsev6"/></td>
<td><xsl:value-of select="resstats/NXDOMAIN"/></td>
<td><xsl:value-of select="resstats/SERVFAIL"/></td>
<td><xsl:value-of select="resstats/FORMERR"/></td>
<td><xsl:value-of select="resstats/OtherError"/></td>
<td><xsl:value-of select="resstats/EDNS0Fail"/></td>
<!-- <td><xsl:value-of select="resstats/Mismatch"/></td> -->
<td><xsl:value-of select="resstats/Truncated"/></td>
</tr>
<tr class="rowh">
<th>Lame</th>
<th>Retry</th>
<th>GlueFetchv4</th>
<th>GlueFetchv6</th>
<th>GlueFetchv4Fail</th>
<th>GlueFetchv6Fail</th>
<th>ValAttempt</th>
<th>ValOk</th>
<th>ValNegOk</th>
<th>ValFail</th>
</tr>
<tr class="lrow">
<td><xsl:value-of select="resstats/Lame"/></td>
<td><xsl:value-of select="resstats/Retry"/></td>
<td><xsl:value-of select="resstats/GlueFetchv4"/></td>
<td><xsl:value-of select="resstats/GlueFetchv6"/></td>
<td><xsl:value-of select="resstats/GlueFetchv4Fail"/></td>
<td><xsl:value-of select="resstats/GlueFetchv6Fail"/></td>
<td><xsl:value-of select="resstats/ValAttempt"/></td>
<td><xsl:value-of select="resstats/ValOk"/></td>
<td><xsl:value-of select="resstats/ValNegOk"/></td>
<td><xsl:value-of select="resstats/ValFail"/></td>
</tr>
</table>
<br/>
</xsl:for-each>
<br/>
<xsl:for-each select="views/view">
<table>
<tr class="rowh">
<th colspan="2">Cache DB RRsets for View <xsl:value-of select="name"/></th>
</tr>
<xsl:for-each select="cache/rrset">
<tr class="lrow">
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="counter"/></td>
</tr>
</xsl:for-each>
</table>
<br/>
</xsl:for-each>
<br/>
<xsl:for-each select="views/view">
<table>
<tr class="rowh">
<th colspan="10">Zones for View <xsl:value-of select="name"/></th>
</tr>
<tr class="rowh">
<th>Name</th>
<th>Class</th>
<th>Serial</th>
<th>Success</th>
<th>Referral</th>
<th>NXRRSET</th>
<th>NXDOMAIN</th>
<th>Failure</th>
<th>XfrReqDone</th>
<th>XfrRej</th>
</tr>
<xsl:for-each select="zones/zone">
<tr class="lrow">
<td>
<xsl:value-of select="name"/>
</td>
<td>
<xsl:value-of select="rdataclass"/>
</td>
<td>
<xsl:value-of select="serial"/>
</td>
<td>
<xsl:value-of select="counters/QrySuccess"/>
</td>
<td>
<xsl:value-of select="counters/QryReferral"/>
</td>
<td>
<xsl:value-of select="counters/QryNxrrset"/>
</td>
<td>
<xsl:value-of select="counters/QryNXDOMAIN"/>
</td>
<td>
<xsl:value-of select="counters/QryFailure"/>
</td>
<td>
<xsl:value-of select="counters/XfrReqDone"/>
</td>
<td>
<xsl:value-of select="counters/XfrRej"/>
</td>
</tr>
</xsl:for-each>
</table>
<br/>
</xsl:for-each>
<br/>
<table>
<tr class="rowh">
<th colspan="7">Network Status</th>
</tr>
<tr class="rowh">
<th>ID</th>
<th>Name</th>
<th>Type</th>
<th>References</th>
<th>LocalAddress</th>
<th>PeerAddress</th>
<th>State</th>
</tr>
<xsl:for-each select="socketmgr/sockets/socket">
<tr class="lrow">
<td>
<xsl:value-of select="id"/>
</td>
<td>
<xsl:value-of select="name"/>
</td>
<td>
<xsl:value-of select="type"/>
</td>
<td>
<xsl:value-of select="references"/>
</td>
<td>
<xsl:value-of select="local-address"/>
</td>
<td>
<xsl:value-of select="peer-address"/>
</td>
<td>
<xsl:for-each select="states">
<xsl:value-of select="."/>
</xsl:for-each>
</td>
</tr>
</xsl:for-each>
</table>
<br/>
<table>
<tr class="rowh">
<th colspan="2">Task Manager Configuration</th>
</tr>
<tr class="lrow">
<td>Thread-Model</td>
<td>
<xsl:value-of select="taskmgr/thread-model/type"/>
</td>
</tr>
<tr class="lrow">
<td>Worker Threads</td>
<td>
<xsl:value-of select="taskmgr/thread-model/worker-threads"/>
</td>
</tr>
<tr class="lrow">
<td>Default Quantum</td>
<td>
<xsl:value-of select="taskmgr/thread-model/default-quantum"/>
</td>
</tr>
<tr class="lrow">
<td>Tasks Running</td>
<td>
<xsl:value-of select="taskmgr/thread-model/tasks-running"/>
</td>
</tr>
</table>
<br/>
<table>
<tr class="rowh">
<th colspan="5">Tasks</th>
</tr>
<tr class="rowh">
<th>ID</th>
<th>Name</th>
<th>References</th>
<th>State</th>
<th>Quantum</th>
</tr>
<xsl:for-each select="taskmgr/tasks/task">
<tr class="lrow">
<td>
<xsl:value-of select="id"/>
</td>
<td>
<xsl:value-of select="name"/>
</td>
<td>
<xsl:value-of select="references"/>
</td>
<td>
<xsl:value-of select="state"/>
</td>
<td>
<xsl:value-of select="quantum"/>
</td>
</tr>
</xsl:for-each>
</table>
<br />
<table>
<tr class="rowh">
<th colspan="4">Memory Usage Summary</th>
</tr>
<xsl:for-each select="memory/summary/*">
<tr class="lrow">
<td><xsl:value-of select="name()"/></td>
<td><xsl:value-of select="."/></td>
</tr>
</xsl:for-each>
</table>
<br />
<table>
<tr class="rowh">
<th colspan="10">Memory Contexts</th>
</tr>
<tr class="rowh">
<th>ID</th>
<th>Name</th>
<th>References</th>
<th>TotalUse</th>
<th>InUse</th>
<th>MaxUse</th>
<th>BlockSize</th>
<th>Pools</th>
<th>HiWater</th>
<th>LoWater</th>
</tr>
<xsl:for-each select="memory/contexts/context">
<tr class="lrow">
<td>
<xsl:value-of select="id"/>
</td>
<td>
<xsl:value-of select="name"/>
</td>
<td>
<xsl:value-of select="references"/>
</td>
<td>
<xsl:value-of select="total"/>
</td>
<td>
<xsl:value-of select="inuse"/>
</td>
<td>
<xsl:value-of select="maxinuse"/>
</td>
<td>
<xsl:value-of select="blocksize"/>
</td>
<td>
<xsl:value-of select="pools"/>
</td>
<td>
<xsl:value-of select="hiwater"/>
</td>
<td>
<xsl:value-of select="lowater"/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
-697
View File
@@ -1,697 +0,0 @@
/*
* Generated by convertxsl.pl 1.13 2008/04/03 10:52:46 marka Exp
* From bind9.xsl 1.18 2008/06/23 19:41:18 jinmei Exp
*/
static char xslmsg[] =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<!--\n"
" - Copyright (C) 2006-2008 Internet Systems Consortium, Inc. (\"ISC\")\n"
" -\n"
" - Permission to use, copy, modify, and/or distribute this software for any\n"
" - purpose with or without fee is hereby granted, provided that the above\n"
" - copyright notice and this permission notice appear in all copies.\n"
" -\n"
" - THE SOFTWARE IS PROVIDED \"AS IS\" AND ISC DISCLAIMS ALL WARRANTIES WITH\n"
" - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n"
" - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,\n"
" - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n"
" - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n"
" - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n"
" - PERFORMANCE OF THIS SOFTWARE.\n"
"-->\n"
"\n"
"<!-- \045Id: bind9.xsl,v 1.18 2008/06/23 19:41:18 jinmei Exp \045 -->\n"
"\n"
"<xsl:stylesheet version=\"1.0\"\n"
" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n"
" xmlns=\"http://www.w3.org/1999/xhtml\">\n"
" <xsl:template match=\"isc/bind/statistics\">\n"
" <html>\n"
" <head>\n"
" <style type=\"text/css\">\n"
"body {\n"
" font-family: sans-serif;\n"
" background-color: #ffffff;\n"
" color: #000000;\n"
"}\n"
"\n"
"table {\n"
" border-collapse: collapse;\n"
"}\n"
"\n"
"tr.rowh {\n"
" text-align: center;\n"
" border: 1px solid #000000;\n"
" background-color: #8080ff;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"tr.row {\n"
" text-align: right;\n"
" border: 1px solid #000000;\n"
" background-color: teal;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"tr.lrow {\n"
" text-align: left;\n"
" border: 1px solid #000000;\n"
" background-color: teal;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"td, th {\n"
" padding-right: 5px;\n"
" padding-left: 5px;\n"
"}\n"
"\n"
".header {\n"
" background-color: teal;\n"
" color: #ffffff;\n"
" padding: 4px;\n"
"}\n"
"\n"
".content {\n"
" background-color: #ffffff;\n"
" color: #000000;\n"
" padding: 4px;\n"
"}\n"
"\n"
".item {\n"
" padding: 4px;\n"
" align: right;\n"
"}\n"
"\n"
".value {\n"
" padding: 4px;\n"
" font-weight: bold;\n"
"}\n"
" </style>\n"
" <title>BIND 9 Statistics</title>\n"
" </head>\n"
" <body>\n"
" <div class=\"header\">Bind 9 Configuration and Statistics</div>\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"2\">Times</th></tr>\n"
" <tr class=\"lrow\">\n"
" <td>boot-time</td>\n"
" <td><xsl:value-of select=\"server/boot-time\"/></td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>current-time</td>\n"
" <td><xsl:value-of select=\"server/current-time\"/></td>\n"
" </tr>\n"
" </table>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"2\">Incoming Requests</th></tr>\n"
" <xsl:for-each select=\"server/requests/opcode\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name\"/></td>\n"
" <td><xsl:value-of select=\"counter\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"2\">Incoming Queries</th></tr>\n"
" <xsl:for-each select=\"server/queries-in/rdtype\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name\"/></td>\n"
" <td><xsl:value-of select=\"counter\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
"\n"
" <br/>\n"
"\n"
" <xsl:for-each select=\"views/view\">\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"2\">Outgoing Queries from View <xsl:value-of select=\"name\"/></th>\n"
" </tr>\n"
" <xsl:for-each select=\"rdtype\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name\"/></td>\n"
" <td><xsl:value-of select=\"counter\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" </xsl:for-each>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"10\">Server Statistics</th></tr>\n"
" <tr class=\"rowh\">\n"
" <!-- The ordering of the following items must be consistent\n"
" with dns_nsstatscounter_xxx -->\n"
" <th>Requestv4</th>\n"
" <th>Requestv6</th>\n"
" <th>ReqEdns0</th>\n"
" <th>ReqBadEDNSVer</th>\n"
" <th>ReqTSIG</th>\n"
" <th>ReqSIG0</th>\n"
" <th>ReqBadSIG</th>\n"
" <th>ReqTCP</th>\n"
" <th>AuthQryRej</th>\n"
" <th>RecQryRej</th>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"server/nsstats/Requestv4\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/Requestv6\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/ReqEdns0\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/ReqBadEDNSVer\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/ReqTSIG\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/ReqSIG0\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/ReqBadSIG\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/ReqTCP\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/AuthQryRej\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/RecQryRej\"/></td>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>XfrRej</th>\n"
" <th>UpdateRej</th>\n"
" <th>Response</th>\n"
" <th>RespTruncated</th>\n"
" <th>RespEDNS0</th>\n"
" <th>RespTSIG</th>\n"
" <th>RespSIG0</th>\n"
" <th>QrySuccess</th>\n"
" <th>QryAuthAns</th>\n"
" <th>QryNoauthAns</th>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"server/nsstats/XfrRej\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/UpdateRej\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/Response\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/TruncatedResp\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/RespEDNS0\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/RespTSIG\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/RespSIG0\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QrySuccess\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QryAuthAns\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QryNoauthAns\"/></td>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>QryReferral</th>\n"
" <th>QryNxrrset</th>\n"
" <th>QrySERVFAIL</th>\n"
" <th>QryFORMERR</th>\n"
" <th>QryNXDOMAIN</th>\n"
" <th>QryRecursion</th>\n"
" <th>QryDuplicate</th>\n"
" <th>QryDropped</th>\n"
" <th>QryFailure</th>\n"
" <th>XfrReqDone</th>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"server/nsstats/QryReferral\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QryNxrrset\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QrySERVFAIL\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QryFORMERR\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QryNXDOMAIN\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QryRecursion\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QryDuplicate\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QryDropped\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/QryFailure\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/XfrReqDone\"/></td>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>UpdateReqFwd</th>\n"
" <th>UpdateRespFwd</th>\n"
" <th>UpdateFwdFail</th>\n"
" <th>UpdateDone</th>\n"
" <th>UpdateFail</th>\n"
" <th>UpdateBadPrereq</th>\n"
" <th>RespMismatch</th>\n"
" <th />\n"
" <th />\n"
" <th />\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"server/nsstats/UpdateReqFwd\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/UpdateRespFwd\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/UpdateFwdFail\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/UpdateDone\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/UpdateFail\"/></td>\n"
" <td><xsl:value-of select=\"server/nsstats/UpdateBadPrereq\"/></td>\n"
" <td><xsl:value-of select=\"server/resstats/Mismatch\"/></td>\n"
" <td />\n"
" <td />\n"
" <td />\n"
" </tr>\n"
" </table>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"10\">Zone Maintenance Statistics</th></tr>\n"
" <tr class=\"rowh\">\n"
" <!-- The ordering of the following items must be consistent\n"
" with dns_zonestatscounter_xxx -->\n"
" <th>NotifyOutv4</th>\n"
" <th>NotifyOutv6</th>\n"
" <th>NotifyInv4</th>\n"
" <th>NotifyInv6</th>\n"
" <th>NotifyRej</th>\n"
" <th>SOAOutv4</th>\n"
" <th>SOAOutv6</th>\n"
" <th>AXFRReqv4</th>\n"
" <th>AXFRReqv6</th>\n"
" <th>IXFRReqv4</th>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"server/zonestats/NotifyOutv4\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/NotifyOutv6\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/NotifyInv4\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/NotifyInv6\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/NotifyRej\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/SOAOutv4\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/SOAOutv6\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/AXFRReqv4\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/AXFRReqv6\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/IXFRReqv4\"/></td>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>IXFRReqv6</th>\n"
" <th>XfrSuccess</th>\n"
" <th>XfrFail</th>\n"
" <th/>\n"
" <th/>\n"
" <th/>\n"
" <th/>\n"
" <th/>\n"
" <th/>\n"
" <th/>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"server/zonestats/IXFRReqv6\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/XfrSuccess\"/></td>\n"
" <td><xsl:value-of select=\"server/zonestats/XfrFail\"/></td>\n"
" <td/>\n"
" <td/>\n"
" <td/>\n"
" <td/>\n"
" <td/>\n"
" <td/>\n"
" <td/>\n"
" </tr>\n"
" </table>\n"
"\n"
" <br/>\n"
"\n"
" <xsl:for-each select=\"views/view\">\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"10\">Resolver Statistics for View <xsl:value-of select=\"name\"/></th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <!-- The ordering of the following items must be consistent\n"
" with dns_resstatscounter_xxx -->\n"
" <th>Queryv4</th>\n"
" <th>Queryv6</th>\n"
" <th>Responsev4</th>\n"
" <th>Responsev6</th>\n"
" <th>NXDOMAIN</th>\n"
" <th>SERVFAIL</th>\n"
" <th>FORMERR</th>\n"
" <th>OtherError</th>\n"
" <th>EDNS0Fail</th>\n"
" <!-- this counter is not applicable to per-view stat,\n"
" but keep it for generating the description table used in\n"
" the statschannel.c.\n"
" <th>Mismatch</th> -->\n"
" <th>Truncated</th>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"resstats/Queryv4\"/></td>\n"
" <td><xsl:value-of select=\"resstats/Queryv6\"/></td>\n"
" <td><xsl:value-of select=\"resstats/Responsev4\"/></td>\n"
" <td><xsl:value-of select=\"resstats/Responsev6\"/></td>\n"
" <td><xsl:value-of select=\"resstats/NXDOMAIN\"/></td>\n"
" <td><xsl:value-of select=\"resstats/SERVFAIL\"/></td>\n"
" <td><xsl:value-of select=\"resstats/FORMERR\"/></td>\n"
" <td><xsl:value-of select=\"resstats/OtherError\"/></td>\n"
" <td><xsl:value-of select=\"resstats/EDNS0Fail\"/></td>\n"
" <!-- <td><xsl:value-of select=\"resstats/Mismatch\"/></td> -->\n"
" <td><xsl:value-of select=\"resstats/Truncated\"/></td>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>Lame</th>\n"
" <th>Retry</th>\n"
" <th>GlueFetchv4</th>\n"
" <th>GlueFetchv6</th>\n"
" <th>GlueFetchv4Fail</th>\n"
" <th>GlueFetchv6Fail</th>\n"
" <th>ValAttempt</th>\n"
" <th>ValOk</th>\n"
" <th>ValNegOk</th>\n"
" <th>ValFail</th>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"resstats/Lame\"/></td>\n"
" <td><xsl:value-of select=\"resstats/Retry\"/></td>\n"
" <td><xsl:value-of select=\"resstats/GlueFetchv4\"/></td>\n"
" <td><xsl:value-of select=\"resstats/GlueFetchv6\"/></td>\n"
" <td><xsl:value-of select=\"resstats/GlueFetchv4Fail\"/></td>\n"
" <td><xsl:value-of select=\"resstats/GlueFetchv6Fail\"/></td>\n"
" <td><xsl:value-of select=\"resstats/ValAttempt\"/></td>\n"
" <td><xsl:value-of select=\"resstats/ValOk\"/></td>\n"
" <td><xsl:value-of select=\"resstats/ValNegOk\"/></td>\n"
" <td><xsl:value-of select=\"resstats/ValFail\"/></td>\n"
" </tr>\n"
" </table>\n"
" <br/>\n"
" </xsl:for-each>\n"
"\n"
" <br/>\n"
"\n"
" <xsl:for-each select=\"views/view\">\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"2\">Cache DB RRsets for View <xsl:value-of select=\"name\"/></th>\n"
" </tr>\n"
" <xsl:for-each select=\"cache/rrset\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name\"/></td>\n"
" <td><xsl:value-of select=\"counter\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" </xsl:for-each>\n"
"\n"
" <br/>\n"
"\n"
" <xsl:for-each select=\"views/view\">\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"10\">Zones for View <xsl:value-of select=\"name\"/></th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>Name</th>\n"
" <th>Class</th>\n"
" <th>Serial</th>\n"
" <th>Success</th>\n"
" <th>Referral</th>\n"
" <th>NXRRSET</th>\n"
" <th>NXDOMAIN</th>\n"
" <th>Failure</th>\n"
" <th>XfrReqDone</th>\n"
" <th>XfrRej</th>\n"
" </tr>\n"
" <xsl:for-each select=\"zones/zone\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"rdataclass\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"serial\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QrySuccess\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QryReferral\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QryNxrrset\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QryNXDOMAIN\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QryFailure\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/XfrReqDone\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/XfrRej\"/>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" </xsl:for-each>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"7\">Network Status</th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>ID</th>\n"
" <th>Name</th>\n"
" <th>Type</th>\n"
" <th>References</th>\n"
" <th>LocalAddress</th>\n"
" <th>PeerAddress</th>\n"
" <th>State</th>\n"
" </tr>\n"
" <xsl:for-each select=\"socketmgr/sockets/socket\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"id\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"type\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"references\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"local-address\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"peer-address\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:for-each select=\"states\">\n"
" <xsl:value-of select=\".\"/>\n"
" </xsl:for-each>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"2\">Task Manager Configuration</th>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Thread-Model</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/type\"/>\n"
" </td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Worker Threads</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/worker-threads\"/>\n"
" </td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Default Quantum</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/default-quantum\"/>\n"
" </td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Tasks Running</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/tasks-running\"/>\n"
" </td>\n"
" </tr>\n"
" </table>\n"
" <br/>\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"5\">Tasks</th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>ID</th>\n"
" <th>Name</th>\n"
" <th>References</th>\n"
" <th>State</th>\n"
" <th>Quantum</th>\n"
" </tr>\n"
" <xsl:for-each select=\"taskmgr/tasks/task\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"id\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"references\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"state\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"quantum\"/>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br />\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"4\">Memory Usage Summary</th>\n"
" </tr>\n"
" <xsl:for-each select=\"memory/summary/*\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name()\"/></td>\n"
" <td><xsl:value-of select=\".\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br />\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"10\">Memory Contexts</th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>ID</th>\n"
" <th>Name</th>\n"
" <th>References</th>\n"
" <th>TotalUse</th>\n"
" <th>InUse</th>\n"
" <th>MaxUse</th>\n"
" <th>BlockSize</th>\n"
" <th>Pools</th>\n"
" <th>HiWater</th>\n"
" <th>LoWater</th>\n"
" </tr>\n"
" <xsl:for-each select=\"memory/contexts/context\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"id\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"references\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"total\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"inuse\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"maxinuse\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"blocksize\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"pools\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"hiwater\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"lowater\"/>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
"\n"
" </body>\n"
" </html>\n"
" </xsl:template>\n"
"</xsl:stylesheet>\n";
#ifdef HAVE_LIBXML2
static const char *nsstats_xmldesc[] = { "Requestv4",
"Requestv6",
"ReqEdns0",
"ReqBadEDNSVer",
"ReqTSIG",
"ReqSIG0",
"ReqBadSIG",
"ReqTCP",
"AuthQryRej",
"RecQryRej",
"XfrRej",
"UpdateRej",
"Response",
"TruncatedResp",
"RespEDNS0",
"RespTSIG",
"RespSIG0",
"QrySuccess",
"QryAuthAns",
"QryNoauthAns",
"QryReferral",
"QryNxrrset",
"QrySERVFAIL",
"QryFORMERR",
"QryNXDOMAIN",
"QryRecursion",
"QryDuplicate",
"QryDropped",
"QryFailure",
"XfrReqDone",
"UpdateReqFwd",
"UpdateRespFwd",
"UpdateFwdFail",
"UpdateDone",
"UpdateFail",
"UpdateBadPrereq"
};
static const char *zonestats_xmldesc[] = { "NotifyOutv4",
"NotifyOutv6",
"NotifyInv4",
"NotifyInv6",
"NotifyRej",
"SOAOutv4",
"SOAOutv6",
"AXFRReqv4",
"AXFRReqv6",
"IXFRReqv4",
"IXFRReqv6",
"XfrSuccess",
"XfrFail"
};
static const char *resstats_xmldesc[] = { "Queryv4",
"Queryv6",
"Responsev4",
"Responsev6",
"NXDOMAIN",
"SERVFAIL",
"FORMERR",
"OtherError",
"EDNS0Fail",
"Mismatch",
"Truncated",
"Lame",
"Retry",
"GlueFetchv4",
"GlueFetchv6",
"GlueFetchv4Fail",
"GlueFetchv6Fail",
"ValAttempt",
"ValOk",
"ValNegOk",
"ValFail"
};
#endif
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: builtin.c,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: builtin.c,v 1.5.18.5 2005/08/23 04:12:38 marka Exp $ */
/*! \file
* \brief
+63 -226
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.c,v 1.258 2008/06/23 19:41:18 jinmei Exp $ */
/* $Id: client.c,v 1.219.18.28.10.2 2008/07/23 07:28:54 tbox Exp $ */
#include <config.h>
@@ -41,7 +41,6 @@
#include <dns/rdatalist.h>
#include <dns/rdataset.h>
#include <dns/resolver.h>
#include <dns/stats.h>
#include <dns/tsig.h>
#include <dns/view.h>
#include <dns/zone.h>
@@ -49,7 +48,6 @@
#include <named/interfacemgr.h>
#include <named/log.h>
#include <named/notify.h>
#include <named/os.h>
#include <named/server.h>
#include <named/update.h>
@@ -121,9 +119,9 @@ struct ns_clientmgr {
isc_mutex_t lock;
/* Locked by lock. */
isc_boolean_t exiting;
client_list_t active; /*%< Active clients */
client_list_t recursing; /*%< Recursing clients */
client_list_t inactive; /*%< To be recycled */
client_list_t active; /*%< Active clients */
client_list_t recursing; /*%< Recursing clients */
client_list_t inactive; /*%< To be recycled */
#if NMCTXS > 0
/*%< mctx pool for clients. */
unsigned int nextmctx;
@@ -134,7 +132,7 @@ struct ns_clientmgr {
#define MANAGER_MAGIC ISC_MAGIC('N', 'S', 'C', 'm')
#define VALID_MANAGER(m) ISC_MAGIC_VALID(m, MANAGER_MAGIC)
/*!
/*!
* Client object states. Ordering is significant: higher-numbered
* states are generally "more active", meaning that the client can
* have more dynamically allocated data, outstanding events, etc.
@@ -288,7 +286,7 @@ exit_check(ns_client_t *client) {
*
* Keep the view attached until any outstanding updates complete.
*/
if (client->nupdates == 0 &&
if (client->nupdates == 0 &&
client->newstate == NS_CLIENTSTATE_FREED && client->view != NULL)
dns_view_detach(&client->view);
@@ -465,8 +463,6 @@ exit_check(ns_client_t *client) {
if (client->state == client->newstate) {
client->newstate = NS_CLIENTSTATE_MAX;
if (client->needshutdown)
isc_task_shutdown(client->task);
goto unlock;
}
}
@@ -523,14 +519,6 @@ exit_check(ns_client_t *client) {
CTRACE("free");
client->magic = 0;
/*
* Check that there are no other external references to
* the memory context.
*/
if (ns_g_clienttest && isc_mem_references(client->mctx) != 1) {
isc_mem_stats(client->mctx, stderr);
INSIST(0);
}
isc_mem_putanddetach(&client->mctx, client, sizeof(*client));
goto unlock;
@@ -604,7 +592,6 @@ client_shutdown(isc_task_t *task, isc_event_t *event) {
}
client->newstate = NS_CLIENTSTATE_FREED;
client->needshutdown = ISC_FALSE;
(void)exit_check(client);
}
@@ -653,11 +640,11 @@ ns_client_checkactive(ns_client_t *client) {
/*
* This client object should normally go inactive
* at this point, but if we have fewer active client
* objects than desired due to earlier quota exhaustion,
* objects than desired due to earlier quota exhaustion,
* keep it active to make up for the shortage.
*/
isc_boolean_t need_another_client = ISC_FALSE;
if (TCP_CLIENT(client) && !ns_g_clienttest) {
if (TCP_CLIENT(client)) {
LOCK(&client->interface->lock);
if (client->interface->ntcpcurrent <
client->interface->ntcptarget)
@@ -830,7 +817,7 @@ client_sendpkg(ns_client_t *client, isc_buffer_t *buffer) {
isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
if (ns_g_server->blackholeacl != NULL &&
dns_acl_match(&netaddr, NULL,
ns_g_server->blackholeacl,
ns_g_server->blackholeacl,
&ns_g_server->aclenv,
&match, NULL) == ISC_R_SUCCESS &&
match > 0)
@@ -847,7 +834,7 @@ client_sendpkg(ns_client_t *client, isc_buffer_t *buffer) {
isc_buffer_usedregion(buffer, &r);
CTRACE("sendto");
result = isc_socket_sendto2(socket, &r, client->task,
address, pktinfo,
client->sendevent, sockflags);
@@ -919,7 +906,6 @@ ns_client_send(ns_client_t *client) {
unsigned char sendbuf[SEND_BUFFER_SIZE];
unsigned int dnssec_opts;
unsigned int preferred_glue;
isc_boolean_t opt_included = ISC_FALSE;
REQUIRE(NS_CLIENT_VALID(client));
@@ -957,10 +943,11 @@ ns_client_send(ns_client_t *client) {
result = dns_message_renderbegin(client->message, &cctx, &buffer);
if (result != ISC_R_SUCCESS)
goto done;
if (client->opt != NULL) {
result = dns_message_setopt(client->message, client->opt);
opt_included = ISC_TRUE;
/*
* XXXRTH dns_message_setopt() should probably do this...
*/
client->opt = NULL;
if (result != ISC_R_SUCCESS)
goto done;
@@ -1016,26 +1003,6 @@ ns_client_send(ns_client_t *client) {
result = client_sendpkg(client, &tcpbuffer);
} else
result = client_sendpkg(client, &buffer);
/* update statistics (XXXJT: is it okay to access message->xxxkey?) */
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_response);
if (opt_included) {
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_edns0out);
}
if (client->message->tsigkey != NULL) {
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_tsigout);
}
if (client->message->sig0key != NULL) {
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_sig0out);
}
if ((client->message->flags & DNS_MESSAGEFLAG_TC) != 0)
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_truncatedresp);
if (result == ISC_R_SUCCESS)
return;
@@ -1141,8 +1108,8 @@ ns_client_error(ns_client_t *client, isc_result_t result) {
/*
* FORMERR loop avoidance: If we sent a FORMERR message
* with the same ID to the same client less than two
* seconds ago, assume that we are in an infinite error
* packet dialog with a server for some protocol whose
* seconds ago, assume that we are in an infinite error
* packet dialog with a server for some protocol whose
* error responses look enough like DNS queries to
* elicit a FORMERR response. Drop a packet to break
* the loop.
@@ -1212,46 +1179,11 @@ client_addopt(ns_client_t *client) {
*/
rdatalist->ttl = (client->extflags & DNS_MESSAGEEXTFLAG_REPLYPRESERVE);
/* Set EDNS options if applicable */
if (client->attributes & NS_CLIENTATTR_WANTNSID &&
(ns_g_server->server_id != NULL ||
ns_g_server->server_usehostname)) {
/*
* Space required for NSID data:
* 2 bytes for opt code
* + 2 bytes for NSID length
* + NSID itself
*/
char nsid[BUFSIZ];
isc_buffer_t *buffer = NULL;
if (ns_g_server->server_usehostname) {
isc_result_t result;
result = ns_os_gethostname(nsid, sizeof(nsid));
if (result != ISC_R_SUCCESS) {
goto no_nsid;
}
} else {
strncpy(nsid, ns_g_server->server_id, sizeof(nsid));
}
rdata->length = strlen(nsid) + 4;
result = isc_buffer_allocate(client->mctx, &buffer,
rdata->length);
if (result != ISC_R_SUCCESS)
goto no_nsid;
isc_buffer_putuint16(buffer, DNS_OPT_NSID);
isc_buffer_putuint16(buffer, strlen(nsid));
isc_buffer_putstr(buffer, nsid);
rdata->data = buffer->base;
dns_message_takebuffer(client->message, &buffer);
} else {
no_nsid:
rdata->data = NULL;
rdata->length = 0;
}
/*
* No EDNS options in the default case.
*/
rdata->data = NULL;
rdata->length = 0;
rdata->rdclass = rdatalist->rdclass;
rdata->type = rdatalist->type;
rdata->flags = 0;
@@ -1321,14 +1253,14 @@ ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey,
isc_boolean_t match;
isc_result_t result;
result = dns_view_gettsig(view, &mykey->name, &key);
tsig = &mykey->name;
result = dns_view_gettsig(view, tsig, &key);
if (result != ISC_R_SUCCESS)
continue;
match = dst_key_compare(mykey->key, key->key);
dns_tsigkey_detach(&key);
if (!match)
continue;
tsig = dns_tsigkey_identity(mykey);
}
if (allowed(&netsrc, tsig, view->matchclients) &&
@@ -1352,16 +1284,13 @@ client_request(isc_task_t *task, isc_event_t *event) {
isc_buffer_t tbuffer;
dns_view_t *view;
dns_rdataset_t *opt;
dns_name_t *signame;
isc_boolean_t ra; /* Recursion available. */
isc_boolean_t ra; /* Recursion available. */
isc_netaddr_t netaddr;
isc_netaddr_t destaddr;
int match;
dns_messageid_t id;
unsigned int flags;
isc_boolean_t notimp;
dns_rdata_t rdata;
isc_uint16_t optcode;
REQUIRE(event != NULL);
client = event->ev_arg;
@@ -1510,20 +1439,6 @@ client_request(isc_task_t *task, isc_event_t *event) {
}
}
/*
* Update some statistics counters. Don't count responses.
*/
if (isc_sockaddr_pf(&client->peeraddr) == PF_INET) {
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_requestv4);
} else {
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_requestv6);
}
if (TCP_CLIENT(client))
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_tcp);
/*
* It's a request. Parse it.
*/
@@ -1537,8 +1452,6 @@ client_request(isc_task_t *task, isc_event_t *event) {
goto cleanup;
}
dns_opcodestats_increment(ns_g_server->opcodestats,
client->message->opcode);
switch (client->message->opcode) {
case dns_opcode_query:
case dns_opcode_update:
@@ -1586,35 +1499,12 @@ client_request(isc_task_t *task, isc_event_t *event) {
*/
client->ednsversion = (opt->ttl & 0x00FF0000) >> 16;
if (client->ednsversion > 0) {
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_badednsver);
result = client_addopt(client);
if (result == ISC_R_SUCCESS)
result = DNS_R_BADVERS;
ns_client_error(client, result);
goto cleanup;
}
/* Check for NSID request */
result = dns_rdataset_first(opt);
if (result == ISC_R_SUCCESS) {
dns_rdata_init(&rdata);
dns_rdataset_current(opt, &rdata);
if (rdata.length >= 2) {
isc_buffer_t nsidbuf;
isc_buffer_init(&nsidbuf,
rdata.data, rdata.length);
isc_buffer_add(&nsidbuf, rdata.length);
optcode = isc_buffer_getuint16(&nsidbuf);
if (optcode == DNS_OPT_NSID)
client->attributes |=
NS_CLIENTATTR_WANTNSID;
}
}
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_edns0in);
/*
* Create an OPT for our reply.
*/
@@ -1644,7 +1534,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
* For IPv6 UDP queries, we get this from the pktinfo structure (if
* supported).
* If all the attempts fail (this can happen due to memory shortage,
* etc), we regard this as an error for safety.
* etc), we regard this as an error for safety.
*/
if ((client->interface->flags & NS_INTERFACEFLAG_ANYADDR) == 0)
isc_netaddr_fromsockaddr(&destaddr, &client->interface->addr);
@@ -1701,12 +1591,11 @@ client_request(isc_task_t *task, isc_event_t *event) {
client->message->rdclass == dns_rdataclass_any)
{
dns_name_t *tsig = NULL;
sigresult = dns_message_rechecksig(client->message,
view);
if (sigresult == ISC_R_SUCCESS)
tsig = dns_tsigkey_identity(client->message->tsigkey);
tsig = client->message->tsigname;
if (allowed(&netaddr, tsig, view->matchclients) &&
allowed(&destaddr, tsig, view->matchdestinations) &&
!((client->message->flags & DNS_MESSAGEFLAG_RD)
@@ -1759,17 +1648,6 @@ client_request(isc_task_t *task, isc_event_t *event) {
client->signer = NULL;
dns_name_init(&client->signername, NULL);
result = dns_message_signer(client->message, &client->signername);
if (result != ISC_R_NOTFOUND) {
signame = NULL;
if (dns_message_gettsig(client->message, &signame) != NULL) {
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_tsigin);
} else {
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_sig0in);
}
}
if (result == ISC_R_SUCCESS) {
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(3),
@@ -1786,42 +1664,24 @@ client_request(isc_task_t *task, isc_event_t *event) {
} else {
char tsigrcode[64];
isc_buffer_t b;
dns_name_t *name = NULL;
dns_rcode_t status;
isc_result_t tresult;
/* There is a signature, but it is bad. */
dns_generalstats_increment(ns_g_server->nsstats,
dns_nsstatscounter_invalidsig);
signame = NULL;
if (dns_message_gettsig(client->message, &signame) != NULL) {
if (dns_message_gettsig(client->message, &name) != NULL) {
char namebuf[DNS_NAME_FORMATSIZE];
char cnamebuf[DNS_NAME_FORMATSIZE];
dns_name_format(signame, namebuf, sizeof(namebuf));
dns_name_format(name, namebuf, sizeof(namebuf));
status = client->message->tsigstatus;
isc_buffer_init(&b, tsigrcode, sizeof(tsigrcode) - 1);
tresult = dns_tsigrcode_totext(status, &b);
INSIST(tresult == ISC_R_SUCCESS);
tsigrcode[isc_buffer_usedlength(&b)] = '\0';
if (client->message->tsigkey->generated) {
dns_name_format(client->message->tsigkey->creator,
cnamebuf, sizeof(cnamebuf));
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT,
ISC_LOG_ERROR,
"request has invalid signature: "
"TSIG %s (%s): %s (%s)", namebuf,
cnamebuf,
isc_result_totext(result),
tsigrcode);
} else {
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT,
ISC_LOG_ERROR,
"request has invalid signature: "
"TSIG %s: %s (%s)", namebuf,
isc_result_totext(result),
tsigrcode);
}
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT, ISC_LOG_ERROR,
"request has invalid signature: "
"TSIG %s: %s (%s)", namebuf,
isc_result_totext(result), tsigrcode);
} else {
status = client->message->sig0status;
isc_buffer_init(&b, tsigrcode, sizeof(tsigrcode) - 1);
@@ -1855,17 +1715,9 @@ client_request(isc_task_t *task, isc_event_t *event) {
ra = ISC_FALSE;
if (client->view->resolver != NULL &&
client->view->recursion == ISC_TRUE &&
ns_client_checkaclsilent(client, NULL,
client->view->recursionacl,
ns_client_checkaclsilent(client, client->view->recursionacl,
ISC_TRUE) == ISC_R_SUCCESS &&
ns_client_checkaclsilent(client, NULL,
client->view->queryacl,
ISC_TRUE) == ISC_R_SUCCESS &&
ns_client_checkaclsilent(client, &client->interface->addr,
client->view->recursiononacl,
ISC_TRUE) == ISC_R_SUCCESS &&
ns_client_checkaclsilent(client, &client->interface->addr,
client->view->queryonacl,
ns_client_checkaclsilent(client, client->view->queryacl,
ISC_TRUE) == ISC_R_SUCCESS)
ra = ISC_TRUE;
@@ -1874,7 +1726,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
ns_client_log(client, DNS_LOGCATEGORY_SECURITY, NS_LOGMODULE_CLIENT,
ISC_LOG_DEBUG(3), ra ? "recursion available" :
"recursion not available");
"recursion not available");
/*
* Adjust maximum UDP response size for this client.
@@ -1952,17 +1804,13 @@ client_timeout(isc_task_t *task, isc_event_t *event) {
static isc_result_t
get_clientmctx(ns_clientmgr_t *manager, isc_mem_t **mctxp) {
isc_mem_t *clientmctx;
#if NMCTXS > 0
isc_result_t result;
#endif
/*
* Caller must be holding the manager lock.
*/
if (ns_g_clienttest) {
result = isc_mem_create(0, 0, mctxp);
if (result == ISC_R_SUCCESS)
isc_mem_setname(*mctxp, "client", NULL);
return (result);
}
#if NMCTXS > 0
INSIST(manager->nextmctx < NMCTXS);
clientmctx = manager->mctxpool[manager->nextmctx];
@@ -1970,13 +1818,12 @@ get_clientmctx(ns_clientmgr_t *manager, isc_mem_t **mctxp) {
result = isc_mem_create(0, 0, &clientmctx);
if (result != ISC_R_SUCCESS)
return (result);
isc_mem_setname(clientmctx, "client", NULL);
manager->mctxpool[manager->nextmctx] = clientmctx;
manager->nextmctx++;
if (manager->nextmctx == NMCTXS)
manager->nextmctx = 0;
}
manager->nextmctx++;
if (manager->nextmctx == NMCTXS)
manager->nextmctx = 0;
#else
clientmctx = manager->mctx;
#endif
@@ -2119,8 +1966,6 @@ client_create(ns_clientmgr_t *manager, ns_client_t **clientp) {
if (result != ISC_R_SUCCESS)
goto cleanup_query;
client->needshutdown = ns_g_clienttest;
CTRACE("create");
*clientp = client;
@@ -2211,7 +2056,6 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
*/
if (nevent->result == ISC_R_SUCCESS) {
client->tcpsocket = nevent->newsocket;
isc_socket_setname(client->tcpsocket, "client-tcp", NULL);
client->state = NS_CLIENTSTATE_READING;
INSIST(client->recursionquota == NULL);
@@ -2224,7 +2068,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
} else {
/*
* XXXRTH What should we do? We're trying to accept but
* it didn't work. If we just give up, then TCP
* it didn't work. If we just give up, then TCP
* service may eventually stop.
*
* For now, we just go idle.
@@ -2249,7 +2093,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
if (ns_g_server->blackholeacl != NULL &&
dns_acl_match(&netaddr, NULL,
ns_g_server->blackholeacl,
ns_g_server->blackholeacl,
&ns_g_server->aclenv,
&match, NULL) == ISC_R_SUCCESS &&
match > 0)
@@ -2305,7 +2149,7 @@ client_accept(ns_client_t *client) {
isc_result_totext(result));
/*
* XXXRTH What should we do? We're trying to accept but
* it didn't work. If we just give up, then TCP
* it didn't work. If we just give up, then TCP
* service may eventually stop.
*
* For now, we just go idle.
@@ -2542,9 +2386,7 @@ ns_clientmgr_createclients(ns_clientmgr_t *manager, unsigned int n,
* Allocate a client. First try to get a recycled one;
* if that fails, make a new one.
*/
client = NULL;
if (!ns_g_clienttest)
client = ISC_LIST_HEAD(manager->inactive);
client = ISC_LIST_HEAD(manager->inactive);
if (client != NULL) {
MTRACE("recycle");
ISC_LIST_UNLINK(manager->inactive, client, link);
@@ -2600,8 +2442,8 @@ ns_client_getsockaddr(ns_client_t *client) {
}
isc_result_t
ns_client_checkaclsilent(ns_client_t *client, isc_sockaddr_t *sockaddr,
dns_acl_t *acl, isc_boolean_t default_allow)
ns_client_checkaclsilent(ns_client_t *client, dns_acl_t *acl,
isc_boolean_t default_allow)
{
isc_result_t result;
int match;
@@ -2614,16 +2456,11 @@ ns_client_checkaclsilent(ns_client_t *client, isc_sockaddr_t *sockaddr,
goto deny;
}
if (sockaddr == NULL)
isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
else
isc_netaddr_fromsockaddr(&netaddr, sockaddr);
isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
result = dns_acl_match(&netaddr, client->signer, acl,
&ns_g_server->aclenv,
&match, NULL);
if (result != ISC_R_SUCCESS)
goto deny; /* Internal error, already logged. */
if (match > 0)
@@ -2638,14 +2475,14 @@ ns_client_checkaclsilent(ns_client_t *client, isc_sockaddr_t *sockaddr,
}
isc_result_t
ns_client_checkacl(ns_client_t *client, isc_sockaddr_t *sockaddr,
ns_client_checkacl(ns_client_t *client,
const char *opname, dns_acl_t *acl,
isc_boolean_t default_allow, int log_level)
{
isc_result_t result =
ns_client_checkaclsilent(client, sockaddr, acl, default_allow);
ns_client_checkaclsilent(client, acl, default_allow);
if (result == ISC_R_SUCCESS)
if (result == ISC_R_SUCCESS)
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(3),
"%s approved", opname);
@@ -2666,7 +2503,7 @@ ns_client_name(ns_client_t *client, char *peerbuf, size_t len) {
void
ns_client_logv(ns_client_t *client, isc_logcategory_t *category,
isc_logmodule_t *module, int level, const char *fmt, va_list ap)
isc_logmodule_t *module, int level, const char *fmt, va_list ap)
{
char msgbuf[2048];
char peerbuf[ISC_SOCKADDR_FORMATSIZE];
@@ -2701,16 +2538,16 @@ ns_client_log(ns_client_t *client, isc_logcategory_t *category,
void
ns_client_aclmsg(const char *msg, dns_name_t *name, dns_rdatatype_t type,
dns_rdataclass_t rdclass, char *buf, size_t len)
dns_rdataclass_t rdclass, char *buf, size_t len)
{
char namebuf[DNS_NAME_FORMATSIZE];
char typebuf[DNS_RDATATYPE_FORMATSIZE];
char classbuf[DNS_RDATACLASS_FORMATSIZE];
char namebuf[DNS_NAME_FORMATSIZE];
char typebuf[DNS_RDATATYPE_FORMATSIZE];
char classbuf[DNS_RDATACLASS_FORMATSIZE];
dns_name_format(name, namebuf, sizeof(namebuf));
dns_rdatatype_format(type, typebuf, sizeof(typebuf));
dns_rdataclass_format(rdclass, classbuf, sizeof(classbuf));
(void)snprintf(buf, len, "%s '%s/%s/%s'", msg, namebuf, typebuf,
dns_name_format(name, namebuf, sizeof(namebuf));
dns_rdatatype_format(type, typebuf, sizeof(typebuf));
dns_rdataclass_format(rdclass, classbuf, sizeof(classbuf));
(void)snprintf(buf, len, "%s '%s/%s/%s'", msg, namebuf, typebuf,
classbuf);
}
@@ -2738,7 +2575,7 @@ ns_client_dumpmessage(ns_client_t *client, const char *reason) {
isc_mem_put(client->mctx, buf, len);
len += 1024;
} else if (result == ISC_R_SUCCESS)
ns_client_log(client, NS_LOGCATEGORY_UNMATCHED,
ns_client_log(client, NS_LOGCATEGORY_UNMATCHED,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(1),
"%s\n%.*s", reason,
(int)isc_buffer_usedlength(&buffer),
@@ -2758,7 +2595,7 @@ ns_client_dumprecursing(FILE *f, ns_clientmgr_t *manager) {
const char *sep;
REQUIRE(VALID_MANAGER(manager));
LOCK(&manager->lock);
client = ISC_LIST_HEAD(manager->recursing);
while (client != NULL) {
+11 -19
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.88 2008/05/28 21:02:45 each Exp $ */
/* $Id: config.c,v 1.47.18.32.10.3 2008/07/23 23:48:17 tbox Exp $ */
/*! \file */
@@ -52,7 +52,7 @@ options {\n\
#ifndef WIN32
" coresize default;\n\
datasize default;\n\
files default;\n\
files unlimited;\n\
stacksize default;\n"
#endif
" deallocate-on-exit true;\n\
@@ -99,15 +99,13 @@ options {\n\
use-ixfr true;\n\
edns-udp-size 4096;\n\
max-udp-size 4096;\n\
request-nsid false;\n\
reserved-sockets 512;\n\
\n\
/* view */\n\
allow-notify {none;};\n\
allow-update-forwarding {none;};\n\
allow-query-cache { localnets; localhost; };\n\
allow-query-cache-on { any; };\n\
allow-recursion { localnets; localhost; };\n\
allow-recursion-on { any; };\n\
# allow-v6-synthesis <obsolete>;\n\
# sortlist <none>\n\
# topology <none>\n\
@@ -124,22 +122,22 @@ options {\n\
query-source-v6 address *;\n\
notify-source *;\n\
notify-source-v6 *;\n\
cleaning-interval 0; /* now meaningless */\n\
cleaning-interval 60;\n\
min-roots 2;\n\
lame-ttl 600;\n\
max-ncache-ttl 10800; /* 3 hours */\n\
max-cache-ttl 604800; /* 1 week */\n\
transfer-format many-answers;\n\
# max-cache-size default; /* set default in server.c */\n\
max-cache-size 0;\n\
check-names master fail;\n\
check-names slave warn;\n\
check-names response ignore;\n\
check-mx warn;\n\
acache-enable no;\n\
acache-cleaning-interval 60;\n\
max-acache-size 16M;\n\
max-acache-size 0;\n\
dnssec-enable yes;\n\
dnssec-validation yes; \n\
dnssec-validation no; /* Make yes for 9.5. */ \n\
dnssec-accept-expired no;\n\
clients-per-query 10;\n\
max-clients-per-query 100;\n\
@@ -148,12 +146,10 @@ options {\n\
" /* zone */\n\
allow-query {any;};\n\
allow-query-on {any;};\n\
allow-transfer {any;};\n\
notify yes;\n\
# also-notify <none>\n\
notify-delay 5;\n\
notify-to-soa no;\n\
dialup no;\n\
# forward <none>\n\
# forwarders <none>\n\
@@ -173,9 +169,6 @@ options {\n\
min-refresh-time 300;\n\
multi-master no;\n\
sig-validity-interval 30; /* days */\n\
sig-signing-nodes 100;\n\
sig-signing-signatures 10;\n\
sig-signing-type 65535;\n\
zone-statistics false;\n\
max-journal-size unlimited;\n\
ixfr-from-differences false;\n\
@@ -186,7 +179,6 @@ options {\n\
check-srv-cname warn;\n\
zero-no-soa-ttl yes;\n\
update-check-ksk yes;\n\
try-tcp-refresh yes; /* BIND 8 compat */\n\
};\n\
"
@@ -411,7 +403,7 @@ ns_config_putiplist(isc_mem_t *mctx, isc_sockaddr_t **addrsp,
static isc_result_t
get_masters_def(const cfg_obj_t *cctx, const char *name,
const cfg_obj_t **ret)
const cfg_obj_t **ret)
{
isc_result_t result;
const cfg_obj_t *masters = NULL;
@@ -529,7 +521,7 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
tresult = get_masters_def(config, listname, &list);
if (tresult == ISC_R_NOTFOUND) {
cfg_obj_log(addr, ns_g_lctx, ISC_LOG_ERROR,
"masters \"%s\" not found", listname);
"masters \"%s\" not found", listname);
result = tresult;
goto cleanup;
@@ -607,7 +599,7 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
if (keys[i] == NULL)
goto cleanup;
dns_name_init(keys[i], NULL);
keystr = cfg_obj_asstring(key);
isc_buffer_init(&b, keystr, strlen(keystr));
isc_buffer_add(&b, strlen(keystr));
@@ -663,7 +655,7 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
isc_mem_put(mctx, lists, listcount * sizeof(*lists));
if (stack != NULL)
isc_mem_put(mctx, stack, stackcount * sizeof(*stack));
INSIST(keycount == addrcount);
*addrsp = addrs;
+5 -16
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.c,v 1.33 2007/09/13 04:45:18 each Exp $ */
/* $Id: control.c,v 1.20.10.10 2007/09/13 23:46:26 tbox Exp $ */
/*! \file */
@@ -63,7 +63,6 @@ ns_control_docommand(isccc_sexpr_t *message, isc_buffer_t *text) {
isccc_sexpr_t *data;
char *command;
isc_result_t result;
int log_level;
#ifdef HAVE_LIBSCF
ns_smf_want_disable = 0;
#endif
@@ -84,20 +83,14 @@ ns_control_docommand(isccc_sexpr_t *message, isc_buffer_t *text) {
return (result);
}
/*
* Compare the 'command' parameter against all known control commands.
*/
if (command_compare(command, NS_COMMAND_NULL) ||
command_compare(command, NS_COMMAND_STATUS)) {
log_level = ISC_LOG_DEBUG(1);
} else {
log_level = ISC_LOG_INFO;
}
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
NS_LOGMODULE_CONTROL, log_level,
NS_LOGMODULE_CONTROL, ISC_LOG_DEBUG(1),
"received control channel command '%s'",
command);
/*
* Compare the 'command' parameter against all known control commands.
*/
if (command_compare(command, NS_COMMAND_RELOAD)) {
result = ns_server_reloadcommand(ns_g_server, command, text);
} else if (command_compare(command, NS_COMMAND_RECONFIG)) {
@@ -165,10 +158,6 @@ ns_control_docommand(isccc_sexpr_t *message, isc_buffer_t *text) {
result = ns_server_flushname(ns_g_server, command);
} else if (command_compare(command, NS_COMMAND_STATUS)) {
result = ns_server_status(ns_g_server, text);
} else if (command_compare(command, NS_COMMAND_TSIGLIST)) {
result = ns_server_tsiglist(ns_g_server, text);
} else if (command_compare(command, NS_COMMAND_TSIGDELETE)) {
result = ns_server_tsigdelete(ns_g_server, command, text);
} else if (command_compare(command, NS_COMMAND_FREEZE)) {
result = ns_server_freeze(ns_g_server, ISC_TRUE, command);
} else if (command_compare(command, NS_COMMAND_UNFREEZE) ||
+52 -50
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: controlconf.c,v 1.58 2008/01/18 23:46:57 tbox Exp $ */
/* $Id: controlconf.c,v 1.40.18.10.40.3 2008/07/23 23:16:43 marka Exp $ */
/*! \file */
@@ -345,9 +345,9 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
listener = conn->listener;
secret.rstart = NULL;
/* Is the server shutting down? */
if (listener->controls->shuttingdown)
goto cleanup;
/* Is the server shutting down? */
if (listener->controls->shuttingdown)
goto cleanup;
if (conn->ccmsg.result != ISC_R_SUCCESS) {
if (conn->ccmsg.result != ISC_R_CANCELED &&
@@ -364,6 +364,9 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
{
ccregion.rstart = isc_buffer_base(&conn->ccmsg.buffer);
ccregion.rend = isc_buffer_used(&conn->ccmsg.buffer);
if (secret.rstart != NULL)
isc_mem_put(listener->mctx, secret.rstart,
REGION_SIZE(secret));
secret.rstart = isc_mem_get(listener->mctx, key->secret.length);
if (secret.rstart == NULL)
goto cleanup;
@@ -372,8 +375,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
result = isccc_cc_fromwire(&ccregion, &request, &secret);
if (result == ISC_R_SUCCESS)
break;
isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
if (result == ISCCC_R_BADAUTH) {
else if (result == ISCCC_R_BADAUTH) {
/*
* For some reason, request is non-NULL when
* isccc_cc_fromwire returns ISCCC_R_BADAUTH.
@@ -394,7 +396,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
/* We shouldn't be getting a reply. */
if (isccc_cc_isreply(request)) {
log_invalid(&conn->ccmsg, ISC_R_FAILURE);
goto cleanup_request;
goto cleanup;
}
isc_stdtime_get(&now);
@@ -405,17 +407,17 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
_ctrl = isccc_alist_lookup(request, "_ctrl");
if (_ctrl == NULL) {
log_invalid(&conn->ccmsg, ISC_R_FAILURE);
goto cleanup_request;
goto cleanup;
}
if (isccc_cc_lookupuint32(_ctrl, "_tim", &sent) == ISC_R_SUCCESS) {
if ((sent + CLOCKSKEW) < now || (sent - CLOCKSKEW) > now) {
log_invalid(&conn->ccmsg, ISCCC_R_CLOCKSKEW);
goto cleanup_request;
goto cleanup;
}
} else {
log_invalid(&conn->ccmsg, ISC_R_FAILURE);
goto cleanup_request;
goto cleanup;
}
/*
@@ -424,7 +426,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
if (isccc_cc_lookupuint32(_ctrl, "_exp", &exp) == ISC_R_SUCCESS &&
now > exp) {
log_invalid(&conn->ccmsg, ISCCC_R_EXPIRED);
goto cleanup_request;
goto cleanup;
}
/*
@@ -434,16 +436,16 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
result = isccc_cc_checkdup(listener->controls->symtab, request, now);
if (result != ISC_R_SUCCESS) {
if (result == ISC_R_EXISTS)
result = ISCCC_R_DUPLICATE;
result = ISCCC_R_DUPLICATE;
log_invalid(&conn->ccmsg, result);
goto cleanup_request;
goto cleanup;
}
if (conn->nonce != 0 &&
(isccc_cc_lookupuint32(_ctrl, "_nonce", &nonce) != ISC_R_SUCCESS ||
conn->nonce != nonce)) {
log_invalid(&conn->ccmsg, ISCCC_R_BADAUTH);
goto cleanup_request;
goto cleanup;
}
/*
@@ -457,7 +459,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
result = isccc_cc_createresponse(request, now, now + 60, &response);
if (result != ISC_R_SUCCESS)
goto cleanup_request;
goto cleanup;
if (eresult != ISC_R_SUCCESS) {
isccc_sexpr_t *data;
@@ -465,7 +467,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
if (data != NULL) {
const char *estr = isc_result_totext(eresult);
if (isccc_cc_definestring(data, "err", estr) == NULL)
goto cleanup_response;
goto cleanup;
}
}
@@ -476,20 +478,20 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
if (data != NULL) {
char *str = (char *)isc_buffer_base(&text);
if (isccc_cc_definestring(data, "text", str) == NULL)
goto cleanup_response;
goto cleanup;
}
}
_ctrl = isccc_alist_lookup(response, "_ctrl");
if (_ctrl == NULL ||
isccc_cc_defineuint32(_ctrl, "_nonce", conn->nonce) == NULL)
goto cleanup_response;
goto cleanup;
ccregion.rstart = conn->buffer + 4;
ccregion.rend = conn->buffer + sizeof(conn->buffer);
result = isccc_cc_towire(response, &ccregion, &secret);
if (result != ISC_R_SUCCESS)
goto cleanup_response;
goto cleanup;
isc_buffer_init(&b, conn->buffer, 4);
len = sizeof(conn->buffer) - REGION_SIZE(ccregion);
isc_buffer_putuint32(&b, len - 4);
@@ -498,27 +500,31 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
result = isc_socket_send(conn->sock, &r, task, control_senddone, conn);
if (result != ISC_R_SUCCESS)
goto cleanup_response;
goto cleanup;
conn->sending = ISC_TRUE;
isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
isccc_sexpr_free(&request);
isccc_sexpr_free(&response);
if (secret.rstart != NULL)
isc_mem_put(listener->mctx, secret.rstart,
REGION_SIZE(secret));
if (request != NULL)
isccc_sexpr_free(&request);
if (response != NULL)
isccc_sexpr_free(&response);
return;
cleanup_response:
isccc_sexpr_free(&response);
cleanup_request:
isccc_sexpr_free(&request);
isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
cleanup:
if (secret.rstart != NULL)
isc_mem_put(listener->mctx, secret.rstart,
REGION_SIZE(secret));
isc_socket_detach(&conn->sock);
isccc_ccmsg_invalidate(&conn->ccmsg);
conn->ccmsg_valid = ISC_FALSE;
maybe_free_connection(conn);
maybe_free_listener(listener);
if (request != NULL)
isccc_sexpr_free(&request);
if (response != NULL)
isccc_sexpr_free(&response);
}
static void
@@ -542,7 +548,7 @@ newconnection(controllistener_t *listener, isc_socket_t *sock) {
conn = isc_mem_get(listener->mctx, sizeof(*conn));
if (conn == NULL)
return (ISC_R_NOMEMORY);
conn->sock = sock;
isccc_ccmsg_init(listener->mctx, sock, &conn->ccmsg);
conn->ccmsg_valid = ISC_TRUE;
@@ -597,7 +603,6 @@ control_newconn(isc_task_t *task, isc_event_t *event) {
}
sock = nevent->newsocket;
isc_socket_setname(sock, "control", NULL);
(void)isc_socket_getpeername(sock, &peeraddr);
if (listener->type == isc_sockettype_tcp &&
!address_ok(&peeraddr, listener->acl)) {
@@ -655,7 +660,7 @@ ns_controls_shutdown(ns_controls_t *controls) {
static isc_result_t
cfgkeylist_find(const cfg_obj_t *keylist, const char *keyname,
const cfg_obj_t **objp)
const cfg_obj_t **objp)
{
const cfg_listelt_t *element;
const char *str;
@@ -803,7 +808,7 @@ register_keys(const cfg_obj_t *control, const cfg_obj_t *keylist,
if (result != ISC_R_SUCCESS) \
goto cleanup; \
} while (0)
static isc_result_t
get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
isc_result_t result;
@@ -823,14 +828,14 @@ get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
CHECK(cfg_map_get(config, "key", &key));
keyid = isc_mem_get(mctx, sizeof(*keyid));
if (keyid == NULL)
if (keyid == NULL)
CHECK(ISC_R_NOMEMORY);
keyid->keyname = isc_mem_strdup(mctx,
cfg_obj_asstring(cfg_map_getname(key)));
keyid->secret.base = NULL;
keyid->secret.length = 0;
ISC_LINK_INIT(keyid, link);
if (keyid->keyname == NULL)
if (keyid->keyname == NULL)
CHECK(ISC_R_NOMEMORY);
CHECK(bind9_check_key(key, ns_g_lctx));
@@ -886,7 +891,7 @@ get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
cfg_parser_destroy(&pctx);
return (result);
}
/*
* Ensures that both '*global_keylistp' and '*control_keylistp' are
* valid or both are NULL.
@@ -920,7 +925,7 @@ static void
update_listener(ns_controls_t *cp, controllistener_t **listenerp,
const cfg_obj_t *control, const cfg_obj_t *config,
isc_sockaddr_t *addr, cfg_aclconfctx_t *aclconfctx,
const char *socktext, isc_sockettype_t type)
const char *socktext, isc_sockettype_t type)
{
controllistener_t *listener;
const cfg_obj_t *allow;
@@ -940,7 +945,7 @@ update_listener(ns_controls_t *cp, controllistener_t **listenerp,
*listenerp = NULL;
return;
}
/*
* There is already a listener for this sockaddr.
* Update the access list and key information.
@@ -1008,7 +1013,7 @@ update_listener(ns_controls_t *cp, controllistener_t **listenerp,
if (control != NULL && type == isc_sockettype_tcp) {
allow = cfg_tuple_get(control, "allow");
result = cfg_acl_fromconfig(allow, config, ns_g_lctx,
aclconfctx, listener->mctx, 0,
aclconfctx, listener->mctx,
&new_acl);
} else {
result = dns_acl_any(listener->mctx, &new_acl);
@@ -1095,8 +1100,7 @@ add_listener(ns_controls_t *cp, controllistener_t **listenerp,
if (control != NULL && type == isc_sockettype_tcp) {
allow = cfg_tuple_get(control, "allow");
result = cfg_acl_fromconfig(allow, config, ns_g_lctx,
aclconfctx, mctx, 0,
&new_acl);
aclconfctx, mctx, &new_acl);
} else {
result = dns_acl_any(mctx, &new_acl);
}
@@ -1145,12 +1149,10 @@ add_listener(ns_controls_t *cp, controllistener_t **listenerp,
result = isc_socket_create(ns_g_socketmgr,
isc_sockaddr_pf(&listener->address),
type, &listener->sock);
if (result == ISC_R_SUCCESS)
isc_socket_setname(listener->sock, "control", NULL);
if (result == ISC_R_SUCCESS)
result = isc_socket_bind(listener->sock,
&listener->address);
result = isc_socket_bind(listener->sock, &listener->address,
ISC_SOCKET_REUSEADDRESS);
if (result == ISC_R_SUCCESS && type == isc_sockettype_unix) {
listener->perm = cfg_obj_asuint32(cfg_tuple_get(control,
@@ -1337,7 +1339,7 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
update_listener(cp, &listener, control, config,
&addr, aclconfctx,
cfg_obj_asstring(path),
cfg_obj_asstring(path),
isc_sockettype_unix);
if (listener != NULL)
@@ -1383,10 +1385,10 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
isc_sockaddr_setport(&addr, NS_CONTROL_PORT);
isc_sockaddr_format(&addr, socktext, sizeof(socktext));
update_listener(cp, &listener, NULL, NULL,
&addr, NULL, socktext,
isc_sockettype_tcp);
isc_sockettype_tcp);
if (listener != NULL)
/*
-91
View File
@@ -1,91 +0,0 @@
#!/usr/bin/env perl
#
# Copyright (C) 2006-2008 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: convertxsl.pl,v 1.13 2008/04/03 10:52:46 marka Exp $
use strict;
use warnings;
my $rev = '$Id: convertxsl.pl,v 1.13 2008/04/03 10:52:46 marka Exp $';
$rev =~ s/\$//g;
$rev =~ s/,v//g;
$rev =~ s/Id: //;
my $xsl = "unknown";
my $lines = '';
my (@nsstatsdesc, @zonestatsdesc, @resstatsdesc);
while (<>) {
chomp;
# pickout the id for comment.
$xsl = $_ if (/<!-- .Id:.* -->/);
# convert Id string to a form not recognisable by cvs.
$_ =~ s/<!-- .Id:(.*). -->/<!-- \\045Id: $1\\045 -->/;
if (/server\/nsstats\/(\w+)\"/) {
push(@nsstatsdesc, $1);
} elsif (/server\/zonestats\/(\w+)\"/) {
push(@zonestatsdesc, $1);
} elsif (/\"resstats\/(\w+)\"/) {
push(@resstatsdesc, $1);
}
s/[\ \t]+/ /g;
s/\>\ \</\>\</g;
s/\"/\\\"/g;
s/^/\t\"/;
s/$/\\n\"/;
if ($lines eq "") {
$lines .= $_;
} else {
$lines .= "\n" . $_;
}
}
$xsl =~ s/\$//g;
$xsl =~ s/<!-- Id: //;
$xsl =~ s/ -->.*//;
$xsl =~ s/,v//;
print "/*\n * Generated by $rev \n * From $xsl\n */\n";
print 'static char xslmsg[] =',"\n";
print $lines;
print ';', "\n";
print '#ifdef HAVE_LIBXML2', "\n";
print "static const char *nsstats_xmldesc[] = {";
while (my $desc = shift(@nsstatsdesc)) {
print "\t\"$desc\"";
print "," if (@nsstatsdesc);
print "\n";
}
print "};\n";
print "static const char *zonestats_xmldesc[] = {";
while (my $desc = shift(@zonestatsdesc)) {
print "\t\"$desc\"";
print "," if (@zonestatsdesc);
print "\n";
}
print "};\n";
print "static const char *resstats_xmldesc[] = {";
while (my $desc = shift(@resstatsdesc)) {
print "\t\"$desc\"";
print "," if (@resstatsdesc);
print "\n";
}
print "};\n";
print '#endif', "\n";
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: builtin.h,v 1.6 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: builtin.h,v 1.2.18.2 2005/04/29 00:15:34 marka Exp $ */
#ifndef NAMED_BUILTIN_H
#define NAMED_BUILTIN_H 1
+13 -27
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.h,v 1.86 2008/04/03 02:01:08 marka Exp $ */
/* $Id: client.h,v 1.69.18.9 2006/06/06 00:11:41 marka Exp $ */
#ifndef NAMED_CLIENT_H
#define NAMED_CLIENT_H 1
@@ -24,7 +24,7 @@
***** Module Info
*****/
/*! \file
/*! \file
* \brief
* This module defines two objects, ns_client_t and ns_clientmgr_t.
*
@@ -97,13 +97,6 @@ struct ns_client {
int nupdates;
int nctls;
int references;
isc_boolean_t needshutdown; /*
* Used by clienttest to get
* the client to go from
* inactive to free state
* by shutting down the
* client's task.
*/
unsigned int attributes;
isc_task_t * task;
dns_view_t * view;
@@ -166,7 +159,6 @@ struct ns_client {
#define NS_CLIENTATTR_PKTINFO 0x04 /*%< pktinfo is valid */
#define NS_CLIENTATTR_MULTICAST 0x08 /*%< recv'd from multicast */
#define NS_CLIENTATTR_WANTDNSSEC 0x10 /*%< include dnssec records */
#define NS_CLIENTATTR_WANTNSID 0x20 /*%< include nameserver ID */
extern unsigned int ns_client_requests;
@@ -274,9 +266,7 @@ ns_client_getsockaddr(ns_client_t *client);
*/
isc_result_t
ns_client_checkaclsilent(ns_client_t *client,
isc_sockaddr_t *sockaddr,
dns_acl_t *acl,
ns_client_checkaclsilent(ns_client_t *client,dns_acl_t *acl,
isc_boolean_t default_allow);
/*%
@@ -284,8 +274,6 @@ ns_client_checkaclsilent(ns_client_t *client,
*
* Check the current client request against 'acl'. If 'acl'
* is NULL, allow the request iff 'default_allow' is ISC_TRUE.
* If netaddr is NULL, check the ACL against client->peeraddr;
* otherwise check it against netaddr.
*
* Notes:
*\li This is appropriate for checking allow-update,
@@ -296,7 +284,6 @@ ns_client_checkaclsilent(ns_client_t *client,
*
* Requires:
*\li 'client' points to a valid client.
*\li 'sockaddr' points to a valid address, or is NULL.
*\li 'acl' points to a valid ACL, or is NULL.
*
* Returns:
@@ -307,19 +294,18 @@ ns_client_checkaclsilent(ns_client_t *client,
isc_result_t
ns_client_checkacl(ns_client_t *client,
isc_sockaddr_t *sockaddr,
const char *opname, dns_acl_t *acl,
isc_boolean_t default_allow,
int log_level);
/*%
* Like ns_client_checkaclsilent, except the outcome of the check is
* logged at log level 'log_level' if denied, and at debug 3 if approved.
* Log messages will refer to the request as an 'opname' request.
* Like ns_client_checkacl, but also logs the outcome of the
* check at log level 'log_level' if denied, and at debug 3
* if approved. Log messages will refer to the request as
* an 'opname' request.
*
* Requires:
*\li 'client' points to a valid client.
*\li 'sockaddr' points to a valid address, or is NULL.
*\li 'acl' points to a valid ACL, or is NULL.
*\li Those of ns_client_checkaclsilent(), and:
*
*\li 'opname' points to a null-terminated string.
*/
@@ -366,8 +352,8 @@ ns_client_qnamereplace(ns_client_t *client, dns_name_t *name);
isc_boolean_t
ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey,
isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr,
dns_rdataclass_t rdclass, void *arg);
isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr,
dns_rdataclass_t rdclass, void *arg);
/*%
* Isself callback.
*/
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001, 2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.h,v 1.14 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: config.h,v 1.6.18.6 2006/02/28 03:10:47 marka Exp $ */
#ifndef NAMED_CONFIG_H
#define NAMED_CONFIG_H 1
+3 -5
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.h,v 1.25 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: control.h,v 1.14.18.8 2006/03/09 23:46:20 marka Exp $ */
#ifndef NAMED_CONTROL_H
#define NAMED_CONTROL_H 1
@@ -47,8 +47,6 @@
#define NS_COMMAND_FLUSH "flush"
#define NS_COMMAND_FLUSHNAME "flushname"
#define NS_COMMAND_STATUS "status"
#define NS_COMMAND_TSIGLIST "tsig-list"
#define NS_COMMAND_TSIGDELETE "tsig-delete"
#define NS_COMMAND_FREEZE "freeze"
#define NS_COMMAND_UNFREEZE "unfreeze"
#define NS_COMMAND_THAW "thaw"
+3 -6
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: globals.h,v 1.75 2008/01/02 23:47:01 tbox Exp $ */
/* $Id: globals.h,v 1.64.18.4 2006/03/02 00:37:21 marka Exp $ */
#ifndef NAMED_GLOBALS_H
#define NAMED_GLOBALS_H 1
@@ -113,9 +113,6 @@ EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR
EXTERN const char * ns_g_username INIT(NULL);
EXTERN int ns_g_listen INIT(3);
EXTERN isc_time_t ns_g_boottime;
EXTERN isc_boolean_t ns_g_memstatistics INIT(ISC_FALSE);
EXTERN isc_boolean_t ns_g_clienttest INIT(ISC_FALSE);
#undef EXTERN
#undef INIT
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.h,v 1.33 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: interfacemgr.h,v 1.26.18.4 2005/04/27 05:00:35 sra Exp $ */
#ifndef NAMED_INTERFACEMGR_H
#define NAMED_INTERFACEMGR_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: listenlist.h,v 1.15 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: listenlist.h,v 1.11.18.2 2005/04/29 00:15:34 marka Exp $ */
#ifndef NAMED_LISTENLIST_H
#define NAMED_LISTENLIST_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.h,v 1.25 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: log.h,v 1.21.18.2 2005/04/29 00:15:35 marka Exp $ */
#ifndef NAMED_LOG_H
#define NAMED_LOG_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: logconf.h,v 1.17 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: logconf.h,v 1.11.18.4 2006/03/02 00:37:21 marka Exp $ */
#ifndef NAMED_LOGCONF_H
#define NAMED_LOGCONF_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwaddr.h,v 1.8 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: lwaddr.h,v 1.4.18.2 2005/04/29 00:15:35 marka Exp $ */
/*! \file */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdclient.h,v 1.18 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: lwdclient.h,v 1.14.18.2 2005/04/29 00:15:36 marka Exp $ */
#ifndef NAMED_LWDCLIENT_H
#define NAMED_LWDCLIENT_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwresd.h,v 1.19 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: lwresd.h,v 1.13.18.4 2006/03/02 00:37:21 marka Exp $ */
#ifndef NAMED_LWRESD_H
#define NAMED_LWRESD_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwsearch.h,v 1.9 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: lwsearch.h,v 1.5.18.2 2005/04/29 00:15:36 marka Exp $ */
#ifndef NAMED_LWSEARCH_H
#define NAMED_LWSEARCH_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: main.h,v 1.15 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: main.h,v 1.11.18.2 2005/04/29 00:15:37 marka Exp $ */
#ifndef NAMED_MAIN_H
#define NAMED_MAIN_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: notify.h,v 1.14 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: notify.h,v 1.10.18.2 2005/04/29 00:15:37 marka Exp $ */
#ifndef NAMED_NOTIFY_H
#define NAMED_NOTIFY_H 1
+3 -3
View File
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: ns_smf_globals.h,v 1.7 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: ns_smf_globals.h,v 1.2.2.4 2005/05/13 01:32:46 marka Exp $ */
#ifndef NS_SMF_GLOBALS_H
#define NS_SMF_GLOBALS_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.h,v 1.40 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: query.h,v 1.36.18.2 2005/04/29 00:15:37 marka Exp $ */
#ifndef NAMED_QUERY_H
#define NAMED_QUERY_H 1
+8 -76
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.h,v 1.93 2008/04/03 05:55:51 marka Exp $ */
/* $Id: server.h,v 1.73.18.8 2006/03/09 23:46:20 marka Exp $ */
#ifndef NAMED_SERVER_H
#define NAMED_SERVER_H 1
@@ -23,14 +23,13 @@
/*! \file */
#include <isc/log.h>
#include <isc/magic.h>
#include <isc/quota.h>
#include <isc/sockaddr.h>
#include <isc/magic.h>
#include <isc/types.h>
#include <isc/xml.h>
#include <isc/quota.h>
#include <dns/acl.h>
#include <dns/types.h>
#include <dns/acl.h>
#include <named/types.h>
@@ -63,7 +62,7 @@ struct ns_server {
isc_boolean_t server_usehostname;
char * server_id; /*%< User-specified server id */
/*%
/*%
* Current ACL environment. This defines the
* current values of the localhost and localnets
* ACLs.
@@ -91,73 +90,18 @@ struct ns_server {
isc_boolean_t flushonshutdown;
isc_boolean_t log_queries; /*%< For BIND 8 compatibility */
dns_stats_t * nsstats; /*%< Server statistics */
dns_stats_t * rcvquerystats; /*% Incoming query statistics */
dns_stats_t * opcodestats; /*%< Incoming message statistics */
dns_stats_t * zonestats; /*% Zone management statistics */
dns_stats_t * resolverstats; /*% Resolver statistics */
isc_uint64_t * querystats; /*%< Query statistics counters */
ns_controls_t * controls; /*%< Control channels */
unsigned int dispatchgen;
ns_dispatchlist_t dispatches;
dns_acache_t *acache;
ns_statschannellist_t statschannels;
};
#define NS_SERVER_MAGIC ISC_MAGIC('S','V','E','R')
#define NS_SERVER_VALID(s) ISC_MAGIC_VALID(s, NS_SERVER_MAGIC)
/*%
* Server statistics counters. Used as dns_statscounter_t values.
*/
enum {
dns_nsstatscounter_requestv4 = 0,
dns_nsstatscounter_requestv6 = 1,
dns_nsstatscounter_edns0in = 2,
dns_nsstatscounter_badednsver = 3,
dns_nsstatscounter_tsigin = 4,
dns_nsstatscounter_sig0in = 5,
dns_nsstatscounter_invalidsig = 6,
dns_nsstatscounter_tcp = 7,
dns_nsstatscounter_authrej = 8,
dns_nsstatscounter_recurserej = 9,
dns_nsstatscounter_xfrrej = 10,
dns_nsstatscounter_updaterej = 11,
dns_nsstatscounter_response = 12,
dns_nsstatscounter_truncatedresp = 13,
dns_nsstatscounter_edns0out = 14,
dns_nsstatscounter_tsigout = 15,
dns_nsstatscounter_sig0out = 16,
dns_nsstatscounter_success = 17,
dns_nsstatscounter_authans = 18,
dns_nsstatscounter_nonauthans = 19,
dns_nsstatscounter_referral = 20,
dns_nsstatscounter_nxrrset = 21,
dns_nsstatscounter_servfail = 22,
dns_nsstatscounter_formerr = 23,
dns_nsstatscounter_nxdomain = 24,
dns_nsstatscounter_recursion = 25,
dns_nsstatscounter_duplicate = 26,
dns_nsstatscounter_dropped = 27,
dns_nsstatscounter_failure = 28,
dns_nsstatscounter_xfrdone = 29,
dns_nsstatscounter_updatereqfwd = 30,
dns_nsstatscounter_updaterespfwd = 31,
dns_nsstatscounter_updatefwdfail = 32,
dns_nsstatscounter_updatedone = 33,
dns_nsstatscounter_updatefail = 34,
dns_nsstatscounter_updatebadprereq = 35,
dns_nsstatscounter_max = 36
};
void
ns_server_create(isc_mem_t *mctx, ns_server_t **serverp);
/*%<
@@ -259,18 +203,6 @@ ns_server_flushname(ns_server_t *server, char *args);
isc_result_t
ns_server_status(ns_server_t *server, isc_buffer_t *text);
/*%
* Report a list of dynamic and static tsig keys, per view.
*/
isc_result_t
ns_server_tsiglist(ns_server_t *server, isc_buffer_t *text);
/*%
* Delete a specific key (with optional view).
*/
isc_result_t
ns_server_tsigdelete(ns_server_t *server, char *command, isc_buffer_t *text);
/*%
* Enable or disable updates for a zone.
*/
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: sortlist.h,v 1.11 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: sortlist.h,v 1.5.18.4 2006/03/02 00:37:21 marka Exp $ */
#ifndef NAMED_SORTLIST_H
#define NAMED_SORTLIST_H 1
-61
View File
@@ -1,61 +0,0 @@
/*
* Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: statschannel.h,v 1.3 2008/04/03 05:55:51 marka Exp $ */
#ifndef NAMED_STATSCHANNEL_H
#define NAMED_STATSCHANNEL_H 1
/*! \file
* \brief
* The statistics channels built-in the name server.
*/
#include <isccc/types.h>
#include <isccfg/aclconf.h>
#include <named/types.h>
#define NS_STATSCHANNEL_HTTPPORT 80
isc_result_t
ns_statschannels_configure(ns_server_t *server, const cfg_obj_t *config,
cfg_aclconfctx_t *aclconfctx);
/*%<
* [Re]configure the statistics channels.
*
* If it is no longer there but was previously configured, destroy
* it here.
*
* If the IP address or port has changed, destroy the old server
* and create a new one.
*/
void
ns_statschannels_shutdown(ns_server_t *server);
/*%<
* Initiate shutdown of all the statistics channel listeners.
*/
isc_result_t
ns_stats_dump(ns_server_t *server, FILE *fp);
/*%<
* Dump statistics counters managed by the server to the file fp.
*/
#endif /* NAMED_STATSCHANNEL_H */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: tkeyconf.h,v 1.16 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: tkeyconf.h,v 1.10.18.4 2006/03/02 00:37:21 marka Exp $ */
#ifndef NS_TKEYCONF_H
#define NS_TKEYCONF_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: tsigconf.h,v 1.16 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: tsigconf.h,v 1.10.18.4 2006/03/02 00:37:21 marka Exp $ */
#ifndef NS_TSIGCONF_H
#define NS_TSIGCONF_H 1
+4 -7
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: types.h,v 1.29 2008/01/17 23:46:59 tbox Exp $ */
/* $Id: types.h,v 1.21.18.2 2005/04/29 00:15:38 marka Exp $ */
#ifndef NAMED_TYPES_H
#define NAMED_TYPES_H 1
@@ -28,8 +28,6 @@ typedef struct ns_client ns_client_t;
typedef struct ns_clientmgr ns_clientmgr_t;
typedef struct ns_query ns_query_t;
typedef struct ns_server ns_server_t;
typedef struct ns_xmld ns_xmld_t;
typedef struct ns_xmldmgr ns_xmldmgr_t;
typedef struct ns_interface ns_interface_t;
typedef struct ns_interfacemgr ns_interfacemgr_t;
typedef struct ns_lwresd ns_lwresd_t;
@@ -41,6 +39,5 @@ typedef struct ns_lwsearchctx ns_lwsearchctx_t;
typedef struct ns_controls ns_controls_t;
typedef struct ns_dispatch ns_dispatch_t;
typedef ISC_LIST(ns_dispatch_t) ns_dispatchlist_t;
typedef struct ns_statschannel ns_statschannel_t;
typedef ISC_LIST(ns_statschannel_t) ns_statschannellist_t;
#endif /* NAMED_TYPES_H */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: update.h,v 1.13 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: update.h,v 1.9.18.2 2005/04/29 00:15:39 marka Exp $ */
#ifndef NAMED_UPDATE_H
#define NAMED_UPDATE_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: xfrout.h,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: xfrout.h,v 1.8.18.2 2005/04/29 00:15:39 marka Exp $ */
#ifndef NAMED_XFROUT_H
#define NAMED_XFROUT_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zoneconf.h,v 1.26 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: zoneconf.h,v 1.19.18.5 2006/03/02 00:37:21 marka Exp $ */
#ifndef NS_ZONECONF_H
#define NS_ZONECONF_H 1
+30 -24
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.c,v 1.90 2007/09/12 01:09:07 each Exp $ */
/* $Id: interfacemgr.c,v 1.76.18.8.44.3 2008/07/23 23:16:43 marka Exp $ */
/*! \file */
@@ -304,11 +304,11 @@ ns_interface_accepttcp(ns_interface_t *ifp) {
isc_result_totext(result));
goto tcp_socket_failure;
}
isc_socket_setname(ifp->tcpsocket, "dispatcher", NULL);
#ifndef ISC_ALLOW_MAPPED
isc_socket_ipv6only(ifp->tcpsocket, ISC_TRUE);
#endif
result = isc_socket_bind(ifp->tcpsocket, &ifp->addr);
result = isc_socket_bind(ifp->tcpsocket, &ifp->addr,
ISC_SOCKET_REUSEADDRESS);
if (result != ISC_R_SUCCESS) {
isc_log_write(IFMGR_COMMON_LOGARGS, ISC_LOG_ERROR,
"binding TCP socket: %s",
@@ -483,7 +483,7 @@ static isc_result_t
clearacl(isc_mem_t *mctx, dns_acl_t **aclp) {
dns_acl_t *newacl = NULL;
isc_result_t result;
result = dns_acl_create(mctx, 0, &newacl);
result = dns_acl_create(mctx, 10, &newacl);
if (result != ISC_R_SUCCESS)
return (result);
dns_acl_detach(aclp);
@@ -494,31 +494,36 @@ clearacl(isc_mem_t *mctx, dns_acl_t **aclp) {
static isc_boolean_t
listenon_is_ip6_any(ns_listenelt_t *elt) {
REQUIRE(elt && elt->acl);
return dns_acl_isany(elt->acl);
if (elt->acl->length != 1)
return (ISC_FALSE);
if (elt->acl->elements[0].negative == ISC_FALSE &&
elt->acl->elements[0].type == dns_aclelementtype_any)
return (ISC_TRUE); /* listen-on-v6 { any; } */
return (ISC_FALSE); /* All others */
}
static isc_result_t
setup_locals(ns_interfacemgr_t *mgr, isc_interface_t *interface) {
isc_result_t result;
dns_aclelement_t elt;
unsigned int family;
unsigned int prefixlen;
isc_netaddr_t *netaddr;
netaddr = &interface->address;
family = interface->address.family;
/* First add localhost address */
prefixlen = (netaddr->family == AF_INET) ? 32 : 128;
result = dns_iptable_addprefix(mgr->aclenv.localhost->iptable,
netaddr, prefixlen, ISC_TRUE);
elt.type = dns_aclelementtype_ipprefix;
elt.negative = ISC_FALSE;
elt.u.ip_prefix.address = interface->address;
elt.u.ip_prefix.prefixlen = (family == AF_INET) ? 32 : 128;
result = dns_acl_appendelement(mgr->aclenv.localhost, &elt);
if (result != ISC_R_SUCCESS)
return (result);
/* Then add localnets prefix */
result = isc_netaddr_masktoprefixlen(&interface->netmask,
&prefixlen);
/* Non contigious netmasks not allowed by IPv6 arch. */
if (result != ISC_R_SUCCESS && netaddr->family == AF_INET6)
if (result != ISC_R_SUCCESS && family == AF_INET6)
return (result);
if (result != ISC_R_SUCCESS) {
@@ -528,14 +533,17 @@ setup_locals(ns_interfacemgr_t *mgr, isc_interface_t *interface) {
"localnets ACL: %s",
interface->name,
isc_result_totext(result));
return (ISC_R_SUCCESS);
} else {
elt.u.ip_prefix.prefixlen = prefixlen;
if (dns_acl_elementmatch(mgr->aclenv.localnets, &elt,
NULL) == ISC_R_NOTFOUND) {
result = dns_acl_appendelement(mgr->aclenv.localnets,
&elt);
if (result != ISC_R_SUCCESS)
return (result);
}
}
result = dns_iptable_addprefix(mgr->aclenv.localnets->iptable,
netaddr, prefixlen, ISC_TRUE);
if (result != ISC_R_SUCCESS)
return (result);
return (ISC_R_SUCCESS);
}
@@ -795,9 +803,7 @@ do_scan(ns_interfacemgr_t *mgr, ns_listenlist_t *ext_listen,
(void)dns_acl_match(&listen_netaddr,
NULL, ele->acl,
NULL, &match, NULL);
if (match > 0 &&
(ele->port == le->port ||
ele->port == 0))
if (match > 0 && ele->port == le->port)
break;
else
match = 0;
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: listenlist.c,v 1.14 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: listenlist.c,v 1.10.18.2 2005/04/29 00:15:22 marka Exp $ */
/*! \file */
+5 -5
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.46 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: log.c,v 1.37.18.6 2006/06/09 00:54:08 marka Exp $ */
/*! \file */
@@ -33,7 +33,7 @@
/*%
* When adding a new category, be sure to add the appropriate
* \#define to <named/log.h> and to update the list in
* #define to <named/log.h> and to update the list in
* bin/check/check-tool.c.
*/
static isc_logcategory_t categories[] = {
@@ -49,7 +49,7 @@ static isc_logcategory_t categories[] = {
/*%
* When adding a new module, be sure to add the appropriate
* \#define to <dns/log.h>.
* #define to <dns/log.h>.
*/
static isc_logmodule_t modules[] = {
{ "main", 0 },
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: logconf.c,v 1.42 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: logconf.c,v 1.35.18.5 2006/03/02 00:37:21 marka Exp $ */
/*! \file */
+4 -4
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwaddr.c,v 1.10 2008/01/11 23:46:56 tbox Exp $ */
/* $Id: lwaddr.c,v 1.4.18.2 2005/04/29 00:15:23 marka Exp $ */
/*! \file */
@@ -81,7 +81,7 @@ lwaddr_lwresaddr_fromnetaddr(lwres_addr_t *la, isc_netaddr_t *na) {
} else {
la->family = LWRES_ADDRTYPE_V6;
la->length = 16;
memcpy(la->address, &na->type.in6, 16);
memcpy(la->address, &na->type.in, 16);
}
return (ISC_R_SUCCESS);
}
+3 -4
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdclient.c,v 1.22 2007/06/18 23:47:18 tbox Exp $ */
/* $Id: lwdclient.c,v 1.17.18.2 2005/04/29 00:15:23 marka Exp $ */
/*! \file */
@@ -102,7 +102,6 @@ ns_lwdclientmgr_create(ns_lwreslistener_t *listener, unsigned int nclients,
result = isc_task_create(taskmgr, 0, &cm->task);
if (result != ISC_R_SUCCESS)
goto errout;
isc_task_setname(cm->task, "lwdclient", NULL);
/*
* This MUST be last, since there is no way to cancel an onshutdown...
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwderror.c,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: lwderror.c,v 1.8.18.2 2005/04/29 00:15:24 marka Exp $ */
/*! \file */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgabn.c,v 1.22 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: lwdgabn.c,v 1.15.18.5 2006/03/02 00:37:21 marka Exp $ */
/*! \file */
+5 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgnba.c,v 1.22 2008/01/14 23:46:56 tbox Exp $ */
/* $Id: lwdgnba.c,v 1.16.18.2 2005/04/29 00:15:24 marka Exp $ */
/*! \file */
@@ -220,6 +220,8 @@ ns_lwdclient_processgnba(ns_lwdclient_t *client, lwres_buffer_t *b) {
b, &client->pkt, &req);
if (result != LWRES_R_SUCCESS)
goto out;
if (req->addr.address == NULL)
goto out;
client->options = 0;
if (req->addr.family == LWRES_ADDRTYPE_V4) {
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgrbn.c,v 1.20 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: lwdgrbn.c,v 1.13.18.5 2006/12/07 23:57:58 marka Exp $ */
/*! \file */
+12 -11
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdnoop.c,v 1.13 2008/01/22 23:28:04 tbox Exp $ */
/* $Id: lwdnoop.c,v 1.7.18.2 2005/04/29 00:15:25 marka Exp $ */
/*! \file */
@@ -44,7 +44,7 @@ ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) {
result = lwres_nooprequest_parse(client->clientmgr->lwctx,
b, &client->pkt, &req);
if (result != LWRES_R_SUCCESS)
goto send_error;
goto out;
client->pkt.recvlength = LWRES_RECVLENGTH;
client->pkt.authtype = 0; /* XXXMLG */
@@ -57,7 +57,7 @@ ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) {
lwres = lwres_noopresponse_render(client->clientmgr->lwctx, &resp,
&client->pkt, &lwb);
if (lwres != LWRES_R_SUCCESS)
goto cleanup_req;
goto out;
r.base = lwb.base;
r.length = lwb.used;
@@ -65,7 +65,7 @@ ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) {
client->sendlength = r.length;
result = ns_lwdclient_sendreply(client, &r);
if (result != ISC_R_SUCCESS)
goto cleanup_lwb;
goto out;
/*
* We can now destroy request.
@@ -76,12 +76,13 @@ ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) {
return;
cleanup_lwb:
lwres_context_freemem(client->clientmgr->lwctx, lwb.base, lwb.length);
out:
if (req != NULL)
lwres_nooprequest_free(client->clientmgr->lwctx, &req);
cleanup_req:
lwres_nooprequest_free(client->clientmgr->lwctx, &req);
if (lwb.base != NULL)
lwres_context_freemem(client->clientmgr->lwctx,
lwb.base, lwb.length);
send_error:
ns_lwdclient_errorpktsend(client, LWRES_R_FAILURE);
}
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: lwresd.8,v 1.27 2007/05/16 06:12:01 marka Exp $
.\" $Id: lwresd.8,v 1.15.18.12 2007/05/16 06:11:27 marka Exp $
.\"
.hy 0
.ad l
+4 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2006, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwresd.c,v 1.55 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: lwresd.c,v 1.46.18.7.52.3 2008/07/23 23:16:43 marka Exp $ */
/*! \file
* \brief
@@ -576,7 +576,8 @@ listener_bind(ns_lwreslistener_t *listener, isc_sockaddr_t *address) {
return (result);
}
result = isc_socket_bind(sock, &listener->address);
result = isc_socket_bind(sock, &listener->address,
ISC_SOCKET_REUSEADDRESS);
if (result != ISC_R_SUCCESS) {
char socktext[ISC_SOCKADDR_FORMATSIZE];
isc_sockaddr_format(&listener->address, socktext,

Some files were not shown because too many files have changed in this diff Show More