]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
6 months agoHandle a few remaining remnants of POC code
Otto Moerbeek [Tue, 4 Feb 2025 08:48:24 +0000 (09:48 +0100)] 
Handle a few remaining remnants of POC code

6 months agoNicer error message on private key read or decode failure
Otto Moerbeek [Tue, 4 Feb 2025 08:33:41 +0000 (09:33 +0100)] 
Nicer error message on private key read or decode failure

6 months agoGo back to ring and generate Cargo.lock with older version so it uses Cargo.lock...
Otto Moerbeek [Mon, 3 Feb 2025 15:02:11 +0000 (16:02 +0100)] 
Go back to ring and generate Cargo.lock with older version so it uses Cargo.lock version = 3

The default rusttls provider has quite some dependecies that need newer Rust.
ring is much morer lenient.

6 months agoDocs
Otto Moerbeek [Mon, 3 Feb 2025 13:57:34 +0000 (14:57 +0100)] 
Docs

6 months agoRun API tests using https
Otto Moerbeek [Mon, 3 Feb 2025 13:26:56 +0000 (14:26 +0100)] 
Run API tests using https

6 months agoBasic https test
Otto Moerbeek [Mon, 3 Feb 2025 12:30:54 +0000 (13:30 +0100)] 
Basic https test

6 months agoChange directory structure: rename settings subdir int rec-rust-lib, libsettings...
Otto Moerbeek [Mon, 3 Feb 2025 11:51:09 +0000 (12:51 +0100)] 
Change directory structure: rename settings subdir int rec-rust-lib, libsettings.a into librecrust.a

6 months agoReformat and add clippy comment
Otto Moerbeek [Mon, 3 Feb 2025 10:40:07 +0000 (11:40 +0100)] 
Reformat and add clippy comment

6 months agoModularize: split out misc.rs for general stuff
Otto Moerbeek [Fri, 31 Jan 2025 16:22:41 +0000 (17:22 +0100)] 
Modularize: split out misc.rs for general stuff

6 months agoLogger needs no wrapper
Otto Moerbeek [Fri, 31 Jan 2025 15:05:37 +0000 (16:05 +0100)] 
Logger needs no wrapper

6 months agoAdvice fomr clippy
Otto Moerbeek [Tue, 28 Jan 2025 12:11:58 +0000 (13:11 +0100)] 
Advice fomr clippy

6 months agoWrap non-api and file calls to check for Basic auth
Otto Moerbeek [Tue, 28 Jan 2025 12:01:53 +0000 (13:01 +0100)] 
Wrap non-api and file calls to check for Basic auth

6 months agoLog getvars
Otto Moerbeek [Mon, 27 Jan 2025 15:18:28 +0000 (16:18 +0100)] 
Log getvars

6 months agoFix HEAD
Otto Moerbeek [Mon, 27 Jan 2025 14:41:20 +0000 (15:41 +0100)] 
Fix HEAD

6 months agoLogging
Otto Moerbeek [Mon, 27 Jan 2025 13:27:10 +0000 (14:27 +0100)] 
Logging

6 months agoBasic tls support
Otto Moerbeek [Tue, 21 Jan 2025 14:25:13 +0000 (15:25 +0100)] 
Basic tls support

6 months agoAlLow multiple listen addresses in config
Otto Moerbeek [Mon, 9 Dec 2024 15:07:53 +0000 (16:07 +0100)] 
AlLow multiple listen addresses in config

6 months agoDon't link with yahttp any more (header files still in use)
Otto Moerbeek [Tue, 3 Dec 2024 12:31:53 +0000 (13:31 +0100)] 
Don't link with yahttp any more (header files still in use)

6 months agoAlso start web service in single thread case
Otto Moerbeek [Fri, 29 Nov 2024 15:33:08 +0000 (16:33 +0100)] 
Also start web service in single thread case

6 months agoTemplate for Wrapper classes
Otto Moerbeek [Fri, 29 Nov 2024 13:49:13 +0000 (14:49 +0100)] 
Template for Wrapper classes

6 months agoImplement webserver acl
Otto Moerbeek [Fri, 29 Nov 2024 13:19:34 +0000 (14:19 +0100)] 
Implement webserver acl

