]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoSynchronize Windows socket code with API changes.
Witold Kręcicki [Wed, 24 Oct 2018 10:52:37 +0000 (10:52 +0000)] 
Synchronize Windows socket code with API changes.

7 years agoFix fetchlimit test to allow softquota to be overruled; Remove 'verifying that named...
Witold Kręcicki [Thu, 18 Oct 2018 14:45:28 +0000 (14:45 +0000)] 
Fix fetchlimit test to allow softquota to be overruled; Remove 'verifying that named checks for conflicting listeners' test from runtime

7 years agoUse multiple worker queues (using isc_task_sendto()) in unix socket code
Witold Kręcicki [Thu, 18 Oct 2018 22:00:15 +0000 (22:00 +0000)] 
Use multiple worker queues (using isc_task_sendto()) in unix socket code

7 years agouse REUSEPORT only for NOLISTEN dispatchers
Witold Kręcicki [Thu, 11 Oct 2018 07:50:31 +0000 (07:50 +0000)] 
use REUSEPORT only for NOLISTEN dispatchers

7 years agoMake watching/unwatching sockets saner.
Witold Kręcicki [Thu, 4 Oct 2018 14:52:54 +0000 (14:52 +0000)] 
Make watching/unwatching sockets saner.

7 years agoUse the newly accepted FD in TCP code.
Witold Kręcicki [Thu, 4 Oct 2018 14:32:28 +0000 (14:32 +0000)] 
Use the newly accepted FD in TCP code.

7 years agoUse isc_refcount_t in socket reference counting.
Witold Kręcicki [Thu, 4 Oct 2018 12:30:04 +0000 (12:30 +0000)] 
Use isc_refcount_t in socket reference counting.

7 years agoMultiple network event loop threads support for Solarises /dev/poll.
Witold Krecicki [Thu, 4 Oct 2018 14:11:24 +0000 (16:11 +0200)] 
Multiple network event loop threads support for Solarises /dev/poll.

7 years agoMangle fdlocks a bit.
Witold Kręcicki [Wed, 3 Oct 2018 22:11:52 +0000 (22:11 +0000)] 
Mangle fdlocks a bit.

Mutexes are slower if they're in the same cache line. Since
fd's come in herds, and usually our listen sockets will have nearby
fd numbers, we mangle fdlocks so that the locks are further away.

7 years agoFix a race between socket closing and incoming event.
Witold Kręcicki [Wed, 3 Oct 2018 20:39:39 +0000 (20:39 +0000)] 
Fix a race between socket closing and incoming event.

7 years agoSet network threads CPU affintity.
Witold Kręcicki [Thu, 18 Oct 2018 20:47:23 +0000 (20:47 +0000)] 
Set network threads CPU affintity.

7 years agoAdd runtime detection of SO_REUSEPORT, use it instead of dup() if available.
Witold Kręcicki [Thu, 23 Aug 2018 07:42:30 +0000 (09:42 +0200)] 
Add runtime detection of SO_REUSEPORT, use it instead of dup() if available.

7 years agoUse the same number of UDP dispatchers as CPUs.
Witold Kręcicki [Wed, 22 Aug 2018 13:41:28 +0000 (15:41 +0200)] 
Use the same number of UDP dispatchers as CPUs.

7 years agoUse multiple network event loop threads with separate data structures.
Witold Krecicki [Wed, 3 Oct 2018 20:46:23 +0000 (22:46 +0200)] 
Use multiple network event loop threads with separate data structures.

7 years agoDo IO after event directly in the network thread, don't queue an event in a separate...
Witold Kręcicki [Tue, 21 Aug 2018 12:04:06 +0000 (14:04 +0200)] 
Do IO after event directly in the network thread, don't queue an event in a separate task.

7 years agoRemove fdwatch sockets, those are not used anywhere.
Witold Kręcicki [Mon, 20 Aug 2018 09:56:37 +0000 (11:56 +0200)] 
Remove fdwatch sockets, those are not used anywhere.

7 years agoMerge branch '620-cmocka-conversions' into 'master'
Evan Hunt [Thu, 15 Nov 2018 05:18:59 +0000 (00:18 -0500)] 
Merge branch '620-cmocka-conversions' into 'master'

