Commit Graph

3150 Commits

Author SHA1 Message Date
Evan Hunt
13b56a42b9 [v9_10] test for Net::DNS::Nameserver in prereq.sh
(cherry picked from commit 475c51cce0)
2017-10-21 00:29:20 -07:00
Mark Andrews
1ba0495b37 include "../mkd"; as we have already changed working directory
(cherry picked from commit b71747f765)
2017-10-20 11:49:56 +11:00
Evan Hunt
b5c1d2bc01 [v9_10] skip managed-keys reconfig tests in runtime if no crypto [RT #46327]
(cherry picked from commit b093b684a6)
2017-10-18 22:29:14 -07:00
Evan Hunt
937a399a55 [v9_10] copyrights 2017-10-18 17:31:44 -07:00
Evan Hunt
b6b2b0b9b5 [v9_10] require writable managed keys directory
4769.	[bug]		Enforce the requirement that the managed keys
			directory (specified by "managed-keys-directory",
			and defaulting to the working directory if not
			specified) must be writable. [RT #46077]

(cherry picked from commit 56e30ebae6)
2017-10-17 21:35:19 -07:00
Michał Kępień
151a7e10b8 [v9_10] Regenerate presigned zone for the filter-aaaa system test [RT #46283]
Fix the filter-aaaa system test for builds without DNSSEC support.
2017-10-16 09:47:10 +02:00
Tinderbox User
8f4a065c62 update copyright notice / whitespace 2017-10-13 23:47:00 +00:00
Evan Hunt
1106e957fb [v9_10] fix filter-aaaa test [RT #46268]
(cherry picked from commit 666af25a92)
2017-10-13 10:28:56 -07:00
Evan Hunt
d761b2da53 [v9_10] use NUL instead of /dev/null for KRB5_CONFIG on windows
(cherry picked from commit 89b2fc092d)
2017-10-11 18:13:13 -07:00
Evan Hunt
4ad546ecf3 [v9_10] Move KRB5_CONFIG=/dev/null to conf.sh.* so the named run in the tests gets the setting
(cherry picked from commit 74f46c45b0)
(cherry picked from commit d1aa5125a9)
2017-10-11 08:51:38 -07:00
Mark Andrews
75438f5c81 don't force souce port
(cherry picked from commit 02a669a9a6)
2017-10-08 06:46:50 +11:00
Tinderbox User
2f09ac92f1 update copyright notice / whitespace 2017-10-06 23:47:26 +00:00
Evan Hunt
dddf97d534 [v9_10] further restrict update-policy local
4762.	[func]		"update-policy local" is now restricted to updates
                from local addresses. (Previously, other addresses
                were allowed so long as updates were signed by the
                local session key.) [RT #45492]
2017-10-06 15:43:05 -07:00
Michał Kępień
3402ce550a [v9_10] Add support for DOA
4761.	[protocol]	Add support for DOA. [RT #45612]

(cherry picked from commit 4ee1fbe056)
2017-10-06 12:56:58 +02:00
Mark Andrews
3a1fa8eeea 4759. [func] Add logging channel "trust-anchor-telementry" to
record trust-anchor-telementry in incoming requests.
                            Both _ta-XXXX.<anchor>/NULL and EDNS KEY-TAG options
                            are logged.  [RT #46124]

    (cherry picked from commit b41c1aacbc)

(cherry picked from commit 1c8aa38b53)
2017-10-06 14:06:40 +11:00
Tinderbox User
1476addacf update copyright notice / whitespace 2017-10-05 23:47:09 +00:00
Mark Andrews
8360489f0f 4754. [bug] dns_zone_setview needs a two stage commit to properly
handle errors. [RT #45841]

(cherry picked from commit 2732d4922c)
2017-10-05 16:06:07 +11:00
Evan Hunt
18c878a76a [v9_10] copy the color-coded test functions to conf.sh.win32 2017-10-04 09:28:51 -07:00
Mark Andrews
348ffa8054 stderr to /dev/null also
(cherry picked from commit 4615bc5408)
2017-10-04 19:27:05 +11:00
Mark Andrews
60596b7abf test for 'printf'
(cherry picked from commit d1e823af15)
2017-10-04 19:20:09 +11:00
Tinderbox User
aafc292564 update copyright notice / whitespace 2017-10-03 23:47:11 +00:00
Evan Hunt
e43e479d5b [v9_10] de-DLV
4749.	[func]		The ISC DLV service has been shut down, and all
			DLV records have been removed from dlv.isc.org.
			- Removed references to ISC DLV in documentation
			- Removed DLV key from bind.keys
			- No longer use ISC DLV by default in delv
			[RT #46155]
2017-10-03 00:52:58 -07:00
Mark Andrews
825f4a4869 4748. [cleanup] Sprintf to snprintf coversions. [RT #46132]
(cherry picked from commit a009d03a1a)
2017-10-03 14:55:57 +11:00
Tinderbox User
ac5565ee28 update copyright notice / whitespace 2017-09-30 23:51:08 +00:00
Evan Hunt
d7e8c245bf [v9_10] color-coded test output
4745.	[test]		Add color-coded pass/fail messages to system
			tests when running on terminals that support them.
			[RT #45977]

(cherry picked from commit 3bb6150cae)
2017-09-30 10:03:05 -07:00
Tinderbox User
3ea46cae3e update copyright notice / whitespace 2017-09-18 23:55:11 +00:00
Michał Kępień
4ceebc8874 [v9_10] Prevent possible infinite signing loop after retransferring an inline-signed slave using NSEC3
4727.	[bug]		Retransferring an inline-signed slave using NSEC3
			around the time its NSEC3 salt was changed could result
			in an infinite signing loop. [RT #45080]

(cherry picked from commit 62f2fefaec)
2017-09-18 09:28:34 +02:00
Tinderbox User
3ae4b027b9 update copyright notice / whitespace 2017-09-14 23:50:11 +00:00
Evan Hunt
0a03e39790 [v9_10] revert dlzexternal changes for portability 2017-09-14 11:34:10 -07:00
Mark Andrews
759d231b5e #include <isc/string.h>
(cherry picked from commit 5fb0c09a5e)
2017-09-14 18:55:22 +10:00
Mark Andrews
f31a98ebbf more str{n}{cat,cpy} corrections rt45981_stage2
(cherry picked from commit cb629cdeda)
2017-09-14 18:40:23 +10:00
Mukund Sivaraman
69cbd89f0d Link dlzexternal system test's driver against libisc
(cherry picked from commit bbe9f1dd95)
(cherry picked from commit e05b7dc69a)
2017-09-14 13:37:46 +05:30
Tinderbox User
9b39cb394a update copyright notice / whitespace 2017-09-13 23:54:53 +00:00
Mukund Sivaraman
83dfa75ac3 Add missing <isc/print.h>
(cherry picked from commit 188fa6ea68)
(cherry picked from commit a13e9f894c)
2017-09-13 19:52:20 +05:30
Francis Dupont
035c315235 Added isc/string.h to shutdown_test which got strlcpy
(cherry picked from commit 804ca1d926)
2017-09-13 23:01:10 +10:00
Evan Hunt
e0ddfb109e [master] cleanup strcat/strcpy
4722.	[cleanup]	Clean up uses of strcpy() and strcat() in favor of
			strlcpy() and strlcat() for safety. [RT #45981]

(cherry picked from commit 114f95089c)
(cherry picked from commit 7cd594b842)
2017-09-13 00:18:44 -07:00
Mark Andrews
9caa3cec56 give more time for the initial signing of bits in the inline signing test to complete
(cherry picked from commit e930487ce7)
2017-09-13 12:19:49 +10:00
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
88e2cefcc2 [v9_10] dig: retain domain when retrying with tcp
4712.	[bug]		"dig +domain" and "dig +search" didn't retain the
			search domain when retrying with TCP. [RT #45547]

(cherry picked from commit 8e014c45ae)
2017-09-11 10:32:27 -07:00
Evan Hunt
87a593271d [v9_10] add missing rrtypes to genzones
4711.	[test]		Some RR types were missing from genzones.sh.
			[RT #45782]

(cherry picked from commit 3e66721b35)
(cherry picked from commit 29f0ced781)
2017-09-11 09:35:10 -07:00
Evan Hunt
2755d9708c [v9_10] removed outdated library reference 2017-09-09 11:50:28 -07:00
Michał Kępień
16650c6fa2 [v9_10] Ensure consistent handling of -4/-6 command line options in all tools
4690.	[bug]		Command line options -4/-6 were handled inconsistently
			between tools. [RT #45632]

(cherry picked from commit d6814700de)
2017-08-29 10:25:25 +02:00
Mark Andrews
99f5031371 4688. [protocol] Check and display EDNS KEY TAG options (RFC 8145) in
messages. [RT #44804]

(cherry picked from commit 07741d43c8)
2017-08-25 08:48:35 +10:00
Michał Kępień
2a0ef82b19 [v9_10] Prevent dnssec-settime from printing a bogus warning
4686.	[bug]		dnssec-settime -p could print a bogus warning about
			key deletion scheduled before its inactivation when a
			key had an inactivation date set but no deletion date
			set. [RT #45807]

(cherry picked from commit 330365566d)
2017-08-21 10:22:10 +02:00
Michał Kępień
457dc09806 [v9_10] Fix calculation of dates for a successor key
4685.	[bug]		dnssec-settime incorrectly calculated publication and
			activation dates for a successor key. [RT #45806]

(cherry picked from commit 5201b96d03)
2017-08-21 10:01:17 +02:00
Michał Kępień
c67ab4349a [v9_10] Prevent delv from sending bogus queries for provided server address
4684.	[bug]		delv could send bogus DNS queries when an explicit
			server address was specified on the command line along
			with -4/-6. [RT #45804]

(cherry picked from commit 367fcd7454)
2017-08-21 09:19:01 +02:00
Tinderbox User
1e895335f0 update copyright notice / whitespace 2017-08-17 23:49:24 +00:00
Michał Kępień
6f86040452 [v9_10] Prevent nsupdate from immediately exiting on invalid user input in interactive mode
4683.	[bug]		Prevent nsupdate from immediately exiting on invalid
			user input in interactive mode. [RT #28194]

(cherry picked from commit e02fa56849)
2017-08-17 08:33:10 +02:00
Mark Andrews
c3d0881843 4682. [bug] Don't report errors on records below a DNAME.
[RT #44880]

(cherry picked from commit 615b961e02)
2017-08-17 15:52:00 +10:00