]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 weeks agodnsdist: Fix invalid TCP rate limiting computation
Remi Gacogne [Thu, 7 May 2026 15:48:13 +0000 (17:48 +0200)] 
dnsdist: Fix invalid TCP rate limiting computation

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agoMerge pull request #17297 from omoerbeek/rec-auth-corsflag
Otto Moerbeek [Mon, 11 May 2026 08:37:57 +0000 (10:37 +0200)] 
Merge pull request #17297 from omoerbeek/rec-auth-corsflag

rec and auth: Implement an allow cors flag in a simlar way dnsdist has

5 weeks agoApply suggestions from code review 17297/head
Otto Moerbeek [Mon, 11 May 2026 07:20:01 +0000 (09:20 +0200)] 
Apply suggestions from code review

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoRename the option to [webserver-]cross-origin-request-header
Otto Moerbeek [Mon, 11 May 2026 07:14:30 +0000 (09:14 +0200)] 
Rename the option to [webserver-]cross-origin-request-header

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agobuild(deps): bump sigstore/cosign-installer from 4.1.1 to 4.1.2 17306/head
dependabot[bot] [Thu, 7 May 2026 14:42:12 +0000 (14:42 +0000)] 
build(deps): bump sigstore/cosign-installer from 4.1.1 to 4.1.2

Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 4.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
6 weeks agoWhen deleting an ENT record, only delete associated NSEC3 record if orphaned. 17304/head
Miod Vallat [Thu, 7 May 2026 12:43:17 +0000 (14:43 +0200)] 
When deleting an ENT record, only delete associated NSEC3 record if orphaned.

The existing logic was assuming that operations causing ENT records to
disappear take place before actual records are added, but there is
absolutely no such ordering guarantee. rectifyZone() would then create the
proper NSEC ordering, before deleting leftover ENT; but that last step
would also delete the NSEC3 chaining, requiring users to rectify their zone
a second time.

Fixes: #16816
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoAdd a test demonstrating the defect described in #16816.
Miod Vallat [Thu, 7 May 2026 12:36:33 +0000 (14:36 +0200)] 
Add a test demonstrating the defect described in #16816.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoMove to a string instead of a boolean flag, as suggested by zeha
Otto Moerbeek [Thu, 7 May 2026 12:20:38 +0000 (14:20 +0200)] 
Move to a string instead of a boolean flag, as suggested by zeha

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoAdd docs and rename auth setting name
Otto Moerbeek [Thu, 7 May 2026 10:12:00 +0000 (12:12 +0200)] 
Add docs and rename auth setting name

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoMerge pull request #17135 from rgacogne/ddist-also-set-udp-buffer-size-for-backend
Remi Gacogne [Thu, 7 May 2026 09:33:30 +0000 (11:33 +0200)] 
Merge pull request #17135 from rgacogne/ddist-also-set-udp-buffer-size-for-backend

dnsdist: Also apply UDP socket buffer sizes to backend sockets

6 weeks agoUpdate regression-tests.api/test_Basics.py
Otto Moerbeek [Thu, 7 May 2026 08:28:52 +0000 (10:28 +0200)] 
Update regression-tests.api/test_Basics.py

Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoDrop the origin part, fix auth regression test
Otto Moerbeek [Thu, 7 May 2026 08:23:25 +0000 (10:23 +0200)] 
Drop the origin part, fix auth regression test

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoMerge pull request #17291 from rgacogne/ddist-document-api-read-write-flush
Remi Gacogne [Wed, 6 May 2026 15:48:12 +0000 (17:48 +0200)] 
Merge pull request #17291 from rgacogne/ddist-document-api-read-write-flush

dnsdist: Document that flushing the cache is allowed in read-only mode

6 weeks agoMerge pull request #17290 from rgacogne/ddist-remove-ffi-pp-dead-code
Remi Gacogne [Wed, 6 May 2026 11:25:18 +0000 (13:25 +0200)] 
Merge pull request #17290 from rgacogne/ddist-remove-ffi-pp-dead-code

