]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
2 years agoReport non-effective primaries
Mark Andrews [Wed, 29 Nov 2023 01:35:20 +0000 (12:35 +1100)] 
Report non-effective primaries

When named is started with -4 or -6 and the primaries for a zone
do not have an IPv4 or IPv6 address respectively issue a log message.

(cherry picked from commit 2cd43032498752d2ab4527475ba21beee133b30b)

2 years agoZone transfers should honour -4 and -6 options
Mark Andrews [Tue, 28 Nov 2023 06:26:41 +0000 (17:26 +1100)] 
Zone transfers should honour -4 and -6 options

Check if the address family has been disabled when transferring
zones.

(cherry picked from commit ecdde04e63277e2bed8d1d861470de80ab0f49e1)

2 years agoAdd helper function isc_sockaddr_disabled
Mark Andrews [Tue, 13 Feb 2024 00:42:44 +0000 (11:42 +1100)] 
Add helper function isc_sockaddr_disabled

(cherry picked from commit 9be1873ef37a4f20e01dc2ad1e64112b7104d942)

2 years agoMerge branch '4706-4707-add-more-label-checks-to-dangerfile.py-9.18' into 'bind-9.18'
Michał Kępień [Mon, 3 Jun 2024 11:15:46 +0000 (11:15 +0000)] 
Merge branch '4706-4707-add-more-label-checks-to-dangerfile.py-9.18' into 'bind-9.18'

[9.18] Add more label checks to dangerfile.py

See merge request isc-projects/bind9!9086

2 years agoFail for merge requests with "Affects v9.x" labels
Michał Kępień [Mon, 3 Jun 2024 11:07:21 +0000 (13:07 +0200)] 
Fail for merge requests with "Affects v9.x" labels

Setting "Affects v9.x" labels on a merge request duplicates information
already present on the GitLab issue associated with that merge request.
For trivial merge requests that are not associated with any GitLab
issue, setting the "Affects v9.x" label(s) is considered unnecessary.
Trigger a failure for every merge request marked with at least one
"Affects v9.x" label.

(cherry picked from commit aae51cf28d4466907e152591c8a00525f7ec7038)

2 years agoWarn about auto-generated merge request titles
Michał Kępień [Mon, 3 Jun 2024 11:07:21 +0000 (13:07 +0200)] 
Warn about auto-generated merge request titles

Merge request titles auto-generated by GitLab are often a source of
confusion regarding the actual contents of a given merge request.  Warn
for merge requests containing titles that look like auto-generated ones.

(cherry picked from commit 80ec57f198e5706e653ebe2016f41dc6f856db8c)

2 years agoFail for branches using old-style version suffixes
Michał Kępień [Mon, 3 Jun 2024 11:07:21 +0000 (13:07 +0200)] 
Fail for branches using old-style version suffixes

Using "-v9_x" and "-v9.x" version suffixes for branch names is now
deprecated since some automation logic does not handle these.  Fail for
any merge request using such old-style version suffixes.

(cherry picked from commit 09851e62309f55bb3e6e3bc7299db95929827f76)

2 years agoFail for backports with "Affects v9.x" labels set
Michał Kępień [Mon, 3 Jun 2024 11:07:21 +0000 (13:07 +0200)] 
Fail for backports with "Affects v9.x" labels set

Backports are not expected to have any "Affects v9.x" labels set since
those are only meant to be set for merge requests that should have
backports created for them.

(cherry picked from commit 9359cb9c99454626b65b3863e10e710a329ca99c)

2 years agoMerge branch '4708-uv-tcp-close-reset-issue-9.18' into 'bind-9.18'
Matthijs Mekking [Mon, 3 Jun 2024 08:51:44 +0000 (08:51 +0000)] 
Merge branch '4708-uv-tcp-close-reset-issue-9.18' into 'bind-9.18'

[9.18] Deal with uv_tcp_close_reset more gracefully

See merge request isc-projects/bind9!9084

