]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
8 months agoMerge pull request #14883 from romeroalx/backport-14862-to-rec-4.9.x rel/rec-4.9.x
Otto Moerbeek [Tue, 26 Nov 2024 08:40:53 +0000 (09:40 +0100)] 
Merge pull request #14883 from romeroalx/backport-14862-to-rec-4.9.x

rec-4.9.x: Backport 14862 - builder: remove ubuntu lunar+mantic as they are EOL

8 months agobuilder: remove ubuntu lunar+mantic as they are EOL 14883/head
Peter van Dijk [Fri, 22 Nov 2024 09:08:40 +0000 (10:08 +0100)] 
builder: remove ubuntu lunar+mantic as they are EOL

8 months agoMerge pull request #14826 from omoerbeek/gh-artifact-4.9.x
Otto Moerbeek [Fri, 15 Nov 2024 07:54:41 +0000 (08:54 +0100)] 
Merge pull request #14826 from omoerbeek/gh-artifact-4.9.x

rec-4.9.x: move from up/download-artifact@3 to @4

8 months agorec-4.9.x: move from up/download-artifact@3 to @4 14826/head
Otto Moerbeek [Wed, 6 Nov 2024 13:00:39 +0000 (14:00 +0100)] 
rec-4.9.x: move from up/download-artifact@3 to @4

10 months agoMerge pull request #14745 from omoerbeek/rec-4.9.9-branch
Otto Moerbeek [Thu, 3 Oct 2024 11:37:20 +0000 (13:37 +0200)] 
Merge pull request #14745 from omoerbeek/rec-4.9.9-branch

rec: backport of CVE-2024-25590 to rec-4.9.x: limit maximum size of rr sets in record cache

11 months agoBackport to rec-4.9.x: limit maximum size of rr sets in record cache 14745/head rec-4.9.9
Otto Moerbeek [Mon, 26 Aug 2024 12:05:01 +0000 (14:05 +0200)] 
Backport to rec-4.9.x: limit maximum size of rr sets in record cache

12 months agoMerge pull request #14503 from omoerbeek/backport-14499-to-rec-4.9.x rec-4.9.8
Otto Moerbeek [Thu, 18 Jul 2024 12:32:49 +0000 (14:32 +0200)] 
Merge pull request #14503 from omoerbeek/backport-14499-to-rec-4.9.x

rec: Backport 14499 to rec-4.9.x: optimize processing of additionals

12 months agorec: optimize processing of additionals 14503/head
Otto Moerbeek [Wed, 17 Jul 2024 08:46:58 +0000 (10:46 +0200)] 
rec: optimize processing of additionals

(cherry picked from commit cd2de2ee7ad55f295a00dfce5488ee3863d974d6)

12 months agoMerge pull request #14483 from omoerbeek/backport-14471-to-rec-4.9.x
Otto Moerbeek [Thu, 18 Jul 2024 10:05:59 +0000 (12:05 +0200)] 
Merge pull request #14483 from omoerbeek/backport-14471-to-rec-4.9.x

rec: Backport of 14471 to rec-4.9.x: dump right SOA into dumpFile and report non-relative SOA for includeSOA=true

12 months agoMerge pull request #14480 from omoerbeek/backport-14404-to-rec-4.9.x
Otto Moerbeek [Thu, 18 Jul 2024 09:43:17 +0000 (11:43 +0200)] 
Merge pull request #14480 from omoerbeek/backport-14404-to-rec-4.9.x

rec: Backport 14404 to rec-4.9.x: Yahttp router: avoid unsigned underflow in route()

12 months agoMerge pull request #14490 from omoerbeek/backport-14486-to-rec-4.9.x
Otto Moerbeek [Thu, 18 Jul 2024 08:07:53 +0000 (10:07 +0200)] 
Merge pull request #14490 from omoerbeek/backport-14486-to-rec-4.9.x

rec: Backport 14486 to rec 4.9.x: pin pysnmp to version 5 for regression tests

12 months agoAlso pin pysnmp version for dnsdist regression tests 14490/head
Otto Moerbeek [Wed, 17 Jul 2024 12:44:11 +0000 (14:44 +0200)] 
Also pin pysnmp version for dnsdist regression tests

(cherry picked from commit 5d3db32982e7a06a9e653529baa2fb67e24d7189)

12 months agorec: pin pysnmp to version 5 for regression tests
Otto Moerbeek [Wed, 17 Jul 2024 12:03:32 +0000 (14:03 +0200)] 
rec: pin pysnmp to version 5 for regression tests

