Evan Hunt
c14dc46319
Merge branch 'placeholder' into 'master'
...
placeholder
See merge request isc-projects/bind9!2202
2019-07-25 22:05:03 -04:00
Evan Hunt
78da483941
placeholder
2019-07-25 22:04:29 -04:00
Ondřej Surý
73e615fcfa
Merge branch '1030-statistics-channel-improvements-generated-files' into 'master'
...
Regenerate bind9.xsl.h
Closes #1030
See merge request isc-projects/bind9!2201
2019-07-25 21:43:52 -04:00
Ondřej Surý
36bc018275
Regenerate bind9.xsl.h
2019-07-25 21:31:47 -04:00
Matthijs Mekking
e976db255f
Merge branch 'matthijs-addzone-ignored-some-test-results' into 'master'
...
The 'addzone' test ignored some test results
See merge request isc-projects/bind9!2198
2019-07-25 11:03:40 -04:00
Matthijs Mekking
4b40266a1d
The 'addzone' test ignored some test results
2019-07-25 16:30:20 +02:00
Ondřej Surý
8751585841
Merge branch '1030-statistics-channel-improvements' into 'master'
...
Statistics Channel Improvements
Closes #1030
See merge request isc-projects/bind9!1944
2019-07-25 08:22:32 -04:00
Mark Andrews
b8a96bfa78
add CHANGES
2019-07-25 08:03:10 -04:00
Mark Andrews
570d1cf0bb
use h?+script selectors
2019-07-25 08:03:10 -04:00
Mark Andrews
e6c13ebb26
toggle graph/counter pairs
2019-07-25 08:03:10 -04:00
Mark Andrews
34ce90565c
toggle graph/counter pairs
2019-07-25 08:03:10 -04:00
Timothe Litt
86595ed8cb
Make statistics tables (in HTML view) togglable
...
The HTML view of the statistics channel creates
pages with many long tables. These can be difficult
to navigate.
This commit adds a "show/hide" toggle to each
heading, which makes it easy to compress/expand
the view.
2019-07-25 08:03:10 -04:00
Ondřej Surý
d807ecde24
Merge branch 'ondrej/cleanup_isc_mem_get_failure_handling_blocks' into 'master'
...
Cleanup isc_mem_get() failure handling blocks
See merge request isc-projects/bind9!2155
2019-07-23 16:25:14 -04:00
Evan Hunt
a1871e7f1d
further cleanup
...
- removed some dead code
- dns_zone_setdbtype is now void as it could no longer return
anything but ISC_R_SUCCESS; calls to it no longer check for a result
- controlkeylist_fromconfig() is also now void
- fixed a whitespace error
2019-07-23 15:32:36 -04:00
Ondřej Surý
19eb5d0e83
Cleanup the failure handling in isc_mem_allocate
2019-07-23 15:32:36 -04:00
Ondřej Surý
9123da5362
Adjust tkey_test.c test to mock_assert() when there's no memory
2019-07-23 15:32:36 -04:00
Ondřej Surý
f0c6aef542
Cleanup stray goto labels from removing isc_mem_allocate/strdup checking blocks
2019-07-23 15:32:36 -04:00
Ondřej Surý
9bdc24a9fd
Use coccinelle to cleanup the failure handling blocks from isc_mem_strdup
2019-07-23 15:32:36 -04:00
Ondřej Surý
601cb4e4cc
Use coccinelle to cleanup the failure handling blocks from isc_mem_allocate
2019-07-23 15:32:35 -04:00
Ondřej Surý
3c1d4298af
Add spatch for isc_mem_allocate; it also cannot fail gracefully
2019-07-23 15:32:35 -04:00
Ondřej Surý
49f244406c
Add spatch for isc_mem_strdup; it also cannot fail gracefully
2019-07-23 15:32:35 -04:00
Ondřej Surý
ae83801e2b
Remove blocks checking whether isc_mem_get() failed using the coccinelle
2019-07-23 15:32:35 -04:00
Ondřej Surý
f63e696967
Add semantic patch to remove checking for isc_mem_get() return value
...
The isc_mem_get() cannot fail gracefully now, it either gets memory of
assert()s. The added semantic patch cleans all the blocks checking whether
the return value of isc_mem_get() was NULL.
2019-07-23 15:32:35 -04:00
Ondřej Surý
7f828a213c
Revert to patch generating check-cocci script
...
The coccinelle and util/update_copyright script have different
idea about how the whitespace should look like. Revert the script
to the previous version, so it doesn't mangle the files in place,
and deal with just whitespace changes.
2019-07-23 15:32:35 -04:00
Ondřej Surý
3bcd05f081
Merge branch 'ondrej/disable-LD_WRAP-without-libtool' into 'master'
...
Disable LD_WRAP tests when libtool is disabled
See merge request isc-projects/bind9!2192
2019-07-23 12:02:03 -04:00
Ondřej Surý
0cd1e5ed28
Disable LD_WRAP tests when libtool is disabled
2019-07-23 11:49:21 -04:00
Ondřej Surý
14a4a799c0
Merge branch 'ondrej/fix-LD_WRAP-Makefile' into 'master'
...
Fix the lib/dns/tests/Makefile.in to work without LD_WRAP
See merge request isc-projects/bind9!2188
2019-07-23 09:05:36 -04:00
Ondřej Surý
b558346437
Fix the lib/dns/tests/Makefile.in to work without LD_WRAP
2019-07-23 08:59:36 -04:00
Ondřej Surý
14d10521ba
Merge branch '1149-restore-locking-in-resume_dslookup' into 'master'
...
Restore locking in resume_dslookup()
Closes #1149
See merge request isc-projects/bind9!2184
2019-07-23 07:02:44 -04:00
Michał Kępień
ca528766d6
Restore locking in resume_dslookup()
...
Commit 9da902a201 removed locking around
the fctx_decreference() call inside resume_dslookup(). This allows
fctx_unlink() to be called without the bucket lock being held, which
must never happen. Ensure the bucket lock is held by resume_dslookup()
before it calls fctx_decreference().
2019-07-23 11:43:46 +02:00
Ondřej Surý
dd358e6a21
Merge branch 'u/fanf2/arm-rrset-order-random' into 'master'
...
doc/arm: correct default for rrset-order
See merge request isc-projects/bind9!2146
2019-07-22 18:24:32 -04:00
Tony Finch
bded8af7b8
doc/arm: correct default for rrset-order
2019-07-22 18:12:29 -04:00
Ondřej Surý
07b4859dec
Merge branch '195-add-dnstap-builds-to-ci' into 'master'
...
Add dnstap builds to CI
Closes #195
See merge request isc-projects/bind9!2160
2019-07-22 17:48:27 -04:00
Michał Kępień
2bf44c6cd4
Add dnstap builds to CI
...
Ensure BIND with dnstap support enabled is being continuously tested by
adding --enable-dnstap to the ./configure invocation used for CentOS 7
and Debian sid builds in GitLab CI.
2019-07-22 17:35:46 -04:00
Ondřej Surý
673aa9f626
Merge branch 'each-fix-ld-wrap-test' into 'master'
...
Fix LD_WRAP test in configure
See merge request isc-projects/bind9!1806
2019-07-22 17:18:02 -04:00
Evan Hunt
839ed7894b
Make the symbol wrapping work with dynamic linking
...
When the unit test is linked with dynamic libraries, the wrapping
doesn't occur, probably because it's different translation unit.
To workaround the issue, we provide thin wrappers with *real* symbol
names that just call the mocked functions.
2019-07-22 17:16:51 -04:00
Ondřej Surý
135519e59a
Fix the configure.ac and Makefile.in to correctly test for --wrap
2019-07-22 23:00:37 +02:00
Mark Andrews
c808255682
Merge branch '1136-named-checkconf-should-report-missing-dnstap-output-option-when-dnstap-option-is-set' into 'master'
...
Resolve "named-checkconf should report missing dnstap-output option when dnstap option is set"
Closes #1136
See merge request isc-projects/bind9!2147
2019-07-22 15:28:08 -04:00
Mark Andrews
a4f38bec6a
named-checkconf failed to report dnstap-output missing
...
from named.conf when dnstap was specified
2019-07-23 05:09:01 +10:00
Mark Andrews
b786171423
Merge branch '1106-interaction-between-dns64-and-rpz-can-cause-unexpected-results' into 'master'
...
Resolve "Interaction between dns64 and RPZ can cause unexpected results"
Closes #1106
See merge request isc-projects/bind9!2111
2019-07-22 14:33:52 -04:00
Mark Andrews
b9a1c31df1
add CHANGES
2019-07-23 04:21:13 +10:00
Mark Andrews
1eb640049c
Do not attempt to perform a DNS64 rewrite if RPZ returns NODATA.
2019-07-23 04:19:28 +10:00
Mark Andrews
b9dc9b68cd
Check that RPZ 'CNAME *.' (NODATA) works with DNS64.
2019-07-23 04:14:20 +10:00
Ondřej Surý
59a7f75b7e
Merge branch 'michal/add-debian-buster-to-ci' into 'master'
...
Add Debian buster to CI
See merge request isc-projects/bind9!2162
2019-07-22 11:18:47 -04:00
Michał Kępień
5f71d9c6ac
Add Debian buster to CI
...
Ensure BIND is continuously tested on Debian 10 (buster) as it is the
current stable Debian release.
2019-07-22 11:00:32 -04:00
Ondřej Surý
fb40bc061f
Merge branch '1149-fix-crashes-during-resolver-shutdown' into 'master'
...
Restore locking in dns_resolver_shutdown and dns_resolver_attach
Closes #1149
See merge request isc-projects/bind9!2164
2019-07-22 10:02:57 -04:00
Ondřej Surý
a4141fcf98
Restore more locking in the lib/dns/resolver.c code
...
1. Restore locking in the fctx_decreference() code, because the insides of the
function needs to be protected when fctx->references drops to 0.
2. Restore locking in the dns_resolver_attach() code, because two variables are
accessed at the same time and there's slight chance of data race.
2019-07-22 09:03:27 -04:00
Ondřej Surý
317e36d47e
Restore locking in dns_resolver_shutdown and dns_resolver_attach
...
Although the struct dns_resolver.exiting member is protected by stdatomics, we
actually need to wait for whole dns_resolver_shutdown() to finish before
destroying the resolver object. Otherwise, there would be a data race and some
fctx objects might not be destroyed yet at the time we tear down the
dns_resolver object.
2019-07-22 08:17:36 -04:00
Ondřej Surý
0b8632e662
Merge branch '605-fixes' into 'master'
...
Fix missing siphash_test from Kyuafile and missing endian.h from MSVC build files
Closes #605
See merge request isc-projects/bind9!2173
2019-07-22 08:15:34 -04:00
Ondřej Surý
779aa2c9d9
Add siphash_test to lib/isc/tests/Kyuafile
2019-07-22 08:06:14 -04:00