]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
12 months agorec: dump right SOA into dumpFile and report non-relative SOA for includeSOA=true 14482/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)

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

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

13 months agorec 5.0.x: daily build for el-7 instead of centos-7 14444/head
Otto Moerbeek [Tue, 9 Jul 2024 08:17:43 +0000 (10:17 +0200)] 
rec 5.0.x: daily build for el-7 instead of centos-7

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

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

13 months agoswitch el7 builds to Oracle Linux 7 14412/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 #14415 from omoerbeek/backport-14359-to-5.0.x
Otto Moerbeek [Thu, 4 Jul 2024 10:05:14 +0000 (12:05 +0200)] 
Merge pull request #14415 from omoerbeek/backport-14359-to-5.0.x

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

13 months agoAdd views.hh to pdns_recursor_SOURCES 14415/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 #14379 from omoerbeek/backport-14373-to-rec-5.0.x rec-5.0.7
Otto Moerbeek [Tue, 25 Jun 2024 12:48:00 +0000 (14:48 +0200)] 
Merge pull request #14379 from omoerbeek/backport-14373-to-rec-5.0.x

rec: Backport 14373 to rec 5.0.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 14379/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 #14351 from omoerbeek/backport-14346-to-rec-5.0.x
Otto Moerbeek [Tue, 18 Jun 2024 10:25:17 +0000 (12:25 +0200)] 
Merge pull request #14351 from omoerbeek/backport-14346-to-rec-5.0.x

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

13 months agoRefactor test to avoid code duplciation, as suggested by @rgacogne 14351/head
Otto Moerbeek [Tue, 18 Jun 2024 08:35:08 +0000 (10:35 +0200)] 
Refactor test to avoid code duplciation, as suggested by @rgacogne

(cherry picked from commit 3aebfacee518cf32c07efb53e70317a4b2a4019a)

13 months agorec: fix TCP case for cached policy tags
Otto Moerbeek [Mon, 17 Jun 2024 12:58:01 +0000 (14:58 +0200)] 
rec: fix TCP case for cached policy tags

(cherry picked from commit a7f8db9e9259dfe08e47959a6613f80b971ea535)

13 months agoMerge pull request #14348 from omoerbeek/backport-14340-to-rec-5.0.x
Otto Moerbeek [Tue, 18 Jun 2024 08:39:58 +0000 (10:39 +0200)] 
Merge pull request #14348 from omoerbeek/backport-14340-to-rec-5.0.x

rec: Backport 14340 to rec 5.0.x: count substituted remote in case of proxy protocol

13 months agoMerge pull request #14347 from omoerbeek/backport-14247-to-rec-5.0.x
Otto Moerbeek [Tue, 18 Jun 2024 08:38:46 +0000 (10:38 +0200)] 
Merge pull request #14347 from omoerbeek/backport-14247-to-rec-5.0.x

rec: Backport 14247 to rec 5.0.x: autoconf: allow prerelease systemd versions

13 months agoAdd regression test for remote count when using proxy protocol 14348/head
Otto Moerbeek [Mon, 17 Jun 2024 09:24:04 +0000 (11:24 +0200)] 
Add regression test for remote count when using proxy protocol

(cherry picked from commit 264ee89e28dc6537836e840688a6d3d521291122)

13 months agorec: count substituted remote in case of proxy protocol
Otto Moerbeek [Mon, 17 Jun 2024 09:22:47 +0000 (11:22 +0200)] 
rec: count substituted remote in case of proxy protocol

Other remote counts are already doing that

(cherry picked from commit a6f989d8cb1b26329a50925d6d7f0ef06d9572cd)

13 months agoautoconf: allow prerelease systemd versions 14347/head
Chris Hofstaedtler [Sat, 25 May 2024 15:28:31 +0000 (17:28 +0200)] 
autoconf: allow prerelease systemd versions

For example 256~rc3. Also preemptively support versions like 252.2.

(cherry picked from commit 81e3f38b1909956e228077e4677c34f469ea9835)

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

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

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

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

rec-5.0.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 14286/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 #14223 from omoerbeek/backport-14197-to-rec-5.0.x rec-5.0.6
Otto Moerbeek [Thu, 23 May 2024 13:40:08 +0000 (15:40 +0200)] 
Merge pull request #14223 from omoerbeek/backport-14197-to-rec-5.0.x

rec: Backport 14197 to rec 5.0.x: YaHTTP: Enforce max # of request fields and max request line size

