29992 Commits
Author SHA1 Message Date
Tinderbox User 00d5a0a865 Merge branch 'prep-release' into v9_14 v9.14.10 2020-01-16 15:09:57 +00:00
Tinderbox User 09de25a316 regen v9_14 2020-01-16 15:09:29 +00:00
Tinderbox User d836526bfe prep 9.14.10
Update the API files.
- lib/dns:
  - struct resolver has added elements, this is an interface change
    and thus LIBINTERFACE is incremented, and LIBREVISION is reset.
  - Since this also means an interface change since the last public
    release, also reset LIBAGE.
- lib/isccfg:
  - The library source code changed, so increment LIBREVISION.
- lib/ns:
  - The library source code changed, so increment LIBREVISION.

Update other files:
- No changes needed to the README, this is a small bugfix release.
2020-01-16 15:01:08 +00:00
Matthijs Mekking 350a8867bf Merge branch 'prepare-release-notes-for-bind-9-14.10' into 'v9_14'
Add release notes section for BIND 9.14.10

See merge request isc-projects/bind9!2905
2020-01-16 12:01:29 +00:00
Michał KępieńandMatthijs Mekking 169ffcb96e Add release notes section for BIND 9.14.10 2020-01-16 12:26:53 +01:00
Michał Kępień 3a6d3abc4d Merge branch 'michal/fix-the-dnssec-system-test-on-windows-v9_14' into 'v9_14'
[v9_14] Fix the "dnssec" system test on Windows

See merge request isc-projects/bind9!2903
2020-01-16 08:51:23 +00:00
Michał Kępień bfedaa5a99 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.

(cherry picked from commit 451484b870)
2020-01-16 09:50:06 +01:00
Michał Kępień ddaeb2ce14 Merge branch '1525-inline-system-test-failed-need-to-wait-for-zone-to-be-loaded-v9_14' into 'v9_14'
[v9_14] Resolve "inline system test failed, need to wait for zone to be loaded."

See merge request isc-projects/bind9!2890
2020-01-14 14:14:38 +00:00
Mark AndrewsandMichał Kępień 0384fb7d92 address some timing issues in inline system test
(cherry picked from commit 2dc4d72fa9)
2020-01-14 14:36:35 +01:00
Michał Kępień 9a5b608ac2 Merge branch '1482-autosign-system-test-failed-v9_14' into 'v9_14'
[v9_14] Resolve "autosign system test failed"

See merge request isc-projects/bind9!2887
2020-01-14 13:34:54 +00:00
Mark AndrewsandMichał Kępień 1327031232 Fix autosign system test issues.
* report when NSEC3PARAM is not yet present
* allow more time for NSEC3PARAM to become present
* adjust frequency failure message

(cherry picked from commit 17d25dbf47)
2020-01-14 13:24:19 +01:00
Michał Kępień 4c3c2a5296 Merge branch '1467-xfer-test-suppress-zone-transfer-when-we-are-going-to-retry-v9_14' into 'v9_14'
[v9_14] Resolve "xfer test: suppress zone transfer when we are going to retry."

See merge request isc-projects/bind9!2884
2020-01-14 11:52:28 +00:00
Mark AndrewsandMichał Kępień 895f60d6f8 improve forensic logs
improve forensic logs by directing output to per sub-test named
files and reporting the sub-subtest number.

(cherry picked from commit 05aa45c602)
2020-01-14 11:57:40 +01:00
Mark AndrewsandMichał Kępień 28695f1c92 suppress unnecessary zone transfer
suppressed unnecessary zone transfer in "test mapped zone with
out of zone data" sub-test.

(cherry picked from commit 9bd6720f58)
2020-01-14 11:54:58 +01:00
Mark AndrewsandMichał Kępień 14ef8b10af 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.

(cherry picked from commit 46982b414b)
2020-01-14 11:51:31 +01:00
Ondřej Surý 173d770bf3 Merge branch '1531-add-calls-to-dns_rdata_additionaldata-to-lib-dns-tests-rdata_test-c-v9_14' into 'v9_14'
Resolve "Add calls to dns_rdata_additionaldata to lib/dns/tests/rdata_test.c"

