Tinderbox User
54ca095d4d
prep 9.10.8rc2
2018-06-28 05:33:44 +00:00
Mark Andrews and Evan Hunt
e3c80aa59f
CHANGES, copyright
...
(cherry picked from commit f7d346357e )
2018-06-26 11:03:42 -07:00
Mark Andrews and Evan Hunt
a4e86236b1
construct a symtab of valid in-view targets then check that the target exists
...
(cherry picked from commit e01a4bcb20 )
2018-06-26 11:01:43 -07:00
Michał Kępień
12123951cb
Only request permitted capabilities in non-libcap builds
...
While libcap-enabled builds check whether any capability named requests
is within the permitted capability set, non-libcap builds just try
requesting them, which potentially causes a misleading error message to
be output ("Operation not permitted: please ensure that the capset
kernel module is loaded"). Ensure non-libcap builds also check whether
any requested capability is within the permitted capability set.
(cherry picked from commit 8c66f32e53 )
2018-06-26 13:20:39 +02:00
Mark Andrews and Evan Hunt
43ba12277e
log the remaining -V info at startup
2018-06-25 15:20:33 -07:00
Mark Andrews
2cf488e71b
the client cookie was being hashed twice when computing the server cookie for sha1 and sha256
...
(cherry picked from commit 4795f0ca89 )
2018-06-22 17:49:34 +10:00
Evan Hunt and Ondřej Surý
ce4abb600b
prepare 9.10.8rc1
2018-06-21 18:56:22 +02:00
Evan Hunt and Ondřej Surý
6894028f27
add a regression test for default allow-recursion settings
2018-06-14 14:47:56 +02:00
Evan Hunt and Ondřej Surý
97600626c7
allow-recursion could incorrectly inherit from the default allow-query
2018-06-14 14:47:56 +02:00
Mark Andrews and Michał Kępień
ec75a07023
Pull out the saving of the zone cut into a separate function
...
(cherry picked from commit 0c3ddaafb5 )
2018-06-13 13:02:25 +02:00
Michał Kępień
9a4145168c
Treat records below a DNAME as out-of-zone data
...
DNAME records indicate bottom of zone and thus no records below a DNAME
should be DNSSEC-signed or included in NSEC(3) chains. Add a helper
function, has_dname(), for detecting DNAME records at a given node.
Prevent signing DNAME-obscured records. Check that DNAME-obscured
records are not signed.
(cherry picked from commit 6d8a514ecb )
2018-06-13 13:01:54 +02:00
Evan Hunt
0bca85e18d
complete strtok fix
...
(cherry picked from commit 74c3b9d3b2 )
2018-06-09 23:04:35 -07:00
Evan Hunt
48ff5b29be
use strtok() instead of strtok_r() in command line processing
...
(cherry picked from commit 1734f1b3b9 )
2018-06-09 22:37:05 -07:00
Evan Hunt
b9bc020d5f
ensure we try to validate glue records so RRSIG TTLs will be capped
2018-06-08 11:42:40 -07:00
Mukund Sivaraman and Evan Hunt
da620da38b
Add system test
...
(cherry picked from commit 303391ea41 )
2018-06-08 11:05:00 -07:00
Mukund Sivaraman and Evan Hunt
54e3529d55
Don't validate non-pending glue when adding to the additional section
...
(cherry picked from commit 31bd3147d1 )
2018-06-08 11:05:00 -07:00
Mark Andrews
99ac87cac4
Add support for marking a option as deprecated.
...
(cherry picked from commit befff9452c )
2018-06-08 16:06:17 +10:00
Mark Andrews
abbfbeffa6
add duplicate signature test
...
(cherry picked from commit 0db5b087ed )
(cherry picked from commit 1783fa5aba )
(cherry picked from commit 1710e5cfca )
2018-06-06 17:45:23 +10:00
Mark Andrews
ba76a92338
add support -T sigvalinsecs
...
(cherry picked from commit 87a3dc8ab9 )
(cherry picked from commit 69340b5ac5 )
(cherry picked from commit dd05287a31 )
2018-06-06 17:29:24 +10:00
Mark Andrews
4330d43d1c
move -T parsing to its own function
...
(cherry picked from commit b491ceeb50 )
2018-06-06 15:14:57 +10:00
Evan Hunt
33880e35cd
use "ip" on linux, falling back to "ifconfig" when it isn't available
...
(cherry picked from commit d7c5400798 )
(cherry picked from commit 3e1a0c2b62 )
2018-06-05 21:48:06 -07:00
Evan Hunt
2ec7b60d89
expand address range in ifconfig.sh to include more than one subnet
...
(cherry picked from commit 41b29a436b )
(cherry picked from commit e4487b160c )
2018-06-05 21:48:06 -07:00
Evan Hunt
a5ac84370c
add prerequisite check
...
(cherry picked from commit e229ae6999 )
2018-06-04 20:05:09 -07:00
Mark Andrews and Evan Hunt
8f139956ba
add system test for root-key-sentinel
...
(cherry picked from commit a23b305e6b )
(cherry picked from commit b9e6b124aa )
(cherry picked from commit 9448c4fd21 )
2018-06-04 20:05:09 -07:00
Mark Andrews and Evan Hunt
468a3bcdac
add named.conf option root-key-sentinel
...
(cherry picked from commit 68e9315c7d )
(cherry picked from commit ee763ef281 )
(cherry picked from commit 9a5f308287 )
2018-06-04 20:05:09 -07:00
Mark Andrews and Evan Hunt
a624e884d4
detect and process root-key-sentinel labels.
...
(cherry picked from commit 8fc9f64df9 )
(cherry picked from commit 7111eff80c )
(cherry picked from commit afa97c6552 )
2018-06-04 20:05:09 -07:00
Mukund Sivaraman and Mark Andrews
f72911dd12
Don't insert 2nd space between NSEC3 nexthash and typemap fields
...
(cherry picked from commit d4ea1edd2c )
2018-06-04 13:21:57 +10:00
Evan Hunt
d63e38889b
fix openbsd color-display problem in system test output
...
(cherry picked from commit 1e31fdb76d )
2018-05-25 13:01:50 -07:00
Mark Andrews
6d49a3f7f5
add HOME.ARPA to the list of empty zones
...
(cherry picked from commit 10dd0b3efe )
2018-05-23 11:25:51 +10:00
Mark Andrews
ff4e1d43ac
fix handling of failed tests
...
(cherry picked from commit 4283f9552f )
2018-05-23 11:19:50 +10:00
Paul Hoffman and Evan Hunt
efcad103e7
add -t type### description to the dig man page
...
(cherry picked from commit 2d957c6b9f )
(cherry picked from commit d742db122e )
2018-04-27 00:01:11 -07:00
Michał Kępień and Evan Hunt
fcbdeed802
Apply raw zone deltas to yet unsigned secure zones
...
When inline signing is enabled for a zone without creating signing keys
for it, changes subsequently applied to the raw zone will not be
reflected in the secure zone due to the dns_update_signaturesinc() call
inside receive_secure_serial() failing. Given that an inline zone will
be served (without any signatures) even with no associated signing keys
being present, keep applying raw zone deltas to the secure zone until
keys become available in an attempt to follow the principle of least
astonishment.
(cherry picked from commit 6acf326969 )
(cherry picked from commit 8a58a60772 )
2018-04-25 12:10:26 -07:00
Evan Hunt
843f19ee7f
change "key" to "tsigkey" to silence "short global name" warning
...
(cherry picked from commit 0cc7aa250e )
(cherry picked from commit 9d99bf0f4b )
2018-04-22 12:58:36 -07:00
Evan Hunt
2f5ec44952
fix shadowed global variables
...
(cherry picked from commit 9ca3ab1168 )
(cherry picked from commit 694a1486ca )
2018-04-22 12:58:36 -07:00
Evan Hunt
3e67bc0048
Alter distclean rule to prevent recursing into the same directory twice
...
Commit f87e0c03ee removed the "system" directory from the TESTDIRS
variable in bin/tests/Makefile.in in an attempt to fix "make distclean"
which was broken since commit 0d784de16a . However, this change
prevented any system tests from being run when "make test" is invoked.
We now put it back into both SUBDIRS and TESTDIRS, but with a modified
rule to check for the existence of a Makefile in each subdirectory before
trying to run make there. This prevents "make distclean" from trying to
run again in a directory where it's already been run.
(cherry picked from commit 93ee6b8a22 )
2018-04-10 20:04:48 -07:00
Mark Andrews
15fd756139
system should only be in SUBDIRS
...
(cherry picked from commit 342e146fe3 )
2018-04-06 13:26:11 +10:00
Mark Andrews
b283e8d04e
fix temporary file name to have subtest number
...
(cherry picked from commit e12453f43c88bac722fb511b62f12303735b788c)
2018-03-19 23:12:26 +11:00
Mark Andrews
f69fd9911a
synchronise test descriptions with master
2018-03-19 23:01:55 +11:00
Mark Andrews
0b2826e996
fix typo
...
(cherry picked from commit 6e4b5f2345 )
2018-03-19 22:57:21 +11:00
Mark Andrews
3e02dc4462
fix numbering of tests and make consistent
...
(cherry picked from commit dd5dff3096 )
2018-03-19 20:36:08 +11:00
Evan Hunt
7044b67b67
update file headers to remove copyright years
2018-03-14 21:12:08 -07:00
Evan Hunt
806c0cbe9a
clean up dig.out files that were left behind after xfer test
...
(cherry picked from commit 733086cc67 )
2018-03-10 13:15:19 -08:00
Evan Hunt
56fcddbb86
Merge branch 'clean-bin-tests-v9_10' into 'v9_10'
...
clean up bin/tests, convert unit tests to ATF
Closes #115
See merge request isc-projects/bind9!93
2018-03-09 22:49:58 -08:00
Evan Hunt
6fe8188cc3
final cleanup
...
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note
(cherry picked from commit 86e00cbb71 )
(cherry picked from commit 80834b5b90 )
(cherry picked from commit 442c1530a3 )
2018-03-09 19:31:04 -08:00
Evan Hunt
544bb12a01
reduce race risk in parallel builds
...
(cherry picked from commit 74347f4a55 )
(cherry picked from commit 7f4e62d902 )
(cherry picked from commit ade4face27 )
2018-03-09 18:49:48 -08:00
Evan Hunt
dbc21e4393
migrate t_dst signature test to lib/dns/tests/dst_test
...
(cherry picked from commit a4ebe83cdb )
(cherry picked from commit 4439c471d1 )
(cherry picked from commit 57a5820dcc )
2018-03-09 18:46:54 -08:00
Evan Hunt
c5dbc0b727
migrate t_db to lib/dns/tests/db_test
...
(cherry picked from commit f58ac8ada3 )
(cherry picked from commit 56da937399 )
(cherry picked from commit d3518e57b1 )
2018-03-09 18:45:18 -08:00
Evan Hunt
2893e982ed
migrate t_names to lib/dns/tests/name_test
...
(cherry picked from commit 8ecf69ef7b )
(cherry picked from commit aefad99e1e )
(cherry picked from commit b2fef3b438 )
2018-03-09 18:44:48 -08:00
Evan Hunt
4c6818ff8e
migrate t_rbt to lib/dns/tests/rbt_test
...
(cherry picked from commit 109546cbda )
(cherry picked from commit c505afd183 )
(cherry picked from commit 42fa3932ab )
2018-03-09 18:43:58 -08:00
Evan Hunt
430d35e332
migrate t_tasks to lib/isc/tests/task_test
...
(cherry picked from commit c6c1e99252 )
(cherry picked from commit 88bfe56876 )
(cherry picked from commit 38f9cddcad )
2018-03-09 18:42:57 -08:00