(cherry picked from commit 4d44d3076051fe27ee91e847a3600ad19c44fd72)

12 months agorec: dump right SOA into dumpFile and report non-relative SOA for includeSOA=true 14483/head
Otto Moerbeek [Mon, 15 Jul 2024 09:41:38 +0000 (11:41 +0200)] 
rec: dump right SOA into dumpFile and report non-relative SOA for includeSOA=true

(cherry picked from commit 397da738caad01df0da04387083c73a0e941608b)

12 months agoYahttp router: avoid unsigned underflow in route() 14480/head
Otto Moerbeek [Wed, 17 Jul 2024 09:54:27 +0000 (11:54 +0200)] 
Yahttp router: avoid unsigned underflow in route()

12 months agoMerge pull request #14445 from omoerbeek/rec-4.9.x-daily-el7
Otto Moerbeek [Fri, 12 Jul 2024 07:47:17 +0000 (09:47 +0200)] 
Merge pull request #14445 from omoerbeek/rec-4.9.x-daily-el7

rec 4.9.x: daily build for el-7 instead of centos-7

12 months agorec 4.9.x: daily build for el-7 instead of centos-7 14445/head
Otto Moerbeek [Tue, 9 Jul 2024 08:19:07 +0000 (10:19 +0200)] 
rec 4.9.x: daily build for el-7 instead of centos-7

13 months agoMerge pull request #14413 from omoerbeek/backport-14400-to-rec-4.9.x
Otto Moerbeek [Thu, 4 Jul 2024 10:38:21 +0000 (12:38 +0200)] 
Merge pull request #14413 from omoerbeek/backport-14400-to-rec-4.9.x

rec: Backport 14400 to rec 4.9.x: switch el7 builds to Oracle Linux 7

13 months agoswitch el7 builds to Oracle Linux 7 14413/head
Peter van Dijk [Tue, 2 Jul 2024 09:19:31 +0000 (11:19 +0200)] 
switch el7 builds to Oracle Linux 7

(cherry picked from commit 73a1b98f92c671c590540ac19d74d70499f89066)

13 months agoMerge pull request #14416 from omoerbeek/backport-14359-to-4.9.x
Otto Moerbeek [Thu, 4 Jul 2024 10:05:24 +0000 (12:05 +0200)] 
Merge pull request #14416 from omoerbeek/backport-14359-to-4.9.x

rec: Backport 14359 to 4.9.x: dns.cc: use pdns::views::UnsignedCharView

13 months agoAdd views.hh to pdns_recursor_SOURCES 14416/head
Otto Moerbeek [Thu, 4 Jul 2024 07:19:07 +0000 (09:19 +0200)] 
Add views.hh to pdns_recursor_SOURCES

13 months agodns.cc: use pdns::views::UnsignedCharView
Otto Moerbeek [Wed, 19 Jun 2024 11:10:15 +0000 (13:10 +0200)] 
dns.cc: use pdns::views::UnsignedCharView

Includes minor cleanup and additions to make UnsignedCharView usable for this use case.
Supersedes #14356
Fixes
/usr/include/c++/v1/__fwd/string_view.h:22:41: warning: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 19, so please migrate off of it. [-Wdeprecated-declarations]

(cherry picked from commit 949ea9456dbe76e78aeff5f6f37f218549d1b493)

13 months agoimport views.hh from master
Peter van Dijk [Tue, 2 Jul 2024 10:48:38 +0000 (12:48 +0200)] 
import views.hh from master

13 months agoMerge pull request #14380 from omoerbeek/backport-14373-to-rec-4.9.x rec-4.9.7
Otto Moerbeek [Tue, 25 Jun 2024 12:48:10 +0000 (14:48 +0200)] 
Merge pull request #14380 from omoerbeek/backport-14373-to-rec-4.9.x

rec: Backport 14373 to rec 4.9.x: Remove potential double SOA records if the target of a dns64 name is NODATA

13 months agoAdd test for duplicate SOA record in the dns64/NODATA case 14380/head
Otto Moerbeek [Fri, 21 Jun 2024 14:31:24 +0000 (16:31 +0200)] 
Add test for duplicate SOA record in the dns64/NODATA case

(cherry picked from commit 84702509275d1d57fab944c27f9970e4cf8dccec)

