]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
11 days agodnsdist: Log packet bytes after failing to parse a CNAME from them 17543/head
Remi Gacogne [Mon, 8 Jun 2026 13:54:29 +0000 (15:54 +0200)] 
dnsdist: Log packet bytes after failing to parse a CNAME from them

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 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

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

dnsdist: Cap the amount of data buffered toward a DoH server

8 weeks agoMerge pull request #17197 from omoerbeek/rec-cachesize-neg-aggr
Otto Moerbeek [Wed, 22 Apr 2026 19:03:52 +0000 (21:03 +0200)] 
Merge pull request #17197 from omoerbeek/rec-cachesize-neg-aggr

rec: estimate size and refuse to cache big negcache entries

8 weeks agoMerge pull request #17200 from omoerbeek/yahttp-size
Otto Moerbeek [Wed, 22 Apr 2026 18:37:25 +0000 (20:37 +0200)] 
Merge pull request #17200 from omoerbeek/yahttp-size

all: Fix two cases of lacking/wrong max size compares (YWH-PGM6095-90)

8 weeks agoMerge pull request #17196 from omoerbeek/yahttp-chunksize
Otto Moerbeek [Wed, 22 Apr 2026 18:36:41 +0000 (20:36 +0200)] 
Merge pull request #17196 from omoerbeek/yahttp-chunksize

all: better handling of yahttp chunksize

8 weeks agoMerge pull request #17194 from omoerbeek/rec-limit-web-req
Otto Moerbeek [Wed, 22 Apr 2026 18:13:53 +0000 (20:13 +0200)] 
Merge pull request #17194 from omoerbeek/rec-limit-web-req

rec: limit size of incoming web request.

8 weeks agoMerge pull request #17217 from omoerbeek/rec-docs-refs
Otto Moerbeek [Wed, 22 Apr 2026 17:41:13 +0000 (19:41 +0200)] 
Merge pull request #17217 from omoerbeek/rec-docs-refs

rec docs: add references in changelogs, now that the PR numbers are known

8 weeks agoMerge pull request #17198 from miodvallat/sa-2026-05
Miod Vallat [Wed, 22 Apr 2026 16:17:54 +0000 (18:17 +0200)] 
Merge pull request #17198 from miodvallat/sa-2026-05

auth: fixes for SA 2026-05

8 weeks agoBuglets in the 2026-05 SA 17228/head
Miod Vallat [Wed, 22 Apr 2026 14:18:59 +0000 (16:18 +0200)] 
Buglets in the 2026-05 SA

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agodnsdist: Hopefully make the spell checker happy 17218/head
Remi Gacogne [Wed, 22 Apr 2026 13:20:21 +0000 (15:20 +0200)] 
dnsdist: Hopefully make the spell checker happy

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Update ChangeLog and security polling zone for 1.9.14, 2.0.5
Remi Gacogne [Wed, 22 Apr 2026 12:42:33 +0000 (14:42 +0200)] 
dnsdist: Update ChangeLog and security polling zone for 1.9.14, 2.0.5

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agorec docs: add references in changelogs, now that the PR numbers are known 17217/head
Otto Moerbeek [Wed, 22 Apr 2026 12:24:14 +0000 (14:24 +0200)] 
rec docs: add references in changelogs, now that the PR numbers are known

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoMerge pull request #17157 from rgacogne/rec-fix-17137
Otto Moerbeek [Wed, 22 Apr 2026 12:16:22 +0000 (14:16 +0200)] 
Merge pull request #17157 from rgacogne/rec-fix-17137

rec: Fix DNAME interaction with aggressive use of NSEC3

8 weeks agoMerge pull request #17156 from rgacogne/rec-fix-17136
Otto Moerbeek [Wed, 22 Apr 2026 12:15:08 +0000 (14:15 +0200)] 
Merge pull request #17156 from rgacogne/rec-fix-17136

rec: Fix DNSSEC validation of wildcard-expanded proof

8 weeks agoReformat 17194/head
Otto Moerbeek [Wed, 22 Apr 2026 12:09:33 +0000 (14:09 +0200)] 
Reformat

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoFix writer and text parser for too long alpn values. 17198/head
Otto Moerbeek [Wed, 22 Apr 2026 07:33:37 +0000 (09:33 +0200)] 
Fix writer and text parser for too long alpn values.

This is CVE-2026-33611, part of PowerDNS Security Advisory 2026-05.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoMake sure to wrap the socket in a unique_ptr to close it in all cases.
Miod Vallat [Wed, 22 Apr 2026 07:31:52 +0000 (09:31 +0200)] 
Make sure to wrap the socket in a unique_ptr to close it in all cases.

Also add a log message for empty update from rogue primaries.

This is CVE-2026-33610, part of PowerDNS Security Advisory 2026-05.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoRewrite the ldap escape function, and always escape network-controlled input.
Miod Vallat [Wed, 22 Apr 2026 07:30:16 +0000 (09:30 +0200)] 
Rewrite the ldap escape function, and always escape network-controlled input.

This new version now will correctly handle 8-bit characters (which need to
be encoded in UTF-8 and then escaped), as well as the corner cases of
leading space or # and trailing space.

This is CVE-2026-33609, part of PowerDNS Security Advisory 2026-05.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoPrevent creadeSecondaryDomain from creating an invalid bind configuration.
Miod Vallat [Wed, 22 Apr 2026 07:29:17 +0000 (09:29 +0200)] 
Prevent creadeSecondaryDomain from creating an invalid bind configuration.

- reject domain names containing quotes, as these are not allowed by bind.
- make sure the generated filename to be used to store domain data is not
  empty and does not contain path separators.

