]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Fri, 29 Nov 2024 13:49:13 +0000 (14:49 +0100)]
Template for Wrapper classes
Otto Moerbeek [Fri, 29 Nov 2024 13:19:34 +0000 (14:19 +0100)]
Implement webserver acl
Otto Moerbeek [Wed, 27 Nov 2024 15:50:24 +0000 (16:50 +0100)]
API regression test succeed now, mostly setting right headers
Otto Moerbeek [Wed, 27 Nov 2024 14:45:48 +0000 (15:45 +0100)]
OPTIONS handling
Otto Moerbeek [Tue, 26 Nov 2024 07:58:44 +0000 (08:58 +0100)]
Better routing
Otto Moerbeek [Mon, 25 Nov 2024 10:13:36 +0000 (11:13 +0100)]
Use Arc instead of global static
Otto Moerbeek [Fri, 22 Nov 2024 16:00:15 +0000 (17:00 +0100)]
Avoid a data race reported by TSAN
Otto Moerbeek [Fri, 22 Nov 2024 15:26:04 +0000 (16:26 +0100)]
Better error handling
Otto Moerbeek [Fri, 22 Nov 2024 13:12:28 +0000 (14:12 +0100)]
Add missing paths (the <id> ones do not work yet)
Otto Moerbeek [Fri, 22 Nov 2024 12:26:50 +0000 (13:26 +0100)]
Do no start old webserver
Otto Moerbeek [Fri, 22 Nov 2024 10:40:02 +0000 (11:40 +0100)]
Basic functionality works
Otto Moerbeek [Thu, 21 Nov 2024 16:12:45 +0000 (17:12 +0100)]
Clippy cleanup
Otto Moerbeek [Thu, 21 Nov 2024 15:53:34 +0000 (16:53 +0100)]
reformat
Otto Moerbeek [Tue, 12 Nov 2024 07:57:22 +0000 (08:57 +0100)]
Initial code for embedded web service in Rust
Remi Gacogne [Tue, 11 Feb 2025 15:16:20 +0000 (16:16 +0100)]
dnsdist: Install the sample configuration file in sysconfdir with meson
Remi Gacogne [Tue, 11 Feb 2025 15:13:43 +0000 (16:13 +0100)]
Hopefully fix man pages with meson
Otto Moerbeek [Tue, 11 Feb 2025 14:58:52 +0000 (15:58 +0100)]
Update docs/manpages/sdig.1.rst
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Otto Moerbeek [Tue, 11 Feb 2025 14:17:17 +0000 (15:17 +0100)]
Merge pull request #15139 from omoerbeek/rec-bound-check-for-future
rec: check bounds of rcode stats counter index (safe right now)
Otto Moerbeek [Tue, 11 Feb 2025 13:18:25 +0000 (14:18 +0100)]
Apply suggestion
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Tue, 11 Feb 2025 13:19:55 +0000 (14:19 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Tue, 11 Feb 2025 13:06:27 +0000 (14:06 +0100)]
clang-tidy
Otto Moerbeek [Tue, 11 Feb 2025 10:33:41 +0000 (11:33 +0100)]
Add cookies support for sdig
Remi Gacogne [Tue, 11 Feb 2025 10:49:08 +0000 (11:49 +0100)]
dnsdist: Add an option to meson to disable man page generation
Remi Gacogne [Tue, 11 Feb 2025 10:48:43 +0000 (11:48 +0100)]
dnsdist: Install the example configuration file with meson
Remi Gacogne [Tue, 11 Feb 2025 09:55:58 +0000 (10:55 +0100)]
rec: Fix handling of man pages with meson
This commit moves to `custom_target` to build the man pages since
we don't want to have to explicitely run a different meson command
to build them. As opposed to `run_target`, `custom_target` does not
have access to the build and source roots via env variables, so the
man pages generation script now takes these as required parameters.
Remi Gacogne [Tue, 11 Feb 2025 09:55:01 +0000 (10:55 +0100)]
auth: Fix handling of man pages with meson
This commit moves to `custom_target` to build the man pages since
we don't want to have to explicitely run a different meson command
to build them. As opposed to `run_target`, `custom_target` does not
have access to the build and source roots via env variables, so the
man pages generation script now takes these as required parameters.
Remi Gacogne [Tue, 11 Feb 2025 09:47:41 +0000 (10:47 +0100)]
dnsdist: Fix handling of man pages with meson
This commit moves to `custom_target` to build the man pages since
we don't want to have to explicitely run a different meson command
to build them. As opposed to `run_target`, `custom_target` does not
have access to the build and source roots via env variables, so the
man pages generation script now takes these as required parameters.
Remi Gacogne [Mon, 10 Feb 2025 12:28:40 +0000 (13:28 +0100)]
dnsdist: Install binary, man page and systemd unit files with meson
Otto Moerbeek [Tue, 10 Dec 2024 15:06:05 +0000 (16:06 +0100)]
Tidy
Remi Gacogne [Tue, 11 Feb 2025 10:01:17 +0000 (11:01 +0100)]
Merge pull request #15123 from esensar/feature/dnstap-multi-stream
dnsdist: add pooling support for `RemoteLoggerInterface`
Remi Gacogne [Tue, 11 Feb 2025 09:57:54 +0000 (10:57 +0100)]
Merge pull request #15112 from rgacogne/ddist-build-xsk-noble-oracular
dnsdist: Enable XSK in our Noble and Oracular Ubuntu packages
Otto Moerbeek [Tue, 11 Feb 2025 09:19:29 +0000 (10:19 +0100)]
rec: check bounds of rcode stats counter index (safe right now)
Safe right now as LWResult::d_rcode gets assigned from the 4 bit
rcode in the header. But that might change one day. I'd rather
make LWResult::d_rcode an uint8_t, but that causes a conflict with
the OOB resolving code that does not make a difference between res
and d_rcode.
Uwe Kleine-König [Tue, 12 Nov 2024 10:22:28 +0000 (11:22 +0100)]
docs: random: Use past tense as this backend is long gone
For an event that happend at a definite time in the past, past simple is
the right tense.
Suggested-by: Josh Soref (josref)
Miod Vallat [Fri, 24 Jan 2025 13:06:40 +0000 (14:06 +0100)]
Fix underline length warning.
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
Uwe Kleine-König [Mon, 10 Feb 2025 12:57:07 +0000 (13:57 +0100)]
docs/backends: Update overview from bind.rst
According to bind.rst support for Autosecondary is "Experimental".
Claim the same in the overview table.
Uwe Kleine-König [Mon, 11 Nov 2024 16:08:17 +0000 (17:08 +0100)]
docs: List the same properties for all backends
Make all the tables at the beginning of the backend detail descriptions
describe the same properties in the same order.
Stick to the order used in the overview table in index.rst. Also use the
more politically correct names (i.e. Master -> Primary; Slave ->
Secondary; Superslave -> Autosecondary).
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
Ensar Sarajčić [Mon, 10 Feb 2025 09:20:01 +0000 (10:20 +0100)]
Add `RemotePoolLogger` tests for remote protobuf logger
Ensar Sarajčić [Mon, 10 Feb 2025 08:39:30 +0000 (09:39 +0100)]
Add `RemotePoolLogger` tests for unix socket based logger
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
Ensar Sarajčić [Fri, 7 Feb 2025 14:23:05 +0000 (15:23 +0100)]
Fix remaining naming in listener for TcpLogger test
Ensar Sarajčić [Fri, 7 Feb 2025 14:22:43 +0000 (15:22 +0100)]
Fix remaining listener naming in `RemotePoolLogger` TCP tests
Remi Gacogne [Fri, 7 Feb 2025 14:16:22 +0000 (15:16 +0100)]
dnsdist: Add support for multiple network interfaces in the XDP helper
Ensar Sarajčić [Fri, 7 Feb 2025 14:13:52 +0000 (15:13 +0100)]
Fix naming in listener for TcpLogger test
Ensar Sarajčić [Fri, 7 Feb 2025 14:13:13 +0000 (15:13 +0100)]
Fix listener naming in `RemotePoolLogger` TCP tests
Ensar Sarajčić [Fri, 7 Feb 2025 14:09:14 +0000 (15:09 +0100)]
Use integer placeholder in config template in `test_Dnstap.py`
Co-authored-by: Remi Gacogne <github@coredump.fr>
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>
Ensar Sarajčić [Fri, 7 Feb 2025 12:59:41 +0000 (13:59 +0100)]
Add `RemotePoolLogger` tests for TCP based logger
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
romeroalx [Fri, 7 Feb 2025 11:48:03 +0000 (12:48 +0100)]
build-and-test-all.yml: do not test test-recursor-ubicloud-bulk for deb11 (libssl 1.1 vs 3)
Ensar Sarajčić [Fri, 7 Feb 2025 11:45:16 +0000 (12:45 +0100)]
Update docs for `connectionCount` parameter
Ensar Sarajčić [Fri, 7 Feb 2025 11:38:18 +0000 (12:38 +0100)]
Implement `RemoteLoggerPool::name`
Ensar Sarajčić [Fri, 7 Feb 2025 11:37:50 +0000 (12:37 +0100)]
Change `RemoteLoggerPool::toString` to describe just general stats
Ensar Sarajčić [Fri, 7 Feb 2025 11:33:29 +0000 (12:33 +0100)]
Replace locks in `remote_logger_pool` with an atomic counter
romeroalx [Thu, 30 Jan 2025 13:23:16 +0000 (14:23 +0100)]
build-and-test-all.yml: skip dnsdist eBPF regression tests if skipXDP=True
romeroalx [Wed, 29 Jan 2025 12:47:20 +0000 (13:47 +0100)]
build-and-test-all.yml: use venv for executing tasks
romeroalx [Wed, 29 Jan 2025 13:02:51 +0000 (14:02 +0100)]
Add pyinvoke as pip requirement for builds
romeroalx [Wed, 29 Jan 2025 12:48:18 +0000 (13:48 +0100)]
build-and-test-all.yml: use container runner for swagger-syntax-check
romeroalx [Tue, 28 Jan 2025 18:37:48 +0000 (19:37 +0100)]
build-and-test-all.yml: enable build auth with meson on debian11
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
dmachard [Fri, 7 Feb 2025 07:34:51 +0000 (08:34 +0100)]
Add ifurlup() HTTP status code option.
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
Peter van Dijk [Thu, 6 Feb 2025 12:10:54 +0000 (13:10 +0100)]
oops
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
Ensar Sarajčić [Thu, 6 Feb 2025 08:50:00 +0000 (09:50 +0100)]
Shorten lock duration in `RemoteLoggerPool::queueData`
Ensar Sarajčić [Thu, 6 Feb 2025 08:29:20 +0000 (09:29 +0100)]
Add a basic lock in `RemoteLoggerInterface::queueData` for thread safety
Ensar Sarajčić [Wed, 5 Feb 2025 19:03:42 +0000 (20:03 +0100)]
Fix `DnstapLogAction` and `DnstapLogResponseAction` in YAML config
There was not option of having no alter function defined, even though it
is expected by config. If it wasn't defined, it passed an invalid alter
function into the action. This makes the alter function optional and
properly checks if it was found in configuration.
Ensar Sarajčić [Wed, 5 Feb 2025 19:02:26 +0000 (20:02 +0100)]
Add YAML support for multiple logger connections
This also fixes a bug with loggers in YAML, which had hardcoded
connection status. For `RemoteLogger` that worked by having it always
connect, but for `FrameStreamLogger` it never connected. Now the
behavior is the same as lua, by checking the client mode flag.
Ensar Sarajčić [Wed, 5 Feb 2025 17:30:30 +0000 (18:30 +0100)]
Prevent erasing invalid value from options map
Ensar Sarajčić [Wed, 5 Feb 2025 17:22:53 +0000 (18:22 +0100)]
Reserve room in loggers vector before adding loggers
Ensar Sarajčić [Wed, 5 Feb 2025 17:10:52 +0000 (18:10 +0100)]
Fix clang-tidy warnings
Ensar Sarajčić [Wed, 5 Feb 2025 16:04:13 +0000 (17:04 +0100)]
Add `remote_logger_pool` to meson
Ensar Sarajčić [Wed, 5 Feb 2025 15:05:05 +0000 (16:05 +0100)]
Remove `pick` from `dnsdist-lua-bindings-protobuf.cc`
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Ensar Sarajčić [Wed, 5 Feb 2025 14:46:20 +0000 (15:46 +0100)]
Fix typo in `dnsdist` makefile
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Ensar Sarajčić [Wed, 5 Feb 2025 14:59:09 +0000 (15:59 +0100)]
Fix formatting in `dnsdist-lua-bindings-protobuf.cc`