]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 months agodnsdist: Bump the required version of `meson` to 1.3 15149/head
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.

5 months agoMerge pull request #15138 from rgacogne/ddist-meson-install
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

5 months agoMerge pull request #15147 from miodvallat/rrset_me_on_fire
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

5 months agoMerge pull request #15144 from PowerDNS/dependabot/pip/regression-tests.recursor...
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

5 months agoMerge pull request #15143 from Habbie/no-ubuntu-20.04
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

5 months agodnsdist: Tell meson to follow symbolic links for `dnsdist.conf-dist` 15138/head
Remi Gacogne [Thu, 13 Feb 2025 09:42:01 +0000 (10:42 +0100)] 
dnsdist: Tell meson to follow symbolic links for `dnsdist.conf-dist`

5 months agoMerge pull request #15084 from miodvallat/fire_of_unknown_origin
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

5 months agoMerge pull request #15080 from miodvallat/import_with_care
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

5 months agoMerge pull request #15146 from omoerbeek/docs-requirements
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

5 months agoSprinkle reserve() calls on vectors when possible and useful. 15147/head
Miod Vallat [Wed, 12 Feb 2025 11:51:54 +0000 (12:51 +0100)] 
Sprinkle reserve() calls on vectors when possible and useful.

5 months agoDisable read ahead in LMDB.
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.

5 months agodocs: update requirements for auth and dnsdist 15146/head
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

5 months agoMerge pull request #15145 from miodvallat/gimme_more_salt
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

5 months agoAlways link sdig against libsodium if used. 15145/head
Miod Vallat [Wed, 12 Feb 2025 09:43:18 +0000 (10:43 +0100)] 
Always link sdig against libsodium if used.

Fallout from #15140

5 months agobuild(deps): bump cryptography in /regression-tests.recursor-dnssec 15144/head
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>
5 months agoMerge pull request #15102 from romeroalx/enable-meson-auth-deb11
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

5 months agoReformat with clang-format-19 15143/head
Otto Moerbeek [Wed, 12 Feb 2025 08:30:08 +0000 (09:30 +0100)] 
Reformat with clang-format-19

5 months agoRemove redundant CircleCI condition
Otto Moerbeek [Wed, 12 Feb 2025 08:29:50 +0000 (09:29 +0100)] 
Remove redundant CircleCI condition

5 months agoSwitch to clang-format-19 by default and allow //comment with no leading space
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.

5 months agoMerge pull request #15142 from omoerbeek/docs-keyblock-link-text
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

5 months agobump clang
Peter van Dijk [Tue, 11 Feb 2025 17:44:43 +0000 (18:44 +0100)] 
bump clang

5 months agouse pdns from noble
Peter van Dijk [Tue, 11 Feb 2025 17:42:48 +0000 (18:42 +0100)] 
use pdns from noble

5 months agoswitch ubuntu-20.04 workflows to 24.04
Peter van Dijk [Tue, 11 Feb 2025 17:39:01 +0000 (18:39 +0100)] 
switch ubuntu-20.04 workflows to 24.04

5 months agocorrect text and link for key block 15142/head
Otto Moerbeek [Tue, 11 Feb 2025 13:39:45 +0000 (14:39 +0100)] 
correct text and link for key block

5 months agoMerge pull request #15140 from omoerbeek/cookies-phase1
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

5 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

5 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

5 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>
5 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)

5 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>
5 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>
5 months agoclang-tidy
Otto Moerbeek [Tue, 11 Feb 2025 13:06:27 +0000 (14:06 +0100)] 
clang-tidy

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

5 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

5 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

5 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.

5 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.

5 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.

5 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

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

