]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Fri, 14 Feb 2025 06:57:25 +0000 (07:57 +0100)]
Typo in comment
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Otto Moerbeek [Wed, 12 Feb 2025 09:17:30 +0000 (10:17 +0100)]
Clearly separate signal handling from rec_control quit(-nicely) path
Also: as the bulk and regression tests now use quit-nicely, we don't need to do special processing
for the SAN case anymore on signals.
rec_control quit still does some SAN work and exits 1 (legacy beheviour).
Otto Moerbeek [Mon, 10 Feb 2025 13:21:01 +0000 (14:21 +0100)]
Make dnstap test handle EOF and wait on process to exit.
The wait is essential if you have multiple tests classes in a test file.
Otto Moerbeek [Fri, 7 Feb 2025 14:51:14 +0000 (15:51 +0100)]
Don't use logging in signal handler
Otto Moerbeek [Fri, 7 Feb 2025 12:23:09 +0000 (13:23 +0100)]
Start using quit-nicely in rec bulk test
Otto Moerbeek [Wed, 5 Feb 2025 15:14:04 +0000 (16:14 +0100)]
Fix autotools case for @ and adapt meson.build to handle ExecStop as well
Otto Moerbeek [Tue, 4 Feb 2025 14:13:08 +0000 (15:13 +0100)]
mangle unit file to take into account bindir and multiple instances
Otto Moerbeek [Wed, 18 Dec 2024 13:41:19 +0000 (14:41 +0100)]
Start using rec_control quit-nicely to stop rec runing under systemd's control
Otto Moerbeek [Wed, 18 Dec 2024 13:40:55 +0000 (14:40 +0100)]
Use structured logging
Otto Moerbeek [Tue, 17 Dec 2024 16:07:10 +0000 (17:07 +0100)]
Hack to get the TSAN case working (it just calls _exit())
Otto Moerbeek [Tue, 17 Dec 2024 14:54:26 +0000 (15:54 +0100)]
Don't explictly close control channel
Otto Moerbeek [Mon, 16 Dec 2024 15:11:44 +0000 (16:11 +0100)]
Update pdns/recursordist/rec-main.cc
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Otto Moerbeek [Mon, 16 Dec 2024 14:26:46 +0000 (15:26 +0100)]
rec: make quit-nicely wait on actual quit
Miod Vallat [Mon, 10 Feb 2025 12:48:50 +0000 (13:48 +0100)]
Merge pull request #15131 from miodvallat/seventh_zone_of_a_seventh_zone
[pdnsutil] Let add-zone-key use defaults from pdns.conf
Miod Vallat [Mon, 10 Feb 2025 10:45:04 +0000 (11:45 +0100)]
Make add-zone-key default to KSK rather than ZSK.
Remi Gacogne [Mon, 10 Feb 2025 11:15:46 +0000 (12:15 +0100)]
Merge pull request #15137 from rgacogne/ddist-fix-xsk-boost-lockfree-1.87
dnsdist: Fix compatibility with `boost::lockfree` >= 1.87.0
Remi Gacogne [Mon, 10 Feb 2025 10:24:28 +0000 (11:24 +0100)]
dnsdist: Fix compatibility with boost::lockfree >= 1.87.0
In https://github.com/boostorg/lockfree/pull/90 `boost::lockfree::spsc_queue`
introduced moved semantics, which is great, but added restrictions
to the callback functor that did not exist before, breaking the API.
This PR fixes that by updating our callbacks to expect an object
instead of a reference.
Remi Gacogne [Mon, 10 Feb 2025 09:43:06 +0000 (10:43 +0100)]
Merge pull request #15134 from rgacogne/ddist-quiche-version-fallback
dnsdist: Gracefully fall back to older versions of Quiche
Remi Gacogne [Fri, 7 Feb 2025 15:30:55 +0000 (16:30 +0100)]
Merge pull request #15132 from rgacogne/ddist-support-several-xdp-itf
dnsdist: Add support for multiple network interfaces in the XDP helper
Remi Gacogne [Fri, 7 Feb 2025 15:01:50 +0000 (16:01 +0100)]
dnsdist: Gracefully fall back to older versions of Quiche
Before this commit we only tried older versions of Quiche if the
`quiche` feature was not explicitely enabled, and failed otherwise.
Otto Moerbeek [Fri, 7 Feb 2025 14:56:22 +0000 (15:56 +0100)]
Merge pull request #15128 from omoerbeek/rec-fw-recurse
rec: better explain how the recurse field works in various contexts
Remi Gacogne [Fri, 7 Feb 2025 14:33:55 +0000 (15:33 +0100)]
dnsdist: Only defaults to `eth0` when no interface has been set
Remi Gacogne [Fri, 7 Feb 2025 14:16:22 +0000 (15:16 +0100)]
dnsdist: Add support for multiple network interfaces in the XDP helper
Otto Moerbeek [Fri, 7 Feb 2025 13:48:04 +0000 (14:48 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Miod Vallat [Fri, 7 Feb 2025 13:31:57 +0000 (14:31 +0100)]
Let pdns add-zone-key use defaults from pdns.conf whenever possible.
Fixes #3878
Miod Vallat [Fri, 7 Feb 2025 11:01:53 +0000 (12:01 +0100)]
Merge pull request #15124 from miodvallat/rotd
auth-{4.7.5,4.8.5,4.9.4}: changelog entries + secpoll update
Otto Moerbeek [Fri, 7 Feb 2025 09:41:05 +0000 (10:41 +0100)]
Do a consistency check of the recurse flag for the forward_zones case
Remi Gacogne [Fri, 7 Feb 2025 09:23:55 +0000 (10:23 +0100)]
Merge pull request #15126 from rgacogne/ddist-ignore-re2-broken-cflags
dnsdist: Ignore `re2`'s broken compilation flags
Otto Moerbeek [Fri, 7 Feb 2025 09:15:51 +0000 (10:15 +0100)]
rec: better explain how the `recurse` field works in various contexts
Remi Gacogne [Fri, 7 Feb 2025 09:05:48 +0000 (10:05 +0100)]
Merge pull request #15125 from rgacogne/ddist-no-doh3-meson
dnsdist: Fix meson build failure when DoH3 support is disabled
Remi Gacogne [Thu, 6 Feb 2025 16:47:39 +0000 (17:47 +0100)]
dnsdist: Ignore `re2`'s broken compilation flags
Apparently some version(s) of `re2` pass `-std=c++11` in the result
of `pkg-config --cflags`, which helpfully downgrades us from C++17
to C++11. Let's just ignore what it says.
Remi Gacogne [Thu, 6 Feb 2025 16:17:00 +0000 (17:17 +0100)]
dnsdist: Fix meson build failure when DoH3 support is disabled
Miod Vallat [Thu, 6 Feb 2025 07:24:13 +0000 (08:24 +0100)]
auth-{4.7.5,4.8.5,4.9.4}: changelog entries + secpoll update
Miod Vallat [Thu, 6 Feb 2025 11:36:15 +0000 (12:36 +0100)]
Merge pull request #15083 from miodvallat/napster
Provide additional answers in NAPTR queries
Alexis Romero [Thu, 6 Feb 2025 11:17:35 +0000 (12:17 +0100)]
Merge pull request #15121 from romeroalx/fix-version-pbr
GH Actions: documentation.yml clean-up hash validation for pip pkgs and update version of pbr
Otto Moerbeek [Wed, 5 Feb 2025 14:56:43 +0000 (15:56 +0100)]
Merge pull request #15119 from omoerbeek/rec-meson-unitfiles
rec: create service unit files when building using meson
romeroalx [Wed, 5 Feb 2025 10:46:56 +0000 (11:46 +0100)]
documentation.yml: remove pip validation. already present in misc-dailies.yml as done in #14732
romeroalx [Wed, 5 Feb 2025 10:14:07 +0000 (11:14 +0100)]
update pinned version of pbr package
Remi Gacogne [Wed, 5 Feb 2025 08:52:05 +0000 (09:52 +0100)]
Merge pull request #15120 from rgacogne/ddist-xdp-map-queues-parameters
dnsdist: Make hard-coded values configurable in xdp.py
Remi Gacogne [Wed, 5 Feb 2025 08:50:27 +0000 (09:50 +0100)]
Merge pull request #15118 from rgacogne/ddist-support-quiche-0.23-plus
dnsdist: Handle Quiche >= 0.23.0 since the API changed
Remi Gacogne [Wed, 5 Feb 2025 08:47:34 +0000 (09:47 +0100)]
Merge pull request #15115 from rgacogne/ddist-meson-follow-up
dnsdist: Better handling of out-of-tree builds
Otto Moerbeek [Wed, 5 Feb 2025 08:13:26 +0000 (09:13 +0100)]
Rewrite auth related comment
Remi Gacogne [Tue, 4 Feb 2025 16:03:51 +0000 (17:03 +0100)]
dnsdist: Delint xdp.py
Remi Gacogne [Tue, 4 Feb 2025 15:46:39 +0000 (16:46 +0100)]
dnsdist: Make hard-coded values configurable in xdp.py
- Maximum size of eBPF maps
- Number of network queues in XSK mode
Otto Moerbeek [Tue, 4 Feb 2025 15:33:47 +0000 (16:33 +0100)]
rec: create service unit files when building using meson
Stolen from auth mostly.
Fixes #15116
Remi Gacogne [Tue, 4 Feb 2025 15:24:08 +0000 (16:24 +0100)]
dnsdist: Handle Quiche >= 0.23.0 since the API changed
Quiche 0.23.0 has renamed `quiche_h3_event_headers_has_body` to
`quiche_h3_event_headers_has_more_frames`, so we need to handle that.
Remi Gacogne [Tue, 4 Feb 2025 14:07:45 +0000 (15:07 +0100)]
dnsdist: Add the XSK fuzzing target to .gitignore
Remi Gacogne [Tue, 4 Feb 2025 14:06:58 +0000 (15:06 +0100)]
dnsdist: Run our unit tests with `meson test`
Remi Gacogne [Tue, 4 Feb 2025 14:05:26 +0000 (15:05 +0100)]
dnsdist: Better handling of out-of-tree builds
Our Python script to generate actions, selectors and settings from
the YAML definitions of these items was making too many assumptions
about the current working directory, which is just wrong outside of
the autotools world.
Otto Moerbeek [Tue, 4 Feb 2025 12:40:23 +0000 (13:40 +0100)]
Merge pull request #15076 from omoerbeek/rec-meson-dist
rec: allow use of meson to create dist file
Otto Moerbeek [Tue, 4 Feb 2025 11:37:21 +0000 (12:37 +0100)]
Add a check to see if gen-version still is up-to-date
Remi Gacogne [Tue, 4 Feb 2025 10:49:41 +0000 (11:49 +0100)]
Merge pull request #14724 from rgacogne/meson
dnsdist: Add meson support
Remi Gacogne [Tue, 4 Feb 2025 08:49:19 +0000 (09:49 +0100)]
Merge pull request #15065 from rgacogne/ddist-enable-yaml-packages
dnsdist: Enable the new YAML configuration in our packages
Miod Vallat [Fri, 24 Jan 2025 08:40:23 +0000 (09:40 +0100)]
Add 'a' and 's' flags NAPTR tests to exercize previous commit.
Miod Vallat [Fri, 24 Jan 2025 08:38:32 +0000 (09:38 +0100)]
Provide NAPTR replacement information as additional answers whenever possible.
Remi Gacogne [Mon, 3 Feb 2025 14:39:04 +0000 (15:39 +0100)]
Merge pull request #15111 from rgacogne/dist-re2
dnsdist: Document that RE2 does full matching, add regression tests
Remi Gacogne [Mon, 3 Feb 2025 13:21:12 +0000 (14:21 +0100)]
dnsdist: Add spell-checking patterns
Peter van Dijk [Mon, 3 Feb 2025 13:18:32 +0000 (14:18 +0100)]
Merge pull request #15109 from Habbie/drop-circleci
remove circleci config
Remi Gacogne [Mon, 3 Feb 2025 13:10:43 +0000 (14:10 +0100)]
Merge pull request #15054 from neheb/bb
more clang-tidy fixups
Remi Gacogne [Mon, 3 Feb 2025 12:23:34 +0000 (13:23 +0100)]
dnsdist: Apply Miod's suggestions to the selectors doc
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Miod Vallat [Mon, 3 Feb 2025 11:51:36 +0000 (12:51 +0100)]
Merge pull request #15103 from miodvallat/minus_one_is_the_new_black
Grow tinybackend capabilities a bit
Remi Gacogne [Mon, 3 Feb 2025 11:34:06 +0000 (12:34 +0100)]
dnsdist: Document that RE2 does full matching, add regression tests
Peter van Dijk [Mon, 3 Feb 2025 11:22:56 +0000 (12:22 +0100)]
Merge pull request #15093 from mind04/auth-catalog-fix
auth, check return value of getCatalogMembers()
Remi Gacogne [Mon, 3 Feb 2025 11:06:40 +0000 (12:06 +0100)]
Fix clang-tidy warnings
Peter van Dijk [Mon, 3 Feb 2025 10:59:15 +0000 (11:59 +0100)]
remove circleci config
Peter van Dijk [Mon, 3 Feb 2025 10:58:40 +0000 (11:58 +0100)]
Merge pull request #15104 from zeha/zeha-bd
Replace dnsutils with bind9-dnsutils
Miod Vallat [Mon, 3 Feb 2025 10:56:54 +0000 (11:56 +0100)]
Merge pull request #15105 from miodvallat/creationism
Let pdnsutil warn when creating local files
Remi Gacogne [Mon, 3 Feb 2025 10:09:52 +0000 (11:09 +0100)]
dnsdist: Fix unused parameter warnings
Remi Gacogne [Mon, 3 Feb 2025 09:15:30 +0000 (10:15 +0100)]
dnsdist: Fix formatting and a clang-tidy warning
Miod Vallat [Fri, 31 Jan 2025 09:40:43 +0000 (10:40 +0100)]
Warn if local files have been created.
This will hopefully let users notice that they might need to perform
appropriate chown and/or chmod operations so that pdns_server can
correctly access these files.
Fixes #11060
Addresses #3386
Miod Vallat [Fri, 31 Jan 2025 08:58:03 +0000 (09:58 +0100)]
Add infrastructure for backends to report whether file creation occurred.
This only concerns the LMDB backend, as no other backend is able to
create local storage.
To be used shortly in a pdnsutil near you.
Chris Hofstaedtler [Fri, 31 Jan 2025 08:01:40 +0000 (09:01 +0100)]
Replace dnsutils with bind9-dnsutils
bind9-dnsutils exists starting in Debian bullseye, and dnsutils stopped existing in trixie.
Miod Vallat [Thu, 30 Jan 2025 15:40:01 +0000 (16:40 +0100)]
Rework domain id generation.
These changes make the internal state (TDI_t) the reference for domain
ids, which are generated on the fly as domains are added.
Routines iterating over domains make sure to keep this state updated, so
that, at any time, any domain in existence has an entry in the state and
thus an immutable (once discovered) id.
While there, implement getDomainInfo() as a wrapper over
getAllDomains(), returning only the domain we are looking for.
Fixes #14563
Kees Monshouwer [Wed, 29 Jan 2025 00:31:20 +0000 (01:31 +0100)]
auth, add [[nodiscard]] to getCatalogMembers()
Kees Monshouwer [Tue, 28 Jan 2025 17:33:20 +0000 (18:33 +0100)]
auth, check return value of getCatalogMembers()
Remi Gacogne [Tue, 28 Jan 2025 16:07:34 +0000 (17:07 +0100)]
dnsdist: Fix compilation errors w/o DoQ and DoH3, plus clang-tidy warnings
Remi Gacogne [Fri, 24 Jan 2025 15:12:44 +0000 (16:12 +0100)]
dnsdist: Fix remaining build issues for YAML with meson
Remi Gacogne [Mon, 20 Jan 2025 17:17:01 +0000 (18:17 +0100)]
dnsdist: Fix additional LDFLAGS in tasks.py
Remi Gacogne [Mon, 20 Jan 2025 16:44:44 +0000 (17:44 +0100)]
dnsdist: Correctly set env vars up for meson
Remi Gacogne [Thu, 17 Oct 2024 09:37:44 +0000 (11:37 +0200)]
dnsdist: Fix building without dnstap support enabled
Remi Gacogne [Thu, 17 Oct 2024 09:37:25 +0000 (11:37 +0200)]
dnsdist: Fix more "unused parameters" warnings
Remi Gacogne [Tue, 15 Oct 2024 14:33:05 +0000 (16:33 +0200)]
dnsdist: Fix duplicated dnslabeltext.cc
Remi Gacogne [Tue, 15 Oct 2024 10:47:16 +0000 (12:47 +0200)]
dnsdist: Fix meson build without LMDB
Remi Gacogne [Tue, 15 Oct 2024 08:49:31 +0000 (10:49 +0200)]
tasks: Properly convert sanitizers to meson
Remi Gacogne [Mon, 14 Oct 2024 19:25:16 +0000 (21:25 +0200)]
build-and-test-all: Install meson for dnsdist
Remi Gacogne [Mon, 14 Oct 2024 14:14:57 +0000 (16:14 +0200)]
dnsdist: Add meson-based builds to the CI
Remi Gacogne [Mon, 14 Oct 2024 13:20:34 +0000 (15:20 +0200)]
dnsdist: Re-enable "unused parameter" warnings
Remi Gacogne [Mon, 14 Oct 2024 13:20:16 +0000 (15:20 +0200)]
dnsdist: Fix a lot of "unused parameter" warnings
Remi Gacogne [Mon, 14 Oct 2024 09:29:27 +0000 (11:29 +0200)]
dnsdist: Remove duplicated meson directories and files
Remi Gacogne [Fri, 27 Sep 2024 13:58:52 +0000 (15:58 +0200)]
dnsdist: Apply Otto's patch (thanks!)
Remi Gacogne [Fri, 27 Sep 2024 09:29:48 +0000 (11:29 +0200)]
dnsdist: Fix building with meson without all options enabled
Remi Gacogne [Fri, 27 Sep 2024 09:29:24 +0000 (11:29 +0200)]
Fix fuzzing targets with meson
Remi Gacogne [Wed, 25 Sep 2024 18:41:39 +0000 (20:41 +0200)]
dnsdist: Fix detection of a specific nghttp2 feature
The `#if` should be `#ifdef` or `#if defined`, as otherwise it fails
with the `config.h` generated by `meson`.
Remi Gacogne [Wed, 25 Sep 2024 12:54:59 +0000 (14:54 +0200)]
dnsdist: Fix a few "unused parameter" warnings
Remi Gacogne [Wed, 25 Sep 2024 12:54:39 +0000 (14:54 +0200)]
dnsdist: Fix a typo in the CDB m4 file
Remi Gacogne [Mon, 23 Sep 2024 16:26:53 +0000 (18:26 +0200)]
dnsdist: Add meson support
milzi234 [Tue, 28 Jan 2025 07:44:17 +0000 (08:44 +0100)]
Merge pull request #15034 from milzi234/chore/docs-site-brush-up
chore: Brush up of PowerDNS Documentation Site
Otto Moerbeek [Tue, 28 Jan 2025 06:42:18 +0000 (07:42 +0100)]
Merge pull request #15088 from omoerbeek/rec-fwz-docs
rec: fix forward zones example in YAML
Otto Moerbeek [Mon, 27 Jan 2025 09:39:40 +0000 (10:39 +0100)]
Merge pull request #15086 from omoerbeek/auth-meson-ldap-deb11
auth: try to find ldap libs in case pkconfig is missing (happens on debian11)
Otto Moerbeek [Mon, 27 Jan 2025 09:30:40 +0000 (10:30 +0100)]
rec: fix forward zones example in YAML
Fixes #15077