Resolve "CMOCKA conversions"

Closes #620

See merge request isc-projects/bind9!886

7 years agoCHANGES
Evan Hunt [Wed, 14 Nov 2018 22:39:38 +0000 (22:39 +0000)] 
CHANGES

7 years agoremove --with-atf from gitlab CI
Evan Hunt [Wed, 14 Nov 2018 23:20:47 +0000 (23:20 +0000)] 
remove --with-atf from gitlab CI

7 years agoremove ATF source code and Atffiles
Evan Hunt [Wed, 14 Nov 2018 22:33:00 +0000 (22:33 +0000)] 
remove ATF source code and Atffiles

7 years agoremove ATF from configure
Evan Hunt [Wed, 14 Nov 2018 22:31:39 +0000 (22:31 +0000)] 
remove ATF from configure

7 years agoremove atf-run from unittest.sh.in
Evan Hunt [Wed, 14 Nov 2018 22:22:32 +0000 (22:22 +0000)] 
remove atf-run from unittest.sh.in

7 years agoconvert update_test; remove ATF from lib/dns/tests
Joey [Wed, 14 Nov 2018 12:30:41 +0000 (20:30 +0800)] 
convert update_test; remove ATF from lib/dns/tests

7 years agoconvert tsig_test
Joey [Wed, 14 Nov 2018 12:29:40 +0000 (20:29 +0800)] 
convert tsig_test

7 years agoconvert time_test
Joey [Wed, 14 Nov 2018 12:28:16 +0000 (20:28 +0800)] 
convert time_test

7 years agoconvert sigs_test
Joey [Wed, 14 Nov 2018 12:27:16 +0000 (20:27 +0800)] 
convert sigs_test

7 years agoconvert rsa_test
Joey [Wed, 14 Nov 2018 12:26:12 +0000 (20:26 +0800)] 
convert rsa_test

7 years agoconvert resolver_test
Joey [Wed, 14 Nov 2018 12:24:54 +0000 (20:24 +0800)] 
convert resolver_test

7 years agoconvert rbt_serialize_test
Joey [Wed, 14 Nov 2018 12:23:32 +0000 (20:23 +0800)] 
convert rbt_serialize_test

7 years agoconvert name_test
Joey [Wed, 14 Nov 2018 12:19:50 +0000 (20:19 +0800)] 
convert name_test

7 years agoconvert master_test
Joey [Wed, 14 Nov 2018 12:18:19 +0000 (20:18 +0800)] 
convert master_test

7 years agoconvert keytable_test
Joey [Wed, 14 Nov 2018 11:50:53 +0000 (19:50 +0800)] 
convert keytable_test

7 years agoconvert private_test
Joey [Sat, 10 Nov 2018 06:37:03 +0000 (13:37 +0700)] 
convert private_test

7 years agoconvert dbversion_test
Evan Hunt [Fri, 9 Nov 2018 18:23:49 +0000 (10:23 -0800)] 
convert dbversion_test

7 years agoconvert dst_test
Joey [Thu, 8 Nov 2018 11:00:15 +0000 (18:00 +0700)] 
convert dst_test

7 years agoconvert db_test
Joey [Wed, 7 Nov 2018 05:23:15 +0000 (12:23 +0700)] 
convert db_test

7 years agoconvert dispatch_test
Evan Hunt [Fri, 26 Oct 2018 15:46:28 +0000 (08:46 -0700)] 
convert dispatch_test

7 years agoconvert zonemgr_test
Evan Hunt [Fri, 26 Oct 2018 03:30:51 +0000 (20:30 -0700)] 
convert zonemgr_test

7 years agoconvert zt_test
Evan Hunt [Fri, 26 Oct 2018 03:30:46 +0000 (20:30 -0700)] 
convert zt_test

7 years agoconvert rdata_test
Evan Hunt [Thu, 25 Oct 2018 07:20:56 +0000 (00:20 -0700)] 
convert rdata_test

- also added code to dnstest.c to optionally suppress printing of errors
  from dns_rdata_fromtxt()

