Commit Graph
38346 Commits
Author SHA1 Message Date
Tom Krizek 4e74513c1b Simplify statsport fixture in statschannel test
The ports fixture provides the required port numbers already and there's
no need to get the port number from environment.

(cherry picked from commit f0481c8600)
2023-12-05 14:27:41 +01:00
Tom Krizek cf81c9e833 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.

(cherry picked from commit a57af8163a)
2023-12-05 14:27:41 +01:00
Tom Krizek 33b61de350 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.

(cherry picked from commit fc295b2b5d)
2023-12-05 14:27:40 +01:00
Tom Krizek ad133d4c1c 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.

(cherry picked from commit 767f4670c6)
2023-12-05 14:27:37 +01:00
Tom Krizek 46925fb8f5 Merge branch '4421-deprecate-AES-based-DNS-cookies-9.18' into 'bind-9.18'
[9.18] Deprecate AES algorithm for DNS cookies

See merge request isc-projects/bind9!8486
2023-12-05 10:28:38 +00:00
Ondřej SurýandTom Krizek a9e4d6c682 Add CHANGES and release note for [GL #4421]
(cherry picked from commit 2a3b3beaf1)
2023-12-05 10:54:01 +01:00
Ondřej SurýandTom Krizek 1285238d95 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.

(cherry picked from commit 67d14b0ee5)
2023-12-05 10:52:03 +01:00
Michal Nowak 3b24611844 Merge branch '3198-add-rr-record-9.18' into 'bind-9.18'
[9.18] Add support for recording named with rr

See merge request isc-projects/bind9!8536
2023-12-04 19:51:39 +00:00
Michał KępieńandMichal Nowak a195d9b126 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).

(cherry picked from commit 422286e9c2)
2023-12-04 19:30:03 +01:00
Michal Nowak 3bd3dfd187 Fix process listing string of rpzextra ns3 server
(cherry picked from commit 920af590d1)
2023-12-04 19:28:49 +01:00
Michal Nowak 72760c0c2b Add support for recording named runtime with rr
The traces of the named process are stored in the directory
$system_test/nsX/named-Y/.

(cherry picked from commit e088e8a992)
2023-12-04 19:28:05 +01:00
Ondřej SurýandMichal Nowak b83b9dc2c6 Remove support for running system tests under Valgrind
Valgrind support has been scarcely used.

(cherry picked from commit 658d62a6f4)
2023-12-04 19:26:25 +01:00
Michal Nowak 7e5035be3c Merge branch 'mnowak/freebsd-14.0-9.18' into 'bind-9.18'
[9.18] Add FreeBSD 14.0

See merge request isc-projects/bind9!8533
2023-12-04 16:02:46 +00:00
Michal Nowak 3e791c64a7 Add FreeBSD 14.0
(cherry picked from commit 9152fc40a8)
2023-12-04 16:28:28 +01:00
Arаm Sаrgsyаn ece18ccf97 Merge branch '1229-dig-no-yaml-output-when-host-is-unreachable-9.18' into 'bind-9.18'
[9.18] Resolve "No YAML output in dig when host is unreachable"