5 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`

5 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

5 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.

5 months agoFix underline length warning. 15084/head
Miod Vallat [Fri, 24 Jan 2025 13:06:40 +0000 (14:06 +0100)] 
Fix underline length warning.

5 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

5 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.

5 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

5 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.

5 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

5 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

5 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

5 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

5 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.

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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>
5 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>
5 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

5 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

5 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)

5 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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 months agoMerge pull request #15125 from rgacogne/ddist-no-doh3-meson
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

5 months agodnsdist: Ignore `re2`'s broken compilation flags 15126/head
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.

5 months agodnsdist: Fix meson build failure when DoH3 support is disabled 15125/head
Remi Gacogne [Thu, 6 Feb 2025 16:17:00 +0000 (17:17 +0100)] 
dnsdist: Fix meson build failure when DoH3 support is disabled

5 months agoauth-{4.7.5,4.8.5,4.9.4}: changelog entries + secpoll update 15124/head
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

5 months agoMerge pull request #15083 from miodvallat/napster 10431/head
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

5 months agoMerge pull request #15121 from romeroalx/fix-version-pbr
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

5 months agoShorten lock duration in `RemoteLoggerPool::queueData`
Ensar Sarajčić [Thu, 6 Feb 2025 08:50:00 +0000 (09:50 +0100)] 
Shorten lock duration in `RemoteLoggerPool::queueData`

5 months agoAdd a basic lock in `RemoteLoggerInterface::queueData` for thread safety
Ensar Sarajčić [Thu, 6 Feb 2025 08:29:20 +0000 (09:29 +0100)] 
Add a basic lock in `RemoteLoggerInterface::queueData` for thread safety

5 months agoFix `DnstapLogAction` and `DnstapLogResponseAction` in YAML config
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.

5 months agoAdd YAML support for multiple logger connections
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.

5 months agoPrevent erasing invalid value from options map
Ensar Sarajčić [Wed, 5 Feb 2025 17:30:30 +0000 (18:30 +0100)] 
Prevent erasing invalid value from options map

5 months agoReserve room in loggers vector before adding loggers
Ensar Sarajčić [Wed, 5 Feb 2025 17:22:53 +0000 (18:22 +0100)] 
Reserve room in loggers vector before adding loggers

5 months agoFix clang-tidy warnings
Ensar Sarajčić [Wed, 5 Feb 2025 17:10:52 +0000 (18:10 +0100)] 
Fix clang-tidy warnings

5 months agoAdd `remote_logger_pool` to meson
Ensar Sarajčić [Wed, 5 Feb 2025 16:04:13 +0000 (17:04 +0100)] 
Add `remote_logger_pool` to meson

5 months agoRemove `pick` from `dnsdist-lua-bindings-protobuf.cc`
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>
5 months agoFix typo in `dnsdist` makefile
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>
5 months agoFix formatting in `dnsdist-lua-bindings-protobuf.cc`
Ensar Sarajčić [Wed, 5 Feb 2025 14:59:09 +0000 (15:59 +0100)] 
Fix formatting in `dnsdist-lua-bindings-protobuf.cc`

5 months agoFix typo in `checkAllParametersConsumed` for `newFrameStreamUnixLogger`
Ensar Sarajčić [Wed, 5 Feb 2025 14:58:46 +0000 (15:58 +0100)] 
Fix typo in `checkAllParametersConsumed` for `newFrameStreamUnixLogger`

5 months agodnsdist: add pooling support for RemoteLoggerInterface
Ensar Sarajčić [Wed, 5 Feb 2025 14:58:05 +0000 (15:58 +0100)] 
dnsdist: add pooling support for RemoteLoggerInterface

This adds a new kind of `RemoteLoggerInterface`: `RemoteLoggerPool`.
It can take multiple other `RemoteLoggerInterface`s and pass data to
them in round-robin order by default.

This also adds additional option to `newRemoteLogger`, `newFrameStreamTcpLogger`
and `newFrameStreamUnixLogger`: `connectionCount`, which can be used to
generate a pool with multiple connections.

Closes: #14861
5 months agoMerge pull request #15119 from omoerbeek/rec-meson-unitfiles
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

5 months agodocumentation.yml: remove pip validation. already present in misc-dailies.yml as... 15121/head
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

5 months agoupdate pinned version of pbr package
romeroalx [Wed, 5 Feb 2025 10:14:07 +0000 (11:14 +0100)] 
update pinned version of pbr package