Evan Hunt
72b49ce869
tests for allow-recursion-on and allow-query-cache-on, default and inherited
2018-09-27 21:48:44 -07:00
Evan Hunt
5752645e60
allow-recursion-on and allow-query-cache-on should inherit from each other
2018-09-27 21:48:43 -07:00
Evan Hunt
6d05ec7dc1
fix problems running dnsrps tests in rpz and rpzrecurse
...
- set up server correctly when running the second test pass
- reset stats counters before the second pass
- clean up test output
2018-09-27 13:11:44 -07:00
Evan Hunt
e7c99e42f3
fix a typo in usage output
2018-09-24 15:21:47 -07:00
Mark Andrews
7effcffba2
mtype should be dns_ssumatchtype_t
2018-09-20 16:03:24 +10:00
Evan Hunt
bf9c60078a
don't use $() in system tests
2018-09-11 14:02:25 -04:00
Evan Hunt
38cf56ac38
call named_os_changeuser() when setting minimal privileges on linux
2018-09-10 20:17:41 -07:00
Evan Hunt
cc0abf62a1
add -class option to rndc nta
2018-09-10 12:04:04 -07:00
Evan Hunt
83dc5a704a
report when NTAs added to multiple views
...
- the text returned by "rndc nta" when adding NTAs to multiple views
was incorrectly terminated after the first line, so users only saw
on NTA added unless they checked the logs.
2018-09-10 12:02:49 -07:00
Mark Andrews
d1f8e116db
add more missing name in update rule checks
2018-09-10 09:55:24 +10:00
Mark Andrews
54c4db569b
add krb5-* tests to nsupdate system test.
2018-09-10 09:32:32 +10:00
Mark Andrews
5fb75a3d75
check that name field is not a valid type
2018-09-10 09:32:31 +10:00
Ondřej Surý
8ffd9a9b71
Remove PR_SET_DUMPABLE check as it is available since Linux 2.3.20
2018-09-07 12:48:49 +02:00
Ondřej Surý
8e4cc152f7
Remove HAVE_SYS_PRCTL_H check as the prctl() system call was introduced in Linux 2.1.57.
2018-09-07 12:43:43 +02:00
Ondřej Surý
2750799132
Assume socklen_t is always available on all supported platforms (except on Windows where it is typedefed to int32_t)
2018-09-07 12:17:40 +02:00
Ondřej Surý
7716bdd400
Remove dummy PATH_RANDOMDEV and CHECK_DSA defines
2018-09-07 12:17:40 +02:00
Ondřej Surý
c7b1e7fd08
Linux (glibc) has NPTL since LinuxThreads are no-more, so remove HAVE_LINUXTHREADS
2018-09-07 12:17:40 +02:00
Ondřej Surý
4014bc42dd
According to POSIX.1-2001, POSIX.1-2008 #include <sys/select.h> is correct way to get fd_set
2018-09-07 12:17:30 +02:00
Evan Hunt
881a868dc0
the allow-query test was in conf.sh.win32 as allow_query, so was skipped
2018-09-05 18:02:40 -07:00
Evan Hunt
1aa3ba2bb1
add ws2_32.lib where missing
2018-09-05 16:54:47 -07:00
Evan Hunt
f8d9bd6178
move ws2_32.lib to the end of AdditionalDependencies
2018-09-05 14:25:38 -07:00
Evan Hunt
02041b94d9
remove startup log message indicating thread status
2018-09-04 11:58:26 -07:00
Tinderbox User
19ed6f8f5a
prep 9.13.3
2018-09-04 06:11:38 +00:00
Ondřej Surý
25248eb097
Bail-out early in the for install loops instead of continuing because for masks the error in the middle
2018-09-03 12:05:45 +02:00
Ondřej Surý
eb9849daff
Update documentation (ARM, READMEs and man pages)
2018-08-31 06:03:42 -04:00
Mark Andrews
05eb9fd338
simplify
2018-08-31 18:47:29 +10:00
Mark Andrews
feaf381adb
use pack to construct the reply as Net::DNS just get it wrong
2018-08-31 03:47:56 -04:00
Mark Andrews
615ebc39e3
remove EDNS workarounds, update legacy test
2018-08-30 21:17:00 -07:00
Mark Andrews
e7e4603f9b
bring up interfaces 9 and 10
2018-08-30 21:16:59 -07:00
Mark Andrews
c81c9660f5
add -T ednsformerr/ednsnotimp/ednsrefused
2018-08-30 21:16:59 -07:00
Mark Andrews
8e5abc6cdf
report initial RRSIG expiry field values
2018-08-30 22:37:08 -04:00
Ondřej Surý
7f508ec229
Link arpaname and mdig with ws2_32.lib
2018-08-29 22:16:37 +02:00
Ondřej Surý
7cba3cc474
Bump the minimum required Windows version to Windows Vista and Windows Server 2008
2018-08-29 22:03:09 +02:00
Evan Hunt
1656152d76
Ensure that POSIX strerror_r variant is use even when _GNU_SOURCE is enabled by default
2018-08-29 13:31:28 +02:00
Witold Kręcicki
79ce86090a
rndc reconfig should not touch already loaded zones, some refactoring of dns_{zone,view,zt}_{async,}load
2018-08-28 17:04:45 +02:00
Ondřej Surý
fecbc7923a
Remove isc_keyboard family of functions as they were not used anywhere
2018-08-28 14:37:30 +02:00
Ondřej Surý
0f24c55d38
Refactor *_destroy and *_detach functions to unified order of actions.
...
This properly orders clearing the freed pointer and calling isc_refcount_destroy
as early as possible to have ability to put proper memory barrier when cleaning
up reference counting.
2018-08-28 13:15:59 +02:00
Ondřej Surý
bef8ac5bae
Rewrite isc_refcount API to fetch_and_<op>, instead of former <op>_and_<fetch>
2018-08-28 12:15:39 +02:00
Ondřej Surý
0a7535ac81
isc_refcount_init() now doesn't return isc_result_t and asserts on failed initialization
2018-08-28 12:15:39 +02:00
Ondřej Surý
1672935717
Use strerror_r from POSIX.1-2001 (strerror_s on Windows) instead of custom isc__strerror()
2018-08-28 10:31:48 +02:00
Ondřej Surý
efd613e874
memmove, strtoul, and strcasestr functions are part of ISO C90, remove the compatibility shim
2018-08-28 10:31:48 +02:00
Ondřej Surý
62fb0759e9
Assume always working getaddrinfo/getnameinfo implemenation
2018-08-28 10:31:48 +02:00
Ondřej Surý
00ca487fec
We always want IPv6
2018-08-28 10:31:47 +02:00
Ondřej Surý
c19713aa51
Remove support for legacy SGI IRIX
2018-08-28 10:31:47 +02:00
Ondřej Surý
02e349c051
Remove legacy support for HP-UX
2018-08-28 10:31:47 +02:00
Ondřej Surý
f0f71420c8
Remove legacy support for AIX
2018-08-28 10:31:47 +02:00
Ondřej Surý
8b3878dc7d
Run rsabigexponent test only when OpenSSL is used as cryptography provider
2018-08-27 11:24:32 +02:00
Michał Kępień
deb3b85cb2
Reset dig exit code after a TCP connection is established
...
The "exitcode" variable is set to 9 if a TCP connection fails, but is
not reset to 0 if a subsequent TCP connection succeeds. This causes dig
to return a non-zero exit code if it succeeds in getting a TCP response
after a retry. Fix by resetting "exitcode" to 0 if connect_done()
receives an event with the "result" field set to ISC_R_SUCCESS.
2018-08-27 13:58:08 +10:00
Michał Kępień
a23162ab28
Set "use-alt-transfer-source no;" in the "mirror" system test
...
Force ns3 to use a constant source address (10.53.0.3) when sending
transfer requests for the "initially-unavailable" zone to prevent
failures of transfers not triggered by bin/tests/system/mirror/tests.sh
from causing fallback to using a source address for which transfers of
that zone are refused throughout the entire "mirror" system test since
that might yield false positives.
2018-08-25 21:48:17 +02:00
Michał Kępień
087157d14f
Log a message when "ixfr-from-differences" is set for an inline-signed zone
...
For inline-signed zones, the value of "ixfr-from-differences" is
hardcoded to:
- "yes" for the raw version of the zone,
- "no" for the signed version of the zone.
In other words, any user-provided "ixfr-from-differences" setting is
effectively ignored for an inline-signed zone. Ensure the user is aware
of that by adding a note to the ARM and logging a message when an
"ixfr-from-differences" option is found at the zone level.
2018-08-24 10:18:59 +02:00