]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 25 Jun 2024 13:02:21 +0000 (15:02 +0200)]
dnsdist: Apply suggestions from Otto's reviews of the new configuration
Remi Gacogne [Mon, 24 Jun 2024 14:23:27 +0000 (16:23 +0200)]
dnsdist: Fix clang-tidy warnings in dnsdist-dynblocks.cc
Remi Gacogne [Mon, 24 Jun 2024 11:32:25 +0000 (13:32 +0200)]
dnsdist: Fix static analysis warnings (again)
Remi Gacogne [Mon, 24 Jun 2024 07:44:42 +0000 (09:44 +0200)]
dnsdist: Fix static analysis warnings
Remi Gacogne [Fri, 21 Jun 2024 10:06:04 +0000 (12:06 +0200)]
dnsdist: Fix compilation when dynamic blocks are disabled
Remi Gacogne [Fri, 21 Jun 2024 09:04:02 +0000 (11:04 +0200)]
dnsdist: Reduce the dependency on dnsdist::configuration.hh
Getting rid of the ugly DNSQuestion stubs in the meantime.
Remi Gacogne [Fri, 21 Jun 2024 08:50:39 +0000 (10:50 +0200)]
dnsdist: Fix unwanted copies of the configuration
Remi Gacogne [Tue, 18 Jun 2024 15:02:56 +0000 (17:02 +0200)]
dnsdist: Fix clang-tidy's warnings about const-correctness
Remi Gacogne [Tue, 18 Jun 2024 14:07:51 +0000 (16:07 +0200)]
dnsdist: Refactor frontend configuration
Remi Gacogne [Thu, 13 Jun 2024 11:42:01 +0000 (13:42 +0200)]
dnsdist: Move Rings to the new configuration
Remi Gacogne [Wed, 12 Jun 2024 09:22:48 +0000 (11:22 +0200)]
dnsdist: Move carbon settings to the new configuration
Remi Gacogne [Tue, 11 Jun 2024 12:54:16 +0000 (14:54 +0200)]
dnsdist: Get rid of the weird delayed tasks during configuration/startup
Remi Gacogne [Tue, 11 Jun 2024 10:41:24 +0000 (12:41 +0200)]
dnsdist: Switch Webserver and console to the new configuration
Remi Gacogne [Mon, 10 Jun 2024 10:29:18 +0000 (12:29 +0200)]
dnsdist: Make dynamic rules holders static
Remi Gacogne [Fri, 7 Jun 2024 15:26:00 +0000 (17:26 +0200)]
dnsdist: Move outgoing connections settings to the new configuration
Remi Gacogne [Fri, 7 Jun 2024 13:43:35 +0000 (15:43 +0200)]
dnsdist: Remove left-over global variables
Remi Gacogne [Fri, 7 Jun 2024 13:42:39 +0000 (15:42 +0200)]
dnsdist: Fix compiler warnings about reaching end of non-void functions
Remi Gacogne [Fri, 7 Jun 2024 13:42:15 +0000 (15:42 +0200)]
dnsdist: Fix shadowed variables
Remi Gacogne [Fri, 7 Jun 2024 13:41:16 +0000 (15:41 +0200)]
dnsdist: Move the TCP Fast Open key to the new configuration
Remi Gacogne [Tue, 4 Jun 2024 10:39:40 +0000 (12:39 +0200)]
dnsdist: Move rules to the new configuration
Remi Gacogne [Fri, 31 May 2024 14:33:41 +0000 (16:33 +0200)]
dnsdist: Move the backends to the new configuration
Remi Gacogne [Fri, 31 May 2024 12:47:43 +0000 (14:47 +0200)]
dnsdist: Move LB policy and pools to the new configuration
Remi Gacogne [Fri, 31 May 2024 08:34:13 +0000 (10:34 +0200)]
dnsdist: Fix a 'shadowed variable' warning
Remi Gacogne [Fri, 31 May 2024 08:33:51 +0000 (10:33 +0200)]
dnsdist: Fix a warning about using an initialized variable in DNSCrypt
Remi Gacogne [Fri, 31 May 2024 08:08:01 +0000 (10:08 +0200)]
dnsdist: Fix formatting issues
Remi Gacogne [Thu, 30 May 2024 15:41:38 +0000 (17:41 +0200)]
dnsdist: Move ACL to the new configuration system
Remi Gacogne [Thu, 30 May 2024 14:56:55 +0000 (16:56 +0200)]
sstuff: Convert a `static const` to `static constexpr`
Remi Gacogne [Thu, 30 May 2024 14:56:38 +0000 (16:56 +0200)]
dnsdist: Clean up Dynamic Rules configuration
Remi Gacogne [Thu, 30 May 2024 14:13:41 +0000 (16:13 +0200)]
dnsdist: Clean up console configuration
Remi Gacogne [Thu, 30 May 2024 12:45:36 +0000 (14:45 +0200)]
dnsdist: Be careful not to hold onto a Runtime Configuration
Remi Gacogne [Tue, 28 May 2024 14:59:27 +0000 (16:59 +0200)]
dnsdist: Convert capabilities configuration
Remi Gacogne [Tue, 19 Mar 2024 17:24:14 +0000 (18:24 +0100)]
dnsdist: Protect the runtime-modifiable configuration via RCU
Remi Gacogne [Tue, 19 Mar 2024 13:44:16 +0000 (14:44 +0100)]
dnsdist: Improve consistency of the Lua types used in our configuration
Remi Gacogne [Fri, 12 Jul 2024 11:27:58 +0000 (13:27 +0200)]
Merge pull request #14468 from rgacogne/ci-remove-ddist-17x
ci: Stop building rel/dnsdist-1.7.x, as 1.7.x is EOL
Remi Gacogne [Fri, 12 Jul 2024 10:34:47 +0000 (12:34 +0200)]
Merge pull request #14429 from rgacogne/ddist-xsk-backend-race
dnsdist: Fix a race in the XSK/AF_XDP backend handling code
Remi Gacogne [Fri, 12 Jul 2024 10:12:28 +0000 (12:12 +0200)]
ci: Stop building rel/dnsdist-1.7.x, as 1.7.x is EOL
Remi Gacogne [Fri, 12 Jul 2024 09:49:44 +0000 (11:49 +0200)]
dnsdist: Avoid a double lookup when UMEM state debugging is enabled
Remi Gacogne [Fri, 12 Jul 2024 07:41:53 +0000 (09:41 +0200)]
dnsdist: Set the shared XSK frames in the XskWorker constructor
Otto Moerbeek [Fri, 12 Jul 2024 07:16:24 +0000 (09:16 +0200)]
Merge pull request #14456 from omoerbeek/ci-build-rec-51
rec: move to rec-5.1.x for builder-releases-dispatch.yml as well
Otto Moerbeek [Fri, 12 Jul 2024 05:39:13 +0000 (07:39 +0200)]
Merge pull request #14430 from omoerbeek/rec-sanitize
rec: refactor sanitizeRecords and fix order dependency
Otto Moerbeek [Wed, 10 Jul 2024 12:43:44 +0000 (14:43 +0200)]
As noted by rgacogne: additional record type check can be done in first pass
Otto Moerbeek [Wed, 10 Jul 2024 08:21:09 +0000 (10:21 +0200)]
Merge pull request #14453 from omoerbeek/rec-prep-5.1.0
rec: prep for rec-5.1.0
Otto Moerbeek [Wed, 10 Jul 2024 07:06:56 +0000 (09:06 +0200)]
rec: move to rec-5.1.x for builder-releases-dispatch.yml as well
Missed in #14441
Otto Moerbeek [Tue, 9 Jul 2024 14:27:06 +0000 (16:27 +0200)]
Merge pull request #14451 from omoerbeek/rec-docs-not-quiet
rec: document log lines produced by logging.quiet set to false
Peter van Dijk [Tue, 9 Jul 2024 13:31:16 +0000 (15:31 +0200)]
Merge pull request #14454 from Habbie/catalog-order-by
auth catalogs SQL: force order of domains to avoid spurious rehashes
Otto Moerbeek [Tue, 9 Jul 2024 12:45:47 +0000 (14:45 +0200)]
Merge pull request #14443 from PowerDNS/dependabot/pip/pdns/recursordist/docs/certifi-2024.7.4
build(deps): bump certifi from 2024.2.2 to 2024.7.4 in /pdns/recursordist/docs
Otto Moerbeek [Tue, 9 Jul 2024 12:45:00 +0000 (14:45 +0200)]
Apply text suggestions from @rgacogne
Peter van Dijk [Tue, 9 Jul 2024 12:19:46 +0000 (14:19 +0200)]
auth catalogs SQL: force order of domains to avoid spurious rehashes
fixes #13963
Peter van Dijk [Tue, 9 Jul 2024 11:32:28 +0000 (13:32 +0200)]
Merge pull request #14448 from Habbie/daily-master-packages
gh actions: daily master build of packages
Otto Moerbeek [Tue, 9 Jul 2024 09:30:51 +0000 (11:30 +0200)]
rec: prep for rec-5.1.0
Otto Moerbeek [Tue, 9 Jul 2024 08:08:40 +0000 (10:08 +0200)]
rec: document log lines produced by logging.quiet set to false
Fixes #14440
Peter van Dijk [Mon, 8 Jul 2024 11:52:17 +0000 (13:52 +0200)]
gh actions: daily master build of packages
Remi Gacogne [Tue, 9 Jul 2024 08:33:48 +0000 (10:33 +0200)]
dnsdist: Fix wrong assertions in AF_XDP/XSK code
dependabot[bot] [Tue, 9 Jul 2024 08:20:40 +0000 (08:20 +0000)]
build(deps): bump certifi in /pdns/recursordist/docs
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Otto Moerbeek [Tue, 9 Jul 2024 08:19:36 +0000 (10:19 +0200)]
Merge pull request #14441 from omoerbeek/ci-build-rec-5.1.x-daily
CI: start building rel/rec-5.1.x daily, and drop rel/rec-4.8.x
Remi Gacogne [Tue, 9 Jul 2024 07:45:31 +0000 (09:45 +0200)]
Merge pull request #14417 from rgacogne/ddist-xsk-doc-script
dnsdist: Better documentation and debug informations for `XSK`/`AF_XDP`
Remi Gacogne [Tue, 9 Jul 2024 07:43:03 +0000 (09:43 +0200)]
Merge pull request #14398 from rgacogne/ddist-logging-per-thread-ffi
dnsdist: Make the logging functions available to all Lua environments
Otto Moerbeek [Tue, 9 Jul 2024 06:54:54 +0000 (08:54 +0200)]
CI: start building rel/rec-5.1.x daily, and drop rel/rec-4.8.x
Remi Gacogne [Mon, 8 Jul 2024 13:35:28 +0000 (15:35 +0200)]
Merge pull request #14431 from tjikkun/no_include_engine
Don't include openssl/engine.h if it's not going to be used
Remi Gacogne [Mon, 8 Jul 2024 12:58:20 +0000 (14:58 +0200)]
dnsdist: Fix code formatting
Remi Gacogne [Mon, 8 Jul 2024 12:47:54 +0000 (14:47 +0200)]
dnsdist: Make the code used to debug UMEM issues work with multiple queues
Remi Gacogne [Mon, 8 Jul 2024 12:43:21 +0000 (14:43 +0200)]
dnsdist: Fix a data race in the AF_XDP/XSK dnsdist <-> backend code
The existing code was sharing the same XskWorker between the thread
handling incoming queries (possibly replying right away for
self-answered and cache hit responses) and the one handling responses
coming from a backend (without XSK), which is wrong since the internal
queues are single-producer (and single consumer, but a worker is only
assigned to a single XskRouter which is OK).
This commit introduces a new, separate worker for the threads handling
responses coming from a backend without XSK (it was already the case
for responses coming from a backend via XSK). The new worker is marked
"outgoing-only" to ensure we are not confused about what it can be used
for, which is only sending packets, not receiving any.
Remi Gacogne [Mon, 8 Jul 2024 08:06:04 +0000 (10:06 +0200)]
Merge pull request #14434 from PowerDNS/dependabot/pip/docs/certifi-2024.7.4
build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /docs
dependabot[bot] [Sun, 7 Jul 2024 19:45:43 +0000 (19:45 +0000)]
build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /docs
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.7.22 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2024.07.04)
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Remi Gacogne [Sun, 7 Jul 2024 19:44:12 +0000 (21:44 +0200)]
Merge pull request #14433 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/certifi-2024.7.4
build(deps): bump certifi from 2024.2.2 to 2024.7.4 in /pdns/dnsdistdist/docs
dependabot[bot] [Sat, 6 Jul 2024 13:26:38 +0000 (13:26 +0000)]
build(deps): bump certifi in /pdns/dnsdistdist/docs
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Remi Gacogne [Sat, 6 Jul 2024 13:25:40 +0000 (15:25 +0200)]
Merge pull request #14432 from PowerDNS/dependabot/pip/pdns/keyroller/certifi-2024.7.4
build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /pdns/keyroller
dependabot[bot] [Sat, 6 Jul 2024 01:13:21 +0000 (01:13 +0000)]
build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /pdns/keyroller
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.7.22 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2024.07.04)
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Sander Hoentjen [Fri, 5 Jul 2024 14:38:12 +0000 (16:38 +0200)]
Don't include openssl/engine.h if it's not going to be used
Otto Moerbeek [Fri, 5 Jul 2024 08:33:27 +0000 (10:33 +0200)]
Split sanitizerecord in two loops to avoid order dependency in authority section
Also avoid some repeated section tests by using nested ifs.
Remi Gacogne [Thu, 4 Jul 2024 15:16:54 +0000 (17:16 +0200)]
dnsdist: Fix a race in the XSK/AF_XDP backend handling code
For performance reasons we used to keep a local list of available frames
in our `XskWorker` object, like we are doing in the `XskSocket` one,
to avoid having to go to the shared list which is protected by a lock.
Unfortunately, while it works well for the `XskSocket` because it is
accessed by a single `XskRouter` thread, the `XskWorker` object can
be accessed by multiple threads at once: `XskResponderThread`,
`responderThread`, `XskClientThread` and `XskRouter`. Most of the
time these threads do not acquire nor release frames to the local
list, but `responderThread` does acquire one when a response frame
is punted to the regular networking stack, and all of them release
frames when an unexpected condition occurs, for example when a queue
is full. This leads to memory corruption and to a crash.
This commit gets rid of the local list of frames in the `XskWorker`
object, acquiring and releasing them to the shared list instead, since
performance in these cases is likely not as critical. If it turns out
to be too slow, we can look into caching a few frames in a thread-local
list, but then we need to be careful not to hold on them indefinitely
which might be tricky.
Otto Moerbeek [Fri, 5 Jul 2024 07:48:19 +0000 (09:48 +0200)]
Disallow irrelevant SOA records in ANSWER section and adapt test_bogus_does_not_replace_secure_in_the_cache test to not use them
Otto Moerbeek [Fri, 5 Jul 2024 07:36:46 +0000 (09:36 +0200)]
Replace s_redirectionQTypes by a simple function and simplify logging in sanitizeRecords
Otto Moerbeek [Wed, 3 Jul 2024 11:16:46 +0000 (13:16 +0200)]
Add some comments on what's happening in sanitizeRecords,
including a few questions I had when looking at the code
Otto Moerbeek [Fri, 5 Jul 2024 05:13:39 +0000 (07:13 +0200)]
Merge pull request #14425 from aj-gh/recursor-fixtypo1
Recursor: Fix processsing typo.
Remi Gacogne [Thu, 4 Jul 2024 14:02:55 +0000 (16:02 +0200)]
Merge pull request #14420 from rgacogne/fix-provenance-copy
build-package: Fix copy of the provenance attestations
Andreas Jakum [Thu, 4 Jul 2024 13:29:47 +0000 (15:29 +0200)]
Fix processsing typo.
Peter van Dijk [Thu, 4 Jul 2024 13:10:50 +0000 (15:10 +0200)]
Merge pull request #14418 from Habbie/no-el7-arm64
exclude el7 from arm64 in daily package builds
Remi Gacogne [Thu, 4 Jul 2024 12:38:31 +0000 (14:38 +0200)]
build-package: Fix copy of the provenance attestations
Otto Moerbeek [Thu, 4 Jul 2024 12:29:05 +0000 (14:29 +0200)]
Merge pull request #14419 from omoerbeek/followup-14327
Fix compile error on OPENSSL_VERSION_MAJOR < 3
Otto Moerbeek [Thu, 4 Jul 2024 11:56:21 +0000 (13:56 +0200)]
Fix compile error on OPENSSL_VERSION_MAJOR < 3
../pdns/libssl.cc:637:28: error: no member named 'content' in 'OpenSSLTLSTicketKey'
Remi Gacogne [Thu, 4 Jul 2024 11:17:32 +0000 (13:17 +0200)]
Merge pull request #14327 from chbruyand/dnsdist-tickets-key-hook
dnsdist: add support for a callback when a new tickets key is added
Remi Gacogne [Thu, 4 Jul 2024 10:09:51 +0000 (12:09 +0200)]
dnsdist: Use a narrower scope for tickets_key_added_hook
Peter van Dijk [Thu, 4 Jul 2024 09:41:12 +0000 (11:41 +0200)]
exclude el7 from arm64 in daily package builds
missed this spot in #14406
Remi Gacogne [Thu, 4 Jul 2024 08:38:26 +0000 (10:38 +0200)]
dnsdist: Fix a typo in the constants documentation
Remi Gacogne [Thu, 4 Jul 2024 08:38:06 +0000 (10:38 +0200)]
dnsdist: Document how to use ``XSK``/``AF_XDP`` under systemd
Remi Gacogne [Thu, 4 Jul 2024 08:26:48 +0000 (10:26 +0200)]
dnsdist: Add information, with better formatting, to our XDP script
Remi Gacogne [Wed, 3 Jul 2024 12:25:39 +0000 (14:25 +0200)]
dnsdist: Use a recursive mutex for the Lua lock
Charles-Henri Bruyand [Wed, 3 Jul 2024 11:23:30 +0000 (13:23 +0200)]
dnsdist: fix build of dnsdist least version
Charles-Henri Bruyand [Wed, 3 Jul 2024 11:22:57 +0000 (13:22 +0200)]
dnsdist: fix gnutls lib flags
Fred Morcos [Wed, 3 Jul 2024 09:37:03 +0000 (11:37 +0200)]
Merge pull request #14409 from fredmorcos/various-cleanups
Various cleanups
Otto Moerbeek [Wed, 3 Jul 2024 09:00:52 +0000 (11:00 +0200)]
Merge pull request #14401 from omoerbeek/rec-prep-
20240703
rec: Prep for rec-4.9.7 and 5.0.7 releases
Fred Morcos [Tue, 2 Jul 2024 20:21:28 +0000 (22:21 +0200)]
Some formatting of pdnsutil.cc
Fred Morcos [Tue, 2 Jul 2024 20:20:33 +0000 (22:20 +0200)]
Fix missing includes in lua2api2.hh
Charles-Henri Bruyand [Tue, 2 Jul 2024 13:41:18 +0000 (15:41 +0200)]
dndist: apply Remi's comments, thanks
Charles-Henri Bruyand [Fri, 28 Jun 2024 08:52:01 +0000 (10:52 +0200)]
tidy
Fred Morcos [Tue, 2 Jul 2024 20:20:04 +0000 (22:20 +0200)]
Cleanup geoipbackend.cc
Fred Morcos [Tue, 2 Jul 2024 20:19:34 +0000 (22:19 +0200)]
Cleanup dnspacket.cc
Fred Morcos [Tue, 2 Jul 2024 20:19:17 +0000 (22:19 +0200)]
Formatting and minor fix in misc.hh
Fred Morcos [Tue, 2 Jul 2024 20:18:55 +0000 (22:18 +0200)]
Fix config.h include in opensslsigners