Commit graph

38837 commits

Author SHA1 Message Date
Michal Nowak
08e20993fc Add OpenBSD 7.5
(cherry picked from commit 102fccdcba)
2024-05-06 15:28:14 +00:00
Michal Nowak
6cdb59ffbf 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
2024-05-06 14:35:08 +00:00
Michal Nowak
8738a58412 Add short "stress" test jobs
(cherry picked from commit f33b746353)
2024-05-06 14:08:21 +00:00
Michal Nowak
769dc23862 Rename "stress" tests to long "stress" tests
(cherry picked from commit 58a1a50e76)
2024-05-06 14:08:21 +00:00
Michal Nowak
5d1ea40c8e Revert "Drop parallel build from stress tests"
This reverts commit 3fd7e7c81f.

In AWS this is no longer a concern.

(cherry picked from commit 1d77a3b3c6)
2024-05-06 14:08:21 +00:00
Matthijs Mekking
6f5e423814 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
2024-05-06 11:25:01 +00:00
Matthijs Mekking
7c8ae66f9e Add release note and CHANGES for #3323
(cherry picked from commit 2726b569b1)
2024-05-06 12:18:45 +02:00
Matthijs Mekking
4ef23ad0ff 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 5d7e613e81)
2024-05-06 12:18:08 +02:00
Michal Nowak
7ed19b1e1e 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
2024-05-03 14:15:05 +00:00
Michal Nowak
d3845b768a Set up release notes for BIND 9.18.28 2024-05-03 16:05:20 +02:00
Michal Nowak
9c82b79a68 Update BIND version to 9.18.28-dev 2024-05-03 16:05:20 +02:00
Ondřej Surý
c4331e9302 Merge branch '4586-don-t-count-expired-future-rrsigs-in-verification-failure-quota-bind-9.18' into 'bind-9.18'
[9.18] Draft: Resolve "Don't count expired / future RRSIGs in verification failure quota"

See merge request isc-projects/bind9!8749
2024-04-30 19:39:06 +00:00
Mark Andrews
297472bfcc
Add CHANGES and release note for [GL #4586] for BIND 9.18 2024-04-30 17:52:27 +02:00
Mark Andrews
82ca80c2e9
Move onto the next RRSIG on DNS_R_SIGEXPIRED or DNS_R_SIGFUTURE 2024-04-30 17:47:49 +02:00
Michal Nowak
1f1685ef67 Merge branch 'mnowak/stress-tests-freebsd-instance-autoscaler-9.18' into 'bind-9.18'
[9.18] Use FreeBSD autoscaler for "stress" tests

See merge request isc-projects/bind9!8994
2024-04-29 20:44:29 +00:00
Michal Nowak
e8f48cbe17 Use FreeBSD autoscaler for "stress" tests
The FreeBSD autoscaler has been configured to utilize the new "instance"
GitLab Runner executor to spawn "stress" test CI jobs on AWS EC2
dynamically. A shared GitLab Runner named "freebsd-instance-autoscaler"
has been set up in GitLab CI/CD to communicate with EC2, provisioning VM
instances on demand based on a FreeBSD 13 AMI image. This image is the
same as the one previously used for FreeBSD "stress" tests before the
implementation of autoscaling (specifically, the
"freebsd13-amd64-bind9stress.aws.lab.isc.org" GitLab Runner in CI/CD).

(cherry picked from commit 65a93b77e1)
2024-04-29 18:13:41 +00:00
Artem Boldariev
15b4d2c11f Merge branch '4696-fix-netmgr-test-when-building-without-doh' into 'bind-9.18'
Fix building netmgr_test with DoH disabled

See merge request isc-projects/bind9!8984
2024-04-29 15:41:18 +00:00
Artem Boldariev
139caf1354 Fix building netmgr_test with DoH disable
Some parts of the test rely on the functionality available only when
DoH is enabled, but they were not properly surrounded by #ifdef's.
This commit fixes that
2024-04-29 16:59:26 +03:00
Michał Kępień
d1d1d189e0 Merge branch 'michal/update-urls-and-paths-for-the-bind-9-qa-repository-9.18' into 'bind-9.18'
[9.18] Update URLs and paths for the BIND 9 QA repository

See merge request isc-projects/bind9!8991
2024-04-29 10:17:46 +00:00
Michał Kępień
b6e8c5685c Update URLs and paths for the BIND 9 QA repository
Since the BIND 9 QA repository has been made public, adjust the relevant
URLs and paths used in .gitlab-ci.yml so that they work with the public
version of that repository.

(cherry picked from commit 25ec1d79e4)
2024-04-29 09:50:40 +00:00
Michal Nowak
18d04e8a3a Merge branch 'mnowak/drop-debian-10-buster' into 'bind-9.18'
Drop Debian buster from the CI

See merge request isc-projects/bind9!8936
2024-04-25 11:26:44 +00:00
Ondřej Surý
d41520b002
Drop Debian buster from the CI
The Debian buster is officially EoL and in LTS mode, so we can drop it
to stabilize the CI.

(cherry picked from commit 7238c85c88)
2024-04-25 13:19:47 +02:00
Ondřej Surý
3269256868 Merge branch '1879-fix-documentation-on-named--U-9.18' into 'bind-9.18'
Properly document `-U <n>` option to named

See merge request isc-projects/bind9!8978
2024-04-24 20:51:05 +00:00
Ondřej Surý
78d92a2a93
Properly document -U <n> option to named
In the past, before the netmgr, the `-U <n>` option to `named`
configured number of listening dispatches for UDP per-interface.

Since 9.16, it only affects the number of outgoing UDP dispatches.
Properly document that in the `named` man page.
2024-04-24 22:50:22 +02:00
Petr Špaček
13e9655936 Merge branch 'spdx-custom-test-driver-9.18' into 'bind-9.18'
[9.18] Use standard SPDX license for custom-test-driver

See merge request isc-projects/bind9!8975
2024-04-24 10:16:16 +00:00
Petr Menšík
b491a82f56 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
(cherry picked from commit 2b348a5daa)
2024-04-24 09:52:19 +00:00
Mark Andrews
570c6ada9d Merge branch '4684-unit-test-error-handling-in-dns_name_-api-9.18' into 'bind-9.18'
[9.18] test dns_name_fromregion

See merge request isc-projects/bind9!8974
2024-04-24 02:55:07 +00:00
Mark Andrews
5901065534 Extract empty name in 'source' into 'name'
(cherry picked from commit e6984e5c07)
2024-04-24 12:22:48 +10:00
Mark Andrews
26b522b54d Extract non absolute name from source
The entire source region needs to be consumed for this usage.

(cherry picked from commit 7a13fcd601)
2024-04-24 12:22:48 +10:00
Mark Andrews
a94bfb66f2 Extract fully qualified named from source without buffer
'name.ndata' should point to the source.

(cherry picked from commit 7d7fc8cb2d)
2024-04-24 12:22:48 +10:00
Mark Andrews
304086cd5a Test dns_name_fromregion
with a large source region and a large target buffer, both
larger than DNS_NAME_MAXWIRE.

(cherry picked from commit 254ba1b051)
2024-04-24 12:22:46 +10:00
Mark Andrews
8ca4b44fc5 Merge branch '4689-test-invalid-notify-source-address-9.18' into 'bind-9.18'
[9.18] Check behaviour using invalid notify source address

See merge request isc-projects/bind9!8973
2024-04-24 01:45:59 +00:00
Mark Andrews
fc7cba3d43 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.

(cherry picked from commit 580c41de0d)
2024-04-24 01:10:01 +00:00
Michal Nowak
c87300d83f Merge branch 'mnowak/llvm-18-9.18' into 'bind-9.18'
[9.18] Bump the LLVM version to 18 and reformat sources

See merge request isc-projects/bind9!8969
2024-04-23 14:31:16 +00:00
Michal Nowak
ea413a6fae Update sources to Clang 18 formatting
(cherry picked from commit f454fa6dea)
2024-04-23 12:48:56 +00:00
Michal Nowak
55dc130c5c Update Clang to version 18
(cherry picked from commit 7107c44c7c)
2024-04-23 12:48:56 +00:00
Michal Nowak
de389a8208 Merge branch 'mnowak/drop-respdiff-short-ci-jobs-9.18' into 'bind-9.18'
[9.18] Drop respdiff-short CI jobs

See merge request isc-projects/bind9!8961
2024-04-19 16:40:13 +00:00
Michal Nowak
67e3e75648
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
f09cf69594) are no longer an issue.