13 months agoRemove potential double SOA records if the target of a dns64 name is NODATA
Otto Moerbeek [Fri, 21 Jun 2024 08:05:42 +0000 (10:05 +0200)] 
Remove potential double SOA records if the target of a dns64 name is NODATA

(cherry picked from commit 40d632980b5734a08bd19015ee636ab5564e125a)

13 months agoMerge pull request #14352 from omoerbeek/backport-14346-to-rec-4.9.x
Otto Moerbeek [Tue, 18 Jun 2024 10:25:28 +0000 (12:25 +0200)] 
Merge pull request #14352 from omoerbeek/backport-14346-to-rec-4.9.x

rec: Backport 14346 to rec-4.9.x: fix TCP case for cached policy tags

13 months agorec: Backport 14346 to rec-4.9.x: fix TCP case for cached policy tags 14352/head
Otto Moerbeek [Tue, 18 Jun 2024 09:50:55 +0000 (11:50 +0200)] 
rec: Backport 14346 to rec-4.9.x: fix TCP case for cached policy tags

Cherry picked from
6a3943374904b39769d8c6fcb3923b6456814d19 and 9bddb82fd4166c83b055f037f775f33471403704

Backport of #14351

13 months agoMerge pull request #14317 from romeroalx/backport-14241-to-rec-4.9.x
Otto Moerbeek [Wed, 12 Jun 2024 11:51:57 +0000 (13:51 +0200)] 
Merge pull request #14317 from romeroalx/backport-14241-to-rec-4.9.x

rec-4.9.x: Backport removal of centos-8 and centos-8-stream as build targets

13 months agorec: Upgrade regression tests to use pytest instead of nose 14317/head
Otto Moerbeek [Tue, 13 Jun 2023 13:40:08 +0000 (15:40 +0200)] 
rec: Upgrade regression tests to use pytest instead of nose

One mysterious failure on Debian bookworm spotted:
test_EDNS.py does not seem to set the right edns version on the outgoing
query. To be investigated.

13 months agouse the apt version of python3 for clang-tidy
romeroalx [Tue, 11 Jun 2024 12:57:32 +0000 (14:57 +0200)] 
use the apt version of python3 for clang-tidy

13 months agoremove centos-8 and centos-8-stream as build targets
romeroalx [Tue, 4 Jun 2024 09:16:18 +0000 (11:16 +0200)] 
remove centos-8 and centos-8-stream as build targets

13 months agoMerge pull request #14287 from romeroalx/backport-14171-to-rec-4.9.x-2
Otto Moerbeek [Mon, 10 Jun 2024 09:10:18 +0000 (11:10 +0200)] 
Merge pull request #14287 from romeroalx/backport-14171-to-rec-4.9.x-2

rec-4.9.x: backport of #14171 for fixing the build of images on new tags

14 months agogh actions: add WF for building and pushing images when a new tag is created 14287/head
romeroalx [Tue, 14 May 2024 15:45:08 +0000 (17:45 +0200)] 
gh actions: add WF for building and pushing images when a new tag is created

14 months agogh actions: add WF for building and pushing images manually
romeroalx [Tue, 14 May 2024 15:43:26 +0000 (17:43 +0200)] 
gh actions: add WF for building and pushing images manually

14 months agogh actions: modify docker.yml for building and pushing images daily (master)
romeroalx [Tue, 14 May 2024 15:40:11 +0000 (17:40 +0200)] 
gh actions: modify docker.yml for building and pushing images daily (master)

14 months agogh actions: add WF for building and pushing multi-platform images on workflow_call...
romeroalx [Tue, 14 May 2024 15:35:44 +0000 (17:35 +0200)] 
gh actions: add WF for building and pushing multi-platform images on workflow_call events

14 months agoMerge pull request #14209 from romeroalx/backport-14171-to-rec-4.9.x
Otto Moerbeek [Tue, 21 May 2024 13:27:11 +0000 (15:27 +0200)] 
Merge pull request #14209 from romeroalx/backport-14171-to-rec-4.9.x

rec-4.9.x: Partial backport of #14171 for fixing the build of arm64 images

14 months agoAdding liblua5.3-dev/libluajit-5.1-dev to dockerfiles 14209/head
romeroalx [Tue, 14 May 2024 15:26:05 +0000 (17:26 +0200)] 
Adding liblua5.3-dev/libluajit-5.1-dev to dockerfiles

