]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
6 years agoxxx wpk/transferwork
U-DESKTOP-5UMITBO\wpk [Wed, 15 Jan 2020 11:16:03 +0000 (12:16 +0100)] 
xxx

6 years agoMerge branch 'each-allow-ds-with-key' into 'master'
Evan Hunt [Tue, 14 Jan 2020 19:56:16 +0000 (19:56 +0000)] 
Merge branch 'each-allow-ds-with-key' into 'master'

allow DS with key trust anchors

See merge request isc-projects/bind9!2892

6 years agoallow both key and DS trust anchors to be used for the same name.
Evan Hunt [Tue, 14 Jan 2020 19:17:30 +0000 (11:17 -0800)] 
allow both key and DS trust anchors to be used for the same name.

6 years agoMerge branch '1237-keytable-refactoring' into 'master'
Evan Hunt [Tue, 14 Jan 2020 18:10:16 +0000 (18:10 +0000)] 
Merge branch '1237-keytable-refactoring' into 'master'

Resolve "refactor dns_keytable"

Closes #1237

See merge request isc-projects/bind9!2798

6 years agokeep the keynode attached as long as dsset is in use
Evan Hunt [Tue, 24 Dec 2019 21:59:34 +0000 (13:59 -0800)] 
keep the keynode attached as long as dsset is in use

when using the trust anchor dsset as val->dsset, keep a reference
to the keynode so dsset can't be freed.

6 years agomake dns_keytable_deletekey() work correctly
Evan Hunt [Tue, 24 Dec 2019 04:26:03 +0000 (20:26 -0800)] 
make dns_keytable_deletekey() work correctly

it now removes matching trust anchors from from the dslist while leaving
the other trust anchors in place.

also cleaned up the API to remove functions that were never being used.

6 years agofix a bug with the insertion of DS records into existing keynodes
Evan Hunt [Sat, 21 Dec 2019 00:23:25 +0000 (16:23 -0800)] 
fix a bug with the insertion of DS records into existing keynodes

NOTE: the keytable test is still failing because dns_keytable_deletekey()
is looking for exact matches in keynodes containing dst_key objects,
which no keynode has anymore.

6 years agodisable adding keys to keytable; only DS trust anchors can now be added
Evan Hunt [Fri, 20 Dec 2019 19:37:11 +0000 (11:37 -0800)] 
disable adding keys to keytable; only DS trust anchors can now be added

the internal keytable structure has not yet been changed, but
insertion of DS anchors is the only method now available.

NOTE: the keytable unit test is currently failing because of tests
that expect individual keynode objects to contain single DST key
objects.

6 years agoremove all code that uses non-DS trust anchors
Evan Hunt [Fri, 20 Dec 2019 03:39:33 +0000 (19:39 -0800)] 
remove all code that uses non-DS trust anchors

as initial-key and static-key trust anchors will now be stored as a
DS rrset, code referencing keynodes storing DNSKEY trust anchors will
no longer be reached.

6 years agorename dns_keytable_deletekeynode to dns_keytable_deletekey
Evan Hunt [Wed, 11 Dec 2019 08:09:15 +0000 (00:09 -0800)] 
rename dns_keytable_deletekeynode to dns_keytable_deletekey

this function is used by dns_view_untrust() to handle revoked keys, so
it will still be needed after the keytable/validator refactoring is
complete, even though the keytable will be storing DS trust anchors
instead of keys. to simplify the way it's called, it now takes a DNSKEY
rdata struct instead of a DST key.

6 years agoMerge branch '1396-document-bind-9-15-x-need-for-pkg-config' into 'master'
Ondřej Surý [Tue, 14 Jan 2020 13:31:17 +0000 (13:31 +0000)] 
Merge branch '1396-document-bind-9-15-x-need-for-pkg-config' into 'master'

Fail the autoconf script early if pkg-config is not present.

Closes #1396

See merge request isc-projects/bind9!2889

6 years agoFail the autoconf script early if pkg-config is not present.
Ondřej Surý [Tue, 14 Jan 2020 13:07:36 +0000 (14:07 +0100)] 
Fail the autoconf script early if pkg-config is not present.