7 years agoconvert rbt_test
Evan Hunt [Thu, 25 Oct 2018 05:12:06 +0000 (22:12 -0700)] 
convert rbt_test

7 years agoconvert dnstap_test
Evan Hunt [Thu, 25 Oct 2018 04:41:30 +0000 (21:41 -0700)] 
convert dnstap_test

7 years agoconvert geoip_test
Evan Hunt [Thu, 25 Oct 2018 04:28:34 +0000 (21:28 -0700)] 
convert geoip_test

7 years agoconvert nsec3_test
Evan Hunt [Thu, 25 Oct 2018 04:09:06 +0000 (21:09 -0700)] 
convert nsec3_test

7 years agoconvert rdatasetstats_test
Evan Hunt [Thu, 25 Oct 2018 03:11:44 +0000 (20:11 -0700)] 
convert rdatasetstats_test

7 years agoconvert dbiterator_test
Evan Hunt [Wed, 24 Oct 2018 23:04:26 +0000 (16:04 -0700)] 
convert dbiterator_test

7 years agoconvert dbdiff_test
Evan Hunt [Wed, 24 Oct 2018 21:23:01 +0000 (14:23 -0700)] 
convert dbdiff_test

7 years agoconvert peer_test
Evan Hunt [Wed, 24 Oct 2018 21:12:41 +0000 (14:12 -0700)] 
convert peer_test

7 years agoconvert rdataset_test
Evan Hunt [Wed, 24 Oct 2018 17:24:35 +0000 (10:24 -0700)] 
convert rdataset_test

7 years agoconvert acl_test
Evan Hunt [Wed, 24 Oct 2018 17:19:45 +0000 (10:19 -0700)] 
convert acl_test

7 years agoconvert dh_test
Evan Hunt [Wed, 24 Oct 2018 16:01:48 +0000 (09:01 -0700)] 
convert dh_test

7 years agoconvert socket_test; remove ATF from lib/isc/tests
Joey [Fri, 26 Oct 2018 09:07:50 +0000 (17:07 +0800)] 
convert socket_test; remove ATF from lib/isc/tests

7 years agoconvert regex_test
Evan Hunt [Wed, 24 Oct 2018 20:23:43 +0000 (13:23 -0700)] 
convert regex_test

7 years agoconvert random_test
Evan Hunt [Fri, 26 Oct 2018 15:40:30 +0000 (08:40 -0700)] 
convert random_test

7 years agoconvert mem_test
Joey [Thu, 25 Oct 2018 07:40:27 +0000 (15:40 +0800)] 
convert mem_test

7 years agoconvert timer_test
Evan Hunt [Wed, 24 Oct 2018 15:48:41 +0000 (08:48 -0700)] 
convert timer_test

7 years agoconvert task_test
Evan Hunt [Wed, 24 Oct 2018 20:12:55 +0000 (13:12 -0700)] 
convert task_test

7 years agoconvert hash_test
Joey [Wed, 14 Nov 2018 12:33:45 +0000 (20:33 +0800)] 
convert hash_test

7 years agoconvert ht_test
Evan Hunt [Wed, 24 Oct 2018 08:13:13 +0000 (01:13 -0700)] 
convert ht_test

7 years agoconvert time_test
Evan Hunt [Wed, 24 Oct 2018 06:43:47 +0000 (23:43 -0700)] 
convert time_test

7 years agoconvert taskpool_test
Evan Hunt [Wed, 24 Oct 2018 06:32:30 +0000 (23:32 -0700)] 
convert taskpool_test

7 years agoconvert pool_test
Evan Hunt [Wed, 24 Oct 2018 06:25:49 +0000 (23:25 -0700)] 
convert pool_test

7 years agoconvert sockaddr_test
Evan Hunt [Wed, 24 Oct 2018 06:19:44 +0000 (23:19 -0700)] 
convert sockaddr_test

7 years agoconvert netaddr_test
Evan Hunt [Wed, 24 Oct 2018 06:11:11 +0000 (23:11 -0700)] 
convert netaddr_test

7 years agoconvert symtab_test
Evan Hunt [Wed, 24 Oct 2018 05:52:30 +0000 (22:52 -0700)] 
convert symtab_test

