33744 Commits
Author SHA1 Message Date
Ondřej Surý 59bfaba325 Merge branch '2947-revert-2308-v9_16_22' into 'security-v9_16'
Revert "Merge branch '2308-catz-reload-when-missing-a-zone-v9_16' into 'v9_16'"

See merge request isc-private/bind9!329
v9.16.22
2021-10-13 10:56:16 +00:00
Ondřej Surý b6b1e6ae96 Revert "Merge branch '2308-catz-reload-when-missing-a-zone-v9_16' into 'v9_16'"
This reverts commit 9298caddf4, reversing
changes made to a6741da4af.
2021-10-13 12:37:14 +02:00
Tinderbox User cb9e3fcfbf Merge branch 'prep-release' into security-v9_16 2021-10-11 15:18:47 +00:00
Tinderbox User 562806cb2b prep 9.16.22 2021-10-11 15:17:56 +00:00
Michał Kępień f8ee53d2e4 Merge branch 'michal/prepare-documentation-for-bind-9.16.22' into 'security-v9_16'
Prepare documentation for BIND 9.16.22

See merge request isc-private/bind9!326
2021-10-11 14:13:16 +00:00
Michał Kępień d238910672 Prepare release notes for BIND 9.16.22 2021-10-11 15:56:17 +02:00
Michał Kępień 8956d10ce3 Add release note for GL #2911 2021-10-11 15:56:17 +02:00
Michał Kępień c696f44102 Reorder release notes 2021-10-11 15:56:17 +02:00
Michał Kępień 9d0150ac36 Tweak and reword release notes 2021-10-11 15:56:17 +02:00
Michał Kępień 8ad5e9b728 Tweak and reword recent CHANGES entries 2021-10-11 15:56:17 +02:00
Michał Kępień 6535de0612 Merge branch '2899-security-disable-lame-cache-v9_16' into 'security-v9_16'
[CVE-2021-25219] [v9_16] Disable "lame-ttl" cache

