]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
6 years agosuppress DOXYGEN marka-cppcheck-explore
Mark Andrews [Mon, 3 Feb 2020 06:44:15 +0000 (17:44 +1100)] 
suppress DOXYGEN

6 years agoremove unused label
Mark Andrews [Mon, 3 Feb 2020 05:45:15 +0000 (16:45 +1100)] 
remove unused label

6 years agoadd --library=std.cfg
Mark Andrews [Mon, 3 Feb 2020 05:38:39 +0000 (16:38 +1100)] 
add --library=std.cfg

6 years agoisc_mem_get cannot fail
Mark Andrews [Thu, 30 Jan 2020 08:54:27 +0000 (19:54 +1100)] 
isc_mem_get cannot fail

6 years agofixup! limit jobs when debugging cppcheck
Mark Andrews [Thu, 30 Jan 2020 08:47:12 +0000 (19:47 +1100)] 
fixup! limit jobs when debugging cppcheck

6 years agofixup! limit jobs when debugging cppcheck
Mark Andrews [Thu, 30 Jan 2020 08:45:36 +0000 (19:45 +1100)] 
fixup! limit jobs when debugging cppcheck

6 years agoisc_mem_get cannot fail
Mark Andrews [Thu, 30 Jan 2020 08:41:32 +0000 (19:41 +1100)] 
isc_mem_get cannot fail

6 years agodelay assignment until after REQUIRE
Mark Andrews [Thu, 30 Jan 2020 08:38:47 +0000 (19:38 +1100)] 
delay assignment until after REQUIRE

6 years agofixup! limit jobs when debugging cppcheck
Mark Andrews [Thu, 30 Jan 2020 08:14:27 +0000 (19:14 +1100)] 
fixup! limit jobs when debugging cppcheck

6 years agofixup! limit jobs when debugging cppcheck
Mark Andrews [Thu, 30 Jan 2020 08:11:14 +0000 (19:11 +1100)] 
fixup! limit jobs when debugging cppcheck

6 years agofixup! limit jobs when debugging cppcheck
Mark Andrews [Thu, 30 Jan 2020 08:07:04 +0000 (19:07 +1100)] 
fixup! limit jobs when debugging cppcheck

6 years agofixup! limit jobs when debugging cppcheck
Mark Andrews [Thu, 30 Jan 2020 08:00:24 +0000 (19:00 +1100)] 
fixup! limit jobs when debugging cppcheck

6 years agodelay assignment until after REQUIRE
Mark Andrews [Thu, 30 Jan 2020 07:56:03 +0000 (18:56 +1100)] 
delay assignment until after REQUIRE

6 years agoskip if first is NULL
Mark Andrews [Thu, 30 Jan 2020 07:55:36 +0000 (18:55 +1100)] 
skip if first is NULL

6 years agolimit jobs when debugging cppcheck
Mark Andrews [Thu, 30 Jan 2020 07:41:50 +0000 (18:41 +1100)] 
limit jobs when debugging cppcheck

6 years agofixup! delay assignment until after REQUIRE
Mark Andrews [Thu, 30 Jan 2020 07:24:22 +0000 (18:24 +1100)] 
fixup! delay assignment until after REQUIRE

6 years agodelay assignment until after REQUIRE
Mark Andrews [Thu, 30 Jan 2020 07:19:11 +0000 (18:19 +1100)] 
delay assignment until after REQUIRE

6 years agomake expression logical for cppcheck
Mark Andrews [Thu, 30 Jan 2020 06:57:25 +0000 (17:57 +1100)] 
make expression logical for cppcheck

6 years agoremove brackets
Mark Andrews [Thu, 30 Jan 2020 06:49:15 +0000 (17:49 +1100)] 
remove brackets

6 years agosimplify ISC_LIKELY/ISC_UNLIKELY for CPPCHECK
Mark Andrews [Thu, 30 Jan 2020 06:27:08 +0000 (17:27 +1100)] 
simplify ISC_LIKELY/ISC_UNLIKELY for CPPCHECK