7 years agoconvert queue_test
Evan Hunt [Wed, 24 Oct 2018 05:46:42 +0000 (22:46 -0700)] 
convert queue_test

7 years agoconvert file_test
Evan Hunt [Wed, 24 Oct 2018 05:41:12 +0000 (22:41 -0700)] 
convert file_test

7 years agoconvert lex_test
Evan Hunt [Wed, 24 Oct 2018 05:33:45 +0000 (22:33 -0700)] 
convert lex_test

7 years agoconvert errno_test
Evan Hunt [Wed, 24 Oct 2018 05:29:39 +0000 (22:29 -0700)] 
convert errno_test

7 years agoconvert safe_test
Evan Hunt [Wed, 24 Oct 2018 05:26:42 +0000 (22:26 -0700)] 
convert safe_test

7 years agoconvert radix_test
Evan Hunt [Wed, 24 Oct 2018 05:22:10 +0000 (22:22 -0700)] 
convert radix_test

7 years agoconvert heap_test
Evan Hunt [Wed, 24 Oct 2018 05:19:01 +0000 (22:19 -0700)] 
convert heap_test

7 years agoconvert parse_test
Evan Hunt [Wed, 24 Oct 2018 04:20:45 +0000 (21:20 -0700)] 
convert parse_test

7 years agoconvert counter_test
Evan Hunt [Wed, 24 Oct 2018 04:16:16 +0000 (21:16 -0700)] 
convert counter_test

7 years agoconvert buffer_test
Evan Hunt [Wed, 24 Oct 2018 07:43:33 +0000 (00:43 -0700)] 
convert buffer_test

7 years agoconvert aes_test
Evan Hunt [Wed, 24 Oct 2018 07:02:43 +0000 (00:02 -0700)] 
convert aes_test

7 years agoconvert listenlist_test; remove ATF from lib/ns/tests
Evan Hunt [Wed, 24 Oct 2018 17:10:59 +0000 (10:10 -0700)] 
convert listenlist_test; remove ATF from lib/ns/tests

7 years agoconvert notify_test
Evan Hunt [Wed, 24 Oct 2018 17:06:21 +0000 (10:06 -0700)] 
convert notify_test

7 years agoconvert query_test
Evan Hunt [Wed, 24 Oct 2018 17:02:49 +0000 (10:02 -0700)] 
convert query_test

- also fixed a bug in openssldh_link.c that turned up in the process

7 years agoconvert resconf_test; remove ATF from lib/irs/tests
Evan Hunt [Wed, 24 Oct 2018 16:22:15 +0000 (09:22 -0700)] 
convert resconf_test; remove ATF from lib/irs/tests

7 years agoconvert parser_test; remove ATF from lib/isccfg/tests
Evan Hunt [Wed, 24 Oct 2018 16:10:24 +0000 (09:10 -0700)] 
convert parser_test; remove ATF from lib/isccfg/tests

7 years agoassert if {isc,dns,ns}_test_begin() is called when a prior test is running
Evan Hunt [Fri, 26 Oct 2018 00:02:46 +0000 (17:02 -0700)] 
assert if {isc,dns,ns}_test_begin() is called when a prior test is running

7 years agoremove .NOTPARALLEL so unit tests can build faster
Evan Hunt [Fri, 26 Oct 2018 00:04:02 +0000 (17:04 -0700)] 
remove .NOTPARALLEL so unit tests can build faster

7 years agoadd cmocka support to remaining unit test makefiles
Evan Hunt [Thu, 15 Nov 2018 03:40:56 +0000 (03:40 +0000)] 
add cmocka support to remaining unit test makefiles

- also cleaned up some existing test code

7 years agoset HAVE_CMOCKA correctly when using --with-cmocka=yes
Evan Hunt [Wed, 24 Oct 2018 04:05:26 +0000 (21:05 -0700)] 
set HAVE_CMOCKA correctly when using --with-cmocka=yes

(note: this is still broken if using --with-cmocka=path)

7 years agoRemove OPENSSL_cleanup() call as we cannot recover from that, it will be called via...
Ondřej Surý [Fri, 26 Oct 2018 03:27:56 +0000 (03:27 +0000)] 
Remove OPENSSL_cleanup() call as we cannot recover from that, it will be called via atexit mechanism automatically

