]>
git.ipfire.org Git - thirdparty/pdns.git/log
Miod Vallat [Wed, 1 Apr 2026 07:03:29 +0000 (09:03 +0200)]
Merge pull request #17035 from miodvallat/umentation
auth: minor doc tweaks
Otto Moerbeek [Wed, 1 Apr 2026 05:51:10 +0000 (07:51 +0200)]
Merge pull request #17079 from omoerbeek/doc-plexus
docs: Add Plexus to front page
Remi Gacogne [Tue, 31 Mar 2026 14:51:21 +0000 (16:51 +0200)]
Merge pull request #17080 from rgacogne/ddist-fix-doh-regression-tests-formatting-master
dnsdist: Fix the formatting of `test_DOH.py`
Remi Gacogne [Tue, 31 Mar 2026 13:34:01 +0000 (15:34 +0200)]
dnsdist: Fix the formatting of `test_DOH.py`
I made the mistake of merging one PR where the formatting was not right,
and now it makes a lot of PRs that are not touching this code unhappy.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 31 Mar 2026 13:28:05 +0000 (15:28 +0200)]
Merge pull request #17071 from rgacogne/ywh-115
DNSWriter: Prevent overflow when generating (too) large DNS packets
Remi Gacogne [Tue, 31 Mar 2026 13:27:22 +0000 (15:27 +0200)]
dnsdist: Reformat regression tests with ruff
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 31 Mar 2026 13:26:30 +0000 (15:26 +0200)]
dnsdist: Reformat regression tests with ruff
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Tue, 31 Mar 2026 12:40:54 +0000 (14:40 +0200)]
Add Plexus to front page
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Tue, 31 Mar 2026 11:54:54 +0000 (13:54 +0200)]
Merge pull request #17065 from rgacogne/ddist-fix-js
dnsdist: Fix HTML injection in the Web dashboard
Remi Gacogne [Thu, 19 Mar 2026 09:20:36 +0000 (10:20 +0100)]
auth: Implement `consumeRemaining` in DNSParser, DNSWriter, RecordTextReader and RecordTextWriter
This is needed to deal with a bug (#17000) in the authoritative code that at
some point created non-empty ENT records in our databases.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 17 Mar 2026 14:03:34 +0000 (15:03 +0100)]
dnsdist: Update unit tests for parsing issues now reported earlier in the process
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 17 Mar 2026 13:11:18 +0000 (14:11 +0100)]
auth: Fix invalid TKEY payload in our tests
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 17 Mar 2026 13:10:51 +0000 (14:10 +0100)]
Warn early when parsing a too large DNS record
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 17 Mar 2026 13:10:22 +0000 (14:10 +0100)]
Implement a more useful version of `PacketReader::getRemaining()`
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 16 Mar 2026 14:55:29 +0000 (15:55 +0100)]
dnsparser: Harden the DNS parser against malformed records
There is no security issue: we are not reading outside of the packet
or bypassing any checks. We might however accept packets that are not
valid and that we could discard earlier in the process.
Reported by nrabrenovic in YWH-PGM6095-137.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 12 Mar 2026 14:15:00 +0000 (15:15 +0100)]
DNSWriter: Clean up the code, no functional changes
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 10 Mar 2026 12:37:02 +0000 (13:37 +0100)]
DNSWriter: Handle malformed pointers in the current content
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 31 Mar 2026 10:19:55 +0000 (12:19 +0200)]
Merge pull request #17039 from rgacogne/ddist-bench-packet-cache
dnsdist: Add micro-benchmarks for the packet cache
Remi Gacogne [Tue, 31 Mar 2026 10:19:37 +0000 (12:19 +0200)]
Merge pull request #17050 from esensar/feature/edns-padding
dnsdist: add EDNS padding support
Remi Gacogne [Tue, 31 Mar 2026 10:16:37 +0000 (12:16 +0200)]
Merge pull request #17068 from rgacogne/ddist-YWH-PGM6095-87
dnsdist: Fix DoH ACL bypass when early ACL check is disabled
Remi Gacogne [Tue, 31 Mar 2026 10:14:19 +0000 (12:14 +0200)]
Merge pull request #17067 from rgacogne/ddist-YWH-PGM6095-86
dnsdist: Fix out-of-bounds read when parsing DNS packets via Lua
Remi Gacogne [Tue, 31 Mar 2026 10:14:09 +0000 (12:14 +0200)]
Merge pull request #17066 from rgacogne/ddist-disable-cross-origin-requests-by-default
dnsdist: Disable cross-origin HTTP requests by default
Remi Gacogne [Tue, 31 Mar 2026 09:58:43 +0000 (11:58 +0200)]
Merge pull request #17072 from rgacogne/dnsdit-1.9.12-2.0.3-changelog-secpoll
dnsdist: Update ChangeLog and security polling for 1.9.12 and 2.0.3
Remi Gacogne [Tue, 31 Mar 2026 08:37:28 +0000 (10:37 +0200)]
dnsdist: Set PR # in the ChangeLog
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 31 Mar 2026 07:56:09 +0000 (09:56 +0200)]
Add researcher names to the spell-checker allow-list
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 31 Mar 2026 07:45:38 +0000 (09:45 +0200)]
dnsdist: Add security advisory 2026-02
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Pieter Lexis [Tue, 31 Mar 2026 07:53:41 +0000 (09:53 +0200)]
Merge pull request #17061 from pieterlexis/update-python-pkgs
chore: Update all python packages
Remi Gacogne [Mon, 30 Mar 2026 13:01:07 +0000 (15:01 +0200)]
dnsdist: ChangeLog and secpoll update for 1.9.12, 2.0.3
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 30 Mar 2026 15:08:26 +0000 (17:08 +0200)]
dnsdist: Drop the PR # from the available features map
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 30 Mar 2026 15:08:07 +0000 (17:08 +0200)]
dnsdist: Add more examples on how to export tags to protobuf
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Pieter Lexis [Mon, 30 Mar 2026 15:04:59 +0000 (17:04 +0200)]
chore: Update all python packages
Ensar Sarajčić [Fri, 27 Mar 2026 17:08:22 +0000 (18:08 +0100)]
dnsdist: add EDNS padding support
Adds support for EDNS padding from [RFC 7830],
implemented per [RFC 8467], specifically [Block-Length Padding Strategy],
which is used in recursor too.
Support is added for DoT, DoH, DoH3 and DoQ frontends.
[RFC 7830]: https://datatracker.ietf.org/doc/html/rfc7830
[RFC 8467]: https://datatracker.ietf.org/doc/html/rfc8467
[Block-Length Padding Strategy]: https://datatracker.ietf.org/doc/html/rfc8467#section-4.1
Closes: #10018
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Pieter Lexis [Mon, 30 Mar 2026 14:59:37 +0000 (16:59 +0200)]
Merge pull request #17059 from pieterlexis/docs-lua-anchor
docs: correct anchors to Lua funcs in search
Pieter Lexis [Mon, 30 Mar 2026 12:31:26 +0000 (14:31 +0200)]
fix: some pythopn requirement files
Remi Gacogne [Mon, 30 Mar 2026 11:52:34 +0000 (13:52 +0200)]
Merge pull request #17037 from esensar/feature/doh3-response-maps
dnsdist: add support for response maps for DoH3
Pieter Lexis [Mon, 30 Mar 2026 10:11:26 +0000 (12:11 +0200)]
docs: correct anchors to Lua funcs in search
Closes: #17028
Miod Vallat [Mon, 30 Mar 2026 07:01:58 +0000 (09:01 +0200)]
Use constant-time string comparison for pdns_control password.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Fri, 27 Mar 2026 15:41:33 +0000 (16:41 +0100)]
dnsdist: Move the existing DNSName into the response rings
Rather than creating a new one. This saves an allocation plus copy
when the name is too long to fit in the internal "short string
optimization" buffer.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Fri, 27 Mar 2026 15:02:48 +0000 (16:02 +0100)]
Merge pull request #17048 from miodvallat/tawny_or_ruby
Broader exception catching around stoi usage
Miod Vallat [Fri, 27 Mar 2026 13:25:47 +0000 (14:25 +0100)]
Catch std::logic_error around {checked_,}sto*, not std::out_of_range.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Thu, 26 Mar 2026 14:22:44 +0000 (15:22 +0100)]
dnsdist: Use `catch2` instead of `libcatch2-dev` since Ubuntu is laggind behind
This might become a catch22.
Remi Gacogne [Thu, 26 Mar 2026 12:33:18 +0000 (13:33 +0100)]
dnsdist: Build benchmark targets in CI
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 26 Mar 2026 12:13:53 +0000 (13:13 +0100)]
dnsdist: Prepare the threads vector outside of the bench
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 26 Mar 2026 10:46:26 +0000 (11:46 +0100)]
dnsdist: Add micro-benchmarks for the packet cache
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Ensar Sarajčić [Thu, 26 Mar 2026 12:25:47 +0000 (13:25 +0100)]
dnsdist: add basic regression tests for DoH3 responses map
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Ensar Sarajčić [Thu, 26 Mar 2026 12:01:06 +0000 (13:01 +0100)]
dnsdist: fix `dnsdist-doh-common` import in `doh3.hh`
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Ensar Sarajčić [Thu, 26 Mar 2026 11:50:52 +0000 (12:50 +0100)]
dnsdist: use `handleImmediateResponse` for custom responses
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Remi Gacogne [Thu, 26 Mar 2026 11:33:17 +0000 (12:33 +0100)]
Merge pull request #17038 from rgacogne/ddist-fix-micro-benchs
dnsdist: Fix micro-benchmarks compilation
Remi Gacogne [Thu, 26 Mar 2026 10:45:04 +0000 (11:45 +0100)]
dnsdist: Fix micro-benchmarks compilation
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Ensar Sarajčić [Thu, 26 Mar 2026 08:50:28 +0000 (09:50 +0100)]
dnsdist: add docs for `DOH3Frontend:setResponsesMap`
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Ensar Sarajčić [Thu, 26 Mar 2026 08:43:49 +0000 (09:43 +0100)]
dnsdist: add support for response maps for DoH3
Closes: #16202
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Pieter Lexis [Wed, 25 Mar 2026 12:58:07 +0000 (13:58 +0100)]
Correctly generate the json schema file for auth.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 25 Mar 2026 12:39:20 +0000 (13:39 +0100)]
Fix other reference name.
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Wed, 25 Mar 2026 11:57:51 +0000 (12:57 +0100)]
Merge pull request #17034 from omoerbeek/rec-man-pages-optional
rec: add meson option to not build man pages
Remi Gacogne [Wed, 25 Mar 2026 11:53:49 +0000 (12:53 +0100)]
Merge pull request #16734 from rgacogne/auth-meson-
20260116
auth: Fix a bunch of issues when building with `meson`
Otto Moerbeek [Wed, 25 Mar 2026 11:49:36 +0000 (12:49 +0100)]
Merge pull request #17033 from omoerbeek/rec-docs-followcname
rec docs: describe followCNAMERecords better
Miod Vallat [Wed, 25 Mar 2026 11:37:48 +0000 (12:37 +0100)]
Fix reference name.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Wed, 25 Mar 2026 11:19:26 +0000 (12:19 +0100)]
rec: add meson option to not build man pages
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Pieter Lexis [Wed, 25 Mar 2026 09:21:27 +0000 (10:21 +0100)]
Merge pull request #17029 from pieterlexis/dnsdist-ot-rm-assert
fix(dnsdist): don't assert on OT SpanID mismatch
Pieter Lexis [Wed, 25 Mar 2026 09:21:13 +0000 (10:21 +0100)]
Merge pull request #17031 from pieterlexis/docs-thicken-tab-text
docs: make the tab-bar easier to read
Otto Moerbeek [Wed, 25 Mar 2026 08:52:12 +0000 (09:52 +0100)]
rec docs: describe followCNAMERecords better
While working on this, I noted it is underspecified *which* CNAME
record is followed, but that is for some other time.
Fixes #17030
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Pieter Lexis [Tue, 24 Mar 2026 18:00:07 +0000 (19:00 +0100)]
docs(rec): remove unused css file
Pieter Lexis [Tue, 24 Mar 2026 17:55:48 +0000 (18:55 +0100)]
docs: Use symlinks in the repo for static content
Pieter Lexis [Tue, 24 Mar 2026 17:50:23 +0000 (18:50 +0100)]
docs: brighten tab text and bold active tab
Pieter Lexis [Tue, 24 Mar 2026 15:10:15 +0000 (16:10 +0100)]
fix(dnsdist): don't assert on OT SpanID mismatch
Spans from the backend receive threads *could* be opened before the
ones from the frontend receive threads are closed. This commit no longer
asserts but cleans up nicely.
It also adds an `abort` when sanitizers are enabled to catch this issue
when it happens inside CI.
Remi Gacogne [Mon, 23 Mar 2026 08:28:22 +0000 (09:28 +0100)]
dnsdist: Fix one remaining typo
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 20 Mar 2026 16:16:54 +0000 (17:16 +0100)]
dnsdist: Implement `pdns_features` to detect available features from `Lua`
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 20 Mar 2026 12:46:58 +0000 (13:46 +0100)]
dnsdist: Appease ruff
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 20 Mar 2026 12:45:19 +0000 (13:45 +0100)]
dnsdist: Apply Miod's suggestions
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 20 Mar 2026 10:29:45 +0000 (11:29 +0100)]
dnsdist: Speed up Protobuf regression tests
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 20 Mar 2026 10:29:16 +0000 (11:29 +0100)]
dnsdist: Add regression tests for RemoteLog tag prefixes
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 19 Mar 2026 15:39:59 +0000 (16:39 +0100)]
dnsdist: Add options to select which tags to export over ProtoBuf
This PR implements:
- ``exportTagsKeyOnly`` taking a boolean indicating whether only a tag's key should be exported
- ``exportTagsPrefixes`` taking a list of prefixes
- ``exportTagsStripPrefixes`` taking a boolean indicating whether a matching prefix should be stripped before being exported
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Mon, 23 Mar 2026 12:48:34 +0000 (13:48 +0100)]
Merge pull request #17000 from miodvallat/error_not_tolerated
auth: correctly delete ENT records from the API
Pieter Lexis [Mon, 23 Mar 2026 12:39:59 +0000 (13:39 +0100)]
Merge pull request #17025 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/cryptography-46.0.5
build(deps): bump cryptography from 46.0.4 to 46.0.5 in /pdns/dnsdistdist/docs
dependabot[bot] [Mon, 23 Mar 2026 11:29:33 +0000 (11:29 +0000)]
build(deps): bump cryptography in /pdns/dnsdistdist/docs
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.4 to 46.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.4...46.0.5)
---
updated-dependencies:
- dependency-name: cryptography
dependency-version: 46.0.5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Pieter Lexis [Mon, 23 Mar 2026 11:27:41 +0000 (12:27 +0100)]
Merge pull request #16783 from pieterlexis/dnsdist-docs-modernize
Modernize documentation
Remi Gacogne [Mon, 23 Mar 2026 10:51:44 +0000 (11:51 +0100)]
Merge pull request #17024 from rgacogne/ddist-coverity-
20260323
dnsdist: Fix a performance warning from Coverity
Remi Gacogne [Mon, 23 Mar 2026 09:42:47 +0000 (10:42 +0100)]
dnsdist: Fix a performance warning from Coverity
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Pieter Lexis [Fri, 13 Mar 2026 15:56:45 +0000 (16:56 +0100)]
chore: format generate-jsonschema.py
Pieter Lexis [Thu, 5 Mar 2026 08:32:55 +0000 (09:32 +0100)]
docs(auth): adjust the OpenAPI spec
Mostly tightening some things down, suggested by @commonism.
Pieter Lexis [Wed, 4 Mar 2026 14:17:07 +0000 (15:17 +0100)]
docs(auth): correct the req-body for setNetwork and addToView
Closes: #16941
Pieter Lexis [Tue, 3 Mar 2026 16:45:41 +0000 (17:45 +0100)]
docs(auth): drop for OpenAPI definition
Pieter Lexis [Tue, 3 Mar 2026 14:37:59 +0000 (15:37 +0100)]
docs(auth): s/False/false in the OpenAPI file
Pieter Lexis [Mon, 2 Mar 2026 17:35:08 +0000 (18:35 +0100)]
docs(auth): Add redoc as HTTP API spec explorer
Pieter Lexis [Mon, 2 Mar 2026 15:56:34 +0000 (16:56 +0100)]
docs: harmonize settings and css
Pieter Lexis [Mon, 23 Feb 2026 10:34:31 +0000 (11:34 +0100)]
docs(auth): update sphinxcontrib-openapi and squelch HTTP rendering warning
Pieter Lexis [Mon, 23 Feb 2026 10:33:51 +0000 (11:33 +0100)]
docs(auth): Add ID fields to objects (required for jsonschema)
Pieter Lexis [Mon, 23 Feb 2026 10:20:22 +0000 (11:20 +0100)]
docs(auth): Import the OpenAPI definition from #12983
Pieter Lexis [Thu, 19 Feb 2026 17:15:43 +0000 (18:15 +0100)]
docs(auth): Use refs instead of yaml anchors for parameters
Pieter Lexis [Thu, 19 Feb 2026 16:57:47 +0000 (17:57 +0100)]
docs(auth): Add missing field in Zone
Pieter Lexis [Thu, 19 Feb 2026 16:54:37 +0000 (17:54 +0100)]
docs(auth): cleanup the OpenAPI file and add consts
Pieter Lexis [Thu, 19 Feb 2026 16:49:02 +0000 (17:49 +0100)]
docs(auth): clean up swagger file a bit
Pieter Lexis [Fri, 13 Feb 2026 14:26:37 +0000 (15:26 +0100)]
docs(dnsdist): Add Lua and yaml config tabs for the guides
Pieter Lexis [Fri, 13 Feb 2026 12:29:12 +0000 (13:29 +0100)]
docs(dnsdist): fix small render issue
Pieter Lexis [Fri, 13 Feb 2026 12:26:18 +0000 (13:26 +0100)]
docs(dnsdist): fix all method references
Pieter Lexis [Fri, 13 Feb 2026 10:57:33 +0000 (11:57 +0100)]
docs(dnsdist): use a "palette", so toc following works
Pieter Lexis [Fri, 13 Feb 2026 10:10:25 +0000 (11:10 +0100)]
docs(dnsdist): fix anchors for Lua class methods
Pieter Lexis [Fri, 13 Feb 2026 09:44:04 +0000 (10:44 +0100)]
docs(dnsdist): Improve navigation a bit, allow copy for code
Pieter Lexis [Fri, 13 Feb 2026 09:26:46 +0000 (10:26 +0100)]
docs(dnsdist): get started on using tabbed boxes for Lua/yaml
Pieter Lexis [Tue, 10 Feb 2026 14:11:00 +0000 (15:11 +0100)]
doc(rec): Fix meson dist and the Zone object