Commit Graph

38795 Commits

Author SHA1 Message Date
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
Petr Špaček
c330ac7fef Merge branch 'pspacek/gitlab-cleanup' into 'bind-9.18'
Remove Gitlab issue templates from non-main branches

See merge request isc-projects/bind9!8943
2024-04-11 15:16:13 +00:00
Petr Špaček
adb60cb261 Remove Gitlab issue templates from non-main branches
There is no reason to have templates in branches other than main.
Gitlab is not using them anyway and they are unnecessarily included
in tarballs.
2024-04-10 16:21:54 -04:00
Petr Špaček
73defe8aac Merge branch 'pspacek/set-up-version-and-release-notes-for-bind-9.18.27' into 'bind-9.18'
Set up version and release notes for BIND 9.18.27

See merge request isc-projects/bind9!8940
2024-04-04 19:15:40 +00:00
Petr Špaček
d28dc30973 Set up release notes for BIND 9.18.27 2024-04-04 21:14:50 +02:00
Petr Špaček
4418f199b6 Update BIND version to 9.18.27-dev 2024-04-04 21:14:50 +02:00
Petr Špaček
936d80b4f4 Update BIND version for release v9.18.26 2024-04-03 11:32:43 +02:00
Petr Špaček
0d46054444 Add a CHANGES marker 2024-04-03 11:32:00 +02:00
Petr Špaček
f74e3b8c2b Merge branch 'pspacek/prepare-documentation-for-bind-9.18.26' into 'v9.18.26-release'
Prepare documentation for BIND 9.18.26

See merge request isc-private/bind9!679
2024-04-03 09:30:13 +00:00
Suzanne Goldlust
b0b4401faa Tweak and reword release notes 2024-04-03 11:19:25 +02:00
Petr Špaček
acd084f076 Add release note for GL #4552 2024-04-03 11:16:00 +02:00
Petr Špaček
b63f449411 Prepare release notes for BIND 9.18.26 2024-04-03 11:14:26 +02:00
Michał Kępień
3e88318d3b Merge branch 'pspacek/hazard-improvements-9.18' into 'bind-9.18'
[9.18] CI hazard improvements

See merge request isc-projects/bind9!8901
2024-03-29 09:45:00 +00:00
Michał Kępień
9425ccb2b6 Warn if security fixes are not marked for testing
(cherry picked from commit 5e02a007ca)
2024-03-29 10:41:43 +01:00
Petr Špaček
c7cc09185c Warn about release notes without CHANGES entry
(cherry picked from commit 0ba29730f7)
2024-03-29 10:41:43 +01:00
Petr Špaček
61158132c6 Detect change in supported RR types and issue Hazard warning
(cherry picked from commit 82cfb48295)
2024-03-29 10:41:43 +01:00
Michał Kępień
6f6d15e7de Merge branch 'michal/extract-changes-checks-to-a-separate-gitlab-ci-job-9.18' into 'bind-9.18'
[9.18] Extract CHANGES checks to a separate GitLab CI job

See merge request isc-projects/bind9!8927
2024-03-29 07:40:35 +00:00
Michał Kępień
4b52bd0090 Restore consistency in YAML anchor names
Commit d29fa288d4 added "pipelines" to CI
job trigger lists without updating the names of the YAML anchors
containing those lists accordingly.  Update YAML anchor names so that
they are consistent with their own contents.

(cherry picked from commit a7ece8e0bd)
2024-03-29 08:33:30 +01:00
Michał Kępień
a4fa8e6335 Do not check CHANGES in pre-release pipelines
Since pre-release testing is usually carried out for branches in which
CHANGES entries are intentionally malformed to prevent entry numbering
conflicts down the road, do not run the "changes" GitLab CI job in
pipelines that are triggered by a parent pipeline (which can currently
only be a pre-release testing pipeline) to prevent triggering job
failures that would be meaningless anyway.

