]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoadd krb5-selfsub and ms-selfsub
Mark Andrews [Thu, 30 Aug 2018 08:31:17 +0000 (18:31 +1000)] 
add krb5-selfsub and ms-selfsub

(cherry picked from commit fbeefd4990a53daabcbbc2130b39f0e7e1e6dd50)

7 years agocheck that name field is not a valid type
Mark Andrews [Thu, 6 Sep 2018 09:36:17 +0000 (19:36 +1000)] 
check that name field is not a valid type

(cherry picked from commit 5fb75a3d75946fbdb3cd1ed3229b81724a1d40f3)

7 years agofix dns_ssumatchtype_subdomainms dns_ssumatchtype_subdomainkrb5 as they don't require...
Mark Andrews [Thu, 6 Sep 2018 03:51:24 +0000 (13:51 +1000)] 
fix dns_ssumatchtype_subdomainms dns_ssumatchtype_subdomainkrb5 as they don't require the name field to be '.'

(cherry picked from commit 156d86e6737f6fbe77cd6d2a76209297822dc39c)

7 years agoMerge branch '532-master-doesn-t-build-on-macos-due-to-class-of-align-macros-v9_11...
Mark Andrews [Sun, 9 Sep 2018 23:39:43 +0000 (19:39 -0400)] 
Merge branch '532-master-doesn-t-build-on-macos-due-to-class-of-align-macros-v9_11' into 'v9_11'

Resolve "master doesn't build on MacOS due to class of ALIGN macros"

See merge request isc-projects/bind9!776

7 years agoavoid macro name collision with system defined macro
Mark Andrews [Sun, 9 Sep 2018 23:18:17 +0000 (09:18 +1000)] 
avoid macro name collision with system defined macro

(cherry picked from commit 81b133d9638114457b3fc237b25066cc59e221e9)

7 years agoMerge branch 'patch-2-v9_11' into 'v9_11'
Evan Hunt [Fri, 7 Sep 2018 23:12:58 +0000 (19:12 -0400)] 
Merge branch 'patch-2-v9_11' into 'v9_11'

Replace isc-logo.pdf. The one in here is obsolete. If we need a different size…

See merge request isc-projects/bind9!773

7 years agoupdate isc-logo.pdf to current logo version, remove isc-logo.eps
Evan Hunt [Fri, 7 Sep 2018 22:59:32 +0000 (15:59 -0700)] 
update isc-logo.pdf to current logo version, remove isc-logo.eps

(cherry picked from commit ad9bf4c6628e6623305bf6a066515bc40491a341)

7 years agoMerge branch '344-add-stdatomic-shim' into 'v9_11'
Ondřej Surý [Fri, 7 Sep 2018 17:11:38 +0000 (13:11 -0400)] 
Merge branch '344-add-stdatomic-shim' into 'v9_11'

Provide compatibility stdatomic.h shim when compiled with C++ compiler

See merge request isc-projects/bind9!702

7 years agoRemove excessive inclusion of isc/refcount.h from various header files
Ondřej Surý [Fri, 24 Aug 2018 13:07:41 +0000 (15:07 +0200)] 
Remove excessive inclusion of isc/refcount.h from various header files

7 years agoUse isc/stdatomic.h to switch to __atomic builtins when compiling in C++ mode
Ondřej Surý [Fri, 24 Aug 2018 12:17:52 +0000 (14:17 +0200)] 
Use isc/stdatomic.h to switch to __atomic builtins when compiling in C++ mode

7 years agoMerge branch '521-align-cmsg-buffers-v9_11' into 'v9_11'
Ondřej Surý [Fri, 7 Sep 2018 08:39:21 +0000 (04:39 -0400)] 
Merge branch '521-align-cmsg-buffers-v9_11' into 'v9_11'

(v9_11) Resolve "BIND 9.11.4 terminates with SIGBUS error when compiled with Oracle Developer Studio 12.6"

See merge request isc-projects/bind9!769

7 years agoAlign CMSG buffers to a void* boundary, fixes crash on architectures with strict...
Witold Kręcicki [Fri, 7 Sep 2018 07:34:32 +0000 (09:34 +0200)] 
Align CMSG buffers to a void* boundary, fixes crash on architectures with strict alignment
CHANGES entry

(cherry picked from commit 17212cf9965a1a0ec8412b807fe08f74e059cc1c)