6 years agosimplify RUNTIME_CHECK for cppcheck
Mark Andrews [Thu, 30 Jan 2020 06:14:42 +0000 (17:14 +1100)] 
simplify RUNTIME_CHECK for cppcheck

6 years agoadd untracked
Mark Andrews [Thu, 30 Jan 2020 05:42:27 +0000 (16:42 +1100)] 
add untracked

6 years agofixup! add --dump
Mark Andrews [Thu, 30 Jan 2020 05:15:47 +0000 (16:15 +1100)] 
fixup! add --dump

6 years agoadd --dump
Mark Andrews [Thu, 30 Jan 2020 05:13:21 +0000 (16:13 +1100)] 
add --dump

6 years agoMerge branch 'michal/list-atypical-failures-in-system-test-summary' into 'master'
Michał Kępień [Wed, 29 Jan 2020 14:42:19 +0000 (14:42 +0000)] 
Merge branch 'michal/list-atypical-failures-in-system-test-summary' into 'master'

List atypical failures in system test summary

See merge request isc-projects/bind9!2964

6 years agoList atypical failures in system test summary
Michał Kępień [Wed, 29 Jan 2020 13:50:26 +0000 (14:50 +0100)] 
List atypical failures in system test summary

Each system test can be marked as failed not only due to some tested
component(s) not behaving as expected, but also because of core dumps,
assertion failures, and/or ThreadSanitizer reports being found among its
artifacts.  Make the system test summary list the tests which exhibit
such atypical symptoms to more clearly present the nature of problems
found.

6 years agoMerge branch '1508-case-system-test-failed' into 'master'
Mark Andrews [Tue, 28 Jan 2020 21:21:45 +0000 (21:21 +0000)] 
Merge branch '1508-case-system-test-failed' into 'master'

Resolve "case system test failed."

Closes #1508

See merge request isc-projects/bind9!2774

6 years agowait longer for dynamic zone to be transfered
Mark Andrews [Fri, 13 Dec 2019 04:58:39 +0000 (15:58 +1100)] 
wait longer for dynamic zone to be transfered

6 years agoMerge branch 'each-history-typo' into 'master'
Evan Hunt [Fri, 24 Jan 2020 17:55:29 +0000 (17:55 +0000)] 
Merge branch 'each-history-typo' into 'master'

fixed a typo

See merge request isc-projects/bind9!2960

6 years agofixed a typo
Evan Hunt [Fri, 24 Jan 2020 17:53:32 +0000 (09:53 -0800)] 
fixed a typo

6 years agoMerge branch '1559-dnssec-system-test-failed-reload-of-root-server-not-completed...
Mark Andrews [Thu, 23 Jan 2020 22:01:11 +0000 (22:01 +0000)] 
Merge branch '1559-dnssec-system-test-failed-reload-of-root-server-not-completed-in-time' into 'master'

Resolve "dnssec system test failed: reload of root server not completed in time."

Closes #1559

See merge request isc-projects/bind9!2877

6 years agowait for root server to complete reloading
Mark Andrews [Tue, 14 Jan 2020 06:08:25 +0000 (17:08 +1100)] 
wait for root server to complete reloading

6 years agoMerge branch '1579-dnstap-system-test-appears-to-be-timing-sensitive' into 'master'
Mark Andrews [Thu, 23 Jan 2020 21:13:18 +0000 (21:13 +0000)] 
Merge branch '1579-dnstap-system-test-appears-to-be-timing-sensitive' into 'master'

Resolve "dnstap system test appears to be timing sensitive"

Closes #1579

See merge request isc-projects/bind9!2950

6 years agowait for the ./NS lookup to complete
Mark Andrews [Thu, 23 Jan 2020 02:54:56 +0000 (13:54 +1100)] 
wait for the ./NS lookup to complete

6 years agocheck that all servers have finished loading before beginging tests
Mark Andrews [Thu, 23 Jan 2020 02:31:47 +0000 (13:31 +1100)] 
check that all servers have finished loading before beginging tests

