]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoReplace arch specific atomic.h with global atomic.h header using either stdatomic...
Ondřej Surý [Tue, 14 Aug 2018 08:23:50 +0000 (10:23 +0200)] 
Replace arch specific atomic.h with global atomic.h header using either stdatomic, __atomic or __sync primitives

7 years agoUpdate configure.in to check for both stdatomic.h and __atomic builtins
Ondřej Surý [Tue, 14 Aug 2018 07:52:25 +0000 (09:52 +0200)] 
Update configure.in to check for both stdatomic.h and __atomic builtins

7 years agoMerge branch 'remove-dnsperf-and-queryperf-from-contrib' into 'master'
Ondřej Surý [Tue, 28 Aug 2018 10:05:52 +0000 (06:05 -0400)] 
Merge branch 'remove-dnsperf-and-queryperf-from-contrib' into 'master'

Remove dnsperf, queryperf and perftcpdns from contrib

See merge request isc-projects/bind9!717

7 years agoRemove dnsperf, queryperf and perftcpdns from util/copyrights
Ondřej Surý [Tue, 28 Aug 2018 09:49:28 +0000 (11:49 +0200)] 
Remove dnsperf, queryperf and perftcpdns from util/copyrights

7 years agoUpdate contrib/README with new locations for dnsperf, queryperf, and perftcpdns
Ondřej Surý [Tue, 28 Aug 2018 09:44:58 +0000 (11:44 +0200)] 
Update contrib/README with new locations for dnsperf, queryperf, and perftcpdns

7 years agoRemove perftcpdns from BIND 9 repository
Ondřej Surý [Tue, 28 Aug 2018 09:42:31 +0000 (11:42 +0200)] 
Remove perftcpdns from BIND 9 repository

7 years agoRemove queryperf from BIND 9 repository
Ondřej Surý [Tue, 28 Aug 2018 09:42:14 +0000 (11:42 +0200)] 
Remove queryperf from BIND 9 repository

7 years agoRemove dnsperf and dnsperf-patches from BIND 9 repository
Ondřej Surý [Tue, 28 Aug 2018 09:41:58 +0000 (11:41 +0200)] 
Remove dnsperf and dnsperf-patches from BIND 9 repository

7 years agoMerge branch '192-make-ipv6-mandatory' into 'master'
Ondřej Surý [Tue, 28 Aug 2018 08:51:38 +0000 (04:51 -0400)] 
Merge branch '192-make-ipv6-mandatory' into 'master'

Remove all kind of legacy compatibility layers (including IPv6, networking and functions defined by C99 or POSIX.1)

Closes #192

See merge request isc-projects/bind9!668

7 years agoAdd CHANGES entry for GL #192
Ondřej Surý [Tue, 28 Aug 2018 08:30:44 +0000 (10:30 +0200)] 
Add CHANGES entry for GL #192