(cherry picked from commit 8c2503947f)
2024-03-29 08:33:30 +01:00
Michał Kępień
f594a93b90 Extract CHANGES checks to a separate GitLab CI job
Checking the contents of the CHANGES file currently requires invoking
multiple shell scripts.  These invocations are conflated with those for
other test scripts in the "misc" GitLab CI job.  Extract the commands
checking the contents of the CHANGES file to a separate GitLab CI job,
"changes", to improve readability.  Remove similar checks for the
CHANGES.SE file altogether as they are only relevant for BIND -S and
therefore should not be present in an open source branch.

(cherry picked from commit 1335e139f2)
2024-03-29 08:33:30 +01:00
Michał Kępień
2f468b515a Merge branch '4334-CVE-2023-5679-test-fix-9.18' into 'bind-9.18'
[9.18] Fix check interaction in the "serve-stale" test

See merge request isc-projects/bind9!8925
2024-03-28 18:31:27 +00:00
Michał Kępień
cd64a3747b Fix check interaction in the "serve-stale" test
Commit 2eee1e1761 modified the
"serve-stale" system test by adding the ns3/named9.conf.in configuration
file and making the ns3 named instance load that file near the end of
the test.  However, ns3/named9.conf.in changes the
stale-answer-client-timeout setting to a very low value, which affects
all subsequent checks in tests.sh (rather than just the check that needs
the low value to be set) and may cause false positives.  Fix by
reloading configuration from ns3/named8.conf.in as soon as the check
using a very low stale-answer-client-timeout value is finished.
2024-03-28 18:56:35 +01:00
Michał Kępień
31e7c94bc4 Merge branch '4334-CVE-2023-5679-test-9.18' into 'bind-9.18'
[9.18] [CVE-2023-5679] Check dns64 + server-stale short timeout

See merge request isc-projects/bind9!8922
2024-03-28 15:02:50 +00:00
Mark Andrews
2eee1e1761 Check dns64 + server-stale short timeout
Check that named correctly returns a synthesized DNS64 answer when the
server stale timer triggers for the A lookup.  Use a small value for
stale-answer-client-timeout (2ms) and delay the A response by 1 second.
2024-03-28 15:28:55 +01:00
Michał Kępień
fccc618514 Merge branch '4281-CVE-2023-5517-test-9.18' into 'bind-9.18'
[9.18] [CVE-2023-5517] Check nxdomain-redirect against built-in RFC-1918 zone

See merge request isc-projects/bind9!8920
2024-03-28 14:12:19 +00:00
Mark Andrews
9c53bb94b0 Checking nxdomain-redirect against built-in RFC-1918 zone
Check that RFC 1918 leak detection does not trigger an assertion
when nxdomain redirection is enabled in the server but not for the
RFC 1918 reverse namespace.

(cherry picked from commit 2789906ce4)
2024-03-28 13:15:45 +01:00
Michal Nowak
71aa60d561 Merge branch 'mnowak/freebsd-use-mit-kerberos5-9.18' into 'bind-9.18'
[9.18] Build FreeBSD with MIT Kerberos5 instead of Heimdal

See merge request isc-projects/bind9!8915
2024-03-27 08:58:43 +00:00
Michal Nowak
c683e01ff8 Build FreeBSD with MIT Kerberos5 instead of Heimdal
tsiggss system tests crash or are unstable with the base FreeBSD
(Heimdal-based) GSS-API.

(cherry picked from commit d6df757fdc)
2024-03-27 09:36:31 +01:00
Michal Nowak
27ec21b161 Merge branch 'mnowak/replace-IO-Socket-INET6-with-IO-Socket-IP' into 'bind-9.18'
IO::Socket::INET6 has been replaced by IO::Socket::IP

See merge request isc-projects/bind9!8910
2024-03-26 12:36:07 +00:00
Mark Andrews
fff8de8430 IO::Socket::INET6 has been replaced by IO::Socket::IP
IO::Socket::INET6 is no longer being maintained and its functionality
has been replaced by IO::Socket::IP.

(cherry picked from commit d1983adc22)
2024-03-25 16:02:01 +01:00
Michal Nowak
39df68be24 Merge branch 'mnowak/revert-05b09f2b5bb68a916288f56bf627babad4055b90-9.18' into 'bind-9.18'
[9.18] Revert "Work around a TSAN issue with newer kernels"