dnsdist: Bail out when a `NULL` pointer is passed to `dnsdist_ffi_dnsquestion_get_proxy_protocol_values`

6 weeks agoMerge pull request #17285 from omoerbeek/rec-byterreccheck
Otto Moerbeek [Wed, 6 May 2026 08:46:10 +0000 (10:46 +0200)] 
Merge pull request #17285 from omoerbeek/rec-byterreccheck

rec: check bytes received limit immediate after increase

6 weeks agoImplement an allow cors flag in a simlar way dnsdist has
Otto Moerbeek [Thu, 23 Apr 2026 12:55:53 +0000 (14:55 +0200)] 
Implement an allow cors flag in a simlar way dnsdist has

Docs and tests missing

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoMerge pull request #17283 from omoerbeek/rec-src-rem-log
Otto Moerbeek [Wed, 6 May 2026 08:14:59 +0000 (10:14 +0200)] 
Merge pull request #17283 from omoerbeek/rec-src-rem-log

rec: be more consistent in logging source and remote

6 weeks agodnsdist: Document that flushing the cache is allowed in read-only mode 17291/head
Remi Gacogne [Tue, 5 May 2026 13:22:58 +0000 (15:22 +0200)] 
dnsdist: Document that flushing the cache is allowed in read-only mode

As reported by Prasanna Dabi (thanks!) one might expect that a read-only
API would not allow the flushing of the packet cache. This is not the case,
the read-only flag controls whether the API is allowed to alter the configuration,
but flushing the content of the packet cache is always allowed.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
6 weeks agodnsdist: Catch exceptions when parsing CNAME via the Lua FFI API (YWH-PGM6095-258)
Remi Gacogne [Tue, 5 May 2026 12:53:03 +0000 (14:53 +0200)] 
dnsdist: Catch exceptions when parsing CNAME via the Lua FFI API (YWH-PGM6095-258)

