Commit Graph

40201 Commits

Author SHA1 Message Date
Michał Kępień
c8c974059d Prepare the patches/ subdirectory earlier
The patches/ subdirectory needs to be present in each prerelease
directory before the ASN releases get pre-published or else the latter
will not contain standalone patches.
2023-11-16 11:39:51 +01:00
Vicky Risk
a90409bf4d Revise responsibilities in the release checklist
Update the release checklist to reflect agreed-upon changes between
Support and Marketing responsibilities.
2023-11-16 11:39:51 +01:00
Evan Hunt
0e3a75798b Merge branch '3983-secondary-loadtime' into 'main'
set loadtime during initial transfer of a secondary zone

Closes #3983

See merge request isc-projects/bind9!8485
2023-11-16 02:02:15 +00:00
Evan Hunt
9643281453 set loadtime during initial transfer of a secondary zone
when transferring in a non-inline-signing secondary for the first time,
we previously never set the value of zone->loadtime, so it remained
zero. this caused a test failure in the statschannel system test,
and that test case was temporarily disabled.  the value is now set
correctly and the test case has been reinstated.
2023-11-15 17:23:25 -08:00
Mark Andrews
f17b94fb72 Merge branch '4433-supplied-buffer-too-large-in-wire_test-c' into 'main'
Resolve "Supplied Buffer Too Large in wire_test.c"

Closes #4433

See merge request isc-projects/bind9!8496
2023-11-16 01:19:33 +00:00
Mark Andrews
560c245971 Adjust comment to have correct message limit value 2023-11-16 11:22:47 +11:00
Mark Andrews
cbfcdbc199 Adjust message buffer sizes in test code 2023-11-16 11:22:02 +11:00
Mark Andrews
a069513234 Check that buffer length in dns_message_renderbegin
The maximum DNS message size is 65535 octets. Check that the buffer
being passed to dns_message_renderbegin does not exceed this as the
compression code assumes that all offsets are no bigger than this.
2023-11-16 11:15:49 +11:00
Michał Kępień
dc25df18f3 Merge tag 'v9.19.18' 2023-11-15 14:54:10 +01:00
Ondřej Surý
101fad490b Merge branch '4421-remove-AES-based-DNS-cookies' into 'main'
Remove AES algorithm for DNS cookies

Closes #4421

