]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Wed, 17 Jul 2024 08:46:58 +0000 (10:46 +0200)]
rec: limit the number of async tasks pushed to resolve NS names
Plus: as we only use a limited set of NS names for resolving,
processing all additional records does not help.
Remi Gacogne [Tue, 16 Jul 2024 12:24:55 +0000 (14:24 +0200)]
Merge pull request #14367 from rgacogne/ddist-lua-config-cleanup
dnsdist: Refactoring of the configuration
Otto Moerbeek [Tue, 16 Jul 2024 11:04:14 +0000 (13:04 +0200)]
Merge pull request #14458 from omoerbeek/rec-meson
rec: add meson build
Peter van Dijk [Tue, 16 Jul 2024 10:38:19 +0000 (12:38 +0200)]
Merge pull request #14474 from rgacogne/fix-permissions-on-packages-dir
build-packages: More lenient permissions on the packages directory
Remi Gacogne [Tue, 16 Jul 2024 09:41:20 +0000 (11:41 +0200)]
build-packages: More lenient permissions on the packages directory
We don't really the more restrictive `700` since all these artefacts
are public anyway, and this breaks the current release workflow,
so let's go with `755` instead.
Otto Moerbeek [Tue, 16 Jul 2024 09:26:34 +0000 (11:26 +0200)]
Add detection of a handful of pthread _np functions
Remi Gacogne [Tue, 16 Jul 2024 09:07:45 +0000 (11:07 +0200)]
Merge pull request #14461 from rgacogne/ddist-196-changelog-secpoll
dnsdist: Prepare ChangeLog and secpoll for 1.9.6
aerique [Tue, 16 Jul 2024 08:14:24 +0000 (10:14 +0200)]
Merge pull request #14447 from aerique/feature/add-arm64-tests-to-repo-script
Add ARM64 tests to repo script.
Otto Moerbeek [Tue, 16 Jul 2024 07:18:57 +0000 (09:18 +0200)]
Tweaks
Otto Moerbeek [Mon, 15 Jul 2024 17:33:49 +0000 (19:33 +0200)]
Merge pull request #14459 from omoerbeek/rec-docker-yml
rec: provide docker image with yml config file
Otto Moerbeek [Mon, 15 Jul 2024 13:20:42 +0000 (15:20 +0200)]
Process review comments, add check for a config.h file in src dir
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 [Mon, 15 Jul 2024 09:38:49 +0000 (11:38 +0200)]
dnsdist: Set 1.9.6 release to 16th of July 2024
Otto Moerbeek [Fri, 12 Jul 2024 14:38:39 +0000 (16:38 +0200)]
Missed dep_threads, matters on FreeBSD
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
Otto Moerbeek [Fri, 12 Jul 2024 08:33:06 +0000 (10:33 +0200)]
Fix editing botch in comment, plus bit of cleanup in printed stuiff and comments
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
Remi Gacogne [Thu, 11 Jul 2024 14:54:15 +0000 (16:54 +0200)]
dnsdist: Prepare ChangeLog and secpoll for 1.9.6
Otto Moerbeek [Wed, 10 Jul 2024 13:33:36 +0000 (15:33 +0200)]
Fix example command line
Otto Moerbeek [Wed, 10 Jul 2024 13:02:00 +0000 (15:02 +0200)]
rec: move default Docker config to YAML
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 10:34:02 +0000 (12:34 +0200)]
Define HAVE_BOOST_CONTAINER_FLAT_SET_HPP if relevant, fix systemd dep
Otto Moerbeek [Wed, 10 Jul 2024 09:58:05 +0000 (11:58 +0200)]
NOD handling
Otto Moerbeek [Tue, 9 Jul 2024 15:23:58 +0000 (17:23 +0200)]
pubsuffix handling
Otto Moerbeek [Tue, 9 Jul 2024 14:25:44 +0000 (16:25 +0200)]
Testrunner now works
Otto Moerbeek [Tue, 9 Jul 2024 06:51:26 +0000 (08:51 +0200)]
adding other executables, there are some issues with C++ generated code
Otto Moerbeek [Mon, 8 Jul 2024 13:18:07 +0000 (15:18 +0200)]
Fix SNMP, add a few more features
Otto Moerbeek [Mon, 8 Jul 2024 11:47:44 +0000 (13:47 +0200)]
rec: meson build inital work
Erik Winkels [Wed, 10 Jul 2024 11:13:14 +0000 (13:13 +0200)]
Really remove `arch=...` from `pdns.list` file.
Erik Winkels [Wed, 10 Jul 2024 11:11:54 +0000 (13:11 +0200)]
Add AARCH64 tests for rec-49 and -50.
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
Erik Winkels [Mon, 8 Jul 2024 13:36:41 +0000 (15:36 +0200)]
Remove `arch=...` from `pdns.list` file.
Erik Winkels [Thu, 20 Jun 2024 14:33:19 +0000 (16:33 +0200)]
Add ARM64 tests to repo test script.
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