]>
git.ipfire.org Git - thirdparty/pdns.git/log
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 15:08:32 +0000 (16:08 +0100)]
dnsdist: Test `StatNode` for `\x2e` (`.`) inside labels
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 26 Mar 2026 14:19:53 +0000 (15:19 +0100)]
dnsdist: Prevent ID overflow in outgoing TCP connections
We need to take into account the pending queries as well,
since they will need IDs, when deciding whether we have
room for more queries on a connection.
Signed-off-by: Remi Gacogne <remi.gacogne@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 14:16:40 +0000 (15:16 +0100)]
dnsdist: Use `DNSName` in `StatNode` to avoid encoding issues
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
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>
Remi Gacogne [Thu, 26 Mar 2026 12:22:29 +0000 (13:22 +0100)]
dnsdist: Check record length before calling the visitor function
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.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>
Otto Moerbeek [Wed, 25 Mar 2026 08:21:22 +0000 (09:21 +0100)]
rec: zonemd null pointer dereference on non-standard schemes (#YWH-PGM6095-156)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Thu, 26 Mar 2026 08:52:13 +0000 (09:52 +0100)]
dnsdist: Handle SVCB response without any usable address
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
Remi Gacogne [Mon, 23 Mar 2026 12:27:04 +0000 (13:27 +0100)]
dnsdist: Fix out-of-bounds check for UDP responses from backend
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
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
Pieter Lexis [Wed, 4 Feb 2026 12:51:09 +0000 (13:51 +0100)]
docs: Generate schema files also when using Meson
romeroalx [Mon, 2 Feb 2026 13:33:47 +0000 (14:33 +0100)]
verify-pinned-python-pkgs: ignore extras when comparing downloaded packages
Pieter Lexis [Fri, 30 Jan 2026 12:13:54 +0000 (13:13 +0100)]
chore: create requirements.txt using --allow-unsafe to pin setuptools as well
Pieter Lexis [Fri, 30 Jan 2026 11:56:15 +0000 (12:56 +0100)]
chore: spell-check fixes
Pieter Lexis [Fri, 30 Jan 2026 11:41:24 +0000 (12:41 +0100)]
chore: ignore sphinx stamp files everywhere
Pieter Lexis [Fri, 30 Jan 2026 11:40:46 +0000 (12:40 +0100)]
docs(rec): Fix building PDF and json schema refs
Pieter Lexis [Fri, 30 Jan 2026 10:56:45 +0000 (11:56 +0100)]
docs(auth): fix building the pdf
Pieter Lexis [Fri, 30 Jan 2026 10:38:02 +0000 (11:38 +0100)]
docs: appease spell-checker
Pieter Lexis [Fri, 30 Jan 2026 10:26:15 +0000 (11:26 +0100)]
docs: Disable the actual Lua Language server
Pieter Lexis [Fri, 30 Jan 2026 10:22:19 +0000 (11:22 +0100)]
ci(auth): API spec is now OpenAPI 3.1, no need to convert
romeroalx [Thu, 29 Jan 2026 10:22:03 +0000 (11:22 +0100)]
use python-3.13 pip-compile for generating hashes
Pieter Lexis [Thu, 29 Jan 2026 19:12:44 +0000 (20:12 +0100)]
docs(auth): automatically document API examples
Pieter Lexis [Thu, 29 Jan 2026 16:00:10 +0000 (17:00 +0100)]
docs(auth): Generate a proper JSON schema
This takes the definitions from the OpenAPI spec so we can document the
JSON objects properly.
Pieter Lexis [Thu, 29 Jan 2026 15:11:52 +0000 (16:11 +0100)]
docs(auth): Make the OpenAPI definition pass the linter
Pieter Lexis [Thu, 29 Jan 2026 12:08:00 +0000 (13:08 +0100)]
docs(rec): restructure documents in the TOC
Pieter Lexis [Thu, 29 Jan 2026 11:19:59 +0000 (12:19 +0100)]
docs(rec): ignore files that are not used
Pieter Lexis [Thu, 29 Jan 2026 11:14:37 +0000 (12:14 +0100)]
docs(rec): Fix some rendering/directive issues
Pieter Lexis [Thu, 29 Jan 2026 11:09:16 +0000 (12:09 +0100)]
docs(recursor): Fix all API related objects and references