See merge request isc-projects/bind9!8471
2023-11-15 09:36:22 +00:00
Ondřej Surý
8e230d8908 Add CHANGES and release note for [GL #4421] 2023-11-15 10:31:34 +01:00
Ondřej Surý
17da9fed58 Remove AES algorithm for DNS cookies
The AES algorithm for DNS cookies was being kept for legacy reasons, and
it can be safely removed in the next major release.  Remove both the AES
usage for DNS cookies and the AES implementation itself.
2023-11-15 10:31:16 +01:00
Michal Nowak
25cfec4d2b Merge branch 'mnowak/fedora-39' into 'main'
Add Fedora 39

See merge request isc-projects/bind9!8375
2023-11-14 18:32:09 +00:00
Michal Nowak
cdb4b97b28 Add Fedora 39 2023-11-14 17:45:05 +01:00
Arаm Sаrgsyаn
f6112e5c65 Merge branch '4418-catz-rbtdb-cds_lfht_destroy-failed' into 'main'
Fix catz db update callback registration logic error (take two)

Closes #4418

See merge request isc-projects/bind9!8476
2023-11-14 10:07:11 +00:00
Aram Sargsyan
2b81ef5cd5 Add a CHANGES note for [GL #4418] 2023-11-14 09:00:20 +00:00
Aram Sargsyan
c584899b1a Fix catz db update callback registration logic error (take two)
Please see the 998765fea5 commit for
the description of the original issue. The commit had fixed the
logic error, but it was reintroduced again later with the
a1afa31a5a commit, where the check of
the 'db_registered' flag was removed in dns__catz_update_cb(). The
check was removed, because the registration function was made
idempotent, so double registration is not an issue, but the check
also prevented from unneeded registration, on which the original
fix relied.

This commit just removes the update callback registration code from
the dns__catz_update_cb() function instead of bringing back the check,
because after code flow analysis, it is now clear that it's not required
at all. The "call onupdate() artificially" comment (which was mentioned
by the removed code) is speaking about the dns_catz_dbupdate_callback()
function, which is called by server.c on (re)configuration, and that
function already takes care of update callback's registration since the
998765fea5 commit was applied, so there
is no need to do that here again.
2023-11-14 08:59:48 +00:00
Arаm Sаrgsyаn
4b419cec95 Merge branch 'aram/isc_hasmap-iterators-use-atomics' into 'main'
Use atomics for the the iterators number of isc_hashmap_t

See merge request isc-projects/bind9!8474
2023-11-14 08:58:04 +00:00
Aram Sargsyan
b6ae7ec82b Add a CHANGES note for [GL !8474] 2023-11-14 08:57:06 +00:00
Aram Sargsyan
2826f885d5 Use atomics for the iterators number in isc_hashmap_t
Concurrent threads can access a hashmap for reading by creating and
then destroying an iterator, in which case the integer number of the
active iterators is increased or decreased from different threads,
introducing a data race. Use atomic operations to protect the variable.
2023-11-14 08:56:41 +00:00
Ondřej Surý
9ac0f2df9e Merge branch 'ondrej-clang-format-17' into 'main'
Reformat sources with up-to-date clang-format-17

See merge request isc-projects/bind9!8488
2023-11-13 16:16:48 +00:00
Ondřej Surý
2a212ffd5c Ignore clang-format reformat 2023-11-13 16:56:10 +01:00
Ondřej Surý
79d9360011 Reformat sources with up-to-date clang-format-17 2023-11-13 16:52:35 +01:00
Ondřej Surý
4ee7b803b6 Merge branch '4421-deprecate-AES-based-DNS-cookies' into 'main'
Deprecate AES algorithm for DNS cookies

Closes #4421

See merge request isc-projects/bind9!8472
2023-11-13 15:00:48 +00:00
Ondřej Surý
2a3b3beaf1 Add CHANGES and release note for [GL #4421] 2023-11-13 15:00:04 +01:00
Ondřej Surý
67d14b0ee5 Deprecate AES algorithm for DNS cookies
The AES algorithm for DNS cookies was being kept for legacy reasons,
and it can be safely removed in the next major release.  Mark is as
deprecated, so the `named-checkconf` prints a warning when in use.
2023-11-13 14:59:43 +01:00
Arаm Sаrgsyаn
fd4ad5f0ba Merge branch '4328-tasn-error-in-isc_hashmap_iter_create' into 'main'
Resolve "ThreadSanitizer: data race in dns_tsigkeyring_dump"

Closes #4328

See merge request isc-projects/bind9!8473
2023-11-13 13:33:38 +00:00
Aram Sargsyan
0817d42102 Add a CHANGES note for [GL #4328] 2023-11-13 12:06:26 +00:00
Aram Sargsyan
6687de854f Use a read lock when iterating over a hashmap
The 'dns_tsigkeyring_t' structure has a read/write lock to protect
its 'keys' member, which is a 'isc_hashmap_t' pointer and needs to
be protected.

The dns_tsigkeyring_dump() function, however, doesn't use the lock,
which can introduce a race with another thread, if the other thread
tries to modify the hashmap.

Add a read lock around the code, which iterates over the hashmap.
2023-11-13 12:06:26 +00:00
Petr Špaček
4c9d948365 Merge branch 'pspacek/set-up-version-and-release-notes-for-bind-9.19.19' into 'main'
Set up version and release notes for BIND 9.19.19

See merge request isc-projects/bind9!8482
2023-11-10 13:20:50 +00:00
Petr Špaček
993e53ba53 Set up release notes for BIND 9.19.19 2023-11-10 13:50:32 +01:00
Petr Špaček
f5a91e2f49 Update BIND version to 9.19.19-dev 2023-11-10 13:50:32 +01:00
Michał Kępień
8dea58c390 Update BIND version for release v9.19.18 2023-11-09 13:02:34 +01:00
Michał Kępień
29546ae22c Add a CHANGES marker 2023-11-09 13:02:34 +01:00
Michał Kępień
69ca828f2e Merge branch 'michal/prepare-documentation-for-bind-9.19.18' into 'v9.19.18-release'
Prepare documentation for BIND 9.19.18

See merge request isc-private/bind9!591
2023-11-09 12:01:25 +00:00
Michał Kępień
46980fd8c2 Reorder release notes 2023-11-09 12:36:34 +01:00
Michał Kępień
38d0b73a37 Tweak and reword release notes 2023-11-09 12:36:34 +01:00
Michał Kępień
b35f8dbbc1 Prepare release notes for BIND 9.19.18 2023-11-09 12:36:34 +01:00
Michał Kępień
af544ef80e Tweak CHANGES entry for [GL #4260] 2023-11-09 12:36:34 +01:00
Michał Kępień
af92841c5e Tweak CVE-2021-25219 reference 2023-11-09 12:36:34 +01:00
Petr Špaček
36aa66bfb4 Merge branch 'matthijs-remove-deprecation-warning-on-dnssec-policy-max-zone-ttl' into 'main'
Remove deprecation warning on dnssec policy max zone ttl

See merge request isc-projects/bind9!8467
2023-11-05 13:10:03 +00:00
Matthijs Mekking
91430cd59a Remove dnssec-policy/max-zone-ttl deprecation text
The readthedocs also placed a deprecation warning on 'max-zone-ttl'
that is part of 'dnssec-policy'. This option is of course not being
deprecated.
2023-11-05 11:37:33 +01:00
Evan Hunt
7d650fde89 Merge branch 'fanf-rndc-nta-newlines' into 'main'
Fix missing newlines in output of `rndc nta -dump`

See merge request isc-projects/bind9!8454
2023-11-02 16:31:25 +00:00
Evan Hunt
37b101b6e2 CHANGES for [GL !8454] 2023-11-02 21:31:43 +11:00
Tony Finch
61b245e318 Fix missing newlines in output of rndc nta -dump
There were no newlines between each view in the list of negative trust
anchors.
2023-11-02 21:31:09 +11:00
Tom Krizek
01b1ae7bef Merge branch '4401-make-check-fix-junitxml-output-processing' into 'main'
Fix pytest junitxml output processing for make check

Closes #4401

See merge request isc-projects/bind9!8443
2023-11-02 09:02:01 +00:00
Tom Krizek
ba25ecd2d2 Fix pytest junitxml output processing for make check
Not every element tagged `skipped` in the JUnitXML tree has to contain
the `type` attribute. An example of that is a test that results in
xpass.

This has been verified with pytest version 7.4.2 and prior.
2023-11-02 09:59:23 +01:00
Michał Kępień
1a724685a0 Merge branch 'michal/add-a-release-signing-job-to-gitlab-ci' into 'main'
Add a release signing job to GitLab CI

See merge request isc-projects/bind9!8418
2023-11-02 06:23:15 +00:00
Michał Kępień
a3a91a1557 Add a release signing job to GitLab CI
Add a GitLab CI job that is only run for tags and makes signing BIND 9
releases more convenient by utilizing a signing VM that is registered as
a GitLab CI runner.  This pulls the signing process into the release
pipelines in GitLab CI, resulting in job artifacts containing the
signatures for BIND 9 releases, which in turns simplifies the subsequent
release publication steps.
2023-11-02 07:22:20 +01:00
Mark Andrews
83053ea740 Merge branch '4406-cleanup-b-in-dnstap-main' into 'main'
Resolve "cleanup 'b' in dnstap-read main"

Closes #4406

See merge request isc-projects/bind9!8455
2023-11-02 04:25:19 +00:00