15 months agoMerge pull request #14092 from omoerbeek/backport-14044-to-rec-4.9.x rec-4.9.6
Otto Moerbeek [Mon, 6 May 2024 11:56:22 +0000 (13:56 +0200)] 
Merge pull request #14092 from omoerbeek/backport-14044-to-rec-4.9.x

rec: Backport 14044 to rec-4.9.x: gh actions - replace yq snap in collect job build-and-test-all

15 months agogh actions - replace yq snap in collect job build-and-test-all 14092/head
romeroalx [Fri, 5 Apr 2024 10:02:55 +0000 (12:02 +0200)] 
gh actions - replace yq snap in collect job build-and-test-all

(cherry picked from commit 3a5fb2cb7e890e1ebb0e0e75f6349640fc76f878)

15 months agoMerge pull request #14133 from romeroalx/backport-14132-to-rec-4.9.x
Otto Moerbeek [Mon, 6 May 2024 10:04:15 +0000 (12:04 +0200)] 
Merge pull request #14133 from romeroalx/backport-14132-to-rec-4.9.x

rec: Backport 14132 to rec-4.9.x: gh actions - build-and-test-all: use ubuntu-22.04 runners

15 months agogh actions - build-and-test-all: use ubuntu-22.04 runners 14133/head
romeroalx [Fri, 3 May 2024 15:00:01 +0000 (17:00 +0200)] 
gh actions - build-and-test-all: use ubuntu-22.04 runners

15 months agoMerge pull request #14093 from omoerbeek/backport-14049-to-rec-4.9.x
Otto Moerbeek [Thu, 25 Apr 2024 13:36:13 +0000 (15:36 +0200)] 
Merge pull request #14093 from omoerbeek/backport-14049-to-rec-4.9.x

rec: Backport 14049 to rec-4.9.x: do not count RRSIGs using unsupported algorithms toward RRSIGs limit

15 months agoMerge pull request #14109 from omoerbeek/rel/rec-4.9.5-branch
Otto Moerbeek [Thu, 25 Apr 2024 13:25:18 +0000 (15:25 +0200)] 
Merge pull request #14109 from omoerbeek/rel/rec-4.9.5-branch

rec: merge rec-4.9.5 back onto rel/rec-4.9.x

15 months agorec: do not count RRSIGs using unsupported algorithms toward RRSIGs limit 14093/head
Otto Moerbeek [Mon, 8 Apr 2024 10:14:01 +0000 (12:14 +0200)] 
rec: do not count RRSIGs using unsupported algorithms toward RRSIGs limit

(cherry picked from commit 834660b5c62fe7a8bcf93b0182f26fbfa5464ecc)

15 months agorec: backport CVE-2024-25583 to rel/rec-4.9.5-branch 14109/head rec-4.9.5
Otto Moerbeek [Tue, 9 Apr 2024 09:16:23 +0000 (11:16 +0200)] 
rec: backport CVE-2024-25583 to rel/rec-4.9.5-branch

A name can be present already when building the cname chain.

16 months agoMerge pull request #13995 from omoerbeek/backport-13984-to-rec-4.9.x
Otto Moerbeek [Tue, 2 Apr 2024 06:31:03 +0000 (08:31 +0200)] 
Merge pull request #13995 from omoerbeek/backport-13984-to-rec-4.9.x

rec: Backport 13984 to rec-4.9.x: Correctly count NSEC3s considered when chasing the closest encloser

16 months agoMerge pull request #13994 from omoerbeek/backport-13926-to-rec-4.9.x
Otto Moerbeek [Tue, 2 Apr 2024 06:30:48 +0000 (08:30 +0200)] 
Merge pull request #13994 from omoerbeek/backport-13926-to-rec-4.9.x

rec: Backport 13926 to rec 4.9.x: fix trace=fail regression and add regression test for it

16 months agoMerge pull request #13993 from omoerbeek/backport-13849-to-rec-4.9.x
Otto Moerbeek [Tue, 2 Apr 2024 06:30:33 +0000 (08:30 +0200)] 
Merge pull request #13993 from omoerbeek/backport-13849-to-rec-4.9.x

rec: Backport 13849 to rec 4.9.x: Only print Docker config if debug flag is set

16 months agorec: Correctly count NSEC3s considered when chasing the closest encloser 13995/head
Remi Gacogne [Tue, 26 Mar 2024 13:44:15 +0000 (14:44 +0100)] 
rec: Correctly count NSEC3s considered when chasing the closest encloser

We need to count the number of NSEC3s that are present in the response,
not the number of times we have to consider possible NSEC3s when
looking for the NSEC3 closest encloser, label by label.

