]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Fri, 28 Mar 2025 12:27:46 +0000 (13:27 +0100)]
CI: bump postgres version
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
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 [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
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
Remi Gacogne [Thu, 13 Mar 2025 08:38:54 +0000 (09:38 +0100)]
dnsdist: Remove useless `std::round()`, as suggested by Otto
Remi Gacogne [Fri, 7 Mar 2025 11:35:24 +0000 (12:35 +0100)]
dnsdist: Add a regression test for Proxy Protocol conns with random values
Remi Gacogne [Fri, 7 Mar 2025 11:34:46 +0000 (12:34 +0100)]
dnsdist: Clear owned downstream TCP connections as soon as possible
Remi Gacogne [Thu, 6 Mar 2025 08:44:30 +0000 (09:44 +0100)]
dnsdist: Limit # of proxy protocol-enabled outgoing TCP connections
TCP worker threads keep a cache of outgoing TCP connections to a
backend to be able to reuse them for subsequent queries. Proxy
protocol-enabled outgoing TCP connections are trickier because the
proxy protocol payload is sent only once at the beginning of the
TCP connection, contains the source and destination addresses and
ports, and thus the connections can only be reused with the exact
same incoming TCP connection. For this reason these connections are
stored in a specific structure of the incoming connection, instead
of the TCP worker connection cache. However, we can only reuse a
given proxy protocol-enabled outgoing TCP connection for a subsequent
query if the TLV values contained in the proxy-protocol payload
associated to the new query are exactly the same than the ones
associated to the existing query. Up until now, we would keep an
unbounded amount of proxy protocol-enabled connections around if
the TLV values were, for example, randomly assigned per query.
This commit sets a limit on the number of such connections we will
keep around: we will keep at most N connections, where N is the
ratio between the number of concurrent queries on a single TCP
connection supported by the backend and the number of concurrent
queries on a single TCP connection supported by the frontend, with
a hard cap to 5.
Remi Gacogne [Thu, 13 Mar 2025 08:30:48 +0000 (09:30 +0100)]
Merge pull request #15289 from rgacogne/ddist-docker-meson
dnsdist: Build the `dnsdist` of our Docker image with `meson`
Otto Moerbeek [Wed, 12 Mar 2025 14:11:34 +0000 (15:11 +0100)]
Typo in help string
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Wed, 12 Mar 2025 13:49:30 +0000 (14:49 +0100)]
dnsdist: Let meson do the Lua detection (auto) in our Docker image
It will first try LuaJIT then Lua 5.3, then older versions, which
is what we want.
Remi Gacogne [Tue, 11 Mar 2025 16:01:07 +0000 (17:01 +0100)]
dnsdist: Build the `dnsdist` of our Docker image with `meson`
Remi Gacogne [Wed, 12 Mar 2025 13:46:07 +0000 (14:46 +0100)]
Merge pull request #15284 from rgacogne/ddist-docker-fix-quiche
dnsdist: Fix the location of the dnsdist-quiche library in our Docker image
Otto Moerbeek [Wed, 12 Mar 2025 10:58:00 +0000 (11:58 +0100)]
rec: meson: add libcap feature and sync build-and-test-all options with autotools variant
Otto Moerbeek [Wed, 12 Mar 2025 10:55:11 +0000 (11:55 +0100)]
Merge pull request #15292 from omoerbeek/rec-export-ffi
rec: meson build: export ffi symbols so they become available to Lua
Otto Moerbeek [Wed, 12 Mar 2025 09:54:17 +0000 (10:54 +0100)]
rec: meson build: export ffi symbols so they become available to Lua
Do that specifically (and unconditionally) for the ffi functions only,
we do not need to export everything like the autotools do with -rdynamic.
Remi Gacogne [Tue, 11 Mar 2025 15:24:49 +0000 (16:24 +0100)]
Merge pull request #15285 from rgacogne/ddist-unbreak-packages
dnsdist: Unbreak our packages
Remi Gacogne [Tue, 11 Mar 2025 14:19:28 +0000 (15:19 +0100)]
dnsdist: Unbreak our packages
`dnslabeltext.cc` is now in `libdnsdist-common`.
Remi Gacogne [Tue, 11 Mar 2025 14:04:28 +0000 (15:04 +0100)]
dnsdist: Fix the location of the dnsdist-quiche library in our Docker image
Remi Gacogne [Tue, 11 Mar 2025 13:19:30 +0000 (14:19 +0100)]
dnsdist: Remove `h2o` from our Docker image
Remi Gacogne [Tue, 11 Mar 2025 13:01:05 +0000 (14:01 +0100)]
Merge pull request #15278 from rgacogne/ddist-fix-ffi
dnsdist: Properly export FFI functions when building with `meson`
Remi Gacogne [Tue, 11 Mar 2025 10:15:35 +0000 (11:15 +0100)]
dnsdist: Properly export FFI functions when building with `meson`
Some FFI functions are not used by the `dnsdist` binary, but they are
exported nevertheless to be usable by Lua code. The visibility of
such functions is correctly set to `public`, but our `meson` build
was putting these functions in an intermediate, static library then
linking that library in the `dnsdist` binary, and unfortunately
symbol visibility is ignored by the linker in this case.
So this commit moves the FFI function out of the shared library and
link them directly into the `dnsdist` binary, making them available
to Lua again.
Otto Moerbeek [Tue, 11 Mar 2025 10:10:38 +0000 (11:10 +0100)]
Merge pull request #15277 from omoerbeek/drop-focal
drop focal builds and start building rec-5.2.x instead of rec-4.9.x
Otto Moerbeek [Tue, 11 Mar 2025 08:59:23 +0000 (09:59 +0100)]
drop focal builds and start building rec-5.2.x instead of rec-4.9.x
Francisco Laguna [Tue, 11 Mar 2025 09:11:54 +0000 (10:11 +0100)]
Merge pull request #15249 from milzi234/chore/doc-site-tweaks
Chore/doc site tweaks
Francisco Laguna [Tue, 11 Mar 2025 09:09:49 +0000 (10:09 +0100)]
Merge pull request #15204 from milzi234/feature/rclone
Feature/rclone
Otto Moerbeek [Tue, 11 Mar 2025 08:31:26 +0000 (09:31 +0100)]
Merge pull request #15272 from omoerbeek/meson-snmp
rec: fix libsnmp define and make dnsdist's meson.build the only one
Otto Moerbeek [Tue, 11 Mar 2025 08:17:48 +0000 (09:17 +0100)]
Merge pull request #15270 from omoerbeek/rec-chain-test-tcp
rec: make the chain test more reliable by using TCP
Remi Gacogne [Tue, 11 Mar 2025 08:10:51 +0000 (09:10 +0100)]
Merge pull request #15275 from rgacogne/ddist-fix-el-aarch64
dnsdist: Fix package building on arm64 EL-8
Remi Gacogne [Mon, 10 Mar 2025 14:20:59 +0000 (15:20 +0100)]
dnsdist: Disable XSK on EL arm64, it is not supported
Remi Gacogne [Mon, 10 Mar 2025 14:01:14 +0000 (15:01 +0100)]
dnsdist: libbpf and libxdp are optional if xsk is set to auto
Remi Gacogne [Mon, 10 Mar 2025 13:32:27 +0000 (14:32 +0100)]
dnsdist: Disable `-fcf-protection` on arm64 EL-8, it's not supported
Otto Moerbeek [Mon, 10 Mar 2025 14:53:54 +0000 (15:53 +0100)]
Merge pull request #15254 from omoerbeek/rec-cname-with-a
rec: if we see a CNAME and an answer record, follow CNAME