6 years agoMerge branch 'marka-signing-clear-notify' into 'master'
Mark Andrews [Thu, 23 Jan 2020 09:46:31 +0000 (09:46 +0000)] 
Merge branch 'marka-signing-clear-notify' into 'master'

Send NOTIFY messages after deleting private-type records.

See merge request isc-projects/bind9!2942

6 years agoSend NOFITY messages after deleting private-type records.
Tony Finch [Thu, 16 Jan 2020 15:46:04 +0000 (15:46 +0000)] 
Send NOFITY messages after deleting private-type records.

The `rndc signing -clear` command cleans up the private-type records
that keep track of zone signing activity, but before this change it
did not tell the secondary servers that the zone has changed.

6 years agoMerge branch '1572-wait-for-mirror-zone-to-be-deleted' into 'master'
Mark Andrews [Thu, 23 Jan 2020 05:09:19 +0000 (05:09 +0000)] 
Merge branch '1572-wait-for-mirror-zone-to-be-deleted' into 'master'

Resolve "Wait for mirror zone to be deleted"

Closes #1572

See merge request isc-projects/bind9!2941

6 years agowait for log message before testing that mirror zone is correctly removed
Mark Andrews [Wed, 22 Jan 2020 04:49:48 +0000 (15:49 +1100)] 
wait for log message before testing that mirror zone is correctly removed

6 years agoMerge branch '1522-pad-system-test-is-timing-sensitive' into 'master'
Mark Andrews [Thu, 23 Jan 2020 03:15:07 +0000 (03:15 +0000)] 
Merge branch '1522-pad-system-test-is-timing-sensitive' into 'master'

Resolve "padding system test is timing sensitive"

Closes #907 and #1522

See merge request isc-projects/bind9!2782

6 years agoaddress timing issues in padding system test
Mark Andrews [Wed, 18 Dec 2019 02:23:58 +0000 (13:23 +1100)] 
address timing issues in padding system test

'rndc stats' is not instantaneous. Wait for the dump to complete
before looking at the content.

6 years agoMerge branch '1540-bind-aborts-when-queried-for-non-existing-domain-in-chaos-class...
Evan Hunt [Wed, 22 Jan 2020 20:24:38 +0000 (20:24 +0000)] 
Merge branch '1540-bind-aborts-when-queried-for-non-existing-domain-in-chaos-class' into 'master'

Resolve "bind 9.14.8 and 9.14.9 aborts when queried for non-existing domain in chaos class"

Closes #1569 and #1540

See merge request isc-projects/bind9!2843

6 years agoCHANGES
Evan Hunt [Wed, 22 Jan 2020 18:23:34 +0000 (10:23 -0800)] 
CHANGES

6 years agoAdded test for the proposed fix
Diego Fronza [Wed, 15 Jan 2020 18:22:06 +0000 (15:22 -0300)] 
Added test for the proposed fix

Added test to ensure that NXDOMAIN is returned when BIND is queried for a
non existing domain in CH class (if a view of CHAOS class is configured)
and that it also doesn't crash anymore in those cases.

6 years agoFixed crash when querying for non existing domain in chaos class
Diego Fronza [Wed, 15 Jan 2020 17:39:38 +0000 (14:39 -0300)] 
Fixed crash when querying for non existing domain in chaos class

Function dns_view_findzonecut in view.c wasn't correctly handling
classes other than IN (chaos, hesiod, etc) whenever the name being
looked up wasn't in cache or in any of the configured zone views' database.

That resulted in a NULL fname being used in resolver.c:4900, which
in turn was triggering abort.

6 years agoMerge branch 'mnowak/prevent-failing-grep-invocations-from-interrupting-mkeys' into...
Michal Nowak [Wed, 22 Jan 2020 14:53:02 +0000 (14:53 +0000)] 
Merge branch 'mnowak/prevent-failing-grep-invocations-from-interrupting-mkeys' into 'master'

mkeys: Prevent failing grep invocations

Closes #1567

See merge request isc-projects/bind9!2933