(cherry picked from commit c4f4d09654bde9d389e83f0bc8eadc6b665e9de9)

16 months agoZTC regression test does not need auths 13994/head
Otto Moerbeek [Mon, 18 Mar 2024 08:06:21 +0000 (09:06 +0100)] 
ZTC regression test does not need auths

(cherry picked from commit 250a8012a85c8cee7b6eaff97ff55fe4a335bf45)

16 months agorec: fix trace=fail regression and add regression test for it
Otto Moerbeek [Mon, 18 Mar 2024 08:00:57 +0000 (09:00 +0100)] 
rec: fix trace=fail regression and add regression test for it

(cherry picked from commit c2f2d82c3f52bb62df33f0b7e57d55a88cdbe222)

16 months agonits 13993/head
Peter van Dijk [Tue, 5 Mar 2024 13:53:46 +0000 (14:53 +0100)] 
nits

(cherry picked from commit 688d5dbdba626e3a36af37a8629c6fab6e5d5a1a)

16 months agoOnly print config if debug flag is set
Carolin Dohmen [Fri, 1 Mar 2024 15:19:04 +0000 (16:19 +0100)] 
Only print config if debug flag is set

Signed-off-by: Carolin Dohmen <carodohmen@gmail.com>
(cherry picked from commit d773b7bb99418026c3907ebd4b4e994a61fccecd)

17 months agoMerge pull request #13853 from omoerbeek/backport-13847-to-rec-4.9.x rec-4.9.4
Otto Moerbeek [Mon, 4 Mar 2024 13:51:19 +0000 (14:51 +0100)] 
Merge pull request #13853 from omoerbeek/backport-13847-to-rec-4.9.x

rec: Backport 13847 to rec 4.9.x: Fix gathering of denial of existence proof for wildcard-expanded names

17 months agorec: Apply Otto's suggestions 13853/head
Remi Gacogne [Mon, 4 Mar 2024 08:14:58 +0000 (09:14 +0100)] 
rec: Apply Otto's suggestions

(cherry picked from commit f8a286bb2a45fb51ea90399b793ec40665824430)

17 months agorec: Fix clang-tidy warnings
Remi Gacogne [Fri, 1 Mar 2024 16:00:41 +0000 (17:00 +0100)] 
rec: Fix clang-tidy warnings

(cherry picked from commit f74ca9e44868f44c4fe6460bed1b7629dcf027f4)

17 months agorec: Add a unit test for the gathering of denial of existence proof for wildcard...
Remi Gacogne [Fri, 1 Mar 2024 14:54:40 +0000 (15:54 +0100)] 
rec: Add a unit test for the gathering of denial of existence proof for wildcard-expanded names

(cherry picked from commit bedfbaa1912ee464a61dc7996341574040fab84a)

17 months agorec: Fix gathering of denial of existence proof for wildcard-expanded names
Remi Gacogne [Fri, 1 Mar 2024 13:07:35 +0000 (14:07 +0100)] 
rec: Fix gathering of denial of existence proof for wildcard-expanded names

When the recursor is forwarding to a resolver, we accept the names composing
the CNAME chain starting at the queried name. This means we also need to gather
the denial of existence proof for CNAMEs that were expanded from a wildcard,
otherwise the response sent to the client cannot be DNSSEC-validated.

(cherry picked from commit 2eb9f095fe06f77cd816135c03c7ac558e0f324d)

17 months agoMerge pull request #13795 from omoerbeek/backport-13788-to-rec-4.9.x
Otto Moerbeek [Mon, 26 Feb 2024 15:16:52 +0000 (16:16 +0100)] 
Merge pull request #13795 from omoerbeek/backport-13788-to-rec-4.9.x

rec: Backport 13788 to rec-4.9.x: fix the zoneToCache regression introduced by SA 2024-01

17 months agoMerge pull request #13793 from omoerbeek/backport-13387-to-rec-4.9.x
Otto Moerbeek [Mon, 26 Feb 2024 15:16:37 +0000 (16:16 +0100)] 
Merge pull request #13793 from omoerbeek/backport-13387-to-rec-4.9.x

rec: Backport of 13387 to rec-4.9.x: Update new b-root-server.net addresses in built-in hints.

17 months agoMerge pull request #13792 from omoerbeek/backport-13543-to-rec-4.9.x
Otto Moerbeek [Mon, 26 Feb 2024 15:16:24 +0000 (16:16 +0100)] 
Merge pull request #13792 from omoerbeek/backport-13543-to-rec-4.9.x

