]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Thu, 17 Jul 2025 10:27:55 +0000 (12:27 +0200)]
Merge pull request #15862 from omoerbeek/backport-13970-to-rec-5.0.x
rec-5.0.x: Allow build-tags to run on forks
Josh Soref [Fri, 22 Mar 2024 12:33:44 +0000 (08:33 -0400)]
Allow build-tags to run on forks
build-tags uses: PowerDNS/pdns/.github/workflows/build-packages.yml@master
As of
f107ec62467b8779db9bbdb175721ef232ed52e5 , that workflow requires:
permissions:
actions: read # To read the workflow path.
id-token: write # To sign the provenance.
contents: write # To be able to upload assets as release artifacts
Per https://docs.github.com/en/actions/using-workflows/reusing-workflows
in order for this to work, the calling job (in build-tags) needs to
have the maximum required permissions in order for the calling workflow
to be run.
(cherry picked from commit
8c4888c19d4997d7e443c6ad4953e716ee5429b0 )
Otto Moerbeek [Thu, 17 Jul 2025 09:02:13 +0000 (11:02 +0200)]
Merge pull request #15853 from omoerbeek/backport-ecs-to-5.0.x
rec: Backport to 5.0.x: chain and harden ECS enabled queries
Otto Moerbeek [Wed, 16 Jul 2025 13:33:18 +0000 (15:33 +0200)]
Let fuzz test compile, slowParseEDNSOptions moved
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 15 Jul 2025 14:58:19 +0000 (16:58 +0200)]
Backport of Fix two issues with chaining ECS enabled queries
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 2 Jun 2025 08:50:00 +0000 (10:50 +0200)]
Fix merge errors
Otto Moerbeek [Tue, 3 Jun 2025 17:27:16 +0000 (19:27 +0200)]
Merge pull request #15623 from romeroalx/backport-14565-to-rec-5.0.x
rec-5.0.x: backport 14565 - gh actions - coveralls: avoid CI failure by setting fail-on-error: false
romeroalx [Mon, 15 Jul 2024 10:41:57 +0000 (12:41 +0200)]
gh actions - coveralls: avoid CI failure by setting fail-on-error: false
Otto Moerbeek [Wed, 28 May 2025 12:23:02 +0000 (14:23 +0200)]
Fix test names
Otto Moerbeek [Wed, 28 May 2025 11:43:02 +0000 (13:43 +0200)]
Implement metrics
Otto Moerbeek [Mon, 19 May 2025 12:31:38 +0000 (14:31 +0200)]
Alwas detect mismatches in outgoing and incoming ECS; add tests for that as well
Otto Moerbeek [Fri, 16 May 2025 09:01:19 +0000 (11:01 +0200)]
Refactor: get rid of an unneccesary loop
Otto Moerbeek [Thu, 8 May 2025 12:05:39 +0000 (14:05 +0200)]
Run all ECS tests also in hardened mode and add a specific hardened mode test
Otto Moerbeek [Thu, 8 May 2025 10:25:36 +0000 (12:25 +0200)]
Add setting and metric
Otto Moerbeek [Wed, 23 Apr 2025 11:50:51 +0000 (13:50 +0200)]
Parse ECS info if relevant and act on it if it mismatches
Moved slowParseEDNSOptions() from dnsdist specific code to common code
Otto Moerbeek [Mon, 20 Jan 2025 13:08:02 +0000 (14:08 +0100)]
Fix invalid scope test to do what I think is actually intended
Otto Moerbeek [Fri, 17 Jan 2025 10:49:21 +0000 (11:49 +0100)]
To match incoming, don't look at subnet
Otto Moerbeek [Wed, 15 Jan 2025 13:23:04 +0000 (14:23 +0100)]
Chain on ECS matching, and consider a mismatch in returned ECS as a spoof attempt
Otto Moerbeek [Wed, 15 Jan 2025 11:21:07 +0000 (12:21 +0100)]
Pass actual (optional) ecs instead of bool to asendto()
Otto Moerbeek [Tue, 29 Apr 2025 07:55:53 +0000 (09:55 +0200)]
Merge pull request #15484 from omoerbeek/rec-5.0-ubuntu-24
rec-5.0.x: switch to unbuntu-24 for workflows
Otto Moerbeek [Tue, 29 Apr 2025 07:03:53 +0000 (09:03 +0200)]
rec-5.0.x: switch to unbuntu-24 for workflows
Otto Moerbeek [Tue, 8 Apr 2025 08:14:43 +0000 (10:14 +0200)]
Merge pull request #15406 from omoerbeek/backport-15352-to-rec-5.0.x
rc: Backport 15352 to rec 5.0.x: in test_SimpleDot.py make sure we have the root DNSKEY in cache, it might require TCP
Otto Moerbeek [Mon, 24 Mar 2025 12:56:17 +0000 (13:56 +0100)]
Update regression-tests.recursor-dnssec/test_SimpleDoT.py
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit
173e64959ab4ea2890d76825be2742601727cc42 )
Otto Moerbeek [Mon, 24 Mar 2025 12:10:28 +0000 (13:10 +0100)]
rec: in test_SimpleDot.py make sure we have the root DNSKEY in cache, it might require TCP
Previously we assumed we didn't need TCP at all.
(cherry picked from commit
4025ecc524689b38527e31c1f38aa1ebb23e7bc3 )
Otto Moerbeek [Fri, 14 Mar 2025 08:48:56 +0000 (09:48 +0100)]
Merge pull request #15281 from omoerbeek/rec-backport-15254-to-rec-5.0.x
rec: Backport 15254 to rec 5.0.x: If we see both a CNAME and answer records, follow CNAME and discard the answer records
Otto Moerbeek [Fri, 14 Mar 2025 07:36:47 +0000 (08:36 +0100)]
Merge pull request #15288 from omoerbeek/rec-stop-using-ubuntu-20-on-rec-5.0.x
rec-5.0.x: Stop formatting check and start using Ubuntu-24.04 for fuzzing
Otto Moerbeek [Tue, 11 Mar 2025 15:37:52 +0000 (16:37 +0100)]
Stop using Ubuntu 20.04 and do not run formatting run
And also use more modern CodeQL workflow
Otto Moerbeek [Tue, 11 Mar 2025 09:59:32 +0000 (10:59 +0100)]
Tidy annotations
Otto Moerbeek [Tue, 4 Mar 2025 08:52:15 +0000 (09:52 +0100)]
If we see both a CNAME and answer records, follow CNAME and discard the answer records
Otto Moerbeek [Tue, 25 Feb 2025 07:32:14 +0000 (08:32 +0100)]
Merge pull request #15214 from omoerbeek/backport-14525-to-rec-5.0.x
rec: Backport 14525 to rec-5.0.x: add new root trust anchor
Otto Moerbeek [Mon, 24 Feb 2025 11:39:41 +0000 (12:39 +0100)]
rec: add new root trust anchor
Otto Moerbeek [Mon, 25 Nov 2024 08:00:44 +0000 (09:00 +0100)]
Merge pull request #14873 from romeroalx/backport-14862-to-rec-5.0.x
rec-5.0.x: Backport 14862 - builder: remove ubuntu lunar+mantic as they are EOL
Peter van Dijk [Fri, 22 Nov 2024 09:08:40 +0000 (10:08 +0100)]
builder: remove ubuntu lunar+mantic as they are EOL
Otto Moerbeek [Fri, 15 Nov 2024 07:55:10 +0000 (08:55 +0100)]
Merge pull request #14827 from omoerbeek/gh-artifact-5.0.x
rec-5.0.x: move from up/download-artifact@3 to @4
Otto Moerbeek [Wed, 6 Nov 2024 13:02:43 +0000 (14:02 +0100)]
rec-5.0.x: move from up/download-artifact@3 to @4
Otto Moerbeek [Thu, 3 Oct 2024 11:36:30 +0000 (13:36 +0200)]
Merge pull request #14744 from omoerbeek/rec-5.0.9-branch
rec: backport of CVE-2024-25590 to rec-5.0.x: limit maximum size of rr sets in record cache
Otto Moerbeek [Mon, 26 Aug 2024 12:07:54 +0000 (14:07 +0200)]
Optimization for the ADDR case: stop loop if we found 2 (A and AAAA)
Otto Moerbeek [Mon, 26 Aug 2024 11:37:34 +0000 (13:37 +0200)]
rec: backport to rec-5.0.x: limit maximum size of rr sets in record cache
Otto Moerbeek [Thu, 18 Jul 2024 12:32:37 +0000 (14:32 +0200)]
Merge pull request #14502 from omoerbeek/backport-14499-to-rec-5.0.x
rec: Backport 14499 to rec-5.0.x: limit the number of async tasks pushed to resolve NS names
Otto Moerbeek [Wed, 17 Jul 2024 08:46:58 +0000 (10:46 +0200)]
rec: limit the number of async tasks pushed to resolve NS names
Plus: as we only use a limited set of NS names for resolving,
processing all additional records does not help.
(cherry picked from commit
cd2de2ee7ad55f295a00dfce5488ee3863d974d6 )
Otto Moerbeek [Thu, 18 Jul 2024 10:05:45 +0000 (12:05 +0200)]
Merge pull request #14482 from omoerbeek/backport-14471-to-rec-5.0.x
rec: Backport of 14471 to rec-5.0.x: dump right SOA into dumpFile and report non-relative SOA for includeSOA=true
Otto Moerbeek [Thu, 18 Jul 2024 09:42:59 +0000 (11:42 +0200)]
Merge pull request #14479 from omoerbeek/backport-14404-to-rec-5.0.x
rec: Backport 14404 to rec 5.0.x: Yahttp router: avoid unsigned underflow in route()
Otto Moerbeek [Thu, 18 Jul 2024 08:08:05 +0000 (10:08 +0200)]
Merge pull request #14489 from omoerbeek/backport-14486-to-rec-5.0.x
rec: Backport 14486 to rec 5.0.x: pin pysnmp to version 5 for regression tests
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 )
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 )
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 )
Otto Moerbeek [Wed, 17 Jul 2024 09:23:19 +0000 (11:23 +0200)]
Yahttp router: avoid unsigned underflow in route()
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
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
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
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 )
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
Otto Moerbeek [Thu, 4 Jul 2024 07:19:07 +0000 (09:19 +0200)]
Add views.hh to pdns_recursor_SOURCES
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 )
Peter van Dijk [Tue, 2 Jul 2024 10:48:38 +0000 (12:48 +0200)]
import views.hh from master
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
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 )
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 )
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
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 )
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 )
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
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
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 )
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 )
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 )
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
romeroalx [Tue, 4 Jun 2024 09:16:18 +0000 (11:16 +0200)]
remove centos-8 and centos-8-stream as build targets
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
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
romeroalx [Tue, 14 May 2024 15:43:26 +0000 (17:43 +0200)]
gh actions: add WF for building and pushing images manually
romeroalx [Tue, 14 May 2024 15:40:11 +0000 (17:40 +0200)]
gh actions: modify docker.yml for building and pushing images daily (master)
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
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
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
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 )
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 )
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 )
Otto Moerbeek [Tue, 21 May 2024 09:50:04 +0000 (11:50 +0200)]
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 )
Otto Moerbeek [Tue, 21 May 2024 09:06:27 +0000 (11:06 +0200)]
Use LockGuarded construct
(cherry picked from commit
40c7e858ea5a96bc60d6a0b64a038a876b44424c )
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 )
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 )
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 )
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 )
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
romeroalx [Tue, 14 May 2024 15:26:05 +0000 (17:26 +0200)]
Adding liblua5.3-dev/libluajit-5.1-dev to dockerfiles
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
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 )
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
romeroalx [Fri, 3 May 2024 15:00:01 +0000 (17:00 +0200)]
gh actions - build-and-test-all: use ubuntu-22.04 runners
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
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
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
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
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 )
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 )
Remi Gacogne [Tue, 26 Mar 2024 10:25:14 +0000 (11:25 +0100)]
SBOM: Fix the builder target variable
(cherry picked from commit
b17412c732f8ec98ae47926254828cb45ff825df )
Remi Gacogne [Tue, 26 Mar 2024 09:47:11 +0000 (10:47 +0100)]
Fix syntax errors
(cherry picked from commit
fef1b1c63e150b34a391bc836596657ec068de81 )
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 )