It turns out that the C++ Exception Interoperability described in
https://luajit.org/extensions.html should be understood as "No" on
at least some Linux ARM platforms, so throwing exceptions is not safe
there.
This is only an issue when the exception can be raised by attacked-provided
data, as is the case here.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
6 weeks agodnsdist: Bail out when a `NULL` pointer is passed to `dnsdist_ffi_dnsquestion_get_pro... 17290/head
Remi Gacogne [Tue, 5 May 2026 09:17:19 +0000 (11:17 +0200)] 
dnsdist: Bail out when a `NULL` pointer is passed to `dnsdist_ffi_dnsquestion_get_proxy_protocol_values`

Reported by ylwango613, thanks!

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
6 weeks agoMerge pull request #17287 from rgacogne/ddist-ebpf-add-range-rule
Remi Gacogne [Tue, 5 May 2026 08:59:14 +0000 (10:59 +0200)] 
Merge pull request #17287 from rgacogne/ddist-ebpf-add-range-rule

dnsdist: Fix `BPFFilter::addRangeRule`

6 weeks agoMerge pull request #17288 from rgacogne/ddist-fix-null-ptr-deref-verbose-doh-healthcheck
Remi Gacogne [Mon, 4 May 2026 14:59:09 +0000 (16:59 +0200)] 
Merge pull request #17288 from rgacogne/ddist-fix-null-ptr-deref-verbose-doh-healthcheck

dnsdist: Fix a crash with DoH backends in verbose health-check mode

6 weeks agoMerge pull request #17289 from omoerbeek/rec-optimize-dns64
Otto Moerbeek [Mon, 4 May 2026 14:00:59 +0000 (16:00 +0200)] 
Merge pull request #17289 from omoerbeek/rec-optimize-dns64

rec: optimize dns64 PTR processing (#YWH-PGM6095-280)

6 weeks agodnsdist: Fix a crash with DoH backends in verbose health-check mode 17288/head
Remi Gacogne [Mon, 4 May 2026 12:53:10 +0000 (14:53 +0200)] 
dnsdist: Fix a crash with DoH backends in verbose health-check mode

Reported by Mehtab Zafar, many thanks!

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
6 weeks agorec: optimize dns64 PTR processing (#YWH-PGM6095-280) 17289/head
Otto Moerbeek [Mon, 4 May 2026 12:47:27 +0000 (14:47 +0200)] 
rec: optimize dns64 PTR processing (#YWH-PGM6095-280)

And return ServFail on malformed DNS64 PTR queries

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agodnsdist: Fix `BPFFilter::addRangeRule` 17287/head
Remi Gacogne [Mon, 4 May 2026 12:38:58 +0000 (14:38 +0200)] 
dnsdist: Fix `BPFFilter::addRangeRule`

Reported by Prasanna Dabi (thanks!):
"The eBPF DDoS mitigation implementation in dnsdist contains a critical logic error that prevents new range-based block rules from being applied. When the BPFFilter::addRangeRule() function is called to block a subnet, it first checks the eBPF map to determine if the rule already exists. If the subnet is not currently in the map, the bpf_lookup_elem call returns -1. In this failure state, the local CounterAndActionValue value struct remains in its default, zeroed-out state, where the action field is automatically set to BPFFilter::MatchAction::Pass.

The conditional check intended to skip redundant rules contains a logic typo: it evaluates value.action == BPFFilter::MatchAction::Pass instead of comparing the requested action parameter.Because the default state of the unpopulated struct is always Pass, the condition (res == -1 && value.action == BPFFilter::MatchAction::Pass) evaluates to true for every new rule attempt.This causes the daemon to throw a std::runtime_error and reject the mitigation."

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
6 weeks agoMerge pull request #17286 from miodvallat/beaucoupfish
Miod Vallat [Mon, 4 May 2026 12:31:07 +0000 (14:31 +0200)] 
Merge pull request #17286 from miodvallat/beaucoupfish

auth, dnsdist: lost+found, faster

6 weeks agoMerge pull request #17284 from miodvallat/grossbody
Miod Vallat [Mon, 4 May 2026 12:30:13 +0000 (14:30 +0200)] 
Merge pull request #17284 from miodvallat/grossbody

auth, dnsdist: use less inefficient code in web server

6 weeks agoPrefer std::string::find(char) when searching for a single character. 17286/head
Miod Vallat [Mon, 4 May 2026 11:50:59 +0000 (13:50 +0200)] 
Prefer std::string::find(char) when searching for a single character.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoMerge pull request #17240 from miodvallat/hardenxfr
Miod Vallat [Mon, 4 May 2026 11:42:23 +0000 (13:42 +0200)] 
Merge pull request #17240 from miodvallat/hardenxfr

auth: harden xfr*BitInt writers

6 weeks agoMissing ; 17285/head
Otto Moerbeek [Mon, 4 May 2026 10:04:24 +0000 (12:04 +0200)] 
Missing ;

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agorec: check bytes received limit immediate after increase
Otto Moerbeek [Mon, 4 May 2026 09:56:07 +0000 (11:56 +0200)] 
rec: check bytes received limit immediate after increase

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoMaintain a "current size of received body" counter. 17284/head
Miod Vallat [Mon, 4 May 2026 09:46:09 +0000 (11:46 +0200)] 
Maintain a "current size of received body" counter.

This allows us to get rid of synthesizing partial body contents as
std::string objects, only to check for their length being still within
allowed bounds.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoWiden types passed to xfr*BitInt to reject too large values. 17240/head
Miod Vallat [Fri, 24 Apr 2026 06:33:54 +0000 (08:33 +0200)] 
Widen types passed to xfr*BitInt to reject too large values.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agorec: be more consistent in logging soure and remote 17283/head
Otto Moerbeek [Mon, 4 May 2026 09:21:35 +0000 (11:21 +0200)] 
rec: be more consistent in logging soure and remote

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoMerge pull request #17255 from PowerDNS/dependabot/github_actions/KineticCafe/actions...
Remi Gacogne [Mon, 4 May 2026 08:56:29 +0000 (10:56 +0200)] 
Merge pull request #17255 from PowerDNS/dependabot/github_actions/KineticCafe/actions-dco-2.1.1

build(deps): bump KineticCafe/actions-dco from 1.3.8 to 2.1.1

6 weeks agoMerge pull request #17254 from PowerDNS/dependabot/github_actions/sigstore/cosign...
Remi Gacogne [Mon, 4 May 2026 07:58:05 +0000 (09:58 +0200)] 
Merge pull request #17254 from PowerDNS/dependabot/github_actions/sigstore/cosign-installer-4.1.1

build(deps): bump sigstore/cosign-installer from 4.1.0 to 4.1.1

6 weeks agoMerge pull request #17282 from omoerbeek/omoerbeek-patch-1
Otto Moerbeek [Mon, 4 May 2026 07:20:45 +0000 (09:20 +0200)] 
Merge pull request #17282 from omoerbeek/omoerbeek-patch-1

rec: remove use of -v flag for cp

6 weeks agorec: remove use of -v flag for cp 17282/head
Otto Moerbeek [Mon, 4 May 2026 06:20:42 +0000 (08:20 +0200)] 
rec: remove use of -v flag for cp

Fixes #17241

6 weeks agoMerge pull request #17280 from omoerbeek/rec-docs-pb
Otto Moerbeek [Mon, 4 May 2026 05:48:10 +0000 (07:48 +0200)] 
Merge pull request #17280 from omoerbeek/rec-docs-pb

rec docs: fix description of (outgoing)ProtobufServer

7 weeks agorec docs: fix description of (outgoing)ProtobufServer 17280/head
Otto Moerbeek [Fri, 1 May 2026 07:53:21 +0000 (09:53 +0200)] 
rec docs: fix description of (outgoing)ProtobufServer

And remove obsolete variant.

Fixes #17278

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agoMerge pull request #17238 from PowerDNS/dependabot/cargo/pdns/recursordist/rec-rust...
Otto Moerbeek [Fri, 1 May 2026 07:08:17 +0000 (09:08 +0200)] 
Merge pull request #17238 from PowerDNS/dependabot/cargo/pdns/recursordist/rec-rust-lib/rust/rustls-webpki-0.103.13

build(deps): bump rustls-webpki from 0.103.10 to 0.103.13 in /pdns/recursordist/rec-rust-lib/rust

7 weeks agoMerge pull request #17253 from omoerbeek/rec-docs-rpz-vs-packetcache
Otto Moerbeek [Fri, 1 May 2026 07:02:47 +0000 (09:02 +0200)] 
Merge pull request #17253 from omoerbeek/rec-docs-rpz-vs-packetcache

rec docs: add a note about RPZ vs packetcache interaction

7 weeks agoMerge pull request #17257 from omoerbeek/dnsdist-test-signedness
Otto Moerbeek [Wed, 29 Apr 2026 16:54:18 +0000 (18:54 +0200)] 
Merge pull request #17257 from omoerbeek/dnsdist-test-signedness

dnsdist: fix a few signed vs unsigned compare warnings in tests

7 weeks agoMerge pull request #17256 from omoerbeek/dnsdist-boost-1.91
Otto Moerbeek [Wed, 29 Apr 2026 16:54:05 +0000 (18:54 +0200)] 
Merge pull request #17256 from omoerbeek/dnsdist-boost-1.91

dnsdist: make code boost-1.91 compatible

7 weeks agobuild(deps): bump KineticCafe/actions-dco from 1.3.8 to 2.1.1 17255/head
dependabot[bot] [Wed, 29 Apr 2026 14:33:55 +0000 (14:33 +0000)] 
build(deps): bump KineticCafe/actions-dco from 1.3.8 to 2.1.1

Bumps [KineticCafe/actions-dco](https://github.com/kineticcafe/actions-dco) from 1.3.8 to 2.1.1.
- [Release notes](https://github.com/kineticcafe/actions-dco/releases)
- [Changelog](https://github.com/KineticCafe/actions-dco/blob/main/Changelog.md)
- [Commits](https://github.com/kineticcafe/actions-dco/compare/1c23966ecce077f76671a61caabeb13eefc72a51...6e1652ef3027ce128e65e6edd215ae053350bd16)

---
updated-dependencies:
- dependency-name: KineticCafe/actions-dco
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
7 weeks agobuild(deps): bump sigstore/cosign-installer from 4.1.0 to 4.1.1 17254/head
dependabot[bot] [Wed, 29 Apr 2026 14:33:47 +0000 (14:33 +0000)] 
build(deps): bump sigstore/cosign-installer from 4.1.0 to 4.1.1

Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
7 weeks agodnsdist: fix a few signed vs unisgned compare warnings in tests 17257/head
Otto Moerbeek [Wed, 29 Apr 2026 14:32:58 +0000 (16:32 +0200)] 
dnsdist: fix a few signed vs unisgned compare warnings in tests

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agodnsdist: make code boost-1.91 compatible 17256/head
Otto Moerbeek [Wed, 29 Apr 2026 14:29:55 +0000 (16:29 +0200)] 
dnsdist: make code boost-1.91 compatible

Fixes #17245

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agoRe-order first RPZ note 17253/head
Otto Moerbeek [Wed, 29 Apr 2026 13:36:48 +0000 (15:36 +0200)] 
Re-order first RPZ note

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agoApply suggestions from code review
Otto Moerbeek [Wed, 29 Apr 2026 13:33:41 +0000 (15:33 +0200)] 
Apply suggestions from code review

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agorec docs: add a note about RPZ vs packetcache interaction
Otto Moerbeek [Wed, 29 Apr 2026 13:11:05 +0000 (15:11 +0200)] 
rec docs: add a note about RPZ vs packetcache interaction

Discussed in #YWH-PGM6095-266 by krawall, thanks!

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agoMerge pull request #17242 from miodvallat/pastis
Miod Vallat [Wed, 29 Apr 2026 11:47:32 +0000 (13:47 +0200)] 
Merge pull request #17242 from miodvallat/pastis

prep for auth 5.1.0-beta1

7 weeks agoMerge pull request #17252 from Habbie/200-entries-should-be-enough-for-anybody auth-5.1.0-beta1
Miod Vallat [Wed, 29 Apr 2026 05:40:40 +0000 (07:40 +0200)] 
Merge pull request #17252 from Habbie/200-entries-should-be-enough-for-anybody

rec aggressive nsec test: increase entry count so we hit the 8192 byte limit on 32 bit systems too

7 weeks agoMerge pull request #17247 from franklouwers/master
Miod Vallat [Wed, 29 Apr 2026 05:15:23 +0000 (07:15 +0200)] 
Merge pull request #17247 from franklouwers/master

auth docs: update EOL policy wording

7 weeks agoMerge pull request #17248 from miodvallat/times_they_are_truncating
Miod Vallat [Tue, 28 Apr 2026 14:10:22 +0000 (16:10 +0200)] 
Merge pull request #17248 from miodvallat/times_they_are_truncating

auth: (bind) fix one bad case of time_t truncation

7 weeks agoincrease entry count so we hit the 8192 byte limit on 32 bit systems 17252/head
Peter van Dijk [Tue, 28 Apr 2026 14:06:46 +0000 (16:06 +0200)] 
increase entry count so we hit the 8192 byte limit on 32 bit systems
too

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
7 weeks agoWednesday, after all. 17242/head
Miod Vallat [Mon, 27 Apr 2026 08:19:17 +0000 (10:19 +0200)] 
Wednesday, after all.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoUpdate docs/appendices/EOL.rst 17247/head
Frank Louwers [Mon, 27 Apr 2026 14:12:40 +0000 (16:12 +0200)] 
Update docs/appendices/EOL.rst

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Frank Louwers <24672+franklouwers@users.noreply.github.com>
7 weeks agoauth docs: update EOL policy wording
Frank Louwers [Mon, 27 Apr 2026 14:01:49 +0000 (16:01 +0200)] 
auth docs: update EOL policy wording

Signed-off-by: Frank Louwers <frank@louwers.be>
7 weeks agoFix one bad case of time_t truncation. 17248/head
Miod Vallat [Mon, 27 Apr 2026 14:00:58 +0000 (16:00 +0200)] 
Fix one bad case of time_t truncation.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoMerge pull request #17243 from mind04/no-axfr-anonymous
Miod Vallat [Fri, 24 Apr 2026 12:42:41 +0000 (14:42 +0200)] 
Merge pull request #17243 from mind04/no-axfr-anonymous

auth: remove extra 'A' from some AXFR log lines

8 weeks agoauth: remove extra 'A' from some AXFR log lines 17243/head
Kees Monshouwer [Fri, 24 Apr 2026 11:33:36 +0000 (13:33 +0200)] 
auth: remove extra 'A' from some AXFR log lines

Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
8 weeks agoMerge pull request #16971 from mind04/auth-nested-catalogs
Miod Vallat [Fri, 24 Apr 2026 10:47:31 +0000 (12:47 +0200)] 
Merge pull request #16971 from mind04/auth-nested-catalogs

Auth: nested catalogs

8 weeks agoauth: make gcc 15.2 happy 16971/head
Kees Monshouwer [Fri, 24 Apr 2026 08:18:10 +0000 (10:18 +0200)] 
auth: make gcc 15.2 happy

Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
8 weeks agoauth: fix regression tests for --with-dynmodules
Kees Monshouwer [Thu, 23 Apr 2026 21:27:18 +0000 (23:27 +0200)] 
auth: fix regression tests for --with-dynmodules

Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
8 weeks agoauth: implement nested catalogs
Kees Monshouwer [Wed, 22 Jan 2025 22:57:54 +0000 (23:57 +0100)] 
auth: implement nested catalogs

Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
8 weeks agoDocumentation & secpoll updates for auth-5.1.0-beta1
Miod Vallat [Fri, 24 Apr 2026 07:13:32 +0000 (09:13 +0200)] 
Documentation & secpoll updates for auth-5.1.0-beta1

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoAdvertize lmdb comments.
Miod Vallat [Fri, 24 Apr 2026 07:10:55 +0000 (09:10 +0200)] 
Advertize lmdb comments.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoFix year
Miod Vallat [Fri, 24 Apr 2026 07:06:12 +0000 (09:06 +0200)] 
Fix year

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agobuild(deps): bump rustls-webpki in /pdns/recursordist/rec-rust-lib/rust 17238/head
dependabot[bot] [Thu, 23 Apr 2026 14:48:10 +0000 (14:48 +0000)] 
build(deps): bump rustls-webpki in /pdns/recursordist/rec-rust-lib/rust

Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.103.10 to 0.103.13.
- [Release notes](https://github.com/rustls/webpki/releases)
- [Commits](https://github.com/rustls/webpki/compare/v/0.103.10...v/0.103.13)

---
updated-dependencies:
- dependency-name: rustls-webpki
  dependency-version: 0.103.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
8 weeks agoMerge pull request #17234 from romeroalx/fix-pinning-py-0426
Remi Gacogne [Thu, 23 Apr 2026 14:47:04 +0000 (16:47 +0200)] 
Merge pull request #17234 from romeroalx/fix-pinning-py-0426

requirements.txt: update version of pinned packages

8 weeks agoMerge pull request #17237 from rgacogne/ddist-clang-tidy-warnings-20260423
Remi Gacogne [Thu, 23 Apr 2026 14:46:38 +0000 (16:46 +0200)] 
Merge pull request #17237 from rgacogne/ddist-clang-tidy-warnings-20260423

dnsdist: Fix clang-tidy warnings

8 weeks agodnsdist: Fix clang-tidy warnings 17237/head
Remi Gacogne [Thu, 23 Apr 2026 12:42:22 +0000 (14:42 +0200)] 
dnsdist: Fix clang-tidy warnings

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #17231 from rgacogne/ddist-udp-max-outstanding
Remi Gacogne [Thu, 23 Apr 2026 13:21:25 +0000 (15:21 +0200)] 
Merge pull request #17231 from rgacogne/ddist-udp-max-outstanding

dnsdist: Set default number of outstanding queries per backend to 65536

8 weeks agodnsdist: Set default number of outstanding queries per backend to 65536 17231/head
Remi Gacogne [Thu, 23 Apr 2026 08:47:01 +0000 (10:47 +0200)] 
dnsdist: Set default number of outstanding queries per backend to 65536

The existing default was off by one, wasting one possible state.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #17235 from omoerbeek/dnsparser-unquoted-bound
Remi Gacogne [Thu, 23 Apr 2026 12:31:41 +0000 (14:31 +0200)] 
Merge pull request #17235 from omoerbeek/dnsparser-unquoted-bound

common: Check boundary in getUnquotedText() as we do in getText()

8 weeks agoTidy 17235/head
Otto Moerbeek [Thu, 23 Apr 2026 11:26:49 +0000 (13:26 +0200)] 
Tidy

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agorequirements.txt: update version of pinned packages 17234/head
romeroalx [Wed, 22 Apr 2026 09:28:40 +0000 (11:28 +0200)] 
requirements.txt: update version of pinned packages

8 weeks agoCheck boundary as we do in getText()
Otto Moerbeek [Thu, 23 Apr 2026 10:23:48 +0000 (12:23 +0200)] 
Check boundary as we do in getText()

From YWH-PGM6095-137. We still stay inside the packet, so no security
issue.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoMerge pull request #17232 from omoerbeek/auth-fix-missing-test-file
Otto Moerbeek [Thu, 23 Apr 2026 10:20:35 +0000 (12:20 +0200)] 
Merge pull request #17232 from omoerbeek/auth-fix-missing-test-file

auth unit tests: add missing test file for the autotools case

8 weeks agoMerge pull request #16522 from Habbie/lmdb-full-comments
Peter van Dijk [Thu, 23 Apr 2026 10:01:30 +0000 (12:01 +0200)] 
Merge pull request #16522 from Habbie/lmdb-full-comments

auth lmdb: full support for comments

8 weeks agoMerge pull request #17218 from rgacogne/ddist-1.9.14-2.0.5-changelog-secpoll
Remi Gacogne [Thu, 23 Apr 2026 09:35:53 +0000 (11:35 +0200)] 
Merge pull request #17218 from rgacogne/ddist-1.9.14-2.0.5-changelog-secpoll

dnsdist: Update ChangeLog and security polling zone for 1.9.14, 2.0.5

8 weeks agoauth unit tests: add missing test file for the autotools case 17232/head
Otto Moerbeek [Thu, 23 Apr 2026 09:33:48 +0000 (11:33 +0200)] 
auth unit tests: add missing test file for the autotools case

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoMerge pull request #17180 from edmonds/dnsdist/per-backend-max-udp-outstanding
Remi Gacogne [Thu, 23 Apr 2026 08:57:19 +0000 (10:57 +0200)] 
Merge pull request #17180 from edmonds/dnsdist/per-backend-max-udp-outstanding

dnsdist: Add per-backend `max_udp_outstanding` YAML config setting

8 weeks agoMerge pull request #17205 from omoerbeek/rec-priv-rpz-soa
Otto Moerbeek [Thu, 23 Apr 2026 07:08:23 +0000 (09:08 +0200)] 
Merge pull request #17205 from omoerbeek/rec-priv-rpz-soa

rec: throw if no valid SOA found (YWH-PGM6095-168)

8 weeks agoMerge pull request #17203 from omoerbeek/rec-private-zonemd
Otto Moerbeek [Thu, 23 Apr 2026 07:08:06 +0000 (09:08 +0200)] 
Merge pull request #17203 from omoerbeek/rec-private-zonemd

rec: zonemd null pointer dereference on non-standard schemes (#YWH-PGM6095-156)

8 weeks agoMerge pull request #17216 from rgacogne/ddist-ywh-189
Remi Gacogne [Thu, 23 Apr 2026 07:05:33 +0000 (09:05 +0200)] 
Merge pull request #17216 from rgacogne/ddist-ywh-189

dnsdist: Prevent division by zero when computing DNSCrypt padding

8 weeks agoMerge pull request #17214 from rgacogne/ddist-ywh-170
Remi Gacogne [Thu, 23 Apr 2026 07:05:20 +0000 (09:05 +0200)] 
Merge pull request #17214 from rgacogne/ddist-ywh-170

dnsdist: Clean QUIC stream-related data after errors

8 weeks agoMerge pull request #17210 from rgacogne/ywh-159
Remi Gacogne [Thu, 23 Apr 2026 07:05:11 +0000 (09:05 +0200)] 
Merge pull request #17210 from rgacogne/ywh-159

dnsdist: Handle SVCB response without any usable address

8 weeks agoMerge pull request #17208 from rgacogne/ywh-138
Remi Gacogne [Thu, 23 Apr 2026 07:04:58 +0000 (09:04 +0200)] 
Merge pull request #17208 from rgacogne/ywh-138

dnsdist: Apply TCP connections limits to DoQ/DoH3 connections

8 weeks agoMerge pull request #17202 from omoerbeek/rec-priv-cookie-optional
Otto Moerbeek [Thu, 23 Apr 2026 06:38:33 +0000 (08:38 +0200)] 
Merge pull request #17202 from omoerbeek/rec-priv-cookie-optional

rec: only check cookie if we sent one out (YWH-PGM6095-134)

8 weeks agoMerge pull request #17201 from omoerbeek/ywh-135
Otto Moerbeek [Thu, 23 Apr 2026 06:06:29 +0000 (08:06 +0200)] 
Merge pull request #17201 from omoerbeek/ywh-135

rec: Prevent null-pointer dereference in aggressive NSEC cache

8 weeks agoMerge pull request #17228 from miodvallat/system_of_a_markdawn
Miod Vallat [Thu, 23 Apr 2026 05:47:49 +0000 (07:47 +0200)] 
Merge pull request #17228 from miodvallat/system_of_a_markdawn

auth: buglets in the 2026-05 SA

8 weeks agoMerge pull request #17199 from omoerbeek/rec-rpz-race
Otto Moerbeek [Thu, 23 Apr 2026 05:20:46 +0000 (07:20 +0200)] 
Merge pull request #17199 from omoerbeek/rec-rpz-race

rec: work on a copy of PolicyZoneData while building the new RPZ zone

8 weeks agoMerge pull request #17204 from rgacogne/ddist-sa-follow-up
Remi Gacogne [Wed, 22 Apr 2026 19:56:34 +0000 (21:56 +0200)] 
Merge pull request #17204 from rgacogne/ddist-sa-follow-up

dnsdist: Fix CVSS links in security advisory 2026-04

8 weeks agoMerge pull request #17209 from rgacogne/ywh-148
Remi Gacogne [Wed, 22 Apr 2026 19:56:24 +0000 (21:56 +0200)] 
Merge pull request #17209 from rgacogne/ywh-148

dnsdist: Fix out-of-bounds check for UDP responses from backend

8 weeks agoMerge pull request #17211 from rgacogne/ywh-163
Remi Gacogne [Wed, 22 Apr 2026 19:56:14 +0000 (21:56 +0200)] 
Merge pull request #17211 from rgacogne/ywh-163

dnsdist: Check record length before calling the visitor function

8 weeks agoMerge pull request #17212 from rgacogne/ywh-165
Remi Gacogne [Wed, 22 Apr 2026 19:56:04 +0000 (21:56 +0200)] 
Merge pull request #17212 from rgacogne/ywh-165

dnsdist: Use `DNSName` in `StatNode` to avoid encoding issues

8 weeks agoMerge pull request #17213 from rgacogne/ywh-166
Remi Gacogne [Wed, 22 Apr 2026 19:55:55 +0000 (21:55 +0200)] 
Merge pull request #17213 from rgacogne/ywh-166

dnsdist: Prevent ID overflow in outgoing TCP connections