14 months agoMerge pull request #14222 from omoerbeek/backport-14185-to-rec-5.0.x
Otto Moerbeek [Thu, 23 May 2024 13:30:43 +0000 (15:30 +0200)] 
Merge pull request #14222 from omoerbeek/backport-14185-to-rec-5.0.x

rec: Backport 14185 to rec 5.0.x: report error and adjust when linux map limit is too low

14 months agoYaHTTP: Enforce max # of request fields and max request line size 14223/head
Your Name [Mon, 15 Apr 2024 13:45:38 +0000 (15:45 +0200)] 
YaHTTP: Enforce max # of request fields and max request line size

The default values, 8192 bytes for the maximum request line size and
100 fields, are taken from the default settings of Apache HTTPd:
- https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestline
- https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfields

Reported by OSS-Fuzz as a timeout in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=67993

(cherry picked from commit 249c86a63865e4a980511839887890c3940fc6e6)

14 months agokern.max_map_count -> vm.max_map_count; from @phonedph1 14222/head
Otto Moerbeek [Tue, 21 May 2024 13:10:07 +0000 (15:10 +0200)] 
kern.max_map_count -> vm.max_map_count; from @phonedph1

(cherry picked from commit 83c50a424b44715efa4c40724dfb1cf2ba4b935b)

14 months agoTwo cases of wrong var (in code not compiled)
Otto Moerbeek [Tue, 21 May 2024 13:03:02 +0000 (15:03 +0200)] 
Two cases of wrong var (in code not compiled)

Co-authored-by: Remi Gacogne <github@coredump.fr>
(cherry picked from commit 766cb2804f51b17129fbb8abfc43c622bb4044ce)

14 months agoReformt
Otto Moerbeek [Tue, 21 May 2024 09:50:04 +0000 (11:50 +0200)] 
Reformt

(cherry picked from commit 2759618132061d8cc543c1f25ff29b5db1936392)

14 months agoAdjust max-mthreads if vm.max_map_count is too low
Otto Moerbeek [Tue, 21 May 2024 09:12:55 +0000 (11:12 +0200)] 
Adjust max-mthreads if vm.max_map_count is too low

(cherry picked from commit 38917466a490628619a30d429ab30ef78f1a5357)

14 months agoUse LockGuarded construct
Otto Moerbeek [Tue, 21 May 2024 09:06:27 +0000 (11:06 +0200)] 
Use LockGuarded construct

(cherry picked from commit 40c7e858ea5a96bc60d6a0b64a038a876b44424c)

14 months agoUse RIAA guard for d_inrun, making sure exceptions reset d_inrun
Otto Moerbeek [Tue, 21 May 2024 08:40:46 +0000 (10:40 +0200)] 
Use RIAA guard for d_inrun, making sure exceptions reset d_inrun

(cherry picked from commit e85f719bdcbe0f30e2629a3734181ff8e77b6a96)

14 months agoRate limit logging for a few cases (there could be more)
Otto Moerbeek [Fri, 17 May 2024 09:19:14 +0000 (11:19 +0200)] 
Rate limit logging for a few cases (there could be more)

(cherry picked from commit f6fd9d7dcf657009c18b523228c0f8fddcdca157)

14 months agoLog exceptions occuring in resolving action; do not let the worker threads die
Otto Moerbeek [Wed, 15 May 2024 11:36:04 +0000 (13:36 +0200)] 
Log exceptions occuring in resolving action; do not let the worker threads die

(cherry picked from commit e169ad22df81efc19784f6339ae4380324ca16fe)

14 months agorec: report error when linux map limit is too low
Otto Moerbeek [Wed, 15 May 2024 09:03:07 +0000 (11:03 +0200)] 
rec: report error when linux map limit is too low

(cherry picked from commit 49a683354132788191a55af9f7ab2ef44d72f271)

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

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

14 months agoAdding liblua5.3-dev/libluajit-5.1-dev to dockerfiles 14207/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 #14090 from omoerbeek/backport-14044-to-rec-5.0.x rec-5.0.5
Otto Moerbeek [Mon, 6 May 2024 11:56:11 +0000 (13:56 +0200)] 
Merge pull request #14090 from omoerbeek/backport-14044-to-rec-5.0.x

rec: backport 14044 to rec-5.0.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 14090/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 #14132 from romeroalx/ci-build-ubuntu-22
Otto Moerbeek [Mon, 6 May 2024 10:03:44 +0000 (12:03 +0200)] 
Merge pull request #14132 from romeroalx/ci-build-ubuntu-22

