Commit Graph

6538 Commits

Author SHA1 Message Date
Mukund Sivaraman
015371d584 Fix a leak of query fetchlock (#38454)
4052.	[bug]		Fix a leak of query fetchlock. [RT #38454]

Conflicts:
	CHANGES
2015-02-03 11:54:16 +05:30
Evan Hunt
54ce28a692 [v9_9] fixed library version reporting
- forgot to include a CHANGES note
- disabled on windows (it fails to link)
2015-01-22 11:18:55 -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
Tinderbox User
ec2d41db1e update copyright notice / whitespace 2015-01-21 23:46:16 +00: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
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
Mukund Sivaraman
ece19205b7 Close FILEs before overwriting NZF file (#38332)
Based on a patch sent in by Tony Finch <dot@dotat.at>.

(cherry picked from commit 1721fb782c)

Conflicts:
	CHANGES
	bin/named/server.c
2015-01-16 15:41:15 +05:30
Tinderbox User
b7b15824e2 regen v9_9 2015-01-14 01:11:52 +00:00
Tinderbox User
78e84c080c update copyright notice / whitespace 2015-01-13 23:46:06 +00:00
Evan Hunt
d585b1d664 [v9_9] document default DNSKEY TTL
- see RT #38268
2015-01-13 09:55:27 -08:00
Tinderbox User
f9db30be50 update copyright notice / whitespace 2015-01-10 23:46:13 +00:00
Mark Andrews
15738c0888 4032. [bug] Built-in "empty" zones did not correctly inherit the
"allow-transfer" ACL from the options or view.
                        [RT #38310]

(cherry picked from commit 7952156995)
2015-01-10 22:04:32 +11: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
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
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
Francis Dupont
84e3441610 update OpenSSL 1.0.1 patch 2015-01-02 16:08:24 +01:00
Francis Dupont
04625d6eb0 update OpenSSL 1.0.0 patch 2015-01-02 15:29:08 +01:00
Francis Dupont
57171e61d2 update OpenSSL 0.9.8 patch 2015-01-02 15:01:47 +01:00
Mark Andrews
a777df2ff6 4027. [port] Net::DNS 0.81 compatibility. [RT #38165
(cherry picked from commit 511ec77fca)
2014-12-23 08:38:21 +11:00
Mark Andrews
a9eee2f2c3 4026. [bug] Fix RFC 3658 reference in dig +sigchase. [RT #38173]
(cherry picked from commit 44032d3918)
2014-12-22 09:40:47 +11:00
Mark Andrews
418da71422 adjust comment
(cherry picked from commit 8ee3233acd)
2014-12-09 07:41:44 +11:00
Evan Hunt
398036fa13 [v9_9] Clean up after reclimit system test 2014-12-08 08:52:57 -08:00
Tinderbox User
d978cdbc71 update copyright notice / whitespace 2014-12-05 23:46:08 +00:00
Mark Andrews
dba49da2f2 skip subtest if cryptography not compiled in 2014-12-06 00:49:16 +11:00
Mark Andrews
ba65e27124 4020. [bug] Change 3736 broke nsupdate's SOA MNAME discovery
resulting in updates being sent to the wrong server.
                        [RT #37925]

(cherry picked from commit 03fd9cb81c)
2014-12-05 18:27:14 +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
Mark Andrews
05f9fa90dd clean up intermediates 2014-12-05 08:27:09 +11:00
Mark Andrews
4c2867ce16 pre-sign the zones 2014-12-05 07:29:39 +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
Mukund Sivaraman
dde0acf74a Fix a dig segfault due to bad linked list usage [RT #37591]
The crash (#37591) seems to happen because the query is taken out of
lookup->q(query->link), and put on lookup->connecting(query->clink).
The code checks query->link where it is detached (-1 in next pointer).
However, there's no need to call send_tcp_connect() there as the queries
are already connecting at that point.

(cherry picked from commit c5e9423340)
(cherry picked from commit 2d33a22970)
2014-12-03 16:47:56 +05:30
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
Tinderbox User
93d2a8ec28 update copyright notice / whitespace 2014-12-02 23:46:08 +00: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
f1c0eff9e6 [v9_9] remove obsolete 'relay' test 2014-12-02 13:58:07 -08:00
Mark Andrews
2d21161222 unchecked putnull 2014-11-25 15:24:45 +11:00
Tinderbox User
395b2849e9 update copyright notice / whitespace 2014-11-24 23:53:31 +00:00
Mark Andrews
b7397773f5 4011. [bug] master's list port inheritance was not properly
implemented. [RT #37792]

(cherry picked from commit d040fa2f1c)
2014-11-24 11:59:16 +11:00
Tinderbox User
b2bcacdf36 update copyright notice / whitespace 2014-11-20 23:46:15 +00: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
Tinderbox User
e211a7b798 update copyright notice / whitespace 2014-11-19 23:46:07 +00:00
Evan Hunt
b6ab355aef [v9_9] fix reclimit test (remove servfail-ttl) 2014-11-19 00:15:22 -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
Tinderbox User
dd461ee35b update copyright notice / whitespace 2014-11-18 23:46:09 +00:00
Evan Hunt
603a0e2637 [v9_9] limit recursion depth and iterative queries
4006.	[security]	A flaw in delegation handling could be exploited
			to put named into an infinite loop.  This has
			been addressed by placing limits on the number
			of levels of recursion named will allow (default 7),
			and the number of iterative queries that it will
			send (default 50) before terminating a recursive
			query (CVE-2014-8500).

			The recursion depth limit is configured via the
			"max-recursion-depth" option.  [RT #35780]
2014-11-17 23:49:07 -08:00
Mark Andrews
16adeb3661 check returns from putstr and putnull
(cherry picked from commit 18fa89b01e)
2014-11-18 13:03:20 +11:00
Evan Hunt
f6e2e95a7d [v9_9] reference leak with AAAA glue but not A
4004.	[bug]		When delegations had AAAA glue but not A, a
			reference could be leaked causing an assertion
			failure on shutdown. [RT #37796]

(cherry picked from commit c4abb19716)
(cherry picked from commit 96b6923a25)
2014-11-14 09:04:52 -08:00