6 years agomkeys: Prevent failing grep invocations
Michal Nowak [Wed, 22 Jan 2020 14:53:01 +0000 (14:53 +0000)] 
mkeys: Prevent failing grep invocations

Some 'grep' invocations were not guarded from interrupting the test
prematurely, e.g. when no text was matched.

6 years agoMerge branch 'wpk/pipelined-test-fix' into 'master'
Witold Krecicki [Wed, 22 Jan 2020 13:07:19 +0000 (13:07 +0000)] 
Merge branch 'wpk/pipelined-test-fix' into 'master'

Fix pipelined test

See merge request isc-projects/bind9!2927

6 years agoGet rid of the remains of -Tdelay option
Witold Kręcicki [Tue, 21 Jan 2020 09:58:42 +0000 (10:58 +0100)] 
Get rid of the remains of -Tdelay option

6 years agopipelined test: we no longer have -Tdelay option, use a python proxy that delays...
Witold Kręcicki [Tue, 21 Jan 2020 09:54:38 +0000 (10:54 +0100)] 
pipelined test: we no longer have -Tdelay option, use a python proxy that delays packets as a workaround

6 years agoMerge branch '1560-isc_httpd-and-isc_httpdmgr-structures-are-not-reference-counted...
Mark Andrews [Wed, 22 Jan 2020 01:33:02 +0000 (01:33 +0000)] 
Merge branch '1560-isc_httpd-and-isc_httpdmgr-structures-are-not-reference-counted-and-magic' into 'master'

Resolve "isc_httpd and isc_httpdmgr structures are not reference counted and magic"

Closes #1560

See merge request isc-projects/bind9!2913

6 years agoClean the ENTER/EXIT/NOTICE debugging from production code
Ondřej Surý [Tue, 21 Jan 2020 07:25:30 +0000 (08:25 +0100)] 
Clean the ENTER/EXIT/NOTICE debugging from production code

6 years agoRefactor parts of isc_httpd and isc_httpd for better readability and safety
Ondřej Surý [Mon, 20 Jan 2020 11:37:57 +0000 (12:37 +0100)] 
Refactor parts of isc_httpd and isc_httpd for better readability and safety

6 years agoadd ISC_MAGIC and reference counting to httpd and httpdmgr
Mark Andrews [Fri, 17 Jan 2020 07:24:24 +0000 (18:24 +1100)] 
add ISC_MAGIC and reference counting to httpd and httpdmgr

6 years agoMerge branch 'mnowak/enhance_unit_test_debugging' into 'master'
Michal Nowak [Tue, 21 Jan 2020 17:41:22 +0000 (17:41 +0000)] 
Merge branch 'mnowak/enhance_unit_test_debugging' into 'master'

Omit spurious string from unit test debugging efforts

See merge request isc-projects/bind9!2829

6 years agoOmit spurious string from unit test debugging efforts
Michal Nowak [Wed, 8 Jan 2020 14:07:43 +0000 (15:07 +0100)] 
Omit spurious string from unit test debugging efforts

When both 'broken' and 'failed' test cases appear in unit test output

...
===> Broken tests
lib/isc/tests/socket_test:main  ->  broken: Test case timed out  [300.022s]
===> Failed tests
lib/isc/tests/time_test:main  ->  failed: 2 of 6 tests failed  [0.006s]
===> Summary
...

spurious '===>' string gets matched, that results in the following
error:

  Usage error for command debug: '===>' is not a test case identifier (missing ':'?).

Following change makes sure the string is omitted.

I checked on FreeBSD and OpenBSD that the AWK construct is supported.

6 years agoMerge branch 'wpk/fix-inline-test' into 'master'
Witold Krecicki [Tue, 21 Jan 2020 14:23:41 +0000 (14:23 +0000)] 
Merge branch 'wpk/fix-inline-test' into 'master'

tests: add a missing log nextpart in inline test

Closes #1568

See merge request isc-projects/bind9!2928

6 years agotests: add a missing log nextpart in inline test
Witold Kręcicki [Tue, 21 Jan 2020 10:56:25 +0000 (11:56 +0100)] 
tests: add a missing log nextpart in inline test