5016.   [cleanup]       Remove wrappers that try to fix broken or incomplete
                        implementations of IPv6, pthreads and other core
                        functionality required and used by BIND. [GL #192]

7 years agoCleanup util/copyrights
Ondřej Surý [Tue, 28 Aug 2018 08:36:25 +0000 (10:36 +0200)] 
Cleanup util/copyrights

7 years agoAdd release notes entry.
Ondřej Surý [Tue, 28 Aug 2018 08:28:43 +0000 (10:28 +0200)] 
Add release notes entry.

7 years agoRemove dead check for long long support
Ondřej Surý [Tue, 21 Aug 2018 13:34:24 +0000 (15:34 +0200)] 
Remove dead check for long long support

7 years agoAssume PTHREAD_ONCE_INIT is not broken (remove support for ancient Solaris)
Ondřej Surý [Tue, 21 Aug 2018 13:33:08 +0000 (15:33 +0200)] 
Assume PTHREAD_ONCE_INIT is not broken (remove support for ancient Solaris)

7 years agoAssume non-broken recvmsg
Ondřej Surý [Tue, 21 Aug 2018 13:29:49 +0000 (15:29 +0200)] 
Assume non-broken recvmsg

7 years agoUse strerror_r from POSIX.1-2001 (strerror_s on Windows) instead of custom isc__strer...
Ondřej Surý [Tue, 21 Aug 2018 13:27:42 +0000 (15:27 +0200)] 
Use strerror_r from POSIX.1-2001 (strerror_s on Windows) instead of custom isc__strerror()

7 years agomemmove, strtoul, and strcasestr functions are part of ISO C90, remove the compatibil...
Ondřej Surý [Tue, 21 Aug 2018 13:10:32 +0000 (15:10 +0200)] 
memmove, strtoul, and strcasestr functions are part of ISO C90, remove the compatibility shim

7 years agogetifaddrs() is available on all supported Unix platforms (Linux, BSDs, macOS and...
Ondřej Surý [Tue, 21 Aug 2018 13:04:40 +0000 (15:04 +0200)] 
getifaddrs() is available on all supported Unix platforms (Linux, BSDs, macOS and Solaris)

7 years agoAssume always working getaddrinfo/getnameinfo implemenation
Ondřej Surý [Tue, 21 Aug 2018 12:54:36 +0000 (14:54 +0200)] 
Assume always working getaddrinfo/getnameinfo implemenation

7 years agoRemove check for isc_port_t; Windows never have it, Unix always have it
Ondřej Surý [Tue, 21 Aug 2018 12:35:57 +0000 (14:35 +0200)] 
Remove check for isc_port_t; Windows never have it, Unix always have it

7 years agoIgnore sockaddr_{sin,sin6,sun}.{sin,sin6,sun}_len even on systems that define it
Ondřej Surý [Tue, 21 Aug 2018 12:32:20 +0000 (14:32 +0200)] 
Ignore sockaddr_{sin,sin6,sun}.{sin,sin6,sun}_len even on systems that define it

7 years agoAlways assume BSD4.4 msghdr version
Ondřej Surý [Tue, 21 Aug 2018 12:26:39 +0000 (14:26 +0200)] 
Always assume BSD4.4 msghdr version

7 years agoRemove support for legacy systems without inet_{ntop,pton} w/ IPv6 support
Ondřej Surý [Tue, 21 Aug 2018 11:48:48 +0000 (13:48 +0200)] 
Remove support for legacy systems without inet_{ntop,pton} w/ IPv6 support

7 years agoRemove support for legacy systems without in6_pktinfo
Ondřej Surý [Tue, 21 Aug 2018 11:22:40 +0000 (13:22 +0200)] 
Remove support for legacy systems without in6_pktinfo

7 years agoRemove support for legacy systems without sin6_scope_id
Ondřej Surý [Tue, 21 Aug 2018 11:17:00 +0000 (13:17 +0200)] 
Remove support for legacy systems without sin6_scope_id

7 years agoRemove support for legacy platforms without in6addr_loopback
Ondřej Surý [Tue, 21 Aug 2018 11:07:05 +0000 (13:07 +0200)] 
Remove support for legacy platforms without in6addr_loopback

7 years agoRemove support for legacy systems without in6addr_any
Ondřej Surý [Tue, 21 Aug 2018 10:54:15 +0000 (12:54 +0200)] 
Remove support for legacy systems without in6addr_any

7 years agoRemove support for pre-RFC2133 IPv6 implementation (in_addr6)
Ondřej Surý [Tue, 21 Aug 2018 09:59:52 +0000 (11:59 +0200)] 
Remove support for pre-RFC2133 IPv6 implementation (in_addr6)

7 years agoRemove support for legacy KAME IPv6 stack
Ondřej Surý [Tue, 21 Aug 2018 09:51:57 +0000 (11:51 +0200)] 
Remove support for legacy KAME IPv6 stack

7 years agoRequire IPv6 support from the OS
Ondřej Surý [Tue, 21 Aug 2018 09:50:23 +0000 (11:50 +0200)] 
Require IPv6 support from the OS

7 years agoWe always want IPv6
Ondřej Surý [Tue, 21 Aug 2018 09:28:24 +0000 (11:28 +0200)] 
We always want IPv6

7 years agoRemove support for legacy SGI IRIX
Ondřej Surý [Tue, 21 Aug 2018 09:20:27 +0000 (11:20 +0200)] 
Remove support for legacy SGI IRIX

7 years agoRemove legacy support for Compaq TruCluster
Ondřej Surý [Tue, 21 Aug 2018 09:11:43 +0000 (11:11 +0200)] 
Remove legacy support for Compaq TruCluster

7 years agoRemove legacy support for HP-UX
Ondřej Surý [Tue, 21 Aug 2018 09:09:34 +0000 (11:09 +0200)] 
Remove legacy support for HP-UX

7 years agoRemove legacy support for SunOS
Ondřej Surý [Tue, 21 Aug 2018 08:56:14 +0000 (10:56 +0200)] 
Remove legacy support for SunOS

7 years agoRemove legacy support for Tru64
Ondřej Surý [Tue, 21 Aug 2018 08:53:38 +0000 (10:53 +0200)] 
Remove legacy support for Tru64

7 years agoRemove legacy support for AIX
Ondřej Surý [Tue, 21 Aug 2018 08:45:29 +0000 (10:45 +0200)] 
Remove legacy support for AIX

7 years agoRemove legacy BSD/OS support (ipv6,various hacks)
Ondřej Surý [Tue, 21 Aug 2018 08:33:36 +0000 (10:33 +0200)] 
Remove legacy BSD/OS support (ipv6,various hacks)

7 years agoRemove legacy UnixWare support (sigwait, ipv6)
Ondřej Surý [Tue, 21 Aug 2018 08:23:28 +0000 (10:23 +0200)] 
Remove legacy UnixWare support (sigwait, ipv6)

7 years agoMerge branch 'gitlab-ci-dont-run-make-clean' into 'master'
Ondřej Surý [Tue, 28 Aug 2018 05:18:18 +0000 (01:18 -0400)] 
Merge branch 'gitlab-ci-dont-run-make-clean' into 'master'

Disable make clean at the end of configure step in GitLab CI

See merge request isc-projects/bind9!714

7 years agoDisable make clean at the end of configure step in GitLab CI
Ondřej Surý [Fri, 17 Aug 2018 14:50:48 +0000 (16:50 +0200)] 
Disable make clean at the end of configure step in GitLab CI

7 years agoMerge branch '496-fix-freebsd-issue' into 'master'
Ondřej Surý [Mon, 27 Aug 2018 18:34:47 +0000 (14:34 -0400)] 
Merge branch '496-fix-freebsd-issue' into 'master'

threads.h was missing on C11/thread_local builds

Closes #496

See merge request isc-projects/bind9!712

7 years agoInclude threads.h for thread_local
Witold Kręcicki [Mon, 27 Aug 2018 14:41:43 +0000 (16:41 +0200)] 
Include threads.h for thread_local

7 years agoMerge branch '498-clang-scan-build-detected-errors' into 'master'
Stephen Morris [Mon, 27 Aug 2018 14:25:22 +0000 (10:25 -0400)] 
Merge branch '498-clang-scan-build-detected-errors' into 'master'

Resolve "clang scan-build detected errors"

Closes #498

See merge request isc-projects/bind9!703

7 years agoCleanup couple of set-but-unused errors from Coverity
Ondřej Surý [Fri, 24 Aug 2018 19:38:39 +0000 (21:38 +0200)] 
Cleanup couple of set-but-unused errors from Coverity

7 years agoInitialize all tvresults to ISC_R_UNSET
Ondřej Surý [Fri, 24 Aug 2018 19:38:06 +0000 (21:38 +0200)] 
Initialize all tvresults to ISC_R_UNSET

7 years agoMerge branch '499-fix-rsabigexponent-with-pkc11' into 'master'
Witold Krecicki [Mon, 27 Aug 2018 09:33:29 +0000 (05:33 -0400)] 
Merge branch '499-fix-rsabigexponent-with-pkc11' into 'master'

Resolve "rsabigexponent test is broken w/pkcs11"

Closes #499

See merge request isc-projects/bind9!711

7 years agoRun rsabigexponent test only when OpenSSL is used as cryptography provider
Ondřej Surý [Mon, 27 Aug 2018 09:24:32 +0000 (11:24 +0200)] 
Run rsabigexponent test only when OpenSSL is used as cryptography provider

7 years agoMerge branch 'update-documentation-for-ms-and-krb5-rules' into 'master'
Mark Andrews [Mon, 27 Aug 2018 06:58:36 +0000 (02:58 -0400)] 
Merge branch 'update-documentation-for-ms-and-krb5-rules' into 'master'

update {krb5,ms}-{self,subdomain} descriptions

See merge request isc-projects/bind9!708

7 years agoadd CHANGES note
Mark Andrews [Mon, 27 Aug 2018 06:46:07 +0000 (16:46 +1000)] 
add CHANGES note

7 years agoupdate {krb5,ms}-{self,subdomain} descriptions
Mark Andrews [Fri, 24 Aug 2018 02:16:14 +0000 (12:16 +1000)] 
update {krb5,ms}-{self,subdomain} descriptions

7 years agoMerge branch '487-reset-dig-exit-code-after-a-tcp-connection-is-established' into...
Mark Andrews [Mon, 27 Aug 2018 04:07:21 +0000 (00:07 -0400)] 
Merge branch '487-reset-dig-exit-code-after-a-tcp-connection-is-established' into 'master'

Reset dig exit code after a TCP connection is established

Closes #487

See merge request isc-projects/bind9!698

7 years agoAdd CHANGES entry
Michał Kępień [Fri, 24 Aug 2018 11:49:45 +0000 (13:49 +0200)] 
Add CHANGES entry

5020. [bug] dig returned a non-zero exit code when it received a
reply over TCP after a retry. [GL #487]

7 years agoReset dig exit code after a TCP connection is established
Michał Kępień [Fri, 24 Aug 2018 11:49:45 +0000 (13:49 +0200)] 
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.

7 years agoMerge branch 'set-use-alt-transfer-source-no-in-the-mirror-system-test' into 'master'
Michał Kępień [Sat, 25 Aug 2018 20:20:28 +0000 (16:20 -0400)] 
Merge branch 'set-use-alt-transfer-source-no-in-the-mirror-system-test' into 'master'

Set "use-alt-transfer-source no;" in the "mirror" system test

See merge request isc-projects/bind9!705

7 years agoSet "use-alt-transfer-source no;" in the "mirror" system test
Michał Kępień [Sat, 25 Aug 2018 19:48:17 +0000 (21:48 +0200)] 
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.

7 years agoMerge branch '496-tls-in-rng' into 'master'
Ondřej Surý [Sat, 25 Aug 2018 12:08:13 +0000 (08:08 -0400)] 
Merge branch '496-tls-in-rng' into 'master'

Resolve "RNG should not be locking"

Closes #340 and #496

See merge request isc-projects/bind9!697

7 years agoUse __declspec( thread ) for thread local storage when compiling with Visual Studio...
Ondřej Surý [Sat, 25 Aug 2018 11:29:27 +0000 (13:29 +0200)] 
Use __declspec( thread ) for thread local storage when compiling with Visual Studio 2015 and higher

7 years agoAdd runtime check on top of pthread_mutex_{lock,unlock} in rng
Witold Kręcicki [Sat, 25 Aug 2018 11:25:51 +0000 (13:25 +0200)] 
Add runtime check on top of pthread_mutex_{lock,unlock} in rng

7 years agoUse TLS variables to store RNG state, make RNG lockless
Witold Kręcicki [Fri, 24 Aug 2018 09:21:27 +0000 (11:21 +0200)] 
Use TLS variables to store RNG state, make RNG lockless

7 years agoMerge branch 'fix-line-continuation-in-fuzz-Makefile.in' into 'master'
Ondřej Surý [Fri, 24 Aug 2018 15:01:10 +0000 (11:01 -0400)] 
Merge branch 'fix-line-continuation-in-fuzz-Makefile.in' into 'master'

Fix line continuation in fuzz/Makefile.in

See merge request isc-projects/bind9!699

7 years agoFix line continuation in fuzz/Makefile.in
Michał Kępień [Fri, 24 Aug 2018 12:00:32 +0000 (14:00 +0200)] 
Fix line continuation in fuzz/Makefile.in

Add a missing semicolon to prevent "make test" run from the top-level
directory from failing even when all system and unit tests succeed due
to "(cd fuzz && ${MAKE} check)" returning a non-zero exit code.

7 years agoMerge branch '470-log-a-message-when-ixfr-from-differences-is-set-for-an-inline-signe...
Michał Kępień [Fri, 24 Aug 2018 08:35:29 +0000 (04:35 -0400)] 
Merge branch '470-log-a-message-when-ixfr-from-differences-is-set-for-an-inline-signed-zone' into 'master'

Log a message when "ixfr-from-differences" is set for an inline-signed zone

Closes #470

See merge request isc-projects/bind9!648

7 years agoAdd CHANGES entry
Michał Kępień [Fri, 24 Aug 2018 08:18:59 +0000 (10:18 +0200)] 
Add CHANGES entry

5019. [cleanup] A message is now logged when ixfr-from-differences is
set at zone level for an inline-signed zone. [GL #470]

7 years agoLog a message when "ixfr-from-differences" is set for an inline-signed zone
Michał Kępień [Fri, 24 Aug 2018 08:18:59 +0000 (10:18 +0200)] 
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.

7 years agoMerge branch '491-prevent-a-race-in-the-inline-system-test' into 'master'
Michał Kępień [Fri, 24 Aug 2018 07:55:13 +0000 (03:55 -0400)] 
Merge branch '491-prevent-a-race-in-the-inline-system-test' into 'master'

Prevent a race in the "inline" system test

Closes #491

See merge request isc-projects/bind9!682

7 years agoPrevent a race in the "inline" system test
Michał Kępień [Fri, 24 Aug 2018 07:37:37 +0000 (09:37 +0200)] 
Prevent a race in the "inline" system test

A short time window exists between logging the addition of an NSEC3PARAM
record to a zone and committing it to the current version of the zone
database.  If a query arrives during such a time window, an unsigned
response will be returned.  One of the checks in the "inline" system
test requires NSEC3 records to be present in an answer - that check
would fail in the case described above.  Use rndc instead of log
watching for checking whether zone signing and NSEC3 chain modifications
are complete in order to prevent intermittent "inline" system test
failures.

7 years agoMerge branch 'fix-non-portable' into 'master'
Mark Andrews [Fri, 24 Aug 2018 01:29:52 +0000 (21:29 -0400)] 
Merge branch 'fix-non-portable' into 'master'

use sizeof(CK_SLOT_ID)

See merge request isc-projects/bind9!588

7 years agoadd CHANGES note
Mark Andrews [Fri, 24 Aug 2018 01:02:27 +0000 (11:02 +1000)] 
add CHANGES note

7 years agouse sizeof(CK_SLOT_ID)
Mark Andrews [Thu, 2 Aug 2018 04:49:31 +0000 (14:49 +1000)] 
use sizeof(CK_SLOT_ID)

7 years agoMerge branch 'value-not-updated-atomically' into 'master'
Mark Andrews [Fri, 24 Aug 2018 00:49:38 +0000 (20:49 -0400)] 
Merge branch 'value-not-updated-atomically' into 'master'

unlink before unlock

See merge request isc-projects/bind9!589

7 years agoadd CHANGES note
Mark Andrews [Fri, 24 Aug 2018 00:41:11 +0000 (10:41 +1000)] 
add CHANGES note

7 years agounlink before unlock
Mark Andrews [Thu, 2 Aug 2018 05:01:03 +0000 (15:01 +1000)] 
unlink before unlock

7 years agoMerge branch '445-filter-aaaa-and-dns64-can-both-attempt-to-recurse-for-a-records...
Mark Andrews [Thu, 23 Aug 2018 23:44:18 +0000 (19:44 -0400)] 
Merge branch '445-filter-aaaa-and-dns64-can-both-attempt-to-recurse-for-a-records-at-the-same-time' into 'master'

Resolve "filter-aaaa and dns64 can both attempt to recurse for A records at the same time"

Closes #445

See merge request isc-projects/bind9!561

7 years agoadd CHANGES note
Mark Andrews [Thu, 23 Aug 2018 23:29:35 +0000 (09:29 +1000)] 
add CHANGES note

7 years agowhen filter-aaaa and dns64 are both configured a assertion failure could occur
Mark Andrews [Tue, 31 Jul 2018 01:16:22 +0000 (11:16 +1000)] 
when filter-aaaa and dns64 are both configured a assertion failure could occur

7 years agoMerge branch '436-fix-dnstap-test' into 'master'
Evan Hunt [Thu, 23 Aug 2018 18:11:45 +0000 (14:11 -0400)] 
Merge branch '436-fix-dnstap-test' into 'master'

Resolve "dnstap tests are failing in Jenkins"

Closes #436

See merge request isc-projects/bind9!683

7 years agospecify "dnssec-validation yes" instead of default "auto"
Evan Hunt [Thu, 23 Aug 2018 17:51:07 +0000 (10:51 -0700)] 
specify "dnssec-validation yes" instead of default "auto"

7 years agoMerge branch 'bump-to-9.13.3-dev' into 'master'
Ondřej Surý [Thu, 23 Aug 2018 10:11:51 +0000 (06:11 -0400)] 
Merge branch 'bump-to-9.13.3-dev' into 'master'

Bump the version in the master to 9.13.3-dev

See merge request isc-projects/bind9!679

7 years agoBump the version in the master to 9.13.3-dev
Ondřej Surý [Thu, 23 Aug 2018 07:56:29 +0000 (09:56 +0200)] 
Bump the version in the master to 9.13.3-dev

7 years agoMerge branch 'run-update_copyrights' into 'master'
Ondřej Surý [Thu, 23 Aug 2018 09:52:56 +0000 (05:52 -0400)] 
Merge branch 'run-update_copyrights' into 'master'

Run update copyrights in precheck stage

See merge request isc-projects/bind9!680

7 years agoCheck update_copyright results in precheck stage
Ondřej Surý [Thu, 23 Aug 2018 08:20:37 +0000 (10:20 +0200)] 
Check update_copyright results in precheck stage

7 years agoWhitespace fixes
Ondřej Surý [Thu, 23 Aug 2018 08:19:43 +0000 (10:19 +0200)] 
Whitespace fixes

7 years agoCleanup cruft in util/copyrights
Ondřej Surý [Thu, 23 Aug 2018 08:19:17 +0000 (10:19 +0200)] 
Cleanup cruft in util/copyrights

7 years agoMake update_copyrights return error code when error is encountered during processing...
Ondřej Surý [Thu, 23 Aug 2018 08:18:58 +0000 (10:18 +0200)] 
Make update_copyrights return error code when error is encountered during processing the files

7 years agoMerge branch 'bshastry/bind9-oss-fuzz' into 'master'
Ondřej Surý [Thu, 23 Aug 2018 08:27:11 +0000 (04:27 -0400)] 
Merge branch 'bshastry/bind9-oss-fuzz' into 'master'

Add a skeleton directory for the oss-fuzz testing

See merge request isc-projects/bind9!530

7 years agooss-fuzz: Improve interaction with fuzzing tools and add new tests in fuzz/ directory
Bhargava Shastry [Tue, 3 Jul 2018 13:45:11 +0000 (15:45 +0200)] 
oss-fuzz: Improve interaction with fuzzing tools and add new tests in fuzz/ directory

7 years agoMerge branch '484-fix-non-libtool-build' into 'master'
Evan Hunt [Wed, 22 Aug 2018 21:00:52 +0000 (17:00 -0400)] 
Merge branch '484-fix-non-libtool-build' into 'master'

Resolve "Build Fails with --enable-developer when building without libtool"

Closes #484

See merge request isc-projects/bind9!676

7 years agoset PTHREAD_CFLAGS when building backtrace_test_nosymtbl
Evan Hunt [Wed, 22 Aug 2018 19:21:17 +0000 (12:21 -0700)] 
set PTHREAD_CFLAGS when building backtrace_test_nosymtbl

7 years agoMerge branch '435-fix-reloading-inline-signed-zones' into 'master'
Michał Kępień [Wed, 22 Aug 2018 10:00:56 +0000 (06:00 -0400)] 
Merge branch '435-fix-reloading-inline-signed-zones' into 'master'

Fix reloading inline-signed zones

Closes #435

See merge request isc-projects/bind9!664

7 years agoAdd CHANGES entry
Michał Kępień [Wed, 22 Aug 2018 09:28:54 +0000 (11:28 +0200)] 
Add CHANGES entry

5015. [bug] Reloading all zones caused zone maintenance to cease
for inline-signed zones. [GL #435]

7 years agoFix reloading inline-signed zones
Michał Kępień [Wed, 22 Aug 2018 09:28:54 +0000 (11:28 +0200)] 
Fix reloading inline-signed zones

While "rndc reload" causes dns_zone_asyncload() to be called for the
signed version of an inline-signed zone, the subsequent zone_load() call
causes the raw version to be reloaded from storage.  This means that
DNS_ZONEFLG_LOADPENDING gets set for the signed version of the zone by
dns_zone_asyncload() before the reload is attempted, but zone_postload()
is only called for the raw version and thus DNS_ZONEFLG_LOADPENDING is
cleared for the raw version, but not for the signed version.  This in
turn prevents zone maintenance from happening for the signed version of
the zone.

Until commit 29b7efdd9f8ce9b49371809498744c4b076dc3ee, this problem
remained dormant because DNS_ZONEFLG_LOADPENDING was previously
immediately, unconditionally cleared after zone loading was started
(whereas it should only be cleared when zone loading is finished or an
error occurs).  This behavior caused other issues [1] and thus had to be
changed.

Fix reloading inline-signed zones by clearing DNS_ZONEFLG_LOADPENDING
for the signed version of the zone once the raw version reload
completes.  Take care not to clear it prematurely during initial zone
load.  Also make sure that DNS_ZONEFLG_LOADPENDING gets cleared when
zone_postload() encounters an error or returns early, to prevent other
scenarios from resulting in the same problem.  Add comments aiming to
help explain code flow.

[1] see RT #47076

7 years agoMerge branch '482-fix-secure-journal-loading-for-inline-signed-zones' into 'master'
Michał Kępień [Wed, 22 Aug 2018 09:21:20 +0000 (05:21 -0400)] 
Merge branch '482-fix-secure-journal-loading-for-inline-signed-zones' into 'master'

Set DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone

Closes #482

See merge request isc-projects/bind9!663

7 years agoAdd CHANGES entry
Michał Kępień [Wed, 22 Aug 2018 08:48:07 +0000 (10:48 +0200)] 
Add CHANGES entry

5014. [bug] Signatures loaded from the journal for the signed
version of an inline-signed zone were not scheduled for
refresh. [GL #482]

7 years agoSet DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone
Michał Kępień [Wed, 22 Aug 2018 08:48:07 +0000 (10:48 +0200)] 
Set DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone

When an inline-signed zone is loaded, the master file for its signed
version is loaded and then a rollforward of the journal for the signed
version of the zone is performed.  If DNS_JOURNALOPT_RESIGN is not set
during the latter phase, signatures loaded from the journal for the
signed version of the zone will not be scheduled for refresh.  Fix the
conditional expression determining which flags should be used for the
dns_journal_rollforward() call so that DNS_JOURNALOPT_RESIGN is set when
zone_postload() is called for the signed version of an inline-signed
zone.

Extend bin/tests/system/stop.pl so that it can use "rndc halt" instead
of "rndc stop" as the former allows master file flushing upon shutdown
to be suppressed.

7 years agoMerge branch '390-do-not-treat-a-referral-with-a-non-empty-answer-section-as-an-error...
Michał Kępień [Wed, 22 Aug 2018 08:42:58 +0000 (04:42 -0400)] 
Merge branch '390-do-not-treat-a-referral-with-a-non-empty-answer-section-as-an-error' into 'master'

Do not treat a referral with a non-empty ANSWER section as an error

Closes #390

See merge request isc-projects/bind9!628

7 years agoAdd CHANGES entry
Michał Kępień [Wed, 22 Aug 2018 08:12:53 +0000 (10:12 +0200)] 
Add CHANGES entry

5013. [bug] A referral response with a non-empty ANSWER section was
inadvertently being treated as an error. [GL #390]

7 years agoDo not treat a referral with a non-empty ANSWER section as an error
Michał Kępień [Wed, 22 Aug 2018 08:12:53 +0000 (10:12 +0200)] 
Do not treat a referral with a non-empty ANSWER section as an error

As part of resquery_response() refactoring [1], a goto statement was
replaced [2] with a call to a new function - originally called
rctx_delegation(), now folded into rctx_answer_none() - extracted from
existing code.  However, one call site of that refactored function does
not reset the "result" variable, causing a referral with a non-empty
ANSWER section to be inadvertently treated as an error, which prevents
resolution of names reliant on servers sending such responses.  Fix by
resetting the "result" variable to ISC_R_SUCCESS when a response
containing a non-empty ANSWER section can be treated as a delegation.

[1] see RT #45362

[2] see commit e1380a16741a3b4a57e54d7a9ce09dd12691522f

7 years agoMerge branch 'fix-lock-order-reversal' into 'master'
Mark Andrews [Tue, 21 Aug 2018 03:17:33 +0000 (23:17 -0400)] 
Merge branch 'fix-lock-order-reversal' into 'master'

fix lock order reversal

See merge request isc-projects/bind9!590

7 years agoadd CHANGES note
Mark Andrews [Tue, 21 Aug 2018 02:18:27 +0000 (12:18 +1000)] 
add CHANGES note