See merge request isc-projects/bind9!2878
2020-01-14 09:36:33 +00:00
Mark AndrewsandOndřej Surý 2ec9d87b20 exercise dns_rdata_checknames
(cherry picked from commit b3c1b2a869)
2020-01-14 08:07:38 +00:00
Mark AndrewsandOndřej Surý ff4b0af279 exercise dns_rdata_additionaldata
(cherry picked from commit 649a34d628)
2020-01-14 08:07:38 +00:00
Mark AndrewsandOndřej Surý aa0ea40182 call dns_rdata_towire on valid output from dns_rdata_fromtext and dns_rdata_fromwire
(cherry picked from commit 5e74550740)
2020-01-14 08:07:38 +00:00
Ondřej Surý 56f149e1ea Merge branch '1443-threadsanitizer-data-race-lib-dns-rbtdb-c-1960-in-decrement_reference-2-v9_14' into 'v9_14'
Resolve "ThreadSanitizer: data race lib/dns/rbtdb.c:1960 in decrement_reference"

See merge request isc-projects/bind9!2873
2020-01-14 08:05:00 +00:00
Mark AndrewsandOndřej Surý 067b9f8d31 Add is_leaf and send_to_prune_tree.
Add is_leaf and send_to_prune_tree to make the logic easier
to understand in cleanup_dead_nodes and decrement_reference.

(cherry picked from commit c6efc0e50f)
2020-01-14 08:36:02 +01:00
Mark AndrewsandOndřej Surý d7593feb46 Testing node->down requires the tree lock to be held.
In decrement_reference only test node->down if the tree lock
is held.  As node->down is not always tested in
decrement_reference we need to test that it is non NULL in
cleanup_dead_nodes prior to removing the node from the rbt
tree.  Additionally it is not always possible to aquire the
node lock and reactivate a node when adding parent nodes.
Reactivate such nodes in cleanup_dead_nodes if required.

(cherry picked from commit 176b23b6cd)
2020-01-14 08:36:02 +01:00
Mark Andrews 8bee7954c6 Merge branch 'u/fanf2/rndc-secroots-newlines-v9_14' into 'v9_14'
Fix line spacing in `rndc secroots`

See merge request isc-projects/bind9!2866
2020-01-13 19:51:53 +00:00
Tony FinchandMark Andrews 6014fe13ff 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

(cherry picked from commit 5b600c2cd8)
2020-01-14 06:29:09 +11:00
Michal Nowak 339dce6f72 Merge branch 'mnowak/add-openSUSE-Tumblewed-image-v9_14' into 'v9_14'
[v9_14] Add openSUSE Tumbleweed image to the CI

See merge request isc-projects/bind9!2875
2020-01-13 16:27:21 +00:00
Michal Nowak d48f7a9f48 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.

(cherry picked from commit bd5dd1b58c60edb372bc6fa4eb39e355c5c76de4)
2020-01-13 16:27:21 +00:00
Michał Kępień 952b6ad495 Merge branch '1552-properly-detect-mmdb-lookup-failures-v9_14' into 'v9_14'
[v9_14] Properly detect MMDB lookup failures

See merge request isc-projects/bind9!2871
2020-01-13 14:06:52 +00:00
Michał Kępień a070defb18 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]

(cherry picked from commit aa96ec25c8)
2020-01-13 14:37:16 +01:00
Michał Kępień 814da1c808 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.

(cherry picked from commit ec8334fb74)
2020-01-13 14:36:58 +01:00
Michał Kępień 8c7faf623d Merge branch 'michal/update-gitlab-ci-to-alpine-linux-3.11-v9_14' into 'v9_14'
[v9_14] Update GitLab CI to Alpine Linux 3.11

See merge request isc-projects/bind9!2861
2020-01-10 11:43:00 +00:00
Michał Kępień 1132ae8886 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.

(cherry picked from commit bebf353eb5)
2020-01-10 11:24:51 +01:00
Michał Kępień 3a8a9ef124 Merge branch 'ondrej/run-full-pipeline-on-schedule-v9_14' into 'v9_14'
[v9_14] Run all jobs on scheduled builds (including OpenBSD and Windows)

See merge request isc-projects/bind9!2859
2020-01-10 10:20:53 +00:00
Ondřej SurýandMichał Kępień 60ff0e97b5 Run all jobs on scheduled builds (including OpenBSD and Windows)
(cherry picked from commit 52773e226a)
2020-01-10 11:19:54 +01:00
Michał Kępień f13cf700bf Merge branch 'ondrej/stop-retrying-system-tests-v9_14' into 'v9_14'
[v9_14] Stop retrying the system tests; we should fix the tests instead

