Commit Graph

9372 Commits

Author SHA1 Message Date
Mark Andrews
f16ab01da5 4076. [bug] Named could crash on shutdown with outstanding
reload / reconfig events. [RT #38622]

(cherry picked from commit bb5df338d9)
2015-02-27 12:36:08 +11:00
Mark Andrews
96d8c8e0af add semicolon 2015-02-27 11:27:01 +11:00
Mark Andrews
237afce3d9 add isrunning 2015-02-27 11:21:08 +11:00
Mark Andrews
fc07bc787f 4074. [cleanup] Cleaned up more warnings from gcc -Wshadow. [RT #38708]
(cherry picked from commit af669cb4fd)

Conflicts:
	bin/named/client.c
	lib/dns/request.c
	lib/dns/view.c

(cherry picked from commit 374fce8495)

Conflicts:
	bin/named/statschannel.c
	lib/dns/rbtdb.c
	lib/dns/request.c
	lib/dns/resolver.c
	lib/isc/unix/file.c
2015-02-27 11:05:33 +11:00
Tinderbox User
15dce01ef4 update copyright notice / whitespace 2015-02-26 23:46:12 +00:00
Mukund Sivaraman
e62afa3177 Add a --enable-querytrace configure switch for very verbose query tracelogging (#37520)
(cherry picked from commit 1783676a64)
(cherry picked from commit b83c20df65)

Conflicts:
	CHANGES
	config.h.in
	configure
	configure.in
2015-02-26 17:04:18 +05:30
Mukund Sivaraman
1040bbb55a Fix a segfault when running nslookup (#38548)
(cherry picked from commit db93c0def5)
(cherry picked from commit 9b56539c01)

Conflicts:
	lib/isc/app_api.c
	lib/isc/win32/libisc.def.in
2015-02-26 14:33:19 +05:30
Evan Hunt
3a77b9658c [v9_9] fix merge glitch 2015-02-25 21:18:52 -08:00
Evan Hunt
3cad633f0d [v9_9] Add facility to run system test nameds under Valgrind (#38546) 2015-02-25 16:27:50 -08:00
Evan Hunt
14926c3403 [v9_9] fix LOADPENDING issues
4063.	[bug]		Asynchronous zone loads were not handled
			correctly when the zone load was already in
			progress; this could trigger a crash in zt.c.
			[RT #37573]

(cherry picked from commit 7acc2f2156)
(cherry picked from commit 62fd632bcb)
2015-02-25 16:12:34 -08:00
Evan Hunt
ec856a0ed6 [v9_9] add better servfail logging
3937.	[func]		Added some debug logging to better indicate the
			conditions causing SERVFAILs when resolving.
			[RT #35538]

(cherry picked from commit f5c24a7f48)
(cherry picked from commit 09a87d841f)
2015-02-25 16:05:45 -08:00
Evan Hunt
f430aca158 [v9_9] set mkeytimers from #defines 2015-02-23 21:11:07 -08:00
Evan Hunt
83f9359dde [v9_9] report library version numbers on win32 2015-02-20 23:30:33 -08:00
Mark Andrews
0878951d71 used unsigned zero
(cherry picked from commit 072ce62d23)
2015-02-19 15:42:50 +11:00
Tinderbox User
e6b067d20e update copyright notice / whitespace 2015-02-18 23:46:12 +00:00
Mukund Sivaraman
76a3ca378c RPZ: Don't diff keys out of bounds, found via Valgrind (#38559)
(cherry picked from commit 73639a33fa)

Conflicts:
	CHANGES
	lib/dns/rpz.c
2015-02-18 12:57:28 +05:30
Evan Hunt
baf4fd7a81 [v9_9] prep 9.9.7 2015-02-17 17:11:56 -08:00
Tinderbox User
73250aacb6 update copyright notice / whitespace 2015-02-12 23:46:08 +00:00
Mukund Sivaraman
fe865bb8ff Remove canary code from hash destroy function (#38602)
This triggers a Valgrind out-of-bounds read report. It was introduced by
commit 5d7849ad7f.

No CHANGES entry necessary as it doesn't have any user-visible or
behavioral change. It removes an out-of-bounds read issue that went
undetected when allocated through isc_mem as the memory was present.
The memory read was compared to itself, so it has no behavioral change.

(cherry picked from commit ffc393dd18)
2015-02-12 18:19:33 +05:30
Mark Andrews
31cdad2c40 4060. [bug] dns_rdata_freestruct could be call on a uninitialised
structure when handling a error. [RT #38568]

(cherry picked from commit f4102ab13e)
2015-02-11 16:51:25 +11:00
Evan Hunt
52a4a34e83 [v9_9] missing external 2015-02-10 18:26:00 -08:00
Evan Hunt
25e41bb8f5 [v9_9] oops, win32 data exports work differently now 2015-02-10 17:27:52 -08:00
Evan Hunt
28de7317a5 [v9_9] export dns_zone_mkey_{month,day,hour} 2015-02-10 17:00:51 -08:00
Tinderbox User
ae051b2f18 update copyright notice / whitespace 2015-02-10 23:46:11 +00:00
Evan Hunt
f6e085baa6 [v9_9] prep 9.9.7rc2 2015-02-10 15:16:27 -08:00
Evan Hunt
e42b98f0a9 [v9_9] fix PRNG selection in dispatch.c
4058.	[bug]		UDP dispatches could use the wrong psuedorandom
			number generator context. [RT #38578]
2015-02-10 13:55:21 -08:00
Evan Hunt
c3c201cf15 [v9_9] fix "initialize with revoked key" test 2015-02-10 13:46:45 -08:00
Evan Hunt
efe260cc94 [v9_9] 5011 fixes
4056.	[bug]		Fixed several small bugs in automatic trust anchor
			management, including a memory leak and a possible
			loss of key state information. [RT #38458]
2015-02-10 13:12:55 -08:00
Evan Hunt
c6e7641aa7 [v9_9] avoid crash due to managed-key rollover
4053.	[security]	Revoking a managed trust anchor and supplying
			an untrusted replacement could cause named
			to crash with an assertion failure.
			(CVE-2015-1349) [RT #38344]
2015-02-03 18:26:14 -08:00
Tinderbox User
b9f235969d update copyright notice / whitespace 2015-01-30 23:46:04 +00:00
Mark Andrews
89c24debae 4049. [bug] CDS and CDNSKEY had the wrong attributes. [RT #38491]
(cherry picked from commit e77ef50a57)
2015-01-30 21:49:34 +11:00
Tinderbox User
1502ae0be7 update copyright notice / whitespace 2015-01-29 23:47:14 +00:00
Mark Andrews
8318b90adf copy COPYRIGHT and OpenSSL Licence to Build\Release 2015-01-29 14:36:50 +11:00
Mark Andrews
b8658b5b2e 4048. [bug] adb hash table was not being grown. [RT #38470]
(cherry picked from commit 4b36b9c1ff)
2015-01-29 11:53:06 +11:00
Evan Hunt
9ea29ff2ab [v9_9] prep 9.9.7rc1 2015-01-22 10:35:27 -08:00
Evan Hunt
1974b7b42d [v9_9] fix 'total use' accounting
4046.   [bug]           Accounting of "total use" in memory context
                        statistics was not correct. [RT #38370]
2015-01-22 09:53:44 -08:00
Evan Hunt
f560e081dc [v9_9] silence warning 2015-01-22 09:09:12 -08:00
Mark Andrews
769f36bc5f 4045. [bug] Skip to next master on dns_request_createvia4 failure.
[RT #25185]

(cherry picked from commit 875574f1e4)
2015-01-22 15:57:22 +11:00
Tinderbox User
ec2d41db1e update copyright notice / whitespace 2015-01-21 23:46:16 +00:00
Mark Andrews
29879c1942 4044. [bug] Change 3955 was not complete resulting is a assertion
failure is the timing was just right. [RT #38352]

(cherry picked from commit 17dc146c7c)
2015-01-22 10:39:36 +11:00
Mark Andrews
3c7fdfbf1f 4042. [bug] zone.c:iszonesecure was being called too late.
[RT #38371]

(cherry picked from commit 22e3e00ac9)
2015-01-21 13:19:43 +11:00
Tinderbox User
9cbd625449 update copyright notice / whitespace 2015-01-20 23:47:26 +00:00
Evan Hunt
1105bc65fb [v9_9] more windows VS14 compatibility work
(completes change #3987)
2015-01-20 15:46:25 -08:00
Evan Hunt
57f015bd2a [v9_9] clean up gcc -Wshadow warnings
4039.	[cleanup]	Cleaned up warnings from gcc -Wshadow. [RT #37381]
2015-01-20 14:55:41 -08:00
Mark Andrews
398a63d660 4038. [bug] Add 'rpz' flag to node and use it to determine whether
to call dns_rpz_delete.  This should prevent unbalanced
                        add / delete calls. [RT #36888

(cherry picked from commit cc0a48a381)
2015-01-20 17:48:51 +11:00
Mark Andrews
7305bf2f5e 4037. [bug] also-notify was ignoring the tsig key when checking
for duplicates resulting in some expected notify
                        messages not being sent. [RT #38369]

(cherry picked from commit f8eb4e5bfd)
2015-01-20 16:46:25 +11:00
Evan Hunt
89f60705ee [v9_9] remove a potentially misleading log message 2015-01-19 20:15:28 -08:00
Tinderbox User
f9db30be50 update copyright notice / whitespace 2015-01-10 23:46:13 +00:00
Evan Hunt
7b1767cc76 [v9_9] backport gperftools
3973.	[test]		Added hooks for Google Performance Tools
			CPU profiler, including real-time/wall-clock
			profiling. [RT #37339]
2015-01-10 00:19:19 -08:00
Tinderbox User
7e35cef570 update copyright notice / whitespace 2015-01-08 23:46:12 +00:00