Commit Graph
38629 Commits
Author SHA1 Message Date
Michał Kępień fc16701eef Merge branch 'michal/post-release-tweaks-9.18' into 'bind-9.18'
[9.18] Miscellaneous post-release tweaks

See merge request isc-projects/bind9!8739
2024-02-14 16:23:09 +00:00
Michał Kępień 6a40a5eada Mention CVE-2023-50868 in CHANGES entry 6322
Since CVE-2023-50868 does not have a dedicated fix in BIND 9, mention
its CVE identifier in the CHANGES entry for CVE-2023-50387 (KeyTrap),
which accompanied the code change that addresses both of these
vulnerabilities.

(cherry picked from commit 2fd20bbaf5)
2024-02-14 17:17:49 +01:00
Michal Nowak 67e322b980 Merge branch 'mnowak/accommodate-black-24.2.0-9.18' into 'bind-9.18'
[9.18] Accommodate black 24.2.0

See merge request isc-projects/bind9!8734
2024-02-14 14:46:22 +00:00
Michal Nowak 60c5f6f972 Accommodate black 24.2.0
(cherry picked from commit 70163a8b3f)
2024-02-14 15:45:17 +01:00
Michał Kępień 4ad3c694f1 Merge tag 'v9.18.24' into bind-9.18
BIND 9.18.24
2024-02-14 13:35:19 +01:00
Mark Andrews 2044384f6d Merge branch '4571-findnsec3proofs-failed-to-disassociate-all-rdatasets-returned-by-dns_ncache_current-bind-9.18' into 'bind-9.18'
[9.18] Resolve "findnsec3proofs failed to disassociate all rdatasets returned by dns_ncache_current"