7 years agoMerge branch 'cplusplusize_dns_fixedname_h' into 'v9_11'
Mark Andrews [Wed, 5 Sep 2018 22:08:29 +0000 (18:08 -0400)] 
Merge branch 'cplusplusize_dns_fixedname_h' into 'v9_11'

Add C++ declarations to dns/fixedname.h

See merge request isc-projects/bind9!762

7 years agoAdd C++ declarations to dns/fixedname.h
Ondřej Surý [Wed, 5 Sep 2018 21:48:04 +0000 (23:48 +0200)] 
Add C++ declarations to dns/fixedname.h

7 years agoMerge branch 'fail-on-failed-install-v9_12-v9_11' into 'v9_11'
Ondřej Surý [Mon, 3 Sep 2018 12:00:55 +0000 (08:00 -0400)] 
Merge branch 'fail-on-failed-install-v9_12-v9_11' into 'v9_11'

Fail on failed install inside for loops

See merge request isc-projects/bind9!754

7 years agoBail-out early in the for install loops instead of continuing because for masks the...
Ondřej Surý [Mon, 3 Sep 2018 10:05:45 +0000 (12:05 +0200)] 
Bail-out early in the for install loops instead of continuing because for masks the error in the middle

(cherry picked from commit 25248eb09792f67bdc705da3b6b38e262ea3211f)
(cherry picked from commit 3fbceba0a87c40ed9d0a834d76b31ccc41dafcc9)

7 years agoMerge branch 'solaris-fixes-v9_12-v9_11' into 'v9_11'
Evan Hunt [Sat, 1 Sep 2018 01:02:44 +0000 (21:02 -0400)] 
Merge branch 'solaris-fixes-v9_12-v9_11' into 'v9_11'

Silence some warnings and errors

See merge request isc-projects/bind9!749

7 years agoSilence some warnings and errors
Witold Krecicki [Thu, 30 Aug 2018 11:16:15 +0000 (13:16 +0200)] 
Silence some warnings and errors

(cherry picked from commit 0f0dfc7f86bc60a63e2d7da5ae8a4020575cf0b7)

7 years agoMerge branch '510-resolver-test-was-failing-v9_11' into 'v9_11'
Mark Andrews [Fri, 31 Aug 2018 08:53:29 +0000 (04:53 -0400)] 
Merge branch '510-resolver-test-was-failing-v9_11' into 'v9_11'

Resolve "Resolver test was failing"

See merge request isc-projects/bind9!742

7 years agouse pack to construct the reply as Net::DNS just get it wrong
Mark Andrews [Wed, 29 Aug 2018 06:09:09 +0000 (16:09 +1000)] 
use pack to construct the reply as Net::DNS just get it wrong

(cherry picked from commit feaf381adb6d2f75caebefff95ddd66511ac056c)

7 years agoMerge branch '418-bind-in-auto-dnssec-mode-should-support-signature-expiration-jitter...
Mark Andrews [Fri, 31 Aug 2018 03:20:40 +0000 (23:20 -0400)] 
Merge branch '418-bind-in-auto-dnssec-mode-should-support-signature-expiration-jitter-v9_11' into 'v9_11'

Resolve "BIND in auto-dnssec mode should support signature expiration jitter"

See merge request isc-projects/bind9!740

7 years agoadd changes note
Mark Andrews [Tue, 21 Aug 2018 01:09:12 +0000 (11:09 +1000)] 
add changes note

(cherry picked from commit d68499e1f7d28fffba86a4e289664f67b5351cd4)

7 years agoreport initial RRSIG expiry field values
Mark Andrews [Fri, 17 Aug 2018 00:58:44 +0000 (10:58 +1000)] 
report initial RRSIG expiry field values

(cherry picked from commit 8e5abc6cdff27c2719e37965ed088a8be6f0e666)

7 years agoincrease jitter to cover the entire potential steady state expire range when initiall...
Mark Andrews [Fri, 17 Aug 2018 00:56:02 +0000 (10:56 +1000)] 
increase jitter to cover the entire potential steady state expire range when initially signing the zone

(cherry picked from commit 050fca2139a69b8057a8f5f87966b1e7215d78bc)

