]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
2 years agoAllow assertion message rewrite in statschannel test
Tom Krizek [Fri, 24 Nov 2023 14:50:08 +0000 (15:50 +0100)] 
Allow assertion message rewrite in statschannel test

By default, the useful assertion message rewrite is used by pytest for
test modules only. Since another module is imported with shared
functionality, ensure it has pytest's assertion message rewriting
enabled to obtain more debug information in case it fails.

2 years agoMove helper functions in statchannel into single file
Tom Krizek [Fri, 24 Nov 2023 14:44:32 +0000 (15:44 +0100)] 
Move helper functions in statchannel into single file

Since dnspython is now a required dependency, there's no need to keep
these two helper files separate.

2 years agoAdd assert message to test doth/stress_http_quota.py
Tom Krizek [Fri, 24 Nov 2023 14:32:09 +0000 (15:32 +0100)] 
Add assert message to test doth/stress_http_quota.py

This file is executed outside of pytest with pure python, which doesn't
do any AssertionError message rewriting like pytest. Ensure the assert
messages in this file provide a useful debug message.

2 years agoMerge branch '4462-crash-on-shutdown-when-dnssec-validation-is-running-ensure-isc_mem...
Mark Andrews [Mon, 4 Dec 2023 22:55:50 +0000 (22:55 +0000)] 
Merge branch '4462-crash-on-shutdown-when-dnssec-validation-is-running-ensure-isc_mempool_getallocated-namepoolp' into 'main'

Resolve "Crash on shutdown when DNSSEC validation is running: ENSURE(isc_mempool_getallocated(*namepoolp) == 0) failed"

Closes #4462 and #4384

See merge request isc-projects/bind9!8526

2 years agoDestroy the message before detaching the view
Mark Andrews [Mon, 4 Dec 2023 01:23:18 +0000 (12:23 +1100)] 
Destroy the message before detaching the view

With shared name memory pools (f5af981831ea8a707090c1b09a47c25b75d86b5a)
the message needs to be destroyed before the view is detached which
in turn detaches the resolver which checks that all resources have
been returned.

2 years agoMerge branch '4457-dig-crashes-after-sigint-if-there-are-multiple-queries' into ...
Mark Andrews [Mon, 4 Dec 2023 21:10:00 +0000 (21:10 +0000)] 
Merge branch '4457-dig-crashes-after-sigint-if-there-are-multiple-queries' into 'main'

Resolve "dig crashes after SIGINT if there are multiple queries"

Closes #4457

See merge request isc-projects/bind9!8527