rec-5.0.x: gh actions - use ubuntu-22.04 runners in build-and-test-all

15 months agogh actions - build-and-test-all: use ubuntu-22.04 runners 14132/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 #14091 from omoerbeek/backport-14049-to-rec-5.0.x
Otto Moerbeek [Thu, 25 Apr 2024 13:35:45 +0000 (15:35 +0200)] 
Merge pull request #14091 from omoerbeek/backport-14049-to-rec-5.0.x

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

15 months agoMerge pull request #14089 from omoerbeek/backport-13983-to-rec-5.0.x
Otto Moerbeek [Thu, 25 Apr 2024 13:35:11 +0000 (15:35 +0200)] 
Merge pull request #14089 from omoerbeek/backport-13983-to-rec-5.0.x

Backport 13983 to rec 5.0.x: Generate Software Bill Of Materials (SBOMs) for our RPM packages

15 months agoMerge pull request #14088 from omoerbeek/backport-13972-to-rec-5.0.x
Otto Moerbeek [Thu, 25 Apr 2024 13:34:35 +0000 (15:34 +0200)] 
Merge pull request #14088 from omoerbeek/backport-13972-to-rec-5.0.x

rec: Backport 13972 and 13981 to rec 5.0.x: Move the version (and hashes) of external dependencies to JSON files

15 months agoMerge pull request #14108 from Habbie/rel/rec-5.0.4-branch
Peter van Dijk [Thu, 25 Apr 2024 12:27:48 +0000 (14:27 +0200)] 
Merge pull request #14108 from Habbie/rel/rec-5.0.4-branch

merge rec-5.0.4 back onto rel/rec-5.0.x

15 months agorec: do not count RRSIGs using unsupported algorithms toward RRSIGs limit 14091/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 agoSBOM: Dynamically generate the list of auth-related packages 14089/head
Remi Gacogne [Tue, 26 Mar 2024 14:36:07 +0000 (15:36 +0100)] 
SBOM: Dynamically generate the list of auth-related packages

(cherry picked from commit 94b262b9709077f7c3a4e8cd74108e2c6991a63e)

15 months agoSBOM: Fix the builder target variable
Remi Gacogne [Tue, 26 Mar 2024 10:25:14 +0000 (11:25 +0100)] 
SBOM: Fix the builder target variable

(cherry picked from commit b17412c732f8ec98ae47926254828cb45ff825df)

15 months agoFix syntax errors
Remi Gacogne [Tue, 26 Mar 2024 09:47:11 +0000 (10:47 +0100)] 
Fix syntax errors

(cherry picked from commit fef1b1c63e150b34a391bc836596657ec068de81)

15 months agoDisable SBOM generation on el-7 (almost EOL), fix it on el-8
Remi Gacogne [Tue, 26 Mar 2024 09:18:40 +0000 (10:18 +0100)] 
Disable SBOM generation on el-7 (almost EOL), fix it on el-8

(cherry picked from commit 4b54c7db6822c31d70a5661258b4ed70c58ee163)

15 months agoHopefully fix SBOM generation
Remi Gacogne [Mon, 25 Mar 2024 19:04:13 +0000 (20:04 +0100)] 
Hopefully fix SBOM generation

(cherry picked from commit 5efa3cdfbcf590068006030da64cd5673e11bf8d)

15 months agoAttempt to generate SBOMs after building packages
Remi Gacogne [Mon, 25 Mar 2024 13:51:05 +0000 (14:51 +0100)] 
Attempt to generate SBOMs after building packages

(cherry picked from commit 44503ded5e8e6f088d009177f5f951d408467b58)

15 months agoUse original rust version 14088/head
Otto Moerbeek [Tue, 23 Apr 2024 09:20:03 +0000 (11:20 +0200)] 
Use original rust version

15 months agoFix recursor builds: fix invalid path for builder-support/helpers
Remi Gacogne [Mon, 25 Mar 2024 16:01:19 +0000 (17:01 +0100)] 
Fix recursor builds: fix invalid path for builder-support/helpers

15 months agoFix recursor builds: we now require `jq` during the `dist` phase
Remi Gacogne [Mon, 25 Mar 2024 15:24:47 +0000 (16:24 +0100)] 
Fix recursor builds: we now require `jq` during the `dist` phase

15 months agoAdd license, publisher information to the external deps data
Remi Gacogne [Mon, 25 Mar 2024 10:57:11 +0000 (11:57 +0100)] 
Add license, publisher information to the external deps data

(cherry picked from commit cb7e7db7990d4a6ea7a873e3ff4d0c63cd2f1291)