rec: Backport 13543 to rec 4.9.x: a single NSEC3 record covering everything is a special case

17 months agoTest ZTC with root zone 13795/head
Otto Moerbeek [Wed, 14 Feb 2024 11:39:57 +0000 (12:39 +0100)] 
Test ZTC with root zone

1. If code changes make the validation fail we want to know.
2. If root zone changes break something we want to know as well, this might even be more important than 1.

So I think we just have to accept the occasional network issues on GH.

(cherry picked from commit 5e7b96061de80b4cb52f52a65fed274a1e666e73)

17 months agorec: fix the zoneToCache regression introduced by SA 2024-01
Otto Moerbeek [Tue, 13 Feb 2024 15:55:10 +0000 (16:55 +0100)] 
rec: fix the zoneToCache regression introduced by SA 2024-01

Test will follow

(cherry picked from commit c7f594e2dcda23fdc2ae2c4246da3e7c519f897e)

17 months agorec: Update new b-root-server.net addresses in built-in hints. 13793/head
Otto Moerbeek [Tue, 17 Oct 2023 15:07:17 +0000 (17:07 +0200)] 
rec: Update new b-root-server.net addresses in built-in hints.

Is going to be effective 20231117. Both existing and new addresses
work already at the moment of writing (20211017).

https://www.lacnic.net/6869/2/lacnic/lacnic-assigns-number-resources-to-the-usc_isi-dns-root-server

Fixes #12897

(cherry picked from commit 5d6b31d85ab8c10443090fff5605aed580e30fcc)

17 months agoAdd test 13792/head
Otto Moerbeek [Fri, 1 Dec 2023 09:15:09 +0000 (10:15 +0100)] 
Add test

(cherry picked from commit 3f6fb380917db42c6c1c5281ff3e9efe1a31761a)

17 months agorec: a single NSEC3 record covering everything is a special case
Otto Moerbeek [Wed, 29 Nov 2023 15:47:01 +0000 (16:47 +0100)] 
rec: a single NSEC3 record covering everything is a special case

Fixes #13542

(cherry picked from commit 257b23b4f55031a94b04c472489c3806ab57a244)

17 months agoMerge pull request #13832 from omoerbeek/backport-13813-to-rec-4.9.x
Otto Moerbeek [Mon, 26 Feb 2024 14:20:46 +0000 (15:20 +0100)] 
Merge pull request #13832 from omoerbeek/backport-13813-to-rec-4.9.x

rec: Backport 13813 to rec 4.9.x: dnspython's API changed wrt NSID, apply (version dependent) fix in regression test

17 months agoTypos 13832/head
Otto Moerbeek [Mon, 26 Feb 2024 13:58:02 +0000 (14:58 +0100)] 
Typos

17 months ago4.9.x uses unittest instead of pytest
Otto Moerbeek [Mon, 26 Feb 2024 12:04:08 +0000 (13:04 +0100)] 
4.9.x uses unittest instead of pytest

17 months agorec: dnspython's API changed wrt NSID, apply (version dependent) fix in regression...
Otto Moerbeek [Mon, 19 Feb 2024 10:05:32 +0000 (11:05 +0100)] 
rec: dnspython's API changed wrt NSID, apply (version dependent) fix in regression test

See https://dnspython.readthedocs.io/en/stable/whatsnew.html 2.6.0 2nd bullet

(cherry picked from commit e1ea89984da1c10850dd0cb4e7d4d7ee501e078d)

17 months agoMerge pull request #13794 from omoerbeek/backport-13787-to-rec-4.9.x
Otto Moerbeek [Mon, 26 Feb 2024 10:05:42 +0000 (11:05 +0100)] 
Merge pull request #13794 from omoerbeek/backport-13787-to-rec-4.9.x

rec: Backport 13787 to rec 4.9.x: skip a few tests that depend on sidnlab's public test setup that no longer works

17 months agorec: skip a few test that depend on sidnlab's public test setup that no longer works 13794/head
Otto Moerbeek [Tue, 13 Feb 2024 15:31:35 +0000 (16:31 +0100)] 
rec: skip a few test that depend on sidnlab's public test setup that no longer works

(cherry picked from commit 1c47d58191e285aa2f85c24bbddba55f95cd58a2)