6 years agoMerge branch 'ondrej/more-conversions-to-isc_refcount-API' into 'master'
Ondřej Surý [Tue, 14 Jan 2020 12:16:17 +0000 (12:16 +0000)] 
Merge branch 'ondrej/more-conversions-to-isc_refcount-API' into 'master'

Convert more reference counting to isc_refcount API

See merge request isc-projects/bind9!2153

6 years agoUse isc_refcount_increment0() when reusing handle or socket; remove extra DbC checks
Ondřej Surý [Tue, 14 Jan 2020 08:43:37 +0000 (09:43 +0100)] 
Use isc_refcount_increment0() when reusing handle or socket; remove extra DbC checks

6 years agoMove the NO_SANITIZE attribute to a correct place (gcc is picky)
Ondřej Surý [Tue, 14 Jan 2020 08:43:37 +0000 (09:43 +0100)] 
Move the NO_SANITIZE attribute to a correct place (gcc is picky)

6 years agoATOMIC_VAR_INIT() must be used only for static variables (C17)
Ondřej Surý [Mon, 13 Jan 2020 10:38:43 +0000 (11:38 +0100)] 
ATOMIC_VAR_INIT() must be used only for static variables (C17)

6 years agoWhen compiling with MSVC, use inline functions for isc_refcount_increment/decrement
Ondřej Surý [Wed, 9 Oct 2019 06:20:16 +0000 (08:20 +0200)] 
When compiling with MSVC, use inline functions for isc_refcount_increment/decrement

6 years agoRestore DbC checks in isc_refcount API
Ondřej Surý [Mon, 15 Jul 2019 08:20:16 +0000 (10:20 +0200)] 
Restore DbC checks in isc_refcount API

The isc_refcount API that provides reference counting lost DbC checks for
overflows and underflows in the isc_refcount_{increment,decrement} functions.

The commit restores the overflow check in the isc_refcount_increment and
underflows check in the isc_refcount_decrement by checking for the previous
value to not be on the boundary.

6 years agoProtect globally accessed variables in rndc.c by making them C11 atomic
Ondřej Surý [Wed, 9 Oct 2019 10:00:34 +0000 (12:00 +0200)] 
Protect globally accessed variables in rndc.c by making them C11 atomic

6 years agoConvert global responses variable in dispatch_test to C11 atomics
Ondřej Surý [Wed, 9 Oct 2019 06:47:44 +0000 (08:47 +0200)] 
Convert global responses variable in dispatch_test to C11 atomics

6 years agoRemove duplicate INSIST checks for isc_refcount API
Ondřej Surý [Mon, 15 Jul 2019 09:19:03 +0000 (11:19 +0200)] 
Remove duplicate INSIST checks for isc_refcount API

This commits removes superfluous checks when using the isc_refcount API.

Examples of superfluous checks:

1. The isc_refcount_decrement function ensures there was not underflow,
   so this check is superfluous:

    INSIST(isc_refcount_decrement(&r) > 0);

2 .The isc_refcount_destroy() includes check whether the counter
   is zero, therefore this is superfluous:

    INSIST(isc_refcount_decrement(&r) == 1 && isc_refcount_destroy(&r));

6 years agoConvert more reference counting to isc_refcount API
Ondřej Surý [Mon, 15 Jul 2019 08:27:11 +0000 (10:27 +0200)] 
Convert more reference counting to isc_refcount API

6 years agoUse isc_refcount_increment0() where appropriate
Ondřej Surý [Tue, 23 Jul 2019 14:24:50 +0000 (10:24 -0400)] 
Use isc_refcount_increment0() where appropriate

6 years agoImprove code style when checking old references values
Ondřej Surý [Tue, 23 Jul 2019 14:24:32 +0000 (10:24 -0400)] 
Improve code style when checking old references values

6 years agoUse C11 atomics for nfctx, kill unused dns_resolver_nrunning()
Ondřej Surý [Tue, 23 Jul 2019 14:14:14 +0000 (10:14 -0400)] 
Use C11 atomics for nfctx, kill unused dns_resolver_nrunning()

6 years agoUse dns_keytable_attachkeynode() and switch to C11 atomics for .active_nodes
Ondřej Surý [Tue, 23 Jul 2019 13:52:02 +0000 (09:52 -0400)] 
Use dns_keytable_attachkeynode() and switch to C11 atomics for .active_nodes