7 years agoMerge branch '519-unclosed-files-in-lib-dns-tests-zt_test-c-v9_11' into 'v9_11'
Mark Andrews [Fri, 31 Aug 2018 02:43:17 +0000 (22:43 -0400)] 
Merge branch '519-unclosed-files-in-lib-dns-tests-zt_test-c-v9_11' into 'v9_11'

Resolve "unclosed files in lib/dns/tests/zt_test.c"

See merge request isc-projects/bind9!738

7 years agofclose origfile and zonefile
Mark Andrews [Fri, 31 Aug 2018 02:13:19 +0000 (12:13 +1000)] 
fclose origfile and zonefile

(cherry picked from commit 455bb23236b2a3ba3be2e3d8f509f5bb200ca18d)

7 years agoMerge branch 'rndc-reconfig-missing-CHANGES_v9_11' into 'v9_11'
Ondřej Surý [Wed, 29 Aug 2018 11:45:40 +0000 (07:45 -0400)] 
Merge branch 'rndc-reconfig-missing-CHANGES_v9_11' into 'v9_11'

Add missing CHANGES entry

See merge request isc-projects/bind9!729

7 years agoCHANGES entry
Witold Kręcicki [Tue, 28 Aug 2018 16:01:55 +0000 (18:01 +0200)] 
CHANGES entry

7 years agoMerge branch 'silence-warning-v9_11' into 'v9_11'
Evan Hunt [Tue, 28 Aug 2018 23:33:18 +0000 (19:33 -0400)] 
Merge branch 'silence-warning-v9_11' into 'v9_11'

silence "missing print.h" warning

See merge request isc-projects/bind9!725

7 years agosilence "missing print.h" warning
Evan Hunt [Tue, 28 Aug 2018 22:59:20 +0000 (15:59 -0700)] 
silence "missing print.h" warning

(cherry picked from commit 3c18b7d3fd142eeb086c109cfc3e6504e61e8159)

7 years agoMerge branch '276-rndc-reconfig-fixes-v911' into 'v9_11'
Witold Krecicki [Tue, 28 Aug 2018 15:02:29 +0000 (11:02 -0400)] 
Merge branch '276-rndc-reconfig-fixes-v911' into 'v9_11'

Resolve "rndc reconfig now performs stat() for all zones"

See merge request isc-projects/bind9!519

7 years agorndc reconfig should not stat on existing zones, just load new ones.
Witold Kręcicki [Mon, 9 Jul 2018 11:01:49 +0000 (13:01 +0200)] 
rndc reconfig should not stat on existing zones, just load new ones.

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

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

See merge request isc-projects/bind9!716

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

(cherry picked from commit a1d783bbe28a76c580cce3f9a0d8abad93d3ea80)

7 years agoMerge branch 'update-documentation-for-ms-and-krb5-rules-v9_11' into 'v9_11'
Mark Andrews [Mon, 27 Aug 2018 07:09:56 +0000 (03:09 -0400)] 
Merge branch 'update-documentation-for-ms-and-krb5-rules-v9_11' into 'v9_11'

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

See merge request isc-projects/bind9!710

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

(cherry picked from commit a3c5c2c29c46cba6d077364af86984fd5d1ebedd)

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

(cherry picked from commit 0370d136673052dbe18e830182e73278bbba9c21)

7 years agoMerge branch '487-reset-dig-exit-code-after-a-tcp-connection-is-established-v9_11...
Mark Andrews [Mon, 27 Aug 2018 05:55:36 +0000 (01:55 -0400)] 
Merge branch '487-reset-dig-exit-code-after-a-tcp-connection-is-established-v9_11' into 'v9_11'

Reset dig exit code after a TCP connection is established

See merge request isc-projects/bind9!707

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]

(cherry picked from commit 59057bee5b1b8ad65f21fc241164663f051e23ee)

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.

(cherry picked from commit deb3b85cb2faba8fd72172a8df0e0631033196aa)

7 years agoMerge branch 'run-update_copyrights-v9_11' into 'v9_11'
Ondřej Surý [Fri, 24 Aug 2018 12:46:21 +0000 (08:46 -0400)] 
Merge branch 'run-update_copyrights-v9_11' into 'v9_11'

[v9_11] Run and check update_copyrights script in precheck stage

See merge request isc-projects/bind9!700

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

(cherry picked from commit 4016369212a4868edcdc83be2ee91493833c90ed)

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

(cherry picked from commit 31b536094313af33dcd84e96eb16ac83b207ed82)

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

