Compare commits

...
1683 Commits
Author SHA1 Message Date
Mark Andrews 6eaf3d3bb6 3407. [security] Named could die on specific queries with dns64 enabled.
[Addressed in change #3388 for BIND 9.8.5 and 9.9.3.]

Conflicts:
	CHANGES
	version
2012-10-26 15:52:55 +11:00
Evan Hunt 5dffd984bf fixed an exploitable hang bug
3383.	[security]	A certain combination of records in the RBT could
                        cause named to hang while populating the additional
                        section of a response. [RT #31090]
2012-09-26 17:32:45 -07:00
Mark Andrews 8c29e2967e use binary mode for raw/fast 2012-09-12 17:39:33 +10:00
Mark Andrews faca64510a turn binary mode on for raw/fast 2012-09-12 15:29:02 +10:00
Mark Andrews 64acf976ec O_BINARY -> _O_BINARY 2012-09-12 13:53:39 +10:00
Mark Andrews f48f8dbc0f 3373. [bug] win32: open raw files in binary mode. [RT #30944] 2012-09-12 12:03:00 +10:00
Mark Andrews be9f89a698 update 2012-08-24 17:00:03 +10:00
Tinderbox User 325964fb62 update SRCID 2012-08-24 05:17:54 +00:00
Mark Andrews ea3cd902a0 Merge remote-tracking branch 'origin/v9_8' into v9_8 2012-08-24 14:21:27 +10:00
Mark Andrews 37a566fec5 9.7.7 2012-08-24 14:19:27 +10:00
Tinderbox User 367792bfc0 update SRCID 2012-08-24 04:16:20 +00:00
Mark Andrews e3aad295c3 update CVE list 2012-08-24 14:13:06 +10:00
Mark Andrews f6c1e4c75f 3364. [security] Named could die on specially crafted record.
[RT #30416]
2012-08-24 13:43:20 +10:00
Tinderbox User ddb5a28496 update SRCID 2012-08-23 22:15:44 +00:00
Mark Andrews 791e07dc39 unsigned constants 2012-08-24 07:32:50 +10:00
Tinderbox User d4e292f5bc update SRCID 2012-08-23 14:15:48 +00:00
Mark Andrews 849758530a v9_8_4rc2 2012-08-23 23:38:14 +10:00
Mark Andrews 2924680582 9.8.4rc1 2012-08-23 23:06:18 +10:00
Mark Andrews 4eae108f19 9.8.4rc1 2012-08-23 22:54:40 +10:00
Tinderbox User b4caf37592 update SRCID 2012-08-23 08:16:25 +00:00
Mark Andrews 6fe003ae9f handle doc/arm/*.html 2012-08-23 17:55:17 +10:00
Mark Andrews 7b8900fbad 9.8.4b1 2012-08-23 17:18:43 +10:00
Tinderbox User 4de5f06504 update SRCID 2012-08-23 06:16:35 +00:00
Tinderbox User 80f25d44fc update copyright notice 2012-08-23 05:34:40 +00:00
Tinderbox User e815aae9da update SRCID 2012-08-23 00:16:21 +00:00
Mark Andrews c8faf05879 update 2012-08-23 09:58:14 +10:00
Tinderbox User c280fc0397 update SRCID 2012-08-22 10:16:05 +00:00
Mark Andrews 10660e4a58 change number 2012-08-22 19:24:23 +10:00
Tinderbox User 509cfe28ab update SRCID 2012-08-22 09:16:02 +00:00
Mark Andrews b79740dfcd back port parse_rdata fix to handle NULL commandline 2012-08-22 18:39:37 +10:00
Tinderbox User eaa32807e0 update SRCID 2012-08-22 04:16:27 +00:00
Mark Andrews 1b520b9c16 3379. [bug] nsupdate terminated unexpectedly in interactive mode
if built with readline support. [RT #29550]
2012-08-22 13:53:22 +10:00
Tinderbox User 5b8b739aef update SRCID 2012-08-22 00:16:00 +00:00
Tinderbox User 140a9bdfd4 update copyright notice 2012-08-21 23:45:38 +00:00
Tinderbox User 7eafff3769 newcopyrights 2012-08-21 23:30:12 +00:00
Tinderbox User 1adae271fc update SRCID 2012-08-21 19:15:47 +00:00
Evan Hunt 40e89ef4f4 spelling 2012-08-21 12:08:00 -07:00
Tinderbox User dde6bba1a9 update SRCID 2012-08-21 07:16:36 +00:00
Mark Andrews d319c1ce2b 3368. [bug] <dns/iptable.h> and <dns/zone.h> where not C++ safe. 2012-08-21 16:45:59 +10:00
Tinderbox User 5a6e6ed434 update SRCID 2012-08-21 02:15:58 +00:00
Mark Andrews 9e7fcd7c19 3367. [bug] dns_dnsseckey_create() result was not being checked.
[RT #30685]
2012-08-21 12:06:37 +10:00
Tinderbox User d4737c3348 update SRCID 2012-08-18 00:16:19 +00:00
Tinderbox User b9f7f9e160 update copyright notice 2012-08-17 23:45:39 +00:00
Tinderbox User a9da16523c newcopyrights 2012-08-17 23:30:09 +00:00
Tinderbox User 2e1e28d66c update SRCID 2012-08-17 18:15:54 +00:00
ckb 3b1fafcfb3 3366. [bug] Fixed Read-After-Write dependency violation for IA64
atomic operations. [RT #25181]
2012-08-17 13:08:29 -05:00
Tinderbox User 9248a7f957 update SRCID 2012-08-17 06:16:25 +00:00
Mark Andrews 71dbfe8929 clean testdir's as well 2012-08-17 16:05:49 +10:00
Tinderbox User aebf3719f5 update SRCID 2012-08-17 04:16:22 +00:00
Mark Andrews 13a90e9f23 we didn't catch a zero option at the global level when views are active 2012-08-17 13:41:15 +10:00
Tinderbox User dd896b42ca update SRCID 2012-08-17 00:16:15 +00:00
Tinderbox User 08b2758ac9 update copyright notice 2012-08-16 23:45:39 +00:00
Tinderbox User 59efa63c9c newcopyrights 2012-08-16 23:30:08 +00:00
Tinderbox User a556adedbd update SRCID 2012-08-16 22:15:39 +00:00
Mark Andrews 0d095d4127 silence "t_names.c:130:7: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage" 2012-08-17 07:22:28 +10:00
Tinderbox User 5cdf5296a8 update SRCID 2012-08-16 19:15:59 +00:00
Evan Hunt c98f17f73b remove spurious newlines in zone.c logging
3365.	[bug]		Removed spurious newlines from log messages in
			zone.c [RT #30675]
2012-08-16 10:46:35 -07:00
Tinderbox User 3dcccc0b94 update SRCID 2012-08-16 05:18:08 +00:00
Evan Hunt 8d4ef3f9d3 specify libtool mode in DLZBDB makefile 2012-08-15 21:53:59 -07:00
Tinderbox User e8f8594ebf update SRCID 2012-08-16 00:16:11 +00:00
Tinderbox User cac69c8226 update copyright notice 2012-08-15 23:45:35 +00:00
Tinderbox User 0eee378916 newcopyrights 2012-08-15 23:30:08 +00:00
Tinderbox User 35940e7649 update SRCID 2012-08-15 21:15:50 +00:00
Evan Hunt 3a6af6ab9b allow "forward" and "forwarders" in static-stub
3363.	[bug]		Need to allow "forward" and "fowarders" options
			in static-stub zones; this had been overlooked.
			[RT #30482]
2012-08-15 13:12:21 -07:00
Tinderbox User 8f9cffcdbe update SRCID 2012-08-15 00:16:10 +00:00
Tinderbox User f35cea4f44 update copyright notice 2012-08-14 23:45:36 +00:00
Tinderbox User 41c11c876d newcopyrights 2012-08-14 23:30:14 +00:00
Tinderbox User beb1706de2 update SRCID 2012-08-14 06:15:56 +00:00
Evan Hunt 475b563876 properly range-check fields that do not allow 0
3362.	[bug]		Setting some option values to 0 in named.conf
			could trigger an assertion failure on startup.
			[RT #27730]
2012-08-13 22:41:33 -07:00
Tinderbox User 6bbbcdcdcf update SRCID 2012-08-14 05:16:02 +00:00
Mark Andrews 49093211a6 Merge branch 'v9_8' of repo.isc.org:/proj/git/prod/bind9 into v9_8 2012-08-14 14:33:42 +10:00
Mark Andrews 2efa809b42 test against unsigned zero 2012-08-14 14:30:54 +10:00
Tinderbox User 0bf26ac63a update SRCID 2012-08-14 01:16:23 +00:00
Mark Andrews 911e7390aa 3360. [bug] 'host -w' could die. [RT #18723] 2012-08-14 11:10:25 +10:00
Tinderbox User aead0f4c66 update SRCID 2012-08-12 05:16:40 +00:00
Mark Andrews 642c16cf0d update 2012-08-12 14:48:51 +10:00
Tinderbox User e18c761cb9 update SRCID 2012-08-11 04:17:23 +00:00
Evan Hunt 5c13c20390 address memory leak with bad tsig secret
3359.	[bug]		An improperly-formed TSIG secret could cause a
                        memory leak. [RT #30607]
2012-08-10 20:17:22 -07:00
Tinderbox User f42aa8a1ad update SRCID 2012-08-02 02:16:02 +00:00
Mar Andrews b8b595e454 3357. [port] Add support for libxml2-2.8.x [RT #30440] 2012-08-02 01:51:31 +00:00
Tinderbox User 7648bfbf67 update SRCID 2012-07-26 22:15:39 +00:00
Mark Andrews 572ca391c7 silence compiler warnings 2012-07-27 07:53:39 +10:00
Tinderbox User 70292aa8d1 update SRCID 2012-07-26 05:16:32 +00:00
Evan Hunt 73ed414ae7 removed spurious variables added by merge, added config options to dnssec test 2012-07-25 22:13:42 -07:00
Tinderbox User 828f65b2dd update SRCID 2012-07-26 03:16:29 +00:00
Mark Andrews b33adeb54d Merge branch 'v9_8' of repo.isc.org:/proj/git/prod/bind9 into v9_8 2012-07-26 13:09:20 +10:00
Mark Andrews 948b02194d remove conflict marker 2012-07-26 13:04:28 +10:00
Tinderbox User 651913adce update SRCID 2012-07-26 00:16:10 +00:00
Tinderbox User 8b79e1aed5 update copyright notice 2012-07-25 23:45:36 +00:00
Tinderbox User 52384db857 newcopyrights 2012-07-25 23:30:14 +00:00
Tinderbox User a716241a21 update SRCID 2012-07-25 23:16:00 +00:00
ckb 540b745122 3356. [bug] Cap the TTL of signed RRsets when RRSIGs are
approaching their expiry, so they don't remain
			in caches after expiry. [RT #26429]
2012-07-25 17:25:13 -05:00
Tinderbox User 7e64041031 update SRCID 2012-07-24 07:16:00 +00:00
Evan Hunt 0bae1e2746 update api 2012-07-23 23:39:23 -07:00
Tinderbox User 09148c3de0 update SRCID 2012-07-24 03:16:30 +00:00
Mark Andrews 31f52c679e cast mode to unsigned int for fprintf 2012-07-24 13:02:36 +10:00
Mark Andrews 0c6e3db3fd cleanup unused variables 2012-07-24 12:22:29 +10:00
Tinderbox User fee218fff8 update SRCID 2012-07-24 00:15:59 +00:00
Tinderbox User 6686ee02c3 update copyright notice 2012-07-23 23:45:40 +00:00
Tinderbox User a926c444d9 newcopyrights 2012-07-23 23:30:09 +00:00
Tinderbox User 33afd39b9f update SRCID 2012-07-23 21:15:54 +00:00
Evan Hunt b94e3c4eda update 2012-07-23 13:37:01 -07:00
Tinderbox User ba1cb1f570 update SRCID 2012-07-23 20:15:55 +00:00
Evan Hunt e2bdd929c7 prep 9.8.4b1 2012-07-23 12:54:29 -07:00
Tinderbox User 6540c6e574 update SRCID 2012-07-23 07:16:07 +00:00
Mark Andrews 4e93d4a830 3354. [func] Improve OpenSSL error logging. [RT #29932] 2012-07-23 15:10:41 +10:00
Tinderbox User e47f420d71 update SRCID 2012-07-21 00:15:52 +00:00
Tinderbox User 1ca0f37705 newcopyrights 2012-07-20 23:30:07 +00:00
Tinderbox User 42ca001bab update SRCID 2012-07-20 08:15:49 +00:00
Mark Andrews 24d93f177d windows fixes 2012-07-20 18:11:33 +10:00
Tinderbox User 4b35c30c3f update SRCID 2012-07-20 05:17:31 +00:00
Tinderbox User f64df4c62f regen v9_8 2012-07-20 04:43:32 +00:00
Tinderbox User fb56286f27 sync 2012-07-20 04:40:42 +00:00
Tinderbox User 6b5dbd8a13 update SRCID 2012-07-20 00:15:57 +00:00
Tinderbox User 52385b05cd update copyright notice 2012-07-19 23:45:30 +00:00
Tinderbox User eee82430e2 update SRCID 2012-07-19 14:15:45 +00:00
Mark Andrews ac6f11a584 3353. [bug] Use a single task for task exclusive operations.
[RT #29872]
2012-07-19 23:59:28 +10:00
Tinderbox User 75c810fa1d update SRCID 2012-07-18 05:17:44 +00:00
Mark Andrews b3f7cbd9f1 3352. [bug] Ensure that learned server attributes timeout of the
adb cache. [RT #29856]
2012-07-18 14:18:32 +10:00
Tinderbox User 9e2b88d77b update SRCID 2012-07-18 00:16:04 +00:00
Mark Andrews 533adce96c 3351. [bug] isc_mem_put and isc_mem_putanddetach didn't report
caller if either ISC_MEM_DEBUGSIZE or ISC_MEM_DEBUGCTX
                        memory debugging flags are set. [RT #30243]
2012-07-18 10:03:54 +10:00
Mark Andrews 4f95da36b0 3350. [bug] Memory read overrun in isc___mem_reallocate if
ISC_MEM_DEBUGCTX memory debugging flag is set.
                        [RT #30240]

Conflicts:
	CHANGES
2012-07-18 09:53:01 +10:00
Tinderbox User 09cdf0c4a5 update SRCID 2012-07-09 19:15:58 +00:00
ckb e832bdf70a 3348. [security] prevent RRSIG data from being cached if a negative
record matching the covering type exists at a higher
			trust level. Such data already can't be retrieved from
			the cache since change 3218 -- this prevents it
			being inserted into the cache as well. [RT #26809]
2012-07-09 13:25:39 -05:00
Tinderbox User 18d7c48a79 update SRCID 2012-07-07 00:15:50 +00:00
Tinderbox User 32b1f6601d newcopyrights 2012-07-06 23:30:08 +00:00
Tinderbox User 6729d70e16 update SRCID 2012-07-06 18:15:47 +00:00
ckb b0da40b539 added cleanup of test files 2012-07-06 12:48:51 -05:00
Tinderbox User 6041a6905a update SRCID 2012-07-06 01:15:48 +00:00
Evan Hunt c0d7ef3afd warn when changing mode on .private files
3347.	[bug]		dnssec-settime: Issue a warning when writing a new
			private key file would cause a change in the
			permissions of the existing file. [RT #27724]
2012-07-05 18:04:53 -07:00
Tinderbox User ea07892126 update SRCID 2012-07-02 17:15:57 +00:00
Evan Hunt 42b8ca8347 fix bad-cache assert
3346.	[security]	Bad-cache data could be used before it was
			initialized, causing an assert. [RT #30025]
2012-07-02 10:03:46 -07:00
Tinderbox User d725bd5ca2 update SRCID 2012-06-30 00:16:08 +00:00
Tinderbox User 599cf7175e update copyright notice 2012-06-29 23:45:32 +00:00
Tinderbox User aa08a39fd2 newcopyrights 2012-06-29 23:30:09 +00:00
Tinderbox User 7cc499b86e update SRCID 2012-06-29 02:16:05 +00:00
Mark Andrews c0b8f1a675 reverse bad copyright update 2012-06-29 11:43:12 +10:00
Mark Andrews fe77b22417 lost line 2012-06-29 11:42:52 +10:00
Tinderbox User 4106b0caeb update copyright notice 2012-06-29 01:21:53 +00:00
Tinderbox User dd6e284ef8 update SRCID 2012-06-29 01:15:41 +00:00
Mark Andrews 77a5cda3be add support for python 2012-06-29 11:04:03 +10:00
Tinderbox User d147d1fd25 update SRCID 2012-06-27 00:15:46 +00:00
Tinderbox User e9e0aac754 update copyright notice 2012-06-26 23:45:31 +00:00
Mark Andrews eea0a8248a 3342. [bug] Change #3314 broke saving of stub zones to disk
resulting in excessive cpu usage in some cases.
                        [RT #29952]
2012-06-27 09:27:06 +10:00
Tinderbox User 89f01352aa update SRCID 2012-06-26 00:15:42 +00:00
Tinderbox User bfcdd962b0 update copyright notice 2012-06-25 23:45:34 +00:00
Tinderbox User dd0e34822a newcopyrights 2012-06-25 23:30:06 +00:00
Tinderbox User 0511b9536c update SRCID 2012-06-25 02:15:46 +00:00
Mark Andrews 4f86c7e924 silence compiler warning by using offsetof to get structure element offsets 2012-06-25 12:03:58 +10:00
Tinderbox User 503253ea81 update SRCID 2012-06-22 00:16:44 +00:00
Tinderbox User 9b3b8486ad update copyright notice 2012-06-21 23:45:31 +00:00
Tinderbox User 1569c64146 update SRCID 2012-06-21 06:16:09 +00:00
Evan Hunt 8899945e57 fix secondkey test, properly 2012-06-20 22:45:59 -07:00
Tinderbox User 927604e1f0 update SRCID 2012-06-21 05:15:53 +00:00
Mark Andrews faea8a525d remove rundundent call 'result = isc_parse_uint8(&ui, r.base, 10);' 2012-06-21 14:30:06 +10:00
Tinderbox User 3597be1b4d update SRCID 2012-06-20 22:16:27 +00:00
Evan Hunt 6112c02a7f fixed second-key test to use correct rndc.conf 2012-06-20 15:09:21 -07:00
Tinderbox User 44c0ea311e update SRCID 2012-06-15 00:16:27 +00:00
Tinderbox User 47614fd67b update copyright notice 2012-06-14 23:45:29 +00:00
Tinderbox User 9ebfa87e2a update SRCID 2012-06-14 01:15:50 +00:00
Mark Andrews 0b88612b1a Merge branch 'v9_8' of repo.isc.org:/proj/git/prod/bind9 into v9_8 2012-06-14 09:47:42 +10:00
Mark Andrews b5264067d1 update 2012-06-14 09:47:05 +10:00
Tinderbox User a56f8ad94f update SRCID 2012-06-13 07:15:47 +00:00
Mark Andrews 61731ad937 3337. [bug] Change #3294 broke support for the multiple keys
in controls. [RT #29694]
2012-06-13 16:51:43 +10:00
Tinderbox User a3bbecc311 update SRCID 2012-06-11 04:15:50 +00:00
Mark Andrews 4082e31639 Merge branch 'v9_8' of repo.isc.org:/proj/git/prod/bind9 into v9_8 2012-06-11 13:45:14 +10:00
Tinderbox User 5d0edd96db update SRCID 2012-06-09 00:15:44 +00:00
Tinderbox User ea3156ce2e update copyright notice 2012-06-08 23:45:33 +00:00
Tinderbox User 53f3f9de36 newcopyrights 2012-06-08 23:30:11 +00:00
Tinderbox User a491bde7c0 update SRCID 2012-06-08 05:17:23 +00:00
Evan Hunt 8255198fed nslookup exit with error if unsuccessful
3335.	[func]		nslookup: return a nonzero exit code when unable
			to get an answer. [RT #29492]
2012-06-07 22:08:40 -07:00
Mark Andrews 459d0f5417 spelling 2012-06-08 14:30:02 +10:00
Tinderbox User 07e6f06d40 update SRCID 2012-06-08 04:16:15 +00:00
Mark Andrews 3070430d1b add # 2012-06-08 13:58:00 +10:00
Tinderbox User a3f14a46ab update SRCID 2012-06-08 03:16:15 +00:00
Mark Andrews bdedbcd9d0 3333. [bug] Setting resolver-query-timeout too low can cause
named to not recover if it looses connectivity.
                        [RT #29623]
2012-06-08 12:45:19 +10:00
Tinderbox User a82e024e73 update SRCID 2012-06-07 05:17:16 +00:00
Mark Andrews 900aa62340 Don't restart ns5 after killing it 2012-06-07 14:43:14 +10:00
Tinderbox User 18d6bc482f update SRCID 2012-06-07 03:16:38 +00:00
Mark Andrews 896fb8c26a 3332. [bug] Re-use cached DS rrsets if possible. [RT 29446] 2012-06-07 12:58:25 +10:00
Tinderbox User 4d098b06da update SRCID 2012-06-04 07:15:49 +00:00
Mark Andrews 34e4560d35 kill and restart the nameserver after running: perf 'without rpz' norpz 2012-06-04 16:37:40 +10:00
Tinderbox User 1069a83456 update SRCID 2012-06-02 00:16:13 +00:00
Tinderbox User d6ae6d6510 update copyright notice 2012-06-01 23:45:38 +00:00
Tinderbox User 15809b79a5 newcopyrights 2012-06-01 23:42:51 +00:00
Mark Andrews efe8bbdeec add ./bin/tests/system/unknown/large.out 2012-06-02 09:38:34 +10:00
Tinderbox User 53d6e879cb update SRCID 2012-06-01 19:15:47 +00:00
Evan Hunt 168d5d8a42 fix solaris portability problem 2012-06-01 11:41:36 -07:00
Tinderbox User 79eb364e72 update SRCID 2012-06-01 17:15:40 +00:00
Evan Hunt 5810423788 security fix
3331.	[security]	dns_rdataslab_fromrdataset could produce bad
			rdataslabs. [RT #29644]
2012-06-01 09:53:04 -07:00
Tinderbox User ecf50655e0 update SRCID 2012-06-01 01:16:00 +00:00
Tinderbox User 3d3d8d0bac regen v9_8 2012-06-01 01:13:02 +00:00
Tinderbox User c0d74d1055 sync 2012-06-01 01:10:12 +00:00
Vernon Schryver 3e0969b040 CHANGES for rt26172 2012-06-01 01:09:23 +00:00
Tinderbox User 38b029f35c update SRCID 2012-06-01 00:15:45 +00:00
Tinderbox User f3c44ec867 update copyright notice 2012-05-31 23:45:36 +00:00
Tinderbox User 2b2e4dca54 newcopyrights 2012-05-31 23:30:08 +00:00
Tinderbox User 24801ce7a0 update SRCID 2012-05-31 02:15:41 +00:00
Vernon Schryver 07d51fa5ba Squashed commit of the following:
commit 4d29cea2ea05491a7afebc343e41d9b6ad58f068
commit 3211da9716e5ecc0bb758666db70a667ca5a944e
commit 884b6f5d5e9b1f50757c606adafabe382b90c80b
commit 53f82565f72f091a46caed754db160e4a7a2d161
Merge: 8f73664 9698f42
commit 8f73664e7bdc04f766ddcccfb5fc5f857a22326a

for rt26172

Add
  - optional "recursive-only yes|no" to the response-policy statement
  - optional max-policy-ttl to limit the lies that "recursive-only no"
      can introduce into resolvers' caches
  - test that queries with RD=0 are not rewritten by default
  - performance smoke test

Change encoding of PASSTHRU action to "rpz-passthru".
      (The old encoding is still accepted.)
Fix rt26180  assert botch in zone_findrdataset() in this branch
     as well.

Fix missing signatures on NOERROR results despite RPZ hits
    when there are signatures and the client asks for DNSSEC,
2012-05-31 01:47:47 +00:00
Tinderbox User ad9cadad7d update SRCID 2012-05-31 01:15:56 +00:00
Tinderbox User 2851880ad0 regen v9_8 2012-05-31 01:14:01 +00:00
Tinderbox User a988d277a0 Merge branch 'v9_8' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_8 2012-05-31 01:11:03 +00:00
Tinderbox User 8cdfbe14bf update SRCID 2012-05-30 16:15:56 +00:00
Evan Hunt 78690c0163 fixed ARM typo: s/replacable/replaceable/ 2012-05-30 08:16:40 -07:00
Tinderbox User 687e13912e update SRCID 2012-05-30 02:15:41 +00:00
Mark Andrews a06ae70419 silence warnings from clang 2012-05-30 11:55:08 +10:00
Tinderbox User ceb70f3fe2 update SRCID 2012-05-22 00:15:51 +00:00
Tinderbox User 92be0dc757 update copyright notice 2012-05-21 23:45:27 +00:00
Tinderbox User 1c76e43e5b newcopyrights 2012-05-21 23:30:07 +00:00
Tinderbox User 4dcc1383d1 update SRCID 2012-05-21 06:15:42 +00:00
Mark Andrews 707fee270c redirect stderr to /dev/null 2012-05-21 16:05:46 +10:00
Tinderbox User f1da6da8be update SRCID 2012-05-21 05:41:39 +00:00
Mark Andrews 6266b339dd portability awk add space between -v and it's argument, if anything has changed add ./COPYRIGHT 2012-05-21 15:17:58 +10:00
Tinderbox User b77747689a update SRCID 2012-05-21 01:15:53 +00:00
Mark Andrews 6ea1ba16ba awk and toupper is not portable, use sed instead 2012-05-21 10:17:35 +10:00
Tinderbox User b28d4aa918 update SRCID 2012-05-21 00:15:56 +00:00
Tinderbox User b3530fa7e0 update SRCID 2012-05-20 00:15:45 +00:00
Tinderbox User 03ccd60f5a update SRCID 2012-05-19 00:16:06 +00:00
Tinderbox User 94d7bb83d2 update SRCID 2012-05-18 10:15:34 +00:00
Mar Andrews d0660a105b add bin/tests/system/ecdsa/prereq.sh 2012-05-18 09:54:00 +00:00
Mar Andrews 315d9eb547 add bin/tests/system/ecdsa/prereq.sh 2012-05-18 09:53:41 +00:00
Tinderbox User dc0e2aa433 update SRCID 2012-05-18 07:15:34 +00:00
Mark Andrews d824d6739f = -> == 2012-05-18 17:11:09 +10:00
Tinderbox User 81791cbc29 update SRCID 2012-05-18 00:16:13 +00:00
Tinderbox User b008cf0a4d update copyright notice 2012-05-17 23:45:35 +00:00
Tinderbox User b66a8d3f56 newcopyrights 2012-05-17 23:30:25 +00:00
Evan Hunt 5502d62636 fix check_data() usage
3328.   [bug]           Fixed inconsistent data checking in dst_parse.c.
                        [RT #29401]
2012-05-17 16:17:44 -07:00
Tinderbox User 6657770dac update SRCID 2012-05-17 23:15:31 +00:00
Evan Hunt 35af5b5062 Merge branch 'v9_8' of ssh://repo/proj/git/prod/bind9 into v9_8 2012-05-17 16:11:42 -07:00
Evan Hunt 9d1aaaaf3a add ECDSA support
3317.	[protocol]	Add ECDSA support (RFC 6605). [RT #21918]
2012-05-17 16:09:53 -07:00
Tinderbox User ca2263f021 update SRCID 2012-05-17 22:15:36 +00:00
Evan Hunt 2d530cc098 Merge branch 'v9_8' of ssh://repo/proj/git/prod/bind9 into v9_8 2012-05-17 14:51:41 -07:00
Evan Hunt b7d8228ce2 a few files weren't cleaned up 2012-05-17 14:51:14 -07:00
Tinderbox User 25cfa2779b update SRCID 2012-05-17 19:15:51 +00:00
Evan Hunt 58e0170e5e Handle RRSIG signer case consistently
3329.	[bug]	Handle RRSIG signer-name case consistently: We
		generate RRSIG records with the signer-name in
		lower case.  We accept them with any case, but if
		they fail to validate, we try again in lower case.
		[RT #27451]
2012-05-17 11:08:49 -07:00
Tinderbox User 795bb08588 update SRCID 2012-05-17 00:15:45 +00:00
Tinderbox User 7670d38344 update SRCID 2012-05-16 00:16:12 +00:00
Tinderbox User e19ffb6706 update SRCID 2012-05-15 00:16:01 +00:00
Tinderbox User af6d02fcac update SRCID 2012-05-14 00:16:05 +00:00
Tinderbox User 198a1a1ed1 update SRCID 2012-05-13 00:15:41 +00:00
Tinderbox User 2202b19bb4 update SRCID 2012-05-12 00:15:59 +00:00
Tinderbox User 45c3b81a4e update SRCID 2012-05-11 00:16:03 +00:00
Tinderbox User 510f97536f update SRCID 2012-05-10 00:16:08 +00:00
Tinderbox User 25121938a1 update SRCID 2012-05-09 23:15:55 +00:00
Mark Andrews 72c1a6b333 3318. [tuning] Reduce the amount of work performed while holding a
bucket lock when finshed with a fetch context.
                        [RT #29239]
2012-05-10 08:43:18 +10:00
Tinderbox User 48372194d0 update SRCID 2012-05-09 00:16:01 +00:00
Tinderbox User 6ec5bad267 update SRCID 2012-05-08 00:15:48 +00:00
Tinderbox User 2248e25191 update SRCID 2012-05-07 00:15:47 +00:00
Tinderbox User 7668064458 update SRCID 2012-05-06 00:15:55 +00:00
Tinderbox User 7b03488994 update SRCID 2012-05-05 00:15:59 +00:00
Tinderbox User 14e8c4ed6b update SRCID 2012-05-04 00:15:58 +00:00
Tinderbox User a24998a7d0 sync 2012-05-03 01:10:33 +00:00
Tinderbox User 059ece8512 sync 2012-05-03 01:10:33 +00:00
Tinderbox User 4c14152ec7 update SRCID 2012-05-03 00:16:07 +00:00
Tinderbox User d2717ae015 update SRCID 2012-05-02 00:15:49 +00:00
Tinderbox User eeda6ae3a8 update SRCID 2012-05-01 00:15:52 +00:00
Tinderbox User fc901b8caa update SRCID 2012-04-30 00:16:03 +00:00
Tinderbox User 865b556a08 update SRCID 2012-04-29 00:15:50 +00:00
Tinderbox User 56a574270f update SRCID 2012-04-28 00:15:44 +00:00
Tinderbox User 1ffc65968d update SRCID 2012-04-27 13:15:50 +00:00
Tinderbox User af0f7174e2 update SRCID 2012-04-27 08:15:56 +00:00
Tinderbox User 7a8d9ac1bf update SRCID 2012-04-27 07:16:02 +00:00
Mark Andrews 1960a145eb 9.8.3 2012-04-27 16:44:00 +10:00
Mark Andrews 9f7012c066 Merge branch 'v9_8' of repo.isc.org:/proj/git/prod/bind9 into v9_8 2012-04-27 16:27:00 +10:00
Mark Andrews 493c9fc628 9.8.3 2012-04-27 16:25:09 +10:00
Tinderbox User 354a1b3b99 update SRCID 2012-04-27 05:15:28 +00:00
Mark Andrews 552162bb83 3197. [bug] Don't try to log the filename and line number when
the config parser can't open a file. [RT #22263]
2012-04-27 15:08:01 +10:00
Mark Andrews 4dbd99bcae 3183. [bug] Added RTLD_GLOBAL flag to dlopen call. [RT #26301] 2012-04-27 15:00:02 +10:00
Mark Andrews 40615e39ea Merge branch 'v9_8' of repo.isc.org:/proj/git/prod/bind9 into v9_8 2012-04-27 14:43:39 +10:00
Mark Andrews 55ea7920aa 3232. [bug] Zero zone->curmaster before return in
dns_zone_setmasterswithkeys(). [RT #26732]
2012-04-27 14:42:42 +10:00
Tinderbox User e297b2f46c update SRCID 2012-04-27 04:16:04 +00:00
Tinderbox User 9098831429 update copyright notice 2012-04-27 04:02:59 +00:00
Tinderbox User d0ee952988 newcopyrights 2012-04-27 04:01:28 +00:00
Tinderbox User 9924b8c08e update SRCID 2012-04-27 03:16:14 +00:00
Mark Andrews 55e7afa4ea check if the pdf version of the ARM needs to be committed 2012-04-27 12:29:35 +10:00
Tinderbox User 6a2337c066 update SRCID 2012-04-27 01:15:45 +00:00
Mark Andrews b4b775fc32 sync with master 2012-04-27 10:47:08 +10:00
Tinderbox User e7ffb25994 update SRCID 2012-04-27 00:15:43 +00:00
Tinderbox User 9d31a1faf0 newcopyrights 2012-04-26 23:30:16 +00:00
Tinderbox User ac1ab9ce85 update SRCID 2012-04-26 04:15:45 +00:00
Mark Andrews cc7cd7cc92 Merge branch 'v9_8' of repo.isc.org:/proj/git/prod/bind9 into v9_8 2012-04-26 13:58:02 +10:00
Mark Andrews 337cd4ace2 3314. [bug] The masters list could be updated while refesh_callback
and stub_callback were using it. [RT #26732]
2012-04-26 13:57:20 +10:00
Tinderbox User dfbd0b21f7 update SRCID 2012-04-26 03:16:16 +00:00
Mark Andrews f32065b014 3313. [protocol] Add TLSA record type. [RT #28989] 2012-04-26 12:37:58 +10:00
Tinderbox User 02ba576a6f update SRCID 2012-04-26 02:15:35 +00:00
Mark Andrews db829f3834 3312. [bug] named-checkconf didn't detect a bad dns64 clients acl.
[RT #27631]
2012-04-26 11:46:04 +10:00
Mark Andrews 32ea95bde3 3311. [bug] Abort the zone dump if zone->db is NULL in
zone.c:zone_gotwritehandle. [RT #29028]
2012-04-26 11:29:28 +10:00
Tinderbox User cdd42bf1c5 update SRCID 2012-04-26 00:16:00 +00:00
Tinderbox User 9a5b04934b update copyright notice 2012-04-25 23:45:26 +00:00
Tinderbox User 3e2c072517 newcopyrights 2012-04-25 23:30:08 +00:00
Tinderbox User 82f5492f6f update SRCID 2012-04-25 00:15:48 +00:00
Evan Hunt d23cdfd68d increase table size for mutex profiling 2012-04-24 16:52:53 -07:00
Tinderbox User d328345168 update SRCID 2012-04-24 22:15:49 +00:00
Evan Hunt b276df716d fctx_finddone: call fctx_destroy within the bucket lock 2012-04-24 14:59:50 -07:00
Tinderbox User 092c1f8f92 update SRCID 2012-04-24 00:15:48 +00:00
Tinderbox User 9e6393d50f newcopyrights 2012-04-23 23:30:16 +00:00
Tinderbox User ee175b10cf update SRCID 2012-04-23 16:15:44 +00:00
Evan Hunt a9ac8826ce removed files merged by mistake 2012-04-23 09:13:14 -07:00
Evan Hunt 9a76e95622 fix .gitignore files 2012-04-23 09:01:30 -07:00
Tinderbox User 392391a018 update SRCID 2012-04-23 00:16:00 +00:00
Tinderbox User 9fa0a8e8f1 update SRCID 2012-04-22 00:16:01 +00:00
Tinderbox User 9ce2766b37 update SRCID 2012-04-21 00:15:50 +00:00
Tinderbox User d45905f532 update SRCID 2012-04-20 00:15:49 +00:00
Tinderbox User ac8f58355e update SRCID 2012-04-19 14:17:11 +00:00
Scott Mann 3a8970bc4c typo 2012-04-19 08:01:00 -06:00
Scott Mann 6ca4619ded remove rfc5011.txt from contrib subdir 2012-04-19 07:58:28 -06:00
Tinderbox User 5007e6d1e1 update SRCID 2012-04-19 00:15:59 +00:00
Tinderbox User 420b60ac90 update SRCID 2012-04-18 00:16:15 +00:00
Tinderbox User c36a5fb86a update SRCID 2012-04-17 00:15:54 +00:00
Tinderbox User 9698f428b4 update SRCID 2012-04-16 00:16:00 +00:00
Tinderbox User fc97ec759e update SRCID 2012-04-15 00:16:08 +00:00
Tinderbox User 4e5475ab7d update SRCID 2012-04-14 00:15:57 +00:00
Tinderbox User 1f073a3050 update SRCID 2012-04-13 01:15:20 +00:00
Mark Andrews ee65010efc remove release-notes.css 2012-04-13 11:13:03 +10:00
Tinderbox User f2780ecfa9 update SRCID 2012-04-13 00:16:02 +00:00
Tinderbox User d6b6ca9086 update copyright notice 2012-04-12 23:45:32 +00:00
Tinderbox User 5300dfaf94 newcopyrights 2012-04-12 23:30:14 +00:00
Tinderbox User b63c70a4b6 update SRCID 2012-04-12 23:15:49 +00:00
Mark Andrews c7ae37d1aa 3307. [bug] Add missing ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS.
[RT #28956]
2012-04-13 08:39:23 +10:00
Tinderbox User c6134ebd06 update SRCID 2012-04-12 10:15:43 +00:00
Mark Andrews efd194bdb6 3307. [bug] Add missing ISC_LANG_ENDDECLS to <dns/tsec.h>. [RT #28956] 2012-04-12 19:17:29 +10:00
Tinderbox User e91cc79a8e update SRCID 2012-04-12 05:15:56 +00:00
Evan Hunt 3c2fba69ff remove release-notes.css 2012-04-11 21:24:18 -07:00
Tinderbox User 583c41f61c update SRCID 2012-04-12 00:16:02 +00:00
Tinderbox User 5771a59496 update copyright notice 2012-04-11 23:45:30 +00:00
Tinderbox User 5585f5cbee newcopyrights 2012-04-11 23:30:14 +00:00
Tinderbox User c81fef4c01 update SRCID 2012-04-11 03:15:58 +00:00
Mark Andrews f0c93bef30 3306. [bug] Improve DNS64 reverse zone performance. [RT #28563]
3305.   [func]          Add wire format lookup method to sdb. [RT #28563]
2012-04-11 12:33:08 +10:00
Tinderbox User cf41decab7 update SRCID 2012-04-11 02:15:18 +00:00
Mark Andrews 1c1d6d50ab add the ability to override --remote 2012-04-11 11:29:20 +10:00
Tinderbox User 62cf8bcc66 update SRCID 2012-04-11 01:15:44 +00:00
Mark Andrews a9d6f26285 3304. [bug] Use hmctx, not mctx when freeing rbtdb->heaps. [RT #28571] 2012-04-11 10:47:37 +10:00
Tinderbox User 8e6c50e5d5 update SRCID 2012-04-11 00:15:44 +00:00
Mark Andrews fce9dd6001 remove RELEASE-NOTES-BIND-9.8.1.* 2012-04-11 10:12:50 +10:00
Tinderbox User d6434462fa update SRCID 2012-04-10 07:17:05 +00:00
Mark Andrews 3605b68ffb use --remote=cvs.isc.org:/proj/git/prod/bind9.git 2012-04-10 16:19:56 +10:00
Tinderbox User 697f9934b0 update SRCID 2012-04-10 00:16:30 +00:00
Tinderbox User e76b6fe56b update SRCID 2012-04-09 00:17:08 +00:00
Tinderbox User 627ed06b76 update SRCID 2012-04-08 00:17:08 +00:00
Tinderbox User d496e45e56 update SRCID 2012-04-07 00:17:03 +00:00
Tinderbox User f0a8d0faa3 update SRCID 2012-04-06 19:15:43 +00:00
Evan Hunt 338e373482 delete old release notes 2012-04-06 11:39:02 -07:00
Tinderbox User 5510185491 update SRCID 2012-04-06 00:15:38 +00:00
Tinderbox User 466b1cd30e update SRCID 2012-04-05 00:16:41 +00:00
Tinderbox User 9b033ceebd update SRCID 2012-04-04 00:16:51 +00:00
Tinderbox User d5a55973e8 update SRCID 2012-04-03 00:16:35 +00:00
Tinderbox User 3db50f193b update SRCID 2012-04-02 00:17:11 +00:00
Tinderbox User 1b86b4cc84 update SRCID 2012-04-01 00:16:45 +00:00
Tinderbox User c2886a3f2d update SRCID 2012-03-31 00:17:08 +00:00
Tinderbox User 8f43656b3b update SRCID 2012-03-30 01:17:03 +00:00
Mark Andrews bf07be5e5a 3302. [bug] dns_dnssec_findmatchingkeys could fail to find
keys if the zone name contained character that
                        required special mappings. [RT #28600]
2012-03-30 12:08:02 +11:00
Tinderbox User 26bef8b7bd update SRCID 2012-03-30 00:16:42 +00:00
Tinderbox User 5bc1b71358 newcopyrights 2012-03-29 23:30:13 +00:00
Tinderbox User 29d365cbe4 update SRCID 2012-03-29 00:17:09 +00:00
Mark Andrews 7bbd9900cc 3301. [contrib] Update queryperf to build on darwin. Add -R flag
for non-recursive queries. [RT #28565]
2012-03-29 10:32:32 +11:00
Tinderbox User fd2136d87c update SRCID 2012-03-28 23:16:06 +00:00
Mark Andrews f80c9db2b5 3300. [bug] Named could die if gssapi was enabled in named.conf
but was not compiled in. [RT #28338]
2012-03-29 09:54:40 +11:00
Tinderbox User 15f30668a2 update SRCID 2012-03-28 00:16:37 +00:00
Mark Andrews 183a1f9e79 3299. [bug] Make SDB handle errors from database drivers better.
[RT #28534]
2012-03-28 10:33:20 +11:00
Tinderbox User ccca0e2a9f update SRCID 2012-03-27 00:16:07 +00:00
Tinderbox User 9ffde9646e update SRCID 2012-03-26 00:16:35 +00:00
Tinderbox User ebb53e83ae update SRCID 2012-03-25 00:16:43 +00:00
Tinderbox User 1711e905a2 update SRCID 2012-03-24 00:17:07 +00:00
Tinderbox User 5cc93001a9 update SRCID 2012-03-23 00:17:07 +00:00
Tinderbox User 10e24fedef update SRCID 2012-03-22 20:15:55 +00:00
Evan Hunt 29ae661890 prep for 9.8.2 release 2012-03-22 12:20:00 -07:00
Tinderbox User 186f4a149f update SRCID 2012-03-22 18:16:04 +00:00
Tinderbox User d9d7643022 regen PDF 2012-03-22 17:37:03 +00:00
Tinderbox User 6ff398fffc regen v9_8 2012-03-22 17:24:07 +00:00
Tinderbox User 2ae1192683 update SRCID 2012-03-22 17:15:45 +00:00
Tinderbox User 569c385003 Merge branch 'v9_8' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_8 2012-03-22 16:55:44 +00:00
Tinderbox User a85a9ca31a regen 2012-03-22 16:53:15 +00:00
Tinderbox User ee2156341c update SRCID 2012-03-22 02:16:39 +00:00
Mark Andrews b7d952e44f 3298. [bug] Named could dereference a NULL pointer in
zmgr_start_xfrin_ifquota if the zone was being removed.
                        [RT #28419]
2012-03-22 12:41:55 +11:00
Tinderbox User b9be6aab32 update SRCID 2012-03-22 00:16:57 +00:00
Tinderbox User 09b2e61860 update SRCID 2012-03-21 00:17:02 +00:00
Tinderbox User 0bbbe92ea0 update SRCID 2012-03-20 00:17:02 +00:00
Tinderbox User 8df21b57ff update SRCID 2012-03-19 00:16:05 +00:00
Tinderbox User efe583a575 update SRCID 2012-03-18 00:17:07 +00:00
Tinderbox User db04f60e12 update SRCID 2012-03-17 00:16:06 +00:00
Tinderbox User 6e71438084 update SRCID 2012-03-16 00:17:03 +00:00
Tinderbox User 5ad257d64a update SRCID 2012-03-15 01:16:47 +00:00
Mark Andrews ff0277bbcf 3297. [bug] Named could die on a malformed master file. [RT #28467] 2012-03-15 12:11:05 +11:00
Tinderbox User 9fd48658fe update SRCID 2012-03-15 00:16:08 +00:00
Tinderbox User 85f8057356 update SRCID 2012-03-14 00:16:57 +00:00
Tinderbox User 1b7e532dc1 update SRCID 2012-03-13 00:17:03 +00:00
Tinderbox User f067bd67a4 update copyright notice 2012-03-12 23:45:28 +00:00
Tinderbox User 5b50bc715d update SRCID 2012-03-12 01:16:34 +00:00
Tinderbox User db4c35f7ae regen v9_8 2012-03-12 01:13:15 +00:00
Mark Andrews f2cd16e3dc copyright cleanup 2012-03-12 11:38:38 +11:00
Tinderbox User d68a6e3ae8 update SRCID 2012-03-12 00:16:10 +00:00
Tinderbox User 03b1f683c0 update SRCID 2012-03-11 00:16:34 +00:00
Tinderbox User 1ceec0a211 update copyright notice 2012-03-10 23:45:31 +00:00
Tinderbox User f9f0dc6284 newcopyrights 2012-03-10 23:30:13 +00:00
Tinderbox User 50a28819ff update SRCID 2012-03-10 04:29:44 +00:00
Tinderbox User 30d24a0e87 update SRCID 2012-03-10 00:17:53 +00:00
Evan Hunt cbd5298859 Merged 'rt28345': new git-based merge_copyrights 2012-03-09 15:59:21 -08:00
Mark Andrews a2bb1bb4da remove lib/dns/tests/testdata/master/.gitignore 2012-03-10 10:51:21 +11:00
Tinderbox User 806001cc51 regen 2012-03-09 23:30:19 +00:00
Tinderbox User a094cdb8cd update SRCID 2012-03-09 22:17:15 +00:00
Mark Andrews 5a605b83bf empty directory 2012-03-10 08:46:53 +11:00
Tinderbox User 93553d370f update SRCID 2012-03-09 21:17:03 +00:00
Tinderbox User cc65e60aac update SRCID 2012-03-09 21:01:43 +00:00
Evan Hunt bd793d9403 s/cvsignore/gitignore/ 2012-03-08 13:44:15 -08:00
Mark Andrews 5fd272be54 3295. [bug] Adjust isc_time_secondsastimet range check to be more
portable. [RT # 26542]
2012-03-08 15:35:07 +11:00
Mark Andrews 7714188c0b update/add .gitignore 2012-03-08 15:03:25 +11:00
Mark Andrews c95802e3b8 3294. [bug] isccc/cc.c:table_fromwire failed to free alist on
error. [RT #28265]
2012-03-08 14:43:16 +11:00
Evan Hunt 306644b558 update copyrights 2012-03-07 15:38:57 -08:00
Evan Hunt a8341e173e Revert "add .gitattributes (turn on ident)"
This reverts commit 43d8ee6dc4.
2012-03-07 08:45:55 -08:00
Evan Hunt c95beeb07f set $Id$ 2012-03-07 08:19:24 -08:00
Tinderbox User b96f746bb6 regen v9_8 2012-03-07 02:17:49 +00:00
Tinderbox User 91f0609aae regen v9_8 2012-03-07 01:54:34 +00:00
Evan Hunt 588f8a8ac2 add .gitattributes (turn on ident) 2012-03-06 17:28:56 -08:00
Evan Hunt 031169a6d1 kit.sh now uses git 2012-03-04 10:48:55 -08:00
Evan Hunt 3997b6bcbf add gitignore, remove cvsignore 2012-03-03 23:33:18 -08:00
Automatic Updater 39b2e62464 update 2012-03-01 00:16:13 +00:00
Automatic Updater 9fa3290eb0 update copyright notice 2012-02-29 23:46:20 +00:00
Automatic Updater da78b87b88 newcopyrights 2012-02-29 23:30:18 +00:00
Automatic Updater 556bb266dd update 2012-02-29 22:15:59 +00:00
Evan Hunt fcf29dd783 3291. [port] Fixed a build error on systems without ENOTSUP.
[RT #28200]
2012-02-29 21:27:33 +00:00
Automatic Updater d59b368d1d update 2012-02-29 00:16:30 +00:00
Automatic Updater 36f0ee282c update copyright notice 2012-02-28 23:46:01 +00:00
Automatic Updater b6a55c9c20 newcopyrights 2012-02-28 23:30:16 +00:00
Automatic Updater 22ea70835f update 2012-02-28 22:16:12 +00:00
Mark Andrews e52460b0c0 3290. [bug] <isc/hmacsha.h> was not being installed. [RT #28169] 2012-02-28 21:36:23 +00:00
Automatic Updater 92b22a866a update 2012-02-24 04:15:51 +00:00
Mark Andrews c446b02d68 dns_zone_synckeyzone 2012-02-24 03:58:24 +00:00
Automatic Updater 4be35d5100 update 2012-02-23 21:16:07 +00:00
Evan Hunt 97c98c505a corrected change #3277 to #3278 to match 9.9 and HEAD. 2012-02-23 20:53:31 +00:00
Automatic Updater 95b1c7c247 update 2012-02-23 04:16:41 +00:00
Evan Hunt 5a6883cb47 nicer release notes URL 2012-02-23 03:53:19 +00:00
Automatic Updater c6404e16d6 update 2012-02-23 00:16:00 +00:00
Automatic Updater 755858999f update copyright notice 2012-02-22 23:46:36 +00:00
Automatic Updater 87cf974bc0 newcopyrights 2012-02-22 23:30:13 +00:00
Automatic Updater de1f8524f1 update 2012-02-22 22:15:59 +00:00
Evan Hunt b0c906596a 3288. [bug] dlz_destroy() function wasn't correctly registered
by the DLZ dlopen driver. [RT #28056]
2012-02-22 21:44:24 +00:00
Automatic Updater eb3d828bba update 2012-02-22 15:16:05 +00:00
Mark Andrews 6d4935ecf5 3287. [port] Update ans.pl to work with Net::DNS 0.68. [RT #28028] 2012-02-22 14:30:38 +00:00
Automatic Updater b4270bf81d update 2012-02-22 01:16:30 +00:00
Evan Hunt 54408e8159 add pointer to release notes (ugly URL; should be updated to a pretty one) 2012-02-22 00:55:22 +00:00
Evan Hunt 15601edb93 3286. [bug] Managed key maintenance timer could fail to start
after 'rndc reconfig'. [RT #26786]
2012-02-22 00:33:33 +00:00
Automatic Updater 1d8a0c5c34 update 2012-02-15 22:15:42 +00:00
Automatic Updater ce9a779497 update 2012-02-15 21:16:06 +00:00
Automatic Updater b0b4f4c219 update copyright notice 2012-02-15 21:16:03 +00:00
Automatic Updater 017190ccb5 newcopyrights 2012-02-15 21:13:42 +00:00
Mark Andrews dd0b839a76 3285. [bug] val-frdataset was incorrectly disassociated in
proveunsecure after calling startfinddlvsep.
                        [RT #27928]
2012-02-15 21:03:20 +00:00
Automatic Updater 615877aa03 update 2012-02-15 13:16:33 +00:00
Mark Andrews 6a6891d5ed 2x POST(locktype); 2012-02-15 12:32:50 +00:00
Automatic Updater 26a842c11f update 2012-02-15 11:16:21 +00:00
Mark Andrews bfb358e126 9.8.2rc2 2012-02-15 10:36:34 +00:00
Automatic Updater 20146ff386 update 2012-02-15 02:15:59 +00:00
Mark Andrews e1c47cd778 3284. [bug] Address race conditions with the handling of
rbtnode.deadlink. [RT #27738]
2012-02-15 02:02:55 +00:00
Mark Andrews bc337a2f44 Loop 'I:checking that large rdatasets loaded' in case the zone transfer has not yet completed 2012-02-15 01:23:33 +00:00
Automatic Updater c6e234306e update 2012-02-15 00:16:09 +00:00
Automatic Updater 18ddc00419 update copyright notice 2012-02-14 23:46:30 +00:00
Automatic Updater 090afb4adc newcopyrights 2012-02-14 23:30:13 +00:00
Automatic Updater a058fc9e5e update 2012-02-14 01:15:52 +00:00
Mark Andrews 29d3240787 extend:
3282.   [bug]           Restrict the TTL of NS RRset to no more than that
                        of the old NS RRset when replacing it.
                        [RT #27792] [RT #27884]
2012-02-14 00:25:41 +00:00
Automatic Updater d3bc6790c4 update 2012-02-14 00:16:04 +00:00
Mark Andrews 2924a2aef5 3283. [bug] Raw zones with with more than 512 records in a RRset
failed to load. [RT #27863]
2012-02-14 00:10:17 +00:00
Automatic Updater 61d489be35 update 2012-02-10 00:16:17 +00:00
Automatic Updater 38841ea996 update copyright notice 2012-02-09 23:46:25 +00:00
Automatic Updater af3db9c2ad newcopyrights 2012-02-09 23:30:23 +00:00
Automatic Updater 262ea339dd update 2012-02-09 22:16:23 +00:00
Mark Andrews 0de7627fff move keygeneration out of the timing critical section 2012-02-09 21:51:34 +00:00
Automatic Updater 7f5bbd7f61 update 2012-02-09 21:15:56 +00:00
Mark Andrews 256948c153 3282. [bug] Restrict the TTL of NS RRset to no more than that
of the old NS RRset when replacing it. [RT #27792]
2012-02-09 21:01:48 +00:00
Automatic Updater d3da87a68e update 2012-02-08 00:16:01 +00:00
Automatic Updater 7779587d64 update copyright notice 2012-02-07 23:46:41 +00:00
Automatic Updater c0f13d413e newcopyrights 2012-02-07 23:30:14 +00:00
Automatic Updater 2fe2a08d47 update 2012-02-07 20:16:58 +00:00
Mark Andrews 6f56ce1a4f 3281. [bug] SOA refresh queries could be treated as cancelled
despite succeeding over the loopback interface.
                        [RT #27782]
2012-02-07 19:52:23 +00:00
Automatic Updater a967e8fcff update 2012-02-07 01:15:50 +00:00
Mark Andrews 930151fcab 3280. [bug] Potential double free of a rdataset on out of memory
with DNS64. [RT #27762]
2012-02-07 01:14:39 +00:00
Evan Hunt 55f6591579 fixed a test error that caused autosign to fail on freebsd 2012-02-07 00:34:20 +00:00
Automatic Updater 376135850a update 2012-02-07 00:21:10 +00:00
Automatic Updater f228a6b6cf update copyright notice 2012-02-06 23:45:58 +00:00
Automatic Updater 558d31c1d8 newcopyrights 2012-02-06 23:30:19 +00:00
Mark Andrews 9116257553 verify server is answering before starting next server 2012-02-06 23:23:52 +00:00
Automatic Updater 94e94476cf update 2012-02-06 22:15:58 +00:00
Evan Hunt 2a2657427f 3277. [bug] Make sure automatic key maintenance is started
when "auto-dnssec maintain" is turned on during
			"rndc reconfig". [RT #26805]
2012-02-06 21:27:52 +00:00
Automatic Updater 77806b983c update 2012-02-06 06:16:15 +00:00
Mark Andrews 0e4f7d9939 3276. [bug] win32: ns_os_openfile failed to return NULL on
safe_open failure. [RT #27696]
2012-02-06 05:16:07 +00:00
Automatic Updater 6b8199373a update 2012-02-04 00:16:22 +00:00
Automatic Updater 91428e5e02 update copyright notice 2012-02-03 23:46:14 +00:00
Automatic Updater 717e205057 newcopyrights 2012-02-03 23:30:24 +00:00
Automatic Updater af5a77e150 update 2012-02-03 05:17:37 +00:00
Mark Andrews f13044fd40 I:waiting for nameserver to load, ok'd by Evan 2012-02-03 04:46:32 +00:00
Automatic Updater 5379f220d1 update 2012-02-03 00:15:56 +00:00
Automatic Updater 426a6a5dfb update copyright notice 2012-02-02 23:46:42 +00:00
Automatic Updater 3e171d4e11 newcopyrights 2012-02-02 23:30:14 +00:00
Automatic Updater 8ff92d3af1 update 2012-02-02 04:16:18 +00:00
Mark Andrews 502b676005 portable code, ok'd by Evan 2012-02-02 03:50:14 +00:00
Automatic Updater be5a1b78d0 update 2012-02-01 00:16:01 +00:00
Automatic Updater 33a62e8d0f update copyright notice 2012-01-31 23:46:41 +00:00
Automatic Updater 33c1b22901 newcopyrights 2012-01-31 23:30:21 +00:00
Automatic Updater 6ef91fba7b update 2012-01-31 23:15:55 +00:00
Mark Andrews cc52242055 3274. [bug] Log when a zone is not reusable. Only set loadtime
on successful loads.  [RT #27650]
2012-01-31 22:31:46 +00:00
Automatic Updater 672881aca8 update 2012-01-31 18:15:55 +00:00
Evan Hunt 9f6a818af8 missed a bit 2012-01-31 18:01:18 +00:00
Evan Hunt 6522a6b265 3273. [bug] AAAA responses could be returned in the additional
section even when filter-aaaa-on-v4 was in use.
                        [RT #27292]
2012-01-31 17:54:12 +00:00
Automatic Updater d56245e216 update 2012-01-31 04:15:55 +00:00
Mark Andrews f8e75e7503 3271. [port] darwin: mksymtbl is not always stable, loop several
times before giving up.  mksymtbl was using non
                        portable perl to covert 64 bit hex strings. [RT #27653]
2012-01-31 04:12:33 +00:00
Automatic Updater be59fb2e6b update 2012-01-31 00:16:00 +00:00
Automatic Updater 4ef0d1dc08 update copyright notice 2012-01-30 23:46:53 +00:00
Automatic Updater 9a8f1207d3 newcopyrights 2012-01-30 23:30:18 +00:00
Automatic Updater 3b47adfc61 update 2012-01-30 01:15:45 +00:00
Mark Andrews 4e40bc7bed remove doc/draft, doc/rfc 2012-01-30 00:53:19 +00:00
Mark Andrews a6570a0453 9.8.2 2012-01-30 00:24:57 +00:00
Mark Andrews e4facd74b6 Add comment describing LIBINTERFACE values per branch 2012-01-30 00:23:54 +00:00
Mark Andrews d82296db36 make 'when' isc_stdtime_t in set_key_expiry_warning 2012-01-30 00:17:23 +00:00
Automatic Updater edbafc4b7e update 2012-01-30 00:15:50 +00:00
Automatic Updater de5b54ca7f newcopyrights 2012-01-29 23:30:14 +00:00
Automatic Updater fe53b3d903 update 2012-01-29 06:15:42 +00:00
Automatic Updater 9e07eac628 regen 2012-01-29 06:08:46 +00:00
Evan Hunt 45f5a577e1 prep 9.8.2 2012-01-29 06:08:11 +00:00
Automatic Updater c4712cbeb1 update 2012-01-28 00:15:59 +00:00
Automatic Updater 858d47a80c update copyright notice 2012-01-27 23:46:31 +00:00
Automatic Updater d0a018ea02 newcopyrights 2012-01-27 23:30:32 +00:00
Automatic Updater bcfb97d433 update 2012-01-27 03:16:41 +00:00
Mark Andrews a6a22245a3 address merge error 2012-01-27 02:34:02 +00:00
Automatic Updater db3762f2c5 update 2012-01-27 02:15:50 +00:00
Mark Andrews e2f640d3ec back port dns_test_loaddb from 9.9.0 2012-01-27 02:13:06 +00:00
Mark Andrews 05cf79065f 3268. [bug] Convert RRSIG expiry times to 64 timestamps to work
out the earliest expiry time. [RT #23311]
2012-01-27 01:47:30 +00:00
Mark Andrews 713eea548b 3267. [bug] Memory allocation failures could be mis-reported as
unexpected error.  New ISC_R_UNSET result code.
                        [RT #27336]
2012-01-27 01:26:08 +00:00
Automatic Updater ed1a2ef445 update 2012-01-27 01:16:04 +00:00
Mark Andrews 553cfe55d5 3266. [bug] The maximum number of NSEC3 iterations for a
DNSKEY RRset was not being properly computed.
                        [RT #26543]
2012-01-27 00:59:07 +00:00
Automatic Updater b6ab3f7df5 update 2012-01-24 00:15:46 +00:00
Automatic Updater 76f15cf37c update copyright notice 2012-01-23 23:46:27 +00:00
Automatic Updater df6025ea77 newcopyrights 2012-01-23 23:30:14 +00:00
Automatic Updater b803a1d1f5 update 2012-01-23 12:16:15 +00:00
Mark Andrews b040640f44 test for Net::DNS 2012-01-23 11:56:39 +00:00
Automatic Updater 739c431b34 update 2012-01-21 01:15:46 +00:00
Automatic Updater 91fe924782 sync 2012-01-21 01:10:54 +00:00
Automatic Updater e516700f87 update 2012-01-20 02:15:53 +00:00
Mark Andrews 2c59318ed7 remove more bashisms 2012-01-20 01:36:44 +00:00
Automatic Updater b62d39e6f1 update 2012-01-20 00:16:01 +00:00
Automatic Updater 7ac370ea23 newcopyrights 2012-01-19 23:30:12 +00:00
Automatic Updater 57c64e1223 update 2012-01-19 09:16:37 +00:00
Mark Andrews 1780ea530f don't use bash syntax 2012-01-19 08:43:33 +00:00
Automatic Updater af0b8a44fa update 2012-01-18 00:15:59 +00:00
Automatic Updater 1b3ffd570c newcopyrights 2012-01-17 23:30:12 +00:00
Automatic Updater b074f2f95d update 2012-01-17 02:15:51 +00:00
Automatic Updater 8985abc0f9 regen v9_8 2012-01-17 01:53:29 +00:00
Automatic Updater 34554238c0 update 2012-01-17 00:15:52 +00:00
Automatic Updater b615adb508 newcopyrights 2012-01-16 23:30:14 +00:00
Automatic Updater d43a500c2a update 2012-01-16 23:15:59 +00:00
Evan Hunt 9296e22640 add section explaining how to build with SoftHSM 2012-01-16 22:50:25 +00:00
Automatic Updater 221797a41d update 2012-01-16 19:15:53 +00:00
Evan Hunt 3f1612de5b updated pkcs11 documentation 2012-01-16 19:08:43 +00:00
Evan Hunt dd71df4c23 - add openssl-1.0.0f-patch
- update openssl-0.9.8s-patch to francis's version
2012-01-16 19:00:30 +00:00
Automatic Updater 230d8ad9e9 update 2012-01-14 02:16:00 +00:00
Automatic Updater c006f8b7cc sync 2012-01-14 01:40:03 +00:00
Automatic Updater 04af605f28 update 2012-01-13 00:15:54 +00:00
Automatic Updater fbc6d623ca update copyright notice 2012-01-12 23:46:43 +00:00
Automatic Updater 65068adc40 newcopyrights 2012-01-12 23:30:14 +00:00
Automatic Updater a7580e544c update 2012-01-12 02:15:52 +00:00
Automatic Updater d046e52e37 regen v9_8 2012-01-12 01:53:32 +00:00
Automatic Updater 5f56a6f4d9 update 2012-01-12 00:15:53 +00:00
Evan Hunt 08a069dec4 update doc to reflect rebased pkcs11 patch 2012-01-11 23:48:22 +00:00
Evan Hunt 190416b94a rebase pkcs11 patch to openssl 0.9.8s 2012-01-11 23:45:36 +00:00
Automatic Updater aecf9ab146 update 2012-01-11 21:15:51 +00:00
Curtis Blackburn fab590d3f3 added myself to the list of authors. 2012-01-11 20:19:40 +00:00
Automatic Updater 6bed913285 update 2012-01-11 00:15:51 +00:00
Automatic Updater 72e11c3ce5 update copyright notice 2012-01-10 23:46:34 +00:00
Automatic Updater 090fa4b696 newcopyrights 2012-01-10 23:30:11 +00:00
Automatic Updater 1e999aa541 update 2012-01-10 01:16:04 +00:00
Scott Mann 369ebc851b added scott mann to bind authors 2012-01-10 00:26:11 +00:00
Automatic Updater b460a645b3 update 2012-01-08 00:15:48 +00:00
Automatic Updater 74a0cde85f update copyright notice 2012-01-07 23:46:29 +00:00
Automatic Updater 9fd10683c5 newcopyrights 2012-01-07 23:30:15 +00:00
Automatic Updater 1828086c0d update 2012-01-07 06:15:53 +00:00
Mark Andrews 0d1be30057 non isc copyright 2012-01-07 05:56:07 +00:00
Automatic Updater f9d46927fe update 2012-01-07 01:15:54 +00:00
Evan Hunt fb55b8f34d 3262. [bug] Signed responses were handled incorrectly by RPZ.
[RT #27316]
2012-01-07 00:19:29 +00:00
Automatic Updater 1d8cff9f28 update 2012-01-05 20:16:24 +00:00
Evan Hunt 14a3d10777 fix incomplete CHANGES note #3170 2012-01-05 19:29:10 +00:00
Automatic Updater 7b75af3ab4 update 2012-01-05 05:15:50 +00:00
Mark Andrews 4643c8c398 rrset-order cyclic fix cleanupt 2012-01-05 04:59:20 +00:00
Automatic Updater 5438ecc784 update 2012-01-05 00:15:54 +00:00
Automatic Updater 8ead053cb0 update copyright notice 2012-01-04 23:46:19 +00:00
Automatic Updater 31a6af7b8c newcopyrights 2012-01-04 23:30:16 +00:00
Automatic Updater 01c0424a85 update 2012-01-04 04:16:01 +00:00
Mark Andrews 318dc8fb88 non isc copyright 2012-01-04 04:04:13 +00:00
Automatic Updater a5cea6308e update 2012-01-04 03:16:38 +00:00
Evan Hunt c0990ffd88 3260. [bug] "rrset-order cyclic" could appear not to rotate
for some query patterns.  [RT #27170/27185]
2012-01-04 03:07:29 +00:00
Automatic Updater 7890d34413 update 2011-12-24 00:15:55 +00:00
Automatic Updater 1f94c807b2 update copyright notice 2011-12-23 23:46:46 +00:00
Automatic Updater 02e4a6b752 update 2011-12-23 07:25:04 +00:00
Automatic Updater fc07562bf6 regenerate 2011-12-23 07:12:25 +00:00
Evan Hunt 772e8e57db update for 9.8.2rc1 2011-12-23 07:08:08 +00:00
Automatic Updater 76d6f2352a update 2011-12-23 03:16:39 +00:00
Evan Hunt 307f868728 prep for rc1 2011-12-23 02:30:15 +00:00
Automatic Updater 3b2c5228ec update 2011-12-23 02:16:01 +00:00
Automatic Updater 6c03cc331b update 2011-12-23 01:40:20 +00:00
Automatic Updater a8b2fb3a5a update 2011-12-23 01:16:00 +00:00
Mark Andrews 73a8651e91 --enable-fixed-rrset uses reversed order for cyclic 2011-12-23 01:05:22 +00:00
Mark Andrews 26a91b7001 3260. [bug] "rrset-order cyclic" could appears to not rotate
for some query patterns.  [RT #27170]
2011-12-23 00:40:02 +00:00
Automatic Updater 586cdd9a85 update 2011-12-23 00:15:52 +00:00
Mark Andrews 2b4ca97504 3260. [bug] "rrset-order cyclic" could appear to not rotate
for some query patterns.  [RT #27170]
2011-12-23 00:00:48 +00:00
Automatic Updater 3662af79dc update copyright notice 2011-12-22 23:45:54 +00:00
Automatic Updater d02025bdce newcopyrights 2011-12-22 23:30:12 +00:00
Automatic Updater 1915e0199c update 2011-12-22 18:15:50 +00:00
Evan Hunt 536581e749 3259. [bug] named-compilezone: Suppress "dump zone to <file>"
message when writing to stdout. [RT #27109]
2011-12-22 17:28:45 +00:00
Automatic Updater f123f4af69 update 2011-12-22 13:16:36 +00:00
Mark Andrews 78badc40b3 3258. [test] Add "forcing full sign with unreadable keys" test.
[RT #27153]
2011-12-22 12:24:30 +00:00
Automatic Updater 645765acab update 2011-12-22 12:16:00 +00:00
Mark Andrews 9e3c916d15 forcing full sign with unreadable keys 2011-12-22 12:07:42 +00:00
Automatic Updater 569fbedec5 update 2011-12-22 09:16:37 +00:00
Mark Andrews 4afb83574e 3257. [bug] Do not generate a error message when calling fsync()
in a pipe or socket. [RT #27109]
2011-12-22 08:50:45 +00:00
Mark Andrews 0700fb6e22 3256. [bug] Disable empty zones for lwresd -C. [RT #27139] 2011-12-22 08:25:16 +00:00
Automatic Updater 9f3c8165e8 update 2011-12-22 08:16:33 +00:00
Mark Andrews da549bfcb8 3254. [bug] Set isc_socket_ipv6only() on the IPv6 control channels.
[RT #22249]
2011-12-22 08:10:09 +00:00
Mark Andrews c034001844 3253. [bug] Return DNS_R_SYNTAX when the input to a text field is
too long. [RT #26956]
2011-12-22 07:43:51 +00:00
Mark Andrews cf765eb85a 3251. [bug] Enforce a upper bound (65535 bytes) on the amount of
memory dns_sdlz_putrr() can allocate per record to
                        prevent run away memory consumption on ISC_R_NOSPACE.
                        [RT #26956]
2011-12-22 07:16:32 +00:00
Automatic Updater 4774e70218 update 2011-12-22 03:16:36 +00:00
Mark Andrews 7d714651ec +/- 500ms was too small a fudge factor (-582ms seen in testing), raise to +/- 1000ms 2011-12-22 02:21:04 +00:00
Automatic Updater e2563998ea update 2011-12-21 00:16:32 +00:00
Automatic Updater 8ff8a88cce update copyright notice 2011-12-20 23:46:02 +00:00
Automatic Updater 291808833d newcopyrights 2011-12-20 23:30:14 +00:00
Automatic Updater f983ccd321 update 2011-12-20 06:16:32 +00:00
Mark Andrews ba0c8941cd configure strips out VPATH. Use ${srcdir} instead so 'make depend' works
in lib/export.
2011-12-20 05:25:58 +00:00
Automatic Updater 4359a439f4 update 2011-12-20 05:16:40 +00:00
Mark Andrews 4bbdf662e2 @srdir@ -> @srcdir@ 2011-12-20 05:05:52 +00:00
Automatic Updater b13f7d685a update 2011-12-20 01:16:18 +00:00
Mark Andrews 1928377f48 update slabbed data layout description 2011-12-20 00:55:45 +00:00
Mark Andrews f65d2633ed regen 2011-12-20 00:49:06 +00:00
Mark Andrews 9d044a754c 3250. [func] 'configure --enable-developer'; turn on various
configure options, normally off by default, that
                        we want developers to build and test with. [RT #27103]
2011-12-20 00:40:27 +00:00
Mark Andrews 7495bbf062 add missing s 2011-12-20 00:29:27 +00:00
Automatic Updater bb0e38d5ba update 2011-12-20 00:16:30 +00:00
Mark Andrews d239e3b205 3249. [bug] Update log message when saving slave zones files for
analysis after load failures. [RT #27087]

3248.   [bug]           Configure options --enable-fixed-rrset and
                        --enable-exportlib were incompatible with each
                        other. [RT #27087]

3247.   [bug]           'raw' format zones failed to preserve load order
                        breaking 'fixed' sort order. [RT #27087]
2011-12-20 00:12:10 +00:00
Automatic Updater 7e842acf9e update 2011-12-19 23:16:27 +00:00
Mark Andrews 9e18b682d3 set status to 1 on R:FAIL 2011-12-19 23:11:14 +00:00
Automatic Updater 094867a9d6 update 2011-12-17 00:16:16 +00:00
Automatic Updater f6c879146e newcopyrights 2011-12-16 23:30:46 +00:00
Automatic Updater 636623499c update 2011-12-16 00:15:56 +00:00
Mark Andrews 1cf37feef6 regen 2011-12-16 00:11:18 +00:00
Mark Andrews 636d303de3 3243. [port] netbsd,bsdi: the thread defaults were not being
properly set.
2011-12-16 00:05:46 +00:00
Automatic Updater e3c793a00e update 2011-12-12 12:16:11 +00:00
Mark Andrews 80e5a5e71a join line for old awk 2011-12-12 12:08:59 +00:00
Automatic Updater 3a6e50cdba update 2011-12-12 07:16:38 +00:00
Mark Andrews e91eef5e4e chech that the final time is within 10 seconds but no greater than the expected interval 2011-12-12 06:52:10 +00:00
Automatic Updater a4b709a539 update 2011-12-07 23:16:01 +00:00
Mark Andrews c395f7e0ff 3241. [bug] Address race conditions in the resolver code.
[RT #26889]
2011-12-07 23:10:20 +00:00
Mark Andrews b1aba56c7a 3240. [bug] DNSKEY state change events could be missed. [RT #26874] 2011-12-07 22:49:24 +00:00
Mark Andrews 338ad50ce0 3239. [bug] dns_dnssec_findmatchingkeys needs to use a consistent
timestamp. [RT #26883]
2011-12-07 22:38:21 +00:00
Mark Andrews 5c001beeec 3238. [bug] keyrdata was not being reinitialize in
lib/dns/rbtdb.c:iszonesecure. [RT#26913]
2011-12-07 22:22:47 +00:00
Automatic Updater e4ac42c633 update 2011-12-07 18:15:44 +00:00
Evan Hunt 558790b3cf 3237. [bug] dig -6 didn't work with +trace. [RT #26906] 2011-12-07 17:23:55 +00:00
Automatic Updater c436667a25 update 2011-12-05 18:16:03 +00:00
Evan Hunt 90d46d8ed1 missed a line 2011-12-05 17:27:42 +00:00
Evan Hunt 3a7225fe4e missed a file 2011-12-05 17:25:04 +00:00
Automatic Updater bbd2faa253 update 2011-12-05 17:16:21 +00:00
Evan Hunt 731e98287f Back out change #3182 and respin 2011-12-05 16:58:08 +00:00
Automatic Updater c038f3eeb0 update 2011-12-03 00:16:10 +00:00
Automatic Updater 0ea63875e4 update copyright notice 2011-12-02 23:46:17 +00:00
Automatic Updater b1fda01d3f newcopyrights 2011-12-02 23:30:15 +00:00
Automatic Updater bdf9d2a628 update 2011-12-02 08:16:32 +00:00
Mark Andrews 2b55fa43b4 errno2result now reports caller when unable to convert errno 2011-12-02 07:16:01 +00:00
Automatic Updater 03e10bca7d update 2011-12-02 07:15:58 +00:00
Mark Andrews 7239fdcf8a 3234. [bug] 'make depend' produced invalid makefiles. [RT #26830] 2011-12-02 07:05:10 +00:00
Automatic Updater f74c798c4e update 2011-12-02 00:16:03 +00:00
Automatic Updater ee5e88df4d update copyright notice 2011-12-01 23:46:29 +00:00
Automatic Updater 4b6ea2815d newcopyrights 2011-12-01 23:30:15 +00:00
Automatic Updater 202e60879d update 2011-12-01 02:16:06 +00:00
Mark Andrews 1af8922431 silence Division by zero warning 2011-12-01 01:33:00 +00:00
Automatic Updater f187108a09 update 2011-12-01 01:16:06 +00:00
Mark Andrews fb36d70c76 3231. [bug] named could fail to send a uncompressable zone.
[RT #26796]

3230.   [bug]           'dig axfr' failed to properly handle a multi-message
                        axfr with a serial of 0. [RT #26796]
2011-12-01 01:00:51 +00:00
Scott Mann d6dbde8c3b Fix problem identified by CLANG: local var assign to struct. 2011-12-01 00:18:06 +00:00
Automatic Updater 26fdd6c876 update 2011-12-01 00:15:55 +00:00
Automatic Updater b61aa383d6 update copyright notice 2011-11-30 23:45:55 +00:00
Automatic Updater b862f0c49f newcopyrights 2011-11-30 23:30:13 +00:00
Automatic Updater f7a1940990 update 2011-11-30 06:15:42 +00:00
Mark Andrews b5ce27e7d3 #include <isc/print.h> 2011-11-30 06:10:53 +00:00
Evan Hunt 1194437b22 add print.h 2011-11-30 06:10:37 +00:00
Mark Andrews a0b61bdf26 move declaration to start of block 2011-11-30 06:07:33 +00:00
Automatic Updater 5bb253aa31 update 2011-11-30 05:16:37 +00:00
Evan Hunt 9f96d80a8d 3228. [tuning] Dynamically grow symbol table to improve zone
loading performance. [RT #26523]
2011-11-30 04:26:48 +00:00
Automatic Updater fcbd7c39c7 update 2011-11-30 02:16:14 +00:00
Mark Andrews 6b2664b30f 3227. [bug] Interim fix to make WKS's use of getprotobyname()
and getservbyname() self thread safe. [RT #26232]
2011-11-30 01:21:40 +00:00
Automatic Updater 3b9c1226a1 update 2011-11-30 01:15:51 +00:00
Mark Andrews 64a4597ad4 3226. [bug] Address minor resource leakages. [RT #26624] 2011-11-30 00:51:38 +00:00
Automatic Updater 0a1d81b0b2 update 2011-11-27 12:15:57 +00:00
Mark Andrews 7ea0d905b7 make grep more precise 2011-11-27 12:08:28 +00:00
Automatic Updater 23ec25beb1 update 2011-11-24 02:15:50 +00:00
Evan Hunt a84c66e2cd respin 9.8.2b1 2011-11-24 02:12:22 +00:00
Automatic Updater 20c7072b84 update 2011-11-23 23:15:51 +00:00
Evan Hunt f13b21bda2 3221. [bug] Fixed a potential coredump on shutdown due to
referencing fetch context after it's been freed.
			[RT #26720]
2011-11-23 22:53:13 +00:00
Automatic Updater 79ad7e8138 update 2011-11-22 03:16:29 +00:00
Mark Andrews 4165c52300 9.8.2 2011-11-22 02:45:51 +00:00
Mark Andrews b60cbfe10b 9.8.2b1 re-tag 2011-11-22 02:39:28 +00:00
Automatic Updater a64034107b update 2011-11-18 20:16:10 +00:00
Evan Hunt c43baa7f73 add regression test for rbtdb.c version-mismatch issue 2011-11-18 19:31:55 +00:00
Evan Hunt 521101bc07 3220. [bug] Change #3186 was incomplete; dns_db_rpz_findips()
could fail to set the database version correctly,
                        causing an assertion failure. [RT #26180]
2011-11-18 19:31:24 +00:00
Automatic Updater 38dd968919 update 2011-11-16 10:15:51 +00:00
Mark Andrews b2adef3fb0 3218. [security] Cache lookup could return RRSIG data associated with
nonexistent records, leading to an assertion
                        failure. [RT #26590]
2011-11-16 09:56:56 +00:00
Automatic Updater 2fc9a6bf16 update 2011-11-16 01:16:11 +00:00
Automatic Updater b408f87c03 regen 2011-11-16 00:43:36 +00:00
Evan Hunt e7714a6314 3217. [cleanup] Fix build problem with --disable-static. [RT #26476] 2011-11-16 00:41:07 +00:00
Automatic Updater 5e21df8b94 update 2011-11-15 22:15:52 +00:00
Evan Hunt e38598d199 3216. [bug] resolver.c:validated() was not thread-safe. [RT #26478] 2011-11-15 21:45:30 +00:00
Evan Hunt 5d7e918508 file symtab_test.c was added on branch v9_8 on 2011-11-30 04:26:48 +0000 2011-11-15 21:03:10 +00:00
Automatic Updater a3c76a19b8 update 2011-11-10 03:16:28 +00:00
Automatic Updater 4c64fb2356 regenerate v9_8 2011-11-10 02:21:23 +00:00
Evan Hunt a584852ed1 update api for 9.8.2b1 2011-11-10 02:19:24 +00:00
Automatic Updater c2e8864c06 update 2011-11-10 02:16:10 +00:00
Automatic Updater 35de0eb4ea regen v9_8 2011-11-10 01:53:38 +00:00
Automatic Updater 4fadab4df5 update 2011-11-10 00:16:04 +00:00
Automatic Updater 098e2b5849 update for 9.8.2b1 2011-11-09 23:46:16 +00:00
Evan Hunt 55e0590549 Prepare 9.8.1b2 release. 2011-11-09 23:38:31 +00:00
Automatic Updater 4f83706509 update 2011-11-09 06:16:22 +00:00
Evan Hunt 16bee8e498 3213. [doc] Clarify ixfr-from-differences behavior. [RT #25188] 2011-11-09 05:53:35 +00:00
Automatic Updater dde375b4b1 update 2011-11-08 21:15:58 +00:00
Mark Andrews 212cc3ac5e 3212. [bug] rbtdb.c: failed to remove a node from the deadnodes
list prior to adding a reference to it leading a
2011-11-08 21:03:21 +00:00
Automatic Updater 4a511e2c93 update 2011-11-07 02:16:01 +00:00
Automatic Updater c9c9e24174 regen v9_8 2011-11-07 01:53:28 +00:00
Automatic Updater 969121f1ab update 2011-11-07 01:15:55 +00:00
Mark Andrews 65f3e99e21 3209. [func] Add "dnssec-lookaside 'no'". [RT #24858] 2011-11-07 00:31:48 +00:00
Automatic Updater ea82908dce update 2011-11-07 00:15:57 +00:00
Automatic Updater 40bad6f18a update copyright notice 2011-11-06 23:46:15 +00:00
Automatic Updater 41aa67171f newcopyrights 2011-11-06 23:30:16 +00:00
Mark Andrews d865252216 3208. [bug] 'dig -y' handle unknown tsig alorithm better.
[RT #25522]
2011-11-06 23:23:33 +00:00
Automatic Updater 07781a942a update 2011-11-05 06:16:06 +00:00
Automatic Updater 6be1bc14b9 regen 2011-11-05 05:18:14 +00:00
Automatic Updater 6842958d96 update 2011-11-05 05:16:19 +00:00
Evan Hunt 68eb6ba309 3207. [contrib] Fixed build error in Berkeley DB DLZ module. [RT #26444] 2011-11-05 05:14:49 +00:00
Automatic Updater cc2f488ec6 update 2011-11-05 01:15:49 +00:00
Evan Hunt a41f5d10d1 3206. [cleanup] Add ISC information to log at start time. [RT #25484] 2011-11-05 00:45:52 +00:00
Automatic Updater 83d74f1d44 update 2011-11-04 23:15:53 +00:00
Evan Hunt d8e930d231 added documentation of change categories 2011-11-04 22:27:55 +00:00
Automatic Updater ede8a4a567 update 2011-11-04 17:15:50 +00:00
Evan Hunt a90bf1c8e5 fixed RT reference for change #3174 2011-11-04 17:14:26 +00:00
Automatic Updater d11f516284 update 2011-11-04 09:16:11 +00:00
Mark Andrews f74cddb150 delay activation 10 seconds to allow slower systems to succeed 2011-11-04 09:05:36 +00:00
Automatic Updater b94609f067 update 2011-11-04 08:16:25 +00:00
Mark Andrews e8e6c696ce sync with HEAD 2011-11-04 07:36:59 +00:00
Automatic Updater 5f466a3599 update 2011-11-04 06:15:57 +00:00
Evan Hunt 621aab8e6b typo 2011-11-04 05:54:53 +00:00
Evan Hunt b2d904b4bc 3204. [bug] When a master server that has been marked as
unreachable but sends a NOTIFY, mark it reachable
			again. [RT #25960]
2011-11-04 05:51:39 +00:00
Evan Hunt 7fab4b9a18 3203. [bug] Increase log level to 'info' for validation failures
from expired or not-yet-valid RRSIGs. [RT #21796]
2011-11-04 05:35:59 +00:00
Automatic Updater d2eef05e62 update 2011-11-04 02:16:28 +00:00
Automatic Updater bfb8448b69 regen v9_8 2011-11-04 01:51:15 +00:00
Automatic Updater 583f2c32cb update 2011-11-04 00:16:25 +00:00
Automatic Updater 78021dca4a update copyright notice 2011-11-03 23:45:58 +00:00
Automatic Updater a2a64ae59c newcopyrights 2011-11-03 23:30:15 +00:00
Automatic Updater 47c8644211 update 2011-11-03 22:16:17 +00:00
Evan Hunt 74032df72e 3200. [doc] Some rndc functions were undocumented or were
missing from 'rndc -h' output. [RT #25555]
2011-11-03 22:06:31 +00:00
Automatic Updater e0abeb514b update 2011-11-03 21:15:57 +00:00
Evan Hunt dd9d919c50 3198. [doc] Clarified that dnssec-settime can alter keyfile
permissions. [RT #24866]
2011-11-03 20:21:30 +00:00
Automatic Updater ffd302d69d update 2011-11-03 05:16:27 +00:00
Evan Hunt 1b7149653a remove 1/8 and 2/8 from bogusnets example 2011-11-03 04:54:25 +00:00
Evan Hunt c3d063e244 3196. [bug] nsupdate: return nonzero exit code when target zone
doesn't exist. [RT #25783]
2011-11-03 04:30:09 +00:00
Automatic Updater 74c0499469 update 2011-11-03 04:15:52 +00:00
Evan Hunt 41e328dabb 3195. [cleanup] Silence "file not found" warnings when loading
managed-keys zone. [RT #26340]
2011-11-03 03:26:50 +00:00
Automatic Updater 5eeaa0ba0c update 2011-11-03 03:16:31 +00:00
Evan Hunt b48a3ef42a 3194. [doc] Updated RFC references in the 'empty-zones-enable'
documentation. [RT #25203]
2011-11-03 03:09:17 +00:00
Evan Hunt 318246dc18 3193. [cleanup] Changed MAXZONEKEYS to DNS_MAXZONEKEYS, moved to
dnssec.h. [RT #26415]
2011-11-03 02:55:35 +00:00
Automatic Updater e4d3d23c75 update 2011-11-03 00:15:49 +00:00
Automatic Updater 09f3c90ec4 update copyright notice 2011-11-02 23:45:56 +00:00
Mark Andrews 3a4082ef2c 3192. [bug] A query structure could be used after being freed.
[RT #22208]
2011-11-02 23:44:53 +00:00
Automatic Updater 1ae16bc46b newcopyrights 2011-11-02 23:30:23 +00:00
Automatic Updater 0f936b7337 update 2011-11-02 20:16:07 +00:00
Evan Hunt bc59f52ba2 edited a comment for clarity. 2011-11-02 19:40:52 +00:00
Automatic Updater 201126769a update 2011-11-02 15:16:24 +00:00
Mark Andrews 5459c36b04 improve error diagnostics 2011-11-02 14:25:28 +00:00
Automatic Updater 927e124a16 update 2011-11-02 09:16:24 +00:00
Mark Andrews c1894e12b1 loop waiting for stub zone to transfer 2011-11-02 08:20:00 +00:00
Automatic Updater 45d5c66076 update 2011-11-02 06:15:53 +00:00
Evan Hunt 3c29a5ccb8 fix usage message 2011-11-02 06:00:27 +00:00
Automatic Updater 050d6e7630 update 2011-11-02 03:16:27 +00:00
Evan Hunt 6792d5f681 grammar fix 2011-11-02 02:22:04 +00:00
Automatic Updater 3b5ffe7d54 update 2011-11-02 01:15:47 +00:00
Mark Andrews ddad6271f5 3191. [bug] Print NULL records using unknown format. [RT #26392] 2011-11-02 01:10:14 +00:00
Automatic Updater 8879f4e993 update 2011-11-02 00:15:52 +00:00
Automatic Updater 377fb6580d update copyright notice 2011-11-01 23:46:34 +00:00
Automatic Updater c5ee50f72c newcopyrights 2011-11-01 23:30:17 +00:00
Automatic Updater 4b38c2d605 update 2011-11-01 22:15:59 +00:00
Mark Andrews 528e1319fd 3190. [bug] Underflow in error handling in isc_mutexblock_init.
[RT #26397]
2011-11-01 22:02:52 +00:00
Automatic Updater fcfa872a22 update 2011-11-01 19:15:54 +00:00
Evan Hunt 21a0bffb48 3189. [test] Added a summary report after system tests. [RT #25517] 2011-11-01 18:35:28 +00:00
Automatic Updater b0b2375cdd update 2011-11-01 04:15:45 +00:00
Evan Hunt 01e40583e4 3188. [bug] zone.c:zone_refreshkeys() could fail to detach
references correctly when errors occurred, causing
			a hang on shutdown. [RT #26372]
2011-11-01 04:00:06 +00:00
Automatic Updater dc61ce3b0d update 2011-11-01 00:15:55 +00:00
Mark Andrews aff3b3ec69 update 2011-10-31 23:54:06 +00:00
Automatic Updater dcc064e28a update 2011-10-31 03:16:14 +00:00
Mark Andrews 2136c92599 3186. [bug] Version/db mis-match in rpz code. [RT #26180] 2011-10-31 02:55:07 +00:00
Automatic Updater 58ca106b15 update 2011-10-31 00:16:19 +00:00
Mark Andrews 721a486d67 3187. [port] win32: support for Visual Studio 2008. [RT #26356] 2011-10-30 23:41:48 +00:00
Automatic Updater 157d75c637 update 2011-10-29 23:16:08 +00:00
Mark Andrews fbafae20b1 remove unused parameter from next_origin 2011-10-29 22:29:44 +00:00
Automatic Updater 644c787333 update 2011-10-28 12:15:48 +00:00
Automatic Updater 33fa8f844c update copyright notice 2011-10-28 12:07:36 +00:00
Automatic Updater 6fbfa8f03c newcopyrights 2011-10-28 12:06:35 +00:00
Automatic Updater 6379b46291 update 2011-10-28 05:16:23 +00:00
Mark Andrews 6e2be62591 style, remove redudant assignment 2011-10-28 04:59:34 +00:00
Automatic Updater 47d240bd69 update 2011-10-28 04:15:47 +00:00
Automatic Updater b28b8cbd93 update 2011-10-28 03:16:19 +00:00
Mark Andrews 06dc0a3eea exit 255 for SKIPPED 2011-10-28 03:15:40 +00:00
Scott Mann 8ec070b361 add test for recent Net::DNS module. 2011-10-28 02:21:35 +00:00
Automatic Updater 77a2231f2c update 2011-10-28 02:16:12 +00:00
Evan Hunt 70678e2426 add ISC_R_NOPERM to dlz_minimal.h 2011-10-28 01:29:50 +00:00
Automatic Updater 616e9a8409 update 2011-10-28 00:16:12 +00:00
Automatic Updater 3f5b58b3fa update copyright notice 2011-10-27 23:45:57 +00:00
Automatic Updater f577dbeee6 newcopyrights 2011-10-27 23:30:12 +00:00
Automatic Updater 69c2d88bcc update 2011-10-27 22:26:09 +00:00
Mark Andrews 179f012c33 move declarations to start of block 2011-10-27 22:23:22 +00:00
Automatic Updater 2edbe65ff3 update 2011-10-27 21:16:20 +00:00
Scott Mann a48afa63d7 fix edns0 retry issues (rt #23393/24964). 2011-10-27 20:26:12 +00:00
Automatic Updater 1d64a3f5f3 update 2011-10-26 06:16:29 +00:00
Mark Andrews 707dde973a spin waiting for zone transfer to complete 2011-10-26 05:34:21 +00:00
Automatic Updater c1fce1c0be update 2011-10-26 00:15:51 +00:00
Automatic Updater 081606a71c update copyright notice 2011-10-25 23:46:32 +00:00
Automatic Updater d9b10df2b1 newcopyrights 2011-10-25 23:30:12 +00:00
Automatic Updater 54ab63c9c2 update 2011-10-25 22:16:03 +00:00
Mark Andrews cae96a4a4f 3179. [port] kfreebsd: build issues. [RT #26273] 2011-10-25 21:24:11 +00:00
Automatic Updater 297ec33da1 update 2011-10-25 04:16:13 +00:00
Mark Andrews b96a621dac improve failure reports 2011-10-25 04:04:56 +00:00
Mark Andrews adea5e2958 Correctly invalidate the sha2/hmac2 contexts. This was already done in practice, but this makes it zero out the whole structure rather than just the first 4 bytes + the key. sha2.c did not always zero out the full sha2 state in invalidate, but will now. 2011-10-25 03:15:49 +00:00
Automatic Updater 5a98f6ceed update 2011-10-21 04:15:48 +00:00
Mark Andrews 96461384d5 remove redundant assignment and variable 2011-10-21 03:56:32 +00:00
Automatic Updater 5efd8f2489 update 2011-10-21 02:15:58 +00:00
Automatic Updater 06fa5532f8 regen v9_8 2011-10-21 01:52:54 +00:00
Automatic Updater 39d4ead838 update 2011-10-21 00:15:56 +00:00
Automatic Updater 701dafd1ea update copyright notice 2011-10-20 23:46:28 +00:00
Automatic Updater 43c8f51cf5 newcopyrights 2011-10-20 23:30:12 +00:00
Automatic Updater 67ec433146 update 2011-10-20 22:15:47 +00:00
Mark Andrews f4105ef7b8 3175. [bug] Fix how DNSSEC positive wildcard responses from a
NSEC3 signed zone are validated.  Stop sending a
                        unnecessary NSEC3 record when generating such
                        responses. [RT #26200]
2011-10-20 21:44:36 +00:00
Mark Andrews cb05b7128f 3174. [bug] Always compute to revoked key tag from scratch.
[RT #24711]
2011-10-20 21:23:51 +00:00
Automatic Updater 08c5745dde update 2011-10-18 00:16:12 +00:00
Automatic Updater fccaeca218 update copyright notice 2011-10-17 23:46:09 +00:00
Automatic Updater 94375cf4b3 newcopyrights 2011-10-17 23:30:15 +00:00
Automatic Updater 09f18e37f8 update 2011-10-17 06:16:32 +00:00
Mark Andrews 19fccfd89e sleep 1 # allow lwresd to finish starting. 2011-10-17 05:43:18 +00:00
Automatic Updater 4cb9bccddc update 2011-10-17 02:15:44 +00:00
Mark Andrews e791300a86 sync notify system test with HEAD 2011-10-17 02:00:17 +00:00
Automatic Updater 8558a508aa regen v9_8 2011-10-17 01:52:36 +00:00
Automatic Updater aedd03f815 update 2011-10-16 07:16:21 +00:00
Automatic Updater cbfb6cac9f add missing </listitem>s 2011-10-16 06:27:16 +00:00
Automatic Updater a0730b91c1 update 2011-10-16 00:15:58 +00:00
Automatic Updater c43b3107b6 update copyright notice 2011-10-15 23:46:14 +00:00
Automatic Updater 5b49654c31 newcopyrights 2011-10-15 23:30:09 +00:00
Automatic Updater 71007c6f51 update 2011-10-15 12:16:06 +00:00
Mark Andrews 15df74d55d update 2011-10-15 11:47:52 +00:00
Automatic Updater 5eb4f47623 update 2011-10-15 05:16:04 +00:00
Mark Andrews 05373aca9d 3173. [port] Correctly validate root DS responses. [RT #25726] 2011-10-15 05:10:04 +00:00
Automatic Updater 6701b0a853 update 2011-10-15 00:15:54 +00:00
Automatic Updater 498015c13a update copyright notice 2011-10-14 23:46:08 +00:00
Automatic Updater f2bb17a778 update 2011-10-14 12:15:44 +00:00
Mark Andrews 8c52446d78 wait for test zones to have loaded 2011-10-14 12:03:11 +00:00
Automatic Updater c6c098f2f1 update 2011-10-14 08:16:17 +00:00
Mark Andrews 0daf116dee I:waiting for servers to be ready for testing 2011-10-14 07:39:37 +00:00
Mark Andrews c2995d7bda properly compute the revoked key's id 2011-10-14 07:26:11 +00:00
Automatic Updater ca5f4b11ef update 2011-10-14 06:16:16 +00:00
Mark Andrews cecf9557f2 3171. [bug] Exclusively lock the task when adding a zone using
'rndc addzone'.  [RT #25600]
2011-10-14 05:45:20 +00:00
Automatic Updater cb01913e81 update 2011-10-14 04:15:45 +00:00
Mark Andrews 89769cb5a5 3170. [func] RPZ update:
- fix precedence among competing rules
                        - improve ARM text including documenting rule precedence
                        - try to rewrite CNAME chains until first hit
                        - new "rpz" logging channel
2011-10-14 03:51:07 +00:00
Automatic Updater 9df9d263d8 update 2011-10-13 23:16:26 +00:00
Automatic Updater 44c0de6c04 update copyright notice 2011-10-13 22:47:41 +00:00
Automatic Updater ed790af2ae newcopyrights 2011-10-13 22:46:31 +00:00
Automatic Updater 2f177263c1 update 2011-10-13 14:15:56 +00:00
Mark Andrews 1bbd4a0db3 handle unchecked assignment 2011-10-13 13:15:07 +00:00
Automatic Updater e981e1e523 update 2011-10-13 08:16:24 +00:00
Mark Andrews d956adee5b add dbversion_test 2011-10-13 07:53:47 +00:00
Mark Andrews 5f2422150f #include <stdlib.h> 2011-10-13 07:53:33 +00:00
Automatic Updater e5f92dbb15 update 2011-10-13 05:16:21 +00:00
Mark Andrews 45eb171172 'grep' -> 'grep -w' when checking for keyids 2011-10-13 04:39:07 +00:00
Automatic Updater de927d4c9e update 2011-10-13 00:15:43 +00:00
Mark Andrews d35e78aa50 3169. [func] Catch db/version mis-matches when call dns_db_*().
[RT #26017]
2011-10-12 23:54:01 +00:00
Automatic Updater be51148212 update copyright notice 2011-10-12 23:45:50 +00:00
Automatic Updater a3eecfadae newcopyrights 2011-10-12 23:30:12 +00:00
Automatic Updater a3f8833d98 update 2011-10-12 01:15:48 +00:00
Mark Andrews 143ea455e7 3167. [bug] Negative answers from forwarders were not being
correctly tagged making them appear to not be cached.
                        [RT #25380]
2011-10-12 00:24:31 +00:00
Automatic Updater bf8bf583f9 update 2011-10-11 01:15:48 +00:00
Mark Andrews dd09511166 handle named.args 2011-10-11 00:49:36 +00:00
Automatic Updater 0d7f0eff38 update 2011-10-11 00:16:14 +00:00
Scott Mann 7cb6cfded1 Change s/\R//g to chomp(). 2011-10-10 23:21:44 +00:00
Automatic Updater 73bf4a5559 update 2011-10-10 20:15:51 +00:00
Scott Mann 6fa148d910 fix subdirectory path 2011-10-10 19:27:45 +00:00
Automatic Updater 0d94dfe3e4 update 2011-10-10 18:15:42 +00:00
Scott Mann 89ae0ecba7 allow options to named via start.pl (RT 26044). 2011-10-10 17:16:32 +00:00
Automatic Updater 581373304d update 2011-10-07 05:15:52 +00:00
Evan Hunt 6a4d92efe5 3157. [tuning] Reduce the time spent in "rndc reconfig" by parsing
the config file before pausing the server. [RT #21373]
2011-10-07 04:42:49 +00:00
Automatic Updater e7d116eae7 update 2011-10-07 03:16:21 +00:00
Mark Andrews d101121f95 3161. [bug] zone.c:del_sigs failed to always reset rdata leading
assertion failures. [RT #25880]
2011-10-07 02:58:42 +00:00
Automatic Updater 28b88cf92b update 2011-10-07 02:15:47 +00:00
Automatic Updater 62f50e741c regen v9_8 2011-10-07 01:53:06 +00:00
Automatic Updater e3c54b503f update 2011-10-06 12:15:46 +00:00
Mark Andrews 813208f4e3 fix default for sig-signing-type 2011-10-06 11:51:33 +00:00
Mark Andrews 337a8e1020 rt21764 session-* fixes 2011-10-06 11:34:18 +00:00
Automatic Updater b06676b2d7 update 2011-09-08 00:16:16 +00:00
Automatic Updater 9ef8858645 newcopyrights 2011-09-07 23:30:10 +00:00
Automatic Updater 495d0adb39 update 2011-09-07 21:15:40 +00:00
Evan Hunt bb28939761 3155. [bug] Fixed a build failure when using contrib DLZ
drivers (e.g., mysql, postgresql, etc). [RT #25710]
2011-09-07 20:49:59 +00:00
Automatic Updater 5692282e7f update 2011-09-07 19:15:42 +00:00
Evan Hunt eaf736c66f 3154. [bug] Attempting to print an empty rdataset could trigger
an assert. [RT #25452]
2011-09-07 19:11:35 +00:00
Automatic Updater b7c235ad6f update 2011-09-06 06:15:59 +00:00
Mark Andrews 12f0006d44 add depend target 2011-09-06 05:47:23 +00:00
Automatic Updater 22067408ce update 2011-09-06 04:15:50 +00:00
Mark Andrews d586d0e132 $ -> 18739 2011-09-06 04:06:11 +00:00
Mark Andrews 618864115f run unit tests even if system tests fail. Report if either set of tests fail 2011-09-06 04:02:35 +00:00
Automatic Updater 3cb0f17f9d update 2011-09-06 00:15:50 +00:00
Automatic Updater c65c57a508 update copyright notice 2011-09-05 23:45:54 +00:00
Automatic Updater 37409d9c37 newcopyrights 2011-09-05 23:30:17 +00:00
Automatic Updater dcf6a720b4 update 2011-09-05 18:15:43 +00:00
Evan Hunt e0ab683596 3152. [cleanup] Some versions of gcc and clang failed due to
incorrect use of __builtin_expect. [RT #25183]
2011-09-05 18:01:01 +00:00
Evan Hunt 1f2fe31d19 add time.h to silence compiler warning 2011-09-05 17:39:31 +00:00
Automatic Updater 1f81a498e9 update 2011-09-05 00:15:54 +00:00
Mark Andrews 3bdb8242d7 manual adds 2011-09-05 00:10:45 +00:00
Automatic Updater 29cc111753 update 2011-09-04 20:15:36 +00:00
Mark Andrews 53dc746413 check dns_dbiterator_current result 2011-09-04 19:57:32 +00:00
Automatic Updater 269fd720ab update 2011-09-04 12:15:44 +00:00
Mark Andrews b970290dfa report R:PASS/FAIL 2011-09-04 12:14:22 +00:00
Automatic Updater e245c24518 update 2011-09-04 00:16:02 +00:00
Automatic Updater 039937c0f7 update copyright notice 2011-09-03 23:45:59 +00:00
Automatic Updater f870752663 update 2011-09-03 06:15:47 +00:00
Evan Hunt 8c3501aeff 3143. [bug] Silence clang compiler warnings. [RT #25174] 2011-09-03 06:06:46 +00:00
Automatic Updater c3a4a70e5b update 2011-09-03 01:15:37 +00:00
Mark Andrews a1391037d8 add #include <stdlib.h> 2011-09-03 00:42:58 +00:00
Automatic Updater c861b04437 update 2011-09-03 00:15:56 +00:00
Automatic Updater a856c33738 update copyright notice 2011-09-02 23:45:51 +00:00
Automatic Updater a00e9ca03b update 2011-09-02 23:15:52 +00:00
Evan Hunt 4b05d56eee 3139. [test] Added tests from RFC 6234, RFC 2202, and RFC 1321
for the hashing algorithms (md5, sha1 - sha512, and
			their hmac counterparts).  [RT #25067]
2011-09-02 22:24:18 +00:00
Automatic Updater 634162f3f9 update 2011-09-02 22:15:45 +00:00
Evan Hunt 404329080f 3151. [bug] Queries for type RRSIG or SIG could be handled
incorrectly.  [RT #21050]
2011-09-02 21:54:52 +00:00
Automatic Updater 3b7d0f1c8c update 2011-09-02 20:15:37 +00:00
Evan Hunt 64993d15c8 3145. [test] Capture output of ATF unit tests in "./atf.out" if
there were any errors while running them. [RT #25527]

3144.	[bug]		dns_dbiterator_seek() could trigger an assert when
			used with a nonexistent database node. [RT #25358]
2011-09-02 19:27:30 +00:00
Automatic Updater 04c641a1da update 2011-09-02 15:15:49 +00:00
Scott Mann 6ddbf015eb fix comment 2011-09-02 14:41:31 +00:00
Automatic Updater c126ef0979 update 2011-09-02 02:46:01 +00:00
Mark Andrews 5f853eb2da don't use a expired slave zone 2011-09-02 02:24:22 +00:00
Automatic Updater 0b2a28013e update 2011-09-01 00:16:10 +00:00
Automatic Updater 3f847d0a8a update copyright notice 2011-08-31 23:45:53 +00:00
Automatic Updater 393d530b35 newcopyrights 2011-08-31 23:30:13 +00:00
Automatic Updater 9a5d8dfec7 update 2011-08-31 07:15:36 +00:00
Mark Andrews 6b7f4adaba 3148. [bug] Processing of normal queries could be stalled when
forwarding a UPDATE message. [RT #24711]
2011-08-31 07:01:47 +00:00
Automatic Updater 50aa6faa5a update 2011-08-31 00:16:05 +00:00
Automatic Updater 7b1d7ae4c4 update copyright notice 2011-08-30 23:45:51 +00:00
Automatic Updater 41eb832403 newcopyrights 2011-08-30 23:30:14 +00:00
Automatic Updater dd3623e275 update 2011-08-30 22:15:47 +00:00
Mark Andrews 05bcbdf260 report the result of dns_adb_createfind 2011-08-30 21:52:37 +00:00
Mark Andrews cc99f603de dns_view_issecuredomain: check that view->secroots_priv is non NULL before calling dns_keytable_issecuredomaiani otherwise return ISC_R_NOTFOUND 2011-08-30 21:46:46 +00:00
Automatic Updater b384438961 update 2011-08-30 14:15:44 +00:00
Mark Andrews bd3d279093 silence clang warnings 2011-08-30 14:03:31 +00:00
Automatic Updater 6f46c6e19c update 2011-08-30 01:15:45 +00:00
Mark Andrews daaf741edc POST(port); POST(addr); 2011-08-30 00:19:46 +00:00
Automatic Updater 2193cd3716 update 2011-08-30 00:16:00 +00:00
Automatic Updater c1b283b66a update copyright notice 2011-08-29 23:45:52 +00:00
Automatic Updater 9e0b14b5af newcopyrights 2011-08-29 23:30:13 +00:00
Mark Andrews 6e5c6dae0b query could be tested uninitialised, check the result of dns_message_create 2011-08-29 23:25:20 +00:00
Automatic Updater aacfb9244e update 2011-08-29 07:15:44 +00:00
Mark Andrews 25ce54e595 check the results of dns_name_toprincipal calls, only use gnamebuf.value when valid 2011-08-29 06:36:26 +00:00
Automatic Updater 9e1566156f update 2011-08-29 06:16:05 +00:00
Mark Andrews 2cbf0e748a *++tp = 0; -> tp++; *tp = 0; 2011-08-29 06:00:04 +00:00
Automatic Updater 8a5764cec5 update 2011-08-29 05:16:19 +00:00
Mark Andrews 2186e462d7 POST(p); POST(len); 2011-08-29 04:21:40 +00:00
Automatic Updater b9017a78d8 update 2011-08-29 04:15:48 +00:00
Mark Andrews 849283b0d3 INSIST(response); 2011-08-29 04:04:05 +00:00
Automatic Updater b4b638fff3 update 2011-08-29 00:15:48 +00:00
Mark Andrews 480adc66ed add POST, len is not needed 2011-08-28 23:55:57 +00:00
Mark Andrews 7fdec4fc2f add POST 2011-08-28 23:48:26 +00:00
Automatic Updater 4e22dcb860 update copyright notice 2011-08-28 23:45:47 +00:00
Mark Andrews c13fc9cf42 add missing check_result 2011-08-28 23:37:14 +00:00
Automatic Updater 338ab99712 newcopyrights 2011-08-28 23:30:11 +00:00
Automatic Updater 66bcbe23f9 update 2011-08-28 10:15:49 +00:00
Mark Andrews 207f156483 silence 'never read' warning 2011-08-28 09:26:28 +00:00
Automatic Updater 5afbb26ee0 update 2011-08-28 09:15:42 +00:00
Mark Andrews e01c2e56ba report if dns_rdata{class,type}_totext failed 2011-08-28 09:14:27 +00:00
Automatic Updater 740078bce4 update 2011-08-28 08:15:45 +00:00
Mark Andrews 850fe20987 t3 is not used 2011-08-28 08:12:28 +00:00
Automatic Updater d3e66ef3fa update 2011-08-26 05:16:23 +00:00
Mark Andrews 206be29566 mctx is nolonger required 2011-08-26 04:53:20 +00:00
Mark Andrews caeb2155dd silence 'is never read' warnings 2011-08-26 04:43:49 +00:00
Automatic Updater d9f1cc604c update 2011-08-26 00:16:07 +00:00
Automatic Updater 407194d9af update copyright notice 2011-08-25 23:45:49 +00:00
Automatic Updater e1722c58be newcopyrights 2011-08-25 23:30:17 +00:00
Automatic Updater fe88bda282 update 2011-08-25 14:15:42 +00:00
Mark Andrews e7a9ddf92d simplify flag printing, protect first with #ifdef USEINITALWS 2011-08-25 13:29:39 +00:00
Automatic Updater a0fbee4352 update 2011-08-25 12:15:36 +00:00
Mark Andrews 5e18aaf378 remove isc_os_minprivs call accidently committed 2011-08-25 11:36:00 +00:00
Automatic Updater ca9055287c update 2011-08-25 09:15:48 +00:00
Mark Andrews 2a2d1fd4fb cltfd is only needed when select is being used 2011-08-25 08:15:28 +00:00
Automatic Updater 2618396ab2 update 2011-08-25 07:16:07 +00:00
Mark Andrews 6185f7d443 silence 'Dereference of undefined pointer value' by assigning to 'sorted' sequentially from zero 2011-08-25 06:30:30 +00:00
Mark Andrews 865da97d1a save the result of is_response(msg) so it can be treated as a invariant by clang 2011-08-25 06:22:28 +00:00
Automatic Updater 35ba9c3634 update 2011-08-25 06:15:49 +00:00
Mark Andrews 2afb4a9d7d silence null pointer dereference warning by adding INSIST(sibling != NULL); 2011-08-25 06:12:57 +00:00
Automatic Updater 4ff494c9a6 update 2011-08-24 20:15:41 +00:00
Scott Mann 7d48e29523 Fixes compilation errors in ATF due to gcc4.6.0 (RT #25598). 2011-08-24 19:57:13 +00:00
Automatic Updater aa0962aef2 update 2011-08-24 04:15:38 +00:00
Mark Andrews 02b74f7664 9.8.1 2011-08-24 03:17:30 +00:00
Automatic Updater f6f88798e0 update 2011-08-24 02:15:41 +00:00
Mark Andrews 415b7ffb37 9.8.1 2011-08-24 02:14:15 +00:00
Mark Andrews 7d5a0de150 9.8.1 2011-08-24 02:08:26 +00:00
Mark Andrews de952cbc85 9.8.1 2011-08-24 01:53:51 +00:00
Automatic Updater 577f45c2c3 update 2011-08-09 07:15:36 +00:00
Mark Andrews 5d2e823828 9.8.1rc1 2011-08-09 06:40:01 +00:00
Automatic Updater 2779337b55 update 2011-08-09 05:16:07 +00:00
Automatic Updater d4a54d6991 v9_8_1rc1 2011-08-09 04:27:58 +00:00
Automatic Updater bb7b4a13b6 update 2011-08-09 04:15:45 +00:00
Automatic Updater cf9d9faddb update copyright notice 2011-08-09 04:11:44 +00:00
Automatic Updater e77b202083 newcopyrights 2011-08-09 04:10:44 +00:00
Mark Andrews 3ec77708b2 9.8.1rc1 2011-08-09 04:09:10 +00:00
Automatic Updater df6b814de1 update 2011-08-09 03:16:16 +00:00
Mark Andrews da0a5b6c99 3141. [bug] Silence spurious "zone serial (0) unchanged" messages
associated with empty zones. [RT #25079]
2011-08-09 02:34:24 +00:00
Automatic Updater 8da97bdc84 update 2011-08-09 02:15:43 +00:00
Automatic Updater 75df90f66b regen v9_8 2011-08-09 01:52:59 +00:00
Automatic Updater acc5df783b update 2011-08-09 00:16:03 +00:00
Automatic Updater b55bae8714 update copyright notice 2011-08-08 23:45:44 +00:00
Automatic Updater b675fa2f09 newcopyrights 2011-08-08 23:30:12 +00:00
Automatic Updater a7d313daad update 2011-08-08 04:15:45 +00:00
Mark Andrews ac67bc5495 rt25400 s/domain/filename/ 2011-08-08 03:29:45 +00:00
Automatic Updater 028289f200 update 2011-08-03 03:17:26 +00:00
Automatic Updater 9275afb429 regen v9_8 2011-08-03 02:35:13 +00:00
Automatic Updater 0542f18851 update 2011-08-02 05:16:51 +00:00
Evan Hunt 2f87b8f081 3136. [func] Add RFC 1918 reverse zones to the list of built-in
empty zones switched on by the 'empty-zones-enable'
			option. [RT #24990]
2011-08-02 04:58:46 +00:00
Automatic Updater ba90b47a8f update 2011-07-30 03:17:21 +00:00
Automatic Updater 58aee35c28 sync 2011-07-30 02:24:08 +00:00
Automatic Updater 0b1508f8ad update 2011-07-29 03:17:22 +00:00
Mark Andrews aac095f12a missing isc__strerror on error paths 2011-07-29 02:19:20 +00:00
Automatic Updater 860130083a update 2011-07-29 00:17:22 +00:00
Automatic Updater b145384404 update copyright notice 2011-07-28 23:47:16 +00:00
Automatic Updater 6dcbf0af37 newcopyrights 2011-07-28 23:30:32 +00:00
Automatic Updater 578bdb5051 update 2011-07-28 05:16:50 +00:00
Mark Andrews db19bf041c 3138. [bug] Address memory leaks and out-of-order operations when
shutting named down. [RT #25210]
2011-07-28 04:30:55 +00:00
Automatic Updater 275244d9ce update 2011-07-28 03:27:39 +00:00
Mark Andrews d091300d0f add ${ISC_INCLUDES} 2011-07-28 03:20:13 +00:00
Automatic Updater bebf0736df update 2011-07-28 02:17:17 +00:00
Mark Andrews a5821d6fbc use UNUSED() 2011-07-28 01:24:39 +00:00
Automatic Updater 798f7e4dac update 2011-07-27 08:17:27 +00:00
Mark Andrews 6af3da08e9 silence 'expression result unused' from clang 2011-07-27 07:45:06 +00:00
Automatic Updater a7917bc686 update 2011-07-27 07:17:01 +00:00
Mark Andrews 773ffed6d1 use UNUSED(x) not 'x = x' 2011-07-27 07:06:54 +00:00
Automatic Updater fdde57e0c4 update 2011-07-26 22:16:54 +00:00
Michael Graff d857cc2b21 regenerate 2011-07-26 22:11:37 +00:00
Michael Graff 5455550b19 regenerate 2011-07-26 22:08:33 +00:00
Michael Graff 1f91dde8e4 fix for compiling on OSX Lion. Verified it compiles on Snow Leopard using older XCode as well. 2011-07-26 21:59:57 +00:00
Automatic Updater a5ff8b5742 update 2011-07-26 05:16:41 +00:00
Mark Andrews 25ea51ff37 remove check for oldid as named may have already deleted it 2011-07-26 04:41:48 +00:00
Mark Andrews f28be0a5f7 id was not being properly set 2011-07-26 04:29:17 +00:00
Automatic Updater ca79b2b413 update 2011-07-22 00:17:26 +00:00
Automatic Updater 92813a1249 update copyright notice 2011-07-21 23:47:14 +00:00
Automatic Updater 4c497651b0 update 2011-07-21 07:16:53 +00:00
Mark Andrews 430d3c44c9 s/fallbackas/fallback as/ 2011-07-21 06:25:17 +00:00
Automatic Updater 1086e3bfae update 2011-07-21 03:17:32 +00:00
Mark Andrews 92ab09d3c1 add missing changes note:
3114.   [bug]           Retain expired RRSIGs in dynamic zones if key is
                        inactive and there is no replacement key. [RT #23136]
2011-07-21 03:09:26 +00:00
Automatic Updater 458cf357eb update 2011-07-21 02:17:27 +00:00
Mark Andrews 792a79f9a0 3135. [port] FreeBSD: workaround broken IPV6_USE_MIN_MTU processing.
See http://www.freebsd.org/cgi/query-pr.cgi?pr=158307
                        [RT #24950]
2011-07-21 01:44:28 +00:00
Automatic Updater a15702ee55 update 2011-07-20 00:17:18 +00:00
Automatic Updater 79325ed821 update copyright notice 2011-07-19 23:47:12 +00:00
Automatic Updater 11cc9aa596 update 2011-07-19 05:16:36 +00:00
Mark Andrews 141ed3c035 3134. [bug] Improve the accuracy of dnssec-signzone's signing
statistics. [RT #16030]
2011-07-19 04:45:49 +00:00
Automatic Updater fdee123cef update 2011-07-11 00:17:15 +00:00
Automatic Updater ef5abed34d update copyright notice 2011-07-10 23:47:12 +00:00
Automatic Updater 4edaf086ff newcopyrights 2011-07-10 23:30:33 +00:00
Automatic Updater 970a768015 update 2011-07-10 00:17:20 +00:00
Mark Andrews ea82a10063 manual update 2011-07-09 23:45:47 +00:00
Automatic Updater 940f439457 update 2011-07-09 17:17:09 +00:00
Scott Mann 3e99d6127b fixes for 9.8.1b3 release 2011-07-09 16:58:46 +00:00
Automatic Updater ba4a4c5cc7 update 2011-07-09 15:16:48 +00:00
Scott Mann ed1518e8c5 up various values in api files based on changes 2011-07-09 15:01:40 +00:00
Automatic Updater e72077bb1b update 2011-07-09 02:16:37 +00:00
Evan Hunt de5bf8e51e oops, forgot to 'cvs add' some files...
3131.   [tuning]        Improve scalability by allocating one zone task
                        per 100 zones at startup time, rather than using a
                        fixed-size task table. [RT #24406]
2011-07-09 01:57:06 +00:00
Automatic Updater 6ac6574ef0 update 2011-07-09 00:17:12 +00:00
Automatic Updater 677d6d88ec update copyright notice 2011-07-08 23:47:16 +00:00
Automatic Updater 19610f38da newcopyrights 2011-07-08 23:30:28 +00:00
Automatic Updater f529b12055 update 2011-07-08 23:18:45 +00:00
Scott Mann 5ed57781a8 9.8.1b3 2011-07-08 22:57:26 +00:00
Automatic Updater 4783267e88 update 2011-07-08 02:16:49 +00:00
Evan Hunt 2d79f736cc 3133. [bug] Change #3114 was incomplete. [RT #24577] 2011-07-08 01:45:58 +00:00
Automatic Updater 3da25108d0 update 2011-07-06 19:16:34 +00:00
Evan Hunt 20f2b0b61d 3132. [tuning] Expanded zone task table from 8 to 17 buckets,
added ZONE_TASKS define in zone.c to make it easier
			to hand-tune this value. [RT #24406]
2011-07-06 19:02:40 +00:00
Automatic Updater 9ebed665a4 update 2011-06-22 03:17:12 +00:00
Automatic Updater e9125b5e12 regen v9_8 2011-06-22 02:37:21 +00:00
Automatic Updater 876ff48872 update 2011-06-21 22:16:51 +00:00
Evan Hunt 5a62160124 Add the newly discovered PoD to the nsupdate test. (No CHANGES note.) 2011-06-21 22:14:54 +00:00
Automatic Updater 8069cc1421 update 2011-06-21 06:16:39 +00:00
Mark Andrews a42363c699 9.8 not 9.7 2011-06-21 05:32:20 +00:00
Automatic Updater 0235609a1e update 2011-06-20 16:16:35 +00:00
Paul Ebersman 3125a1ec10 corrected RT ticket typo in 3126, should be 24766 2011-06-20 15:42:07 +00:00
Automatic Updater 4d9cb2ad6d update 2011-06-18 00:17:16 +00:00
Automatic Updater caf476f0e2 update copyright notice 2011-06-17 23:47:12 +00:00
Automatic Updater b2c05054c9 newcopyrights 2011-06-17 23:30:31 +00:00
Automatic Updater 46009c58b3 update 2011-06-17 08:16:41 +00:00
Mark Andrews c4d4634ad8 update for api changes 2011-06-17 07:29:35 +00:00
Mark Andrews e64b2209d0 typo 2011-06-17 07:29:18 +00:00
Automatic Updater 89379a5f66 update 2011-06-17 07:16:42 +00:00
Evan Hunt 8c22e52db1 3129. [bug] Named could crash on 'rndc reconfig' when
allow-new-zones was set to yes and named ACLs
			were used, [RT #22739]
2011-06-17 07:04:32 +00:00
Automatic Updater 0708b484fc update 2011-06-15 04:18:13 +00:00
Automatic Updater 7d481a3b92 v9_8_1b2 2011-06-15 04:02:58 +00:00
Mark Andrews 1e3d767d68 move 9.8.1b2 release marker 2011-06-15 03:56:48 +00:00
Mark Andrews f9370df7dc move 9.8.1b2 release marker 2011-06-15 03:54:37 +00:00
Automatic Updater b11736e00f update 2011-06-09 08:17:07 +00:00
Automatic Updater 2edcf8ddf4 regen v9_8 2011-06-09 07:18:01 +00:00
Automatic Updater 98643cf501 update 2011-06-09 03:16:54 +00:00
Mark Andrews 31dcd78366 3126. [security] Using DNAME record to generate replacements caused
RPZ to exit with a assertion failure. [RT #23766]
2011-06-09 03:14:04 +00:00
Automatic Updater 1f45359a9c update 2011-06-09 01:17:09 +00:00
Mark Andrews eff7004cdd 3125. [security] Using wildcard CNAME records as a replacement with
RPZ caused named to exit with a assertion failure.
                        [RT #24715]
2011-06-09 00:53:55 +00:00
Evan Hunt 32209f69cd Fixed an nsupdate test error 2011-06-09 00:15:16 +00:00
Automatic Updater 504e859cf6 update 2011-06-08 23:17:07 +00:00
Evan Hunt 8b2bec1cc0 forgot to add changes note 2011-06-08 23:13:01 +00:00
Evan Hunt 5d0d5c6641 3124. [bug] Use an rdataset attribute flag to indicate
negative-cache records rather than using rrtype 0;
			this will prevent problems when that rrtype is
			used in actual DNS packets. [RT #24777]

3123.	[security]	Change #2912 exposed a latent flaw in
			dns_rdataset_totext() that could cause named to
			crash with an assertion failure. [RT #24777]
2011-06-08 23:02:43 +00:00
Automatic Updater 389777e3f8 update 2011-06-06 02:17:37 +00:00
Automatic Updater 5b855a3e61 cleanup removed files 2011-06-06 01:24:36 +00:00
Automatic Updater 423845d45e update 2011-06-02 21:16:56 +00:00
Evan Hunt 52f6ab64a9 3122. [cleanup] dnssec-settime: corrected usage message. [RT #24664] 2011-06-02 20:24:11 +00:00
Automatic Updater 6e6a41728a update 2011-06-01 00:19:07 +00:00
Automatic Updater dc0dc46c4b 9.8.1b2 2011-05-31 23:31:16 +00:00
Mark Andrews 6b81040520 9.8.1b2 2011-05-31 23:28:39 +00:00
Automatic Updater 70002adf02 update 2011-05-30 23:17:26 +00:00
Mark Andrews d12179ca91 date +%s is not portable, use perl -e 'print time();', Adjust messages 2011-05-30 22:31:28 +00:00
Automatic Updater b674d799a3 update 2011-05-30 08:17:47 +00:00
Mark Andrews aa7d0857f0 The old active key could be deleted before the "former standby key has now
signed fully" ran causing it to fail.  Delay the deletion by 10 seconds.
2011-05-30 07:26:41 +00:00
Automatic Updater 50b2eaf50b update 2011-05-28 01:18:41 +00:00
Automatic Updater d089451dca update copyright notice 2011-05-28 00:27:48 +00:00
Automatic Updater fd8bc236a9 update 2011-05-28 00:19:30 +00:00
Automatic Updater e206b6ed13 newcopyrights 2011-05-27 23:34:18 +00:00
Automatic Updater efc256e07c update 2011-05-27 04:52:59 +00:00
Mark Andrews 57f287577f move dns_trust_totext from masterdump.c to rdataset.c so that exportlib will build 2011-05-27 04:40:09 +00:00
Automatic Updater 7c0881dc5b update 2011-05-27 00:17:03 +00:00
Automatic Updater 9e914eadd0 update copyright notice 2011-05-26 23:47:06 +00:00
Automatic Updater 7691327497 newcopyrights 2011-05-26 23:36:57 +00:00
Automatic Updater aa718594cd update 2011-05-26 23:17:05 +00:00
Evan Hunt 9b1f733801 3121. [security] An authoritative name server sending a negative
response containing a very large RRset could
                        trigger an off-by-one error in the ncache code
                        and crash named. [RT #24650]
2011-05-26 23:10:44 +00:00
Automatic Updater f5d2d30434 update 2011-05-26 05:16:45 +00:00
Mark Andrews 893f3378d5 list -> listed 2011-05-26 04:55:26 +00:00
Mark Andrews 22fdcb03cc 3120. [bug] Named could fail to validate zones list in a DLV
that validated insecure without using DLV and had
                        DS records in the parent zone. [RT #24631]
2011-05-26 04:47:16 +00:00
Evan Hunt 17968c1451 3118. [bug] When rolling to a new DNSSEC key, a private-type
record could be created and never marked complete.
			[RT #23253]
2011-05-26 04:25:09 +00:00
Automatic Updater c7df857b5e update 2011-05-24 03:17:40 +00:00
Automatic Updater c23ef01bfb regen v9_8 2011-05-24 02:37:19 +00:00
Automatic Updater 96763a6c39 update 2011-05-23 22:16:43 +00:00
Evan Hunt 77b55b7446 3118. [bug] nsupdate could dump core on shutdown when using
SIG(0) keys. [RT #24604]
2011-05-23 22:12:15 +00:00
Automatic Updater 68d87f7d43 update 2011-05-23 21:16:46 +00:00
Evan Hunt 2127785ad7 3117. [cleanup] Remove doc and parser references to the
never-implemented 'auto-dnssec create' option.
			[RT #24533]
2011-05-23 20:56:11 +00:00
Automatic Updater c60a92e849 update 2011-05-20 15:16:47 +00:00
Paul Ebersman d7022d427d Corrected bug number from 2445 to 24455. 2011-05-20 14:23:59 +00:00
Automatic Updater 53cbbefc76 update 2011-05-20 05:17:16 +00:00
Mark Andrews 7e773a23d9 3115. [bug] Named could fail to return requested data when
following a CNAME that points into the same zone.
                        [RT #2445]
2011-05-20 05:12:18 +00:00
Automatic Updater 63bca3ef31 update 2011-05-20 00:17:28 +00:00
Automatic Updater 79f2487b9d update copyright notice 2011-05-19 23:46:59 +00:00
Automatic Updater db4b385b8f newcopyrights 2011-05-19 23:31:20 +00:00
Automatic Updater cb6cc3d9dc update 2011-05-19 22:16:49 +00:00
Evan Hunt d96c88531b another post-commit fix for change 3114: call dns_db_resigned()/
dns_db_setsigningtime() only when incrementally resigning, not other
times.
2011-05-19 21:28:26 +00:00
Automatic Updater c39d5521cf update 2011-05-19 05:16:56 +00:00
Evan Hunt b62b7fbe9e 3114. [bug] Retain expired RRSIGs in dynamic zones if key is
inactive and there is no replacement key. [RT #23136]
2011-05-19 04:42:51 +00:00
Automatic Updater ad500dca04 update 2011-05-18 03:17:40 +00:00
Automatic Updater 7265a25c2e regen v9_8 2011-05-18 02:38:47 +00:00
Automatic Updater ee398e005b update 2011-05-17 06:17:02 +00:00
Mark Andrews 8701073b92 3113. [doc] Document the relationship between serial-query-rate
and NOTIFY messages.
2011-05-17 05:21:22 +00:00
Automatic Updater 029634e306 update 2011-05-17 01:17:23 +00:00
Evan Hunt e86659f1d9 add dns_dnssec_signs 2011-05-17 00:58:58 +00:00
Automatic Updater 70d7a34ca2 regen 2011-05-17 00:24:24 +00:00
Automatic Updater 2a9fd92bab update 2011-05-17 00:17:32 +00:00
Automatic Updater 7552cfd6b8 update copyright notice 2011-05-16 23:47:17 +00:00
Automatic Updater cffe67a4ec newcopyrights 2011-05-16 23:31:03 +00:00
Automatic Updater 9255930cca regen v9_8 2011-05-16 23:27:13 +00:00
Automatic Updater 979f297c59 update 2011-05-16 23:16:56 +00:00
Automatic Updater dc0de60bf3 regen 2011-05-16 23:03:05 +00:00
Evan Hunt 1fded9ad8f Prep for release of 9.8.1b1. (Note: the experiment with spinning 9.8.1b2
after not releasing the previously-spun 9.8.1b1 is hereby abandoned; the
v9_8_1b2 tag has been removed.)
2011-05-16 23:01:19 +00:00
Evan Hunt 6d7afbc9c5 "make install" was failing when building with both exportlibs and libtool.
(trivial makefile fix, no CHANGES note.) [RT #24425]
2011-05-16 22:53:19 +00:00
Automatic Updater 56d48ae9e2 update 2011-05-16 05:16:59 +00:00
Mark Andrews 54b90c79aa 3112. [doc] Add missing descriptions of the update policy name
types "ms-self", "ms-subdomain", "krb5-self" and
                        "krb5-subdomain", which allow machines to update
                        their own records, to the BIND 9 ARM.
2011-05-16 04:19:47 +00:00
Evan Hunt ea91a8dd46 file expiring.example.db.in was added on branch v9_8 on 2011-05-19 04:42:50 +0000 2011-05-13 21:34:03 +00:00
Automatic Updater 387e10d84f update 2011-05-08 07:16:46 +00:00
Mark Andrews 8e9cba0e58 named.conf copyrights 2011-05-08 07:09:28 +00:00
Automatic Updater b031a2cad1 update 2011-05-08 03:17:20 +00:00
Automatic Updater c5a7116639 regen v9_8 2011-05-08 02:34:42 +00:00
Automatic Updater 016affbe91 update 2011-05-08 00:17:29 +00:00
Automatic Updater 699be80fb2 update copyright notice 2011-05-07 23:47:05 +00:00
Automatic Updater 9abf7f0f2f newcopyrights 2011-05-07 23:31:10 +00:00
Automatic Updater e7d6a39bdc update 2011-05-07 06:17:25 +00:00
Evan Hunt 13ab5f75cb 3111. [bug] Improved consistency checks for dnssec-enable and
dnssec-validation, added test cases to the
                        checkconf system test. [RT #24398]
2011-05-07 05:53:24 +00:00
Automatic Updater a0d55679cb update 2011-05-07 01:17:35 +00:00
Evan Hunt 79951b66bd 3110. [bug] dnssec-signzone: Wrong error message could appear
when attempting to sign with no KSK. [RT #24369]
2011-05-07 00:24:41 +00:00
Automatic Updater 6a9785a634 update 2011-05-07 00:17:29 +00:00
Automatic Updater 75569ec3ab update copyright notice 2011-05-06 23:47:05 +00:00
Automatic Updater 11d6bca849 newcopyrights 2011-05-06 23:31:24 +00:00
Automatic Updater 31310cb95c update 2011-05-06 21:16:47 +00:00
Evan Hunt 46994fc008 3107. [bug] dnssec-signzone: Report the correct number of ZSKs
when using -x. [RT #20852]
2011-05-06 21:07:50 +00:00
Automatic Updater 0dff6c5fc8 update 2011-05-06 00:17:29 +00:00
Mark Andrews d079f5a6af set/reset client->signer. 2011-05-05 23:53:16 +00:00
Automatic Updater f4264361da update copyright notice 2011-05-05 23:46:53 +00:00
Automatic Updater c30a175261 newcopyrights 2011-05-05 23:31:19 +00:00
Automatic Updater 7754882494 update 2011-05-05 23:16:56 +00:00
Scott Mann 4ffc24ee8a remove trailing newline from pid (RT #24388) 2011-05-05 22:58:59 +00:00
Automatic Updater a8f9b05a5c update 2011-05-05 20:16:53 +00:00
Automatic Updater 45db17e046 regen 2011-05-05 19:20:53 +00:00
Evan Hunt 6190d5d352 file dnssec.3 was added on branch v9_8 on 2011-05-07 05:53:24 +0000 2011-05-05 19:11:53 +00:00
Evan Hunt b38df44057 file dnssec.2 was added on branch v9_8 on 2011-05-07 05:53:24 +0000 2011-05-05 19:11:51 +00:00
Evan Hunt 35ab4970f5 file dnssec.1 was added on branch v9_8 on 2011-05-07 05:53:23 +0000 2011-05-05 19:11:49 +00:00
Evan Hunt 6737155c1c file clean.sh was added on branch v9_8 on 2011-05-07 05:53:23 +0000 2011-05-05 19:11:47 +00:00
Automatic Updater 11774720bb update 2011-05-05 18:16:47 +00:00
Evan Hunt a35d3f0740 3105. [bug] GOST support can be suppressed by "configure
--without-gost" [RT #24367]

3104.   [bug]           Better support for cross-compiling. [RT #24367]
2011-05-05 18:10:50 +00:00
Evan Hunt 4c08095355 fixed an error in prior commit 2011-05-05 18:02:09 +00:00
Automatic Updater 40cf282bac update 2011-05-05 16:16:48 +00:00
Evan Hunt f4b07b09d0 3103. [bug] Configuring 'dnssec-validation auto' in a view
instead of in the options statement could trigger
			an assertion failure in named-checkconf. [RT #24382]
2011-05-05 16:11:43 +00:00
Automatic Updater a3557027e3 update 2011-05-05 05:17:05 +00:00
Mark Andrews 0be165b93f explictly kill the process if the server fails to start, check for a non zero length pid file 2011-05-05 04:55:46 +00:00
Automatic Updater 50cc65e995 update 2011-05-03 16:16:47 +00:00
Mark Andrews 4304925ee2 grep was not precise enough leading to test failure 2011-05-03 16:09:23 +00:00
Automatic Updater 005d8f1f37 update 2011-05-03 01:17:27 +00:00
Mark Andrews 6ce2aace2e treat abs(x) < 500ms as 0 2011-05-03 00:36:47 +00:00
Automatic Updater 8a98fba5b4 update 2011-05-02 05:16:51 +00:00
Mark Andrews fe7fbb3e26 force numeric comparision 2011-05-02 05:03:28 +00:00
Automatic Updater 060f814820 update 2011-05-02 02:16:46 +00:00
Mark Andrews 9e37015bd6 handle end of day 2011-05-02 01:40:59 +00:00
Automatic Updater d187de3a81 update 2011-05-01 21:47:02 +00:00
Mark Andrews 985d667732 fix expression 2011-05-01 21:37:53 +00:00
Automatic Updater e8d1ba5c34 update 2011-05-01 12:16:49 +00:00
Mark Andrews 446554d615 awk -v is not portable, add floating point arithmetic effects 2011-05-01 11:32:34 +00:00
Automatic Updater 997e61b34e update 2011-04-30 03:17:32 +00:00
Automatic Updater 91e769bcb0 regen v9_8 2011-04-30 02:37:40 +00:00
Automatic Updater a43f7f13da update 2011-04-29 22:16:50 +00:00
Evan Hunt 9cde8e0c6c 3101. [bug] Zones using automatic key maintenance could fail
to check the key repository for updates. [RT #23744]
2011-04-29 21:42:00 +00:00
Automatic Updater 28bbc797cc update 2011-04-28 00:17:21 +00:00
Automatic Updater 1076a78dd9 update copyright notice 2011-04-27 23:47:01 +00:00
Automatic Updater a12911790f update 2011-04-27 18:16:45 +00:00
Evan Hunt e3579205fe 3100. [security] Certain response policy zone configurations could
trigger an INSIST when receiving a query of type
			RRSIG. [RT #24280]
2011-04-27 17:43:07 +00:00
Automatic Updater d057ef3f1c update 2011-04-20 22:16:43 +00:00
Scott Mann 5d284d6f54 creating 9.8.1b2 2011-04-20 21:47:37 +00:00
Automatic Updater 2ba0226fb6 update 2011-04-20 00:17:29 +00:00
Automatic Updater f13dc3a4ea update copyright notice 2011-04-19 23:47:31 +00:00
Automatic Updater d54780e597 newcopyrights 2011-04-19 23:30:48 +00:00
Automatic Updater 225e4046a5 update 2011-04-19 23:17:04 +00:00
Automatic Updater 3f3ccd1728 regen 2011-04-19 22:35:46 +00:00
Evan Hunt 6ecc5850ef 3099. [test] "dlz" system test now runs but gives R:SKIPPED if
not compiled with --with-dlz-filesystem.  [RT #24146]

3098.	[bug]		DLZ zones were answering without setting the AA bit.
			[RT #24146]
2011-04-19 22:31:43 +00:00
Automatic Updater 1324052388 update 2011-04-19 22:16:48 +00:00
Scott Mann f7b8c29abb forgot to add these files for RT #23836. 2011-04-19 22:12:14 +00:00
Scott Mann 4bbb19b67f backport --with-gssapi and fixes (RT 23836/23738) 2011-04-19 21:23:35 +00:00
Automatic Updater dd1675b344 update 2011-04-16 00:17:28 +00:00
Automatic Updater 018da1ee9f newcopyrights 2011-04-15 23:31:11 +00:00
Automatic Updater ea1a083399 update 2011-04-15 01:17:03 +00:00
Evan Hunt 711f69c266 3097. [test] Add a tool to test handling of malformed packets.
[RT #24096]
2011-04-15 01:00:08 +00:00
edmonds f79f1876f8 update 2011-04-13 23:22:57 +00:00
Automatic Updater cb66f7987d update 2011-04-08 06:16:51 +00:00
Mark Andrews af19cac9eb isc_file_isplainfile 2011-04-08 05:35:14 +00:00
Automatic Updater da3348543d update 2011-04-08 05:16:49 +00:00
Mark Andrews e058e18cc7 dns_cache_create3 2011-04-08 04:45:44 +00:00
Automatic Updater 326287f050 update 2011-04-08 03:17:27 +00:00
Automatic Updater 969aad1486 9.8.1b1 2011-04-08 03:02:07 +00:00
Automatic Updater 4ef78de700 newcopyrights 2011-04-08 02:49:53 +00:00
Mark Andrews db01c31d2c 9.8.1b1 2011-04-08 02:43:47 +00:00
Automatic Updater f07d562b20 update 2011-04-07 23:17:04 +00:00
Mark Andrews 22cb217141 3096. [bug] Set KRB5_KTNAME before calling log_cred() in
dst_gssapi_acceptctx(). [RT #24004]
2011-04-07 23:05:01 +00:00
Automatic Updater 71b2d4121b update 2011-04-07 03:17:35 +00:00
Automatic Updater 3a0e66ee8e regen v9_8 2011-04-07 02:38:19 +00:00
Automatic Updater 6c2b11c3d4 update 2011-04-06 11:16:56 +00:00
Mark Andrews 7cb1434cf3 3095. [bug] Handle isolated reserved ports in the port range.
[RT #23957]
2011-04-06 10:30:08 +00:00
Automatic Updater ec828f7f7a update 2011-04-06 06:16:45 +00:00
Mark Andrews 038c944e14 3094. [doc] Expand dns64 documentation. 2011-04-06 05:20:59 +00:00
Automatic Updater d57ce903fd update 2011-04-05 07:16:50 +00:00
Mark Andrews 496b6de81d format portability: cast socklen_t -> long and use %ld 2011-04-05 06:35:00 +00:00
Automatic Updater 1b3d871813 update 2011-04-04 11:16:54 +00:00
Mark Andrews afc75dc9ec 1 -> 1U 2011-04-04 11:10:57 +00:00
Automatic Updater 663a5383f0 update 2011-04-02 08:17:00 +00:00
Mark Andrews 7d3c2d4dee 3opyright -> copyright 2011-04-02 08:04:15 +00:00
Automatic Updater 9fa0ddf8ae update 2011-03-31 16:16:48 +00:00
Evan Hunt 613b6fc9c7 Corrected a bug in the dnssec test introduced in change #3046. 2011-03-31 15:56:44 +00:00
Automatic Updater d664469406 update 2011-03-29 21:16:48 +00:00
Paul Ebersman 40bbb61b4d corrected RT bug number for changes 3091 to 22911 2011-03-29 20:25:00 +00:00
Automatic Updater 40b2c94fe8 update 2011-03-28 06:16:52 +00:00
Mark Andrews 8b415e804b unsigned constants 2011-03-28 05:36:05 +00:00
Mark Andrews 8e234ee3a2 unsigned constants 2011-03-28 05:22:25 +00:00
Automatic Updater 911edd38a7 update 2011-03-28 05:16:53 +00:00
Mark Andrews 3218c3f491 style 2011-03-28 05:14:18 +00:00
Mark Andrews 475175e93c while (1) -> for (;;) 2011-03-28 05:13:16 +00:00
Automatic Updater e4e2bab2d0 update 2011-03-28 04:17:34 +00:00
Mark Andrews 63b4606640 unsigned constants 2011-03-28 03:45:28 +00:00
Automatic Updater 09ceb169cf update 2011-03-28 00:17:20 +00:00
Automatic Updater 0c340e8dbe newcopyrights 2011-03-27 23:31:02 +00:00
Automatic Updater c590556d88 update 2011-03-27 07:16:47 +00:00
Mark Andrews 8ff7c149ec remove removed files 2011-03-27 06:35:29 +00:00
Automatic Updater 97ceade5ac update 2011-03-27 00:17:21 +00:00
Automatic Updater 44ecaec099 update copyright notice 2011-03-26 23:47:13 +00:00
Automatic Updater 71b801b169 newcopyrights 2011-03-26 23:31:00 +00:00
Automatic Updater 878a6d1d35 update 2011-03-26 01:16:59 +00:00
Evan Hunt b74ca0bcea Forgot to add a data file for the autosign test. 2011-03-26 01:08:26 +00:00
Automatic Updater f183502193 update 2011-03-26 00:17:20 +00:00
Evan Hunt f2f94ddeb4 3092. [bug] Signatures for records at the zone apex could go
stale due to an incorrect timer setting. [RT #23769]

3091.	[bug]		Fixed a bug in which zone keys that were published
			and then subsequently activated could fail to trigger
			automatic signing. [RT #22991]
2011-03-25 23:53:52 +00:00
Evan Hunt eaef2643e6 file delay.example.db was added on branch v9_8 on 2011-03-26 01:08:26 +0000 2011-03-25 03:39:42 +00:00
Automatic Updater fdf76f8271 update 2011-03-23 00:17:26 +00:00
Automatic Updater 5cabfa26d2 update copyright notice 2011-03-22 23:47:07 +00:00
Automatic Updater 344272f876 update 2011-03-22 20:17:19 +00:00
Scott Mann 5f523926a7 fixup for RT #23687 2011-03-22 19:39:02 +00:00
Automatic Updater f77a0c6474 update 2011-03-22 19:16:54 +00:00
Scott Mann abbd1825c8 Failed to add setup.sh for RT #23687. 2011-03-22 18:37:19 +00:00
Scott Mann bad80ece64 Remove bin/tests/system/logfileconfig/ns1/named.conf and add setup.sh
in order to resolve changing named.conf issue.  [RT #23687]
2011-03-22 18:24:08 +00:00
Automatic Updater 6db7f0127d update 2011-03-22 04:17:27 +00:00
Evan Hunt 71edc4cd46 Corrected a mistake that was exposed by change #3085 in 9.9 (though it
has no deleterious effect in 9.8 and earlier).
2011-03-22 03:21:17 +00:00
Automatic Updater e5e7273a62 update 2011-03-22 03:17:26 +00:00
Automatic Updater 25146eea0e regen v9_8 2011-03-22 02:37:47 +00:00
Automatic Updater 96fa983162 update 2011-03-22 00:17:08 +00:00
Automatic Updater df5b2dc59d update copyright notice 2011-03-21 23:46:59 +00:00
Automatic Updater c4eb21bf50 newcopyrights 2011-03-21 23:31:55 +00:00
Automatic Updater 2ca8ca5263 update 2011-03-21 21:16:55 +00:00
Mark Andrews 72c69a0276 adjust rt23702 test to take less time 2011-03-21 20:32:15 +00:00
Automatic Updater 52422449ae update 2011-03-21 20:16:51 +00:00
Evan Hunt 2cac211c0a 3087. [bug] DDNS updates using SIG(0) with update-policy match
type "external" could cause a crash. [RT #23735]
2011-03-21 19:53:35 +00:00
Automatic Updater df0a651bb0 update 2011-03-21 16:16:53 +00:00
Evan Hunt cb363bc246 3086. [bug] Running dnssec-settime -f on an old-style key will
now force an update to the new key format even if no
			other change has been specified, using "-P now -A now"
			as default values.  [RT #22474]
2011-03-21 15:56:12 +00:00
Automatic Updater 5a0c5d3a03 update 2011-03-21 04:17:26 +00:00
Mark Andrews 767f311173 wait longer for the nsec3chain generation to complete 2011-03-21 03:32:13 +00:00
Automatic Updater 615367bf33 update 2011-03-21 01:17:52 +00:00
Mark Andrews 38a1f591f1 3083. [bug] NOTIFY messages were not being sent when generating
a NSEC3 chain incrementally. [RT #23702]
2011-03-21 01:06:50 +00:00
Mark Andrews 494a6d2bd2 3082. [port] strtok_r is threads only. [RT #23747] 2011-03-21 00:31:52 +00:00
Automatic Updater 3b8c2fc441 update 2011-03-20 09:16:42 +00:00
Mark Andrews e8e00e61cc skip not untested 2011-03-20 09:03:19 +00:00
Automatic Updater 9d5a057817 update 2011-03-20 00:17:27 +00:00
Automatic Updater 3d17bbed19 update copyright notice 2011-03-19 23:47:24 +00:00
Automatic Updater 937400e9dd newcopyrights 2011-03-19 23:30:50 +00:00
Evan Hunt 0cda74f3f3 file example.nil.db.in was added on branch v9_8 on 2011-03-21 19:53:34 +0000 2011-03-19 22:36:06 +00:00
Automatic Updater c072bdf5e7 update 2011-03-19 02:16:42 +00:00
Evan Hunt 7ed60027f2 revert last commit, was applied to wrong branch by mistake 2011-03-19 02:08:44 +00:00
Evan Hunt cdb5d32d0c skip non-dynamic zones when calling "rndc freeze" on all zones. 2011-03-19 02:06:57 +00:00
Automatic Updater 176da43a84 update 2011-03-19 00:17:30 +00:00
Automatic Updater d1b1f7ca64 update copyright notice 2011-03-18 23:47:15 +00:00
Automatic Updater 3425454590 newcopyrights 2011-03-18 23:31:00 +00:00
Automatic Updater ebbb109ba0 update 2011-03-18 22:16:51 +00:00
Francis Dupont e057ea0537 add new dname test files 2011-03-18 21:28:52 +00:00
Francis Dupont 0b3465cc61 3081. [bug] Failure of DNAME substitution did not return
YXDOMAIN. [RT #23591]
2011-03-18 21:28:26 +00:00
Francis Dupont 1150d919dc add 23591 no-regression 2011-03-18 21:27:52 +00:00
Francis Dupont 8e8a1d612b fix too long with dname error 2011-03-18 21:25:18 +00:00
Automatic Updater 341c5e008f update 2011-03-18 09:16:55 +00:00
Francis Dupont 41d9e39988 3080. [cleanup] Replaced compile time constant by STDTIME_ON_32BITS.
[RT #23587]
2011-03-18 09:06:02 +00:00
Francis Dupont 7d264d8cf6 introduce STDTIME_ON_32BITS 2011-03-18 09:05:29 +00:00
Automatic Updater c6e784f44b update 2011-03-18 08:17:06 +00:00
Mark Andrews 85a1283940 3079. [bug] Handle isc_event_allocate failures in t_tasks.
[RT #23572]
2011-03-18 07:46:36 +00:00
Automatic Updater bd25899306 update 2011-03-18 05:17:14 +00:00
Evan Hunt 985d748703 ignore SIGPIPE in ans.pl; this is needed for debian. 2011-03-18 04:40:30 +00:00
Automatic Updater e9820f52b9 update 2011-03-18 02:16:48 +00:00
Evan Hunt df10a806ba fixed a missing / in /dev/null 2011-03-18 02:06:37 +00:00
Automatic Updater 4b8f62ca79 update 2011-03-18 00:17:24 +00:00
Automatic Updater b18bf607c8 update copyright notice 2011-03-17 23:47:06 +00:00
Automatic Updater 8b7ff0307e newcopyrights 2011-03-17 23:31:03 +00:00
Automatic Updater 38eb009c0f update 2011-03-17 10:16:49 +00:00
Francis Dupont 652c1fa9ab 3078. [func] Added a new include file with function typedefs
for the DLZ "dlopen" driver. [RT #23629]
2011-03-17 09:41:47 +00:00
Francis Dupont c38842e702 silent compiler warnings for DLZ exernal driver support and example 2011-03-17 09:41:07 +00:00
Francis Dupont 8e107fc964 missing changes from 23467 2011-03-17 09:40:08 +00:00
Automatic Updater 038b62397f update 2011-03-17 06:17:15 +00:00
Mark Andrews 5af77c3eec 3077. [bug] zone.c:zone_refreshkeys() incorrectly called
dns_zone_attach(), use zone->irefs instead. [RT #23303]
2011-03-17 05:27:52 +00:00
Automatic Updater 162a578c54 update 2011-03-17 02:16:49 +00:00
Mark Andrews 0180f3028a 3075. [bug] dns_dnssec_findzonekeys{2} used a inconsistant
timestamp when determining which keys are active.
                        [RT #23642]
2011-03-17 01:20:49 +00:00
Automatic Updater 6100eee7c4 update 2011-03-14 14:17:22 +00:00
Francis Dupont 8d7f9bed5a silent clang analyzer 2011-03-14 14:13:58 +00:00
Francis Dupont 624aa62045 isc_mutex_destroy() returns a value 2011-03-14 13:40:14 +00:00
Automatic Updater 0b777b7eec update 2011-03-14 00:18:00 +00:00
Automatic Updater 51e8cbacc5 update copyright notice 2011-03-13 23:47:14 +00:00
Automatic Updater a2e3c73e30 newcopyrights 2011-03-13 23:31:08 +00:00
Automatic Updater d24eafac45 update 2011-03-13 04:18:06 +00:00
Mark Andrews a1b458cbf8 3074. [bug] Make the adb cache read through for zone data and
glue learn for zone named is authoritative for.
                        [RT #22842]
2011-03-13 03:36:47 +00:00
Automatic Updater 33ca6fe730 update 2011-03-13 00:18:08 +00:00
Automatic Updater fafbfbdbe8 update copyright notice 2011-03-12 23:47:22 +00:00
Automatic Updater c123646e6e newcopyrights 2011-03-12 23:31:00 +00:00
Automatic Updater 4b9739f3ad update 2011-03-12 22:17:32 +00:00
Mark Andrews 27ea875fcd test for Net::DNS 2011-03-12 21:25:43 +00:00
Automatic Updater 77bd12a1d8 update 2011-03-12 05:17:53 +00:00
Automatic Updater b7f0a015a5 update copyright notice 2011-03-12 04:59:19 +00:00
Automatic Updater 47a68600fa newcopyrights 2011-03-12 04:56:18 +00:00
Automatic Updater 3e9e1bb25e update 2011-03-12 03:18:35 +00:00
Mark Andrews 5ab761022a bin/tests/system/common/rndc.key 2011-03-12 03:07:33 +00:00
Automatic Updater 1e5671f11a update 2011-03-11 18:24:25 +00:00
Evan Hunt af93cf1390 Forgot to initialize a fixedname 2011-03-11 17:20:39 +00:00
Automatic Updater b8ca5ecaab update 2011-03-11 14:17:23 +00:00
Mark Andrews 038e2f640a 3073. [bug] managed-keys changes were not properly being recorded.
[RT #20256]
2011-03-11 13:22:40 +00:00
Automatic Updater 7ee8d36789 update 2011-03-11 13:17:33 +00:00
Mark Andrews 8078730197 3072. [bug] dns_dns64_aaaaok() potential NULL pointer dereference.
[RT #20256]
2011-03-11 13:04:36 +00:00
Mark Andrews 2b7246e25e 3071. [bug] has_nsec could be used unintialised in
update.c:next_active. [RT #20256]
2011-03-11 12:54:11 +00:00
Mark Andrews 2b26fdab26 3070. [bug] dnssec-signzone potential NULL pointer dereference.
[RT #20256]
2011-03-11 12:40:37 +00:00
Automatic Updater 80142b3501 update 2011-03-11 07:17:28 +00:00
Evan Hunt 80ec1130d1 link driver.so from the .o file instead of the .lo file when building
with libtool.
2011-03-11 07:10:10 +00:00
Mark Andrews ac6edf67d5 3069. [cleanup] Silence warnings messages from clang static analysis.
[RT #20256]
2011-03-11 06:47:09 +00:00
Automatic Updater 4bb0f40317 update 2011-03-11 03:18:35 +00:00
Mark Andrews ccedc2f7fd pkey is only used if USE_ENGINE is defined or USE_EVP is 1 2011-03-11 02:57:35 +00:00
Automatic Updater f5ba65ec78 sync 2011-03-11 02:22:53 +00:00
Automatic Updater 46f59e0b8f update 2011-03-11 02:19:13 +00:00
Evan Hunt 901486f561 Reversing prior change, turns out not to be legal on all compilers. 2011-03-11 01:28:21 +00:00
Evan Hunt fb17286678 Silence a compiler warning by using #if comparison instead of if. No
CHANGES note because it's trivial. [RT #23587]
2011-03-11 01:21:13 +00:00
Automatic Updater 5a177de851 update 2011-03-11 01:17:44 +00:00
Mark Andrews e5d9416f4b 3068. [bug] Named failed to build with a OpenSSL without engine
support. [RT #23473]
2011-03-11 01:14:35 +00:00
Mark Andrews 7569efe572 3067. [bug] ixfr-from-differences {master|slave}; failed to
select the master/slave zones.  [RT #23580]
2011-03-11 00:47:28 +00:00
Automatic Updater 0587dde74f update 2011-03-11 00:21:26 +00:00
Automatic Updater fd4fce965f update copyright notice 2011-03-10 23:47:29 +00:00
Automatic Updater f4af24ed43 newcopyrights 2011-03-10 23:30:49 +00:00
Automatic Updater 6a5575925f update 2011-03-10 07:17:25 +00:00
Automatic Updater aa08c58a67 regen 2011-03-10 06:35:37 +00:00
Automatic Updater 04fec7b4ce update 2011-03-10 05:17:32 +00:00
Evan Hunt b2b2a5f7e5 3066. [func] The DLZ "dlopen" driver is now built by default,
no longer requiring a configure option.  To
			disable it, use "configure --without-dlopen".
			(Note: driver not supported on win32.) [RT #23467]
2011-03-10 04:29:18 +00:00
Automatic Updater 730f58ebbc update 2011-03-10 00:18:05 +00:00
Automatic Updater 78a66fab38 update copyright notice 2011-03-09 23:46:55 +00:00
Automatic Updater 3359c72de9 newcopyrights 2011-03-09 23:31:25 +00:00
Automatic Updater 2d94783a15 update 2011-03-09 08:17:31 +00:00
Mark Andrews 8a18732f4d 3065. [bug] RRSIG could have time stamps too far in the future.
[RT #23356]
2011-03-09 07:27:37 +00:00
Automatic Updater 87d276c0b5 update 2011-03-09 03:18:15 +00:00
Automatic Updater f08566bb9d regen v9_8 2011-03-09 02:37:51 +00:00
Automatic Updater 4d9dc6e3a4 update 2011-03-09 01:18:06 +00:00
Mark Andrews 5848a9cf8c remove removed files 2011-03-09 00:57:36 +00:00
Paul Ebersman 08b9038dcd corrected edns-udp-size min to 512 2011-03-09 00:52:25 +00:00
Automatic Updater 6192d039ca update 2011-03-08 03:18:01 +00:00
Automatic Updater 0564e5d16a sync 2011-03-08 02:26:22 +00:00
Automatic Updater 278f5eae16 update 2011-03-08 01:18:06 +00:00
Mark Andrews a4f385c8c4 add 'sync' to ISC_PLATFORM_USEMACASM build as well 2011-03-08 00:52:21 +00:00
Mark Andrews 074e05b119 DNAME not DS 2011-03-08 00:39:31 +00:00
Automatic Updater 03cb6cde09 update 2011-03-08 00:18:08 +00:00
Automatic Updater c503d8017d update copyright notice 2011-03-07 23:47:15 +00:00
Automatic Updater 81a6d2e184 newcopyrights 2011-03-07 23:31:05 +00:00
Evan Hunt 43e36156df file named.conf.in was added on branch v9_8 on 2011-03-10 04:29:17 +0000 2011-03-07 22:22:59 +00:00
Automatic Updater e7e69e8522 update 2011-03-07 22:17:31 +00:00
Evan Hunt 8a9cf3ddcc Style cleanup in DLZ LDAP driver. No functional change, no CHANGES note. 2011-03-07 22:01:42 +00:00
Automatic Updater c9c2729a22 update 2011-03-07 01:18:06 +00:00
Mark Andrews 7c1f3c9b5b 3064. [bug] powerpc: add sync instructions to the end of atomic
operations. [RT #23469]
2011-03-07 00:19:38 +00:00
Automatic Updater 08a9d0030a update 2011-03-06 00:17:54 +00:00
Automatic Updater e6cb7b9ab7 update copyright notice 2011-03-05 23:52:09 +00:00
Automatic Updater d577282f44 newcopyrights 2011-03-05 23:31:12 +00:00
Automatic Updater d7eab6baa1 update 2011-03-05 23:17:39 +00:00
Evan Hunt 16856b78bf 3063. [contrib] More verbose error reporting from DLZ LDAP. [RT #23402] 2011-03-05 23:10:08 +00:00
Automatic Updater ae74187f4e update 2011-03-05 03:17:52 +00:00
Mark Andrews 10df90ff08 add #include <isc/file.h> 2011-03-05 03:08:10 +00:00
Automatic Updater 8d7e9b71a7 update 2011-03-05 02:38:39 +00:00
Automatic Updater da4f10594b update 2011-03-05 00:18:03 +00:00
Automatic Updater 3dd68287f9 update copyright notice 2011-03-04 23:47:28 +00:00
Automatic Updater 59a2f7303d update 2011-03-04 22:17:29 +00:00
Evan Hunt 958e5acd60 3059. [test] Added a regression test for change #3023. 2011-03-04 22:03:27 +00:00
Automatic Updater b0a697dfba update 2011-03-04 15:17:28 +00:00
Scott Mann 7a815e7927 Adding missing test files for RT22771. 2011-03-04 15:06:46 +00:00
Automatic Updater f9c448e4ad update 2011-03-04 14:17:25 +00:00
Scott Mann d31b2fb85d Ensure that log files are plain files. (RT #22771) 2011-03-04 14:10:13 +00:00
Evan Hunt 390b94f32b file dlopen.c was added on branch v9_8 on 2011-03-10 04:29:16 +0000 2011-03-04 05:18:40 +00:00
Evan Hunt cdcfe41ff8 file Makefile.in was added on branch v9_8 on 2011-03-10 04:29:16 +0000 2011-03-04 05:18:38 +00:00
Evan Hunt 539afbd1fd file driver.h was added on branch v9_8 on 2011-03-10 04:29:16 +0000 2011-03-04 03:59:10 +00:00
Evan Hunt 17f3810ede file driver.c was added on branch v9_8 on 2011-03-10 04:29:16 +0000 2011-03-04 03:59:09 +00:00
Evan Hunt 760f4b4933 file dlz_dlopen_driver.c was added on branch v9_8 on 2011-03-10 04:29:16 +0000 2011-03-04 03:59:07 +00:00
Automatic Updater c28cefb4a6 update 2011-03-04 03:18:19 +00:00
Automatic Updater a183ee8e78 sync 2011-03-04 02:25:00 +00:00
Automatic Updater e7e6c01424 update 2011-03-04 00:18:04 +00:00
Automatic Updater 23384a3227 update copyright notice 2011-03-03 23:47:09 +00:00
Automatic Updater 5df1736516 newcopyrights 2011-03-03 23:31:14 +00:00
Automatic Updater 66709ca5c6 update 2011-03-03 17:17:23 +00:00
Evan Hunt bcfe6d5d75 3057. [bug] "rndc secroots" would abort after the first error
and so could miss some views. [RT #23488]
2011-03-03 16:18:12 +00:00
Automatic Updater 764b20509e update 2011-03-03 15:17:23 +00:00
Francis Dupont 4fe90f5f55 regen 2011-03-03 14:51:59 +00:00
Automatic Updater a1a0f160bc update 2011-03-03 14:17:28 +00:00
Francis Dupont e61f163718 3054. [bug] Added elliptic curve support check in
GOST OpenSSL engine detection. [RT #23485]
2011-03-03 13:51:04 +00:00
Francis Dupont 2210cdeffb add EC check for GOST 2011-03-03 13:50:27 +00:00
Automatic Updater ec473e73c1 update 2011-03-03 12:17:26 +00:00
Mark Andrews 791d82410f cat the output as atf-report truncates stdout 2011-03-03 11:23:19 +00:00
Automatic Updater 7f10e137d7 update 2011-03-03 08:17:29 +00:00
Mark Andrews 34f0e53260 use csv output format. ticker not suitable for robie 2011-03-03 07:59:47 +00:00
Automatic Updater af5c304c90 update 2011-03-03 05:17:48 +00:00
Evan Hunt 8590157237 3053. [bug] Under a sustained high query load with a finite
max-cache-size, it was possible for cache memory
			to be exhausted and not recovered. [RT #23371]
2011-03-03 04:43:02 +00:00
Automatic Updater 2212caf345 update 2011-03-03 00:18:03 +00:00
Automatic Updater 343af1a538 update copyright notice 2011-03-02 23:47:27 +00:00
Automatic Updater 5e509a597b newcopyrights 2011-03-02 23:30:58 +00:00
Evan Hunt 8c4175bcbd file dlz_dlopen_driver.h was added on branch v9_8 on 2011-03-10 04:29:15 +0000 2011-03-02 19:27:06 +00:00
Automatic Updater e4ab66dfed update 2011-03-02 16:17:25 +00:00
Automatic Updater c8620b9b38 regen 2011-03-02 15:23:29 +00:00
Automatic Updater 95fdc5baaf update 2011-03-02 09:17:36 +00:00
Francis Dupont 296d7590e5 Fixed last autosign test report [RT #23256] 2011-03-02 09:05:19 +00:00
Automatic Updater 0125f0d177 update 2011-03-02 07:17:28 +00:00
Evan Hunt 404bb92069 add MISSING=: to ATF configure arguments to suppress checks for
missing autotools files
2011-03-02 06:40:12 +00:00
Automatic Updater 7a33e6985a update 2011-03-02 05:17:32 +00:00
Mark Andrews f890808aa3 3051. [bug] NS records obsure DS records at the bottom of the
zone if both are present. [RT #23035]
2011-03-02 04:47:11 +00:00
Mark Andrews 103e16f85a 3051. [bug] NS records obsure DS records at the bottom of the
zone if both are present. [RT #23035]
2011-03-02 04:27:59 +00:00
Automatic Updater 7f968dbcf9 update 2011-03-02 04:18:04 +00:00
Mark Andrews e68828ad36 3050. [bug] The autosign system test was timing dependent.
Wait for the initial autosigning to complete
                        before running the rest of the test. [RT #23035]
2011-03-02 04:11:28 +00:00
Automatic Updater a3dce76a69 update 2011-03-02 03:18:05 +00:00
Mark Andrews 65a9633ac2 s/3039/3049/ 2011-03-02 03:04:52 +00:00
Automatic Updater ae648e5751 update 2011-03-02 00:17:34 +00:00
Mark Andrews 85b6ed540e 3039. [bug] Save and restore the gid when creating creating
named.pid at startup. [RT #23290]
2011-03-02 00:04:01 +00:00
Automatic Updater 816ee9ac40 update copyright notice 2011-03-01 23:47:38 +00:00
Automatic Updater 4ec655d3ef newcopyrights 2011-03-01 23:30:47 +00:00
Mark Andrews 660f8f1b78 3048. [bug] Fully seperate view key mangement. [RT #23419] 2011-03-01 23:15:21 +00:00
Automatic Updater 0f85f8903f update 2011-03-01 15:17:52 +00:00
Scott Mann 47e68a14fb Fixed DNSKEY NODATA responses not cached (RT #22908). 2011-03-01 14:42:16 +00:00
Automatic Updater 54475493db update 2011-03-01 00:17:50 +00:00
Automatic Updater 10f412c490 update copyright notice 2011-02-28 23:47:04 +00:00
Automatic Updater bc93947f01 update 2011-02-28 17:17:43 +00:00
Automatic Updater a727dc1c2c autoreconf in hopes of silencing robie warnings 2011-02-28 16:45:13 +00:00
Automatic Updater 31c5a8ae1b update 2011-02-28 15:17:28 +00:00
Francis Dupont e83c5eb545 Use RRSIG original TTL in validated RRset TTL [RT #23332] 2011-02-28 14:25:17 +00:00
Automatic Updater b85990d13c update 2011-02-28 13:17:33 +00:00
Mark Andrews 5f3a264fe3 3044. [bug] Hold the socket manager lock while freeing the socket.
[RT #23333]
2011-02-28 12:51:28 +00:00
Automatic Updater 8b148f14da update 2011-02-28 04:57:44 +00:00
Automatic Updater 75295d675e update 2011-02-28 03:16:52 +00:00
Automatic Updater d18d92b9d7 regen v9_8 2011-02-28 02:37:44 +00:00
Automatic Updater 195b88fc33 update 2011-02-28 02:16:44 +00:00
Automatic Updater 09bde3103b update copyright notice 2011-02-28 01:20:05 +00:00
Automatic Updater 661ea87d08 update 2011-02-28 01:16:27 +00:00
Automatic Updater f63807d797 regen 2011-02-28 01:10:45 +00:00
Mark Andrews 61ab9cbe2a elseif -> elsif 2011-02-28 01:09:09 +00:00
Mark Andrews 20beca7611 atf source maintains it's own copyright 2011-02-28 01:04:03 +00:00
Automatic Updater 8de2e8a50a update 2011-02-27 14:15:49 +00:00
Mark Andrews aa7ab306c5 only run test if ATFBIN defined 2011-02-27 14:12:16 +00:00
Mark Andrews 7a1f7f8e1c regen 2011-02-27 13:30:04 +00:00
Mark Andrews 42afc06562 remove space between -L path 2011-02-27 13:24:37 +00:00
Automatic Updater bbd49ef3b3 update 2011-02-27 10:33:05 +00:00
Mark Andrews bbd8d6d749 regen 2011-02-27 06:17:04 +00:00
Evan Hunt f58f3a5720 use 'sh ./configure' since configure might not be executable... 2011-02-26 02:52:45 +00:00
Evan Hunt 6d79a5b409 3043. [test] Merged in the NetBSD ATF test framework (currently
version 0.12) for development of future unit tests.
                        Use configure --with-atf to build ATF internally
                        or configure --with-atf=prefix to use an external
                        copy.  [RT #23209]
2011-02-26 02:37:31 +00:00
Evan Hunt 5e28c614c2 minor typo 2011-02-25 23:13:08 +00:00
Evan Hunt a9a9e8b73b 3042. [bug] dig +trace could fail attempting to use IPv6
addresses on systems with only IPv4 connectivity.
			[RT# 23797]
2011-02-25 23:08:33 +00:00
Mark Andrews b603f19738 3041. [bug] dnssec-signzone failed to generate new signatures on
ttl changes. [RT #23330]
2011-02-24 03:11:48 +00:00
Mark Andrews 8d59a69b90 3040. [bug] Named failed to validate insecure zones where a node
with a CNAME existed between the trust anchor and the
                        top of the zone. [RT #23338]
2011-02-23 11:36:03 +00:00
Mark Andrews 90a3e56c92 change numbers 2011-02-23 03:12:01 +00:00
Mark Andrews 78a3019376 2038. [bug] Install <dns/rpz.h>. [RT #23342] 2011-02-22 11:50:42 +00:00
Automatic Updater 90947acb17 update 2011-02-22 07:15:48 +00:00
Mark Andrews 0f58e4c274 2037. [doc] Update COPYRIGHT to contain all the individual
copyright notices that cover various parts.
2011-02-22 06:34:47 +00:00
Automatic Updater 9194f1dc2b update 2011-02-22 05:15:38 +00:00
Mark Andrews accc76cbee 2036. [bug] Check built-in zone arguments to see if the zone
is re-usable or not. [RT #21914]
2011-02-22 04:25:57 +00:00
Automatic Updater 0125aee67e update 2011-02-21 08:15:45 +00:00
Mark Andrews 5defc25661 3035. [cleanup] Simplify by using strlcpy. [RT #22521] 2011-02-21 07:36:41 +00:00
Mark Andrews 6e4dc1386e 3034. [cleanup] nslookup: use strlcpy instead of safecopy. [RT #22521] 2011-02-21 07:25:51 +00:00
Mark Andrews 63c61f34fd check for snprintf failure. [RT #22521] 2011-02-21 07:16:16 +00:00
Automatic Updater ed5c4f5010 update 2011-02-21 07:15:44 +00:00
Mark Andrews 6afa197cd5 3033. [cleanup] Add two INSIST(bucket != DNS_ADB_INVALIDBUCKET).
[RT #22521]
2011-02-21 07:10:15 +00:00
Mark Andrews b1cf9755e7 3032. [bug] rdatalist.c: add missing REQUIREs. [RT #22521] 2011-02-21 07:03:01 +00:00
Mark Andrews 5ed1b7bdef 3031. [bug] dns_rdataclass_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:52:20 +00:00
Mark Andrews a06fa348e7 3030. [bug] dns_rdatatype_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:43:23 +00:00
Mark Andrews 6efe8f6471 3029. [bug] isc_netaddr_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:32:19 +00:00
Mark Andrews 167ed9d3f0 3028. [bug] isc_sockaddr_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:21:24 +00:00
Automatic Updater be1b103354 update 2011-02-21 06:15:47 +00:00
Mark Andrews 2ed1583ad5 3027. [bug] Add documented REQUIREs to cfg_obj_asnetprefix() to
catch NULL pointer dereferences before they happen.
                        [RT #22521]
2011-02-21 06:11:14 +00:00
Mark Andrews 38e922db26 3026. [bug] lib/isc/httpd.c: check that we have enough space
after calling grow_headerspace() and if not
                        re-call grow_headerspace() until we do. [RT #22521]
2011-02-21 05:57:17 +00:00
Automatic Updater 6544fc9d3f update 2011-02-21 03:16:37 +00:00
Mark Andrews 89e60b8333 update 2011-02-21 02:36:56 +00:00
Automatic Updater fcbe2d4aa5 update 2011-02-21 00:16:32 +00:00
Mark Andrews 12621877ce spelling 2011-02-21 00:05:21 +00:00
Automatic Updater 57a83d62f4 update 2011-02-20 01:15:44 +00:00
Mark Andrews eedef1721f spelling 2011-02-20 00:57:19 +00:00
Automatic Updater 48e7aa82ed update 2011-02-19 09:15:34 +00:00
Evan Hunt dea9ec67aa added for 9.8.0 2011-02-19 08:26:15 +00:00
Evan Hunt f1fd579ebf update for 9.8.0 release 2011-02-19 08:21:16 +00:00
Automatic Updater e3caa233c4 update 2011-02-19 08:15:35 +00:00
Automatic Updater 5b5b29dd41 update ARM PDF for 9.8.0 2011-02-19 08:08:29 +00:00
Evan Hunt 6c2866016e bump api versions 2011-02-19 07:46:45 +00:00
Automatic Updater 536c629869 update 2011-02-19 02:16:11 +00:00
Evan Hunt d03a406298 Fixed incorrect library link order in libisccc and libisccfg 2011-02-19 01:29:31 +00:00
Evan Hunt 8cbaa894db Fixed an error in change 3023, ensuring that journal file isn't
removed after IXFR.  No CHANGES note.
2011-02-19 01:21:27 +00:00
Automatic Updater 77e5c840f0 update 2011-02-19 00:16:21 +00:00
Michael Graff d5038d6782 catch two unused function params, followup to RT#23310 2011-02-18 23:41:51 +00:00
Evan Hunt 7ff8511bf5 3025. [bug] Fixed a possible deadlock due to zone resigning.
[RT #22964]
2011-02-18 23:23:08 +00:00
Automatic Updater b5884ddca4 update 2011-02-18 23:15:27 +00:00
Michael Graff 0a95e19684 pull up rt23310 to v9_8 2011-02-18 23:04:04 +00:00
Automatic Updater 5627801804 update 2011-02-18 22:15:42 +00:00
Evan Hunt 0b706ad300 3023. [bug] Named could be left in an inconsistent state when
receiving multiple AXFR response messages that were
			not all TSIG-signed. [RT #23254]
2011-02-18 21:26:04 +00:00
Automatic Updater 0fea1c2b76 update 2011-02-18 16:15:31 +00:00
Scott Mann ff6618557c Fix prz SERVFAILs after failed zone transfer (RT23246) 2011-02-18 15:27:58 +00:00
Automatic Updater 22c3e5ed97 update 2011-02-18 04:16:20 +00:00
Mark Andrews 9b80b2f483 silence: warning: 'manager_log' defined but not used 2011-02-18 04:01:16 +00:00
Automatic Updater dd9eb51236 update 2011-02-18 00:16:27 +00:00
Automatic Updater d0e2773727 update copyright notice 2011-02-17 23:46:51 +00:00
Automatic Updater 43625ec30e update 2011-02-17 05:15:36 +00:00
Mark Andrews 8bcd6523a7 simplify zone_signwithkey call 2011-02-17 04:56:03 +00:00
Automatic Updater 434277b7fd update 2011-02-17 03:16:43 +00:00
Mark Andrews bf9e176e23 ensure that the DNSKEY rrset get re-signed even if it hasn't been
updated in sign_apex.
2011-02-17 03:03:41 +00:00
Automatic Updater 862650a376 update 2011-02-16 20:15:36 +00:00
Evan Hunt 8920c09ea3 3021. [bug] Change #3010 was incomplete. [RT #22296] 2011-02-16 19:46:12 +00:00
Automatic Updater 79a30769c0 update 2011-02-15 22:15:35 +00:00
Mark Andrews 32f0239b5d 3020. [bug] auto-dnssec failed to correctly update the zone when
changing the DNSKEY RRset. [RT #23232]
2011-02-15 22:06:27 +00:00
Automatic Updater 9297aca9a8 update 2011-02-15 00:16:32 +00:00
Mark Andrews 3524f3dfa0 3019. [func] Test: check apex NSEC3 records after adding DNSKEY
record via UPDATE. [RT #23229]
2011-02-14 23:59:33 +00:00
Automatic Updater d3e0828971 update 2011-02-08 23:17:20 +00:00
Mark Andrews 24035989ce re-tag 9.8.0rc1, adjust resolver-query-timeout for 30 sec default 2011-02-08 23:01:44 +00:00
Mark Andrews 8e7e8fdec5 DEFAULT_QUERY_TIMEOUT 30 2011-02-08 22:56:53 +00:00
Automatic Updater dddd81dcd0 update 2011-02-08 04:16:26 +00:00
Mark Andrews 8dacc63d9f Regression test for:
3018.   [bug]           Named failed to check for the "none;" acl when deciding
                        if a zone may need to be re-signed. [RT #23120]
2011-02-08 03:48:22 +00:00
Automatic Updater b5d6d5cc21 update 2011-02-07 13:16:15 +00:00
Mark Andrews 969088d9d0 missing [ 2011-02-07 12:26:31 +00:00
Automatic Updater 706c9d7abd update 2011-02-07 00:16:34 +00:00
Mark Andrews f267d9efc9 3018. [bug] Named failed to check for the "none;" acl when deciding
if a zone may need to be re-signed. RT #23120]
2011-02-07 00:14:30 +00:00
Automatic Updater 2d28d73566 update 2011-02-03 14:15:26 +00:00
Mark Andrews f42d869ded dns_resolver_settimeout 2011-02-03 13:28:55 +00:00
Mark Andrews e3a3c7e2d2 dns_resolver_settimeout 2011-02-03 13:21:22 +00:00
Automatic Updater 14a89b06a8 update 2011-02-03 13:16:24 +00:00
Automatic Updater 052a4286ce 9.8.0rc1 2011-02-03 13:05:34 +00:00
Automatic Updater 81ed53a54e regen v9_8 2011-02-03 12:29:19 +00:00
Automatic Updater ddbe4c63e4 update copyright notice 2011-02-03 12:17:50 +00:00
Mark Andrews f77df77084 9.8.1rc1 2011-02-03 12:14:20 +00:00
Mark Andrews f5f997afa8 3017. [doc] dnssec-keyfromlabel -I was not properly documented.
[RT #22887]
2011-02-03 11:59:29 +00:00
Mark Andrews 6722fa9c4b 3016. [bug] rndc usage missing '-b'. [RT #22937] 2011-02-03 11:47:30 +00:00
Automatic Updater 633ab45b89 update 2011-02-03 09:15:43 +00:00
Mark Andrews 3f07721e3a 3015. [port] win32: fix IN6_IS_ADDR_LINKLOCAL and
IN6_IS_ADDR_SITELOCAL macros. [RT #22724]
2011-02-03 08:16:30 +00:00
Automatic Updater 06489f7f9f update 2011-02-03 08:15:40 +00:00
Mark Andrews f82e44954d 3013. [bug] The DNS64 ttl was not always being set as expected.
[RT #23034]
2011-02-03 07:39:03 +00:00
Automatic Updater ac2e11edd1 update 2011-02-03 07:15:35 +00:00
Mark Andrews 50b497c04f spelling 2011-02-03 06:19:32 +00:00
Mark Andrews 1d782ffb79 3012. [bug] Remove DNSKEY TTL change pairs before generating
signing records for any remaing DNSKEY changes.
                        [RT #22590]
2011-02-03 06:18:51 +00:00
Automatic Updater 4da5de04a4 update 2011-02-03 06:15:32 +00:00
Mark Andrews d6c9df295c regen 2011-02-03 05:52:35 +00:00
Mark Andrews ea09a134fd 3011. [func] Change the default query timeout from 30 seconds
to 10.  Allow setting this in named.conf using the new
                        'resolver-query-timeout' option, which specifies a max
                        time in seconds.  0 means 'default' and anything longer
                        than 30 will be silently set to 30. [RT #22852]
2011-02-03 05:50:08 +00:00
Automatic Updater 07abfa1856 update 2011-02-03 01:15:35 +00:00
Evan Hunt 4bfb1e97f5 3010. [bug] Fixed a bug where "rndc reconfig" stopped the timer
for refreshing managed-keys. [RT #22296]
2011-02-03 00:20:51 +00:00
Automatic Updater 7b6f57b947 update 2011-01-30 01:15:41 +00:00
cvs2git 0d37a8e5ff This commit was manufactured by cvs2git to create branch 'v9_8'. 2011-01-28 23:16:40 +00:00
cvs2git 0ce18fd46d This commit was manufactured by cvs2git to create branch 'rt23034'. 2011-01-28 00:16:18 +00:00
cvs2git b22b86c923 This commit was manufactured by cvs2git to create branch 'rt22992'. 2011-01-23 01:15:33 +00:00
cvs2git 3585edf932 This commit was manufactured by cvs2git to create branch 'rt22863'. 2011-01-11 23:47:15 +00:00
cvs2git 5b8f9da639 This commit was manufactured by cvs2git to create branch 'rt22141'. 2011-01-10 13:15:28 +00:00
cvs2git dcd97d5d3b This commit was manufactured by cvs2git to create branch 'rt22820'. 2011-01-08 00:33:13 +00:00
cvs2git e7ab25a683 This commit was manufactured by cvs2git to create branch 'rt22769'. 2010-12-20 00:16:15 +00:00
cvs2git 24d943313b This commit was manufactured by cvs2git to create branch 'rt19203'. 2010-12-15 19:15:28 +00:00
cvs2git 4517e76c97 This commit was manufactured by cvs2git to create branch 'rt22589'. 2010-12-10 20:15:31 +00:00
cvs2git 9ca5f68308 This commit was manufactured by cvs2git to create branch 'rt22493'. 2010-12-09 08:16:10 +00:00
cvs2git ad374d6365 This commit was manufactured by cvs2git to create branch 'rt22672'. 2010-12-08 05:15:30 +00:00
cvs2git 9d3f8c6cd6 This commit was manufactured by cvs2git to create branch 'rt22639'. 2010-12-03 01:15:39 +00:00
cvs2git f6761c1dbe This commit was manufactured by cvs2git to create branch 'rt22629'. 2010-12-02 05:16:37 +00:00
cvs2git 2160f7349b This commit was manufactured by cvs2git to create branch 'rt21726'. 2010-11-30 03:16:35 +00:00
Mark Andrews 3fb1dcf2e1 file release-notes.css was added on branch v9_8 on 2011-08-24 01:53:51 +0000 2010-11-29 00:41:04 +00:00
cvs2git f50d3a09a4 This commit was manufactured by cvs2git to create branch 'rt22108'. 2010-11-19 00:16:40 +00:00
cvs2git 291726b77a This commit was manufactured by cvs2git to create branch 'rt22413'. 2010-11-18 00:24:01 +00:00
cvs2git f6c621c00c This commit was manufactured by cvs2git to create branch 'rt22521'. 2010-11-16 05:38:32 +00:00
cvs2git 700770143a This commit was manufactured by cvs2git to create branch 'rt22418'. 2010-11-03 01:15:28 +00:00
cvs2git 2aaf9353e0 This commit was manufactured by cvs2git to create branch 'rt22363'. 2010-10-25 23:16:40 +00:00
cvs2git 78ba44ee49 This commit was manufactured by cvs2git to create branch 'rt22388'. 2010-10-20 00:16:22 +00:00
cvs2git 0e7200d27c This commit was manufactured by cvs2git to create branch 'rt22288'. 2010-10-04 23:15:39 +00:00
cvs2git d80b02d840 This commit was manufactured by cvs2git to create branch 'rt21702'. 2010-09-24 09:16:22 +00:00
cvs2git 424d5fb808 This commit was manufactured by cvs2git to create branch 'rt22076'. 2010-09-14 00:15:53 +00:00
cvs2git 6b8c886901 This commit was manufactured by cvs2git to create branch 'rt21914'. 2010-09-13 04:16:05 +00:00
cvs2git c29a1a1fe6 This commit was manufactured by cvs2git to create branch 'rt22059'. 2010-09-08 00:16:24 +00:00
cvs2git c44647fc28 This commit was manufactured by cvs2git to create branch 'rt21670'. 2010-09-06 05:15:46 +00:00
cvs2git 6eb5af1a13 This commit was manufactured by cvs2git to create branch 'rt21919'. 2010-09-06 05:15:45 +00:00
cvs2git 47914eb8ba This commit was manufactured by cvs2git to create branch 'rt21991'. 2010-08-26 00:16:02 +00:00
cvs2git 920b93389c This commit was manufactured by cvs2git to create branch 'rt21918'. 2010-08-16 06:15:26 +00:00
cvs2git 8f3773265c This commit was manufactured by cvs2git to create branch 'rt21906'. 2010-08-13 10:49:59 +00:00
cvs2git d21fdbb801 This commit was manufactured by cvs2git to create branch 'rt21818'. 2010-08-05 23:16:31 +00:00
cvs2git 45045ac0f6 This commit was manufactured by cvs2git to create branch 'rt21050'. 2010-07-15 02:15:24 +00:00
cvs2git 6917bd56f8 This commit was manufactured by cvs2git to create branch 'rt21710'. 2010-07-12 04:15:22 +00:00
cvs2git 7e24f34ceb This commit was manufactured by cvs2git to create branch 'rt19447'. 2010-07-09 05:15:56 +00:00
cvs2git 6741cb0e9f This commit was manufactured by cvs2git to create branch 'rt20363'. 2010-07-07 08:15:18 +00:00
cvs2git 4ab336ab93 This commit was manufactured by cvs2git to create branch 'rt19737'. 2010-07-02 00:15:44 +00:00
cvs2git de8de39894 This commit was manufactured by cvs2git to create branch 'rt21610'. 2010-06-29 03:15:59 +00:00
cvs2git 01957ecbc9 This commit was manufactured by cvs2git to create branch 'rt18046b'. 2010-06-28 04:15:45 +00:00
cvs2git 6f1bca4f86 This commit was manufactured by cvs2git to create branch 'rt21594'. 2010-06-25 04:15:33 +00:00
cvs2git 62d2bc9248 This commit was manufactured by cvs2git to create branch 'rt21581'. 2010-06-23 04:15:55 +00:00
cvs2git 5d3f406427 This commit was manufactured by cvs2git to create branch 'rt20639a'. 2010-06-22 07:15:28 +00:00
cvs2git 7a38ec372a This commit was manufactured by cvs2git to create branch 'rt21555'. 2010-06-22 04:15:32 +00:00
cvs2git 2448e863aa This commit was manufactured by cvs2git to create branch 'rt21351'. 2010-06-15 15:15:17 +00:00
cvs2git 05ac8e2260 This commit was manufactured by cvs2git to create branch 'rt19878'. 2010-06-09 02:21:35 +00:00
cvs2git 7793a3ceb6 This commit was manufactured by cvs2git to create branch 'rt21474'. 2010-06-07 22:45:43 +00:00
cvs2git 68253c2be6 This commit was manufactured by cvs2git to create branch 'rt21451'. 2010-06-03 06:35:46 +00:00
cvs2git 572f4eed39 This commit was manufactured by cvs2git to create branch 'rt21444a'. 2010-06-03 05:23:28 +00:00
cvs2git c8da13655a This commit was manufactured by cvs2git to create branch 'rt21409'. 2010-05-29 23:19:16 +00:00
cvs2git 0521fd9221 This commit was manufactured by cvs2git to create branch 'rt21416'. 2010-05-28 04:23:52 +00:00
cvs2git f23ef8064b This commit was manufactured by cvs2git to create branch 'rt21394'. 2010-05-27 00:20:42 +00:00
cvs2git 7d9e584e70 This commit was manufactured by cvs2git to create branch 'rt21364'. 2010-05-22 01:16:27 +00:00
cvs2git 403cf931a5 This commit was manufactured by cvs2git to create branch 'rt20924a'. 2010-04-27 04:21:55 +00:00
cvs2git 10cbbf1dca This commit was manufactured by cvs2git to create branch 'rt21154'. 2010-04-14 22:16:43 +00:00
cvs2git bbf2a526c1 This commit was manufactured by cvs2git to create branch 'rt21097'. 2010-04-10 00:20:56 +00:00
cvs2git c864811b8b This commit was manufactured by cvs2git to create branch 'rt21122'. 2010-04-08 00:21:16 +00:00
cvs2git 8dfcdc648d This commit was manufactured by cvs2git to create branch 'rt20994'. 2010-03-13 00:21:02 +00:00
cvs2git 5b57b79c3b This commit was manufactured by cvs2git to create branch 'rt20986'. 2010-03-12 04:20:47 +00:00
cvs2git 88e0501bec This commit was manufactured by cvs2git to create branch 'rt20997'. 2010-03-10 03:22:18 +00:00
cvs2git 1925151d1e This commit was manufactured by cvs2git to create branch 'rt21045'. 2010-03-06 05:35:51 +00:00
cvs2git d102d85272 This commit was manufactured by cvs2git to create branch 'rt15610'. 2010-02-07 01:16:43 +00:00
cvs2git 61b7dc6f3d This commit was manufactured by cvs2git to create branch 'rt20945'. 2010-02-03 02:17:51 +00:00
cvs2git b8f8a14df0 This commit was manufactured by cvs2git to create branch 'rt20800'. 2010-01-27 23:18:52 +00:00
cvs2git 318295c368 This commit was manufactured by cvs2git to create branch 'rt20842a'. 2010-01-27 00:20:52 +00:00
cvs2git 9924d158ef This commit was manufactured by cvs2git to create branch 'rt20903'. 2010-01-23 01:17:08 +00:00
cvs2git 5116d5561f This commit was manufactured by cvs2git to create branch 'rt20924'. 2010-01-22 13:17:13 +00:00
cvs2git a5b560ed0c This commit was manufactured by cvs2git to create branch 'rt20901a'. 2010-01-20 01:16:34 +00:00
cvs2git 2cd372f39a This commit was manufactured by cvs2git to create branch 'rt20845'. 2010-01-17 01:16:48 +00:00
cvs2git 40e87e2e1e This commit was manufactured by cvs2git to create branch 'rt20901'. 2010-01-15 00:20:15 +00:00
cvs2git 5c53f876d9 This commit was manufactured by cvs2git to create branch 'rt20899'. 2010-01-14 00:19:35 +00:00
cvs2git eafa43dfa0 This commit was manufactured by cvs2git to create branch 'rt20804'. 2010-01-11 11:17:15 +00:00
cvs2git 61644bc71b This commit was manufactured by cvs2git to create branch 'rt20801a'. 2010-01-10 00:19:48 +00:00
cvs2git 8421b1a038 This commit was manufactured by cvs2git to create branch 'rt20839'. 2010-01-09 00:20:09 +00:00
cvs2git 6dd8cb3e25 This commit was manufactured by cvs2git to create branch 'rt20865'. 2010-01-07 21:52:13 +00:00
cvs2git 7f9ecbe196 This commit was manufactured by cvs2git to create branch 'rt20819'. 2010-01-07 00:19:44 +00:00
cvs2git 1c95b2a42b This commit was manufactured by cvs2git to create branch 'rt20831'. 2010-01-05 16:17:11 +00:00
Mark Andrews eab5d85025 file Makefile.in was added on branch rt20801a on 2010-06-17 03:51:17 +0000 2009-12-31 09:28:11 +00:00
cvs2git d377237772 This commit was manufactured by cvs2git to create branch 'rt20784'. 2009-12-29 09:17:24 +00:00
cvs2git 0573a26941 This commit was manufactured by cvs2git to create branch 'rt20737_jinmei'. 2009-12-24 18:17:18 +00:00
cvs2git 4b942841d9 This commit was manufactured by cvs2git to create branch 'rt20759'. 2009-12-21 05:17:56 +00:00
cvs2git 302933bb93 This commit was manufactured by cvs2git to create branch 'rt20760'. 2009-12-19 01:16:41 +00:00
cvs2git 75c22c33f8 This commit was manufactured by cvs2git to create branch 'rt20737'. 2009-12-17 01:16:45 +00:00
cvs2git ef5dacc928 This commit was manufactured by cvs2git to create branch 'rt20705'. 2009-12-08 23:18:40 +00:00
cvs2git 2b32144429 This commit was manufactured by cvs2git to create branch 'v9_7'. 2009-12-08 05:17:02 +00:00
cvs2git a13f708bb6 This commit was manufactured by cvs2git to create branch 'rt20679'. 2009-12-04 22:45:12 +00:00
cvs2git 2049d24199 This commit was manufactured by cvs2git to create branch 'rt20670'. 2009-12-03 05:19:52 +00:00
cvs2git c2f923f320 This commit was manufactured by cvs2git to create branch 'rt20678'. 2009-11-30 22:16:57 +00:00
cvs2git 1528f83532 This commit was manufactured by cvs2git to create branch 'rt20663'. 2009-11-24 23:48:13 +00:00
Francis Dupont 822c2d3a41 file opensslgost_link.c was added on branch rt20639a on 2010-06-22 17:38:27 +0000 2009-11-21 04:24:07 +00:00
Francis Dupont b617f174f4 file opensslgost_link.c was added on branch rt21918 on 2010-08-16 10:29:23 +0000 2009-11-21 04:24:06 +00:00
Mark Andrews e8074841e9 file EXCLUDED was added on branch v9_7 on 2010-12-10 01:49:33 +0000 2001-10-19 00:30:31 +00:00
Mark Andrews 9950e588fe file EXCLUDED was added on branch v9_8 on 2011-04-08 02:43:46 +0000 2001-10-19 00:30:30 +00:00
1614 changed files with 185836 additions and 26093 deletions
-9
View File
@@ -1,9 +0,0 @@
Makefile
config.log
config.h
config.cache
config.status
libtool
isc-config.sh
configure.lineno
autom4te.cache
+50
View File
@@ -0,0 +1,50 @@
Makefile
config.log
config.h
config.cache
config.status
libtool
isc-config.sh
configure.lineno
autom4te.cache
*.o
*.lo
*.so
*.a
*.la
*_test
timestamp
named.run
gen.dSYM/
.libs/
.deps/
.dirstamp
unit/atf-src/atf-c++/atf-c++.pc
unit/atf-src/atf-c/atf-c.pc
unit/atf-src/atf-c/defs.h
unit/atf-src/atf-c/detail/process_helpers
unit/atf-src/atf-config/atf-config
unit/atf-src/atf-report/atf-report
unit/atf-src/atf-report/fail_helper
unit/atf-src/atf-report/misc_helpers
unit/atf-src/atf-report/pass_helper
unit/atf-src/atf-run/atf-run
unit/atf-src/atf-run/bad_metadata_helper
unit/atf-src/atf-run/expect_helpers
unit/atf-src/atf-run/misc_helpers
unit/atf-src/atf-run/pass_helper
unit/atf-src/atf-run/several_tcs_helper
unit/atf-src/atf-run/zero_tcs_helper
unit/atf-src/atf-sh/atf-check
unit/atf-src/atf-sh/atf-sh
unit/atf-src/atf-sh/misc_helpers
unit/atf-src/atf-version/atf-version
unit/atf-src/atf-version/revision.h
unit/atf-src/atf-version/revision.h.stamp
unit/atf-src/bconfig.h
unit/atf-src/bootstrap/atconfig
unit/atf-src/doc/atf.7
unit/atf-src/stamp-h1
unit/atf-src/test-programs/c_helpers
unit/atf-src/test-programs/cpp_helpers
unit/atf-src/test-programs/sh_helpers
+5
View File
@@ -0,0 +1,5 @@
Content-Type: application/X-atf-atffile; version="1"
prop: test-suite = bind9
tp: lib
+891 -37
View File
File diff suppressed because it is too large Load Diff
+491 -3
View File
@@ -1,4 +1,4 @@
Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2004-2012 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,9 +13,15 @@ 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.17 2011/01/04 23:47:13 tbox Exp $
$Id: COPYRIGHT,v 1.17.14.2 2012/01/04 23:46:18 tbox Exp $
Portions Copyright (C) 1996-2001 Nominum, Inc.
Portions of this code release fall under one or more of the
following Copyright notices. Please see individual source
files for details.
For binary releases also see: OpenSSL-LICENSE.
Copyright (C) 1996-2001 Nominum, Inc.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -28,3 +34,485 @@ 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.
-----------------------------------------------------------------------------
Copyright (C) 1995-2000 by Network Associates, Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NETWORK ASSOCIATES DISCLAIMS
ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------------------------------------------------------------------------
Copyright (C) 2002 Stichting NLnet, Netherlands, stichting@nlnet.nl.
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 STICHTING NLNET
DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
STICHTING NLNET 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.
The development of Dynamically Loadable Zones (DLZ) for Bind 9 was
conceived and contributed by Rob Butler.
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 ROB BUTLER
DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
ROB BUTLER 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.
-----------------------------------------------------------------------------
Copyright (c) 1987, 1990, 1993, 1994
The Regents of the University of California. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (C) The Internet Society 2005. This version of
this module is part of RFC 4178; see the RFC itself for
full legal notices.
(The above copyright notice is per RFC 3978 5.6 (a), q.v.)
-----------------------------------------------------------------------------
Copyright (c) 2004 Masarykova universita
(Masaryk University, Brno, Czech Republic)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (c) 1997 - 2003 Kungliga Tekniska Högskolan
(Royal Institute of Technology, Stockholm, Sweden).
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the Institute nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (c) 1998 Doug Rabson
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright ((c)) 2002, Rice University
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Rice University (RICE) nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
This software is provided by RICE and the contributors on an "as is"
basis, without any representations or warranties of any kind, express
or implied including, but not limited to, representations or
warranties of non-infringement, merchantability or fitness for a
particular purpose. In no event shall RICE or contributors be liable
for any direct, indirect, incidental, special, exemplary, or
consequential damages (including, but not limited to, procurement of
substitute goods or services; loss of use, data, or profits; or
business interruption) however caused and on any theory of liability,
whether in contract, strict liability, or tort (including negligence
or otherwise) arising in any way out of the use of this software, even
if advised of the possibility of such damage.
-----------------------------------------------------------------------------
Copyright (c) 1993 by Digital Equipment Corporation.
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, and that
the name of Digital Equipment Corporation not be used in advertising or
publicity pertaining to distribution of the document or software without
specific, written prior permission.
THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
CORPORATION 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.
-----------------------------------------------------------------------------
Copyright 2000 Aaron D. Gifford. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (c) 1998 Doug Rabson.
Copyright (c) 2001 Jake Burkholder.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the project nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (c) 1999-2000 by Nortel Networks Corporation
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 NORTEL NETWORKS DISCLAIMS
ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NORTEL NETWORKS
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.
-----------------------------------------------------------------------------
Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved.
By using this file, you agree to the terms and conditions set forth bellow.
LICENSE TERMS AND CONDITIONS
The following License Terms and Conditions apply, unless a different
license is obtained from Japan Network Information Center ("JPNIC"),
a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,
Chiyoda-ku, Tokyo 101-0047, Japan.
1. Use, Modification and Redistribution (including distribution of any
modified or derived work) in source and/or binary forms is permitted
under this License Terms and Conditions.
2. Redistribution of source code must retain the copyright notices as they
appear in each source code file, this License Terms and Conditions.
3. Redistribution in binary form must reproduce the Copyright Notice,
this License Terms and Conditions, in the documentation and/or other
materials provided with the distribution. For the purposes of binary
distribution the "Copyright Notice" refers to the following language:
"Copyright (c) 2000-2002 Japan Network Information Center. All rights
reserved."
4. The name of JPNIC may not be used to endorse or promote products
derived from this Software without specific prior written approval of
JPNIC.
5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-----------------------------------------------------------------------------
Copyright (C) 2004 Nominet, Ltd.
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 NOMINET DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
-----------------------------------------------------------------------------
Portions Copyright RSA Security Inc.
License to copy and use this software is granted provided that it is
identified as "RSA Security Inc. PKCS #11 Cryptographic Token Interface
(Cryptoki)" in all material mentioning or referencing this software.
License is also granted to make and use derivative works provided that
such works are identified as "derived from the RSA Security Inc. PKCS #11
Cryptographic Token Interface (Cryptoki)" in all material mentioning or
referencing the derived work.
RSA Security Inc. makes no representations concerning either the
merchantability of this software or the suitability of this software for
any particular purpose. It is provided "as is" without express or implied
warranty of any kind.
-----------------------------------------------------------------------------
Copyright (c) 1996, David Mazieres <dm@uun.org>
Copyright (c) 2008, Damien Miller <djm@openbsd.org>
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 THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR 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.
-----------------------------------------------------------------------------
Copyright (c) 2000-2001 The OpenSSL Project. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
endorse or promote products derived from this software without
prior written permission. For written permission, please contact
licensing@OpenSSL.org.
5. Products derived from this software may not be called "OpenSSL"
nor may "OpenSSL" appear in their names without prior written
permission of the OpenSSL Project.
6. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
+175
View File
@@ -0,0 +1,175 @@
3370. [bug] Address use after free while shutting down. [RT #30241]
3368. [bug] <dns/iptable.h>, <dns/private.h> and <dns/zone.h>
were not C++ safe.
3361. [bug] "rndc signing -nsec3param" didn't work correctly
when salt was set to '-' (no salt). [RT #30099]
3355. [port] Use more portable awk in verify system test.
3349. [bug] Change #3345 was incomplete. [RT #30233]
3345. [bug] Addressed race condition when removing the last item
or inserting the first item in an ISC_QUEUE.
[RT #29539]
3338. [bug] Address race condition in units tests: asyncload_zone
and asyncload_zt. [RT #26100]
3334. [bug] Hold a zone table reference while performing a
asyncronous load of a zone. [RT #28326]
3324. [test] Add better tests for ADB stats [RT #27057]
3316. [tuning] Improved locking performance when recursing.
[RT #28836]
3315. [tuning] Use multiple dispatch objects for sending upstream
queries; this can improve performance on busy
multiprocessor systems by reducing lock contention.
[RT #28605]
3303. [bug] named could die when reloading. [RT #28606]
3296. [bug] Named could die with a INSIST failure in
client.c:exit_check. [RT #28346]
3289. [bug] 'rndc retransfer' failed for inline zones. [RT #28036]
3279. [bug] Hold a internal reference to the zone while performing
a asynchronous load. Address potential memory leak
if the asynchronous is cancelled. [RT #27750]
3277. [bug] win32: isc_socket_dup is not implemented. [RT #27696]
3275. [bug] Corrected rndc -h output; the 'rndc sync -clean'
option had been misspelled as '-clear'. (To avoid
future confusion, both options now work.) [RT #27173]
3270. [bug] "rndc reload" didn't reuse existing zones correctly
when inline-signing was in use. [RT #27650]
3269. [port] darwin 11 and later now built threaded by default.
3265. [bug] Address lock order reversal with inline-signing
support. [27557]
3264. [bug] Automatic regeneration of signatures in an
inline-signing zone could stall when the server
was restarted. [RT #27344]
3263. [bug] "rndc sync" did not affect the unsigned side of an
inline-signing zone. [RT #27337]
3252. [bug] When master zones using inline-signing were
updated while the server was offline, the source
zone could fall out of sync with the signed
copy. They can now resynchronize. [RT #26676]
3246. [bug] Named failed to start with a empty also-notify list.
[RT #27087]
3245. [bug] Don't report a error unchanged serials unless there
were other changes when thawing a zone with
ixfr-fromdifferences. [RT #26845]
3243. [port] freebsd,netbsd,bsdi: the thread defaults were not
being properly set.
3225. [bug] Silence spurious "setsockopt(517, IPV6_V6ONLY) failed"
messages. [RT #26507]
3236. [bug] Backed out changes #3182 and #3202, related to
3233. [bug] 'rndc freeze/thaw' didn't work for inline zones.
[RT #26632]
3224. [bug] 'rndc signing' argument parsing was broken. [RT #26684]
3223. [bug] 'task_test privilege_drop' generated false positives.
[RT #26766]
3222. [cleanup] Replace dns_journal_{get,set}_bitws with
dns_journal_{get,set}_sourceserial. [RT #26634]
3219. [bug] Disable NOEDNS caching following a timeout.
3215. [bug] 'rndc recursing' could cause a core dump. [RT #26495]
3210. [bug] Canceling the oldest query due to recursive-client
overload could trigger an assertion failure. [RT #26463]
3202. [bug] NOEDNS caching on timeout was too agressive.
[RT #26416]
3184. [bug] named had excessive cpu usage when a redirect zone was
configured. [RT #26013]
3182. [bug] Auth servers behind firewalls which block packets
greater than 512 bytes may cause other servers to
perform poorly. Now, adb retains edns information
and caches noedns servers. [RT #23392/24964]
3178. [bug] A race condition introduced by change #3163 could
cause an assertion failure on shutdown. [RT #26271]
3176. [doc] Corrected example code and added a README to the
sample external DLZ module in contrib/dlz/example.
[RT #26215]
3172. [port] darwin 10.* and freebsd [89] are now built threaded by
default.
3168. [bug] Nxdomain redirection could trigger an assert with
a ANY query. [RT #26017]
3166. [bug] Upgrading a zone to support inline-signing failed.
[RT #26014]
3165. [bug] dnssec-signzone could generate new signatures when
resigning, even when valid signatures were already
present. [RT #26025]
3163. [bug] Use finer-grained locking in client.c to address
concurrency problems with large numbers of threads.
[RT #26044]
3160. [bug] When printing out a NSEC3 record in multiline form
the newline was not being printed causing type codes
to be run together. [RT #25873]
3159. [bug] On some platforms, named could assert on startup
when running in a chrooted environment without
/proc. [RT #25863]
3158. [bug] Recursive servers would prefer a particular UDP
socket instead of using all available sockets.
[RT #26038]
3136. [func] Add RFC 1918 reverse zones to the list of built-in
empty zones switched on by the 'empty-zones-enable'
option. [RT #24990]
3127. [bug] 'rndc thaw' will now remove a zone's journal file
if the zone serial number has been changed and
ixfr-from-differences is not in use. [RT #24687]
3108. [cleanup] dnssec-signzone: Clarified some error and
warning messages; removed #ifdef ALLOW_KSKLESS_ZONES
code (use -P instead). [RT #20852]
3066. [func] The DLZ "dlopen" driver is now built by default,
no longer requiring a configure option. To
disable it, use "configure --without-dlopen".
(Note: driver not supported on win32.) [RT #23467]
3045. [removed] Replaced by change #3050.
3142. [bug] NAPTR is class agnostic. [RT #25429]`
3011. [func] Allow setting this in named.conf using the new
'resolver-query-timeout' option, which specifies a max
time in seconds. 0 means 'default' and anything longer
than 30 will be silently set to 30. [RT #22852]
+7 -4
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2009, 2011, 2012 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.58 2009/11/26 20:52:44 marka Exp $
# $Id: Makefile.in,v 1.58.250.4 2011/09/06 04:06:11 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -21,7 +21,7 @@ top_srcdir = @top_srcdir@
@BIND9_VERSION@
SUBDIRS = make lib bin doc @LIBEXPORT@
SUBDIRS = make unit lib bin doc @LIBEXPORT@
TARGETS =
MANPAGES = isc-config.sh.1
@@ -64,7 +64,10 @@ tags:
check: test
test:
(cd bin/tests && ${MAKE} ${MAKEDEFS} test)
status=0; \
(cd bin/tests && ${MAKE} ${MAKEDEFS} test) || status=1; \
(test -f unit/unittest.sh && $(SHELL) unit/unittest.sh) || status=1; \
exit $$status
FAQ: FAQ.xml
${XSLTPROC} doc/xsl/isc-docbook-text.xsl FAQ.xml | \
+86 -1
View File
@@ -48,9 +48,51 @@ BIND 9
For a detailed list of user-visible changes from
previous releases, see the CHANGES file.
For up-to-date release notes and errata, see
http://www.isc.org/software/bind9/releasenotes
BIND 9.8.4
BIND 9.8.4 includes several bug fixes and patches security
flaws described in CVE-2012-1667, CVE-2012-3817 and CVE-2012-4244.
BIND 9.8.3
BIND 9.8.3 is a maintenance release.
BIND 9.8.2
BIND 9.8.2 includes a number of bug fixes and prevents a security
problem described in CVE-2011-4313
BIND 9.8.1
BIND 9.8.1 includes a number of bug fixes and enhancements from
BIND 9.8 and earlier releases. New features include:
- The DLZ "dlopen" driver is now built by default.
- Added a new include file with function typedefs
for the DLZ "dlopen" driver.
- Made "--with-gssapi" default.
- More verbose error reporting from DLZ LDAP.
BIND 9.8.0
DNS64 support (AAAA synthesis only initially).
BIND 9.8.0 includes a number of changes from BIND 9.7 and earlier
releases. New features include:
- Built-in trust anchor for the root zone, which can be
switched on via "dnssec-validation auto;"
- Support for DNS64.
- Support for response policy zones (RPZ).
- Support for writable DLZ zones.
- Improved ease of configuration of GSS/TSIG for
interoperability with Active Directory
- Support for GOST signing algorithm for DNSSEC.
- Removed RTT Banding from server selection algorithm.
- New "static-stub" zone type.
- Allow configuration of resolver timeouts via
"resolver-query-timeout" option.
BIND 9.7.0
@@ -289,6 +331,7 @@ Building
libraries. sh-utils-1.16 provides a "printf" which compiles
on SunOS 4.
Documentation
The BIND 9 Administrator Reference Manual is included with the
@@ -311,6 +354,48 @@ Documentation
in the other README files.
Change Log
A detailed list of all changes to BIND 9 is included in the
file CHANGES, with the most recent changes listed first.
Change notes include tags indicating the category of the
change that was made; these categories are:
[func] New feature
[bug] General bug fix
[security] Fix for a significant security flaw
[experimental] Used for new features when the syntax
or other aspects of the design are still
in flux and may change
[port] Portability enhancement
[maint] Updates to built-in data such as root
server addresses and keys
[tuning] Changes to built-in configuration defaults
and constants to improve performanceo
[protocol] Updates to the DNS protocol such as new
RR types
[test] Changes to the automatic tests, not
affecting server functionality
[cleanup] Minor corrections and refactoring
[doc] Documentation
In general, [func] and [experimental] tags will only appear
in new-feature releases (i.e., those with version numbers
ending in zero). Some new functionality may be backported to
older releases on a case-by-case basis. All other change
types may be applied to all currently-supported releases.
Bug Reports and Mailing Lists
Bugs reports should be sent to
+4 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -138,6 +138,9 @@ int sigwait(const unsigned int *set, int *sig);
/* Define if OpenSSL includes DSA support */
#undef HAVE_OPENSSL_DSA
/* Define if OpenSSL includes ECDSA support */
#undef HAVE_OPENSSL_ECDSA
/* Define to the length type used by the socket API (socklen_t, size_t, int). */
#undef ISC_SOCKADDR_LEN_T
-1
View File
@@ -1 +0,0 @@
Makefile
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -1,6 +1,3 @@
Makefile
.libs
*.la
*.lo
named-checkconf
named-checkzone
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
+4 -1
View File
@@ -639,6 +639,9 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
{
isc_result_t result;
FILE *output = stdout;
const char *flags;
flags = (fileformat == dns_masterformat_text) ? "w+" : "wb+";
if (debug) {
if (filename != NULL && strcmp(filename, "-") != 0)
@@ -649,7 +652,7 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
}
if (filename != NULL && strcmp(filename, "-") != 0) {
result = isc_stdio_open(filename, "w+", &output);
result = isc_stdio_open(filename, flags, &output);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "could not open output "
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkconf.8,v 1.33 2009/12/29 01:14:03 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009-2011 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: named-checkconf.c,v 1.54 2010/09/07 01:49:08 marka Exp $ */
/* $Id: named-checkconf.c,v 1.54.62.2 2011/03/12 04:59:13 tbox Exp $ */
/*! \file */
@@ -190,7 +190,7 @@ configure_zone(const char *vclass, const char *view,
if (obj != NULL)
maps[i++] = obj;
}
maps[i++] = NULL;
maps[i] = NULL;
cfg_map_get(zoptions, "type", &typeobj);
if (typeobj == NULL)
+6 -6
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.html,v 1.33 2009/12/29 01:14:03 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">named-checkconf</code> [<code class="option">-h</code>] [<code class="option">-v</code>] [<code class="option">-j</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] {filename} [<code class="option">-p</code>] [<code class="option">-z</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543395"></a><h2>DESCRIPTION</h2>
<a name="id2543396"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkconf</strong></span>
checks the syntax, but not the semantics, of a
<span><strong class="command">named</strong></span> configuration file. The file is parsed
@@ -52,7 +52,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543444"></a><h2>OPTIONS</h2>
<a name="id2543445"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-h</span></dt>
<dd><p>
@@ -91,21 +91,21 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543568"></a><h2>RETURN VALUES</h2>
<a name="id2543569"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkconf</strong></span>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543579"></a><h2>SEE ALSO</h2>
<a name="id2543580"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">named-checkzone</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543609"></a><h2>AUTHOR</h2>
<a name="id2543610"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkzone.8,v 1.47 2010/01/17 01:14:02 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+9 -5
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2011 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: named-checkzone.c,v 1.61 2010/09/07 23:46:59 tbox Exp $ */
/* $Id: named-checkzone.c,v 1.61.62.2 2011/12/22 23:45:54 tbox Exp $ */
/*! \file */
@@ -112,6 +112,7 @@ main(int argc, char **argv) {
const char *outputformatstr = NULL;
dns_masterformat_t inputformat = dns_masterformat_text;
dns_masterformat_t outputformat = dns_masterformat_text;
isc_boolean_t logdump = ISC_FALSE;
FILE *errout = stdout;
outputstyle = &dns_master_style_full;
@@ -418,6 +419,7 @@ main(int argc, char **argv) {
if (progmode == progmode_compile) {
dumpzone = 1; /* always dump */
logdump = !quiet;
if (output_filename == NULL) {
fprintf(stderr,
"output file required, but not specified\n");
@@ -436,8 +438,10 @@ main(int argc, char **argv) {
(output_filename == NULL ||
strcmp(output_filename, "-") == 0 ||
strcmp(output_filename, "/dev/fd/1") == 0 ||
strcmp(output_filename, "/dev/stdout") == 0))
strcmp(output_filename, "/dev/stdout") == 0)) {
errout = stderr;
logdump = ISC_FALSE;
}
if (isc_commandline_index + 2 != argc)
usage();
@@ -462,13 +466,13 @@ main(int argc, char **argv) {
&zone);
if (result == ISC_R_SUCCESS && dumpzone) {
if (!quiet && progmode == progmode_compile) {
if (logdump) {
fprintf(errout, "dump zone to %s...", output_filename);
fflush(errout);
}
result = dump_zone(origin, zone, output_filename,
outputformat, outputstyle);
if (!quiet && progmode == progmode_compile)
if (logdump)
fprintf(errout, "done\n");
}
+6 -6
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.html,v 1.47 2010/01/17 01:14:02 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -33,7 +33,7 @@
<div class="cmdsynopsis"><p><code class="command">named-compilezone</code> [<code class="option">-d</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-C <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {<code class="option">-o <em class="replaceable"><code>filename</code></em></code>} {zonename} {filename}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543694"></a><h2>DESCRIPTION</h2>
<a name="id2543696"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkzone</strong></span>
checks the syntax and integrity of a zone file. It performs the
same checks as <span><strong class="command">named</strong></span> does when loading a
@@ -53,7 +53,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543730"></a><h2>OPTIONS</h2>
<a name="id2543731"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-d</span></dt>
<dd><p>
@@ -247,14 +247,14 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544377"></a><h2>RETURN VALUES</h2>
<a name="id2544446"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkzone</strong></span>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544389"></a><h2>SEE ALSO</h2>
<a name="id2544458"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">named-checkconf</span>(8)</span>,
<em class="citetitle">RFC 1035</em>,
@@ -262,7 +262,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544422"></a><h2>AUTHOR</h2>
<a name="id2544491"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
@@ -1,3 +1,2 @@
Makefile
ddns-confgen
rndc-confgen
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2009, 2012 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
+1 -1
View File
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: ddns-confgen.8,v 1.10 2009/09/19 01:14:52 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+3 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2009, 2011 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
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: ddns-confgen.c,v 1.9 2009/09/29 15:06:05 fdupont Exp $ */
/* $Id: ddns-confgen.c,v 1.9.308.2 2011/03/12 04:59:13 tbox Exp $ */
/*! \file */
@@ -160,6 +160,7 @@ main(int argc, char **argv) {
argc -= isc_commandline_index;
argv += isc_commandline_index;
POST(argv);
if (self_domain != NULL && zone != NULL)
usage(1); /* -s and -z cannot coexist */
+5 -5
View File
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: ddns-confgen.html,v 1.10 2009/09/19 01:14:52 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">ddns-confgen</code> [<code class="option">-a <em class="replaceable"><code>algorithm</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>] [ -s <em class="replaceable"><code>name</code></em> | -z <em class="replaceable"><code>zone</code></em> ] [<code class="option">-q</code>] [name]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543395"></a><h2>DESCRIPTION</h2>
<a name="id2543396"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">ddns-confgen</strong></span>
generates a key for use by <span><strong class="command">nsupdate</strong></span>
and <span><strong class="command">named</strong></span>. It simplifies configuration
@@ -58,7 +58,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543454"></a><h2>OPTIONS</h2>
<a name="id2543456"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
<dd><p>
@@ -125,7 +125,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543642"></a><h2>SEE ALSO</h2>
<a name="id2543643"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">nsupdate</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named.conf</span>(5)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
@@ -133,7 +133,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543681"></a><h2>AUTHOR</h2>
<a name="id2543682"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: rndc-confgen.8,v 1.7 2009/07/11 01:12:45 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+3 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007-2009, 2011 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: rndc-confgen.c,v 1.5 2009/09/29 15:06:05 fdupont Exp $ */
/* $Id: rndc-confgen.c,v 1.5.308.2 2011/03/12 04:59:13 tbox Exp $ */
/*! \file */
@@ -200,6 +200,7 @@ main(int argc, char **argv) {
argc -= isc_commandline_index;
argv += isc_commandline_index;
POST(argv);
if (argc > 0)
usage(1);
+6 -6
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: rndc-confgen.html,v 1.7 2009/07/11 01:12:45 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">rndc-confgen</code> [<code class="option">-a</code>] [<code class="option">-b <em class="replaceable"><code>keysize</code></em></code>] [<code class="option">-c <em class="replaceable"><code>keyfile</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>] [<code class="option">-s <em class="replaceable"><code>address</code></em></code>] [<code class="option">-t <em class="replaceable"><code>chrootdir</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543432"></a><h2>DESCRIPTION</h2>
<a name="id2543433"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">rndc-confgen</strong></span>
generates configuration files
for <span><strong class="command">rndc</strong></span>. It can be used as a
@@ -48,7 +48,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543477"></a><h2>OPTIONS</h2>
<a name="id2543478"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a</span></dt>
<dd>
@@ -155,7 +155,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543790"></a><h2>EXAMPLES</h2>
<a name="id2543792"></a><h2>EXAMPLES</h2>
<p>
To allow <span><strong class="command">rndc</strong></span> to be used with
no manual configuration, run
@@ -172,7 +172,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543832"></a><h2>SEE ALSO</h2>
<a name="id2543833"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">rndc</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">rndc.conf</span>(5)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
@@ -180,7 +180,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543870"></a><h2>AUTHOR</h2>
<a name="id2543872"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
-1
View File
@@ -1 +0,0 @@
Makefile
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2009, 2012 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
@@ -1,6 +1,4 @@
Makefile
dig
host
nslookup
*.lo
.libs
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005, 2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dig.1,v 1.54 2010/03/05 01:14:15 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+3 -32
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.237 2010/05/13 00:40:46 marka Exp $ */
/* $Id: dig.c,v 1.237.124.4 2011/12/07 17:23:55 each Exp $ */
/*! \file */
@@ -44,8 +44,6 @@
#include <dns/result.h>
#include <dns/tsig.h>
#include <bind9/getaddresses.h>
#include <dig/dig.h>
#define ADD_STRING(b, s) { \
@@ -479,8 +477,6 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (!query->lookup->comments)
flags |= DNS_MESSAGETEXTFLAG_NOCOMMENTS;
result = ISC_R_SUCCESS;
result = isc_buffer_allocate(mctx, &buf, len);
check_result(result, "isc_buffer_allocate");
@@ -1437,30 +1433,6 @@ preparse_args(int argc, char **argv) {
}
}
static void
getaddresses(dig_lookup_t *lookup, const char *host) {
isc_result_t result;
isc_sockaddr_t sockaddrs[DIG_MAX_ADDRESSES];
isc_netaddr_t netaddr;
int count, i;
dig_server_t *srv;
char tmp[ISC_NETADDR_FORMATSIZE];
result = bind9_getaddresses(host, 0, sockaddrs,
DIG_MAX_ADDRESSES, &count);
if (result != ISC_R_SUCCESS)
fatal("couldn't get address for '%s': %s",
host, isc_result_totext(result));
for (i = 0; i < count; i++) {
isc_netaddr_fromsockaddr(&netaddr, &sockaddrs[i]);
isc_netaddr_format(&netaddr, tmp, sizeof(tmp));
srv = make_server(tmp, host);
ISC_LIST_APPEND(lookup->my_server_list, srv, link);
}
addresscount = count;
}
static void
parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
int argc, char **argv) {
@@ -1555,7 +1527,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
if (strncmp(rv[0], "%", 1) == 0)
break;
if (strncmp(rv[0], "@", 1) == 0) {
getaddresses(lookup, &rv[0][1]);
addresscount = getaddresses(lookup, &rv[0][1], NULL);
} else if (rv[0][0] == '+') {
plus_option(&rv[0][1], is_batchfile,
lookup);
@@ -1592,7 +1564,6 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
(isc_textregion_t *)&tr);
if (result == ISC_R_SUCCESS &&
rdtype == dns_rdatatype_ixfr) {
result = DNS_R_UNKNOWN;
fprintf(stderr, ";; Warning, "
"ixfr requires a "
"serial number\n");
+10 -10
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.html,v 1.49 2010/03/05 01:14:15 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -34,7 +34,7 @@
<div class="cmdsynopsis"><p><code class="command">dig</code> [global-queryopt...] [query...]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543522"></a><h2>DESCRIPTION</h2>
<a name="id2543524"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dig</strong></span>
(domain information groper) is a flexible tool
for interrogating DNS name servers. It performs DNS lookups and
@@ -80,7 +80,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543595"></a><h2>SIMPLE USAGE</h2>
<a name="id2543597"></a><h2>SIMPLE USAGE</h2>
<p>
A typical invocation of <span><strong class="command">dig</strong></span> looks like:
</p>
@@ -126,7 +126,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543686"></a><h2>OPTIONS</h2>
<a name="id2543688"></a><h2>OPTIONS</h2>
<p>
The <code class="option">-b</code> option sets the source IP address of the query
to <em class="parameter"><code>address</code></em>. This must be a valid
@@ -230,7 +230,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544035"></a><h2>QUERY OPTIONS</h2>
<a name="id2544037"></a><h2>QUERY OPTIONS</h2>
<p><span><strong class="command">dig</strong></span>
provides a number of query options which affect
the way in which lookups are made and the results displayed. Some of
@@ -561,7 +561,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545184"></a><h2>MULTIPLE QUERIES</h2>
<a name="id2545186"></a><h2>MULTIPLE QUERIES</h2>
<p>
The BIND 9 implementation of <span><strong class="command">dig </strong></span>
supports
@@ -607,7 +607,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545245"></a><h2>IDN SUPPORT</h2>
<a name="id2545248"></a><h2>IDN SUPPORT</h2>
<p>
If <span><strong class="command">dig</strong></span> has been built with IDN (internationalized
domain name) support, it can accept and display non-ASCII domain names.
@@ -621,14 +621,14 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545336"></a><h2>FILES</h2>
<a name="id2545338"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
<p><code class="filename">${HOME}/.digrc</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545353"></a><h2>SEE ALSO</h2>
<a name="id2545355"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">host</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
@@ -636,7 +636,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545390"></a><h2>BUGS</h2>
<a name="id2545393"></a><h2>BUGS</h2>
<p>
There are probably too many query options.
</p>
+100 -43
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2011 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: dighost.c,v 1.336 2010/12/09 00:54:33 marka Exp $ */
/* $Id: dighost.c,v 1.336.22.9 2011/12/07 17:23:55 each Exp $ */
/*! \file
* \note
@@ -66,6 +66,7 @@
#include <dns/tsig.h>
#include <dst/dst.h>
#include <dst/result.h>
#include <isc/app.h>
#include <isc/base64.h>
@@ -81,6 +82,7 @@
#include <isc/print.h>
#include <isc/random.h>
#include <isc/result.h>
#include <isc/serial.h>
#include <isc/string.h>
#include <isc/task.h>
#include <isc/timer.h>
@@ -360,6 +362,8 @@ connect_timeout(isc_task_t *task, isc_event_t *event);
static void
launch_next_query(dig_query_t *query, isc_boolean_t include_question);
static void
send_tcp_connect(dig_query_t *query);
static void *
mem_alloc(void *arg, size_t size) {
@@ -566,10 +570,8 @@ make_server(const char *servname, const char *userarg) {
if (srv == NULL)
fatal("memory allocation failure in %s:%d",
__FILE__, __LINE__);
strncpy(srv->servername, servname, MXNAME);
strncpy(srv->userarg, userarg, MXNAME);
srv->servername[MXNAME-1] = 0;
srv->userarg[MXNAME-1] = 0;
strlcpy(srv->servername, servname, MXNAME);
strlcpy(srv->userarg, userarg, MXNAME);
ISC_LINK_INIT(srv, link);
return (srv);
}
@@ -744,7 +746,7 @@ make_empty_lookup(void) {
looknew->xfr_q = NULL;
looknew->current_query = NULL;
looknew->doing_xfr = ISC_FALSE;
looknew->ixfr_serial = ISC_FALSE;
looknew->ixfr_serial = 0;
looknew->trace = ISC_FALSE;
looknew->trace_root = ISC_FALSE;
looknew->identify = ISC_FALSE;
@@ -789,6 +791,7 @@ make_empty_lookup(void) {
looknew->new_search = ISC_FALSE;
looknew->done_as_is = ISC_FALSE;
looknew->need_search = ISC_FALSE;
dns_fixedname_init(&looknew->fdomain);
ISC_LINK_INIT(looknew, link);
ISC_LIST_INIT(looknew->q);
ISC_LIST_INIT(looknew->my_server_list);
@@ -864,6 +867,8 @@ clone_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
looknew->tsigctx = NULL;
looknew->need_search = lookold->need_search;
looknew->done_as_is = lookold->done_as_is;
dns_name_copy(dns_fixedname_name(&lookold->fdomain),
dns_fixedname_name(&looknew->fdomain), NULL);
if (servers)
clone_server_list(lookold->my_server_list,
@@ -927,6 +932,11 @@ setup_text_key(void) {
secretsize = isc_buffer_usedlength(&secretbuf);
if (hmacname == NULL) {
result = DST_R_UNSUPPORTEDALG;
goto failure;
}
result = dns_name_fromtext(&keyname, namebuf, dns_rootname, 0, namebuf);
if (result != ISC_R_SUCCESS)
goto failure;
@@ -1700,6 +1710,9 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
isc_result_t result;
isc_boolean_t success = ISC_FALSE;
int numLookups = 0;
int num;
isc_result_t lresult, addresses_result;
char bad_namestr[DNS_NAME_FORMATSIZE];
dns_name_t *domain;
isc_boolean_t horizontal = ISC_FALSE, bad = ISC_FALSE;
@@ -1707,6 +1720,8 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
debug("following up %s", query->lookup->textname);
addresses_result = ISC_R_SUCCESS;
bad_namestr[0] = '\0';
for (result = dns_message_firstname(msg, section);
result == ISC_R_SUCCESS;
result = dns_message_nextname(msg, section)) {
@@ -1767,8 +1782,7 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
dns_rdata_freestruct(&ns);
/* Initialize lookup if we've not yet */
debug("found NS %d %s", numLookups, namestr);
numLookups++;
debug("found NS %s", namestr);
if (!success) {
success = ISC_TRUE;
lookup_counter++;
@@ -1786,16 +1800,27 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
lookup->trace_root = ISC_FALSE;
if (lookup->ns_search_only)
lookup->recurse = ISC_FALSE;
dns_fixedname_init(&lookup->fdomain);
domain = dns_fixedname_name(&lookup->fdomain);
dns_name_copy(name, domain, NULL);
}
srv = make_server(namestr, namestr);
debug("adding server %s", srv->servername);
ISC_LIST_APPEND(lookup->my_server_list, srv, link);
debug("adding server %s", namestr);
num = getaddresses(lookup, namestr, &lresult);
if (lresult != ISC_R_SUCCESS) {
debug("couldn't get address for '%s': %s",
namestr, isc_result_totext(lresult));
if (addresses_result == ISC_R_SUCCESS) {
addresses_result = lresult;
strcpy(bad_namestr, namestr);
}
}
numLookups += num;
dns_rdata_reset(&rdata);
}
}
if (numLookups == 0 && addresses_result != ISC_R_SUCCESS) {
fatal("couldn't get address for '%s': %s",
bad_namestr, isc_result_totext(result));
}
if (lookup == NULL &&
section == DNS_SECTION_ANSWER &&
@@ -1808,17 +1833,25 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
if (numLookups > 1) {
isc_uint32_t i, j;
dig_serverlist_t my_server_list;
dig_server_t *next;
ISC_LIST_INIT(my_server_list);
for (i = numLookups; i > 0; i--) {
i = numLookups;
for (srv = ISC_LIST_HEAD(lookup->my_server_list);
srv != NULL;
srv = ISC_LIST_HEAD(lookup->my_server_list)) {
INSIST(i > 0);
isc_random_get(&j);
j %= i;
srv = ISC_LIST_HEAD(lookup->my_server_list);
while (j-- > 0)
srv = ISC_LIST_NEXT(srv, link);
next = ISC_LIST_NEXT(srv, link);
while (j-- > 0 && next != NULL) {
srv = next;
next = ISC_LIST_NEXT(srv, link);
}
ISC_LIST_DEQUEUE(lookup->my_server_list, srv, link);
ISC_LIST_APPEND(my_server_list, srv, link);
i--;
}
ISC_LIST_APPENDLIST(lookup->my_server_list,
my_server_list, link);
@@ -1834,12 +1867,10 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
* Return ISC_TRUE iff there was another searchlist entry.
*/
static isc_boolean_t
next_origin(dns_message_t *msg, dig_query_t *query) {
next_origin(dig_query_t *query) {
dig_lookup_t *lookup;
dig_searchlist_t *search;
UNUSED(msg);
INSIST(!free_now);
debug("next_origin()");
@@ -2314,7 +2345,7 @@ send_done(isc_task_t *_task, isc_event_t *event) {
query->waiting_senddone = ISC_FALSE;
l = query->lookup;
if (l->ns_search_only && !l->trace_root) {
if (l->ns_search_only && !l->trace_root && !l->tcp_mode) {
debug("sending next, since searching");
next = ISC_LIST_NEXT(query, link);
if (next != NULL)
@@ -2861,8 +2892,10 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
dns_rdataset_t *rdataset = NULL;
dns_rdata_t rdata = DNS_RDATA_INIT;
dns_rdata_soa_t soa;
isc_uint32_t serial;
isc_uint32_t ixfr_serial = query->lookup->ixfr_serial, serial;
isc_result_t result;
isc_boolean_t ixfr = query->lookup->rdtype == dns_rdatatype_ixfr;
isc_boolean_t axfr = query->lookup->rdtype == dns_rdatatype_axfr;
debug("check_for_more_data()");
@@ -2912,6 +2945,7 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
query->second_rr_rcvd = ISC_TRUE;
query->second_rr_serial = 0;
debug("got the second rr as nonsoa");
axfr = ISC_TRUE;
goto next_rdata;
}
@@ -2921,6 +2955,7 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
*/
if (rdata.type != dns_rdatatype_soa)
goto next_rdata;
/* Now we have an SOA. Work with it. */
debug("got an SOA");
result = dns_rdata_tostruct(&rdata, &soa, NULL);
@@ -2930,15 +2965,17 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
if (!query->first_soa_rcvd) {
query->first_soa_rcvd = ISC_TRUE;
query->first_rr_serial = serial;
debug("this is the first %d",
query->lookup->ixfr_serial);
if (query->lookup->ixfr_serial >=
serial)
debug("this is the first serial %u",
serial);
if (ixfr && isc_serial_ge(ixfr_serial,
serial)) {
debug("got up to date "
"response");
goto doexit;
}
goto next_rdata;
}
if (query->lookup->rdtype ==
dns_rdatatype_axfr) {
if (axfr) {
debug("doing axfr, got second SOA");
goto doexit;
}
@@ -2948,22 +2985,12 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
"empty zone");
goto doexit;
}
debug("this is the second %d",
query->lookup->ixfr_serial);
debug("this is the second serial %u",
serial);
query->second_rr_rcvd = ISC_TRUE;
query->second_rr_serial = serial;
goto next_rdata;
}
if (query->second_rr_serial == 0) {
/*
* If the second RR was a non-SOA
* record, and we're getting any
* other SOA, then this is an
* AXFR, and we're done.
*/
debug("done, since axfr");
goto doexit;
}
/*
* If we get to this point, we're doing an
* IXFR and have to start really looking
@@ -2979,7 +3006,7 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
debug("done with ixfr");
goto doexit;
}
debug("meaningless soa %d", serial);
debug("meaningless soa %u", serial);
next_rdata:
result = dns_rdataset_next(rdataset);
} while (result == ISC_R_SUCCESS);
@@ -3356,7 +3383,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
if (!l->doing_xfr || l->xfr_q == query) {
if (msg->rcode != dns_rcode_noerror &&
(l->origin != NULL || l->need_search)) {
if (!next_origin(msg, query) || showsearch) {
if (!next_origin(query) || showsearch) {
printmessage(query, msg, ISC_TRUE);
received(b->used, &sevent->address, query);
}
@@ -3541,6 +3568,36 @@ get_address(char *host, in_port_t port, isc_sockaddr_t *sockaddr) {
return (ISC_R_SUCCESS);
}
int
getaddresses(dig_lookup_t *lookup, const char *host, isc_result_t *resultp) {
isc_result_t result;
isc_sockaddr_t sockaddrs[DIG_MAX_ADDRESSES];
isc_netaddr_t netaddr;
int count, i;
dig_server_t *srv;
char tmp[ISC_NETADDR_FORMATSIZE];
result = bind9_getaddresses(host, 0, sockaddrs,
DIG_MAX_ADDRESSES, &count);
if (resultp != NULL)
*resultp = result;
if (result != ISC_R_SUCCESS) {
if (resultp == NULL)
fatal("couldn't get address for '%s': %s",
host, isc_result_totext(result));
return 0;
}
for (i = 0; i < count; i++) {
isc_netaddr_fromsockaddr(&netaddr, &sockaddrs[i]);
isc_netaddr_format(&netaddr, tmp, sizeof(tmp));
srv = make_server(tmp, host);
ISC_LIST_APPEND(lookup->my_server_list, srv, link);
}
return count;
}
/*%
* Initiate either a TCP or UDP lookup
*/
@@ -4179,7 +4236,6 @@ opentmpkey(isc_mem_t *mctx, const char *file, char **tempp, FILE **fp) {
return (result);
}
isc_result_t
get_trusted_key(isc_mem_t *mctx)
{
@@ -4241,6 +4297,7 @@ get_trusted_key(isc_mem_t *mctx)
if (key != NULL)
dst_key_free(&key);
}
fclose(fp);
return (ISC_R_SUCCESS);
}
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: host.1,v 1.31 2009/07/11 01:12:45 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+5 -4
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009-2011 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.124 2010/11/16 05:38:30 marka Exp $ */
/* $Id: host.c,v 1.124.40.3 2011/03/11 06:46:59 marka Exp $ */
/*! \file */
@@ -521,6 +521,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if ((msg->flags & DNS_MESSAGEFLAG_CD) != 0) {
printf("%scd", did_flag ? " " : "");
did_flag = ISC_TRUE;
POST(did_flag);
}
printf("; QUERY: %u, ANSWER: %u, "
"AUTHORITY: %u, ADDITIONAL: %u\n",
@@ -824,8 +825,8 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
if (isc_commandline_index >= argc)
show_usage();
strncpy(hostname, argv[isc_commandline_index], sizeof(hostname));
hostname[sizeof(hostname)-1]=0;
strlcpy(hostname, argv[isc_commandline_index], sizeof(hostname));
if (argc > isc_commandline_index + 1) {
set_nameserver(argv[isc_commandline_index+1]);
debug("server is %s", argv[isc_commandline_index+1]);
+5 -5
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.html,v 1.30 2009/07/11 01:12:45 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">host</code> [<code class="option">-aCdlnrsTwv</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-N <em class="replaceable"><code>ndots</code></em></code>] [<code class="option">-R <em class="replaceable"><code>number</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-W <em class="replaceable"><code>wait</code></em></code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] {name} [server]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543434"></a><h2>DESCRIPTION</h2>
<a name="id2543436"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">host</strong></span>
is a simple utility for performing DNS lookups.
It is normally used to convert names to IP addresses and vice versa.
@@ -184,7 +184,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543800"></a><h2>IDN SUPPORT</h2>
<a name="id2543802"></a><h2>IDN SUPPORT</h2>
<p>
If <span><strong class="command">host</strong></span> has been built with IDN (internationalized
domain name) support, it can accept and display non-ASCII domain names.
@@ -198,12 +198,12 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543822"></a><h2>FILES</h2>
<a name="id2543825"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543834"></a><h2>SEE ALSO</h2>
<a name="id2543836"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
</p>
+5 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.h,v 1.111 2009/09/29 15:06:06 fdupont Exp $ */
/* $Id: dig.h,v 1.111.306.3 2011/12/07 17:23:55 each Exp $ */
#ifndef DIG_H
#define DIG_H
@@ -288,6 +288,9 @@ extern int idnoptions;
isc_result_t
get_address(char *host, in_port_t port, isc_sockaddr_t *sockaddr);
int
getaddresses(dig_lookup_t *lookup, const char *host, isc_result_t *resultp);
isc_result_t
get_reverse(char *reverse, size_t len, char *value, isc_boolean_t ip6_int,
isc_boolean_t strict);
+1 -1
View File
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: nslookup.1,v 1.16 2010/02/23 01:14:31 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+22 -21
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2012 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.127 2010/11/17 23:47:08 tbox Exp $ */
/* $Id: nslookup.c,v 1.127.38.2 2011/02/28 01:19:58 tbox Exp $ */
#include <config.h>
@@ -57,6 +57,7 @@ static isc_boolean_t in_use = ISC_FALSE;
static char defclass[MXRD] = "IN";
static char deftype[MXRD] = "A";
static isc_event_t *global_event = NULL;
static int query_error = 1, print_error = 0;
static char domainopt[DNS_NAME_MAXTEXT];
@@ -406,6 +407,9 @@ isc_result_t
printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
char servtext[ISC_SOCKADDR_FORMATSIZE];
/* I've we've gotten this far, we've reached a server. */
query_error = 0;
debug("printmessage()");
isc_sockaddr_format(&query->sockaddr, servtext, sizeof(servtext));
@@ -433,6 +437,9 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
(msg->rcode != dns_rcode_nxdomain) ? nametext :
query->lookup->textname, rcode_totext(msg->rcode));
debug("returning with rcode == 0");
/* the lookup failed */
print_error |= 1;
return (ISC_R_SUCCESS);
}
@@ -535,12 +542,6 @@ testclass(char *typetext) {
}
}
static void
safecpy(char *dest, char *src, int size) {
strncpy(dest, src, size);
dest[size-1] = 0;
}
static void
set_port(const char *value) {
isc_uint32_t n;
@@ -571,34 +572,34 @@ setoption(char *opt) {
show_settings(ISC_TRUE, ISC_FALSE);
} else if (strncasecmp(opt, "class=", 6) == 0) {
if (testclass(&opt[6]))
safecpy(defclass, &opt[6], sizeof(defclass));
strlcpy(defclass, &opt[6], sizeof(defclass));
} else if (strncasecmp(opt, "cl=", 3) == 0) {
if (testclass(&opt[3]))
safecpy(defclass, &opt[3], sizeof(defclass));
strlcpy(defclass, &opt[3], sizeof(defclass));
} else if (strncasecmp(opt, "type=", 5) == 0) {
if (testtype(&opt[5]))
safecpy(deftype, &opt[5], sizeof(deftype));
strlcpy(deftype, &opt[5], sizeof(deftype));
} else if (strncasecmp(opt, "ty=", 3) == 0) {
if (testtype(&opt[3]))
safecpy(deftype, &opt[3], sizeof(deftype));
strlcpy(deftype, &opt[3], sizeof(deftype));
} else if (strncasecmp(opt, "querytype=", 10) == 0) {
if (testtype(&opt[10]))
safecpy(deftype, &opt[10], sizeof(deftype));
strlcpy(deftype, &opt[10], sizeof(deftype));
} else if (strncasecmp(opt, "query=", 6) == 0) {
if (testtype(&opt[6]))
safecpy(deftype, &opt[6], sizeof(deftype));
strlcpy(deftype, &opt[6], sizeof(deftype));
} else if (strncasecmp(opt, "qu=", 3) == 0) {
if (testtype(&opt[3]))
safecpy(deftype, &opt[3], sizeof(deftype));
strlcpy(deftype, &opt[3], sizeof(deftype));
} else if (strncasecmp(opt, "q=", 2) == 0) {
if (testtype(&opt[2]))
safecpy(deftype, &opt[2], sizeof(deftype));
strlcpy(deftype, &opt[2], sizeof(deftype));
} else if (strncasecmp(opt, "domain=", 7) == 0) {
safecpy(domainopt, &opt[7], sizeof(domainopt));
strlcpy(domainopt, &opt[7], sizeof(domainopt));
set_search_domain(domainopt);
usesearch = ISC_TRUE;
} else if (strncasecmp(opt, "do=", 3) == 0) {
safecpy(domainopt, &opt[3], sizeof(domainopt));
strlcpy(domainopt, &opt[3], sizeof(domainopt));
set_search_domain(domainopt);
usesearch = ISC_TRUE;
} else if (strncasecmp(opt, "port=", 5) == 0) {
@@ -677,11 +678,11 @@ addlookup(char *opt) {
lookup = make_empty_lookup();
if (get_reverse(store, sizeof(store), opt, lookup->ip6_int, ISC_TRUE)
== ISC_R_SUCCESS) {
safecpy(lookup->textname, store, sizeof(lookup->textname));
strlcpy(lookup->textname, store, sizeof(lookup->textname));
lookup->rdtype = dns_rdatatype_ptr;
lookup->rdtypeset = ISC_TRUE;
} else {
safecpy(lookup->textname, opt, sizeof(lookup->textname));
strlcpy(lookup->textname, opt, sizeof(lookup->textname));
lookup->rdtype = rdtype;
lookup->rdtypeset = ISC_TRUE;
}
@@ -893,5 +894,5 @@ main(int argc, char **argv) {
destroy_libs();
isc_app_finish();
return (0);
return (query_error | print_error);
}
+8 -8
View File
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.html,v 1.23 2010/02/23 01:14:31 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -21,7 +21,7 @@
<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="id2476276"></a><div class="titlepage"></div>
<a name="id2476277"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2>Name</h2>
<p>nslookup &#8212; query Internet name servers interactively</p>
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">nslookup</code> [<code class="option">-option</code>] [name | -] [server]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543358"></a><h2>DESCRIPTION</h2>
<a name="id2543361"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">Nslookup</strong></span>
is a program to query Internet domain name servers. <span><strong class="command">Nslookup</strong></span>
has two modes: interactive and non-interactive. Interactive mode allows
@@ -43,7 +43,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543374"></a><h2>ARGUMENTS</h2>
<a name="id2543377"></a><h2>ARGUMENTS</h2>
<p>
Interactive mode is entered in the following cases:
</p>
@@ -78,7 +78,7 @@ nslookup -query=hinfo -timeout=10
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543418"></a><h2>INTERACTIVE COMMANDS</h2>
<a name="id2543420"></a><h2>INTERACTIVE COMMANDS</h2>
<div class="variablelist"><dl>
<dt><span class="term"><code class="constant">host</code> [<span class="optional">server</span>]</span></dt>
<dd>
@@ -288,19 +288,19 @@ nslookup -query=hinfo -timeout=10
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2546284"></a><h2>FILES</h2>
<a name="id2546286"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2546296"></a><h2>SEE ALSO</h2>
<a name="id2546298"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">host</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2546330"></a><h2>Author</h2>
<a name="id2546332"></a><h2>Author</h2>
<p>
Andrew Cherenson
</p>
@@ -1,4 +1,3 @@
Makefile
dnssec-dsfromkey
dnssec-keyfromlabel
dnssec-keygen
@@ -7,5 +6,4 @@ dnssec-revoke
dnssec-settime
dnssec-signkey
dnssec-signzone
*.lo
.libs
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005, 2007-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
+4 -4
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2008-2010 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2008-2010, 2012 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
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-dsfromkey.8,v 1.13 2010/12/24 01:14:20 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -55,7 +55,7 @@ Use SHA\-256 as the digest algorithm.
.RS 4
Select the digest algorithm. The value of
\fBalgorithm\fR
must be one of SHA\-1 (SHA1), SHA\-256 (SHA256) or GOST. These values are case insensitive.
must be one of SHA\-1 (SHA1), SHA\-256 (SHA256), GOST or SHA\-384 (SHA384). These values are case insensitive.
.RE
.PP
\-K \fIdirectory\fR
@@ -139,5 +139,5 @@ RFC 4509.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2008\-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2008\-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
.br
+9 -9
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2008-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2008-2012 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
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-dsfromkey.c,v 1.19 2010/12/23 04:07:59 marka Exp $ */
/* $Id: dnssec-dsfromkey.c,v 1.19.14.2 2011/09/05 23:45:53 tbox Exp $ */
/*! \file */
@@ -265,12 +265,10 @@ emit(unsigned int dtype, isc_boolean_t showall, char *lookaside,
fatal("can't print class");
isc_buffer_usedregion(&nameb, &r);
isc_util_fwrite(r.base, 1, r.length, stdout);
putchar(' ');
printf("%.*s ", (int)r.length, r.base);
isc_buffer_usedregion(&classb, &r);
isc_util_fwrite(r.base, 1, r.length, stdout);
printf("%.*s", (int)r.length, r.base);
if (lookaside == NULL)
printf(" DS ");
@@ -278,8 +276,7 @@ emit(unsigned int dtype, isc_boolean_t showall, char *lookaside,
printf(" DLV ");
isc_buffer_usedregion(&textb, &r);
isc_util_fwrite(r.base, 1, r.length, stdout);
putchar('\n');
printf("%.*s\n", (int)r.length, r.base);
}
ISC_PLATFORM_NORETURN_PRE static void
@@ -299,7 +296,7 @@ usage(void) {
fprintf(stderr, " -K <directory>: directory in which to find "
"key file or keyset file\n");
fprintf(stderr, " -a algorithm: digest algorithm "
"(SHA-1, SHA-256 or GOST)\n");
"(SHA-1, SHA-256, GOST or SHA-384)\n");
fprintf(stderr, " -1: use SHA-1\n");
fprintf(stderr, " -2: use SHA-256\n");
fprintf(stderr, " -l: add lookaside zone and print DLV records\n");
@@ -418,6 +415,9 @@ main(int argc, char **argv) {
else if (strcasecmp(algname, "GOST") == 0)
dtype = DNS_DSDIGEST_GOST;
#endif
else if (strcasecmp(algname, "SHA384") == 0 ||
strcasecmp(algname, "SHA-384") == 0)
dtype = DNS_DSDIGEST_SHA384;
else
fatal("unknown algorithm %s", algname);
}
+4 -2
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2008-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2008-2010, 2012 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
@@ -39,6 +39,7 @@
<year>2008</year>
<year>2009</year>
<year>2010</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
@@ -107,7 +108,8 @@
<para>
Select the digest algorithm. The value of
<option>algorithm</option> must be one of SHA-1 (SHA1),
SHA-256 (SHA256) or GOST. These values are case insensitive.
SHA-256 (SHA256), GOST or SHA-384 (SHA384).
These values are case insensitive.
</para>
</listitem>
</varlistentry>
+11 -10
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2008-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2008-2010, 2012 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
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-dsfromkey.html,v 1.13 2010/12/24 01:14:19 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,14 +32,14 @@
<div class="cmdsynopsis"><p><code class="command">dnssec-dsfromkey</code> {-s} [<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">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>] [<code class="option">-s</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>file</code></em></code>] [<code class="option">-A</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] {dnsname}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543464"></a><h2>DESCRIPTION</h2>
<a name="id2543468"></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="id2543476"></a><h2>OPTIONS</h2>
<a name="id2543480"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-1</span></dt>
<dd><p>
@@ -54,7 +54,8 @@
<dd><p>
Select the digest algorithm. The value of
<code class="option">algorithm</code> must be one of SHA-1 (SHA1),
SHA-256 (SHA256) or GOST. These values are case insensitive.
SHA-256 (SHA256), GOST or SHA-384 (SHA384).
These values are case insensitive.
</p></dd>
<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
@@ -100,7 +101,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543662"></a><h2>EXAMPLE</h2>
<a name="id2543667"></a><h2>EXAMPLE</h2>
<p>
To build the SHA-256 DS RR from the
<strong class="userinput"><code>Kexample.com.+003+26160</code></strong>
@@ -115,7 +116,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543692"></a><h2>FILES</h2>
<a name="id2543697"></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
@@ -129,13 +130,13 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543728"></a><h2>CAVEAT</h2>
<a name="id2543732"></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="id2543737"></a><h2>SEE ALSO</h2>
<a name="id2543741"></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>,
@@ -145,7 +146,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543777"></a><h2>AUTHOR</h2>
<a name="id2543781"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+5 -5
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2008-2010 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2008-2012 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
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-keyfromlabel.8,v 1.18 2010/12/24 01:14:20 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -47,7 +47,7 @@ of the key is specified on the command line. This must match the name of the zon
.RS 4
Selects the cryptographic algorithm. The value of
\fBalgorithm\fR
must be one of RSAMD5, RSASHA1, DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512 or ECCGOST. These values are case insensitive.
must be one of RSAMD5, RSASHA1, DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512, ECCGOST, ECDSAP256SHA256 or ECDSAP384SHA384. These values are case insensitive.
.sp
If no algorithm is specified, then RSASHA1 will be used by default, unless the
\fB\-3\fR
@@ -162,7 +162,7 @@ Sets the date on which the key is to be activated. After that date, the key will
Sets the date on which the key is to be revoked. After that date, the key will be flagged as revoked. It will be included in the zone and will be used to sign it.
.RE
.PP
\-U \fIdate/offset\fR
\-I \fIdate/offset\fR
.RS 4
Sets the date on which the key is to be retired. After that date, the key will still be included in the zone, but it will not be used to sign it.
.RE
@@ -215,5 +215,5 @@ RFC 4034.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2008\-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2008\-2012 Internet Systems Consortium, Inc. ("ISC")
.br
+21 -7
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2007-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2007-2012 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
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-keyfromlabel.c,v 1.32 2010/12/23 04:07:59 marka Exp $ */
/* $Id: dnssec-keyfromlabel.c,v 1.32.14.4 2011/11/30 00:51:38 marka Exp $ */
/*! \file */
@@ -55,7 +55,8 @@ int verbose;
static const char *algs = "RSA | RSAMD5 | DH | DSA | RSASHA1 |"
" NSEC3DSA | NSEC3RSASHA1 |"
" RSASHA256 | RSASHA512 | ECCGOST";
" RSASHA256 | RSASHA512 | ECCGOST |"
" ECDSAP256SHA256 | ECDSAP384SHA384";
ISC_PLATFORM_NORETURN_PRE static void
usage(void) ISC_PLATFORM_NORETURN_POST;
@@ -110,7 +111,8 @@ usage(void) {
int
main(int argc, char **argv) {
char *algname = NULL, *nametype = NULL, *type = NULL;
char *algname = NULL, *freeit = NULL;
char *nametype = NULL, *type = NULL;
const char *directory = NULL;
#ifdef USE_PKCS11
const char *engine = "pkcs11";
@@ -342,6 +344,9 @@ main(int argc, char **argv) {
algname = strdup(DEFAULT_NSEC3_ALGORITHM);
else
algname = strdup(DEFAULT_ALGORITHM);
if (algname == NULL)
fatal("strdup failed");
freeit = algname;
if (verbose > 0)
fprintf(stderr, "no algorithm specified; "
"defaulting to %s\n", algname);
@@ -365,7 +370,8 @@ main(int argc, char **argv) {
if (use_nsec3 &&
alg != DST_ALG_NSEC3DSA && alg != DST_ALG_NSEC3RSASHA1 &&
alg != DST_ALG_RSASHA256 && alg != DST_ALG_RSASHA512 &&
alg != DST_ALG_ECCGOST) {
alg != DST_ALG_ECCGOST &&
alg != DST_ALG_ECDSA256 && alg != DST_ALG_ECDSA384) {
fatal("%s is incompatible with NSEC3; "
"do not use the -3 option", algname);
}
@@ -514,10 +520,12 @@ main(int argc, char **argv) {
* is a risk of ID collision due to this key or another key
* being revoked.
*/
if (key_collision(dst_key_id(key), name, directory, alg, mctx, &exact))
{
if (key_collision(key, name, directory, mctx, &exact)) {
isc_buffer_clear(&buf);
ret = dst_key_buildfilename(key, 0, directory, &buf);
if (ret != ISC_R_SUCCESS)
fatal("dst_key_buildfilename returned: %s\n",
isc_result_totext(ret));
if (exact)
fatal("%s: %s already exists\n", program, filename);
@@ -542,6 +550,9 @@ main(int argc, char **argv) {
isc_buffer_clear(&buf);
ret = dst_key_buildfilename(key, 0, NULL, &buf);
if (ret != ISC_R_SUCCESS)
fatal("dst_key_buildfilename returned: %s\n",
isc_result_totext(ret));
printf("%s\n", filename);
dst_key_free(&key);
@@ -554,5 +565,8 @@ main(int argc, char **argv) {
isc_mem_free(mctx, label);
isc_mem_destroy(&mctx);
if (freeit != NULL)
free(freeit);
return (0);
}
+7 -4
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2008-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2008-2012 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
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keyfromlabel.docbook,v 1.18 2010/12/23 04:07:59 marka Exp $ -->
<!-- $Id: dnssec-keyfromlabel.docbook,v 1.18.14.2 2011/02/28 01:19:58 tbox Exp $ -->
<refentry id="man.dnssec-keyfromlabel">
<refentryinfo>
<date>February 8, 2008</date>
@@ -39,6 +39,8 @@
<year>2008</year>
<year>2009</year>
<year>2010</year>
<year>2011</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
@@ -93,7 +95,8 @@
<para>
Selects the cryptographic algorithm. The value of
<option>algorithm</option> must be one of RSAMD5, RSASHA1,
DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512 or ECCGOST.
DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512, ECCGOST,
ECDSAP256SHA256 or ECDSAP384SHA384.
These values are case insensitive.
</para>
<para>
@@ -333,7 +336,7 @@
</varlistentry>
<varlistentry>
<term>-U <replaceable class="parameter">date/offset</replaceable></term>
<term>-I <replaceable class="parameter">date/offset</replaceable></term>
<listitem>
<para>
Sets the date on which the key is to be retired. After that
+11 -10
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2008-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2008-2012 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
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keyfromlabel.html,v 1.17 2010/12/24 01:14:19 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">dnssec-keyfromlabel</code> {-l <em class="replaceable"><code>label</code></em>} [<code class="option">-3</code>] [<code class="option">-a <em class="replaceable"><code>algorithm</code></em></code>] [<code class="option">-A <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-D <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>] [<code class="option">-f <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-G</code>] [<code class="option">-I <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-k</code>] [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-n <em class="replaceable"><code>nametype</code></em></code>] [<code class="option">-P <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-p <em class="replaceable"><code>protocol</code></em></code>] [<code class="option">-R <em class="replaceable"><code>date/offset</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>] [<code class="option">-y</code>] {name}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543491"></a><h2>DESCRIPTION</h2>
<a name="id2543498"></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
@@ -44,14 +44,15 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543509"></a><h2>OPTIONS</h2>
<a name="id2543516"></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, RSASHA1,
DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512 or ECCGOST.
DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512, ECCGOST,
ECDSAP256SHA256 or ECDSAP384SHA384.
These values are case insensitive.
</p>
<p>
@@ -163,7 +164,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543873"></a><h2>TIMING OPTIONS</h2>
<a name="id2543880"></a><h2>TIMING OPTIONS</h2>
<p>
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS.
If the argument begins with a '+' or '-', it is interpreted as
@@ -195,7 +196,7 @@
date, the key will be flagged as revoked. It will be included
in the zone and will be used to sign it.
</p></dd>
<dt><span class="term">-U <em class="replaceable"><code>date/offset</code></em></span></dt>
<dt><span class="term">-I <em class="replaceable"><code>date/offset</code></em></span></dt>
<dd><p>
Sets the date on which the key is to be retired. After that
date, the key will still be included in the zone, but it
@@ -210,7 +211,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544039"></a><h2>GENERATED KEY FILES</h2>
<a name="id2544046"></a><h2>GENERATED KEY FILES</h2>
<p>
When <span><strong class="command">dnssec-keyfromlabel</strong></span> completes
successfully,
@@ -249,7 +250,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544112"></a><h2>SEE ALSO</h2>
<a name="id2544119"></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>,
@@ -257,7 +258,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544145"></a><h2>AUTHOR</h2>
<a name="id2544152"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+6 -6
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007-2010 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 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: dnssec-keygen.8,v 1.55 2010/12/24 01:14:19 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -48,7 +48,7 @@ of the key is specified on the command line. For DNSSEC keys, this must match th
.RS 4
Selects the cryptographic algorithm. For DNSSEC keys, the value of
\fBalgorithm\fR
must be one of RSAMD5, RSASHA1, DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512 or ECCGOST. For TSIG/TKEY, the value must be DH (Diffie Hellman), HMAC\-MD5, HMAC\-SHA1, HMAC\-SHA224, HMAC\-SHA256, HMAC\-SHA384, or HMAC\-SHA512. These values are case insensitive.
must be one of RSAMD5, RSASHA1, DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512, ECCGOST, ECDSAP256SHA256 or ECDSAP384SHA384. For TSIG/TKEY, the value must be DH (Diffie Hellman), HMAC\-MD5, HMAC\-SHA1, HMAC\-SHA224, HMAC\-SHA256, HMAC\-SHA384, or HMAC\-SHA512. These values are case insensitive.
.sp
If no algorithm is specified, then RSASHA1 will be used by default, unless the
\fB\-3\fR
@@ -63,7 +63,7 @@ Note 2: DH, HMAC\-MD5, and HMAC\-SHA1 through HMAC\-SHA512 automatically set the
.PP
\-b \fIkeysize\fR
.RS 4
Specifies the number of bits in the key. The choice of key size depends on the algorithm used. RSA keys must be between 512 and 2048 bits. Diffie Hellman keys must be between 128 and 4096 bits. DSA keys must be between 512 and 1024 bits and an exact multiple of 64. HMAC keys must be between 1 and 512 bits.
Specifies the number of bits in the key. The choice of key size depends on the algorithm used. RSA keys must be between 512 and 2048 bits. Diffie Hellman keys must be between 128 and 4096 bits. DSA keys must be between 512 and 1024 bits and an exact multiple of 64. HMAC keys must be between 1 and 512 bits. Elliptic curve algorithms don't need this parameter.
.sp
The key size does not need to be specified if using a default algorithm. The default key size is 1024 bits for zone signing keys (ZSK's) and 2048 bits for key signing keys (KSK's, generated with
\fB\-f KSK\fR). However, if an algorithm is explicitly specified with the
@@ -81,7 +81,7 @@ must either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY (for a
.PP
\-3
.RS 4
Use an NSEC3\-capable algorithm to generate a DNSSEC key. If this option is used and no algorithm is explicitly set on the command line, NSEC3RSASHA1 will be used by default. Note that RSASHA256, RSASHA512 and ECCGOST algorithms are NSEC3\-capable.
Use an NSEC3\-capable algorithm to generate a DNSSEC key. If this option is used and no algorithm is explicitly set on the command line, NSEC3RSASHA1 will be used by default. Note that RSASHA256, RSASHA512, ECCGOST, ECDSAP256SHA256 and ECDSAP384SHA384 algorithms are NSEC3\-capable.
.RE
.PP
\-C
@@ -298,7 +298,7 @@ RFC 4034.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007\-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007\-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2003 Internet Software Consortium.
.br
+39 -16
View File
@@ -1,5 +1,5 @@
/*
* Portions Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-2012 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.115 2010/12/23 04:07:59 marka Exp $ */
/* $Id: dnssec-keygen.c,v 1.115.14.4 2011/11/30 00:51:38 marka Exp $ */
/*! \file */
@@ -85,6 +85,7 @@ usage(void) {
fprintf(stderr, " RSA | RSAMD5 | DSA | RSASHA1 | NSEC3RSASHA1"
" | NSEC3DSA |\n");
fprintf(stderr, " RSASHA256 | RSASHA512 | ECCGOST |\n");
fprintf(stderr, " ECDSAP256SHA256 | ECDSAP384SHA384 |\n");
fprintf(stderr, " DH | HMAC-MD5 | HMAC-SHA1 | HMAC-SHA224 | "
"HMAC-SHA256 | \n");
fprintf(stderr, " HMAC-SHA384 | HMAC-SHA512\n");
@@ -102,6 +103,8 @@ usage(void) {
fprintf(stderr, " NSEC3DSA:\t[512..1024] and divisible "
"by 64\n");
fprintf(stderr, " ECCGOST:\tignored\n");
fprintf(stderr, " ECDSAP256SHA256:\tignored\n");
fprintf(stderr, " ECDSAP384SHA384:\tignored\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");
@@ -197,7 +200,8 @@ progress(int p)
int
main(int argc, char **argv) {
char *algname = NULL, *nametype = NULL, *type = NULL;
char *algname = NULL, *freeit = NULL;
char *nametype = NULL, *type = NULL;
char *classname = NULL;
char *endp;
dst_key_t *key = NULL;
@@ -509,6 +513,9 @@ main(int argc, char **argv) {
algname = strdup(DEFAULT_NSEC3_ALGORITHM);
else
algname = strdup(DEFAULT_ALGORITHM);
if (algname == NULL)
fatal("strdup failed");
freeit = algname;
if (verbose > 0)
fprintf(stderr, "no algorithm specified; "
"defaulting to %s\n", algname);
@@ -545,7 +552,8 @@ main(int argc, char **argv) {
if (use_nsec3 &&
alg != DST_ALG_NSEC3DSA && alg != DST_ALG_NSEC3RSASHA1 &&
alg != DST_ALG_RSASHA256 && alg!= DST_ALG_RSASHA512 &&
alg != DST_ALG_ECCGOST) {
alg != DST_ALG_ECCGOST &&
alg != DST_ALG_ECDSA256 && alg != DST_ALG_ECDSA384) {
fatal("%s is incompatible with NSEC3; "
"do not use the -3 option", algname);
}
@@ -575,9 +583,11 @@ main(int argc, char **argv) {
size = 1024;
if (verbose > 0)
fprintf(stderr, "key size not "
"specified; defaulting "
"to %d\n", size);
} else if (alg != DST_ALG_ECCGOST)
"specified; defaulting"
" to %d\n", size);
} else if (alg != DST_ALG_ECCGOST &&
alg != DST_ALG_ECDSA256 &&
alg != DST_ALG_ECDSA384)
fatal("key size not specified (-b option)");
}
@@ -706,6 +716,8 @@ main(int argc, char **argv) {
fatal("invalid DSS key size: %d", size);
break;
case DST_ALG_ECCGOST:
case DST_ALG_ECDSA256:
case DST_ALG_ECDSA384:
break;
case DST_ALG_HMACMD5:
options |= DST_TYPE_KEY;
@@ -771,7 +783,8 @@ main(int argc, char **argv) {
if (!(alg == DNS_KEYALG_RSAMD5 || alg == DNS_KEYALG_RSASHA1 ||
alg == DNS_KEYALG_NSEC3RSASHA1 || alg == DNS_KEYALG_RSASHA256 ||
alg == DNS_KEYALG_RSASHA512 || alg == DST_ALG_ECCGOST) &&
alg == DNS_KEYALG_RSASHA512 || alg == DST_ALG_ECCGOST ||
alg == DST_ALG_ECDSA256 || alg == DST_ALG_ECDSA384) &&
rsa_exp != 0)
fatal("specified RSA exponent for a non-RSA key");
@@ -845,6 +858,8 @@ main(int argc, char **argv) {
case DNS_KEYALG_DSA:
case DNS_KEYALG_NSEC3DSA:
case DST_ALG_ECCGOST:
case DST_ALG_ECDSA256:
case DST_ALG_ECDSA384:
show_progress = ISC_TRUE;
/* fall through */
@@ -965,8 +980,7 @@ main(int argc, char **argv) {
* if there is a risk of ID collision due to this key
* or another key being revoked.
*/
if (key_collision(dst_key_id(key), name, directory,
alg, mctx, NULL)) {
if (key_collision(key, name, directory, mctx, NULL)) {
conflict = ISC_TRUE;
if (null_key) {
dst_key_free(&key);
@@ -975,12 +989,15 @@ main(int argc, char **argv) {
if (verbose > 0) {
isc_buffer_clear(&buf);
dst_key_buildfilename(key, 0, directory, &buf);
fprintf(stderr,
"%s: %s already exists, or might "
"collide with another key upon "
"revokation. Generating a new key\n",
program, filename);
ret = dst_key_buildfilename(key, 0,
directory, &buf);
if (ret == ISC_R_SUCCESS)
fprintf(stderr,
"%s: %s already exists, or "
"might collide with another "
"key upon revokation. "
"Generating a new key\n",
program, filename);
}
dst_key_free(&key);
@@ -1001,6 +1018,9 @@ main(int argc, char **argv) {
isc_buffer_clear(&buf);
ret = dst_key_buildfilename(key, 0, NULL, &buf);
if (ret != ISC_R_SUCCESS)
fatal("dst_key_buildfilename returned: %s\n",
isc_result_totext(ret));
printf("%s\n", filename);
dst_key_free(&key);
if (prevkey != NULL)
@@ -1014,5 +1034,8 @@ main(int argc, char **argv) {
isc_mem_stats(mctx, stdout);
isc_mem_destroy(&mctx);
if (freeit != NULL)
free(freeit);
return (0);
}
+8 -4
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -43,6 +43,7 @@
<year>2008</year>
<year>2009</year>
<year>2010</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -114,7 +115,8 @@
<para>
Selects the cryptographic algorithm. For DNSSEC keys, the value
of <option>algorithm</option> must be one of RSAMD5, RSASHA1,
DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512 or ECCGOST.
DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512, ECCGOST,
ECDSAP256SHA256 or ECDSAP384SHA384.
For TSIG/TKEY, the value must
be DH (Diffie Hellman), HMAC-MD5, HMAC-SHA1, HMAC-SHA224,
HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512. These values are
@@ -148,7 +150,8 @@
between 512 and 2048 bits. Diffie Hellman keys must be between
128 and 4096 bits. DSA keys must be between 512 and 1024
bits and an exact multiple of 64. HMAC keys must be
between 1 and 512 bits.
between 1 and 512 bits. Elliptic curve algorithms don't need
this parameter.
</para>
<para>
The key size does not need to be specified if using a default
@@ -184,7 +187,8 @@
Use an NSEC3-capable algorithm to generate a DNSSEC key.
If this option is used and no algorithm is explicitly
set on the command line, NSEC3RSASHA1 will be used by
default. Note that RSASHA256, RSASHA512 and ECCGOST algorithms
default. Note that RSASHA256, RSASHA512, ECCGOST,
ECDSAP256SHA256 and ECDSAP384SHA384 algorithms
are NSEC3-capable.
</para>
</listitem>
+15 -12
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keygen.html,v 1.47 2010/12/24 01:14:20 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">dnssec-keygen</code> [<code class="option">-a <em class="replaceable"><code>algorithm</code></em></code>] [<code class="option">-b <em class="replaceable"><code>keysize</code></em></code>] [<code class="option">-n <em class="replaceable"><code>nametype</code></em></code>] [<code class="option">-3</code>] [<code class="option">-A <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-C</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-D <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>] [<code class="option">-e</code>] [<code class="option">-f <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-G</code>] [<code class="option">-g <em class="replaceable"><code>generator</code></em></code>] [<code class="option">-h</code>] [<code class="option">-I <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-i <em class="replaceable"><code>interval</code></em></code>] [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-k</code>] [<code class="option">-P <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-p <em class="replaceable"><code>protocol</code></em></code>] [<code class="option">-q</code>] [<code class="option">-R <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-S <em class="replaceable"><code>key</code></em></code>] [<code class="option">-s <em class="replaceable"><code>strength</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>] [<code class="option">-z</code>] {name}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543578"></a><h2>DESCRIPTION</h2>
<a name="id2543582"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-keygen</strong></span>
generates keys for DNSSEC (Secure DNS), as defined in RFC 2535
and RFC 4034. It can also generate keys for use with
@@ -46,14 +46,15 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543596"></a><h2>OPTIONS</h2>
<a name="id2543601"></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. For DNSSEC keys, the value
of <code class="option">algorithm</code> must be one of RSAMD5, RSASHA1,
DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512 or ECCGOST.
DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512, ECCGOST,
ECDSAP256SHA256 or ECDSAP384SHA384.
For TSIG/TKEY, the value must
be DH (Diffie Hellman), HMAC-MD5, HMAC-SHA1, HMAC-SHA224,
HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512. These values are
@@ -84,7 +85,8 @@
between 512 and 2048 bits. Diffie Hellman keys must be between
128 and 4096 bits. DSA keys must be between 512 and 1024
bits and an exact multiple of 64. HMAC keys must be
between 1 and 512 bits.
between 1 and 512 bits. Elliptic curve algorithms don't need
this parameter.
</p>
<p>
The key size does not need to be specified if using a default
@@ -111,7 +113,8 @@
Use an NSEC3-capable algorithm to generate a DNSSEC key.
If this option is used and no algorithm is explicitly
set on the command line, NSEC3RSASHA1 will be used by
default. Note that RSASHA256, RSASHA512 and ECCGOST algorithms
default. Note that RSASHA256, RSASHA512, ECCGOST,
ECDSAP256SHA256 and ECDSAP384SHA384 algorithms
are NSEC3-capable.
</p></dd>
<dt><span class="term">-C</span></dt>
@@ -248,7 +251,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544301"></a><h2>TIMING OPTIONS</h2>
<a name="id2544169"></a><h2>TIMING OPTIONS</h2>
<p>
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS.
If the argument begins with a '+' or '-', it is interpreted as
@@ -319,7 +322,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544491"></a><h2>GENERATED KEYS</h2>
<a name="id2544359"></a><h2>GENERATED KEYS</h2>
<p>
When <span><strong class="command">dnssec-keygen</strong></span> completes
successfully,
@@ -365,7 +368,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544642"></a><h2>EXAMPLE</h2>
<a name="id2544441"></a><h2>EXAMPLE</h2>
<p>
To generate a 768-bit DSA key for the domain
<strong class="userinput"><code>example.com</code></strong>, the following command would be
@@ -386,7 +389,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544685"></a><h2>SEE ALSO</h2>
<a name="id2544485"></a><h2>SEE ALSO</h2>
<p><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>,
@@ -395,7 +398,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544716"></a><h2>AUTHOR</h2>
<a name="id2544584"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+9 -4
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2009, 2011 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
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-revoke.8,v 1.9 2010/05/19 01:14:14 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -32,7 +32,7 @@
dnssec\-revoke \- Set the REVOKED bit on a DNSSEC key
.SH "SYNOPSIS"
.HP 14
\fBdnssec\-revoke\fR [\fB\-hr\fR] [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-K\ \fR\fB\fIdirectory\fR\fR] [\fB\-E\ \fR\fB\fIengine\fR\fR] [\fB\-f\fR] {keyfile}
\fBdnssec\-revoke\fR [\fB\-hr\fR] [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-K\ \fR\fB\fIdirectory\fR\fR] [\fB\-E\ \fR\fB\fIengine\fR\fR] [\fB\-f\fR] [\fB\-R\fR] {keyfile}
.SH "DESCRIPTION"
.PP
\fBdnssec\-revoke\fR
@@ -70,6 +70,11 @@ Force overwrite: Causes
\fBdnssec\-revoke\fR
to write the new key pair even if a file already exists matching the algorithm and key ID of the revoked key.
.RE
.PP
\-R
.RS 4
Print the key tag of the key with the REVOKE bit set but do not revoke the key.
.RE
.SH "SEE ALSO"
.PP
\fBdnssec\-keygen\fR(8),
@@ -79,5 +84,5 @@ RFC 5011.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2009, 2011 Internet Systems Consortium, Inc. ("ISC")
.br
+11 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2009-2011 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
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-revoke.c,v 1.22 2010/05/06 23:50:56 tbox Exp $ */
/* $Id: dnssec-revoke.c,v 1.22.124.2 2011/10/20 23:46:27 tbox Exp $ */
/*! \file */
@@ -92,6 +92,7 @@ main(int argc, char **argv) {
isc_buffer_t buf;
isc_boolean_t force = ISC_FALSE;
isc_boolean_t remove = ISC_FALSE;
isc_boolean_t id = ISC_FALSE;
if (argc == 1)
usage();
@@ -104,7 +105,7 @@ main(int argc, char **argv) {
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv, "E:fK:rhv:")) != -1) {
while ((ch = isc_commandline_parse(argc, argv, "E:fK:rRhv:")) != -1) {
switch (ch) {
case 'E':
engine = isc_commandline_argument;
@@ -126,6 +127,9 @@ main(int argc, char **argv) {
case 'r':
remove = ISC_TRUE;
break;
case 'R':
id = ISC_TRUE;
break;
case 'v':
verbose = strtol(isc_commandline_argument, &endp, 0);
if (*endp != '\0')
@@ -186,6 +190,10 @@ main(int argc, char **argv) {
fatal("Invalid keyfile name %s: %s",
filename, isc_result_totext(result));
if (id) {
fprintf(stdout, "%u\n", dst_key_rid(key));
goto cleanup;
}
dst_key_format(key, keystr, sizeof(keystr));
if (verbose > 2)
+14 -2
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2009, 2011 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
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-revoke.docbook,v 1.7 2009/11/03 21:44:46 each Exp $ -->
<!-- $Id: dnssec-revoke.docbook,v 1.7.266.2 2011/10/20 23:46:27 tbox Exp $ -->
<refentry id="man.dnssec-revoke">
<refentryinfo>
<date>June 1, 2009</date>
@@ -37,6 +37,7 @@
<docinfo>
<copyright>
<year>2009</year>
<year>2011</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
@@ -49,6 +50,7 @@
<arg><option>-K <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-E <replaceable class="parameter">engine</replaceable></option></arg>
<arg><option>-f</option></arg>
<arg><option>-R</option></arg>
<arg choice="req">keyfile</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -123,6 +125,16 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-R</term>
<listitem>
<para>
Print the key tag of the key with the REVOKE bit set but do
not revoke the key.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
+12 -7
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2009, 2011 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
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-revoke.html,v 1.9 2010/05/19 01:14:14 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -28,10 +28,10 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">dnssec-revoke</code> [<code class="option">-hr</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>] [<code class="option">-f</code>] {keyfile}</p></div>
<div class="cmdsynopsis"><p><code class="command">dnssec-revoke</code> [<code class="option">-hr</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>] [<code class="option">-f</code>] [<code class="option">-R</code>] {keyfile}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543373"></a><h2>DESCRIPTION</h2>
<a name="id2543382"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-revoke</strong></span>
reads a DNSSEC key file, sets the REVOKED bit on the key as defined
in RFC 5011, and creates a new pair of key files containing the
@@ -39,7 +39,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543385"></a><h2>OPTIONS</h2>
<a name="id2543394"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-h</span></dt>
<dd><p>
@@ -69,17 +69,22 @@
write the new key pair even if a file already exists matching
the algorithm and key ID of the revoked key.
</p></dd>
<dt><span class="term">-R</span></dt>
<dd><p>
Print the key tag of the key with the REVOKE bit set but do
not revoke the key.
</p></dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543491"></a><h2>SEE ALSO</h2>
<a name="id2543512"></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 5011</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543515"></a><h2>AUTHOR</h2>
<a name="id2543537"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+5 -5
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2009-2011 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
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-settime.8,v 1.14 2010/08/17 01:15:26 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -52,14 +52,14 @@ simply prints the key timing metadata already stored in the key.
.PP
When key metadata fields are changed, both files of a key pair (\fIKnnnn.+aaa+iiiii.key\fR
and
\fIKnnnn.+aaa+iiiii.private\fR) are regenerated. Metadata fields are stored in the private file. A human\-readable description of the metadata is also placed in comments in the key file.
\fIKnnnn.+aaa+iiiii.private\fR) are regenerated. Metadata fields are stored in the private file. A human\-readable description of the metadata is also placed in comments in the key file. The private file's permissions are always set to be inaccessible to anyone other than the owner (mode 0600).
.SH "OPTIONS"
.PP
\-f
.RS 4
Force an update of an old\-format key with no metadata fields. Without this option,
\fBdnssec\-settime\fR
will fail when attempting to update a legacy key. With this option, the key will be recreated in the new format, but with the original key data retained. The key's creation date will be set to the present time.
will fail when attempting to update a legacy key. With this option, the key will be recreated in the new format, but with the original key data retained. The key's creation date will be set to the present time. If no other values are specified, then the key's publication and activation dates will also be set to the present time.
.RE
.PP
\-K \fIdirectory\fR
@@ -162,5 +162,5 @@ RFC 5011.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2009\-2011 Internet Systems Consortium, Inc. ("ISC")
.br
+18 -4
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2009-2012 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
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-settime.c,v 1.28 2010/12/19 07:29:36 each Exp $ */
/* $Id: dnssec-settime.c,v 1.28.16.3 2011/06/02 20:24:11 each Exp $ */
/*! \file */
@@ -38,6 +38,7 @@
#include <dns/keyvalues.h>
#include <dns/result.h>
#include <dns/log.h>
#include <dst/dst.h>
@@ -81,8 +82,7 @@ usage(void) {
"deletion date\n");
fprintf(stderr, "Printing options:\n");
fprintf(stderr, " -p C/P/A/R/I/D/all: print a particular time "
"value or values "
"[default: all]\n");
"value or values\n");
fprintf(stderr, " -u: print times in unix epoch "
"format\n");
fprintf(stderr, "Output:\n");
@@ -152,6 +152,7 @@ main(int argc, char **argv) {
isc_boolean_t force = ISC_FALSE;
isc_boolean_t epoch = ISC_FALSE;
isc_boolean_t changed = ISC_FALSE;
isc_log_t *log = NULL;
if (argc == 1)
usage();
@@ -160,6 +161,8 @@ main(int argc, char **argv) {
if (result != ISC_R_SUCCESS)
fatal("Out of memory");
setup_logging(verbose, mctx, &log);
dns_result_register();
isc_commandline_errprint = ISC_FALSE;
@@ -513,6 +516,16 @@ main(int argc, char **argv) {
else if (unsetdel)
dst_key_unsettime(key, DST_TIME_DELETE);
/*
* No metadata changes were made but we're forcing an upgrade
* to the new format anyway: use "-P now -A now" as the default
*/
if (force && !changed) {
dst_key_settime(key, DST_TIME_PUBLISH, now);
dst_key_settime(key, DST_TIME_ACTIVATE, now);
changed = ISC_TRUE;
}
/*
* Print out time values, if -p was used.
*/
@@ -569,6 +582,7 @@ main(int argc, char **argv) {
cleanup_entropy(&ectx);
if (verbose > 10)
isc_mem_stats(mctx, stdout);
cleanup_logging(&log);
isc_mem_free(mctx, directory);
isc_mem_destroy(&mctx);
+8 -4
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2009-2011 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
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-settime.docbook,v 1.11 2010/08/16 22:21:06 marka Exp $ -->
<!-- $Id: dnssec-settime.docbook,v 1.11.70.3 2011/11/03 20:21:30 each Exp $ -->
<refentry id="man.dnssec-settime">
<refentryinfo>
<date>July 15, 2009</date>
@@ -38,6 +38,7 @@
<copyright>
<year>2009</year>
<year>2010</year>
<year>2011</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
@@ -81,7 +82,8 @@
<filename>Knnnn.+aaa+iiiii.private</filename>) are regenerated.
Metadata fields are stored in the private file. A human-readable
description of the metadata is also placed in comments in the key
file.
file. The private file's permissions are always set to be
inaccessible to anyone other than the owner (mode 0600).
</para>
</refsect1>
@@ -98,7 +100,9 @@
fail when attempting to update a legacy key. With this option,
the key will be recreated in the new format, but with the
original key data retained. The key's creation date will be
set to the present time.
set to the present time. If no other values are specified,
then the key's publication and activation dates will also
be set to the present time.
</para>
</listitem>
</varlistentry>
+13 -10
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2009-2011 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
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-settime.html,v 1.14 2010/08/17 01:15:26 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">dnssec-settime</code> [<code class="option">-f</code>] [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-P <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-A <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-R <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-I <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-D <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-h</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>] {keyfile}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543419"></a><h2>DESCRIPTION</h2>
<a name="id2543424"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-settime</strong></span>
reads a DNSSEC private key file and sets the key timing metadata
as specified by the <code class="option">-P</code>, <code class="option">-A</code>,
@@ -52,11 +52,12 @@
<code class="filename">Knnnn.+aaa+iiiii.private</code>) are regenerated.
Metadata fields are stored in the private file. A human-readable
description of the metadata is also placed in comments in the key
file.
file. The private file's permissions are always set to be
inaccessible to anyone other than the owner (mode 0600).
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543467"></a><h2>OPTIONS</h2>
<a name="id2543472"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-f</span></dt>
<dd><p>
@@ -65,7 +66,9 @@
fail when attempting to update a legacy key. With this option,
the key will be recreated in the new format, but with the
original key data retained. The key's creation date will be
set to the present time.
set to the present time. If no other values are specified,
then the key's publication and activation dates will also
be set to the present time.
</p></dd>
<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
@@ -87,7 +90,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543559"></a><h2>TIMING OPTIONS</h2>
<a name="id2543563"></a><h2>TIMING OPTIONS</h2>
<p>
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS.
If the argument begins with a '+' or '-', it is interpreted as
@@ -166,7 +169,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543698"></a><h2>PRINTING OPTIONS</h2>
<a name="id2543770"></a><h2>PRINTING OPTIONS</h2>
<p>
<span><strong class="command">dnssec-settime</strong></span> can also be used to print the
timing metadata associated with a key.
@@ -192,7 +195,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543912"></a><h2>SEE ALSO</h2>
<a name="id2543848"></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>,
@@ -200,7 +203,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543945"></a><h2>AUTHOR</h2>
<a name="id2543881"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-signzone.8,v 1.59 2009/12/04 01:13:44 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+97 -57
View File
@@ -1,5 +1,5 @@
/*
* Portions Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-2011 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-signzone.c,v 1.262 2010/06/03 23:51:04 tbox Exp $ */
/* $Id: dnssec-signzone.c,v 1.262.110.9 2011/07/19 23:47:12 tbox Exp $ */
/*! \file */
@@ -338,7 +338,7 @@ keythatsigned(dns_rdata_rrsig_t *rrsig) {
} else {
dns_dnsseckey_create(mctx, &pubkey, &key);
}
key->force_publish = ISC_TRUE;
key->force_publish = ISC_FALSE;
key->force_sign = ISC_FALSE;
ISC_LIST_APPEND(keylist, key, link);
@@ -486,32 +486,32 @@ signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name,
if (!expired)
keep = ISC_TRUE;
} else if (issigningkey(key)) {
if (!expired && setverifies(name, set, key->key,
&sigrdata)) {
if (!expired && rrsig.originalttl == set->ttl &&
setverifies(name, set, key->key, &sigrdata)) {
vbprintf(2, "\trrsig by %s retained\n", sigstr);
keep = ISC_TRUE;
wassignedby[key->index] = ISC_TRUE;
nowsignedby[key->index] = ISC_TRUE;
} else {
vbprintf(2, "\trrsig by %s dropped - %s\n",
sigstr,
expired ? "expired" :
"failed to verify");
sigstr, expired ? "expired" :
rrsig.originalttl != set->ttl ?
"ttl change" : "failed to verify");
wassignedby[key->index] = ISC_TRUE;
resign = ISC_TRUE;
}
} else if (iszonekey(key)) {
if (!expired && setverifies(name, set, key->key,
&sigrdata)) {
if (!expired && rrsig.originalttl == set->ttl &&
setverifies(name, set, key->key, &sigrdata)) {
vbprintf(2, "\trrsig by %s retained\n", sigstr);
keep = ISC_TRUE;
wassignedby[key->index] = ISC_TRUE;
nowsignedby[key->index] = ISC_TRUE;
} else {
vbprintf(2, "\trrsig by %s dropped - %s\n",
sigstr,
expired ? "expired" :
"failed to verify");
sigstr, expired ? "expired" :
rrsig.originalttl != set->ttl ?
"ttl change" : "failed to verify");
wassignedby[key->index] = ISC_TRUE;
}
} else if (!expired) {
@@ -522,7 +522,8 @@ signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name,
}
if (keep) {
nowsignedby[key->index] = ISC_TRUE;
if (key != NULL)
nowsignedby[key->index] = ISC_TRUE;
INCSTAT(nretained);
if (sigset.ttl != ttl) {
vbprintf(2, "\tfixing ttl %s\n", sigstr);
@@ -1387,6 +1388,13 @@ verifyset(dns_rdataset_t *rdataset, dns_name_t *name, dns_dbnode_t *node,
dns_rdataset_current(&sigrdataset, &rdata);
dns_rdata_tostruct(&rdata, &sig, NULL);
if (rdataset->ttl != sig.originalttl) {
dns_name_format(name, namebuf, sizeof(namebuf));
type_format(rdataset->type, typebuf, sizeof(typebuf));
fprintf(stderr, "TTL mismatch for %s %s keytag %u\n",
namebuf, typebuf, sig.keyid);
continue;
}
if ((set_algorithms[sig.algorithm] != 0) ||
(ksk_algorithms[sig.algorithm] == 0))
continue;
@@ -1443,14 +1451,14 @@ verifynode(dns_name_t *name, dns_dbnode_t *node, isc_boolean_t delegation,
/*%
* Verify that certain things are sane:
*
* The apex has a DNSKEY record with at least one KSK, and at least
* The apex has a DNSKEY RRset with at least one KSK, and at least
* one ZSK if the -x flag was not used.
*
* The DNSKEY record was signed with at least one of the KSKs in this
* set.
* The DNSKEY record was signed with at least one of the KSKs in
* the DNSKEY RRset.
*
* The rest of the zone was signed with at least one of the ZSKs
* present in the DNSKEY RRSET.
* present in the DNSKEY RRset.
*/
static void
verifyzone(void) {
@@ -1461,13 +1469,12 @@ verifyzone(void) {
dns_name_t *name, *nextname, *zonecut;
dns_rdata_dnskey_t dnskey;
dns_rdata_t rdata = DNS_RDATA_INIT;
dns_rdataset_t rdataset;
dns_rdataset_t sigrdataset;
dns_rdataset_t keyset, soaset;
dns_rdataset_t keysigs, soasigs;
int i;
isc_boolean_t done = ISC_FALSE;
isc_boolean_t first = ISC_TRUE;
isc_boolean_t goodksk = ISC_FALSE;
isc_boolean_t goodzsk = ISC_FALSE;
isc_result_t result;
unsigned char revoked_ksk[256];
unsigned char revoked_zsk[256];
@@ -1489,18 +1496,30 @@ verifyzone(void) {
fatal("failed to find the zone's origin: %s",
isc_result_totext(result));
dns_rdataset_init(&rdataset);
dns_rdataset_init(&sigrdataset);
dns_rdataset_init(&keyset);
dns_rdataset_init(&keysigs);
dns_rdataset_init(&soaset);
dns_rdataset_init(&soasigs);
result = dns_db_findrdataset(gdb, node, gversion,
dns_rdatatype_dnskey,
0, 0, &rdataset, &sigrdataset);
dns_db_detachnode(gdb, &node);
0, 0, &keyset, &keysigs);
if (result != ISC_R_SUCCESS)
fatal("cannot find DNSKEY rrset\n");
if (!dns_rdataset_isassociated(&sigrdataset))
result = dns_db_findrdataset(gdb, node, gversion,
dns_rdatatype_soa,
0, 0, &soaset, &soasigs);
dns_db_detachnode(gdb, &node);
if (result != ISC_R_SUCCESS)
fatal("cannot find SOA rrset\n");
if (!dns_rdataset_isassociated(&keysigs))
fatal("cannot find DNSKEY RRSIGs\n");
if (!dns_rdataset_isassociated(&soasigs))
fatal("cannot find SOA RRSIGs\n");
memset(revoked_ksk, 0, sizeof(revoked_ksk));
memset(revoked_zsk, 0, sizeof(revoked_zsk));
memset(standby_ksk, 0, sizeof(standby_ksk));
@@ -1517,10 +1536,10 @@ verifyzone(void) {
* and one ZSK per algorithm in it (or, if -x was used, one
* self-signing KSK).
*/
for (result = dns_rdataset_first(&rdataset);
for (result = dns_rdataset_first(&keyset);
result == ISC_R_SUCCESS;
result = dns_rdataset_next(&rdataset)) {
dns_rdataset_current(&rdataset, &rdata);
result = dns_rdataset_next(&keyset)) {
dns_rdataset_current(&keyset, &rdata);
result = dns_rdata_tostruct(&rdata, &dnskey, NULL);
check_result(result, "dns_rdata_tostruct");
@@ -1528,8 +1547,8 @@ verifyzone(void) {
;
else if ((dnskey.flags & DNS_KEYFLAG_REVOKE) != 0) {
if ((dnskey.flags & DNS_KEYFLAG_KSK) != 0 &&
!dns_dnssec_selfsigns(&rdata, gorigin, &rdataset,
&sigrdataset, ISC_FALSE,
!dns_dnssec_selfsigns(&rdata, gorigin, &keyset,
&keysigs, ISC_FALSE,
mctx)) {
char namebuf[DNS_NAME_FORMATSIZE];
char buffer[1024];
@@ -1551,8 +1570,8 @@ verifyzone(void) {
revoked_zsk[dnskey.algorithm] != 255)
revoked_zsk[dnskey.algorithm]++;
} else if ((dnskey.flags & DNS_KEYFLAG_KSK) != 0) {
if (dns_dnssec_selfsigns(&rdata, gorigin, &rdataset,
&sigrdataset, ISC_FALSE, mctx)) {
if (dns_dnssec_selfsigns(&rdata, gorigin, &keyset,
&keysigs, ISC_FALSE, mctx)) {
if (ksk_algorithms[dnskey.algorithm] != 255)
ksk_algorithms[dnskey.algorithm]++;
goodksk = ISC_TRUE;
@@ -1560,8 +1579,8 @@ verifyzone(void) {
if (standby_ksk[dnskey.algorithm] != 255)
standby_ksk[dnskey.algorithm]++;
}
} else if (dns_dnssec_selfsigns(&rdata, gorigin, &rdataset,
&sigrdataset, ISC_FALSE,
} else if (dns_dnssec_selfsigns(&rdata, gorigin, &keyset,
&keysigs, ISC_FALSE,
mctx)) {
#ifdef ALLOW_KSKLESS_ZONES
if (self_algorithms[dnskey.algorithm] != 255)
@@ -1569,7 +1588,10 @@ verifyzone(void) {
#endif
if (zsk_algorithms[dnskey.algorithm] != 255)
zsk_algorithms[dnskey.algorithm]++;
goodzsk = ISC_TRUE;
} else if (dns_dnssec_signs(&rdata, gorigin, &soaset,
&soasigs, ISC_FALSE, mctx)) {
if (zsk_algorithms[dnskey.algorithm] != 255)
zsk_algorithms[dnskey.algorithm]++;
} else {
if (standby_zsk[dnskey.algorithm] != 255)
standby_zsk[dnskey.algorithm]++;
@@ -1580,7 +1602,9 @@ verifyzone(void) {
dns_rdata_freestruct(&dnskey);
dns_rdata_reset(&rdata);
}
dns_rdataset_disassociate(&sigrdataset);
dns_rdataset_disassociate(&keysigs);
dns_rdataset_disassociate(&soaset);
dns_rdataset_disassociate(&soasigs);
#ifdef ALLOW_KSKLESS_ZONES
if (!goodksk) {
@@ -1595,7 +1619,7 @@ verifyzone(void) {
}
#else
if (!goodksk) {
fatal("no self signed KSK's found");
fatal("No self signed KSK's found");
}
#endif
@@ -1669,7 +1693,7 @@ verifyzone(void) {
dns_name_copy(name, zonecut, NULL);
isdelegation = ISC_TRUE;
}
verifynode(name, node, isdelegation, &rdataset,
verifynode(name, node, isdelegation, &keyset,
ksk_algorithms, bad_algorithms);
result = dns_dbiterator_next(dbiter);
nextnode = NULL;
@@ -1706,13 +1730,13 @@ verifyzone(void) {
result = dns_dbiterator_next(dbiter) ) {
result = dns_dbiterator_current(dbiter, &node, name);
check_dns_dbiterator_current(result);
verifynode(name, node, ISC_FALSE, &rdataset,
verifynode(name, node, ISC_FALSE, &keyset,
ksk_algorithms, bad_algorithms);
dns_db_detachnode(gdb, &node);
}
dns_dbiterator_destroy(&dbiter);
dns_rdataset_disassociate(&rdataset);
dns_rdataset_disassociate(&keyset);
/*
* If we made it this far, we have what we consider a properly signed
@@ -2192,6 +2216,7 @@ addnsec3param(const unsigned char *salt, size_t salt_length,
result = dns_rdata_fromstruct(&rdata, gclass,
dns_rdatatype_nsec3param,
&nsec3param, &b);
check_result(result, "dns_rdata_fromstruct()");
rdatalist.rdclass = rdata.rdclass;
rdatalist.type = rdata.type;
rdatalist.covers = 0;
@@ -2801,7 +2826,7 @@ loadzonekeys(isc_boolean_t preserve_keys, isc_boolean_t load_public) {
}
keyttl = rdataset.ttl;
/* Load keys corresponding to the existing DNSKEY RRset */
/* Load keys corresponding to the existing DNSKEY RRset. */
result = dns_dnssec_keylistfromrdataset(gorigin, directory, mctx,
&rdataset, &keysigs, &soasigs,
preserve_keys, load_public,
@@ -3320,28 +3345,36 @@ removetempfile(void) {
}
static void
print_stats(isc_time_t *timer_start, isc_time_t *timer_finish) {
isc_uint64_t runtime_us; /* Runtime in microseconds */
isc_uint64_t runtime_ms; /* Runtime in milliseconds */
print_stats(isc_time_t *timer_start, isc_time_t *timer_finish,
isc_time_t *sign_start, isc_time_t *sign_finish)
{
isc_uint64_t time_us; /* Time in microseconds */
isc_uint64_t time_ms; /* Time in milliseconds */
isc_uint64_t sig_ms; /* Signatures per millisecond */
runtime_us = isc_time_microdiff(timer_finish, timer_start);
printf("Signatures generated: %10d\n", nsigned);
printf("Signatures retained: %10d\n", nretained);
printf("Signatures dropped: %10d\n", ndropped);
printf("Signatures successfully verified: %10d\n", nverified);
printf("Signatures unsuccessfully verified: %10d\n", nverifyfailed);
runtime_ms = runtime_us / 1000;
printf("Runtime in seconds: %7u.%03u\n",
(unsigned int) (runtime_ms / 1000),
(unsigned int) (runtime_ms % 1000));
if (runtime_us > 0) {
sig_ms = ((isc_uint64_t)nsigned * 1000000000) / runtime_us;
time_us = isc_time_microdiff(sign_finish, sign_start);
time_ms = time_us / 1000;
printf("Signing time in seconds: %7u.%03u\n",
(unsigned int) (time_ms / 1000),
(unsigned int) (time_ms % 1000));
if (time_us > 0) {
sig_ms = ((isc_uint64_t)nsigned * 1000000000) / time_us;
printf("Signatures per second: %7u.%03u\n",
(unsigned int) sig_ms / 1000,
(unsigned int) sig_ms % 1000);
}
time_us = isc_time_microdiff(timer_finish, timer_start);
time_ms = time_us / 1000;
printf("Runtime in seconds: %7u.%03u\n",
(unsigned int) (time_ms / 1000),
(unsigned int) (time_ms % 1000));
}
int
@@ -3355,6 +3388,7 @@ main(int argc, char *argv[]) {
int ndskeys = 0;
char *endp;
isc_time_t timer_start, timer_finish;
isc_time_t sign_start, sign_finish;
dns_dnsseckey_t *key;
isc_result_t result;
isc_log_t *log = NULL;
@@ -3805,6 +3839,8 @@ main(int argc, char *argv[]) {
nokeys = ISC_TRUE;
}
warnifallksk(gdb);
if (IS_NSEC3) {
unsigned int max;
result = dns_nsec3_maxiterations(gdb, NULL, mctx, &max);
@@ -3814,8 +3850,6 @@ main(int argc, char *argv[]) {
"strength. Maximum iterations allowed %u.", max);
}
warnifallksk(gdb);
gversion = NULL;
result = dns_db_newversion(gdb, &gversion);
check_result(result, "dns_db_newversion()");
@@ -3859,7 +3893,10 @@ main(int argc, char *argv[]) {
check_result(result, "isc_file_mktemplate");
fp = NULL;
result = isc_file_openunique(tempfile, &fp);
if (outputformat == dns_masterformat_text)
result = isc_file_openunique(tempfile, &fp);
else
result = isc_file_bopenunique(tempfile, &fp);
if (result != ISC_R_SUCCESS)
fatal("failed to open temporary output file: %s",
isc_result_totext(result));
@@ -3895,6 +3932,7 @@ main(int argc, char *argv[]) {
RUNTIME_CHECK(isc_mutex_init(&statslock) == ISC_R_SUCCESS);
presign();
TIME_NOW(&sign_start);
signapex();
if (!finished) {
/*
@@ -3919,6 +3957,7 @@ main(int argc, char *argv[]) {
isc_taskmgr_destroy(&taskmgr);
isc_mem_put(mctx, tasks, ntasks * sizeof(isc_task_t *));
postsign();
TIME_NOW(&sign_finish);
verifyzone();
if (outputformat != dns_masterformat_text) {
@@ -3972,7 +4011,8 @@ main(int argc, char *argv[]) {
if (printstats) {
TIME_NOW(&timer_finish);
print_stats(&timer_start, &timer_finish);
print_stats(&timer_start, &timer_finish,
&sign_start, &sign_finish);
}
return (0);
+6 -6
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-signzone.html,v 1.45 2009/12/04 01:13:44 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">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>engine</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>directory</code></em></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">-P</code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-S</code>] [<code class="option">-s <em class="replaceable"><code>start-time</code></em></code>] [<code class="option">-T <em class="replaceable"><code>ttl</code></em></code>] [<code class="option">-t</code>] [<code class="option">-u</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-x</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>
<div class="refsect1" lang="en">
<a name="id2543596"></a><h2>DESCRIPTION</h2>
<a name="id2543597"></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="id2543611"></a><h2>OPTIONS</h2>
<a name="id2543612"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a</span></dt>
<dd><p>
@@ -379,7 +379,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544896"></a><h2>EXAMPLE</h2>
<a name="id2544965"></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>
@@ -409,14 +409,14 @@ db.example.com.signed
%</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2545019"></a><h2>SEE ALSO</h2>
<a name="id2545020"></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="id2545044"></a><h2>AUTHOR</h2>
<a name="id2545045"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+15 -10
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009-2011 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.c,v 1.60 2010/01/19 23:48:56 tbox Exp $ */
/* $Id: dnssectool.c,v 1.60.162.3 2011/10/21 03:56:32 marka Exp $ */
/*! \file */
@@ -406,19 +406,24 @@ set_keyversion(dst_key_t *key) {
}
isc_boolean_t
key_collision(isc_uint16_t id, dns_name_t *name, const char *dir,
dns_secalg_t alg, isc_mem_t *mctx, isc_boolean_t *exact)
key_collision(dst_key_t *dstkey, dns_name_t *name, const char *dir,
isc_mem_t *mctx, isc_boolean_t *exact)
{
isc_result_t result;
isc_boolean_t conflict = ISC_FALSE;
dns_dnsseckeylist_t matchkeys;
dns_dnsseckey_t *key = NULL;
isc_uint16_t oldid, diff;
isc_uint16_t bits = DNS_KEYFLAG_REVOKE; /* flag bits to look for */
isc_uint16_t id, oldid;
isc_uint32_t rid, roldid;
dns_secalg_t alg;
if (exact != NULL)
*exact = ISC_FALSE;
id = dst_key_id(dstkey);
rid = dst_key_rid(dstkey);
alg = dst_key_alg(dstkey);
ISC_LIST_INIT(matchkeys);
result = dns_dnssec_findmatchingkeys(name, dir, mctx, &matchkeys);
if (result == ISC_R_NOTFOUND)
@@ -430,10 +435,11 @@ key_collision(isc_uint16_t id, dns_name_t *name, const char *dir,
goto next;
oldid = dst_key_id(key->key);
diff = (oldid > id) ? (oldid - id) : (id - oldid);
if ((diff & ~bits) == 0) {
roldid = dst_key_rid(key->key);
if (oldid == rid || roldid == id || id == oldid) {
conflict = ISC_TRUE;
if (diff != 0) {
if (id != oldid) {
if (verbose > 1)
fprintf(stderr, "Key ID %d could "
"collide with %d\n",
@@ -461,4 +467,3 @@ key_collision(isc_uint16_t id, dns_name_t *name, const char *dir,
return (conflict);
}
+5 -4
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2007-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2007-2011 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.31 2010/01/19 23:48:56 tbox Exp $ */
/* $Id: dnssectool.h,v 1.31.162.2 2011/10/20 23:46:27 tbox Exp $ */
#ifndef DNSSECTOOL_H
#define DNSSECTOOL_H 1
@@ -78,6 +78,7 @@ void
set_keyversion(dst_key_t *key);
isc_boolean_t
key_collision(isc_uint16_t id, dns_name_t *name, const char *dir,
dns_secalg_t alg, isc_mem_t *mctx, isc_boolean_t *exact);
key_collision(dst_key_t *key, dns_name_t *name, const char *dir,
isc_mem_t *mctx, isc_boolean_t *exact);
#endif /* DNSSEC_DNSSECTOOL_H */
@@ -1,7 +1,4 @@
Makefile
.libs
*.la
*.lo
named
named-symtbl.c
lwresd
+4 -4
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2012 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.114 2010/12/22 09:00:40 marka Exp $
# $Id: Makefile.in,v 1.114.14.2 2011/03/10 23:47:25 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -45,7 +45,7 @@ CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES} @DST_OPENSSL_INC@
CDEFINES = @USE_DLZ@ @USE_PKCS11@ @USE_OPENSSL@
CDEFINES = @CONTRIB_DLZ@ @USE_PKCS11@ @USE_OPENSSL@
CWARNINGS =
@@ -89,7 +89,7 @@ OBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \
${DLZDRIVER_OBJS} ${DBDRIVER_OBJS}
UOBJS = unix/os.@O@
UOBJS = unix/os.@O@ unix/dlz_dlopen_driver.@O@
SYMOBJS = symtbl.@O@
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
# Copyright (C) 2009-2011 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2009-2012 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
+147 -79
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009-2012 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.20 2011/01/07 23:47:07 tbox Exp $ */
/* $Id: builtin.c,v 1.20.14.3 2012/01/11 20:19:40 ckb Exp $ */
/*! \file
* \brief
@@ -69,35 +69,79 @@ static builtin_t empty_builtin = { do_empty_lookup, NULL, NULL };
static builtin_t dns64_builtin = { do_dns64_lookup, NULL, NULL };
static dns_sdbimplementation_t *builtin_impl;
static dns_sdbimplementation_t *dns64_impl;
static const char hex[] = "0123456789abcdef";
static const char HEX[] = "0123456789ABCDEF";
/*
* Pre computed HEX * 16 or 1 table.
*/
static const unsigned char hex16[256] = {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*00*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*10*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*20*/
0, 16, 32, 48, 64, 80, 96,112,128,144, 1, 1, 1, 1, 1, 1, /*30*/
1,160,176,192,208,224,240, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*40*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*50*/
1,160,176,192,208,224,240, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*60*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*70*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*80*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*90*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*A0*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*B0*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*C0*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*D0*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /*E0*/
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 /*F0*/
};
const unsigned char decimal[] = "0123456789";
static size_t
dns64_rdata(unsigned char *v, size_t start, unsigned char *rdata) {
size_t i, j = 0;
for (i = 0; i < 4U; i++) {
unsigned char c = v[start++];
if (start == 7U)
start++;
if (c > 99) {
rdata[j++] = 3;
rdata[j++] = decimal[c/100]; c = c % 100;
rdata[j++] = decimal[c/10]; c = c % 10;
rdata[j++] = decimal[c];
} else if (c > 9) {
rdata[j++] = 2;
rdata[j++] = decimal[c/10]; c = c % 10;
rdata[j++] = decimal[c];
} else {
rdata[j++] = 1;
rdata[j++] = decimal[c];
}
}
memcpy(&rdata[j], "\07in-addr\04arpa", 14);
return (j + 14);
}
static isc_result_t
dns64_cname(const char *zone, const char *name, dns_sdblookup_t *lookup) {
size_t zlen, nlen, j;
const char *s;
unsigned char v[16];
dns64_cname(const dns_name_t *zone, const dns_name_t *name,
dns_sdblookup_t *lookup)
{
size_t zlen, nlen, j, len;
unsigned char v[16], n;
unsigned int i;
char reverse[sizeof("123.123.123.123.in-addr.arpa.")];
unsigned char rdata[sizeof("123.123.123.123.in-addr.arpa.")];
unsigned char *ndata;
/*
* The sum the length of the relative name and the length of the zone
* name for a IPv6 reverse lookup comes to 71.
* The combined length of the zone and name is 74.
*
* The reverse of 2001::10.0.0.1 (dns64 2001::/96) has a zone of
* "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.2.ip6.arpa"
* and a name of "1.0.0.0.0.0.a.0". The sum of the lengths of these
* two strings is 71.
* The minimum zone length is 10 ((3)ip6(4)arpa(0)).
*
* The minimum length for a ip6.arpa zone name is 8.
*
* The length of name should always be odd as we are expecting
* The length of name should always be even as we are expecting
* a series of nibbles.
*/
zlen = strlen(zone);
nlen = strlen(name);
if ((zlen + nlen) > 71U || zlen < 8U || (nlen % 2) != 1U)
zlen = zone->length;
nlen = name->length;
if ((zlen + nlen) > 74U || zlen < 10U || (nlen % 2) != 0U)
return (ISC_R_NOTFOUND);
/*
@@ -116,25 +160,20 @@ dns64_cname(const char *zone, const char *name, dns_sdblookup_t *lookup) {
* are byte aligned and we correctly return ISC_R_NOTFOUND or
* ISC_R_SUCCESS. We will not generate a CNAME in this case.
*/
i = (nlen % 4) == 1U ? 1 : 0;
ndata = name->ndata;
i = (nlen % 4) == 2U ? 1 : 0;
j = nlen;
memset(v, 0, sizeof(v));
while (j >= 1U) {
while (j != 0U) {
INSIST((i/2) < sizeof(v));
if (j > 1U && name[1] != '.')
if (ndata[0] != 1)
return (ISC_R_NOTFOUND);
v[i/2] >>= 4;
if ((s = strchr(hex, name[0])) != NULL)
v[i/2] |= (s - hex) << 4;
else if ((s = strchr(HEX, name[0])) != NULL)
v[i/2] |= (s - HEX) << 4;
else
n = hex16[ndata[1]&0xff];
if (n == 1)
return (ISC_R_NOTFOUND);
if (j > 1U)
j -= 2;
else
j -= 1;
name += 2;
v[i/2] = n | (v[i/2]>>4);
j -= 2;
ndata += 2;
i++;
}
@@ -144,90 +183,91 @@ dns64_cname(const char *zone, const char *name, dns_sdblookup_t *lookup) {
* it corresponds to a empty node in the zone or there should be
* a CNAME.
*/
#define ZLEN(x) (10 + (x)/2)
switch (zlen) {
case 24: /* prefix len 32 */
/*
* If the total length is not 71 then this is a empty node
* so return success.
*/
if (nlen + zlen != 71U)
return (ISC_R_SUCCESS);
snprintf(reverse, sizeof(reverse), "%u.%u.%u.%u.in-addr.arpa.",
v[8], v[9], v[10], v[11]);
break;
case 28: /* prefix len 40 */
case ZLEN(32): /* prefix len 32 */
/*
* The nibbles that map to this byte must be zero for 'name'
* to exist in the zone.
*/
if (nlen > 11U && v[nlen/4 - 3] != 0)
if (nlen > 16U && v[(nlen-1)/4 - 4] != 0)
return (ISC_R_NOTFOUND);
/*
* If the total length is not 71 then this is a empty node
* If the total length is not 74 then this is a empty node
* so return success.
*/
if (nlen + zlen != 71U)
if (nlen + zlen != 74U)
return (ISC_R_SUCCESS);
snprintf(reverse, sizeof(reverse), "%u.%u.%u.%u.in-addr.arpa.",
v[6], v[8], v[9], v[10]);
len = dns64_rdata(v, 8, rdata);
break;
case 32: /* prefix len 48 */
case ZLEN(40): /* prefix len 40 */
/*
* The nibbles that map to this byte must be zero for 'name'
* to exist in the zone.
*/
if (nlen > 7U && v[nlen/4 - 2] != 0)
if (nlen > 12U && v[(nlen-1)/4 - 3] != 0)
return (ISC_R_NOTFOUND);
/*
* If the total length is not 71 then this is a empty node
* If the total length is not 74 then this is a empty node
* so return success.
*/
if (nlen + zlen != 71U)
if (nlen + zlen != 74U)
return (ISC_R_SUCCESS);
snprintf(reverse, sizeof(reverse), "%u.%u.%u.%u.in-addr.arpa.",
v[5], v[6], v[8], v[9]);
len = dns64_rdata(v, 6, rdata);
break;
case 36: /* prefix len 56 */
case ZLEN(48): /* prefix len 48 */
/*
* The nibbles that map to this byte must be zero for 'name'
* to exist in the zone.
*/
if (nlen > 3U && v[nlen/4 - 1] != 0)
if (nlen > 8U && v[(nlen-1)/4 - 2] != 0)
return (ISC_R_NOTFOUND);
/*
* If the total length is not 71 then this is a empty node
* If the total length is not 74 then this is a empty node
* so return success.
*/
if (nlen + zlen != 71U)
if (nlen + zlen != 74U)
return (ISC_R_SUCCESS);
snprintf(reverse, sizeof(reverse), "%u.%u.%u.%u.in-addr.arpa.",
v[4], v[5], v[6], v[8]);
len = dns64_rdata(v, 5, rdata);
break;
case 40: /* prefix len 64 */
case ZLEN(56): /* prefix len 56 */
/*
* The nibbles that map to this byte must be zero for 'name'
* to exist in the zone.
*/
if (v[nlen/4] != 0)
if (nlen > 4U && v[(nlen-1)/4 - 1] != 0)
return (ISC_R_NOTFOUND);
/*
* If the total length is not 71 then this is a empty node
* If the total length is not 74 then this is a empty node
* so return success.
*/
if (nlen + zlen != 71U)
if (nlen + zlen != 74U)
return (ISC_R_SUCCESS);
snprintf(reverse, sizeof(reverse), "%u.%u.%u.%u.in-addr.arpa.",
v[3], v[4], v[5], v[6]);
len = dns64_rdata(v, 4, rdata);
break;
case 56: /* prefix len 96 */
case ZLEN(64): /* prefix len 64 */
/*
* If the total length is not 71 then this is a empty node
* The nibbles that map to this byte must be zero for 'name'
* to exist in the zone.
*/
if (v[(nlen-1)/4] != 0)
return (ISC_R_NOTFOUND);
/*
* If the total length is not 74 then this is a empty node
* so return success.
*/
if (nlen + zlen != 71U)
if (nlen + zlen != 74U)
return (ISC_R_SUCCESS);
snprintf(reverse, sizeof(reverse), "%u.%u.%u.%u.in-addr.arpa.",
v[0], v[1], v[2], v[3]);
len = dns64_rdata(v, 3, rdata);
break;
case ZLEN(96): /* prefix len 96 */
/*
* If the total length is not 74 then this is a empty node
* so return success.
*/
if (nlen + zlen != 74U)
return (ISC_R_SUCCESS);
len = dns64_rdata(v, 0, rdata);
break;
default:
/*
@@ -236,7 +276,7 @@ dns64_cname(const char *zone, const char *name, dns_sdblookup_t *lookup) {
*/
return (ISC_R_NOTFOUND);
}
return (dns_sdb_putrr(lookup, "CNAME", 600, reverse));
return (dns_sdb_putrdata(lookup, dns_rdatatype_cname, 600, rdata, len));
}
static isc_result_t
@@ -249,12 +289,22 @@ builtin_lookup(const char *zone, const char *name, void *dbdata,
if (strcmp(name, "@") == 0)
return (b->do_lookup(lookup));
else if (b->do_lookup == do_dns64_lookup)
return (dns64_cname(zone, name, lookup));
else
return (ISC_R_NOTFOUND);
}
static isc_result_t
dns64_lookup(const dns_name_t *zone, const dns_name_t *name, void *dbdata,
dns_sdblookup_t *lookup)
{
builtin_t *b = (builtin_t *) dbdata;
if (name->labels == 0 && name->length == 0)
return (b->do_lookup(lookup));
else
return (dns64_cname(zone, name, lookup));
}
static isc_result_t
put_txt(dns_sdblookup_t *lookup, const char *text) {
unsigned char buf[256];
@@ -300,6 +350,7 @@ do_authors_lookup(dns_sdblookup_t *lookup) {
const char **p;
static const char *authors[] = {
"Mark Andrews",
"Curtis Blackburn",
"James Brister",
"Ben Cottrell",
"Michael Graff",
@@ -308,6 +359,7 @@ do_authors_lookup(dns_sdblookup_t *lookup) {
"Evan Hunt",
"JINMEI Tatuya",
"David Lawrence",
"Scott Mann",
"Danny Mayer",
"Damien Neil",
"Matt Nelson",
@@ -479,7 +531,17 @@ static dns_sdbmethods_t builtin_methods = {
builtin_authority,
NULL, /* allnodes */
builtin_create,
builtin_destroy
builtin_destroy,
NULL
};
static dns_sdbmethods_t dns64_methods = {
NULL,
builtin_authority,
NULL, /* allnodes */
builtin_create,
builtin_destroy,
dns64_lookup,
};
isc_result_t
@@ -489,11 +551,17 @@ ns_builtin_init(void) {
DNS_SDBFLAG_RELATIVERDATA,
ns_g_mctx, &builtin_impl)
== ISC_R_SUCCESS);
RUNTIME_CHECK(dns_sdb_register("_dns64", &dns64_methods, NULL,
DNS_SDBFLAG_RELATIVEOWNER |
DNS_SDBFLAG_RELATIVERDATA |
DNS_SDBFLAG_DNS64,
ns_g_mctx, &dns64_impl)
== ISC_R_SUCCESS);
return (ISC_R_SUCCESS);
}
void
ns_builtin_deinit(void) {
dns_sdb_unregister(&builtin_impl);
dns_sdb_unregister(&dns64_impl);
}
+27 -9
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2012 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: client.c,v 1.271 2011/01/11 23:47:12 tbox Exp $ */
/* $Id: client.c,v 1.271.10.4 2012/01/31 23:46:39 tbox Exp $ */
#include <config.h>
@@ -633,6 +633,7 @@ ns_client_endrequest(ns_client_t *client) {
dns_message_puttemprdataset(client->message, &client->opt);
}
client->signer = NULL;
client->udpsize = 512;
client->extflags = 0;
client->ednsversion = -1;
@@ -933,6 +934,15 @@ ns_client_send(ns_client_t *client) {
render_opts = 0;
else
render_opts = DNS_MESSAGERENDER_OMITDNSSEC;
preferred_glue = 0;
if (client->view != NULL) {
if (client->view->preferred_glue == dns_rdatatype_a)
preferred_glue = DNS_MESSAGERENDER_PREFER_A;
else if (client->view->preferred_glue == dns_rdatatype_aaaa)
preferred_glue = DNS_MESSAGERENDER_PREFER_AAAA;
}
#ifdef ALLOW_FILTER_AAAA_ON_V4
/*
* filter-aaaa-on-v4 yes or break-dnssec option to suppress
@@ -941,17 +951,15 @@ ns_client_send(ns_client_t *client) {
* that we have both AAAA and A records,
* and that we either have no signatures that the client wants
* or we are supposed to break DNSSEC.
*
* Override preferred glue if necessary.
*/
if ((client->attributes & NS_CLIENTATTR_FILTER_AAAA) != 0)
if ((client->attributes & NS_CLIENTATTR_FILTER_AAAA) != 0) {
render_opts |= DNS_MESSAGERENDER_FILTER_AAAA;
#endif
preferred_glue = 0;
if (client->view != NULL) {
if (client->view->preferred_glue == dns_rdatatype_a)
if (preferred_glue == DNS_MESSAGERENDER_PREFER_AAAA)
preferred_glue = DNS_MESSAGERENDER_PREFER_A;
else if (client->view->preferred_glue == dns_rdatatype_aaaa)
preferred_glue = DNS_MESSAGERENDER_PREFER_AAAA;
}
#endif
/*
* XXXRTH The following doesn't deal with TCP buffer resizing.
@@ -1312,6 +1320,12 @@ ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey,
UNUSED(arg);
/*
* ns_g_server->interfacemgr is task exclusive locked.
*/
if (ns_g_server->interfacemgr == NULL)
return (ISC_TRUE);
if (!ns_interfacemgr_listeningon(ns_g_server->interfacemgr, dstaddr))
return (ISC_FALSE);
@@ -2095,12 +2109,16 @@ client_create(ns_clientmgr_t *manager, ns_client_t **clientp) {
client->next = NULL;
client->shutdown = NULL;
client->shutdown_arg = NULL;
client->signer = NULL;
dns_name_init(&client->signername, NULL);
client->mortal = ISC_FALSE;
client->tcpquota = NULL;
client->recursionquota = NULL;
client->interface = NULL;
client->peeraddr_valid = ISC_FALSE;
#ifdef ALLOW_FILTER_AAAA_ON_V4
client->filter_aaaa = dns_v4_aaaa_ok;
#endif
ISC_EVENT_INIT(&client->ctlevent, sizeof(client->ctlevent), 0, NULL,
NS_EVENT_CLIENTCONTROL, client_start, client, client,
NULL, NULL);
+3 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2012 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.113 2010/12/16 09:51:27 jinmei Exp $ */
/* $Id: config.c,v 1.113.16.2 2011/02/28 01:19:58 tbox Exp $ */
/*! \file */
@@ -89,6 +89,7 @@ options {\n\
#endif
"\
recursive-clients 1000;\n\
resolver-query-timeout 10;\n\
rrset-order {type NS order random; order cyclic; };\n\
serial-queries 20;\n\
serial-query-rate 20;\n\
+9 -11
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: controlconf.c,v 1.60 2008/07/23 23:27:54 marka Exp $ */
/* $Id: controlconf.c,v 1.60.544.3 2011/12/22 08:10:09 marka Exp $ */
/*! \file */
@@ -373,14 +373,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
if (result == ISC_R_SUCCESS)
break;
isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
if (result == ISCCC_R_BADAUTH) {
/*
* For some reason, request is non-NULL when
* isccc_cc_fromwire returns ISCCC_R_BADAUTH.
*/
if (request != NULL)
isccc_sexpr_free(&request);
} else {
if (result != ISCCC_R_BADAUTH) {
log_invalid(&conn->ccmsg, result);
goto cleanup;
}
@@ -859,7 +852,7 @@ get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
cfg_obj_log(key, ns_g_lctx, ISC_LOG_WARNING,
"secret for key '%s' on command channel: %s",
keyid->keyname, isc_result_totext(result));
CHECK(result);
goto cleanup;
}
keyid->secret.length = isc_buffer_usedlength(&b);
@@ -1148,6 +1141,11 @@ add_listener(ns_controls_t *cp, controllistener_t **listenerp,
if (result == ISC_R_SUCCESS)
isc_socket_setname(listener->sock, "control", NULL);
#ifndef ISC_ALLOW_MAPPED
if (result == ISC_R_SUCCESS)
isc_socket_ipv6only(listener->sock, ISC_TRUE);
#endif
if (result == ISC_R_SUCCESS)
result = isc_socket_bind(listener->sock, &listener->address,
ISC_SOCKET_REUSEADDRESS);
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
# Copyright (C) 2006-2008 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2006-2008, 2012 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
+27
View File
@@ -0,0 +1,27 @@
/*
* Copyright (C) 2011 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: dlz_dlopen_driver.h,v 1.1.4.4 2011/03/17 09:41:06 fdupont Exp $ */
#ifndef DLZ_DLOPEN_DRIVER_H
#define DLZ_DLOPEN_DRIVER_H
isc_result_t
dlz_dlopen_init(isc_mem_t *mctx);
void
dlz_dlopen_clear(void);
#endif
+5 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2012 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: client.h,v 1.91 2009/10/26 23:14:53 each Exp $ */
/* $Id: client.h,v 1.91.278.2 2012/01/31 23:46:39 tbox Exp $ */
#ifndef NAMED_CLIENT_H
#define NAMED_CLIENT_H 1
@@ -141,6 +141,9 @@ struct ns_client {
isc_netaddr_t destaddr;
struct in6_pktinfo pktinfo;
isc_event_t ctlevent;
#ifdef ALLOW_FILTER_AAAA_ON_V4
dns_v4_aaaa_t filter_aaaa;
#endif
/*%
* Information about recent FORMERR response(s), for
* FORMERR loop avoidance. This is separate for each
+4 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2011 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.89 2010/09/15 12:07:55 marka Exp $ */
/* $Id: globals.h,v 1.89.54.2 2011/06/17 23:47:10 tbox Exp $ */
#ifndef NAMED_GLOBALS_H
#define NAMED_GLOBALS_H 1
@@ -26,6 +26,7 @@
#include <isc/log.h>
#include <isc/net.h>
#include <isccfg/aclconf.h>
#include <isccfg/cfg.h>
#include <dns/zone.h>
@@ -102,6 +103,7 @@ EXTERN const char * lwresd_g_resolvconffile INIT("/etc"
EXTERN isc_boolean_t ns_g_conffileset INIT(ISC_FALSE);
EXTERN isc_boolean_t lwresd_g_useresolvconf INIT(ISC_FALSE);
EXTERN isc_uint16_t ns_g_udpsize INIT(4096);
EXTERN cfg_aclconfctx_t * ns_g_aclconfctx INIT(NULL);
/*
* Initial resource limits.
+3 -4
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.c,v 1.95 2009/01/17 23:47:42 tbox Exp $ */
/* $Id: interfacemgr.c,v 1.95.426.2 2011/03/12 04:59:14 tbox Exp $ */
/*! \file */
@@ -379,7 +379,7 @@ ns_interface_setup(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr,
}
}
*ifpret = ifp;
return (ISC_R_SUCCESS);
return (result);
cleanup_interface:
ISC_LIST_UNLINK(ifp->mgr->interfaces, ifp, link);
@@ -964,7 +964,6 @@ isc_boolean_t
ns_interfacemgr_listeningon(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr) {
isc_sockaddr_t *old;
old = ISC_LIST_HEAD(mgr->listenon);
for (old = ISC_LIST_HEAD(mgr->listenon);
old != NULL;
old = ISC_LIST_NEXT(old, link))
+35 -22
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2011 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,12 +15,13 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: logconf.c,v 1.42 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: logconf.c,v 1.42.816.3 2011/03/05 23:52:06 tbox Exp $ */
/*! \file */
#include <config.h>
#include <isc/file.h>
#include <isc/offset.h>
#include <isc/result.h>
#include <isc/stdio.h>
@@ -130,7 +131,7 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
}
type = ISC_LOG_TONULL;
if (fileobj != NULL) {
const cfg_obj_t *pathobj = cfg_tuple_get(fileobj, "file");
const cfg_obj_t *sizeobj = cfg_tuple_get(fileobj, "size");
@@ -140,7 +141,7 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
isc_offset_t size = 0;
type = ISC_LOG_TOFILE;
if (versionsobj != NULL && cfg_obj_isuint32(versionsobj))
versions = cfg_obj_asuint32(versionsobj);
if (versionsobj != NULL && cfg_obj_isstring(versionsobj) &&
@@ -219,26 +220,38 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
if (result == ISC_R_SUCCESS && type == ISC_LOG_TOFILE) {
FILE *fp;
/*
* Test that the file can be opened, since isc_log_open()
* can't effectively report failures when called in
* isc_log_doit().
*/
result = isc_stdio_open(dest.file.name, "a", &fp);
if (result != ISC_R_SUCCESS)
isc_log_write(ns_g_lctx, CFG_LOGCATEGORY_CONFIG,
NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
"logging channel '%s' file '%s': %s",
channelname, dest.file.name,
isc_result_totext(result));
else
(void)isc_stdio_close(fp);
/*
* Allow named to continue by returning success.
*/
result = ISC_R_SUCCESS;
* Test to make sure that file is a plain file.
* Fix defect #22771
*/
result = isc_file_isplainfile(dest.file.name);
if (result == ISC_R_SUCCESS ||
result == ISC_R_FILENOTFOUND) {
/*
* Test that the file can be opened, since
* isc_log_open() can't effectively report
* failures when called in
* isc_log_doit().
*/
result = isc_stdio_open(dest.file.name, "a", &fp);
if (result != ISC_R_SUCCESS) {
syslog(LOG_ERR,
"isc_stdio_open '%s' failed: %s",
dest.file.name,
isc_result_totext(result));
fprintf(stderr,
"isc_stdio_open '%s' failed: %s",
dest.file.name,
isc_result_totext(result));
} else
(void)isc_stdio_close(fp);
} else {
syslog(LOG_ERR, "isc_file_isplainfile '%s' failed: %s",
dest.file.name, isc_result_totext(result));
fprintf(stderr, "isc_file_isplainfile '%s' failed: %s",
dest.file.name, isc_result_totext(result));
}
}
return (result);
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: lwresd.8,v 1.31 2009/07/11 01:12:45 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+7 -7
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: lwresd.html,v 1.27 2009/07/11 01:12:45 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -22,7 +22,7 @@
<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="id2476275"></a><div class="titlepage"></div>
<a name="id2476274"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2>Name</h2>
<p><span class="application">lwresd</span> &#8212; lightweight resolver daemon</p>
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">lwresd</code> [<code class="option">-c <em class="replaceable"><code>config-file</code></em></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">-i <em class="replaceable"><code>pid-file</code></em></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">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-s</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">-4</code>] [<code class="option">-6</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543467"></a><h2>DESCRIPTION</h2>
<a name="id2543469"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">lwresd</strong></span>
is the daemon providing name lookup
services to clients that use the BIND 9 lightweight resolver
@@ -67,7 +67,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543514"></a><h2>OPTIONS</h2>
<a name="id2543516"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-4</span></dt>
<dd><p>
@@ -197,7 +197,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543931"></a><h2>FILES</h2>
<a name="id2543933"></a><h2>FILES</h2>
<div class="variablelist"><dl>
<dt><span class="term"><code class="filename">/etc/resolv.conf</code></span></dt>
<dd><p>
@@ -210,14 +210,14 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543971"></a><h2>SEE ALSO</h2>
<a name="id2543973"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">lwres</span>(3)</span>,
<span class="citerefentry"><span class="refentrytitle">resolver</span>(5)</span>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544005"></a><h2>AUTHOR</h2>
<a name="id2544007"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+46 -8
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2011 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: main.c,v 1.180 2010/12/22 03:59:02 marka Exp $ */
/* $Id: main.c,v 1.180.14.4 2011/11/05 00:45:52 each Exp $ */
/*! \file */
@@ -51,6 +51,8 @@
#include <dst/result.h>
#include <dlz/dlz_dlopen_driver.h>
/*
* Defining NS_MAIN provides storage declarations (rather than extern)
* for variables in named/globals.h.
@@ -81,10 +83,10 @@
*/
/* #include "xxdb.h" */
#ifdef CONTRIB_DLZ
/*
* Include DLZ drivers if appropriate.
* Include contributed DLZ drivers if appropriate.
*/
#ifdef DLZ
#include <dlz/dlz_drivers.h>
#endif
@@ -560,6 +562,7 @@ parse_command_line(int argc, char *argv[]) {
argc -= isc_commandline_index;
argv += isc_commandline_index;
POST(argv);
if (argc > 0) {
usage();
@@ -790,6 +793,25 @@ setup(void) {
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE, "built with %s", ns_g_configargs);
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"----------------------------------------------------");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"BIND 9 is maintained by Internet Systems Consortium,");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"Inc. (ISC), a non-profit 501(c)(3) public-benefit ");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"corporation. Support and training for BIND 9 are ");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"available at https://www.isc.org/support");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"----------------------------------------------------");
dump_symboltable();
/*
@@ -856,9 +878,19 @@ setup(void) {
*/
/* xxdb_init(); */
#ifdef DLZ
#ifdef ISC_DLZ_DLOPEN
/*
* Register any DLZ drivers.
* Register the DLZ "dlopen" driver.
*/
result = dlz_dlopen_init(ns_g_mctx);
if (result != ISC_R_SUCCESS)
ns_main_earlyfatal("dlz_dlopen_init() failed: %s",
isc_result_totext(result));
#endif
#if CONTRIB_DLZ
/*
* Register any other contributed DLZ drivers.
*/
result = dlz_drivers_init();
if (result != ISC_R_SUCCESS)
@@ -882,12 +914,18 @@ cleanup(void) {
*/
/* xxdb_clear(); */
#ifdef DLZ
#ifdef CONTRIB_DLZ
/*
* Unregister any DLZ drivers.
* Unregister contributed DLZ drivers.
*/
dlz_drivers_clear();
#endif
#ifdef ISC_DLZ_DLOPEN
/*
* Unregister "dlopen" DLZ driver.
*/
dlz_dlopen_clear();
#endif
dns_name_destroy();
+1 -1
View File
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named.8,v 1.41 2009/10/06 01:14:41 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
+5 -4
View File
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named.conf.5,v 1.44 2011/01/08 01:15:38 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -224,6 +224,7 @@ options {
queryport\-pool\-ports \fIinteger\fR;
queryport\-pool\-updateinterval \fIinteger\fR;
cleaning\-interval \fIinteger\fR;
resolver\-query\-timeout \fIinteger\fR;
min\-roots \fIinteger\fR; // not implemented
lame\-ttl \fIinteger\fR;
max\-ncache\-ttl \fIinteger\fR;
@@ -253,8 +254,7 @@ options {
disable\-algorithms \fIstring\fR { \fIstring\fR; ... };
dnssec\-enable \fIboolean\fR;
dnssec\-validation \fIboolean\fR;
dnssec\-lookaside \fIstring\fR trust\-anchor \fIstring\fR;
dnssec\-lookaside ( \fIauto\fR | \fIdomain\fR trust\-anchor \fIdomain\fR );
dnssec\-lookaside ( \fIauto\fR | \fIno\fR | \fIdomain\fR trust\-anchor \fIdomain\fR );
dnssec\-must\-be\-secure \fIstring\fR \fIboolean\fR;
dnssec\-accept\-expired \fIboolean\fR;
dns64\-server \fIstring\fR;
@@ -393,6 +393,7 @@ view \fIstring\fR \fIoptional_class\fR {
queryport\-pool\-ports \fIinteger\fR;
queryport\-pool\-updateinterval \fIinteger\fR;
cleaning\-interval \fIinteger\fR;
resolver\-query\-timeout \fIinteger\fR;
min\-roots \fIinteger\fR; // not implemented
lame\-ttl \fIinteger\fR;
max\-ncache\-ttl \fIinteger\fR;
@@ -422,7 +423,7 @@ view \fIstring\fR \fIoptional_class\fR {
disable\-algorithms \fIstring\fR { \fIstring\fR; ... };
dnssec\-enable \fIboolean\fR;
dnssec\-validation \fIboolean\fR;
dnssec\-lookaside \fIstring\fR trust\-anchor \fIstring\fR;
dnssec\-lookaside ( \fIauto\fR | \fIno\fR | \fIdomain\fR trust\-anchor \fIdomain\fR );
dnssec\-must\-be\-secure \fIstring\fR \fIboolean\fR;
dnssec\-accept\-expired \fIboolean\fR;
dns64\-server \fIstring\fR;
+5 -4
View File
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.conf.docbook,v 1.49 2011/01/07 23:47:07 tbox Exp $ -->
<!-- $Id: named.conf.docbook,v 1.49.14.2 2011/11/07 00:31:47 marka Exp $ -->
<refentry>
<refentryinfo>
<date>Aug 13, 2004</date>
@@ -255,6 +255,7 @@ options {
queryport-pool-ports <replaceable>integer</replaceable>;
queryport-pool-updateinterval <replaceable>integer</replaceable>;
cleaning-interval <replaceable>integer</replaceable>;
resolver-query-timeout <replaceable>integer</replaceable>;
min-roots <replaceable>integer</replaceable>; // not implemented
lame-ttl <replaceable>integer</replaceable>;
max-ncache-ttl <replaceable>integer</replaceable>;
@@ -284,8 +285,7 @@ options {
disable-algorithms <replaceable>string</replaceable> { <replaceable>string</replaceable>; ... };
dnssec-enable <replaceable>boolean</replaceable>;
dnssec-validation <replaceable>boolean</replaceable>;
dnssec-lookaside <replaceable>string</replaceable> trust-anchor <replaceable>string</replaceable>;
dnssec-lookaside ( <replaceable>auto</replaceable> | <replaceable>domain</replaceable> trust-anchor <replaceable>domain</replaceable> );
dnssec-lookaside ( <replaceable>auto</replaceable> | <replaceable>no</replaceable> | <replaceable>domain</replaceable> trust-anchor <replaceable>domain</replaceable> );
dnssec-must-be-secure <replaceable>string</replaceable> <replaceable>boolean</replaceable>;
dnssec-accept-expired <replaceable>boolean</replaceable>;
@@ -442,6 +442,7 @@ view <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
queryport-pool-ports <replaceable>integer</replaceable>;
queryport-pool-updateinterval <replaceable>integer</replaceable>;
cleaning-interval <replaceable>integer</replaceable>;
resolver-query-timeout <replaceable>integer</replaceable>;
min-roots <replaceable>integer</replaceable>; // not implemented
lame-ttl <replaceable>integer</replaceable>;
max-ncache-ttl <replaceable>integer</replaceable>;
@@ -471,7 +472,7 @@ view <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
disable-algorithms <replaceable>string</replaceable> { <replaceable>string</replaceable>; ... };
dnssec-enable <replaceable>boolean</replaceable>;
dnssec-validation <replaceable>boolean</replaceable>;
dnssec-lookaside <replaceable>string</replaceable> trust-anchor <replaceable>string</replaceable>;
dnssec-lookaside ( <replaceable>auto</replaceable> | <replaceable>no</replaceable> | <replaceable>domain</replaceable> trust-anchor <replaceable>domain</replaceable> );
dnssec-must-be-secure <replaceable>string</replaceable> <replaceable>boolean</replaceable>;
dnssec-accept-expired <replaceable>boolean</replaceable>;
+20 -19
View File
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.conf.html,v 1.53 2011/01/08 01:15:38 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">named.conf</code> </p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543352"></a><h2>DESCRIPTION</h2>
<a name="id2543353"></a><h2>DESCRIPTION</h2>
<p><code class="filename">named.conf</code> is the configuration file
for
<span><strong class="command">named</strong></span>. Statements are enclosed
@@ -50,14 +50,14 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543380"></a><h2>ACL</h2>
<a name="id2543381"></a><h2>ACL</h2>
<div class="literallayout"><p><br>
acl <em class="replaceable"><code>string</code></em> { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
<br>
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543396"></a><h2>KEY</h2>
<a name="id2543397"></a><h2>KEY</h2>
<div class="literallayout"><p><br>
key <em class="replaceable"><code>domain_name</code></em> {<br>
algorithm <em class="replaceable"><code>string</code></em>;<br>
@@ -66,7 +66,7 @@ key
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543415"></a><h2>MASTERS</h2>
<a name="id2543416"></a><h2>MASTERS</h2>
<div class="literallayout"><p><br>
masters <em class="replaceable"><code>string</code></em> [<span class="optional"> port <em class="replaceable"><code>integer</code></em> </span>] {<br>
( <em class="replaceable"><code>masters</code></em> | <em class="replaceable"><code>ipv4_address</code></em> [<span class="optional">port <em class="replaceable"><code>integer</code></em></span>] |<br>
@@ -75,7 +75,7 @@ masters
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543461"></a><h2>SERVER</h2>
<a name="id2543462"></a><h2>SERVER</h2>
<div class="literallayout"><p><br>
server ( <em class="replaceable"><code>ipv4_address[<span class="optional">/prefixlen</span>]</code></em> | <em class="replaceable"><code>ipv6_address[<span class="optional">/prefixlen</span>]</code></em> ) {<br>
bogus <em class="replaceable"><code>boolean</code></em>;<br>
@@ -97,7 +97,7 @@ server
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543529"></a><h2>TRUSTED-KEYS</h2>
<a name="id2543530"></a><h2>TRUSTED-KEYS</h2>
<div class="literallayout"><p><br>
trusted-keys {<br>
<em class="replaceable"><code>domain_name</code></em> <em class="replaceable"><code>flags</code></em> <em class="replaceable"><code>protocol</code></em> <em class="replaceable"><code>algorithm</code></em> <em class="replaceable"><code>key</code></em>; ... <br>
@@ -105,7 +105,7 @@ trusted-keys
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543555"></a><h2>MANAGED-KEYS</h2>
<a name="id2543556"></a><h2>MANAGED-KEYS</h2>
<div class="literallayout"><p><br>
managed-keys {<br>
<em class="replaceable"><code>domain_name</code></em> <code class="constant">initial-key</code> <em class="replaceable"><code>flags</code></em> <em class="replaceable"><code>protocol</code></em> <em class="replaceable"><code>algorithm</code></em> <em class="replaceable"><code>key</code></em>; ... <br>
@@ -113,7 +113,7 @@ managed-keys
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543584"></a><h2>CONTROLS</h2>
<a name="id2543585"></a><h2>CONTROLS</h2>
<div class="literallayout"><p><br>
controls {<br>
inet ( <em class="replaceable"><code>ipv4_address</code></em> | <em class="replaceable"><code>ipv6_address</code></em> | * )<br>
@@ -125,7 +125,7 @@ controls
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543619"></a><h2>LOGGING</h2>
<a name="id2543620"></a><h2>LOGGING</h2>
<div class="literallayout"><p><br>
logging {<br>
channel <em class="replaceable"><code>string</code></em> {<br>
@@ -143,7 +143,7 @@ logging
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543657"></a><h2>LWRES</h2>
<a name="id2543658"></a><h2>LWRES</h2>
<div class="literallayout"><p><br>
lwres {<br>
listen-on [<span class="optional"> port <em class="replaceable"><code>integer</code></em> </span>] {<br>
@@ -156,7 +156,7 @@ lwres
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543699"></a><h2>OPTIONS</h2>
<a name="id2543700"></a><h2>OPTIONS</h2>
<div class="literallayout"><p><br>
options {<br>
avoid-v4-udp-ports { <em class="replaceable"><code>port</code></em>; ... };<br>
@@ -221,6 +221,7 @@ options
queryport-pool-ports <em class="replaceable"><code>integer</code></em>;<br>
queryport-pool-updateinterval <em class="replaceable"><code>integer</code></em>;<br>
cleaning-interval <em class="replaceable"><code>integer</code></em>;<br>
resolver-query-timeout <em class="replaceable"><code>integer</code></em>;<br>
min-roots <em class="replaceable"><code>integer</code></em>; // not implemented<br>
lame-ttl <em class="replaceable"><code>integer</code></em>;<br>
max-ncache-ttl <em class="replaceable"><code>integer</code></em>;<br>
@@ -250,8 +251,7 @@ options
disable-algorithms <em class="replaceable"><code>string</code></em> { <em class="replaceable"><code>string</code></em>; ... };<br>
dnssec-enable <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-validation <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-lookaside <em class="replaceable"><code>string</code></em> trust-anchor <em class="replaceable"><code>string</code></em>;<br>
dnssec-lookaside ( <em class="replaceable"><code>auto</code></em> | <em class="replaceable"><code>domain</code></em> trust-anchor <em class="replaceable"><code>domain</code></em> );<br>
dnssec-lookaside ( <em class="replaceable"><code>auto</code></em> | <em class="replaceable"><code>no</code></em> | <em class="replaceable"><code>domain</code></em> trust-anchor <em class="replaceable"><code>domain</code></em> );<br>
dnssec-must-be-secure <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-accept-expired <em class="replaceable"><code>boolean</code></em>;<br>
<br>
@@ -360,7 +360,7 @@ options
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544573"></a><h2>VIEW</h2>
<a name="id2544574"></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>
@@ -407,6 +407,7 @@ view
queryport-pool-ports <em class="replaceable"><code>integer</code></em>;<br>
queryport-pool-updateinterval <em class="replaceable"><code>integer</code></em>;<br>
cleaning-interval <em class="replaceable"><code>integer</code></em>;<br>
resolver-query-timeout <em class="replaceable"><code>integer</code></em>;<br>
min-roots <em class="replaceable"><code>integer</code></em>; // not implemented<br>
lame-ttl <em class="replaceable"><code>integer</code></em>;<br>
max-ncache-ttl <em class="replaceable"><code>integer</code></em>;<br>
@@ -436,7 +437,7 @@ view
disable-algorithms <em class="replaceable"><code>string</code></em> { <em class="replaceable"><code>string</code></em>; ... };<br>
dnssec-enable <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-validation <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-lookaside <em class="replaceable"><code>string</code></em> trust-anchor <em class="replaceable"><code>string</code></em>;<br>
dnssec-lookaside ( <em class="replaceable"><code>auto</code></em> | <em class="replaceable"><code>no</code></em> | <em class="replaceable"><code>domain</code></em> trust-anchor <em class="replaceable"><code>domain</code></em> );<br>
dnssec-must-be-secure <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-accept-expired <em class="replaceable"><code>boolean</code></em>;<br>
<br>
@@ -522,7 +523,7 @@ view
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2545273"></a><h2>ZONE</h2>
<a name="id2545284"></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>
@@ -617,12 +618,12 @@ zone
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2545653"></a><h2>FILES</h2>
<a name="id2545664"></a><h2>FILES</h2>
<p><code class="filename">/etc/named.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545665"></a><h2>SEE ALSO</h2>
<a name="id2545675"></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>,
+8 -8
View File
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.html,v 1.33 2009/10/06 01:14:41 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">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">-E <em class="replaceable"><code>engine-name</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>
<div class="refsect1" lang="en">
<a name="id2543480"></a><h2>DESCRIPTION</h2>
<a name="id2543482"></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="id2543505"></a><h2>OPTIONS</h2>
<a name="id2543507"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-4</span></dt>
<dd><p>
@@ -228,7 +228,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543962"></a><h2>SIGNALS</h2>
<a name="id2543964"></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
@@ -249,7 +249,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544010"></a><h2>CONFIGURATION</h2>
<a name="id2544012"></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
@@ -266,7 +266,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544046"></a><h2>FILES</h2>
<a name="id2544049"></a><h2>FILES</h2>
<div class="variablelist"><dl>
<dt><span class="term"><code class="filename">/etc/named.conf</code></span></dt>
<dd><p>
@@ -279,7 +279,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544086"></a><h2>SEE ALSO</h2>
<a name="id2544088"></a><h2>SEE ALSO</h2>
<p><em class="citetitle">RFC 1033</em>,
<em class="citetitle">RFC 1034</em>,
<em class="citetitle">RFC 1035</em>,
@@ -292,7 +292,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544293"></a><h2>AUTHOR</h2>
<a name="id2544295"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+830 -543
View File
File diff suppressed because it is too large Load Diff
+468 -214
View File
File diff suppressed because it is too large Load Diff
+38 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2008-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2008-2012 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
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: statschannel.c,v 1.26 2010/02/04 23:49:13 tbox Exp $ */
/* $Id: statschannel.c,v 1.26.150.2 2011/03/12 04:59:14 tbox Exp $ */
/*! \file */
@@ -85,16 +85,19 @@ static const char *nsstats_desc[dns_nsstatscounter_max];
static const char *resstats_desc[dns_resstatscounter_max];
static const char *zonestats_desc[dns_zonestatscounter_max];
static const char *sockstats_desc[isc_sockstatscounter_max];
static const char *dnssecstats_desc[dns_dnssecstats_max];
#ifdef HAVE_LIBXML2
static const char *nsstats_xmldesc[dns_nsstatscounter_max];
static const char *resstats_xmldesc[dns_resstatscounter_max];
static const char *zonestats_xmldesc[dns_zonestatscounter_max];
static const char *sockstats_xmldesc[isc_sockstatscounter_max];
static const char *dnssecstats_xmldesc[dns_dnssecstats_max];
#else
#define nsstats_xmldesc NULL
#define resstats_xmldesc NULL
#define zonestats_xmldesc NULL
#define sockstats_xmldesc NULL
#define dnssecstats_xmldesc NULL
#endif /* HAVE_LIBXML2 */
#define TRY0(a) do { xmlrc = (a); if (xmlrc < 0) goto error; } while(0)
@@ -108,6 +111,7 @@ static int nsstats_index[dns_nsstatscounter_max];
static int resstats_index[dns_resstatscounter_max];
static int zonestats_index[dns_zonestatscounter_max];
static int sockstats_index[isc_sockstatscounter_max];
static int dnssecstats_index[dns_dnssecstats_max];
static inline void
set_desc(int counter, int maxcounter, const char *fdesc, const char **fdescs,
@@ -409,6 +413,33 @@ init_desc(void) {
"FDwatchRecvErr");
INSIST(i == isc_sockstatscounter_max);
/* Initialize DNSSEC statistics */
for (i = 0; i < dns_dnssecstats_max; i++)
dnssecstats_desc[i] = NULL;
#ifdef HAVE_LIBXML2
for (i = 0; i < dns_dnssecstats_max; i++)
dnssecstats_xmldesc[i] = NULL;
#endif
#define SET_DNSSECSTATDESC(counterid, desc, xmldesc) \
do { \
set_desc(dns_dnssecstats_ ## counterid, \
dns_dnssecstats_max, \
desc, dnssecstats_desc,\
xmldesc, dnssecstats_xmldesc); \
dnssecstats_index[i++] = dns_dnssecstats_ ## counterid; \
} while (0)
i = 0;
SET_DNSSECSTATDESC(asis, "dnssec validation success with signer "
"\"as is\"", "DNSSECasis");
SET_DNSSECSTATDESC(downcase, "dnssec validation success with signer "
"lower cased", "DNSSECdowncase");
SET_DNSSECSTATDESC(wildcard, "dnssec validation of wildcard signature",
"DNSSECwild");
SET_DNSSECSTATDESC(fail, "dnssec validation failures", "DNSSECfail");
INSIST(i == dns_dnssecstats_max);
/* Sanity check */
for (i = 0; i < dns_nsstatscounter_max; i++)
INSIST(nsstats_desc[i] != NULL);
@@ -418,6 +449,8 @@ init_desc(void) {
INSIST(zonestats_desc[i] != NULL);
for (i = 0; i < isc_sockstatscounter_max; i++)
INSIST(sockstats_desc[i] != NULL);
for (i = 0; i < dns_dnssecstats_max; i++)
INSIST(dnssecstats_desc[i] != NULL);
#ifdef HAVE_LIBXML2
for (i = 0; i < dns_nsstatscounter_max; i++)
INSIST(nsstats_xmldesc[i] != NULL);
@@ -427,6 +460,8 @@ init_desc(void) {
INSIST(zonestats_xmldesc[i] != NULL);
for (i = 0; i < isc_sockstatscounter_max; i++)
INSIST(sockstats_xmldesc[i] != NULL);
for (i = 0; i < dns_dnssecstats_max; i++)
INSIST(dnssecstats_xmldesc[i] != NULL);
#endif
}
@@ -638,7 +673,7 @@ rdatasetstats_dump(dns_rdatastatstype_t type, isc_uint64_t val, void *arg) {
static void
opcodestat_dump(dns_opcode_t code, isc_uint64_t val, void *arg) {
FILE *fp = arg;
FILE *fp;
isc_buffer_t b;
char codebuf[64];
stats_dumparg_t *dumparg = arg;
-3
View File
@@ -1,3 +0,0 @@
Makefile
*.lo
.libs
+5 -4
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2007, 2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1999-2001 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.13 2009/12/05 23:31:40 each Exp $
# $Id: Makefile.in,v 1.13.244.2 2011/03/10 23:47:26 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -22,14 +22,15 @@ top_srcdir = @top_srcdir@
@BIND9_MAKE_INCLUDES@
CINCLUDES = -I${srcdir}/include -I${srcdir}/../include \
${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} \
${DNS_INCLUDES} ${ISC_INCLUDES}
CDEFINES =
CWARNINGS =
OBJS = os.@O@
OBJS = os.@O@ dlz_dlopen_driver.@O@
SRCS = os.c
SRCS = os.c dlz_dlopen_driver.c
TARGETS = ${OBJS}
+618
View File
@@ -0,0 +1,618 @@
/*
* Copyright (C) 2011, 2012 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: dlz_dlopen_driver.c,v 1.1.4.6 2012/02/22 23:46:35 tbox Exp $ */
#include <config.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <dlfcn.h>
#include <dns/log.h>
#include <dns/result.h>
#include <dns/dlz_dlopen.h>
#include <isc/mem.h>
#include <isc/print.h>
#include <isc/result.h>
#include <isc/util.h>
#include <named/globals.h>
#include <dlz/dlz_dlopen_driver.h>
#ifdef ISC_DLZ_DLOPEN
static dns_sdlzimplementation_t *dlz_dlopen = NULL;
typedef struct dlopen_data {
isc_mem_t *mctx;
char *dl_path;
char *dlzname;
void *dl_handle;
void *dbdata;
unsigned int flags;
isc_mutex_t lock;
int version;
isc_boolean_t in_configure;
dlz_dlopen_version_t *dlz_version;
dlz_dlopen_create_t *dlz_create;
dlz_dlopen_findzonedb_t *dlz_findzonedb;
dlz_dlopen_lookup_t *dlz_lookup;
dlz_dlopen_authority_t *dlz_authority;
dlz_dlopen_allnodes_t *dlz_allnodes;
dlz_dlopen_allowzonexfr_t *dlz_allowzonexfr;
dlz_dlopen_newversion_t *dlz_newversion;
dlz_dlopen_closeversion_t *dlz_closeversion;
dlz_dlopen_configure_t *dlz_configure;
dlz_dlopen_ssumatch_t *dlz_ssumatch;
dlz_dlopen_addrdataset_t *dlz_addrdataset;
dlz_dlopen_subrdataset_t *dlz_subrdataset;
dlz_dlopen_delrdataset_t *dlz_delrdataset;
dlz_dlopen_destroy_t *dlz_destroy;
} dlopen_data_t;
/* Modules can choose whether they are lock-safe or not. */
#define MAYBE_LOCK(cd) \
do { \
if ((cd->flags & DNS_SDLZFLAG_THREADSAFE) == 0 && \
cd->in_configure == ISC_FALSE) \
LOCK(&cd->lock); \
} while (0)
#define MAYBE_UNLOCK(cd) \
do { \
if ((cd->flags & DNS_SDLZFLAG_THREADSAFE) == 0 && \
cd->in_configure == ISC_FALSE) \
UNLOCK(&cd->lock); \
} while (0)
/*
* Log a message at the given level.
*/
static void dlopen_log(int level, const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
isc_log_vwrite(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_DEBUG(level),
fmt, ap);
va_end(ap);
}
/*
* SDLZ methods
*/
static isc_result_t
dlopen_dlz_allnodes(const char *zone, void *driverarg, void *dbdata,
dns_sdlzallnodes_t *allnodes)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_allnodes == NULL) {
return (ISC_R_NOPERM);
}
MAYBE_LOCK(cd);
result = cd->dlz_allnodes(zone, cd->dbdata, allnodes);
MAYBE_UNLOCK(cd);
return (result);
}
static isc_result_t
dlopen_dlz_allowzonexfr(void *driverarg, void *dbdata, const char *name,
const char *client)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_allowzonexfr == NULL) {
return (ISC_R_NOPERM);
}
MAYBE_LOCK(cd);
result = cd->dlz_allowzonexfr(cd->dbdata, name, client);
MAYBE_UNLOCK(cd);
return (result);
}
static isc_result_t
dlopen_dlz_authority(const char *zone, void *driverarg, void *dbdata,
dns_sdlzlookup_t *lookup)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_authority == NULL) {
return (ISC_R_NOTIMPLEMENTED);
}
MAYBE_LOCK(cd);
result = cd->dlz_authority(zone, cd->dbdata, lookup);
MAYBE_UNLOCK(cd);
return (result);
}
static isc_result_t
dlopen_dlz_findzonedb(void *driverarg, void *dbdata, const char *name)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
MAYBE_LOCK(cd);
result = cd->dlz_findzonedb(cd->dbdata, name);
MAYBE_UNLOCK(cd);
return (result);
}
static isc_result_t
dlopen_dlz_lookup(const char *zone, const char *name, void *driverarg,
void *dbdata, dns_sdlzlookup_t *lookup)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
MAYBE_LOCK(cd);
result = cd->dlz_lookup(zone, name, cd->dbdata, lookup);
MAYBE_UNLOCK(cd);
return (result);
}
/*
* Load a symbol from the library
*/
static void *
dl_load_symbol(dlopen_data_t *cd, const char *symbol, isc_boolean_t mandatory) {
void *ptr = dlsym(cd->dl_handle, symbol);
if (ptr == NULL && mandatory) {
dlopen_log(ISC_LOG_ERROR,
"dlz_dlopen: library '%s' is missing "
"required symbol '%s'", cd->dl_path, symbol);
}
return (ptr);
}
/*
* Called at startup for each dlopen zone in named.conf
*/
static isc_result_t
dlopen_dlz_create(const char *dlzname, unsigned int argc, char *argv[],
void *driverarg, void **dbdata)
{
dlopen_data_t *cd;
isc_mem_t *mctx = NULL;
isc_result_t result = ISC_R_FAILURE;
int dlopen_flags = 0;
UNUSED(driverarg);
if (argc < 2) {
dlopen_log(ISC_LOG_ERROR,
"dlz_dlopen driver for '%s' needs a path to "
"the shared library", dlzname);
return (ISC_R_FAILURE);
}
isc_mem_create(0, 0, &mctx);
cd = isc_mem_get(mctx, sizeof(*cd));
if (cd == NULL) {
isc_mem_destroy(&mctx);
return (ISC_R_NOMEMORY);
}
memset(cd, 0, sizeof(*cd));
cd->mctx = mctx;
cd->dl_path = isc_mem_strdup(cd->mctx, argv[1]);
if (cd->dl_path == NULL) {
goto failed;
}
cd->dlzname = isc_mem_strdup(cd->mctx, dlzname);
if (cd->dlzname == NULL) {
goto failed;
}
/* Initialize the lock */
isc_mutex_init(&cd->lock);
/* Open the library */
dlopen_flags = RTLD_NOW|RTLD_GLOBAL;
#ifdef RTLD_DEEPBIND
/*
* If RTLD_DEEPBIND is available then use it. This can avoid
* issues with a module using a different version of a system
* library than one that bind9 uses. For example, bind9 may link
* to MIT kerberos, but the module may use Heimdal. If we don't
* use RTLD_DEEPBIND then we could end up with Heimdal functions
* calling MIT functions, which leads to bizarre results (usually
* a segfault).
*/
dlopen_flags |= RTLD_DEEPBIND;
#endif
cd->dl_handle = dlopen(cd->dl_path, dlopen_flags);
if (cd->dl_handle == NULL) {
dlopen_log(ISC_LOG_ERROR,
"dlz_dlopen failed to open library '%s' - %s",
cd->dl_path, dlerror());
goto failed;
}
/* Find the symbols */
cd->dlz_version = (dlz_dlopen_version_t *)
dl_load_symbol(cd, "dlz_version", ISC_TRUE);
cd->dlz_create = (dlz_dlopen_create_t *)
dl_load_symbol(cd, "dlz_create", ISC_TRUE);
cd->dlz_lookup = (dlz_dlopen_lookup_t *)
dl_load_symbol(cd, "dlz_lookup", ISC_TRUE);
cd->dlz_findzonedb = (dlz_dlopen_findzonedb_t *)
dl_load_symbol(cd, "dlz_findzonedb", ISC_TRUE);
if (cd->dlz_create == NULL ||
cd->dlz_lookup == NULL ||
cd->dlz_findzonedb == NULL)
{
/* We're missing a required symbol */
goto failed;
}
cd->dlz_allowzonexfr = (dlz_dlopen_allowzonexfr_t *)
dl_load_symbol(cd, "dlz_allowzonexfr", ISC_FALSE);
cd->dlz_allnodes = (dlz_dlopen_allnodes_t *)
dl_load_symbol(cd, "dlz_allnodes",
ISC_TF(cd->dlz_allowzonexfr != NULL));
cd->dlz_authority = (dlz_dlopen_authority_t *)
dl_load_symbol(cd, "dlz_authority", ISC_FALSE);
cd->dlz_newversion = (dlz_dlopen_newversion_t *)
dl_load_symbol(cd, "dlz_newversion", ISC_FALSE);
cd->dlz_closeversion = (dlz_dlopen_closeversion_t *)
dl_load_symbol(cd, "dlz_closeversion",
ISC_TF(cd->dlz_newversion != NULL));
cd->dlz_configure = (dlz_dlopen_configure_t *)
dl_load_symbol(cd, "dlz_configure", ISC_FALSE);
cd->dlz_ssumatch = (dlz_dlopen_ssumatch_t *)
dl_load_symbol(cd, "dlz_ssumatch", ISC_FALSE);
cd->dlz_addrdataset = (dlz_dlopen_addrdataset_t *)
dl_load_symbol(cd, "dlz_addrdataset", ISC_FALSE);
cd->dlz_subrdataset = (dlz_dlopen_subrdataset_t *)
dl_load_symbol(cd, "dlz_subrdataset", ISC_FALSE);
cd->dlz_delrdataset = (dlz_dlopen_delrdataset_t *)
dl_load_symbol(cd, "dlz_delrdataset", ISC_FALSE);
cd->dlz_destroy = (dlz_dlopen_destroy_t *)
dl_load_symbol(cd, "dlz_destroy", ISC_FALSE);
/* Check the version of the API is the same */
cd->version = cd->dlz_version(&cd->flags);
if (cd->version != DLZ_DLOPEN_VERSION) {
dlopen_log(ISC_LOG_ERROR,
"dlz_dlopen: incorrect version %d "
"should be %d in '%s'",
cd->version, DLZ_DLOPEN_VERSION, cd->dl_path);
goto failed;
}
/*
* Call the library's create function. Note that this is an
* extended version of dlz create, with the addition of
* named function pointers for helper functions that the
* driver will need. This avoids the need for the backend to
* link the BIND9 libraries
*/
MAYBE_LOCK(cd);
result = cd->dlz_create(dlzname, argc-1, argv+1,
&cd->dbdata,
"log", dlopen_log,
"putrr", dns_sdlz_putrr,
"putnamedrr", dns_sdlz_putnamedrr,
"writeable_zone", dns_dlz_writeablezone,
NULL);
MAYBE_UNLOCK(cd);
if (result != ISC_R_SUCCESS)
goto failed;
*dbdata = cd;
return (ISC_R_SUCCESS);
failed:
dlopen_log(ISC_LOG_ERROR, "dlz_dlopen of '%s' failed", dlzname);
if (cd->dl_path)
isc_mem_free(mctx, cd->dl_path);
if (cd->dlzname)
isc_mem_free(mctx, cd->dlzname);
if (dlopen_flags)
(void) isc_mutex_destroy(&cd->lock);
#ifdef HAVE_DLCLOSE
if (cd->dl_handle)
dlclose(cd->dl_handle);
#endif
isc_mem_put(mctx, cd, sizeof(*cd));
isc_mem_destroy(&mctx);
return (result);
}
/*
* Called when bind is shutting down
*/
static void
dlopen_dlz_destroy(void *driverarg, void *dbdata) {
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_mem_t *mctx;
UNUSED(driverarg);
if (cd->dlz_destroy) {
MAYBE_LOCK(cd);
cd->dlz_destroy(cd->dbdata);
MAYBE_UNLOCK(cd);
}
if (cd->dl_path)
isc_mem_free(cd->mctx, cd->dl_path);
if (cd->dlzname)
isc_mem_free(cd->mctx, cd->dlzname);
#ifdef HAVE_DLCLOSE
if (cd->dl_handle)
dlclose(cd->dl_handle);
#endif
(void) isc_mutex_destroy(&cd->lock);
mctx = cd->mctx;
isc_mem_put(mctx, cd, sizeof(*cd));
isc_mem_destroy(&mctx);
}
/*
* Called to start a transaction
*/
static isc_result_t
dlopen_dlz_newversion(const char *zone, void *driverarg, void *dbdata,
void **versionp)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_newversion == NULL)
return (ISC_R_NOTIMPLEMENTED);
MAYBE_LOCK(cd);
result = cd->dlz_newversion(zone, cd->dbdata, versionp);
MAYBE_UNLOCK(cd);
return (result);
}
/*
* Called to end a transaction
*/
static void
dlopen_dlz_closeversion(const char *zone, isc_boolean_t commit,
void *driverarg, void *dbdata, void **versionp)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
UNUSED(driverarg);
if (cd->dlz_newversion == NULL) {
*versionp = NULL;
return;
}
MAYBE_LOCK(cd);
cd->dlz_closeversion(zone, commit, cd->dbdata, versionp);
MAYBE_UNLOCK(cd);
}
/*
* Called on startup to configure any writeable zones
*/
static isc_result_t
dlopen_dlz_configure(dns_view_t *view, void *driverarg, void *dbdata) {
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_configure == NULL)
return (ISC_R_SUCCESS);
MAYBE_LOCK(cd);
cd->in_configure = ISC_TRUE;
result = cd->dlz_configure(view, cd->dbdata);
cd->in_configure = ISC_FALSE;
MAYBE_UNLOCK(cd);
return (result);
}
/*
* Check for authority to change a name
*/
static isc_boolean_t
dlopen_dlz_ssumatch(const char *signer, const char *name, const char *tcpaddr,
const char *type, const char *key, isc_uint32_t keydatalen,
unsigned char *keydata, void *driverarg, void *dbdata)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_boolean_t ret;
UNUSED(driverarg);
if (cd->dlz_ssumatch == NULL)
return (ISC_FALSE);
MAYBE_LOCK(cd);
ret = cd->dlz_ssumatch(signer, name, tcpaddr, type, key, keydatalen,
keydata, cd->dbdata);
MAYBE_UNLOCK(cd);
return (ret);
}
/*
* Add an rdataset
*/
static isc_result_t
dlopen_dlz_addrdataset(const char *name, const char *rdatastr,
void *driverarg, void *dbdata, void *version)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_addrdataset == NULL)
return (ISC_R_NOTIMPLEMENTED);
MAYBE_LOCK(cd);
result = cd->dlz_addrdataset(name, rdatastr, cd->dbdata, version);
MAYBE_UNLOCK(cd);
return (result);
}
/*
* Subtract an rdataset
*/
static isc_result_t
dlopen_dlz_subrdataset(const char *name, const char *rdatastr,
void *driverarg, void *dbdata, void *version)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_subrdataset == NULL)
return (ISC_R_NOTIMPLEMENTED);
MAYBE_LOCK(cd);
result = cd->dlz_subrdataset(name, rdatastr, cd->dbdata, version);
MAYBE_UNLOCK(cd);
return (result);
}
/*
delete a rdataset
*/
static isc_result_t
dlopen_dlz_delrdataset(const char *name, const char *type,
void *driverarg, void *dbdata, void *version)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_delrdataset == NULL)
return (ISC_R_NOTIMPLEMENTED);
MAYBE_LOCK(cd);
result = cd->dlz_delrdataset(name, type, cd->dbdata, version);
MAYBE_UNLOCK(cd);
return (result);
}
static dns_sdlzmethods_t dlz_dlopen_methods = {
dlopen_dlz_create,
dlopen_dlz_destroy,
dlopen_dlz_findzonedb,
dlopen_dlz_lookup,
dlopen_dlz_authority,
dlopen_dlz_allnodes,
dlopen_dlz_allowzonexfr,
dlopen_dlz_newversion,
dlopen_dlz_closeversion,
dlopen_dlz_configure,
dlopen_dlz_ssumatch,
dlopen_dlz_addrdataset,
dlopen_dlz_subrdataset,
dlopen_dlz_delrdataset
};
#endif
/*
* Register driver with BIND
*/
isc_result_t
dlz_dlopen_init(isc_mem_t *mctx) {
#ifndef ISC_DLZ_DLOPEN
UNUSED(mctx);
return (ISC_R_NOTIMPLEMENTED);
#else
isc_result_t result;
dlopen_log(2, "Registering DLZ_dlopen driver");
result = dns_sdlzregister("dlopen", &dlz_dlopen_methods, NULL,
DNS_SDLZFLAG_RELATIVEOWNER |
DNS_SDLZFLAG_THREADSAFE,
mctx, &dlz_dlopen);
if (result != ISC_R_SUCCESS) {
UNEXPECTED_ERROR(__FILE__, __LINE__,
"dns_sdlzregister() failed: %s",
isc_result_totext(result));
result = ISC_R_UNEXPECTED;
}
return (result);
#endif
}
/*
* Unregister the driver
*/
void
dlz_dlopen_clear(void) {
#ifdef ISC_DLZ_DLOPEN
dlopen_log(2, "Unregistering DLZ_dlopen driver");
if (dlz_dlopen != NULL)
dns_sdlzunregister(&dlz_dlopen);
#endif
}
+7 -4
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2011 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: os.c,v 1.104 2010/11/17 23:47:08 tbox Exp $ */
/* $Id: os.c,v 1.104.38.3 2011/03/02 00:04:01 marka Exp $ */
/*! \file */
@@ -790,6 +790,9 @@ ns_os_openfile(const char *filename, mode_t mode, isc_boolean_t switch_user) {
free(f);
if (switch_user && runas_pw != NULL) {
#ifndef HAVE_LINUXTHREADS
gid_t oldgid = getgid();
#endif
/* Set UID/GID to the one we'll be running with eventually */
setperms(runas_pw->pw_uid, runas_pw->pw_gid);
@@ -797,7 +800,7 @@ ns_os_openfile(const char *filename, mode_t mode, isc_boolean_t switch_user) {
#ifndef HAVE_LINUXTHREADS
/* Restore UID/GID to root */
setperms(0, 0);
setperms(0, oldgid);
#endif /* HAVE_LINUXTHREADS */
if (fd == -1) {
@@ -950,7 +953,7 @@ ns_os_shutdownmsg(char *command, isc_buffer_t *text) {
isc_buffer_availablelength(text),
"pid: %ld", (long)pid);
/* Only send a message if it is complete. */
if (n < isc_buffer_availablelength(text))
if (n > 0 && n < isc_buffer_availablelength(text))
isc_buffer_add(text, n);
}
+87 -15
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2011 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: update.c,v 1.186 2010/12/18 01:56:19 each Exp $ */
/* $Id: update.c,v 1.186.16.7 2011/11/03 02:55:34 each Exp $ */
#include <config.h>
@@ -1506,8 +1506,6 @@ check_soa_increment(dns_db_t *db, dns_dbversion_t *ver,
* Incremental updating of NSECs and RRSIGs.
*/
#define MAXZONEKEYS 32 /*%< Maximum number of zone keys supported. */
/*%
* We abuse the dns_diff_t type to represent a set of domain names
* affected by the update.
@@ -1692,7 +1690,7 @@ next_active(ns_client_t *client, dns_zone_t *zone, dns_db_t *db,
{
isc_result_t result;
dns_dbiterator_t *dbit = NULL;
isc_boolean_t has_nsec;
isc_boolean_t has_nsec = ISC_FALSE;
unsigned int wraps = 0;
isc_boolean_t secure = dns_db_issecure(db);
@@ -2131,7 +2129,7 @@ update_signatures(ns_client_t *client, dns_zone_t *zone, dns_db_t *db,
dns_diff_t nsec_diff;
dns_diff_t nsec_mindiff;
isc_boolean_t flag, build_nsec, build_nsec3;
dst_key_t *zone_keys[MAXZONEKEYS];
dst_key_t *zone_keys[DNS_MAXZONEKEYS];
unsigned int nkeys = 0;
unsigned int i;
isc_stdtime_t now, inception, expire;
@@ -2154,7 +2152,7 @@ update_signatures(ns_client_t *client, dns_zone_t *zone, dns_db_t *db,
dns_diff_init(client->mctx, &nsec_mindiff);
result = find_zone_keys(zone, db, newver, client->mctx,
MAXZONEKEYS, zone_keys, &nkeys);
DNS_MAXZONEKEYS, zone_keys, &nkeys);
if (result != ISC_R_SUCCESS) {
update_log(client, zone, ISC_LOG_ERROR,
"could not get zone keys for secure dynamic update");
@@ -2395,7 +2393,7 @@ update_signatures(ns_client_t *client, dns_zone_t *zone, dns_db_t *db,
name, diff));
}
CHECK(add_exposed_sigs(client, zone, db, newver, name,
cut, diff, zone_keys, nkeys,
cut, &sig_diff, zone_keys, nkeys,
inception, expire, check_ksk,
keyset_kskonly));
}
@@ -2554,7 +2552,7 @@ update_signatures(ns_client_t *client, dns_zone_t *zone, dns_db_t *db,
privatetype, &nsec_diff));
} else {
CHECK(add_exposed_sigs(client, zone, db, newver, name,
cut, diff, zone_keys, nkeys,
cut, &sig_diff, zone_keys, nkeys,
inception, expire, check_ksk,
keyset_kskonly));
CHECK(dns_nsec3_addnsec3sx(db, newver, name, nsecttl,
@@ -3371,8 +3369,7 @@ rollback_private(dns_db_t *db, dns_rdatatype_t privatetype,
* Extract the changes to be rolled back.
*/
for (tuple = ISC_LIST_HEAD(diff->tuples);
tuple != NULL;
tuple = next) {
tuple != NULL; tuple = next) {
next = ISC_LIST_NEXT(tuple, link);
@@ -3419,7 +3416,7 @@ static isc_result_t
add_signing_records(dns_db_t *db, dns_rdatatype_t privatetype,
dns_dbversion_t *ver, dns_diff_t *diff)
{
dns_difftuple_t *tuple, *newtuple = NULL;
dns_difftuple_t *tuple, *newtuple = NULL, *next;
dns_rdata_dnskey_t dnskey;
dns_rdata_t rdata = DNS_RDATA_INIT;
isc_boolean_t flag;
@@ -3428,13 +3425,81 @@ add_signing_records(dns_db_t *db, dns_rdatatype_t privatetype,
isc_uint16_t keyid;
unsigned char buf[5];
dns_name_t *name = dns_db_origin(db);
dns_diff_t temp_diff;
dns_diff_init(diff->mctx, &temp_diff);
/*
* Extract the DNSKEY tuples from the list.
*/
for (tuple = ISC_LIST_HEAD(diff->tuples);
tuple != NULL;
tuple = ISC_LIST_NEXT(tuple, link)) {
tuple != NULL; tuple = next) {
next = ISC_LIST_NEXT(tuple, link);
if (tuple->rdata.type != dns_rdatatype_dnskey)
continue;
ISC_LIST_UNLINK(diff->tuples, tuple, link);
ISC_LIST_APPEND(temp_diff.tuples, tuple, link);
}
/*
* Extract TTL changes pairs, we don't need signing records for these.
*/
for (tuple = ISC_LIST_HEAD(temp_diff.tuples);
tuple != NULL; tuple = next) {
if (tuple->op == DNS_DIFFOP_ADD) {
/*
* Walk the temp_diff list looking for the
* corresponding delete.
*/
next = ISC_LIST_HEAD(temp_diff.tuples);
while (next != NULL) {
unsigned char *next_data = next->rdata.data;
unsigned char *tuple_data = tuple->rdata.data;
if (next->op == DNS_DIFFOP_DEL &&
dns_name_equal(&tuple->name, &next->name) &&
next->rdata.length == tuple->rdata.length &&
!memcmp(next_data, tuple_data,
next->rdata.length)) {
ISC_LIST_UNLINK(temp_diff.tuples, next,
link);
ISC_LIST_APPEND(diff->tuples, next,
link);
break;
}
next = ISC_LIST_NEXT(next, link);
}
/*
* If we have not found a pair move onto the next
* tuple.
*/
if (next == NULL) {
next = ISC_LIST_NEXT(tuple, link);
continue;
}
/*
* Find the next tuple to be processed before
* unlinking then complete moving the pair to 'diff'.
*/
next = ISC_LIST_NEXT(tuple, link);
ISC_LIST_UNLINK(temp_diff.tuples, tuple, link);
ISC_LIST_APPEND(diff->tuples, tuple, link);
} else
next = ISC_LIST_NEXT(tuple, link);
}
/*
* Process the remaining DNSKEY entries.
*/
for (tuple = ISC_LIST_HEAD(temp_diff.tuples);
tuple != NULL;
tuple = ISC_LIST_HEAD(temp_diff.tuples)) {
ISC_LIST_UNLINK(temp_diff.tuples, tuple, link);
ISC_LIST_APPEND(diff->tuples, tuple, link);
dns_rdata_tostruct(&tuple->rdata, &dnskey, NULL);
if ((dnskey.flags &
(DNS_KEYFLAG_OWNERMASK|DNS_KEYTYPE_NOAUTH))
@@ -3475,7 +3540,9 @@ add_signing_records(dns_db_t *db, dns_rdatatype_t privatetype,
INSIST(newtuple == NULL);
}
}
failure:
dns_diff_clear(&temp_diff);
return (result);
}
@@ -3665,7 +3732,6 @@ update_action(isc_task_t *task, isc_event_t *event) {
* Check Requestor's Permissions. It seems a bit silly to do this
* only after prerequisite testing, but that is what RFC2136 says.
*/
result = ISC_R_SUCCESS;
if (ssutable == NULL)
CHECK(checkupdateacl(client, dns_zone_getupdateacl(zone),
"update", zonename, ISC_FALSE, ISC_FALSE));
@@ -4405,6 +4471,12 @@ send_forward_event(ns_client_t *client, dns_zone_t *zone) {
isc_task_t *zonetask = NULL;
ns_client_t *evclient;
/*
* This may take some time so replace this client.
*/
if (!client->mortal && (client->attributes & NS_CLIENTATTR_TCP) == 0)
CHECK(ns_client_replace(client));
event = (update_event_t *)
isc_event_allocate(client->mctx, client, DNS_EVENT_UPDATE,
forward_action, NULL, sizeof(*event));
+602
View File
@@ -0,0 +1,602 @@
/*
* Copyright (C) 2011 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: dlz_dlopen_driver.c,v 1.4.2.3 2011/03/17 09:41:07 fdupont Exp $ */
#include <config.h>
#include <windows.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <dns/log.h>
#include <dns/result.h>
#include <dns/dlz_dlopen.h>
#include <isc/mem.h>
#include <isc/print.h>
#include <isc/result.h>
#include <isc/util.h>
#include <named/globals.h>
#include <dlz/dlz_dlopen_driver.h>
#ifdef ISC_DLZ_DLOPEN
static dns_sdlzimplementation_t *dlz_dlopen = NULL;
typedef struct dlopen_data {
isc_mem_t *mctx;
char *dl_path;
char *dlzname;
HMODULE dl_handle;
void *dbdata;
unsigned int flags;
isc_mutex_t lock;
int version;
isc_boolean_t in_configure;
dlz_dlopen_version_t *dlz_version;
dlz_dlopen_create_t *dlz_create;
dlz_dlopen_findzonedb_t *dlz_findzonedb;
dlz_dlopen_lookup_t *dlz_lookup;
dlz_dlopen_authority_t *dlz_authority;
dlz_dlopen_allnodes_t *dlz_allnodes;
dlz_dlopen_allowzonexfr_t *dlz_allowzonexfr;
dlz_dlopen_newversion_t *dlz_newversion;
dlz_dlopen_closeversion_t *dlz_closeversion;
dlz_dlopen_configure_t *dlz_configure;
dlz_dlopen_ssumatch_t *dlz_ssumatch;
dlz_dlopen_addrdataset_t *dlz_addrdataset;
dlz_dlopen_subrdataset_t *dlz_subrdataset;
dlz_dlopen_delrdataset_t *dlz_delrdataset;
dlz_dlopen_destroy_t *dlz_destroy;
} dlopen_data_t;
/* Modules can choose whether they are lock-safe or not. */
#define MAYBE_LOCK(cd) \
do { \
if ((cd->flags & DNS_SDLZFLAG_THREADSAFE) == 0 && \
cd->in_configure == ISC_FALSE) \
LOCK(&cd->lock); \
} while (0)
#define MAYBE_UNLOCK(cd) \
do { \
if ((cd->flags & DNS_SDLZFLAG_THREADSAFE) == 0 && \
cd->in_configure == ISC_FALSE) \
UNLOCK(&cd->lock); \
} while (0)
/*
* Log a message at the given level.
*/
static void dlopen_log(int level, const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
isc_log_vwrite(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_DEBUG(level),
fmt, ap);
va_end(ap);
}
/*
* SDLZ methods
*/
static isc_result_t
dlopen_dlz_allnodes(const char *zone, void *driverarg, void *dbdata,
dns_sdlzallnodes_t *allnodes)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_allnodes == NULL) {
return (ISC_R_NOPERM);
}
MAYBE_LOCK(cd);
result = cd->dlz_allnodes(zone, cd->dbdata, allnodes);
MAYBE_UNLOCK(cd);
return (result);
}
static isc_result_t
dlopen_dlz_allowzonexfr(void *driverarg, void *dbdata, const char *name,
const char *client)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_allowzonexfr == NULL) {
return (ISC_R_NOPERM);
}
MAYBE_LOCK(cd);
result = cd->dlz_allowzonexfr(cd->dbdata, name, client);
MAYBE_UNLOCK(cd);
return (result);
}
static isc_result_t
dlopen_dlz_authority(const char *zone, void *driverarg, void *dbdata,
dns_sdlzlookup_t *lookup)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_authority == NULL) {
return (ISC_R_NOTIMPLEMENTED);
}
MAYBE_LOCK(cd);
result = cd->dlz_authority(zone, cd->dbdata, lookup);
MAYBE_UNLOCK(cd);
return (result);
}
static isc_result_t
dlopen_dlz_findzonedb(void *driverarg, void *dbdata, const char *name)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
MAYBE_LOCK(cd);
result = cd->dlz_findzonedb(cd->dbdata, name);
MAYBE_UNLOCK(cd);
return (result);
}
static isc_result_t
dlopen_dlz_lookup(const char *zone, const char *name, void *driverarg,
void *dbdata, dns_sdlzlookup_t *lookup)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
MAYBE_LOCK(cd);
result = cd->dlz_lookup(zone, name, cd->dbdata, lookup);
MAYBE_UNLOCK(cd);
return (result);
}
/*
* Load a symbol from the library
*/
static void *
dl_load_symbol(dlopen_data_t *cd, const char *symbol, isc_boolean_t mandatory) {
void *ptr = GetProcAddress(cd->dl_handle, symbol);
if (ptr == NULL && mandatory) {
dlopen_log(ISC_LOG_ERROR,
"dlz_dlopen: library '%s' is missing "
"required symbol '%s'", cd->dl_path, symbol);
}
return (ptr);
}
/*
* Called at startup for each dlopen zone in named.conf
*/
static isc_result_t
dlopen_dlz_create(const char *dlzname, unsigned int argc, char *argv[],
void *driverarg, void **dbdata)
{
dlopen_data_t *cd;
isc_mem_t *mctx = NULL;
isc_result_t result = ISC_R_FAILURE;
isc_boolean_t triedload = ISC_FALSE;
UNUSED(driverarg);
if (argc < 2) {
dlopen_log(ISC_LOG_ERROR,
"dlz_dlopen driver for '%s' needs a path to "
"the shared library", dlzname);
return (ISC_R_FAILURE);
}
isc_mem_create(0, 0, &mctx);
cd = isc_mem_get(mctx, sizeof(*cd));
if (cd == NULL) {
isc_mem_destroy(&mctx);
return (ISC_R_NOMEMORY);
}
memset(cd, 0, sizeof(*cd));
cd->mctx = mctx;
cd->dl_path = isc_mem_strdup(cd->mctx, argv[1]);
if (cd->dl_path == NULL) {
goto failed;
}
cd->dlzname = isc_mem_strdup(cd->mctx, dlzname);
if (cd->dlzname == NULL) {
goto failed;
}
triedload = ISC_TRUE;
/* Initialize the lock */
isc_mutex_init(&cd->lock);
/* Open the library */
cd->dl_handle = LoadLibraryA(cd->dl_path);
if (cd->dl_handle == NULL) {
unsigned int error = GetLastError();
dlopen_log(ISC_LOG_ERROR,
"dlz_dlopen failed to open library '%s' - %u",
cd->dl_path, error);
goto failed;
}
/* Find the symbols */
cd->dlz_version = (dlz_dlopen_version_t *)
dl_load_symbol(cd, "dlz_version", ISC_TRUE);
cd->dlz_create = (dlz_dlopen_create_t *)
dl_load_symbol(cd, "dlz_create", ISC_TRUE);
cd->dlz_lookup = (dlz_dlopen_lookup_t *)
dl_load_symbol(cd, "dlz_lookup", ISC_TRUE);
cd->dlz_findzonedb = (dlz_dlopen_findzonedb_t *)
dl_load_symbol(cd, "dlz_findzonedb", ISC_TRUE);
if (cd->dlz_create == NULL ||
cd->dlz_lookup == NULL ||
cd->dlz_findzonedb == NULL)
{
/* We're missing a required symbol */
goto failed;
}
cd->dlz_allowzonexfr = (dlz_dlopen_allowzonexfr_t *)
dl_load_symbol(cd, "dlz_allowzonexfr", ISC_FALSE);
cd->dlz_allnodes = (dlz_dlopen_allnodes_t *)
dl_load_symbol(cd, "dlz_allnodes",
ISC_TF(cd->dlz_allowzonexfr != NULL));
cd->dlz_authority = (dlz_dlopen_authority_t *)
dl_load_symbol(cd, "dlz_authority", ISC_FALSE);
cd->dlz_newversion = (dlz_dlopen_newversion_t *)
dl_load_symbol(cd, "dlz_newversion", ISC_FALSE);
cd->dlz_closeversion = (dlz_dlopen_closeversion_t *)
dl_load_symbol(cd, "dlz_closeversion",
ISC_TF(cd->dlz_newversion != NULL));
cd->dlz_configure = (dlz_dlopen_configure_t *)
dl_load_symbol(cd, "dlz_configure", ISC_FALSE);
cd->dlz_ssumatch = (dlz_dlopen_ssumatch_t *)
dl_load_symbol(cd, "dlz_ssumatch", ISC_FALSE);
cd->dlz_addrdataset = (dlz_dlopen_addrdataset_t *)
dl_load_symbol(cd, "dlz_addrdataset", ISC_FALSE);
cd->dlz_subrdataset = (dlz_dlopen_subrdataset_t *)
dl_load_symbol(cd, "dlz_subrdataset", ISC_FALSE);
cd->dlz_delrdataset = (dlz_dlopen_delrdataset_t *)
dl_load_symbol(cd, "dlz_delrdataset", ISC_FALSE);
/* Check the version of the API is the same */
cd->version = cd->dlz_version(&cd->flags);
if (cd->version != DLZ_DLOPEN_VERSION) {
dlopen_log(ISC_LOG_ERROR,
"dlz_dlopen: incorrect version %d "
"should be %d in '%s'",
cd->version, DLZ_DLOPEN_VERSION, cd->dl_path);
goto failed;
}
/*
* Call the library's create function. Note that this is an
* extended version of dlz create, with the addition of
* named function pointers for helper functions that the
* driver will need. This avoids the need for the backend to
* link the BIND9 libraries
*/
MAYBE_LOCK(cd);
result = cd->dlz_create(dlzname, argc-1, argv+1,
&cd->dbdata,
"log", dlopen_log,
"putrr", dns_sdlz_putrr,
"putnamedrr", dns_sdlz_putnamedrr,
"writeable_zone", dns_dlz_writeablezone,
NULL);
MAYBE_UNLOCK(cd);
if (result != ISC_R_SUCCESS)
goto failed;
*dbdata = cd;
return (ISC_R_SUCCESS);
failed:
dlopen_log(ISC_LOG_ERROR, "dlz_dlopen of '%s' failed", dlzname);
if (cd->dl_path)
isc_mem_free(mctx, cd->dl_path);
if (cd->dlzname)
isc_mem_free(mctx, cd->dlzname);
if (triedload)
(void) isc_mutex_destroy(&cd->lock);
if (cd->dl_handle)
FreeLibrary(cd->dl_handle);
isc_mem_put(mctx, cd, sizeof(*cd));
isc_mem_destroy(&mctx);
return (result);
}
/*
* Called when bind is shutting down
*/
static void
dlopen_dlz_destroy(void *driverarg, void *dbdata) {
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_mem_t *mctx;
UNUSED(driverarg);
if (cd->dlz_destroy) {
MAYBE_LOCK(cd);
cd->dlz_destroy(cd->dbdata);
MAYBE_UNLOCK(cd);
}
if (cd->dl_path)
isc_mem_free(cd->mctx, cd->dl_path);
if (cd->dlzname)
isc_mem_free(cd->mctx, cd->dlzname);
if (cd->dl_handle)
FreeLibrary(cd->dl_handle);
(void) isc_mutex_destroy(&cd->lock);
mctx = cd->mctx;
isc_mem_put(mctx, cd, sizeof(*cd));
isc_mem_destroy(&mctx);
}
/*
* Called to start a transaction
*/
static isc_result_t
dlopen_dlz_newversion(const char *zone, void *driverarg, void *dbdata,
void **versionp)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_newversion == NULL)
return (ISC_R_NOTIMPLEMENTED);
MAYBE_LOCK(cd);
result = cd->dlz_newversion(zone, cd->dbdata, versionp);
MAYBE_UNLOCK(cd);
return (result);
}
/*
* Called to end a transaction
*/
static void
dlopen_dlz_closeversion(const char *zone, isc_boolean_t commit,
void *driverarg, void *dbdata, void **versionp)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
UNUSED(driverarg);
if (cd->dlz_newversion == NULL) {
*versionp = NULL;
return;
}
MAYBE_LOCK(cd);
cd->dlz_closeversion(zone, commit, cd->dbdata, versionp);
MAYBE_UNLOCK(cd);
}
/*
* Called on startup to configure any writeable zones
*/
static isc_result_t
dlopen_dlz_configure(dns_view_t *view, void *driverarg, void *dbdata) {
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_configure == NULL)
return (ISC_R_SUCCESS);
MAYBE_LOCK(cd);
cd->in_configure = ISC_TRUE;
result = cd->dlz_configure(view, cd->dbdata);
cd->in_configure = ISC_FALSE;
MAYBE_UNLOCK(cd);
return (result);
}
/*
* Check for authority to change a name
*/
static isc_boolean_t
dlopen_dlz_ssumatch(const char *signer, const char *name, const char *tcpaddr,
const char *type, const char *key, isc_uint32_t keydatalen,
unsigned char *keydata, void *driverarg, void *dbdata)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_boolean_t ret;
UNUSED(driverarg);
if (cd->dlz_ssumatch == NULL)
return (ISC_FALSE);
MAYBE_LOCK(cd);
ret = cd->dlz_ssumatch(signer, name, tcpaddr, type, key, keydatalen,
keydata, cd->dbdata);
MAYBE_UNLOCK(cd);
return (ret);
}
/*
* Add an rdataset
*/
static isc_result_t
dlopen_dlz_addrdataset(const char *name, const char *rdatastr,
void *driverarg, void *dbdata, void *version)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_addrdataset == NULL)
return (ISC_R_NOTIMPLEMENTED);
MAYBE_LOCK(cd);
result = cd->dlz_addrdataset(name, rdatastr, cd->dbdata, version);
MAYBE_UNLOCK(cd);
return (result);
}
/*
* Subtract an rdataset
*/
static isc_result_t
dlopen_dlz_subrdataset(const char *name, const char *rdatastr,
void *driverarg, void *dbdata, void *version)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_subrdataset == NULL)
return (ISC_R_NOTIMPLEMENTED);
MAYBE_LOCK(cd);
result = cd->dlz_subrdataset(name, rdatastr, cd->dbdata, version);
MAYBE_UNLOCK(cd);
return (result);
}
/*
delete a rdataset
*/
static isc_result_t
dlopen_dlz_delrdataset(const char *name, const char *type,
void *driverarg, void *dbdata, void *version)
{
dlopen_data_t *cd = (dlopen_data_t *) dbdata;
isc_result_t result;
UNUSED(driverarg);
if (cd->dlz_delrdataset == NULL)
return (ISC_R_NOTIMPLEMENTED);
MAYBE_LOCK(cd);
result = cd->dlz_delrdataset(name, type, cd->dbdata, version);
MAYBE_UNLOCK(cd);
return (result);
}
static dns_sdlzmethods_t dlz_dlopen_methods = {
dlopen_dlz_create,
dlopen_dlz_destroy,
dlopen_dlz_findzonedb,
dlopen_dlz_lookup,
dlopen_dlz_authority,
dlopen_dlz_allnodes,
dlopen_dlz_allowzonexfr,
dlopen_dlz_newversion,
dlopen_dlz_closeversion,
dlopen_dlz_configure,
dlopen_dlz_ssumatch,
dlopen_dlz_addrdataset,
dlopen_dlz_subrdataset,
dlopen_dlz_delrdataset
};
#endif
/*
* Register driver with BIND
*/
isc_result_t
dlz_dlopen_init(isc_mem_t *mctx) {
#ifndef ISC_DLZ_DLOPEN
UNUSED(mctx);
return (ISC_R_NOTIMPLEMENTED);
#else
isc_result_t result;
dlopen_log(2, "Registering DLZ_dlopen driver");
result = dns_sdlzregister("dlopen", &dlz_dlopen_methods, NULL,
DNS_SDLZFLAG_RELATIVEOWNER |
DNS_SDLZFLAG_THREADSAFE,
mctx, &dlz_dlopen);
if (result != ISC_R_SUCCESS) {
UNEXPECTED_ERROR(__FILE__, __LINE__,
"dns_sdlzregister() failed: %s",
isc_result_totext(result));
result = ISC_R_UNEXPECTED;
}
return (result);
#endif
}
/*
* Unregister the driver
*/
void
dlz_dlopen_clear(void) {
#ifdef ISC_DLZ_DLOPEN
dlopen_log(2, "Unregistering DLZ_dlopen driver");
if (dlz_dlopen != NULL)
dns_sdlzunregister(&dlz_dlopen);
#endif
}

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