Commit Graph

3876 Commits

Author SHA1 Message Date
Mark Andrews
66e6de354c 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:28:27 +11:00
Mark Andrews
d18be3daa1 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:08:35 +11:00
Evan Hunt
ba2599657b [v9_8] allow-query-on works now
3448.	[bug]		The allow-query-on ACL was not processed correctly.
			[RT #29486]
(cherry picked from commit 222d38735f)
(cherry picked from commit 8d9207a17b)
2013-01-03 15:15:51 -08:00
Mark Andrews
8fdabf40fb 3447. [port] Add support for libxml2-2.9.x [RT #32231] 2013-01-01 23:14:53 +00:00
Evan Hunt
f0d2f11738 [v9_8] include SRCID in windows builds
3446.	[port]		win32: Add source ID (see change #3400) to build.
			[RT #31683]
(cherry picked from commit 2dd959aa18)
2012-12-18 16:31:05 -08:00
Evan Hunt
cdea02bf60 [v9_8] reject $ORIGIN before inherited name
3445.	[bug]		Reject zone files with blank owner names immediately
			after $ORIGIN directives. [RT #31848]
(cherry picked from commit 3ad3e9c948)
2012-12-18 16:24:09 -08:00
Mark Andrews
d9e46ed9d3 Merge branch 'v9_8' of repo.isc.org:/proj/git/prod/bind9 into v9_8
Conflicts:
	CHANGES
2012-12-19 10:37:16 +11:00
Mark Andrews
db77850ece 3443. [bug] The NOQNAME proof was not being returned from cached
insecure responses. [RT #21409]

Conflicts:
	bin/tests/system/conf.sh.in
	lib/dns/include/dns/nsec.h
2012-12-19 10:15:14 +11:00
Evan Hunt
a5382c7acc [v9_8] support all algorithms in ddns-confgen
3443.	[bug]		ddns-confgen: Some TSIG algorithms were incorrectly
			rejected when generating keys. [RT #31927]
(cherry picked from commit 53402b52b6)
2012-12-18 15:00:47 -08:00
Mark Andrews
705f2c786c 3442. [port] Net::DNS 0.69 introduced a non backwards compatible
change. [RT #32216]
2012-12-19 08:49:02 +11:00
Mark Andrews
fc9778e810 3441. [maint] D.ROOT-SERVERS.NET is now 199.7.91.13. 2012-12-14 12:49:00 +11:00
Mark Andrews
f790d7bda0 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:19:19 +11:00
Mark Andrews
cdcee691fc 3439. [bug] contrib/dlz error checking fixes. [RT #32102]
Conflicts:
	contrib/dlz/example/dlz_example.c
	contrib/dlz/example/dlz_minimal.h
2012-12-11 13:26:58 +11:00
Mark Andrews
75b97fd979 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:13:26 +11:00
Mark Andrews
f749dec99d 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:53:31 +11:00
Evan Hunt
49ec97c9b8 [v9_8] check malloc/calloc return values
3436.	[bug]		Check malloc/calloc return values. [RT #32088]
(cherry picked from commit 45f3693294)
2012-12-07 12:24:45 -08:00
Mark Andrews
dedc6f8fda 3435. [bug] Cross compilation support in configure was broken.
[RT #32078]

Squashed commit of the following:

commit 9c67d7a52346dffeb7609f08d3aaa8a8689d8094
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:31:50 2012 +1100

    regen

commit 4c1874dd3a98ea8e50b0860b107bd2deb8550af0
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:31:10 2012 +1100

    improve cross compile support; tidy --help output

commit 15ba411a728cc35c904804935477b15c8a65ebbd
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:28:46 2012 +1100

    add util/xc

commit 165bc538fa6590752d7006348285a3ba48713498
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:27:35 2012 +1100

    test cross compiler
2012-12-07 16:34:25 +11:00
Evan Hunt
0ecf92e070 [v9_8] support all algorithms in ddns-confgen
3431.	[bug]		ddns-confgen: Some valid key algorithms were
			not accepted. [RT #31927]
(cherry picked from commit de5890da9b)
(cherry picked from commit 7bf14f04e1)
2012-12-05 16:46:39 -08:00
Mark Andrews
40f86d3cca 3430. [bug] win32: isc_time_formatISO8601 was missing the
'T' between the date and time. [RT #32044]
2012-12-04 15:00:55 +11:00
Mark Andrews
ae8828fb04 3429. [bug] dns_zone_getserial2 could a return success without
returning a valid serial. [RT #32007]

Squashed commit of the following:

commit 0057f4b6e843c3998b987dbc7f32ceeee8afc150
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 30 08:13:15 2012 +1100

    zone_get_from_db could return success without setting return valuses; serial is only valid if soacount is none zero

Conflicts:
	lib/dns/zone.c
2012-11-30 11:49:46 +11:00
Evan Hunt
5d1b72e2ed [v9_8] add timezone to dig
3428.	[cleanup]	dig: Add timezone to date output. [RT #2269]
(cherry picked from commit 706219e547)
(cherry picked from commit df9aeb663d)
2012-11-29 09:08:35 -08:00
Evan Hunt
fddb023637 [v9_8] fix dig +trace output
3427.	[bug]		dig +trace incorrectly displayed name server
			addresses instead of names. [RT #31641]
(cherry picked from commit 2f21adbc6a)
(cherry picked from commit 90dbd7c2e0)
2012-11-28 19:06:50 -08:00
Mark Andrews
9fad666d94 3425. [bug] "acacheentry" reference counting was broken resulting
in use after free. [RT #31908]
2012-11-27 16:04:46 +11:00
ckb
2128f57ccf 3422. [bug] Added a clear error message for when the SOA does not
match the referral. [RT #31281]
2012-11-21 16:51:16 -06:00
Mark Andrews
979717117c 3421. [bug] Named loops when re-signing if all keys are offline.
[RT #31916]
2012-11-21 22:45:28 +11:00
Mar Andrews
6cf7c715fd 3420. [bug] Address VPATH compilation issues. [RT #31879] 2012-11-17 09:42:57 +00:00
Mark Andrews
8185cac570 3419. [bug] Memory leak on validation cancel. [RT #31869]
Squashed commit of the following:

commit 452b07ec7cb31784d90d9c2e45ca708df306302e
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 14 23:36:36 2012 +1100

    destroy fetch when canceling validator
2012-11-15 11:19:41 +11:00
Mark Andrews
8c78437fda spelling 2012-11-09 09:31:16 +11:00
Mark Andrews
3401bf5827 3415. [bug] named could die with a REQUIRE failure id a valdation
was canceled. [RT #31804]

Squashed commit of the following:

commit d414d3cb4244daeca4159ac1f8a82322e4a20e5a
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 7 14:19:28 2012 +1100

    check that val->fetch != NULL before calling dns_resolver_destroyfetch
2012-11-09 09:12:55 +11:00
Mark Andrews
397d2e1155 3412. [bug] Copy timeval structure from control message data.
[RT #31548]
2012-11-01 11:17:34 +11:00
Mark Andrews
99aee14d6e 3411. [tuning] Use IPV6_USE_MIN_MTU or equivalent with TCP in addition to UDP. [RT #31690]
Squashed commit of the following:

commit bcbe9ae7a99e1f7f4236a22739a793b51ace8684
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 31 15:10:53 2012 +1100

    Use IPV6_USE_MIN_MTU for TCP as well as UDP
2012-11-01 08:43:56 +11:00
Mark Andrews
3654fe41c4 spelling, whitespace 2012-10-31 07:41:59 +11:00
Evan Hunt
8617567328 [v9_8] fix changes note
(cherry picked from commit a8ef22d88e)
2012-10-30 09:58:53 -07:00
Mark Andrews
c4d594b474 3410. [bug] Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit bce2efe66d69d60b746b85df49974ca341723169
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:59:25 2012 +1100

    use 'static dns_rdata_xxxx_t xxxx'

commit 704d3c29acbf2dd350a26f2df82a57cb077ba72e
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:35:16 2012 +1100

    return ISC_R_NOTFOUND if private record length does not make sense

commit 7596610c12c5685336fc0909860173d2fae359af
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:41:17 2012 +1100

    check private->length == 5

commit 3836365a3e3e83b057bd940350f032279e080296
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:40:50 2012 +1100

    properly set private->length

commit a295778ac53109d39ef3a8b233751100edae678b
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:13:30 2012 +1100

    check dns_rdata_tostruct result

commit e33c37ca9112159e0b2363615bb018d27fa7d1a5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:10:43 2012 +1100

    check remove/fopen/chmod return values

commit 3a675e0666aae25d1c51f51ec7bd3fbe25545aae
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:59:10 2012 +1100

    check isc_socket_accept result

commit 696923344f4b07ce0dba4cf2675b1cbb6eba7e8e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:55:40 2012 +1100

    change variable scopes

commit b9e9d9ad58270271003e463f10744e0ceaf9ad97
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:53:19 2012 +1100

    check inet_pton return value

commit 70698e9589da77e3745efb6ea24b8830addd6ae4
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:40 2012 +1100

    break -> /* NOTREACHED */

commit 88de9de2e8e201ab2fef16a868f241e8206ea826
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:06 2012 +1100

    strcpy -> strlcpy

commit 6ba79c7cec0e48014cdfa76e8a9406b7a921556e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:51:26 2012 +1100

    check dns_rdata_tostruct return values

Conflicts:
	bin/tests/rdata_test.c
	lib/dns/private.c
	lib/dns/tests/private_test.c
	lib/dns/zone.c
2012-10-29 20:23:07 +11:00
Evan Hunt
a447503ffd [v9_8] contrib/dane/mkdane.sh
3409.	[contrib]	contrib/dane/mkdane.sh: Tool to generate TLSA RR's
			from X.509 certificates, for use with DANE
			(DNS-based Authentication of Named Entities).
			[RT #30513]
(cherry picked from commit e7dfefe19d)
(cherry picked from commit edcc1e4386)
2012-10-27 20:48:02 -07:00
Evan Hunt
7c5941b4c2 [v9_8] address mem.c compilation problems
3406.	[bug]		mem.c: Fix compilation errors when building with
			ISC_MEM_TRACKLINES or ISC_MEMPOOL_NAMES disabled.
                        Also, ISC_MEM_DEBUG is no longer optional. [RT #31559]
(cherry picked from commit 2f57f353e8)
(cherry picked from commit 76e34eb2fd)
2012-10-25 18:57:55 -07:00
Mark Andrews
93a9ea49fe 3405. [bug] Handle time going backwards in acache. [RT #31253]
Squashed commit of the following:

commit fbf4c8fe2644c101bac870360d3f2c159a90f203
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 24 14:43:14 2012 +1100

    remove INSIST and handle time going backwards
2012-10-25 14:30:01 +11:00
Evan Hunt
3314b7cd78 [v9_8] remove spurious signatures from glue
3404.	[bug]		dnssec-signzone: When re-signing a zone, remove
			RRSIG and NSEC records from nodes that used to be
			in-zone but are now below a zone cut. [RT #31556]
(cherry picked from commit 4b3d727d96)
(cherry picked from commit d8861c4350)
2012-10-24 17:54:25 -07:00
Evan Hunt
4a1d4ea180 [v9_8] fix CHANGES error 2012-10-24 13:20:29 -07:00
ckb
9c54a9064b 3402. [bug] Correct interface numbers for IPv4 and IPv6 interfaces.
[RT #25085]
2012-10-24 14:53:20 -05:00
Evan Hunt
a53a622417 [v9_8] silence coverity warnings
3401.	[bug]		Addressed Coverity warnings. [RT #31484]
(cherry picked from commit 47c5b8af92)
(cherry picked from commit 2589af5868)
2012-10-23 22:33:52 -07:00
Evan Hunt
bc8df61a5a add CHANGES 2012-10-22 13:19:27 -07:00
ckb
49cac75945 3397. [bug] dig crashed when using +nssearch with +tcp. [RT #25298] 2012-10-18 17:55:23 -05:00
Mark Andrews
e0e3f1de3e 3396. [bug] OPT records were incorrectly removed from signed,
truncated responses. [RT #31439]
2012-10-18 13:27:23 +11:00
Mark Andrews
38b709b4a9 3395. [protocol] Add RFC 6598 reverse zones to built in empty zones
list, 64.100.IN-ADDR.ARPA ... 127.100.IN-ADDR.ARPA.
                        [RT #31336]
2012-10-16 12:40:51 +11:00
Mark Andrews
b8ea1d19f6 3394. [bug] Adjust 'sucessfully validated after lower casing
signer' log level and category. [RT #31414]
2012-10-16 11:56:39 +11:00
Mark Andrews
12d10a1e47 3393. [bug] 'host -C' could core dump if REFUSED was received.
[RT #31381]
2012-10-16 10:44:28 +11:00
Mark Andrews
6b4873777d update change description 2012-10-06 17:24:42 +10:00
Mark Andrews
b1aaa160ba 3391. [bug] DNSKEY that encountered a CNAME failed. [RT #31262] 2012-10-06 14:57:03 +10:00
Mark Andrews
dc167ac7f3 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 12:39:55 +10:00