(cherry picked from commit 65de91f51257c478c3be19edad14620dc4d319b4)

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

(cherry picked from commit db3d69263d0476c71a8594a264a78b77430e2dc5)

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:34 +0000 (04:35 -0400)] 
Merge branch '470-log-a-message-when-ixfr-from-differences-is-set-for-an-inline-signed-zone-v9_11' into 'v9_11'

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

See merge request isc-projects/bind9!696

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]

(cherry picked from commit 4fb5d072c2c930e1904a3968bc71dc60259131de)

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.

(cherry picked from commit 087157d14fb201a61207599698097b08bbc6feae)

7 years agoMerge branch '477-fix-intermittent-mkeys-system-test-failures-v9_11' into 'v9_11'
Michał Kępień [Fri, 24 Aug 2018 08:10:44 +0000 (04:10 -0400)] 
Merge branch '477-fix-intermittent-mkeys-system-test-failures-v9_11' into 'v9_11'

[v9_11] Fix intermittent "mkeys" system test failures

See merge request isc-projects/bind9!694

7 years agoDo not call bin/tools/genrandom unconditionally in system tests
Michał Kępień [Fri, 24 Aug 2018 07:57:15 +0000 (09:57 +0200)] 
Do not call bin/tools/genrandom unconditionally in system tests

$RANDFILE, i.e. bin/tests/system/random.data, should only be written to
if a system test requires support for cryptography and that file does
not already exist.  Otherwise, when multiple system tests are run in
parallel, that file might get truncated due to bin/tools/genrandom.c
using fopen() with mode "w" when writing the destination file.  With
unfortunate timing, this may cause system tests employing BIND tools
which need entropy (e.g. dnssec-keygen) to fail.

Make sure bin/tests/system/metadata/tests.sh no longer calls
bin/tools/genrandom since $RANDFILE is guaranteed to already be created
by the time bin/tools/genrandom is currently called because
bin/tests/system/metadata/prereq.sh uses bin/tests/system/testcrypto.sh.

Make sure bin/tests/system/sfcache/prereq.sh only writes to $RANDFILE if
it does not already exist.

(cherry picked from commit c12388f5e8e27e6028b7fdb4485594731bb9c760)

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

[v9_11] Prevent a race in the "inline" system test

See merge request isc-projects/bind9!693

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.

(cherry picked from commit e36c869e8511ab890ec63d8449f1aa29214ebd32)

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

use sizeof(CK_SLOT_ID)

See merge request isc-projects/bind9!690

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

(cherry picked from commit 42b16771db1f131904ad967843c18aab71487c6c)

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)

(cherry picked from commit 2c1d8b2e998abc965edf62e470001365ec7b2cde)

7 years agoMerge branch 'value-not-updated-atomically-v9_11' into 'v9_11'
Mark Andrews [Fri, 24 Aug 2018 01:07:28 +0000 (21:07 -0400)] 
Merge branch 'value-not-updated-atomically-v9_11' into 'v9_11'

unlink before unlock

See merge request isc-projects/bind9!688

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

(cherry picked from commit 05531d3a867d0c9d98a09502e297b0d30a8daed3)

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

(cherry picked from commit 4742f4ecba886c94fb925c1bab6d14e81295ce82)

7 years agoMerge branch '445-filter-aaaa-and-dns64-can-both-attempt-to-recurse-for-a-records...
Mark Andrews [Fri, 24 Aug 2018 00:54:08 +0000 (20:54 -0400)] 
Merge branch '445-filter-aaaa-and-dns64-can-both-attempt-to-recurse-for-a-records-at-the-same-time-v9_11' into 'v9_11'

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

See merge request isc-projects/bind9!686

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

(cherry picked from commit c1bc3baf7f72868c9f082b4b871c6c183e0a38da)

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

(cherry picked from commit 1056376d10e78c37c8f58efdb6124cb36b88c117)

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

[v9_11] Fix reloading inline-signed zones

See merge request isc-projects/bind9!675

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]

(cherry picked from commit f9931f1d22841a9b0b1ea71a9f184205630540f9)

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 749b3cacfc781122c94f2f183b9ee6dcbbb9864d, 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

(cherry picked from commit 5431583971bd5bea89e47356f28e7718814593c0)

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

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

See merge request isc-projects/bind9!673

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]