6 years agoAdd isc_refcount_destroy() as appropriate
Ondřej Surý [Tue, 23 Jul 2019 12:27:30 +0000 (08:27 -0400)] 
Add isc_refcount_destroy() as appropriate

6 years agoMerge branch 'wpk-netmgr-tcp-error-handling' into 'master'
Witold Krecicki [Tue, 14 Jan 2020 12:05:25 +0000 (12:05 +0000)] 
Merge branch 'wpk-netmgr-tcp-error-handling' into 'master'

netmgr: handle errors properly in accept_connection.

See merge request isc-projects/bind9!2880

6 years agoCHANGES
Witold Krecicki [Tue, 14 Jan 2020 10:06:02 +0000 (11:06 +0100)] 
CHANGES

6 years agonetmgr: handle errors properly in accept_connection.
Witold Krecicki [Tue, 14 Jan 2020 10:00:41 +0000 (11:00 +0100)] 
netmgr: handle errors properly in accept_connection.

If a connection was closed early (right after accept()) an assertion
that assumed that the connection was still alive could be triggered
in accept_connection. Handle those errors properly and not with
assertions, free all the resources afterwards.

6 years agoMerge branch '1531-add-calls-to-dns_rdata_additionaldata-to-lib-dns-tests-rdata_test...
Mark Andrews [Tue, 14 Jan 2020 04:44:58 +0000 (04:44 +0000)] 
Merge branch '1531-add-calls-to-dns_rdata_additionaldata-to-lib-dns-tests-rdata_test-c' into 'master'

Resolve "Add calls to dns_rdata_additionaldata to lib/dns/tests/rdata_test.c"

Closes #1531

See merge request isc-projects/bind9!2795

6 years agoexercise dns_rdata_checknames
Mark Andrews [Mon, 23 Dec 2019 21:43:45 +0000 (08:43 +1100)] 
exercise dns_rdata_checknames

6 years agoexercise dns_rdata_additionaldata
Mark Andrews [Mon, 23 Dec 2019 21:19:28 +0000 (08:19 +1100)] 
exercise dns_rdata_additionaldata

6 years agocall dns_rdata_towire on valid output from dns_rdata_fromtext and dns_rdata_fromwire
Mark Andrews [Mon, 23 Dec 2019 06:43:15 +0000 (17:43 +1100)] 
call dns_rdata_towire on valid output from dns_rdata_fromtext and dns_rdata_fromwire

6 years agoMerge branch '1311-netmgr-stats' into 'master'
Evan Hunt [Tue, 14 Jan 2020 00:10:06 +0000 (00:10 +0000)] 
Merge branch '1311-netmgr-stats' into 'master'

Resolve "netmgr doesn't count networking statistics"

Closes #1311

See merge request isc-projects/bind9!2844

6 years agoCHANGES
Evan Hunt [Fri, 10 Jan 2020 01:44:19 +0000 (17:44 -0800)] 
CHANGES

6 years agocount statistics in netmgr TCP code
Evan Hunt [Tue, 7 Jan 2020 18:13:30 +0000 (10:13 -0800)] 
count statistics in netmgr TCP code

6 years agocount statistics in netmgr UDP code
Evan Hunt [Tue, 7 Jan 2020 04:26:47 +0000 (20:26 -0800)] 
count statistics in netmgr UDP code

- also restored a test in the statistics test which was changed when
  the netmgr was introduced because active sockets were not being
  counted.

6 years agoassociate socket stats counters with netmgr socket objects
Evan Hunt [Sun, 5 Jan 2020 09:02:12 +0000 (01:02 -0800)] 
associate socket stats counters with netmgr socket objects

- the socket stat counters have been moved from socket.h to stats.h.
- isc_nm_t now attaches to the same stats counter group as
  isc_socketmgr_t, so that both managers can increment the same
  set of statistics
- isc__nmsocket_init() now takes an interface as a paramter so that
  the address family can be determined when initializing the socket.
- based on the address family and socket type, a group of statistics
  counters will be associated with the socket - for example, UDP4Active
  with IPv4 UDP sockets and TCP6Active with IPv6 TCP sockets.  note
  that no counters are currently associated with TCPDNS sockets; those
  stats will be handled by the underlying TCP socket.
- the counters are not actually used by netmgr sockets yet; counter
  increment and decrement calls will be added in a later commit.

