]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
2 years agoMerge branch 'mnowak/fix-changes-entry-6378' into 'main'
Michal Nowak [Thu, 25 Apr 2024 07:31:29 +0000 (07:31 +0000)] 
Merge branch 'mnowak/fix-changes-entry-6378' into 'main'

Reformat overflowing CHANGES entry 6378

See merge request isc-projects/bind9!8981

2 years agoReformat overflowing CHANGES entry 6378
Michal Nowak [Thu, 25 Apr 2024 07:22:27 +0000 (09:22 +0200)] 
Reformat overflowing CHANGES entry 6378

    $ sh util/check-line-length.sh CHANGES
    CHANGES: Line Too Long
                            previously removed. An attempt to use the option now prints

2 years agoMerge branch '1879-fix-documentation-on-named--U' into 'main'
Ondřej Surý [Wed, 24 Apr 2024 20:50:09 +0000 (20:50 +0000)] 
Merge branch '1879-fix-documentation-on-named--U' into 'main'

Properly document that named -U <n> is no-op now

Closes #1879

See merge request isc-projects/bind9!8976

2 years agoAdd CHANGES and release note for [GL #1879]
Ondřej Surý [Wed, 24 Apr 2024 12:03:50 +0000 (14:03 +0200)] 
Add CHANGES and release note for [GL #1879]

2 years agoProperly document that named -U <n> is no-op now
Ondřej Surý [Wed, 24 Apr 2024 11:55:11 +0000 (13:55 +0200)] 
Properly document that named -U <n> is no-op now

We don't create <n> UDP dispatches anymore and -U <n> option to named is
a no-op for a while.  Properly document that in the named man page.

2 years agoMerge branch 'spdx-custom-test-driver' into 'main'
Petr Špaček [Wed, 24 Apr 2024 09:49:44 +0000 (09:49 +0000)] 
Merge branch 'spdx-custom-test-driver' into 'main'

Use standard SPDX license for custom-test-driver

See merge request isc-projects/bind9!8971

2 years agoChange exception SPDX to Autoconf-exception-generic
Petr Menšík [Tue, 23 Apr 2024 13:26:30 +0000 (15:26 +0200)] 
Change exception SPDX to Autoconf-exception-generic

License text is in fact Autoconf generic exception, with already defined
SPDX identificator. Use that instead.

https://spdx.org/licenses/Autoconf-exception-generic.html

2 years agoMerge branch '4684-unit-test-error-handling-in-dns_name_-api' into 'main'
Mark Andrews [Wed, 24 Apr 2024 02:14:05 +0000 (02:14 +0000)] 
Merge branch '4684-unit-test-error-handling-in-dns_name_-api' into 'main'

test dns_name_fromregion

Closes #4684

See merge request isc-projects/bind9!8967

2 years agoExtract empty name in 'source' into 'name'
Mark Andrews [Tue, 23 Apr 2024 04:16:21 +0000 (14:16 +1000)] 
Extract empty name in 'source' into 'name'

2 years agoExtract non absolute name from source
Mark Andrews [Tue, 23 Apr 2024 04:10:39 +0000 (14:10 +1000)] 
Extract non absolute name from source

The entire source region needs to be consumed for this usage.

2 years agoExtract fully qualified named from source without buffer
Mark Andrews [Tue, 23 Apr 2024 03:34:56 +0000 (13:34 +1000)] 
Extract fully qualified named from source without buffer

'name.ndata' should point to the source.

2 years agoTest dns_name_fromregion
Mark Andrews [Tue, 23 Apr 2024 03:34:56 +0000 (13:34 +1000)] 
Test dns_name_fromregion

with a large source region and a large target buffer, both
larger than DNS_NAME_MAXWIRE.

2 years agoMerge branch '4689-test-invalid-notify-source-address' into 'main'
Mark Andrews [Wed, 24 Apr 2024 01:09:35 +0000 (01:09 +0000)] 
Merge branch '4689-test-invalid-notify-source-address' into 'main'

Check behaviour using invalid notify source address

Closes #4689

See merge request isc-projects/bind9!8966

2 years agocheck behaviour with invalid notify-source-v6 address
Mark Andrews [Tue, 23 Apr 2024 01:26:15 +0000 (11:26 +1000)] 
check behaviour with invalid notify-source-v6 address

This was reported as causing the server to fail to shutdown on
NetBSD.  Look for the expected informational and error messages.

2 years agoMerge branch 'mnowak/llvm-18' into 'main'
Michal Nowak [Tue, 23 Apr 2024 12:48:22 +0000 (12:48 +0000)] 
Merge branch 'mnowak/llvm-18' into 'main'

Bump the LLVM version to 18 and reformat sources

See merge request isc-projects/bind9!8827

2 years agoUpdate sources to Clang 18 formatting
Michal Nowak [Wed, 6 Mar 2024 08:56:51 +0000 (09:56 +0100)] 
Update sources to Clang 18 formatting

2 years agoUpdate Clang to version 18
Michal Nowak [Wed, 6 Mar 2024 08:59:59 +0000 (09:59 +0100)] 
Update Clang to version 18

2 years agoMerge branch 'ondrej/fix-adb-entries-cleaning' into 'main'
Ondřej Surý [Mon, 22 Apr 2024 08:37:45 +0000 (08:37 +0000)] 
Merge branch 'ondrej/fix-adb-entries-cleaning' into 'main'

Always set ADB entry expiration to now + ADB_ENTRY_WINDOW

See merge request isc-projects/bind9!8934

2 years agoChange the ADB_ENTRY_WINDOW to 60 seconds
Ondřej Surý [Wed, 3 Apr 2024 10:07:41 +0000 (12:07 +0200)] 
Change the ADB_ENTRY_WINDOW to 60 seconds

The previous value of 30 minutes used to cache the ADB names and entries
was quite long.  Change the value to 60 seconds for faster recovery
after cached intermittent failure of the remote nameservers.

2 years agoUnify the expiration time handling for all ADB expiration
Ondřej Surý [Wed, 3 Apr 2024 09:51:58 +0000 (11:51 +0200)] 
Unify the expiration time handling for all ADB expiration

The algorithm from the previous commit[1] is now used to calculate all
the expiration values through the code (ncache results, cname/dname
targets).

1. ISC_MIN(cur, ISC_MAX(now + ADB_ENTRY_WINDOW, now + rdataset->ttl))

2 years agoFix the expire_v4 and expire_v6 logic
Ondřej Surý [Wed, 3 Apr 2024 09:36:54 +0000 (11:36 +0200)] 
Fix the expire_v4 and expire_v6 logic

Correct the logic to set the expiration period of expire_{v4,v6} as
follows:

1. If the trust is ultimate (local entry), immediately set the entry as
   expired, so the changes to the local zones have immediate effect.

3. If the expiration is already set and smaller than the new value, then
   leave the expiration value as it is.

2. Otherwise pick larger of `now + ADB_ENTRY_WINDOW` and `now + TTL` as
   the new expiration value.

2 years agoAlways set ADB entry expiration to now + ADB_ENTRY_WINDOW
Ondřej Surý [Wed, 3 Apr 2024 09:33:48 +0000 (11:33 +0200)] 
Always set ADB entry expiration to now + ADB_ENTRY_WINDOW

When ADB entry was created it was set to never expire.  If we never
called any of the functions that adjust the expiration, it could linger
in the ADB forever.

Set the expiration (.expires) to now + ADB_ENTRY_WINDOW when creating
the new ADB entry to ensure the ADB entry will always expire.

2 years agoMerge branch '4687-validator-c-1280-insist-val-nfails-0-failed' into 'main'
Mark Andrews [Mon, 22 Apr 2024 04:57:45 +0000 (04:57 +0000)] 
Merge branch '4687-validator-c-1280-insist-val-nfails-0-failed' into 'main'

Resolve "validator.c:1280: INSIST((*val->nfails) > 0) failed"

Closes #4687

See merge request isc-projects/bind9!8963

2 years agoBreak out of the switch if we have already reached the quota
Mark Andrews [Mon, 22 Apr 2024 02:32:36 +0000 (12:32 +1000)] 
Break out of the switch if we have already reached the quota

This prevents consume_validation_fail being called and causing an
INSIST.

2 years agoMerge branch 'mnowak/drop-respdiff-short-ci-jobs' into 'main'
Michal Nowak [Fri, 19 Apr 2024 15:56:00 +0000 (15:56 +0000)] 
Merge branch 'mnowak/drop-respdiff-short-ci-jobs' into 'main'

Drop respdiff-short CI jobs

See merge request isc-projects/bind9!8958

2 years agoDrop respdiff-short CI jobs
Michal Nowak [Fri, 19 Apr 2024 09:58:19 +0000 (11:58 +0200)] 
Drop respdiff-short CI jobs

In the past, our CI infrastructure was more sensitive to the number of
CI jobs running on it. We tried to limit long-running jobs in merge
request-triggered pipelines, as there are many of them, and spawned them
only in daily scheduled ones. Moving most of the CI infrastructure to
AWS has made it way better to run jobs in parallel, and the existence of
short respdiff jobs has lost its original merit. It can also be harmful
as some problems are detected only by the longer respdiff variant when a
faulty merge request has already been merged. We should run all long
respdiff tests in merge request-triggered pipelines.

Also, move the former respdiff-long job (now just "respdiff") to AWS as
old instance memory constraints (see
f09cf69594c6aab4d0c5608226424c566b833f3c) are no longer an issue.

2 years agoMerge branch 'pspacek/auto-backports' into 'main'
Petr Špaček [Fri, 19 Apr 2024 13:40:51 +0000 (13:40 +0000)] 
Merge branch 'pspacek/auto-backports' into 'main'

Attempt automatic MR backports after every merge

See merge request isc-projects/bind9!8959

2 years agoAttempt automatic MR backports after every merge
Petr Špaček [Fri, 19 Apr 2024 12:29:10 +0000 (14:29 +0200)] 
Attempt automatic MR backports after every merge

2 years agoMerge branch '1128-offline-ksk' into 'main'
Matthijs Mekking [Fri, 19 Apr 2024 11:56:50 +0000 (11:56 +0000)] 
Merge branch '1128-offline-ksk' into 'main'

Introduce new DNSSEC tool dnssec-ksr

See merge request isc-projects/bind9!8188

2 years agodnssec-keygen: Change flag options into booleans
Matthijs Mekking [Wed, 17 Apr 2024 13:27:39 +0000 (15:27 +0200)] 
dnssec-keygen: Change flag options into booleans

We now have ctx.kskflag, ctx.zskflag, and ctx.revflag, but zskflag is
not quite like the other two, as it doesn't have a special bit in the
DNS packet, and is used as a boolean.

This patch changes so that we use booleans for all three, and
construct the flags based on which ones are set.

patch by @aram

2 years agoDon't leak
Matthijs Mekking [Mon, 4 Mar 2024 16:01:43 +0000 (17:01 +0100)] 
Don't leak

Make tsan happy, fix memory leaks by keeping track of the buffers
to be cleaned up.

2 years agoAdd test cases for CDS/CDNSKEY
Matthijs Mekking [Mon, 4 Mar 2024 10:36:16 +0000 (11:36 +0100)] 
Add test cases for CDS/CDNSKEY

Add two more test cases to ensure that a Signed Key Response file
creates signed CDNSKEY and/or CDS RRsets according to the policy.

2 years agoAdjust system test to expect CDS and CDNSKEY
Matthijs Mekking [Fri, 1 Mar 2024 13:51:11 +0000 (14:51 +0100)] 
Adjust system test to expect CDS and CDNSKEY

Requires storing the KSK keyfile identifier to calculate the expected
CDS and CDNSKEY.

2 years agoAdd option to dnssec-dsfromkey to chop up rdata
Matthijs Mekking [Mon, 4 Mar 2024 09:14:56 +0000 (10:14 +0100)] 
Add option to dnssec-dsfromkey to chop up rdata

The new option 'w' allows us to print DS rdata with the base64 portions
split up in chunks. This is mainly done for testing purposes.

2 years agoAdd CDS and CDNSKEY to SKR
Matthijs Mekking [Fri, 1 Mar 2024 13:48:35 +0000 (14:48 +0100)] 
Add CDS and CDNSKEY to SKR

Add signed CDS and CDNSKEY RRsets to the Signed Key Response (SKR) for the
used KSKs.

We only print one bundle header for all three RRsets.

2 years agosh the fmt up
Matthijs Mekking [Mon, 26 Feb 2024 15:29:59 +0000 (16:29 +0100)] 
sh the fmt up

Apply shfmt patch. Ideally I fixup every commit that changes testing,
but that is just too much at this point.

2 years agoAdd CHANGES and release note
Matthijs Mekking [Thu, 22 Feb 2024 14:39:20 +0000 (15:39 +0100)] 
Add CHANGES and release note

Introduce the new 'dnssec-ksr' tool.

2 years agoTest dnssec-ksr sign
Matthijs Mekking [Thu, 22 Feb 2024 14:18:30 +0000 (15:18 +0100)] 
Test dnssec-ksr sign

Add test cases for the 'sign' command. Reuse the earlier generated KSR
files.

Also update dnssec-ksr.c to have better cleanup.

2 years agoImplement dnssec-ksr sign
Matthijs Mekking [Thu, 22 Feb 2024 14:16:03 +0000 (15:16 +0100)] 
Implement dnssec-ksr sign

Add code that can create a Signed Key Response (SKR) given a Key
Signing Request (KSR), a DNSSEC policy, a set of keys and an interval.

2 years agoChange ksr format
Matthijs Mekking [Thu, 21 Dec 2023 10:16:40 +0000 (11:16 +0100)] 
Change ksr format

Make the ksr format compatible with knot.

2 years agoRefactor dnssec-ksr
Matthijs Mekking [Tue, 15 Aug 2023 10:20:40 +0000 (12:20 +0200)] 
Refactor dnssec-ksr

Refactor some more, making the cleanup a generic function.

2 years agoTest dnssec-ksr request
Matthijs Mekking [Tue, 15 Aug 2023 09:56:06 +0000 (11:56 +0200)] 
Test dnssec-ksr request

Add test cases for the 'request' command. Reuse the earlier
pregenerated ZSKs. We also need to set up some KSK files, that can
be done with 'dnssec-keygen -k <policy> -fK' now.

The 'check_keys()' function is adjusted such that the expected active
time of the successor key is set to the inactive time of the
predecessor. Some additional information is saved to make 'request'
testing easier.

2 years agoImplement dnssec-ksr request
Matthijs Mekking [Tue, 15 Aug 2023 09:52:36 +0000 (11:52 +0200)] 
Implement dnssec-ksr request

Add code that can create a Key Signing Request (KSR) given a DNSSEC
policy, a set of keys and an interval.

Multiple keys that match the bundle and kasp parameters are sorted by
keytag, mainly for testing purposes.

2 years agoAlso free the dst_key after keygen
Matthijs Mekking [Wed, 17 Apr 2024 10:19:11 +0000 (12:19 +0200)] 
Also free the dst_key after keygen

During cleanup, we also need to free the dst_key structure that is part
of the dns_dnsseckey.

2 years agoRefactor dnssec-ksr keygen
Matthijs Mekking [Tue, 15 Aug 2023 09:46:53 +0000 (11:46 +0200)] 
Refactor dnssec-ksr keygen

Create some helper functions for code that is going to be reused by the
other commands (request, sign), such as setting and checking the context
parameters, and retrieving the dnssec-policy/kasp.

2 years agodnssec-keygen: allow -f and -k together
Matthijs Mekking [Tue, 15 Aug 2023 08:30:36 +0000 (10:30 +0200)] 
dnssec-keygen: allow -f and -k together

The 'dnssec-keygen' tool now allows the options '-k <dnssec-policy>'
and '-f <flags>' together to create keys from a DNSSEC policy that only
match the given role. Allow setting '-fZ' to only create ZSKs, while
'-fK' will only create KSKs.

2 years agoImplement dnssec-ksr keygen
Matthijs Mekking [Wed, 9 Aug 2023 12:50:38 +0000 (14:50 +0200)] 
Implement dnssec-ksr keygen

Add code that can pregenerate ZSKs given a DNSSEC policy and an
interval.

Fix configuration shell scripts, fixing the ksr system test.

2 years agoMove kasp key match function to kasp header
Matthijs Mekking [Wed, 9 Aug 2023 12:10:32 +0000 (14:10 +0200)] 
Move kasp key match function to kasp header

The dnssec-ksr tool needs to check if existing key files match lines
in the keys section of a dnssec-policy, so make this function publicly
available.

2 years agoMove common create key functions to dnssectool.c
Matthijs Mekking [Wed, 9 Aug 2023 12:07:54 +0000 (14:07 +0200)] 
Move common create key functions to dnssectool.c

The dnssec-ksr tool needs to read a dnssec-policy from configuration
too, as well as deal with FIPS mode checks.

2 years agoAdd ksr system test
Matthijs Mekking [Wed, 9 Aug 2023 12:04:54 +0000 (14:04 +0200)] 
Add ksr system test

Add a system test for testing dnssec-ksr, initally for the keygen
command. This should be able to create or select key files given a
DNSSEC policy and a time window.

2 years agoIntroduce new DNSSEC tool dnssec-ksr
Matthijs Mekking [Mon, 7 Aug 2023 08:58:05 +0000 (10:58 +0200)] 
Introduce new DNSSEC tool dnssec-ksr

Introduce a new DNSSEC tool, dnssec-ksr, for creating signed key
response (SKR) files, given one or more key signing requests (KSRs).

For now it is just a dummy tool, but the future purpose of this utility
is to pregenerate ZSKs and signed RRsets for DNSKEY, CDNSKEY, and CDS
for a given period that a KSK is to be offline.

2 years agoMerge branch 'mnowak/revert-874329b3b1a56e58e8caf61d89127441d2cc79a1' into 'main'
Michal Nowak [Fri, 19 Apr 2024 08:37:47 +0000 (08:37 +0000)] 
Merge branch 'mnowak/revert-874329b3b1a56e58e8caf61d89127441d2cc79a1' into 'main'

Revert "Temporarily allow failure of respdiff-long:tsan job"

See merge request isc-projects/bind9!8957

2 years agoRevert "Temporarily allow failure of respdiff-long:tsan job"
Michal Nowak [Fri, 19 Apr 2024 08:28:51 +0000 (10:28 +0200)] 
Revert "Temporarily allow failure of respdiff-long:tsan job"

This reverts commit 874329b3b1a56e58e8caf61d89127441d2cc79a1.

Addressed in isc-projects/bind9#4475.

2 years agoMerge branch '4416-fix-reading-multiple-rndc-messages-in-single-TCP-message' into...
Ondřej Surý [Thu, 18 Apr 2024 18:10:56 +0000 (18:10 +0000)] 
Merge branch '4416-fix-reading-multiple-rndc-messages-in-single-TCP-message' into 'main'

Rework isccc_ccmsg to support multiple messages per tcp read

Closes #4416

See merge request isc-projects/bind9!8956

2 years agoAdd CHANGES note for [GL #4416]
Ondřej Surý [Thu, 18 Apr 2024 14:46:38 +0000 (16:46 +0200)] 
Add CHANGES note for [GL #4416]

2 years agoRework isccc_ccmsg to support multiple messages per tcp read
Dominik Thalhammer [Thu, 9 Nov 2023 09:26:43 +0000 (10:26 +0100)] 
Rework isccc_ccmsg to support multiple messages per tcp read

Previously, only a single controlconf message would be processed from a
single TCP read even if the TCP read buffer contained multiple messages.
Refactor the isccc_ccmsg unit to store the extra buffer in the internal
buffer and use the already read data first before reading from the
network again.

Co-authored-by: Ondřej Surý <ondrej@isc.org>
Co-authored-by: Dominik Thalhammer <dominik@thalhammer.it>
2 years agoMerge branch '4586-don-t-count-expired-future-rrsigs-in-verification-failure-quota...
Ondřej Surý [Thu, 18 Apr 2024 15:07:43 +0000 (15:07 +0000)] 
Merge branch '4586-don-t-count-expired-future-rrsigs-in-verification-failure-quota' into 'main'

Don't count expired / future RRSIGs in verification failure quota

Closes #4586

See merge request isc-projects/bind9!8746

2 years agoAdd CHANGES and release notes for [GL #4586]
Ondřej Surý [Mon, 15 Apr 2024 10:44:41 +0000 (12:44 +0200)] 
Add CHANGES and release notes for [GL #4586]

2 years agoDon't count expired / future RRSIG against quota
Ondřej Surý [Mon, 15 Apr 2024 10:45:01 +0000 (12:45 +0200)] 
Don't count expired / future RRSIG against quota

These don't trigger a public key verification unless
dnssec-accept-expired is set.

2 years agoMerge branch 'pspacek/update-sphinx' into 'main'
Petr Špaček [Thu, 18 Apr 2024 14:00:33 +0000 (14:00 +0000)] 
Merge branch 'pspacek/update-sphinx' into 'main'

Update Sphinx version used for documentation build

See merge request isc-projects/bind9!8952

2 years agoUpdate Sphinx version used for documentation build
Petr Špaček [Thu, 18 Apr 2024 10:46:13 +0000 (12:46 +0200)] 
Update Sphinx version used for documentation build

2 years agoMerge branch 'ondrej-offload-statschannel' into 'main'
Ondřej Surý [Thu, 18 Apr 2024 08:56:06 +0000 (08:56 +0000)] 
Merge branch 'ondrej-offload-statschannel' into 'main'

Offload the isc_http response processing to worker thread

Closes #4680

See merge request isc-projects/bind9!7647

2 years agoAdd CHANGES and release note for [GL #4680]
Ondřej Surý [Tue, 16 Apr 2024 15:37:30 +0000 (17:37 +0200)] 
Add CHANGES and release note for [GL #4680]

2 years agoSupress the leak detection in xmlGetGlobalState
Ondřej Surý [Wed, 17 Apr 2024 18:44:32 +0000 (20:44 +0200)] 
Supress the leak detection in xmlGetGlobalState

The xmlGetGlobalState allocates per-thread memory that is not properly
cleaned up when the libxml2 is used from offloaded threads.  Add the
function the the LeakSanitizer suppression list.

2 years agoUse xmlMemSetup() instead of xmlGcMemSetup()
Ondřej Surý [Wed, 17 Apr 2024 17:58:16 +0000 (19:58 +0200)] 
Use xmlMemSetup() instead of xmlGcMemSetup()

Since we don't have a specialized function for "atomic" allocations,
it's better to just use xmlMemSetup() instead of xmlGcMemSetup()
according to this:

https://mail.gnome.org/archives/xml/2007-August/msg00032.html

2 years agoOffload the isc_http response processing to worker thread
Ondřej Surý [Fri, 3 Mar 2023 15:59:21 +0000 (16:59 +0100)] 
Offload the isc_http response processing to worker thread

Prepare the statistics channel data in the offloaded worker thread, so
the networking thread is not blocked by the process gathering data from
various data structures.  Only the netmgr send is then run on the
networkin thread when all the data is already there.

2 years agoMerge branch '4554-dnssec-policy-jitter' into 'main' 4371-all-the-things-that-need-to-be-fixed-before-9-20
Matthijs Mekking [Thu, 18 Apr 2024 08:11:18 +0000 (08:11 +0000)] 
Merge branch '4554-dnssec-policy-jitter' into 'main'

Add signatures-jitter option

Closes #4554

See merge request isc-projects/bind9!8686

2 years agoAdd checkconf check for signatures-jitter
Matthijs Mekking [Tue, 16 Apr 2024 13:49:13 +0000 (15:49 +0200)] 
Add checkconf check for signatures-jitter

Having a value higher than signatures-validity does not make sense
and should be treated as a configuration error.

2 years agoAdd release notes and CHANGES for #4554
Matthijs Mekking [Thu, 1 Feb 2024 08:50:40 +0000 (09:50 +0100)] 
Add release notes and CHANGES for #4554

Mention the new signature jitter option.

2 years agoImplement signature jitter
Matthijs Mekking [Thu, 1 Feb 2024 08:34:33 +0000 (09:34 +0100)] 
Implement signature jitter

When calculating the RRSIG validity, jitter is now derived from the
config option rather than from the refresh value.

2 years agoRefactor code that calculates signature validity
Matthijs Mekking [Wed, 31 Jan 2024 16:31:16 +0000 (17:31 +0100)] 
Refactor code that calculates signature validity

There are three code blocks that are (almost) similar, refactor it
to one function.

2 years agoUpdate autosign test to use signatures-jitter
Matthijs Mekking [Thu, 1 Feb 2024 15:33:21 +0000 (16:33 +0100)] 
Update autosign test to use signatures-jitter

Now that we have an option to configure jitter, use it in system tests
that test jitter.

2 years agoAdd signatures-jitter option
Matthijs Mekking [Wed, 31 Jan 2024 15:52:32 +0000 (16:52 +0100)] 
Add signatures-jitter option

Add an option to speficy signatures jitter.

2 years agoMerge tag 'v9.19.23'
Petr Špaček [Thu, 18 Apr 2024 07:21:47 +0000 (09:21 +0200)] 
Merge tag 'v9.19.23'

2 years agoMerge branch '4671-calling-dns_qpkey_toname-twice-fails' into 'main'
Mark Andrews [Thu, 18 Apr 2024 01:05:42 +0000 (01:05 +0000)] 
Merge branch '4671-calling-dns_qpkey_toname-twice-fails' into 'main'

Resolve "Calling dns_qpkey_toname twice fails."

Closes #4671

See merge request isc-projects/bind9!8948

2 years agoCheck that name is properly reset by dns_qpkey_toname
Mark Andrews [Wed, 17 Apr 2024 00:00:33 +0000 (10:00 +1000)] 
Check that name is properly reset by dns_qpkey_toname

2 years agodns_qpkey_toname failed to reset name correctly
Mark Andrews [Tue, 16 Apr 2024 23:40:05 +0000 (09:40 +1000)] 
dns_qpkey_toname failed to reset name correctly

This could lead to a mismatch between name->length and the rest
of the name structure.

2 years agoMerge branch '4475-use-atomics-to-access-trust-access-in-dns_ncache' into 'main'
Ondřej Surý [Wed, 17 Apr 2024 19:18:35 +0000 (19:18 +0000)] 
Merge branch '4475-use-atomics-to-access-trust-access-in-dns_ncache' into 'main'

Use atomic operations to access the trust byte in ncache data

Closes #4475

See merge request isc-projects/bind9!8946

2 years agoAdd CHANGES note for [GL #4475]
Mark Andrews [Mon, 15 Jan 2024 01:02:56 +0000 (12:02 +1100)] 
Add CHANGES note for [GL #4475]

2 years agoUse atomic operations to access the trust byte in ncache data
Ondřej Surý [Thu, 11 Apr 2024 01:16:12 +0000 (03:16 +0200)] 
Use atomic operations to access the trust byte in ncache data

Protect the access to the trust byte in the ncache data with relaxed
atomic operation to mimick the current behaviour.  This will teach
TSAN that the concurrent access is fine.

2 years agoOnly copy the name data after we know its actual length
Mark Andrews [Mon, 15 Jan 2024 00:47:13 +0000 (11:47 +1100)] 
Only copy the name data after we know its actual length

This prevents TSAN errors with the ncache code where the trust byte
access needs to be protected by a lock.  The old code copied the
entire region before determining where the name ended.  We now
determine where the name ends then copy just that data and in doing
so avoid reading the trust byte.

2 years agoMerge branch '4434-use-nm-tests-timeouts-for-the-dispatch-test' into 'main'
Artem Boldariev [Mon, 15 Apr 2024 14:25:13 +0000 (14:25 +0000)] 
Merge branch '4434-use-nm-tests-timeouts-for-the-dispatch-test' into 'main'

dispatch_test: use the NM tests timeouts

Closes #4434

See merge request isc-projects/bind9!8923

2 years agodispatch_test: use the NM tests timeouts
Artem Boldariev [Thu, 28 Mar 2024 14:22:11 +0000 (16:22 +0200)] 
dispatch_test: use the NM tests timeouts

This commit makes the dispatch_test use the same timeouts that network
manager tests. We do that because the old values appear to be too
small for our heavy loaded CI machines, leading to spurious failures
on them. The network manager tests are much more stable in this
situation and they use somewhat larger timeout values.

We use a smaller connection timeouts for the tests which are expected
to timeout to not wait for too long.

2 years agoMerge branch '4669-error-sending-notify-to-ipv6-secondary' into 'main'
Mark Andrews [Fri, 12 Apr 2024 00:16:01 +0000 (00:16 +0000)] 
Merge branch '4669-error-sending-notify-to-ipv6-secondary' into 'main'

Wrong source address used for IPv6 notify messages

Closes #4669

See merge request isc-projects/bind9!8935

2 years agoAdd CHANGES note for [GL #4669]
Mark Andrews [Wed, 3 Apr 2024 23:43:29 +0000 (10:43 +1100)] 
Add CHANGES note for [GL #4669]

2 years agoCheck that notify message was sent over IPv6
Mark Andrews [Thu, 4 Apr 2024 00:24:59 +0000 (11:24 +1100)] 
Check that notify message was sent over IPv6

2 years agoWrong source address used for IPv6 notify messages
Mark Andrews [Wed, 3 Apr 2024 23:35:23 +0000 (10:35 +1100)] 
Wrong source address used for IPv6 notify messages

The source address field of 'newnotify' was not updated from the
default (0.0.0.0) when the destination address was an IPv6 address.
This resulted in the messages failing to be sent.  Set the source
address to :: when the destination address is an IPv6 address.

2 years agoMerge branch 'pspacek/releng-changes' into 'main'
Petr Špaček [Thu, 11 Apr 2024 15:15:49 +0000 (15:15 +0000)] 
Merge branch 'pspacek/releng-changes' into 'main'

Move Release issue template to BIND QA repo

See merge request isc-projects/bind9!8944

2 years agoMove Release issue template to BIND QA repo
Petr Špaček [Wed, 10 Apr 2024 16:34:52 +0000 (12:34 -0400)] 
Move Release issue template to BIND QA repo

It's easier to maintain the template in a single place together with
the script used to in the template.

In future use script bind9/releng/create_checklist.py
from isc-private/bind-qa to generate release issue.

2 years agoMerge branch 'each-dupwithoffsets-cannot-fail' into 'main'
Evan Hunt [Thu, 11 Apr 2024 03:25:07 +0000 (03:25 +0000)] 
Merge branch 'each-dupwithoffsets-cannot-fail' into 'main'

dns_name_dupwithoffsets() cannot fail

See merge request isc-projects/bind9!8945

2 years agodns_name_dupwithoffsets() cannot fail
Evan Hunt [Tue, 12 Mar 2024 21:38:18 +0000 (14:38 -0700)] 
dns_name_dupwithoffsets() cannot fail

this function now always returns success; change it to void and
clean up its callers.

2 years agoMerge branch 'pspacek/set-up-version-and-release-notes-for-bind-9.19.24' into 'main'
Petr Špaček [Thu, 4 Apr 2024 19:15:28 +0000 (19:15 +0000)] 
Merge branch 'pspacek/set-up-version-and-release-notes-for-bind-9.19.24' into 'main'

Set up version and release notes for BIND 9.19.24

See merge request isc-projects/bind9!8939

2 years agoSet up release notes for BIND 9.19.24
Petr Špaček [Thu, 4 Apr 2024 17:35:03 +0000 (19:35 +0200)] 
Set up release notes for BIND 9.19.24

2 years agoUpdate BIND version to 9.19.24-dev
Petr Špaček [Thu, 4 Apr 2024 17:35:03 +0000 (19:35 +0200)] 
Update BIND version to 9.19.24-dev

2 years agoUpdate BIND version for release v9.19.23
Petr Špaček [Tue, 2 Apr 2024 16:08:00 +0000 (18:08 +0200)] 
Update BIND version for release

2 years agoAdd a CHANGES marker
Petr Špaček [Tue, 2 Apr 2024 16:06:04 +0000 (18:06 +0200)] 
Add a CHANGES marker

2 years agoMerge branch 'pspacek/prepare-documentation-for-bind-9.19.23' into 'v9.19.23-release'
Petr Špaček [Tue, 2 Apr 2024 16:04:47 +0000 (16:04 +0000)] 
Merge branch 'pspacek/prepare-documentation-for-bind-9.19.23' into 'v9.19.23-release'

Prepare documentation for BIND 9.19.23

See merge request isc-private/bind9!677

2 years agoTweak and reword release notes
Suzanne Goldlust [Tue, 2 Apr 2024 15:26:16 +0000 (15:26 +0000)] 
Tweak and reword release notes

2 years agoAdd release note for GL #4622 and #4652
Petr Špaček [Tue, 2 Apr 2024 14:20:18 +0000 (16:20 +0200)] 
Add release note for GL #4622 and #4652

2 years agoAdd release note for GL #4614
Petr Špaček [Tue, 2 Apr 2024 14:16:28 +0000 (16:16 +0200)] 
Add release note for GL #4614