Commit Graph
5549 Commits
Author SHA1 Message Date
Evan Hunt ffff5d6792 [master] fix dns_request_createvia assert
3474.	[bug]		nsupdate could assert when the local and remote
			address families didn't match. [RT #22897]
2013-01-23 15:39:05 -08:00
Evan Hunt a0a1003895 Merge branch 'master' of ssh://repo/proj/git/prod/bind9 2013-01-22 16:13:09 -08:00
Evan Hunt 214836c184 [master] dump masterfile after successful xfrin
3470.	[bug]		Slave zones could fail to dump when successfully
			refreshing after an initial failure. [RT #31276]
2013-01-22 15:49:50 -08:00
Tinderbox User b95504f9a7 update copyright notice 2013-01-22 23:45:48 +00:00
Evan Hunt cbd1fa092e [master] DLZ fixes
- handle malformed answers from DLZ better:
 - handle dlz_lookup errors better:
   when the first lookup of a name returns an unexpected failure code,
   we return it to the caller rather than continuing on to look up
   the wildcard. we now only continue processing if the return from
   the first lookup was either ISC_R_SUCCESS or ISC_R_NOTFOUND.

 - improved backward-compatibility for dlz_version:
   added a DLZ_DLOPEN_AGE value indicating how many versions
   back from the current DLZ_DLOPEN_VERSION named will support
2013-01-22 15:13:08 -08:00
Mark Andrews 444f2a8efd add POST's 2013-01-17 23:24:54 +11:00
Tinderbox User 54c820164a update copyright notice 2013-01-15 23:45:50 +00:00
Mark Andrews 70b0f9e179 silence compiler warning: Value stored to '?' is never used 2013-01-16 07:13:08 +11:00
Tinderbox User dc3d68d6fe update copyright notice 2013-01-11 23:46:02 +00:00
Mark Andrews c8bfcec3c9 silence compiler warning 2013-01-11 17:38:58 +11:00
Mark Andrews 3760ce53f2 add dns_zone_clearqueryaoncl, dns_zone_getqueryaoncl 2013-01-11 16:56:26 +11:00
Mark Andrews 5cd7ca9dbd windows snprint support 2013-01-11 16:26:30 +11:00
Mark Andrews 99394e9807 3465. [bug] Handle isolated reserved ports. [RT #31778] 2013-01-11 14:10:07 +11:00
Mark Andrews 0762ca086e record 9.8.x range info 2013-01-11 11:51:37 +11:00
Tinderbox User 5c6b95ba1b update copyright notice 2013-01-10 23:46:00 +00:00
Mark Andrews 4801931443 3461. [bug] Negative responses could incorrectly have AD=1
set. [RT #32237]
2013-01-10 23:09:08 +11:00
Mark Andrews 6a528eaa09 remove dead code 2013-01-10 18:13:25 +11:00
Tinderbox User b941edbeb5 update copyright notice 2013-01-09 23:45:53 +00:00
Mark Andrews c07c2a862e 3458. [bug] Return FORMERR when presented with a overly long
domain named in a request. [RT #29682]
2013-01-10 10:30:15 +11:00
Mark Andrews f1c1aab2c9 3457. [protocol] Add ILNP records (NID, LP, L32, L64). [RT #31836] 2013-01-10 08:26:31 +11:00
Mark Andrews 6018bd957d remove dead code 2013-01-09 21:50:20 +11:00
Mark Andrews f622386388 use known length for known algorithns in fromtext_dlv cf fromtext_ds 2013-01-09 21:11:16 +11:00
Mark Andrews 513b5e8e51 3373. [bug] win32: open raw files in binary mode. [RT #30944]
was not complete openfile_fast and openfile_raw should be using mode "rb"
rather than "r".
2013-01-09 17:03:03 +11:00
Tinderbox User afe7d4b934 update copyright notice 2013-01-08 23:45:50 +00:00
Mark Andrews fc0bfa07c7 3453. [bug] 'rndc addzone' of a zone with 'inline-signing yes;'
failed. [RT #31960]
2013-01-09 07:40:27 +11:00
Mark Andrews c9cecf7bb5 3452. [bug] Accept duplicate singlton records. [RT #32329] 2013-01-08 10:58:42 +11:00
Mark Andrews 016eea4c62 remove dead code 2013-01-06 07:48:01 +11:00
Tinderbox User 6fe42ff85c update copyright notice 2013-01-04 23:45:53 +00:00
Mark Andrews f7d6bc93d1 make static 2013-01-05 00:32:38 +11:00
Mark Andrews cbb2a0ebea silence compiler warning 2013-01-04 15:57:38 +11:00
Evan Hunt f0a3b10baa [master] add print.h 2013-01-03 18:22:52 -08:00
Mark Andrews 8bd5bcd2a7 3445. [bug] Warn about zone files with blank owner names
immediately after $ORIGIN directives. [RT #31848]

Conflicts:
	lib/dns/tests/master_test.c
2013-01-04 12:16:55 +11:00
Mark Andrews e285c6ea84 3449. [bug] gen.c: use the pre-processor to construct format
strings so that compiler can perform sanity checks;
                        check the snprintf results. [RT #17576]
2013-01-04 11:07:58 +11:00
Tinderbox User 9191b6c9e8 update copyright notice 2012-12-20 23:45:48 +00:00
Evan Hunt 086cb64a78 [master] remove unnecessary memcpy 2012-12-20 10:33:47 -08:00
Mark Andrews 45d4341eed silence signed/unsigned warning; rename log -> fctx_log 2012-12-19 12:39:54 +11:00
Evan Hunt 3ad3e9c948 [master] reject $ORIGIN before inherited name
3445.	[bug]		Reject zone files with blank owner names immediately
			after $ORIGIN directives. [RT #31848]
2012-12-18 16:17:55 -08:00
Tinderbox User b16174507d update copyright notice 2012-12-18 23:45:50 +00:00
Mark Andrews 8462dfb880 3443. [bug] The NOQNAME proof was not being returned from cached
insecure responses. [RT #21409]
2012-12-19 09:55:02 +11:00
Mark Andrews 9f6b57798d 3441. [maint] D.ROOT-SERVERS.NET is now 199.7.91.13. 2012-12-14 12:48:29 +11:00
Mark Andrews fcc04c160f 3440. [bug] Reorder get_key_struct to not trigger a assertion when
cleaning up due to out of memory error. [RT #32131]
2012-12-13 11:18:01 +11:00
Mark Andrews 463f4ad70b silence clang --analyzer warnin by checking rdata.length 2012-12-10 08:24:17 +11:00
Tinderbox User b8e2e5dd86 update copyright notice 2012-12-08 23:45:51 +00:00
Mark Andrews 50aaa90130 RETTOK -> RETERR 2012-12-09 07:45:51 +11:00
Mark Andrews e85702ce5b 3438. [bug] Don't accept unknown data escape in quotes. [RT #32031]
Squashed commit of the following:

commit 7ad3daade513c94a1c92ee7c91c112f161d13ef4
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 15:03:44 2012 +1100

    look at the second token to determine if a TXT record in of unknown format or not

commit 7df32138462646f6aee84ffa56d02ac24ec8d672
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 12:42:18 2012 +1100

    '"\#"' was incorrectly being treated as a unknown data escape sequence.
2012-12-08 14:05:32 +11:00
Mark Andrews 6f7abb89ec 3437. [bug] isc_buffer_init -> isc_buffer_constinit to initialise
buffers with constant data. [RT #32064]

Squashed commit of the following:

commit 3433b96bf11f8c90ccbe412f01d02a6d8bbc2d33
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:41:16 2012 +1100

    isc_buffer_init -> isc_buffer_constinit

commit c22dbcc1122a0a44f7b46068e0ccbc25353a57d5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:38:39 2012 +1100

    isc_buffer_init -> isc_buffer_constinit

commit 900820416c45c1887d0d22d7a010df60a903bd56
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:24:19 2012 +1100

    remove isc_buffer_reconstinit

commit f815711c17b05f9961786a90b9bae902d3c01494
Author: Mark Andrews <marka@isc.org>
Date:   Wed Dec 5 15:42:57 2012 +1100

    add isc_buffer_constinit
2012-12-08 12:48:57 +11:00
Tinderbox User aae306e914 update copyright notice 2012-12-07 23:45:48 +00:00
Evan Hunt 45f3693294 [master] check malloc/calloc return values
3436.	[bug]		Check malloc/calloc return values. [RT #32088]
2012-12-07 12:23:58 -08:00
Evan Hunt abff0f462a [master] pass client info to DLZ findzone method
3434.   [bug]           Pass client info to the DLZ findzone() entry
                        point in addition to lookup().  This makes it
                        possible for a database to answer differently
                        whether it's authoritative for a name depending
                        on the address of the client.  [RT #31775]
2012-12-06 12:59:36 -08:00
Evan Hunt 177be355d4 [master] handle ISC_R_NOMORE correctly
3433.	[bug]		dlz_findzone() did not correctly handle
			ISC_R_NOMORE. [RT #31172]
2012-12-06 12:41:58 -08:00