This is CVE-2026-33608, part of PowerDNS Security Advisory 2026-05.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoMerge pull request #17193 from miodvallat/secpopaul
Miod Vallat [Wed, 22 Apr 2026 11:17:39 +0000 (13:17 +0200)] 
Merge pull request #17193 from miodvallat/secpopaul

auth: SA 2026-05 updates

8 weeks agoDocumentation updates for 4.9.14 and 5.0.4. 17193/head
Miod Vallat [Wed, 22 Apr 2026 09:30:11 +0000 (11:30 +0200)] 
Documentation updates for 4.9.14 and 5.0.4.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agodnsdist: Fix CVSS links in security advisory 2026-04 17204/head
Remi Gacogne [Wed, 22 Apr 2026 10:33:15 +0000 (12:33 +0200)] 
dnsdist: Fix CVSS links in security advisory 2026-04

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #17189 from rgacogne/ddist-1.9.13-2.0.4-changelog-secpoll
Remi Gacogne [Wed, 22 Apr 2026 09:47:24 +0000 (11:47 +0200)] 
Merge pull request #17189 from rgacogne/ddist-1.9.13-2.0.4-changelog-secpoll

dnsdist: Update ChangeLog, security advisories and secpoll for 1.9.13 and 2.0.4

8 weeks agoMerge pull request #17188 from omoerbeek/rec-docs-cl-sa-fix
Otto Moerbeek [Wed, 22 Apr 2026 09:12:57 +0000 (11:12 +0200)] 
Merge pull request #17188 from omoerbeek/rec-docs-cl-sa-fix

rec docs; fix typos in SA-2026-03 and changelog, from dwfreed and winfried

8 weeks agodnsdist: Fix spelling mistakes 17189/head
Remi Gacogne [Tue, 21 Apr 2026 10:33:51 +0000 (12:33 +0200)] 
dnsdist: Fix spelling mistakes

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoTell our spell-checker to allow security researcher names, and PRSD
Remi Gacogne [Tue, 21 Apr 2026 10:26:11 +0000 (12:26 +0200)] 
Tell our spell-checker to allow security researcher names, and PRSD

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Update ChangeLog, security advisories and secpoll for 1.9.13 and 2.0.4
Remi Gacogne [Tue, 21 Apr 2026 10:18:55 +0000 (12:18 +0200)] 
dnsdist: Update ChangeLog, security advisories and secpoll for 1.9.13 and 2.0.4

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agorec docs; fix typos in SA-2026-03 and changelog, from dwfreed and winfried 17188/head
Otto Moerbeek [Wed, 22 Apr 2026 08:57:32 +0000 (10:57 +0200)] 
rec docs; fix typos in SA-2026-03 and changelog, from dwfreed and winfried

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoMerge pull request #17181 from omoerbeek/rec-prep-20260422
Otto Moerbeek [Wed, 22 Apr 2026 07:53:36 +0000 (09:53 +0200)] 
Merge pull request #17181 from omoerbeek/rec-prep-20260422

rec: Prep for SA-2026-03

8 weeks agorec: Prep for SA-2026-03 17181/head
Otto Moerbeek [Tue, 21 Apr 2026 08:30:34 +0000 (10:30 +0200)] 
rec: Prep for SA-2026-03

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agodnsdist: Add per-backend `max_udp_outstanding` YAML config setting 17180/head
Robert Edmonds [Tue, 21 Apr 2026 21:22:32 +0000 (17:22 -0400)] 
dnsdist: Add per-backend `max_udp_outstanding` YAML config setting

This commit adds a new per-backend config setting `max_udp_outstanding`
which overrides the global `tuning.udp.max_outstanding_per_backend`
setting.

If the per-backend `max_udp_outstanding` setting is omitted, the value
of the global option `tuning.udp.max_outstanding_per_backend` will be
used instead.

This allows tuning the number of UDP states allocated on a per-backend
basis in order to tune the amount of memory consumed by dnsdist.
Low-latency backends may only need a small number of UDP states, while
high-latency backends may need a higher number of UDP states.

The `tuning.udp.max_outstanding_per_backend` setting and the new
per-backend `max_udp_outstanding` setting directly control the sizes of
the vectors of `IDState` objects that are preallocated at startup.

The size of the `IDState` object can vary depending on compile time
options, but in my local build it is currently 496 bytes. This means
that a backend with the maximum number of UDP states (65535) will
require allocating at least (496 * 65535 / 1048576) = 31 MB. Similarly,
a backend with 8192 UDP states will require allocating 3.9 MB, and a
backend with 256 UDP states only requires 124 KB.

Signed-off-by: Robert Edmonds <edmonds@users.noreply.github.com>
8 weeks agoMerge pull request #17164 from rgacogne/ddist-error-on-unhandled-switch-case
Remi Gacogne [Tue, 21 Apr 2026 14:41:39 +0000 (16:41 +0200)] 
Merge pull request #17164 from rgacogne/ddist-error-on-unhandled-switch-case

dnsdist: Error on unhandled switch cases while in CI

8 weeks agodnsdist: Error on unhandled switch cases while in CI 17164/head
Remi Gacogne [Tue, 21 Apr 2026 12:42:15 +0000 (14:42 +0200)] 
dnsdist: Error on unhandled switch cases while in CI

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #17161 from omoerbeek/rec-rpz-zonemd
Otto Moerbeek [Tue, 21 Apr 2026 11:42:49 +0000 (13:42 +0200)] 
Merge pull request #17161 from omoerbeek/rec-rpz-zonemd

rec: skip ZONEMD records in RPZs