6 years agoMerge branch 'wpk/dnssec-test-fixes' into 'master'
Witold Krecicki [Tue, 21 Jan 2020 14:00:51 +0000 (14:00 +0000)] 
Merge branch 'wpk/dnssec-test-fixes' into 'master'

dnssec: use less-or-equal when looking at SyncPublish time

See merge request isc-projects/bind9!2929

6 years agodnssec: use less-or-equal when looking at SyncPublish time
Witold Kręcicki [Tue, 21 Jan 2020 13:20:19 +0000 (14:20 +0100)] 
dnssec: use less-or-equal when looking at SyncPublish time

If we created a key, mark its SyncPublish time as 'now' and started
bind the key might not be published if the SyncPublish time is in
the same second as the time the zone is loaded. This is mostly
for dnssec system test, as this kind of scenario is very unlikely
in a real world environment.

6 years agoMerge branch 'ondrej/lower-the-artifact-expiration-time-to-just-12-hours' into 'master'
Ondřej Surý [Tue, 21 Jan 2020 12:06:24 +0000 (12:06 +0000)] 
Merge branch 'ondrej/lower-the-artifact-expiration-time-to-just-12-hours' into 'master'

Lower the artifact expiration time to just 1 day

See merge request isc-projects/bind9!2930

6 years agoLower the artifact expiration time to just 1 day
Ondřej Surý [Tue, 21 Jan 2020 11:51:54 +0000 (12:51 +0100)] 
Lower the artifact expiration time to just 1 day

6 years agoMerge branch 'wpk/fix-taskmgr-pause-unpause-detach-race' into 'master'
Witold Krecicki [Tue, 21 Jan 2020 10:04:07 +0000 (10:04 +0000)] 
Merge branch 'wpk/fix-taskmgr-pause-unpause-detach-race' into 'master'

Fix a race in taskmgr between worker and task pausing/unpausing.

Closes #1571

See merge request isc-projects/bind9!2918

6 years agoCHANGES note
Witold Kręcicki [Mon, 20 Jan 2020 21:34:10 +0000 (22:34 +0100)] 
CHANGES note

6 years agoUnit test for the taskmgr pause/unpause race
Witold Kręcicki [Mon, 20 Jan 2020 11:12:29 +0000 (12:12 +0100)] 
Unit test for the taskmgr pause/unpause race

6 years agoFix a race in taskmgr between worker and task pausing/unpausing.
Witold Kręcicki [Mon, 20 Jan 2020 10:39:14 +0000 (11:39 +0100)] 
Fix a race in taskmgr between worker and task pausing/unpausing.

To reproduce the race - create a task, send two events to it, first one
must take some time. Then, from the outside, pause(), unpause() and detach()
the task.
When the long-running event is processed by the task it is in
task_state_running state. When we called pause() the state changed to
task_state_paused, on unpause we checked that there are events in the task
queue, changed the state to task_state_ready and enqueued the task on the
workers readyq. We then detach the task.
The dispatch() is done with processing the event, it processes the second
event in the queue, and then shuts down the task and frees it (as it's not
referenced anymore). Dispatcher then takes the, already freed, task from
the queue where it was wrongly put, causing an use-after free and,
subsequently, either an assertion failure or a segmentation fault.
The probability of this happening is very slim, yet it might happen under a
very high load, more probably on a recursive resolver than on an
authoritative.
The fix introduces a new 'task_state_pausing' state - to which tasks
are moved if they're being paused while still running. They are moved
to task_state_paused state when dispatcher is done with them, and
if we unpause a task in paused state it's moved back to task_state_running
and not requeued.

6 years agoMerge branch 'marka-Psync-future' into 'master'
Mark Andrews [Tue, 21 Jan 2020 06:11:15 +0000 (06:11 +0000)] 
Merge branch 'marka-Psync-future' into 'master'

dnssec: do not publish CDS records when -Psync is in the future

See merge request isc-projects/bind9!2925