See merge request isc-private/bind9!323
2021-10-11 12:07:45 +00:00
Ondřej SurýandMichał Kępień 01f4005851 Add CHANGES and release note for [GL #2899] 2021-10-11 12:50:46 +02:00
Ondřej SurýandMichał Kępień e4931584a3 Enable lame response detection even with disabled lame cache
Previously, when lame cache would be disabled by setting lame-ttl to 0,
it would also disable lame answer detection.  In this commit, we enable
the lame response detection even when the lame cache is disabled.  This
enables stopping answer processing early rather than going through the
whole answer processing flow.
2021-10-11 12:50:46 +02:00
Ondřej SurýandMichał Kępień 8fe18c0566 Disable lame-ttl cache
The lame-ttl cache is implemented in ADB as per-server locked
linked-list "indexed" with <qname,qtype>.  This list has to be walked
every time there's a new query or new record added into the lame cache.
Determined attacker can use this to degrade performance of the resolver.

Resolver testing has shown that disabling the lame cache has little
impact on the resolver performance and it's a minimal viable defense
against this kind of attack.
2021-10-11 12:50:46 +02:00
Mark Andrews 5f07ee0da3 Merge branch '2901-large-number-of-small-zones-in-map-format-cannot-be-loaded' into 'v9_16'
Resolve "Large number of small zones in `map` format cannot be loaded"

See merge request isc-projects/bind9!5398
2021-10-06 23:41:35 +00:00
Mark Andrews f6e66e94f0 document 'masterfile-format map' vs 'vm.max_map_count' 2021-10-06 23:22:10 +00:00
Arаm Sаrgsyаn 092284b2a8 Merge branch '2818-catz-arm-primaries-masters-fix-v9_16' into 'v9_16'
[v9_16] Fix catalog zones configuration syntax in the ARM

See merge request isc-projects/bind9!5459
2021-10-05 13:11:27 +00:00
Aram Sargsyan 72d12aff56 Fix catalog zones configuration syntax in the ARM
The 55636ab5 commit made some changes in the reference manual
regarding catalog zones which do not actually correspond to reality
for the v9_16 branch.

This commit reverts those changes.
2021-10-05 12:46:57 +00:00
Mark Andrews b16d52c13c Merge branch '2900-listenlist_test-notify_test-and-query_test-failing-v9_16' into 'v9_16'
Increase the number of file descriptors available

See merge request isc-projects/bind9!5462
2021-10-05 09:54:32 +00:00
Mark Andrews 050e6e757a Increase the number of file descriptors available
The 'listenlist_test', 'notify_test', and 'query_test' tests failed
when the descriptor limit was 256 on MacOS 11.6 with 8 cpus. On the
test platform the limit needed to be increased to ~400.  Increase
the limit to at least 1024 to give some head room.

(cherry picked from commit 877f52b772)
2021-10-05 17:46:56 +11:00
Arаm Sаrgsyаn 9298caddf4 Merge branch '2308-catz-reload-when-missing-a-zone-v9_16' into 'v9_16'
[v9_16] Handle a missing zone when reloading a catalog zone

See merge request isc-projects/bind9!5454
2021-09-30 20:43:24 +00:00
Aram Sargsyan b85e92f82f Add CHANGES and release notes for [GL #2308]
(cherry picked from commit 3edaa0bde6)
2021-09-30 20:16:25 +00:00
Aram Sargsyan 311074f51e Handle a missing zone when reloading a catalog zone
Previously a missing/deleted zone which was referenced by a catalog
zone was causing a crash when doing a reload.

This commit will make `named` to ignore the fact that the zone is
missing, and make sure to restore it later on.

(cherry picked from commit 94a5712801)
2021-09-30 20:15:19 +00:00
Ondřej Surý a6741da4af Merge branch '2908-rwlock-with-reader-and-writer-both-waiting-v9_16' into 'v9_16'
Pause the dbiterator before calling dns_db_find

See merge request isc-projects/bind9!5450
2021-09-29 16:23:31 +00:00
Mark AndrewsandOndřej Surý 85fd9821e5 Add CHANGES note for [GL #2908]
(cherry picked from commit c04bce278f)
2021-09-29 18:04:14 +02:00
Mark AndrewsandOndřej Surý 21771f5295 Pause the dbiterator before calling dns_db_find
zone.c:integrity_checks() acquires a read lock while iterating the
zone database, and calls zone_check_mx() which acquires another
read lock. If another thread tries to acquire a write lock in the
meantime, it can deadlock. Calling dns_dbiterator_pause() to release
the first read lock prevents this.

(cherry picked from commit 4e1faa35d5)
2021-09-29 18:04:14 +02:00
Mark Andrews b166563e06 Merge branch '2911-9-16-21-regression-legacy-check-names-configuration-does-not-work-anymore-v9_16' into 'v9_16'
Fix "check-names master" and "check-names slave"

See merge request isc-projects/bind9!5448
2021-09-29 10:11:56 +00:00
Mark Andrews 190f71f93a Add CHANGES note for [GL #2911]
(cherry picked from commit 14249ce9fe)
2021-09-29 19:52:31 +10:00
Mark Andrews 0a6ed417b5 Check that 'check-names {secondary|slave} ignore;' works
(cherry picked from commit 0b0d400d7c)
2021-09-29 19:51:53 +10:00
Mark Andrews f72946794f Check that 'check-names master ignore;' works
(cherry picked from commit 9107c8caeb)
2021-09-29 19:51:53 +10:00
Mark Andrews 7aa30aae38 Fix "check-names master" and "check-names slave"
check for type "master" / "slave" at the same time as checking
for "primary" / "secondary" as we step through the maps.

Checking "primary" then "master" or "master" then "primary" does
not work as the synomym is not checked for to stop the search.
Similarly with "secondary" and "slave".

(cherry picked from commit a3c6516a75)
2021-09-29 19:51:53 +10:00
Mark Andrews 617d786713 Merge branch '2909-pointers-used-before-validation-v9_16' into 'v9_16'
Address use before NULL check warning of uvreq

See merge request isc-projects/bind9!5445
2021-09-29 02:02:50 +00:00
Mark Andrews 74353330cd Address use before NULL check warning of obj
move deference of obj to after NULL check

(cherry picked from commit 06a69e03ac)
2021-09-29 11:43:14 +10:00
Mark Andrews 5dff412a08 Address use before NULL check warning of ievent->sock
Reorder REQUIRE checks to ensure ievent->sock is checked earlier

(cherry picked from commit 8fc9bb8e8e)
2021-09-29 11:43:14 +10:00
Mark Andrews addd580b0a Address use before NULL check warning of uvreq
move dereference of uvreq until the after NULL check.

(cherry picked from commit 7079829b84)
2021-09-29 11:43:14 +10:00
Mark Andrews 3859fea828 Merge branch '2910-unknown-system-test-doesn-t-leave-forensics-v9_16' into 'v9_16'
Preserve dig results in case of test failure

See merge request isc-projects/bind9!5441
2021-09-24 04:19:03 +00:00
Mark Andrews 3295339391 Preserve dig results in case of test failure
(cherry picked from commit 96b7421f8c)
2021-09-24 13:37:43 +10:00
Matthijs Mekking dd1454bc67 Merge branch 'matthijs-fix-arm-typos-v9_16' into 'v9_16'
The s stands for security (9.16)

See merge request isc-projects/bind9!5439
2021-09-23 09:56:21 +00:00
Matthijs Mekking dff495a0d0 Remove copy paste error on zone-max-ttl
The "zone-max-ttl" option inside a "dnssec-policy" is not used to cap
the TTLs in a zone, only yo calculate key rollover timings.

(cherry picked from commit 4e3ba81696)
2021-09-23 09:53:01 +02:00
Matthijs Mekking cc8391943c Add a note about salt length
Apparently it is confusing that you don't specify a specific salt,
but a salt length.

(cherry picked from commit 9ddc23b2bf)
2021-09-23 09:52:55 +02:00
Matthijs Mekking 6a5efd791e The s stands for security
So "hardware security modules" not "hardware service modules"

(cherry picked from commit a73a07832e)
2021-09-23 09:52:50 +02:00
Petr Špaček fabe4b7e6c Merge branch 'ondrej/add-python-3.8-check-v9_16' into 'v9_16'
Add python3.8 to the autoconf search list

See merge request isc-projects/bind9!5434
2021-09-22 08:53:17 +00:00
Ondřej Surý 38244fdf88 Add python3.8 to the autoconf search list
It was discovered that FreeBSD doesn't setup alias from default
Python version neither to python3 nor python, and thus the configure
step would fail to find working python installation.
2021-09-22 10:24:16 +02:00
Ondřej Surý eeba2e305e Merge branch '2814-fix-has-have-typo-v9_16' into 'v9_16'
Fix has->have typo in DLZ drivers deprecation message

See merge request isc-projects/bind9!5433
2021-09-22 07:42:06 +00:00
Ondřej Surý df7646785e Fix has->have typo in DLZ drivers deprecation message
We fixed the CHANGES and release notes and missed this one.
2021-09-22 09:37:04 +02:00
Ondřej Surý 072c76055c Merge branch '2814-add-deprecation-warning-when-DLZ-drivers-are-used-v9_16' into 'v9_16'
Add deprecation warning about DLZ drivers

See merge request isc-projects/bind9!5430
2021-09-21 12:58:11 +00:00
Ondřej Surý 489b503381 Add CHANGES and release note for [GL #2814] 2021-09-21 14:53:19 +02:00
Ondřej Surý c3b3dd3229 Add deprecation warning about DLZ drivers
DLZ drivers are going to be removed from the next major BIND 9 release,
this commit adds a deprecation warning to inform the users about the
need to migrate to DLZ modules.
2021-09-21 10:44:41 +02:00
Ondřej Surý 8ef5ea2a38 Merge branch '2882-deprecate-masterfile-map-option-v9_16' into 'v9_16'
Mark the masterfile-format type 'map' as deprecated

See merge request isc-projects/bind9!5423
2021-09-17 07:36:13 +00:00
Ondřej Surý f4b72d5646 Add CHANGES and releases notes for [GL #2882]
(cherry picked from commit c518036988)
2021-09-17 09:16:10 +02:00