6 years agoMerge branch 'wpk-no-ipc-tcp-passing' into 'master'
Witold Krecicki [Mon, 13 Jan 2020 21:50:33 +0000 (21:50 +0000)] 
Merge branch 'wpk-no-ipc-tcp-passing' into 'master'

Pass TCP listening sockets using async channel, not IPC

Closes #1433, #1499, and #1500

See merge request isc-projects/bind9!2825

6 years agoCHANGES note
Witold Kręcicki [Fri, 10 Jan 2020 08:11:41 +0000 (09:11 +0100)] 
CHANGES note

6 years agoDisable pktinfo for ipv6 on all unices
Witold Kręcicki [Mon, 13 Jan 2020 19:22:23 +0000 (20:22 +0100)] 
Disable pktinfo for ipv6 on all unices

If pktinfo were supported then we could listen on :: for ipv6 and get
the information about the destination address from pktinfo structure passed
in recvmsg but this method is not portable and libuv doesn't support it - so
we need to listen on all interfaces.
We should verify that this doesn't impact performance (we already do it for
ipv4) and either remove all the ipv6pktinfo detection code or think of fixing
libuv.

6 years agonetmgr fixes:
Evan Hunt [Fri, 10 Jan 2020 22:25:30 +0000 (14:25 -0800)] 
netmgr fixes:

 - use UV_{TC,UD}P_IPV6ONLY for IPv6 sockets, keeping the pre-netmgr
   behaviour.
 - add a new listening_error bool flag which is set if the child
   listener fails to start listening. This fixes a bug where named would
   hang if, e.g.,  we failed to bind to a TCP socket.

6 years agoUse isc_uv_export() to pass bound TCP listening socket to child listeners.
Witold Kręcicki [Tue, 7 Jan 2020 11:02:41 +0000 (12:02 +0100)] 
Use isc_uv_export() to pass bound TCP listening socket to child listeners.

For multithreaded TCP listening we need to pass a bound socket to all
listening threads. Instead of using uv_pipe handle passing method which
is quite complex (lots of callbacks, each of them with its own error
handling) we now use isc_uv_export() to export the socket, pass it as a
member of the isc__netievent_tcpchildlisten_t structure, and then
isc_uv_import() it in the child thread, simplifying the process
significantly.

6 years agoAdd isc_uv_export()/isc_uv_import() functions to libuv compatibility layer.
Witold Kręcicki [Tue, 7 Jan 2020 10:00:15 +0000 (11:00 +0100)] 
Add isc_uv_export()/isc_uv_import() functions to libuv compatibility layer.

These functions can be used to pass a uv handle between threads in a
safe manner. The other option is to use uv_pipe and pass the uv_handle
via IPC, which is way more complex.  uv_export() and uv_import() functions
existed in libuv at some point but were removed later. This code is
based on the original removed code.

The Windows version of the code uses two functions internal to libuv;
a patch for libuv is attached for exporting these functions.

6 years agoMerge branch 'mnowak/add-openSUSE-Tumblewed-image' into 'master'
Michal Nowak [Mon, 13 Jan 2020 16:26:06 +0000 (16:26 +0000)] 
Merge branch 'mnowak/add-openSUSE-Tumblewed-image' into 'master'

Add openSUSE Tumbleweed image to the CI

Closes #1303

See merge request isc-projects/bind9!2826

6 years agoAdd openSUSE Tumbleweed image to the CI
Michal Nowak [Mon, 13 Jan 2020 16:26:05 +0000 (16:26 +0000)] 
Add openSUSE Tumbleweed image to the CI

Ensure BIND is continuously tested on Tumbleweed, a pure rolling release
version of openSUSE.  This will allow BIND incompatibilities with latest
upstream versions of its dependencies to be caught more quickly.

6 years agoMerge branch '1552-properly-detect-mmdb-lookup-failures' into 'master'
Michał Kępień [Mon, 13 Jan 2020 13:55:54 +0000 (13:55 +0000)] 
Merge branch '1552-properly-detect-mmdb-lookup-failures' into 'master'

Properly detect MMDB lookup failures

Closes #1552

See merge request isc-projects/bind9!2864

6 years agoAdd CHANGES entry
Michał Kępień [Mon, 13 Jan 2020 13:32:19 +0000 (14:32 +0100)] 
Add CHANGES entry