7 years agoMerge branch 'u/fanf2/optionally-disable-digrc' into 'master'
Mark Andrews [Thu, 15 Nov 2018 01:53:40 +0000 (20:53 -0500)] 
Merge branch 'u/fanf2/optionally-disable-digrc' into 'master'

dig: a -r option to disable .digrc

See merge request isc-projects/bind9!970

7 years agoadd CHANGES
Mark Andrews [Tue, 6 Nov 2018 04:46:38 +0000 (15:46 +1100)] 
add CHANGES

7 years agodig: a -r option to disable .digrc
Tony Finch [Fri, 2 Nov 2018 15:02:54 +0000 (15:02 +0000)] 
dig: a -r option to disable .digrc

7 years agoMerge branch 'ondrej/use-static-assert' into 'master'
Mark Andrews [Wed, 14 Nov 2018 23:39:52 +0000 (18:39 -0500)] 
Merge branch 'ondrej/use-static-assert' into 'master'

Use static assertions on non-Windows platforms (requires C11 or gcc-4.6+)

See merge request isc-projects/bind9!1045

7 years agoUse static assertion to check for correct alignment size
Ondřej Surý [Tue, 13 Nov 2018 20:44:08 +0000 (21:44 +0100)] 
Use static assertion to check for correct alignment size

7 years agoDefine STATIC_ASSERT(cond, msg) to be _Static_assert(cond, msg) everywhere but on...
Ondřej Surý [Tue, 13 Nov 2018 20:43:11 +0000 (21:43 +0100)] 
Define STATIC_ASSERT(cond, msg) to be _Static_assert(cond, msg) everywhere but on Windows where it stays to be INSIST(cond)

7 years agoMerge branch '347-various-bind-9-bugs-in-cleanup-after-fail-scenarios' into 'master'
Evan Hunt [Wed, 14 Nov 2018 21:53:18 +0000 (16:53 -0500)] 
Merge branch '347-various-bind-9-bugs-in-cleanup-after-fail-scenarios' into 'master'

Resolve "Various BIND 9 bugs in cleanup-after-fail scenarios"

Closes #347

See merge request isc-projects/bind9!1007

7 years agouninitalize memory read on error path
Mark Andrews [Fri, 9 Nov 2018 04:32:33 +0000 (15:32 +1100)] 
uninitalize memory read on error path

7 years agoerrors initalizing badcaches were not caught or cleaned up on error paths
Mark Andrews [Fri, 9 Nov 2018 04:31:26 +0000 (15:31 +1100)] 
errors initalizing badcaches were not caught or cleaned up on error paths

7 years agoMerge branch '671-late-qmin-relaxed-warning' into 'master'
Witold Krecicki [Wed, 14 Nov 2018 20:14:40 +0000 (15:14 -0500)] 
Merge branch '671-late-qmin-relaxed-warning' into 'master'

qname minimization: issue a warning only if the server is really broken

Closes #671

See merge request isc-projects/bind9!994

7 years agoCHANGES note
Witold Kręcicki [Wed, 14 Nov 2018 19:56:29 +0000 (19:56 +0000)] 
CHANGES note

7 years agoqname minimization: issue a warning only if the server is really broken
Witold Kręcicki [Thu, 8 Nov 2018 11:51:29 +0000 (11:51 +0000)] 
qname minimization: issue a warning only if the server is really broken

7 years agoMerge branch '558-nsupdate-leaks-memory-when-using-gss-tsig-and-receiving-sigterm...
Evan Hunt [Wed, 14 Nov 2018 19:39:09 +0000 (14:39 -0500)] 
Merge branch '558-nsupdate-leaks-memory-when-using-gss-tsig-and-receiving-sigterm-at-a-right-time' into 'master'

Resolve "nsupdate leaks memory when using GSS-TSIG and receiving SIGTERM at a "right" time"

Closes #558

See merge request isc-projects/bind9!1048

7 years agofree tmpzonename and restart_master
Mark Andrews [Wed, 14 Nov 2018 04:17:48 +0000 (15:17 +1100)] 
free tmpzonename and restart_master