See merge request isc-projects/bind9!8730
2024-02-13 23:09:54 +00:00
Mark Andrews 0f086ddfe1 Add CHANGES note for [GL #4571]
(cherry picked from commit 3b7cddfb1b)
2024-02-14 09:40:42 +11:00
Mark Andrews 1c8851b142 Dissassociate rdatasets returned from dns_ncache_current
lib/dns/validator.c:findnsec3proofs failed to disassociate the
temporary rdataset returned by dns_ncache_current on all paths.

(cherry picked from commit dc94f42209)
2024-02-14 09:38:56 +11:00
Michał Kępień 6d7674f8f2 Update BIND version for release v9.18.24 2024-02-11 11:39:40 +01:00
Michał Kępień b402191074 Add a CHANGES marker 2024-02-11 11:39:40 +01:00
Michał Kępień 4ba9ebefd1 Merge branch 'michal/prepare-documentation-for-bind-9.18.24' into 'v9.18.24-release'
Prepare documentation for BIND 9.18.24

See merge request isc-private/bind9!657
2024-02-11 10:38:21 +00:00
Michał Kępień 0b7dc5eca7 Merge branch '4568-fix-isc_ht-case-insensitive-matching-9.18.24' into 'v9.18.24-release'
[9.18.24] Fix case insensitive matching in isc_ht hash table implementation

See merge request isc-private/bind9!656
2024-02-11 10:26:52 +00:00
Michał Kępień 886793e8de Add release note for GL #4459 2024-02-11 11:23:28 +01:00
Ondřej SurýandMichał Kępień bb1bf51f10 Add CHANGES note for [GL #4568]
(cherry picked from commit b7797adc4e)
2024-02-11 11:23:28 +01:00
Michał Kępień 5ce386aa5c Prepare release notes for BIND 9.18.24 2024-02-11 11:23:28 +01:00
Ondřej SurýandMichał Kępień c8b623d87f Add a system test for mixed-case data for the same owner
We were missing a test where a single owner name would have multiple
types with a different case.  The generated RRSIGs and NSEC records will
then have different case than the signed records and message parser have
to cope with that and treat everything as the same owner.

(cherry picked from commit 14e435b814)
2024-02-11 11:23:28 +01:00
Ondřej SurýandMichał Kępień c462d65b2f Fix case insensitive matching in isc_ht hash table implementation
The case insensitive matching in isc_ht was basically completely broken
as only the hashvalue computation was case insensitive, but the key
comparison was always case sensitive.

(cherry picked from commit ec11aa2836)
2024-02-11 11:23:28 +01:00
Michał Kępień 2a5a7c3770 Merge branch 'michal/set-up-version-and-release-notes-for-bind-9.18.25' into 'bind-9.18'
Set up version and release notes for BIND 9.18.25

See merge request isc-projects/bind9!8721
2024-02-11 10:09:30 +00:00
Michał Kępień eef4bc99d0 Set up release notes for BIND 9.18.25 2024-02-11 11:05:50 +01:00
Michał Kępień 5e3d4ade06 Update BIND version to 9.18.25-dev 2024-02-11 11:05:50 +01:00
Ondřej Surý 4c5f1c6d43 Merge branch '4568-fix-isc_ht-case-insensitive-matching-9.18' into 'bind-9.18'
[9.18] Fix case insensitive matching in isc_ht hash table implementation

See merge request isc-projects/bind9!8719
2024-02-11 08:55:43 +00:00
Ondřej Surý b7797adc4e Add CHANGES note for [GL #4568]
(cherry picked from commit 299ab7623a3ae6e7442cccaab36b21e047c0d1b1)
2024-02-11 09:39:19 +01:00
Ondřej Surý 14e435b814 Add a system test for mixed-case data for the same owner
We were missing a test where a single owner name would have multiple
types with a different case.  The generated RRSIGs and NSEC records will
then have different case than the signed records and message parser have
to cope with that and treat everything as the same owner.
2024-02-11 09:39:19 +01:00
Ondřej Surý ec11aa2836 Fix case insensitive matching in isc_ht hash table implementation
The case insensitive matching in isc_ht was basically completely broken
as only the hashvalue computation was case insensitive, but the key
comparison was always case sensitive.

(cherry picked from commit 34ae6916f115fc291865857509433f95c2bc0871)
2024-02-11 09:39:19 +01:00
Tom Krizek 96473a5edb Merge branch 'tkrizek/adjust-shotgun-load' into 'bind-9.18'
[9.18] Reduce shotgun load during performance tests

See merge request isc-projects/bind9!8711
2024-02-08 17:03:22 +00:00
Tom Krizek 38c66b8bb0 Reduce shotgun load during performance tests
Make the performance test results more stable by lowering the load on
the resolver.
2024-02-08 16:29:21 +01:00
Tom Krizek 444f005e4c Merge branch '4560-pytest-junit-xml-compat-9.18' into 'bind-9.18'
[9.18] Support older junit XML format in test result processing

See merge request isc-projects/bind9!8709
2024-02-08 14:28:04 +00:00
Tom Krizek 2dd238dbd0 Add CHANGES note for [GL #4560]
(cherry picked from commit 06a977a699)
2024-02-08 14:58:47 +01:00
Tom Krizek 6af67e028e Support older junit XML format in test result processing
When running `make check` on a platform which has older (but still
supported) pytest, e.g. 3.4.2 on EL8, the junit to trs conversion would
fail because the junit format has different structure. Make the junit
XML processing more lenient to support both the older and newer junit
XML formats.

(cherry picked from commit bec3dd10b3)
2024-02-08 14:58:11 +01:00
Tom Krizek a0dfb59c14 Merge branch '4562-use-source-port-for-ditch-pl-9.18' into 'bind-9.18'
[9.18] Use a single local port for ditch.pl

See merge request isc-projects/bind9!8707
2024-02-08 13:40:50 +00:00
Tom Krizek 26356ea078 Use a single local port for ditch.pl
The ditch.pl script is used to generate burst traffic without waiting
for the responses. When running other tests in parallel, this can result
in a ephemeral port clash, since the ditch.pl process closes the socket
immediately. In rare occasions when the message ID also clashes with
other tests' queries, it might result in an UnexpectedSource error from
dnspython.

Use a dedicated port EXTRAPORT8 which is reserved for each test as a
source port for the burst traffic.

(cherry picked from commit 339fa5690a)
2024-02-08 13:43:02 +01:00
Ondřej Surý dc72d71a41 Merge branch 'ondrej/various-rbtdb-fixes-9.18' into 'bind-9.18'
[9.18] Fix missing RRSIG for CNAME with different slabheader order

See merge request isc-projects/bind9!8704
2024-02-08 09:03:53 +00:00
Ondřej Surý 29aa972314 Add CHANGES note for [GL !8675]
(cherry picked from commit 6e81717cff)
2024-02-08 08:48:09 +01:00
Ondřej Surý d43a955d0c Optimize cname_and_other_data to stop as earliest as possible
Stop the cname_and_other_data processing if we already know that the
result is true.  Also, we know that CNAME will be placed in the priority
headers, so we can stop looking for CNAME if we haven't found CNAME and
we are past the priority headers.

(cherry picked from commit 3f774c2a8a)
2024-02-08 08:48:09 +01:00
Ondřej Surý 6557abc8bc Optimize the slabheader placement for certain RRTypes
Mark the infrastructure RRTypes as "priority" types and place them at
the beginning of the rdataslab header data graph.  The non-priority
types either go right after the priority types (if any).

(cherry picked from commit 3ac482be7f)
2024-02-08 08:48:09 +01:00
Ondřej Surý d228dc63c1 Fix missing RRSIG for CNAME with different slabheader order
The cachedb was missing piece of code (already found in zonedb) that
would make lookups in the slabheaders to miss the RRSIGs for CNAME if
the order of CNAME and RRSIG(CNAME) was reversed in the node->data.

(cherry picked from commit 5070c7f5c7)
2024-02-08 08:37:24 +01:00
Mark Andrews 02d7e7bf47 Merge branch '4561-shutdown-test-doesn-t-log-everything-to-named-run-bind-9.18' into 'bind-9.18'
[9.18] Resolve "Shutdown test doesn't log everything to named.run"

See merge request isc-projects/bind9!8701
2024-02-07 01:39:23 +00:00
Tom KrizekandMark Andrews 1b6c96a8ed Re-enable rndc shutdown test
The issue preventing a proper rndc shutdown was recently fixed and
the test now passes.

(cherry picked from commit fb70c4d475)
2024-02-07 12:09:03 +11:00
Mark Andrews 84078b96c0 Capture the resolver's startup and shutdown logging
Also set the debugging to 99.

(cherry picked from commit 3651c58a6a)
2024-02-07 12:09:02 +11:00
Matthijs Mekking 06912673df Merge branch '4531-improve-parental-agents-definition-arm-v9_18' into 'bind-9.18'
[9.18] Improve parental-agents definition in ARM

See merge request isc-projects/bind9!8691
2024-02-02 16:50:50 +00:00
Matthijs Mekking 9f1395e48e Add CHANGES for #4531
Improve ARM parental-agents definition.

(cherry picked from commit ab9c62f4b9)
2024-02-02 17:22:48 +01:00
Matthijs Mekking 37e3c3d7fb Improve parental-agents definition in ARM
"A parental agent is the entity that is allowed to change a zone's
delegation information" is untrue, because it is possible to use some
hidden server or a validating resolver.

Also the new text makes it more clear that named sends DS queries to
these servers.

(cherry picked from commit 604f8e7797)
2024-02-02 17:22:32 +01:00
Arаm Sаrgsyаn e4996fd06a Merge branch 'aram/dns-getdb-flags-fix-9.18' into 'bind-9.18'
[9.18] Fix the DNS_GETDB_STALEFIRST flag

See merge request isc-projects/bind9!8690
2024-02-02 15:46:30 +00:00
Aram Sargsyan 4af93d3c22 Add a CHANGES note for [GL !8683]
(cherry picked from commit f329c1ebc9)
2024-02-02 15:07:30 +00:00
Aram Sargsyan cbc0357881 Improve the definition of the DNS_GETDB_* flags
Use the (1 << N) form for defining the flags, in order to avoid
errors like the one fixed in the previous commit.

Also convert the definitions to an enum, as done in some of our
recent refactoring work.

(cherry picked from commit 0d7c7777da)
2024-02-02 15:06:48 +00:00
Aram Sargsyan 2bcd6c2fd3 Fix the DNS_GETDB_STALEFIRST flag
The DNS_GETDB_STALEFIRST flag is defined as 0x0C, which is the
combination of the DNS_GETDB_PARTIAL (0x04) and the
DNS_GETDB_IGNOREACL (0x08) flags (0x04 | 0x08 == 0x0C) , which is
an obvious error.

All the flags should be power of two, so they don't interfere with
each other. Fix the DNS_GETDB_STALEFIRST flag by setting it to 0x10.

(cherry picked from commit be7d8fafe2)
2024-02-02 15:06:43 +00:00
Michal Nowak cb49b26a34 Update BIND version for release 2024-02-02 11:05:55 +01:00
Michal Nowak 671b8174c8 Add a CHANGES marker 2024-02-02 11:05:35 +01:00
Michal Nowak bd03be1ab7 Merge branch 'michal/prepare-documentation-for-bind-9.18.23' into 'v9.18.23-release'
Prepare documentation for BIND 9.18.23

See merge request isc-private/bind9!644
2024-02-02 10:04:25 +00:00
Michał Kępień 462a9af182 Add release note for GL #4487 2024-02-02 09:22:13 +01:00