Ondřej Surý
d20fd7b109
Remove excessive inclusion of isc/refcount.h from various header files
2018-09-07 16:55:22 +02:00
Ondřej Surý
b92a1791b3
Use isc/stdatomic.h to switch to __atomic builtins when compiling in C++ mode
2018-09-07 16:55:22 +02:00
Ondřej Surý
76d034c512
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
2018-09-07 04:39:21 -04:00
Witold Kręcicki and Ondřej Surý
3da95ab2ed
Align CMSG buffers to a void* boundary, fixes crash on architectures with strict alignment
...
CHANGES entry
(cherry picked from commit 17212cf996 )
2018-09-07 10:30:12 +02:00
Mark Andrews
68cbc745b6
Merge branch 'cplusplusize_dns_fixedname_h' into 'v9_11'
...
Add C++ declarations to dns/fixedname.h
See merge request isc-projects/bind9!762
2018-09-05 18:08:29 -04:00
Ondřej Surý and Ondřej Surý
94a1c85366
Add C++ declarations to dns/fixedname.h
2018-09-05 18:00:32 -04:00
Ondřej Surý
5519212aa6
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
2018-09-03 08:00:55 -04:00
Ondřej Surý
302cae89f3
Bail-out early in the for install loops instead of continuing because for masks the error in the middle
...
(cherry picked from commit 25248eb097 )
(cherry picked from commit 3fbceba0a8 )
2018-09-03 13:49:35 +02:00
Evan Hunt
a94ae94f35
Merge branch 'solaris-fixes-v9_12-v9_11' into 'v9_11'
...
Silence some warnings and errors
See merge request isc-projects/bind9!749
2018-08-31 21:02:44 -04:00
Witold Krecicki and Evan Hunt
eec06494aa
Silence some warnings and errors
...
(cherry picked from commit 0f0dfc7f86 )
2018-08-31 17:54:54 -07:00
Mark Andrews
2bb5fc2e9b
Merge branch '510-resolver-test-was-failing-v9_11' into 'v9_11'
...
Resolve "Resolver test was failing"
See merge request isc-projects/bind9!742
2018-08-31 04:53:29 -04:00
Mark Andrews
fb0f34cc71
use pack to construct the reply as Net::DNS just get it wrong
...
(cherry picked from commit feaf381adb )
2018-08-31 18:44:44 +10:00
Mark Andrews
381ae150b1
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
2018-08-30 23:20:40 -04:00
Mark Andrews
f58ef89721
add changes note
...
(cherry picked from commit d68499e1f7 )
2018-08-31 13:11:44 +10:00
Mark Andrews
073b2b9d02
report initial RRSIG expiry field values
...
(cherry picked from commit 8e5abc6cdf )
2018-08-31 13:09:47 +10:00
Mark Andrews
10fdd1aa23
increase jitter to cover the entire potential steady state expire range when initially signing the zone
...
(cherry picked from commit 050fca2139 )
2018-08-31 13:09:40 +10:00
Mark Andrews
0affa7d288
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
2018-08-30 22:43:17 -04:00
Mark Andrews
20c79090bd
fclose origfile and zonefile
...
(cherry picked from commit 455bb23236 )
2018-08-31 12:25:01 +10:00
Ondřej Surý
67c8314297
Merge branch 'rndc-reconfig-missing-CHANGES_v9_11' into 'v9_11'
...
Add missing CHANGES entry
See merge request isc-projects/bind9!729
2018-08-29 07:45:40 -04:00
Witold Kręcicki
1987412695
CHANGES entry
2018-08-29 12:12:30 +02:00
Evan Hunt
324ab92dd0
Merge branch 'silence-warning-v9_11' into 'v9_11'
...
silence "missing print.h" warning
See merge request isc-projects/bind9!725
2018-08-28 19:33:18 -04:00
Evan Hunt
d3add15848
silence "missing print.h" warning
...
(cherry picked from commit 3c18b7d3fd )
2018-08-28 16:22:15 -07:00
Witold Krecicki
856a137bc9
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
2018-08-28 11:02:29 -04:00
Witold Kręcicki
80a025d1a7
rndc reconfig should not stat on existing zones, just load new ones.
2018-08-28 16:53:43 +02:00
Ondřej Surý
ed6ca94f5b
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
2018-08-28 01:48:33 -04:00
Ondřej Surý
bb17e1fd17
Disable make clean at the end of configure step in GitLab CI
...
(cherry picked from commit a1d783bbe2 )
2018-08-28 07:40:49 +02:00
Mark Andrews
50e5469abf
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
2018-08-27 03:09:56 -04:00
Mark Andrews
89122b6d54
add CHANGES note
...
(cherry picked from commit a3c5c2c29c )
2018-08-27 17:01:15 +10:00
Mark Andrews
61e40c1192
update {krb5,ms}-{self,subdomain} descriptions
...
(cherry picked from commit 0370d13667 )
2018-08-27 17:01:15 +10:00
Mark Andrews
75f1daadc3
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
2018-08-27 01:55:36 -04:00
Michał Kępień and Mark Andrews
027976125f
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 59057bee5b )
2018-08-27 14:31:04 +10:00
Michał Kępień and Mark Andrews
bfdeac09af
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 deb3b85cb2 )
2018-08-27 14:30:51 +10:00
Ondřej Surý
9e44e320c5
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
2018-08-24 08:46:21 -04:00
Ondřej Surý and Ondřej Surý
76a910b683
Check update_copyright results in precheck stage
...
(cherry picked from commit 4016369212 )
2018-08-24 08:33:36 -04:00
Ondřej Surý and Ondřej Surý
5a30d71e85
Whitespace fixes
...
(cherry picked from commit 31b5360943 )
2018-08-24 08:33:36 -04:00
Ondřej Surý and Ondřej Surý
a03e5b8791
Cleanup cruft in util/copyrights
...
(cherry picked from commit 65de91f512 )
2018-08-24 08:33:36 -04:00
Ondřej Surý and Ondřej Surý
367ed601c7
Make update_copyrights return error code when error is encountered during processing the files
...
(cherry picked from commit db3d69263d )
2018-08-24 08:33:36 -04:00
Michał Kępień
e99bc895bd
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
2018-08-24 04:35:34 -04:00
Michał Kępień
285736bd18
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 4fb5d072c2 )
2018-08-24 10:24:48 +02:00
Michał Kępień
c84a2342f4
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 087157d14f )
2018-08-24 10:24:46 +02:00
Michał Kępień
a31da7182d
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
2018-08-24 04:10:44 -04:00
Michał Kępień
9a76ffc61f
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 c12388f5e8 )
2018-08-24 09:58:08 +02:00
Michał Kępień
deaf1cff4c
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
2018-08-24 03:55:15 -04:00
Michał Kępień
6831af7717
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 e36c869e85 )
2018-08-24 09:38:38 +02:00
Mark Andrews
46e439ba8d
Merge branch 'fix-non-portable-v9_11' into 'v9_11'
...
use sizeof(CK_SLOT_ID)
See merge request isc-projects/bind9!690
2018-08-23 21:43:18 -04:00
Mark Andrews
a83b272085
add CHANGES note
...
(cherry picked from commit 42b16771db )
2018-08-24 11:33:21 +10:00
Mark Andrews
c2c7020057
use sizeof(CK_SLOT_ID)
...
(cherry picked from commit 2c1d8b2e99 )
2018-08-24 11:33:12 +10:00
Mark Andrews
353ed07b58
Merge branch 'value-not-updated-atomically-v9_11' into 'v9_11'
...
unlink before unlock
See merge request isc-projects/bind9!688
2018-08-23 21:07:28 -04:00
Mark Andrews
d9bb683946
add CHANGES note
...
(cherry picked from commit 05531d3a86 )
2018-08-24 10:58:31 +10:00
Mark Andrews
58e33fcdb4
unlink before unlock
...
(cherry picked from commit 4742f4ecba )
2018-08-24 10:58:30 +10:00