2 years agoAdd CHANGES entry for [GL #4708]
Matthijs Mekking [Wed, 8 May 2024 07:51:31 +0000 (09:51 +0200)] 
Add CHANGES entry for [GL #4708]

(cherry picked from commit 113968f3a04a236fbf5a7f97c1e23154ca72662f)

2 years agoCall reset_shutdown if uv_tcp_close_reset failed
Matthijs Mekking [Wed, 8 May 2024 07:48:08 +0000 (09:48 +0200)] 
Call reset_shutdown if uv_tcp_close_reset failed

If uv_tcp_close_reset() returns an error code, this means the
reset_shutdown callback has not been issued, so do it now.

(cherry picked from commit c40e5c865313c8d538650a8bab71fc4c576705c2)

2 years agoDo not runtime check uv_tcp_close_reset
Matthijs Mekking [Wed, 8 May 2024 07:27:53 +0000 (09:27 +0200)] 
Do not runtime check uv_tcp_close_reset

When we reset a TCP connection by sending a RST packet, do not bother
requiring the result is a success code.

(cherry picked from commit 5b94bb21295560aed8b3f1968fbfae261c57aab9)

2 years agoMerge branch '4742-tcp4clients-statistic-is-inaccurate' into 'bind-9.18'
Aydın Mercan [Thu, 30 May 2024 11:28:48 +0000 (11:28 +0000)] 
Merge branch '4742-tcp4clients-statistic-is-inaccurate' into 'bind-9.18'

Increase TCP4Clients/TCP6Clients after point of no failure

See merge request isc-projects/bind9!9066

2 years agoDocument TCP4Clients/TCP6Clients
Michał Kępień [Mon, 27 May 2024 13:03:18 +0000 (15:03 +0200)] 
Document TCP4Clients/TCP6Clients

Commit abc47f5ce4a50ab2d3b23505914e9c65f856262b added two new statistics
counters without documenting them.  Add the missing counter descriptions
to the ARM.

2 years agoadd CHANGES and release note for GL #4425
Aydın Mercan [Fri, 24 May 2024 12:18:15 +0000 (15:18 +0300)] 
add CHANGES and release note for GL #4425

2 years agoincrease TCP4Clients/TCP6Clients after point of no failure
Aydın Mercan [Fri, 24 May 2024 11:56:03 +0000 (14:56 +0300)] 
increase TCP4Clients/TCP6Clients after point of no failure

Failing to accept TCP/TLS connections in 9.18 detaches the quota in
isc__nm_failed_accept_cb, causing TCP4Clients and TCP6Clients statistics
to not decrease inside cleanup.

Fix by increasing the counter after the point of no failure but before
handling statistics through the client's socket is no longer valid.

2 years agoMerge branch '4750-set-loop-on-incoming-transfer-9.18' into 'bind-9.18'
Ondřej Surý [Wed, 29 May 2024 07:37:55 +0000 (07:37 +0000)] 
Merge branch '4750-set-loop-on-incoming-transfer-9.18' into 'bind-9.18'

[9.18] Create the new database for AXFR from the dns_zone API

See merge request isc-projects/bind9!9075

2 years agoCreate the new database for AXFR from the dns_zone API
Ondřej Surý [Tue, 28 May 2024 14:13:31 +0000 (16:13 +0200)] 
Create the new database for AXFR from the dns_zone API

The `axfr_makedb()` didn't set the loop on the newly created database,
effectively killing delayed cleaning on such database.  Move the
database creation into dns_zone API that knows all the gory details of
creating new database suitable for the zone.

(cherry picked from commit 3310cac2b0b83e20a8ce2da67d3e5ede9bee4c)

2 years agoMerge branch 'nicki/use-bind-team-gitlab-tokens-9.18' into 'bind-9.18'
Nicki Křížek [Mon, 27 May 2024 11:36:23 +0000 (11:36 +0000)] 
Merge branch 'nicki/use-bind-team-gitlab-tokens-9.18' into 'bind-9.18'

[9.18] Use bind-team tokens for CI gitlab access

See merge request isc-projects/bind9!9068

2 years agoUse BIND_TEAM_WRITE_TOKEN for autobackport bot
Nicki Křížek [Fri, 24 May 2024 13:51:40 +0000 (15:51 +0200)] 
Use BIND_TEAM_WRITE_TOKEN for autobackport bot

This is done to unify the token usage across our repositories to
simplify token maintenance.

(cherry picked from commit d391f0c9586c619a2ceead562327ebad8840e69d)

2 years agoUse BIND_TEAM_API_TOKEN for danger bot
Nicki Křížek [Fri, 24 May 2024 13:50:31 +0000 (15:50 +0200)] 
Use BIND_TEAM_API_TOKEN for danger bot

This is done to unify the token usage across our repositories to
simplify token maintenance.

(cherry picked from commit 6767172bc0fc2f7fbb44c24144ea40c0836b9913)

2 years agoMerge branch 'mnowak/alpine-3.20-9.18' into 'bind-9.18'
Michal Nowak [Thu, 23 May 2024 12:12:33 +0000 (12:12 +0000)] 
Merge branch 'mnowak/alpine-3.20-9.18' into 'bind-9.18'

[9.18] Add Alpine Linux 3.20

See merge request isc-projects/bind9!9060

2 years agoAdd Alpine Linux 3.20
Michal Nowak [Thu, 23 May 2024 08:58:25 +0000 (10:58 +0200)] 
Add Alpine Linux 3.20

(cherry picked from commit 6f22e79ef99c83498922fccb1c9e5547828f536d)

2 years agoMerge branch 'mnowak/short-stress-tests-should-keep-artifacts-9.18' into 'bind-9.18'
Michal Nowak [Wed, 22 May 2024 12:14:00 +0000 (12:14 +0000)] 
Merge branch 'mnowak/short-stress-tests-should-keep-artifacts-9.18' into 'bind-9.18'

[9.18] Short stress tests should keep artifacts

See merge request isc-projects/bind9!9057

2 years agoShort stress tests should keep artifacts
Michal Nowak [Thu, 16 May 2024 14:44:38 +0000 (16:44 +0200)] 
Short stress tests should keep artifacts

(cherry picked from commit aa72747c808ff55a53d724c7786032a7b522f904)

2 years agoMerge branch '4730-clang-format-header-file-changes-bind-9.18' into 'bind-9.18'
Evan Hunt [Fri, 17 May 2024 23:55:10 +0000 (23:55 +0000)] 
Merge branch '4730-clang-format-header-file-changes-bind-9.18' into 'bind-9.18'

[9.18] Resolve "Clang format header file changes"

See merge request isc-projects/bind9!9053

2 years agoIgnore reformat sources with up-to-date clang-format-18
Mark Andrews [Fri, 17 May 2024 03:32:10 +0000 (13:32 +1000)] 
Ignore reformat sources with up-to-date clang-format-18

2 years agoClang-format header file changes
Mark Andrews [Fri, 17 May 2024 02:29:59 +0000 (12:29 +1000)] 
Clang-format header file changes

2 years agoMerge branch 'aram/isc_task_purgeevent-race-fix' into 'bind-9.18'
Arаm Sаrgsyаn [Fri, 17 May 2024 12:46:48 +0000 (12:46 +0000)] 
Merge branch 'aram/isc_task_purgeevent-race-fix' into 'bind-9.18'

Fix a data race in isc_task_purgeevent()

See merge request isc-projects/bind9!8937

2 years agoAdd a CHANGES note for [GL !8937]
Aram Sargsyan [Thu, 4 Apr 2024 15:31:58 +0000 (15:31 +0000)] 
Add a CHANGES note for [GL !8937]

2 years agoFix a data race in isc_task_purgeevent()
Aram Sargsyan [Thu, 4 Apr 2024 15:28:47 +0000 (15:28 +0000)] 
Fix a data race in isc_task_purgeevent()

When isc_task_purgeevent() is called for and 'event', the event, in
the meanwhile, could in theory get processed, unlinked, and freed.
So when the function then operates on the 'event', it causes a
segmentation fault.

The only place where isc_task_purgeevent() is called is from
timer_purge().

In order to resolve the data race, call isc_task_purgeevent() inside
the 'timer->lock' locked block, so that timerevent_destroy() won't
be able to destroy the event if it was processed in the meanwhile,
before isc_task_purgeevent() had a chance to purge it.

In order to be able to do that, move the responsibility of calling
isc_event_free() (upon a successful purge) out from the
isc_task_purgeevent() function to its caller instead, so that it can
be called outside of the timer->lock locked block.

2 years agoTest a race condition between isc_timer_purge() and isc_event_free()
Aram Sargsyan [Fri, 5 Apr 2024 14:05:40 +0000 (14:05 +0000)] 
Test a race condition between isc_timer_purge() and isc_event_free()

Let basic_tick() of 'task1' and 'basic_quick' of 'task4' run in
different threads, and insert an artificial delay in timer_purge()
to cause an existing race condition to appear.

2 years agoExpose internal timer_purge() as isc_timer_purge()
Aram Sargsyan [Fri, 5 Apr 2024 16:44:04 +0000 (16:44 +0000)] 
Expose internal timer_purge() as isc_timer_purge()

This function is used in a unit test to check for data races.

2 years agoMerge branch '4726-increase-formerr-coverage-in-message-parsing-9.18' into 'bind...
Mark Andrews [Fri, 17 May 2024 07:14:48 +0000 (07:14 +0000)] 
Merge branch '4726-increase-formerr-coverage-in-message-parsing-9.18' into 'bind-9.18'

[9.18] Resolve "Increase FORMERR coverage in message parsing"

See merge request isc-projects/bind9!9048

2 years agoadd test cases for several FORMERR code paths:
Mark Andrews [Mon, 29 Jan 2024 18:21:37 +0000 (10:21 -0800)] 
add test cases for several FORMERR code paths:

  - duplicated question
  - duplicated answer
  - qtype as an answer
  - two question types
  - question names
  - nsec3 bad owner name
  - short record
  - short question
  - mismatching question class
  - bad record owner name
  - mismatched class in record
  - mismatched KEY class
  - OPT wrong owner name
  - invalid RRSIG "covers" type
  - UPDATE malformed delete type
  - TSIG wrong class
  - TSIG not the last record

(cherry picked from commit 6e9ed4983eb6ed7c018f23e1b7cd8c46f9104fc0)

2 years agoMerge tag 'v9.18.27' into bind-9.18
Michal Nowak [Thu, 16 May 2024 09:40:54 +0000 (11:40 +0200)] 
Merge tag 'v9.18.27' into bind-9.18

2 years agoMerge branch '4517-dnssec-verify-reports-errors-in-nsec3-chain-9.18' into 'bind-9.18'
Mark Andrews [Thu, 16 May 2024 02:44:49 +0000 (02:44 +0000)] 
Merge branch '4517-dnssec-verify-reports-errors-in-nsec3-chain-9.18' into 'bind-9.18'

[9.18] Resolve "dnssec-verify reports errors in NSEC3 chain"

See merge request isc-projects/bind9!9041

2 years agoAdd CHANGES note for [GL #4517]
Mark Andrews [Tue, 9 Jan 2024 01:28:28 +0000 (12:28 +1100)] 
Add CHANGES note for [GL #4517]

(cherry picked from commit e4dbf4be8e6c305687bb7f2cc9035979a8f9d108)

2 years agoDon't sign non-apex DNSKEY records
Mark Andrews [Tue, 9 Jan 2024 04:20:09 +0000 (15:20 +1100)] 
Don't sign non-apex DNSKEY records

DNSKEY can only be validated if it is signed by itself.  Stop
attempting to sign non apex DNSKEY RRsets.

(cherry picked from commit dd13f41ae193e9f597ac4d18cfb4daf64714907a)

2 years agoRemove invalid DNSKEY RRset from zone
Mark Andrews [Tue, 9 Jan 2024 03:58:37 +0000 (14:58 +1100)] 
Remove invalid DNSKEY RRset from zone

(cherry picked from commit 315ad2df7adc7ff36ed435490fec067f11680b31)

2 years agoAdd regression test data for [GL #4517]
Mark Andrews [Tue, 9 Jan 2024 01:22:21 +0000 (12:22 +1100)] 
Add regression test data for [GL #4517]

An obscured DNSKEY RRset at a delegation was incorrectly added to
the NSEC/NSEC3 type bit map leading to zone verification failures.
This adds such a RRset to the test zone.

(cherry picked from commit 122111f75e1c3d76b8620e3c3009be2a78e55424)

2 years agoFail if there are non apex DNSKEYs
Mark Andrews [Tue, 9 Jan 2024 06:01:07 +0000 (17:01 +1100)] 
Fail if there are non apex DNSKEYs

DNSSEC only works when DNSKEYs are self signed.  This only occurs
when the DNSKEY RRset is at the apex.  Cause dnssec-signzone to
fail if it attempts to sign an non-apex DNSKEY RRset.

(cherry picked from commit b3efc15be429d940a98baa4715959071e2581502)

2 years agoProperly build the NSEC/NSEC3 type bit map
Mark Andrews [Tue, 9 Jan 2024 01:12:33 +0000 (12:12 +1100)] 
Properly build the NSEC/NSEC3 type bit map

DNSKEY was incorrectly being added to the NESC/NSEC3 type bit map
when it was obscured by the delegation.  This lead to zone verification
failures.

(cherry picked from commit ec3c6248148dec0696eeab62abdf53ea71116c0b)

2 years agoProperly update 'maxtype'
Mark Andrews [Tue, 9 Jan 2024 01:09:03 +0000 (12:09 +1100)] 
Properly update 'maxtype'

'maxtype' should be checked to see if it should be updated whenever
a type is added to the type map.

(cherry picked from commit e84615629f52f551c7482036e4a333498fc5f089)

2 years agoMerge branch '4719-prevent-passing-null-to-dns_dispatch_resume' into 'bind-9.18'
Michał Kępień [Wed, 15 May 2024 20:10:23 +0000 (20:10 +0000)] 
Merge branch '4719-prevent-passing-null-to-dns_dispatch_resume' into 'bind-9.18'

Prevent passing NULL to dns_dispatch_resume()

See merge request isc-projects/bind9!9035

2 years agoAdd release note for GL #4719
Michał Kępień [Wed, 15 May 2024 19:24:24 +0000 (21:24 +0200)] 
Add release note for GL #4719

2 years agoAdd CHANGES for GL #4719
Michał Kępień [Wed, 15 May 2024 19:24:24 +0000 (21:24 +0200)] 
Add CHANGES for GL #4719

2 years agoPrevent passing NULL to dns_dispatch_resume()
Michał Kępień [Wed, 15 May 2024 19:24:24 +0000 (21:24 +0200)] 
Prevent passing NULL to dns_dispatch_resume()

If a query sent using the dns_request API times out when the view it was
associated with gets torn down, the dns_dispatch_resume() call in
req_response() may be issued with the 'resp' argument set to NULL,
triggering an assertion failure.  Consider the following scenario ([A]
and [B] are thread identifiers):

 1. [A] Read timeout for a dispatch query fires.

 2. [A] udp_recv() is called.  It locks the dispatch, determines it
    timed out, prepares for calling the higher-level callback with
    ISC_R_TIMEDOUT, and unlocks the dispatch (lib/dns/dispatch.c:633).

 3. [B] The last reference to a view is released.
    dns_requestmgr_shutdown() is called, canceling all in-flight
    requests for that view.  (Note that udp_recv() in thread [A] already
    unlocked the dispatch, so its state can be modified.)  As a part of
    this process, request_cancel() calls dns_dispatch_done() on
    request->dispentry, setting it to NULL.

 4. [A] udp_recv() calls the higher-level callback (req_response()) with
    ISC_R_TIMEDOUT.

 5. [A] Since the request timed out, req_response() retries sending it.
    In the process, it calls dns_dispatch_resume(), passing
    request->dispentry as the 'resp' argument.

 6. [A] Since 'resp' is NULL, the REQUIRE(VALID_RESPONSE(resp));
    assertion in dns_dispatch_resume() fails.

Fix by checking whether the request has been canceled before calling
dns_dispatch_resume(), similarly to how it is done in req_connected()
and req_senddone().

2 years agoMerge branch '4635-enhance-xferquota-zone-handling' into 'bind-9.18'
Michal Nowak [Wed, 15 May 2024 12:46:46 +0000 (12:46 +0000)] 
Merge branch '4635-enhance-xferquota-zone-handling' into 'bind-9.18'

Enhance xferquota zone handling

See merge request isc-projects/bind9!9039

2 years agoAddress qp/rbtdb backup file style differences
Mark Andrews [Thu, 2 May 2024 05:31:18 +0000 (15:31 +1000)] 
Address qp/rbtdb backup file style differences

qp and rbtdb produce stylistically different backup files.  This
was causing the xferquota system test to fail.  This has been
addressed by making the test independent of the stylistic differences.

(cherry picked from commit 1482e9bbb9f828fda0f0171823ce6c192b64a195)

2 years agoFix xferquota system test
Matthijs Mekking [Thu, 29 Feb 2024 10:12:50 +0000 (11:12 +0100)] 
Fix xferquota system test

The change from RBT to QP has changed the contents of generated zone
files slightly: node names are now always absolute, so instead of using
$ORIGIN and relative names, generated zone files use full names for all
records.

This caused a failure in the xferquota system test, which was looking
for a relative name in secondary zone files. Replace the string
matching with a regular expression to fix the test.

(cherry picked from commit 618c963cb75b3677d5d2e4ff9059a965f09fcb13)

2 years agoMerge branch 'nicki/add-mailmap-9.18' into 'bind-9.18'
Nicki Křížek [Tue, 14 May 2024 12:54:14 +0000 (12:54 +0000)] 
Merge branch 'nicki/add-mailmap-9.18' into 'bind-9.18'

[9.18] Add .mailmap to the git repo

See merge request isc-projects/bind9!9030

2 years agoAdd .mailmap to the git repo
Nicki Křížek [Fri, 10 May 2024 11:51:58 +0000 (13:51 +0200)] 
Add .mailmap to the git repo

Mailmap can be used to unify the display name in standard git tools.

(cherry picked from commit 986013a7083cc17335107a11ba3b669d91bf6744)

2 years agoMerge branch 'mnowak/pytest_rewrite_include-multiplecfg-9.18' into 'bind-9.18'
Michal Nowak [Tue, 14 May 2024 11:52:48 +0000 (11:52 +0000)] 
Merge branch 'mnowak/pytest_rewrite_include-multiplecfg-9.18' into 'bind-9.18'

[9.18] Rewrite include-multiplecfg system test to pytest

See merge request isc-projects/bind9!9029

2 years agoRewrite include-multiplecfg system test to pytest
Michal Nowak [Thu, 29 Feb 2024 17:25:38 +0000 (18:25 +0100)] 
Rewrite include-multiplecfg system test to pytest

(cherry picked from commit e9e87533061d0e5ca1e976606e16ef9c4b276339)

2 years agoUse isctest.run.cmd() helper function in tests
Michal Nowak [Wed, 20 Mar 2024 12:59:34 +0000 (13:59 +0100)] 
Use isctest.run.cmd() helper function in tests

(cherry picked from commit 77a42f887549bf4c8f0a213a939a266201c59e76)

2 years agoAdd isctest.run.cmd() helper function
Tom Krizek [Wed, 20 Mar 2024 11:49:08 +0000 (12:49 +0100)] 
Add isctest.run.cmd() helper function

(cherry picked from commit a9f3fb3db5b473b7223bf7699e42b0371808dd6a)

2 years agoMerge branch '4502-missing-reference-9.18' into 'bind-9.18'
Mark Andrews [Mon, 13 May 2024 23:52:31 +0000 (23:52 +0000)] 
Merge branch '4502-missing-reference-9.18' into 'bind-9.18'

[9.18] Resolve "Missing reference?"

See merge request isc-projects/bind9!9024

2 years agoAdd CHANGES for [GL #4502]
Mark Andrews [Tue, 30 Apr 2024 01:10:06 +0000 (11:10 +1000)] 
Add CHANGES for [GL #4502]

(cherry picked from commit 53698ad58d5c8c908f0f8a55bdd05a2387962a3b)

2 years agoUse dns_view_findzone instead of dns_zt_find
Mark Andrews [Thu, 9 May 2024 01:35:06 +0000 (11:35 +1000)] 
Use dns_view_findzone instead of dns_zt_find

With weak zone attachments being used for catzs, catzs->view->zonetable
may be NULL so we need to account for this which dns_view_findzone
does.  This is already done in main.

2 years agocatz should use weak attachment to the view
Mark Andrews [Tue, 30 Apr 2024 01:24:53 +0000 (11:24 +1000)] 
catz should use weak attachment to the view

(cherry picked from commit 941ad2b3c526defc416d35e42451fcfec70520c2)

2 years agocatzs->view should maintain a view reference
Mark Andrews [Tue, 30 Apr 2024 01:04:31 +0000 (11:04 +1000)] 
catzs->view should maintain a view reference

Use dns_view_weakattach and dns_view_weakdetach to maintain a
reference to the view referenced through catzs->view.

(cherry picked from commit 307e3ed9a66a2a90f38c59f7854529ffb76d93f8)

2 years agoMerge branch 'pspacek/doc-rfc-ref-update-9.18' into 'bind-9.18'
Petr Špaček [Wed, 8 May 2024 07:16:32 +0000 (07:16 +0000)] 
Merge branch 'pspacek/doc-rfc-ref-update-9.18' into 'bind-9.18'

[9.18] Update RFC references in documentation

See merge request isc-projects/bind9!9021

2 years agoUpdate reference for Catalog Zones spec to RFC9432
Petr Špaček [Tue, 7 May 2024 11:34:51 +0000 (13:34 +0200)] 
Update reference for Catalog Zones spec to RFC9432

(cherry picked from commit ead4a110ad05faa806841af53c2ea8dc36e5e9c9)

2 years agoUpdate KSK root sentinel references
Petr Špaček [Tue, 7 May 2024 11:24:43 +0000 (13:24 +0200)] 
Update KSK root sentinel references

The mechanism was published as RFC 8509. I've briefly looked at diff
between versions -08 and the RFC and did not find significant protocol
change. Quick manual check confirms what we seem to comply with the
published protocol.

(cherry picked from commit 153311da2d97f1febd7e952842fd7e4cf8f9b673)

2 years agoMention RFC 9276 Guidance for NSEC3 Parameter Settings
Petr Špaček [Tue, 7 May 2024 11:11:03 +0000 (13:11 +0200)] 
Mention RFC 9276 Guidance for NSEC3 Parameter Settings

Draft was eventually published as RFC 9276 but we did not update our
docs. Also add couple mentions in relevant places in the ARM and
dnssec-signzone man page, mainly around "do not touch" places.

(cherry picked from commit 8e4c0329c3a61239e023926a73591029168ea7a3)

2 years agoUpdate DNSSEC Operational Practices references to Version 2
Petr Špaček [Tue, 7 May 2024 11:10:07 +0000 (13:10 +0200)] 
Update DNSSEC Operational Practices references to Version 2

RFC 4641 was obsoleted by 6781.

(cherry picked from commit c5d6769e11cfbce258017f13a8164005644747ff)

2 years agoMerge branch '4704-svcb-https-bind9-and-dig-fail-to-parse-packet-if-zero-svcpriority...
Mark Andrews [Tue, 7 May 2024 02:38:56 +0000 (02:38 +0000)] 
Merge branch '4704-svcb-https-bind9-and-dig-fail-to-parse-packet-if-zero-svcpriority-and-existing-svcparams-9.18' into 'bind-9.18'

[9.18] Resolve "SVCB/HTTPS: Bind9 and Dig fail to parse packet if zero SvcPriority and existing SvcParams"

See merge request isc-projects/bind9!9019

2 years agoAdd CHANGES note for [GL #4704]
Mark Andrews [Wed, 1 May 2024 04:59:15 +0000 (14:59 +1000)] 
Add CHANGES note for [GL #4704]

(cherry picked from commit e0b5c85f5a3a03a5541a6fc1fe171b0bd56c2f56)

2 years agoOnly check SVBC alias forms at higher levels
Mark Andrews [Wed, 1 May 2024 04:29:20 +0000 (14:29 +1000)] 
Only check SVBC alias forms at higher levels

Allow SVBC (HTTPS) alias form with parameters to be accepted from
the wire and when transfered.  This is for possible future extensions.

(cherry picked from commit 799046929cb1f23cfec7ae7391e5408e01baface)

2 years agoMerge branch '4357-treat-notfile-as-eof-9.18' into 'bind-9.18'
Mark Andrews [Tue, 7 May 2024 01:51:55 +0000 (01:51 +0000)] 
Merge branch '4357-treat-notfile-as-eof-9.18' into 'bind-9.18'

[9.18] Remove infinite loop on ISC_R_NOFILE

See merge request isc-projects/bind9!9018

2 years agoAdd CHANGES note for [GL #4357]
Mark Andrews [Thu, 18 Jan 2024 08:04:54 +0000 (19:04 +1100)] 
Add CHANGES note for [GL #4357]

(cherry picked from commit 236a38a7c90cfdd0fdc4afc9c26426622faa2614)

2 years agoTest including a directory in a zone file
Mark Andrews [Thu, 18 Jan 2024 08:08:14 +0000 (19:08 +1100)] 
Test including a directory in a zone file

(cherry picked from commit e697d20f008ed1c77d59317e4b297a09d951669c)

2 years agoRemove infinite loop on ISC_R_NOFILE
Mark Andrews [Thu, 18 Jan 2024 07:54:09 +0000 (18:54 +1100)] 
Remove infinite loop on ISC_R_NOFILE

When parsing a zonefile named-checkzone (and others) could loop
infinitely if a directory was $INCLUDED.  Record the error and treat
as EOF when looking for multiple errors.

This was found by Eric Sesterhenn from X41.

(cherry picked from commit efd27bb82d89ad0ff0e52b93b30d0ef2cc5e2d8e)

2 years agoMerge branch '4353-fix-nibbles-9.18' into 'bind-9.18'
Mark Andrews [Tue, 7 May 2024 00:40:13 +0000 (00:40 +0000)] 
Merge branch '4353-fix-nibbles-9.18' into 'bind-9.18'

[9.18] Address infinite loop when processing $GENERATE

See merge request isc-projects/bind9!9017

2 years agoAdd CHANGES note for [GL #4353]
Mark Andrews [Fri, 19 Jan 2024 01:45:55 +0000 (12:45 +1100)] 
Add CHANGES note for [GL #4353]

(cherry picked from commit f154187fd05dcc255d6fc0af3c9b3d0c686f1d36)

2 years agoTest $GENERATE in nibble mode with a negative value
Mark Andrews [Fri, 19 Jan 2024 01:42:13 +0000 (12:42 +1100)] 
Test $GENERATE in nibble mode with a negative value

Negative values used to cause $GENERATE to loop forever.

(cherry picked from commit 32535de856db26e70b657ccf17a22c4e891672e6)

2 years agoAddress infinite loop when processing $GENERATE
Mark Andrews [Fri, 19 Jan 2024 01:37:10 +0000 (12:37 +1100)] 
Address infinite loop when processing $GENERATE

In nibble mode if the value to be converted was negative the parser
would loop forever.  Process the value as an unsigned int instead
of as an int to prevent sign extension when shifting.

This was found by Eric Sesterhenn from X41.

(cherry picked from commit 371824f0789d6e491216f266bf62955a73b49858)

2 years agoMerge branch 'mnowak/fedora-40-9.18' into 'bind-9.18'
Michal Nowak [Mon, 6 May 2024 18:48:51 +0000 (18:48 +0000)] 
Merge branch 'mnowak/fedora-40-9.18' into 'bind-9.18'

[9.18] Add Fedora 40

See merge request isc-projects/bind9!9015

2 years agoAdd Fedora 40
Michal Nowak [Wed, 27 Mar 2024 18:11:11 +0000 (19:11 +0100)] 
Add Fedora 40

(cherry picked from commit 1a09f822addaafe4512ae3a18d4697346310df09)

2 years agoMerge branch 'mnowak/ubuntu-24.04-noble-numbat-9.18' into 'bind-9.18'
Michal Nowak [Mon, 6 May 2024 17:04:59 +0000 (17:04 +0000)] 
Merge branch 'mnowak/ubuntu-24.04-noble-numbat-9.18' into 'bind-9.18'

[9.18] Add Ubuntu 24.04 LTS (Noble Numbat)

See merge request isc-projects/bind9!9013

2 years agoConfigure Ubuntu "focal" with --disable-doh
Michal Nowak [Wed, 24 Apr 2024 17:54:15 +0000 (19:54 +0200)] 
Configure Ubuntu "focal" with --disable-doh

At least one CI job should be configured with disabled DoH to catch
build problems.

2 years agoAdd Ubuntu 24.04 LTS (Noble Numbat)
Michal Nowak [Wed, 24 Apr 2024 16:56:21 +0000 (18:56 +0200)] 
Add Ubuntu 24.04 LTS (Noble Numbat)

(cherry picked from commit d02ed1a0ebd7957127a843279a331e44e8412700)

2 years agoMerge branch 'mnowak/openbsd-7.5-9.18' into 'bind-9.18'
Michal Nowak [Mon, 6 May 2024 15:36:59 +0000 (15:36 +0000)] 
Merge branch 'mnowak/openbsd-7.5-9.18' into 'bind-9.18'

[9.18] Add OpenBSD 7.5

See merge request isc-projects/bind9!9011

2 years agoAdd OpenBSD 7.5
Michal Nowak [Mon, 22 Apr 2024 14:48:19 +0000 (16:48 +0200)] 
Add OpenBSD 7.5

(cherry picked from commit 102fccdcba3105e2801652a3636009cf62290903)

2 years agoMerge branch '4711-stress-test-finer-runtime-granularity-9.18' into 'bind-9.18'
Michal Nowak [Mon, 6 May 2024 14:35:08 +0000 (14:35 +0000)] 
Merge branch '4711-stress-test-finer-runtime-granularity-9.18' into 'bind-9.18'

[9.18] Add short version of "stress" tests to MR-triggered pipelines

See merge request isc-projects/bind9!9009

2 years agoAdd short "stress" test jobs
Michal Nowak [Thu, 2 May 2024 15:49:42 +0000 (17:49 +0200)] 
Add short "stress" test jobs

(cherry picked from commit f33b746353116b581fc6c4f0b5d58aeea17da0be)

2 years agoRename "stress" tests to long "stress" tests
Michal Nowak [Thu, 2 May 2024 15:37:01 +0000 (17:37 +0200)] 
Rename "stress" tests to long "stress" tests

(cherry picked from commit 58a1a50e76bf36c7d3675a3734d7ee1f0627e735)

2 years agoRevert "Drop parallel build from stress tests"
Michal Nowak [Thu, 2 May 2024 15:24:31 +0000 (17:24 +0200)] 
Revert "Drop parallel build from stress tests"

This reverts commit 3fd7e7c81f81e21adebde2930fe511fe335f825e.

In AWS this is no longer a concern.

(cherry picked from commit 1d77a3b3c61c310c8b104aa2a68fcfcf53b3e083)

2 years agoMerge branch '3323-different-rpz-soa-ttl-9.18' into 'bind-9.18'
Matthijs Mekking [Mon, 6 May 2024 11:25:01 +0000 (11:25 +0000)] 
Merge branch '3323-different-rpz-soa-ttl-9.18' into 'bind-9.18'

[9.18] RPZ response's SOA record is incorrectly set to 1

See merge request isc-projects/bind9!9008

2 years agoAdd release note and CHANGES for #3323
Matthijs Mekking [Tue, 30 Apr 2024 09:21:59 +0000 (11:21 +0200)] 
Add release note and CHANGES for #3323

(cherry picked from commit 2726b569b1042a4fe2a7dde1a4fdd0af21ed8e6b)

2 years agoRPZ response's SOA record is incorrectly set to 1
Matthijs Mekking [Tue, 30 Apr 2024 09:14:42 +0000 (11:14 +0200)] 
RPZ response's SOA record is incorrectly set to 1

An RPZ response's SOA record TTL is set to 1 instead of the SOA TTL,
a boolean value is passed on to query_addsoa, which is supposed to be
a TTL value. I don't see what value is appropriate to be used for
overriding, so we will pass UINT32_MAX.

(cherry picked from commit 5d7e613e8103b81cf47a22c72310a38737fbe3c6)

2 years agoMerge branch 'mnowak/set-up-version-and-release-notes-for-bind-9.18.28' into 'bind...
Michal Nowak [Fri, 3 May 2024 14:15:05 +0000 (14:15 +0000)] 
Merge branch 'mnowak/set-up-version-and-release-notes-for-bind-9.18.28' into 'bind-9.18'

Set up version and release notes for BIND 9.18.28

See merge request isc-projects/bind9!9007

2 years agoSet up release notes for BIND 9.18.28
Michal Nowak [Fri, 3 May 2024 14:05:20 +0000 (16:05 +0200)] 
Set up release notes for BIND 9.18.28

2 years agoUpdate BIND version to 9.18.28-dev
Michal Nowak [Fri, 3 May 2024 14:05:20 +0000 (16:05 +0200)] 
Update BIND version to 9.18.28-dev

2 years agoUpdate BIND version for release v9.18.27
Michal Nowak [Fri, 3 May 2024 07:25:30 +0000 (09:25 +0200)] 
Update BIND version for release

2 years agoAdd a CHANGES marker
Michal Nowak [Fri, 3 May 2024 07:25:11 +0000 (09:25 +0200)] 
Add a CHANGES marker

2 years agoMerge branch 'mnowak/prepare-documentation-for-bind-9.18.27' into 'v9.18.27-release'
Michal Nowak [Fri, 3 May 2024 07:23:53 +0000 (07:23 +0000)] 
Merge branch 'mnowak/prepare-documentation-for-bind-9.18.27' into 'v9.18.27-release'

Prepare documentation for BIND 9.18.27

See merge request isc-private/bind9!685

2 years agoTweak and reword release notes
Michal Nowak [Thu, 2 May 2024 11:11:22 +0000 (13:11 +0200)] 
Tweak and reword release notes

2 years agoPrepare release notes for BIND 9.18.27
Michal Nowak [Thu, 2 May 2024 11:03:50 +0000 (13:03 +0200)] 
Prepare release notes for BIND 9.18.27