Commit graph

105 commits

Author SHA1 Message Date
Tinderbox User
87f5992d62 update copyright notice / whitespace 2017-09-12 23:48:28 +00:00
Evan Hunt
8bfb6923e2 [v9_10] improve handling of qcount=0 replies
4717.	[bug]		Treat replies with QCOUNT=0 as truncated if TC=1,
			FORMERR if TC=0, and log the error correctly.
			[RT #45836]

(cherry picked from commit 25b33bede4)
(cherry picked from commit a2a0100e0f)
2017-09-12 15:27:12 -07:00
Evan Hunt
3990b8b32d [v9_10] grep for either "SERVFAIL" or "failure"
- check for both values because it depends on whether fetchlimit is enabled
2017-08-10 20:05:56 -07:00
Evan Hunt
eabf23ee9c [v9_10] revert test change 2017-08-10 18:51:25 -07:00
Mukund Sivaraman
88178e13e6 Fix bug where named as resolver would not try other fctx addresses upon fetch timeout (#45321) 2017-08-08 20:48:05 +05:30
Tinderbox User
e0615b47c2 update copyright notice / whitespace 2017-05-02 23:46:45 +00:00
Mark Andrews
ad32220fa8 4615. [bug] AD could be set on truncated answer with no records
present in the answer and authority sections.
                        [RT #45140]

(cherry picked from commit 33e94f501f)
2017-05-03 07:52:08 +10:00
Mark Andrews
83139f2a21 4534. [bug] Only set RD, RA and CD in QUERY responses. [RT #43879]
(cherry picked from commit def6b33bad)
2016-12-13 16:37:47 +11:00
Mark Andrews
712523f9f4 number all resolver tests
(cherry picked from commit 4914e3ddc6)
2016-12-13 15:05:42 +11:00
Evan Hunt
a2575e2796 [v9_10] system tests on windows
4487. [test] Make system tests work on Windows. [RT #42931]
2016-11-01 09:50:09 -07:00
Mark Andrews
025b1a2396 remove spurious 'i'
(cherry picked from commit e1f590a59a)
2016-08-26 13:43:30 +10:00
Tinderbox User
26beb2a21d update copyright notice / whitespace 2016-08-25 23:46:50 +00:00
Mark Andrews
a33f9a7eff 4453. [bug] Prefetching of DS records failed to update their
RRSIGs. [RT #42865]

(cherry picked from commit f431bf02a6)
2016-08-25 09:55:08 +10:00
Mark Andrews
0d3fba1448 do not overflow exit status. [RT #42643]
(cherry picked from commit 3635d8f910)
2016-06-14 14:22:51 +10:00
Tinderbox User
9861d0b5c6 update copyright notice / whitespace 2016-03-21 23:45:41 +00:00
Mark Andrews
b7e6ee04a7 4336. [bug] Don't emit records with zero ttl unless the records
were learnt with a zero ttl. [RT #41687]

(cherry picked from commit 0993cd5f22)
2016-03-21 13:24:55 +11:00
Tinderbox User
33c5482511 update copyright notice / whitespace 2015-12-16 23:45:54 +00:00
Mark Andrews
f9c9fce5c7 perform a more complete cleanup after running system tests [rt41255]
(cherry picked from commit ecfedec0e0)

Conflicts:
	bin/tests/system/acl/clean.sh
	bin/tests/system/addzone/clean.sh
	bin/tests/system/allow_query/clean.sh
	bin/tests/system/autosign/clean.sh
	bin/tests/system/case/clean.sh
	bin/tests/system/checknames/clean.sh
	bin/tests/system/dlzexternal/clean.sh
	bin/tests/system/dscp/clean.sh
	bin/tests/system/ednscompliance/clean.sh
	bin/tests/system/emptyzones/clean.sh
	bin/tests/system/formerr/clean.sh
	bin/tests/system/forward/clean.sh
	bin/tests/system/glue/clean.sh
	bin/tests/system/limits/clean.sh
	bin/tests/system/lwresd/clean.sh
	bin/tests/system/masterfile/clean.sh
	bin/tests/system/names/clean.sh
	bin/tests/system/nslookup/clean.sh
	bin/tests/system/nsupdate/clean.sh
	bin/tests/system/sfcache/clean.sh
	bin/tests/system/sit/clean.sh
	bin/tests/system/sortlist/clean.sh
	bin/tests/system/stub/clean.sh
	bin/tests/system/xferquota/clean.sh
2015-12-16 15:39:52 +11:00
Tinderbox User
46a3181839 update copyright notice / whitespace 2015-09-30 23:46:12 +00:00
Mark Andrews
2d60077e56 4232. [test] Add tests for CDS and CDNSKEY with delegation-only.
[RT #40597]

(cherry picked from commit 65d59a4307)
2015-09-30 15:56:17 +10:00
Mark Andrews
5c86b9d97e 4213. [bug] Don't reuse a cache across multiple classes.
[RT #40205]

(cherry picked from commit dd1bcab25c)
2015-09-17 14:52:15 +10:00
Tinderbox User
03e2c07f24 update copyright notice / whitespace 2015-09-10 23:46:55 +00:00
Mark Andrews
f524494512 4196. [doc] Improve how "enum + other" types are documented.
[RT #40608]

4195.   [bug]           'max-zone-ttl unlimited;' was broken. [RT #40608]

(cherry picked from commit 4ca7391e64)
2015-09-09 17:23:11 +10:00
Evan Hunt
83d0b1ab69 [v9_10] DDoS mitigation features
3938.	[func]		Added quotas to be used in recursive resolvers
			that are under high query load for names in zones
			whose authoritative servers are nonresponsive or
			are experiencing a denial of service attack.

			- "fetches-per-server" limits the number of
			  simultaneous queries that can be sent to any
			  single authoritative server.  The configured
			  value is a starting point; it is automatically
			  adjusted downward if the server is partially or
			  completely non-responsive. The algorithm used to
			  adjust the quota can be configured via the
			  "fetch-quota-params" option.
			- "fetches-per-zone" limits the number of
			  simultaneous queries that can be sent for names
			  within a single domain.  (Note: Unlike
			  "fetches-per-server", this value is not
			  self-tuning.)
			- New stats counters have been added to count
			  queries spilled due to these quotas.

			These options are not available by default;
			use "configure --enable-fetchlimit" (or
			--enable-developer) to include them in the build.

			See the ARM for details of these options. [RT #37125]
2015-07-08 22:55:31 -07:00
Mark Andrews
a9557c404e 4154. [bug] A OPT record should be included with the FORMERR
response when there is a malformed EDNS option.
                        [RT #39647]

4153.   [bug]           Dig should zero non significant +subnet bits.  Check
                        that non significant ECS bits are zero on receipt.
                        [RT #39647]

(cherry picked from commit 3e33f4198d)
2015-07-06 13:47:17 +10:00
Tinderbox User
1b9f989cae update copyright notice / whitespace 2015-05-21 23:45:59 +00:00
Mark Andrews
68e9ae1885 4119. [func] Allow dig to set the message opcode. [RT #39550]
(cherry picked from commit c7463967db)
2015-05-19 12:53:02 +10:00
Tinderbox User
66ed5cbc11 update copyright notice / whitespace 2015-05-04 23:45:49 +00:00
Evan Hunt
e6e24d37ea [v9_10] fix root-delegation-only without exclude
4112.	[bug]		Named failed to load when "root-delegation-only"
			was used without a list of domains to exclude.
			[RT #39380]
2015-05-04 12:45:33 -07:00
Tinderbox User
5617f6b539 update copyright notice / whitespace 2014-12-03 23:45:52 +00:00
Mark Andrews
b99cdea866 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:42:16 +11:00
Mark Andrews
5ee1a66864 3892. [bug] Setting '-t aaaa' in .digrc had unintended side
effects. [RT #36452]
2014-07-08 02:01:05 +10:00
Mark Andrews
518a11a418 Net::DNS 0.78 should work when it is released as it contains:
Fix rt.cpan.org #96439

		Uninitialised decoding object when printing packet

(cherry picked from commit 70ee770c69)
2014-06-25 01:03:34 +10:00
Mark Andrews
0364eb0310 Net::DNS 0.76 broke the handling of some packets
(cherry picked from commit f9e47cfe4f)
2014-06-14 10:11:36 +10:00
Mark Andrews
245e0d4b6b make a explict edns query so this subtest is independent of other tests 2014-05-29 10:46:34 +10:00
Mark Andrews
5defbb76ea 3863. [bug] The "E" flag was missing from the query log as a
unintended side effect of code rearrangement to
                        support EDNS EXPIRE. [RT #36117]
2014-05-29 08:05:39 +10:00
Mark Andrews
2555e488ed use sub second sleeps for prefetch disabled test
(cherry picked from commit 733898cffe)
2014-05-09 15:00:53 +10:00
Evan Hunt
812cf443bb [v9_10] use posix-compatible shell in system tests
3839.	[test]		Use only posix-compatible shell in system tests.
			[RT #35625]

(cherry picked from commit 60988462e5)
2014-05-06 22:06:28 -07:00
Mark Andrews
29e6ce6e60 3837. [security] A NULL pointer is passed to query_prefetch resulting
a REQUIRE assertion failure when a fetch is actually
                        initiated.  [ RT #35899]

Squashed commit of the following:

commit 7f4e1f3917d743089c42cc52ec2c0eea598d2c00
Author: Mukund Sivaraman <muks@isc.org>
Date:   Sun May 4 22:34:34 2014 +0530

    Fix a comment

commit 6a35a6a2346013fa8e3798b9b680d8a3031fcb03
Author: Mark Andrews <marka@isc.org>
Date:   Sun May 4 23:34:25 2014 +1000

    pass the correct name to query_prefetch

(cherry picked from commit b36fc8294e)
2014-05-05 10:12:39 +10:00
Evan Hunt
92fe6db3e4 [master] use test -r in system tests
3806.	[test]		Improved system test portability. [RT #35625]
2014-04-09 20:29:52 -07:00
Tinderbox User
04b5785fde update copyright notice 2014-01-29 23:46:19 +00:00
Mark Andrews
75d747e1c5 3719. [bug] Address memory leak in in peer.c. [RT #35255] 2014-01-30 07:54:52 +11:00
Tinderbox User
aa7b16ec2a update copyright notice 2014-01-21 23:46:16 +00:00
Evan Hunt
d58e33bfab [master] testcrypto.sh in system tests
3714.	[test]		System tests that need to test for cryptography
			support before running can now use a common
			"testcrypto.sh" script to do so. [RT #35213]
2014-01-20 16:08:09 -08:00
Tinderbox User
2cf1d5b098 update copyright notice 2014-01-12 23:46:23 +00:00
Mark Andrews
fb756ba304 3703. [func] Prefetch about to expire records if they are queried
for, see prefetch option for details. [RT #35041]
2014-01-12 21:29:15 +11:00
Tinderbox User
7c329be7c0 update copyright notice 2013-12-15 23:46:14 +00:00
Tinderbox User
eade480b33 update copyright notice 2013-12-13 23:46:17 +00:00
Evan Hunt
0606c47750 [master] correct dispatch address/port check
3690.	[bug]		Iterative responses could be missed when the source
			port for an upstream query was the same as the
			listener port (53). [RT #34925]
2013-12-12 22:39:12 -08:00
Evan Hunt
0618287859 [master] allow setting local addr in dns_client
3672.	[func]		Local address can now be specified when using
			dns_client API. [RT #34811]
2013-11-13 10:52:22 -08:00