]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Fri, 14 Feb 2025 11:21:53 +0000 (12:21 +0100)]
Don't set --config-dir when generating dist config, no need to anymore
Otto Moerbeek [Fri, 14 Feb 2025 10:58:12 +0000 (11:58 +0100)]
Fix meson dist issues found after new way of generating man pages was merged.
Including a path fix to the cmp command, which wrongly assumes
MESON_SOURCE_ROOT was the toplevel dir.
Otto Moerbeek [Wed, 12 Feb 2025 15:03:46 +0000 (16:03 +0100)]
rec: add install target to meson
And always generate default config in YAML format
Otto Moerbeek [Fri, 14 Feb 2025 09:29:13 +0000 (10:29 +0100)]
Merge pull request #15154 from omoerbeek/rec-rust-cxx-include-dir
rec: fix cxx include dir
Otto Moerbeek [Fri, 14 Feb 2025 08:44:34 +0000 (09:44 +0100)]
Merge pull request #15153 from omoerbeek/rec-fix-docs-gen
rec: fix docs generating, settings/ is now rec-rust-lib/
Otto Moerbeek [Fri, 14 Feb 2025 08:23:23 +0000 (09:23 +0100)]
rec: fix cxx include dir
Otto Moerbeek [Fri, 14 Feb 2025 07:53:01 +0000 (08:53 +0100)]
rec: fix docs generating, settings/ is now rec-rust-lib/
Otto Moerbeek [Fri, 14 Feb 2025 07:30:41 +0000 (08:30 +0100)]
Merge pull request #15114 from omoerbeek/rec-rust-web
rec: move to embedded web service written in Rust
Otto Moerbeek [Fri, 14 Feb 2025 07:28:02 +0000 (08:28 +0100)]
Merge pull request #14976 from omoerbeek/rec-quit-nicely-sync
rec: make quit-nicely wait on actual quit and start using it for stopping by systemd
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>
Remi Gacogne [Thu, 13 Feb 2025 11:32:44 +0000 (12:32 +0100)]
Merge pull request #15149 from rgacogne/ddist-meson-min-version
dnsdist: Bump the required version of `meson` to 1.3
Remi Gacogne [Thu, 13 Feb 2025 11:32:10 +0000 (12:32 +0100)]
Merge pull request #15148 from rgacogne/ddist-unbreak-console
dnsdist: Fix console ("client mode") on non-default address or port
Remi Gacogne [Thu, 13 Feb 2025 10:51:49 +0000 (11:51 +0100)]
dnsdist: Bump the required version of `meson` to 1.3
Since we now use the `follow_symlinks` option of `install_data()`.
We could probably make it work with older versions but a quick look
at what distributions provide suggests that 1.2.1 or 1.3.0 is
practically the same amount of pain.
Remi Gacogne [Thu, 13 Feb 2025 10:48:23 +0000 (11:48 +0100)]
dnsdist: Fix console ("client mode") on non-default address or port
The console address and port were not properly set in client mode,
so `dnsdist` tried to connect to the default console address and port.
Remi Gacogne [Thu, 13 Feb 2025 10:19:46 +0000 (11:19 +0100)]
Merge pull request #15138 from rgacogne/ddist-meson-install
dnsdist: Install binary, man page and systemd unit files with meson
Miod Vallat [Thu, 13 Feb 2025 10:02:19 +0000 (11:02 +0100)]
Merge pull request #15147 from miodvallat/rrset_me_on_fire
Low-hanging LMDB fruits
Remi Gacogne [Thu, 13 Feb 2025 09:51:04 +0000 (10:51 +0100)]
Merge pull request #15144 from PowerDNS/dependabot/pip/regression-tests.recursor-dnssec/cryptography-44.0.1
build(deps): bump cryptography from 43.0.1 to 44.0.1 in /regression-tests.recursor-dnssec
Peter van Dijk [Thu, 13 Feb 2025 09:48:09 +0000 (10:48 +0100)]
Merge pull request #15143 from Habbie/no-ubuntu-20.04
switch ubuntu-20.04 workflows to 24.04
Remi Gacogne [Thu, 13 Feb 2025 09:42:01 +0000 (10:42 +0100)]
dnsdist: Tell meson to follow symbolic links for `dnsdist.conf-dist`
Miod Vallat [Thu, 13 Feb 2025 09:41:50 +0000 (10:41 +0100)]
Merge pull request #15084 from miodvallat/fire_of_unknown_origin
Boring minor cleanups
Miod Vallat [Thu, 13 Feb 2025 09:41:08 +0000 (10:41 +0100)]
Merge pull request #15080 from miodvallat/import_with_care
pdnsutil: check for key presence after import
Remi Gacogne [Thu, 13 Feb 2025 08:51:39 +0000 (09:51 +0100)]
Merge pull request #15146 from omoerbeek/docs-requirements
docs: update requirements for auth and dnsdist
Miod Vallat [Wed, 12 Feb 2025 11:51:54 +0000 (12:51 +0100)]
Sprinkle reserve() calls on vectors when possible and useful.
Miod Vallat [Wed, 12 Feb 2025 11:45:27 +0000 (12:45 +0100)]
Disable read ahead in LMDB.
This contributes to not degrading performance too much when the system
memory is almost completely used, by preventing page thrashing due to
the read ahead behaviour of the system.
Otto Moerbeek [Wed, 12 Feb 2025 11:20:37 +0000 (12:20 +0100)]
docs: update requirements for auth and dnsdist
rec was already done earlier in #15076
Miod Vallat [Wed, 12 Feb 2025 10:56:19 +0000 (11:56 +0100)]
Merge pull request #15145 from miodvallat/gimme_more_salt
[tools] fix sdig link
Otto Moerbeek [Wed, 12 Feb 2025 09:51:55 +0000 (10:51 +0100)]
Remove remains of unused PoC code
Otto Moerbeek [Wed, 12 Feb 2025 09:41:23 +0000 (10:41 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Miod Vallat [Wed, 12 Feb 2025 09:43:18 +0000 (10:43 +0100)]
Always link sdig against libsodium if used.
Fallout from #15140
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).
dependabot[bot] [Wed, 12 Feb 2025 09:16:14 +0000 (09:16 +0000)]
build(deps): bump cryptography in /regression-tests.recursor-dnssec
Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.1 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/43.0.1...44.0.1)
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Alexis Romero [Wed, 12 Feb 2025 09:14:54 +0000 (10:14 +0100)]
Merge pull request #15102 from romeroalx/enable-meson-auth-deb11
GH Actions - build-and-test-all.yml: use virtual environment for python packages
Otto Moerbeek [Wed, 12 Feb 2025 08:30:08 +0000 (09:30 +0100)]
Reformat with clang-format-19
Otto Moerbeek [Wed, 12 Feb 2025 08:29:50 +0000 (09:29 +0100)]
Remove redundant CircleCI condition
Otto Moerbeek [Wed, 12 Feb 2025 07:57:10 +0000 (08:57 +0100)]
Switch to clang-format-19 by default and allow //comment with no leading space
Still some formatting differences, but they look legit. It seems
older versions of clang-format did not process preprocessor
conditionals correctly in all cases.
Otto Moerbeek [Wed, 12 Feb 2025 06:30:14 +0000 (07:30 +0100)]
Merge pull request #15142 from omoerbeek/docs-keyblock-link-text
docs: correct text of link for key block
Peter van Dijk [Tue, 11 Feb 2025 17:44:43 +0000 (18:44 +0100)]
bump clang
Peter van Dijk [Tue, 11 Feb 2025 17:42:48 +0000 (18:42 +0100)]
use pdns from noble
Peter van Dijk [Tue, 11 Feb 2025 17:39:01 +0000 (18:39 +0100)]
switch ubuntu-20.04 workflows to 24.04
Otto Moerbeek [Tue, 11 Feb 2025 13:39:45 +0000 (14:39 +0100)]
correct text and link for key block
Otto Moerbeek [Tue, 11 Feb 2025 15:41:56 +0000 (16:41 +0100)]
Merge pull request #15140 from omoerbeek/cookies-phase1
sdig: implement cookie support
Otto Moerbeek [Fri, 7 Feb 2025 10:06:37 +0000 (11:06 +0100)]
Typos is comments
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Otto Moerbeek [Wed, 5 Feb 2025 15:31:53 +0000 (16:31 +0100)]
Sprinkle some comments and copyright notices
Otto Moerbeek [Tue, 4 Feb 2025 10:06:18 +0000 (11:06 +0100)]
Process very initial review comments (docs and comments and trivial changes)
Otto Moerbeek [Tue, 4 Feb 2025 08:48:24 +0000 (09:48 +0100)]
Handle a few remaining remnants of POC code
Otto Moerbeek [Tue, 4 Feb 2025 08:33:41 +0000 (09:33 +0100)]
Nicer error message on private key read or decode failure
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.
Otto Moerbeek [Mon, 3 Feb 2025 13:57:34 +0000 (14:57 +0100)]
Docs
Otto Moerbeek [Mon, 3 Feb 2025 13:26:56 +0000 (14:26 +0100)]
Run API tests using https
Otto Moerbeek [Mon, 3 Feb 2025 12:30:54 +0000 (13:30 +0100)]
Basic https test
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
Otto Moerbeek [Mon, 3 Feb 2025 10:40:07 +0000 (11:40 +0100)]
Reformat and add clippy comment
Otto Moerbeek [Fri, 31 Jan 2025 16:22:41 +0000 (17:22 +0100)]
Modularize: split out misc.rs for general stuff
Otto Moerbeek [Fri, 31 Jan 2025 15:05:37 +0000 (16:05 +0100)]
Logger needs no wrapper
Otto Moerbeek [Tue, 28 Jan 2025 12:11:58 +0000 (13:11 +0100)]
Advice fomr clippy
Otto Moerbeek [Tue, 28 Jan 2025 12:01:53 +0000 (13:01 +0100)]
Wrap non-api and file calls to check for Basic auth
Otto Moerbeek [Mon, 27 Jan 2025 15:18:28 +0000 (16:18 +0100)]
Log getvars
Otto Moerbeek [Mon, 27 Jan 2025 14:41:20 +0000 (15:41 +0100)]
Fix HEAD
Otto Moerbeek [Mon, 27 Jan 2025 13:27:10 +0000 (14:27 +0100)]
Logging
Otto Moerbeek [Tue, 21 Jan 2025 14:25:13 +0000 (15:25 +0100)]
Basic tls support
Otto Moerbeek [Mon, 9 Dec 2024 15:07:53 +0000 (16:07 +0100)]
AlLow multiple listen addresses in config
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)
Otto Moerbeek [Fri, 29 Nov 2024 15:33:08 +0000 (16:33 +0100)]
Also start web service in single thread case
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.
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