Commit Graph

80 Commits

Author SHA1 Message Date
spz
76387d3839 merge bind-9-9-2-P1 and adjust build as needed
fixes CVE-2012-5688, see:
http://www.isc.org/software/bind/advisories/cve-2012-5688
2012-12-04 23:38:37 +00:00
spz
aecb6b8491 Upstream changelog since 9.9.1:
--- 9.9.2-P1 released ---

3407.	[security]	Named could die on specific queries with dns64 enabled.
			[Addressed in change #3388 for BIND 9.8.5 and 9.9.3.]

	--- 9.9.2 released ---

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]

3373.	[bug]		win32: open raw files in binary mode. [RT #30944]

3364.	[security]	Named could die on specially crafted record.
			[RT #30416]

	--- 9.9.2rc1 released ---

3370.	[bug]		Address use after free while shutting down. [RT #30241]

3369.	[bug]		nsupdate terminated unexpectedly in interactive mode
			if built with readline support. [RT #29550]

3368.	[bug]		<dns/iptable.h>, <dns/private.h> and <dns/zone.h>
			were not C++ safe.

3367.	[bug]		dns_dnsseckey_create() result was not being checked.
			[RT #30685]

3366.	[bug]		Fixed Read-After-Write dependency violation for IA64
			atomic operations. [RT #25181]

3365.	[bug]		Removed spurious newlines from log messages in
			zone.c [RT #30675]

3363.	[bug]		Need to allow "forward" and "fowarders" options
			in static-stub zones; this had been overlooked.
			[RT #30482]

3362.	[bug]		Setting some option values to 0 in named.conf
			could trigger an assertion failure on startup.
			[RT #27730]

3361.	[bug]		"rndc signing -nsec3param" didn't work correctly
			when salt was set to '-' (no salt). [RT #30099]

3360.	[bug]		'host -w' could die.  [RT #18723]

3359.	[bug]		An improperly-formed TSIG secret could cause a
			memory leak. [RT #30607]

3357.	[port]		Add support for libxml2-2.8.x [RT #30440]

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]

3355.	[port]		Use more portable awk in verify system test.

3354.	[func]		Improve OpenSSL error logging. [RT #29932]

	--- 9.9.2b1 released ---

3353.	[bug]		Use a single task for task exclusive operations.
			[RT #29872]

3352.	[bug]		Ensure that learned server attributes timeout of the
			adb cache. [RT #29856]

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]

3350.	[bug]		Memory read overrun in isc___mem_reallocate if
			ISC_MEM_DEBUGCTX memory debugging flag is set.
			[RT #30240]

3349.	[bug]		Change #3345 was incomplete. [RT #30233]

3348.	[bug]		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]

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]

3346.	[security]	Bad-cache data could be used before it was
			initialized, causing an assert. [RT #30025]

3345.	[bug]		Addressed race condition when removing the last item
			or inserting the first item in an ISC_QUEUE.
			[RT #29539]

3344.	[func]		New "dnssec-checkds" command checks a zone to
			determine which DS records should be published
			in the parent zone, or which DLV records should be
			published in a DLV zone, and queries the DNS to
			ensure that it exists. (Note: This tool depends
			on python; it will not be built or installed on
			systems that do not have a python interpreter.)
			[RT #28099]

3342.	[bug]		Change #3314 broke saving of stub zones to disk
			resulting in excessive cpu usage in some cases.
			[RT #29952]

3341.	[func]		New "dnssec-verify" command checks a signed zone
			to ensure correctness of signatures and of NSEC/NSEC3
			chains. [RT #23673]

3339.	[func]		Allow the maximum supported rsa exponent size to be
			specified: "max-rsa-exponent-size <value>;" [RT #29228]

3338.	[bug]		Address race condition in units tests: asyncload_zone
			and asyncload_zt. [RT #26100]

3337.	[bug]		Change #3294 broke support for the multiple keys
			in controls. [RT #29694]

3335.	[func]		nslookup: return a nonzero exit code when unable
			to get an answer. [RT #29492]

3334.	[bug]		Hold a zone table reference while performing a
			asyncronous load of a zone. [RT #28326]

3333.	[bug]		Setting resolver-query-timeout too low can cause
			named to not recover if it loses connectivity.
			[RT #29623]

3332.	[bug]		Re-use cached DS rrsets if possible. [RT #29446]

3331.	[security]	dns_rdataslab_fromrdataset could produce bad
			rdataslabs. [RT #29644]

3330.	[func]		Fix missing signatures on NOERROR results despite
			RPZ rewriting.  Also
			 - add optional "recursive-only yes|no" to the
			   response-policy statement
			 - add optional "max-policy-ttl" to the response-policy
			    statement to limit the false data that
			    "recursive-only no" can introduce into
			    resolvers' caches
			 - add a RPZ performance test to bin/tests/system/rpz
			     when queryperf is available.
			 - the encoding of PASSTHRU action to "rpz-passthru".
			     (The old encoding is still accepted.)
		       [RT #26172]


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]

3328.	[bug]		Fixed inconsistent data checking in dst_parse.c.
			[RT #29401]

3317.	[func]		Add ECDSA support (RFC 6605). [RT #21918]
2012-12-04 19:21:12 +00:00
christos
5d98f59f2d Apply P4:
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-10-09 22:55:39 +00:00
joerg
2b3d1ee8a7 Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
the SSP parameters and a not-yet-default rewrite of SROA.
2012-09-23 17:22:22 +00:00
spz
a92a2633d3 apply fix for CVE-2012-4244 from upstream
upstream changelog:
          --- 9.9.1-P3 released ---

   3364.  [security]      Named could die on specially crafted record.
                          [RT #30416]
2012-09-13 05:32:07 +00:00
joerg
3190841d4b Apply options for all compilers. 2012-08-10 16:33:41 +00:00
joerg
b38acf62c6 Decouple Clang from HAVE_GCC. 2012-08-10 16:10:29 +00:00
spz
12edcd4818 the patch for CVE-2012-3868 was incomplete 2012-07-24 20:00:44 +00:00
spz
302c45e5ed Fixes for CVE-2012-3817 and CVE-2012-3868 from ISC:
--- 9.9.1-P2 released ---

3346.   [security]      Bad-cache data could be used before it was
                        initialized, causing an assert. [RT #30025]

3345.   [bug]           Addressed race condition when removing the last item
                        or inserting the first item in an ISC_QUEUE.
                        [RT #29539]

3342.   [bug]           Change #3314 broke saving of stub zones to disk
                        resulting in excessive cpu usage in some cases.
                        [RT #29952]
2012-07-24 18:06:28 +00:00
joerg
f6791aad72 Simplify ERR, so that it doesn't mess up Clang's
-Wsometimes-uninitialized scan on the function. This is tracked in LLVM
as http://llvm.org/bugs/show_bug.cgi?id=13093.
2012-06-15 19:54:21 +00:00
christos
672c75b90f Merge bind-9.9.1-P1 to fix:
Processing of DNS resource records where the rdata field is zero length
may cause various issues for the servers handling them.
CVE: CVE-2012-1667
2012-06-05 00:38:45 +00:00
christos
4f3e64d772 Import bind 9.9.1-P1 2012-06-04 17:53:08 +00:00
christos
85b637054a add confgen programs 2012-05-09 21:59:10 +00:00
dholland
65d87cbafc Make a quick note about adding a short summary of changes to the cvs import
message.

Currently you can't prepare that in advance and then use cvs import -F
file to supply the log message in a file. Will file a PR on cvs for this.
2012-03-17 11:10:33 +00:00
mrg
fd03917f1a + 3218. [security] Cache lookup could return RRSIG data associated with
+                       nonexistent records, leading to an assertion
+                       failure. [RT #26590]

so that someone looking can tell more easily we've applied it.
2011-11-16 22:07:21 +00:00
christos
07c8bd2ff7 patch for: https://www.isc.org/software/bind/advisories/cve-2011-tbd 2011-11-16 17:28:10 +00:00
christos
6ee25ca9b9 use cleantags, instead of home grown copy. 2011-10-08 19:28:38 +00:00
christos
aaddf8990f avoid type punning 2011-09-13 19:35:12 +00:00
christos
71faa8a7e1 Some versions of linux have probably marked fwrite(3) as
__attribute__((__warn_unused_result__)) and the __builtin_expect()
use here is an attempt to silence the warning. This does not work
if the second argument of __builtin_expect() is not a constant,
but we are not linux, so instead of going through the
__builtin_constant_p() dance to correct this, just disable it for
non linux OS's.
2011-09-13 19:07:44 +00:00
christos
888d3daedb merge bind-9.9.0a1 2011-09-11 18:55:24 +00:00
christos
b8fb0c4915 Import bind 9.9.0a1 2011-09-11 17:18:57 +00:00
christos
6312186e63 Import bind 9.9.0a1 2011-09-11 17:11:03 +00:00
spz
85afcc6138 increase libdns minor version 2011-07-05 22:05:36 +00:00
spz
e69d9c6eb6 merge import of bind-9.8.0-P4 2011-07-05 21:59:18 +00:00
spz
6654acd7c3 Import of bind 9.8.0-P4
Upstream changelog:

        --- 9.8.0-P4 released ---

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]

        --- 9.8.0-P3 released (withdrawn) ---

3126.   [security]      Using DNAME record to generate replacements caused
                        RPZ to exit with a assertion failure. [RT #23766]

3125.   [security]      Using wildcard CNAME records as a replacement with
                        RPZ caused named to exit with a assertion failure.
                        [RT #24715]

3123.   [security]      Change #2912 exposed a latent flaw in
                        dns_rdataset_totext() that could cause named to
                        crash with an assertion failure. [RT #24777]

3115.   [bug]           Named could fail to return requested data when
                        following a CNAME that points into the same zone.
                        [RT #2445]
2011-07-05 21:22:43 +00:00
joerg
b58b5b09d9 Fix memset usage. XXX audit the rest where hard coded sizes are used 2011-07-01 02:24:14 +00:00
mrg
493d341048 various build fixes for gcc 4.5. from chuq. XXX i'm not sure all of
these work properly wtf pointer aliasing, but there are no casts at
least...

the lib/libpuffs/puffs_priv.h is definately a real bug fix.

from chuq.
2011-06-20 09:11:16 +00:00
mrg
75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
spz
1bddfb5091 fix up OPENSSL_VERSION_NUMBER check for entropy_add so it deals with the
current situation. Compile-checked by dholland, thanks.
2011-06-06 05:40:34 +00:00
spz
f93f010473 merge 9.8.0-P2:
- fixes CVE-2011-1910: Large RRSIG RRsets and Negative Caching can crash named
- fixes CVE-2011-0414: bind lockup during IXFR
- return a more correct error in case of policy violation

bump version of libdns and libisc
2011-05-29 15:17:08 +00:00
spz
fc67f3fcc1 Import bind 9.8.0-P2 2011-05-28 06:52:27 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
taca
0b00ab0979 Apply fix by BIND 9.8.0-P1: https://www.isc.org/CVE-2011-1907. 2011-05-06 15:28:19 +00:00
christos
da96ddd961 PR/44928: Henning Petersen: Remove missing include dirs in Makefile.inc 2011-05-02 19:04:54 +00:00
ws
191e94cd7e Fix return values.
OK christos.
2011-02-20 19:05:32 +00:00
christos
a913237f1e undo the thread and atomic lossage of the import. 2011-02-18 21:25:06 +00:00
christos
7c272055e8 - merge conflicts
- Fix UNUSED macro to not have "NULL EFFECT"
- Add /*CONSTCOND*/ to while (0) loops
- Change do while (1) loops to for (;;)
- remove stray continue from do while (0) loop.
- remove "" in comments that confuse lint
- fix strict aliases
- fix non ansi prototypes
2011-02-16 03:46:43 +00:00
christos
8e6786bbdd from ftp.isc.org 2011-02-15 19:38:54 +00:00
christos
85662ea508 from ftp.isc.org 2011-02-15 19:28:53 +00:00
christos
9f5adb9583 fix type-punned warnings on gcc-3.3.3 2010-12-25 18:23:39 +00:00
christos
f2fd5dbad4 Fix non-threads compatibility code which was causing trouble even in the
threaded version.
2010-12-25 15:26:32 +00:00
enami
83d9249c3a Fix typo. 2010-12-15 07:36:51 +00:00
christos
83c933dca1 Use the source dir atomic.h 2010-12-15 02:08:16 +00:00
christos
a9c38a6a96 Wrong rfc mentioned 2010-12-14 23:43:32 +00:00
christos
c2a9dfd59e handle lack of <sys/atomic.h> 2010-12-14 23:19:23 +00:00
christos
f4f6c00c90 silence gcc-3 uninitialized variable warning. 2010-12-14 23:18:31 +00:00
christos
30037bfd3f Handle NetBSD-5 and 4 lack of atomics by disabling threads. 2010-12-14 23:17:20 +00:00
christos
97caf9021f handle openssl versions less < 1. 2010-12-14 23:16:39 +00:00
christos
dfcdd76889 merge changes 2010-12-02 14:52:17 +00:00
christos
c27878d85f Import bind 9.7.2-P3 2010-12-02 14:22:18 +00:00