Compare commits

...
2046 Commits
Author SHA1 Message Date
Mark Andrews 0c9f4521b1 9.5.2-P4 2010-05-10 02:03:17 +00:00
Mark Andrews a39f02a741 CHANGES 2010-05-10 02:03:05 +00:00
Mark Andrews 14b4dd1bb1 2876. [bug] Named could return SERVFAIL for negative responses
from unsigned zones. [RT #21131]
2010-04-21 04:29:56 +00:00
Automatic Updater 8f92ccc13c newcopyrights 2010-03-03 22:13:06 +00:00
Mark Andrews 31bba4b1ae dns_rdataset_expire/dns_rdataset_settrust 2010-03-03 07:00:10 +00:00
Mark Andrews df4d09d4f4 dns_resolver_*badcache 2010-03-03 05:01:30 +00:00
Automatic Updater ca7f482d9a newcopyrights 2010-02-26 23:30:36 +00:00
Mark Andrews 445f5b23cd grab a write lock before updating header->trust 2010-02-26 00:26:54 +00:00
Automatic Updater 16f75845f0 9.5.2-P3 2010-02-25 23:48:04 +00:00
Automatic Updater 48443bda2d update copyright notice 2010-02-25 23:47:12 +00:00
Automatic Updater ce21516b5c newcopyrights 2010-02-25 23:30:28 +00:00
Automatic Updater 44f6ec8956 regen v9_5_2_patch 2010-02-25 11:54:12 +00:00
Automatic Updater 0fb5a84b30 update copyright notice 2010-02-25 10:56:02 +00:00
Automatic Updater 8ba5fc2d66 newcopyrights 2010-02-25 10:49:50 +00:00
Mark Andrews 5757880d9e 9.5.2-P3 2010-02-25 10:49:12 +00:00
Mark Andrews 947d9dd4e4 2852. [bug] Handle broken DNSSEC trust chains better. [RT #15619] 2010-02-25 10:47:49 +00:00
Automatic Updater 017b0cf2e2 update copyright notice 2010-02-25 05:23:41 +00:00
Automatic Updater 9bbeda7f54 newcopyrights 2010-02-25 05:13:11 +00:00
Automatic Updater 08928340c6 update 2010-02-25 05:12:17 +00:00
Mark Andrews bc14f0ae19 regen 2010-02-22 00:52:56 +00:00
Evan Hunt 9bc8d05a23 2831. [security] Do not attempt to validate or cache
out-of-bailiwick data returned with a secure
			answer; it must be re-fetched from its original
			source and validated in that context. [RT #20819]
2010-01-07 17:19:22 +00:00
cvs2git 8684baddb8 This commit was manufactured by cvs2git to create branch 'v9_5_2_patch'. 2010-01-07 16:48:27 +00:00
Evan Hunt 597642c0ba 2831. [security] Do not attempt to validate or cache
out-of-bailiwick data returned with a secure
			answer; it must be re-fetched from its original
			source and validated in that context. [RT #20819]
2010-01-07 16:48:23 +00:00
Automatic Updater 4715754ba9 update 2010-01-07 00:19:43 +00:00
Automatic Updater 247f299fb0 update copyright notice 2010-01-06 23:48:47 +00:00
Automatic Updater b29e5c56eb newcopyrights 2010-01-06 23:30:45 +00:00
Automatic Updater 76e65f9151 update 2010-01-06 01:16:55 +00:00
Evan Hunt b1fbf2a4db fix spacing 2010-01-06 00:53:45 +00:00
Automatic Updater f977f347f0 update 2010-01-06 00:19:50 +00:00
Automatic Updater 3ee1371212 update copyright notice 2010-01-05 23:48:37 +00:00
Automatic Updater 0977f3f39e newcopyrights 2010-01-05 23:30:42 +00:00
Automatic Updater 0261624e84 auto update 2010-01-05 23:18:43 +00:00
Automatic Updater f9205dd2ef update 2010-01-05 16:17:10 +00:00
Evan Hunt 564d687132 missing newline in dnssec-signzone usage 2010-01-05 15:31:58 +00:00
Automatic Updater fa0736a341 update 2010-01-05 00:19:28 +00:00
Automatic Updater 842920c7db update copyright notice 2010-01-04 23:48:51 +00:00
Automatic Updater 205c10066a newcopyrights 2010-01-04 23:30:43 +00:00
Automatic Updater 9ee9011747 update 2010-01-04 23:17:18 +00:00
Evan Hunt d3a6cd7c7e 2830. [bug] Changing the OPTOUT setting could take multiple
passes. [RT #20813]
2010-01-04 22:47:58 +00:00
Evan Hunt 845bb3195a 2829. [bug] Fixed potential node inconsistency in rbtdb.c.
[RT #20808]
2010-01-04 22:30:14 +00:00
Automatic Updater 54d6cdaec6 regen 2009-12-31 23:48:52 +00:00
Automatic Updater 41d96750dd sync 2009-12-31 23:36:36 +00:00
Evan Hunt d443732b18 the previous delta had the DNS_DBFIND_ADDITIONALOK flag in the wrong place 2009-12-31 22:52:47 +00:00
Evan Hunt 3bbd38e611 add missing fixes 2009-12-31 21:45:53 +00:00
Evan Hunt d53eb81c21 rolling 9.5.2-P2 2009-12-31 21:02:45 +00:00
Automatic Updater 7549cd6daa update 2009-12-31 00:20:02 +00:00
Automatic Updater 400615c294 update copyright notice 2009-12-30 23:49:14 +00:00
Automatic Updater 6473a5d888 newcopyrights 2009-12-30 23:30:48 +00:00
Automatic Updater 9745e98876 update 2009-12-30 08:19:52 +00:00
cvs2git da874a40f4 This commit was manufactured by cvs2git to create branch 'v9_5_2_patch'. 2009-12-30 08:02:35 +00:00
cvs2git 1525b941bd This commit was manufactured by cvs2git to create branch 'v9_5_2_patch'. 2009-12-30 08:02:34 +00:00
cvs2git 829d1a8978 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-12-30 08:02:33 +00:00
Tatuya JINMEI 神明達哉 d8680445d6 2828. [security] Cached CNAME or DNAME RR could be returned to clients
without DNSSEC validation. [RT #20737]

9.4-ESV, 9.5.3, 9.6.2, 9.7.0, 9.8.0(?)
2009-12-30 08:02:23 +00:00
Automatic Updater 0f348b269b update 2009-12-30 07:17:54 +00:00
Automatic Updater 34cd8d1b24 update 2009-12-30 07:16:17 +00:00
Evan Hunt 9ead684875 2827. [security] Bogus NXDOMAIN could be cached as if valid. [RT #20712] 2009-12-30 06:46:58 +00:00
Evan Hunt 7c6cda4b57 2827. [security] Bogus NXDOMAIN could be cached as if valid. [RT #20712] 2009-12-30 06:44:22 +00:00
Automatic Updater 3156309a79 update 2009-12-30 04:21:03 +00:00
Evan Hunt 687b6322fb 2826. [bug] NSEC3->NSEC transitions could fail due to a lock not
being released.  [RT #20740]
2009-12-30 03:38:57 +00:00
Automatic Updater 5a1d90c7ed update 2009-12-30 03:21:48 +00:00
Mark Andrews 57fb4f7bbe 2825. [bug] Changing the setting of OPTOUT in a NSEC3 chain that
was in the process of being created was not properly
                        recorded in the zone. [RT #20786]
2009-12-30 02:43:09 +00:00
Mark Andrews 7ddd859470 more for:
2824.   [bug]           "rndc sign" was not being run by the correct task.
                        [RT #20759]
2009-12-30 02:32:13 +00:00
Mark Andrews 502dc92f58 more for:
2824.   [bug]           "rndc sign" was not being run by the correct task.
                        [RT #20759]
2009-12-30 02:26:30 +00:00
Automatic Updater 0216fd2ac6 auto update 2009-12-29 23:19:13 +00:00
Automatic Updater 7fc63ac0ed update 2009-12-29 23:17:04 +00:00
Mark Andrews 5b77627c09 2824. [bug] "rndc sign" was not being run by the correct task.
[RT #20759]
2009-12-29 22:20:33 +00:00
Automatic Updater 5e4b540170 update 2009-12-29 22:17:09 +00:00
Mark Andrews 288486df9d 2823. [bug] rbtdb.c:getsigningtime() was missing locks. [RT #20781] 2009-12-29 22:04:16 +00:00
Automatic Updater d4c0bf0a08 update 2009-12-29 09:17:23 +00:00
Mark Andrews 5773d3c007 2822. [bug] rbtdb.c:loadnode() could return the wrong result.
[RT #20802]
2009-12-29 08:53:33 +00:00
Automatic Updater 845309d349 update 2009-12-29 01:16:31 +00:00
Automatic Updater d856585f5f regen 2009-12-29 01:14:03 +00:00
Automatic Updater 773199d3ad update 2009-12-29 00:19:31 +00:00
Evan Hunt 85c5ed3577 2821. [doc] Add note that named-checkconf doesn't automatically
read rndc.key and bind.keys [RT #20758]
2009-12-28 23:21:16 +00:00
Automatic Updater ead17d97ab auto update 2009-12-27 23:18:41 +00:00
Automatic Updater 85087d31ab auto update 2009-12-24 23:18:40 +00:00
Automatic Updater c67053f35f update 2009-12-24 18:17:17 +00:00
Francis Dupont 0faf1492c7 non-readable openssl.cnf [20668] 2009-12-24 17:49:39 +00:00
Automatic Updater 0eaa00ce70 update 2009-12-24 01:16:43 +00:00
Automatic Updater fab00a8b58 update 2009-12-24 01:15:41 +00:00
Evan Hunt bd31f734ee 2819. [cleanup] Removed unnecessary DNS_POINTER_MAXHOPS define
[RT #20771]
2009-12-24 00:35:46 +00:00
Evan Hunt e62109ae5d 2819. [cleanup] Removed unnecessary DNS_POINTER_MAXHOPS define
[RT #20771]
2009-12-24 00:34:43 +00:00
Automatic Updater c6323eed9d update 2009-12-24 00:20:11 +00:00
Automatic Updater c5acfbecf7 update 2009-12-24 00:17:18 +00:00
Evan Hunt 972eda1bc3 2818. [cleanup] rndc could return an incorrect error code
when a zone was not found. [RT #20767]
2009-12-24 00:17:06 +00:00
Evan Hunt 1361014b02 2818. [cleanup] rndc could return an incorrect error code
when a zone was not found. [RT #20767]
2009-12-24 00:14:20 +00:00
Evan Hunt 40ad4ed01b 2817. [cleanup] Removed unnecessary isc_tasc_endexclusive() calls.
[RT #20768]
2009-12-23 23:59:42 +00:00
Evan Hunt b09559fd36 2816. [bug] previous_closest_nsec() could fail to return
data for NSEC3 nodes [RT #29730]
2009-12-23 23:43:01 +00:00
Evan Hunt 0c5734cf05 2815. [bug] Exclusively lock the task when freezing a zone.
[RT #19838]
2009-12-23 23:34:45 +00:00
Evan Hunt aa3415ba49 2815. [bug] Exclusively lock the task when freezing a zone.
[RT #19838]
2009-12-23 23:33:09 +00:00
Automatic Updater f09e6b6025 auto update 2009-12-22 23:18:46 +00:00
Automatic Updater a9890810cf update 2009-12-21 05:17:55 +00:00
Automatic Updater e7fe0d5845 update 2009-12-21 05:16:22 +00:00
Mark Andrews fc5d9b6078 2814. [func] Provide a definitive error message when a master
zone is not loaded. [RT #20757]
2009-12-21 04:34:08 +00:00
Mark Andrews c9630524c7 2814. [func] Provide a definitive error message when a master
zone is not loaded. [RT #20757]
2009-12-21 04:29:10 +00:00
Automatic Updater 1585604c53 auto update 2009-12-19 23:19:16 +00:00
Automatic Updater 4c2ac09e46 update 2009-12-19 18:17:05 +00:00
Evan Hunt f766024a27 change all keys from rsasha1 to nsec3rsasha1 so that the nsec->nsec3
transitions work correctly.  (they worked before, but weren't supposed
to; when that bug was fixed, the test broke.)
2009-12-19 17:30:31 +00:00
Automatic Updater 3c8a4c7a8b update 2009-12-19 01:16:40 +00:00
Automatic Updater 7a0d680aa5 regen 2009-12-19 01:14:05 +00:00
Automatic Updater 0d41ea8c5c update 2009-12-19 00:19:37 +00:00
Automatic Updater 928e12ccdc update copyright notice 2009-12-18 23:49:03 +00:00
Automatic Updater 59edd79b87 newcopyrights 2009-12-18 23:30:39 +00:00
Automatic Updater f219cfd749 update 2009-12-18 23:16:58 +00:00
Evan Hunt 4e55893d30 2813. [bug] Better handling of unreadable DNSSEC key files.
[RT #20710]

2812.	[bug]		Make sure updates can't result in a zone with
			NSEC-only keys and NSEC3 records. [RT 20748]
2009-12-18 22:16:49 +00:00
Automatic Updater 84faa4f2ef update 2009-12-18 08:20:18 +00:00
Evan Hunt 0da859c5a7 2811. [cleanup] Add "rndc sign" to list of commands in rndc usage
output. [RT #20733]
2009-12-18 07:59:43 +00:00
Evan Hunt 19a6c40c37 2810. [doc] Clarified the process of transitioning an NSEC3 zone
to insecure. [RT #20746]
2009-12-18 07:56:29 +00:00
Evan Hunt 9de98fbbbe 2809. [cleanup] Restored accidentally-deleted text in usage output
in dnssec-settime and dnssec-revoke [RT #20739]
2009-12-18 07:49:42 +00:00
Automatic Updater c020cb62e9 update 2009-12-18 04:20:53 +00:00
Mark Andrews c221360e9f spelling 2009-12-18 04:07:58 +00:00
Mark Andrews 28f4cd0a45 2808. [bug] Remove the attempt to install atomic.h from lib/isc.
atomic.h is correctly intalled by the architecture
                        specific subdirectories.  [RT #20722]
2009-12-18 04:07:08 +00:00
Automatic Updater 6f74c4a2ab update 2009-12-18 03:21:15 +00:00
Mark Andrews 485a435efe 2808. [bug] atomic.h was not being properly installed under all
circumstances. [RT #20722]
2009-12-18 03:05:37 +00:00
Automatic Updater 0025b05075 auto update 2009-12-17 23:18:52 +00:00
Automatic Updater 110214b8ca update 2009-12-17 01:16:44 +00:00
Automatic Updater 90c38ab4e6 regen 2009-12-17 01:13:46 +00:00
Automatic Updater 6afeeeab25 update 2009-12-16 07:21:41 +00:00
Evan Hunt 535bc8112a s/ddns.key/session.key/ 2009-12-16 07:13:02 +00:00
Automatic Updater e9017c9b6a update 2009-12-11 01:16:40 +00:00
Evan Hunt bc04d6ec15 2807. [bug] Fixed a possible ASSERT when reconfiguring zone
keys. [RT #20720]
2009-12-11 01:06:03 +00:00
Automatic Updater 1180d56549 auto update 2009-12-09 23:18:54 +00:00
Automatic Updater 332979b16c update 2009-12-09 02:23:16 +00:00
Automatic Updater 38394b7679 sync 2009-12-09 01:33:09 +00:00
Automatic Updater 297aed661d auto update 2009-12-08 23:18:39 +00:00
Automatic Updater 9e01a3fb5e update 2009-12-08 05:17:01 +00:00
cvs2git bba567c072 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-12-08 04:57:43 +00:00
Mark Andrews 4d0f4a9d3c new draft 2009-12-08 04:57:40 +00:00
Automatic Updater ed6fe51716 update 2009-12-07 20:54:13 +00:00
Evan Hunt b8b602f89b 2806. [bug] "rdnc sign" could delay re-signing the DNSKEY
when it had changed. [RT #20703]
2009-12-07 20:51:12 +00:00
Automatic Updater 18f0a7f147 update 2009-12-07 00:18:46 +00:00
Automatic Updater 8b82c01d74 update copyright notice 2009-12-06 23:48:29 +00:00
Automatic Updater 47ff70af9e newcopyrights 2009-12-06 23:30:32 +00:00
Automatic Updater d49d63260e update 2009-12-06 03:13:41 +00:00
Evan Hunt 3cd574df2f s/journalprint/named-journalprint/ 2009-12-06 03:06:16 +00:00
Evan Hunt 0d796b1aaa improve cleanup and add named.run to .cvsignore files 2009-12-06 03:04:39 +00:00
Automatic Updater 4adecd0845 update 2009-12-06 02:59:59 +00:00
Evan Hunt daa4933c4d prep for 9.7.0rc1 2009-12-06 02:54:26 +00:00
Automatic Updater 292a9dd882 update 2009-12-06 02:32:33 +00:00
Evan Hunt c7611c7dd2 prep for 9.7.0rc1 release 2009-12-06 02:31:42 +00:00
Evan Hunt 16de5dbc71 prep for 9.7.0rc1 release 2009-12-06 01:49:08 +00:00
Automatic Updater c93ed439e5 update 2009-12-06 00:18:43 +00:00
Evan Hunt 12178c8652 2805. [bug] Fixed namespace problems encountered when building
external programs using non-exported BIND9 libraries
			(i.e., built without --enable-exportlib). [RT #20679]
2009-12-05 23:31:41 +00:00
Automatic Updater 06f5acb11f newcopyrights 2009-12-05 23:30:32 +00:00
Automatic Updater 07a6184c3a update 2009-12-05 06:18:51 +00:00
Evan Hunt d4d836350f add .cvsignore files 2009-12-05 05:36:03 +00:00
Automatic Updater 96912588e2 update 2009-12-05 02:27:01 +00:00
Evan Hunt c2f095969c oops: missed a declaration, and forgot to lock the zone before clearing
the flag.  (and accidentally ran make tests in the wrong tree, misleading
myself into thinking it was fine.)
2009-12-05 01:25:43 +00:00
Automatic Updater 6d85ab241a update 2009-12-04 23:22:03 +00:00
Automatic Updater e330b6116c auto update 2009-12-04 23:18:23 +00:00
Evan Hunt d601ef9e89 2804. [bug] Send notifies when a zone is signed with "rndc sign"
or as a result of a scheduled key change. [RT #20700]
2009-12-04 22:45:11 +00:00
Automatic Updater a8d090b362 update copyright notice 2009-12-04 22:32:31 +00:00
Automatic Updater d99e249ff3 newcopyrights 2009-12-04 22:28:59 +00:00
Automatic Updater fc2381b901 new 2009-12-04 22:23:33 +00:00
Automatic Updater e2e4d32199 regen 2009-12-04 22:22:27 +00:00
Automatic Updater 661c6b52c4 update 2009-12-04 22:18:51 +00:00
Automatic Updater 4b6dc226f7 update copyright notice 2009-12-04 22:06:37 +00:00
Automatic Updater 979e02d122 newcopyrights 2009-12-04 22:02:28 +00:00
Mark Andrews 71ba75c604 2803. [port] win32: Install named-journalprint, nsec3hash, arpaname
and genrandom under windows. [RT #20670]

2802.   [cleanup]       Rename journalprint to named-journalprint. [RT #20670]
2009-12-04 21:59:24 +00:00
Automatic Updater 530e510458 update 2009-12-04 21:16:43 +00:00
Mark Andrews 3d17a3ba61 2801. [func] Detect and report records that are different according
to DNSSEC but are sematically equal according to plain
                        DNS.  Apply plain DNS comparisons rather than DNSSEC
                        comparisons when processing UPDATE requests.
                        dnssec-signzone now removes such semantically duplicate
                        records prior to signing the RRset.

                        named-checkzone -r {ignore|warn|fail} (default warn)
                        named-compilezone -r {ignore|warn|fail} (default warn)

                        named.conf: check-dup-records {ignore|warn|fail};
2009-12-04 21:09:34 +00:00
Evan Hunt e438e29354 claried log message when no active private keys are found to use for
signing. [rt20690]
2009-12-04 20:32:07 +00:00
Evan Hunt 2ec4ab2183 update copyrights 2009-12-04 20:18:04 +00:00
Automatic Updater a4457e0d89 update 2009-12-04 20:16:38 +00:00
Evan Hunt 306b36adb6 - moved NSEC3-NOTES to README.dnssec
- moved README.idnkit to contrib/idn
2009-12-04 20:14:28 +00:00
Evan Hunt e2d43cd9d5 some minor clarifications 2009-12-04 20:04:43 +00:00
Automatic Updater 08ce421808 update 2009-12-04 04:18:42 +00:00
Evan Hunt 3353e0d964 Updated with auto-dnssec information. 2009-12-04 03:49:43 +00:00
Mark Andrews 5d850024cb 2800. [func] Reject zones which have NS records which refer to
CNAMEs, DNAMEs or don't have address record (class IN
                        only).  Reject UPDATEs which would cause the zone
                        to fail the above checks if committed. [RT #20678]
2009-12-04 03:33:15 +00:00
Automatic Updater 4a3ec743a1 update 2009-12-04 02:29:42 +00:00
Automatic Updater b6339527e6 regen 2009-12-04 01:44:11 +00:00
Automatic Updater 6ec134549f update 2009-12-04 01:16:40 +00:00
Automatic Updater 089c63b69c regen 2009-12-04 01:13:45 +00:00
Automatic Updater 185cb1aaaf update 2009-12-04 00:18:47 +00:00
Automatic Updater 63aeaafd97 update copyright notice 2009-12-03 23:48:22 +00:00
Automatic Updater 47a171a75a auto update 2009-12-03 23:19:10 +00:00
Evan Hunt 8e4f3f1cbc 2799. [cleanup] Changed the "secure-to-insecure" option to
"dnssec-secure-to-insecure", and "dnskey-ksk-only"
			to "dnssec-dnskey-kskonly", for clarity. [RT #20586]
2009-12-03 23:18:17 +00:00
Automatic Updater f70450a70f update 2009-12-03 17:16:30 +00:00
Evan Hunt 22304041d1 typo caused a missing semicolon 2009-12-03 16:49:09 +00:00
Automatic Updater 61c87dbe87 update 2009-12-03 16:16:24 +00:00
Evan Hunt e6dda86e8b 2798. [bug] Addressed bugs in managed-keys initialization
and rollover. [RT #20683]
2009-12-03 15:40:03 +00:00
Automatic Updater 7b844d9590 update 2009-12-03 05:19:51 +00:00
Automatic Updater 4092ff5d68 update 2009-12-03 05:17:38 +00:00
Mark Andrews 9ab02aa320 add copyright 2009-12-03 04:52:53 +00:00
Mark Andrews ecbbb29519 add copyright 2009-12-03 04:51:41 +00:00
Mark Andrews 6c110a273c handle EXCLUDED 2009-12-03 04:47:13 +00:00
Mark Andrews 620a452ebe handle EXCLUDED 2009-12-03 04:45:10 +00:00
Automatic Updater 0c16de4c40 update copyright notice 2009-12-03 04:42:48 +00:00
Automatic Updater ba70b2883f newcopyrights 2009-12-03 04:39:39 +00:00
Mark Andrews 663d561df0 2601. [doc] Mention file creation mode mask in the
named manual page.
2009-12-03 04:34:42 +00:00
Mark Andrews 518694e12b 2659. [doc] Clarify dnssec-keygen doc: key name must match zone
name for DNSSEC keys. [RT #19938]
2009-12-03 04:32:43 +00:00
Mark Andrews 6fcd5a7545 2701. [doc] Correction to ARM: hmac-md5 is no longer the only
supported TSIG key algorithm. [RT #18046]
2009-12-03 04:21:42 +00:00
Automatic Updater 5fa86f9aca update 2009-12-03 04:17:21 +00:00
Mark Andrews bf2e4b654c 2533. [doc] ARM: document @ (at-sign). [RT #17144 2009-12-03 03:39:45 +00:00
Automatic Updater df31d36c3f update 2009-12-03 01:16:22 +00:00
Mark Andrews b99efc39de rt# 2009-12-03 01:06:21 +00:00
Automatic Updater e388818cc9 update 2009-12-03 00:19:26 +00:00
Automatic Updater dd50350612 update 2009-12-03 00:17:14 +00:00
Mark Andrews ac8aa59f62 spelling 2009-12-03 00:01:03 +00:00
Mark Andrews 9d5e42bb87 remove trailing whitespace 2009-12-02 23:56:30 +00:00
Mark Andrews c71ae1bc33 2797. [bug] Don't decrement the dispatch manager's maxbuffers.
[RT #20613]
2009-12-02 23:32:38 +00:00
Mark Andrews 2a0d4c4d6b 2797. [bug] Don't decrement the dispatch manager's maxbuffers.
[RT #20613]
2009-12-02 23:15:14 +00:00
Automatic Updater 63be8a9807 update 2009-12-02 18:16:41 +00:00
Evan Hunt 6a4d6e3379 adapted to the special needs of solaris's really old awk 2009-12-02 17:54:45 +00:00
Automatic Updater 5d698de5b4 update 2009-12-02 06:16:34 +00:00
Evan Hunt 095810f8cb fixed autosign/metadata brokenness on solaris [rt20685] 2009-12-02 05:42:15 +00:00
Automatic Updater c82447ebbf update 2009-12-02 02:26:12 +00:00
Automatic Updater 3e8fdd8828 sync 2009-12-02 01:33:41 +00:00
Automatic Updater 049a56fb19 update 2009-12-01 08:20:55 +00:00
cvs2git d1a08d6671 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-12-01 07:29:27 +00:00
Mark Andrews 6f0fe31b85 new draft 2009-12-01 07:29:24 +00:00
Automatic Updater 717d095d85 update 2009-12-01 06:17:02 +00:00
Mark Andrews d524a81532 2796. [bug] Missing dns_rdataset_disassociate() call in
dns_nsec3_delnsec3sx(). [RT #20681]
2009-12-01 05:28:40 +00:00
Automatic Updater 506c084124 update 2009-12-01 01:16:39 +00:00
Evan Hunt feeca57f18 2795. [cleanup] Add text to differentiate "update with no effect"
log messages. [RT #18889]
2009-12-01 00:47:09 +00:00
Automatic Updater 88adaa322e update 2009-12-01 00:19:41 +00:00
Automatic Updater ffd297db79 update copyright notice 2009-11-30 23:48:02 +00:00
Automatic Updater 31a540386a newcopyrights 2009-11-30 23:30:28 +00:00
Automatic Updater 1cb8c8d52e auto update 2009-11-30 23:18:40 +00:00
Automatic Updater 4f4b55df87 update 2009-11-30 22:16:56 +00:00
Mark Andrews 8b37c0dd6e 2794. [bug] Install <isc/namespace.h>. [RT #20677] 2009-11-30 21:34:57 +00:00
Automatic Updater 7579858399 update 2009-11-30 21:16:58 +00:00
Evan Hunt c073c65719 missed committing change note:
2793.	[func]		Add "autosign" and "metadata" tests to the
			automatic tests. [RT #19946]
2009-11-30 21:06:53 +00:00
Evan Hunt 7511904837 add cvsignore files 2009-11-30 21:03:17 +00:00
Evan Hunt 75b8de8787 Create automatic tests "autosign" and "metadata". [rt19946] 2009-11-30 21:00:48 +00:00
Automatic Updater 6585014aa0 update 2009-11-29 01:16:22 +00:00
Automatic Updater 996dbb1957 regen 2009-11-29 01:14:51 +00:00
Automatic Updater e8277bed1b update 2009-11-28 16:16:26 +00:00
Vernon Schryver 5d9922e86f Allow the optional filter-aaaa-on-v4 option in view statements to close #20635 2009-11-28 15:57:37 +00:00
Automatic Updater 9df45151f5 update 2009-11-27 00:19:17 +00:00
Automatic Updater 53cce6b5b5 update 2009-11-27 00:17:12 +00:00
Automatic Updater 3e920dd0c6 update copyright notice 2009-11-26 23:48:14 +00:00
Automatic Updater da8e409f85 update copyright notice 2009-11-26 23:46:48 +00:00
Automatic Updater 45fb40e1f7 update 2009-11-26 22:21:27 +00:00
Automatic Updater cb1c5b5a1c update 2009-11-26 22:19:03 +00:00
Automatic Updater 979f1cf4af update 2009-11-26 21:47:29 +00:00
Mark Andrews b006a39570 rt# 2009-11-26 21:33:47 +00:00
Mark Andrews 88a7702a9d rt# 2009-11-26 21:32:38 +00:00
Mark Andrews c4e3976707 line length 2009-11-26 21:01:04 +00:00
Mark Andrews 49f788cbd3 2791. [bug] The installation of isc-config.sh was broken. [RT #20667] 2009-11-26 20:52:44 +00:00
Automatic Updater 54341ecaa1 update 2009-11-26 04:19:42 +00:00
Automatic Updater 3a9c6337a9 update 2009-11-26 04:17:38 +00:00
Mark Andrews e7a35d4e83 2790. [bug] Handle DS queries to stub zones. 2009-11-26 03:40:20 +00:00
Mark Andrews 66ecb6789b 2790. [bug] Handle DS queries to stub zones. 2009-11-26 03:28:19 +00:00
Automatic Updater e053dbfeb0 update 2009-11-26 02:17:40 +00:00
Automatic Updater dd046c1a8e update 2009-11-26 01:16:40 +00:00
Automatic Updater b7ce89b8ca regen 2009-11-26 01:15:25 +00:00
Evan Hunt bccacfdbf0 corrected rndc sign syntax 2009-11-26 00:20:28 +00:00
Automatic Updater b47987bc53 update 2009-11-26 00:19:24 +00:00
Automatic Updater 7d722d99b2 update 2009-11-26 00:17:17 +00:00
Automatic Updater 2b2fc9b4df update copyright notice 2009-11-25 23:49:22 +00:00
Automatic Updater 57b0ee84c4 update copyright notice 2009-11-25 23:47:42 +00:00
Automatic Updater d26e883326 auto update 2009-11-25 23:19:12 +00:00
Automatic Updater 9bf8182b1c update 2009-11-25 23:16:20 +00:00
Mark Andrews 4bf4beede2 silence compiler warnings 2009-11-25 23:00:32 +00:00
Automatic Updater 4ec3458524 update 2009-11-25 21:16:01 +00:00
Mark Andrews a5d8e28ed0 adjust dnssec-keygen command line to that supported before 9.7 2009-11-25 20:53:27 +00:00
Automatic Updater 172465b683 update 2009-11-25 14:16:56 +00:00
Automatic Updater 075356d3fe update 2009-11-25 14:16:09 +00:00
Mark Andrews 26ae17ea64 fix genrandom location 2009-11-25 13:40:48 +00:00
Mark Andrews 536e36ac8d declarations before statements 2009-11-25 13:17:59 +00:00
Automatic Updater 1f794e6297 update 2009-11-25 06:17:25 +00:00
Evan Hunt cfc22e53a8 2789. [bug] Fixed an INSIST in dispatch.c [RT #20576] 2009-11-25 05:55:32 +00:00
Automatic Updater f6aa4de371 update 2009-11-25 04:18:16 +00:00
Automatic Updater 3a341ee535 update 2009-11-25 03:20:52 +00:00
Automatic Updater 19a2ba0ffa update 2009-11-25 03:18:13 +00:00
Evan Hunt ce3b2c5189 2788. [bug] dnssec-signzone could sign with keys that were
not requested [RT #20625]
2009-11-25 03:17:11 +00:00
Mark Andrews 718d7963a6 2786. [bug] Additional could be promoted to answer. [RT #20663] 2009-11-25 02:32:05 +00:00
Evan Hunt fc1fb1a469 2786. [bug] Spurious log message when zone keys were
dynamically reconfigured. [RT #20659]
2009-11-25 02:30:54 +00:00
Mark Andrews d0ca4e90e2 2786. [bug] Additional could be promoted to answer. [RT #20663] 2009-11-25 02:22:05 +00:00
Automatic Updater 996f875de4 update 2009-11-25 00:19:46 +00:00
Automatic Updater 1dd95655de update 2009-11-25 00:17:23 +00:00
Automatic Updater b314ea10b4 update copyright notice 2009-11-24 23:48:12 +00:00
Automatic Updater 07aed83e3e update copyright notice 2009-11-24 23:46:42 +00:00
Automatic Updater fc6533c79e newcopyrights 2009-11-24 23:30:15 +00:00
Automatic Updater cd41f377c8 update 2009-11-24 04:18:56 +00:00
Automatic Updater c139a0ce47 update 2009-11-24 04:17:22 +00:00
Evan Hunt d312bc5d81 2785. [bug] Revoked keys could fail to self-sign [RT #20652] 2009-11-24 03:42:32 +00:00
Mark Andrews db6cd7ee05 rt# 2009-11-24 03:34:26 +00:00
Mark Andrews 91d4065eab rt# 2009-11-24 03:33:03 +00:00
Mark Andrews ff472b3819 2784. [bug] TC was not always being set when required glue was
dropped. [RT #234186]
2009-11-24 03:24:42 +00:00
Automatic Updater b0f986128a update 2009-11-24 03:20:05 +00:00
Mark Andrews 9dd2ee95f1 2784. [bug] TC was not always being set when required glue was
dropped. [RT #234186]
2009-11-24 03:20:02 +00:00
Mark Andrews bec6b4b55f 2783. [func] Return minimal responses to EDNS/UDP queries with a UDP
buffer size of 512 or less.  [RT #20654]
2009-11-24 03:15:54 +00:00
Mark Andrews dc92707066 2783. [func] Return minimal responses to EDNS/UDP queries with a UDP
buffer size of 512 or less.  [RT #20654]
2009-11-24 03:09:57 +00:00
Automatic Updater fa14b39ce9 update 2009-11-24 02:19:58 +00:00
Automatic Updater e2bcbcaf85 update 2009-11-24 02:17:37 +00:00
Mark Andrews 1f6ee6da34 2782. [port] win32: use getaddrinfo() for hostname lookups.
[RT #20650]
2009-11-24 02:14:17 +00:00
Mark Andrews 503e5aa8d2 2782. [port] win32: use getaddrinfo() for hostname lookups.
[RT #20650]
2009-11-24 02:09:28 +00:00
Automatic Updater ebaaeff9ea update 2009-11-24 00:19:13 +00:00
Automatic Updater 94e3a63110 update copyright notice 2009-11-23 23:48:16 +00:00
Automatic Updater f7bef440fa update 2009-11-23 16:16:12 +00:00
Evan Hunt 5985af3f5c 2781. [bug] Inactive keys could be used for signing. [RT #20649] 2009-11-23 15:18:07 +00:00
Automatic Updater 5942a43b99 update 2009-11-23 03:20:11 +00:00
Automatic Updater 804a00b766 update 2009-11-23 03:17:51 +00:00
Evan Hunt cef109efa7 2780. [bug] dnssec-keygen -A none didn't properly unset the
activation date in all cases. [RT #20648]

2779.	[bug]		Dynamic key revokation could fail. [RT #20644]

2778.	[bug]		dnssec-signzone could fail when a key was revoked
			without deleting the unrevoked version. [RT #20638]
2009-11-23 02:55:41 +00:00
Mark Andrews dfc7f79a4f 2777. [contrib] DLZ MYSQL auto reconnect support discovery was wrong. 2009-11-23 02:40:25 +00:00
Mark Andrews 289dbe005c 2777. [contrib] DLZ MYSQL auto reconnect support discovery was wrong. 2009-11-23 02:37:14 +00:00
Automatic Updater 00464ff770 update 2009-11-23 02:17:52 +00:00
Automatic Updater 7d01ab71f6 update 2009-11-23 02:17:03 +00:00
Mark Andrews c16d37d06e 2776. [bug] Change #2762 was not correct. [RT #20647] 2009-11-23 02:10:16 +00:00
Automatic Updater d0d79e4c01 sync 2009-11-23 01:35:54 +00:00
Automatic Updater 00fac9f21a update 2009-11-22 23:16:38 +00:00
cvs2git 72917dd64b This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-11-22 22:36:07 +00:00
Mark Andrews 40ff4bb482 new draft 2009-11-22 22:36:03 +00:00
Automatic Updater 8b4aab25fa auto update 2009-11-21 23:18:38 +00:00
Automatic Updater a7df2367f2 update 2009-11-21 18:16:28 +00:00
Francis Dupont 1cd538c051 20643: RSASHA2 NSEC3 compatible in dnssec-keyfromlabel 2009-11-21 17:54:09 +00:00
Automatic Updater 19af988924 auto update 2009-11-20 23:18:21 +00:00
Automatic Updater 3541f13d9e update 2009-11-20 02:18:04 +00:00
Automatic Updater 582e9959ae sync 2009-11-20 01:41:03 +00:00
Automatic Updater 1a0f31121f update 2009-11-20 01:39:42 +00:00
Automatic Updater 44ed66f065 rfc5625.txt 2009-11-20 01:39:40 +00:00
Automatic Updater fcb6264de5 rfc5452.txt 2009-11-20 01:39:36 +00:00
Automatic Updater d1de14528c rfc5001.txt 2009-11-20 01:39:32 +00:00
Automatic Updater d82564b6bd rfc4956.txt 2009-11-20 01:39:28 +00:00
Automatic Updater f5d2889c70 rfc4955.txt 2009-11-20 01:39:24 +00:00
Automatic Updater 186771ca21 rfc4697.txt 2009-11-20 01:39:20 +00:00
Automatic Updater c18a9377fe rfc4472.txt 2009-11-20 01:39:16 +00:00
Automatic Updater dd78075d4a rfc4471.txt 2009-11-20 01:39:08 +00:00
Automatic Updater 338efca8d8 rfc4339.txt 2009-11-20 01:39:03 +00:00
Automatic Updater 4b04283067 rfc4294.txt 2009-11-20 01:38:59 +00:00
Automatic Updater 916870de8e rfc3755.txt 2009-11-20 01:38:55 +00:00
Automatic Updater 3c1e75c23f auto update 2009-11-19 23:19:15 +00:00
Automatic Updater 158908972b update 2009-11-19 19:17:11 +00:00
Evan Hunt 0088b45de5 2774. [bug] Existing cache DB wasn't being reused after
reconfiguration. [RT #20629]
2009-11-19 18:52:40 +00:00
Automatic Updater 3f9f79b5c4 update 2009-11-19 06:16:55 +00:00
cvs2git cd3d1bcf1a This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-11-19 05:58:25 +00:00
Mark Andrews acf4c05953 new draft 2009-11-19 05:58:22 +00:00
Mark Andrews fad04ffe23 cleanup 2009-11-19 05:34:56 +00:00
Automatic Updater 6b5b1d74a4 update 2009-11-19 05:17:19 +00:00
Mark Andrews f6566e9ec2 cleanup 2009-11-19 05:15:35 +00:00
Mark Andrews 9dad3e2710 new draft 2009-11-19 05:11:47 +00:00
Mark Andrews f7e3edb15a cleanup 2009-11-19 05:03:52 +00:00
Automatic Updater a3386c9241 update 2009-11-19 02:17:55 +00:00
Automatic Updater 2b9197c806 remove draft-park-ipv6-extensions-dns-pnp-00.txt 2009-11-19 01:39:42 +00:00
Automatic Updater 76ea3822cd draft-ietf-dnsop-name-server-management-reqs-02.txt 2009-11-19 01:39:25 +00:00
Automatic Updater 5b121aa1eb draft-ietf-dnsop-default-local-zones-05.txt 2009-11-19 01:39:23 +00:00
Automatic Updater 3a903016d7 draft-ietf-dnsext-tsig-md5-deprecated-03.txt 2009-11-19 01:39:22 +00:00
Automatic Updater 47aa29f85b draft-ietf-dnsext-rfc3597-bis-00.txt 2009-11-19 01:39:20 +00:00
Automatic Updater 03a606bb47 draft-ietf-dnsext-rfc2672bis-dname-18.txt 2009-11-19 01:39:17 +00:00
Automatic Updater ee3f92879b draft-ietf-dnsext-rfc2671bis-edns0-01.txt 2009-11-19 01:39:15 +00:00
Automatic Updater 6d87e77519 draft-ietf-dnsext-forgery-resilience-02.txt 2009-11-19 01:39:12 +00:00
Automatic Updater cf94f10796 draft-ietf-dnsext-dnssec-gost-03.txt 2009-11-19 01:39:11 +00:00
Automatic Updater 26eaeb1bd8 draft-ietf-dnsext-dnssec-bis-updates-09.txt 2009-11-19 01:39:09 +00:00
Automatic Updater 639ff59181 draft-ietf-dnsext-dnsproxy-05.txt 2009-11-19 01:39:04 +00:00
Automatic Updater 3a786a57a6 draft-ietf-dnsext-dns-tcp-requirements-01.txt 2009-11-19 01:39:01 +00:00
Automatic Updater 81c38d294f draft-ietf-dnsext-axfr-clarify-11.txt 2009-11-19 01:38:55 +00:00
Automatic Updater 79e3323fe9 draft-ietf-behave-dns64-01.txt 2009-11-19 01:38:53 +00:00
Automatic Updater cb3dc36864 draft-ietf-6man-text-addr-representation-01.txt 2009-11-19 01:38:51 +00:00
Automatic Updater d77a5d4d83 draft-dolmatov-dnsext-dnssec-gost-00.txt 2009-11-19 01:38:49 +00:00
Automatic Updater f95bdcf65d update 2009-11-19 00:19:08 +00:00
Automatic Updater 7fe7be3547 update 2009-11-19 00:17:03 +00:00
Automatic Updater fe2b9bf570 update copyright notice 2009-11-18 23:48:07 +00:00
Automatic Updater 401585877e update copyright notice 2009-11-18 23:46:39 +00:00
Mark Andrews d359fe9597 9.5.2-P1 2009-11-18 23:41:18 +00:00
Automatic Updater c95f536d78 newcopyrights 2009-11-18 23:30:33 +00:00
Automatic Updater d839d9ad86 newcopyrights 2009-11-18 23:30:21 +00:00
Automatic Updater ae5b67a0c0 auto update 2009-11-18 23:19:11 +00:00
Automatic Updater 3e084fed8d update 2009-11-18 22:16:59 +00:00
Evan Hunt b08325a7f3 2773. [bug] In autosigned zones, the SOA could be signed
with the KSK. [RT #20628]
2009-11-18 21:22:31 +00:00
Automatic Updater e83a7cabc3 update 2009-11-18 16:52:52 +00:00
Evan Hunt 2ad776a5c4 changed age to 0 2009-11-18 16:46:10 +00:00
Automatic Updater 66d5a4ad86 update 2009-11-18 01:16:58 +00:00
Automatic Updater 850853340a regen 2009-11-18 00:38:26 +00:00
Evan Hunt af52d6ddd7 prep for release of 9.7.0b3 2009-11-18 00:30:37 +00:00
Automatic Updater 823c5a49e5 update 2009-11-18 00:19:05 +00:00
Automatic Updater aafdac5a64 update 2009-11-18 00:17:09 +00:00
Mark Andrews 8c4db61211 2772. [security] When validating, track whether pending data was from
the additional section or not and only return it if
                        validates as secure. [RT #20438]
2009-11-18 00:09:00 +00:00
cvs2git dfdc1ca5e5 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-11-17 23:55:19 +00:00
Mark Andrews a39a5f4d81 2772. [security] When validating, track whether pending data was from
the additional section or not and only return it if
                        validates as secure. [RT #20438]
2009-11-17 23:55:18 +00:00
Automatic Updater e34e9a8d68 update copyright notice 2009-11-17 23:48:13 +00:00
Automatic Updater 124293bba2 auto update 2009-11-17 23:19:03 +00:00
Automatic Updater a5f51e95e7 update 2009-11-17 06:16:53 +00:00
Evan Hunt 7ee4b13ded 2771. [bug] dnssec-signzone: DNSKEY records could be
corrupted when importing from key files [RT #20624]
2009-11-17 05:46:53 +00:00
Automatic Updater f9a07be8b3 update 2009-11-17 03:20:19 +00:00
Evan Hunt 44a3999cf4 2770. [cleanup] Add log messages to resolver.c to indicate events
causing FORMERR responses. [RT #20526]
2009-11-17 02:23:15 +00:00
Automatic Updater 3ed58d6162 auto update 2009-11-16 23:20:46 +00:00
Automatic Updater 13cb972c40 update 2009-11-16 08:19:51 +00:00
Evan Hunt 7048af0a55 2769. [cleanup] Change #2742 was incomplete. [RT #19589] 2009-11-16 07:56:06 +00:00
Automatic Updater c548608321 update 2009-11-16 05:18:00 +00:00
Evan Hunt 00295e0650 2768. [bug] dnssec-signzone: -S no longer implies -g [RT #20568] 2009-11-16 04:27:44 +00:00
Automatic Updater 36d20ac80b update 2009-11-16 02:17:59 +00:00
Evan Hunt e856482b1f 2767. [bug] named could crash on startup if a zone was
configured with auto-dnssec and there was no
			key-directory. [RT #20615]
2009-11-16 01:44:33 +00:00
Automatic Updater 67b57046ef update 2009-11-13 06:17:03 +00:00
cvs2git 19b84f67c4 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-11-13 06:05:00 +00:00
Mark Andrews 9b33a79659 new draft 2009-11-13 06:04:59 +00:00
Automatic Updater 6bb622d361 update 2009-11-13 01:16:30 +00:00
Evan Hunt 37a34ab54f 2766. [bug] isc_socket_fdwatchpoke() should only update the
socketmgr state if the socket is not pending on a
			read or write.  [RT #20603]
2009-11-13 00:41:58 +00:00
Automatic Updater 88a4f97370 update 2009-11-13 00:19:07 +00:00
Automatic Updater 116bb155c3 update 2009-11-13 00:16:57 +00:00
Automatic Updater 53d502202a update copyright notice 2009-11-12 23:47:59 +00:00
Mark Andrews ddf5347a68 2765. [bug] Skip masters for which the TSIG key cannot be found.
[RT #20595]
2009-11-12 23:43:36 +00:00
Evan Hunt 86132f0ef5 eliminate warning when building without -DBIND9 2009-11-12 23:43:02 +00:00
Automatic Updater 710b3ae385 newcopyrights 2009-11-12 23:31:05 +00:00
Mark Andrews 1d0ebb4cf2 2765. [bug] Skip masters for which the TSIG key cannot be found.
[RT #20595]
2009-11-12 23:30:36 +00:00
Automatic Updater a53778d3bb newcopyrights 2009-11-12 23:30:22 +00:00
Automatic Updater 841380d975 auto update 2009-11-12 23:19:16 +00:00
Automatic Updater a64415fc94 update 2009-11-12 21:16:21 +00:00
Mark Andrews 2667bea6bc new draft 2009-11-12 20:47:28 +00:00
Automatic Updater 6d4fb86a4d update 2009-11-12 14:27:28 +00:00
Automatic Updater 36df41d5be update 2009-11-12 14:21:43 +00:00
Mark Andrews 5d061b8d76 add ./doc/private/SRCID 2009-11-12 14:18:09 +00:00
Mark Andrews 25082002ed add ./doc/private/SRCID 2009-11-12 14:17:49 +00:00
Mark Andrews adb4211586 2764. [bug] "rndc-confgen -a" could trigger a REQUIRE. [RT #20610] 2009-11-12 14:02:38 +00:00
Evan Hunt e9dff04d3b 2763. [bug] "rndc sign" didn't create an NSEC chain. [RT #20591] 2009-11-12 03:03:36 +00:00
Evan Hunt 0c3948e606 2761. [bug] DLV validation failed with a local slave DLV zone.
[RT #20577]
2009-11-12 02:59:20 +00:00
Automatic Updater 700f235399 update 2009-11-12 00:16:58 +00:00
Automatic Updater aba6fd4234 generate 2009-11-11 09:28:31 +00:00
Automatic Updater 4e8a9f1300 generate 2009-11-11 09:27:29 +00:00
Tatuya JINMEI 神明達哉 06db2784b5 regen 2009-11-11 08:47:27 +00:00
Tatuya JINMEI 神明達哉 2c016c64f5 2757. [cleanup] Enable internal symbol table for backtrace only for
systems that are known to work.  Currently, BSD
			variants, Linux and Solaris are supported. [RT# 20202]

9.7.0rc1
2009-11-11 08:46:47 +00:00
Automatic Updater 05505f40f3 regen 2009-11-11 01:45:17 +00:00
Automatic Updater 3a5fe5abf0 regen 2009-11-11 01:14:42 +00:00
Mark Andrews f466c1552a new draft 2009-11-10 22:13:24 +00:00
Evan Hunt 2e2a294b05 remove unnecessary braces around {-o filename} 2009-11-10 21:30:42 +00:00
Evan Hunt 3839749200 2760. [cleanup] Corrected named-compilezone usage summary. [RT #20533] 2009-11-10 20:02:01 +00:00
Evan Hunt aeb13ffe04 2760. [cleanup] Corrected named-compilezone usage summary. [RT #20533] 2009-11-10 20:01:15 +00:00
Evan Hunt f82d52e82d 2759. [doc] Add information about .jbk/.jnw files to
the ARM. [RT #20303]
2009-11-10 19:49:32 +00:00
Evan Hunt c857d67816 2759. [doc] Add information about .jbk/.jnw files to
the ARM. [RT #20303]
2009-11-10 19:47:34 +00:00
Evan Hunt 5857247dbb 2758. [bug] win32: Added a workaround for a windows 2008 bug
that could cause the UDP client handler to shut
			down. [RT #19176]
2009-11-10 18:31:47 +00:00
Evan Hunt 279547769f 2758. [bug] win32: Added a workaround for a windows 2008 bug
that could cause the UDP client handler to shut
			down. [RT #19176]
2009-11-10 18:31:07 +00:00
Evan Hunt 7fe4b0447f 2757. [bug] dig: assertion failure could occur in connect
timeout. [RT #20599]
2009-11-10 17:27:40 +00:00
Evan Hunt b2df419c30 2757. [bug] dig: assertion failure could occur in connect
timeout. [RT #20599]
2009-11-10 17:26:47 +00:00
Automatic Updater ca35524ce2 newcopyrights 2009-11-09 23:30:31 +00:00
Evan Hunt e2facd7af2 2756. [bug] Fixed corrupt logfile message in update.c. [RT# 20597] 2009-11-09 01:28:32 +00:00
Mark Andrews 2d46d268cc handle openssl patches 2009-11-08 23:52:20 +00:00
Evan Hunt 5c6c5669ec #include <time.h> for the ctime() prototype. 2009-11-07 03:36:58 +00:00
Automatic Updater c3b7d35e03 regen 2009-11-07 01:45:05 +00:00
Automatic Updater b3c2030de4 regen 2009-11-07 01:14:41 +00:00
Automatic Updater 61e41d72b7 update copyright notice 2009-11-06 23:46:40 +00:00
Automatic Updater ec4b270383 newcopyrights 2009-11-06 23:30:15 +00:00
Automatic Updater 6f0cdcbfbc auto update 2009-11-06 23:18:40 +00:00
Evan Hunt 3594635af7 add placeholder 2009-11-06 21:36:43 +00:00
Evan Hunt ba5329c8c1 2755. [doc] Clarify documentation of keyset- files in
dnssec-signzone man page. [RT #19810]
2009-11-06 21:35:56 +00:00
Evan Hunt 8433da5e37 fix misspelling of queryport-pool-updateinterval in options list 2009-11-06 18:54:48 +00:00
Evan Hunt 6e53926208 fix misspelling of queryport-pool-updateinterval in obsolete options list 2009-11-06 18:52:18 +00:00
Evan Hunt cc3ed192b0 2754. [bug] Secure-to-insecure transitions failed when zone
was signed with NSEC3. [RT #20587]
2009-11-06 08:38:56 +00:00
Mark Andrews df1599d0e1 address initialization type mismatch warning 2009-11-06 04:19:28 +00:00
Mark Andrews 7963a67df0 address statement not reached warning 2009-11-06 04:12:15 +00:00
Evan Hunt c1bfa5b0ad 2753. [bug] Removed an unnecessary warning that could appear when
building an NSEC chain. [RT #20588]
2009-11-06 03:26:59 +00:00
Evan Hunt aa2f010f13 Switch from OpenSSL 0.9.8k to 0.9.8l 2009-11-06 03:14:10 +00:00
Mark Andrews 302ed789bd 2752. [bug] Locking violation. [RT #20587] 2009-11-06 01:30:06 +00:00
Automatic Updater cd0df9459e regen 2009-11-06 01:14:51 +00:00
Evan Hunt 6f6f08b7a4 2751. [bug] Fixed a memory leak in dnssec-keyfromlabel. [RT #20588] 2009-11-06 01:06:38 +00:00
Evan Hunt ca97301c37 remove extra \n from a log message 2009-11-05 21:45:05 +00:00
Evan Hunt 2a81568d17 filter-aaaa-on-v4 was listed incorrectly in the options summary.
also the configure option which enables it was wrong.
2009-11-05 19:12:13 +00:00
Mark Andrews d586a9b72f file test.sh was initially added on branch rt20438. 2009-11-05 04:49:48 +00:00
Mark Andrews 052e7083ac correct bind9.xsl.h dependancy 2009-11-05 02:59:04 +00:00
Evan Hunt 9a050780dc 2750. [bug] dig: assertion failure could occur when a server
didn't have an address. [RT #20579]
2009-11-05 01:57:49 +00:00
Evan Hunt 50c0240ac1 2750. [bug] dig: assertion failure could occur when a server
didn't have an address. [RT #20579]
2009-11-05 01:57:08 +00:00
Automatic Updater b55ce50367 regen 2009-11-05 01:15:15 +00:00
Automatic Updater 2d84cba8f4 update copyright notice 2009-11-04 23:48:18 +00:00
Evan Hunt 515cba20eb fixed typos 2009-11-04 22:35:08 +00:00
Mark Andrews 7efc6d9cb8 cleanup [RT #20509] 2009-11-04 05:58:46 +00:00
Mark Andrews 2484c7db7a spelling 2009-11-04 04:22:16 +00:00
Mark Andrews e94fe42a20 2749. [bug] ixfr-from-differences generated a non-minimal ixfr
for NSEC3 signed zones. [RT #20452]
2009-11-04 03:46:44 +00:00
Mark Andrews 0a30185f80 2748. [func] Identify bad answers from GTLD servers and treat them
as referrals. [RT #18884]
2009-11-04 02:15:30 +00:00
Automatic Updater e5826a3ca3 regen 2009-11-04 01:44:38 +00:00
Mark Andrews 0181a0a92f 2747. [bug] Journal roll forwards failed to set the re-signing
time of RRSIGs correctly. [RT #20541]
2009-11-04 01:25:55 +00:00
Mark Andrews a3285e811d 2746. [port] hpux: address signed/unsigned expansion mismatch of
dns_rbtnode_t.nsec. [RT #20542]
2009-11-04 01:18:19 +00:00
Automatic Updater 126dce8ebf update copyright notice 2009-11-03 23:48:23 +00:00
Tatuya JINMEI 神明達哉 7184a893c1 regen 2009-11-03 23:18:11 +00:00
Tatuya JINMEI 神明達哉 4ffd660d41 2745. [bug] configure script didn't probe the return type of
gai_strerror(3) correctly. [RT #20573]
2009-11-03 23:17:31 +00:00
Automatic Updater 64affc54f9 regen 2009-11-03 21:59:04 +00:00
Evan Hunt f80b665135 fix typo: s/pcks11/pkcs11/ 2009-11-03 21:44:46 +00:00
Mark Andrews 5ccd971c72 UNUSED(engine) if !defined(OPENSSL) 2009-11-03 19:43:54 +00:00
Mark Andrews d937817697 remove synatx errors from example 2009-11-03 14:02:20 +00:00
Mark Andrews 9d856845d6 2744. [func] Log if a query was over TCP. [RT #19961] 2009-11-03 04:39:41 +00:00
Mark Andrews 90065a6881 s/sent/set/ 2009-11-03 02:00:14 +00:00
Mark Andrews 2162c1ed3d add missing period 2009-11-03 01:31:17 +00:00
Mark Andrews 554d22d2de 2743. [bug] RRSIG could be incorrectly sent in the NSEC3 record
for a insecure delegation.
2009-11-03 01:07:48 +00:00
Automatic Updater 717a6020e6 auto update 2009-11-02 23:18:25 +00:00
Evan Hunt af104911b7 missing period in a sentence 2009-11-02 20:04:39 +00:00
Jeremy Reed cc11677a72 Fix misspelling. 2009-11-02 18:49:59 +00:00
Automatic Updater 660818f4c7 auto update 2009-10-31 23:18:12 +00:00
Automatic Updater 21e93db03a update 2009-10-31 01:35:01 +00:00
Automatic Updater dc4ae5d020 rfc5011.txt 2009-10-31 01:35:00 +00:00
Automatic Updater 6e27aa67be auto update 2009-10-30 23:18:51 +00:00
cvs2git b406c36a02 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-10-30 05:21:02 +00:00
Mark Andrews d90f3a24c7 5011: Automated Updates of DNS Security (DNSSEC) Trust Anchors 2009-10-30 05:20:59 +00:00
Mark Andrews 8a0943e125 silence compiler warnings. [RT #20472] 2009-10-30 05:08:23 +00:00
Automatic Updater d90f6ac848 update 2009-10-29 01:34:02 +00:00
Automatic Updater 3b38c7df86 rfc5702.txt 2009-10-29 01:34:00 +00:00
Automatic Updater e98e7e6680 auto update 2009-10-28 23:18:53 +00:00
cvs2git f88b2a9d74 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-10-28 21:08:21 +00:00
Mark Andrews 4c53f98dbd RFC5702 2009-10-28 21:08:18 +00:00
Evan Hunt 3684692720 update def file 2009-10-28 18:39:47 +00:00
Automatic Updater b37b0818d8 regen 2009-10-28 18:21:26 +00:00
Evan Hunt 5b72cda36b update API and def files for 9.7.0b2 release 2009-10-28 18:13:24 +00:00
Evan Hunt da1f044e5d prep for 9.7.0b2 release 2009-10-28 18:06:30 +00:00
Evan Hunt 5cb44a38d9 back out change 2740 2009-10-28 18:04:29 +00:00
Evan Hunt be69d48443 2742. [cleanup] Clarify some DNSSEC-related log messages in
validator.c. [RT #19589]
2009-10-28 05:34:21 +00:00
Automatic Updater 2b06e9c63c update 2009-10-28 01:34:42 +00:00
Automatic Updater d0ce206c51 rfc1912.txt 2009-10-28 01:34:40 +00:00
Automatic Updater 575e15fed9 regen 2009-10-28 01:14:38 +00:00
cvs2git e683feead6 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-10-28 00:56:20 +00:00
Mark Andrews a050fc374c 1912: Common DNS Operational and Configuration Errors 2009-10-28 00:56:17 +00:00
Mark Andrews df4408b77a new draft 2009-10-28 00:46:15 +00:00
Mark Andrews c6d2578fd6 2741. [func] Allow the dnssec-keygen progress messages to be
suppressed (dnssec-keygen -q).  Automatically
                        suppress the progress messages when stdin is not
                        a tty. [RT #20474]
2009-10-28 00:27:10 +00:00
Automatic Updater 990dca4605 update copyright notice 2009-10-27 23:47:45 +00:00
Automatic Updater 4104e236f7 newcopyrights 2009-10-27 23:30:34 +00:00
Automatic Updater fb93a46d74 auto update 2009-10-27 23:18:42 +00:00
Mark Andrews e9d45c0a04 2740. [func] Identify bad answers from GTLD servers and treat them
as referrals. [RT #18884]
2009-10-27 23:05:53 +00:00
Mark Andrews ac6f82a841 2729. [func] When constructing a CNAME from a DNAME use the DNAME
TTL. [RT #20451]
2009-10-27 22:49:15 +00:00
Evan Hunt 95f2377b4f 2739. [cleanup] Clean up API for initializing and clearing trust
anchors for a view. [RT #20211]
2009-10-27 22:46:13 +00:00
Mark Andrews 9a97696b54 regen 2009-10-27 22:26:05 +00:00
Mark Andrews e09cdbac08 2738. [func] Add RSASHA256 and RSASHA512 tests to the dnssec system
test. [RT #20453]
2009-10-27 22:25:37 +00:00
Evan Hunt e3b59e4af7 Minor cleanup in dnssec-* tools 2009-10-27 18:56:49 +00:00
Evan Hunt 312a00fb75 add named-symtbl.c to .cvsignore 2009-10-27 06:06:46 +00:00
Evan Hunt 72cfcb48a7 cleanup ddns.key after nsupdate test 2009-10-27 05:57:06 +00:00
Evan Hunt 0ce9fba8f0 cleanup DLV test 2009-10-27 05:49:50 +00:00
Evan Hunt 42f7c09369 prep for 9.7.0b2 release 2009-10-27 05:49:31 +00:00
Mark Andrews 9e9e7112f9 2737. [func] UPDATE requests can leak existance information.
[RT #17261]
2009-10-27 05:42:25 +00:00
Mark Andrews 63d5a6f680 2736. [func] Improve the performance of NSEC signed zones with
more than a normal amount of glue below a delegation.
                        [RT #20191]
2009-10-27 04:46:58 +00:00
Evan Hunt e8831e51c1 2735. [bug] dnssec-signzone could fail to read keys
that were specified on the command line with
			full paths, but weren't in the current
			directory. [RT #20421]
2009-10-27 03:59:45 +00:00
Mark Andrews af30180834 2734. [port] cygwin: arpaname did not compile. [RT #20473] 2009-10-27 03:05:33 +00:00
Automatic Updater e4adb07cc1 regen 2009-10-27 01:14:46 +00:00
Automatic Updater 5f744ebbdc update copyright notice 2009-10-26 23:47:35 +00:00
Evan Hunt 6f9c93a885 2733. [cleanup] Clean up coding style in pkcs11-* tools. [RT #20355] 2009-10-26 23:36:53 +00:00
Evan Hunt c8aa7ce70d 2732. [func] Add optional filter-aaaa-on-v4 option, available
if built with './configure --enable-filter-aaaa'.
			Filters out AAAA answers to clients connecting
			via IPv4.  (This is NOT recommended for general
			use.) [RT #20339]
2009-10-26 23:14:54 +00:00
Evan Hunt c021499604 2731. [func] Additional work on change 2709. The key parser
will now ignore unrecognized fields when the
			minor version number of the private key format
			has been increased.  It will reject any key with
			the major version number increased. [RT #20310]
2009-10-26 21:18:24 +00:00
Automatic Updater 0da9fafc18 update copyright notice 2009-10-24 23:47:36 +00:00
Automatic Updater 7bc8c1465b newcopyrights 2009-10-24 23:30:31 +00:00
Francis Dupont 775a8d86d9 keygen progress indication [RT #20284] 2009-10-24 09:46:19 +00:00
Mark Andrews c07236a635 2729. [func] When constructing a CNAME from a DNAME use the DNAME
TTL. [RT #20451]
2009-10-24 04:38:19 +00:00
Evan Hunt 8f0502e922 2728. [bug] dnssec-keygen, dnssec-keyfromlabel and
dnssec-signzone now warn immediately if asked to
			write into a nonexistent directory. [RT #20278]
2009-10-24 00:00:06 +00:00
Automatic Updater 412b30659b auto update 2009-10-23 23:18:16 +00:00
Automatic Updater 8e821eea5f regen 2009-10-23 01:14:48 +00:00
Automatic Updater 510032fdf4 update copyright notice 2009-10-22 23:48:07 +00:00
Automatic Updater 2fe5f8303e auto update 2009-10-22 23:19:17 +00:00
Evan Hunt f10a8fa034 2727. [func] The 'key-directory' option can now specify a relative
path. [RT #20154]
2009-10-22 03:43:16 +00:00
Evan Hunt cc6cddfd94 2726. [func] Added support for SHA-2 DNSSEC algorithms,
RSASHA256 and RSASHA512. [RT #20023]
2009-10-22 02:21:31 +00:00
Evan Hunt 8d307467b7 Doc the "managed-keys.bind" and "managed-keys.bind.jnl" file. [rt20235] 2009-10-22 02:04:07 +00:00
Mark Andrews d2a8d00228 2724. [bug] Updates to a existing node in secure zone using NSEC
were failing. [RT #20448]
2009-10-22 01:55:55 +00:00
Automatic Updater 3cae549ddb update copyright notice 2009-10-21 23:48:05 +00:00
Automatic Updater 403448b003 update copyright notice 2009-10-21 23:46:33 +00:00
Automatic Updater 55aec75784 newcopyrights 2009-10-21 23:30:41 +00:00
Automatic Updater dedfd63144 newcopyrights 2009-10-21 23:30:23 +00:00
Mark Andrews ae5da6a185 new draft 2009-10-21 22:33:23 +00:00
Evan Hunt 5604faa129 2723. [bug] isc_base64_totext() didn't always mark regions of
memory as fully consumed after conversion.  [RT #20445]
2009-10-21 01:23:19 +00:00
Evan Hunt 8ec993c774 2723. [bug] isc_base32_totext(), isc_base32hex_totext(), and
isc_base64_totext(), didn't always mark regions of
			memory as fully consumed after conversion.  [RT #20445]
2009-10-21 01:22:29 +00:00
Automatic Updater b15df8f9bc update copyright notice 2009-10-20 23:47:32 +00:00
Automatic Updater e193c6c98e auto update 2009-10-20 23:18:22 +00:00
Evan Hunt ef311b4d86 fix typo 2009-10-20 14:43:13 +00:00
Evan Hunt eccf8cc404 fix typo 2009-10-20 14:42:57 +00:00
Mark Andrews 123f33f60e 2722. [bug] Ensure that the memory associated with the name of
a node in a rbt tree is not altered during the life
                        of the node. [RT #20431]
2009-10-20 05:06:29 +00:00
Mark Andrews 7704a47aec 2722. [bug] Ensure that the memory associated with the name of
a node in a rbt tree is not altered during the life
                        of the node. [RT #20431]
2009-10-20 04:57:57 +00:00
Mark Andrews 1f52e23ca8 2721. [port] Have dst__entropy_status() prime the random number
generator. [RT #20369]
2009-10-20 04:47:52 +00:00
Mark Andrews a01095a487 2721. [port] Have dst__entropy_status() prime the random number
generator. [RT #20369]
2009-10-20 04:39:48 +00:00
Evan Hunt bfbd69c43f 2720. [bug] RFC 5011 trust anchor updates could trigger an
assert if the DNSKEY record was unsigned. [RT #20406]
2009-10-20 04:13:38 +00:00
Mark Andrews 32ba8dd2f0 silence compiler warnings. [RT #20412] 2009-10-20 03:31:40 +00:00
Mark Andrews 859cfb24bf silence compiler warnings. [RT #20412] 2009-10-20 03:30:07 +00:00
Mark Andrews 06e7340198 2719. [func] Skip trusted/managed keys for unsupported algorithms.
[RT #20392]
2009-10-20 03:15:06 +00:00
Mark Andrews ceff44dae2 2718. [bug] The space calculations in opensslrsa_todns() were
incorrect. [RT #20394]
2009-10-20 03:06:32 +00:00
Mark Andrews 3c5e54941f 2718. [bug] The space calculations in opensslrsa_todns() were
incorrect. [RT #20394]
2009-10-20 02:59:19 +00:00
Mark Andrews 29dd4bdd14 2717. [bug] named failed to update the NSEC/NSEC3 record when
the last private type record was removed as a result
                        of completing the signing the zone with a key.
                        [RT #20399]
2009-10-20 02:45:06 +00:00
Mark Andrews ef2f226ac1 2716. [bug] nslookup debug mode didn't return the ttl. [RT #20414] 2009-10-20 01:16:46 +00:00
Mark Andrews 4b30598fb9 2716. [bug] nslookup debug mode didn't return the ttl. [RT #20414] 2009-10-20 01:04:03 +00:00
Mark Andrews 13174b302f new draft 2009-10-19 23:42:52 +00:00
Evan Hunt 2623503170 added some clarifications, per rt20407 2009-10-19 19:21:07 +00:00
Evan Hunt a17270b2a6 fix typo 2009-10-19 18:36:37 +00:00
Mark Andrews 84dd224e46 new draft 2009-10-19 04:56:27 +00:00
Mark Andrews f885074740 grammar, line length 2009-10-19 02:57:47 +00:00
Mark Andrews 9ac35b4e4d grammar, line length 2009-10-19 02:37:08 +00:00
Automatic Updater 02b69ec7f2 regen 2009-10-17 01:24:06 +00:00
Automatic Updater 5a24d24c8f regen 2009-10-17 01:14:35 +00:00
Automatic Updater 8ab6a775bb update copyright notice 2009-10-16 23:47:54 +00:00
Automatic Updater 799933b034 auto update 2009-10-16 23:18:39 +00:00
Jeremy Reed eec29cfd40 Fix typo as reported by SUN Guonian <sun@cnnic.cn>.
This was seen in 9.7.0a3.
No CHANGES entry as is too minor.
2009-10-16 15:37:01 +00:00
Mark Andrews 6dfde0c8cb regen 2009-10-16 04:29:29 +00:00
Mark Andrews eaf4d04fee 2715. [bug] Require OpenSSL support to be explicitly disabled.
[RT #20288]
2009-10-16 04:28:17 +00:00
Mark Andrews 67b97c83c1 2714. [port] aix/powerpc: 'asm("ics");' needs non standard assembler
flags.
2009-10-16 04:27:07 +00:00
Automatic Updater d060d8669f regen 2009-10-16 04:20:49 +00:00
Evan Hunt abe20c2cca bumping 9.7.0b1 release line 2009-10-16 04:19:48 +00:00
Mark Andrews 3e888c5b81 regen 2009-10-16 04:18:04 +00:00
Mark Andrews 45eea1bda6 2715. [bug] Require OpenSSL support to be explicitly disabled.
[RT #20288]
2009-10-16 04:16:17 +00:00
Mark Andrews 616560e3db 2713. [port] aix/powerpc: 'asm("ics");' needs non standard assembler
flags.
2009-10-16 04:10:06 +00:00
Evan Hunt 8f7de3db7e Respinning to fix memory leak in dnssec-signzone. (Also adopting doc changes.) 2009-10-16 02:59:41 +00:00
Automatic Updater 102ccdd2c0 regen 2009-10-15 01:15:23 +00:00
Automatic Updater f6cd5ef97a update copyright notice 2009-10-14 23:47:51 +00:00
Automatic Updater 60d4005664 update copyright notice 2009-10-14 23:46:42 +00:00
Automatic Updater 3493b4e0ef newcopyrights 2009-10-14 23:30:34 +00:00
Automatic Updater a83e2495af newcopyrights 2009-10-14 23:30:18 +00:00
Automatic Updater 0f81966242 auto update 2009-10-14 23:18:20 +00:00
Mark Andrews 1ed01b3390 silence compiler warning 2009-10-14 22:07:13 +00:00
Jeremy Reed da2c52acae Add a few missing docbook formatting tags.
No content changed. No CHANGES entry added.
2009-10-14 12:49:11 +00:00
Mark Andrews 900410be0d 2713. [bug] powerpc: atomic operations missing asm("ics") /
__isync() calls.
2009-10-14 04:04:48 +00:00
Mark Andrews cbee6197d1 2713. [bug] powerpc: atomic operations missing asm("ics") /
__isync() calls.
2009-10-14 03:54:23 +00:00
Automatic Updater ef9ee92543 update copyright notice 2009-10-13 23:48:12 +00:00
Mark Andrews 0d5dc31f9f regen 2009-10-13 03:42:27 +00:00
Mark Andrews a95d4c4083 support ESV version strings 2009-10-13 03:38:49 +00:00
Mark Andrews 9b8465aed1 support ESV version strings 2009-10-13 03:04:55 +00:00
Mark Andrews b043b56271 support ESV version strings 2009-10-13 03:03:05 +00:00
Evan Hunt 5c0fd37335 changes needed for win32 build 2009-10-13 02:39:38 +00:00
Evan Hunt 19ac4707ee changes needed for win32 build 2009-10-13 00:55:51 +00:00
Automatic Updater 97639003b0 update copyright notice 2009-10-12 23:48:02 +00:00
Automatic Updater c243d77973 newcopyrights 2009-10-12 23:30:34 +00:00
Automatic Updater 3b2c6af63e regen 2009-10-12 23:16:15 +00:00
Evan Hunt d2a3eaf162 prepare release of 9.7.0b1 2009-10-12 23:05:07 +00:00
Evan Hunt c00929ed9f additional doc improvement 2009-10-12 23:02:32 +00:00
Evan Hunt 69677f863f improve doc on update-ksk-check and dnskey-ksk-only 2009-10-12 22:54:54 +00:00
Evan Hunt 77b8f88f14 2712. [func] New 'auto-dnssec' zone option allows zone signing
to be fully automated in zones configured for
			dynamic DNS.  'auto-dnssec allow;' permits a zone
			to be signed by creating keys for it in the
			key-directory and using 'rndc sign <zone>'.
			'auto-dnssec maintain;' allows that too, plus it
			also keeps the zone's DNSSEC keys up to date
			according to their timing metadata. [RT #19943]
2009-10-12 20:48:12 +00:00
Evan Hunt 6a90baa0d5 2711. [port] win32: Add the bin/pkcs11 tools into the full
build. [RT #20372]
2009-10-12 16:41:13 +00:00
Mark Andrews 30bb4870da remove, not zero, extended flags 2009-10-12 09:03:06 +00:00
Mark Andrews 11804ca08f zero extended flags 2009-10-12 08:57:38 +00:00
Mark Andrews 515053881b remove extended flags before comparing if set 2009-10-12 06:05:29 +00:00
Mark Andrews af20baa960 silence compiler warning/enforce const [RT #20390] 2009-10-12 05:50:52 +00:00
Automatic Updater 8de0d8a690 regen 2009-10-11 01:14:49 +00:00
Automatic Updater 8667770ad2 update copyright notice 2009-10-10 23:47:58 +00:00
Evan Hunt 3727725bb7 2710. [func] New 'dnssec-signzone -x' flag and 'dnskey-ksk-only'
zone option cause a zone to be signed with only KSKs
			signing the DNSKEY RRset, not ZSKs.  This reduces
			the size of a DNSKEY answer.  [RT #20340]
2009-10-10 01:48:00 +00:00
Mark Andrews 0d9fb986c5 silence comiler warning 2009-10-10 01:13:39 +00:00
Automatic Updater 8a07de2f03 update copyright notice 2009-10-09 23:48:09 +00:00
Automatic Updater 3f802a977e newcopyrights 2009-10-09 23:30:39 +00:00
Automatic Updater c356aac151 auto update 2009-10-09 23:18:54 +00:00
Evan Hunt 315a1514a5 2709. [func] Added some data fields, currently unused, to the
private key file format, to allow implementation
			of explicit key rollover in a future release
			without impairing backward or forward compatibility.
			[RT #20310]
2009-10-09 06:09:21 +00:00
Automatic Updater b05106c7e6 regen 2009-10-09 01:14:47 +00:00
Mark Andrews d1bcaec0d6 2708. [func] Insecure to secure and NSEC3 parameter changes via
update are now fully supported and no longer require
                        defines to enable.  We now no longer overload the
                        NSEC3PARAM flag field, nor the NSEC OPT bit at the
                        apex.  Secure to insecure changes are controlled by
                        by the named.conf option 'secure-to-insecure'.

                        Warning: If you had previously enabled support by
                        adding defines at compile time to BIND 9.6 you should
                        ensure that all changes that are in progress have
                        completed prior to upgrading to BIND 9.7.  BIND 9.7
                        is not backwards compatible.
2009-10-09 00:33:39 +00:00
Mark Andrews bb4e0bd8e8 silence ininitialised 2009-10-08 23:58:14 +00:00
Mark Andrews 0838b3c02f Recompute check_ksk as it may have changed 2009-10-08 23:55:57 +00:00
Automatic Updater 15bbb8a129 update copyright notice 2009-10-08 23:48:10 +00:00
Automatic Updater 70f5a54bf2 newcopyrights 2009-10-08 23:30:37 +00:00
Mark Andrews 2847930722 2708. [func] Insecure to secure and NSEC3 parameter changes via
update are now fully supported and no longer require
                        defines to enable.  We now no longer overload the
                        NSEC3PARAM flag field, nor the NSEC OPT bit at the
                        apex.  Secure to insecure changes are controlled by
                        by the named.conf option 'secure-to-insecure'.

                        Warning: If you had previously enabled support by
                        adding defines at compile time to BIND 9.6 you should
                        ensure that all changes that are in progress have
                        completed prior to upgrading to BIND 9.7.  BIND 9.7
                        is not backwards compatible.
2009-10-08 23:13:07 +00:00
Mark Andrews 169b900303 new draft 2009-10-07 04:55:15 +00:00
Automatic Updater 2a6d4c9948 regen 2009-10-07 01:14:42 +00:00
Automatic Updater e8fc8c884b newcopyrights 2009-10-06 23:30:29 +00:00
Evan Hunt 22b23fb59d tbox wants an #include <isc/print.h>... 2009-10-06 23:22:51 +00:00
Automatic Updater 552cbf3900 auto update 2009-10-06 23:18:42 +00:00
Evan Hunt d1f39121a6 2707. [func] dnssec-keyfromlabel no longer require engine name
to be specified in the label if there is a default
			engine or the -E option has been used.  Also, it
			now uses default algorithms as dnssec-keygen does
			(i.e., RSASHA1, or NSEC3RSASHA1 if -3 is used).
			[RT #20371]
2009-10-06 22:58:45 +00:00
Evan Hunt ca60f7ba75 Add pkcs11 tools to standard windows BIND 9 build. 2009-10-06 22:14:13 +00:00
Evan Hunt cd3e5ca69a updated for 9.7.0b1 release 2009-10-06 21:44:18 +00:00
Evan Hunt 246c504f90 2706. [bug] Loading a zone with a very large NSEC3 salt could
trigger an assert. [RT #20368]
2009-10-06 21:20:45 +00:00
Evan Hunt f6e719d145 regen 2009-10-06 20:31:10 +00:00
Evan Hunt 95b41985f7 - build pkcs11 tools when compiling --with-pkcs11=yes
- add PKCS11_PROVIDER environment variable as a method for specifying
  the provider.
2009-10-06 20:27:55 +00:00
Automatic Updater e74245134d update copyright notice 2009-10-06 04:40:14 +00:00
Automatic Updater 7d12a6b412 newcopyrights 2009-10-06 04:36:32 +00:00
Mark Andrews 807ffe7aba bin/pkcs11/win32/setprovider 2009-10-06 04:16:38 +00:00
Mark Andrews 699487d802 bin/pkcs11/openssl-0.9.8k-patch 2009-10-06 04:14:58 +00:00
Automatic Updater dbfb734a8f regen 2009-10-06 01:45:25 +00:00
Automatic Updater 8ec3c08523 regen 2009-10-06 01:14:42 +00:00
Automatic Updater 464f9144fe update copyright notice 2009-10-05 23:48:27 +00:00
Automatic Updater 1e81af1c6a update copyright notice 2009-10-05 23:46:58 +00:00
Evan Hunt b10528a3a5 version -> 9.7.0b1 2009-10-05 22:48:07 +00:00
Tatuya JINMEI 神明達哉 fa78dfd247 removed duplicate copyright notice [RT #20356] 2009-10-05 22:39:09 +00:00
Evan Hunt a88f8c2dd1 update README for 9.7.0b1 release 2009-10-05 22:02:44 +00:00
Evan Hunt ea845a6b72 Rebase all of the API files to interface=60, as this is the first
beta of a new major release.
2009-10-05 22:01:26 +00:00
Evan Hunt 845b0ee4f6 2705. [bug] Reconcile the XML stats version number with a later
BIND9 release, by adding a "name" attribute to
                        "cache" elements and increasing the version number
                        to 2.2.  (This is a minor version change, but may
                        affect XML parsers if they assume the cache element
                        doesn't take an attribute.)

2704.	[bug]		Serial of dynamic and stub zones could be inconsistent
			with their SOA serial.  [RT #19387]
2009-10-05 21:57:42 +00:00
Evan Hunt ff71474ede add placeholder 2009-10-05 21:56:19 +00:00
Evan Hunt 3ff75c89eb 2704. [bug] Serial of dynamic and stub zones could be inconsistent
with their SOA serial.  [RT #19387]
2009-10-05 19:39:20 +00:00
Francis Dupont 3c52c4e44c 20230 update 2009-10-05 17:39:36 +00:00
Francis Dupont 8b78c993cb explicit engine rt20230a 2009-10-05 17:30:49 +00:00
Francis Dupont b56f3f5c66 PKCS#11 20225 & all 2009-10-05 13:39:45 +00:00
Francis Dupont e853728477 update OpenSSL PKCS#11 patch (rt19910) 2009-10-05 13:20:06 +00:00
Francis Dupont d220cab39d pkcs11 rt20229 2009-10-05 13:02:31 +00:00
Francis Dupont 247806c820 regen 2009-10-05 12:25:29 +00:00
Francis Dupont f89a9bcf1c pkcs11 rt20236 2009-10-05 12:23:11 +00:00
Francis Dupont b091b4bb80 regen 2009-10-05 12:13:15 +00:00
Francis Dupont a631b30b1d pkcs11 rt20225 2009-10-05 12:07:08 +00:00
Francis Dupont 78e0199a39 update OpenSSL PKCS#11 patch (19143) 2009-10-05 11:12:45 +00:00
Evan Hunt 48b6d2f585 2701. [doc] Correction to ARM: hmac-md5 is no longer the only
supported TSIG key algorithm. [RT #18046]
2009-10-05 01:49:59 +00:00
Automatic Updater 58b81e7151 auto update 2009-10-04 23:18:24 +00:00
Automatic Updater 3d4dd3c1d1 regen 2009-10-04 01:45:34 +00:00
Automatic Updater 04ecc85ca6 regen 2009-10-04 01:14:58 +00:00
Automatic Updater 4fa2649d57 update copyright notice 2009-10-03 23:48:10 +00:00
Evan Hunt 1a0eecfe69 2700. [doc] The match-mapped-addresses option is discouraged.
[RT #12252]
2009-10-03 23:35:28 +00:00
Evan Hunt 54611c86b5 2700. [doc] The match-mapped-addresses option is discouraged.
[RT #12252]
2009-10-03 23:34:19 +00:00
Evan Hunt c36ba263d6 2699. [bug] Missing lock in rbtdb.c. [RT #20037] 2009-10-03 22:39:27 +00:00
Evan Hunt 1210799345 Add /* NOTREACHED */ comments 2009-10-03 18:03:54 +00:00
Evan Hunt 4256ffffb9 add placeholder 2009-10-03 16:24:51 +00:00
Evan Hunt 98ca8fdfba regen 2009-10-03 16:22:45 +00:00
Evan Hunt e86128a10a 2698. [cleanup] configure --enable-libbind is deprecated. [RT #20090] 2009-10-03 16:22:08 +00:00
Automatic Updater 3d0d370eb9 auto update 2009-10-02 23:18:41 +00:00
Mark Andrews 339c130823 ISC_PLATFORM_NORETURN_POST not ISC_PLATFORM_NORETURN 2009-10-02 06:28:27 +00:00
Automatic Updater edb08fdf7b update copyright notice 2009-10-01 23:48:08 +00:00
Automatic Updater b09a4be0df update copyright notice 2009-10-01 23:46:45 +00:00
Automatic Updater 098097efb9 newcopyrights 2009-10-01 23:30:45 +00:00
Automatic Updater 4d8c24fa5f newcopyrights 2009-10-01 23:30:29 +00:00
Mark Andrews 2ca835ce4d 2697. [port] win32: ensure that S_IFMT, S_IFDIR, S_IFCHR and
S_IFREG are defined after including <isc/stat.h>.
                        [RT #20309]
2009-10-01 05:19:35 +00:00
Mark Andrews cf7432f747 2697. [port] win32: ensure that S_IFMT, S_IFDIR, S_IFCHR and
S_IFREG are defined after including <isc/stat.h>.
                        [RT #20309]
2009-10-01 04:43:30 +00:00
Mark Andrews b781575060 2696. [bug] named failed to successfully process some valid
acl constructs. [RT #20308]
2009-10-01 04:20:37 +00:00
Mark Andrews eb95d2e917 2696. [bug] named failed to successfully process some valid
acl constructs. [RT #20308]
2009-10-01 04:06:37 +00:00
Shawn Routhier bafa76b324 Updates to fdwatch code to support DHCP/DDNS code, ticket rt20253. 2009-10-01 01:30:01 +00:00
Mark Andrews 3a6023567d fix rt number 2009-09-30 02:46:46 +00:00
Mark Andrews 970849e012 fix CHANGE number 2009-09-30 02:22:30 +00:00
Mark Andrews 4977518a4c fix CHANGES 2009-09-30 02:17:50 +00:00
Automatic Updater 66fec05962 regen 2009-09-30 01:14:47 +00:00
Automatic Updater 61dd99bfae update copyright notice 2009-09-29 23:48:04 +00:00
Automatic Updater 407d5c84de update copyright notice 2009-09-29 23:46:40 +00:00
Automatic Updater 7f79131f9a newcopyrights 2009-09-29 23:30:36 +00:00
Automatic Updater d96a67ec13 newcopyrights 2009-09-29 23:30:16 +00:00
Automatic Updater f5212c68d0 auto update 2009-09-29 23:18:56 +00:00
Evan Hunt a93a66f618 2794. [bug] Reduce default NSEC3 iterations from 100 to 10.
[RT #19970]
2009-09-29 22:17:34 +00:00
Francis Dupont c300f45d7b 20257 configure 2009-09-29 15:08:12 +00:00
Francis Dupont debd489a44 noreturn RT #20257 2009-09-29 15:06:07 +00:00
Mark Andrews fb1221fe57 2792. [port] win32: 32/64 bit cleanups. [RT #128244] 2009-09-29 05:09:43 +00:00
Mark Andrews 1e733ffc11 2792. [port] win32: 32/64 bit cleanups. [RT #128244] 2009-09-29 04:38:23 +00:00
Automatic Updater 242ba12742 auto update 2009-09-28 23:18:51 +00:00
Automatic Updater a4720d523e auto update 2009-09-26 23:18:17 +00:00
Automatic Updater f3d1a0ba52 regen 2009-09-26 01:14:51 +00:00
Automatic Updater 627f3e0805 update copyright notice 2009-09-25 23:48:13 +00:00
Automatic Updater efcd66dd5f update copyright notice 2009-09-25 23:46:54 +00:00
Automatic Updater 98215f7120 newcopyrights 2009-09-25 23:30:33 +00:00
Automatic Updater 36bb030be1 newcopyrights 2009-09-25 23:30:16 +00:00
Automatic Updater 67cf787116 auto update 2009-09-25 23:18:21 +00:00
Evan Hunt 1e3c9961bb Move dns_rdataset_init() call earlier so "goto cleanup" won't trigger
an assert in dns_rdataset_isassociated().  (This is trivial, I'm going
to commit without review.)
2009-09-25 14:30:10 +00:00
Evan Hunt fb596cc9af 2691. [func] dnssec-signzone: retain the existing NSEC or NSEC3
chain when re-signing a previously-signed zone.
			Use -u to modify NSEC3 parameters or switch
			between NSEC and NSEC3. [RT #20304]
2009-09-25 06:47:50 +00:00
Mark Andrews a7bc7ec2f8 2690. [bug] win32: fix isc_thread_key_getspecific() prototype.
[RT #20315]
2009-09-25 05:51:09 +00:00
Mark Andrews ff850b81c8 2690. [bug] win32: fix isc_thread_key_getspecific() prototype.
[RT #20315]
2009-09-25 05:48:17 +00:00
Mark Andrews e57dd35a87 regen: use consistant versions of Autoconf 2009-09-25 04:46:05 +00:00
Mark Andrews ef830a7750 use (char *) for {get,set}sockopt argument 2009-09-25 02:44:06 +00:00
Mark Andrews fd44157655 silence signed/unsigned comparision warning 2009-09-25 01:48:10 +00:00
Mark Andrews 11144f86dc silence signed/unsigned comparision warning 2009-09-25 01:42:09 +00:00
Mark Andrews b4cc584425 new draft 2009-09-25 01:07:36 +00:00
Automatic Updater b4336342d1 update copyright notice 2009-09-24 23:48:13 +00:00
Automatic Updater b4086a1fde update copyright notice 2009-09-24 23:46:53 +00:00
Automatic Updater 78d7186253 newcopyrights 2009-09-24 23:30:34 +00:00
Automatic Updater 04d8af93b1 newcopyrights 2009-09-24 23:30:20 +00:00
Automatic Updater 9e6a0b09c0 auto update 2009-09-24 23:18:21 +00:00
Mark Andrews 0b6c1173a7 2689. [bug] Correctly handle snprintf result. [RT #20306] 2009-09-24 22:22:22 +00:00
Mark Andrews 0f869e8d52 2689. [bug] Correctly handle snprintf result. [RT #20306] 2009-09-24 22:19:08 +00:00
Francis Dupont c59a7b0629 missing updates in recent changes 2009-09-24 14:39:17 +00:00
Francis Dupont 78092514b3 trivial typo 2009-09-24 13:03:39 +00:00
Mark Andrews 7c7eca0de8 2688. [bug] Use INTERFACE_F_POINTTOPOINT, not IFF_POINTOPOINT,
to decide to fetch the destination address. [RT #20305]
2009-09-24 06:42:00 +00:00
Mark Andrews 69338455d9 2688. [bug] Use INTERFACE_F_POINTTOPOINT, not IFF_POINTOPOINT,
to decide to fetch the destination address. [RT #20305]
2009-09-24 06:37:50 +00:00
Evan Hunt 63a1800105 Fix several problems introduced by rt19943 2009-09-24 04:36:28 +00:00
Mark Andrews 8292deab03 OLD-PKCS11-NOTES 2009-09-24 03:04:33 +00:00
Automatic Updater d48690af7a update copyright notice 2009-09-23 23:47:56 +00:00
Automatic Updater 45d9fd6069 update copyright notice 2009-09-23 23:46:44 +00:00
Automatic Updater f7941a19b7 newcopyrights 2009-09-23 23:30:23 +00:00
Automatic Updater 4344643693 auto update 2009-09-23 23:18:35 +00:00
Mark Andrews 3a2a2463f2 new draft 2009-09-23 22:15:24 +00:00
Mark Andrews 91c6a86724 spelling 2009-09-23 21:27:39 +00:00
Mark Andrews b3c8f1e9e8 number 2009-09-23 20:36:58 +00:00
Evan Hunt 53c22b8e0d 2685. [bug] Fixed dnssec-signzone -S handling of revoked keys.
Also, added warnings when revoking a ZSK, as this is
			not defined by protocol (but is legal).  [RT #19943]
2009-09-23 16:01:57 +00:00
Mark Andrews 4d0e2cf9b9 2684. [bug] dnssec-signzone should clean the old NSEC chain when
signing with NSEC3 and vica versa. [RT #20301]
2009-09-23 14:05:11 +00:00
Francis Dupont 484076c325 move to zkt 0,99c (RT #20054) 2009-09-23 13:27:59 +00:00
Francis Dupont 6839f8b6df cleanup USE_EVP_RSA (RT #20044) 2009-09-23 11:16:50 +00:00
Francis Dupont 40d3bb52b6 adjust for RT #20067 2009-09-23 11:09:38 +00:00
Francis Dupont 265daffadb adjust 2680 (RT #20067) 2009-09-23 10:56:33 +00:00
Francis Dupont e25451b66c pkcs11 tools were moved (20067) 2009-09-23 10:54:46 +00:00
Francis Dupont 2946e44c86 pkcs11 tools were moved (20067) 2009-09-23 10:52:18 +00:00
Francis Dupont 3d3b7e5a5b pkcs11 tools were moved (20067) 2009-09-23 10:43:53 +00:00
Evan Hunt 8436cc14ba 2684. [cleanup] dig: formalize +ad and +cd as synonyms for
+adflag and +cdflag.  [RT #19305]
2009-09-23 06:21:36 +00:00
Mark Andrews 011d0b7dc8 2683. [bug] dnssec-signzone should clean out old NSEC3 chains when
the NSEC3 parameters used to sign the zone change.
                        [RT #20246]
2009-09-23 04:30:16 +00:00
Evan Hunt 2b2539f3c5 fix typo in net.c -- s/closeocket/closesocket/ 2009-09-23 00:46:47 +00:00
Francis Dupont 2f4d747a26 "configure --enable-symtable=all" failed to build. [RT #20282] 2009-09-22 08:47:55 +00:00
Francis Dupont adb6972f01 minor fix, cf 20295 2009-09-22 08:38:14 +00:00
cvs2git dcf943b372 This commit was manufactured by cvs2git to create branch 'v9_5_2_patch'. 2009-09-21 01:51:12 +00:00
Mark Andrews 144cb36893 9.5.2 2009-09-21 01:51:10 +00:00
Automatic Updater 54f0466614 auto update 2009-09-20 23:18:28 +00:00
Automatic Updater d081840d42 auto update 2009-09-19 23:18:26 +00:00
Tatuya JINMEI 神明達哉 c9424f08b0 fixed the position of the period. 2009-09-19 21:47:13 +00:00
Tatuya JINMEI 神明達哉 bd6bd562ea fixed the position of the period. 2009-09-19 21:46:34 +00:00
Automatic Updater d2ebd5d5fb regen 2009-09-19 01:14:52 +00:00
Automatic Updater fa5748c1ab auto update 2009-09-18 23:18:31 +00:00
Francis Dupont b67b58ebe7 small improvement (rt20291) 2009-09-18 22:08:55 +00:00
Tatuya JINMEI 神明達哉 e5bce1dd89 2681. [bug] IPSECKEY RR of gateway type 3 was not correctly
decoded [RT #20269].

BIND 9.7.0, 9.6.2, 9.5.2, 9.4.4
2009-09-18 21:56:25 +00:00
Tatuya JINMEI 神明達哉 790e471f6e 2681. [bug] IPSECKEY RR of gateway type 3 was not correctly
decoded [RT #20269].

BIND 9.7.0, 9.6.2, 9.5.2, 9.4.4
2009-09-18 21:55:21 +00:00
Francis Dupont b0dafbb309 spelling 2009-09-18 13:14:47 +00:00
Francis Dupont 1def913211 config.h issue is fixed: cleanup 2009-09-18 11:07:04 +00:00
Tatuya JINMEI 神明達哉 148e9f3feb removed a non-existent .h. gmake (which is assumed to be used to build
the exportlib) ignores it so it doesn't cause a trouble in practice, but
should still better be fixed.

(found by Shawn, I confirmed it.)
2009-09-18 07:18:04 +00:00
Evan Hunt 0e32dda176 add include <config.h>, and update comments to use the new names 2009-09-17 23:46:34 +00:00
Mark Andrews 3351ccbd5c update 2009-09-17 23:45:08 +00:00
Francis Dupont 6b87f60431 Move some contrib/pkcs11-keygen to bin/pkcs11 RT #20067 2009-09-17 23:34:39 +00:00
Automatic Updater 56e7dc0c24 newcopyrights 2009-09-17 23:30:25 +00:00
Francis Dupont be728633c1 init .cvsignore 2009-09-17 22:55:59 +00:00
Francis Dupont 8b5a11217c from contrib/pkcs11-keygen 2009-09-17 22:51:59 +00:00
Mark Andrews cef43239cb 2678. [func] Treat DS queries as if "minimal-response yes;"
was set. [RT #20258]

2427.   [func]          Treat DNSKEY queries as if "minimal-response yes;"
                        was set. [RT #18528]
2009-09-16 22:28:52 +00:00
Automatic Updater 4765fc7c3f update copyright notice 2009-09-15 23:48:09 +00:00
Automatic Updater 1a06700908 newcopyrights 2009-09-15 23:30:30 +00:00
Automatic Updater 4479e4cea3 auto update 2009-09-15 23:19:01 +00:00
Tatuya JINMEI 神明達哉 edabc8134d regen 2009-09-15 23:18:00 +00:00
Tatuya JINMEI 神明達哉 866a531c59 typo in a warning message (found in rt #20280) 2009-09-15 23:17:22 +00:00
Evan Hunt 0e4fda8862 typo fix 2009-09-15 19:30:28 +00:00
Tatuya JINMEI 神明達哉 32c7a00e26 s/--with-export-installdir/--with-export-includedir/ 2009-09-15 19:12:03 +00:00
Evan Hunt d514c0dc9b 2679. [func] dig -k can now accept TSIG keys in named.conf
format.  [RT #20031]
2009-09-15 03:13:44 +00:00
Automatic Updater f8e3e03cac regen 2009-09-15 01:14:42 +00:00
Automatic Updater 5e38811a8f auto update 2009-09-14 23:18:43 +00:00
Mark Andrews a12c8549d6 2678. [func] Treat DS queries as if "minimal-response yes;"
was set. [RT #20258]
2009-09-14 23:13:37 +00:00
Evan Hunt b843f577bb 2677. [func] Changes to key metadata behavior:
- Keys without "publish" or "active" dates set will
			  no longer be used for smart signing.  However,
			  those dates will be set to "now" by default when
			  a key is created; to generate a key but not use
			  it yet, use dnssec-keygen -G.
			- New "inactive" date (dnssec-keygen/settime -I)
			  sets the time when a key is no longer used for
			  signing but is still published.
			- The "unpublished" date (-U) is deprecated in
			  favor of "deleted" (-D).
			[rt20247]
2009-09-14 18:45:45 +00:00
Tatuya JINMEI 神明達哉 d00827dabc regen 2009-09-14 18:31:47 +00:00
Tatuya JINMEI 神明達哉 2fa5af7b73 2676. [bug] --with-export-installdir should have been
--with-export-includedir. [RT #20252]
2009-09-14 18:31:15 +00:00
Automatic Updater f819b54e38 auto update 2009-09-11 23:18:12 +00:00
Automatic Updater 6d7e30b030 update copyright notice 2009-09-10 23:48:00 +00:00
Evan Hunt f267b27f0e 2675. [bug] dnssec-signzone could crash if the key directory
did not exist. [RT #20232]
2009-09-10 05:09:31 +00:00
Evan Hunt 0e7cb68ea0 fix implicit memset() declaration 2009-09-10 02:18:40 +00:00
Evan Hunt be63f34b6a wrong change numbers. 2009-09-10 02:16:26 +00:00
Evan Hunt a457576b58 "dnssec-lookaside auto" crashed if named was built without openssl [rt20231] 2009-09-10 01:49:29 +00:00
Evan Hunt dbabab1f37 rt20045:
- sync_keyzone() could leak ISC_R_NOMORE, causing zone_postload() to think
  it had failed
- journal roll-forward on key zones complained about having the wrong
  number of SOA records
- dns_soa_buildrdata() could return a pointer to memory allocated on the
  stack
2009-09-10 01:47:09 +00:00
Evan Hunt c211111e64 more cleanup 2009-09-10 01:43:09 +00:00
Automatic Updater 31f1c9a241 regen 2009-09-09 23:30:30 +00:00
Evan Hunt 6145e3c8fa Update comment, since the key won't expire in 9/2009 after all. 2009-09-09 15:47:51 +00:00
Evan Hunt 8036473e6c Update comment, since the key isn't actually going to expire in 9/2009
after all.
2009-09-09 15:44:33 +00:00
Evan Hunt 4c9c08e4a1 more solaris/sca6000 simplification 2009-09-09 07:15:24 +00:00
Evan Hunt 08927bbead Simplify solaris build instructions, it had some unnecessary compile
options
2009-09-09 06:42:15 +00:00
Mark Andrews 05398561e0 make more portable 2009-09-09 04:48:01 +00:00
Mark Andrews 7c87a8bf7b remove util if empty, for pre 9.7 2009-09-09 04:27:40 +00:00
Automatic Updater 68d3ffa39f 9.5.2rc1 2009-09-09 00:44:19 +00:00
Automatic Updater d8b801bd19 update copyright notice 2009-09-08 23:41:50 +00:00
Mark Andrews 76d2dc1150 9.5.2rc1 2009-09-08 23:35:59 +00:00
Automatic Updater 9f0225ba7e newcopyrights 2009-09-08 23:30:35 +00:00
Mark Andrews 625d1345a4 9.5.2rc1 2009-09-08 23:30:07 +00:00
Mark Andrews e1379b42f8 2672. [bug] Don't enable searching in 'host' when doing reverse
lookups. [RT #20218]
2009-09-08 23:28:40 +00:00
Mark Andrews 14cd8ac04c 2672. [bug] Don't enable searching in 'host' when doing reverse
lookups. [RT #20218]
2009-09-08 23:23:22 +00:00
Evan Hunt 523598fafa - update README for a3 release
- update README.rfc5011 to remove info now in the ARM, and to add
  smart-signing info
2009-09-08 16:33:01 +00:00
Evan Hunt 2636aac047 - s/OpenSolaris/Solaris/
- s/Windows 2003/Windows Server 2003/
- use the term "PKCS #11 provider"
2009-09-08 15:32:11 +00:00
Francis Dupont e7de5dcef6 typo, cf RT20219 2009-09-08 13:04:29 +00:00
Francis Dupont fc47f5d6f1 typo 2009-09-08 12:52:23 +00:00
Mark Andrews d247c0d92a new draft 2009-09-08 07:20:39 +00:00
Evan Hunt 5e4d54bc79 grammar fix 2009-09-08 07:07:13 +00:00
Evan Hunt d7c15f7c37 - new README.pkcs11
- old README.pkcs11 moved to contrib/pkcs11-keygen/PKCS11-NOTES
2009-09-08 06:54:00 +00:00
Evan Hunt d7e3784c77 Now that include files are in place in the opencryptoki subdirectory,
remove "#ifndef OPENCRYPTOKI" conditionals
2009-09-08 06:00:11 +00:00
Evan Hunt 8a86c12ec2 Instead of removing all of util from the release kit, retain
util/mksymtbl.pl.
2009-09-08 03:39:30 +00:00
Automatic Updater c7d32c0b0f regen 2009-09-08 01:14:42 +00:00
Automatic Updater 822e877c4c newcopyrights 2009-09-07 23:30:31 +00:00
Francis Dupont 210970a248 two votes for keys -> key pair 2009-09-07 23:11:48 +00:00
Francis Dupont bf1fb08416 PKCS#11 includes from OpenCryptoki project 2009-09-07 21:19:21 +00:00
Evan Hunt 6cdb18f5d4 bump release tag 2009-09-07 15:56:01 +00:00
Francis Dupont 1f821c1058 merge rt19294 2009-09-07 12:58:33 +00:00
Mark Andrews 4db96e8b27 2670. [bug] Unexpected connect failures failed to log enough
information to be useful. [RT #20205]
2009-09-07 02:14:40 +00:00
Mark Andrews 0b8385f5c5 2670. [bug] Unexpected connect failures failed to log enough
information to be useful. [RT #20205]
2009-09-07 02:08:51 +00:00
Evan Hunt 09386e47d1 moved release tag up 2009-09-06 17:47:15 +00:00
Automatic Updater 121bd24f4b newcopyrights 2009-09-04 23:30:34 +00:00
Automatic Updater acb6750f8f auto update 2009-09-04 23:18:05 +00:00
Tatuya JINMEI 神明達哉 457144a0c6 explained the portability workaround macro for isc__ vs isc___ 2009-09-04 18:51:37 +00:00
Tatuya JINMEI 神明達哉 2eb6a502bc added a missing .c file to SRC 2009-09-04 18:13:44 +00:00
Evan Hunt 82629edf81 jinmei's updated mem.h, which uses macros to generate function prototypes.
this change was needed to support the bind9 build and export library build
on both *nix and win32.  cleanup from change 2660/rt19369.
2009-09-04 17:47:26 +00:00
Evan Hunt 30a60d2aff On some slower systems the startup is delayed and this causes an
apparent transfer failure on the initial calls to dig.  Adding a test
here to make sure the zones are fully loaded before attempting to query
them.
2009-09-04 17:14:58 +00:00
Evan Hunt 8d0a1ede2f RT #20213:
- correctly use -K option in dnssec-keygen
- fix an improper free() in dnssec-revoke
- fix grammar in dnssec-settime
2009-09-04 16:57:22 +00:00
Mark Andrews 8b5f99861f use HAVE_GETPASS 2009-09-04 03:58:57 +00:00
Mark Andrews 06eb464ae2 ALG_FORMATSIZE -> 20 2009-09-04 02:31:29 +00:00
Mark Andrews 762682e990 make getpass dependent on HAVE_GETPASS 2009-09-04 02:09:33 +00:00
Mark Andrews 2d13af354a isc_resourcevalue_t is unsigned. use %ISC_PRINT_QUADFORMATu 2009-09-04 00:49:50 +00:00
Mark Andrews 730e25bf11 'test' uses '=' not '==' 2009-09-04 00:46:09 +00:00
Automatic Updater 7b1894bec1 update copyright notice 2009-09-03 23:48:13 +00:00
Automatic Updater 78cb74fab4 newcopyrights 2009-09-03 23:30:32 +00:00
Tatuya JINMEI 神明達哉 af55bddf26 cleanup: fixed incorrect ifdef [RT #20210] 2009-09-03 21:55:13 +00:00
Tatuya JINMEI 神明達哉 0984eeca5b added workaround for a recent change thatview->secroots is not created
with view. [RT #20209]
2009-09-03 21:45:46 +00:00
Evan Hunt 2e46523695 update cvsignore files 2009-09-03 20:28:46 +00:00
Francis Dupont 760a6c5ac1 remove extra ./Makefile 2009-09-03 13:51:46 +00:00
Francis Dupont 9916d13704 oldkey must be initialized to NULL 2009-09-03 13:43:52 +00:00
Mark Andrews f4b1fec888 remove md4.c from patch 2009-09-03 04:33:13 +00:00
Mark Andrews bbc204a237 2669. [func] Update PKCS#11 support to support Keyper HSM.
Update PKCS#11 patch to be against openssl-0.9.8i.
2009-09-03 04:09:58 +00:00
Automatic Updater 3e1938b728 commit pdf for 9.7.0a3 2009-09-03 01:25:54 +00:00
Automatic Updater 2895f101b5 regen 2009-09-03 01:14:42 +00:00
Evan Hunt 9f8d002a66 silence win32 compiler warnings 2009-09-03 00:12:23 +00:00
Evan Hunt c164f233b4 s/isc__mem_reallocate/isc___mem_reallocate/ 2009-09-02 23:51:55 +00:00
Automatic Updater d7201de09b update copyright notice 2009-09-02 23:48:03 +00:00
Automatic Updater fe6e6e93be update copyright notice 2009-09-02 23:46:40 +00:00
Evan Hunt e7c38ca963 - define isc_mem_reallocate() in the abstract API for export lib [rt20208]
- define BIND9 in config.h.win32
- fix problems in mem.h caused by the win32 preprocessor failing to
  expand macros used within macros
- silence a win32 compiler warning in hip_55.c
2009-09-02 23:43:54 +00:00
Automatic Updater 9cd5eb6fe0 newcopyrights 2009-09-02 23:30:44 +00:00
Automatic Updater bb8c25fbf1 newcopyrights 2009-09-02 23:30:19 +00:00
Jeremy Reed a4666db97c Minor two word change about managed-keys (fixes typo too).
As discussed in RT #19874.
2009-09-02 21:24:24 +00:00
Evan Hunt fff4ec3629 add /D BIND9 for win32 build 2009-09-02 19:36:36 +00:00
Evan Hunt 41e251fad0 add backtrace.c, backtrace.h, backtrace-emptytbl.c, backtrace-emptytbl.h
to win32 build
2009-09-02 19:01:49 +00:00
Tatuya JINMEI 神明達哉 9dbca282e4 corrected trivial comment errors (reviewed by Evan in jabber) 2009-09-02 18:38:40 +00:00
Evan Hunt f0eecd4d62 changes needed for win32 build 2009-09-02 18:32:25 +00:00
Evan Hunt 0c1326fa62 add /D "BIND9" for win32 builds
(we'll probably need a different project file for creating an exportable DLL)
2009-09-02 18:00:51 +00:00
Evan Hunt e30d8c5a47 missing include needed for win32 build 2009-09-02 17:58:06 +00:00
Evan Hunt a21cde0291 update win32 libisc.def 2009-09-02 17:23:45 +00:00
Evan Hunt 63b17e175f retroactively added a note to change 2630 that "ddns-autoconf" has been removed. 2009-09-02 16:39:20 +00:00
Evan Hunt 3a6b6f5b11 remove references to the "ddns-autoconf" option, which no longer exists 2009-09-02 16:10:03 +00:00
Francis Dupont ae6bd1ae93 trivial fix: second Step 2 -> 3 2009-09-02 08:41:06 +00:00
Evan Hunt d699672160 Initial prep for 9.7.0a3 release. 2009-09-02 06:41:31 +00:00
Evan Hunt eab9975bcf 2668. [func] Several improvements to dnssec-* tools, including:
- dnssec-keygen and dnssec-settime can now set key
			  metadata fields 0 (to unset a value, use "none")
			- dnssec-revoke sets the revocation date in
			  addition to the revoke bit
			- dnssec-settime can now print individual metadata
			  fields instead of always printing all of them,
			  and can print them in unix epoch time format for
			  use by scripts
			[RT #19942]
2009-09-02 06:29:01 +00:00
Mark Andrews be3d498c6e close off command 2009-09-02 04:45:41 +00:00
Tatuya JINMEI 神明達哉 8fec8134ea suppress compiler warnings [RT #20203] 2009-09-02 04:25:19 +00:00
Mark Andrews 7fc3b88c3a update 2009-09-02 03:56:54 +00:00
Mark Andrews ea854b5850 README.libdns 2009-09-02 03:54:09 +00:00
Mark Andrews c7574cf6f6 2663. [func] win32: allow named to run as a service using
"NT AUTHORITY\LocalService" as the account. [RT #19977]
2009-09-02 00:30:44 +00:00
Mark Andrews f55006eb18 2656. [func] win32: add a "tools only" check box to the installer
which causes it to only install dig, host, nslookup,
                        nsupdate and relevent dlls.  [RT #19998]
2009-09-02 00:29:56 +00:00
Automatic Updater 823ca3c14f update copyright notice 2009-09-01 23:47:45 +00:00
Automatic Updater 54123c5a3f update copyright notice 2009-09-01 23:46:36 +00:00
Automatic Updater 117c3d6de5 newcopyrights 2009-09-01 23:30:20 +00:00
Tatuya JINMEI 神明達哉 ae16941d9f cleanup: removed a redundant semi-colon 2009-09-01 23:05:33 +00:00
Tatuya JINMEI 神明達哉 d364948549 treat FD_SIZE as int (which can be defined as unsigned on some platforms)
to silence compiler
2009-09-01 22:52:27 +00:00
Tatuya JINMEI 神明達哉 ee537376ad avoid using @< (which some make don't seem to understand) for portability 2009-09-01 22:30:28 +00:00
Evan Hunt 93ebf0fc08 - add .cvsignore files
- silence tinderbox warnings about missing config.h in a few files.
2009-09-01 20:13:44 +00:00
Tatuya JINMEI 神明達哉 f909fbf73c missing new file 2009-09-01 18:50:52 +00:00
Tatuya JINMEI 神明達哉 7daca48bf2 regen 2009-09-01 18:41:05 +00:00
Tatuya JINMEI 神明達哉 a27fe4c990 2667. [func] Add support for logging stack backtrace on assertion
failure (not available for all platforms). [RT #19780]
9.7.0
2009-09-01 18:40:25 +00:00
Tatuya JINMEI 神明達哉 11254f9c5a regen 2009-09-01 17:55:07 +00:00
Tatuya JINMEI 神明達哉 588f79e557 fixed build error on hpux due to gai_strerror() prototype mismatch
[RT #20194]
2009-09-01 17:54:16 +00:00
Tatuya JINMEI 神明達哉 44de0b1f7d 2666. [func] Added an 'options' argument to dns_name_fromstring()
(API change from 9.7.0a2). [RT #20196]
2009-09-01 17:36:51 +00:00
Tatuya JINMEI 神明達哉 965b6e2a1b fixed trivial errors about the type of function return values 2009-09-01 08:12:33 +00:00
Evan Hunt 61dc9951fb back out changes 2661 & 2662 until post 9.5.2 2009-09-01 07:17:46 +00:00
Evan Hunt 85be60e3c8 2665. [func] Clarify syntax for managed-keys {} statement, add
ARM documentation about RFC 5011 support. [RT #19874]
2009-09-01 07:14:26 +00:00
Evan Hunt b1f3364f52 2664. [bug] create_keydata() and minimal_update() in zone.c
didn't properly check return values for some
			functions.  [RT #19956]
2009-09-01 07:04:12 +00:00
Mark Andrews 479b80d4d7 2663. [func] win32: allow named to run as a service using
"NT AUTHORITY\LocalService" as the account. [RT #19977]
2009-09-01 06:51:47 +00:00
Evan Hunt 9647f67a0a 2662. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]

2661.	[bug]		Check whether socket fd exceeds FD_SETSIZE when
			creating lwres context. [RT #20029]
2009-09-01 06:49:29 +00:00
Evan Hunt ef22fffeeb 2662. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]

2661.	[bug]		Check whether socket fd exceeds FD_SETSIZE when
			creating lwres context. [RT #20029]
2009-09-01 05:50:18 +00:00
Tatuya JINMEI 神明達哉 9eae5f2a7a added include <config.h> 2009-09-01 03:43:27 +00:00
Tatuya JINMEI 神明達哉 93d2c48b0b make the _H definition consistent with the file name. 2009-09-01 03:32:33 +00:00
Tatuya JINMEI 神明達哉 1eb6d0f372 make the _H definition consistent with the file name. 2009-09-01 03:31:33 +00:00
Mark Andrews e2a61b7bb2 add #include <isc/print.h> 2009-09-01 02:54:26 +00:00
Mark Andrews 713b816c6f regen 2009-09-01 01:59:57 +00:00
Tatuya JINMEI 神明達哉 307d208450 2660. [func] Add a new set of DNS libraries for non-BIND9
applications.  See README.libdns. [RT #19369]
2009-09-01 00:22:28 +00:00
Automatic Updater ad671240d6 regen 2009-08-29 01:14:37 +00:00
Automatic Updater 5ac9ef9448 update copyright notice 2009-08-28 23:48:02 +00:00
Evan Hunt 41eeb37b51 2659. [doc] Clarify dnssec-keygen doc: key name must match zone
name for DNSSEC keys. [RT #19938]
2009-08-28 21:47:02 +00:00
Evan Hunt 747abb4993 2658. [bug] dnssec-settime and dnssec-revoke didn't process
key file paths correctly. [RT #20078]
2009-08-28 03:13:08 +00:00
Automatic Updater 85eb2c7635 auto update 2009-08-27 23:18:22 +00:00
Automatic Updater 163af735c2 regen 2009-08-27 01:14:39 +00:00
Jeremy Reed 35490da615 Update date for manpage.
Add -l to synopsis sections. (It is already documented.)
Mention the RFC number for DLV.
Not adding a CHANGES entry. No official release since this was added.
The previous CHANGES entries for this are 2611 and 2636.
2009-08-26 21:56:05 +00:00
Jeremy Reed de10c46b2a Add -l to synopsis. For RT BUG 20147.
Not adding a CHANGES entry as is so minor and the -l addition is
in 2630 which is not in any official release.
Also update the date for the manual page.
2009-08-26 21:34:44 +00:00
Automatic Updater 056bbcd41d regen 2009-08-26 01:44:42 +00:00
Automatic Updater f8da2eefea regen 2009-08-26 01:14:39 +00:00
Automatic Updater da035d9f44 update copyright notice 2009-08-25 23:47:51 +00:00
Automatic Updater 3a9593055e newcopyrights 2009-08-25 23:30:31 +00:00
Mark Andrews 11b4f17027 2657. [cleanup] Lower "journal file <path> does not exist, creating it"
log level to debug 1. [RT #20058]
2009-08-25 07:41:28 +00:00
Mark Andrews 7179c3476f 2656. [func] win32: add a "tools only" check box to the installer
which causes it to only install dig, host, nslookup,
                        nsupdate and relevent dlls.  [RT #19998]
2009-08-25 06:47:32 +00:00
Mark Andrews 2bee3c2e70 CHANGES 2009-08-25 06:47:06 +00:00
Mark Andrews 96b1813e98 2655. [doc] Document that key-directory does not affect
rndc.key.  [RT #20155]
2009-08-25 04:41:23 +00:00
Mark Andrews a0ba5a502e 2655. [doc] Document that key-directory does not affect
bind.keys, rndc.key or session.key.  [RT #20155]
2009-08-25 02:56:03 +00:00
Mark Andrews 18114698b4 2654. [bug] Improve error reporting on duplicated names for
deny-answer-xxx. [RT #20164]
2009-08-25 02:42:46 +00:00
Francis Dupont 995f3bc4c4 indent 2009-08-23 11:44:44 +00:00
Automatic Updater 7bae9e718e auto update 2009-08-20 23:20:50 +00:00
Automatic Updater 39bf89d91c regen 2009-08-20 01:43:31 +00:00
Automatic Updater 80c2098825 regen 2009-08-20 01:13:34 +00:00
Mark Andrews 34ef21525e add comments to multi view tsig example 2009-08-19 23:38:11 +00:00
Automatic Updater 7f7412f12c auto update 2009-08-18 23:18:25 +00:00
Mark Andrews 97a2451eea 2653. [bug] Treat ENGINE_load_private_key() failures as key
not found rather than out of memory.  [RT #18033]
2009-08-18 07:45:14 +00:00
Mark Andrews 88471538d6 2652. [func] Provide more detail about what record is being
deleted. [RT #20061]
2009-08-17 07:18:41 +00:00
Automatic Updater 800fb35bf0 update copyright notice 2009-08-15 23:48:06 +00:00
Automatic Updater bde521789e newcopyrights 2009-08-15 23:30:34 +00:00
Evan Hunt 181b990c21 Back out change #2652 2009-08-15 05:03:14 +00:00
Evan Hunt 38cd84d1b3 2652. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]
2009-08-15 03:11:57 +00:00
Automatic Updater 3fe0b63ff1 auto update 2009-08-14 23:18:42 +00:00
Automatic Updater f92d5bc205 newcopyrights 2009-08-14 07:55:21 +00:00
Mark Andrews ece6c39dd8 missing semicolon 2009-08-14 07:51:08 +00:00
Mark Andrews 8801bef4ea missing semicolon 2009-08-14 07:48:45 +00:00
Evan Hunt ddc225b15d 2651. [bug] Dates could print incorrectly in K*.key files on
64-bit systems. [RT #20076]
2009-08-14 06:28:40 +00:00
Mark Andrews 3d2ce18535 remove false positive for out of date documentation 2009-08-14 06:17:20 +00:00
Automatic Updater 8df03195cf 9.5.2b1 2009-08-14 05:57:36 +00:00
Evan Hunt 813b34ebec 2650. [bug] Assertion failure in dnssec-signzone when trying
to read keyset-* files. [RT #20075]
2009-08-14 01:07:00 +00:00
Mark Andrews eb3aaebeb3 9.5.2 2009-08-13 08:17:02 +00:00
Automatic Updater 386e69d256 newcopyrights 2009-08-13 08:09:40 +00:00
Mark Andrews 696bfc84a0 9.5.2b1 2009-08-13 08:07:58 +00:00
Automatic Updater 1f5dc0fc22 update copyright notice 2009-08-13 07:14:05 +00:00
Automatic Updater 4ea93e7cfa update copyright notice 2009-08-13 07:12:58 +00:00
Automatic Updater f97e3595af newcopyrights 2009-08-13 07:10:05 +00:00
Mark Andrews de3200acf4 silence format warnings: treat uid/gid as longs when printing 2009-08-13 07:04:38 +00:00
Mark Andrews 1348806439 9.5.2b1 2009-08-13 06:47:46 +00:00
Mark Andrews c199662ea2 2649. [bug] Set the domain for forward only zones. [RT #19944] 2009-08-13 04:54:21 +00:00
Mark Andrews bcd0cbfdae 2649. [bug] Set the domain for forward only zones. [RT #19944] 2009-08-13 04:33:51 +00:00
Mark Andrews 50eab6c2aa silence compiler warnings 2009-08-13 04:13:58 +00:00
Mark Andrews 29f607744a 2648. [port] win32: isc_time_seconds() was broken. [RT #19900] 2009-08-13 03:40:57 +00:00
Mark Andrews 1d9958c6cc 2648. [port] win32: isc_time_seconds() was broken. [RT #19900] 2009-08-13 03:34:10 +00:00
Mark Andrews 8cff1a894f 2647. [bug] Remove unnecessary SOA updates when a new KSK is
added. [RT #19913]
2009-08-13 02:53:01 +00:00
Mark Andrews d028ae461b 2646. [bug] Incorrect cleanup on error in socket.c. [RT #19987] 2009-08-13 02:19:18 +00:00
Mark Andrews 048690a34d 2646. [bug] Incorrect cleanup on error in socket.c. [RT #19987] 2009-08-13 02:11:20 +00:00
Mark Andrews a6f2a3bf33 2645. [port] "gcc -m32" didn't work on amd64 and x86_64 platforms
which default to 64 bits. [RT #19927]
2009-08-13 02:02:45 +00:00
Mark Andrews 90c1e763d5 2645. [port] "gcc -m32" didn't work on amd64 and x86_64 platforms
which default to 64 bits. [RT #19927]
2009-08-13 01:51:19 +00:00
Automatic Updater 835ee9481b auto update 2009-08-11 23:17:58 +00:00
Automatic Updater 1762bd3d21 auto update 2009-08-10 23:18:36 +00:00
Automatic Updater 60f06c1960 auto update 2009-08-07 23:18:01 +00:00
Automatic Updater 6bf23b0270 update copyright notice 2009-08-06 23:47:44 +00:00
Automatic Updater 68e1b398b5 newcopyrights 2009-08-06 23:30:29 +00:00
Mark Andrews 9be408c368 update how to regenerate the documentation 2009-08-06 01:31:50 +00:00
Mark Andrews 3f5510b6fd update "Update the copyrights" directions 2009-08-06 01:21:58 +00:00
Automatic Updater 0a7e3c7d09 update copyright notice 2009-08-05 23:47:43 +00:00
Automatic Updater cf7e98f591 newcopyrights 2009-08-05 23:30:31 +00:00
Automatic Updater b73fda8035 auto update 2009-08-05 23:18:20 +00:00
Evan Hunt 2ac8f58412 needed fixes for windows build 2009-08-05 18:43:37 +00:00
Evan Hunt 3a87540047 2644. [bug] Change #2628 caused a regression on some systems;
named was unable to write the PID file and would
                        fail on startup. [RT #20001]
2009-08-05 17:35:33 +00:00
Mark Andrews 6beee732e4 2643. [bug] Stub zones interacted badly with NSEC3 support.
[RT #19777]
2009-08-05 02:09:04 +00:00
Automatic Updater 4be54137d1 update 2009-08-02 01:32:57 +00:00
Automatic Updater 8b45303755 rfc4635.txt 2009-08-02 01:32:52 +00:00
cvs2git 23472854fb This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-08-01 06:05:49 +00:00
Mark Andrews 10f35749cf 4635: HMAC SHA TSIG Algorithm Identifiers 2009-08-01 06:05:45 +00:00
Evan Hunt 33a31c5cab fix a comment ("ddns.key" should have been changed to "session.key"). 2009-07-31 23:43:23 +00:00
Automatic Updater 11a014304a auto update 2009-07-31 23:18:30 +00:00
Evan Hunt 4103d428a9 use genrandom to produce random data for input to ddns-confgen 2009-07-30 15:11:41 +00:00
Evan Hunt a7271c81d6 2642. [bug] nsupdate could dump core on solaris when reading
improperly formatted key files.  [RT #20015]
2009-07-29 23:55:00 +00:00
Automatic Updater 0282f038eb update copyright notice 2009-07-29 23:47:43 +00:00
Evan Hunt a3288b425a 2642. [bug] nsupdate could dump core on solaris when reading
improperly formatted key files.  [RT #20015]
2009-07-29 23:45:24 +00:00
Automatic Updater 47ce374fcf newcopyrights 2009-07-29 23:30:27 +00:00
Evan Hunt 9069215eac 2641. [bug] Fixed an error in parsing update-policy syntax,
added a regression test to check it. [RT #20007]
2009-07-29 17:52:00 +00:00
Automatic Updater 95f36ad29f auto update 2009-07-28 23:18:56 +00:00
Automatic Updater b7b4fc9a0e prepare 9.7.0a2 re-release 2009-07-28 20:37:09 +00:00
Evan Hunt 4189dd1e2c bump release tag 2009-07-28 19:58:21 +00:00
Mark Andrews fdf8bb9e4e 2640. [security] A specially crafted update packet will cause named
to exit. [RT #20000]
2009-07-28 15:54:31 +00:00
Mark Andrews bd190a40a8 2640. [security] A specially crafted update packet will cause named
to exit. [RT #20000]
2009-07-28 15:45:43 +00:00
Mark Andrews 610f3aa54c placeholder 2009-07-28 13:53:48 +00:00
Automatic Updater 3daad56dbb regen 2009-07-27 01:13:17 +00:00
Evan Hunt 352f93d94a trivial doc change in ARM ("12" should have been "13") 2009-07-27 00:43:13 +00:00
Automatic Updater 963df54288 auto update 2009-07-23 23:18:42 +00:00
Mark Andrews 086467312c 2639. [bug] Silence compiler warnings in gssapi code. [RT #19954] 2009-07-21 07:29:23 +00:00
Mark Andrews 661f055cc1 update 2009-07-21 07:06:08 +00:00
Automatic Updater 3e02c9e336 regen 2009-07-21 07:02:09 +00:00
Mark Andrews d173d06cae 2639. [bug] Silence compiler warnings in gssapi code. [RT #19954] 2009-07-21 06:58:22 +00:00
Mark Andrews 6a1a8186af 2638. [bug] Silence compiler warnings in gssapi code. [RT #19954] 2009-07-21 06:53:09 +00:00
Automatic Updater 305653254a update copyright notice 2009-07-21 06:45:06 +00:00
Automatic Updater aef04be866 newcopyrights 2009-07-21 06:42:40 +00:00
Mark Andrews af84f6917c HTML -> X man.dnssec-revoke.html man.dnssec-settime.html 2009-07-21 04:14:44 +00:00
Mark Andrews a3373a86c2 2637. [func] Rationalize dnssec-signzone's signwithkey() calling.
[RT #19959]
2009-07-21 03:36:49 +00:00
Mark Andrews ca8576a564 change numbers 2009-07-21 03:30:33 +00:00
Mark Andrews 99a0cd0236 fix comment 2009-07-21 03:27:38 +00:00
Tatuya JINMEI 神明達哉 2847ddeaf1 misc. bug fixes including null pointer dereference and memory leak.
[RT #19953]

I don't update CHANGES as this code has never been publicly released.
2009-07-21 02:57:39 +00:00
Mark Andrews 97725b410a 2628. [bug] Install arpaname. [RT #19957] 2009-07-21 02:41:01 +00:00
Mark Andrews 520cea04a2 2627. [func] Rationalize dnssec-signzone's signwithkey() calling.
[RT #19959]
2009-07-21 01:22:27 +00:00
Automatic Updater fd0b768f4c regen 2009-07-21 01:13:24 +00:00
Automatic Updater 61302bdbbf update copyright notice 2009-07-20 23:47:44 +00:00
Automatic Updater ee20d30cc4 newcopyrights 2009-07-20 23:30:31 +00:00
Francis Dupont 938dfe6dcd re-indent (to be finished) 2009-07-20 12:11:58 +00:00
Francis Dupont 85f5bb5274 fix extra space after now- in now-revoked 2009-07-20 11:56:35 +00:00
Automatic Updater 590c12cfe3 man.dnssec-settime.html 2009-07-20 02:10:42 +00:00
Mark Andrews bc2a72892a char mechbuf[17] -> unsigned char mechbuf[17] 2009-07-20 01:56:05 +00:00
Mark Andrews f1de96a386 char mechbuf[17] -> unsigned char mechbuf[17] 2009-07-20 01:55:37 +00:00
Automatic Updater 52c1cac19a regen 2009-07-20 01:13:18 +00:00
Automatic Updater 26d8ffe715 update copyright notice 2009-07-19 23:47:55 +00:00
Automatic Updater 133e6d43fa newcopyrights 2009-07-19 23:30:30 +00:00
Evan Hunt f73695f9bd fix a merge error from rebasing dnssec-settime (an assignment was left in
place that was supposed to have been removed--this was already reviewed, I
just merged the fix wrong)
2009-07-19 16:11:53 +00:00
Tatuya JINMEI 神明達哉 15fcbe3917 spelling 2009-07-19 06:40:07 +00:00
Evan Hunt dba9901bb7 update cvsignore 2009-07-19 05:33:10 +00:00
Evan Hunt 2a3574f8d4 windows portability fix (review by mgraff) 2009-07-19 05:26:05 +00:00
Evan Hunt 9edd523c22 more win32 build fixes 2009-07-19 05:06:48 +00:00
Evan Hunt da520bccdd add settime project files for win32 build 2009-07-19 04:56:47 +00:00
Evan Hunt b1fa84a099 win32 build fixes 2009-07-19 04:50:15 +00:00
Automatic Updater b478865635 Prepare for 9.7.0a2 release 2009-07-19 04:29:02 +00:00
Automatic Updater 0a7ed88633 regen 2009-07-19 04:27:56 +00:00
Evan Hunt 553ead32ff 2636. [func] Simplify zone signing and key maintenance with the
dnssec-* tools.  Major changes:
			- all dnssec-* tools now take a -K option to
			  specify a directory in which key files will be
			  stored
			- DNSSEC can now store metadata indicating when
			  they are scheduled to be published, acttivated,
			  revoked or removed; these values can be set by
			  dnssec-keygen or overwritten by the new
			  dnssec-settime command
			- dnssec-signzone -S (for "smart") option reads key
			  metadata and uses it to determine automatically
			  which keys to publish to the zone, use for
			  signing, revoke, or remove from the zone
			[RT #19816]
2009-07-19 04:18:05 +00:00
Automatic Updater 8888457a85 update copyright notice 2009-07-18 23:46:53 +00:00
Automatic Updater 1726629869 newcopyrights 2009-07-18 23:30:17 +00:00
Evan Hunt 1c335ef174 2635. [bug] isc_inet_ntop() incorrectly handled 0.0/16 addresses.
[RT #19716]
2009-07-18 21:14:16 +00:00
Automatic Updater 4a979d3577 update copyright notice 2009-07-17 23:47:41 +00:00
Automatic Updater f2770f6b39 newcopyrights 2009-07-17 23:30:40 +00:00
Evan Hunt 3967528c77 2635. [bug] isc_inet_ntop() incorrectly handled 0.0/16 addresses.
[RT #19716]
2009-07-17 22:01:44 +00:00
Evan Hunt aeff7de836 2634. [port] win32: Add support for libxml2, enable
statschannel. [RT #19773]
2009-07-17 06:25:45 +00:00
Automatic Updater ae11a72378 update copyright notice 2009-07-16 23:47:55 +00:00
Automatic Updater ae0302331d update copyright notice 2009-07-16 23:46:44 +00:00
Automatic Updater ac94adf868 newcopyrights 2009-07-16 23:30:41 +00:00
Automatic Updater 87cdb1ae1b newcopyrights 2009-07-16 23:30:24 +00:00
Mark Andrews 7bc7684b3a 2633. [bug] Handle 15 bit rand() functions. [RT #19783] 2009-07-16 06:00:31 +00:00
Mark Andrews 2792e226c7 2633. [bug] Handle 15 bit rand() functions. [RT #19783] 2009-07-16 05:52:46 +00:00
Mark Andrews 5152197216 2632. [func] util/kit.sh: warn if documentation appears to be out of
date.  [RT #19922]
2009-07-16 05:33:48 +00:00
Mark Andrews 4347f7ac12 2632. [func] util/kit.sh: warn if documentation appears to be out of
date.  [RT #19922]
2009-07-16 05:29:35 +00:00
Mark Andrews ab280fdfc5 util/kit.sh 2009-07-16 05:29:05 +00:00
Automatic Updater 3fe0256d53 regen 2009-07-15 01:43:30 +00:00
Automatic Updater 3cddb2c552 regen 2009-07-15 01:13:11 +00:00
Mark Andrews fb8db7fc3f 2631. [bug] Handle "//", "/./" and "/../" in mkdirpath().
[RT #19926 ]
2009-07-15 00:36:37 +00:00
Automatic Updater 3e12c54de2 update copyright notice 2009-07-14 23:47:54 +00:00
Evan Hunt 08f860f800 2630. [func] Improved syntax for DDNS autoconfiguration: use
"update-policy local;" to switch on local DDNS in a
			zone.  [RT #19875]
2009-07-14 22:54:57 +00:00
Evan Hunt 38cd4d14cc 2629. [port] Check for seteuid()/setegid(), use setresuid()/
setresgid() if not present. [RT #19932]
2009-07-14 22:39:30 +00:00
Jeremy Reed 00f35bc78c Update grammar for sig-validity-interval in ARM to include
optional second argument.

I had noticed a few days ago that the ARM grammar for sig-validity-interval
was missing the optional second number. I saw an email again about
this today. This is for part of my RT #19931.

Not adding a CHANGES entry for this (because feature itself was
already documented.)
2009-07-14 18:08:26 +00:00
Jeremy Reed 7372696617 Few grammar fixes already done in HEAD.
Spelling fix already also done in HEAD and reported in RT #19935.
(This is v9_5.)

Note this is too minor for review or a CHANGES entry.
2009-07-14 18:01:02 +00:00
Mark Andrews a4463732ad 2628. [port] linux: Allow /var/run/named/named.pid to be opened
at startup with reduced capabilities in operation.
                        [RT #19884]
2009-07-14 05:15:00 +00:00
Automatic Updater d85c83c414 regen 2009-07-14 01:13:07 +00:00
Automatic Updater fd4dcaddae update copyright notice 2009-07-13 23:47:42 +00:00
Automatic Updater 3cc98b8ece newcopyrights 2009-07-13 23:30:31 +00:00
Automatic Updater 425682fb71 auto update 2009-07-13 23:18:04 +00:00
Evan Hunt 943cbe8ae5 2627. [bug] Named aborted if the same key was included in
trusted-keys more than once. [RT #19918]
2009-07-13 21:53:03 +00:00
Evan Hunt ef370118d5 2626. [bug] Multiple trusted-keys could trigger an assertion
failure. [RT #19914]
2009-07-13 21:49:57 +00:00
Mark Andrews 5b7525f51f 2625. [bug] Missing UNLOCK in rbtdb.c. [RT #19865] 2009-07-13 07:03:47 +00:00
Mark Andrews 3bc4221346 2624. [func] 'named-checkconf -p' will print out the parsed
configuration. [RT #18871]
2009-07-13 06:57:21 +00:00
Mark Andrews d7b3bab049 2623. [bug] Named started seaches for DS non-optimally. [RT #19915] 2009-07-13 06:33:11 +00:00
Mark Andrews 6d5852f318 2623. [bug] Named started seaches for DS non-optimally. [RT #19915] 2009-07-13 06:24:27 +00:00
Automatic Updater 0a6ae75c6c update 2009-07-13 01:32:58 +00:00
Automatic Updater 1d0484fb12 rfc4509.txt 2009-07-13 01:32:57 +00:00
cvs2git a51f68ec05 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-07-12 23:51:52 +00:00
Mark Andrews 8a655e59bc 4509: Use of SHA-256 in DNSSEC Delegation Signer (DS) Resource Records (RRs) 2009-07-12 23:51:48 +00:00
Automatic Updater 7500692933 update copyright notice 2009-07-11 23:46:45 +00:00
Automatic Updater 0d756c045d newcopyrights 2009-07-11 23:30:16 +00:00
Mark Andrews 8edb9e5da5 2920. [bug] Delay thawing the zone until the reload of it has
completed successfully.  [RT #19750]
2009-07-11 04:28:14 +00:00
Automatic Updater 9c57eb8e7e regen 2009-07-11 01:43:40 +00:00
Automatic Updater 4a14ce5ba0 regen 2009-07-11 01:12:47 +00:00
Mark Andrews 6f2500a8a4 catch errors when generating options 2009-07-11 00:14:28 +00:00
Automatic Updater b655c721b6 update copyright notice 2009-07-10 23:47:58 +00:00
Automatic Updater 0c0fae379d update copyright notice 2009-07-10 23:46:39 +00:00
Automatic Updater cff0e0b52c newcopyrights 2009-07-10 23:30:31 +00:00
Automatic Updater 5ca3b81622 newcopyrights 2009-07-10 23:30:20 +00:00
Mark Andrews 848dcebe28 regen 2009-07-10 07:49:44 +00:00
Mark Andrews 54ff69c981 catch errors when generating options 2009-07-10 07:47:46 +00:00
Mark Andrews 98e8948bd7 2622. [bug] Printing of named.conf grammar was broken. [RT #19919] 2009-07-10 07:33:21 +00:00
Tatuya JINMEI 神明達哉 474e865f32 2621. [doc] Made copyright boilterplate consistent. [RT #19833] 2009-07-10 07:23:09 +00:00
Tatuya JINMEI 神明達哉 d7d05319a6 2621. [doc] Made copyright boilterplate consistent. [RT #19833] 2009-07-10 07:22:06 +00:00
Jeremy Reed e5af5f24c7 State the default for zone-statistics (no).
Evi asked me:
> what is the default value of the zone-statistics
> option? its not listed in the ARM anywhere that i can find.

Not adding a CHANGES entry number for this minor one sentence
addition.
2009-07-10 01:22:18 +00:00
Automatic Updater 7847f8e69e auto update 2009-07-09 23:18:22 +00:00
Automatic Updater 0bddff542c newcopyrights 2009-07-08 23:30:33 +00:00
Evan Hunt 51204d6aee TYPE65535->TYPE65534 2009-07-08 21:23:36 +00:00
Automatic Updater 4ee4e2f761 auto update 2009-07-04 23:18:04 +00:00
Automatic Updater 2cbb4ab757 regen 2009-07-04 01:13:19 +00:00
Mark Andrews 8d80232e77 change number 2009-07-03 03:17:03 +00:00
Jeremy Reed 60735f8bfa Fix some misspellings. 2009-07-03 01:53:53 +00:00
Jeremy Reed 1dcf2a88ce Fix XML by closing a tag. 2009-07-03 01:45:37 +00:00
Automatic Updater c8da39c6c7 update copyright notice 2009-07-02 23:47:26 +00:00
Automatic Updater 3b6e4c84a5 newcopyrights 2009-07-02 23:30:32 +00:00
Automatic Updater 18a39213e9 auto update 2009-07-02 23:18:39 +00:00
Tatuya JINMEI 神明達哉 6493425eaa the update-policy template doesn't match the implementation. [RT #19877]
for 9.7.0a2.
2009-07-02 22:50:24 +00:00
Mark Andrews 109580e7e5 2920. [bug] Delay thawing the zone until the reload of it has
completed successfully.  [RT #19750]
2009-07-02 07:39:03 +00:00
Mark Andrews d173a072dd <xi:include href=../../bin/dnssec/dnssec-revoke.docbook/> 2009-07-02 02:19:17 +00:00
Automatic Updater c6fb85f950 update copyright notice 2009-07-01 23:47:36 +00:00
Automatic Updater dd65eb1efb newcopyrights 2009-07-01 23:30:28 +00:00
Automatic Updater b9cb51539f auto update 2009-07-01 23:19:00 +00:00
Mark Andrews c89d02f2fb README.rfc5011 2009-07-01 01:24:34 +00:00
Automatic Updater f66c8eed51 update copyright notice 2009-06-30 23:48:01 +00:00
Automatic Updater 0ae35ecf05 regen 2009-06-30 03:32:58 +00:00
Evan Hunt 1bc5499c2a dnssec-revoke docbook fix 2009-06-30 03:20:26 +00:00
Evan Hunt 6210cd4970 update 2009-06-30 02:56:09 +00:00
Evan Hunt cfb1587eb9 2619. [func] Add support for RFC 5011, automatic trust anchor
maintenance.  The new "managed-keys" statement can
			be used in place of "trusted-keys" for zones which
			support this protocol.  (Note: this syntax is
			expected to change prior to 9.7.0 final.) [RT #19248]
2009-06-30 02:53:46 +00:00
Automatic Updater d3907d27cc regen 2009-06-30 01:13:00 +00:00
Mark Andrews bf741de055 update description of 2517 2009-06-30 00:11:15 +00:00
Mark Andrews 858cc1200e update description of 2517 2009-06-30 00:10:01 +00:00
Jeremy Reed 670fa07bc8 Change a few "a" to "an". Also remove some errant "a". 2009-06-29 09:46:40 +00:00
Automatic Updater 97face2458 regen 2009-06-27 01:12:53 +00:00
Automatic Updater 6815ef40df update copyright notice 2009-06-26 23:47:58 +00:00
Automatic Updater 93d3f14511 update copyright notice 2009-06-26 23:46:40 +00:00
Automatic Updater 6d3ca68adc newcopyrights 2009-06-26 23:30:35 +00:00
Automatic Updater 6c2cdc808f newcopyrights 2009-06-26 23:30:18 +00:00
Tatuya JINMEI 神明達哉 e47809ad55 cleanup: removed redundant initialization [RT #19866] 2009-06-26 08:02:57 +00:00
Mark Andrews 6f8754d1f6 2618. [bug] The sdb and sdlz db_interator_seek() methods could
loop infinitely. [RT #19847]
2009-06-26 06:23:47 +00:00
Mark Andrews 01dbc4fc00 2618. [bug] The sdb and sdlz db_interator_seek() methods could
loop infinitely. [RT #19847]
2009-06-26 06:21:03 +00:00
Mark Andrews 1266d22581 2617. [bug] ifconfig.sh failed to emit an error message when
run from the wrong location. [RT #19375]
2009-06-26 06:17:56 +00:00
Mark Andrews 870332fb6d 2617. [bug] ifconfig.sh failed to emit an error message when
run from the wrong location. [RT #19375]
2009-06-26 06:08:40 +00:00
Evan Hunt a97e51e5e2 change 9.6 to 9.7 in "scope of document" section 2009-06-26 04:05:01 +00:00
Automatic Updater eddfb6120c update copyright notice 2009-06-25 23:48:02 +00:00
Automatic Updater bcb4e7756a update copyright notice 2009-06-25 23:46:43 +00:00
Automatic Updater 78bc8fdc24 newcopyrights 2009-06-25 23:30:30 +00:00
Automatic Updater dda83d4a02 newcopyrights 2009-06-25 23:30:15 +00:00
Evan Hunt de679d396e Fix install rule for bind.keys 2009-06-25 17:06:42 +00:00
Mark Andrews 1953233d8f Editorial nits. [RT #19815] 2009-06-25 05:33:17 +00:00
Mark Andrews 371642de8b update description 2009-06-25 05:32:48 +00:00
Mark Andrews 86739ab72c Editorial nits. [RT #19815] 2009-06-25 05:28:34 +00:00
Mark Andrews 25bad13b4c update description 2009-06-24 03:47:28 +00:00
Mark Andrews 6d01ae150c 2616. [bug] The nameserver argument to 'host' was being ignored.
[RT #19852]
2009-06-24 03:42:32 +00:00
Mark Andrews d8f118f4a0 2616. [bug] The nameserver argument to 'host' was being ignored.
[RT #19852]
2009-06-24 02:51:29 +00:00
Mark Andrews 24518feffa 2615. [bug] "__attribute__((unused))" was in the wrong place
for ia64 gcc builds. [RT #19854]
2009-06-24 02:23:27 +00:00
Mark Andrews 76110b31fe 2615. [bug] "__attribute__((unused))" was in the wrong place
for ia64 gcc builds. [RT #19854]
2009-06-24 02:22:50 +00:00
Mark Andrews 3eb87d8319 change number 2009-06-24 02:12:49 +00:00
Mark Andrews 8777696411 change number 2009-06-24 02:11:59 +00:00
Mark Andrews ce773a54f9 missing unsigned 2009-06-24 01:27:06 +00:00
Automatic Updater 0382130cdc update copyright notice 2009-06-23 23:47:44 +00:00
Automatic Updater 38f5a45b3e update copyright notice 2009-06-23 23:46:35 +00:00
Automatic Updater 361bec4bde newcopyrights 2009-06-23 23:30:37 +00:00
Automatic Updater 2121318857 newcopyrights 2009-06-23 23:30:20 +00:00
Mark Andrews 93a7b94184 2615. [port] win32: 'named -v' should automatically be executed
in the foreground. [RT #19844]
2009-06-23 07:51:49 +00:00
Mark Andrews 0f00ee4327 2615. [port] win32: 'named -v' should automatically be executed
in the foreground. [RT #19844]
2009-06-23 07:43:48 +00:00
Mark Andrews f7b683b054 2615. [port] win32: 'named -v' should automatically be executed
in the foreground. [RT #19844]
2009-06-23 07:34:39 +00:00
Automatic Updater a782b7f08a update copyright notice 2009-06-22 23:47:53 +00:00
Automatic Updater c3ef5f41a7 update copyright notice 2009-06-22 23:46:43 +00:00
Automatic Updater 72628f51c7 newcopyrights 2009-06-22 23:30:32 +00:00
Automatic Updater ead8a1183c newcopyrights 2009-06-22 23:30:17 +00:00
Mark Andrews 2bf1ef20fc update 2009-06-22 02:09:08 +00:00
Mark Andrews 416f38d033 update 2009-06-22 02:02:50 +00:00
Mark Andrews 420e099c2f update 2009-06-22 01:59:30 +00:00
Evan Hunt 8605599cbd corrected supported windows OS's 2009-06-22 01:47:42 +00:00
Evan Hunt c907893aaf corrected version number and supported windows OS's 2009-06-22 01:47:00 +00:00
Automatic Updater 06d5197518 auto update 2009-06-19 23:18:39 +00:00
Mark Andrews eabc9c3c07 preserve rndcconfgen.* history 2009-06-19 01:58:37 +00:00
Mark Andrews a7c1e824b8 cleanup 2009-06-19 01:55:09 +00:00
Automatic Updater cdfc81e048 newcopyrights 2009-06-18 23:30:24 +00:00
Automatic Updater 9d8ff70bf7 auto update 2009-06-18 23:18:36 +00:00
Evan Hunt 31a6411712 - fix windows build of ddns-confgen
- fix unix build of arpaname
2009-06-18 16:02:25 +00:00
Mark Andrews 8dec76d68b file confgentool.h was initially added on branch marka_970. 2009-06-18 03:14:27 +00:00
Mark Andrews 23a426bc56 file confgentool.c was initially added on branch marka_970. 2009-06-18 03:14:26 +00:00
Automatic Updater 80383d0360 regen 2009-06-18 01:13:02 +00:00
Mark Andrews 53b3182afa add more dependancies 2009-06-18 00:38:39 +00:00
Automatic Updater dde8659175 update copyright notice 2009-06-17 23:53:04 +00:00
Tatuya JINMEI 神明達哉 95f999508b placeholder for rt#19828 (not necessary for the head) 2009-06-17 23:40:32 +00:00
Automatic Updater 9174e44c14 newcopyrights 2009-06-17 23:35:21 +00:00
Automatic Updater ca67ebfe9e regen 2009-06-17 23:12:09 +00:00
Evan Hunt 13f7f63deb windows build fixes 2009-06-17 20:21:50 +00:00
Tatuya JINMEI 神明達哉 90ca8e224d an editorial nit for the usage() 2009-06-17 19:18:37 +00:00
Evan Hunt 245b4fe655 changes needed for windows build 2009-06-17 07:55:59 +00:00
Evan Hunt 207d8962fa Update for 9.7.0a1 release 2009-06-17 07:06:47 +00:00
Evan Hunt e60076cb25 Change "dynamic" to "ddns-autoconf" (forgot to do this in the ticket,
see 19284)
2009-06-17 07:02:45 +00:00
Evan Hunt b272d38cc5 2612. [func] Add default values for the arguments to
dnssec-keygen.  Without arguments, it will now
			generate a 1024-bit RSASHA1 zone-signing key,
			or with the -f KSK option, a 2048-bit RSASHA1
			key-signing key. [RT #19300]

2611.	[func]		Add -l option to dnssec-dsfromkey to generate
			DLV records instead of DS records. [RT #19300]
2009-06-17 06:51:44 +00:00
Mark Andrews b577875266 missing line breaks 2009-06-17 04:29:43 +00:00
Automatic Updater 7ae7246a63 regen 2009-06-17 01:12:48 +00:00
Tatuya JINMEI 神明達哉 45d4d69a8d minor additional improvements to ddns-confgen (see rt#19825) 2009-06-16 22:36:53 +00:00
Automatic Updater 2f17cfb4e0 update 2009-06-16 01:32:52 +00:00
Automatic Updater 443f12f2ac rfc4892.txt 2009-06-16 01:32:50 +00:00
Automatic Updater 9210d8796e regen 2009-06-16 01:12:45 +00:00
Automatic Updater bfeb2af9cf update copyright notice 2009-06-15 23:47:59 +00:00
Automatic Updater 2d2dc37599 newcopyrights 2009-06-15 23:30:30 +00:00
Evan Hunt aa9c561961 update with ddns-confgen files 2009-06-15 19:51:20 +00:00
cvs2git dd6909d9a4 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-06-15 01:58:27 +00:00
Mark Andrews f7ba2cb042 4892: Requirements for a Mechanism Identifying a Name Server Instance 2009-06-15 01:58:23 +00:00
Automatic Updater 75fa8d3861 update copyright notice 2009-06-12 23:47:42 +00:00
Automatic Updater e2caa75363 newcopyrights 2009-06-12 23:30:30 +00:00
Automatic Updater 1910b2f535 auto update 2009-06-12 23:18:05 +00:00
Mark Andrews 3c97b9745c don't hard code the current year 2009-06-12 04:07:43 +00:00
Mark Andrews 7877ad5db2 don't hard code the current year 2009-06-12 04:04:38 +00:00
Automatic Updater 9b469e3c59 regen 2009-06-12 02:48:00 +00:00
Evan Hunt 76786c2904 - assorted changes needed for windows build
- began versioning for 9.7.0a1
2009-06-12 02:33:21 +00:00
Automatic Updater 156d095d86 regen 2009-06-12 01:12:50 +00:00
Automatic Updater 754cb8a2b3 update copyright notice 2009-06-11 23:47:56 +00:00
Automatic Updater b2db28e57c update copyright notice 2009-06-11 23:46:36 +00:00
Automatic Updater d8a205c241 newcopyrights 2009-06-11 23:30:18 +00:00
Tatuya JINMEI 神明達哉 6a122cef16 missing break in a case block (rt#19812) 2009-06-11 20:01:22 +00:00
Mark Andrews 173ea93388 .mak -> X 2009-06-11 01:31:49 +00:00
Mark Andrews f65a7c1a07 showsearh -> showsearch 2009-06-11 01:26:19 +00:00
Mark Andrews e8a534049c showsearh -> showsearch 2009-06-11 01:21:03 +00:00
Automatic Updater 8655537825 regen 2009-06-11 01:12:49 +00:00
Automatic Updater 9513a2a667 newcopyrights 2009-06-10 23:56:29 +00:00
Mark Andrews b616f6ed69 add .mak to list of extensions to be X'd 2009-06-10 23:52:44 +00:00
Automatic Updater b6306ef56e update copyright notice 2009-06-10 23:47:47 +00:00
Evan Hunt 18ad4708eb commit windows build changes needed for DDNS patch 2009-06-10 23:36:57 +00:00
Automatic Updater 8b6f093b0a auto update 2009-06-10 23:17:24 +00:00
Mark Andrews 63f55865df 2610. [port] sunos: Change #2363 was not complete. [RT #19796] 2009-06-10 02:27:00 +00:00
Mark Andrews f4ea363e3a 2610. [port] sunos: Change #2363 was not complete. [RT #19796] 2009-06-10 02:23:42 +00:00
Evan Hunt 8c091f4733 add #include <isc/print.h> 2009-06-10 01:44:53 +00:00
Automatic Updater 852ccdd42a regen 2009-06-10 01:12:51 +00:00
Evan Hunt 68d766400e added .cvsignore files 2009-06-10 00:56:15 +00:00
Evan Hunt f8c3dfee69 added missing file 2009-06-10 00:55:02 +00:00
Evan Hunt 2004ccf6bf update configure 2009-06-10 00:46:11 +00:00
Evan Hunt 351b62535d 2609. [func] Simplify the configuration of dynamic zones:
- add ddns-confgen command to generate
			  configuration text for named.conf
			- add zone option "ddns-autoconf yes;", which
			  causes named to generate a TSIG session key
			  and allow updates to the zone using that key
			- add '-l' (localhost) option to nsupdate, which
			  causes nsupdate to connect to a locally-running
			  named process using the session key generated
			  by named
			[RT #19284]
2009-06-10 00:27:22 +00:00
Mark Andrews afbe695de3 "got insecure response; parent indicates it should be secure" wrongly emitted [RT #19800] 2009-06-09 22:57:09 +00:00
Mark Andrews 996b4d8982 fix bad test to determine if both ksk's and zsk's are present. [RT #19802] 2009-06-09 22:54:21 +00:00
Automatic Updater d29d33390a auto update 2009-06-08 23:18:10 +00:00
Automatic Updater 1c51f79aba regen 2009-06-06 01:12:32 +00:00
Jeremy Reed 6a550cb83c Please bump date on manpage. So we know we aren't using 2000 docs.
For -P: clean up sentence and clarify that the option skips the tests.

(This is for RT19653. No CHANGES entry added for this minor fix.)
2009-06-05 21:59:43 +00:00
Evan Hunt e8c7dc2a5c X out bind.keys.h so it doesn't get a copyright message 2009-06-05 16:34:42 +00:00
Mark Andrews 988023d8bc missing unsigned 2009-06-05 06:59:03 +00:00
Automatic Updater 6283056805 regen 2009-06-05 01:12:33 +00:00
Automatic Updater 9f4702d025 update copyright notice 2009-06-04 23:47:53 +00:00
Mark Andrews 3d785d7666 dns_dnssec_selfsigns 2009-06-04 04:58:10 +00:00
Mark Andrews 97573334cb fix up bad merge 2009-06-04 04:33:11 +00:00
Automatic Updater 39844d4710 update copyright notice 2009-06-04 02:56:47 +00:00
Automatic Updater ae7e54b14c newcopyrights 2009-06-04 02:50:55 +00:00
Mark Andrews 5d3cf2f323 update 2009-06-04 02:50:15 +00:00
Mark Andrews 2534a73a59 2608. [func] Perform post signing verification checks in
dnssec-signzone.  These can be disabled with -P.

                        The post sign verification test ensures that for each
                        algorithm in use there is at least one non revoked
                        self signed KSK key.  That all revoked KSK keys are
                        self signed.  That all records in the zone are signed
                        by the algorithm.  [RT #19653]
2009-06-04 02:13:37 +00:00
Mark Andrews f05a6b110f 2607. [bug] named could incorrectly delete NSEC3 records for
empty nodes when processing a update request.
                        [RT #19749]
2009-06-04 01:43:41 +00:00
Automatic Updater aae46ae27b auto update 2009-06-03 23:18:26 +00:00
Mark Andrews 71044767d5 2606. [bug] "delegation-only" was not being accepted in
delegation-only type zones. [RT #19717]
2009-06-03 07:08:20 +00:00
Automatic Updater d90f03a6ac regen 2009-06-03 01:43:35 +00:00
Automatic Updater 38760f5b07 regen 2009-06-03 01:13:13 +00:00
Mark Andrews 0bc3af9834 2606. [bug] "delegation-only" was not being accepted in
delegation-only type zones. [RT #19717]
2009-06-03 00:04:38 +00:00
Automatic Updater dc0c165ce3 update copyright notice 2009-06-02 23:47:50 +00:00
Automatic Updater 29d84c4544 update copyright notice 2009-06-02 23:46:44 +00:00
Mark Andrews f6eb52ac40 2605. [bug] Accept DS responses from delegation only zones.
[RT # 19296]
2009-06-02 06:00:40 +00:00
Mark Andrews 5422cf284f 2605. [bug] Accept DS responses from delegation only zones.
[RT # 19296]
2009-06-02 05:51:44 +00:00
Automatic Updater afb33f777a regen 2009-05-30 01:13:58 +00:00
Automatic Updater e6ada020f5 update copyright notice 2009-05-29 23:47:49 +00:00
Automatic Updater 6de27e27ad newcopyrights 2009-05-29 23:30:35 +00:00
Automatic Updater 10e31e1ace newcopyrights 2009-05-29 23:30:19 +00:00
Tatuya JINMEI 神明達哉 40d0f115a6 2604. [func] Add support for DNS rebinding attack prevention through
new options, deny-answer-addresses and
			deny-answer-aliases.  Based on contributed code from
			JD Nurmi, Google. [RT #18192]
2009-05-29 22:22:37 +00:00
Mark Andrews a3290f6c8b 2603. [port] win32: handle .exe extension of named-checkzone and
named-comilezone argv[0] names under windows.
                        [RT #19767]
2009-05-29 02:18:32 +00:00
Mark Andrews fc7ecc628d 2603. [port] win32: handle .exe extension of named-checkzone and
named-comilezone argv[0] names under windows.
                        [RT #19767]
2009-05-29 02:14:31 +00:00
Mark Andrews 641e328cfd 2602. [port] win32: fix debugging command line build of libisccfg.
[RT #19767]
2009-05-29 01:37:47 +00:00
Mark Andrews 7be6336565 2602. [port] win32: fix debugging command line build of libisccfg.
[RT #19767]
2009-05-29 01:16:31 +00:00
Automatic Updater a9a054302d regen 2009-05-22 01:14:49 +00:00
Automatic Updater bbe20aa62c update copyright notice 2009-05-21 23:47:28 +00:00
Automatic Updater f7c88d61cc newcopyrights 2009-05-21 23:30:29 +00:00
Jeremy Reed 5d924e398e 2601. [doc] Mention file creation mode mask in the
named manual page.

Similar to what is also in the migration document.
Also see Support ticket 862.
2009-05-21 19:54:28 +00:00
Automatic Updater ac93437301 regen 2009-05-15 01:15:47 +00:00
Jeremy Reed ed0e837058 Fix example output and tables that disappear into right margin in
section 6.2.10.3 The query-errors Category on PDF page 44.

For example output added newlines and replaced <computeroutput>
with <programlisting>.

For query-errors table, used hardcoded column widths as used
elsewhere in the ARM.

This is a continuation of CHANGE 2600 [RT #19574].
2009-05-14 20:46:04 +00:00
Jeremy Reed 6c3c79e491 2600. [doc] ARM: miscellaneous reformatting for different
page widths. [RT #19574]

Split comments to multiple lines or move comments to own lines for
example.

Some fixed width examples are too wide for my printed page, so fixed

Splits many programlisting's to multiple lines.
Some move comments to above and some merge some comments.

Note that this patch covers configuration examples and also the "Grammar".

Also while here fix docbook formatting for a Not Implemented
check-names (but still that is too wide so I need to change).  And
also the patch changes a couple tabs to spaces. And changed case of
example comments to be consistent with previous lines.

There shouldn't be any content changes here.

This doesn't complete this PR.
Even this patch, the official ARM PDF has other text that disappears
into the right margin. So still working on this.
2009-05-14 20:24:14 +00:00
Automatic Updater cc5f9fe224 update copyright notice 2009-05-11 02:38:35 +00:00
Automatic Updater 2fb6c5e6ce update copyright notice 2009-05-11 02:37:36 +00:00
Mark Andrews 8a805c9f41 spelling 2009-05-11 02:30:07 +00:00
Mark Andrews bde3f64286 spelling 2009-05-11 02:29:53 +00:00
Mark Andrews 7070efbd61 2599. [bug] Address rapid memory growth when validation fails.
[RT #19654]
2009-05-11 02:27:26 +00:00
Mark Andrews 4c2ed3d141 2599. [bug] Address rapid memory growth when validation fails.
[RT #19654]
2009-05-11 02:22:03 +00:00
Mark Andrews 4bb70681e0 new draft 2009-05-09 00:35:19 +00:00
Automatic Updater 54cdd2b307 update copyright notice 2009-05-07 23:47:44 +00:00
Automatic Updater d09e8b0154 update copyright notice 2009-05-07 23:46:32 +00:00
Automatic Updater 5236788545 newcopyrights 2009-05-07 23:30:35 +00:00
Automatic Updater cf532dff4f newcopyrights 2009-05-07 23:30:19 +00:00
Automatic Updater f5cd704007 auto update 2009-05-07 23:18:11 +00:00
Francis Dupont ff380b05fe comment fixes (rt19624) 2009-05-07 09:41:23 +00:00
Francis Dupont ddac1a2b98 reserve -F 2009-05-07 09:33:52 +00:00
Mark Andrews e7eede965d 2597. [bug] Handle a validation failure with a insecure delegation
from a NSEC3 signed master/slave zone.  [RT #19464]
2009-05-07 02:34:19 +00:00
Automatic Updater 7a272c6b0d update copyright notice 2009-05-06 23:47:50 +00:00
Automatic Updater d7f630bb00 update copyright notice 2009-05-06 23:46:49 +00:00
Tatuya JINMEI 神明達哉 05eae05c7a back out an irrelevant diff (sorry) 2009-05-06 23:38:35 +00:00
Tatuya JINMEI 神明達哉 a6aa668679 2596. [bug] Stale tree nodes of cache/dynamic rbtdb could stay
long, leading to inefficient memory usage or rejecting
			newer cache entries in the worst case. [RT #19563]
2009-05-06 23:34:48 +00:00
Automatic Updater db5b7e2cdf newcopyrights 2009-05-06 23:30:32 +00:00
Automatic Updater bc98fc09f3 newcopyrights 2009-05-06 23:30:22 +00:00
Automatic Updater c8a40c1936 auto update 2009-05-06 23:18:13 +00:00
Tatuya JINMEI 神明達哉 5d7849ad7f 2596. [bug] Stale tree nodes of cache/dynamic rbtdb could stay
long, leading to inefficient memory usage or rejecting
			newer cache entries in the worst case. [RT #19563]
2009-05-06 22:53:54 +00:00
Francis Dupont a2af528ff3 add isc/print.h 2009-05-06 11:42:36 +00:00
Francis Dupont 0e77d33686 add isc/print.h 2009-05-06 11:41:07 +00:00
Francis Dupont e57c75209a Fix unknown extended rcodes in dig 2009-05-06 10:19:49 +00:00
Francis Dupont d302a620e0 Fix unknown extended rcodes in dig 2009-05-06 10:16:32 +00:00
Jeremy Reed 708ebf710e Wrap long line (I added). 2009-05-04 17:57:59 +00:00
Jeremy Reed 4144efb390 2594. [func] Have rndc warn if using its default configuration file
when the key file also exists. [RT #19424]
2009-05-04 17:38:56 +00:00
Automatic Updater 092d8d701d auto update 2009-05-01 23:18:57 +00:00
Automatic Updater d37010c7a7 update 2009-05-01 01:37:17 +00:00
Automatic Updater 28efca5b53 rfc5507.txt 2009-05-01 01:37:16 +00:00
Francis Dupont cc620f9fdb Improve a corner source of SERVFAILs [RT #19632] 2009-04-30 11:45:10 +00:00
Mark Andrews 60d5d1309c 2592. [bug] Treat "any" as a type in nsupdate. [RT #19455] 2009-04-30 07:12:15 +00:00
Mark Andrews 3836f447ee 2592. [bug] Treat "any" as a type in nsupdate. [RT #19455] 2009-04-30 07:10:09 +00:00
Mark Andrews 82dc7bcbee 2591. [bug] named could die when processing a update in
removed_orphaned_ds(). [RT #19507]
2009-04-30 07:01:21 +00:00
Mark Andrews 47323be2af 2591. [bug] named could die when processing a update in
removed_orphaned_ds(). [RT #19507]
2009-04-30 06:59:11 +00:00
Mark Andrews b770eae51e s/diff/update/ 2009-04-30 06:55:33 +00:00
Mark Andrews d2c115f913 2590. [func] Report zone/class of "diff with no effect". [RT #19542] 2009-04-30 06:53:10 +00:00
Automatic Updater 542b74bec7 update copyright notice 2009-04-29 23:48:02 +00:00
Automatic Updater 50e71de901 update copyright notice 2009-04-29 23:46:55 +00:00
Automatic Updater e36b9ac8fd newcopyrights 2009-04-29 23:30:59 +00:00
Automatic Updater 029e90b3ff newcopyrights 2009-04-29 23:30:34 +00:00
Mark Andrews f432e672b8 2589. [bug] dns_db_unregister() failed to clear '*dbimp'.
[RT #19626]
2009-04-29 22:22:32 +00:00
Mark Andrews f030c71500 2589. [bug] dns_db_unregister() failed to clear '*dbimp'.
[RT #19626]
2009-04-29 22:11:34 +00:00
Mark Andrews 14f5485d1d new draft 2009-04-29 07:09:04 +00:00
cvs2git 666500d840 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-04-29 04:10:40 +00:00
Automatic Updater bfaea70e56 update copyright notice 2009-04-28 23:46:43 +00:00
Automatic Updater 8a56b144c4 newcopyrights 2009-04-28 23:30:15 +00:00
Tatuya JINMEI 神明達哉 821f19dd42 (forgot to commit)
2586.	[bug]		Missing cleanup of SIG rdataset in searching a DLZ DB
			or SDB. [RT #19577]
2009-04-28 21:41:54 +00:00
Tatuya JINMEI 神明達哉 29ef15495a 2585. [bug] Uninitialized socket name could be referenced via a
statistics channel, triggering an assertion failure in
			XML rendering. [RT #19427]
2009-04-18 01:30:34 +00:00
Automatic Updater 9b5c101b39 update copyright notice 2009-04-08 06:47:03 +00:00
Automatic Updater 94b19a8e7c newcopyrights 2009-04-08 06:44:31 +00:00
Tatuya JINMEI 神明達哉 688cbcdf8d 2584. [bug] alpha: gcc optimization could break atomic operations.
[RT #19227]
2009-04-08 05:49:16 +00:00
Tatuya JINMEI 神明達哉 1ffa559d2b wording fix for cpp error message (rt #19569) 2009-04-07 02:50:37 +00:00
Mark Andrews 142c06266e 2583. [port] netbsd: provide a control to not add the compile
date to the version string, -DNO_VERSION_DATE.
2009-04-03 20:18:26 +00:00
Automatic Updater 978f35dd4c regen 2009-04-03 03:32:58 +00:00
Mark Andrews 36271b68ab removed extraneous 'd' 2009-04-03 02:05:31 +00:00
Automatic Updater 314b6f2402 update copyright notice 2009-04-02 23:46:45 +00:00
Jeremy Reed c0ecdf89fb Say chapter instead of section when referring to chapter.
(No structure change here.)

(Note that the "Organization of This Document" is somewhat wrong,
but I am not fixing this yet as I have to consider my restructuring
ideas for ARM first.)
2009-04-02 15:30:54 +00:00
Jeremy Reed af07ac8186 Many minor changes:
Add formatting tags around syntax that was missing. Be consistent.

Remove a few paragraph breaks before "For example:".

Fix typo "will will".

Change description of pid-file to not mislead (since other programs
don't parse named.conf to figure out the PID file :)
(I had to manually edit this as my patch from HEAD didn't apply here
in v9_5.)

Remove some unneeded commas.

Minor grammar fixes.

Clarify edns-udp-size to say "... to control the size of packets received."
Reformatted that paragragh too (in docbook, not rendered version.
(TODO: cross-reference these descriptions.)

Hyphenate "built-in" to be consistent.

Remove space in "100000" (for style). (Some use space, period, comma
for thousands.)

Capitalize TTL in one place.

Say that the -t option is "for named". (Reformat that paragraph in
docbook while here.)

named is in /usr/local/sbin not /usr/local/bin for example.

BIND 8 is deprecated. Don't publicly say we do security-related patches
for BIND 4 or BIND 8.

(Note I have many, many more improvements to do. Trying to catch up on
all my uncommitted fixes some dating back to 2007. I originally
planned to not backport these from HEAD to v9_6, v9_5, and v9_4,
but now I am doing that.)
2009-04-02 15:21:32 +00:00
Jeremy Reed 312bb5110c Use <command> tag for some more commands. Most already had this.
So be consistent.
Add formatting for a configuration option.
Add formatting for a filename.
Uppercase "DNSSEC" in a couple places.
syslog "logs" (not "prints").
Also add formatting for some command line options. (NOTE: this is not
consistent yet, as some use <command> and some use <option> -- need
to define this in a style guide.)
2009-04-02 15:13:31 +00:00
Jeremy Reed 1a3bbaa346 2562. [doc] ARM: miscellaneous improvements, reorganization,
and some new content.

This CHANGES entry is for various work I did in late February
in HEAD, now pulling into v9_4, v9_5, v9_6.
2009-04-02 14:53:17 +00:00
Jeremy Reed eaac9c2bb7 Also mention in the first definition of options also-notify about
the optional "port".
(Note that this was still covered in the later zone description.
There is some overlap here.)
2009-04-02 14:46:34 +00:00
Jeremy Reed 6ad05384d9 Move statistics-channels in table and also move the grammar and
definition sections.  This is just to be in alphabetical order
(was: ..., masters,  options, statistics-channels, server,
trusted-keys, ...).  No content changes.

Note that the indention doesn't match up, but that was wrong before
my commit here.
2009-04-02 14:23:29 +00:00
Jeremy Reed ca364d1057 Add space between RFC and number. This is to be consistent.
This same sentence did it two different ways!

(I will later fix the rest per my old ticket #16942.)
2009-04-02 14:18:38 +00:00
Automatic Updater 11fb2a3ad0 newcopyrights 2009-03-26 23:30:20 +00:00
Mark Andrews 8e56af65e3 2582. [bug] Don't emit warning log message when we attempt to
remove non-existant journal. [RT #19516]
2009-03-26 22:59:15 +00:00
Mark Andrews cc59ed5719 2581. [contrib] dlz/mysql set MYSQL_OPT_RECONNECT option on connection.
Requires MySQL 5.0.19 or later. [RT #19084]
2009-03-26 17:53:23 +00:00
Tatuya JINMEI 神明達哉 0d4a9d665c 2580. [bug] UpdateRej statistics counter could be incremented twice
for one rejection. [RT #19476]
2009-03-18 22:17:54 +00:00
Automatic Updater e6ad8900f9 update copyright notice 2009-03-17 23:46:41 +00:00
Mark Andrews 8d64734402 2579. [bug] DNSSEC lookaside validation failed to handle unknown
algorithms. [RT #19479]
2009-03-17 01:24:23 +00:00
Automatic Updater 8257edf5c4 regen 2009-03-14 01:42:48 +00:00
Tatuya JINMEI 神明達哉 fef147679a 2577. [doc] Clarified some statistics counters. [RT #19454] 2009-03-13 01:53:07 +00:00
Automatic Updater ca53bed82c regen 2009-03-06 01:41:29 +00:00
Automatic Updater 2fdd48927c update copyright notice 2009-03-05 23:46:34 +00:00
Automatic Updater ba0b088a27 newcopyrights 2009-03-05 23:30:15 +00:00
Mark Andrews a6d93d26f9 2573. [bug] Replacing a non-CNAME record with a CNAME record in a
single transaction in a signed zone failed. [RT #19397]
2009-03-05 05:00:13 +00:00
Mark Andrews 3ce6daf1c0 side -> string 2009-03-05 04:30:56 +00:00
Mark Andrews a132838005 silence 'Different types treated as unsigned for >.' warnings 2009-03-05 03:45:40 +00:00
Mark Andrews 5aa85659d2 add bind.keys 2009-03-04 23:58:36 +00:00
Evan Hunt a866c76a7f Added bind.keys, containing dlv.isc.org trust anchor, to source tree
for users' convenience [rt18685]
2009-03-04 02:51:37 +00:00
cvs2git 95b5dc20f1 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-03-04 02:42:33 +00:00
Automatic Updater d094e4a717 update copyright notice 2009-03-02 23:46:31 +00:00
Automatic Updater 3d765a22d9 newcopyrights 2009-03-02 23:30:19 +00:00
Mark Andrews af0729c144 2568. [bug] Report when the write to indicate a otherwise
successful start fails. [RT #19360]
2009-03-02 03:07:05 +00:00
Mark Andrews be9fd19472 2567. [bug] dst__privstruct_writefile() could miss write errors.
write_public_key() could miss write errors.
                        [RT #19360]
2009-03-02 02:57:24 +00:00
Mark Andrews 8381489c5b report and abort on getcwd() failures 2009-03-02 02:48:44 +00:00
Mark Andrews c1498af3c6 report write error. [RT #19360] 2009-03-02 02:43:14 +00:00
Mark Andrews 45f7713097 2567. [bug] dst__privstruct_writefile() could miss write errors.
[RT #19360]
2009-03-02 02:34:12 +00:00
Mark Andrews d78ee12f80 report when chdir fails. [RT #19360] 2009-03-02 01:57:35 +00:00
Mark Andrews af705bce49 2564. [bug] Only take EDNS fallback steps when processing timeouts.
[RT #19405]
2009-02-27 23:08:09 +00:00
Mark Andrews e1d574ac1d 2564. [bug] 'named' was treating a TCP retry as a timeout when
deciding whether to perform a EDNS fallback step.
                        [RT #19393]
2009-02-25 22:50:34 +00:00
Mark Andrews 54d9895cf8 2563. [bug] Dig could leak a socket causing it to wait forever
to exit. [RT #19359]
2009-02-25 02:41:37 +00:00
Automatic Updater 0f99b8dd02 update 2009-02-21 01:20:27 +00:00
Automatic Updater e113758bde rfc5205.txt 2009-02-21 01:20:26 +00:00
Automatic Updater 8be721920f update copyright notice 2009-02-20 23:46:49 +00:00
Automatic Updater d421d673ec newcopyrights 2009-02-20 23:30:16 +00:00
Jeremy Reed ca93fee66c 2561. [doc] Add isc-config.sh(1) man page. [RT #16378] 2009-02-20 22:40:48 +00:00
cvs2git 198962042f This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-02-20 22:24:51 +00:00
Mark Andrews 55bf33e89b CHANGE numbers 2009-02-19 02:36:45 +00:00
Automatic Updater 55ae1a8232 regen 2009-02-19 01:41:00 +00:00
Automatic Updater 146b5d78a6 update copyright notice 2009-02-18 23:46:34 +00:00
Automatic Updater 41aa8f8b31 newcopyrights 2009-02-18 23:30:14 +00:00
Mark Andrews f46fcfc304 Add #include <config.h> to iptable.c. [RT #18258] 2009-02-18 05:57:31 +00:00
Mark Andrews 8dd2efc269 linux doesn't need checks for -lsocket and -lnsl 2009-02-17 06:31:17 +00:00
Mark Andrews f3f20f5d18 silence 'Different types treated as unsigned for <=.' warning 2009-02-17 05:54:41 +00:00
Mark Andrews e876cf83d6 silence compiler warnings [RT #17079] 2009-02-17 03:47:28 +00:00
Automatic Updater 26adb9b921 update copyright notice 2009-02-16 23:46:45 +00:00
Automatic Updater 946eabb329 newcopyrights 2009-02-16 23:30:14 +00:00
Mark Andrews 9b1f27e560 silence 'Different types treated as unsigned for >=.' warning 2009-02-16 03:17:29 +00:00
Mark Andrews 9150681ebb fix change number 2009-02-16 02:32:07 +00:00
Mark Andrews edc3dc4bb5 2556. [cleanup] PCI compliance:
* new libisc log module file
                        * isc_dir_chroot() now also changes the working
                          directory to "/".
                        * additional INSISTs
                        * additional logging when files can't be removed.
2009-02-16 02:10:58 +00:00
Mark Andrews e478ff2b65 2503. [port] linux: improve compatibility with Linux Standard
Base. [RT #18793]
2009-02-16 00:59:14 +00:00
Mark Andrews ec281e5d51 2503. [port] linux: improve compatibility with Linux Standard
Base. [RT #18793]
2009-02-16 00:53:58 +00:00
Mark Andrews fc12220bab out of memory condition could be missed. [RT #18970] 2009-02-16 00:23:34 +00:00
Mark Andrews a0a3d4f1e6 2553. [bug] Reference leak on DNSSEC validation errors. [RT #19291] 2009-02-15 23:39:34 +00:00
Mark Andrews eca41a6b05 2552. [bug] zero-no-soa-ttl-cache was not being honoured.
[RT #19340]
2009-02-15 23:15:31 +00:00
Mark Andrews 2912d502a7 2551. [bug] Potential Reference leak on return. [RT #19341] 2009-02-15 23:07:53 +00:00
Mark Andrews f2fd8c27c5 2550. [bug] Check --with-openssl=<path> finds <openssl/opensslv.h>.
[RT #19343]
2009-02-15 23:00:04 +00:00
Automatic Updater dda277af23 update copyright notice 2009-02-13 23:46:42 +00:00
Automatic Updater e33ceafea8 newcopyrights 2009-02-13 23:30:20 +00:00
Mark Andrews 60d6bd25c8 2549. [port] linux: define NR_OPEN if not currently defined.
[RT #19344]
2009-02-13 09:31:06 +00:00
Automatic Updater 9538c4b0ee update copyright notice 2009-02-12 23:46:42 +00:00
Automatic Updater 0122239d3f newcopyrights 2009-02-12 23:30:16 +00:00
Rob Austein 3126bec82b Add rule to build Bv9ARM-all.html [RT #19142] 2009-02-12 22:50:48 +00:00
Francis Dupont fc297df830 add dns_resolver_logfetch 2009-02-12 13:50:28 +00:00
Francis Dupont beb5c4a897 add isc__mem_reallocate() 2009-02-12 12:49:33 +00:00
Francis Dupont 187e9979cb add stats 2009-02-12 11:39:48 +00:00
Automatic Updater 8c4fd9390d update copyright notice 2009-02-11 23:46:41 +00:00
Automatic Updater ca9de9f421 newcopyrights 2009-02-11 23:30:23 +00:00
Tatuya JINMEI 神明達哉 421fa787ea 2547. [bug] openssl_link.c:mem_realloc() could reference an
out-of-range area of the source buffer.  New public
			function isc_mem_reallocate() was introduced to address
			this bug. [RT #19313]
2009-02-11 03:09:55 +00:00
Automatic Updater c937d424fd regen 2009-02-05 01:42:46 +00:00
Jeremy Reed d660b6781d 2545. [doc] ARM: Legal hostname checking (check-names) is
for SRV RDATA too. [RT #19304]
2009-02-05 00:38:11 +00:00
Automatic Updater 8dcc84f169 update copyright notice 2009-02-04 23:46:39 +00:00
Automatic Updater 5b4e3a9115 newcopyrights 2009-02-04 23:30:19 +00:00
Mark Andrews 59c8f1682b silence comiler warning. [RT #18630] 2009-02-04 04:44:36 +00:00
Tatuya JINMEI 神明達哉 440e6eb710 2544. [cleanup] Removed unused structure members in adb.c. [RT #19225] 2009-02-03 22:35:00 +00:00
Automatic Updater 68b64cbaec regen 2009-02-03 01:40:49 +00:00
Mark Andrews d794683e73 add missing [ 2009-02-02 04:47:55 +00:00
Mark Andrews f1463fa3d8 2542. [doc] Update the description of dig +adflag. RT #19290] 2009-02-02 04:44:14 +00:00
Automatic Updater 92b2158062 regen 2009-01-31 02:00:22 +00:00
Mark Andrews bbcca61932 2541. [bug] Conditionally update dispatch manager statistics.
[RT #19247]
2009-01-31 00:44:43 +00:00
Automatic Updater 1dc911b528 update copyright notice 2009-01-30 23:46:48 +00:00
Automatic Updater 228472c480 newcopyrights 2009-01-30 23:30:17 +00:00
Automatic Updater cc07b949cc regen 2009-01-30 23:30:16 +00:00
Mark Andrews ba054c86ac 2539. [security] Update the interaction between recursion, allow-query,
allow-query-cache and allow-recursion.  [RT #19198]
2009-01-30 08:20:47 +00:00
Mark Andrews db83b2a1c7 2539. [security] Update the interaction between recursion, allow-query,
allow-query-cache and allow-recursion.  [RT #19198]
2009-01-30 04:24:59 +00:00
Automatic Updater 5f76aa2d5f regen 2009-01-30 01:40:52 +00:00
Automatic Updater 833b6aca57 update copyright notice 2009-01-29 23:47:14 +00:00
Automatic Updater b200783acd newcopyrights 2009-01-29 23:30:17 +00:00
Automatic Updater c4df43ee98 regen 2009-01-29 23:30:16 +00:00
Tatuya JINMEI 神明達哉 a5111559bb 2537. [experimental] Added more statistics counters including those on socket
I/O events and query RTT histograms. [RT #18802]
2009-01-29 22:41:45 +00:00
Mark Andrews e5a9e2ece7 9.5.1 2009-01-29 03:21:48 +00:00
cvs2git 54fce2270b This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-01-29 01:03:57 +00:00
Automatic Updater c5bd541137 update copyright notice 2009-01-28 23:46:50 +00:00
Automatic Updater 8e51ca217d newcopyrights 2009-01-28 23:30:14 +00:00
Tatuya JINMEI 神明達哉 8ae009698d 2538. [bug] cache/ADB memory could grow over max-cache-size,
especially with threads and smaller max-cache-size
			values. [RT #19240]
2009-01-28 23:24:31 +00:00
Automatic Updater f060747247 regen 2009-01-28 01:41:32 +00:00
Automatic Updater 352c2fc0f6 update copyright notice 2009-01-27 23:46:50 +00:00
Automatic Updater 7860a38fcf newcopyrights 2009-01-27 23:30:19 +00:00
Tatuya JINMEI 神明達哉 2d45099b92 2525. [experimental] New logging category "query-errors" to provide detailed
internal information about query failures, especially
			about server failures. [RT #19027]

(merged into 9.5)
2009-01-27 21:17:40 +00:00
Automatic Updater ec90e18ead update copyright notice 2009-01-23 23:46:44 +00:00
Automatic Updater daa2df86d3 newcopyrights 2009-01-23 23:30:21 +00:00
Automatic Updater 0c2882580b regen 2009-01-23 01:41:20 +00:00
Mark Andrews ca2109aabb move formating out of msgcat 2009-01-23 01:29:18 +00:00
Automatic Updater 095bba9ca3 update copyright notice 2009-01-22 23:46:36 +00:00
Automatic Updater 76063809ef newcopyrights 2009-01-22 23:30:20 +00:00
Mark Andrews 33857225e5 2536. [cleanup] Silence some warnings when -Werror=format-security is
specified. [RT #19083]
2009-01-22 05:53:42 +00:00
Mark Andrews 3669982bf6 2535. [bug] dig +showsearh and +trace interacted badly. [RT #19091] 2009-01-22 05:15:30 +00:00
Mark Andrews 6cd55d6d3d Add missing commas 2009-01-22 02:09:47 +00:00
Automatic Updater 6e879816a6 update copyright notice 2009-01-20 23:46:55 +00:00
Automatic Updater 54f391bc00 newcopyrights 2009-01-20 23:30:15 +00:00
Mark Andrews ef90489db1 2532. [bug] dig: check the question section of the response to
see if it matches the asked question. [RT #18495]
2009-01-20 05:06:17 +00:00
Mark Andrews 95e25f169b 2531. [bug] Change #2207 was incomplete. [RT #19098] 2009-01-20 03:13:00 +00:00
Automatic Updater 8d1b72dd27 update copyright notice 2009-01-19 23:47:03 +00:00
Automatic Updater f0bb8c7948 newcopyrights 2009-01-19 23:30:16 +00:00
Mark Andrews e42a332d2d 2529. [cleanup] Upgrade libtool to silence complaints from recent
version of autoconf. [RT #18657]
2009-01-19 01:59:36 +00:00
Mark Andrews b3f6aa9e54 2529. [cleanup] Upgrade libtool to silence complaints from recent
version of autoconf. [RT #18657]
2009-01-19 01:52:44 +00:00
Mark Andrews 8552bf2079 spelling 2009-01-19 00:01:12 +00:00
Automatic Updater 5181f73551 update copyright notice 2009-01-18 23:46:50 +00:00
Automatic Updater 7dd56a1f9b newcopyrights 2009-01-18 23:30:18 +00:00
Automatic Updater f598092a8e regen 2009-01-18 01:40:13 +00:00
Automatic Updater 96de4f44dc update copyright notice 2009-01-14 23:46:33 +00:00
Automatic Updater 79d9597c4c newcopyrights 2009-01-14 23:30:18 +00:00
Francis Dupont 0d9aa71b7c integrate -P1 patch 2009-01-14 17:41:12 +00:00
Automatic Updater 1ce368824e update copyright notice 2009-01-10 23:46:31 +00:00
Automatic Updater 8908211c75 newcopyrights 2009-01-10 23:30:21 +00:00
Evan Hunt e2257065b0 Silence spurious --datarootdir warning [rt19096] 2009-01-10 02:00:12 +00:00
Automatic Updater 1d10a4ba1c update copyright notice 2009-01-09 23:46:32 +00:00
Automatic Updater d5e4bfcd2a newcopyrights 2009-01-09 23:30:19 +00:00
Tatuya JINMEI 神明達哉 3abeb9ce62 2527. [bug] named could reuse cache on reload with
enabling/disabling validation. [RT #19119]
2009-01-09 22:40:09 +00:00
Automatic Updater 114efc23eb update copyright notice 2009-01-06 23:46:48 +00:00
Automatic Updater af367294c7 newcopyrights 2009-01-06 23:30:14 +00:00
Francis Dupont a851556c9c bug in dns_nsec_typepresent() - 19112 2009-01-06 09:03:24 +00:00
Mark Andrews e83770c99d s/2008/2009/ 2009-01-06 04:00:55 +00:00
Automatic Updater a89e9e18b2 update copyright notice 2009-01-05 23:46:59 +00:00
Automatic Updater 49ccd2d45c newcopyrights 2009-01-05 23:30:15 +00:00
Tatuya JINMEI 神明達哉 c1a1fca08a trivial comment cleanups (RT#19118) 2009-01-05 23:21:50 +00:00
Tatuya JINMEI 神明達哉 93ecc6904e removed a duplicate line 2008-12-25 02:03:09 +00:00
Tatuya JINMEI 神明達哉 48058e86de comment update 2008-12-25 02:01:25 +00:00
Automatic Updater 27462e0c6e update copyright notice 2008-12-24 23:46:32 +00:00
Mark Andrews 28235e849c 2502. [cleanup] isc_radix: Improve compliance with coding style,
document function in <isc/radix.h>. [RT #18534]
2008-12-24 05:09:26 +00:00
Mark Andrews 1239139a2c 2521. [bug] Improve epoll cross compilation support. [RT #19047] 2008-12-22 04:26:34 +00:00
Mark Andrews de3e26173c 9.5.1 2008-12-22 04:20:23 +00:00
Mark Andrews 1c5511b54a 2521. [bug] Improve epoll cross compilation support. [RT #19047] 2008-12-22 04:18:39 +00:00
Tatuya JINMEI 神明達哉 6feca40adf clarification for change #2411 (RT #18783)
Note: with changes #2469 and #2421 above, there is no
			need to tweak ISC_SOCKET_MAXSOCKETS at compilation time
			any more.
2008-12-18 23:51:40 +00:00
Mark Andrews e5a5c944aa 2520. [bug] Update xml statistics version number to 2.0.
[RT #19080]
2008-12-18 02:37:23 +00:00
Automatic Updater 07b2d897ce update copyright notice 2008-12-17 23:46:34 +00:00
Automatic Updater d0bee39dc7 newcopyrights 2008-12-17 23:30:16 +00:00
Tatuya JINMEI 神明達哉 db8024ced2 2519. [bug] dig/host with -4 or -6 didn't work if more than two
nameserver addresses of the excluded address family
			preceded in resolv.conf. [RT #19081]
2008-12-17 19:21:25 +00:00
Automatic Updater b18416e3bb update copyright notice 2008-12-16 23:46:45 +00:00
Automatic Updater 7f46062ef2 newcopyrights 2008-12-16 23:30:24 +00:00
Tatuya JINMEI 神明達哉 f8324d4a93 2517. [bug] dig +trace with -4 or -6 failed when it chose a
nameserver address of the unsupported address.
			[RT #18843]
2008-12-16 02:59:46 +00:00
Tatuya JINMEI 神明達哉 cdbcf65dcf 2516. [bug] glue sort for responses was performed even when not
needed. [RT #19039]
2008-12-16 02:45:05 +00:00
Automatic Updater 018c888384 newcopyrights 2008-12-13 23:30:15 +00:00
Tatuya JINMEI 神明達哉 c017c739cb 2514. [bug] dig/host failed with -4 or -6 when resolv.conf contains
a nameserver of the unsupported address family.
			[RT #18848]
2008-12-13 04:42:59 +00:00
Mark Andrews 09046484ae 2513 [bug] Fix windows cli build. [RT #19062] 2008-12-13 00:26:06 +00:00
Automatic Updater a989c69260 update copyright notice 2008-12-12 23:46:38 +00:00
Automatic Updater 1446cda545 newcopyrights 2008-12-12 23:30:23 +00:00
Mark Andrews 93fe3a73ee 2511. [cleanup] dns_rdata_tofmttext() add const to linebreak.
[RT #18885]
2008-12-12 04:45:18 +00:00
Mark Andrews 504994b965 add 9.5.1rc2 release marker 2008-12-11 03:09:30 +00:00
Automatic Updater 7f14f2cb66 update copyright notice 2008-12-10 23:46:38 +00:00
Mark Andrews adef34a81d 2510. [bug] "dig +sigchase" could trigger REQUIRE failures.
[RT #19033]
2008-12-10 23:27:54 +00:00
Mark Andrews adb88b1989 2509. [bug] Specifying a fixed query source port was broken.
[RT #19051]
2008-12-10 12:45:28 +00:00
Mark Andrews 104d339e1b 2506. [port] solaris: Check at configure time if
hack_shutup_pthreadonceinit is needed. [RT #19037]
2008-12-08 04:59:39 +00:00
Mark Andrews c621b3c63d 2505. [port] Treat amd64 similarly to x86_64 when determining
atomic operation support. [RT #19031]
2008-12-05 02:04:55 +00:00
Mark Andrews 02dae8e6d7 2504. [bug] Address race condition in the socket code. [RT #18899] 2008-12-03 02:22:35 +00:00
Automatic Updater 2e525a52ab update copyright notice 2008-11-27 23:46:44 +00:00
Automatic Updater c83bd3fb3d newcopyrights 2008-11-27 23:30:22 +00:00
Mark Andrews ee5b211d9a remove dead code. [RT #18629] 2008-11-27 23:12:02 +00:00
Mark Andrews c0e1886441 2500. [contrib] contrib/sdb/pgsql/zonetodb.c called non-existant
function. [RT #18582]
2008-11-27 06:16:11 +00:00
Automatic Updater 7bdde15a5d update copyright notice 2008-11-25 23:46:36 +00:00
Automatic Updater a776917519 newcopyrights 2008-11-25 23:30:18 +00:00
Mark Andrews d934d4f130 2499. [port] solaris: lib/lwres/getaddrinfo.c namespace clash.
[RT #18837]
2008-11-25 05:44:06 +00:00
Tatuya JINMEI 神明達哉 0ccc29985c 2498. [bug] Removed a bogus function argument used with
ISC_SOCKET_USE_POLLWATCH: it could cause compiler
			warning or crash named with the debug 1 level
			of logging. [RT #18917]

(Note that this entry is placed under the 9.5.1rc1 mark)
2008-11-20 00:06:01 +00:00
Mark Andrews 8d47095904 silence compiler 2008-11-19 06:20:58 +00:00
Mark Andrews 5172ed9785 1204 -> 1024U 2008-11-19 05:39:32 +00:00
Automatic Updater f4ba2dcad3 9.5.1rc1 2008-11-16 22:03:15 +00:00
Mark Andrews 5dadcf6515 9.5.1rc1 2008-11-16 22:01:09 +00:00
Mark Andrews 6c25e24ae1 2496. [bug] Add sanity length checks to NSID option. [RT #18813] 2008-11-16 21:04:03 +00:00
Automatic Updater a02055f66b update copyright notice 2008-11-14 23:46:41 +00:00
Automatic Updater 22d4a2fe59 newcopyrights 2008-11-14 23:30:14 +00:00
Mark Andrews 56a3bb82db 2495. [bug] Tighten RRSIG checks. [RT #18795] 2008-11-14 22:57:29 +00:00
Mark Andrews 0973621b7d 2494. [bug] isc/radix.h, dns/sdlz.h and dns/dlz.h were not being
installed. [RT #18826]
2008-11-14 05:26:13 +00:00
Mark Andrews 3bcdfee9c6 2493. [bug] The linux capabilites code was not correctly cleaning
up after itself. [RT #18767]
2008-11-14 05:11:42 +00:00
Automatic Updater 0196a0bf89 update copyright notice 2008-11-12 23:46:31 +00:00
Mark Andrews 8b9197762d 2490. [port] aix: work around a kernel bug where IPV6_RECVPKTINFO
is cleared when IPV6_V6ONLY is set. [RT #18785]
2008-11-12 03:56:19 +00:00
Tatuya JINMEI 神明達哉 cfa708b8a7 wording consistency 2008-11-08 22:43:39 +00:00
Tatuya JINMEI 神明達哉 b85af8da8d 2489. [port] solaris: Workaround Solaris's kernel bug about
/dev/poll:
			http://bugs.opensolaris.org/view_bug.do?bug_id=6724237
			Define ISC_SOCKET_USE_POLLWATCH at build time to enable
			this workaround. [RT #18870]
2008-11-08 22:38:11 +00:00
Mark Andrews 322d4716af 2487. [bug] Give TCP connections longer to complete. [RT #18675] 2008-11-07 01:09:55 +00:00
Automatic Updater 2893a84120 update copyright notice 2008-11-06 23:46:35 +00:00
Mark Andrews bd0d066d97 2485. [bug] Change update's the handling of obscured RRSIG
records.  Not all orphand DS records were being
                        removed. [RT #18828]
2008-11-06 02:58:29 +00:00
Mark Andrews 588e5c41af align comment w/ code [RT #18833] 2008-11-06 02:18:34 +00:00
Automatic Updater a275eeb6ac regen 2008-11-05 01:40:01 +00:00
Mark Andrews c7a6defc8e remove debugging log that was accidently left in 2008-11-04 22:28:45 +00:00
Mark Andrews 06c8281a5b grammer, fix reference. [RT #18850] 2008-11-04 02:10:41 +00:00
Automatic Updater e2bedd2721 regen 2008-10-30 01:40:09 +00:00
Francis Dupont c3326f8f32 add RT #18806 resolution 2008-10-29 22:07:03 +00:00
Francis Dupont a78633ee29 add libxm2 v2.7.* support 2008-10-29 22:05:42 +00:00
Jeremy Reed bb570a6a25 Fix typo v9_5. Reported today in ticket #18825.
I already had fixed in HEAD last month.
2008-10-29 15:39:19 +00:00
Mark Andrews 4620d64fbf spelling 2008-10-29 03:20:13 +00:00
Mark Andrews 49b24b6104 missing #'s 2008-10-29 03:02:01 +00:00
Mark Andrews 2e73a22b47 2479. [bug] xfrout:covers was not properly initalized. [RT 18801] 2008-10-29 03:01:04 +00:00
Mark Andrews 68d3dfc88c patch botch 2008-10-28 05:28:52 +00:00
Mark Andrews be17d6193a 2478. [bug] 'addresses' could be used uninitalized in
configure_forward(). [RT 18800]
2008-10-28 05:23:31 +00:00
Automatic Updater 8ee15f8afd regen 2008-10-28 01:40:10 +00:00
Tatuya JINMEI 神明達哉 f5a06504fb added pre-initialization check on cachedb->node_lock_count. 2008-10-27 22:44:48 +00:00
Jeremy Reed 630a802faa 2476. [doc] ARM: improve documentation for max-journal-size and
ixfr-from-differences. [RT #15909] [RT #18541]
2008-10-27 16:10:29 +00:00
Automatic Updater 49852f5a4c 9.5.1b3 2008-10-27 05:06:34 +00:00
Mark Andrews 85bd037bae 9.5.1b3 2008-10-27 04:52:39 +00:00
Mark Andrews 943618fe19 9.5.1b3 2008-10-27 04:43:13 +00:00
Mark Andrews 4eb6d62263 2475. [bug] LRU cache cleanup under overmem condition could purge
particular entries more aggresively. [RT #17628]
2008-10-27 03:56:45 +00:00
Evan Hunt dae23dea71 2474. [bug] ACL structures could be allocated with insufficient
space, causing an array overrun. [RT #18765]
2008-10-24 02:27:46 +00:00
Automatic Updater 5830dea4a5 update copyright notice 2008-10-24 01:44:15 +00:00
Automatic Updater f659e35e81 newcopyrights 2008-10-24 01:41:39 +00:00
Mark Andrews e1db4570c7 2473. [port] linux: raise the limit on open files to the possible
maximum value before spawning threads; 'files'
                        specified in named.conf doesn't seem to work with
                        threads as expected. [RT #18784]
2008-10-24 01:28:29 +00:00
Mark Andrews 3d8c3c8766 2472. [port] linux: check the number of available cpu's before
calling chroot as it depends on "/proc". [RT #16923]
2008-10-24 01:11:41 +00:00
Mark Andrews 3b48eca603 update usage 2008-10-24 00:57:14 +00:00
Mark Andrews c4a5ee7c77 named-checkzone defaults 2008-10-24 00:53:35 +00:00
Mark Andrews eea693e4b1 2471. [bug] named-checkzone was not reporting missing manditory
glue when sibling checks were disabled. [RT #18768]
2008-10-24 00:36:26 +00:00
Mark Andrews 0821bdef8b 2470. [bug] Elements of the isc_radix_node_t could be incorrectly
overwritten.  [RT# 18719]
2008-10-23 00:04:11 +00:00
Mark Andrews e3012aaa95 2469. [port] solaris: Work around Solaris's select() limitations.
[RT #18769]
2008-10-21 02:46:16 +00:00
Automatic Updater fece28898a regen 2008-10-18 01:40:15 +00:00
Tatuya JINMEI 神明達哉 5ad51e9362 2468. [bug] Resolver could try unreachable servers multiple times.
[RT #18739]
2008-10-17 22:01:00 +00:00
Tatuya JINMEI 神明達哉 4f4d753ce0 missing changes entry 2008-10-17 22:00:41 +00:00
Tatuya JINMEI 神明達哉 0fe2ff3c60 2467. [bug] Failure of fcntl(F_DUPFD) wasn't logged. [RT #18740] 2008-10-17 21:52:05 +00:00
Jeremy Reed 6441a6b67e 2466. [doc] ARM: explain max-cache-ttl 0 SERVFAIL issue.
[RT #18302]
2008-10-17 19:38:56 +00:00
Mark Andrews aabfeb3b1d 2465. [bug] Adb's handling of lame addresses was different
for IPv4 and IPv6. [RT #18738]
2008-10-17 03:36:10 +00:00
Automatic Updater 864f42b027 regen 2008-10-17 01:39:25 +00:00
Automatic Updater 53dc3d7cf1 update copyright notice 2008-10-16 23:46:32 +00:00
Automatic Updater 243048bd09 newcopyrights 2008-10-16 23:30:22 +00:00
Mark Andrews d203c9fc4d term -> option 2008-10-16 23:13:52 +00:00
Automatic Updater eed120cd09 regen 2008-10-16 01:39:58 +00:00
Mark Andrews 824528aba0 2464. [port] linux: check that a capability is present before
trying to set it. [RT #18135]
2008-10-15 23:59:41 +00:00
Automatic Updater a42f99fddc update copyright notice 2008-10-15 23:46:53 +00:00
Automatic Updater 755f2823f3 newcopyrights 2008-10-15 23:30:15 +00:00
Mark Andrews e7594d6244 silence compiler warning 2008-10-15 22:40:34 +00:00
Mark Andrews a9b45aa396 Add missing formating tags. No content changes. 2008-10-15 22:18:33 +00:00
Mark Andrews cad76f5797 2464. [port] linux: check that a capability is present before
trying to set it. [RT #18135]
2008-10-15 05:04:53 +00:00
Mark Andrews c84ef0c62a silence coverity false positive 2008-10-15 04:25:43 +00:00
Mark Andrews b83aa9c2bb libbind:coverity analysis support. [RT #18196] 2008-10-15 03:56:26 +00:00
Mark Andrews 0cb0d881c4 evloop prototype. [RT #18196] 2008-10-15 03:41:18 +00:00
Mark Andrews c6e88b5aeb coverity analysis support. [RT #18196] 2008-10-15 03:36:45 +00:00
Mark Andrews 55cc1ded88 sig is only used if threads are in use. [RT #18196] 2008-10-15 03:21:04 +00:00
Mark Andrews bebecf1811 constistant declaration of progname. [RT #18196] 2008-10-15 03:06:21 +00:00
Mark Andrews 7fab106975 make the arrays rcodetext and opcodetext readonly. [RT #18196] 2008-10-15 02:18:45 +00:00
Automatic Updater b9f3a055f5 regen 2008-10-15 01:40:39 +00:00
Mark Andrews d479b2c72a Change the SEE ALSO from obsolete 2535 to 4033 2008-10-15 01:16:59 +00:00
Mark Andrews f5f99733e1 regen 2008-10-15 00:15:21 +00:00
Mark Andrews 43feb8d253 2463. [port] linux: POSIX doesn't include the IPv6 Advanced Socket
API and glibc hides parts of the IPv6 Advanced Socket
                        API as a result.  This is stupid as it breaks how the
                        two halves (Basic and Advanced) of the IPv6 Socket API                          were designed to be used but we have to live with it.
                        Define _GNU_SOURCE to pull in the IPv6 Advanced Socket
                        API. [RT #18388]
2008-10-15 00:12:52 +00:00
Mark Andrews 7ea0a81627 use build_os not host for change 2461 2008-10-15 00:09:14 +00:00
Mark Andrews 0edc4f158e document --enable-largefile 2008-10-14 04:27:30 +00:00
Automatic Updater 0a70099ef1 regen 2008-10-14 01:40:22 +00:00
Mark Andrews e322d938d5 2462. [doc] Document -m (enable memory usage debugging)
option for dig. [RT #18757]
2008-10-14 00:55:12 +00:00
Mark Andrews 2507b24bd1 2462. [doc] Document -m (enable memory usage debugging)
option for dig. [RT #18757]
2008-10-14 00:22:25 +00:00
Mark Andrews 316a9f9e0f 2461. [port] sunos: Change #2363 was not complete. [RT #17513] 2008-10-13 00:36:20 +00:00
Evan Hunt 9b65a75518 suppress an error message on solaris. [rt18253] 2008-10-09 21:28:37 +00:00
Automatic Updater d470833997 regen 2008-10-04 01:39:48 +00:00
Mark Andrews e7e3f5d064 Minor grammar and punctuation changes. [RT #18703] 2008-10-03 22:09:24 +00:00
Automatic Updater 697df8a0d8 regen 2008-09-28 01:40:23 +00:00
Tatuya JINMEI 神明達哉 f728f5655c missing RT number 2008-09-27 23:52:51 +00:00
Tatuya JINMEI 神明達哉 f722bafb94 2458. [doc] ARM: update and correction for max-cache-size.
[RT #18294]
2008-09-27 23:50:50 +00:00
Tatuya JINMEI 神明達哉 570cb1495c 2457. [tuning] max-cache-size is reverted to 0, the previous
default.  It should be safe because expired cache
			entries are also purged.
2008-09-27 23:39:42 +00:00
Automatic Updater 331365a7dd update copyright notice 2008-09-26 23:46:32 +00:00
Automatic Updater 4de3c174d6 newcopyrights 2008-09-26 23:30:13 +00:00
Evan Hunt b8ed8cbcd9 2456. [bug] In ACLs, ::/0 and 0.0.0.0/0 would both match any
address, regardless of family.  They now correctly
			distinguish IPv4 from IPv6.  [RT #18559]
2008-09-26 21:17:48 +00:00
Mark Andrews fc24d649af 2369. [bug] libbind: Array bounds overrun on read in bitncmp().
[RT #18054]
2008-09-26 06:30:52 +00:00
Mark Andrews a418129ad0 0 -> dns_rdatatype_none 2008-09-25 04:15:41 +00:00
Automatic Updater 594b42f339 update copyright notice 2008-09-25 04:02:07 +00:00
Automatic Updater ae81630e7a newcopyrights 2008-09-25 03:59:46 +00:00
Mark Andrews 61d7e9c26e 2455. [bug] Stop metadata being transfered via axfr/ixfr.
[RT #18639]
2008-09-25 03:54:04 +00:00
Evan Hunt 4ac0f854ef line missing from previous 2008-09-25 03:39:52 +00:00
Evan Hunt bd6174a192 fixed missing backquotes 2008-09-25 03:39:51 +00:00
Mark Andrews 470be8037f 2453. [bug] Remove NULL pointer dereference in dns_journal_print().
[RT #18316]
2008-09-25 02:07:56 +00:00
Mark Andrews 5d40a68da0 regen 2008-09-25 01:42:05 +00:00
Mark Andrews e163a67550 patch miss applied 2008-09-25 01:41:35 +00:00
Mark Andrews 8056d06160 2451. [port] solaris: handle runtime linking better. [RT #18356] 2008-09-25 01:38:58 +00:00
Automatic Updater f0af7d0997 newcopyrights 2008-09-24 23:30:17 +00:00
Mark Andrews 41c649cb82 2387. [bug] Silence compiler warnings in lib/isc/radix.c.
[RT #18147] [RT #18258]
2008-09-24 06:53:40 +00:00
Mark Andrews adb3b16e56 2449. [bug] libbind: Out of bounds reference in dns_ho.c:addrsort.
[RT #18044]
2008-09-24 05:41:39 +00:00
Automatic Updater 366e4a1287 regen 2008-09-24 01:42:52 +00:00
Evan Hunt 129c8794c5 remove duplicate change note 2008-09-23 21:44:30 +00:00
Mark Andrews d443cb2cb7 2445. [doc] ARM out-of-date on empty reverse zones (list includes
RFC1918 address, but these are not yet compiled in).
                        [RT #18578]
2008-09-23 04:00:39 +00:00
Mark Andrews 6a858014fb 2444. [port] Linux, FreeBSD, AIX: Turn off path mtu discovery
(clear DF) for UDP responses and requests.
2008-09-23 02:30:57 +00:00
Evan Hunt 41b814a6ca update for 9.5.1b2 release 2008-09-16 16:35:31 +00:00
Evan Hunt 38b85bd324 prepare 9.5.0b2 release 2008-09-16 16:32:33 +00:00
Evan Hunt 5207c63494 bump 9.5.1b2 release note 2008-09-16 16:25:21 +00:00
Michael Graff 2bbbad29cd win32: UDP connect() would not generate an event, and so connected UDP sockets would never clean up. Fix this by doing an immediate WSAConnect() rather than an io completion port type for UDP. 2008-09-16 01:47:27 +00:00
Mark Andrews fe8bda0545 2442. [bug] A lock could be destroyed twice. [RT# 18626] 2008-09-14 04:58:05 +00:00
Automatic Updater 26687c8c19 update copyright notice 2008-09-12 23:46:45 +00:00
Evan Hunt 1f2d1268cf Further updates to README to clarify the situation with Windows builds. 2008-09-12 06:10:04 +00:00
Evan Hunt 420350c113 2441. [bug] isc_radix_insert() could copy radix tree nodes
incompletely. [RT #18573]

2440.   [bug]		named-checkconf used an incorrect test to determine
			if an ACL was set to none.
2008-09-12 06:03:22 +00:00
Evan Hunt 18189315bc possible null dereference in dns_acl_isanyornone() [rt18559] 2008-09-12 04:55:04 +00:00
Automatic Updater 7654cb1308 regen 2008-09-12 01:43:01 +00:00
Automatic Updater 5c9ef029d7 update copyright notice 2008-09-11 23:46:38 +00:00
Automatic Updater 627fffe1b0 newcopyrights 2008-09-11 23:30:25 +00:00
Evan Hunt 069a1e3312 prepare release of 9.5.1b2 2008-09-11 23:22:06 +00:00
Evan Hunt 16afb60092 Update doc to remove references to Windows NT and Windows 2000 2008-09-11 22:59:08 +00:00
Evan Hunt 3f2867b068 timeouts could be logged incorrectly under win32 [rt18617] 2008-09-11 21:02:43 +00:00
Mark Andrews cd201adfc1 maxsocks -> 0 2008-09-11 08:02:53 +00:00
Mark Andrews 0be665e6f2 CONSISTENT -> consistent 2008-09-11 07:06:27 +00:00
Mark Andrews 4085c01334 updare isc_mutex_stats define 2008-09-11 06:56:04 +00:00
Mark Andrews 1509038d95 whitespace 2008-09-11 06:51:26 +00:00
Evan Hunt 83264deef5 corrected patch error, duplicate routine 2008-09-11 06:09:02 +00:00
Evan Hunt f1c9b6ec29 fix change numbering, 2406->2437 2008-09-11 05:41:12 +00:00
Evan Hunt 847a3724bc Windows sockets won't connect unless the socket is bound. 2008-09-11 04:25:29 +00:00
Evan Hunt 2e423eff9f Re-merge fixes from 9.5.0-P2-W1, ideally this time without obliterating
all the changes that had been put in since the branches diverged...
2008-09-11 04:10:17 +00:00
Evan Hunt 8db677781e revert prior change to socket.c; it was missing some changes that are
needed
2008-09-11 03:18:42 +00:00
Evan Hunt 9bf08e37f9 merged in the remaining fixes from 9.5.0-P2-W1 and -W2 2008-09-11 02:23:55 +00:00
Evan Hunt ba2b051236 pull up windows acl leak fix from 9.5.0-P2-W1 2008-09-10 21:54:08 +00:00
Automatic Updater e3e5d55904 update 2008-09-10 03:09:13 +00:00
Automatic Updater 59fed21561 rfc5155.txt 2008-09-10 03:09:12 +00:00
Automatic Updater 9b549c70d1 rfc4648.txt 2008-09-10 03:09:10 +00:00
Automatic Updater 55b8e5104e regen 2008-09-10 01:43:22 +00:00
Automatic Updater 973bd57223 regen 2008-09-05 01:42:59 +00:00
Automatic Updater ea37d45522 update copyright notice 2008-09-04 23:46:41 +00:00
Automatic Updater 6777d7d610 newcopyrights 2008-09-04 23:30:19 +00:00
Mark Andrews 00d4f67a10 2398. [bug] Improve file descriptor management. New,
temporary, named.conf option reserved-sockets,
                        default 512. [RT #18344]
2008-09-04 07:58:07 +00:00
Mark Andrews 1761e1c8ff 2433. [tuning] Set initial timeout to 800ms. 2008-09-04 04:28:31 +00:00
Tatuya JINMEI 神明達哉 98c61e5596 cleanup: unused function parameter [RT #18572] 2008-09-04 00:23:59 +00:00
Mark Andrews 2be97eb46a 2431. [bug] Acl processing could leak memory. [RT #18323] 2008-09-01 05:40:22 +00:00
Automatic Updater a11d334790 regen 2008-09-01 02:40:05 +00:00
Automatic Updater ff47185b27 update copyright notice 2008-08-29 23:46:52 +00:00
Automatic Updater 562021b6d7 newcopyrights 2008-08-29 23:30:18 +00:00
Mark Andrews b3ea7edc7a 2430. [bug] win32: isc_interval_set() could round down to
zero if the input was less than NS_INTERVAL
                        nanoseconds.  Round up instead. [RT #18549]
2008-08-29 04:06:22 +00:00
Mark Andrews 3fde4efbd1 nsupdate.8 -> nsupdate.1 2008-08-29 03:26:41 +00:00
Mark Andrews 6253de55a7 2429. [doc] nsupdate should be in section 1 of the man pages.
[RT #18283]
2008-08-29 03:20:03 +00:00
cvs2git 00f151eb6c This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-08-29 03:16:17 +00:00
Mark Andrews 558a1216bb 2428. [bug] dns_iptable_merge() mishandled merges of negative
tables. [RT #18409]
2008-08-27 04:53:58 +00:00
Automatic Updater 05203819ec newcopyrights 2008-08-26 23:30:17 +00:00
Mark Andrews fc17bb228e missing pair of '[]'. [RT#18422] 2008-08-26 14:51:07 +00:00
Mark Andrews 435892a597 2426. [bug] libbind: inet_net_pton() can sometimes return the
wrong value if excessively large netmasks are
                        supplied. [RT #18512]
2008-08-26 04:42:38 +00:00
Tatuya JINMEI 神明達哉 0af4666d72 2425. [bug] named didn't detect unavailable query source addresses
at load time. [RT #18536]
2008-08-26 02:05:56 +00:00
Automatic Updater 84791246fc update copyright notice 2008-08-22 23:46:32 +00:00
Automatic Updater ece87b2cf2 newcopyrights 2008-08-22 23:30:16 +00:00
Mark Andrews af40d1b37a 2424. [port] configure now probes for a working epoll
implementation.  Allow the use of kqueue,
                        epoll and /dev/poll to be selected at compile
                        time. [RT #18277]
2008-08-22 13:25:27 +00:00
Mark Andrews 1fda48bcef 2424. [port] configure now probes for a working epoll
implementation.  Allow the use of kqueue,
                        epoll and /dev/poll to be selected at compile
                        time. [RT #18277]
2008-08-22 13:22:32 +00:00
Mark Andrews e40d92c25f silence compiler warning 2008-08-22 05:58:45 +00:00
Mark Andrews 36ee383d4d add ${LDFLAGS} to gsstest link command 2008-08-22 05:27:24 +00:00
Mark Andrews 3e224effd8 adjust log message added by change 2409. [RT #18497] 2008-08-22 05:02:02 +00:00
Evan Hunt 055f020f9c fixed numbering 2008-08-22 04:17:38 +00:00
Automatic Updater 3c3f500120 update copyright notice 2008-08-21 23:46:48 +00:00
Automatic Updater 331dc9dae6 newcopyrights 2008-08-21 23:30:20 +00:00
Mark Andrews 39f47ff683 2421. [bug] Handle the special return value of a empty node as
if it was a NXRRSET in the validator. [RT #18447]
2008-08-21 04:56:39 +00:00
Tatuya JINMEI 神明達哉 1ffcbe8b43 2420. [func] Add new command line option '-S' for named to specify
the max number of sockets. [RT #18493]
			Use caution: this option may not work for some
			operating systems without rebuilding named.
2008-08-21 00:01:02 +00:00
Mark Andrews 586655fbbd 2419. [cleanup] Document that isc_socket_create() and isc_socket_open()
should not be used for isc_sockettype_fdwatch sockets.
                        [RT #18521]
2008-08-20 06:20:16 +00:00
Tatuya JINMEI 神明達哉 cf768e3189 2418. [bug] AXFR request on a DLZ could trigger a REQUIRE failure
[RT #18430]
2008-08-15 19:38:27 +00:00
Tatuya JINMEI 神明達哉 7e6b99380a typo: s/dns_displist_t/dispsocketlist_t/ 2008-08-15 17:46:55 +00:00
Tatuya JINMEI 神明達哉 2a92cae1ed 2417. [bug] Connecting UDP sockets for outgoing queries could
unexpectedly fail with an 'address already in use'
			error. [RT #18411]
2008-08-15 17:31:05 +00:00
Tatuya JINMEI 神明達哉 787a264c0a 2416. [func] Log file descriptors that cause exceeding the
internal maximum. [RT #18460]
2008-08-13 23:45:05 +00:00
Tatuya JINMEI 神明達哉 125fb22fe3 2415. [bug] 'rndc dumpdb' could trigger various assertion failures
in rbtdb.c. [RT #18455]
2008-08-13 02:29:53 +00:00
Tatuya JINMEI 神明達哉 9aaf1cefe5 2414. [bug] A masterdump context held the database lock too long,
causing various troubles such as dead lock and
			recursive lock acquisition. [RT #18311, #18456]
2008-08-13 02:20:58 +00:00
Tatuya JINMEI 神明達哉 a49b510dd0 2413. [bug] Fixed an unreachable code path in socket.c. [RT #18442] 2008-08-09 19:02:57 +00:00
Automatic Updater 1242a991dd update copyright notice 2008-08-08 06:28:28 +00:00
Automatic Updater 540e86e440 newcopyrights 2008-08-08 06:26:17 +00:00
Mark Andrews 1586d87c6d 2412. [bug] win32: address a resourse leak. [RT #18374] 2008-08-08 05:10:34 +00:00
Automatic Updater ea2f2014ce update copyright notice 2008-08-07 23:47:04 +00:00
Automatic Updater f4f7234297 newcopyrights 2008-08-07 23:30:16 +00:00
Tatuya JINMEI 神明達哉 6eeaf3857a 2411. [bug] Allow using a larger number of sockets than FD_SETSIZE
for select().  To enable this, set ISC_SOCKET_MAXSOCKETS
			at compilation time.  [RT #18433]
2008-08-07 21:29:06 +00:00
Mark Andrews b40413d1fe 2410. [bug] Correctly delete m_versionInfo. [RT #18432] 2008-08-07 01:28:02 +00:00
Evan Hunt e10ab3e234 added missing comma to fix build error 2008-08-06 14:17:44 +00:00
Mark Andrews a6b5c67820 func->bug 2008-08-06 06:18:09 +00:00
Mark Andrews 4037bea761 2409. [func] Only log that we disabled EDNS processing if we were
subsequently successful.  [RT #18029]
2008-08-06 06:14:15 +00:00
Tatuya JINMEI 神明達哉 008d229d3c 2408. [bug] A duplicate TCP dispatch event could be sent, which
could then trigger an assertion failure in
			resquery_response().  [RT #18275]
2008-08-05 19:19:11 +00:00
Mark Andrews 1e10d71c2a 2407. [port] hpux: test for sys/dyntune.h. [RT #18421] 2008-08-05 07:13:54 +00:00
Automatic Updater abf99a3832 update copyright notice 2008-08-01 23:46:30 +00:00
Automatic Updater 63245b71da newcopyrights 2008-08-01 23:30:25 +00:00
Tatuya JINMEI 神明達哉 97eb3cea9c 2406. [bug] Sockets could be closed too early, leading to
inconsistent states in the socket module. [RT #18298]
2008-08-01 19:05:03 +00:00
Tatuya JINMEI 神明達哉 138a71a878 2386. [func] Add warning about too small 'open files' limit.
[RT #18269]
2008-08-01 01:58:15 +00:00
Tatuya JINMEI 神明達哉 75cd9a220e typo 2008-07-29 22:10:31 +00:00
Evan Hunt d406c6833f added note about dnssec-validation change 2008-07-29 02:27:08 +00:00
Automatic Updater 2a35cc7a9a update copyright notice 2008-07-28 23:46:54 +00:00
Mark Andrews 128ea8aeb1 2404. [port] hpux: files unlimited support. 2008-07-28 23:00:11 +00:00
Mark Andrews f01b7f5404 2403. [bug] TSIG context leak. [RT #18341] 2008-07-28 08:42:50 +00:00
Mark Andrews 2e06fbd975 remove extra 'be' 2008-07-27 04:42:14 +00:00
Francis Dupont e9ed51a3ca Support Solaris 2.11 and over. [RT #18362] 2008-07-25 20:43:57 +00:00
Francis Dupont 360e7f0b3e Expect to get E[MN]FILE errno internal_accept() [RT #18358] 2008-07-24 09:59:15 +00:00
Tatuya JINMEI 神明達哉 0b601088ed 2400. [bug] Log if kqueue()/epoll_create()/open(/dev/poll) fails.
[RT #18297]
2008-07-24 05:25:41 +00:00
Tatuya JINMEI 神明達哉 752e1c03fa comment wording 2008-07-24 04:56:55 +00:00
Automatic Updater 2c5ff6cd03 update copyright notice 2008-07-23 23:46:35 +00:00
Mark Andrews c2166d6047 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
part 2
2008-07-23 23:31:18 +00:00
Mark Andrews fe96c037e1 2397. [bug] gssapi_functions bad declaration. [RT #18355] 2008-07-23 10:33:26 +00:00
Automatic Updater ce43e907d7 update copyright notice 2008-07-22 23:46:34 +00:00
Automatic Updater da3eed0767 newcopyrights 2008-07-22 23:30:18 +00:00
Mark Andrews 5597005490 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 03:46:44 +00:00
Mark Andrews f20fd813e9 2395. [port] Avoid warning and no effect from "files unlimited"
on Linux when running as root. [RT #18335]
2008-07-21 03:39:59 +00:00
Francis Dupont db07eedf76 "files unlimited" in code [rt18331] 2008-07-20 09:41:06 +00:00
Evan Hunt 95abec181a Nested acls containing keys could trigger an assertion in acl.c. [rt18166] 2008-07-19 00:09:17 +00:00
Evan Hunt a5bd6992ed remove 'grep -q' from acl test script, some platforms don't
support it. [rt18253]
2008-07-19 00:04:20 +00:00
Automatic Updater 6cccf0c91b update copyright notice 2008-07-18 23:46:33 +00:00
Automatic Updater a69cd4e791 regen 2008-07-18 23:30:20 +00:00
Mark Andrews fed646db58 change 2390 leaked memory 2008-07-18 06:08:18 +00:00
Mark Andrews 2498f08d8e #ifdef EPROTO/#endif 2008-07-18 03:44:16 +00:00
Tatuya JINMEI 神明達哉 3c0b101fec 2391 [port] hpux: cover additional recvmsg() error codes.
[RT #18301]
2008-07-18 02:45:18 +00:00
Tatuya JINMEI 神明達哉 bc0c2f6f29 2390 [bug] dispatch.c could make a false warning on 'odd socket'.
[RT #18301].
2008-07-18 02:37:17 +00:00
Mark Andrews 870745274d update description 2008-07-18 02:04:52 +00:00
Mark Andrews 602d8bb0f4 2389 [bug] Move the working directory writable to after the
ns_os_changeuser() call. [RT #18326]
2008-07-18 01:33:54 +00:00
Tatuya JINMEI 神明達哉 78fbdef6f1 2388. [bug] Avoid using tables for layout purposes in
statistics XSL [RT #18159].
2008-07-17 23:50:58 +00:00
Automatic Updater 103de71909 update copyright notice 2008-07-15 23:46:46 +00:00
Automatic Updater cf9fe4428c newcopyrights 2008-07-15 23:30:22 +00:00
Mark Andrews 7f0c05d05b update libtool and sunos4 2008-07-15 14:45:55 +00:00
Mark Andrews 9da2656665 update reference 2008-07-15 05:47:40 +00:00
Evan Hunt 98faece03c remove reference to KNOWN-DEFECTS 2008-07-15 01:29:39 +00:00
Evan Hunt a93093491a Several BSD-related fixes for port range:
- add param.h for NetBSD [rt18228]
 - use correct sysctl strings on NetBSD [rt18230]
 - use net.inet.ip.portrange.hiport/hilast instead of
   first/last on FreeBSD [rt18234]
 - define sysctl strings for DragonFly [rt18235]
 - use sysctl() on OpenBSD because it doesn't support
   sysctlbyname() [rt18231]
2008-07-04 05:52:16 +00:00
Evan Hunt ce7696c571 re-merged rt18194 after fixing problems 2008-07-03 00:14:13 +00:00
Automatic Updater 9a0cdddade update copyright notice 2008-07-01 23:46:44 +00:00
Automatic Updater ae1b066f4d newcopyrights 2008-07-01 23:30:18 +00:00
Evan Hunt c9d23695b8 corrected two out-of-order changes in CHANGES 2008-07-01 06:22:17 +00:00
Evan Hunt 135a827e32 remove references to obsolete routine dns_resolver_createdispatchpool() 2008-07-01 03:03:44 +00:00
Evan Hunt 0743af8b4b Merge rt18194 to enable windows build 2008-07-01 02:09:10 +00:00
Evan Hunt e0b19ae88c prepare to release 9.5.1b1 2008-06-30 23:43:33 +00:00
Evan Hunt f5e26fbb79 update api files for 9.5.1b1 2008-06-30 23:33:13 +00:00
Evan Hunt 8b89dd91ba Releasing 9.5.1b1 2008-06-30 22:44:59 +00:00
Tatuya JINMEI 神明達哉 8cf7e17601 prevent null socket dereference in IPv6 interface address adjustment
[RT #18203]
2008-06-26 22:16:58 +00:00
Tatuya JINMEI 神明達哉 68538c106f 2385. [bug] A condition variable in socket.c could leak in
rare error handling [RT #17968].
2008-06-25 23:19:05 +00:00
Tatuya JINMEI 神明達哉 64cb443b78 work around HP-UX UDP connect behavior [RT #18202] 2008-06-25 22:57:01 +00:00
Tatuya JINMEI 神明達哉 6cc9d08d12 typo 2008-06-25 00:10:40 +00:00
Automatic Updater 6170a1cbb4 update copyright notice 2008-06-24 23:46:27 +00:00
Automatic Updater e0e85f6ba7 newcopyrights 2008-06-24 23:30:18 +00:00
Automatic Updater fd42a23377 regen 2008-06-24 23:30:17 +00:00
Mark Andrews 32d56ec3e4 #include <config.h>, restore 'static inline' 2008-06-24 23:26:49 +00:00
Mark Andrews ff3fafc428 static inline -> inline 2008-06-24 21:43:44 +00:00
Tatuya JINMEI 神明達哉 2c4eba5b5a newline 2008-06-24 01:58:41 +00:00
Tatuya JINMEI 神明達哉 e967a73d77 include sys/sysctl.h only if HAVE_SYS_SYSCTL_H is defined. 2008-06-24 01:43:40 +00:00
Automatic Updater 69d39ed2e5 regen 2008-06-24 01:42:14 +00:00
Tatuya JINMEI 神明達哉 cfed2ee62a regen 2008-06-24 00:10:49 +00:00
Tatuya JINMEI 神明達哉 1766e3e5aa 2384. [security] Additional support for query port randomization (change
#2375) including performance improvement and port range
			specification.  [RT #17949, #18098]
2008-06-24 00:09:12 +00:00
cvs2git 0d940038e4 This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-06-23 23:47:14 +00:00
Tatuya JINMEI 神明達哉 2e6ce48c34 recovered resolver stat initialization that was accidentally lost in 9.5.0-P1 2008-06-23 23:30:59 +00:00
Automatic Updater fb44d91ff2 regen 2008-06-18 01:42:46 +00:00
Automatic Updater cfaa17671d newcopyrights 2008-06-17 23:30:25 +00:00
Tatuya JINMEI 神明達哉 2a128f5386 (forgot RT#) 2008-06-17 22:41:14 +00:00
Tatuya JINMEI 神明達哉 783224b143 2383. [bug] named could double queries when they resulted in
SERVFAIL due to overkilling EDNS0 failure detection.
2008-06-17 22:36:03 +00:00
Mark Andrews ef10c16c06 2382. [doc] Add descriptions of DHCID, IPSECKEY, SPF and SSHFP
to ARM.
2008-06-17 06:44:46 +00:00
cvs2git 867d55617b This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-06-17 06:39:01 +00:00
Mark Andrews db3f58cef5 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:03:31 +00:00
Mark Andrews 6ce96fdb2b 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:22:24 +00:00
Automatic Updater 0107d4b94e newcopyrights 2008-06-13 23:30:19 +00:00
Tatuya JINMEI 神明達哉 10bb5de410 2379. [contrib] queryperf/gen-data-queryperf.py: removed redundant
TLDs and supported RRs with TTLs [RT #17972]
2008-06-13 18:18:04 +00:00
Tatuya JINMEI 神明達哉 b5af28291f 2378. [bug] gssapi_functions{} had a redundant member in BIND 9.5.
[RT #18169]
2008-06-13 00:20:22 +00:00
Tatuya JINMEI 神明達哉 98933c165f removed a redundant member from gssapi_functions{} [RT #18169] 2008-06-13 00:17:09 +00:00
Automatic Updater 4bf9757496 update copyright notice 2008-06-04 23:46:32 +00:00
Automatic Updater 54880cd0e0 newcopyrights 2008-06-04 23:30:16 +00:00
Jeremy Reed 13df807778 Remove trailing (extra) comma in enum.
Fixes "Unexpected" error with AIX cc (and probably other old compilers).
As reported on bind-users and confirmed by original poster.
This is for bugs ticket #18151.
2008-06-04 22:34:31 +00:00
Automatic Updater d1ce98b4dc regen 2008-06-04 02:51:13 +00:00
Tatuya JINMEI 神明達哉 800ec63dfc cleanup (removed meaningless condition) [RT #18144] 2008-06-04 01:12:20 +00:00
Automatic Updater 338dc11376 update copyright notice 2008-06-02 23:46:32 +00:00
Automatic Updater 7597ccff8c newcopyrights 2008-06-02 23:30:24 +00:00
Mark Andrews 9205748541 2377. [bug] Address race condition in dnssec-signzone. [RT #18142] 2008-06-02 00:27:17 +00:00
Mark Andrews a9e440af0a - KNOWN-DEFECTS 2008-06-02 00:09:29 +00:00
Automatic Updater 16cdc2fc93 update copyright notice 2008-05-30 23:46:31 +00:00
Automatic Updater 500fe450bc newcopyrights 2008-05-30 23:30:16 +00:00
Tatuya JINMEI 神明達哉 15280ddf7f fixed a typo in comment [RT #18130] 2008-05-30 18:28:53 +00:00
Automatic Updater 11ac60f81a update copyright notice 2008-05-29 23:46:34 +00:00
Automatic Updater 30162a73f4 newcopyrights 2008-05-29 23:30:21 +00:00
Evan Hunt d978441bfc removed KNOWN-DEFECTS now that the fix has been committed 2008-05-29 22:54:49 +00:00
Evan Hunt 22b8be6acb Zone ACLs used too much memory on systems with large numbers of zones [rt18092] 2008-05-29 22:54:02 +00:00
Mark Andrews a8e5c0229e 2376. [bug] Change #2144 was not complete. 2008-05-29 05:28:54 +00:00
Automatic Updater 3e9ce03245 regen 2008-05-29 01:41:58 +00:00
Automatic Updater efcf8c8bf6 regen 2008-05-29 01:41:57 +00:00
Evan Hunt 1bff2d56a0 Reverse "dnssec-validation" default from no to yes, per Joao. [rt18121] 2008-05-28 21:00:25 +00:00
Evan Hunt 677b69cee2 Update for 9.5.0-P1, removing dns_dispatch_hash() 2008-05-28 19:34:21 +00:00
Automatic Updater f9ecef19c7 regen 2008-05-28 01:41:59 +00:00
Evan Hunt fe75a4844e update for 9.5.0-P1 2008-05-27 22:46:39 +00:00
Evan Hunt 3917e0f147 Fully randomize UDP query ports to improve forgery resilience. [rt17949] 2008-05-27 22:36:11 +00:00
Mark Andrews 0598502e9e KNOWN-DEFECTS 2008-05-23 02:37:54 +00:00
Evan Hunt 4883ba14a2 Tidied the text a little 2008-05-22 22:15:04 +00:00
Evan Hunt 1b009fdcb6 Added KNOWN-DEFECTS file and changed README to refer to it, so as
to include fix for rt18092 in 9.5.0 final, without the risk of
including insufficiently-tested code.
2008-05-21 23:51:47 +00:00
Evan Hunt 305ef3b37e - "blackhole" ACLs could cause named to segfault due to some uninitialized
memory. [rt18095]
- Also removed some erroneously duplicated code in zoneconf.c
2008-05-21 23:26:11 +00:00
Evan Hunt 4f47207ff3 Releasing 9.5.0 2008-05-17 06:15:36 +00:00
Automatic Updater 9367357752 update copyright notice 2008-05-15 23:46:37 +00:00
Automatic Updater fcf5669651 newcopyrights 2008-05-15 23:30:21 +00:00
Automatic Updater 3751d910d4 regen 2008-05-15 01:42:11 +00:00
Evan Hunt 42a1be3481 fixed incorrect TAG_HMACSHA256_BITS value [rt18047] 2008-05-15 00:50:50 +00:00
Automatic Updater 09d567f784 update copyright notice 2008-05-14 23:46:33 +00:00
Automatic Updater 4edcb0a7b4 newcopyrights 2008-05-14 23:30:18 +00:00
Evan Hunt e86a55fa74 Updating for 9.5.0 release 2008-05-14 18:55:47 +00:00
Automatic Updater e81a504bc9 regen 2008-05-14 01:42:16 +00:00
Evan Hunt 674e9786c9 add +nsid option to dig man page. [rt18039] 2008-05-13 23:59:03 +00:00
Automatic Updater 8f205b69b1 update copyright notice 2008-05-13 23:46:31 +00:00
Evan Hunt 03007a2095 "rndc freeze" could trigger an assertion in named when called on a
nonexistent zone. [rt18050]
2008-05-13 01:23:22 +00:00
Mark Andrews b0b37d3fcf spelling 2008-05-13 00:28:26 +00:00
Evan Hunt 47682a39a6 Releasing 9.5.0rc1 2008-05-06 01:55:20 +00:00
Evan Hunt c6fe8292ad Releasing 9.5.0rc1 2008-05-06 01:47:41 +00:00
Automatic Updater 09216afdb1 regen 2008-05-06 01:41:47 +00:00
Evan Hunt ecc7721a06 Linux: use libcap for capability management if possible. [RT# 18026] 2008-05-06 01:33:33 +00:00
Evan Hunt 37df6394c2 Improve counting of dns_resstatscounter_retry [rt18030] 2008-05-06 01:11:30 +00:00
Evan Hunt c38498dc94 Document changes to "rrset-order fixed". [rt17977] 2008-05-05 22:38:15 +00:00
Mark Andrews cbcda9fcbf add lock comment 2008-05-03 05:06:03 +00:00
Mark Andrews 4d5d79c2bf 2366. [bug] Adb shutdown race. [RT #18021] 2008-05-02 04:42:32 +00:00
Automatic Updater 8aaed07569 regen 2008-05-02 01:41:47 +00:00
Tatuya JINMEI 神明達哉 412555b357 cleanups for LRU-caching code [RT #18018] 2008-05-01 18:32:32 +00:00
Evan Hunt 5436d7d29d *** empty log message *** 2008-04-29 01:05:39 +00:00
Evan Hunt 9b499d30ab Fix a bug causing dns_acl_isany() to return spurious results [rt18000] 2008-04-29 01:04:14 +00:00
Mark Andrews c8535afd17 2364. [bug] named could trigger a assertion when serving a
malformed signed zone. [RT #17828]
2008-04-29 00:56:50 +00:00
Mark Andrews b03896b8f2 2363. [port] sunos: pre-set "lt_cv_sys_max_cmd_len=4096;".
[RT #17513]
2008-04-28 23:51:46 +00:00
Mark Andrews cc8f4eeb27 update #2331 description 2008-04-28 03:30:14 +00:00
Mark Andrews e602fc802e update 2008-04-27 03:33:16 +00:00
Automatic Updater b08fa225e7 update copyright notice 2008-04-24 23:46:29 +00:00
Automatic Updater 3c9321d7f6 newcopyrights 2008-04-24 23:30:15 +00:00
Evan Hunt 982f479ef8 Change rrsetorder test two ways:
1) only test "fixed" ordering if it was compiled in
2) test whether "cyclic" ordering is cyclic, but don't
   rely on the initial state being predictable
[rt17977]
2008-04-24 21:52:18 +00:00
Automatic Updater eeaf86677c update copyright notice 2008-04-23 23:46:29 +00:00
Automatic Updater 90db307f35 newcopyrights 2008-04-23 23:30:21 +00:00
Evan Hunt cb66d7252e Make "rrset-order fixed" a compile-time option. settable by
"./configure --enable-fixed-rrset". Disabled by default. [rt17977]
2008-04-23 21:44:52 +00:00
Tatuya JINMEI 神明達哉 49a05a11d9 2361. [bug] "recursion" statistics counter could be counted
multiple times for a single query.  [RT #17990]
2008-04-23 01:18:33 +00:00
Evan Hunt 516f7013e6 Missing type in internal_next() function declaration 2008-04-18 19:47:26 +00:00
Mark Andrews 4203f5255b 9.5.0b3 2008-04-11 04:43:00 +00:00
Mark Andrews 96f73d33c2 fix bad NSID/EDNS interaction [RT #17952] 2008-04-10 07:20:27 +00:00
Evan Hunt 710077836a Added mention of NSID 2008-04-10 01:14:28 +00:00
Automatic Updater e431b34601 regen 2008-04-09 23:37:47 +00:00
Mark Andrews 739ca9f9ad BIND version 9.4 -> 9.5 2008-04-09 22:53:50 +00:00
Automatic Updater dbbab64f9d update copyright notice 2008-04-09 22:53:06 +00:00
Automatic Updater e3b7bbf52b newcopyrights 2008-04-09 22:51:18 +00:00
Automatic Updater 3c13437de0 regen 2008-04-09 22:51:16 +00:00
Tatuya JINMEI 神明達哉 a24b174ca4 bind9-compat statistics updates 2008-04-09 22:49:37 +00:00
Michael Graff 5702efd795 Add changes line for recent lock ordering fix 2008-04-09 22:06:39 +00:00
Michael Graff 2d70db1fa3 mirror change made on my zonemaint branch; detach iterator then close version 2008-04-09 21:47:51 +00:00
Automatic Updater d8bd46d4cc newcopyrights 2008-04-08 23:30:15 +00:00
Evan Hunt 5a28de8a7e Update Bv9ARM.pdf for 9.5.0b3 release 2008-04-08 17:36:32 +00:00
Evan Hunt 014d9f7261 add a few more new functions to libdns.def 2008-04-08 04:00:57 +00:00
Evan Hunt aad58d0adf remove no-longer-needed prototype for dns_stats_incrementcounter
update libdns.def to remove nonexistent functions
2008-04-08 03:46:36 +00:00
Evan Hunt e7b4b25911 update api and *.def files for 9.5.0b3 release 2008-04-08 03:17:33 +00:00
Evan Hunt b104b0c23e Release 9.5.0b3 2008-04-07 22:40:01 +00:00
Mark Andrews a19ec120c5 2359. [bug] Fix NSID bug. [RT #17942 2008-04-07 05:30:58 +00:00
Automatic Updater 7cfe8c8f4d regen 2008-04-06 01:41:39 +00:00
Automatic Updater 391c2ab68f update copyright notice 2008-04-05 23:46:39 +00:00
Automatic Updater 14651ee41b newcopyrights 2008-04-05 23:30:24 +00:00
Automatic Updater c583c691fb regen 2008-04-05 01:39:28 +00:00
Automatic Updater 83df26458f update copyright notice 2008-04-04 23:46:31 +00:00
Mark Andrews 6fa7523201 2358. [doc] Update host's default query description. [RT #17934] 2008-04-04 23:30:39 +00:00
Automatic Updater 7aef379fd1 newcopyrights 2008-04-04 23:30:15 +00:00
Tatuya JINMEI 神明達哉 961bf2a3e8 2356. [bug] Builtin mutex profiler was not scalable enough.
[RT #17436]
2008-04-04 02:56:10 +00:00
Automatic Updater 0192a58877 update copyright notice 2008-04-03 23:46:30 +00:00
Automatic Updater fea5003e29 newcopyrights 2008-04-03 23:30:17 +00:00
Automatic Updater 92fbb8eac8 regen 2008-04-03 23:30:14 +00:00
Tatuya JINMEI 神明達哉 5b810282a9 Global memory context had the wrong name (RT #17932) 2008-04-03 23:16:51 +00:00
Mark Andrews 4d4acb42d2 silence warnings 2008-04-03 10:51:01 +00:00
Mark Andrews e537df0ea9 isc_buffer_putmem->isc_buffer_putstr 2008-04-03 10:50:01 +00:00
Mark Andrews e5b1dde7c5 silence signed/unsigned warning 2008-04-03 10:49:22 +00:00
Automatic Updater 6a71e56a3f update copyright notice 2008-04-03 06:20:34 +00:00
Automatic Updater 438720772d newcopyrights 2008-04-03 06:11:34 +00:00
Automatic Updater 47885dbdde regen 2008-04-03 06:11:33 +00:00
Mark Andrews af1599b1da 2355. [func] Extend the number statistics counters available.
[RT #17590]
2008-04-03 06:10:21 +00:00
Automatic Updater 8ebab4b98f update copyright notice 2008-04-03 06:08:27 +00:00
Automatic Updater 7100256640 newcopyrights 2008-04-03 06:06:18 +00:00
Automatic Updater e76eb48859 regen 2008-04-03 06:06:16 +00:00
Automatic Updater 4a28636431 regen 2008-04-03 04:11:04 +00:00
Mark Andrews 829c34e396 2354. [bug] Failed to initialise sone rdatasetheader_t elements.
[RT #17927]
2008-04-03 04:02:57 +00:00
Mark Andrews 5c2712bfb8 bad pointer 2008-04-03 02:13:29 +00:00
Mark Andrews fc29ccea3d 2353. [func] Add support for Name Server ID (RFC 5001).
'dig +nsid' requests NSID from server.
                        'request-nsid yes;' causes recursive server to send
                        NSID requests to upstream servers.  Server responds
                        to NSID requests with the string configured by
                        'server-id' option.  [RT #17091]
2008-04-03 02:12:22 +00:00
Mark Andrews c78c0e226d 2352. [bug] Various GSS_API fixups. [RT #17729] 2008-04-03 00:47:46 +00:00
Automatic Updater b15ca1e4a8 update copyright notice 2008-04-02 23:46:28 +00:00
Automatic Updater 4a2a5e97c8 newcopyrights 2008-04-02 23:30:14 +00:00
Automatic Updater e3f89c5bf1 regen 2008-04-02 23:30:13 +00:00
Mark Andrews 380c7b4299 2351. [bug] convertxsl.pl generated very long lines. [RT #17906] 2008-04-02 03:36:44 +00:00
Mark Andrews 569866242d 2350. [port] win32: IPv6 support. [RT #17797] 2008-04-02 03:05:18 +00:00
Mark Andrews 0655b0e422 don't ignore bind9.xsl.h 2008-04-02 02:35:23 +00:00
Automatic Updater e1b8868347 regen 2008-04-01 23:30:14 +00:00
Automatic Updater 3b3a602c84 update copyright notice 2008-03-31 23:46:42 +00:00
Automatic Updater 97c6bb525f newcopyrights 2008-03-31 23:30:14 +00:00
Francis Dupont febd51128d commit rt17451 2008-03-31 13:18:00 +00:00
Mark Andrews d6a28f56c1 2346. [func] Memory statistics now cover all active memory contexts
in increased detail. [RT #17580]
2008-03-31 05:10:09 +00:00
Automatic Updater 4926627bcf update copyright notice 2008-03-29 23:46:40 +00:00
Automatic Updater a3bc124972 update copyright notice 2008-03-28 23:46:33 +00:00
Automatic Updater 3bfe5db91d newcopyrights 2008-03-28 23:30:16 +00:00
Tatuya JINMEI 神明達哉 7826436f62 don't use separate memory contexts for res buckets without threads
Download because it doesn't have any benefit and requires more memory.
(RT #17898)
2008-03-28 17:20:51 +00:00
Mark Andrews 8fed9314f6 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:05 +00:00
Automatic Updater a5c4ae5173 regen 2008-03-28 01:41:34 +00:00
Automatic Updater 77f549e6b4 update copyright notice 2008-03-27 23:46:28 +00:00
Automatic Updater ca3ecfb9b5 newcopyrights 2008-03-27 23:30:20 +00:00
Tatuya JINMEI 神明達哉 c367f5e243 always enable ISC_xxx_NAMES 2008-03-27 21:10:24 +00:00
Mark Andrews c93c2295a3 2344. [bug] Improve "logging{ file ...; };" documentation.
[RT #17888]
2008-03-27 03:36:38 +00:00
Automatic Updater 4e1aab5a12 update copyright notice 2008-03-20 23:46:31 +00:00
Automatic Updater 5ff3649205 newcopyrights 2008-03-20 23:30:19 +00:00
Tatuya JINMEI 神明達哉 b1edc6d4c5 2343. [bug] (Seemingly) duplicate IPv6 entries could be
created in ADB. [RT #17837]
2008-03-20 22:42:16 +00:00
Mark Andrews 98ef27178a 2341. [bug] libbind: add missing -I../include for off source
tree builds. [RT #17606]
2008-03-20 04:18:39 +00:00
Automatic Updater 3bebac792f newcopyrights 2008-03-18 23:30:18 +00:00
Jeremy Reed 5c1119ddb2 Mention allow-query changes and allow-query-cache. [RT #17726]
And add new copyright year too.
2008-03-18 16:02:36 +00:00
Automatic Updater 6b2bbc7acd regen 2008-03-15 01:41:36 +00:00
Jeremy Reed 61e1949537 Fix typo in $GENERATE example. 2008-03-14 14:41:47 +00:00
Automatic Updater 7ead775452 newcopyrights 2008-03-07 23:30:14 +00:00
Mark Andrews 8c16eea7cb platform.h 2008-03-07 01:42:55 +00:00
Automatic Updater 5815d6d626 update copyright notice 2008-03-03 23:46:26 +00:00
Automatic Updater c6efdf3877 newcopyrights 2008-03-03 23:30:18 +00:00
Mark Andrews acfc90e470 2340. [port] openbsd: interface configuration. [RT #17700] 2008-03-03 01:23:09 +00:00
Mark Andrews 4b44e87afa 2339. [port] tru64: support for libbind. [RT #17589] 2008-03-02 22:29:25 +00:00
Automatic Updater d01a2c3074 newcopyrights 2008-02-28 23:30:17 +00:00
Mark Andrews fa14a55a9b 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-28 05:47:11 +00:00
Automatic Updater 7a66933966 update copyright notice 2008-02-27 23:46:37 +00:00
Automatic Updater 08554db8e8 newcopyrights 2008-02-27 23:30:13 +00:00
Mark Andrews 4daa027dae 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-27 00:07:02 +00:00
Mark Andrews 961bf334ad regen 2008-02-25 05:08:10 +00:00
Mark Andrews 92a67c70fc remove .org's 2008-02-19 22:46:01 +00:00
Evan Hunt 54d79b7ee6 Fix build error: parameter type was changed in the prototype but not in
the function header.
2008-02-19 17:09:08 +00:00
Mark Andrews 8499acff4b bad CHANGE numbers 2008-02-19 02:27:46 +00:00
Automatic Updater a575cc7345 update copyright notice 2008-02-18 23:46:30 +00:00
Automatic Updater 7443e9a0ab newcopyrights 2008-02-18 23:30:16 +00:00
Mark Andrews de4f3419d3 2238. [bug] check_ds() could be called with a non DS rdataset.
[RT #17598]
2008-02-18 23:09:31 +00:00
Mark Andrews 3d20fde5d5 2237. [bug] BUILD_LDFLAGS was not being correctly set. [RT #17614] 2008-02-18 22:44:29 +00:00
Mark Andrews 4a8284d2d9 2335. [port] sunos: libbind and *printf() support for long long.
[RT #17513]
2008-02-18 04:12:30 +00:00
Mark Andrews dde0554201 remove 2008-02-18 03:54:07 +00:00
Mark Andrews 085c04709b 2333. [bug] Fix off by one error in isc_time_nowplusinterval().
[RT #17608]
2008-02-17 23:46:48 +00:00
Mark Andrews a637837c26 remove query-loc-0.3.0 2008-02-17 22:17:35 +00:00
Automatic Updater 49d06d08af update copyright notice 2008-02-15 23:46:22 +00:00
Automatic Updater fbcc990683 newcopyrights 2008-02-15 23:30:15 +00:00
Mark Andrews 8bf830cf9a tag root-server address changes as [maint] 2008-02-15 03:42:52 +00:00
Mark Andrews 25483f341c 2334. [bug] Bad REQUIRES in fromstruct_in_naptr(), off by one
bug in fromstruct_txt(). [RT #17609]
2008-02-15 03:37:13 +00:00
Mark Andrews a3f132e1d5 2332. [contrib] query-loc-0.4.0. [RT #17602] 2008-02-15 02:16:03 +00:00
cvs2git 4dced8b5ca This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-02-15 01:47:17 +00:00
Automatic Updater a7e1401d6f update copyright notice 2008-02-07 23:46:25 +00:00
Automatic Updater bf893e98a1 newcopyrights 2008-02-07 23:30:17 +00:00
Mark Andrews 785ba57b1d 80 cols 2008-02-07 03:28:30 +00:00
Mark Andrews b3d76dc009 2331. [bug] Failure to regenerate any signatures was not being reported
or past back to the UPDATE client. [RT #17570]
2008-02-07 03:14:57 +00:00
Mark Andrews 0fd9a6a418 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 02:51:43 +00:00
Automatic Updater cbb58f7806 update copyright notice 2008-02-05 23:46:39 +00:00
Automatic Updater e612fee97e newcopyrights 2008-02-05 23:30:17 +00:00
Mark Andrews 9ad9a85600 2329. [bug] Clearer help text for dig's '-x' and '-i' options. 2008-02-05 07:00:58 +00:00
Mark Andrews 50a826f981 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:19:36 +00:00
Automatic Updater 657f12a6c2 update copyright notice 2008-02-01 23:46:30 +00:00
Mark Andrews b92d30fdf6 2327. [bug] It was possible to dereference a NULL pointer in
rbtdb.c.  Implement deadnode processing in zones as
                        we do for caches. [RT #17312]
2008-02-01 04:36:56 +00:00
Automatic Updater be3fa0f93c update copyright notice 2008-01-31 23:46:35 +00:00
Automatic Updater 6ae5d3fe2e newcopyrights 2008-01-31 23:30:18 +00:00
Mark Andrews fff23805cd 2326. [bug] It was possible to trigger a INSIST in the acache
processing.
2008-01-31 05:27:14 +00:00
Mark Andrews baf0deb78a 2325. [port] Linux: use capset() function if available. [RT #17557] 2008-01-30 04:57:30 +00:00
Mark Andrews 1c761ab7cd correct rt number 2008-01-30 03:43:53 +00:00
Mark Andrews 19621ecd33 regen 2008-01-30 02:31:45 +00:00
Automatic Updater 6d6b4d2b44 update copyright notice 2008-01-29 23:46:31 +00:00
Automatic Updater 408d189490 newcopyrights 2008-01-29 23:30:18 +00:00
Evan Hunt 2302483203 Fix typo, "documention"->"documentation" 2008-01-29 19:53:12 +00:00
Evan Hunt 5205441b98 Moved 9.5.0b2 released line to the top 2008-01-29 15:24:32 +00:00
Mark Andrews 9269f5932a document the use of 'modprobe' 2008-01-29 04:24:23 +00:00
Evan Hunt 01167e9f54 Added unresolved externals for windows build 2008-01-29 00:06:47 +00:00
Automatic Updater c70668447c update copyright notice 2008-01-27 23:46:52 +00:00
Automatic Updater facbe6140d newcopyrights 2008-01-27 23:30:16 +00:00
Mark Andrews 200538d835 regen 2008-01-27 06:10:15 +00:00
Mark Andrews 5b5459fa39 2324. [bug] Fix IPv6 matching against "any;" [RT #17533] 2008-01-27 02:12:51 +00:00
Mark Andrews 970e4f9c17 2323. [port] tru64: namespace clash. [RT #17547] 2008-01-27 02:06:46 +00:00
Automatic Updater 988fcd8e91 update copyright notice 2008-01-26 23:46:50 +00:00
Automatic Updater 15538c5cf9 newcopyrights 2008-01-26 23:30:19 +00:00
Tatuya JINMEI 神明達哉 b0bf8fb3d7 corrected typo 2008-01-25 23:51:18 +00:00
Tatuya JINMEI 神明達哉 a927d3d2f5 2322. [port] MacOS: work around the limitation of setrlimit()
for RLIMIT_NOFILE. [RT #17526]
2008-01-25 23:48:17 +00:00
Automatic Updater d7fe687447 update copyright notice 2008-01-24 23:46:26 +00:00
Automatic Updater dd6673e550 newcopyrights 2008-01-24 23:30:18 +00:00
Mark Andrews 0fd958bf27 2320. [func] Make statistics couters thread-safe for platforms
that support certain atomic operations. [RT #17466]
2008-01-24 02:41:48 +00:00
Tatuya JINMEI 神明達哉 b20fabbc3a 2320. [func] Make statistics couters thread-safe for platforms
that support certain atomic operations. [RT #17466]
2008-01-24 02:29:57 +00:00
Automatic Updater 3a1a42acf0 update copyright notice 2008-01-23 03:22:15 +00:00
Automatic Updater a7cd86b7e5 newcopyrights 2008-01-23 03:20:28 +00:00
Evan Hunt 438763e4ca Fixes needed to compile on windows 2008-01-23 02:32:17 +00:00
Mark Andrews 6f054fb0c0 regen 2008-01-23 02:25:08 +00:00
Automatic Updater fd7dee0a02 update copyright notice 2008-01-23 02:15:32 +00:00
Automatic Updater 64af101571 newcopyrights 2008-01-23 02:13:39 +00:00
Mark Andrews 61c08ad3b7 2318. [port] sunos fixes for libbind. [RT #17514] 2008-01-23 02:10:08 +00:00
cvs2git db746aa5ef This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-01-23 02:06:44 +00:00
Mark Andrews 4bb592c78c 2318. [port] sunos fixes for libbind. [RT #17514] 2008-01-23 02:00:56 +00:00
Evan Hunt 2f58f058c1 Update libtool versions for 9.5.0b2 2008-01-22 23:58:42 +00:00
Evan Hunt 72ef4f17c9 releasing 9.5.0b2 (also fixed a typo in the previous CHANGES entry) 2008-01-22 23:43:56 +00:00
Automatic Updater 22df9a9b9e update copyright notice 2008-01-22 23:27:35 +00:00
Automatic Updater dd45b00f68 newcopyrights 2008-01-22 23:25:51 +00:00
Mark Andrews 3999907ad2 2319. [bug] Silence Coverity warnings in
lib/dns/rdata/in_1/apl_42.c. [RT #174]
2008-01-22 23:22:00 +00:00
Mark Andrews bd3598f239 2318. [port] ISC_PLATFORM_NEEDTIMESPEC missing from
lib/bind/config.h.in. [RT #17514]
2008-01-22 23:05:49 +00:00
Mark Andrews 764150b71d 2317. [bug] "make distclean" removed bind9.xsl.h. [RT #17518] 2008-01-22 22:51:26 +00:00
Mark Andrews 0154d8b824 2316. [port] Missing #include <isc/print.h> in lib/dns/gssapictx.c.
[RT #17513]
2008-01-22 11:44:56 +00:00
Evan Hunt d595af5b6a Used incorrect address family for mapped IPv4 addresses in acl.c. [RT #17519] 2008-01-22 05:39:18 +00:00
Mark Andrews 59b0f0ac6c 2314. [bug] Uninitialized memory use on error path in
bin/named/lwdnoop.c.  [RT #17476]
2008-01-22 01:56:30 +00:00
Mark Andrews 5b9f34295f regen 2008-01-22 01:45:23 +00:00
Mark Andrews b177a884b4 2313. [cleanup] Silence Coverity warnings. Handle private stacks.
[RT #17447] [RT #17478]
2008-01-22 01:44:04 +00:00
Mark Andrews 09274b9cea 2312. [cleanup] Silence Coverity warning in lib/isc/unix/socket.c.
[RT #17458]
2008-01-22 01:14:11 +00:00
Tatuya JINMEI 神明達哉 2e5426b5aa noticed the default max-cache-size [RT #17515] 2008-01-22 00:31:00 +00:00
Automatic Updater e00da2eb68 update copyright notice 2008-01-21 23:46:23 +00:00
Automatic Updater 468a0a9f0e newcopyrights 2008-01-21 23:30:18 +00:00
Evan Hunt 09bd4960ef IPv6 addresses could match IPv4 ACL entries and vice versa. [RT #17462] 2008-01-21 21:02:24 +00:00
Automatic Updater 715d3e82cb newcopyrights 2008-01-18 23:30:15 +00:00
Mark Andrews 233dd63115 regen 2008-01-18 09:37:05 +00:00
Tatuya JINMEI 神明達哉 d504c44c35 missing <command> tags for statement grammar notations. 2008-01-18 02:18:45 +00:00
Mark Andrews 66240d2746 regen 2008-01-18 01:44:54 +00:00
Mark Andrews bc5f9d92c3 regen 2008-01-18 00:12:21 +00:00
Automatic Updater ce09884de7 update copyright notice 2008-01-17 23:46:37 +00:00
Automatic Updater 2d3aafb354 newcopyrights 2008-01-17 23:30:19 +00:00
Mark Andrews a9b24b418c 2310 [bug] dig, host, nslookup: flush stdout before emitting
debug/fatal messages.  [RT #17501]
2008-01-17 21:51:21 +00:00
Mark Andrews b336b9332d Fix documentation for:
2294.   [func]          Allow the experimental statistics channels to have
                        multiple connections and ACL.
2008-01-17 21:41:47 +00:00
Evan Hunt a981760738 Fix coverity warnings in acl.c and iptable.c [rt17455] 2008-01-17 08:09:36 +00:00
Mark Andrews d244a5b2a3 automate the cleanup of leading/trailing whitespace in C files 2008-01-17 07:44:01 +00:00
Mark Andrews 1cbd155085 regen 2008-01-17 03:04:53 +00:00
Tatuya JINMEI 神明達哉 84a2c39fa0 missing validation check for the reload case 2008-01-17 03:02:17 +00:00
Mark Andrews cfcbcf061f 2308. [cleanup] Silence Coverity warning in bin/named/controlconf.c.
[RT #17495]
2008-01-17 03:00:59 +00:00
Tatuya JINMEI 神明達哉 62bd59af24 2294. [func] Allow the experimental statistics channels to have
multiple connections and ACL.
			Note: the stats-server and stats-server-v6 options
			available in the previous beta releases are replaced
			with the generic statistics-channels statment.
2008-01-17 00:24:32 +00:00
cvs2git 8d121214ec This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-01-17 00:15:15 +00:00
Automatic Updater 3eb81a73aa update copyright notice 2008-01-16 23:46:23 +00:00
Automatic Updater ebfc85d52f newcopyrights 2008-01-16 23:30:18 +00:00
Mark Andrews b18d6066b2 2307. [bug] Remove infinite loop from lib/dns/sdb.c. [RT #17496] 2008-01-16 21:57:51 +00:00
Automatic Updater 4602a30928 update copyright notice 2008-01-15 23:46:32 +00:00
Automatic Updater ac80f65020 newcopyrights 2008-01-15 23:30:15 +00:00
Mark Andrews 7a2ff97296 2306. [bug] Remove potential race from lib/dns/resolver.c.
[RT #17470]
2008-01-15 12:37:28 +00:00
Mark Andrews 40a2001899 2305. [security] inet_network() buffer overflow. CVE-2008-0122. 2008-01-15 03:47:55 +00:00
Mark Andrews d4c9827b5a 2304. [bug] Check returns from all dns_rdata_tostruct() calls.
[RT #17460]
2008-01-15 01:13:17 +00:00
Automatic Updater e09484c1b5 update copyright notice 2008-01-14 23:46:28 +00:00
Automatic Updater 138c9af8ee newcopyrights 2008-01-14 23:30:19 +00:00
Mark Andrews 98b01ed499 2303. [bug] Remove unnecessary code from bin/named/lwdgnba.c.
[RT #17471]
2008-01-14 13:06:33 +00:00
Mark Andrews d760be189b 2302. [bug] Fix memset() calls in lib/tests/t_api.c. [RT #17472] 2008-01-14 12:47:00 +00:00
Mark Andrews 531dca2420 2301. [bug] Remove resource leak and fix error messages in
bin/tests/system/lwresd/lwtest.c. [RT #17474]
2008-01-14 12:18:38 +00:00
Mark Andrews d610a63637 2300. [bug] Fixed failure to close open file in
bin/tests/names/t_names.c. [RT #17473]
CV: ----------------------------------------------------------------------
2008-01-14 11:55:55 +00:00
Automatic Updater 0ca2c72ec4 update copyright notice 2008-01-12 23:46:43 +00:00
Automatic Updater c5f7d960af newcopyrights 2008-01-12 23:30:15 +00:00
Mark Andrews ddc792aa74 2299. [bug] Remove unnecessary NULL check in
bin/nsupdate/nsupdate.c. [RT #17475]
2008-01-12 22:16:49 +00:00
Mark Andrews e886663bb8 2298. [bug] isc_mutex_lock() failure not caught in
bin/tests/timers/t_timers.c. [RT #17468]
2008-01-12 22:05:52 +00:00
Mark Andrews e616752523 2297. [bug] isc_entropy_createfilesource() failure not caught in
bin/tests/dst/t_dst.c. [RT #17467]
2008-01-12 21:53:28 +00:00
Automatic Updater 395f6d6ee7 update copyright notice 2008-01-11 23:46:27 +00:00
Automatic Updater 2699cd0532 newcopyrights 2008-01-11 23:30:17 +00:00
Mark Andrews fbcb13ce0b docbook not dockbook 2008-01-11 04:51:35 +00:00
Mark Andrews 0ab8208ade 2296. [port] Allow docbook stylesheet location to be specified to
configure. [RT #17457]
2008-01-11 03:22:00 +00:00
Mark Andrews 7feda2cbd7 2295. [bug] Silence static overrun error in bin/named/lwaddr.c.
[RT #17459]
2008-01-11 03:04:03 +00:00
Automatic Updater 439716d3b5 update copyright notice 2008-01-10 23:46:34 +00:00
Automatic Updater c3926cdf4c newcopyrights 2008-01-10 23:30:17 +00:00
Mark Andrews b57c180e78 2293. [func] Add ACL regression test. [RT #17375] 2008-01-10 01:35:37 +00:00
cvs2git 08332cd77d This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-01-10 01:10:02 +00:00
Automatic Updater e5009e717f update copyright notice 2008-01-09 23:46:33 +00:00
Automatic Updater b67bacecc9 newcopyrights 2008-01-09 23:30:19 +00:00
Mark Andrews 2b5a1b5eb1 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:53:18 +00:00
Mark Andrews 23a012ebfe 2290. [bug] Let AD in the query signal that the client wants AD
set in the response. [RT #17301]
2008-01-09 04:13:45 +00:00
Mark Andrews f5471da9bb 2288. [port] win32: mark service as running when we have finished
loading.  [RT #17441]
2008-01-09 02:37:43 +00:00
Automatic Updater 1a83d0a2dd update copyright notice 2008-01-04 23:46:30 +00:00
Automatic Updater d4662c174d newcopyrights 2008-01-04 23:30:14 +00:00
Mark Andrews 1fbd092244 2287. [bug] Use 'volatile' if the compiler supports it. [RT #17413] 2008-01-04 03:34:08 +00:00
Automatic Updater 4417182aba newcopyrights 2008-01-03 23:30:14 +00:00
Automatic Updater 01e203ad6b update copyright notice 2008-01-02 23:46:28 +00:00
Automatic Updater 4f6b9050ee newcopyrights 2008-01-02 23:30:16 +00:00
Mark Andrews c9670b654c regen 2008-01-02 14:01:55 +00:00
Mark Andrews 5b538e89ac remove test"#define inline" 2008-01-02 06:10:55 +00:00
cvs2git 168f7c2650 This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-01-02 04:26:27 +00:00
cvs2git a70f5c100c This commit was manufactured by cvs2git to create branch 'rt17374'. 2007-12-20 01:48:30 +00:00
cvs2git 3ac85ae815 This commit was manufactured by cvs2git to create branch 'rt17347'. 2007-12-14 23:30:23 +00:00
cvs2git 07779b37f7 This commit was manufactured by cvs2git to create branch 'rt12017'. 2007-12-11 23:18:49 +00:00
cvs2git a5e8b7acd2 This commit was manufactured by cvs2git to create branch 'rt17332'. 2007-11-27 23:18:17 +00:00
cvs2git 798d69d4c5 This commit was manufactured by cvs2git to create branch 'rt17311'. 2007-11-26 23:18:09 +00:00
cvs2git 0e46658ea8 This commit was manufactured by cvs2git to create branch 'rt17307'. 2007-11-26 02:43:54 +00:00
cvs2git 00a4159352 This commit was manufactured by cvs2git to create branch
'custom_NOM_v9_5_0a7'.
2007-11-19 01:55:03 +00:00
cvs2git a1e1382c9a This commit was manufactured by cvs2git to create branch 'sp1705a'. 2007-11-09 23:30:22 +00:00
1264 changed files with 131839 additions and 98914 deletions
+269 -332
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,4 +1,4 @@
Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 1996-2003 Internet Software Consortium.
Permission to use, copy, modify, and/or distribute this software for any
@@ -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.15 2009/01/05 23:47:53 tbox Exp $
$Id: COPYRIGHT,v 1.13.130.2.2.1 2010/02/25 05:23:41 tbox Exp $
Portions Copyright (C) 1996-2001 Nominum, Inc.
+34 -13
View File
@@ -1,6 +1,6 @@
Frequently Asked Questions about BIND 9
Copyright © 2004-2009 Internet Systems Consortium, Inc. ("ISC")
Copyright © 2004-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright © 2000-2003 Internet Software Consortium.
@@ -153,24 +153,29 @@ A: BIND 9.3 and later: Use TSIG to select the appropriate view.
Master 10.0.1.1:
key "external" {
algorithm hmac-md5;
secret "xxxxxxxx";
algorithm hmac-sha256;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
view "internal" {
match-clients { !key external; 10.0.1/24; };
match-clients { !key external; // reject message ment for the
// external view.
10.0.1/24; }; // accept from these addresses.
...
};
view "external" {
match-clients { key external; any; };
server 10.0.1.2 { keys external; };
server 10.0.1.2 { keys external; }; // tag messages from the
// external view to the
// other servers for the
// view.
recursion no;
...
};
Slave 10.0.1.2:
key "external" {
algorithm hmac-md5;
secret "xxxxxxxx";
algorithm hmac-sha256;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
view "internal" {
match-clients { !key external; 10.0.1/24; };
@@ -220,13 +225,13 @@ A: You choose one view to be master and the second a slave and transfer
Master 10.0.1.1:
key "external" {
algorithm hmac-md5;
secret "xxxxxxxx";
algorithm hmac-sha256;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
key "mykey" {
algorithm hmac-md5;
secret "yyyyyyyy";
algorithm hmac-sha256;
secret "yyyyyyyyyyyyyyyyyyyyyyyy";
};
view "internal" {
@@ -239,7 +244,7 @@ A: You choose one view to be master and the second a slave and transfer
type master;
file "internal/example.db";
allow-update { key mykey; };
notify-also { 10.0.1.1; };
also-notify { 10.0.1.1; };
};
};
@@ -249,7 +254,7 @@ A: You choose one view to be master and the second a slave and transfer
type slave;
file "external/example.db";
masters { 10.0.1.1; };
transfer-source { 10.0.1.1; };
transfer-source 10.0.1.1;
// allow-update-forwarding { any; };
// allow-notify { ... };
};
@@ -779,6 +784,22 @@ 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: I'm running BIND on Ubuntu -
Why can't named update slave zone database files?
Why can't named create DDNS journal files or update the master zones
from journals?
Why can't named create custom log files?
A: Ubuntu uses AppArmor <http://en.wikipedia.org/wiki/AppArmor> in
addition to normal file system permissions to protect the system.
Adjust the paths to use those specified in /etc/apparmor.d/
usr.sbin.named or adjust /etc/apparmor.d/usr.sbin.named to allow named
to write at the location specified in named.conf.
Q: Listening on individual IPv6 interfaces does not work.
A: This is usually due to "/proc/net/if_inet6" not being available in the
+50 -14
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-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2010 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.49 2009/02/18 22:48:52 jreed Exp $ -->
<!-- $Id: FAQ.xml,v 1.30.26.10.2.3 2010/02/25 23:47:12 tbox Exp $ -->
<article class="faq">
<title>Frequently Asked Questions about BIND 9</title>
@@ -29,6 +29,7 @@
<year>2007</year>
<year>2008</year>
<year>2009</year>
<year>2010</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -319,24 +320,29 @@ Slave: 10.0.1.3 (internal), 10.0.1.4 (external, IP alias)
<programlisting>
Master 10.0.1.1:
key "external" {
algorithm hmac-md5;
secret "xxxxxxxx";
algorithm hmac-sha256;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
view "internal" {
match-clients { !key external; 10.0.1/24; };
match-clients { !key external; // reject message ment for the
// external view.
10.0.1/24; }; // accept from these addresses.
...
};
view "external" {
match-clients { key external; any; };
server 10.0.1.2 { keys external; };
server 10.0.1.2 { keys external; }; // tag messages from the
// external view to the
// other servers for the
// view.
recursion no;
...
};
Slave 10.0.1.2:
key "external" {
algorithm hmac-md5;
secret "xxxxxxxx";
algorithm hmac-sha256;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
view "internal" {
match-clients { !key external; 10.0.1/24; };
@@ -424,13 +430,13 @@ named-checkzone example.com tmp</programlisting>
<programlisting>
Master 10.0.1.1:
key "external" {
algorithm hmac-md5;
secret "xxxxxxxx";
algorithm hmac-sha256;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
key "mykey" {
algorithm hmac-md5;
secret "yyyyyyyy";
algorithm hmac-sha256;
secret "yyyyyyyyyyyyyyyyyyyyyyyy";
};
view "internal" {
@@ -443,7 +449,7 @@ Master 10.0.1.1:
type master;
file "internal/example.db";
allow-update { key mykey; };
notify-also { 10.0.1.1; };
also-notify { 10.0.1.1; };
};
};
@@ -453,7 +459,7 @@ Master 10.0.1.1:
type slave;
file "external/example.db";
masters { 10.0.1.1; };
transfer-source { 10.0.1.1; };
transfer-source 10.0.1.1;
// allow-update-forwarding { any; };
// allow-notify { ... };
};
@@ -1377,6 +1383,36 @@ named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,d
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
I'm running BIND on Ubuntu -
</para>
<para>
Why can't named update slave zone database files?
</para>
<para>
Why can't named create DDNS journal files or update
the master zones from journals?
</para>
<para>
Why can't named create custom log files?
</para>
</question>
<answer>
<para>
Ubuntu uses AppArmor <ulink url="http://en.wikipedia.org/wiki/AppArmor">
&lt;http://en.wikipedia.org/wiki/AppArmor&gt;</ulink> in
addition to normal file system permissions to protect the system.
</para>
<para>
Adjust the paths to use those specified in /etc/apparmor.d/usr.sbin.named
or adjust /etc/apparmor.d/usr.sbin.named to allow named to write at the
location specified in named.conf.
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
+10 -4
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or 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: Makefile.in,v 1.55 2009/03/04 02:42:30 each Exp $
# $Id: Makefile.in,v 1.50.86.2 2009/02/20 23:46:49 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -21,7 +21,7 @@ top_srcdir = @top_srcdir@
@BIND9_VERSION@
SUBDIRS = make lib bin doc
SUBDIRS = make lib bin doc @LIBBIND@
TARGETS =
MANPAGES = isc-config.sh.1
@@ -32,6 +32,13 @@ MANOBJS = ${MANPAGES} ${HTMLPAGES}
@BIND9_MAKE_RULES@
distclean::
@if [ "X@LIBBIND@" = "X" ] ; then \
i=lib/bind; \
echo "making $@ in `pwd`/$$i"; \
(cd $$i; ${MAKE} ${MAKEDEFS} $@) || exit 1; \
fi
distclean::
rm -f config.cache config.h config.log config.status TAGS
rm -f libtool isc-config.sh configure.lineno
@@ -55,7 +62,6 @@ installdirs:
install:: isc-config.sh installdirs
${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
${INSTALL_DATA} ${srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
${INSTALL_SCRIPT} bind.keys ${DESTDIR}${sysconfdir}
tags:
rm -f TAGS
-128
View File
@@ -1,128 +0,0 @@
DNSSEC and UPDATE
Converting from insecure to secure
As of BIND 9.6.0 it is possible to move a zone between being insecure
to secure and back again. A secure zone can be using NSEC or NSEC3.
To move a zone from insecure to secure you need to configure named
so that it can see the K* files which contain the public and private
parts of the keys that will be used to sign the zone. These files
will have been generated by dnssec-keygen. You can do this by
placing them in the key-directory as specified in named.conf.
zone example.net {
type master;
allow-update { .... };
file "dynamic/example.net/example.net";
key-directory "dynamic/example.net";
};
Assuming one KSK and one ZSK DNSKEY key have been generated. Then
this will cause the zone to be signed with the ZSK and the DNSKEY
RRset to be signed with the KSK DNSKEY. A NSEC chain will also be
generated as part of the initial signing process.
% nsupdate
> ttl 3600
> update add example.net DNSKEY 256 3 7 AwEAAZn17pUF0KpbPA2c7Gz76Vb18v0teKT3EyAGfBfL8eQ8al35zz3Y I1m/SAQBxIqMfLtIwqWPdgthsu36azGQAX8=
> update add example.net DNSKEY 257 3 7 AwEAAd/7odU/64o2LGsifbLtQmtO8dFDtTAZXSX2+X3e/UNlq9IHq3Y0 XtC0Iuawl/qkaKVxXe2lo8Ct+dM6UehyCqk=
> send
While the update request will complete almost immediately the zone
will not be completely signed until named has had time to walk the
zone and generate the NSEC and RRSIG records. Initially the NSEC
record at the zone apex will have the OPT bit set. When the NSEC
chain is complete the OPT bit will be cleared. Additionally when
the zone is fully signed the private type (default TYPE65535) records
will have a non zero value for the final octet.
The private type record has 5 octets.
algorithm (octet 1)
key id in network order (octet 2 and 3)
removal flag (octet 4)
complete flag (octet 5)
If you wish to go straight to a secure zone using NSEC3 you should
also add a NSECPARAM record to the update request with the flags
field set to indicate whether the NSEC3 chain will have the OPTOUT
bit set or not.
% nsupdate
> ttl 3600
> update add example.net DNSKEY 256 3 7 AwEAAZn17pUF0KpbPA2c7Gz76Vb18v0teKT3EyAGfBfL8eQ8al35zz3Y I1m/SAQBxIqMfLtIwqWPdgthsu36azGQAX8=
> update add example.net DNSKEY 257 3 7 AwEAAd/7odU/64o2LGsifbLtQmtO8dFDtTAZXSX2+X3e/UNlq9IHq3Y0 XtC0Iuawl/qkaKVxXe2lo8Ct+dM6UehyCqk=
> update add example.net NSEC3PARAM 1 1 100 1234567890
> send
Again the update request will complete almost immediately however the
NSEC3PARAM record will have additional flag bits set indicating that the
NSEC3 chain is under construction. When the NSEC3 chain is complete the
flags field will be set to zero.
While the initial signing and NSEC/NSEC3 chain generation is happening
other updates are possible.
DNSKEY roll overs via UPDATE
It is possible to perform key rollovers via update. You need to
add the K* files for the new keys so that named can find them. You
can then add the new DNSKEY RRs via update. Named will then cause
the zone to be signed with the new keys. When the signing is
complete the private type records will be updated so that the last
octet is non zero.
If this is for a KSK you need to inform the parent and any trust
anchor repositories of the new KSK.
You should then wait for the maximum TLL in the zone before removing the
old DNSKEY. If it is a KSK that is being updated you also need to wait
for the DS RRset in the parent to be updated and its TTL to expire.
This ensures that all clients will be able to verify at least a signature
when you remove the old DNSKEY.
The old DNSKEY can be removed via UPDATE. Take care to specify
the correct key. Named will clean out any signatures generated by
the old key after the update completes.
NSEC3PARAM rollovers via UPDATE.
Add the new NSEC3PARAM record via update. When the new NSEC3 chain
has been generated the NSEC3PARAM flag field will be zero. At this
point you can remove the old NSEC3PARAM record. The old chain will
be removed after the update request completes.
Converting from NSEC to NSEC3
To do this you just need to add a NSEC3PARAM record. When the
conversion is complete the NSEC chain will have been removed and
the NSEC3PARAM record will have a zero flag field. The NSEC3 chain
will be generated before the NSEC chain is destroyed.
Converting from NSEC3 to NSEC
To do this remove all NSEC3PARAM records with a zero flag field. The
NSEC chain will be generated before the NSEC3 chain is removed.
Converting from secure to insecure
To do this remove all the DNSKEY records. Any NSEC or NSEC3 chains
will be removed as well as associated NSEC3PARAM records. This will
take place after the update requests completes.
Periodic re-signing.
Named will periodically re-sign RRsets which have not been re-signed
as a result of some update action. The signature lifetimes will
be adjusted so as to spread the re-sign load over time rather than
all at once.
NSEC3 and OPTOUT
Named only supports creating new NSEC3 chains where all the NSEC3
records in the zone have the same OPTOUT state. Named supports
UPDATES to zones where the NSEC3 records in the chain have mixed
OPTOUT state. Named does not support changing the OPTOUT state of
an individual NSEC3 record, the entire chain needs to be changed if
the OPTOUT state of an individual NSEC3 needs to be changed.
+17 -43
View File
@@ -42,55 +42,29 @@ BIND 9
Stichting NLnet - NLnet Foundation
Nominum, Inc.
BIND 9.7.0
BIND 9.7.0 includes a number of changes from BIND 9.6 and earlier
releases, including:
BIND 9.5.2
New named option "attach-cache" that allows multiple views to
share a single cache.
BIND 9.5.2 is a maintenance release, fixing bugs in 9.5.1.
New logging category "query-errors" to provide detailed
internal information about query failures, especially about
server failures.
BIND 9.5.1
BIND 9.6.0
BIND 9.6.0 includes a number of changes from BIND 9.5 and earlier
releases, including:
Full NSEC3 support
Automatic zone re-signing
New update-policy methods tcp-self and 6to4-self
The BIND 8 resolver library, libbind, has been removed from the
BIND 9 distribution and is now available as a separate download.
Change the default pid file location from /var/run to
/var/run/{named,lwresd} for improved chroot/setuid support.
BIND 9.5.1 is a maintenance release, fixing bugs in 9.5.0.
BIND 9.5.0
BIND 9.5.0 has a number of new features over 9.4,
including:
GSS-TSIG support (RFC 3645).
DHCID support.
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.
- GSS-TSIG support (RFC 3645).
- DHCID support.
- Experimental http server and statistics support for named via xml.
- More detailed statistics counters including those supported in
BIND 8.
- Faster ACL processing.
- Internal documentation generated by Doxygen.
- Efficient LRU cache-cleaning mechanism.
- NSID support (RFC 5001).
BIND 9.4.0
@@ -402,7 +376,7 @@ Building
FreeBSD 4.10, 5.2.1, 6.2
HP-UX 11.11
Mac OS X 10.5
NetBSD 3.x, 4.0-beta, 5.0-beta
NetBSD 3.x and 4.0-beta
OpenBSD 3.3 and up
Solaris 8, 9, 9 (x86), 10
Ubuntu 7.04, 7.10
@@ -467,9 +441,6 @@ Building
To disable the default check set. -DCHECK_SIBLING=0
named-checkzone checks out-of-zone addresses by default.
To disable this default set. -DCHECK_LOCAL=0
To create the default pid files in ${localstatedir}/run rather
than ${localstatedir}/run/{named,lwresd}/ set.
-DNS_RUN_PID_DIR=0
Enable workaround for Solaris kernel bug about /dev/poll
-DISC_SOCKET_USE_POLLWATCH=1
The watch timeout is also configurable, e.g.,
@@ -499,6 +470,9 @@ Building
a nonstandard prefix, you can tell configure where to
look for it using "--with-openssl=/prefix".
To build libbind (the BIND 8 resolver library), specify
"--enable-libbind" on the configure command line.
On some platforms it is necessary to explictly request large
file support to handle files bigger than 2GB. This can be
done by "--enable-largefile" on the configure command line.
+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.3 2009/01/17 09:43:50 fdupont Exp $
; $Id: README.idnkit,v 1.2.558.1 2009/01/19 00:01:09 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...
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-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: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp $ */
/* $Id: acconfig.h,v 1.51.130.2 2009/02/16 23:46:44 tbox Exp $ */
/*! \file */
+3 -3
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -13,13 +13,13 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.27 2009/03/02 23:47:43 tbox Exp $
# $Id: Makefile.in,v 1.25 2007/06/19 23:46:59 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
SUBDIRS = named rndc dig dnssec tests tools nsupdate check
SUBDIRS = named rndc dig dnssec tests nsupdate check
TARGETS =
@BIND9_MAKE_RULES@
+7 -11
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check-tool.c,v 1.38 2009/01/20 02:01:11 marka Exp $ */
/* $Id: check-tool.c,v 1.31.62.5 2009/01/27 21:17:39 jinmei Exp $ */
/*! \file */
@@ -223,9 +223,8 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
!logged(namebuf, ERR_IS_CNAME)) {
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);
@@ -416,10 +415,8 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
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);
" is a CNAME (illegal)",
ownerbuf, namebuf);
add(namebuf, ERR_IS_MXCNAME);
}
if (level == ISC_LOG_ERROR)
@@ -501,9 +498,8 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
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);
"CNAME (illegal)",
ownerbuf, namebuf);
add(namebuf, ERR_IS_SRVCNAME);
}
if (level == ISC_LOG_ERROR)
+2 -2
View File
@@ -1,7 +1,7 @@
.\" 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
.\" 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.
.\"
@@ -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.30.130.1 2009/07/11 01:43:26 tbox Exp $
.\"
.hy 0
.ad l
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkconf.c,v 1.48 2009/02/16 23:48:04 tbox Exp $ */
/* $Id: named-checkconf.c,v 1.46.18.2 2009/02/16 23:46:44 tbox Exp $ */
/*! \file */
+2 -2
View File
@@ -2,7 +2,7 @@
- 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
- 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.
-
@@ -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.30.130.1 2009/07/11 01:43:26 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+2 -2
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" 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.
.\"
@@ -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.43 2009/01/21 01:12:07 tbox Exp $
.\" $Id: named-checkzone.8,v 1.42.130.2 2009/07/11 01:43:26 tbox Exp $
.\"
.hy 0
.ad l
+7 -3
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkzone.c,v 1.53 2009/02/16 23:48:04 tbox Exp $ */
/* $Id: named-checkzone.c,v 1.49.130.5 2009/05/29 02:18:32 marka Exp $ */
/*! \file */
@@ -123,9 +123,13 @@ main(int argc, char **argv) {
*/
if (strncmp(prog_name, "lt-", 3) == 0)
prog_name += 3;
if (strcmp(prog_name, "named-checkzone") == 0)
#define PROGCMP(X) \
(strcasecmp(prog_name, X) == 0 || strcasecmp(prog_name, X ".exe") == 0)
if (PROGCMP("named-checkzone"))
progmode = progmode_check;
else if (strcmp(prog_name, "named-compilezone") == 0)
else if (PROGCMP("named-compilezone"))
progmode = progmode_compile;
else
INSIST(0);
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.docbook,v 1.36 2009/01/20 23:47:56 tbox Exp $ -->
<!-- $Id: named-checkzone.docbook,v 1.34.130.2 2009/01/22 23:46:35 tbox Exp $ -->
<refentry id="man.named-checkzone">
<refentryinfo>
<date>June 13, 2000</date>
+2 -2
View File
@@ -2,7 +2,7 @@
- Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- 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.
-
@@ -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.43 2009/01/21 01:12:07 tbox Exp $ -->
<!-- $Id: named-checkzone.html,v 1.42.130.2 2009/07/11 01:43:26 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+2 -2
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" 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.
.\"
@@ -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.52 2009/02/03 01:11:46 tbox Exp $
.\" $Id: dig.1,v 1.45.150.8 2009/07/11 01:43:26 tbox Exp $
.\"
.hy 0
.ad l
+24 -5
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.228 2009/01/22 05:06:33 marka Exp $ */
/* $Id: dig.c,v 1.218.12.9 2009/05/06 10:19:49 fdupont Exp $ */
/*! \file */
@@ -111,6 +111,24 @@ static const char * const rcodetext[] = {
"BADVERS"
};
/*% safe rcodetext[] */
static char *
rcode_totext(dns_rcode_t rcode)
{
static char buf[sizeof("?65535")];
union {
const char *consttext;
char *deconsttext;
} totext;
if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
snprintf(buf, sizeof(buf), "?%u", rcode);
totext.deconsttext = buf;
} else
totext.consttext = rcodetext[rcode];
return totext.deconsttext;
}
/*% print usage */
static void
print_usage(FILE *fp) {
@@ -469,7 +487,8 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (headers) {
printf(";; ->>HEADER<<- opcode: %s, status: %s, "
"id: %u\n",
opcodetext[msg->opcode], rcodetext[msg->rcode],
opcodetext[msg->opcode],
rcode_totext(msg->rcode),
msg->id);
printf(";; flags:");
if ((msg->flags & DNS_MESSAGEFLAG_QR) != 0)
@@ -641,9 +660,9 @@ printgreeting(int argc, char **argv, dig_lookup_t *lookup) {
}
if (first) {
snprintf(append, sizeof(append),
";; global options:%s%s\n",
short_form ? " +short" : "",
printcmd ? " +cmd" : "");
";; global options: %s %s\n",
short_form ? "short_form" : "",
printcmd ? "printcmd" : "");
first = ISC_FALSE;
remaining = sizeof(lookup->cmdline) -
strlen(lookup->cmdline) - 1;
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.docbook,v 1.45 2009/02/02 04:41:28 marka Exp $ -->
<!-- $Id: dig.docbook,v 1.38.130.7 2009/02/02 04:44:14 marka Exp $ -->
<refentry id="man.dig">
<refentryinfo>
+2 -2
View File
@@ -2,7 +2,7 @@
- Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- 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.
-
@@ -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.47 2009/02/03 01:11:46 tbox Exp $ -->
<!-- $Id: dig.html,v 1.41.150.7 2009/07/11 01:43:27 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+7 -23
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.321 2009/02/25 02:34:21 marka Exp $ */
/* $Id: dighost.c,v 1.304.12.16 2009/06/24 03:42:32 marka Exp $ */
/*! \file
* \note
@@ -393,7 +393,7 @@ count_dots(char *string) {
static void
hex_dump(isc_buffer_t *b) {
unsigned int len, i;
unsigned int len;
isc_region_t r;
isc_buffer_usedregion(b, &r);
@@ -401,29 +401,11 @@ hex_dump(isc_buffer_t *b) {
printf("%d bytes\n", r.length);
for (len = 0; len < r.length; len++) {
printf("%02x ", r.base[len]);
if (len % 16 == 15) {
fputs(" ", stdout);
for (i = len - 15; i <= len; i++) {
if (r.base[i] >= '!' && r.base[i] <= '}')
putchar(r.base[i]);
else
putchar('.');
}
if (len % 16 == 15)
printf("\n");
}
}
if (len % 16 != 0) {
for (i = len; (i % 16) != 0; i++)
fputs(" ", stdout);
fputs(" ", stdout);
for (i = ((len>>4)<<4); i < len; i++) {
if (r.base[i] >= '!' && r.base[i] <= '}')
putchar(r.base[i]);
else
putchar('.');
}
if (len % 16 != 0)
printf("\n");
}
}
/*%
@@ -1066,7 +1048,9 @@ setup_system(void) {
debug("ndots is %d.", ndots);
}
copy_server_list(lwconf, &server_list);
/* If user doesn't specify server use nameservers from resolv.conf. */
if (ISC_LIST_EMPTY(server_list))
copy_server_list(lwconf, &server_list);
/* If we don't find a nameserver fall back to localhost */
if (ISC_LIST_EMPTY(server_list)) {
+2 -2
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" 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.
.\"
@@ -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.30 2009/01/21 01:12:07 tbox Exp $
.\" $Id: host.1,v 1.28.164.4 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
+28 -12
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009 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: host.c,v 1.116 2007/12/03 00:21:48 marka Exp $ */
/* $Id: host.c,v 1.116.12.3 2009/09/08 23:28:40 marka Exp $ */
/*! \file */
@@ -124,6 +124,23 @@ struct rtype rtypes[] = {
{ 0, NULL }
};
static char *
rcode_totext(dns_rcode_t rcode)
{
static char buf[sizeof("?65535")];
union {
const char *consttext;
char *deconsttext;
} totext;
if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
snprintf(buf, sizeof(buf), "?%u", rcode);
totext.deconsttext = buf;
} else
totext.consttext = rcodetext[rcode];
return totext.deconsttext;
}
static void
show_usage(void) {
fputs(
@@ -270,10 +287,10 @@ printsection(dns_message_t *msg, dns_section_t sectionid,
if (query->lookup->rdtype == dns_rdatatype_axfr &&
!((!list_addresses &&
(list_type == dns_rdatatype_any ||
rdataset->type == list_type)) ||
rdataset->type == list_type)) ||
(list_addresses &&
(rdataset->type == dns_rdatatype_a ||
rdataset->type == dns_rdatatype_aaaa ||
rdataset->type == dns_rdatatype_aaaa ||
rdataset->type == dns_rdatatype_ns ||
rdataset->type == dns_rdatatype_ptr))))
continue;
@@ -377,7 +394,7 @@ chase_cnamechain(dns_message_t *msg, dns_name_t *qname) {
dns_rdata_t rdata = DNS_RDATA_INIT;
unsigned int i = msg->counts[DNS_SECTION_ANSWER];
while (i-- > 0) {
while (i-- > 0) {
rdataset = NULL;
result = dns_message_findname(msg, DNS_SECTION_ANSWER, qname,
dns_rdatatype_cname, 0, NULL,
@@ -429,7 +446,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
printf("Host %s not found: %d(%s)\n",
(msg->rcode != dns_rcode_nxdomain) ? namestr :
query->lookup->textname, msg->rcode,
rcodetext[msg->rcode]);
rcode_totext(msg->rcode));
return (ISC_R_SUCCESS);
}
@@ -451,7 +468,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
sizeof(lookup->textname));
lookup->textname[sizeof(lookup->textname)-1] = 0;
lookup->rdtype = dns_rdatatype_aaaa;
lookup->rdtypeset = ISC_TRUE;
lookup->rdtypeset = ISC_TRUE;
lookup->origin = NULL;
lookup->retries = tries;
ISC_LIST_APPEND(lookup_list, lookup, link);
@@ -462,7 +479,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
sizeof(lookup->textname));
lookup->textname[sizeof(lookup->textname)-1] = 0;
lookup->rdtype = dns_rdatatype_mx;
lookup->rdtypeset = ISC_TRUE;
lookup->rdtypeset = ISC_TRUE;
lookup->origin = NULL;
lookup->retries = tries;
ISC_LIST_APPEND(lookup_list, lookup, link);
@@ -471,7 +488,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (!short_form) {
printf(";; ->>HEADER<<- opcode: %s, status: %s, id: %u\n",
opcodetext[msg->opcode], rcodetext[msg->rcode],
opcodetext[msg->opcode], rcode_totext(msg->rcode),
msg->id);
printf(";; flags: ");
if ((msg->flags & DNS_MESSAGEFLAG_QR) != 0) {
@@ -822,11 +839,10 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
} else {
strncpy(lookup->textname, hostname, sizeof(lookup->textname));
lookup->textname[sizeof(lookup->textname)-1]=0;
usesearch = ISC_TRUE;
}
lookup->new_search = ISC_TRUE;
ISC_LIST_APPEND(lookup_list, lookup, link);
usesearch = ISC_TRUE;
}
int
@@ -838,7 +854,7 @@ main(int argc, char **argv) {
ISC_LIST_INIT(lookup_list);
ISC_LIST_INIT(server_list);
ISC_LIST_INIT(search_list);
fatalexit = 1;
#ifdef WITH_IDN
idnoptions = IDN_ASCCHECK;
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.docbook,v 1.20 2009/01/20 23:47:56 tbox Exp $ -->
<!-- $Id: host.docbook,v 1.16.130.4 2009/01/22 23:46:35 tbox Exp $ -->
<refentry id="man.host">
<refentryinfo>
+2 -2
View File
@@ -2,7 +2,7 @@
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- 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.
-
@@ -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.29 2009/01/21 01:12:07 tbox Exp $ -->
<!-- $Id: host.html,v 1.27.164.4 2009/07/11 01:43:27 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.h,v 1.108 2008/12/16 02:57:24 jinmei Exp $ */
/* $Id: dig.h,v 1.105.130.3 2008/12/16 02:59:46 jinmei Exp $ */
#ifndef DIG_H
#define DIG_H
+2 -2
View File
@@ -1,6 +1,6 @@
.\" Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" 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.
.\"
@@ -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.14.150.1 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
+21 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 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: nslookup.c,v 1.119 2008/12/16 23:47:57 tbox Exp $ */
/* $Id: nslookup.c,v 1.117.130.5 2009/05/06 23:46:49 tbox Exp $ */
#include <config.h>
@@ -26,6 +26,7 @@
#include <isc/commandline.h>
#include <isc/event.h>
#include <isc/parseint.h>
#include <isc/print.h>
#include <isc/string.h>
#include <isc/timer.h>
#include <isc/util.h>
@@ -129,6 +130,23 @@ static const char *rtypetext[] = {
static void flush_lookup_list(void);
static void getinput(isc_task_t *task, isc_event_t *event);
static char *
rcode_totext(dns_rcode_t rcode)
{
static char buf[sizeof("?65535")];
union {
const char *consttext;
char *deconsttext;
} totext;
if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
snprintf(buf, sizeof(buf), "?%u", rcode);
totext.deconsttext = buf;
} else
totext.consttext = rcodetext[rcode];
return totext.deconsttext;
}
void
dighost_shutdown(void) {
isc_event_t *event = global_event;
@@ -412,7 +430,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
nametext, sizeof(nametext));
printf("** server can't find %s: %s\n",
(msg->rcode != dns_rcode_nxdomain) ? nametext :
query->lookup->textname, rcodetext[msg->rcode]);
query->lookup->textname, rcode_totext(msg->rcode));
debug("returning with rcode == 0");
return (ISC_R_SUCCESS);
}
+2 -2
View File
@@ -1,7 +1,7 @@
<!--
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- 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.
-
@@ -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.21.150.1 2009/07/11 01:43:27 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-2
View File
@@ -1,6 +1,4 @@
Makefile
dnssec-dsfromkey
dnssec-keyfromlabel
dnssec-keygen
dnssec-makekeyset
dnssec-signkey
+6 -18
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/or 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: Makefile.in,v 1.35 2008/11/07 02:28:49 marka Exp $
# $Id: Makefile.in,v 1.32 2007/06/19 23:46:59 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -39,32 +39,20 @@ DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
# Alphabetically
TARGETS = dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@ \
dnssec-keyfromlabel@EXEEXT@ dnssec-dsfromkey@EXEEXT@
TARGETS = dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@
OBJS = dnssectool.@O@
SRCS = dnssec-dsfromkey.c dnssec-keyfromlabel.c dnssec-keygen.c \
dnssec-signzone.c dnssectool.c
SRCS = dnssec-keygen.c dnssec-signzone.c dnssectool.c
MANPAGES = dnssec-dsfromkey.8 dnssec-keyfromlabel.8 dnssec-keygen.8 \
dnssec-signzone.8
MANPAGES = dnssec-keygen.8 dnssec-signzone.8
HTMLPAGES = dnssec-dsfromkey.html dnssec-keyfromlabel.html \
dnssec-keygen.html dnssec-signzone.html
HTMLPAGES = dnssec-keygen.html dnssec-signzone.html
MANOBJS = ${MANPAGES} ${HTMLPAGES}
@BIND9_MAKE_RULES@
dnssec-dsfromkey@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
dnssec-dsfromkey.@O@ ${OBJS} ${LIBS}
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}
-124
View File
@@ -1,124 +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: dnssec-dsfromkey.8,v 1.5 2008/11/08 01:11:47 tbox Exp $
.\"
.hy 0
.ad l
.\" Title: dnssec\-dsfromkey
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: November 29, 2008
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "DNSSEC\-DSFROMKEY" "8" "November 29, 2008" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
dnssec\-dsfromkey \- DNSSEC DS RR generation tool
.SH "SYNOPSIS"
.HP 17
\fBdnssec\-dsfromkey\fR [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-1\fR] [\fB\-2\fR] [\fB\-a\ \fR\fB\fIalg\fR\fR] {keyfile}
.HP 17
\fBdnssec\-dsfromkey\fR {\-s} [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-1\fR] [\fB\-2\fR] [\fB\-a\ \fR\fB\fIalg\fR\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-d\ \fR\fB\fIdir\fR\fR] {dnsname}
.SH "DESCRIPTION"
.PP
\fBdnssec\-dsfromkey\fR
outputs the Delegation Signer (DS) resource record (RR), as defined in RFC 3658 and RFC 4509, for the given key(s).
.SH "OPTIONS"
.PP
\-1
.RS 4
Use SHA\-1 as the digest algorithm (the default is to use both SHA\-1 and SHA\-256).
.RE
.PP
\-2
.RS 4
Use SHA\-256 as the digest algorithm.
.RE
.PP
\-a \fIalgorithm\fR
.RS 4
Select the digest algorithm. The value of
\fBalgorithm\fR
must be one of SHA\-1 (SHA1) or SHA\-256 (SHA256). These values are case insensitive.
.RE
.PP
\-v \fIlevel\fR
.RS 4
Sets the debugging level.
.RE
.PP
\-s
.RS 4
Keyset mode: in place of the keyfile name, the argument is the DNS domain name of a keyset file. Following options make sense only in this mode.
.RE
.PP
\-c \fIclass\fR
.RS 4
Specifies the DNS class (default is IN), useful only in the keyset mode.
.RE
.PP
\-d \fIdirectory\fR
.RS 4
Look for
\fIkeyset\fR
files in
\fBdirectory\fR
as the directory, ignored when not in the keyset mode.
.RE
.SH "EXAMPLE"
.PP
To build the SHA\-256 DS RR from the
\fBKexample.com.+003+26160\fR
keyfile name, the following command would be issued:
.PP
\fBdnssec\-dsfromkey \-2 Kexample.com.+003+26160\fR
.PP
The command would print something like:
.PP
\fBexample.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94\fR
.SH "FILES"
.PP
The keyfile can be designed by the key identification
\fIKnnnn.+aaa+iiiii\fR
or the full file name
\fIKnnnn.+aaa+iiiii.key\fR
as generated by
dnssec\-keygen(8).
.PP
The keyset file name is built from the
\fBdirectory\fR, the string
\fIkeyset\-\fR
and the
\fBdnsname\fR.
.SH "CAVEAT"
.PP
A keyfile error can give a "file not found" even if the file exists.
.SH "SEE ALSO"
.PP
\fBdnssec\-keygen\fR(8),
\fBdnssec\-signzone\fR(8),
BIND 9 Administrator Reference Manual,
RFC 3658,
RFC 4509.
.SH "AUTHOR"
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2008 Internet Systems Consortium, Inc. ("ISC")
.br
-396
View File
@@ -1,396 +0,0 @@
/*
* Copyright (C) 2008, 2009 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-dsfromkey.c,v 1.5 2009/03/02 03:01:04 marka Exp $ */
/*! \file */
#include <config.h>
#include <stdlib.h>
#include <isc/buffer.h>
#include <isc/commandline.h>
#include <isc/entropy.h>
#include <isc/hash.h>
#include <isc/mem.h>
#include <isc/print.h>
#include <isc/string.h>
#include <isc/util.h>
#include <dns/db.h>
#include <dns/dbiterator.h>
#include <dns/ds.h>
#include <dns/fixedname.h>
#include <dns/log.h>
#include <dns/name.h>
#include <dns/rdata.h>
#include <dns/rdataclass.h>
#include <dns/rdataset.h>
#include <dns/rdatasetiter.h>
#include <dns/rdatatype.h>
#include <dns/result.h>
#include <dst/dst.h>
#include "dnssectool.h"
const char *program = "dnssec-dsfromkey";
int verbose;
static dns_rdataclass_t rdclass;
static dns_fixedname_t fixed;
static dns_name_t *name = NULL;
static dns_db_t *db = NULL;
static dns_dbnode_t *node = NULL;
static dns_rdataset_t keyset;
static isc_mem_t *mctx = NULL;
static void
loadkeys(char *dirname, char *setname)
{
isc_result_t result;
char filename[1024];
isc_buffer_t buf;
dns_rdataset_init(&keyset);
dns_fixedname_init(&fixed);
name = dns_fixedname_name(&fixed);
isc_buffer_init(&buf, setname, strlen(setname));
isc_buffer_add(&buf, strlen(setname));
result = dns_name_fromtext(name, &buf, dns_rootname, ISC_FALSE, NULL);
if (result != ISC_R_SUCCESS)
fatal("can't convert DNS name %s", setname);
isc_buffer_init(&buf, filename, sizeof(filename));
if (dirname != NULL) {
isc_buffer_putstr(&buf, dirname);
if (dirname[strlen(dirname) - 1] != '/')
isc_buffer_putstr(&buf, "/");
}
isc_buffer_putstr(&buf, "keyset-");
result = dns_name_tofilenametext(name, ISC_FALSE, &buf);
check_result(result, "dns_name_tofilenametext()");
if (isc_buffer_availablelength(&buf) == 0)
fatal("name %s too long", setname);
isc_buffer_putuint8(&buf, 0);
result = dns_db_create(mctx, "rbt", name, dns_dbtype_zone,
rdclass, 0, NULL, &db);
if (result != ISC_R_SUCCESS)
fatal("can't create database");
result = dns_db_load(db, filename);
if (result != ISC_R_SUCCESS && result != DNS_R_SEENINCLUDE)
fatal("can't load %s: %s", filename, isc_result_totext(result));
result = dns_db_findnode(db, name, ISC_FALSE, &node);
if (result != ISC_R_SUCCESS)
fatal("can't find %s node in %s", setname, filename);
result = dns_db_findrdataset(db, node, NULL, dns_rdatatype_dnskey,
0, 0, &keyset, NULL);
if (result == ISC_R_NOTFOUND)
fatal("no DNSKEY RR for %s in %s", setname, filename);
else if (result != ISC_R_SUCCESS)
fatal("dns_db_findrdataset");
}
static void
loadkey(char *filename, unsigned char *key_buf, unsigned int key_buf_size,
dns_rdata_t *rdata)
{
isc_result_t result;
dst_key_t *key = NULL;
isc_buffer_t keyb;
isc_region_t r;
dns_rdataset_init(&keyset);
dns_rdata_init(rdata);
isc_buffer_init(&keyb, key_buf, key_buf_size);
result = dst_key_fromnamedfile(filename, DST_TYPE_PUBLIC, mctx, &key);
if (result != ISC_R_SUCCESS)
fatal("invalid keyfile name %s: %s",
filename, isc_result_totext(result));
if (verbose > 2) {
char keystr[KEY_FORMATSIZE];
key_format(key, keystr, sizeof(keystr));
fprintf(stderr, "%s: %s\n", program, keystr);
}
result = dst_key_todns(key, &keyb);
if (result != ISC_R_SUCCESS)
fatal("can't decode key");
isc_buffer_usedregion(&keyb, &r);
dns_rdata_fromregion(rdata, dst_key_class(key),
dns_rdatatype_dnskey, &r);
rdclass = dst_key_class(key);
dns_fixedname_init(&fixed);
name = dns_fixedname_name(&fixed);
result = dns_name_copy(dst_key_name(key), name, NULL);
if (result != ISC_R_SUCCESS)
fatal("can't copy name");
dst_key_free(&key);
}
static void
logkey(dns_rdata_t *rdata)
{
isc_result_t result;
dst_key_t *key = NULL;
isc_buffer_t buf;
char keystr[KEY_FORMATSIZE];
isc_buffer_init(&buf, rdata->data, rdata->length);
isc_buffer_add(&buf, rdata->length);
result = dst_key_fromdns(name, rdclass, &buf, mctx, &key);
if (result != ISC_R_SUCCESS)
return;
key_format(key, keystr, sizeof(keystr));
fprintf(stderr, "%s: %s\n", program, keystr);
dst_key_free(&key);
}
static void
emitds(unsigned int dtype, dns_rdata_t *rdata)
{
isc_result_t result;
unsigned char buf[DNS_DS_BUFFERSIZE];
char text_buf[DST_KEY_MAXTEXTSIZE];
char class_buf[10];
isc_buffer_t textb, classb;
isc_region_t r;
dns_rdata_t ds;
isc_buffer_init(&textb, text_buf, sizeof(text_buf));
isc_buffer_init(&classb, class_buf, sizeof(class_buf));
dns_rdata_init(&ds);
result = dns_ds_buildrdata(name, rdata, dtype, buf, &ds);
if (result != ISC_R_SUCCESS)
fatal("can't build DS");
result = dns_rdata_totext(&ds, (dns_name_t *) NULL, &textb);
if (result != ISC_R_SUCCESS)
fatal("can't print DS rdata");
result = dns_rdataclass_totext(rdclass, &classb);
if (result != ISC_R_SUCCESS)
fatal("can't print DS class");
result = dns_name_print(name, stdout);
if (result != ISC_R_SUCCESS)
fatal("can't print DS name");
putchar(' ');
isc_buffer_usedregion(&classb, &r);
fwrite(r.base, 1, r.length, stdout);
printf(" DS ");
isc_buffer_usedregion(&textb, &r);
fwrite(r.base, 1, r.length, stdout);
putchar('\n');
}
static void
usage(void) {
fprintf(stderr, "Usage:\n");
fprintf(stderr, " %s options keyfile\n\n", program);
fprintf(stderr, " %s options [-c class] [-d dir] -s dnsname\n\n",
program);
fprintf(stderr, "Version: %s\n", VERSION);
fprintf(stderr, "Options:\n");
fprintf(stderr, " -v <verbose level>\n");
fprintf(stderr, " -1: use SHA-1\n");
fprintf(stderr, " -2: use SHA-256\n");
fprintf(stderr, " -a algorithm: use algorithm\n");
fprintf(stderr, "Keyset options:\n");
fprintf(stderr, " -s: keyset mode\n");
fprintf(stderr, " -c class\n");
fprintf(stderr, " -d directory\n");
fprintf(stderr, "Output: DS RRs\n");
exit (-1);
}
int
main(int argc, char **argv) {
char *algname = NULL, *classname = NULL, *dirname = NULL;
char *endp;
int ch;
unsigned int dtype = DNS_DSDIGEST_SHA1;
isc_boolean_t both = ISC_TRUE;
isc_boolean_t usekeyset = ISC_FALSE;
isc_result_t result;
isc_log_t *log = NULL;
isc_entropy_t *ectx = NULL;
dns_rdata_t rdata;
dns_rdata_init(&rdata);
if (argc == 1)
usage();
result = isc_mem_create(0, 0, &mctx);
if (result != ISC_R_SUCCESS)
fatal("out of memory");
dns_result_register();
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"12a:c:d:sv:h")) != -1) {
switch (ch) {
case '1':
dtype = DNS_DSDIGEST_SHA1;
both = ISC_FALSE;
break;
case '2':
dtype = DNS_DSDIGEST_SHA256;
both = ISC_FALSE;
break;
case 'a':
algname = isc_commandline_argument;
both = ISC_FALSE;
break;
case 'c':
classname = isc_commandline_argument;
break;
case 'd':
dirname = isc_commandline_argument;
break;
case 's':
usekeyset = ISC_TRUE;
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);
/* Falls into */
case 'h':
usage();
default:
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
}
}
if (algname != NULL) {
if (strcasecmp(algname, "SHA1") == 0 ||
strcasecmp(algname, "SHA-1") == 0)
dtype = DNS_DSDIGEST_SHA1;
else if (strcasecmp(algname, "SHA256") == 0 ||
strcasecmp(algname, "SHA-256") == 0)
dtype = DNS_DSDIGEST_SHA256;
else
fatal("unknown algorithm %s", algname);
}
rdclass = strtoclass(classname);
if (argc < isc_commandline_index + 1)
fatal("the key file name was not specified");
if (argc > isc_commandline_index + 1)
fatal("extraneous arguments");
if (ectx == NULL)
setup_entropy(mctx, NULL, &ectx);
result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
if (result != ISC_R_SUCCESS)
fatal("could not initialize hash");
result = dst_lib_init(mctx, ectx,
ISC_ENTROPY_BLOCKING | ISC_ENTROPY_GOODONLY);
if (result != ISC_R_SUCCESS)
fatal("could not initialize dst");
isc_entropy_stopcallbacksources(ectx);
setup_logging(verbose, mctx, &log);
if (usekeyset) {
loadkeys(dirname, argv[isc_commandline_index]);
for (result = dns_rdataset_first(&keyset);
result == ISC_R_SUCCESS;
result = dns_rdataset_next(&keyset)) {
dns_rdata_init(&rdata);
dns_rdataset_current(&keyset, &rdata);
if (verbose > 2)
logkey(&rdata);
if (both) {
emitds(DNS_DSDIGEST_SHA1, &rdata);
emitds(DNS_DSDIGEST_SHA256, &rdata);
} else
emitds(dtype, &rdata);
}
} else {
unsigned char key_buf[DST_KEY_MAXSIZE];
loadkey(argv[isc_commandline_index], key_buf,
DST_KEY_MAXSIZE, &rdata);
if (both) {
emitds(DNS_DSDIGEST_SHA1, &rdata);
emitds(DNS_DSDIGEST_SHA256, &rdata);
} else
emitds(dtype, &rdata);
}
if (dns_rdataset_isassociated(&keyset))
dns_rdataset_disassociate(&keyset);
if (node != NULL)
dns_db_detachnode(db, &node);
if (db != NULL)
dns_db_detach(&db);
cleanup_logging(&log);
dst_lib_destroy();
isc_hash_destroy();
cleanup_entropy(&ectx);
dns_name_destroy();
if (verbose > 10)
isc_mem_stats(mctx, stdout);
isc_mem_destroy(&mctx);
fflush(stdout);
if (ferror(stdout)) {
fprintf(stderr, "write error\n");
return (1);
} else
return (0);
}
-214
View File
@@ -1,214 +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-dsfromkey.docbook,v 1.6 2008/11/07 13:54:11 jreed Exp $ -->
<refentry id="man.dnssec-dsfromkey">
<refentryinfo>
<date>November 29, 2008</date>
</refentryinfo>
<refmeta>
<refentrytitle><application>dnssec-dsfromkey</application></refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo>BIND9</refmiscinfo>
</refmeta>
<refnamediv>
<refname><application>dnssec-dsfromkey</application></refname>
<refpurpose>DNSSEC DS RR generation tool</refpurpose>
</refnamediv>
<docinfo>
<copyright>
<year>2008</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
<refsynopsisdiv>
<cmdsynopsis>
<command>dnssec-dsfromkey</command>
<arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
<arg><option>-1</option></arg>
<arg><option>-2</option></arg>
<arg><option>-a <replaceable class="parameter">alg</replaceable></option></arg>
<arg choice="req">keyfile</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>dnssec-dsfromkey</command>
<arg choice="req">-s</arg>
<arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
<arg><option>-1</option></arg>
<arg><option>-2</option></arg>
<arg><option>-a <replaceable class="parameter">alg</replaceable></option></arg>
<arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
<arg><option>-d <replaceable class="parameter">dir</replaceable></option></arg>
<arg choice="req">dnsname</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para><command>dnssec-dsfromkey</command>
outputs the Delegation Signer (DS) resource record (RR), as defined in
RFC 3658 and RFC 4509, for the given key(s).
</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>-1</term>
<listitem>
<para>
Use SHA-1 as the digest algorithm (the default is to use
both SHA-1 and SHA-256).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-2</term>
<listitem>
<para>
Use SHA-256 as the digest algorithm.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-a <replaceable class="parameter">algorithm</replaceable></term>
<listitem>
<para>
Select the digest algorithm. The value of
<option>algorithm</option> must be one of SHA-1 (SHA1) or
SHA-256 (SHA256). These values are case insensitive.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-v <replaceable class="parameter">level</replaceable></term>
<listitem>
<para>
Sets the debugging level.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-s</term>
<listitem>
<para>
Keyset mode: in place of the keyfile name, the argument is
the DNS domain name of a keyset file. Following options make sense
only in this mode.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-c <replaceable class="parameter">class</replaceable></term>
<listitem>
<para>
Specifies the DNS class (default is IN), useful only
in the keyset mode.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-d <replaceable class="parameter">directory</replaceable></term>
<listitem>
<para>
Look for <filename>keyset</filename> files in
<option>directory</option> as the directory, ignored when
not in the keyset mode.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>EXAMPLE</title>
<para>
To build the SHA-256 DS RR from the
<userinput>Kexample.com.+003+26160</userinput>
keyfile name, the following command would be issued:
</para>
<para><userinput>dnssec-dsfromkey -2 Kexample.com.+003+26160</userinput>
</para>
<para>
The command would print something like:
</para>
<para><userinput>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</userinput>
</para>
</refsect1>
<refsect1>
<title>FILES</title>
<para>
The keyfile can be designed by the key identification
<filename>Knnnn.+aaa+iiiii</filename> or the full file name
<filename>Knnnn.+aaa+iiiii.key</filename> as generated by
<refentrytitle>dnssec-keygen</refentrytitle><manvolnum>8</manvolnum>.
</para>
<para>
The keyset file name is built from the <option>directory</option>,
the string <filename>keyset-</filename> and the
<option>dnsname</option>.
</para>
</refsect1>
<refsect1>
<title>CAVEAT</title>
<para>
A keyfile error can give a "file not found" even if the file exists.
</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 3658</citetitle>,
<citetitle>RFC 4509</citetitle>.
</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para><corpauthor>Internet Systems Consortium</corpauthor>
</para>
</refsect1>
</refentry><!--
- Local variables:
- mode: sgml
- End:
-->
-133
View File
@@ -1,133 +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: dnssec-dsfromkey.html,v 1.5 2008/11/08 01:11:47 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>dnssec-dsfromkey</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-dsfromkey"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2>Name</h2>
<p><span class="application">dnssec-dsfromkey</span> &#8212; DNSSEC DS RR generation tool</p>
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">dnssec-dsfromkey</code> [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-1</code>] [<code class="option">-2</code>] [<code class="option">-a <em class="replaceable"><code>alg</code></em></code>] {keyfile}</p></div>
<div class="cmdsynopsis"><p><code class="command">dnssec-dsfromkey</code> {-s} [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-1</code>] [<code class="option">-2</code>] [<code class="option">-a <em class="replaceable"><code>alg</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-d <em class="replaceable"><code>dir</code></em></code>] {dnsname}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543424"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-dsfromkey</strong></span>
outputs the Delegation Signer (DS) resource record (RR), as defined in
RFC 3658 and RFC 4509, for the given key(s).
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543435"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-1</span></dt>
<dd><p>
Use SHA-1 as the digest algorithm (the default is to use
both SHA-1 and SHA-256).
</p></dd>
<dt><span class="term">-2</span></dt>
<dd><p>
Use SHA-256 as the digest algorithm.
</p></dd>
<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
<dd><p>
Select the digest algorithm. The value of
<code class="option">algorithm</code> must be one of SHA-1 (SHA1) or
SHA-256 (SHA256). These values are case insensitive.
</p></dd>
<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
<dd><p>
Sets the debugging level.
</p></dd>
<dt><span class="term">-s</span></dt>
<dd><p>
Keyset mode: in place of the keyfile name, the argument is
the DNS domain name of a keyset file. Following options make sense
only in this mode.
</p></dd>
<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
<dd><p>
Specifies the DNS class (default is IN), useful only
in the keyset mode.
</p></dd>
<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
Look for <code class="filename">keyset</code> files in
<code class="option">directory</code> as the directory, ignored when
not in the keyset mode.
</p></dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543563"></a><h2>EXAMPLE</h2>
<p>
To build the SHA-256 DS RR from the
<strong class="userinput"><code>Kexample.com.+003+26160</code></strong>
keyfile name, the following command would be issued:
</p>
<p><strong class="userinput"><code>dnssec-dsfromkey -2 Kexample.com.+003+26160</code></strong>
</p>
<p>
The command would print something like:
</p>
<p><strong class="userinput"><code>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</code></strong>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543593"></a><h2>FILES</h2>
<p>
The keyfile can be designed by the key identification
<code class="filename">Knnnn.+aaa+iiiii</code> or the full file name
<code class="filename">Knnnn.+aaa+iiiii.key</code> as generated by
<span class="refentrytitle">dnssec-keygen</span>(8).
</p>
<p>
The keyset file name is built from the <code class="option">directory</code>,
the string <code class="filename">keyset-</code> and the
<code class="option">dnsname</code>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543628"></a><h2>CAVEAT</h2>
<p>
A keyfile error can give a "file not found" even if the file exists.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543638"></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 3658</em>,
<em class="citetitle">RFC 4509</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543674"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
</div></body>
</html>
-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.6 2008/11/08 01:11:47 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, NSEC3RSASHA1, NSEC3DSA 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 2539,
RFC 2845,
RFC 4033.
.SH "AUTHOR"
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2008 Internet Systems Consortium, Inc. ("ISC")
.br
-327
View File
@@ -1,327 +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.4 2008/09/24 02:46:21 marka 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 |"
" NSEC3DSA | NSEC3RSASHA1";
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.6 2008/11/07 13:54:11 jreed 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, NSEC3RSASHA1, NSEC3DSA 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 2539</citetitle>,
<citetitle>RFC 2845</citetitle>,
<citetitle>RFC 4033</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.5 2008/10/15 01:11:35 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, NSEC3RSASHA1, NSEC3DSA 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 2539</em>,
<em class="citetitle">RFC 2845</em>,
<em class="citetitle">RFC 4033</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>
+3 -3
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" 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.
.\"
@@ -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.40 2008/10/15 01:11:35 tbox Exp $
.\" $Id: dnssec-keygen.8,v 1.38.130.3 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
@@ -44,7 +44,7 @@ generates keys for DNSSEC (Secure DNS), as defined in RFC 2535 and RFC 4034. It
.RS 4
Selects the cryptographic algorithm. The value of
\fBalgorithm\fR
must be one of RSAMD5 (RSA) or RSASHA1, DSA, NSEC3RSASHA1, NSEC3DSA, DH (Diffie Hellman), or HMAC\-MD5. These values are case insensitive.
must be one of RSAMD5 (RSA) or RSASHA1, DSA, DH (Diffie Hellman), or HMAC\-MD5. These values are case insensitive.
.sp
Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement algorithm, and DSA is recommended. For TSIG, HMAC\-MD5 is mandatory.
.sp
+6 -11
View File
@@ -1,5 +1,5 @@
/*
* 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
@@ -29,7 +29,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-keygen.c,v 1.81 2008/09/25 04:02:38 tbox Exp $ */
/* $Id: dnssec-keygen.c,v 1.79 2007/08/28 07:20:42 tbox Exp $ */
/*! \file */
@@ -62,9 +62,8 @@
const char *program = "dnssec-keygen";
int verbose;
static const char *algs = "RSA | RSAMD5 | DH | DSA | RSASHA1 | NSEC3DSA |"
" NSEC3RSASHA1 | HMAC-MD5 |"
" HMAC-SHA1 | HMAC-SHA224 | HMAC-SHA256 |"
static const char *algs = "RSA | RSAMD5 | DH | DSA | RSASHA1 | HMAC-MD5 |"
" HMAC-SHA1 | HMAC-SHA224 | HMAC-SHA256 | "
" HMAC-SHA384 | HMAC-SHA512";
static isc_boolean_t
@@ -83,10 +82,8 @@ usage(void) {
fprintf(stderr, " -b key size, in bits:\n");
fprintf(stderr, " RSAMD5:\t\t[512..%d]\n", MAX_RSA);
fprintf(stderr, " RSASHA1:\t\t[512..%d]\n", MAX_RSA);
fprintf(stderr, " NSEC3RSASHA1:\t\t[512..%d]\n", MAX_RSA);
fprintf(stderr, " DH:\t\t[128..4096]\n");
fprintf(stderr, " DSA:\t\t[512..1024] and divisible by 64\n");
fprintf(stderr, " NSEC3DSA:\t\t[512..1024] and divisible by 64\n");
fprintf(stderr, " HMAC-MD5:\t[1..512]\n");
fprintf(stderr, " HMAC-SHA1:\t[1..160]\n");
fprintf(stderr, " HMAC-SHA224:\t[1..224]\n");
@@ -306,7 +303,6 @@ main(int argc, char **argv) {
switch (alg) {
case DNS_KEYALG_RSAMD5:
case DNS_KEYALG_RSASHA1:
case DNS_KEYALG_NSEC3RSASHA1:
if (size != 0 && (size < 512 || size > MAX_RSA))
fatal("RSA key size %d out of range", size);
break;
@@ -315,7 +311,6 @@ main(int argc, char **argv) {
fatal("DH key size %d out of range", size);
break;
case DNS_KEYALG_DSA:
case DNS_KEYALG_NSEC3DSA:
if (size != 0 && !dsa_size_ok(size))
fatal("invalid DSS key size: %d", size);
break;
@@ -375,8 +370,8 @@ main(int argc, char **argv) {
break;
}
if (!(alg == DNS_KEYALG_RSAMD5 || alg == DNS_KEYALG_RSASHA1 ||
alg == DNS_KEYALG_NSEC3RSASHA1) && rsa_exp != 0)
if (!(alg == DNS_KEYALG_RSAMD5 || alg == DNS_KEYALG_RSASHA1) &&
rsa_exp != 0)
fatal("specified RSA exponent for a non-RSA key");
if (alg != DNS_KEYALG_DH && generator != 0)
+5 -5
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keygen.docbook,v 1.22 2008/10/14 14:32:50 jreed Exp $ -->
<!-- $Id: dnssec-keygen.docbook,v 1.19.130.2 2008/10/15 23:46:53 tbox Exp $ -->
<refentry id="man.dnssec-keygen">
<refentryinfo>
<date>June 30, 2000</date>
@@ -92,13 +92,13 @@
<para>
Selects the cryptographic algorithm. The value of
<option>algorithm</option> must be one of RSAMD5 (RSA) or RSASHA1,
DSA, NSEC3RSASHA1, NSEC3DSA, DH (Diffie Hellman), or HMAC-MD5.
These values are case insensitive.
DSA, DH (Diffie Hellman), or HMAC-MD5. These values
are case insensitive.
</para>
<para>
Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
algorithm, and DSA is recommended. For TSIG, HMAC-MD5 is
mandatory.
algorithm,
and DSA is recommended. For TSIG, HMAC-MD5 is mandatory.
</para>
<para>
Note 2: HMAC-MD5 and DH automatically set the -k flag.
+6 -6
View File
@@ -2,7 +2,7 @@
- Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- 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.
-
@@ -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.32 2008/10/15 01:11:35 tbox Exp $ -->
<!-- $Id: dnssec-keygen.html,v 1.30.130.3 2009/07/11 01:43:27 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -47,13 +47,13 @@
<p>
Selects the cryptographic algorithm. The value of
<code class="option">algorithm</code> must be one of RSAMD5 (RSA) or RSASHA1,
DSA, NSEC3RSASHA1, NSEC3DSA, DH (Diffie Hellman), or HMAC-MD5.
These values are case insensitive.
DSA, DH (Diffie Hellman), or HMAC-MD5. These values
are case insensitive.
</p>
<p>
Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
algorithm, and DSA is recommended. For TSIG, HMAC-MD5 is
mandatory.
algorithm,
and DSA is recommended. For TSIG, HMAC-MD5 is mandatory.
</p>
<p>
Note 2: HMAC-MD5 and DH automatically set the -k flag.
+3 -18
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" 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.
.\"
@@ -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.47 2008/10/15 01:11:35 tbox Exp $
.\" $Id: dnssec-signzone.8,v 1.45.164.3 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
@@ -33,7 +33,7 @@
dnssec\-signzone \- DNSSEC zone signing tool
.SH "SYNOPSIS"
.HP 16
\fBdnssec\-signzone\fR [\fB\-a\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-d\ \fR\fB\fIdirectory\fR\fR] [\fB\-e\ \fR\fB\fIend\-time\fR\fR] [\fB\-f\ \fR\fB\fIoutput\-file\fR\fR] [\fB\-g\fR] [\fB\-h\fR] [\fB\-k\ \fR\fB\fIkey\fR\fR] [\fB\-l\ \fR\fB\fIdomain\fR\fR] [\fB\-i\ \fR\fB\fIinterval\fR\fR] [\fB\-I\ \fR\fB\fIinput\-format\fR\fR] [\fB\-j\ \fR\fB\fIjitter\fR\fR] [\fB\-N\ \fR\fB\fIsoa\-serial\-format\fR\fR] [\fB\-o\ \fR\fB\fIorigin\fR\fR] [\fB\-O\ \fR\fB\fIoutput\-format\fR\fR] [\fB\-p\fR] [\fB\-r\ \fR\fB\fIrandomdev\fR\fR] [\fB\-s\ \fR\fB\fIstart\-time\fR\fR] [\fB\-t\fR] [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-z\fR] [\fB\-3\ \fR\fB\fIsalt\fR\fR] [\fB\-H\ \fR\fB\fIiterations\fR\fR] [\fB\-A\fR] {zonefile} [key...]
\fBdnssec\-signzone\fR [\fB\-a\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-d\ \fR\fB\fIdirectory\fR\fR] [\fB\-e\ \fR\fB\fIend\-time\fR\fR] [\fB\-f\ \fR\fB\fIoutput\-file\fR\fR] [\fB\-g\fR] [\fB\-h\fR] [\fB\-k\ \fR\fB\fIkey\fR\fR] [\fB\-l\ \fR\fB\fIdomain\fR\fR] [\fB\-i\ \fR\fB\fIinterval\fR\fR] [\fB\-I\ \fR\fB\fIinput\-format\fR\fR] [\fB\-j\ \fR\fB\fIjitter\fR\fR] [\fB\-N\ \fR\fB\fIsoa\-serial\-format\fR\fR] [\fB\-o\ \fR\fB\fIorigin\fR\fR] [\fB\-O\ \fR\fB\fIoutput\-format\fR\fR] [\fB\-p\fR] [\fB\-r\ \fR\fB\fIrandomdev\fR\fR] [\fB\-s\ \fR\fB\fIstart\-time\fR\fR] [\fB\-t\fR] [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-z\fR] {zonefile} [key...]
.SH "DESCRIPTION"
.PP
\fBdnssec\-signzone\fR
@@ -212,21 +212,6 @@ Sets the debugging level.
Ignore KSK flag on key when determining what to sign.
.RE
.PP
\-3 \fIsalt\fR
.RS 4
Generate a NSEC3 chain with the given hex encoded salt. A dash (\fIsalt\fR) can be used to indicate that no salt is to be used when generating the NSEC3 chain.
.RE
.PP
\-H \fIiterations\fR
.RS 4
When generating a NSEC3 chain use this many interations. The default is 100.
.RE
.PP
\-A
.RS 4
When generating a NSEC3 chain set the OPTOUT flag on all NSEC3 records and do not generate NSEC3 records for insecure delegations.
.RE
.PP
zonefile
.RS 4
The file containing the zone to be signed.
File diff suppressed because it is too large Load Diff
+1 -36
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-signzone.docbook,v 1.31 2008/10/14 14:28:25 jreed Exp $ -->
<!-- $Id: dnssec-signzone.docbook,v 1.27.130.2 2008/10/15 23:46:53 tbox Exp $ -->
<refentry id="man.dnssec-signzone">
<refentryinfo>
<date>June 30, 2000</date>
@@ -77,9 +77,6 @@
<arg><option>-t</option></arg>
<arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
<arg><option>-z</option></arg>
<arg><option>-3 <replaceable class="parameter">salt</replaceable></option></arg>
<arg><option>-H <replaceable class="parameter">iterations</replaceable></option></arg>
<arg><option>-A</option></arg>
<arg choice="req">zonefile</arg>
<arg rep="repeat">key</arg>
</cmdsynopsis>
@@ -402,38 +399,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-3 <replaceable class="parameter">salt</replaceable></term>
<listitem>
<para>
Generate a NSEC3 chain with the given hex encoded salt.
A dash (<replaceable class="parameter">salt</replaceable>) can
be used to indicate that no salt is to be used when generating the NSEC3 chain.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-H <replaceable class="parameter">iterations</replaceable></term>
<listitem>
<para>
When generating a NSEC3 chain use this many interations. The
default is 100.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-A</term>
<listitem>
<para>
When generating a NSEC3 chain set the OPTOUT flag on all
NSEC3 records and do not generate NSEC3 records for insecure
delegations.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>zonefile</term>
<listitem>
+8 -25
View File
@@ -2,7 +2,7 @@
- Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- 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.
-
@@ -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.33 2008/10/15 01:11:35 tbox Exp $ -->
<!-- $Id: dnssec-signzone.html,v 1.31.164.3 2009/07/11 01:43:27 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,10 +29,10 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">dnssec-signzone</code> [<code class="option">-a</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-d <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-e <em class="replaceable"><code>end-time</code></em></code>] [<code class="option">-f <em class="replaceable"><code>output-file</code></em></code>] [<code class="option">-g</code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>key</code></em></code>] [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>] [<code class="option">-i <em class="replaceable"><code>interval</code></em></code>] [<code class="option">-I <em class="replaceable"><code>input-format</code></em></code>] [<code class="option">-j <em class="replaceable"><code>jitter</code></em></code>] [<code class="option">-N <em class="replaceable"><code>soa-serial-format</code></em></code>] [<code class="option">-o <em class="replaceable"><code>origin</code></em></code>] [<code class="option">-O <em class="replaceable"><code>output-format</code></em></code>] [<code class="option">-p</code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-s <em class="replaceable"><code>start-time</code></em></code>] [<code class="option">-t</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-z</code>] [<code class="option">-3 <em class="replaceable"><code>salt</code></em></code>] [<code class="option">-H <em class="replaceable"><code>iterations</code></em></code>] [<code class="option">-A</code>] {zonefile} [key...]</p></div>
<div class="cmdsynopsis"><p><code class="command">dnssec-signzone</code> [<code class="option">-a</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-d <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-e <em class="replaceable"><code>end-time</code></em></code>] [<code class="option">-f <em class="replaceable"><code>output-file</code></em></code>] [<code class="option">-g</code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>key</code></em></code>] [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>] [<code class="option">-i <em class="replaceable"><code>interval</code></em></code>] [<code class="option">-I <em class="replaceable"><code>input-format</code></em></code>] [<code class="option">-j <em class="replaceable"><code>jitter</code></em></code>] [<code class="option">-N <em class="replaceable"><code>soa-serial-format</code></em></code>] [<code class="option">-o <em class="replaceable"><code>origin</code></em></code>] [<code class="option">-O <em class="replaceable"><code>output-format</code></em></code>] [<code class="option">-p</code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-s <em class="replaceable"><code>start-time</code></em></code>] [<code class="option">-t</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-z</code>] {zonefile} [key...]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543550"></a><h2>DESCRIPTION</h2>
<a name="id2543529"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-signzone</strong></span>
signs a zone. It generates
NSEC and RRSIG records and produces a signed version of the
@@ -43,7 +43,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543565"></a><h2>OPTIONS</h2>
<a name="id2543544"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a</span></dt>
<dd><p>
@@ -226,23 +226,6 @@
<dd><p>
Ignore KSK flag on key when determining what to sign.
</p></dd>
<dt><span class="term">-3 <em class="replaceable"><code>salt</code></em></span></dt>
<dd><p>
Generate a NSEC3 chain with the given hex encoded salt.
A dash (<em class="replaceable"><code>salt</code></em>) can
be used to indicate that no salt is to be used when generating the NSEC3 chain.
</p></dd>
<dt><span class="term">-H <em class="replaceable"><code>iterations</code></em></span></dt>
<dd><p>
When generating a NSEC3 chain use this many interations. The
default is 100.
</p></dd>
<dt><span class="term">-A</span></dt>
<dd><p>
When generating a NSEC3 chain set the OPTOUT flag on all
NSEC3 records and do not generate NSEC3 records for insecure
delegations.
</p></dd>
<dt><span class="term">zonefile</span></dt>
<dd><p>
The file containing the zone to be signed.
@@ -258,7 +241,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544404"></a><h2>EXAMPLE</h2>
<a name="id2544330"></a><h2>EXAMPLE</h2>
<p>
The following command signs the <strong class="userinput"><code>example.com</code></strong>
zone with the DSA key generated by <span><strong class="command">dnssec-keygen</strong></span>
@@ -287,14 +270,14 @@ db.example.com.signed
%</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2544523"></a><h2>SEE ALSO</h2>
<a name="id2544381"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>,
<em class="citetitle">RFC 4033</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544548"></a><h2>AUTHOR</h2>
<a name="id2544406"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2007 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
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssectool.h,v 1.22 2008/09/25 04:02:38 tbox Exp $ */
/* $Id: dnssectool.h,v 1.20 2007/06/19 23:46:59 tbox Exp $ */
#ifndef DNSSECTOOL_H
#define DNSSECTOOL_H 1
@@ -41,7 +41,7 @@ vbprintf(int level, const char *fmt, ...) ISC_FORMAT_PRINTF(2, 3);
void
type_format(const dns_rdatatype_t type, char *cp, unsigned int size);
#define TYPE_FORMATSIZE 20
#define TYPE_FORMATSIZE 10
void
alg_format(const dns_secalg_t alg, char *cp, unsigned int size);
-103
View File
@@ -1,103 +0,0 @@
# Microsoft Developer Studio Project File - Name="dsfromkey" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=dsfromkey - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "dsfromkey.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "dsfromkey.mak" CFG="dsfromkey - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "dsfromkey - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "dsfromkey - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "dsfromkey - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib Release/dnssectool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/dnssec-dsfromkey.exe"
!ELSEIF "$(CFG)" == "dsfromkey - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib Debug/dnssectool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/dnssec-dsfromkey.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "dsfromkey - Win32 Release"
# Name "dsfromkey - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\dnssec-dsfromkey.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project
-29
View File
@@ -1,29 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "dsfromkey"=".\dsfromkey.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################
-324
View File
@@ -1,324 +0,0 @@
# Microsoft Developer Studio Generated NMAKE File, Based on dsfromkey.dsp
!IF "$(CFG)" == ""
CFG=dsfromkey - Win32 Debug
!MESSAGE No configuration specified. Defaulting to dsfromkey - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "dsfromkey - Win32 Release" && "$(CFG)" != "dsfromkey - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "dsfromkey.mak" CFG="dsfromkey - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "dsfromkey - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "dsfromkey - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "dsfromkey - Win32 Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
_VC_MANIFEST_INC=1
_VC_MANIFEST_BASENAME=__VC80.Debug
!ENDIF
####################################################
# Specifying name of temporary resource file used only in incremental builds:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
!else
_VC_MANIFEST_AUTO_RES=
!endif
####################################################
# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
!endif
####################################################
# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
!endif
####################################################
# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
$(_VC_MANIFEST_BASENAME).auto.rc \
$(_VC_MANIFEST_BASENAME).auto.manifest
!else
_VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "dsfromkey - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
ALL : "..\..\..\Build\Release\dnssec-dsfromkey.exe"
CLEAN :
-@erase "$(INTDIR)\dnssec-dsfromkey.obj"
-@erase "$(INTDIR)\dnssectool.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "..\..\..\Build\Release\dnssec-dsfromkey.exe"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\dsfromkey.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\dsfromkey.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\dnssec-dsfromkey.pdb" /machine:I386 /out:"../../../Build/Release/dnssec-dsfromkey.exe"
LINK32_OBJS= \
"$(INTDIR)\dnssec-dsfromkey.obj" \
"$(INTDIR)\dnssectool.obj"
"..\..\..\Build\Release\dnssec-dsfromkey.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "dsfromkey - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
ALL : "..\..\..\Build\Debug\dnssec-dsfromkey.exe" "$(OUTDIR)\dsfromkey.bsc"
CLEAN :
-@erase "$(INTDIR)\dnssec-dsfromkey.obj"
-@erase "$(INTDIR)\dnssec-dsfromkey.sbr"
-@erase "$(INTDIR)\dnssectool.obj"
-@erase "$(INTDIR)\dnssectool.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\dnssec-dsfromkey.pdb"
-@erase "$(OUTDIR)\dsfromkey.bsc"
-@erase "..\..\..\Build\Debug\dnssec-dsfromkey.exe"
-@erase "..\..\..\Build\Debug\dnssec-dsfromkey.ilk"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\dsfromkey.bsc"
BSC32_SBRS= \
"$(INTDIR)\dnssec-dsfromkey.sbr" \
"$(INTDIR)\dnssectool.sbr"
"$(OUTDIR)\dsfromkey.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\dnssec-dsfromkey.pdb" /debug /machine:I386 /out:"../../../Build/Debug/dnssec-dsfromkey.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\dnssec-dsfromkey.obj" \
"$(INTDIR)\dnssectool.obj"
"..\..\..\Build\Debug\dnssec-dsfromkey.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ENDIF
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("dsfromkey.dep")
!INCLUDE "dsfromkey.dep"
!ELSE
!MESSAGE Warning: cannot find "dsfromkey.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "dsfromkey - Win32 Release" || "$(CFG)" == "dsfromkey - Win32 Debug"
SOURCE="..\dnssec-dsfromkey.c"
!IF "$(CFG)" == "dsfromkey - Win32 Release"
"$(INTDIR)\dnssec-dsfromkey.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "dsfromkey - Win32 Debug"
"$(INTDIR)\dnssec-dsfromkey.obj" "$(INTDIR)\dnssec-dsfromkey.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\dnssectool.c
!IF "$(CFG)" == "dsfromkey - Win32 Release"
"$(INTDIR)\dnssectool.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "dsfromkey - Win32 Debug"
"$(INTDIR)\dnssectool.obj" "$(INTDIR)\dnssectool.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
!ENDIF
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP
-103
View File
@@ -1,103 +0,0 @@
# Microsoft Developer Studio Project File - Name="keyfromlabel" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=keyfromlabel - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "keyfromlabel.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "keyfromlabel.mak" CFG="keyfromlabel - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "keyfromlabel - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "keyfromlabel - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "keyfromlabel - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib Release/dnssectool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/dnssec-keyfromlabel.exe"
!ELSEIF "$(CFG)" == "keyfromlabel - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib Debug/dnssectool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/dnssec-keyfromlabel.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "keyfromlabel - Win32 Release"
# Name "keyfromlabel - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\dnssec-keyfromlabel.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project
-29
View File
@@ -1,29 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "keyfromlabel"=".\keyfromlabel.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################
-324
View File
@@ -1,324 +0,0 @@
# Microsoft Developer Studio Generated NMAKE File, Based on keyfromlabel.dsp
!IF "$(CFG)" == ""
CFG=keyfromlabel - Win32 Debug
!MESSAGE No configuration specified. Defaulting to keyfromlabel - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "keyfromlabel - Win32 Release" && "$(CFG)" != "keyfromlabel - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "keyfromlabel.mak" CFG="keyfromlabel - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "keyfromlabel - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "keyfromlabel - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "keyfromlabel - Win32 Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
_VC_MANIFEST_INC=1
_VC_MANIFEST_BASENAME=__VC80.Debug
!ENDIF
####################################################
# Specifying name of temporary resource file used only in incremental builds:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
!else
_VC_MANIFEST_AUTO_RES=
!endif
####################################################
# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
!endif
####################################################
# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
!endif
####################################################
# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
$(_VC_MANIFEST_BASENAME).auto.rc \
$(_VC_MANIFEST_BASENAME).auto.manifest
!else
_VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "keyfromlabel - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
ALL : "..\..\..\Build\Release\dnssec-keyfromlabel.exe"
CLEAN :
-@erase "$(INTDIR)\dnssec-keyfromlabel.obj"
-@erase "$(INTDIR)\dnssectool.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "..\..\..\Build\Release\dnssec-keyfromlabel.exe"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\keyfromlabel.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\keyfromlabel.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\dnssec-keyfromlabel.pdb" /machine:I386 /out:"../../../Build/Release/dnssec-keyfromlabel.exe"
LINK32_OBJS= \
"$(INTDIR)\dnssec-keyfromlabel.obj" \
"$(INTDIR)\dnssectool.obj"
"..\..\..\Build\Release\dnssec-keyfromlabel.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "keyfromlabel - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
ALL : "..\..\..\Build\Debug\dnssec-keyfromlabel.exe" "$(OUTDIR)\keyfromlabel.bsc"
CLEAN :
-@erase "$(INTDIR)\dnssec-keyfromlabel.obj"
-@erase "$(INTDIR)\dnssec-keyfromlabel.sbr"
-@erase "$(INTDIR)\dnssectool.obj"
-@erase "$(INTDIR)\dnssectool.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\dnssec-keyfromlabel.pdb"
-@erase "$(OUTDIR)\keyfromlabel.bsc"
-@erase "..\..\..\Build\Debug\dnssec-keyfromlabel.exe"
-@erase "..\..\..\Build\Debug\dnssec-keyfromlabel.ilk"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\keyfromlabel.bsc"
BSC32_SBRS= \
"$(INTDIR)\dnssec-keyfromlabel.sbr" \
"$(INTDIR)\dnssectool.sbr"
"$(OUTDIR)\keyfromlabel.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\dnssec-keyfromlabel.pdb" /debug /machine:I386 /out:"../../../Build/Debug/dnssec-keyfromlabel.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\dnssec-keyfromlabel.obj" \
"$(INTDIR)\dnssectool.obj"
"..\..\..\Build\Debug\dnssec-keyfromlabel.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ENDIF
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("keyfromlabel.dep")
!INCLUDE "keyfromlabel.dep"
!ELSE
!MESSAGE Warning: cannot find "keyfromlabel.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "keyfromlabel - Win32 Release" || "$(CFG)" == "keyfromlabel - Win32 Debug"
SOURCE="..\dnssec-keyfromlabel.c"
!IF "$(CFG)" == "keyfromlabel - Win32 Release"
"$(INTDIR)\dnssec-keyfromlabel.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "keyfromlabel - Win32 Debug"
"$(INTDIR)\dnssec-keyfromlabel.obj" "$(INTDIR)\dnssec-keyfromlabel.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\dnssectool.c
!IF "$(CFG)" == "keyfromlabel - Win32 Release"
"$(INTDIR)\dnssectool.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "keyfromlabel - Win32 Debug"
"$(INTDIR)\dnssectool.obj" "$(INTDIR)\dnssectool.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
!ENDIF
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP
+4 -11
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or 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: Makefile.in,v 1.104 2009/03/05 23:47:35 tbox Exp $
# $Id: Makefile.in,v 1.96.130.4 2008/03/31 05:06:47 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -21,8 +21,6 @@ top_srcdir = @top_srcdir@
@BIND9_VERSION@
@BIND9_CONFIGARGS@
@BIND9_MAKE_INCLUDES@
#
@@ -107,18 +105,13 @@ MANOBJS = ${MANPAGES} ${HTMLPAGES}
main.@O@: main.c
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
-DVERSION=\"${VERSION}\" \
-DCONFIGARGS="\"${CONFIGARGS}\"" \
-DNS_LOCALSTATEDIR=\"${localstatedir}\" \
-DNS_SYSCONFDIR=\"${sysconfdir}\" -c ${srcdir}/main.c
bind.keys.h: ${top_srcdir}/bind.keys
${PERL} ${srcdir}/bindkeys.pl < ${top_srcdir}/bind.keys > $@
config.@O@: config.c bind.keys.h
config.@O@: config.c
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
-DVERSION=\"${VERSION}\" \
-DNS_LOCALSTATEDIR=\"${localstatedir}\" \
-DNS_SYSCONFDIR=\"${sysconfdir}\" \
-c ${srcdir}/config.c
named@EXEEXT@: ${OBJS} ${UOBJS} ${DEPLIBS}
@@ -135,7 +128,7 @@ docclean manclean maintainer-clean::
rm -f ${MANOBJS}
clean distclean maintainer-clean::
rm -f ${TARGETS} ${OBJS} bind.keys.h
rm -f ${TARGETS} ${OBJS}
bind9.xsl.h: bind9.xsl convertxsl.pl
${PERL} ${srcdir}/convertxsl.pl < ${srcdir}/bind9.xsl > bind9.xsl.h
+1 -1
View File
@@ -15,7 +15,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: bind9.xsl,v 1.21 2009/01/27 23:47:54 tbox Exp $ -->
<!-- $Id: bind9.xsl,v 1.13.130.8 2009/01/29 23:47:13 tbox Exp $ -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+3 -3
View File
@@ -1,6 +1,6 @@
/*
* Generated by convertxsl.pl 1.14 2008/07/17 23:43:26 jinmei Exp
* From bind9.xsl 1.21 2009/01/27 23:47:54 tbox Exp
* Generated by convertxsl.pl 1.9.60.5 2008/07/17 23:50:58 jinmei Exp
* From bind9.xsl 1.13.130.8 2009/01/29 23:47:13 tbox Exp
*/
static char xslmsg[] =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -20,7 +20,7 @@ static char xslmsg[] =
" - PERFORMANCE OF THIS SOFTWARE.\n"
"-->\n"
"\n"
"<!-- \045Id: bind9.xsl,v 1.21 2009/01/27 23:47:54 tbox Exp \045 -->\n"
"<!-- \045Id: bind9.xsl,v 1.13.130.8 2009/01/29 23:47:13 tbox Exp \045 -->\n"
"\n"
"<xsl:stylesheet version=\"1.0\"\n"
" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n"
+5 -7
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 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: builtin.c,v 1.15 2009/03/01 02:45:38 each Exp $ */
/* $Id: builtin.c,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
/*! \file
* \brief
@@ -95,7 +95,7 @@ put_txt(dns_sdblookup_t *lookup, const char *text) {
static isc_result_t
do_version_lookup(dns_sdblookup_t *lookup) {
if (ns_g_server->version_set) {
if (ns_g_server->version_set) {
if (ns_g_server->version == NULL)
return (ISC_R_SUCCESS);
else
@@ -132,12 +132,10 @@ do_authors_lookup(dns_sdblookup_t *lookup) {
"Michael Graff",
"Andreas Gustafsson",
"Bob Halley",
"Evan Hunt",
"David Lawrence",
"Danny Mayer",
"Damien Neil",
"Matt Nelson",
"Jeremy C. Reed",
"Michael Sawyer",
"Brian Wellington",
NULL
@@ -200,7 +198,7 @@ builtin_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) {
if (b->contact != NULL)
contact = b->contact;
}
result = dns_sdb_putsoa(lookup, server, contact, 0);
if (result != ISC_R_SUCCESS)
return (ISC_R_FAILURE);
@@ -235,7 +233,7 @@ builtin_create(const char *zone, int argc, char **argv,
*dbdata = &authors_builtin;
else if (strcmp(argv[0], "id") == 0)
*dbdata = &id_builtin;
else if (strcmp(argv[0], "empty") == 0) {
else if (strcmp(argv[0], "empty") == 0) {
builtin_t *empty;
char *server;
char *contact;
+37 -55
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.c,v 1.264 2009/03/03 23:48:02 tbox Exp $ */
/* $Id: client.c,v 1.250.16.10 2009/01/29 22:41:43 jinmei Exp $ */
#include <config.h>
@@ -466,8 +466,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;
}
}
@@ -524,14 +522,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;
@@ -605,7 +595,6 @@ client_shutdown(isc_task_t *task, isc_event_t *event) {
}
client->newstate = NS_CLIENTSTATE_FREED;
client->needshutdown = ISC_FALSE;
(void)exit_check(client);
}
@@ -658,7 +647,7 @@ ns_client_checkactive(ns_client_t *client) {
* 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)
@@ -1355,6 +1344,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
dns_name_t *signame;
isc_boolean_t ra; /* Recursion available. */
isc_netaddr_t netaddr;
isc_netaddr_t destaddr;
int match;
dns_messageid_t id;
unsigned int flags;
@@ -1646,20 +1636,24 @@ client_request(isc_task_t *task, isc_event_t *event) {
* etc), we regard this as an error for safety.
*/
if ((client->interface->flags & NS_INTERFACEFLAG_ANYADDR) == 0)
isc_netaddr_fromsockaddr(&client->destaddr,
&client->interface->addr);
isc_netaddr_fromsockaddr(&destaddr, &client->interface->addr);
else {
isc_sockaddr_t sockaddr;
result = ISC_R_FAILURE;
if (TCP_CLIENT(client))
if (TCP_CLIENT(client)) {
isc_sockaddr_t destsockaddr;
result = isc_socket_getsockname(client->tcpsocket,
&sockaddr);
if (result == ISC_R_SUCCESS)
isc_netaddr_fromsockaddr(&client->destaddr, &sockaddr);
&destsockaddr);
if (result == ISC_R_SUCCESS)
isc_netaddr_fromsockaddr(&destaddr,
&destsockaddr);
}
if (result != ISC_R_SUCCESS &&
client->interface->addr.type.sa.sa_family == AF_INET6 &&
(client->attributes & NS_CLIENTATTR_PKTINFO) != 0) {
isc_uint32_t zone = 0;
/*
* XXXJT technically, we should convert the receiving
* interface ID to a proper scope zone ID. However,
@@ -1668,11 +1662,12 @@ client_request(isc_task_t *task, isc_event_t *event) {
* interface index as link ID. Despite the assumption,
* it should cover most typical cases.
*/
isc_netaddr_fromin6(&client->destaddr,
&client->pktinfo.ipi6_addr);
if (IN6_IS_ADDR_LINKLOCAL(&client->pktinfo.ipi6_addr))
isc_netaddr_setzone(&client->destaddr,
client->pktinfo.ipi6_ifindex);
zone = (isc_uint32_t)client->pktinfo.ipi6_ifindex;
isc_netaddr_fromin6(&destaddr,
&client->pktinfo.ipi6_addr);
isc_netaddr_setzone(&destaddr, zone);
result = ISC_R_SUCCESS;
}
if (result != ISC_R_SUCCESS) {
@@ -1702,8 +1697,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
tsig = dns_tsigkey_identity(client->message->tsigkey);
if (allowed(&netaddr, tsig, view->matchclients) &&
allowed(&client->destaddr, tsig,
view->matchdestinations) &&
allowed(&destaddr, tsig, view->matchdestinations) &&
!((client->message->flags & DNS_MESSAGEFLAG_RD)
== 0 && view->matchrecursiveonly))
{
@@ -1856,10 +1850,10 @@ client_request(isc_task_t *task, isc_event_t *event) {
ns_client_checkaclsilent(client, NULL,
client->view->queryacl,
ISC_TRUE) == ISC_R_SUCCESS &&
ns_client_checkaclsilent(client, &client->destaddr,
ns_client_checkaclsilent(client, &client->interface->addr,
client->view->recursiononacl,
ISC_TRUE) == ISC_R_SUCCESS &&
ns_client_checkaclsilent(client, &client->destaddr,
ns_client_checkaclsilent(client, &client->interface->addr,
client->view->queryonacl,
ISC_TRUE) == ISC_R_SUCCESS)
ra = ISC_TRUE;
@@ -1947,17 +1941,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];
@@ -2114,8 +2104,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;
@@ -2537,9 +2525,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);
@@ -2595,12 +2581,12 @@ ns_client_getsockaddr(ns_client_t *client) {
}
isc_result_t
ns_client_checkaclsilent(ns_client_t *client, isc_netaddr_t *netaddr,
ns_client_checkaclsilent(ns_client_t *client, isc_sockaddr_t *sockaddr,
dns_acl_t *acl, isc_boolean_t default_allow)
{
isc_result_t result;
isc_netaddr_t tmpnetaddr;
int match;
isc_netaddr_t netaddr;
if (acl == NULL) {
if (default_allow)
@@ -2609,13 +2595,15 @@ ns_client_checkaclsilent(ns_client_t *client, isc_netaddr_t *netaddr,
goto deny;
}
if (netaddr == NULL) {
isc_netaddr_fromsockaddr(&tmpnetaddr, &client->peeraddr);
netaddr = &tmpnetaddr;
}
result = dns_acl_match(netaddr, client->signer, acl,
&ns_g_server->aclenv, &match, NULL);
if (sockaddr == NULL)
isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
else
isc_netaddr_fromsockaddr(&netaddr, sockaddr);
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. */
@@ -2635,14 +2623,8 @@ 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)
{
isc_result_t result;
isc_netaddr_t netaddr;
if (sockaddr != NULL)
isc_netaddr_fromsockaddr(&netaddr, sockaddr);
result = ns_client_checkaclsilent(client, sockaddr ? &netaddr : NULL,
acl, default_allow);
isc_result_t result =
ns_client_checkaclsilent(client, sockaddr, acl, default_allow);
if (result == ISC_R_SUCCESS)
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
+3 -26
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-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: config.c,v 1.96 2009/03/16 23:41:21 each Exp $ */
/* $Id: config.c,v 1.82.38.8 2008/09/27 23:39:42 jinmei Exp $ */
/*! \file */
@@ -45,8 +45,6 @@
#include <named/config.h>
#include <named/globals.h>
#include "bind.keys.h"
/*% default configuration */
static char defaultconf[] = "\
options {\n\
@@ -71,8 +69,7 @@ options {\n\
memstatistics-file \"named.memstats\";\n\
multiple-cnames no;\n\
# named-xfer <obsolete>;\n\
# pid-file \"" NS_LOCALSTATEDIR "/run/named/named.pid\"; /* or /lwresd.pid */\n\
bindkeys-file \"" NS_SYSCONFDIR "/bind.keys\";\n\
# pid-file \"" NS_LOCALSTATEDIR "/named.pid\"; /* or /lwresd.pid */\n\
port 53;\n\
recursing-file \"named.recursing\";\n\
"
@@ -104,9 +101,6 @@ options {\n\
max-udp-size 4096;\n\
request-nsid false;\n\
reserved-sockets 512;\n\
\n\
/* DLV */\n\
dnssec-lookaside . trust-anchor dlv.isc.org;\n\
\n\
/* view */\n\
allow-notify {none;};\n\
@@ -151,7 +145,6 @@ options {\n\
clients-per-query 10;\n\
max-clients-per-query 100;\n\
zero-no-soa-ttl-cache no;\n\
nsec3-test-zone no;\n\
"
" /* zone */\n\
@@ -181,9 +174,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 65534;\n\
zone-statistics false;\n\
max-journal-size unlimited;\n\
ixfr-from-differences false;\n\
@@ -224,19 +214,6 @@ view \"_bind\" chaos {\n\
database \"_builtin id\";\n\
};\n\
};\n\
"
"#\n\
# Default trusted key(s) for builtin DLV support\n\
# (used if \"dnssec-lookaside auto;\" is set and\n\
# sysconfdir/bind.keys doesn't exist).\n\
#\n\
# BEGIN TRUSTED KEYS\n"
/* Imported from bind.keys.h: */
TRUSTED_KEYS
"# END TRUSTED KEYS\n\
";
isc_result_t
+7 -5
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009 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: control.c,v 1.33 2007/09/13 04:45:18 each Exp $ */
/* $Id: control.c,v 1.33.62.2 2009/07/11 23:46:45 tbox Exp $ */
/*! \file */
@@ -56,7 +56,7 @@ command_compare(const char *text, const char *command) {
/*%
* This function is called to process the incoming command
* when a control channel message is received.
* when a control channel message is received.
*/
isc_result_t
ns_control_docommand(isccc_sexpr_t *message, isc_buffer_t *text) {
@@ -170,10 +170,12 @@ ns_control_docommand(isccc_sexpr_t *message, isc_buffer_t *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);
result = ns_server_freeze(ns_g_server, ISC_TRUE, command,
text);
} else if (command_compare(command, NS_COMMAND_UNFREEZE) ||
command_compare(command, NS_COMMAND_THAW)) {
result = ns_server_freeze(ns_g_server, ISC_FALSE, command);
result = ns_server_freeze(ns_g_server, ISC_FALSE, command,
text);
} else if (command_compare(command, NS_COMMAND_RECURSING)) {
result = ns_server_dumprecursing(ns_g_server);
} else if (command_compare(command, NS_COMMAND_TIMERPOKE)) {
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: controlconf.c,v 1.60 2008/07/23 23:27:54 marka Exp $ */
/* $Id: controlconf.c,v 1.55.64.4 2008/07/23 23:31:17 marka Exp $ */
/*! \file */
+2 -2
View File
@@ -14,12 +14,12 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: convertxsl.pl,v 1.14 2008/07/17 23:43:26 jinmei Exp $
# $Id: convertxsl.pl,v 1.9.60.5 2008/07/17 23:50:58 jinmei Exp $
use strict;
use warnings;
my $rev = '$Id: convertxsl.pl,v 1.14 2008/07/17 23:43:26 jinmei Exp $';
my $rev = '$Id: convertxsl.pl,v 1.9.60.5 2008/07/17 23:50:58 jinmei Exp $';
$rev =~ s/\$//g;
$rev =~ s/,v//g;
$rev =~ s/Id: //;
+6 -12
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.h,v 1.89 2009/03/03 01:36:17 marka Exp $ */
/* $Id: client.h,v 1.82.128.4 2009/01/19 23:47:01 tbox Exp $ */
#ifndef NAMED_CLIENT_H
#define NAMED_CLIENT_H 1
@@ -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;
@@ -138,7 +131,6 @@ struct ns_client {
ns_interface_t *interface;
isc_sockaddr_t peeraddr;
isc_boolean_t peeraddr_valid;
isc_netaddr_t destaddr;
struct in6_pktinfo pktinfo;
isc_event_t ctlevent;
/*%
@@ -275,8 +267,10 @@ ns_client_getsockaddr(ns_client_t *client);
*/
isc_result_t
ns_client_checkaclsilent(ns_client_t *client, isc_netaddr_t *netaddr,
dns_acl_t *acl, isc_boolean_t default_allow);
ns_client_checkaclsilent(ns_client_t *client,
isc_sockaddr_t *sockaddr,
dns_acl_t *acl,
isc_boolean_t default_allow);
/*%
* Convenience function for client request ACL checking.
@@ -295,7 +289,7 @@ ns_client_checkaclsilent(ns_client_t *client, isc_netaddr_t *netaddr,
*
* Requires:
*\li 'client' points to a valid client.
*\li 'netaddr' points to a valid address, or is NULL.
*\li 'sockaddr' points to a valid address, or is NULL.
*\li 'acl' points to a valid ACL, or is NULL.
*
* Returns:
+3 -20
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-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: globals.h,v 1.82 2009/03/05 23:47:35 tbox Exp $ */
/* $Id: globals.h,v 1.73.46.2 2008/10/24 01:44:15 tbox Exp $ */
#ifndef NAMED_GLOBALS_H
#define NAMED_GLOBALS_H 1
@@ -42,10 +42,6 @@
#define INIT(v)
#endif
#ifndef NS_RUN_PID_DIR
#define NS_RUN_PID_DIR 1
#endif
EXTERN isc_mem_t * ns_g_mctx INIT(NULL);
EXTERN unsigned int ns_g_cpus INIT(0);
EXTERN isc_taskmgr_t * ns_g_taskmgr INIT(NULL);
@@ -63,7 +59,6 @@ EXTERN isc_timermgr_t * ns_g_timermgr INIT(NULL);
EXTERN isc_socketmgr_t * ns_g_socketmgr INIT(NULL);
EXTERN cfg_parser_t * ns_g_parser INIT(NULL);
EXTERN const char * ns_g_version INIT(VERSION);
EXTERN const char * ns_g_configargs INIT(CONFIGARGS);
EXTERN in_port_t ns_g_port INIT(0);
EXTERN in_port_t lwresd_g_listenport INIT(0);
@@ -86,7 +81,6 @@ EXTERN cfg_obj_t * ns_g_config INIT(NULL);
EXTERN const cfg_obj_t * ns_g_defaults INIT(NULL);
EXTERN const char * ns_g_conffile INIT(NS_SYSCONFDIR
"/named.conf");
EXTERN cfg_obj_t * ns_g_bindkeys INIT(NULL);
EXTERN const char * ns_g_keyfile INIT(NS_SYSCONFDIR
"/rndc.key");
EXTERN const char * lwresd_g_conffile INIT(NS_SYSCONFDIR
@@ -113,26 +107,15 @@ EXTERN const char * ns_g_chrootdir INIT(NULL);
EXTERN isc_boolean_t ns_g_foreground INIT(ISC_FALSE);
EXTERN isc_boolean_t ns_g_logstderr INIT(ISC_FALSE);
#if NS_RUN_PID_DIR
EXTERN const char * ns_g_defaultpidfile INIT(NS_LOCALSTATEDIR
"/run/named/"
"named.pid");
EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR
"/run/lwresd/"
"lwresd.pid");
#else
EXTERN const char * ns_g_defaultpidfile INIT(NS_LOCALSTATEDIR
"/run/named.pid");
EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR
"/run/lwresd.pid");
#endif
"/run/lwresd.pid");
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
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.h,v 1.27 2009/01/07 23:47:46 tbox Exp $ */
/* $Id: log.h,v 1.25.128.2 2009/01/27 23:46:49 tbox Exp $ */
#ifndef NAMED_LOG_H
#define NAMED_LOG_H 1
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdclient.h,v 1.20 2009/01/17 23:47:42 tbox Exp $ */
/* $Id: lwdclient.h,v 1.18.128.2 2009/01/19 23:47:01 tbox Exp $ */
#ifndef NAMED_LWDCLIENT_H
#define NAMED_LWDCLIENT_H 1
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: notify.h,v 1.16 2009/01/17 23:47:42 tbox Exp $ */
/* $Id: notify.h,v 1.14.128.2 2009/01/19 23:47:01 tbox Exp $ */
#ifndef NAMED_NOTIFY_H
#define NAMED_NOTIFY_H 1
+9 -10
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.h,v 1.97 2009/03/04 02:42:30 each Exp $ */
/* $Id: server.h,v 1.88.10.7 2009/07/11 04:28:14 marka Exp $ */
#ifndef NAMED_SERVER_H
#define NAMED_SERVER_H 1
@@ -54,7 +54,6 @@ struct ns_server {
dns_acl_t *blackholeacl;
char * statsfile; /*%< Statistics file name */
char * dumpfile; /*%< Dump file name */
char * bindkeysfile; /*%< bind.keys file name */
char * recfile; /*%< Recursive file name */
isc_boolean_t version_set; /*%< User has set version */
char * version; /*%< User-specified version */
@@ -92,14 +91,13 @@ struct ns_server {
isc_boolean_t flushonshutdown;
isc_boolean_t log_queries; /*%< For BIND 8 compatibility */
ns_cachelist_t cachelist; /*%< Possibly shared caches */
isc_stats_t * nsstats; /*%< Server stats */
dns_stats_t * rcvquerystats; /*% Incoming query stats */
dns_stats_t * opcodestats; /*%< Incoming message stats */
isc_stats_t * zonestats; /*% Zone management stats */
isc_stats_t * resolverstats; /*% Resolver stats */
isc_stats_t * sockstats; /*%< Socket stats */
isc_stats_t * nsstats; /*%< Server statistics */
dns_stats_t * rcvquerystats; /*% Incoming query statistics */
dns_stats_t * opcodestats; /*%< Incoming message statistics */
isc_stats_t * zonestats; /*% Zone management statistics */
isc_stats_t * resolverstats; /*% Resolver statistics */
isc_stats_t * sockstats; /*%< Socket statistics */
ns_controls_t * controls; /*%< Control channels */
unsigned int dispatchgen;
ns_dispatchlist_t dispatches;
@@ -278,7 +276,8 @@ ns_server_tsigdelete(ns_server_t *server, char *command, isc_buffer_t *text);
* Enable or disable updates for a zone.
*/
isc_result_t
ns_server_freeze(ns_server_t *server, isc_boolean_t freeze, char *args);
ns_server_freeze(ns_server_t *server, isc_boolean_t freeze, char *args,
isc_buffer_t *text);
/*%
* Dump the current recursive queries.
+1 -1
View File
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: statschannel.h,v 1.3 2008/04/03 05:55:51 marka Exp $ */
/* $Id: statschannel.h,v 1.2.2.2 2008/04/03 06:10:19 marka Exp $ */
#ifndef NAMED_STATSCHANNEL_H
#define NAMED_STATSCHANNEL_H 1
+2 -4
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: types.h,v 1.31 2009/01/09 23:47:45 tbox Exp $ */
/* $Id: types.h,v 1.27.128.2 2008/01/17 23:46:36 tbox Exp $ */
#ifndef NAMED_TYPES_H
#define NAMED_TYPES_H 1
@@ -24,8 +24,6 @@
#include <dns/types.h>
typedef struct ns_cache ns_cache_t;
typedef ISC_LIST(ns_cache_t) ns_cachelist_t;
typedef struct ns_client ns_client_t;
typedef struct ns_clientmgr ns_clientmgr_t;
typedef struct ns_query ns_query_t;
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.c,v 1.95 2009/01/17 23:47:42 tbox Exp $ */
/* $Id: interfacemgr.c,v 1.90.64.5 2009/01/19 23:47:01 tbox Exp $ */
/*! \file */
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.49 2009/01/07 01:46:40 jinmei Exp $ */
/* $Id: log.c,v 1.46.130.3 2009/01/27 21:17:39 jinmei Exp $ */
/*! \file */
+1 -1
View File
@@ -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.8.130.2 2008/01/11 23:46:27 tbox Exp $ */
/*! \file */
+1 -1
View File
@@ -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.20.130.2 2008/01/14 23:46:28 tbox Exp $ */
/*! \file */
+1 -1
View File
@@ -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.11.130.2 2008/01/22 23:27:35 tbox Exp $ */
/*! \file */
+3 -3
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000, 2001 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" 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.
.\"
@@ -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.30 2009/01/21 01:12:07 tbox Exp $
.\" $Id: lwresd.8,v 1.27.150.3 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
@@ -125,7 +125,7 @@ Run the server in the foreground and force all logging to
Use
\fIpid\-file\fR
as the PID file instead of the default,
\fI/var/run/lwresd/lwresd.pid\fR.
\fI/var/run/lwresd.pid\fR.
.RE
.PP
\-m \fIflag\fR
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwresd.c,v 1.58 2008/07/23 23:27:54 marka Exp $ */
/* $Id: lwresd.c,v 1.55.130.3 2008/07/23 23:31:17 marka Exp $ */
/*! \file
* \brief
+2 -2
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: lwresd.docbook,v 1.20 2009/01/20 23:47:56 tbox Exp $ -->
<!-- $Id: lwresd.docbook,v 1.15.130.4 2009/01/22 23:46:35 tbox Exp $ -->
<refentry>
<refentryinfo>
<date>June 30, 2000</date>
@@ -200,7 +200,7 @@
<para>
Use <replaceable class="parameter">pid-file</replaceable> as the
PID file instead of the default,
<filename>/var/run/lwresd/lwresd.pid</filename>.
<filename>/var/run/lwresd.pid</filename>.
</para>
</listitem>
</varlistentry>
+3 -3
View File
@@ -2,7 +2,7 @@
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000, 2001 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- 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.
-
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: lwresd.html,v 1.26 2009/01/21 01:12:07 tbox Exp $ -->
<!-- $Id: lwresd.html,v 1.23.150.3 2009/07/11 01:43:28 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -115,7 +115,7 @@
<dd><p>
Use <em class="replaceable"><code>pid-file</code></em> as the
PID file instead of the default,
<code class="filename">/var/run/lwresd/lwresd.pid</code>.
<code class="filename">/var/run/lwresd.pid</code>.
</p></dd>
<dt><span class="term">-m <em class="replaceable"><code>flag</code></em></span></dt>
<dd><p>
+4 -28
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: main.c,v 1.171 2009/04/03 19:55:59 marka Exp $ */
/* $Id: main.c,v 1.158.48.8 2009/04/03 20:18:26 marka Exp $ */
/*! \file */
@@ -87,7 +87,6 @@ static char absolute_conffile[ISC_DIR_PATHMAX];
static char saved_command_line[512];
static char version[512];
static unsigned int maxsocks = 0;
static int maxudp = 0;
void
ns_main_earlywarning(const char *format, ...) {
@@ -360,7 +359,7 @@ parse_command_line(int argc, char *argv[]) {
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"46c:C:d:fgi:lm:n:N:p:P:"
"sS:t:T:u:vVx:")) != -1) {
"sS:t:u:vx:")) != -1) {
switch (ch) {
case '4':
if (disable4)
@@ -447,31 +446,12 @@ parse_command_line(int argc, char *argv[]) {
/* XXXJAB should we make a copy? */
ns_g_chrootdir = isc_commandline_argument;
break;
case 'T':
/*
* clienttest: make clients single shot with their
* own memory context.
*/
if (!strcmp(isc_commandline_argument, "clienttest"))
ns_g_clienttest = ISC_TRUE;
else if (!strcmp(isc_commandline_argument, "maxudp512"))
maxudp = 512;
else if (!strcmp(isc_commandline_argument, "maxudp1460"))
maxudp = 1460;
else
fprintf(stderr, "unknown -T flag '%s\n",
isc_commandline_argument);
break;
case 'u':
ns_g_username = isc_commandline_argument;
break;
case 'v':
printf("BIND %s\n", ns_g_version);
exit(0);
case 'V':
printf("BIND %s built with %s\n", ns_g_version,
ns_g_configargs);
exit(0);
case '?':
usage();
if (isc_commandline_option == '?')
@@ -530,7 +510,6 @@ create_managers(void) {
isc_result_totext(result));
return (ISC_R_UNEXPECTED);
}
isc__socketmgr_maxudp(ns_g_socketmgr, maxudp);
result = isc_socketmgr_getmaxsockets(ns_g_socketmgr, &socks);
if (result == ISC_R_SUCCESS) {
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
@@ -684,9 +663,6 @@ setup(void) {
ISC_LOG_NOTICE, "starting BIND %s%s", ns_g_version,
saved_command_line);
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE, "built with %s", ns_g_configargs);
/*
* Get the initial resource limits.
*/
@@ -725,8 +701,8 @@ setup(void) {
absolute_conffile,
sizeof(absolute_conffile));
if (result != ISC_R_SUCCESS)
ns_main_earlyfatal("could not construct absolute path "
"of configuration file: %s",
ns_main_earlyfatal("could not construct absolute path of "
"configuration file: %s",
isc_result_totext(result));
ns_g_conffile = absolute_conffile;
}
+4 -9
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" 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.
.\"
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named.8,v 1.38 2008/11/07 01:11:19 tbox Exp $
.\" $Id: named.8,v 1.34.130.2 2009/07/11 01:43:29 tbox Exp $
.\"
.hy 0
.ad l
@@ -33,7 +33,7 @@
named \- Internet domain name server
.SH "SYNOPSIS"
.HP 6
\fBnamed\fR [\fB\-4\fR] [\fB\-6\fR] [\fB\-c\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-d\ \fR\fB\fIdebug\-level\fR\fR] [\fB\-f\fR] [\fB\-g\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-n\ \fR\fB\fI#cpus\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-s\fR] [\fB\-S\ \fR\fB\fI#max\-socks\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-u\ \fR\fB\fIuser\fR\fR] [\fB\-v\fR] [\fB\-V\fR] [\fB\-x\ \fR\fB\fIcache\-file\fR\fR]
\fBnamed\fR [\fB\-4\fR] [\fB\-6\fR] [\fB\-c\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-d\ \fR\fB\fIdebug\-level\fR\fR] [\fB\-f\fR] [\fB\-g\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-n\ \fR\fB\fI#cpus\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-s\fR] [\fB\-S\ \fR\fB\fI#max\-socks\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-u\ \fR\fB\fIuser\fR\fR] [\fB\-v\fR] [\fB\-x\ \fR\fB\fIcache\-file\fR\fR]
.SH "DESCRIPTION"
.PP
\fBnamed\fR
@@ -186,11 +186,6 @@ is run on kernel 2.2.18 or later, or kernel 2.3.99\-pre3 or later, since previou
Report the version number and exit.
.RE
.PP
\-V
.RS 4
Report the version number and build options, and exit.
.RE
.PP
\-x \fIcache\-file\fR
.RS 4
Load data from
@@ -231,7 +226,7 @@ BIND 9 Administrator Reference Manual.
The default configuration file.
.RE
.PP
\fI/var/run/named/named.pid\fR
\fI/var/run/named.pid\fR
.RS 4
The default process\-id file.
.RE
+3 -11
View File
@@ -1,6 +1,6 @@
.\" Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" 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.
.\"
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named.conf.5,v 1.36 2008/09/25 04:45:04 tbox Exp $
.\" $Id: named.conf.5,v 1.31.38.2 2009/07/11 01:43:28 tbox Exp $
.\"
.hy 0
.ad l
@@ -284,10 +284,6 @@ options {
min\-refresh\-time \fIinteger\fR;
multi\-master \fIboolean\fR;
sig\-validity\-interval \fIinteger\fR;
sig\-re\-signing\-interval \fIinteger\fR;
sig\-signing\-nodes \fIinteger\fR;
sig\-signing\-signatures \fIinteger\fR;
sig\-signing\-type \fIinteger\fR;
transfer\-source ( \fIipv4_address\fR | * )
[ port ( \fIinteger\fR | * ) ];
transfer\-source\-v6 ( \fIipv6_address\fR | * )
@@ -302,7 +298,6 @@ options {
try\-tcp\-refresh \fIboolean\fR;
zero\-no\-soa\-ttl \fIboolean\fR;
zero\-no\-soa\-ttl\-cache \fIboolean\fR;
nsec3\-test\-zone \fIboolean\fR; // testing only
allow\-v6\-synthesis { \fIaddress_match_element\fR; ... }; // obsolete
deallocate\-on\-exit \fIboolean\fR; // obsolete
fake\-iquery \fIboolean\fR; // obsolete
@@ -483,9 +478,7 @@ zone \fIstring\fR \fIoptional_class\fR {
allow\-update\-forwarding { \fIaddress_match_element\fR; ... };
update\-policy {
( grant | deny ) \fIstring\fR
( name | subdomain | wildcard | self | selfsub | selfwild |
krb5\-self | ms\-self | krb5\-subdomain | ms\-subdomain |
tcp\-self | 6to4\-self ) \fIstring\fR
( name | subdomain | wildcard | self ) \fIstring\fR
\fIrrtypelist\fR; ...
};
update\-check\-ksk \fIboolean\fR;
@@ -525,7 +518,6 @@ zone \fIstring\fR \fIoptional_class\fR {
zone\-statistics \fIboolean\fR;
try\-tcp\-refresh \fIboolean\fR;
key\-directory \fIquoted_string\fR;
nsec3\-test\-zone \fIboolean\fR; // testing only
ixfr\-base \fIquoted_string\fR; // obsolete
ixfr\-tmp\-file \fIquoted_string\fR; // obsolete
maintain\-ixfr\-base \fIboolean\fR; // obsolete
+2 -13
View File
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.conf.docbook,v 1.39 2008/09/24 02:46:21 marka Exp $ -->
<!-- $Id: named.conf.docbook,v 1.34.38.2 2008/09/04 23:46:41 tbox Exp $ -->
<refentry>
<refentryinfo>
<date>Aug 13, 2004</date>
@@ -317,12 +317,7 @@ options {
max-refresh-time <replaceable>integer</replaceable>;
min-refresh-time <replaceable>integer</replaceable>;
multi-master <replaceable>boolean</replaceable>;
sig-validity-interval <replaceable>integer</replaceable>;
sig-re-signing-interval <replaceable>integer</replaceable>;
sig-signing-nodes <replaceable>integer</replaceable>;
sig-signing-signatures <replaceable>integer</replaceable>;
sig-signing-type <replaceable>integer</replaceable>;
transfer-source ( <replaceable>ipv4_address</replaceable> | * )
<optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
@@ -341,8 +336,6 @@ options {
zero-no-soa-ttl <replaceable>boolean</replaceable>;
zero-no-soa-ttl-cache <replaceable>boolean</replaceable>;
nsec3-test-zone <replaceable>boolean</replaceable>; // testing only
allow-v6-synthesis { <replaceable>address_match_element</replaceable>; ... }; // obsolete
deallocate-on-exit <replaceable>boolean</replaceable>; // obsolete
fake-iquery <replaceable>boolean</replaceable>; // obsolete
@@ -541,9 +534,7 @@ zone <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
allow-update-forwarding { <replaceable>address_match_element</replaceable>; ... };
update-policy {
( grant | deny ) <replaceable>string</replaceable>
( name | subdomain | wildcard | self | selfsub | selfwild |
krb5-self | ms-self | krb5-subdomain | ms-subdomain |
tcp-self | 6to4-self ) <replaceable>string</replaceable>
( name | subdomain | wildcard | self ) <replaceable>string</replaceable>
<replaceable>rrtypelist</replaceable>; ...
};
update-check-ksk <replaceable>boolean</replaceable>;
@@ -590,8 +581,6 @@ zone <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
try-tcp-refresh <replaceable>boolean</replaceable>;
key-directory <replaceable>quoted_string</replaceable>;
nsec3-test-zone <replaceable>boolean</replaceable>; // testing only
ixfr-base <replaceable>quoted_string</replaceable>; // obsolete
ixfr-tmp-file <replaceable>quoted_string</replaceable>; // obsolete
maintain-ixfr-base <replaceable>boolean</replaceable>; // obsolete
+7 -18
View File
@@ -1,7 +1,7 @@
<!--
- Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- 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.
-
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.conf.html,v 1.45 2008/09/25 04:45:04 tbox Exp $ -->
<!-- $Id: named.conf.html,v 1.40.38.2 2009/07/11 01:43:29 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -287,12 +287,7 @@ options
max-refresh-time <em class="replaceable"><code>integer</code></em>;<br>
min-refresh-time <em class="replaceable"><code>integer</code></em>;<br>
multi-master <em class="replaceable"><code>boolean</code></em>;<br>
<br>
sig-validity-interval <em class="replaceable"><code>integer</code></em>;<br>
sig-re-signing-interval <em class="replaceable"><code>integer</code></em>;<br>
sig-signing-nodes <em class="replaceable"><code>integer</code></em>;<br>
sig-signing-signatures <em class="replaceable"><code>integer</code></em>;<br>
sig-signing-type <em class="replaceable"><code>integer</code></em>;<br>
<br>
transfer-source ( <em class="replaceable"><code>ipv4_address</code></em> | * )<br>
[<span class="optional"> port ( <em class="replaceable"><code>integer</code></em> | * ) </span>];<br>
@@ -310,8 +305,6 @@ options
try-tcp-refresh <em class="replaceable"><code>boolean</code></em>;<br>
zero-no-soa-ttl <em class="replaceable"><code>boolean</code></em>;<br>
zero-no-soa-ttl-cache <em class="replaceable"><code>boolean</code></em>;<br>
<br>
nsec3-test-zone <em class="replaceable"><code>boolean</code></em>;  // testing only<br>
<br>
allow-v6-synthesis { <em class="replaceable"><code>address_match_element</code></em>; ... }; // obsolete<br>
deallocate-on-exit <em class="replaceable"><code>boolean</code></em>; // obsolete<br>
@@ -329,7 +322,7 @@ options
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544452"></a><h2>VIEW</h2>
<a name="id2544435"></a><h2>VIEW</h2>
<div class="literallayout"><p><br>
view <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>optional_class</code></em> {<br>
match-clients { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
@@ -477,7 +470,7 @@ view
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2545113"></a><h2>ZONE</h2>
<a name="id2545096"></a><h2>ZONE</h2>
<div class="literallayout"><p><br>
zone <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>optional_class</code></em> {<br>
type ( master | slave | stub | hint |<br>
@@ -509,9 +502,7 @@ zone
allow-update-forwarding { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
update-policy {<br>
( grant | deny ) <em class="replaceable"><code>string</code></em><br>
( name | subdomain | wildcard | self | selfsub | selfwild |<br>
                  krb5-self | ms-self | krb5-subdomain | ms-subdomain |<br>
  tcp-self | 6to4-self ) <em class="replaceable"><code>string</code></em><br>
( name | subdomain | wildcard | self ) <em class="replaceable"><code>string</code></em><br>
<em class="replaceable"><code>rrtypelist</code></em>; ...<br>
};<br>
update-check-ksk <em class="replaceable"><code>boolean</code></em>;<br>
@@ -557,8 +548,6 @@ zone
zone-statistics <em class="replaceable"><code>boolean</code></em>;<br>
try-tcp-refresh <em class="replaceable"><code>boolean</code></em>;<br>
key-directory <em class="replaceable"><code>quoted_string</code></em>;<br>
<br>
nsec3-test-zone <em class="replaceable"><code>boolean</code></em>;  // testing only<br>
<br>
ixfr-base <em class="replaceable"><code>quoted_string</code></em>; // obsolete<br>
ixfr-tmp-file <em class="replaceable"><code>quoted_string</code></em>; // obsolete<br>
@@ -569,12 +558,12 @@ zone
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2545410"></a><h2>FILES</h2>
<a name="id2545390"></a><h2>FILES</h2>
<p><code class="filename">/etc/named.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545421"></a><h2>SEE ALSO</h2>
<a name="id2545402"></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>,
<span class="citerefentry"><span class="refentrytitle">rndc</span>(8)</span>,
+2 -12
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.docbook,v 1.23 2008/11/06 05:30:24 marka Exp $ -->
<!-- $Id: named.docbook,v 1.19.130.2 2008/08/21 23:46:48 tbox Exp $ -->
<refentry id="man.named">
<refentryinfo>
<date>June 30, 2000</date>
@@ -69,7 +69,6 @@
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-u <replaceable class="parameter">user</replaceable></option></arg>
<arg><option>-v</option></arg>
<arg><option>-V</option></arg>
<arg><option>-x <replaceable class="parameter">cache-file</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -300,15 +299,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-V</term>
<listitem>
<para>
Report the version number and build options, and exit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-x <replaceable class="parameter">cache-file</replaceable></term>
<listitem>
@@ -391,7 +381,7 @@
</varlistentry>
<varlistentry>
<term><filename>/var/run/named/named.pid</filename></term>
<term><filename>/var/run/named.pid</filename></term>
<listitem>
<para>
The default process-id file.
+11 -15
View File
@@ -2,7 +2,7 @@
- Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- 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.
-
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.html,v 1.30 2008/11/07 01:11:19 tbox Exp $ -->
<!-- $Id: named.html,v 1.26.130.2 2009/07/11 01:43:28 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,10 +29,10 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">named</code> [<code class="option">-4</code>] [<code class="option">-6</code>] [<code class="option">-c <em class="replaceable"><code>config-file</code></em></code>] [<code class="option">-d <em class="replaceable"><code>debug-level</code></em></code>] [<code class="option">-f</code>] [<code class="option">-g</code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-n <em class="replaceable"><code>#cpus</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-s</code>] [<code class="option">-S <em class="replaceable"><code>#max-socks</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>] [<code class="option">-v</code>] [<code class="option">-V</code>] [<code class="option">-x <em class="replaceable"><code>cache-file</code></em></code>]</p></div>
<div class="cmdsynopsis"><p><code class="command">named</code> [<code class="option">-4</code>] [<code class="option">-6</code>] [<code class="option">-c <em class="replaceable"><code>config-file</code></em></code>] [<code class="option">-d <em class="replaceable"><code>debug-level</code></em></code>] [<code class="option">-f</code>] [<code class="option">-g</code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-n <em class="replaceable"><code>#cpus</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-s</code>] [<code class="option">-S <em class="replaceable"><code>#max-socks</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>] [<code class="option">-v</code>] [<code class="option">-x <em class="replaceable"><code>cache-file</code></em></code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543468"></a><h2>DESCRIPTION</h2>
<a name="id2543464"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named</strong></span>
is a Domain Name System (DNS) server,
part of the BIND 9 distribution from ISC. For more
@@ -47,7 +47,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543493"></a><h2>OPTIONS</h2>
<a name="id2543489"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-4</span></dt>
<dd><p>
@@ -198,10 +198,6 @@
<dd><p>
Report the version number and exit.
</p></dd>
<dt><span class="term">-V</span></dt>
<dd><p>
Report the version number and build options, and exit.
</p></dd>
<dt><span class="term">-x <em class="replaceable"><code>cache-file</code></em></span></dt>
<dd>
<p>
@@ -220,7 +216,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543928"></a><h2>SIGNALS</h2>
<a name="id2543911"></a><h2>SIGNALS</h2>
<p>
In routine operation, signals should not be used to control
the nameserver; <span><strong class="command">rndc</strong></span> should be used
@@ -241,7 +237,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543976"></a><h2>CONFIGURATION</h2>
<a name="id2543959"></a><h2>CONFIGURATION</h2>
<p>
The <span><strong class="command">named</strong></span> configuration file is too complex
to describe in detail here. A complete description is provided
@@ -250,20 +246,20 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543993"></a><h2>FILES</h2>
<a name="id2543976"></a><h2>FILES</h2>
<div class="variablelist"><dl>
<dt><span class="term"><code class="filename">/etc/named.conf</code></span></dt>
<dd><p>
The default configuration file.
</p></dd>
<dt><span class="term"><code class="filename">/var/run/named/named.pid</code></span></dt>
<dt><span class="term"><code class="filename">/var/run/named.pid</code></span></dt>
<dd><p>
The default process-id file.
</p></dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544033"></a><h2>SEE ALSO</h2>
<a name="id2544016"></a><h2>SEE ALSO</h2>
<p><em class="citetitle">RFC 1033</em>,
<em class="citetitle">RFC 1034</em>,
<em class="citetitle">RFC 1035</em>,
@@ -276,7 +272,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544171"></a><h2>AUTHOR</h2>
<a name="id2544086"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+71 -521
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.322 2009/03/13 01:35:18 marka Exp $ */
/* $Id: query.c,v 1.298.48.15.2.4 2009/12/31 22:52:47 each Exp $ */
/*! \file */
@@ -23,7 +23,6 @@
#include <string.h>
#include <isc/hex.h>
#include <isc/mem.h>
#include <isc/stats.h>
#include <isc/util.h>
@@ -38,7 +37,6 @@
#include <dns/events.h>
#include <dns/message.h>
#include <dns/ncache.h>
#include <dns/nsec3.h>
#include <dns/order.h>
#include <dns/rdata.h>
#include <dns/rdataclass.h>
@@ -92,10 +90,6 @@
#define SECURE(c) (((c)->query.attributes & \
NS_QUERYATTR_SECURE) != 0)
/*% No QNAME Proof? */
#define NOQNAME(r) (((r)->attributes & \
DNS_RDATASETATTR_NOQNAME) != 0)
#if 0
#define CTRACE(m) isc_log_write(ns_g_lctx, \
NS_LOGCATEGORY_CLIENT, \
@@ -116,6 +110,8 @@
#define DNS_GETDB_NOLOG 0x02U
#define DNS_GETDB_PARTIAL 0x04U
#define PENDINGOK(x) (((x) & DNS_DBFIND_PENDINGOK) != 0)
typedef struct client_additionalctx {
ns_client_t *client;
dns_rdataset_t *rdataset;
@@ -128,13 +124,6 @@ static isc_boolean_t
validate(ns_client_t *client, dns_db_t *db, dns_name_t *name,
dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset);
static void
query_findclosestnsec3(dns_name_t *qname, dns_db_t *db,
dns_dbversion_t *version, ns_client_t *client,
dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset,
dns_name_t *fname, isc_boolean_t exact,
dns_name_t *found);
static inline void
log_queryerror(ns_client_t *client, isc_result_t result, int line, int level);
@@ -1122,12 +1111,8 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
result = dns_db_find(db, name, version, type, client->query.dboptions,
client->now, &node, fname, rdataset,
sigrdataset);
if (result == ISC_R_SUCCESS) {
if (sigrdataset != NULL && !dns_db_issecure(db) &&
dns_rdataset_isassociated(sigrdataset))
dns_rdataset_disassociate(sigrdataset);
if (result == ISC_R_SUCCESS)
goto found;
}
if (dns_rdataset_isassociated(rdataset))
dns_rdataset_disassociate(rdataset);
@@ -1158,7 +1143,8 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
goto cleanup;
}
result = dns_db_find(db, name, version, type,
client->query.dboptions | DNS_DBFIND_GLUEOK,
client->query.dboptions |
DNS_DBFIND_GLUEOK | DNS_DBFIND_ADDITIONALOK,
client->now, &node, fname, rdataset,
sigrdataset);
if (result == DNS_R_GLUE &&
@@ -1643,7 +1629,8 @@ query_addadditional2(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
goto try_glue;
result = dns_db_find(db, name, version, type,
client->query.dboptions | DNS_DBFIND_GLUEOK,
client->query.dboptions |
DNS_DBFIND_GLUEOK | DNS_DBFIND_ADDITIONALOK,
client->now, &node, fname, NULL, NULL);
if (result == ISC_R_SUCCESS)
goto found;
@@ -1761,8 +1748,8 @@ query_addadditional2(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
*/
if (result == ISC_R_SUCCESS &&
additionaltype == dns_rdatasetadditional_fromcache &&
(rdataset->trust == dns_trust_pending ||
rdataset->trust == dns_trust_glue) &&
(DNS_TRUST_PENDING(rdataset->trust) ||
DNS_TRUST_GLUE(rdataset->trust)) &&
!validate(client, db, fname, rdataset, sigrdataset)) {
dns_rdataset_disassociate(rdataset);
if (dns_rdataset_isassociated(sigrdataset))
@@ -1801,8 +1788,8 @@ query_addadditional2(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
*/
if (result == ISC_R_SUCCESS &&
additionaltype == dns_rdatasetadditional_fromcache &&
(rdataset->trust == dns_trust_pending ||
rdataset->trust == dns_trust_glue) &&
(DNS_TRUST_PENDING(rdataset->trust) ||
DNS_TRUST_GLUE(rdataset->trust)) &&
!validate(client, db, fname, rdataset, sigrdataset)) {
dns_rdataset_disassociate(rdataset);
if (dns_rdataset_isassociated(sigrdataset))
@@ -2064,7 +2051,7 @@ query_addsoa(ns_client_t *client, dns_db_t *db, dns_dbversion_t *version,
eresult = DNS_R_SERVFAIL;
goto cleanup;
}
if (WANTDNSSEC(client) && dns_db_issecure(db)) {
if (WANTDNSSEC(client)) {
sigrdataset = query_newrdataset(client);
if (sigrdataset == NULL) {
eresult = DNS_R_SERVFAIL;
@@ -2182,7 +2169,7 @@ query_addns(ns_client_t *client, dns_db_t *db, dns_dbversion_t *version) {
eresult = DNS_R_SERVFAIL;
goto cleanup;
}
if (WANTDNSSEC(client) && dns_db_issecure(db)) {
if (WANTDNSSEC(client)) {
sigrdataset = query_newrdataset(client);
if (sigrdataset == NULL) {
CTRACE("query_addns: query_newrdataset failed");
@@ -2308,8 +2295,7 @@ query_addcnamelike(ns_client_t *client, dns_name_t *qname, dns_name_t *tname,
*/
static void
mark_secure(ns_client_t *client, dns_db_t *db, dns_name_t *name,
isc_uint32_t ttl, dns_rdataset_t *rdataset,
dns_rdataset_t *sigrdataset)
dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset)
{
isc_result_t result;
dns_dbnode_t *node = NULL;
@@ -2323,18 +2309,6 @@ mark_secure(ns_client_t *client, dns_db_t *db, dns_name_t *name,
result = dns_db_findnode(db, name, ISC_TRUE, &node);
if (result != ISC_R_SUCCESS)
return;
/*
* Bound the validated ttls then minimise.
*/
if (sigrdataset->ttl > ttl)
sigrdataset->ttl = ttl;
if (rdataset->ttl > ttl)
rdataset->ttl = ttl;
if (rdataset->ttl > sigrdataset->ttl)
rdataset->ttl = sigrdataset->ttl;
else
sigrdataset->ttl = rdataset->ttl;
(void)dns_db_addrdataset(db, node, NULL, client->now, rdataset,
0, NULL);
(void)dns_db_addrdataset(db, node, NULL, client->now, sigrdataset,
@@ -2458,9 +2432,8 @@ validate(ns_client_t *client, dns_db_t *db, dns_name_t *name,
client->view->acceptexpired)) {
dst_key_free(&key);
dns_rdataset_disassociate(&keyrdataset);
mark_secure(client, db, name,
rrsig.originalttl,
rdataset, sigrdataset);
mark_secure(client, db, name, rdataset,
sigrdataset);
return (ISC_TRUE);
}
dst_key_free(&key);
@@ -2601,14 +2574,14 @@ query_addbestns(ns_client_t *client) {
/*
* Attempt to validate RRsets that are pending or that are glue.
*/
if ((rdataset->trust == dns_trust_pending ||
(sigrdataset != NULL && sigrdataset->trust == dns_trust_pending))
if ((DNS_TRUST_PENDING(rdataset->trust) ||
(sigrdataset != NULL && DNS_TRUST_PENDING(sigrdataset->trust)))
&& !validate(client, db, fname, rdataset, sigrdataset) &&
(client->query.dboptions & DNS_DBFIND_PENDINGOK) == 0)
!PENDINGOK(client->query.dboptions))
goto cleanup;
if ((rdataset->trust == dns_trust_glue ||
(sigrdataset != NULL && sigrdataset->trust == dns_trust_glue)) &&
if ((DNS_TRUST_GLUE(rdataset->trust) ||
(sigrdataset != NULL && DNS_TRUST_GLUE(sigrdataset->trust))) &&
!validate(client, db, fname, rdataset, sigrdataset) &&
SECURE(client) && WANTDNSSEC(client))
goto cleanup;
@@ -2645,37 +2618,13 @@ query_addbestns(ns_client_t *client) {
}
}
static void
fixrdataset(ns_client_t *client, dns_rdataset_t **rdataset) {
if (*rdataset == NULL)
*rdataset = query_newrdataset(client);
else if (dns_rdataset_isassociated(*rdataset))
dns_rdataset_disassociate(*rdataset);
}
static void
fixfname(ns_client_t *client, dns_name_t **fname, isc_buffer_t **dbuf,
isc_buffer_t *nbuf)
{
if (*fname == NULL) {
*dbuf = query_getnamebuf(client);
if (*dbuf == NULL)
return;
*fname = query_newname(client, *dbuf, nbuf);
}
}
static void
query_addds(ns_client_t *client, dns_db_t *db, dns_dbnode_t *node,
dns_dbversion_t *version, dns_name_t *name)
dns_dbversion_t *version)
{
dns_fixedname_t fixed;
dns_name_t *fname = NULL;
dns_name_t *rname;
dns_rdataset_t *rdataset, *sigrdataset;
isc_buffer_t *dbuf, b;
isc_result_t result;
unsigned int count;
CTRACE("query_addds");
rname = NULL;
@@ -2696,17 +2645,16 @@ query_addds(ns_client_t *client, dns_db_t *db, dns_dbnode_t *node,
result = dns_db_findrdataset(db, node, version, dns_rdatatype_ds, 0,
client->now, rdataset, sigrdataset);
/*
* If we didn't find it, look for an NSEC.
*/
* If we didn't find it, look for an NSEC. */
if (result == ISC_R_NOTFOUND)
result = dns_db_findrdataset(db, node, version,
dns_rdatatype_nsec, 0, client->now,
rdataset, sigrdataset);
if (result != ISC_R_SUCCESS && result != ISC_R_NOTFOUND)
goto addnsec3;
goto cleanup;
if (!dns_rdataset_isassociated(rdataset) ||
!dns_rdataset_isassociated(sigrdataset))
goto addnsec3;
goto cleanup;
/*
* We've already added the NS record, so if the name's not there,
@@ -2728,60 +2676,12 @@ query_addds(ns_client_t *client, dns_db_t *db, dns_dbnode_t *node,
ISC_LIST_APPEND(rname->list, sigrdataset, link);
rdataset = NULL;
sigrdataset = NULL;
return;
addnsec3:
if (dns_db_iscache(db))
goto cleanup;
/*
* Add the NSEC3 which proves the DS does not exist.
*/
dbuf = query_getnamebuf(client);
if (dbuf == NULL)
goto cleanup;
fname = query_newname(client, dbuf, &b);
dns_fixedname_init(&fixed);
if (dns_rdataset_isassociated(rdataset))
dns_rdataset_disassociate(rdataset);
if (dns_rdataset_isassociated(sigrdataset))
dns_rdataset_disassociate(sigrdataset);
query_findclosestnsec3(name, db, version, client, rdataset,
sigrdataset, fname, ISC_TRUE,
dns_fixedname_name(&fixed));
if (!dns_rdataset_isassociated(rdataset))
goto cleanup;
query_addrrset(client, &fname, &rdataset, &sigrdataset, dbuf,
DNS_SECTION_AUTHORITY);
/*
* Did we find the closest provable encloser instead?
* If so add the nearest to the closest provable encloser.
*/
if (!dns_name_equal(name, dns_fixedname_name(&fixed))) {
count = dns_name_countlabels(dns_fixedname_name(&fixed)) + 1;
dns_name_getlabelsequence(name,
dns_name_countlabels(name) - count,
count, dns_fixedname_name(&fixed));
fixfname(client, &fname, &dbuf, &b);
fixrdataset(client, &rdataset);
fixrdataset(client, &sigrdataset);
if (fname == NULL || rdataset == NULL || sigrdataset == NULL)
goto cleanup;
query_findclosestnsec3(dns_fixedname_name(&fixed), db, version,
client, rdataset, sigrdataset, fname,
ISC_FALSE, NULL);
if (!dns_rdataset_isassociated(rdataset))
goto cleanup;
query_addrrset(client, &fname, &rdataset, &sigrdataset, dbuf,
DNS_SECTION_AUTHORITY);
}
cleanup:
if (rdataset != NULL)
query_putrdataset(client, &rdataset);
if (sigrdataset != NULL)
query_putrdataset(client, &sigrdataset);
if (fname != NULL)
query_releasename(client, &fname);
}
static void
@@ -2796,14 +2696,12 @@ query_addwildcardproof(ns_client_t *client, dns_db_t *db,
dns_name_t *wname;
dns_dbnode_t *node;
unsigned int options;
unsigned int olabels, nlabels, labels;
unsigned int olabels, nlabels;
isc_result_t result;
dns_rdata_t rdata = DNS_RDATA_INIT;
dns_rdata_nsec_t nsec;
isc_boolean_t have_wname;
int order;
dns_fixedname_t cfixed;
dns_name_t *cname;
CTRACE("query_addwildcardproof");
fname = NULL;
@@ -2874,115 +2772,7 @@ query_addwildcardproof(ns_client_t *client, dns_db_t *db,
0, &node, fname, rdataset, sigrdataset);
if (node != NULL)
dns_db_detachnode(db, &node);
if (!dns_rdataset_isassociated(rdataset)) {
/*
* No NSEC proof available, return NSEC3 proofs instead.
*/
dns_fixedname_init(&cfixed);
cname = dns_fixedname_name(&cfixed);
/*
* Find the closest encloser.
*/
dns_name_copy(name, cname, NULL);
while (result == DNS_R_NXDOMAIN) {
labels = dns_name_countlabels(cname) - 1;
dns_name_split(cname, labels, NULL, cname);
result = dns_db_find(db, cname, version,
dns_rdatatype_nsec,
options, 0, NULL, fname,
NULL, NULL);
}
/*
* Add closest (provable) encloser NSEC3.
*/
query_findclosestnsec3(cname, db, NULL, client, rdataset,
sigrdataset, fname, ISC_TRUE, cname);
if (!dns_rdataset_isassociated(rdataset))
goto cleanup;
query_addrrset(client, &fname, &rdataset, &sigrdataset,
dbuf, DNS_SECTION_AUTHORITY);
/*
* Replace resources which were consumed by query_addrrset.
*/
if (fname == NULL) {
dbuf = query_getnamebuf(client);
if (dbuf == NULL)
goto cleanup;
fname = query_newname(client, dbuf, &b);
}
if (rdataset == NULL)
rdataset = query_newrdataset(client);
else if (dns_rdataset_isassociated(rdataset))
dns_rdataset_disassociate(rdataset);
if (sigrdataset == NULL)
sigrdataset = query_newrdataset(client);
else if (dns_rdataset_isassociated(sigrdataset))
dns_rdataset_disassociate(sigrdataset);
if (fname == NULL || rdataset == NULL || sigrdataset == NULL)
goto cleanup;
/*
* Add no qname proof.
*/
labels = dns_name_countlabels(cname) + 1;
if (dns_name_countlabels(name) == labels)
dns_name_copy(name, wname, NULL);
else
dns_name_split(name, labels, NULL, wname);
query_findclosestnsec3(wname, db, NULL, client, rdataset,
sigrdataset, fname, ISC_FALSE, NULL);
if (!dns_rdataset_isassociated(rdataset))
goto cleanup;
query_addrrset(client, &fname, &rdataset, &sigrdataset,
dbuf, DNS_SECTION_AUTHORITY);
if (ispositive)
goto cleanup;
/*
* Replace resources which were consumed by query_addrrset.
*/
if (fname == NULL) {
dbuf = query_getnamebuf(client);
if (dbuf == NULL)
goto cleanup;
fname = query_newname(client, dbuf, &b);
}
if (rdataset == NULL)
rdataset = query_newrdataset(client);
else if (dns_rdataset_isassociated(rdataset))
dns_rdataset_disassociate(rdataset);
if (sigrdataset == NULL)
sigrdataset = query_newrdataset(client);
else if (dns_rdataset_isassociated(sigrdataset))
dns_rdataset_disassociate(sigrdataset);
if (fname == NULL || rdataset == NULL || sigrdataset == NULL)
goto cleanup;
/*
* Add the no wildcard proof.
*/
result = dns_name_concatenate(dns_wildcardname,
cname, wname, NULL);
if (result != ISC_R_SUCCESS)
goto cleanup;
query_findclosestnsec3(wname, db, NULL, client, rdataset,
sigrdataset, fname, ISC_FALSE, NULL);
if (!dns_rdataset_isassociated(rdataset))
goto cleanup;
query_addrrset(client, &fname, &rdataset, &sigrdataset,
dbuf, DNS_SECTION_AUTHORITY);
goto cleanup;
} else if (result == DNS_R_NXDOMAIN) {
if (result == DNS_R_NXDOMAIN) {
if (!ispositive)
result = dns_rdataset_first(rdataset);
if (result == ISC_R_SUCCESS) {
@@ -3059,7 +2849,6 @@ query_addnxrrsetnsec(ns_client_t *client, dns_db_t *db,
if (sigrdatasetp == NULL)
return;
sigrdataset = *sigrdatasetp;
if (sigrdataset == NULL || !dns_rdataset_isassociated(sigrdataset))
return;
@@ -3220,11 +3009,7 @@ query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qdomain,
NS_LOGMODULE_QUERY,
ISC_LOG_WARNING,
"recursive-clients soft limit "
"exceeded (%d/%d/%d), "
"aborting oldest query",
client->recursionquota->used,
client->recursionquota->soft,
client->recursionquota->max);
"exceeded, aborting oldest query");
}
ns_client_killoldestquery(client);
result = ISC_R_SUCCESS;
@@ -3237,11 +3022,7 @@ query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qdomain,
ns_client_log(client, NS_LOGCATEGORY_CLIENT,
NS_LOGMODULE_QUERY,
ISC_LOG_WARNING,
"no more recursive clients "
"(%d/%d/%d): %s",
ns_g_server->recursionquota.used,
ns_g_server->recursionquota.soft,
ns_g_server->recursionquota.max,
"no more recursive clients: %s",
isc_result_totext(result));
}
ns_client_killoldestquery(client);
@@ -3410,60 +3191,35 @@ static void
query_addnoqnameproof(ns_client_t *client, dns_rdataset_t *rdataset) {
isc_buffer_t *dbuf, b;
dns_name_t *fname;
dns_rdataset_t *neg, *negsig;
dns_rdataset_t *nsec, *nsecsig;
isc_result_t result = ISC_R_NOMEMORY;
CTRACE("query_addnoqnameproof");
fname = NULL;
neg = NULL;
negsig = NULL;
nsec = NULL;
nsecsig = NULL;
dbuf = query_getnamebuf(client);
if (dbuf == NULL)
goto cleanup;
fname = query_newname(client, dbuf, &b);
neg = query_newrdataset(client);
negsig = query_newrdataset(client);
if (fname == NULL || neg == NULL || negsig == NULL)
nsec = query_newrdataset(client);
nsecsig = query_newrdataset(client);
if (fname == NULL || nsec == NULL || nsecsig == NULL)
goto cleanup;
result = dns_rdataset_getnoqname(rdataset, fname, neg, negsig);
result = dns_rdataset_getnoqname(rdataset, fname, nsec, nsecsig);
RUNTIME_CHECK(result == ISC_R_SUCCESS);
query_addrrset(client, &fname, &neg, &negsig, dbuf,
DNS_SECTION_AUTHORITY);
if ((rdataset->attributes & DNS_RDATASETATTR_CLOSEST) == 0)
goto cleanup;
if (fname == NULL) {
dbuf = query_getnamebuf(client);
if (dbuf == NULL)
goto cleanup;
fname = query_newname(client, dbuf, &b);
}
if (neg == NULL)
neg = query_newrdataset(client);
else if (dns_rdataset_isassociated(neg))
dns_rdataset_disassociate(neg);
if (negsig == NULL)
negsig = query_newrdataset(client);
else if (dns_rdataset_isassociated(negsig))
dns_rdataset_disassociate(negsig);
if (fname == NULL || neg == NULL || negsig == NULL)
goto cleanup;
result = dns_rdataset_getclosest(rdataset, fname, neg, negsig);
RUNTIME_CHECK(result == ISC_R_SUCCESS);
query_addrrset(client, &fname, &neg, &negsig, dbuf,
query_addrrset(client, &fname, &nsec, &nsecsig, dbuf,
DNS_SECTION_AUTHORITY);
cleanup:
if (neg != NULL)
query_putrdataset(client, &neg);
if (negsig != NULL)
query_putrdataset(client, &negsig);
if (nsec != NULL)
query_putrdataset(client, &nsec);
if (nsecsig != NULL)
query_putrdataset(client, &nsecsig);
if (fname != NULL)
query_releasename(client, &fname);
}
@@ -3600,95 +3356,6 @@ warn_rfc1918(ns_client_t *client, dns_name_t *fname, dns_rdataset_t *rdataset) {
}
}
static void
query_findclosestnsec3(dns_name_t *qname, dns_db_t *db,
dns_dbversion_t *version, ns_client_t *client,
dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset,
dns_name_t *fname, isc_boolean_t exact,
dns_name_t *found)
{
unsigned char salt[256];
size_t salt_length = sizeof(salt);
isc_uint16_t iterations;
isc_result_t result;
unsigned int dboptions;
dns_fixedname_t fixed;
dns_hash_t hash;
dns_name_t name;
int order;
unsigned int count;
dns_rdata_nsec3_t nsec3;
dns_rdata_t rdata = DNS_RDATA_INIT;
isc_boolean_t optout;
salt_length = sizeof(salt);
result = dns_db_getnsec3parameters(db, version, &hash, NULL,
&iterations, salt, &salt_length);
if (result != ISC_R_SUCCESS)
return;
dns_name_init(&name, NULL);
dns_name_clone(qname, &name);
/*
* Map unknown algorithm to known value.
*/
if (hash == DNS_NSEC3_UNKNOWNALG)
hash = 1;
again:
dns_fixedname_init(&fixed);
result = dns_nsec3_hashname(&fixed, NULL, NULL, &name,
dns_db_origin(db), hash,
iterations, salt, salt_length);
if (result != ISC_R_SUCCESS)
return;
dboptions = client->query.dboptions | DNS_DBFIND_FORCENSEC3;
result = dns_db_find(db, dns_fixedname_name(&fixed), version,
dns_rdatatype_nsec3, dboptions, client->now,
NULL, fname, rdataset, sigrdataset);
if (result == DNS_R_NXDOMAIN) {
if (!dns_rdataset_isassociated(rdataset)) {
return;
}
result = dns_rdataset_first(rdataset);
INSIST(result == ISC_R_SUCCESS);
dns_rdataset_current(rdataset, &rdata);
dns_rdata_tostruct(&rdata, &nsec3, NULL);
dns_rdata_reset(&rdata);
optout = ISC_TF((nsec3.flags & DNS_NSEC3FLAG_OPTOUT) != 0);
if (found != NULL && optout &&
dns_name_fullcompare(&name, dns_db_origin(db), &order,
&count) == dns_namereln_subdomain) {
dns_rdataset_disassociate(rdataset);
if (dns_rdataset_isassociated(sigrdataset))
dns_rdataset_disassociate(sigrdataset);
count = dns_name_countlabels(&name) - 1;
dns_name_getlabelsequence(&name, 1, count, &name);
ns_client_log(client, DNS_LOGCATEGORY_DNSSEC,
NS_LOGMODULE_QUERY, ISC_LOG_DEBUG(3),
"looking for closest provable encloser");
goto again;
}
if (exact)
ns_client_log(client, DNS_LOGCATEGORY_DNSSEC,
NS_LOGMODULE_QUERY, ISC_LOG_WARNING,
"expected a exact match NSEC3, got "
"a covering record");
} else if (result != ISC_R_SUCCESS) {
return;
} else if (!exact)
ns_client_log(client, DNS_LOGCATEGORY_DNSSEC,
NS_LOGMODULE_QUERY, ISC_LOG_WARNING,
"expected covering NSEC3, got an exact match");
if (found != NULL)
dns_name_copy(&name, found, NULL);
return;
}
/*
* Do the bulk of query processing for the current query of 'client'.
* If 'event' is non-NULL, we are returning from recursion and 'qtype'
@@ -3715,7 +3382,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
isc_result_t result, eresult;
dns_fixedname_t fixed;
dns_fixedname_t wildcardname;
dns_dbversion_t *version, *zversion;
dns_dbversion_t *version;
dns_zone_t *zone;
dns_rdata_cname_t cname;
dns_rdata_dname_t dname;
@@ -3741,7 +3408,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
zrdataset = NULL;
sigrdataset = NULL;
zsigrdataset = NULL;
zversion = NULL;
node = NULL;
db = NULL;
zdb = NULL;
@@ -3930,7 +3596,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
QUERY_ERROR(DNS_R_SERVFAIL);
goto cleanup;
}
if (WANTDNSSEC(client) && (!is_zone || dns_db_issecure(db))) {
if (WANTDNSSEC(client)) {
sigrdataset = query_newrdataset(client);
if (sigrdataset == NULL) {
QUERY_ERROR(DNS_R_SERVFAIL);
@@ -4071,12 +3737,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
* We're authoritative for an ancestor of QNAME.
*/
if (!USECACHE(client) || !RECURSIONOK(client)) {
dns_fixedname_t fixed;
dns_fixedname_init(&fixed);
dns_name_copy(fname,
dns_fixedname_name(&fixed), NULL);
/*
* If we don't have a cache, this is the best
* answer.
@@ -4110,9 +3770,8 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
&rdataset, sigrdatasetp,
dbuf, DNS_SECTION_AUTHORITY);
client->query.gluedb = NULL;
if (WANTDNSSEC(client))
query_addds(client, db, node, version,
dns_fixedname_name(&fixed));
if (WANTDNSSEC(client) && dns_db_issecure(db))
query_addds(client, db, node, version);
} else {
/*
* We might have a better answer or delegation
@@ -4131,7 +3790,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
zsigrdataset = sigrdataset;
sigrdataset = NULL;
dns_db_detachnode(db, &node);
zversion = version;
version = NULL;
db = NULL;
dns_db_attach(client->view->cachedb, &db);
@@ -4165,8 +3823,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
zrdataset = NULL;
sigrdataset = zsigrdataset;
zsigrdataset = NULL;
version = zversion;
zversion = NULL;
/*
* We don't clean up zdb here because we
* may still need it. It will get cleaned
@@ -4195,11 +3851,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
else
QUERY_ERROR(DNS_R_SERVFAIL);
} else {
dns_fixedname_t fixed;
dns_fixedname_init(&fixed);
dns_name_copy(fname,
dns_fixedname_name(&fixed), NULL);
/*
* This is the best answer.
*/
@@ -4226,8 +3877,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
client->query.attributes &=
~NS_QUERYATTR_CACHEGLUEOK;
if (WANTDNSSEC(client))
query_addds(client, db, node, version,
dns_fixedname_name(&fixed));
query_addds(client, db, node, version);
}
}
goto cleanup;
@@ -4236,80 +3886,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
/* FALLTHROUGH */
case DNS_R_NXRRSET:
INSIST(is_zone);
/*
* Look for a NSEC3 record if we don't have a NSEC record.
*/
if (!dns_rdataset_isassociated(rdataset) &&
WANTDNSSEC(client)) {
if ((fname->attributes & DNS_NAMEATTR_WILDCARD) == 0) {
dns_name_t *found;
dns_name_t *qname;
dns_fixedname_init(&fixed);
found = dns_fixedname_name(&fixed);
qname = client->query.qname;
query_findclosestnsec3(qname, db, version,
client, rdataset,
sigrdataset, fname,
ISC_TRUE, found);
/*
* Did we find the closest provable encloser
* instead? If so add the nearest to the
* closest provable encloser.
*/
if (found &&
dns_rdataset_isassociated(rdataset) &&
!dns_name_equal(qname, found))
{
unsigned int count;
unsigned int skip;
/*
* Add the closest provable encloser.
*/
query_addrrset(client, &fname,
&rdataset, &sigrdataset,
dbuf,
DNS_SECTION_AUTHORITY);
count = dns_name_countlabels(found)
+ 1;
skip = dns_name_countlabels(qname) -
count;
dns_name_getlabelsequence(qname, skip,
count,
found);
fixfname(client, &fname, &dbuf, &b);
fixrdataset(client, &rdataset);
fixrdataset(client, &sigrdataset);
if (fname == NULL ||
rdataset == NULL ||
sigrdataset == NULL) {
QUERY_ERROR(DNS_R_SERVFAIL);
goto cleanup;
}
/*
* 'nearest' doesn't exist so
* 'exist' is set to ISC_FALSE.
*/
query_findclosestnsec3(found, db,
version,
client,
rdataset,
sigrdataset,
fname,
ISC_FALSE,
NULL);
}
} else {
query_releasename(client, &fname);
query_addwildcardproof(client, db, version,
client->query.qname,
ISC_FALSE);
}
}
if (dns_rdataset_isassociated(rdataset)) {
/*
* If we've got a NSEC record, we need to save the
@@ -4317,7 +3893,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
* below, and it needs to use the name buffer.
*/
query_keepname(client, fname, dbuf);
} else if (fname != NULL) {
} else {
/*
* We're not going to use fname, and need to release
* our hold on the name buffer so query_addsoa()
@@ -4343,11 +3919,9 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
&sigrdataset);
}
goto cleanup;
case DNS_R_EMPTYWILD:
empty_wild = ISC_TRUE;
/* FALLTHROUGH */
case DNS_R_NXDOMAIN:
INSIST(is_zone);
if (dns_rdataset_isassociated(rdataset)) {
@@ -4357,7 +3931,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
* below, and it needs to use the name buffer.
*/
query_keepname(client, fname, dbuf);
} else if (fname != NULL) {
} else {
/*
* We're not going to use fname, and need to release
* our hold on the name buffer so query_addsoa()
@@ -4383,19 +3957,19 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
QUERY_ERROR(result);
goto cleanup;
}
if (WANTDNSSEC(client)) {
/*
* Add NSEC record if we found one.
*/
if (dns_rdataset_isassociated(rdataset))
/*
* Add NSEC record if we found one.
*/
if (dns_rdataset_isassociated(rdataset)) {
if (WANTDNSSEC(client)) {
query_addrrset(client, &fname, &rdataset,
&sigrdataset,
NULL, DNS_SECTION_AUTHORITY);
query_addwildcardproof(client, db, version,
client->query.qname, ISC_FALSE);
query_addwildcardproof(client, db, version,
client->query.qname,
ISC_FALSE);
}
}
/*
* Set message rcode.
*/
@@ -4404,7 +3978,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
else
client->message->rcode = dns_rcode_nxdomain;
goto cleanup;
case DNS_R_NCACHENXDOMAIN:
case DNS_R_NCACHENXRRSET:
INSIST(!is_zone);
@@ -4433,7 +4006,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
fname = NULL;
rdataset = NULL;
goto cleanup;
case DNS_R_CNAME:
/*
* Keep a copy of the rdataset. We have to do this because
@@ -4456,7 +4028,8 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
NULL);
need_wildcardproof = ISC_TRUE;
}
if (NOQNAME(rdataset) && WANTDNSSEC(client))
if ((rdataset->attributes & DNS_RDATASETATTR_NOQNAME) != 0 &&
WANTDNSSEC(client))
noqname = rdataset;
else
noqname = NULL;
@@ -4664,32 +4237,17 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
result = dns_rdatasetiter_first(rdsiter);
while (result == ISC_R_SUCCESS) {
dns_rdatasetiter_current(rdsiter, rdataset);
if (is_zone && qtype == dns_rdatatype_any &&
!dns_db_issecure(db) &&
dns_rdatatype_isdnssec(rdataset->type)) {
/*
* The zone is transitioning from insecure
* to secure. Hide the dnssec records from
* ANY queries.
*/
dns_rdataset_disassociate(rdataset);
} else if ((qtype == dns_rdatatype_any ||
if ((qtype == dns_rdatatype_any ||
rdataset->type == qtype) && rdataset->type != 0) {
if (NOQNAME(rdataset) && WANTDNSSEC(client))
noqname = rdataset;
else
noqname = NULL;
query_addrrset(client,
fname != NULL ? &fname : &tname,
&rdataset, NULL,
NULL, DNS_SECTION_ANSWER);
if (noqname != NULL)
query_addnoqnameproof(client, noqname);
n++;
INSIST(tname != NULL);
/*
* rdataset is non-NULL only in certain
* pathological cases involving DNAMEs.
* rdataset is non-NULL only in certain pathological
* cases involving DNAMEs.
*/
if (rdataset != NULL)
query_putrdataset(client, &rdataset);
@@ -4708,7 +4266,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
if (fname != NULL)
dns_message_puttempname(client->message, &fname);
if (n == 0 && is_zone) {
if (n == 0) {
/*
* We didn't match any rdatasets.
*/
@@ -4769,7 +4327,8 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
sigrdatasetp = &sigrdataset;
else
sigrdatasetp = NULL;
if (NOQNAME(rdataset) && WANTDNSSEC(client))
if ((rdataset->attributes & DNS_RDATASETATTR_NOQNAME) != 0 &&
WANTDNSSEC(client))
noqname = rdataset;
else
noqname = NULL;
@@ -4931,7 +4490,6 @@ log_query(ns_client_t *client, unsigned int flags, unsigned int extflags) {
char namebuf[DNS_NAME_FORMATSIZE];
char typename[DNS_RDATATYPE_FORMATSIZE];
char classname[DNS_RDATACLASS_FORMATSIZE];
char onbuf[ISC_NETADDR_FORMATSIZE];
dns_rdataset_t *rdataset;
int level = ISC_LOG_INFO;
@@ -4943,16 +4501,14 @@ log_query(ns_client_t *client, unsigned int flags, unsigned int extflags) {
dns_name_format(client->query.qname, namebuf, sizeof(namebuf));
dns_rdataclass_format(rdataset->rdclass, classname, sizeof(classname));
dns_rdatatype_format(rdataset->type, typename, sizeof(typename));
isc_netaddr_format(&client->destaddr, onbuf, sizeof(onbuf));
ns_client_log(client, NS_LOGCATEGORY_QUERIES, NS_LOGMODULE_QUERY,
level, "query: %s %s %s %s%s%s%s%s (%s)", namebuf,
classname, typename, WANTRECURSION(client) ? "+" : "-",
level, "query: %s %s %s %s%s%s%s%s", namebuf, classname,
typename, WANTRECURSION(client) ? "+" : "-",
(client->signer != NULL) ? "S": "",
(client->opt != NULL) ? "E" : "",
((extflags & DNS_MESSAGEEXTFLAG_DO) != 0) ? "D" : "",
((flags & DNS_MESSAGEFLAG_CD) != 0) ? "C" : "",
onbuf);
((flags & DNS_MESSAGEFLAG_CD) != 0) ? "C" : "");
}
static inline void
@@ -5010,12 +4566,6 @@ ns_query_start(ns_client_t *client) {
CTRACE("ns_query_start");
/*
* Test only.
*/
if (ns_g_clienttest && (client->attributes & NS_CLIENTATTR_TCP) == 0)
RUNTIME_CHECK(ns_client_replace(client) == ISC_R_SUCCESS);
/*
* Ensure that appropriate cleanups occur.
*/
@@ -5130,9 +4680,9 @@ ns_query_start(ns_client_t *client) {
}
/*
* Turn on minimal response for DNSKEY queries.
* Turn on minimal response for DNSKEY and DS queries.
*/
if (qtype == dns_rdatatype_dnskey)
if (qtype == dns_rdatatype_dnskey || qtype == dns_rdatatype_ds)
client->query.attributes |= (NS_QUERYATTR_NOAUTHORITY |
NS_QUERYATTR_NOADDITIONAL);
+190 -534
View File
File diff suppressed because it is too large Load Diff
+6 -19
View File
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: statschannel.c,v 1.22 2009/02/17 03:40:28 marka Exp $ */
/* $Id: statschannel.c,v 1.2.2.19 2009/02/17 03:47:27 marka Exp $ */
/*! \file */
@@ -29,7 +29,6 @@
#include <isc/stats.h>
#include <isc/task.h>
#include <dns/cache.h>
#include <dns/db.h>
#include <dns/opcode.h>
#include <dns/resolver.h>
@@ -729,7 +728,7 @@ generatexml(ns_server_t *server, int *buflen, xmlChar **buf) {
TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "bind"));
TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "statistics"));
TRY0(xmlTextWriterWriteAttribute(writer, ISC_XMLCHAR "version",
ISC_XMLCHAR "2.1"));
ISC_XMLCHAR "2.0"));
/* Set common fields for statistics dump */
dumparg.type = statsformat_xml;
@@ -767,15 +766,11 @@ generatexml(ns_server_t *server, int *buflen, xmlChar **buf) {
cachestats = dns_db_getrrsetstats(view->cachedb);
if (cachestats != NULL) {
TRY0(xmlTextWriterStartElement(writer,
ISC_XMLCHAR "cache"));
TRY0(xmlTextWriterWriteAttribute(writer,
ISC_XMLCHAR "name",
ISC_XMLCHAR
dns_cache_getname(view->cache)));
xmlTextWriterStartElement(writer,
ISC_XMLCHAR "cache");
dns_rdatasetstats_dump(cachestats, rdatasetstats_dump,
&dumparg, 0);
TRY0(xmlTextWriterEndElement(writer)); /* cache */
xmlTextWriterEndElement(writer); /* cache */
}
xmlTextWriterEndElement(writer); /* view */
@@ -1319,15 +1314,7 @@ ns_stats_dump(ns_server_t *server, FILE *fp) {
if (strcmp(view->name, "_default") == 0)
fprintf(fp, "[View: default]\n");
else
fprintf(fp, "[View: %s (Cache: %s)]\n", view->name,
dns_cache_getname(view->cache));
if (dns_view_iscacheshared(view)) {
/*
* Avoid dumping redundant statistics when the cache is
* shared.
*/
continue;
}
fprintf(fp, "[View: %s]\n", view->name);
dns_rdatasetstats_dump(cachestats, rdatasetstats_dump, &dumparg,
0);
}
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: os.h,v 1.29 2008/10/24 01:44:48 tbox Exp $ */
/* $Id: os.h,v 1.27.128.2 2008/10/24 01:44:15 tbox Exp $ */
#ifndef NS_OS_H
#define NS_OS_H 1
+1 -56
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: os.c,v 1.95 2009/03/02 03:08:22 marka Exp $ */
/* $Id: os.c,v 1.79.128.13 2009/03/02 03:07:05 marka Exp $ */
/*! \file */
@@ -667,51 +667,6 @@ cleanup_pidfile(void) {
pidfile = NULL;
}
static int
mkdirpath(char *filename, void (*report)(const char *, ...)) {
char *slash = strrchr(filename, '/');
char strbuf[ISC_STRERRORSIZE];
unsigned int mode;
if (slash != NULL && slash != filename) {
struct stat sb;
*slash = '\0';
if (stat(filename, &sb) == -1) {
if (errno != ENOENT) {
isc__strerror(errno, strbuf, sizeof(strbuf));
(*report)("couldn't stat '%s': %s", filename,
strbuf);
goto error;
}
if (mkdirpath(filename, report) == -1)
goto error;
mode = S_IRUSR | S_IWUSR | S_IXUSR; /* u=rwx */
mode |= S_IRGRP | S_IXGRP; /* g=rx */
mode |= S_IROTH | S_IXOTH; /* o=rx */
if (mkdir(filename, mode) == -1) {
isc__strerror(errno, strbuf, sizeof(strbuf));
(*report)("couldn't mkdir '%s': %s", filename,
strbuf);
goto error;
}
if (runas_pw != NULL &&
chown(filename, runas_pw->pw_uid,
runas_pw->pw_gid) == -1) {
isc__strerror(errno, strbuf, sizeof(strbuf));
(*report)("couldn't chown '%s': %s", filename,
strbuf);
}
}
*slash = '/';
}
return (0);
error:
*slash = '/';
return (-1);
}
void
ns_os_writepidfile(const char *filename, isc_boolean_t first_time) {
int fd;
@@ -739,19 +694,9 @@ ns_os_writepidfile(const char *filename, isc_boolean_t first_time) {
(*report)("couldn't malloc '%s': %s", filename, strbuf);
return;
}
/* This is safe. */
strcpy(pidfile, filename);
/*
* Make the containing directory if it doesn't exist.
*/
if (mkdirpath(pidfile, report) == -1) {
free(pidfile);
pidfile = NULL;
return;
}
fd = safe_open(filename, ISC_FALSE);
if (fd < 0) {
isc__strerror(errno, strbuf, sizeof(strbuf));
+75 -1110
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: os.h,v 1.14 2008/10/24 01:44:48 tbox Exp $ */
/* $Id: os.h,v 1.12.128.2 2008/10/24 01:44:15 tbox Exp $ */
#ifndef NS_OS_H
#define NS_OS_H 1
+16 -13
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2006, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2006, 2007, 2009 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: ntservice.c,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: ntservice.c,v 1.12.128.2 2009/06/23 23:46:35 tbox Exp $ */
#include <config.h>
#include <stdio.h>
@@ -47,7 +47,7 @@ int main(int, char *[], char *[]); /* From ns_main.c */
#pragma comment(linker, "/entry:bindmain")
/*
* This is the entry point for the executable
* This is the entry point for the executable
* We can now call main() explicitly or via StartServiceCtrlDispatcher()
* as we need to.
*/
@@ -65,9 +65,12 @@ int bindmain()
*/
GetArgs(&argc, &argv, &envp);
/* Command line users should put -f in the options */
/* Command line users should put -f in the options. */
/* XXXMPA should use isc_commandline_parse() here. */
while (argv[i]) {
if (!strcmp(argv[i], "-f") || !strcmp(argv[i], "-g")) {
if (!strcmp(argv[i], "-f") ||
!strcmp(argv[i], "-g") ||
!strcmp(argv[i], "-v")) {
foreground = TRUE;
break;
}
@@ -129,7 +132,7 @@ BOOL
ntservice_isservice() {
return(!foreground);
}
/*
/*
* ServiceControl(): Handles requests from the SCM and passes them on
* to named.
*/
@@ -137,17 +140,17 @@ void
ServiceControl(DWORD dwCtrlCode) {
/* Handle the requested control code */
switch(dwCtrlCode) {
case SERVICE_CONTROL_INTERROGATE:
case SERVICE_CONTROL_INTERROGATE:
UpdateSCM(0);
break;
case SERVICE_CONTROL_SHUTDOWN:
case SERVICE_CONTROL_STOP:
case SERVICE_CONTROL_SHUTDOWN:
case SERVICE_CONTROL_STOP:
ns_server_flushonshutdown(ns_g_server, ISC_TRUE);
isc_app_shutdown();
UpdateSCM(SERVICE_STOPPED);
break;
default:
default:
break;
}
}
@@ -185,7 +188,7 @@ void UpdateSCM(DWORD state) {
* get argv, argc, envp.
*/
typedef struct
typedef struct
{
int newmode;
} _startupinfo;
@@ -218,13 +221,13 @@ extern _CRTIMP char **__initenv;
void GetArgs(int *argc, char ***argv, char ***envp)
{
_startupinfo startinfo;
/*
* Set the app type to Console (check CRT/SRC/INTERNAL.H:
* \#define _CONSOLE_APP 1)
*/
__set_app_type(1);
/* Mark this module as an EXE file */
__onexitbegin = __onexitend = (_PVFV *)(-1);
+1 -3
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: os.c,v 1.31 2008/11/17 05:41:10 marka Exp $ */
/* $Id: os.c,v 1.25.128.4 2008/10/24 01:28:29 marka Exp $ */
#include <config.h>
#include <stdarg.h>
@@ -155,8 +155,6 @@ ns_os_closedevnull(void) {
void
ns_os_chroot(const char *root) {
if (root != NULL)
ns_main_earlyfatal("chroot(): isn't supported by Win32 API");
}
void
+2 -2
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: xfrout.c,v 1.135 2009/01/27 22:29:58 jinmei Exp $ */
/* $Id: xfrout.c,v 1.126.128.8 2009/01/29 22:41:44 jinmei Exp $ */
#include <config.h>
@@ -170,7 +170,7 @@ db_rr_iterator_init(db_rr_iterator_t *it, dns_db_t *db, dns_dbversion_t *ver,
it->ver = ver;
it->now = now;
it->node = NULL;
result = dns_db_createiterator(it->db, 0, &it->dbit);
result = dns_db_createiterator(it->db, ISC_FALSE, &it->dbit);
if (result != ISC_R_SUCCESS)
return (result);
it->rdatasetit = NULL;

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