Commit Graph

5864 Commits

Author SHA1 Message Date
Evan Hunt
3a77b9658c [v9_9] fix merge glitch 2015-02-25 21:18:52 -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
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
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
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
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
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
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
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
7e35cef570 update copyright notice / whitespace 2015-01-08 23:46:12 +00:00
Mark Andrews
94124ad484 4031. [bug] named-checkconf -z failed to report a missing file
with a hint zone. [RT #38294]

(cherry picked from commit d1f1f13c7f)
2015-01-08 19:20:31 +11:00
Tinderbox User
a3346b1efa update copyright notice / whitespace 2015-01-06 23:46:10 +00:00
Mark Andrews
f199e8dd80 4028. [bug] $GENERATE with a zero step was not being caught as a
error.  A $GENERATE with a / but no step was not being
                        caught as a error. [RT #38262]

(cherry picked from commit b0c18fffd3)
2015-01-06 11:33:38 +11:00
Evan Hunt
e9d075681d [v9_9] further win32 fixes 2014-12-29 15:15:51 -08:00
Tinderbox User
b644f1cdb8 update copyright notice / whitespace 2014-12-19 23:46:10 +00:00
Mark Andrews
2bd43c15df 4024. [bug] dns_rdata_opt_first, dns_rdata_opt_next,
dns_rdata_opt_current, dns_rdata_txt_first,
                        dns_rdata_txt_next and dns_rdata_txt_current were
                        documented but not implemented.  These have now been
                        implemented.

                        dns_rdata_spf_first, dns_rdata_spf_next and
                        dns_rdata_spf_current were document but not
                        implemented.  The prototypes for these
                        functions have been removed. [RT #38068]

4023.   [bug]           win32: socket handling with explict ports and
                        invoking named with -4 was broken for some
                        configurations. [RT #38068]

(cherry picked from commit 1e0ed0c6f5)
(cherry picked from commit 14c7ef12e0)
2014-12-19 11:43:40 +11:00
Evan Hunt
fee6ad726f [v9_9] prep 9.9.7b1 2014-12-18 13:50:42 -08:00
Evan Hunt
2cf8236528 [v9_9] more missing entry points 2014-12-16 14:42:41 -08:00
Evan Hunt
d3ee1c6d57 [v9_9] add more missing entry points 2014-12-16 13:36:03 -08:00
Mark Andrews
632befd3de add missing entry points
(cherry picked from commit eb690e00e7)
2014-12-17 00:29:52 +11:00
Evan Hunt
cc1c362e0f [v9_9] adjust max-recursion-queries
4021.	[bug]		Adjust max-recursion-queries to accommodate
			the need for more queries when the cache is
			empty. [RT #38104]

(cherry picked from commit be7fba8019)
(cherry picked from commit b0e9108311)
2014-12-15 22:38:02 -08:00
Mark Andrews
d7b10837af remove non null check
(cherry picked from commit 2e98ab2c9d)
2014-12-09 19:52:24 +11:00
Mark Andrews
404f3152fa 4019. [func] If named is not configured to validate the answer
then allow fallback to plain DNS on timeout even
                        when we know the server supports EDNS. [RT #37978]
2014-12-05 18:12:56 +11:00
Tinderbox User
19c3ef455b update copyright notice / whitespace 2014-12-03 23:46:11 +00:00
Mark Andrews
f6f0878e11 4018. [bug] Fall back to plain DNS when EDNS queries are being
dropped was failing. [RT #37965]

4017.   [testing]       Add system test to check lookups to legacy servers
                        with broken DNS behaviour. [RT #37965]
2014-12-04 07:07:09 +11:00
Mark Andrews
bbc8cca27d 4015. [bug] Nameservers that are skipped due to them being
CNAMEs were not being logged. They are now logged
                        to category 'cname' as per BIND 8. [RT #37935]

(cherry picked from commit ea3aa401bc)
2014-12-03 11:47:10 +11:00
Mark Andrews
301160944f 4014. [bug] When including a master file origin_changed was
not being properly set leading to a potentially
                        spurious 'inherited owner' warning. [RT #37919]

(cherry picked from commit 6444de08d1)
2014-12-03 09:46:28 +11:00
Evan Hunt
03d0fb5be2 [v9_9] win32 build fix 2014-11-20 15:57:17 -08:00
Evan Hunt
1d47cb124d [v9_9] refactor max-recursion-queries
- the counters weren't set correctly when fetches timed out.
  instead we now pass down a counter object.

(cherry picked from commit 05e448935c)
(cherry picked from commit 6c049c57d9)
2014-11-19 18:38:52 -08:00
Evan Hunt
711e833921 [v9_9] add max-recursion-queries
also fixes and documentation for max-recursion-depth

(cherry picked from commit c4f54e5bd1)
(cherry picked from commit b3aa528d7e)
2014-11-18 22:14:55 -08:00