See merge request isc-projects/bind9!8529
2023-12-04 12:21:10 +00:00
Aram Sargsyan 2552f731c5 Add a CHANGES note for [GL #1229]
(cherry picked from commit ed879c41f2)
2023-12-04 10:40:26 +00:00
Aram Sargsyan 4181a187a1 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.

(cherry picked from commit 4d529ee12a)
2023-12-04 10:39:46 +00:00
Petr Špaček 350ab23f6c Merge branch '4417-stale-hyperlinks-in-the-arm-9.18' into 'bind-9.18'
[9.18] Fix stale hyperlinks in the ARM

See merge request isc-projects/bind9!8528
2023-12-04 10:02:35 +00:00
Suzanne GoldlustandPetr Špaček 0f7c92ff4b Fix broken link to TLD DNSSEC stats
(cherry picked from commit 15eea792b9)
2023-12-04 11:01:37 +01:00
Suzanne GoldlustandPetr Špaček dd99c8bc3e Fix broken link to OMB memo
(cherry picked from commit 1482f5b1ed)
2023-12-04 11:01:37 +01:00
Michał Kępień 6817bf1284 Merge branch 'michal/minor-gitlab-ci-cleanup-9.18' into 'bind-9.18'
[9.18] Minor GitLab CI cleanup

See merge request isc-projects/bind9!8512
2023-11-21 09:31:33 +00:00
Michał Kępień 2d1f51d627 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.

(cherry picked from commit 192cceba5a)
2023-11-21 10:29:21 +01:00
Michał Kępień c81c4f3f96 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.

(cherry picked from commit 832c7d4396)
2023-11-21 10:29:21 +01:00
Matthijs Mekking 144c7d0d9d Merge branch 'matthijs-lexopt-escape-public-key-9.18' into 'bind-9.18'
[9.18] Recognize escapes when reading the public key

See merge request isc-projects/bind9!8504
2023-11-20 12:40:43 +00:00
Matthijs Mekking 004236e5f2 Add CHANGES
(cherry picked from commit 53657591fa)
2023-11-20 12:10:30 +01:00
Matthijs Mekking cf23303dd9 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.

(cherry picked from commit 6a4f3ec242)
2023-11-20 12:10:30 +01:00
Matthijs Mekking 3c244da9d4 Recognize escapes when reading the public key
Escapes are valid in DNS names, and should be recognized when reading
the public key from disk.

(cherry picked from commit 71f023a1c3)
2023-11-20 08:35:30 +01:00
Mark Andrews 79e2a91cb4 Merge branch '4396-dig-does-not-display-yaml-output-for-errors-when-using-protocols-other-than-udp-bind-9.18' into 'bind-9.18'
[9.18] Resolve "dig does not display YAML output for errors when using protocols other than UDP"

See merge request isc-projects/bind9!8503
2023-11-20 03:14:58 +00:00
Mark Andrews ad9c39ebad Add CHANGES for [GL #4396]
(cherry picked from commit f813795c6f)
2023-11-20 13:41:11 +11:00
Mark Andrews 734061ac1b 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.

(cherry picked from commit 831efa40d6)
2023-11-20 13:40:19 +11:00
Evan Hunt 4e31215c20 Merge branch '3983-secondary-loadtime-bind-9.18' into 'bind-9.18'
[9.18] set loadtime during initial transfer of a secondary zone

See merge request isc-projects/bind9!8498
2023-11-16 05:53:00 +00:00
Evan Hunt 6b47d98a95 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.

(cherry picked from commit 9643281453)
2023-11-15 18:06:58 -08:00
Mark Andrews 95d75b653c Merge branch '4433-supplied-buffer-too-large-in-wire_test-c-bind-9.18' into 'bind-9.18'
[9.18] Resolve "Supplied Buffer Too Large in wire_test.c"

See merge request isc-projects/bind9!8497
2023-11-16 02:01:21 +00:00
Mark Andrews 617f73426d Adjust comment to have correct message limit value
(cherry picked from commit 560c245971)
2023-11-16 12:22:08 +11:00
Mark Andrews dc0671e724 Adjust message buffer sizes in test code
(cherry picked from commit cbfcdbc199)
2023-11-16 12:22:08 +11:00
Mark Andrews ab2a450887 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.

(cherry picked from commit a069513234)
2023-11-16 12:22:08 +11:00
Michał Kępień d30902f9cf Merge tag 'v9.18.20' into bind-9.18 2023-11-15 14:57:53 +01:00
Michal Nowak ed78bc4a01 Merge branch 'mnowak/fedora-39-9.18' into 'bind-9.18'
[9.18] Add Fedora 39

See merge request isc-projects/bind9!8491
2023-11-14 19:21:02 +00:00
Michal Nowak 59b2452c7a Add Fedora 39
(cherry picked from commit cdb4b97b28)
2023-11-14 19:34:52 +01:00
Ondřej Surý 50a7594475 Merge branch 'ondrej-clang-format-17-bind-9.18' into 'bind-9.18'
Reformat sources with up-to-date clang-format-17

See merge request isc-projects/bind9!8489
2023-11-13 16:22:04 +00:00
Ondřej Surý eaadc30b4d Ignore clang-format reformat 2023-11-13 17:13:58 +01:00
Ondřej Surý 6a85e79c0b Reformat sources with up-to-date clang-format-17 2023-11-13 17:13:07 +01:00
Petr Špaček 957eb31680 Merge branch 'pspacek/set-up-version-and-release-notes-for-bind-9.18.21' into 'bind-9.18'
Set up version and release notes for BIND 9.18.21

See merge request isc-projects/bind9!8483
2023-11-10 13:20:57 +00:00
Petr Špaček c1fbdc6c5a Set up release notes for BIND 9.18.21 2023-11-10 14:04:03 +01:00
Petr Špaček 9a2665efde Update BIND version to 9.18.21-dev 2023-11-10 14:04:03 +01:00
Michał Kępień 396c2b43f4 Update BIND version for release v9.18.20 2023-11-09 13:41:09 +01:00
Michał Kępień 16c123df5e Add a CHANGES marker 2023-11-09 13:41:09 +01:00
Michał Kępień 69c60db1d4 Merge branch 'michal/prepare-documentation-for-bind-9.18.20' into 'v9.18.20-release'
Prepare documentation for BIND 9.18.20

See merge request isc-private/bind9!592
2023-11-09 12:40:14 +00:00
Michał Kępień 965405211a Reorder release notes 2023-11-09 13:10:33 +01:00
Michał Kępień d12076f9f4 Tweak and reword release notes 2023-11-09 13:10:33 +01:00