]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 25 Mar 2025 09:55:10 +0000 (10:55 +0100)]
dnsdist: Do not register Xsk sockets on configuration check or client mode
It does not make sense, and in some cases might lead to a crash
because the Xsk socket is actually an empty shared pointer in client
mode.
Remi Gacogne [Thu, 27 Mar 2025 08:40:47 +0000 (09:40 +0100)]
Merge pull request #15331 from rgacogne/ddist-meson-detection
Do not auto-enable disabled features when building with meson
Remi Gacogne [Thu, 27 Mar 2025 08:40:26 +0000 (09:40 +0100)]
Merge pull request #15351 from rgacogne/fix-yaml-bindings
dnsdist: Load Lua bindings before parsing yaml configuration
Remi Gacogne [Thu, 27 Mar 2025 08:40:04 +0000 (09:40 +0100)]
Merge pull request #15357 from rgacogne/ddist-doc-yaml-lua-options
dnsdist: Document how Lua functions can be called from YAML
Miod Vallat [Thu, 27 Mar 2025 08:35:54 +0000 (09:35 +0100)]
Merge pull request #15370 from miodvallat/strcasestr
bye bye strcasestr
Miod Vallat [Thu, 27 Mar 2025 07:58:47 +0000 (08:58 +0100)]
No need to check for or provide strcaststr() anymore.
Peter van Dijk [Tue, 25 Mar 2025 12:39:30 +0000 (13:39 +0100)]
Merge pull request #15360 from milzi234/bugfix/add-keyblock-asc
Restores powerdns-keyblocks.asc to doc.powerdns.com
Remi Gacogne [Mon, 24 Mar 2025 10:33:32 +0000 (11:33 +0100)]
meson: Delint the DoT, DoH, DoQ and DoH3 code, as suggested by Otto
Remi Gacogne [Fri, 21 Mar 2025 13:56:49 +0000 (14:56 +0100)]
meson: Optionally enable OpenSSL engines for DNSdist
Remi Gacogne [Fri, 21 Mar 2025 14:04:37 +0000 (15:04 +0100)]
meson: DoH, DoH3, DoQ and DoT are now features, not options
Remi Gacogne [Fri, 21 Mar 2025 14:02:37 +0000 (15:02 +0100)]
meson: Make SNMP support a feature, not an option
Remi Gacogne [Fri, 21 Mar 2025 14:01:21 +0000 (15:01 +0100)]
meson: Fix a few consistency nits
Remi Gacogne [Fri, 21 Mar 2025 13:58:58 +0000 (14:58 +0100)]
dnsdist: Fix CDB being automatically picked up when disabled
Remi Gacogne [Tue, 25 Mar 2025 09:05:28 +0000 (10:05 +0100)]
dnsdist: Fix a harmless but ugly TOCTOU in the regression tests
As suggested by Miod (thanks!).
Remi Gacogne [Mon, 24 Mar 2025 11:46:42 +0000 (12:46 +0100)]
dnsdist: Load Lua bindings before parsing yaml configuration
We need the Lua bindings so that inline and loaded from a file Lua
syntax work. Our regression tests did not catch this because the
setup always created an empty Lua file, causing the Lua bindings to
be loaded. This commit also fixes that by not creating (and removing
if needed) empty Lua files in the regression tests setup.
Remi Gacogne [Tue, 25 Mar 2025 08:58:44 +0000 (09:58 +0100)]
dnsdist: Apply Miod's suggestions to the Lua Action documentation
milzi234 [Tue, 25 Mar 2025 06:26:41 +0000 (07:26 +0100)]
Restores powerdns-keyblocks.asc to doc.powerdns.com
Remi Gacogne [Mon, 24 Mar 2025 16:22:00 +0000 (17:22 +0100)]
dnsdist: Document how Lua functions can be called from YAML
Miod Vallat [Mon, 24 Mar 2025 15:01:53 +0000 (16:01 +0100)]
Merge pull request #15197 from miodvallat/smarter_soa
[pdnsutil] Suggest increase-serial after create-zone
Miod Vallat [Mon, 24 Mar 2025 15:01:03 +0000 (16:01 +0100)]
Merge pull request #15334 from miodvallat/zaml
[geoip] Try and be more helpful in YAML error exceptions
Peter van Dijk [Mon, 24 Mar 2025 14:46:15 +0000 (15:46 +0100)]
Merge pull request #15353 from omoerbeek/auth-prim-logstring
auth: fix log string in case there are notifies needed
Otto Moerbeek [Mon, 24 Mar 2025 14:12:26 +0000 (15:12 +0100)]
auth: fix log string in case there are notifies needed
Otto Moerbeek [Mon, 24 Mar 2025 14:11:19 +0000 (15:11 +0100)]
Merge pull request #15352 from omoerbeek/rec-simpedottest
rec: 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>
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.
Miod Vallat [Mon, 24 Mar 2025 10:09:53 +0000 (11:09 +0100)]
Merge pull request #15327 from miodvallat/mesonry_details
[autocconf] [auth] Build tsig-tests if --enable-tools
Miod Vallat [Mon, 24 Mar 2025 06:08:51 +0000 (07:08 +0100)]
Merge pull request #15201 from jsoref/docs-allow-from
Docs: Fix allow-from markup/link
Peter van Dijk [Fri, 21 Mar 2025 14:27:08 +0000 (15:27 +0100)]
Merge pull request #15341 from Habbie/sort-locale
enforce LC_ALL=C for recently added sort calls
Miod Vallat [Fri, 21 Mar 2025 13:25:21 +0000 (14:25 +0100)]
Merge pull request #15340 from zeha/mysqlbe
mysql: use MYSQL_TYPE_LONGLONG on 64bit platforms
Peter van Dijk [Fri, 21 Mar 2025 13:19:20 +0000 (14:19 +0100)]
enforce LC_ALL=C for recently added sort calls
Miod Vallat [Fri, 21 Mar 2025 12:57:09 +0000 (13:57 +0100)]
Merge pull request #15339 from miodvallat/get_me_if_you_can
[auth] lmdb: be more robust against marked-as-deleted items
Chris Hofstaedtler [Fri, 21 Mar 2025 11:54:21 +0000 (12:54 +0100)]
mysql: use MYSQL_TYPE_LONGLONG on 64bit platforms
Found on s390x
Miod Vallat [Fri, 21 Mar 2025 11:00:56 +0000 (12:00 +0100)]
Handle marked-as-deleted elements in ReadonlyOperations::get<>
Remi Gacogne [Fri, 21 Mar 2025 10:19:12 +0000 (11:19 +0100)]
Merge pull request #15338 from rgacogne/ddist-ldl
dnsdist: Better handling of the `dlsym` missing symbol in our Rust lib
Otto Moerbeek [Fri, 21 Mar 2025 09:51:47 +0000 (10:51 +0100)]
Merge pull request #15336 from omoerbeek/rec-rpz-test-race
rec: fix a race in the RPZ regression test and modify handling of auths
Remi Gacogne [Fri, 21 Mar 2025 08:53:23 +0000 (09:53 +0100)]
dnsdist: Better handling of the `dlsym` missing symbol in our Rust lib
Remi Gacogne [Fri, 21 Mar 2025 08:12:13 +0000 (09:12 +0100)]
Merge pull request #15333 from rgacogne/ddist-fix-version-in-docker
dnsdist: Fix version number in our Docker image
Otto Moerbeek [Fri, 21 Mar 2025 06:51:18 +0000 (07:51 +0100)]
Merge pull request #15332 from rgacogne/rec-nullptr-exit-nicely
rec: Prevent a crash when exiting nicely
Miod Vallat [Thu, 20 Mar 2025 15:03:59 +0000 (16:03 +0100)]
Try and be more helpful in YAML error exceptions.
Remi Gacogne [Thu, 20 Mar 2025 14:03:25 +0000 (15:03 +0100)]
dnsdist: Fix version number in our Docker image
Remi Gacogne [Thu, 20 Mar 2025 13:42:55 +0000 (14:42 +0100)]
Merge pull request #15330 from rgacogne/ddist-fix-yaml-cdb-lmdb
dnsdist: Fix YAML configuration failure to build without CDB/LMDB
Remi Gacogne [Thu, 20 Mar 2025 13:15:47 +0000 (14:15 +0100)]
rec: Prevent a crash when exiting nicely
If a TCP connection is alive when we are exiting, we might dereference
a `null` pointer when the TCP connection destructor is called after
the thread-local `t_tcpClientCounts` object has been destroyed.
Remi Gacogne [Thu, 20 Mar 2025 12:58:31 +0000 (13:58 +0100)]
Merge pull request #15328 from rgacogne/ddist-upgrade-quiche-0.23.4
dnsdist: Upgrade Quiche to 0.23.4
Remi Gacogne [Thu, 20 Mar 2025 12:58:18 +0000 (13:58 +0100)]
Merge pull request #15329 from rgacogne/upgrade-rust-1.85.0
Upgrade Rust to 1.85.0
Remi Gacogne [Thu, 20 Mar 2025 12:35:21 +0000 (13:35 +0100)]
dnsdist: Apply suggestions from Miod's review
Remi Gacogne [Thu, 20 Mar 2025 10:56:54 +0000 (11:56 +0100)]
dnsdist: Fix YAML configuration failure to build without CDB/LMDB
Remi Gacogne [Thu, 20 Mar 2025 08:38:28 +0000 (09:38 +0100)]
Merge pull request #15326 from omoerbeek/dnsdist-trixie-pkgbuild
dnsdist: fix package build on trixie
Miod Vallat [Thu, 20 Mar 2025 06:18:04 +0000 (07:18 +0100)]
Build tsig-tests from autoconf if --enable-tools.
Miod Vallat [Wed, 19 Mar 2025 15:38:20 +0000 (16:38 +0100)]
Merge pull request #15322 from horazont/fix/doc-xfr-cycle-interval
docs: clarify secondary behaviour when xfr-cycle-interval elapses
Jonas Schäfer [Tue, 18 Mar 2025 16:20:03 +0000 (17:20 +0100)]
docs: clarify secondary behaviour when xfr-cycle-interval elapses
Result of a discussion with @Habbie in IRC (and me misreading the
docs, as usual).
Otto Moerbeek [Wed, 19 Mar 2025 12:01:38 +0000 (13:01 +0100)]
dnsdist: fix package build on trixie
Remi Gacogne [Tue, 18 Mar 2025 15:37:04 +0000 (16:37 +0100)]
Merge pull request #15320 from rgacogne/ddist-fix-secpoll-code-200a1
security polling: Fix the code for DNSdist 2.0.0 alpha1
Peter van Dijk [Tue, 18 Mar 2025 15:04:09 +0000 (16:04 +0100)]
Merge pull request #15319 from milzi234/bugfix/aws-docs-push
Fixes the documentation workflows upload
Remi Gacogne [Tue, 18 Mar 2025 14:53:19 +0000 (15:53 +0100)]
dnsdist: Upgrade Quiche to 0.23.4
Remi Gacogne [Tue, 18 Mar 2025 14:52:36 +0000 (15:52 +0100)]
Upgrade Rust to 1.85.0
Remi Gacogne [Tue, 18 Mar 2025 14:47:46 +0000 (15:47 +0100)]
security polling: Fix the code for DNSdist 2.0.0 alpha1
Peter van Dijk [Tue, 18 Mar 2025 14:12:28 +0000 (15:12 +0100)]
Merge pull request #15186 from jsoref/fail-fast-false
ci: use fail-fast: false for more jobs
milzi234 [Tue, 18 Mar 2025 14:11:44 +0000 (15:11 +0100)]
Fixes the documentation workflows upload. Uses sudo to install rclone, omits the --no-wait flag on the invalidations, since that doesn't exist (...). Lastly, adds the possibility to set DOCS_WORKFLOW_BRANCH_OVERRIDE in which case the workflow doesn't check for the branch it's running on, so it can be tested on other branches. Useful in forks.
Otto Moerbeek [Tue, 18 Mar 2025 12:11:19 +0000 (13:11 +0100)]
Avoid a few sleep calls, they should not be needed
Remi Gacogne [Tue, 18 Mar 2025 11:53:53 +0000 (12:53 +0100)]
Merge pull request #15318 from rgacogne/ddist200-a1-changelog-secpoll
dnsdist: Update secpoll and ChangeLog for 2.0.0-alpha1
Otto Moerbeek [Tue, 18 Mar 2025 10:48:12 +0000 (11:48 +0100)]
Default to *not* running auths, saves a bunch of time
Otto Moerbeek [Tue, 18 Mar 2025 10:36:47 +0000 (11:36 +0100)]
Tighter (with shorter sleeps) loop for reading, so less time wasted
Remi Gacogne [Tue, 18 Mar 2025 10:13:48 +0000 (11:13 +0100)]
Fix spell-checking
Remi Gacogne [Tue, 18 Mar 2025 10:09:25 +0000 (11:09 +0100)]
dnsdist: Update secpoll and ChangeLog for 2.0.0-alpha1
Remi Gacogne [Tue, 18 Mar 2025 08:34:56 +0000 (09:34 +0100)]
Merge pull request #15286 from romeroalx/add-back-ubuntu-focal-target
Specify the list of target-os for the daily build of packages
Remi Gacogne [Mon, 17 Mar 2025 16:16:51 +0000 (17:16 +0100)]
Merge pull request #15312 from pizchen/master
Add timeout config per UDP backend server
Remi Gacogne [Mon, 17 Mar 2025 15:57:30 +0000 (16:57 +0100)]
Merge pull request #15313 from rgacogne/ci-upgrade-clang
dnsdist: Upgrade clang to 19 in our CI
Remi Gacogne [Mon, 17 Mar 2025 15:12:51 +0000 (16:12 +0100)]
dnsdist: Hopefully override the clang version at the correct level
Remi Gacogne [Mon, 17 Mar 2025 12:33:36 +0000 (13:33 +0100)]
Merge pull request #15315 from rgacogne/ddist-fix-xsk-mode-detection
dnsdist: Fix XSK mode detection when built with `meson`
pizchen [Mon, 17 Mar 2025 12:31:10 +0000 (20:31 +0800)]
Changes for PR comments and happy clang-tidy
Remi Gacogne [Mon, 17 Mar 2025 11:44:57 +0000 (12:44 +0100)]
dnsdist: Fix XSK mode detection when built with `meson`
The detection of whether `bpf_xdp_query` is available was not done.
romeroalx [Thu, 13 Mar 2025 14:19:29 +0000 (15:19 +0100)]
build-packages.yml: support src compressed files .tar.bz and .tar.xz
romeroalx [Wed, 12 Mar 2025 11:01:03 +0000 (12:01 +0100)]
build-packages: skip target-os not available and print a warning
romeroalx [Tue, 11 Mar 2025 15:51:19 +0000 (16:51 +0100)]
build-packages-daily-master: specify the list of os to build packages for
Miod Vallat [Fri, 21 Feb 2025 09:51:31 +0000 (10:51 +0100)]
Suggest invoking increase-serial in pdnsutil create-zone
(unless default-soa-content specifies a nonzero serial number or
default-soa-edit is empty or NONE)
Remi Gacogne [Fri, 14 Mar 2025 13:17:57 +0000 (14:17 +0100)]
dnsdist: Upgrade clang to 19 in our CI
To get rid of the `WARNING: Symbolizer buffer too small` warning,
which is caused by big backtraces, and fixed in clang >= 15 by
using a dynamic symbolizer buffer size.
I only upgrade it for dnsdist because of a compatibility issue between
`libfaketime` and the ASAN implementation in recent versions of `clang`:
https://github.com/wolfcw/libfaketime/issues/365
It seems to be fixed in the `libfaketime` repository. There has not
been any release since the fix, but I guess we could compile from
a more recent commit.
pizchen [Sat, 15 Mar 2025 04:59:15 +0000 (12:59 +0800)]
Add timeout config per UDP backend server
Currently TCP backend has per server config option while UDP backend
can only use the global timeout setting. This change will add timeout
config per UDP backend server.
Otto Moerbeek [Fri, 14 Mar 2025 13:59:21 +0000 (14:59 +0100)]
rec: allow file to not exist yet in test_RPZ.py
Otto Moerbeek [Fri, 14 Mar 2025 13:52:31 +0000 (14:52 +0100)]
Merge pull request #15309 from omoerbeek/meson-systemd-cleanup
Meson systemd cleanup
Otto Moerbeek [Fri, 14 Mar 2025 12:06:34 +0000 (13:06 +0100)]
Also take into accounts dnsdist docker and package build scripts
Otto Moerbeek [Fri, 14 Mar 2025 13:12:12 +0000 (14:12 +0100)]
Merge pull request #15307 from omoerbeek/fix-symbol-export-on-macos
rec, dnsdist: Fix symbol export on macos
Remi Gacogne [Fri, 14 Mar 2025 12:13:53 +0000 (13:13 +0100)]
Merge pull request #15257 from rgacogne/ddist-owned-proxy-protocol-connections
dnsdist: Limit # of proxy protocol-enabled outgoing TCP connections
Otto Moerbeek [Wed, 12 Mar 2025 13:47:33 +0000 (14:47 +0100)]
Cleanup of meson systemd integration, governed by one feature: systemd-service
Otto Moerbeek [Fri, 14 Mar 2025 11:13:49 +0000 (12:13 +0100)]
rec and dnsdist: fix symbol export on macOS
Remi Gacogne [Fri, 14 Mar 2025 10:55:30 +0000 (11:55 +0100)]
Merge pull request #15305 from rgacogne/ddist-quickstart-typo
dnsdist: Fix a typo in the quickstart guide
Remi Gacogne [Fri, 14 Mar 2025 10:55:17 +0000 (11:55 +0100)]
Merge pull request #15304 from rgacogne/fix-meson-coverage
Properly define `COVERAGE` when code coverage is enabled via `meson`
Remi Gacogne [Fri, 14 Mar 2025 10:23:13 +0000 (11:23 +0100)]
Apply Miod's suggestion to define `COVERAGE` for `c` as well
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Fri, 14 Mar 2025 10:19:50 +0000 (11:19 +0100)]
dnsdist: Fix a typo in the quickstart guide
Remi Gacogne [Fri, 14 Mar 2025 10:17:14 +0000 (11:17 +0100)]
Properly define `COVERAGE` when code coverage is enabled via `meson`
Remi Gacogne [Fri, 14 Mar 2025 09:31:31 +0000 (10:31 +0100)]
Merge pull request #15303 from rgacogne/ddist-fix-protocol-to-dnstap-warning
dnsdist: Fix "missing declaration" warning for `ProtocolToDNSTap`
Remi Gacogne [Fri, 14 Mar 2025 08:46:36 +0000 (09:46 +0100)]
dnsdist: Fix "missing declaration" warning for `ProtocolToDNSTap`
Otto Moerbeek [Fri, 14 Mar 2025 07:38:06 +0000 (08:38 +0100)]
Merge pull request #15293 from omoerbeek/rec-meson-build-features
rec: meson: add libcap feature and sync build-and-test-all options with autotools variants
Remi Gacogne [Thu, 13 Mar 2025 20:06:46 +0000 (21:06 +0100)]
Merge pull request #15300 from rgacogne/ddist-allow-af-netlink-xdp
dnsdist: Allow `AF_NETLINK` and `AF_XDP` under `systemd`
Remi Gacogne [Thu, 13 Mar 2025 19:17:29 +0000 (20:17 +0100)]
dnsdist: Allow `AF_NETLINK` and `AF_XDP` under `systemd`
We need them for, respectively:
- IP to MAC address translation
- `XSK` packet processing
Remi Gacogne [Thu, 13 Mar 2025 18:57:57 +0000 (19:57 +0100)]
Merge pull request #15298 from chbruyand/dnsdist-protobuf
dnsdist: protobuf, support packetCacheHit and outgoingQueries fields
Remi Gacogne [Thu, 13 Mar 2025 12:52:17 +0000 (13:52 +0100)]
Merge pull request #15151 from chbruyand/dnsdist-dnstap-http
dnsdist: add support for dnstap new http_protocol field
Charles-Henri Bruyand [Thu, 13 Mar 2025 12:26:57 +0000 (13:26 +0100)]
dnsdist: protobuf, also set outgoingQueries field
Charles-Henri Bruyand [Thu, 13 Mar 2025 12:17:33 +0000 (13:17 +0100)]
fix a clang-tidy warning
Remi Gacogne [Thu, 13 Mar 2025 10:03:09 +0000 (11:03 +0100)]
Merge pull request #15297 from rgacogne/ddist-export-only-ffi-symbols
dnsdist: Export only FFI symbols, regardless of visibility
Remi Gacogne [Thu, 13 Mar 2025 09:30:57 +0000 (10:30 +0100)]
dnsdist: Export only FFI symbols, regardless of visibility