]>
git.ipfire.org Git - thirdparty/bind9.git/log
Michał Kępień [Mon, 29 Jul 2019 19:44:31 +0000 (21:44 +0200)]
Make root hints consistent with authoritative data
Resolvers in the "filter-aaaa" system test are configured with a single
root hint: "ns.rootservers.net", pointing to 10.53.0.1. However,
querying ns1 for "ns.rootservers.net" results in NXDOMAIN answers.
Since the TTL for the root hint is set to 0, it may happen that a
resolver's ADB will be asked to return any known addresses for
"ns.rootservers.net", but it will only have access to a cached NXDOMAIN
answer for that name and an expired root hint, which will result in a
resolution failure, triggering a false positive for the "filter-aaaa"
system test. Prevent this from happening by making all the root hints
consistent with authoritative data served by ns1.
Evan Hunt [Fri, 26 Jul 2019 02:05:03 +0000 (22:05 -0400)]
Merge branch 'placeholder' into 'master'
placeholder
See merge request isc-projects/bind9!2202
Evan Hunt [Fri, 26 Jul 2019 02:04:29 +0000 (22:04 -0400)]
placeholder
Ondřej Surý [Fri, 26 Jul 2019 01:43:52 +0000 (21:43 -0400)]
Merge branch '1030-statistics-channel-improvements-generated-files' into 'master'
Regenerate bind9.xsl.h
Closes #1030
See merge request isc-projects/bind9!2201
Ondřej Surý [Fri, 26 Jul 2019 01:31:47 +0000 (21:31 -0400)]
Regenerate bind9.xsl.h
Matthijs Mekking [Thu, 25 Jul 2019 15:03:40 +0000 (11:03 -0400)]
Merge branch 'matthijs-addzone-ignored-some-test-results' into 'master'
The 'addzone' test ignored some test results
See merge request isc-projects/bind9!2198
Matthijs Mekking [Thu, 25 Jul 2019 14:30:20 +0000 (16:30 +0200)]
The 'addzone' test ignored some test results
Ondřej Surý [Thu, 25 Jul 2019 12:22:32 +0000 (08:22 -0400)]
Merge branch '1030-statistics-channel-improvements' into 'master'
Statistics Channel Improvements
Closes #1030
See merge request isc-projects/bind9!1944
Mark Andrews [Thu, 16 May 2019 01:06:48 +0000 (11:06 +1000)]
add CHANGES
Mark Andrews [Wed, 15 May 2019 08:17:26 +0000 (18:17 +1000)]
use h?+script selectors
Mark Andrews [Wed, 15 May 2019 07:36:18 +0000 (17:36 +1000)]
toggle graph/counter pairs
Mark Andrews [Wed, 15 May 2019 06:46:25 +0000 (16:46 +1000)]
toggle graph/counter pairs
Timothe Litt [Tue, 14 May 2019 21:21:56 +0000 (17:21 -0400)]
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.
Ondřej Surý [Tue, 23 Jul 2019 20:25:14 +0000 (16:25 -0400)]
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
Evan Hunt [Tue, 23 Jul 2019 18:56:24 +0000 (14:56 -0400)]
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
Ondřej Surý [Tue, 23 Jul 2019 18:34:19 +0000 (14:34 -0400)]
Cleanup the failure handling in isc_mem_allocate
Ondřej Surý [Tue, 23 Jul 2019 15:55:19 +0000 (11:55 -0400)]
Adjust tkey_test.c test to mock_assert() when there's no memory
Ondřej Surý [Tue, 23 Jul 2019 15:18:14 +0000 (11:18 -0400)]
Cleanup stray goto labels from removing isc_mem_allocate/strdup checking blocks
Ondřej Surý [Tue, 23 Jul 2019 15:12:11 +0000 (11:12 -0400)]
Use coccinelle to cleanup the failure handling blocks from isc_mem_strdup
Ondřej Surý [Tue, 23 Jul 2019 14:56:26 +0000 (10:56 -0400)]
Use coccinelle to cleanup the failure handling blocks from isc_mem_allocate
Ondřej Surý [Tue, 23 Jul 2019 14:54:52 +0000 (10:54 -0400)]
Add spatch for isc_mem_allocate; it also cannot fail gracefully
Ondřej Surý [Tue, 23 Jul 2019 14:52:31 +0000 (10:52 -0400)]
Add spatch for isc_mem_strdup; it also cannot fail gracefully
Ondřej Surý [Tue, 16 Jul 2019 13:52:14 +0000 (15:52 +0200)]
Remove blocks checking whether isc_mem_get() failed using the coccinelle
Ondřej Surý [Tue, 16 Jul 2019 13:50:45 +0000 (15:50 +0200)]
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.
Ondřej Surý [Tue, 16 Jul 2019 14:50:09 +0000 (16:50 +0200)]
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.
Ondřej Surý [Tue, 23 Jul 2019 16:02:03 +0000 (12:02 -0400)]
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
Ondřej Surý [Tue, 23 Jul 2019 15:49:21 +0000 (11:49 -0400)]
Disable LD_WRAP tests when libtool is disabled
Ondřej Surý [Tue, 23 Jul 2019 13:05:36 +0000 (09:05 -0400)]
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
Ondřej Surý [Tue, 23 Jul 2019 12:59:36 +0000 (08:59 -0400)]
Fix the lib/dns/tests/Makefile.in to work without LD_WRAP
Ondřej Surý [Tue, 23 Jul 2019 11:02:44 +0000 (07:02 -0400)]
Merge branch '1149-restore-locking-in-resume_dslookup' into 'master'
Restore locking in resume_dslookup()
Closes #1149
See merge request isc-projects/bind9!2184
Michał Kępień [Tue, 23 Jul 2019 09:43:46 +0000 (11:43 +0200)]
Restore locking in resume_dslookup()
Commit
9da902a201b6d0e1bdbac0af067a59bb0a489c9c 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().
Ondřej Surý [Mon, 22 Jul 2019 22:24:32 +0000 (18:24 -0400)]
Merge branch 'u/fanf2/arm-rrset-order-random' into 'master'
doc/arm: correct default for rrset-order
See merge request isc-projects/bind9!2146
Tony Finch [Wed, 10 Jul 2019 17:15:46 +0000 (18:15 +0100)]
doc/arm: correct default for rrset-order
Ondřej Surý [Mon, 22 Jul 2019 21:48:27 +0000 (17:48 -0400)]
Merge branch '195-add-dnstap-builds-to-ci' into 'master'
Add dnstap builds to CI
Closes #195
See merge request isc-projects/bind9!2160
Michał Kępień [Fri, 19 Jul 2019 09:44:40 +0000 (11:44 +0200)]
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.
Ondřej Surý [Mon, 22 Jul 2019 21:18:02 +0000 (17:18 -0400)]
Merge branch 'each-fix-ld-wrap-test' into 'master'
Fix LD_WRAP test in configure
See merge request isc-projects/bind9!1806
Evan Hunt [Mon, 15 Apr 2019 20:41:21 +0000 (13:41 -0700)]
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.
Ondřej Surý [Mon, 22 Jul 2019 15:52:55 +0000 (17:52 +0200)]
Fix the configure.ac and Makefile.in to correctly test for --wrap
Mark Andrews [Mon, 22 Jul 2019 19:28:08 +0000 (15:28 -0400)]
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
Mark Andrews [Fri, 12 Jul 2019 04:28:03 +0000 (14:28 +1000)]
named-checkconf failed to report dnstap-output missing
from named.conf when dnstap was specified
Mark Andrews [Mon, 22 Jul 2019 18:33:52 +0000 (14:33 -0400)]
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
Mark Andrews [Mon, 22 Jul 2019 18:18:05 +0000 (04:18 +1000)]
add CHANGES
Mark Andrews [Mon, 1 Jul 2019 03:44:30 +0000 (13:44 +1000)]
Do not attempt to perform a DNS64 rewrite if RPZ returns NODATA.
Mark Andrews [Mon, 1 Jul 2019 01:23:28 +0000 (11:23 +1000)]
Check that RPZ 'CNAME *.' (NODATA) works with DNS64.
Ondřej Surý [Mon, 22 Jul 2019 15:18:47 +0000 (11:18 -0400)]
Merge branch 'michal/add-debian-buster-to-ci' into 'master'
Add Debian buster to CI
See merge request isc-projects/bind9!2162
Michał Kępień [Fri, 19 Jul 2019 09:56:24 +0000 (11:56 +0200)]
Add Debian buster to CI
Ensure BIND is continuously tested on Debian 10 (buster) as it is the
current stable Debian release.
Ondřej Surý [Mon, 22 Jul 2019 14:02:57 +0000 (10:02 -0400)]
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
Ondřej Surý [Mon, 22 Jul 2019 12:45:23 +0000 (08:45 -0400)]
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.
Ondřej Surý [Fri, 19 Jul 2019 10:54:23 +0000 (12:54 +0200)]
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.
Ondřej Surý [Mon, 22 Jul 2019 12:15:34 +0000 (08:15 -0400)]
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
Ondřej Surý [Mon, 22 Jul 2019 11:56:00 +0000 (07:56 -0400)]
Add siphash_test to lib/isc/tests/Kyuafile
Ondřej Surý [Mon, 22 Jul 2019 11:55:52 +0000 (07:55 -0400)]
Add endian.h to libisc.vcxproj.* files
Ondřej Surý [Mon, 22 Jul 2019 02:18:48 +0000 (22:18 -0400)]
Merge branch '1153-fix-broken-atomics-on-windows' into 'master'
Fixup the increment vs decrement typo in lib/isc/win32/socket.c
Closes #1153
See merge request isc-projects/bind9!2172
Ondřej Surý [Mon, 22 Jul 2019 02:05:24 +0000 (22:05 -0400)]
Fixup the increment vs decrement typo in lib/isc/win32/socket.c
Ondřej Surý [Sun, 21 Jul 2019 19:30:30 +0000 (15:30 -0400)]
Merge branch '605-add-siphash24-wpk' into 'master'
Synchronize the Cookie algorithm to SipHash-2-4 with other open-source DNS vendors
Closes #605
See merge request isc-projects/bind9!1788
Ondřej Surý [Sun, 21 Jul 2019 15:30:07 +0000 (11:30 -0400)]
Add CHANGES note
Ondřej Surý [Sun, 21 Jul 2019 15:28:17 +0000 (11:28 -0400)]
Add release notes
Ondřej Surý [Sun, 21 Jul 2019 18:26:49 +0000 (14:26 -0400)]
Add new default siphash24 cookie algorithm, but keep AES as legacy
This commit changes the BIND cookie algorithms to match
draft-sury-toorop-dnsop-server-cookies-00. Namely, it changes the Client Cookie
algorithm to use SipHash 2-4, adds the new Server Cookie algorithm using SipHash
2-4, and changes the default for the Server Cookie algorithm to be siphash24.
Add siphash24 cookie algorithm, and make it keep legacy aes as
Witold Kręcicki [Sun, 24 Mar 2019 08:59:19 +0000 (09:59 +0100)]
Remove all cookie algorithms but AES, which was used as a default, for legacy purposes.
Ondřej Surý [Tue, 16 Jul 2019 16:55:01 +0000 (12:55 -0400)]
Merge branch 'ondrej/fix-leaked-memory-in-geoip_test.c' into 'master'
Fix leaked memory in geoip_test.c
See merge request isc-projects/bind9!2154
Ondřej Surý [Tue, 16 Jul 2019 13:28:20 +0000 (15:28 +0200)]
Fix the memory leaks in GeoIP unit test
Each individual test opened GeoIP databased but the database handles were never
closed. This commit moves the open/close from the individual unit tests into
the _setup and _teardown methods where they really belong.
Ondřej Surý [Fri, 12 Jul 2019 14:07:20 +0000 (10:07 -0400)]
Merge branch 'ondrej/remove-mutexatomics-tests' into 'master'
Disable the mutexatomics tests from the regular CI (we could enable them on...
See merge request isc-projects/bind9!2150
Ondřej Surý [Fri, 12 Jul 2019 14:01:01 +0000 (16:01 +0200)]
Disable the mutexatomics tests from the regular CI (we could enable them on trigger or schedule in the future)
Ondřej Surý [Fri, 12 Jul 2019 13:59:25 +0000 (09:59 -0400)]
Merge branch 'ondrej/add-memcpy.spatch-and-fix-check-cocci-script' into 'master'
Add memcpy.spatch and fixup check-cocci script
See merge request isc-projects/bind9!2149
Ondřej Surý [Fri, 12 Jul 2019 13:45:07 +0000 (15:45 +0200)]
Don't cover the .spatch files with copyright
Ondřej Surý [Fri, 12 Jul 2019 13:38:48 +0000 (15:38 +0200)]
Make util/check-cocci modify the files in place and be more verbose
Ondřej Surý [Fri, 12 Jul 2019 13:28:58 +0000 (15:28 +0200)]
Remove #include <config.h> usage from siphash.c and siphash_test.c
Ondřej Surý [Fri, 12 Jul 2019 13:28:00 +0000 (15:28 +0200)]
Replace the only memcpy usage with memmove
Ondřej Surý [Fri, 12 Jul 2019 13:27:06 +0000 (15:27 +0200)]
Add spatch to replace memcpy usage with memmove
Ondřej Surý [Fri, 12 Jul 2019 13:26:48 +0000 (15:26 +0200)]
Fix the check-cocci script to scan bin lib fuzz dirs individually, as it was using only the last one
Tinderbox User [Wed, 10 Jul 2019 15:00:29 +0000 (15:00 +0000)]
Merge branch 'prep-release'
Tinderbox User [Wed, 10 Jul 2019 14:51:09 +0000 (14:51 +0000)]
prep 9.15.2
Witold Krecicki [Wed, 10 Jul 2019 13:18:23 +0000 (09:18 -0400)]
Merge branch '1139-1952-breaks-windows-build' into 'master'
Resolve "!1952 Breaks Windows Build"
Closes #1139
See merge request isc-projects/bind9!2145
Witold Kręcicki [Wed, 10 Jul 2019 10:31:17 +0000 (12:31 +0200)]
Fix Windows compilation issues with !1952, contributed by Thomas Jach
Witold Krecicki [Tue, 9 Jul 2019 17:19:56 +0000 (13:19 -0400)]
Merge branch 'wpk-fix-compilation-error-statschannel' into 'master'
statschannel.c: declare dnssecsignstat_dump only if it's used (LIBXML2 or LIBJSON is available)
See merge request isc-projects/bind9!2143
Witold Kręcicki [Tue, 9 Jul 2019 16:08:49 +0000 (18:08 +0200)]
statschannel.c: declare dnssecsignstat_dump only if it's used (LIBXML2 or LIBJSON is available)
Witold Krecicki [Tue, 9 Jul 2019 15:14:49 +0000 (11:14 -0400)]
Merge branch '1038-proper-atomics-use' into 'master'
Resolve "Make proper use of the atomics"
Closes #1038
See merge request isc-projects/bind9!1952
Witold Kręcicki [Mon, 8 Jul 2019 13:54:26 +0000 (15:54 +0200)]
CHANGES
Witold Kręcicki [Mon, 8 Jul 2019 15:32:09 +0000 (17:32 +0200)]
Add --enable-mutex-atomics build to CI
Witold Kręcicki [Mon, 8 Jul 2019 15:30:06 +0000 (17:30 +0200)]
Fix a few broken atomics initializations
Ondřej Surý [Mon, 20 May 2019 15:03:34 +0000 (17:03 +0200)]
lib/ns/stats.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 15:01:29 +0000 (17:01 +0200)]
lib/isc/win32/socket.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 15:00:22 +0000 (17:00 +0200)]
lib/isc/task.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:59:48 +0000 (16:59 +0200)]
lib/isc/stats.c: Use ->references instead of ->refs
Ondřej Surý [Mon, 20 May 2019 14:59:11 +0000 (16:59 +0200)]
lib/isc/quota.c: use proper acquire/release/relaxed memory order semantics
Ondřej Surý [Mon, 20 May 2019 14:58:08 +0000 (16:58 +0200)]
lib/isc/counter.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:56:12 +0000 (16:56 +0200)]
lib/dns/zt.c: use isc_refcount_t and atomics
Ondřej Surý [Mon, 20 May 2019 14:55:42 +0000 (16:55 +0200)]
lib/dns/tsig.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:54:46 +0000 (16:54 +0200)]
lib/dns/ssu.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:54:13 +0000 (16:54 +0200)]
lib/dns/sdlz.c:
- use isc_refcount_t
- properly detach from nodes so that we don't destroy objects
that have non-zero references count
Ondřej Surý [Mon, 20 May 2019 14:53:47 +0000 (16:53 +0200)]
lib/dns/sdb.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:52:59 +0000 (16:52 +0200)]
lib/dns/resolver.c: use isc_refcount_t and atomics
Ondřej Surý [Mon, 20 May 2019 14:44:19 +0000 (16:44 +0200)]
lib/dns/masterdump.c: use isc_refcount_t and atomics
Ondřej Surý [Mon, 20 May 2019 14:43:32 +0000 (16:43 +0200)]
lib/dns/master.c: use isc_refcount_t and atomics
Ondřej Surý [Mon, 20 May 2019 14:41:36 +0000 (16:41 +0200)]
lib/dns/lib.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:41:24 +0000 (16:41 +0200)]
lib/dns/nta.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:35:17 +0000 (16:35 +0200)]
lib/dns/ecdb.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:22:15 +0000 (16:22 +0200)]
lib/dns/dbtable.c: use isc_refcount_t
Witold Kręcicki [Fri, 17 May 2019 11:47:00 +0000 (13:47 +0200)]
lib/dns/cache.c: use isc_refcount_t
Witold Kręcicki [Fri, 17 May 2019 11:35:51 +0000 (13:35 +0200)]
dns/stats.c: use isc_refcount_t