(cherry picked from commit b3b1a9081b14bdc6ebc7c5a1f54349eb00ef8806)

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.

(cherry picked from commit 8db550c42f94b619b554d4e1e7b7fac53d780c30)

7 years agoMerge branch '9-use-C99-integer-types-in-lwres-v9_11' into 'v9_11'
Ondřej Surý [Wed, 22 Aug 2018 07:21:09 +0000 (03:21 -0400)] 
Merge branch '9-use-C99-integer-types-in-lwres-v9_11' into 'v9_11'

Resolve "Replace custom datatypes (isc_<foo>_t) with C11 equivalents"

See merge request isc-projects/bind9!669

7 years agoAdd install test job
Ondřej Surý [Tue, 14 Aug 2018 16:59:53 +0000 (18:59 +0200)] 
Add install test job

7 years agoWe want to install compatibility shim isc/int.h and isc/boolean.h headers
Ondřej Surý [Wed, 22 Aug 2018 07:07:39 +0000 (09:07 +0200)] 
We want to install compatibility shim isc/int.h and isc/boolean.h headers

7 years agoUpdate lwres to use stdint types to finish transition to using stdint types
Ondřej Surý [Tue, 21 Aug 2018 19:06:13 +0000 (21:06 +0200)] 
Update lwres to use stdint types to finish transition to using stdint types

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

fix lock order reversal

See merge request isc-projects/bind9!667

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

(cherry picked from commit 083007e930e6dbd225e26584e1b256dc1b1dd1e6)

7 years agofix lock order reversal
Mark Andrews [Thu, 2 Aug 2018 05:34:31 +0000 (15:34 +1000)] 
fix lock order reversal

(cherry picked from commit 2bb4392bb3de0b10f9e31f14e4f871f6863cfc2e)

7 years agoMerge branch '9-use-C99-integer-types-fix-install-v9_11' into 'v9_11'
Mark Andrews [Wed, 15 Aug 2018 00:23:32 +0000 (20:23 -0400)] 
Merge branch '9-use-C99-integer-types-fix-install-v9_11' into 'v9_11'

Resolve "Replace custom datatypes (isc_<foo>_t) with C11 equivalents"

See merge request isc-projects/bind9!633

7 years agoDon't install removed int.h and boolean.h headers
Ondřej Surý [Tue, 14 Aug 2018 06:50:52 +0000 (08:50 +0200)] 
Don't install removed int.h and boolean.h headers

7 years agoMerge branch '465-missing-check-in-acl_test-c-unit-test-v9_11' into 'v9_11'
Mark Andrews [Wed, 15 Aug 2018 00:13:08 +0000 (20:13 -0400)] 
Merge branch '465-missing-check-in-acl_test-c-unit-test-v9_11' into 'v9_11'

Resolve "Missing check in acl_test.c unit test"

See merge request isc-projects/bind9!652

7 years agoadd missing ATF_REQUIRE
Mark Andrews [Tue, 14 Aug 2018 07:44:00 +0000 (17:44 +1000)] 
add missing ATF_REQUIRE

(cherry picked from commit 0ce82e9d5f61f43a95d409b33b0e8a36cdd4f22c)

7 years agoMerge branch '474-mempool-is-broken-if-object-size-is-below-the-alignment-size-v9_11...
Evan Hunt [Tue, 14 Aug 2018 16:22:49 +0000 (12:22 -0400)] 
Merge branch '474-mempool-is-broken-if-object-size-is-below-the-alignment-size-v9_11' into 'v9_11'

Resolve "mempool is broken if object size is below the alignment size"

See merge request isc-projects/bind9!650

7 years agomempool didn't work for sizes less than sizeof(void*)
Mark Andrews [Tue, 14 Aug 2018 07:13:20 +0000 (17:13 +1000)] 
mempool didn't work for sizes less than sizeof(void*)

(cherry picked from commit 5dd1beec8eb73690ade0da70144e1d64693aac18)

7 years agoMerge branch '476-fix-openssl-error-logging-v9_11' into 'v9_11'
Michał Kępień [Tue, 14 Aug 2018 11:11:51 +0000 (07:11 -0400)] 
Merge branch '476-fix-openssl-error-logging-v9_11' into 'v9_11'

[v9_11] Fix OpenSSL error logging

See merge request isc-projects/bind9!646