15 months agoMove the version (and hashes) of external dependencies to JSON files
Remi Gacogne [Fri, 22 Mar 2024 14:38:08 +0000 (15:38 +0100)] 
Move the version (and hashes) of external dependencies to JSON files

(cherry picked from commit 4ccb0f786bab6e752ce8f6bc8223d428754c0081)

16 months agoRevert "Debian Trixie builder: install fakeroot pkg" 14108/head rec-5.0.4
Peter van Dijk [Tue, 16 Jan 2024 15:46:45 +0000 (16:46 +0100)] 
Revert "Debian Trixie builder: install fakeroot pkg"

This reverts commit a902e392a38905bec709468a6ebd26902a6c255a.

16 months agopdns-builder: update to newest, removes fakeroot usage
Peter van Dijk [Tue, 16 Jan 2024 11:42:57 +0000 (12:42 +0100)] 
pdns-builder: update to newest, removes fakeroot usage

16 months agorec: backport CVE-2024-25583 to rel/rec-5.0.4-branch
Otto Moerbeek [Tue, 9 Apr 2024 07:31:59 +0000 (09:31 +0200)] 
rec: backport CVE-2024-25583 to rel/rec-5.0.4-branch

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

16 months agoMerge pull request #13992 from omoerbeek/backport-13984-to-rec-5.0.x
Otto Moerbeek [Tue, 2 Apr 2024 05:49:55 +0000 (07:49 +0200)] 
Merge pull request #13992 from omoerbeek/backport-13984-to-rec-5.0.x

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

16 months agoMerge pull request #13991 from omoerbeek/backport-13966-to-rec-5.0.x
Otto Moerbeek [Tue, 2 Apr 2024 05:49:39 +0000 (07:49 +0200)] 
Merge pull request #13991 from omoerbeek/backport-13966-to-rec-5.0.x

rec: Backport 13966 to rec-5.0.x: let NetmaskGroup parse dont-throttle-netmasks

16 months agoMerge pull request #13990 from omoerbeek/backport-13947-to-rec-5.0.x
Otto Moerbeek [Tue, 2 Apr 2024 05:46:03 +0000 (07:46 +0200)] 
Merge pull request #13990 from omoerbeek/backport-13947-to-rec-5.0.x

rec: Backport 13947 to rec-5.0.x: fix types of two YAML settings that should be sequences of subnets

16 months agoMerge pull request #13989 from omoerbeek/backport-13926-to-rec-5.0.x
Otto Moerbeek [Tue, 2 Apr 2024 05:45:35 +0000 (07:45 +0200)] 
Merge pull request #13989 from omoerbeek/backport-13926-to-rec-5.0.x

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

16 months agoMerge pull request #13988 from omoerbeek/backport-13849-to-rec-5.0.x
Otto Moerbeek [Tue, 2 Apr 2024 05:45:19 +0000 (07:45 +0200)] 
Merge pull request #13988 from omoerbeek/backport-13849-to-rec-5.0.x

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

16 months agorec: Correctly count NSEC3s considered when chasing the closest encloser 13992/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 agorec-main: let NetmaskGroup parse dont-throttle-netmasks 13991/head
Doug Freed [Thu, 21 Mar 2024 09:42:15 +0000 (04:42 -0500)] 
rec-main: let NetmaskGroup parse dont-throttle-netmasks

This allows dont-throttle-netmasks to have negations.

(cherry picked from commit 109aebd08611cbb148cd520c7466968873e986f7)

16 months agorec: fix types of two YAML settings that should be sequences of subnets 13990/head
Otto Moerbeek [Tue, 19 Mar 2024 11:49:14 +0000 (12:49 +0100)] 
rec: fix types of two YAML settings that should be sequences of subnets

In particular, incoming.proxy_protocol_from and incomig.edns_padding_from

(cherry picked from commit 1d24ae8124caef413ecfc4b4279334967933a927)

16 months agoZTC regression test does not need auths 13989/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 13988/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)

16 months agoMerge pull request #13890 from romeroalx/backport-13720-fix-fakeroot
romeroalx [Wed, 13 Mar 2024 14:51:46 +0000 (15:51 +0100)] 
Merge pull request #13890 from romeroalx/backport-13720-fix-fakeroot

rec: Backport 13720 to rec-5.0.x: update submodule pdns-builder for removing fakeroot usage

17 months agoRevert "Debian Trixie builder: install fakeroot pkg" 13890/head
Peter van Dijk [Tue, 16 Jan 2024 15:46:45 +0000 (16:46 +0100)] 
Revert "Debian Trixie builder: install fakeroot pkg"