6 months agoAPI regression test succeed now, mostly setting right headers
Otto Moerbeek [Wed, 27 Nov 2024 15:50:24 +0000 (16:50 +0100)] 
API regression test succeed now, mostly setting right headers

6 months agoOPTIONS handling
Otto Moerbeek [Wed, 27 Nov 2024 14:45:48 +0000 (15:45 +0100)] 
OPTIONS handling

6 months agoBetter routing
Otto Moerbeek [Tue, 26 Nov 2024 07:58:44 +0000 (08:58 +0100)] 
Better routing

6 months agoUse Arc instead of global static
Otto Moerbeek [Mon, 25 Nov 2024 10:13:36 +0000 (11:13 +0100)] 
Use Arc instead of global static

6 months agoAvoid a data race reported by TSAN
Otto Moerbeek [Fri, 22 Nov 2024 16:00:15 +0000 (17:00 +0100)] 
Avoid a data race reported by TSAN

6 months agoBetter error handling
Otto Moerbeek [Fri, 22 Nov 2024 15:26:04 +0000 (16:26 +0100)] 
Better error handling

6 months agoAdd missing paths (the <id> ones do not work yet)
Otto Moerbeek [Fri, 22 Nov 2024 13:12:28 +0000 (14:12 +0100)] 
Add missing paths (the <id> ones do not work yet)

6 months agoDo no start old webserver
Otto Moerbeek [Fri, 22 Nov 2024 12:26:50 +0000 (13:26 +0100)] 
Do no start old webserver

6 months agoBasic functionality works
Otto Moerbeek [Fri, 22 Nov 2024 10:40:02 +0000 (11:40 +0100)] 
Basic functionality works

6 months agoClippy cleanup
Otto Moerbeek [Thu, 21 Nov 2024 16:12:45 +0000 (17:12 +0100)] 
Clippy cleanup

6 months agoreformat
Otto Moerbeek [Thu, 21 Nov 2024 15:53:34 +0000 (16:53 +0100)] 
reformat

6 months agoInitial code for embedded web service in Rust
Otto Moerbeek [Tue, 12 Nov 2024 07:57:22 +0000 (08:57 +0100)] 
Initial code for embedded web service in Rust

6 months agodnsdist: Install the sample configuration file in sysconfdir with meson
Remi Gacogne [Tue, 11 Feb 2025 15:16:20 +0000 (16:16 +0100)] 
dnsdist: Install the sample configuration file in sysconfdir with meson

6 months agoHopefully fix man pages with meson
Remi Gacogne [Tue, 11 Feb 2025 15:13:43 +0000 (16:13 +0100)] 
Hopefully fix man pages with meson

6 months agoUpdate docs/manpages/sdig.1.rst 15140/head
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>
6 months agoMerge pull request #15139 from omoerbeek/rec-bound-check-for-future
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)

6 months agoApply suggestion 15139/head
Otto Moerbeek [Tue, 11 Feb 2025 13:18:25 +0000 (14:18 +0100)] 
Apply suggestion

Co-authored-by: Remi Gacogne <github@coredump.fr>
6 months agoApply suggestions from code review
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>
6 months agoclang-tidy
Otto Moerbeek [Tue, 11 Feb 2025 13:06:27 +0000 (14:06 +0100)] 
clang-tidy

6 months agoAdd cookies support for sdig
Otto Moerbeek [Tue, 11 Feb 2025 10:33:41 +0000 (11:33 +0100)] 
Add cookies support for sdig

6 months agodnsdist: Add an option to meson to disable man page generation
Remi Gacogne [Tue, 11 Feb 2025 10:49:08 +0000 (11:49 +0100)] 
dnsdist: Add an option to meson to disable man page generation

6 months agodnsdist: Install the example configuration file with meson
Remi Gacogne [Tue, 11 Feb 2025 10:48:43 +0000 (11:48 +0100)] 
dnsdist: Install the example configuration file with meson

6 months agorec: Fix handling of man pages 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.

6 months agoauth: Fix handling of man pages with meson
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.

6 months agodnsdist: Fix handling of man pages with meson
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.

6 months agodnsdist: Install binary, man page and systemd unit files with meson
Remi Gacogne [Mon, 10 Feb 2025 12:28:40 +0000 (13:28 +0100)] 
dnsdist: Install binary, man page and systemd unit files with meson