5339. [bug] With some libmaxminddb versions, named could erroneously
match an IP address not belonging to any subnet defined
in a given GeoIP2 database to one of the existing
entries in that database. [GL #1552]

6 years agoProperly detect MMDB lookup failures
Michał Kępień [Mon, 13 Jan 2020 13:32:19 +0000 (14:32 +0100)] 
Properly detect MMDB lookup failures

Only comparing the value of the integer passed as the last argument to
MMDB_lookup_sockaddr() against MMDB_SUCCESS is not enough to ensure that
an MMDB lookup was successful - the 'found_entry' field of the
MMDB_lookup_result_s structure returned by that function also needs to
be true or else the remaining contents of that structure should be
ignored as the lookup failed.  Extend the relevant logical condition in
get_entry_for() to ensure the latter does not return incorrect MMDB
entries for IP addresses which do not belong to any subnet defined in a
given GeoIP2 database.

6 years agoMerge branch '1507-warning-threadsanitizer-data-race-lib-isc-tests-socket_test-simple...
Ondřej Surý [Mon, 13 Jan 2020 11:11:11 +0000 (11:11 +0000)] 
Merge branch '1507-warning-threadsanitizer-data-race-lib-isc-tests-socket_test-simple' into 'master'

Address dns_zt_asyncload races by properly using isc_reference_*.

Closes #1507

See merge request isc-projects/bind9!2870

6 years agoAddress dns_zt_asyncload races by properly using isc_reference_*.
Mark Andrews [Fri, 13 Dec 2019 02:58:47 +0000 (13:58 +1100)] 
Address dns_zt_asyncload races by properly using isc_reference_*.

6 years agoMerge branch 'doc-binaryflesh' into 'master'
Ondřej Surý [Mon, 13 Jan 2020 10:32:51 +0000 (10:32 +0000)] 
Merge branch 'doc-binaryflesh' into 'master'

Update documentation pertaining to platform support

See merge request isc-projects/bind9!2786

6 years agoupdate windows versions supported
Logan Campos [Fri, 20 Dec 2019 22:02:09 +0000 (16:02 -0600)] 
update windows versions supported

6 years agomake commit-arm executable
Logan Campos [Fri, 20 Dec 2019 20:52:08 +0000 (14:52 -0600)] 
make commit-arm executable

6 years agoUpdate copyrights
Ondřej Surý [Fri, 20 Dec 2019 07:40:09 +0000 (07:40 +0000)] 
Update copyrights

6 years agomake git aware XML docbooks are only asset ARM needs to track
Logan Campos [Fri, 20 Dec 2019 03:21:31 +0000 (21:21 -0600)] 
make git aware XML docbooks are only asset ARM needs to track

6 years agoupdate platform compatiblity documentation
Logan Campos [Fri, 20 Dec 2019 02:53:54 +0000 (20:53 -0600)] 
update platform compatiblity documentation

6 years agochange context of WWW to HTTP
Logan Campos [Thu, 19 Dec 2019 23:11:35 +0000 (17:11 -0600)] 
change context of WWW to HTTP

6 years agoUpdate dated platform compatibility documentation.
Logan Campos [Thu, 19 Dec 2019 22:46:54 +0000 (16:46 -0600)] 
Update dated platform compatibility documentation.

6 years agoMerge branch '1555-code-with-pthread-specific-semantics-is-not-portable' into 'master'
Ondřej Surý [Mon, 13 Jan 2020 08:54:54 +0000 (08:54 +0000)] 
Merge branch '1555-code-with-pthread-specific-semantics-is-not-portable' into 'master'

Resolve "Code with pthread specific semantics is not portable"

Closes #1555

See merge request isc-projects/bind9!2868

6 years agoRemove use of PTHREAD_MUTEX_INITIALIZER in tests
Ondřej Surý [Wed, 4 Dec 2019 09:41:40 +0000 (10:41 +0100)] 
Remove use of PTHREAD_MUTEX_INITIALIZER in tests

Remove the pthread specific static initializer in favor of dynamic
initialization.

6 years agoUse isc_threadresult_t instead of pthread specific void * return type
Ondřej Surý [Wed, 4 Dec 2019 09:41:40 +0000 (10:41 +0100)] 
Use isc_threadresult_t instead of pthread specific void * return type

The ISC thread API already defines isc_threadresult_t type,
but we are using a pthread specific return type (void *).

6 years agoMerge branch 'u/fanf2/rndc-secroots-newlines' into 'master'
Mark Andrews [Mon, 13 Jan 2020 05:48:09 +0000 (05:48 +0000)] 
Merge branch 'u/fanf2/rndc-secroots-newlines' into 'master'

Fix line spacing in `rndc secroots`

See merge request isc-projects/bind9!2478

6 years agoFix line spacing in `rndc secroots`
Tony Finch [Mon, 13 Jan 2020 05:48:09 +0000 (05:48 +0000)] 
Fix line spacing in `rndc secroots`

Before this change, there was a missing blank line between the
negative trust anchors for one view, and the heading line for the next
view. This is because dns_ntatable_totext() omits the last newline.
There is an example of the incorrect output below; the fixed output
has a blank line before "Start view auth".

secure roots as of 21-Oct-2019 12:03:23.500:

 Start view rec
   Secure roots:

./RSASHA256/20326 ; managed

   Negative trust anchors:

example.com: expiry 21-Oct-2019 13:03:15.000
 Start view auth
   Secure roots:

./RSASHA256/20326 ; managed

   Negative trust anchors:

example.com: expiry 21-Oct-2019 13:03:07.000

6 years agoMerge branch 'michal/update-gitlab-ci-to-alpine-linux-3.11' into 'master'
Michał Kępień [Fri, 10 Jan 2020 11:42:55 +0000 (11:42 +0000)] 
Merge branch 'michal/update-gitlab-ci-to-alpine-linux-3.11' into 'master'

Update GitLab CI to Alpine Linux 3.11

See merge request isc-projects/bind9!2799

6 years agoUpdate GitLab CI to Alpine Linux 3.11
Michał Kępień [Fri, 10 Jan 2020 10:23:56 +0000 (11:23 +0100)] 
Update GitLab CI to Alpine Linux 3.11

Since Alpine Linux 3.11 is the current Alpine Linux release, replace
Alpine Linux 3.10 GitLab CI jobs with their up-to-date counterparts.

6 years agoMerge branch 'michal/bind-to-random-port-numbers-in-unit-tests' into 'master'
Michał Kępień [Thu, 9 Jan 2020 09:32:36 +0000 (09:32 +0000)] 
Merge branch 'michal/bind-to-random-port-numbers-in-unit-tests' into 'master'

Bind to random port numbers in unit tests

See merge request isc-projects/bind9!2831

6 years agoBind to random port numbers in unit tests
Michał Kępień [Wed, 8 Jan 2020 17:30:54 +0000 (18:30 +0100)] 
Bind to random port numbers in unit tests

Some unit tests need various managers to be created before they are run.
The interface manager spawned during libns tests listens on a fixed port
number, which causes intermittent issues when multiple tests using an
interface manager are run concurrently.  Make the interface manager
listen on a randomized port number to greatly reduce the risk of
multiple unit tests using the same port concurrently.

6 years agoMerge branch 'mnowak/1546-Add-out-of-tree-build-to-CI' into 'master'
Michal Nowak [Thu, 9 Jan 2020 09:24:38 +0000 (09:24 +0000)] 
Merge branch 'mnowak/1546-Add-out-of-tree-build-to-CI' into 'master'

Out-of-tree build: build job and a fix

Closes #1547 and #1546

See merge request isc-projects/bind9!2810

6 years agoAdd out-of-tree build to the CI
Michal Nowak [Tue, 7 Jan 2020 09:50:07 +0000 (10:50 +0100)] 
Add out-of-tree build to the CI

Fixes #1546.

6 years agoMerge branch '1476-threadsanitizer-data-race-lib-isc-log-multiple-issues-lock' into...
Ondřej Surý [Wed, 8 Jan 2020 11:50:41 +0000 (11:50 +0000)] 
Merge branch '1476-threadsanitizer-data-race-lib-isc-log-multiple-issues-lock' into 'master'

Resolve "ThreadSanitizer: data race lib/isc/log.c - multiple issues"

Closes #1476

See merge request isc-projects/bind9!2823

6 years agoRemove unused isc_log_get() function
Ondřej Surý [Wed, 8 Jan 2020 08:20:22 +0000 (09:20 +0100)] 
Remove unused isc_log_get() function

6 years agoAdd missing locks to isc_logconfig_get and disable thread sanitizer for isc_log_wouldlog
Ondřej Surý [Wed, 8 Jan 2020 07:57:21 +0000 (08:57 +0100)] 
Add missing locks to isc_logconfig_get and disable thread sanitizer for isc_log_wouldlog

6 years agoAdd conditional ISC_NO_SANITIZE macro to disable TSAN for function
Ondřej Surý [Wed, 8 Jan 2020 07:56:52 +0000 (08:56 +0100)] 
Add conditional ISC_NO_SANITIZE macro to disable TSAN for function

6 years agoMerge branch '1525-inline-system-test-failed-need-to-wait-for-zone-to-be-loaded'...
Ondřej Surý [Wed, 8 Jan 2020 07:23:42 +0000 (07:23 +0000)] 
Merge branch '1525-inline-system-test-failed-need-to-wait-for-zone-to-be-loaded' into 'master'

Resolve "inline system test failed, need to wait for zone to be loaded."

Closes #1525

See merge request isc-projects/bind9!2796

6 years agoaddress some timing issues in inline system test
Mark Andrews [Tue, 24 Dec 2019 00:15:00 +0000 (11:15 +1100)] 
address some timing issues in inline system test

6 years agoMerge branch '1513-inline-system-test-failed' into 'master'
Ondřej Surý [Wed, 8 Jan 2020 07:17:47 +0000 (07:17 +0000)] 
Merge branch '1513-inline-system-test-failed' into 'master'

Resolve "inline system test failed"

Closes #1513

See merge request isc-projects/bind9!2777

6 years agoAddress timing issues in 'inline' system test.
Mark Andrews [Tue, 17 Dec 2019 03:19:21 +0000 (14:19 +1100)] 
Address timing issues in 'inline' system test.

"rndc signing -serial <value>" could take longer than a second to
complete.  Loop waiting for update to succeed.

For tests where "rndc signing -serial <value>" is supposed to not
succeed, repeatedly test that we don't get the new serial, then
test that we have the old value.  This should prevent false negatives.

6 years agoMerge branch '1467-xfer-test-suppress-zone-transfer-when-we-are-going-to-retry' into...
Ondřej Surý [Tue, 7 Jan 2020 13:56:35 +0000 (13:56 +0000)] 
Merge branch '1467-xfer-test-suppress-zone-transfer-when-we-are-going-to-retry' into 'master'

Resolve "xfer test: suppress zone transfer when we are going to retry."

Closes #1467

See merge request isc-projects/bind9!2735

6 years agoimprove forensic logs
Mark Andrews [Tue, 10 Dec 2019 03:53:00 +0000 (14:53 +1100)] 
improve forensic logs

improve forensic logs by directing output to per sub-test named
files and reporting the sub-subtest number.

6 years agosuppress unnecessary zone transfer
Mark Andrews [Tue, 10 Dec 2019 03:53:00 +0000 (14:53 +1100)] 
suppress unnecessary zone transfer

suppressed unnecessary zone transfer in "test mapped zone with
out of zone data" sub-test.

6 years agoImprove forensic logging in "testing basic zone transfer functionality"
Mark Andrews [Tue, 10 Dec 2019 03:53:00 +0000 (14:53 +1100)] 
Improve forensic logging in "testing basic zone transfer functionality"

Split the "testing basic zone transfer functionality" into primary and
secondary parts to improve forensic logging.

6 years agoMerge branch 'copyrights-2020' into 'master'
Matthijs Mekking [Mon, 6 Jan 2020 17:53:09 +0000 (17:53 +0000)] 
Merge branch 'copyrights-2020' into 'master'

Update copyrights 2020

See merge request isc-projects/bind9!2809

6 years agoUpdate copyrights 2020
Matthijs Mekking [Mon, 6 Jan 2020 13:25:45 +0000 (14:25 +0100)] 
Update copyrights 2020

Happy New Year!

6 years agoMerge branch 'mnowak/get-the-backtraces-out-of-unit-test-coredumps' into 'master'
Michal Nowak [Mon, 6 Jan 2020 11:25:09 +0000 (11:25 +0000)] 
Merge branch 'mnowak/get-the-backtraces-out-of-unit-test-coredumps' into 'master'

Gather debug info on broken unit tests

See merge request isc-projects/bind9!2699

6 years agoGather debug info on broken unit tests
Michal Nowak [Mon, 6 Jan 2020 11:25:09 +0000 (11:25 +0000)] 
Gather debug info on broken unit tests

6 years agoMerge branch 'michal/misc-doc-fixes' into 'master'
Michał Kępień [Fri, 3 Jan 2020 08:24:18 +0000 (08:24 +0000)] 
Merge branch 'michal/misc-doc-fixes' into 'master'

Miscellaneous documentation fixes

See merge request isc-projects/bind9!2800

6 years agoFix minor CHANGES issues
Michał Kępień [Fri, 3 Jan 2020 08:08:09 +0000 (09:08 +0100)] 
Fix minor CHANGES issues

6 years agoFix whitespace and punctuation in release notes
Michał Kępień [Fri, 3 Jan 2020 08:08:09 +0000 (09:08 +0100)] 
Fix whitespace and punctuation in release notes

6 years agoPrevent splitting GitLab identifiers across lines
Michał Kępień [Fri, 3 Jan 2020 08:08:09 +0000 (09:08 +0100)] 
Prevent splitting GitLab identifiers across lines

GitLab issue and merge request numbers placed in release notes (in the
form of "#1234" for issues and "!5678" for merge requests) should not be
split across two lines.  Extend the shell pipeline generating
doc/arm/notes.txt with a sed invocation which prevents such splitting.

6 years agoMerge branch 'each-copyrights' into 'master'
Evan Hunt [Fri, 3 Jan 2020 05:53:01 +0000 (05:53 +0000)] 
Merge branch 'each-copyrights' into 'master'

update copyright year to 2020

See merge request isc-projects/bind9!2801

6 years agoupdate copyright year to 2020
Evan Hunt [Fri, 3 Jan 2020 05:45:30 +0000 (21:45 -0800)] 
update copyright year to 2020

6 years agoMerge branch '1530-lib-dns-gen-c-29-26-fatal-error-isc-platform-h-no-such-file-or...
Mark Andrews [Sun, 22 Dec 2019 21:18:09 +0000 (21:18 +0000)] 
Merge branch '1530-lib-dns-gen-c-29-26-fatal-error-isc-platform-h-no-such-file-or-directory' into 'master'

Resolve "lib/dns/gen.c:29:26: fatal error: isc/platform.h: No such file or directory"

Closes #1530

See merge request isc-projects/bind9!2792

6 years agoremove duplicate #includes
Mark Andrews [Sun, 22 Dec 2019 20:47:36 +0000 (07:47 +1100)] 
remove duplicate #includes

6 years agorevert d10fbdec for lib/dns/gen.c as it is a build platform executable
Mark Andrews [Sun, 22 Dec 2019 20:37:13 +0000 (07:37 +1100)] 
revert d10fbdec for lib/dns/gen.c as it is a build platform executable

6 years agoMerge branch '1501-summary-threadsanitizer-lock-order-inversion-potential-deadlock...
Mark Andrews [Fri, 20 Dec 2019 10:57:43 +0000 (10:57 +0000)] 
Merge branch '1501-summary-threadsanitizer-lock-order-inversion-potential-deadlock-in-pthread_rwlock_wrlock' into 'master'

Resolve "SUMMARY: ThreadSanitizer: lock-order-inversion (potential deadlock) in pthread_rwlock_wrlock - zone_postload"

See merge request isc-projects/bind9!2776

6 years agoRefactor loop body as copy_non_dnssec_records.
Mark Andrews [Fri, 20 Dec 2019 02:01:49 +0000 (13:01 +1100)] 
Refactor loop body as copy_non_dnssec_records.

6 years agoAdd failure handling when iterators don't end with ISC_R_NOMORE
Ondřej Surý [Wed, 18 Dec 2019 09:54:01 +0000 (10:54 +0100)] 
Add failure handling when iterators don't end with ISC_R_NOMORE

6 years agoRefactor receive_secure_db to make the variables and code flow around the iterator...
Ondřej Surý [Wed, 18 Dec 2019 09:34:29 +0000 (10:34 +0100)] 
Refactor receive_secure_db to make the variables and code flow around the iterator more local