6 years agoadd CHANGES
Mark Andrews [Tue, 21 Jan 2020 05:42:51 +0000 (16:42 +1100)] 
add CHANGES

6 years agodnssec: do not publish CDS records when -Psync is in the future
Tony Finch [Tue, 14 Jan 2020 19:23:31 +0000 (19:23 +0000)] 
dnssec: do not publish CDS records when -Psync is in the future

This is a bug I encountered when trying to schedule an algorithm
rollover. My plan, for a zone whose maximum TTL is 48h, was to sign
with the new algorithm and schedule a change of CDS records for more
than 48 hours in the future, roughly like this:

    $ dnssec-keygen -a 13 -fk -Psync now+50h $zone
    $ dnssec-keygen -a 13 $zone
    $ dnssec-settime -Dsync now+50h $zone_ksk_old

However the algorithm 13 CDS was published immediately, which could
have made the zone bogus.

To reveal the bug using the `smartsign` test, this change just adds a
KSK with all its times in the future, so it should not affect the
existing checks at all. But the final check (that there are no CDS or
CDSNSKEY records after -Dsync) fails with the old `syncpublish()`
logic, because the future key's sync records appear early. With the
new `syncpublish()` logic the future key does not affect the test, as
expected, and it now passes.

6 years agoMerge branch 'marka-omit-spurious-newlines' into 'master'
Mark Andrews [Tue, 21 Jan 2020 05:16:25 +0000 (05:16 +0000)] 
Merge branch 'marka-omit-spurious-newlines' into 'master'

Omit spurious newlines when reporting DNSKEY changes

See merge request isc-projects/bind9!2922

6 years agoOmit spurious newlines when reporting DNSKEY changes
Tony Finch [Thu, 16 Jan 2020 15:54:12 +0000 (15:54 +0000)] 
Omit spurious newlines when reporting DNSKEY changes

These caused blank lines to appear in the logs.

6 years agoMerge branch 'marka-document-authors-bind' into 'master'
Mark Andrews [Tue, 21 Jan 2020 03:54:51 +0000 (03:54 +0000)] 
Merge branch 'marka-document-authors-bind' into 'master'

document that version also controls authors.bind

See merge request isc-projects/bind9!2919

6 years agodocument that version also controls authors.bind
Mark Andrews [Mon, 20 Jan 2020 23:11:24 +0000 (10:11 +1100)] 
document that version also controls authors.bind

6 years agoMerge branch 'fix-shutdown-issues' into 'master'
Witold Krecicki [Mon, 20 Jan 2020 22:01:44 +0000 (22:01 +0000)] 
Merge branch 'fix-shutdown-issues' into 'master'

Fix shutdown issues

See merge request isc-projects/bind9!2907

6 years agoFix possible race in socket destruction.
Witold Kręcicki [Fri, 17 Jan 2020 13:42:57 +0000 (14:42 +0100)] 
Fix possible race in socket destruction.

When two threads unreferenced handles coming from one socket while
the socket was being destructed we could get a use-after-free:
Having handle H1 coming from socket S1, H2 coming from socket S2,
S0 being a parent socket to S1 and S2:

Thread A                             Thread B
Unref handle H1                      Unref handle H2
Remove H1 from S1 active handles     Remove H2 from S2 active handles
nmsocket_maybe_destroy(S1)           nmsocket_maybe_destroy(S2)
nmsocket_maybe_destroy(S0)           nmsocket_maybe_destroy(S0)
LOCK(S0->lock)
Go through all children, figure
out that we have no more active
handles:
sum of S0->children[i]->ah == 0
UNLOCK(S0->lock)
destroy(S0)
                                     LOCK(S0->lock)
                                      - but S0 is already gone

6 years agocalling isc__nm_udp_send() on a non-udp socket is not 'unexpected', it's a critical...
Witold Kręcicki [Fri, 17 Jan 2020 11:07:34 +0000 (12:07 +0100)] 
calling isc__nm_udp_send() on a non-udp socket is not 'unexpected', it's a critical failure