2 years agoAdd CHANGES note for [GL #4457]
Mark Andrews [Mon, 4 Dec 2023 02:25:37 +0000 (13:25 +1100)] 
Add CHANGES note for [GL #4457]

2 years agoHandle ISC_R_SHUTTINGDOWN in dighost.c:recv_done
Mark Andrews [Mon, 4 Dec 2023 02:21:20 +0000 (13:21 +1100)] 
Handle ISC_R_SHUTTINGDOWN in dighost.c:recv_done

When dighost.c:recv_done is called with ISC_R_SHUTTINGDOWN cancel
all outstanding lookups as this indicates SIGTERM was recieved.

2 years agoMerge branch '3198-add-rr-record' into 'main'
Michal Nowak [Mon, 4 Dec 2023 18:53:07 +0000 (18:53 +0000)] 
Merge branch '3198-add-rr-record' into 'main'

Add support for recording named with rr

Closes #3198

See merge request isc-projects/bind9!8479

2 years agoDo not daemonize named instances with custom args
Michał Kępień [Thu, 16 Nov 2023 12:21:33 +0000 (13:21 +0100)] 
Do not daemonize named instances with custom args

This enables the "logfileconfig" and "rpzextra" system tests to pass
when named is started under the supervision of rr (USE_RR=1).

2 years agoFix process listing string of rpzextra ns3 server
Michal Nowak [Wed, 8 Nov 2023 17:46:20 +0000 (18:46 +0100)] 
Fix process listing string of rpzextra ns3 server

2 years agoAdd support for recording named runtime with rr
Michal Nowak [Wed, 8 Nov 2023 18:21:30 +0000 (19:21 +0100)] 
Add support for recording named runtime with rr

The traces of the named process are stored in the directory
$system_test/nsX/named-Y/.

2 years agoRemove support for running system tests under Valgrind
Ondřej Surý [Wed, 9 Mar 2022 10:28:06 +0000 (11:28 +0100)] 
Remove support for running system tests under Valgrind

Valgrind support has been scarcely used.

2 years agoMerge branch 'mnowak/freebsd-14.0' into 'main'
Michal Nowak [Mon, 4 Dec 2023 15:26:56 +0000 (15:26 +0000)] 
Merge branch 'mnowak/freebsd-14.0' into 'main'

Add FreeBSD 14.0

See merge request isc-projects/bind9!8520

2 years agoAdd FreeBSD 14.0
Michal Nowak [Mon, 27 Nov 2023 13:29:16 +0000 (14:29 +0100)] 
Add FreeBSD 14.0

2 years agoMerge branch '1229-dig-no-yaml-output-when-host-is-unreachable' into 'main'
Arаm Sаrgsyаn [Mon, 4 Dec 2023 10:38:46 +0000 (10:38 +0000)] 
Merge branch '1229-dig-no-yaml-output-when-host-is-unreachable' into 'main'

Resolve "No YAML output in dig when host is unreachable"

Closes #1229

See merge request isc-projects/bind9!8501

2 years agoAdd a CHANGES note for [GL #1229]
Aram Sargsyan [Thu, 16 Nov 2023 13:38:39 +0000 (13:38 +0000)] 
Add a CHANGES note for [GL #1229]

2 years agoEmit "no servers could be reached" also for UDP setup failure
Aram Sargsyan [Thu, 16 Nov 2023 13:30:32 +0000 (13:30 +0000)] 
Emit "no servers could be reached" also for UDP setup failure

When all the servers are exhausted for UDP setup emit "no servers
could be reached" in udp_ready(). This message can also be emitted
for a recv_done() error and for TCP connection failure similarly.

2 years agoMerge branch '4417-stale-hyperlinks-in-the-arm' into 'main'
Petr Špaček [Mon, 4 Dec 2023 10:00:57 +0000 (10:00 +0000)] 
Merge branch '4417-stale-hyperlinks-in-the-arm' into 'main'

Fix stale hyperlinks in the ARM

Closes #4417

See merge request isc-projects/bind9!8525

2 years agoFix broken link to TLD DNSSEC stats
Suzanne Goldlust [Wed, 29 Nov 2023 22:44:17 +0000 (22:44 +0000)] 
Fix broken link to TLD DNSSEC stats

2 years agoFix broken link to OMB memo
Suzanne Goldlust [Wed, 29 Nov 2023 22:38:24 +0000 (22:38 +0000)] 
Fix broken link to OMB memo

2 years agoMerge branch '4251-remove-legacy-test-runner' into 'main'
Tom Krizek [Fri, 1 Dec 2023 14:21:34 +0000 (14:21 +0000)] 
Merge branch '4251-remove-legacy-test-runner' into 'main'

Remove legacy system test runner

Closes #4251

See merge request isc-projects/bind9!8514

2 years agoRemove -U 4 from system tests
Tom Krizek [Fri, 1 Dec 2023 12:59:55 +0000 (13:59 +0100)] 
Remove -U 4 from system tests

This option doesn't appear to be needed for any of the tests, so remove
it to keep things simple.

2 years agoAdd CHANGES note for [GL #4251]
Tom Krizek [Tue, 21 Nov 2023 12:35:38 +0000 (13:35 +0100)] 
Add CHANGES note for [GL #4251]

2 years agoUpdate system test documentation
Tom Krizek [Mon, 6 Nov 2023 13:45:07 +0000 (14:45 +0100)] 
Update system test documentation

Rewrite and reorganize the test documentation to focus on the pytest
runner, omit any mentions of the legacy runner which are no longer
relevant, and mention a few pytest tricks.

2 years agoRemove obsolete system test lists
Tom Krizek [Mon, 13 Nov 2023 14:24:14 +0000 (15:24 +0100)] 
Remove obsolete system test lists

These were used by deleted legacy runner utility scripts.

2 years agoRemove legacy runner control scripts
Tom Krizek [Tue, 31 Oct 2023 08:35:14 +0000 (09:35 +0100)] 
Remove legacy runner control scripts

These scripts have been used exclusively by the legacy test runner and
they're no longer needed.

2 years agoMerge branch '4451-use-only-single-method-for-overmem-condition' into 'main'
Ondřej Surý [Wed, 29 Nov 2023 13:21:09 +0000 (13:21 +0000)] 
Merge branch '4451-use-only-single-method-for-overmem-condition' into 'main'

Refactor the handling of isc_mem overmem condition

Closes #4451

See merge request isc-projects/bind9!8523

2 years agoAdd CHANGES note for [GL #4451]
Ondřej Surý [Wed, 29 Nov 2023 08:40:11 +0000 (09:40 +0100)] 
Add CHANGES note for [GL #4451]

2 years agoAdd isc_mem_overmem unit test
Ondřej Surý [Wed, 29 Nov 2023 11:42:38 +0000 (12:42 +0100)] 
Add isc_mem_overmem unit test

The new unit isc_mem_overmem unit test sets hi and lo water marks and
then does allocations to go over:

0. x < lo_water
1. lo_water < x < hi_water
2. x > hi_water
3. lo_water < x < hi_water
4. < lo_water

2 years agoCleanup unused stats_bucket() macro
Ondřej Surý [Wed, 29 Nov 2023 09:21:26 +0000 (10:21 +0100)] 
Cleanup unused stats_bucket() macro

2 years agoRefactor the handling of isc_mem overmem condition
Ondřej Surý [Wed, 29 Nov 2023 08:01:56 +0000 (09:01 +0100)] 
Refactor the handling of isc_mem overmem condition

Previously, there were two methods of working with the overmem
condition:

1. hi/lo water callback - when the overmem condition was reached
   for the first time, the water callback was called with HIWATER
   mark and .is_overmem boolean was set internally.  Similarly,
   when the used memory went below the lo water mark, the water
   callback would be called with LOWATER mark and .is_overmem
   was reset.  This check would be called **every** time memory
   was allocated or freed.

2. isc_mem_isovermem() - a simple getter for the internal
   .is_overmem flag

This commit refactors removes the first method and move the hi/lo water
checks to the isc_mem_isovermem() function, thus we now have only a
single method of checking overmem condition and the check for hi/lo
water is removed from the hot path for memory contexts that doesn't use
overmem checks.

2 years agoMerge branch 'mnowak/drop-named-alt3.conf.in-leftover' into 'main'
Michal Nowak [Tue, 28 Nov 2023 20:15:10 +0000 (20:15 +0000)] 
Merge branch 'mnowak/drop-named-alt3.conf.in-leftover' into 'main'

Drop the last remnant of ns2/named-alt3.conf.in

See merge request isc-projects/bind9!8506

2 years agoRenumber the ns2/named-alt*.conf.in files
Matthijs Mekking [Wed, 22 Nov 2023 07:43:50 +0000 (08:43 +0100)] 
Renumber the ns2/named-alt*.conf.in files

Now that some configuration input files have been removed, rename
the filenames.

2 years agoDrop ns2/named-alt1.conf.in and ns2/named-alt2.conf.in
Matthijs Mekking [Wed, 22 Nov 2023 07:35:27 +0000 (08:35 +0100)] 
Drop ns2/named-alt1.conf.in and ns2/named-alt2.conf.in

These files were not being used in the system test.

2 years agoDrop the last remnant of ns2/named-alt3.conf.in
Michal Nowak [Mon, 20 Nov 2023 17:40:48 +0000 (18:40 +0100)] 
Drop the last remnant of ns2/named-alt3.conf.in

The ns2/named-alt3.conf.in config file was removed in
f8e264ba6d0583732bed5950f832ecb3cba8186e. From then on, system test
reports:

    sed: can't read ns2/named-alt3.conf.in: No such file or directory"

Drop the last remnant of ns2/named-alt3.conf.in.

2 years agoMerge branch 'michal/minor-gitlab-ci-cleanup' into 'main'
Michał Kępień [Tue, 21 Nov 2023 09:29:09 +0000 (09:29 +0000)] 
Merge branch 'michal/minor-gitlab-ci-cleanup' into 'main'

Minor GitLab CI cleanup

See merge request isc-projects/bind9!8505

2 years agoMove job definitions to the proper place
Michał Kępień [Tue, 21 Nov 2023 09:18:52 +0000 (10:18 +0100)] 
Move job definitions to the proper place

The definitions of the "ci-variables" and "cross-version-config-tests"
GitLab CI jobs were accidentally added in the .gitlab-ci.yml section
that claims to only contain job templates.  Move the definitions of
these two jobs to a more appropriate location in .gitlab-ci.yml, without
changing the job definitions themselves.

2 years agoDrop the TARBALL_EXTENSION variable
Michał Kępień [Tue, 21 Nov 2023 09:18:52 +0000 (10:18 +0100)] 
Drop the TARBALL_EXTENSION variable

All currently supported BIND 9 branches use xz-packed tarballs for
source code distribution.  Having a variable with a lengthy name that
only holds two characters does not improve readability - it was only
useful for maintaining .gitlab-ci.yml consistency between BIND 9.11 and
all the newer branches, but that era has come to an end a while ago.

Replace all occurrences of the TARBALL_EXTENSION variable in
.gitlab-ci.yml with a fixed string ("xz") to simplify the contents of
that file.

2 years agoMerge branch '4432-pointers-dereferenced-before-being-checked' into 'main'
Mark Andrews [Tue, 21 Nov 2023 05:40:17 +0000 (05:40 +0000)] 
Merge branch '4432-pointers-dereferenced-before-being-checked' into 'main'

Resolve "Pointers Dereferenced before Being Checked"

Closes #4432

See merge request isc-projects/bind9!8508

2 years agoIneffective DbC protections
Mark Andrews [Tue, 21 Nov 2023 03:33:07 +0000 (14:33 +1100)] 
Ineffective DbC protections

Dereference before NULL checks.  Thanks to Eric Sesterhenn from X41
D-Sec GmbH for reporting this.

2 years agoMerge branch 'matthijs-lexopt-escape-public-key' into 'main'
Matthijs Mekking [Mon, 20 Nov 2023 08:48:06 +0000 (08:48 +0000)] 
Merge branch 'matthijs-lexopt-escape-public-key' into 'main'

Recognize escapes when reading the public key

See merge request isc-projects/bind9!8502

2 years agoAdd CHANGES
Matthijs Mekking [Mon, 20 Nov 2023 07:32:29 +0000 (08:32 +0100)] 
Add CHANGES

2 years agoAdd a DNSSEC policy test case for a special zone
Matthijs Mekking [Fri, 17 Nov 2023 15:00:23 +0000 (16:00 +0100)] 
Add a DNSSEC policy test case for a special zone

Try to create a key for a zone, and then sign it, that has some special
characters in the name.

2 years agoRecognize escapes when reading the public key
Matthijs Mekking [Fri, 17 Nov 2023 12:45:17 +0000 (13:45 +0100)] 
Recognize escapes when reading the public key

Escapes are valid in DNS names, and should be recognized when reading
the public key from disk.

2 years agoMerge branch '4396-dig-does-not-display-yaml-output-for-errors-when-using-protocols...
Mark Andrews [Mon, 20 Nov 2023 02:35:57 +0000 (02:35 +0000)] 
Merge branch '4396-dig-does-not-display-yaml-output-for-errors-when-using-protocols-other-than-udp' into 'main'

Resolve "dig does not display YAML output for errors when using protocols other than UDP"

Closes #4396

See merge request isc-projects/bind9!8442

2 years agoAdd CHANGES for [GL #4396]
Mark Andrews [Wed, 15 Nov 2023 04:46:51 +0000 (15:46 +1100)] 
Add CHANGES for [GL #4396]

2 years agoEmit "no servers could be reached" for TCP as well as UDP
Mark Andrews [Sat, 28 Oct 2023 04:40:22 +0000 (15:40 +1100)] 
Emit "no servers could be reached" for TCP as well as UDP

When all the servers are exhausted for TCP emit "no servers could
be reached" in tcp_connected.  This message is already emitted for
UDP.

2 years agoMerge branch '4414-shutdown-crash-in-control_recvmessage' into 'main'
Ondřej Surý [Thu, 16 Nov 2023 16:26:24 +0000 (16:26 +0000)] 
Merge branch '4414-shutdown-crash-in-control_recvmessage' into 'main'

Make sure we shutdown the controlconf listeners and connections once

Closes #4414

See merge request isc-projects/bind9!8470

2 years agoMake sure we shutdown the controlconf listeners and connections once
Ondřej Surý [Mon, 6 Nov 2023 19:19:20 +0000 (20:19 +0100)] 
Make sure we shutdown the controlconf listeners and connections once

It was possible that controlconf connections could be shutdown twice
when shutting down the server, because they would receive the
signal (ISC_R_SHUTTINGDOWN result) from netmgr and then the shutdown
procedure would be called second time via controls_shutdown().

Split the shutdown procedure from control_recvmessage(), so we can call
it independently from netmgr callbacks and make sure it will be called
only once.  Do the similar thing for the listeners.

2 years agoMerge branch 'michal/update-release-and-cve-checklists' into 'main'
Michał Kępień [Thu, 16 Nov 2023 10:47:08 +0000 (10:47 +0000)] 
Merge branch 'michal/update-release-and-cve-checklists' into 'main'

Update release and CVE checklists

See merge request isc-projects/bind9!8500

2 years agoRemove steps related to the post-mortem meeting
Michał Kępień [Thu, 16 Nov 2023 10:39:51 +0000 (11:39 +0100)] 
Remove steps related to the post-mortem meeting

The post-mortem meeting is now considered an on-demand event.  The past
few security release cycles proved that there is rarely a need to
discuss things in this form, so there is little point in carrying out
the relevant steps for every single vulnerability - which does not
prevent us from doing so if the actual need arises.

2 years agoRevise responsibilities in the CVE checklist
Vicky Risk [Tue, 26 Sep 2023 21:46:40 +0000 (21:46 +0000)] 
Revise responsibilities in the CVE checklist

Update the CVE checklist to reflect agreed-upon changes between Support
and Marketing responsibilities.

2 years agoRebase -S branches after version bumps
Michał Kępień [Thu, 16 Nov 2023 10:39:51 +0000 (11:39 +0100)] 
Rebase -S branches after version bumps

Applying version bumps in open source branches breaks automatic rebasing
of the bind-9.x-sub branches.  Ensure the latter are manually rebased
after each version bump to prevent the "rebase" job in GitLab CI from
failing.

2 years agoReassign release (pre-)publishing to QA
Michał Kępień [Thu, 16 Nov 2023 10:39:51 +0000 (11:39 +0100)] 
Reassign release (pre-)publishing to QA

2 years agoPrepare the patches/ subdirectory earlier
Michał Kępień [Thu, 16 Nov 2023 10:39:51 +0000 (11:39 +0100)] 
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.

2 years agoRevise responsibilities in the release checklist
Vicky Risk [Tue, 26 Sep 2023 21:30:04 +0000 (21:30 +0000)] 
Revise responsibilities in the release checklist

Update the release checklist to reflect agreed-upon changes between
Support and Marketing responsibilities.

2 years agoMerge branch '3983-secondary-loadtime' into 'main'
Evan Hunt [Thu, 16 Nov 2023 02:02:15 +0000 (02:02 +0000)] 
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

2 years agoset loadtime during initial transfer of a secondary zone
Evan Hunt [Sat, 11 Nov 2023 21:15:27 +0000 (13:15 -0800)] 
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.

2 years agoMerge branch '4433-supplied-buffer-too-large-in-wire_test-c' into 'main'
Mark Andrews [Thu, 16 Nov 2023 01:19:33 +0000 (01:19 +0000)] 
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

2 years agoAdjust comment to have correct message limit value
Mark Andrews [Thu, 16 Nov 2023 00:22:47 +0000 (11:22 +1100)] 
Adjust comment to have correct message limit value

2 years agoAdjust message buffer sizes in test code
Mark Andrews [Thu, 16 Nov 2023 00:22:02 +0000 (11:22 +1100)] 
Adjust message buffer sizes in test code

2 years agoCheck that buffer length in dns_message_renderbegin
Mark Andrews [Thu, 16 Nov 2023 00:15:49 +0000 (11:15 +1100)] 
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.

2 years agoMerge tag 'v9.19.18'
Michał Kępień [Wed, 15 Nov 2023 13:54:10 +0000 (14:54 +0100)] 
Merge tag 'v9.19.18'

2 years agoMerge branch '4421-remove-AES-based-DNS-cookies' into 'main'
Ondřej Surý [Wed, 15 Nov 2023 09:36:22 +0000 (09:36 +0000)] 
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

2 years agoAdd CHANGES and release note for [GL #4421]
Ondřej Surý [Tue, 7 Nov 2023 13:44:44 +0000 (14:44 +0100)] 
Add CHANGES and release note for [GL #4421]

2 years agoRemove AES algorithm for DNS cookies
Ondřej Surý [Tue, 7 Nov 2023 13:42:33 +0000 (14:42 +0100)] 
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.

2 years agoMerge branch 'mnowak/fedora-39' into 'main'
Michal Nowak [Tue, 14 Nov 2023 18:32:09 +0000 (18:32 +0000)] 
Merge branch 'mnowak/fedora-39' into 'main'

Add Fedora 39

See merge request isc-projects/bind9!8375

2 years agoAdd Fedora 39
Michal Nowak [Thu, 12 Oct 2023 15:33:47 +0000 (17:33 +0200)] 
Add Fedora 39

2 years agoMerge branch '4418-catz-rbtdb-cds_lfht_destroy-failed' into 'main'
Arаm Sаrgsyаn [Tue, 14 Nov 2023 10:07:11 +0000 (10:07 +0000)] 
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

2 years agoAdd a CHANGES note for [GL #4418]
Aram Sargsyan [Thu, 9 Nov 2023 08:57:48 +0000 (08:57 +0000)] 
Add a CHANGES note for [GL #4418]

2 years agoFix catz db update callback registration logic error (take two)
Aram Sargsyan [Thu, 9 Nov 2023 08:33:35 +0000 (08:33 +0000)] 
Fix catz db update callback registration logic error (take two)

Please see the 998765fea536daacfba96d8ed0a4855668d2e242 commit for
the description of the original issue. The commit had fixed the
logic error, but it was reintroduced again later with the
a1afa31a5a7d318508efe5a32001104d094be057 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
998765fea536daacfba96d8ed0a4855668d2e242 commit was applied, so there
is no need to do that here again.

2 years agoMerge branch 'aram/isc_hasmap-iterators-use-atomics' into 'main'
Arаm Sаrgsyаn [Tue, 14 Nov 2023 08:58:04 +0000 (08:58 +0000)] 
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

2 years agoAdd a CHANGES note for [GL !8474]
Aram Sargsyan [Tue, 7 Nov 2023 14:24:04 +0000 (14:24 +0000)] 
Add a CHANGES note for [GL !8474]

2 years agoUse atomics for the iterators number in isc_hashmap_t
Aram Sargsyan [Tue, 7 Nov 2023 10:21:36 +0000 (10:21 +0000)] 
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.

2 years agoMerge branch 'ondrej-clang-format-17' into 'main'
Ondřej Surý [Mon, 13 Nov 2023 16:16:48 +0000 (16:16 +0000)] 
Merge branch 'ondrej-clang-format-17' into 'main'

Reformat sources with up-to-date clang-format-17

See merge request isc-projects/bind9!8488

2 years agoIgnore clang-format reformat
Ondřej Surý [Mon, 13 Nov 2023 15:56:10 +0000 (16:56 +0100)] 
Ignore clang-format reformat

2 years agoReformat sources with up-to-date clang-format-17
Ondřej Surý [Mon, 13 Nov 2023 15:52:35 +0000 (16:52 +0100)] 
Reformat sources with up-to-date clang-format-17

2 years agoMerge branch '4421-deprecate-AES-based-DNS-cookies' into 'main'
Ondřej Surý [Mon, 13 Nov 2023 15:00:48 +0000 (15:00 +0000)] 
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

2 years agoAdd CHANGES and release note for [GL #4421]
Ondřej Surý [Tue, 7 Nov 2023 13:44:44 +0000 (14:44 +0100)] 
Add CHANGES and release note for [GL #4421]

2 years agoDeprecate AES algorithm for DNS cookies
Ondřej Surý [Tue, 7 Nov 2023 14:17:10 +0000 (15:17 +0100)] 
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.

2 years agoMerge branch '4328-tasn-error-in-isc_hashmap_iter_create' into 'main'
Arаm Sаrgsyаn [Mon, 13 Nov 2023 13:33:38 +0000 (13:33 +0000)] 
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

2 years agoAdd a CHANGES note for [GL #4328]
Aram Sargsyan [Tue, 7 Nov 2023 14:11:52 +0000 (14:11 +0000)] 
Add a CHANGES note for [GL #4328]

2 years agoUse a read lock when iterating over a hashmap
Aram Sargsyan [Tue, 7 Nov 2023 10:02:57 +0000 (10:02 +0000)] 
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.

2 years agoMerge branch 'pspacek/set-up-version-and-release-notes-for-bind-9.19.19' into 'main'
Petr Špaček [Fri, 10 Nov 2023 13:20:50 +0000 (13:20 +0000)] 
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

2 years agoSet up release notes for BIND 9.19.19
Petr Špaček [Fri, 10 Nov 2023 12:50:32 +0000 (13:50 +0100)] 
Set up release notes for BIND 9.19.19

2 years agoUpdate BIND version to 9.19.19-dev
Petr Špaček [Fri, 10 Nov 2023 12:50:32 +0000 (13:50 +0100)] 
Update BIND version to 9.19.19-dev

2 years agoUpdate BIND version for release v9.19.18
Michał Kępień [Thu, 9 Nov 2023 12:02:34 +0000 (13:02 +0100)] 
Update BIND version for release

2 years agoAdd a CHANGES marker
Michał Kępień [Thu, 9 Nov 2023 12:02:34 +0000 (13:02 +0100)] 
Add a CHANGES marker

2 years agoMerge branch 'michal/prepare-documentation-for-bind-9.19.18' into 'v9.19.18-release'
Michał Kępień [Thu, 9 Nov 2023 12:01:25 +0000 (12:01 +0000)] 
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

2 years agoReorder release notes
Michał Kępień [Thu, 9 Nov 2023 11:36:34 +0000 (12:36 +0100)] 
Reorder release notes

2 years agoTweak and reword release notes
Michał Kępień [Thu, 9 Nov 2023 11:36:34 +0000 (12:36 +0100)] 
Tweak and reword release notes

2 years agoPrepare release notes for BIND 9.19.18
Michał Kępień [Thu, 9 Nov 2023 11:36:34 +0000 (12:36 +0100)] 
Prepare release notes for BIND 9.19.18

2 years agoTweak CHANGES entry for [GL #4260]
Michał Kępień [Thu, 9 Nov 2023 11:36:34 +0000 (12:36 +0100)] 
Tweak CHANGES entry for [GL #4260]

2 years agoTweak CVE-2021-25219 reference
Michał Kępień [Thu, 9 Nov 2023 11:36:34 +0000 (12:36 +0100)] 
Tweak CVE-2021-25219 reference

2 years agoMerge branch 'matthijs-remove-deprecation-warning-on-dnssec-policy-max-zone-ttl'...
Petr Špaček [Sun, 5 Nov 2023 13:10:03 +0000 (13:10 +0000)] 
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

2 years agoRemove dnssec-policy/max-zone-ttl deprecation text
Matthijs Mekking [Sun, 5 Nov 2023 10:18:34 +0000 (11:18 +0100)] 
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.

2 years agoMerge branch 'fanf-rndc-nta-newlines' into 'main'
Evan Hunt [Thu, 2 Nov 2023 16:31:25 +0000 (16:31 +0000)] 
Merge branch 'fanf-rndc-nta-newlines' into 'main'

Fix missing newlines in output of `rndc nta -dump`

See merge request isc-projects/bind9!8454

2 years agoCHANGES for [GL !8454]
Evan Hunt [Wed, 1 Nov 2023 16:38:22 +0000 (17:38 +0100)] 
CHANGES for [GL !8454]

2 years agoFix missing newlines in output of `rndc nta -dump`
Tony Finch [Tue, 15 Oct 2019 14:36:55 +0000 (15:36 +0100)] 
Fix missing newlines in output of `rndc nta -dump`

There were no newlines between each view in the list of negative trust
anchors.