6 months agoTidy
Otto Moerbeek [Tue, 10 Dec 2024 15:06:05 +0000 (16:06 +0100)] 
Tidy

6 months agoMerge pull request #15123 from esensar/feature/dnstap-multi-stream
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`

6 months agoMerge pull request #15112 from rgacogne/ddist-build-xsk-noble-oracular
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

6 months agorec: check bounds of rcode stats counter index (safe right now)
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.

6 months agodocs: random: Use past tense as this backend is long gone 14840/head
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)
6 months agoFix underline length warning. 15084/head
Miod Vallat [Fri, 24 Jan 2025 13:06:40 +0000 (14:06 +0100)] 
Fix underline length warning.

6 months agoMake dnstap test handle EOF and wait on process to exit.
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.

6 months agoDon't use logging in signal handler
Otto Moerbeek [Fri, 7 Feb 2025 14:51:14 +0000 (15:51 +0100)] 
Don't use logging in signal handler

6 months agoStart using quit-nicely in rec bulk test
Otto Moerbeek [Fri, 7 Feb 2025 12:23:09 +0000 (13:23 +0100)] 
Start using quit-nicely in rec bulk test

6 months agoFix autotools case for @ and adapt meson.build to handle ExecStop as well
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

6 months agomangle unit file to take into account bindir and multiple instances
Otto Moerbeek [Tue, 4 Feb 2025 14:13:08 +0000 (15:13 +0100)] 
mangle unit file to take into account bindir and multiple instances

6 months agoStart using rec_control quit-nicely to stop rec runing under systemd's control
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

6 months agoUse structured logging
Otto Moerbeek [Wed, 18 Dec 2024 13:40:55 +0000 (14:40 +0100)] 
Use structured logging

6 months agoHack to get the TSAN case working (it just calls _exit())
Otto Moerbeek [Tue, 17 Dec 2024 16:07:10 +0000 (17:07 +0100)] 
Hack to get the TSAN case working (it just calls _exit())

6 months agoDon't explictly close control channel
Otto Moerbeek [Tue, 17 Dec 2024 14:54:26 +0000 (15:54 +0100)] 
Don't explictly close control channel

6 months agoUpdate pdns/recursordist/rec-main.cc
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>
6 months agorec: make quit-nicely wait on actual quit
Otto Moerbeek [Mon, 16 Dec 2024 14:26:46 +0000 (15:26 +0100)] 
rec: make quit-nicely wait on actual quit

6 months agodocs/backends: Update overview from bind.rst
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.

6 months agodocs: List the same properties for all backends
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).

6 months agoMerge pull request #15131 from miodvallat/seventh_zone_of_a_seventh_zone
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

6 months agoMake add-zone-key default to KSK rather than ZSK. 15131/head
Miod Vallat [Mon, 10 Feb 2025 10:45:04 +0000 (11:45 +0100)] 
Make add-zone-key default to KSK rather than ZSK.

6 months agoMerge pull request #15137 from rgacogne/ddist-fix-xsk-boost-lockfree-1.87
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

6 months agodnsdist: Fix compatibility with boost::lockfree >= 1.87.0 15137/head
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.

6 months agoMerge pull request #15134 from rgacogne/ddist-quiche-version-fallback
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

6 months agoAdd `RemotePoolLogger` tests for remote protobuf logger 15123/head
Ensar Sarajčić [Mon, 10 Feb 2025 09:20:01 +0000 (10:20 +0100)] 
Add `RemotePoolLogger` tests for remote protobuf logger

6 months agoAdd `RemotePoolLogger` tests for unix socket based logger
Ensar Sarajčić [Mon, 10 Feb 2025 08:39:30 +0000 (09:39 +0100)] 
Add `RemotePoolLogger` tests for unix socket based logger

6 months agoMerge pull request #15132 from rgacogne/ddist-support-several-xdp-itf
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

6 months agodnsdist: Gracefully fall back to older versions of Quiche 15134/head
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.

6 months agoMerge pull request #15128 from omoerbeek/rec-fw-recurse
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

6 months agodnsdist: Only defaults to `eth0` when no interface has been set 15132/head
Remi Gacogne [Fri, 7 Feb 2025 14:33:55 +0000 (15:33 +0100)] 
dnsdist: Only defaults to `eth0` when no interface has been set

6 months agoFix remaining naming in listener for TcpLogger test
Ensar Sarajčić [Fri, 7 Feb 2025 14:23:05 +0000 (15:23 +0100)] 
Fix remaining naming in listener for TcpLogger test

6 months agoFix remaining listener naming in `RemotePoolLogger` TCP tests
Ensar Sarajčić [Fri, 7 Feb 2025 14:22:43 +0000 (15:22 +0100)] 
Fix remaining listener naming in `RemotePoolLogger` TCP tests

6 months agodnsdist: Add support for multiple network interfaces in the XDP helper
Remi Gacogne [Fri, 7 Feb 2025 14:16:22 +0000 (15:16 +0100)] 
dnsdist: Add support for multiple network interfaces in the XDP helper

6 months agoFix naming in listener for TcpLogger test
Ensar Sarajčić [Fri, 7 Feb 2025 14:13:52 +0000 (15:13 +0100)] 
Fix naming in listener for TcpLogger test

6 months agoFix listener naming in `RemotePoolLogger` TCP tests
Ensar Sarajčić [Fri, 7 Feb 2025 14:13:13 +0000 (15:13 +0100)] 
Fix listener naming in `RemotePoolLogger` TCP tests

6 months agoUse integer placeholder in config template in `test_Dnstap.py`
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>
6 months agoApply suggestions from code review 15128/head
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>
6 months agoAdd `RemotePoolLogger` tests for TCP based logger
Ensar Sarajčić [Fri, 7 Feb 2025 12:59:41 +0000 (13:59 +0100)] 
Add `RemotePoolLogger` tests for TCP based logger

6 months agoLet pdns add-zone-key use defaults from pdns.conf whenever possible.
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

6 months agobuild-and-test-all.yml: do not test test-recursor-ubicloud-bulk for deb11 (libssl... 15102/head
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)

6 months agoUpdate docs for `connectionCount` parameter
Ensar Sarajčić [Fri, 7 Feb 2025 11:45:16 +0000 (12:45 +0100)] 
Update docs for `connectionCount` parameter

6 months agoImplement `RemoteLoggerPool::name`
Ensar Sarajčić [Fri, 7 Feb 2025 11:38:18 +0000 (12:38 +0100)] 
Implement `RemoteLoggerPool::name`

6 months agoChange `RemoteLoggerPool::toString` to describe just general stats
Ensar Sarajčić [Fri, 7 Feb 2025 11:37:50 +0000 (12:37 +0100)] 
Change `RemoteLoggerPool::toString` to describe just general stats

6 months agoReplace locks in `remote_logger_pool` with an atomic counter
Ensar Sarajčić [Fri, 7 Feb 2025 11:33:29 +0000 (12:33 +0100)] 
Replace locks in `remote_logger_pool` with an atomic counter

6 months agobuild-and-test-all.yml: skip dnsdist eBPF regression tests if skipXDP=True
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

6 months agobuild-and-test-all.yml: use venv for executing tasks
romeroalx [Wed, 29 Jan 2025 12:47:20 +0000 (13:47 +0100)] 
build-and-test-all.yml: use venv for executing tasks

6 months agoAdd pyinvoke as pip requirement for builds
romeroalx [Wed, 29 Jan 2025 13:02:51 +0000 (14:02 +0100)] 
Add pyinvoke as pip requirement for builds

6 months agobuild-and-test-all.yml: use container runner for swagger-syntax-check
romeroalx [Wed, 29 Jan 2025 12:48:18 +0000 (13:48 +0100)] 
build-and-test-all.yml: use container runner for swagger-syntax-check

6 months agobuild-and-test-all.yml: enable build auth with meson on debian11
romeroalx [Tue, 28 Jan 2025 18:37:48 +0000 (19:37 +0100)] 
build-and-test-all.yml: enable build auth with meson on debian11

6 months agoMerge pull request #15124 from miodvallat/rotd
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

6 months agoDo a consistency check of the recurse flag for the forward_zones case
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

6 months agoMerge pull request #15126 from rgacogne/ddist-ignore-re2-broken-cflags
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

6 months agorec: better explain how the `recurse` field works in various contexts
Otto Moerbeek [Fri, 7 Feb 2025 09:15:51 +0000 (10:15 +0100)] 
rec: better explain how the `recurse` field works in various contexts