6 years agoclean up some handle/client reference counting errors in error cases.
Witold Kręcicki [Fri, 17 Jan 2020 10:42:35 +0000 (11:42 +0100)] 
clean up some handle/client reference counting errors in error cases.

We weren't consistent about who should unreference the handle in
case of network error. Make it consistent so that it's always the
client code responsibility to unreference the handle - either
in the callback or right away if send function failed and the callback
will never be called.

6 years agocleanup properly if we fail to initialize ns_client structure
Witold Kręcicki [Thu, 16 Jan 2020 10:53:31 +0000 (11:53 +0100)] 
cleanup properly if we fail to initialize ns_client structure

If taskmgr is shutting down ns_client_setup will fail to create
a task for the newly created client, we weren't cleaning up already
created/attached things (memory context, server, clientmgr).

6 years agonetmgr: fix a non-thread-safe access to libuv structures
Witold Kręcicki [Thu, 16 Jan 2020 11:13:28 +0000 (12:13 +0100)] 
netmgr: fix a non-thread-safe access to libuv structures

In tcp and udp stoplistening code we accessed libuv structures
from a different thread, which caused a shutdown crash when named
was under load. Also added additional DbC checks making sure we're
in a proper thread when accessing uv_ functions.

6 years agonetmgr: don't send to an inactive (closing) udp socket
Witold Kręcicki [Thu, 16 Jan 2020 10:52:58 +0000 (11:52 +0100)] 
netmgr: don't send to an inactive (closing) udp socket

We had a race in which n UDP socket could have been already closing
by libuv but we still sent data to it. Mark socket as not-active
when stopping listening and verify that socket is not active when
trying to send data to it.

6 years agoMerge branch '1537-nslookup-manual-page-needs-update-for-default-querytype-a-and...
Mark Andrews [Sun, 19 Jan 2020 23:43:47 +0000 (23:43 +0000)] 
Merge branch '1537-nslookup-manual-page-needs-update-for-default-querytype-a-and-aaaa' into 'master'

Resolve "nslookup manual page needs update for default querytype (A and AAAA)"

Closes #1537

See merge request isc-projects/bind9!2894

6 years agodocument that nslookup defaults to A + AAAA lookups
Mark Andrews [Wed, 15 Jan 2020 02:06:50 +0000 (13:06 +1100)] 
document that nslookup defaults to A + AAAA lookups

6 years agoMerge branch 'marka-check-CHANGES-SE-in-CI' into 'master'
Mark Andrews [Fri, 17 Jan 2020 21:09:16 +0000 (21:09 +0000)] 
Merge branch 'marka-check-CHANGES-SE-in-CI' into 'master'

Check CHANGES.SE in CI

See merge request isc-projects/bind9!2912

6 years agocheck that CHANGES.SE entries are correctly ordered and that whitespace is correct
Mark Andrews [Thu, 16 Jan 2020 22:25:53 +0000 (09:25 +1100)] 
check that CHANGES.SE entries are correctly ordered and that whitespace is correct

6 years agoMerge branch 'michal/fix-the-dnssec-system-test-on-windows' into 'master' v9.15.8
Michał Kępień [Thu, 16 Jan 2020 08:49:13 +0000 (08:49 +0000)] 
Merge branch 'michal/fix-the-dnssec-system-test-on-windows' into 'master'

Fix the "dnssec" system test on Windows

See merge request isc-projects/bind9!2902

6 years agoFix the "dnssec" system test on Windows
Michał Kępień [Thu, 16 Jan 2020 08:48:01 +0000 (09:48 +0100)] 
Fix the "dnssec" system test on Windows

Make sure carriage return characters are stripped from awk input to
enable the "dnssec" system test to pass on Windows.

6 years agoMerge branch 'prep-v9_15_8' into 'master'
Evan Hunt [Thu, 16 Jan 2020 08:21:28 +0000 (08:21 +0000)] 
Merge branch 'prep-v9_15_8' into 'master'

prep 9.15.8

See merge request isc-projects/bind9!2901