17 months agoMerge pull request #13783 from omoerbeek/rec-backport-keytrap-to-4.9.x
Otto Moerbeek [Tue, 13 Feb 2024 12:33:43 +0000 (13:33 +0100)] 
Merge pull request #13783 from omoerbeek/rec-backport-keytrap-to-4.9.x

rec: Backport Keytrap to rec-4.9.x

17 months agoBetter handling of DNSKEY validation failures 13783/head rec-4.9.3
Otto Moerbeek [Mon, 5 Feb 2024 16:09:00 +0000 (17:09 +0100)] 
Better handling of DNSKEY validation failures

17 months agoAdd a new 'max-ds-per-zone' setting and immediately return BogusNoValidDNSKEY when...
Otto Moerbeek [Mon, 5 Feb 2024 11:43:15 +0000 (12:43 +0100)] 
Add a new 'max-ds-per-zone' setting and immediately return BogusNoValidDNSKEY when we hit a limit in validateDNSKeysAgainstDS()

17 months agoEstablish (now validated) defaults for all new settings
Otto Moerbeek [Fri, 12 Jan 2024 07:57:02 +0000 (08:57 +0100)] 
Establish (now validated) defaults for all new settings

17 months agorec: Fix validation accounting in validateDNSKeysAgainstDS()
Remi Gacogne [Mon, 8 Jan 2024 14:04:13 +0000 (15:04 +0100)] 
rec: Fix validation accounting in validateDNSKeysAgainstDS()

The counter was sometimes increased even though no actual validation
was performed, because the corresponding DNSKEY was not (yet) trusted.

17 months agoBackport of keytrap to 4.9.x up to 5f6726ca4c759cb6c8fb5f131334dab64a4980d5
Otto Moerbeek [Tue, 2 Jan 2024 12:11:43 +0000 (13:11 +0100)] 
Backport of keytrap to 4.9.x up to 5f6726ca4c759cb6c8fb5f131334dab64a4980d5

18 months agoMerge pull request #13694 from omoerbeek/backport-13675-to-rec-4.9.x
Otto Moerbeek [Wed, 10 Jan 2024 14:23:26 +0000 (15:23 +0100)] 
Merge pull request #13694 from omoerbeek/backport-13675-to-rec-4.9.x

Backport 13675 to rec 4.9.x: Fix documentation building error for dnsdist and recursor

18 months agodnsdist: Fix the version of alabaster when building the doc 13694/head
Remi Gacogne [Mon, 8 Jan 2024 10:47:13 +0000 (11:47 +0100)] 
dnsdist: Fix the version of alabaster when building the doc

Fixes
```
The alabaster extension used by this project needs at least Sphinx v3.4; it therefore cannot be built with this version.
```

(cherry picked from commit c2a7ef8bd4f2423e2dc0eaa4d4a46de99b44636b)

18 months agorec: Fix the version of alabaster when building the doc
Remi Gacogne [Mon, 8 Jan 2024 10:32:31 +0000 (11:32 +0100)] 
rec: Fix the version of alabaster when building the doc

Fixes
```
The alabaster extension used by this project needs at least Sphinx v3.4; it therefore cannot be built with this version.
```

(cherry picked from commit ac89467f17bb888fbd48c0f4c5267beab95aebee)

19 months agoMerge pull request #13570 from romeroalx/rel/rec-4.9.x-workflow-call
Otto Moerbeek [Wed, 13 Dec 2023 12:03:58 +0000 (13:03 +0100)] 
Merge pull request #13570 from romeroalx/rel/rec-4.9.x-workflow-call

GH Actions - rel/rec-4.9.x: make `build-and-test-all` and `builder` workflows reusable from other branches

20 months agomake builder workflow reusable 13570/head
romeroalx [Wed, 22 Nov 2023 13:07:38 +0000 (14:07 +0100)] 
make builder workflow reusable

20 months agomake build-and-test-all reusable
Alexis Romero [Thu, 16 Nov 2023 15:56:20 +0000 (16:56 +0100)] 
make build-and-test-all reusable

20 months agotest ubuntu jammy build target
Peter van Dijk [Fri, 14 Jan 2022 11:12:09 +0000 (12:12 +0100)] 
test ubuntu jammy build target

20 months agobuilder: drop ubuntu kinetic, it is EOL
Peter van Dijk [Thu, 14 Sep 2023 06:35:05 +0000 (08:35 +0200)] 
builder: drop ubuntu kinetic, it is EOL