7 years agoAdd CHANGES entry
Michał Kępień [Tue, 14 Aug 2018 10:49:19 +0000 (12:49 +0200)] 
Add CHANGES entry

5009. [bug] Upon an OpenSSL failure, the first error in the OpenSSL
error queue was not logged. [GL #476]

(cherry picked from commit 218166acf8bac5afa2ec5cbab4abc381edfd9e7c)

7 years agoDo not remove errors from the OpenSSL error queue in toresult()
Michał Kępień [Tue, 14 Aug 2018 10:49:19 +0000 (12:49 +0200)] 
Do not remove errors from the OpenSSL error queue in toresult()

dst__openssl_toresult3() first calls toresult() and subsequently uses
ERR_get_error_line_data() in a loop.  Given this, it is a mistake to use
ERR_get_error() in toresult() because it causes the retrieved error to
be removed from the OpenSSL error queue, thus preventing it from being
retrieved by the subsequent ERR_get_error_line_data() calls.  Fix by
using ERR_peek_error() instead of ERR_get_error() in toresult().

(cherry picked from commit 36436268b5428c8b9a05524fff8338c409a67824)

7 years agoMerge branch '471-fix-rbt_insert_and_remove-unit-test-v9_11' into 'v9_11'
Michał Kępień [Tue, 14 Aug 2018 09:11:19 +0000 (05:11 -0400)] 
Merge branch '471-fix-rbt_insert_and_remove-unit-test-v9_11' into 'v9_11'

[v9_11] Prevent rare rbt_insert_and_remove unit test failures

See merge request isc-projects/bind9!643

7 years agoPrevent rare rbt_insert_and_remove unit test failures
Michał Kępień [Tue, 14 Aug 2018 08:43:51 +0000 (10:43 +0200)] 
Prevent rare rbt_insert_and_remove unit test failures

When two or more absolute, two-label names are added to a completely
empty RBT, an extra, empty node for the root name will be created due to
node splitting.  check_tree() expects that, but the extra node will not
be created when just one name is added to a completely empty RBT.  This
problem could be handled inside check_tree(), but that would introduce
unnecessary complexity into it since adding a single name will result in
a different node count for a completely empty RBT (node count will be 1)
and an RBT containing only an empty node for the root name, created due
to prior node splitting (node count will be 2).  Thus, first explicitly
create a node for the root name to prevent rare check_tree() failures
caused by a single name being added in the first iteration of the
insert/remove loop.

(cherry picked from commit 13fe76379834b8d588abe5913a1a7676f4d6637e)

7 years agoMerge branch '285-make-the-inline-system-test-more-lightweight-v9_11' into 'v9_11'
Michał Kępień [Tue, 14 Aug 2018 08:39:02 +0000 (04:39 -0400)] 
Merge branch '285-make-the-inline-system-test-more-lightweight-v9_11' into 'v9_11'

[v9_11] Make the "inline" system test more lightweight

See merge request isc-projects/bind9!641

7 years agoMake the "inline" system test more lightweight
Michał Kępień [Tue, 14 Aug 2018 08:16:08 +0000 (10:16 +0200)] 
Make the "inline" system test more lightweight

Each zone used in the "inline" system test contains a few dozen records.
Over a dozen of these zones are used in the test.  Most records present
in these zones are not subsequently used in the test itself, but all of
them need to be signed by the named instances launched by the test,
which puts quite a bit of strain on lower-end machines, leading to
intermittent failures of the "inline" system test.  Remove all redundant
records from the zones used in the "inline" system test in order to
stabilize it.

(cherry picked from commit 24dd865b974d1f06f7f85ef011f7621f83ab6d74)

7 years agoMerge branch '468-queue-rndc-signing-nsec3param-requests-if-needed-v9_11' into 'v9_11'
Michał Kępień [Tue, 14 Aug 2018 07:44:58 +0000 (03:44 -0400)] 
Merge branch '468-queue-rndc-signing-nsec3param-requests-if-needed-v9_11' into 'v9_11'

[v9_11] Queue "rndc signing -nsec3param ..." requests if needed

See merge request isc-projects/bind9!638

7 years agoAdd CHANGES entry
Michał Kępień [Tue, 14 Aug 2018 07:22:43 +0000 (09:22 +0200)] 
Add CHANGES entry

5008. [bug] "rndc signing -nsec3param ..." requests were silently
ignored for zones which were not yet loaded or
transferred. [GL #468]

(cherry picked from commit eed6778be4493955e16393b07bec59a8da6e728d)

7 years agoQueue "rndc signing -nsec3param ..." requests if needed
Michał Kępień [Tue, 14 Aug 2018 07:22:43 +0000 (09:22 +0200)] 
Queue "rndc signing -nsec3param ..." requests if needed

If "rndc signing -nsec3param ..." is ran for a zone which has not yet
been loaded or transferred (i.e. its "db" field is NULL), it will be
silently ignored by named despite rndc logging an "nsec3param request
queued" message, which is misleading.  Prevent this by keeping a
per-zone queue of NSEC3PARAM change requests which arrive before a zone
is loaded or transferred and processing that queue once the raw version
of an inline-signed zone becomes available.

(cherry picked from commit cb40c5229aae51c97e9de6f60a58b55c9ffb2447)

7 years agoMerge branch '462-full-recv-queue-on-netbsd-v9_11' into 'v9_11'
Ondřej Surý [Mon, 13 Aug 2018 17:33:34 +0000 (13:33 -0400)] 
Merge branch '462-full-recv-queue-on-netbsd-v9_11' into 'v9_11'

Resolve "Full Recv-Queue"

See merge request isc-projects/bind9!631

7 years agoMake ENOBUFS a soft error
Ondřej Surý [Mon, 13 Aug 2018 07:35:42 +0000 (09:35 +0200)] 
Make ENOBUFS a soft error

(cherry picked from commit ebf3083e08f844160e3b868234328060f38dda86)

7 years agoMerge branch 'fix-extra-ending-brace-in-dnstap-code-v9_11' into 'v9_11'
Ondřej Surý [Sun, 12 Aug 2018 14:27:22 +0000 (10:27 -0400)] 
Merge branch 'fix-extra-ending-brace-in-dnstap-code-v9_11' into 'v9_11'

Fix extra closing parenthesis in DNSTAP code

See merge request isc-projects/bind9!625

7 years agoFix extra closing parenthesis in DNSTAP code
Ondřej Surý [Sun, 12 Aug 2018 14:12:14 +0000 (16:12 +0200)] 
Fix extra closing parenthesis in DNSTAP code

7 years agoMerge branch '223-fix-vcredist-path-v9_11' into 'v9_11'
Ondřej Surý [Sat, 11 Aug 2018 10:06:05 +0000 (06:06 -0400)] 
Merge branch '223-fix-vcredist-path-v9_11' into 'v9_11'

Resolve "Fix for Configure to find the path to VC++ redistributables under Visual Studio 2017"

See merge request isc-projects/bind9!619

7 years agoFix various build failures on Windows (Courtesy of rockerinthelocker)
Ondřej Surý [Wed, 30 May 2018 13:09:55 +0000 (15:09 +0200)] 
Fix various build failures on Windows (Courtesy of rockerinthelocker)

7 years agoRemove non-existant GUIDs from bind9.sln.in
Ondřej Surý [Wed, 30 May 2018 06:11:15 +0000 (08:11 +0200)] 
Remove non-existant GUIDs from bind9.sln.in

7 years agoMerge branch 'fix-missing-config.h-v9_12-v9_11' into 'v9_11'
Ondřej Surý [Sat, 11 Aug 2018 09:53:40 +0000 (05:53 -0400)] 
Merge branch 'fix-missing-config.h-v9_12-v9_11' into 'v9_11'

Fix missing config.h in win32/socket.c and replace config.h with <config.h>

See merge request isc-projects/bind9!624

7 years agoFix missing config.h in win32/socket.c and replace config.h with <config.h>
Ondřej Surý [Sat, 11 Aug 2018 08:43:23 +0000 (10:43 +0200)] 
Fix missing config.h in win32/socket.c and replace config.h with <config.h>

(cherry picked from commit d87c1a120df95ed51e0519f6b1c5c4f506e29ba1)

7 years agoMerge branch '469-typo-in-validate-glue-branch-v9_11' into 'v9_11'
Ondřej Surý [Sat, 11 Aug 2018 08:32:36 +0000 (04:32 -0400)] 
Merge branch '469-typo-in-validate-glue-branch-v9_11' into 'v9_11'

Resolve "Typo in validate-glue branch"

See merge request isc-projects/bind9!622