]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Thu, 24 Jul 2025 08:06:21 +0000 (10:06 +0200)]
Typos in comments
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit
284d807746195952a735e342ef2f06119812ff54 )
Otto Moerbeek [Thu, 24 Jul 2025 05:25:13 +0000 (07:25 +0200)]
Use unmodified flag for post policy
(cherry picked from commit
26c4f7c44ca739fe4a9446677b532e5b56b35806 )
Otto Moerbeek [Wed, 23 Jul 2025 10:06:41 +0000 (12:06 +0200)]
rec: if a RPZ hit has a custom CNAME record, we should try harder to follow it
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit
66c8b8bca9218f6d14a76c830634e1e0d39e8f9f )
Otto Moerbeek [Thu, 17 Jul 2025 08:59:42 +0000 (10:59 +0200)]
Merge pull request #15851 from omoerbeek/backport-ecs-to-5.2.x
rec: Backport to 5.2.x: chain and harden ECS enabled queries
Otto Moerbeek [Wed, 16 Jul 2025 07:52:21 +0000 (09:52 +0200)]
Fix test, it was using a feature only available on master
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 15 Jul 2025 14:39:47 +0000 (16:39 +0200)]
Backport of Fix two issues with chaining ECS enabled queries
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 19 Jun 2025 12:54:43 +0000 (14:54 +0200)]
Switch off leak detect in CI
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, 8 Apr 2025 08:48:49 +0000 (10:48 +0200)]
Merge pull request #15403 from omoerbeek/rec-5.2.1-to-be
rec: Backport of 15396 to 5.2.x: rework of #14822: fix a difference between record-cache hit and miss in some ServFail results
Otto Moerbeek [Tue, 8 Apr 2025 08:14:18 +0000 (10:14 +0200)]
Merge pull request #15404 from omoerbeek/backport-15352-to-rec-5.2.x
rec: Backport 15352 to rec 5.2.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 [Wed, 19 Mar 2025 10:52:31 +0000 (11:52 +0100)]
rec: rework of #14822: fix a difference between record-cache hit and miss in some ServFail results
Fixes: CNAME with target non-existent record in auth zone causes segfault
Otto Moerbeek [Tue, 11 Mar 2025 12:40:26 +0000 (13:40 +0100)]
rec: 5.2.x: Remove formatting and secpoll workflows, update fuzzing to ubuntu 24.04
Otto Moerbeek [Tue, 11 Mar 2025 15:30:01 +0000 (16:30 +0100)]
Merge pull request #15279 from omoerbeek/backport-15254-to-rec-5.2.x
rec: Backport 15254 to rec-5.2.x: If we see both a CNAME and answer records, follow CNAME and discard the answer records
Otto Moerbeek [Tue, 11 Mar 2025 15:29:04 +0000 (16:29 +0100)]
Merge pull request #15282 from omoerbeek/rec-stop-using-ubuntu-20-on-rec-5.2.x
rec: 5.2.x: Remove formatting and secpoll workflows, update fuzzing to ubuntu 24.04
Otto Moerbeek [Tue, 11 Mar 2025 12:40:26 +0000 (13:40 +0100)]
rec: 5.2.x: Remove formatting and secpoll workflows, update fuzzing to ubuntu 24.04
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
(cherry picked from commit
8eb86803de0d9a61ab5e3984c3e0a43cee37322b )
Otto Moerbeek [Tue, 25 Feb 2025 07:31:51 +0000 (08:31 +0100)]
Merge pull request #15212 from omoerbeek/backport-15205-to-rec-5.2.x
rec: Backport 15203 to rec-5.2.x: switch back to serde_yaml
Otto Moerbeek [Tue, 25 Feb 2025 07:31:32 +0000 (08:31 +0100)]
Merge pull request #15211 from omoerbeek/backport-15072-to-rec-5.2.x
rec: Backport 15072 to rec-5.2.x: Adjust Content-Type header for Prometheus endpoint to include version
Otto Moerbeek [Tue, 25 Feb 2025 07:31:16 +0000 (08:31 +0100)]
Merge pull request #15210 from omoerbeek/backport-15063-to-rec-5.2.x
rec: Backport 15063 to rec-5.2.x: Include cstdint to get uint64_t
Otto Moerbeek [Tue, 25 Feb 2025 07:31:01 +0000 (08:31 +0100)]
Merge pull request #15209 from omoerbeek/backport-15023-to-rec-5.2.x
rec: Backport 15023 to rec-5.2.x: remove spurious ] in configure.ac
Miod Vallat [Thu, 9 Jan 2025 09:56:59 +0000 (10:56 +0100)]
Remove spurious ] causing shell complaints during configure.
(cherry picked from commit
b7fbaec29c727898105736f77fb0cce452739a3e )
Otto Moerbeek [Mon, 20 Jan 2025 10:09:42 +0000 (11:09 +0100)]
Include cstdint to get uint64_t
Should fix #15060
(cherry picked from commit
23dd0603511f7b34f43e8d6c121aa4277d2cb317 )
Wouter de Vries [Tue, 21 Jan 2025 14:18:57 +0000 (15:18 +0100)]
Adjust Content-Type header for Prometheus endpoint to include version
Prometheus v3 will, by default, be more strict about the content-types
returned from scrape endpoints. With the current value (just
`text/plain`), it would fail to scrape.
In this commit the value is changed from `text/plain` to `text/plain;
version=0.0.4`.
See also [1] and [2]
[1] https://prometheus.io/docs/instrumenting/exposition_formats/
[2] https://prometheus.io/docs/prometheus/3.0/migration/
(cherry picked from commit
f572f31ecd8d76793f1f5864ab740f6f7f7e2b84 )
Otto Moerbeek [Mon, 24 Feb 2025 11:00:36 +0000 (12:00 +0100)]
rec: backport 15203 to rec-5.2.x: switch back to serde_yaml
Otto Moerbeek [Fri, 10 Jan 2025 09:04:52 +0000 (10:04 +0100)]
Merge pull request #15015 from omoerbeek/backport-15010-to-rec-5.2.x
rec: Backport 15010 to rec 5.2.x: fix protobufServer(.. {taggedOnly=true}) logic for cache-returned responses
Otto Moerbeek [Wed, 8 Jan 2025 10:54:24 +0000 (11:54 +0100)]
Merge pull request #15020 from omoerbeek/backport-15019-to-rec-5.2.x
rec: Backport 15019 to rec-5.2.x: explictly log port of listening addresses
Otto Moerbeek [Wed, 8 Jan 2025 08:50:57 +0000 (09:50 +0100)]
rec: explictly log port of listening addresses
(cherry picked from commit
18afcf446561eaf7e079f7b2514b2f0830f384f6 )
Otto Moerbeek [Mon, 6 Jan 2025 13:01:49 +0000 (14:01 +0100)]
Merge pull request #15014 from omoerbeek/backport-14991-to-rec-5.2.x
rec: Backport 14991 to rec 5.2.x: zap dangling symlink
Otto Moerbeek [Mon, 6 Jan 2025 08:57:29 +0000 (09:57 +0100)]
Test the non-tagged packet cache hit case and test both UDP and TCP clients while there
(cherry picked from commit
5600caff0e8743a77b556f9976acbc5b992868aa )
Tomasz Pala [Sat, 4 Jan 2025 12:55:27 +0000 (13:55 +0100)]
recursor: outgoingProtobufServer() ignores taggedOnly protobuf option,
therefore do not annouce it; outgoing server is used as outgoingLoggers
in LWResult::Result asyncresolve(); after being introduced in
4898a34 filtering of outgoingP..S..() was not implemented since
b790ef3
(cherry picked from commit
d840333d03b1d3dbf15c2160a44dfa940ccf5533 )
Tomasz Pala [Sat, 4 Jan 2025 04:36:48 +0000 (05:36 +0100)]
Tomasz Pala [Sat, 4 Jan 2025 02:55:20 +0000 (03:55 +0100)]
rec: TCP counterpart to protobufServer(.. {taggedOnly=true}) fix
(cherry picked from commit
fc26c932d050d3f05e008f9f8864b66989d3b4d0 )
Tomasz Pala [Fri, 3 Jan 2025 23:44:55 +0000 (00:44 +0100)]
recursor: fix protobufServer(.. {taggedOnly=true}) logic for
cache-returned responses (problem existing since initial
ac10822 )
fixes #15007
(cherry picked from commit
647162c4cb641d9368ddf9f992a351c1cacf222a )
Otto Moerbeek [Fri, 20 Dec 2024 13:35:21 +0000 (14:35 +0100)]
rec: zap dangling symlink, leftover of #14926
(cherry picked from commit
472b550479aa41bb08ff76b356f454ff8e4b7c9f )
Otto Moerbeek [Fri, 13 Dec 2024 09:29:36 +0000 (10:29 +0100)]
Merge pull request #14962 from omoerbeek/backport-14957-to-rec-5.2.x
rec: backport 14957 to rec-5.2.x: Avoid local source port 4791
Otto Moerbeek [Fri, 13 Dec 2024 08:26:14 +0000 (09:26 +0100)]
Update pdns/recursordist/settings/table.py
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
(cherry picked from commit
5feb5df99f3e592634469ad723083551891e1b14 )
Otto Moerbeek [Fri, 13 Dec 2024 08:24:19 +0000 (09:24 +0100)]
Add versionchanged clause
(cherry picked from commit
f25df44319183845034bff7a0c96cc406961fc15 )
zhaojs [Thu, 12 Dec 2024 11:04:16 +0000 (19:04 +0800)]
sort udp_source_port_avoid list
(cherry picked from commit
7b8207b1c96b85579bb6d9e69e499be9c518ddae )
zhaojingshi [Thu, 12 Dec 2024 08:57:44 +0000 (16:57 +0800)]
recursor local udp port avoid 4791
When the recursor sends a DNS request and the local port is specified as 4791, if there is RDMA hardware on the machine, when the response with dst as port 4791 reaches the network card driver, it will be directly processed by the hardware as Roce v2 protocol, and the recursor will not get a response to this request.
(cherry picked from commit
d0b0158ef76e556c88ab59b2baad8c8d9970543e )
Otto Moerbeek [Fri, 13 Dec 2024 08:23:11 +0000 (09:23 +0100)]
Merge pull request #14949 from omoerbeek/rec-specialize-5.2.x-branch
rec: specialize rec-5.2.x branch
Otto Moerbeek [Tue, 10 Dec 2024 11:10:54 +0000 (12:10 +0100)]
rec: specialize rec-5.2.x branch
Otto Moerbeek [Tue, 10 Dec 2024 10:07:12 +0000 (11:07 +0100)]
Merge pull request #14942 from omoerbeek/rec-sockets-less-chatty
rec: log only one line per protocol for listening sockets,
Otto Moerbeek [Tue, 10 Dec 2024 09:56:46 +0000 (10:56 +0100)]
Merge pull request #14941 from omoerbeek/rec-meson-gen-metrics-fixup
rec: generate metrics files (also) where meson expects them
Otto Moerbeek [Tue, 10 Dec 2024 09:20:58 +0000 (10:20 +0100)]
Add comments about the prupose of the added arguments to make{UDP,TCP}ServerSockets
Otto Moerbeek [Tue, 10 Dec 2024 09:16:44 +0000 (10:16 +0100)]
Add FIXME comment
Remi Gacogne [Mon, 9 Dec 2024 15:49:56 +0000 (16:49 +0100)]
Merge pull request #14947 from rgacogne/ddist-doc-dq-elapsedus
dnsdist: Document that `DNSQuestion::getElapsedUs` will be added in 1.9.8
Remi Gacogne [Mon, 9 Dec 2024 15:08:57 +0000 (16:08 +0100)]
dnsdist: Document that `DNSQuestion::getElapsedUs` will be added in 1.9.8
Remi Gacogne [Mon, 9 Dec 2024 15:01:01 +0000 (16:01 +0100)]
Merge pull request #14938 from karelbilek/keylogfile_master
dnsdist: allow setting keyLogFile to DoT/DoH backends
Remi Gacogne [Mon, 9 Dec 2024 13:05:03 +0000 (14:05 +0100)]
Merge pull request #14930 from rgacogne/ddist-fix-WeightedBalancingFactor
dnsdist: Fix issues with the balancing factors
Karel Bilek [Mon, 9 Dec 2024 12:32:07 +0000 (13:32 +0100)]
Simple regression test for existence of SSL keys
There is no test for actual validity of the files... just if there is something there.
Karel Bilek [Mon, 9 Dec 2024 08:44:51 +0000 (09:44 +0100)]
Allow setting keyLogFile to DoT/DoH backends
Otto Moerbeek [Mon, 9 Dec 2024 11:45:55 +0000 (12:45 +0100)]
Merge pull request #14943 from omoerbeek/rec-ds-zonecut-invalid
rec: Skip the current zone when looking for a cut after an invalid DS denial proof
Otto Moerbeek [Tue, 3 Dec 2024 10:57:23 +0000 (11:57 +0100)]
rec: Skip the current zone when looking for a cut after an invalid DS denial proof
Otto Moerbeek [Mon, 9 Dec 2024 08:32:02 +0000 (09:32 +0100)]
rec: log only one line per protocol for listening sockets,
Instead of addresses * threads * protocol lines
Otto Moerbeek [Mon, 9 Dec 2024 08:28:33 +0000 (09:28 +0100)]
Update pdns/recursordist/metrics.py
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Miod Vallat [Mon, 9 Dec 2024 06:41:25 +0000 (07:41 +0100)]
Merge pull request #14913 from miodvallat/bugfix/12650
[bugfix] Reject hexadecimal blobs with odd number of characters
Otto Moerbeek [Fri, 6 Dec 2024 15:42:19 +0000 (16:42 +0100)]
rec: generate metrics files (also) where meson expects them
This avoids unneccesary regeneration of files
Remi Gacogne [Fri, 6 Dec 2024 10:27:13 +0000 (11:27 +0100)]
dnsdist: Add a regression tests for whashed and chashed
Remi Gacogne [Fri, 6 Dec 2024 10:28:00 +0000 (11:28 +0100)]
Merge pull request #14936 from rgacogne/gate-daily-packages-build
CI: Run the daily package building workflow only if requested
Remi Gacogne [Fri, 6 Dec 2024 09:39:13 +0000 (10:39 +0100)]
CI: Run the daily package building workflow only if requested
After this commit, the `build-packages-daily-master` workflow will
only be executed on repositories that have a `SCHEDULED_PACKAGES_DAILY`
variable set to a non-negative value.
Peter van Dijk [Fri, 6 Dec 2024 09:15:07 +0000 (10:15 +0100)]
Merge pull request #14926 from miodvallat/feature/12953
[feature] remove support for libdecaf
Miod Vallat [Fri, 6 Dec 2024 07:35:59 +0000 (08:35 +0100)]
Add unit test for invalid NSEC3 hex blob.
Miod Vallat [Wed, 4 Dec 2024 08:39:02 +0000 (09:39 +0100)]
Remove support for libdecaf.
Fixes #12953
Otto Moerbeek [Thu, 5 Dec 2024 10:51:21 +0000 (11:51 +0100)]
Merge pull request #14934 from omoerbeek/gh-action-build-name
GH workflow for building packages: change name so target isn't chopped off
Remi Gacogne [Wed, 4 Dec 2024 14:29:45 +0000 (15:29 +0100)]
dnsdist: Fix the consistency check for the balancing factors
Zero is the initial value, but until now it was only possible to pass a value greater than or equal to 1.0 to `setWeightedBalancingFactor()` so it was not possible to reset it to the default value.
Remi Gacogne [Wed, 4 Dec 2024 14:28:50 +0000 (15:28 +0100)]
dnsdist: Fix `whashed` and `wrandom` using the wrong parameter for consistent hashing
Remi Gacogne [Wed, 4 Dec 2024 08:16:29 +0000 (09:16 +0100)]
Merge pull request #14923 from belminf/master
dnsdist: Fix addMaintenanceCallback example
Peter van Dijk [Tue, 3 Dec 2024 21:51:08 +0000 (22:51 +0100)]
Merge pull request #14925 from milzi234/bugfix/recursor-docs-build
adjusted paths
milzi234 [Tue, 3 Dec 2024 21:17:28 +0000 (22:17 +0100)]
adjusted paths
Belmin Fernandez [Tue, 3 Dec 2024 18:57:18 +0000 (13:57 -0500)]
dnsdist: Fix addMaintenanceCallback example
milzi234 [Tue, 3 Dec 2024 18:53:30 +0000 (19:53 +0100)]
Merge pull request #14922 from milzi234/bugfix/pdfs-in-wrong-location
put pdfs in latex subdirectory before uploading to web1
milzi234 [Tue, 3 Dec 2024 16:46:11 +0000 (17:46 +0100)]
or remove the extra upload step :)
milzi234 [Tue, 3 Dec 2024 16:23:14 +0000 (17:23 +0100)]
put pdfs in latex subdirectory before uploading to web1
Otto Moerbeek [Tue, 3 Dec 2024 15:54:32 +0000 (16:54 +0100)]
GH workflow for building packages: change name so target isn't chopped off
Peter van Dijk [Tue, 3 Dec 2024 14:09:57 +0000 (15:09 +0100)]
Merge pull request #14921 from milzi234/bugfix/missing-pdfs
also add the PDFs to the websites
milzi234 [Tue, 3 Dec 2024 12:39:06 +0000 (13:39 +0100)]
also add the PDFs to the websites
Peter van Dijk [Tue, 3 Dec 2024 11:49:14 +0000 (12:49 +0100)]
Merge pull request #14919 from milzi234/bugfix/untar-docs-before-pushing-to-web2
Fix for upload to web1
milzi234 [Tue, 3 Dec 2024 11:16:30 +0000 (12:16 +0100)]
untar the html docs before syncing them to web1. Remove tar.bz2 of documentation sites
Remi Gacogne [Tue, 3 Dec 2024 10:16:49 +0000 (11:16 +0100)]
Merge pull request #14912 from PowerDNS/dependabot/github_actions/actions/setup-node-4
build(deps): bump actions/setup-node from 3 to 4
Otto Moerbeek [Tue, 3 Dec 2024 09:28:11 +0000 (10:28 +0100)]
Merge pull request #14917 from omoerbeek/rec-dockerfile
rec: sync Dockerfile build options with packages
Otto Moerbeek [Tue, 3 Dec 2024 08:53:41 +0000 (09:53 +0100)]
Merge pull request #14916 from omoerbeek/docs-modernize-urls
Fix a few URLs to point directly to the powerdns website
Otto Moerbeek [Tue, 3 Dec 2024 08:25:19 +0000 (09:25 +0100)]
rec: sync Dockerfile build options with packages
Fixes #14915
Before:
Features: libcrypto-ecdsa libcrypto-
ed25519 libcrypto-ed448 libcrypto-eddsa lua nod protobuf dnstap-framestream sodium curl scrypt
After:
Features: libcrypto-ecdsa libcrypto-
ed25519 libcrypto-ed448 libcrypto-eddsa lua nod protobuf dnstap-framestream snmp sodium curl DoT scrypt
Otto Moerbeek [Tue, 3 Dec 2024 07:49:51 +0000 (08:49 +0100)]
Fix a few URLs to point directly to the powerdns website
Peter van Dijk [Mon, 2 Dec 2024 17:12:00 +0000 (18:12 +0100)]
Merge pull request #14910 from milzi234/bugfix/push-docs-to-web1
Install inv before using it
dependabot[bot] [Mon, 2 Dec 2024 15:55:43 +0000 (15:55 +0000)]
build(deps): bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Miod Vallat [Mon, 2 Dec 2024 15:47:11 +0000 (16:47 +0100)]
Reject hexadecimal blobs with odd number of characters, fixes #12650.
Changes in
4e75f84ac9a0ad451d096d8c9cad58fd3b5574dd to allow ignoring
non-hexa characters (such as whitespace) have also allowed dangling
hex digits, which were then padded with an implicit 0. This restores
the original behaviour of throwing an exception for these inputs.
milzi234 [Mon, 2 Dec 2024 11:22:21 +0000 (12:22 +0100)]
removes cargo culted lines
milzi234 [Mon, 2 Dec 2024 10:09:25 +0000 (11:09 +0100)]
Install inv before using it
Peter van Dijk [Mon, 2 Dec 2024 09:18:57 +0000 (10:18 +0100)]
Merge pull request #14767 from milzi234/master
Publish Docs to Netlify and AWS
Otto Moerbeek [Mon, 2 Dec 2024 09:01:29 +0000 (10:01 +0100)]
Merge pull request #14909 from omoerbeek/rec-startstop-fix
re: followup to 14796: also call stop hook in 1 thread case