21 months agoMerge pull request #13449 from omoerbeek/backport-13409-to-rec-4.9.x rec-4.9.2
Otto Moerbeek [Mon, 6 Nov 2023 08:41:04 +0000 (09:41 +0100)] 
Merge pull request #13449 from omoerbeek/backport-13409-to-rec-4.9.x

rec: backport 13409 to rec-4.9.x: handle serve stale logic in getRootNXTrust()

21 months agorec: handle serve stale logic in getRootNXTrust() 13449/head
Otto Moerbeek [Mon, 23 Oct 2023 07:17:16 +0000 (09:17 +0200)] 
rec: handle serve stale logic in getRootNXTrust()

Superseded #13383 by calling the general get() function that has
all the special cases covered.

(cherry picked from commit e2bfa1460d5b9e4e470c2f8829ef6c10bc583c73)

21 months agoMerge pull request #13440 from omoerbeek/rec-backport-13237-to-rec-49x
Otto Moerbeek [Wed, 1 Nov 2023 08:38:48 +0000 (09:38 +0100)] 
Merge pull request #13440 from omoerbeek/rec-backport-13237-to-rec-49x

rec: backport 13237 to rec-4.9.x: Be even more lenient in allowing timing differences

21 months agorec: backport 13237 to rec-4.9.x: Be even more lenient in allowing timing differences 13440/head
Otto Moerbeek [Tue, 31 Oct 2023 15:35:06 +0000 (16:35 +0100)] 
rec: backport 13237 to rec-4.9.x: Be even more lenient in allowing timing differences

Backport of #13237

21 months agoMerge pull request #13411 from omoerbeek/backport-13353-to-rec-4.9.x
Otto Moerbeek [Tue, 31 Oct 2023 07:58:26 +0000 (08:58 +0100)] 
Merge pull request #13411 from omoerbeek/backport-13353-to-rec-4.9.x

rec: Backport 13353 to rec 4.9.x:  If serving stale, wipe CNAME records from cache when we get a NODATA negative response for them

21 months agoMerge pull request #13412 from omoerbeek/backport-13408-to-rec-4.9.x
Otto Moerbeek [Tue, 24 Oct 2023 09:28:00 +0000 (11:28 +0200)] 
Merge pull request #13412 from omoerbeek/backport-13408-to-rec-4.9.x

rec: Backport 13408 to rec-4.9.x: Handle stack memory on NetBSD as on OpenBSD

21 months agoHandle stack memory on NetBSD as on OpenBSD 13412/head
Tom Ivar Helbekkmo [Sun, 22 Oct 2023 18:26:32 +0000 (20:26 +0200)] 
Handle stack memory on NetBSD as on OpenBSD

(cherry picked from commit d6ff1755940d77ca502bf21a8f2d4d690252d0d2)

21 months agoTidy 13411/head
Otto Moerbeek [Wed, 11 Oct 2023 13:39:46 +0000 (15:39 +0200)] 
Tidy

(cherry picked from commit db263dde8799c6d6af58f02bf63ec1aeb8eed50d)

21 months agoIf serving stale, wipe CNAME records from cache when we get a NODATA negative respons...
Otto Moerbeek [Wed, 11 Oct 2023 12:22:03 +0000 (14:22 +0200)] 
If serving stale, wipe CNAME records from cache when we get a NODATA negative response for them
PR #12395 already did that for the NXDOMAIN case.

(cherry picked from commit 60ba49d38e5ded2df5a367d8acacba8b8ec3d2cc)

22 months agoMerge pull request #13286 from omoerbeek/backport-13092-to-rec-4.9.x
Otto Moerbeek [Fri, 22 Sep 2023 12:59:43 +0000 (14:59 +0200)] 
Merge pull request #13286 from omoerbeek/backport-13092-to-rec-4.9.x

rec: Backport 13092 to rec 4.9.x: prevent two cases of copy of data that can be moved

22 months agoAdd NOLINT marker for readability-function-cognitive-complexity 13286/head
Otto Moerbeek [Fri, 22 Sep 2023 10:48:39 +0000 (12:48 +0200)] 
Add NOLINT marker for readability-function-cognitive-complexity

22 months agoMerge pull request #13285 from omoerbeek/backport-13224-to-rec-4.9.x
Otto Moerbeek [Fri, 22 Sep 2023 10:46:00 +0000 (12:46 +0200)] 
Merge pull request #13285 from omoerbeek/backport-13224-to-rec-4.9.x

rec: Backport 13223 to rec-4.9.x: auto-build on tags and generate provenance