6 years agoprep 9.15.8
Tinderbox User [Thu, 16 Jan 2020 07:53:19 +0000 (07:53 +0000)] 
prep 9.15.8

6 years agoMerge branch 'each-add-relnotes-v9_15_8' into 'master'
Evan Hunt [Thu, 16 Jan 2020 07:41:10 +0000 (07:41 +0000)] 
Merge branch 'each-add-relnotes-v9_15_8' into 'master'

add release notes for  9.15.8

See merge request isc-projects/bind9!2900

6 years agoadd release notes for 9.15.8 bugs and changes, and fix CHANGES errors
Evan Hunt [Thu, 16 Jan 2020 07:22:29 +0000 (23:22 -0800)] 
add release notes for 9.15.8 bugs and changes, and fix CHANGES errors

6 years agoAdd empty release notes section for BIND 9.15.8
Evan Hunt [Thu, 16 Jan 2020 07:09:15 +0000 (23:09 -0800)] 
Add empty release notes section for BIND 9.15.8

6 years agoMerge branch '1561-ncache-validation-crash' into 'master'
Evan Hunt [Wed, 15 Jan 2020 22:15:36 +0000 (22:15 +0000)] 
Merge branch '1561-ncache-validation-crash' into 'master'

fix a bug when validating negative cache entries

Closes #1561

See merge request isc-projects/bind9!2899

6 years agoCHANGES
Evan Hunt [Wed, 15 Jan 2020 17:01:03 +0000 (09:01 -0800)] 
CHANGES

6 years agoadd system test of insecurity proof from negative cache
Evan Hunt [Wed, 15 Jan 2020 21:54:56 +0000 (13:54 -0800)] 
add system test of insecurity proof from negative cache

6 years agofix a bug when validating negative cache entries
Evan Hunt [Wed, 15 Jan 2020 16:19:19 +0000 (08:19 -0800)] 
fix a bug when validating negative cache entries

if validator_start() is called with validator->event->message set to
NULL, we can't use message->rcode to decide which negative proofs are
needed, so we use the rdataset attributes instead to determine whether
the rdataset was cached as NXDOMAIN or NODATA.

6 years agoMerge branch 'wpk/fix-interface-reconfig-crashes' into 'master'
Witold Krecicki [Wed, 15 Jan 2020 16:56:55 +0000 (16:56 +0000)] 
Merge branch 'wpk/fix-interface-reconfig-crashes' into 'master'

Fix interface reconfig crashes

See merge request isc-projects/bind9!2898

6 years agonetmgr: have a single source of truth for tcpdns callback
Witold Kręcicki [Wed, 15 Jan 2020 13:53:42 +0000 (14:53 +0100)] 
netmgr: have a single source of truth for tcpdns callback

We pass interface as an opaque argument to tcpdns listening socket.
If we stop listening on an interface but still have in-flight connections
the opaque 'interface' is not properly reference counted, and we might
hit a dead memory. We put just a single source of truth in a listening
socket and make the child sockets use that instead of copying the
value from listening socket. We clean the callback when we stop listening.

6 years agonetmgr: we can't uv_close(sock->timer) when in sock->timer close callback
Witold Kręcicki [Wed, 15 Jan 2020 13:53:01 +0000 (14:53 +0100)] 
netmgr: we can't uv_close(sock->timer) when in sock->timer close callback

6 years agoMerge branch 'wpk/fix-uvtransfers-on-windows' into 'master'
Ondřej Surý [Wed, 15 Jan 2020 13:50:10 +0000 (13:50 +0000)] 
Merge branch 'wpk/fix-uvtransfers-on-windows' into 'master'

Fixes for netmgr on Windows after recent TCP changes

See merge request isc-projects/bind9!2896

6 years agonetmgr:
Witold Kręcicki [Wed, 15 Jan 2020 11:29:41 +0000 (12:29 +0100)] 
netmgr:
 - isc__netievent_storage_t was to small to contain
   isc__netievent__socket_streaminfo_t on Windows
 - handle isc_uv_export and isc_uv_import errors properly
 - rewrite isc_uv_export and isc_uv_import on Windows