]>
git.ipfire.org Git - thirdparty/bind9.git/log
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
Witold Kręcicki [Fri, 17 May 2019 11:33:30 +0000 (13:33 +0200)]
lib/ns/client: use refcount_t for reference counting
Witold Kręcicki [Fri, 17 May 2019 11:25:48 +0000 (13:25 +0200)]
lib/ns/lib.c: use isc_refcount_t for reference counting
Witold Kręcicki [Fri, 17 May 2019 09:35:35 +0000 (11:35 +0200)]
Special, for-tests-only, mode with atomics emulated by a mutex-locked variable - useful for finding atomics congestions
Witold Kręcicki [Fri, 17 May 2019 08:47:28 +0000 (10:47 +0200)]
Properly initialize all atomic variables
Witold Kręcicki [Thu, 16 May 2019 17:27:01 +0000 (19:27 +0200)]
isc/stats: use isc_refcount_t
Witold Kręcicki [Thu, 16 May 2019 16:53:33 +0000 (18:53 +0200)]
isc/timer: use isc_refcount_t
Witold Kręcicki [Thu, 16 May 2019 16:51:39 +0000 (18:51 +0200)]
lib/isc/task: use isc_refcount_t
Witold Kręcicki [Thu, 16 May 2019 16:46:29 +0000 (18:46 +0200)]
dns/zt.c: use isc_refcount_t for reference counting
Witold Kręcicki [Thu, 16 May 2019 16:43:06 +0000 (18:43 +0200)]
interfacemgr: use isc_refcount_t for reference counting
Witold Kręcicki [Thu, 16 May 2019 16:28:53 +0000 (18:28 +0200)]
Make portentry->refs an isc_refcount_t
Ondřej Surý [Tue, 9 Jul 2019 12:20:45 +0000 (08:20 -0400)]
Merge branch 'ondrej/missing-ax_restore_flags-geoip2' into 'master'
Add missing AX_RESTORE_FLAGS([geoip2]) to configure.ac
See merge request isc-projects/bind9!2140
Ondřej Surý [Tue, 9 Jul 2019 11:35:39 +0000 (13:35 +0200)]
Add missing AX_RESTORE_FLAGS([geoip2]) to configure.ac
Ondřej Surý [Mon, 8 Jul 2019 13:36:28 +0000 (09:36 -0400)]
Merge branch 'ondrej-disable-freebsd-again' into 'master'
Disable FreeBSD Runner in the CI
See merge request isc-projects/bind9!2138
Ondřej Surý [Mon, 8 Jul 2019 13:28:28 +0000 (15:28 +0200)]
Disable FreeBSD Runner in the CI; it's broken again.
Evan Hunt [Thu, 4 Jul 2019 16:38:26 +0000 (12:38 -0400)]
Merge branch '1112-remove-legacy-geoip' into 'master'
Resolve "Remove legacy GeoIP support in 9.15 after GeoIP2 is merged"
Closes #1112
See merge request isc-projects/bind9!2102
Ondřej Surý [Thu, 4 Jul 2019 09:17:16 +0000 (11:17 +0200)]
Get rid of DNS_GEOIP_DATABASE_INIT explicit initializer for geoip dbs
Instead of the explicit struct initializer with all member, rely on the fact
that static variables are explicitly initialized to 0 if not explicitly
initialized.
Evan Hunt [Tue, 2 Jul 2019 23:33:00 +0000 (16:33 -0700)]
remove --with-geoip and change --without-geoip2 to --disable-geoip in CI
Thomas Jach [Tue, 2 Jul 2019 23:27:42 +0000 (16:27 -0700)]
convert geoip to geoip2 in win32utils/Configure
Evan Hunt [Fri, 28 Jun 2019 04:19:30 +0000 (21:19 -0700)]
use configure --enable-geoip to turn on GeoIP2
- instead of --with-geoip2, use --enable-geoip to turn on the GeoIP
feature
- --with-maxminddb can be used to set the prefix for maxminddb
Evan Hunt [Fri, 28 Jun 2019 04:11:45 +0000 (21:11 -0700)]
add CHANGES note; remove references to legacy GeoIP from documentation
Evan Hunt [Fri, 28 Jun 2019 04:08:20 +0000 (21:08 -0700)]
remove all support for legacy GeoIP
Matthijs Mekking [Thu, 4 Jul 2019 12:51:32 +0000 (08:51 -0400)]
Merge branch '7-matthijs-deprecate-dnssec-lookaside' into 'master'
Deprecate dnssec-lookaside option
Closes #7
See merge request isc-projects/bind9!2104
Evan Hunt [Tue, 2 Jul 2019 19:59:42 +0000 (12:59 -0700)]
remove spurious commas from docbook