This reverts commit a902e392a38905bec709468a6ebd26902a6c255a.

17 months agopdns-builder: update to newest, removes fakeroot usage
Peter van Dijk [Tue, 16 Jan 2024 11:42:57 +0000 (12:42 +0100)] 
pdns-builder: update to newest, removes fakeroot usage

17 months agoMerge pull request #13845 from omoerbeek/backport-13824-to-rec-5.0.x rec-5.0.3
Otto Moerbeek [Mon, 4 Mar 2024 14:21:14 +0000 (15:21 +0100)] 
Merge pull request #13845 from omoerbeek/backport-13824-to-rec-5.0.x

rec: Backport 13824 to rec-5.0.x: log if a dnssec related limit was hit (if log_bogus is set)

17 months agoMerge pull request #13846 from omoerbeek/backport-13830-to-rec-5.0.x
Otto Moerbeek [Mon, 4 Mar 2024 14:20:53 +0000 (15:20 +0100)] 
Merge pull request #13846 from omoerbeek/backport-13830-to-rec-5.0.x

rec: Backport 13830 to rec 5.0.x: reduce RPZ memory usage

17 months agoMerge pull request #13789 from omoerbeek/backport-13580-to-rec-5.0.x
Otto Moerbeek [Mon, 4 Mar 2024 14:19:50 +0000 (15:19 +0100)] 
Merge pull request #13789 from omoerbeek/backport-13580-to-rec-5.0.x

rec: Backport 13580 to rec 5.0.x: add ubuntu-noble build target and test it daily

17 months agoMerge pull request #13852 from omoerbeek/backport-13847-to-rec-5.0.x
Otto Moerbeek [Mon, 4 Mar 2024 13:52:20 +0000 (14:52 +0100)] 
Merge pull request #13852 from omoerbeek/backport-13847-to-rec-5.0.x

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

17 months agorec: Apply Otto's suggestions 13852/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 agorec: partial backport of 13830 to rec-5.0.x: reduce RPZ memory usage 13846/head
Otto Moerbeek [Fri, 1 Mar 2024 13:31:10 +0000 (14:31 +0100)] 
rec: partial backport of 13830 to rec-5.0.x: reduce RPZ memory usage

17 months agorec: log if a dnssec related limit was hit (if log_bogus is set) 13845/head
Otto Moerbeek [Fri, 23 Feb 2024 12:24:25 +0000 (13:24 +0100)] 
rec: log if a dnssec related limit was hit (if log_bogus is set)

(cherry picked from commit 9d4a01ffa2b724907e07db423da048f68f15eca2)

17 months agoMerge pull request #13791 from omoerbeek/backport-13788-to-rec-5.0.x
Otto Moerbeek [Mon, 26 Feb 2024 20:06:03 +0000 (21:06 +0100)] 
Merge pull request #13791 from omoerbeek/backport-13788-to-rec-5.0.x

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

17 months agoTest ZTC with root zone 13791/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 agoMerge pull request #13833 from omoerbeek/backport-13813-to-rec-5.0.x
Otto Moerbeek [Mon, 26 Feb 2024 14:21:32 +0000 (15:21 +0100)] 
Merge pull request #13833 from omoerbeek/backport-13813-to-rec-5.0.x

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

17 months agoTypos 13833/head
Otto Moerbeek [Mon, 26 Feb 2024 13:59:55 +0000 (14:59 +0100)] 
Typos

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 #13790 from omoerbeek/backport-13787-to-rec-5.0.x
Otto Moerbeek [Mon, 26 Feb 2024 10:05:17 +0000 (11:05 +0100)] 
Merge pull request #13790 from omoerbeek/backport-13787-to-rec-5.0.x

rec: Backport 13787 to rec-5.0.x: skip a few test 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 13790/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 agoadd ubuntu-noble build target and test it daily 13789/head
Peter van Dijk [Wed, 6 Dec 2023 13:59:20 +0000 (14:59 +0100)] 
add ubuntu-noble build target and test it daily

(cherry picked from commit f23a1173b7b043d6afd70404fe86a4279c28cd39)

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

rec: Backport Keytrap to rec-5.0.x

18 months agoBackport of Keytrap to rec-5.0.x 13782/head rec-5.0.2
Otto Moerbeek [Mon, 22 Jan 2024 11:22:00 +0000 (12:22 +0100)] 
Backport of Keytrap to rec-5.0.x