See merge request isc-projects/bind9!2857
2020-01-10 10:15:02 +00:00
Ondřej SurýandMichał Kępień 6ea00b65da Stop retrying the system tests; we should fix the tests instead
(cherry picked from commit 8ad67f8b9f)
2020-01-10 11:13:58 +01:00
Michał Kępień 5f73947d34 Merge branch '1431-summary-sanitizer-grep-is-dangerous-v9_14' into 'v9_14'
[v9_14] Resolve ""SUMMARY: .*Sanitizer" grep is dangerous"

See merge request isc-projects/bind9!2855
2020-01-10 10:12:57 +00:00
Mark AndrewsandMichał Kępień 3636b0d275 replace grep -r with 'find -type f | xargs'
(cherry picked from commit 36ce99d8a4)
2020-01-10 10:51:37 +01:00
Michał Kępień 3e1cb80650 Merge branch 'ondrej/keep-sanitizer-tainted-system-tests-files-v9_14' into 'v9_14'
[v9_14] Don't clean the system test temporary files if sanitizer reports were found inside

See merge request isc-projects/bind9!2853
2020-01-10 09:50:27 +00:00
Ondřej SurýandMichał Kępień 3bc834daae Don't clean the system test temporary files if sanitizer reports were found inside
(cherry picked from commit 7489e6e6f9)
2020-01-10 10:47:54 +01:00
Michał Kępień 13033c4527 Merge branch 'michal/fix-the-forward-system-test-on-windows-v9_14' into 'v9_14'
[v9_14] Fix the "forward" system test on Windows

See merge request isc-projects/bind9!2851
2020-01-10 09:45:17 +00:00
Michał Kępień 12f0f68742 Fix the "forward" system test on Windows
Make sure carriage return characters are stripped from sed input to
enable the "forward" system test to pass on Windows.

(cherry picked from commit 075613aea4)
2020-01-10 10:44:08 +01:00
Michał Kępień 2c5edb965a Merge branch '1479-_wait_for_rcode-adds-extraneous-query-v9_14' into 'v9_14'
[v9_14] Resolve "_wait_for_rcode adds extraneous query"

See merge request isc-projects/bind9!2849
2020-01-10 09:42:43 +00:00
Mark AndrewsandMichał Kępień 05596de640 consume all arguments we have processed in shift
(cherry picked from commit 0ee0580fc9)
2020-01-10 10:41:23 +01:00
Michał Kępień a59e76c658 Merge branch '1453-the-zero-system-test-timeouts-intermittently-v9_14' into 'v9_14'
[v9_14] Bail-out early if dig fails to finish successfully or takes too long

See merge request isc-projects/bind9!2847
2020-01-10 09:26:53 +00:00
Ondřej SurýandMichał Kępień bea5bcff8d Bail-out early if dig fails to finish successfully or takes too long
Before, the zero system test could get stuck almost infinitely, because
the first test sends > 300 queries with 5 seconds timeout on each in
each pass.  If named crashed early, it would took the test more than 4
hours to properly timeout.

This commit introduces a "watchdog" on the dig commands running in the
background and failing the test on timeout, failing any test if any dig
command fails to return successfully, and making the tests.sh script
shellcheck clean.

(cherry picked from commit 2a65a47f39)
2020-01-10 10:04:12 +01:00
Michał Kępień 7c87878455 Merge branch '1458-intermittent-failure-in-the-forward-system-test-v9_14' into 'v9_14'
[v9_14] Resolve "Intermittent failure in the forward system test"

See merge request isc-projects/bind9!2845
2020-01-10 09:03:20 +00:00
Ondřej SurýandMichał Kępień 865fff9b5a Wait for named to forward the question before testing the validity
(cherry picked from commit fb03edacd8)
2020-01-10 09:10:46 +01:00
Ondřej SurýandMichał Kępień b29efb0406 Make forward system test shellcheck clean
(cherry picked from commit 0e15cbb092)
2020-01-10 09:10:45 +01:00
Ondřej SurýandMichał Kępień 97985a2d4d Use $n to keep diagnostic output of every individual test separate
(cherry picked from commit 10f4cd066f)
2020-01-10 09:08:21 +01:00
Ondřej SurýandMichał Kępień 4cf83a956c Add the standard $n to each test
(cherry picked from commit 64df488e1e)
2020-01-10 09:06:13 +01:00