See merge request isc-projects/bind9!8908
2024-03-25 14:34:42 +00:00
Michal Nowak
82657d232d Revert "Work around a TSAN issue with newer kernels"
This reverts commit 05b09f2b5b.

The workaround has been moved to the AMI image (isc-private/packer!10).

(cherry picked from commit aba16af556)
2024-03-25 15:08:12 +01:00
Tom Krizek
70b179b099 Merge branch 'tkrizek/autosign-flaky-9.18' into 'bind-9.18'
[9.18] Mark the autosign system test as flaky

See merge request isc-projects/bind9!8900
2024-03-21 15:59:36 +00:00
Tom Krizek
2d7cc261f2 Mark the autosign system test as flaky
The autosign test uses sleep in many cases to wait for something to
happen. This inevitably leads to an instability that manifests in our
CI. Allow an automatic rerun of the test to improve its stability.

(cherry picked from commit a061fd67f6)
2024-03-21 16:23:55 +01:00
Tom Krizek
aa1c4e15ca Merge branch 'tkrizek/resolver-test-export-home-9.18' into 'bind-9.18'
[9.18] Export variable in resolver system test

See merge request isc-projects/bind9!8898
2024-03-21 14:25:17 +00:00
Tom Krizek
6891291953 Export variable in resolver system test
Variable assignment when calling subroutines might not be portable.
Notably, it doesn't work with FreeBSD shell, where the value of HOME
would be ignored in this case.

Since the commands are already executed in a subshell, export the HOME
variable to ensure it is properly handled in all shells.

(cherry picked from commit 86a192cece)
2024-03-21 14:15:31 +01:00
Michał Kępień
e04c17179b Merge branch 'michal/add-pipelines-to-ci-job-trigger-lists-9.18' into 'bind-9.18'
[9.18] Add "pipelines" to CI job trigger lists

See merge request isc-projects/bind9!8896
2024-03-21 11:31:40 +00:00
Michał Kępień
d29fa288d4 Add "pipelines" to CI job trigger lists
To enable GitLab CI jobs in other projects to trigger pipelines in the
BIND 9 project using their CI_JOB_TOKEN, add "pipelines" to the relevant
GitLab CI job trigger lists.

(cherry picked from commit a4e9ce500a)
2024-03-21 12:30:04 +01:00
Petr Špaček
26cf83a76b Merge branch '4649-work-around-a-tsan-issue-with-newer-kernels-9.18' into 'bind-9.18'
[9.18] Work around a TSAN issue with newer kernels

See merge request isc-projects/bind9!8894
2024-03-21 08:39:59 +00:00
Michał Kępień
eed32509fb Work around a TSAN issue with newer kernels
The ThreadSanitizer version currently available from Fedora 39
repositories is unable to cope with very high ASLR entropy, which is the
default in some recent Linux distributions [1].  This causes all
TSAN-enabled builds to fail on the affected systems with an error like:

    FATAL: ThreadSanitizer: unexpected memory mapping 0x7d00e0772000-0x7d00e0c00000

Work around the problem by reducing ASLR entropy for all TSAN-enabled
builds until the problem is resolved upstream.

[1] https://github.com/google/sanitizers/issues/1716

(cherry picked from commit 05b09f2b5b)
2024-03-21 09:02:09 +01:00
Mark Andrews
46c7aa2080 Merge branch '4640-checkzone-in-system-test-leaks-queries-bind-9.18' into 'bind-9.18'
[9.18] Resolve "Checkzone in system test leaks queries"

See merge request isc-projects/bind9!8892
2024-03-21 03:33:19 +00:00
Mark Andrews
aa9f88b070 Stop named-checkzone leaking test queries
(cherry picked from commit ad083897cc)
2024-03-21 13:40:04 +11:00
Mark Andrews
cbc6fd8209 Merge branch '4580-add-resolver-arpa-to-the-built-in-empty-zones-bind-9.18' into 'bind-9.18'
[9.18] Resolve "Add resolver.arpa to the built in empty zones"

See merge request isc-projects/bind9!8890
2024-03-21 00:49:34 +00:00