(cherry picked from commit 6a045cd8ec)
2024-04-19 18:15:05 +02:00
Petr Špaček
efd8e90080 Merge branch 'pspacek/auto-backports-9.18' into 'bind-9.18'
[9.18] Attempt automatic MR backports after every merge

See merge request isc-projects/bind9!8960
2024-04-19 14:08:11 +00:00
Petr Špaček
d263c29bbc Attempt automatic MR backports after every merge
(cherry picked from commit 49f9487577)
2024-04-19 14:05:04 +00:00
Matthijs Mekking
76cb1af2b3 Merge branch '4554-dnssec-policy-jitter-9.18' into 'bind-9.18'
[9.18] Add signatures-jitter option

See merge request isc-projects/bind9!8953
2024-04-18 15:00:17 +00:00
Matthijs Mekking
0134b91feb If kasp is not used, use legacy signature jitter
If the zone is signed with a different way than 'dnssec-policy', use
the legacy way of jittering signatures, that is calculate jitter by
taking the two values of 'sig-validity-interval' and subtracting the
second value from the first value.
2024-04-18 15:00:07 +00:00
Matthijs Mekking
f211c05990 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.

(cherry picked from commit c3d8932f79)
2024-04-18 15:00:07 +00:00
Matthijs Mekking
74d5f8f689 Add release notes and CHANGES for #4554
Mention the new signature jitter option.

(cherry picked from commit 8b7785bc23)
2024-04-18 15:00:07 +00:00
Matthijs Mekking
2d8ed9d5d2 Implement signature jitter
When calculating the RRSIG validity, jitter is now derived from the
config option rather than from the refresh value.

(cherry picked from commit 67f403a423)
2024-04-18 15:00:07 +00:00
Matthijs Mekking
a1e61f179e Refactor code that calculates signature validity
There are three code blocks that are (almost) similar, refactor it
to one function.

(cherry picked from commit 0438d3655b)
2024-04-18 15:00:07 +00:00
Matthijs Mekking
104eabdc2e Add signatures-jitter option
Add an option to speficy signatures jitter.

(cherry picked from commit 2a4daaedca)
2024-04-18 15:00:07 +00:00
Petr Špaček
239867ba61 Merge branch 'pspacek/update-sphinx-9.18' into 'bind-9.18'
[9.18] Update Sphinx version used for documentation build

See merge request isc-projects/bind9!8954
2024-04-18 14:53:03 +00:00
Petr Špaček
bd150d8886 Update Sphinx version used for documentation build
(cherry picked from commit da607d6a06)
2024-04-18 16:45:11 +02:00
Petr Špaček
1ca282f16b Merge tag 'v9.18.26' into bind-9.18 2024-04-18 09:30:11 +02:00