]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
12 months agorec: limit the number of async tasks pushed to resolve NS names 14499/head
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.

12 months agoMerge pull request #14367 from rgacogne/ddist-lua-config-cleanup
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

12 months agoMerge pull request #14458 from omoerbeek/rec-meson
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

12 months agoMerge pull request #14474 from rgacogne/fix-permissions-on-packages-dir
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

12 months agobuild-packages: More lenient permissions on the packages directory 14474/head
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.

12 months agoAdd detection of a handful of pthread _np functions 14458/head
Otto Moerbeek [Tue, 16 Jul 2024 09:26:34 +0000 (11:26 +0200)] 
Add detection of a handful of pthread _np functions

12 months agoMerge pull request #14461 from rgacogne/ddist-196-changelog-secpoll
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

12 months agoMerge pull request #14447 from aerique/feature/add-arm64-tests-to-repo-script
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.

12 months agoTweaks
Otto Moerbeek [Tue, 16 Jul 2024 07:18:57 +0000 (09:18 +0200)] 
Tweaks

12 months agoMerge pull request #14459 from omoerbeek/rec-docker-yml
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

12 months agoProcess review comments, add check for a config.h file in src dir
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

12 months agodnsdist: Apply suggestions from Otto's reviews of the new configuration 14367/head
Remi Gacogne [Tue, 25 Jun 2024 13:02:21 +0000 (15:02 +0200)] 
dnsdist: Apply suggestions from Otto's reviews of the new configuration

12 months agodnsdist: Fix clang-tidy warnings in dnsdist-dynblocks.cc
Remi Gacogne [Mon, 24 Jun 2024 14:23:27 +0000 (16:23 +0200)] 
dnsdist: Fix clang-tidy warnings in dnsdist-dynblocks.cc

12 months agodnsdist: Fix static analysis warnings (again)
Remi Gacogne [Mon, 24 Jun 2024 11:32:25 +0000 (13:32 +0200)] 
dnsdist: Fix static analysis warnings (again)

12 months agodnsdist: Fix static analysis warnings
Remi Gacogne [Mon, 24 Jun 2024 07:44:42 +0000 (09:44 +0200)] 
dnsdist: Fix static analysis warnings

12 months agodnsdist: Fix compilation when dynamic blocks are disabled
Remi Gacogne [Fri, 21 Jun 2024 10:06:04 +0000 (12:06 +0200)] 
dnsdist: Fix compilation when dynamic blocks are disabled

12 months agodnsdist: Reduce the dependency on dnsdist::configuration.hh
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.

12 months agodnsdist: Fix unwanted copies of the configuration
Remi Gacogne [Fri, 21 Jun 2024 08:50:39 +0000 (10:50 +0200)] 
dnsdist: Fix unwanted copies of the configuration

12 months agodnsdist: Fix clang-tidy's warnings about const-correctness
Remi Gacogne [Tue, 18 Jun 2024 15:02:56 +0000 (17:02 +0200)] 
dnsdist: Fix clang-tidy's warnings about const-correctness

12 months agodnsdist: Refactor frontend configuration
Remi Gacogne [Tue, 18 Jun 2024 14:07:51 +0000 (16:07 +0200)] 
dnsdist: Refactor frontend configuration

12 months agodnsdist: Move Rings to the new configuration
Remi Gacogne [Thu, 13 Jun 2024 11:42:01 +0000 (13:42 +0200)] 
dnsdist: Move Rings to the new configuration

12 months agodnsdist: Move carbon settings 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

12 months agodnsdist: Get rid of the weird delayed tasks during configuration/startup
Remi Gacogne [Tue, 11 Jun 2024 12:54:16 +0000 (14:54 +0200)] 
dnsdist: Get rid of the weird delayed tasks during configuration/startup

12 months agodnsdist: Switch Webserver and console to the new configuration
Remi Gacogne [Tue, 11 Jun 2024 10:41:24 +0000 (12:41 +0200)] 
dnsdist: Switch Webserver and console to the new configuration

12 months agodnsdist: Make dynamic rules holders static
Remi Gacogne [Mon, 10 Jun 2024 10:29:18 +0000 (12:29 +0200)] 
dnsdist: Make dynamic rules holders static

12 months agodnsdist: Move outgoing connections settings to the new configuration
Remi Gacogne [Fri, 7 Jun 2024 15:26:00 +0000 (17:26 +0200)] 
dnsdist: Move outgoing connections settings to the new configuration

12 months agodnsdist: Remove left-over global variables
Remi Gacogne [Fri, 7 Jun 2024 13:43:35 +0000 (15:43 +0200)] 
dnsdist: Remove left-over global variables

12 months agodnsdist: Fix compiler warnings about reaching end of non-void functions
Remi Gacogne [Fri, 7 Jun 2024 13:42:39 +0000 (15:42 +0200)] 
dnsdist: Fix compiler warnings about reaching end of non-void functions

12 months agodnsdist: Fix shadowed variables
Remi Gacogne [Fri, 7 Jun 2024 13:42:15 +0000 (15:42 +0200)] 
dnsdist: Fix shadowed variables

12 months agodnsdist: Move the TCP Fast Open key to the new configuration
Remi Gacogne [Fri, 7 Jun 2024 13:41:16 +0000 (15:41 +0200)] 
dnsdist: Move the TCP Fast Open key to the new configuration

12 months agodnsdist: Move rules to the new configuration
Remi Gacogne [Tue, 4 Jun 2024 10:39:40 +0000 (12:39 +0200)] 
dnsdist: Move rules to the new configuration

12 months agodnsdist: Move the backends 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

12 months agodnsdist: Move LB policy and pools 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

12 months agodnsdist: Fix a 'shadowed variable' warning
Remi Gacogne [Fri, 31 May 2024 08:34:13 +0000 (10:34 +0200)] 
dnsdist: Fix a 'shadowed variable' warning

12 months agodnsdist: Fix a warning about using an initialized variable in DNSCrypt
Remi Gacogne [Fri, 31 May 2024 08:33:51 +0000 (10:33 +0200)] 
dnsdist: Fix a warning about using an initialized variable in DNSCrypt

12 months agodnsdist: Fix formatting issues
Remi Gacogne [Fri, 31 May 2024 08:08:01 +0000 (10:08 +0200)] 
dnsdist: Fix formatting issues

12 months agodnsdist: Move ACL to the new configuration system
Remi Gacogne [Thu, 30 May 2024 15:41:38 +0000 (17:41 +0200)] 
dnsdist: Move ACL to the new configuration system

12 months agosstuff: Convert a `static const` to `static constexpr`
Remi Gacogne [Thu, 30 May 2024 14:56:55 +0000 (16:56 +0200)] 
sstuff: Convert a `static const` to `static constexpr`

12 months agodnsdist: Clean up Dynamic Rules configuration
Remi Gacogne [Thu, 30 May 2024 14:56:38 +0000 (16:56 +0200)] 
dnsdist: Clean up Dynamic Rules configuration

12 months agodnsdist: Clean up console configuration
Remi Gacogne [Thu, 30 May 2024 14:13:41 +0000 (16:13 +0200)] 
dnsdist: Clean up console configuration

12 months agodnsdist: Be careful not to hold onto a Runtime Configuration
Remi Gacogne [Thu, 30 May 2024 12:45:36 +0000 (14:45 +0200)] 
dnsdist: Be careful not to hold onto a Runtime Configuration

12 months agodnsdist: Convert capabilities configuration
Remi Gacogne [Tue, 28 May 2024 14:59:27 +0000 (16:59 +0200)] 
dnsdist: Convert capabilities configuration

12 months agodnsdist: Protect the runtime-modifiable configuration via RCU
Remi Gacogne [Tue, 19 Mar 2024 17:24:14 +0000 (18:24 +0100)] 
dnsdist: Protect the runtime-modifiable configuration via RCU

12 months agodnsdist: Improve consistency of the Lua types used in our configuration
Remi Gacogne [Tue, 19 Mar 2024 13:44:16 +0000 (14:44 +0100)] 
dnsdist: Improve consistency of the Lua types used in our configuration

12 months agodnsdist: Set 1.9.6 release to 16th of July 2024 14461/head
Remi Gacogne [Mon, 15 Jul 2024 09:38:49 +0000 (11:38 +0200)] 
dnsdist: Set 1.9.6 release to 16th of July 2024

12 months agoMissed dep_threads, matters on FreeBSD
Otto Moerbeek [Fri, 12 Jul 2024 14:38:39 +0000 (16:38 +0200)] 
Missed dep_threads, matters on FreeBSD

12 months agoMerge pull request #14468 from rgacogne/ci-remove-ddist-17x
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

12 months agoMerge pull request #14429 from rgacogne/ddist-xsk-backend-race
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

12 months agoci: Stop building rel/dnsdist-1.7.x, as 1.7.x is EOL 14468/head
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

12 months agodnsdist: Avoid a double lookup when UMEM state debugging is enabled 14429/head
Remi Gacogne [Fri, 12 Jul 2024 09:49:44 +0000 (11:49 +0200)] 
dnsdist: Avoid a double lookup when UMEM state debugging is enabled

12 months agoFix editing botch in comment, plus bit of cleanup in printed stuiff and comments
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

12 months agodnsdist: Set the shared XSK frames in the XskWorker constructor
Remi Gacogne [Fri, 12 Jul 2024 07:41:53 +0000 (09:41 +0200)] 
dnsdist: Set the shared XSK frames in the XskWorker constructor

12 months agoMerge pull request #14456 from omoerbeek/ci-build-rec-51
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

12 months agoMerge pull request #14430 from omoerbeek/rec-sanitize
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

12 months agodnsdist: Prepare ChangeLog and secpoll for 1.9.6
Remi Gacogne [Thu, 11 Jul 2024 14:54:15 +0000 (16:54 +0200)] 
dnsdist: Prepare ChangeLog and secpoll for 1.9.6

12 months agoFix example command line 14459/head
Otto Moerbeek [Wed, 10 Jul 2024 13:33:36 +0000 (15:33 +0200)] 
Fix example command line

12 months agorec: move default Docker config to YAML
Otto Moerbeek [Wed, 10 Jul 2024 13:02:00 +0000 (15:02 +0200)] 
rec: move default Docker config to YAML

12 months agoAs noted by rgacogne: additional record type check can be done in first pass 14430/head
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

12 months agoDefine HAVE_BOOST_CONTAINER_FLAT_SET_HPP if relevant, fix systemd dep
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

12 months agoNOD handling
Otto Moerbeek [Wed, 10 Jul 2024 09:58:05 +0000 (11:58 +0200)] 
NOD handling

12 months agopubsuffix handling
Otto Moerbeek [Tue, 9 Jul 2024 15:23:58 +0000 (17:23 +0200)] 
pubsuffix handling

12 months agoTestrunner now works
Otto Moerbeek [Tue, 9 Jul 2024 14:25:44 +0000 (16:25 +0200)] 
Testrunner now works

12 months agoadding other executables, there are some issues with C++ generated code
Otto Moerbeek [Tue, 9 Jul 2024 06:51:26 +0000 (08:51 +0200)] 
adding other executables, there are some issues with C++ generated code

12 months agoFix SNMP, add a few more features
Otto Moerbeek [Mon, 8 Jul 2024 13:18:07 +0000 (15:18 +0200)] 
Fix SNMP, add a few more features

12 months agorec: meson build inital work
Otto Moerbeek [Mon, 8 Jul 2024 11:47:44 +0000 (13:47 +0200)] 
rec: meson build inital work

12 months agoReally remove `arch=...` from `pdns.list` file. 14447/head
Erik Winkels [Wed, 10 Jul 2024 11:13:14 +0000 (13:13 +0200)] 
Really remove `arch=...` from `pdns.list` file.

12 months agoAdd AARCH64 tests for rec-49 and -50.
Erik Winkels [Wed, 10 Jul 2024 11:11:54 +0000 (13:11 +0200)] 
Add AARCH64 tests for rec-49 and -50.

12 months agoMerge pull request #14453 from omoerbeek/rec-prep-5.1.0
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

12 months agorec: move to rec-5.1.x for builder-releases-dispatch.yml as well 14456/head
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

12 months agoMerge pull request #14451 from omoerbeek/rec-docs-not-quiet
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

12 months agoMerge pull request #14454 from Habbie/catalog-order-by
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

12 months agoMerge pull request #14443 from PowerDNS/dependabot/pip/pdns/recursordist/docs/certifi...
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

12 months agoApply text suggestions from @rgacogne 14451/head
Otto Moerbeek [Tue, 9 Jul 2024 12:45:00 +0000 (14:45 +0200)] 
Apply text suggestions from @rgacogne

12 months agoauth catalogs SQL: force order of domains to avoid spurious rehashes 14454/head
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

12 months agoMerge pull request #14448 from Habbie/daily-master-packages
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

12 months agorec: prep for rec-5.1.0 14453/head
Otto Moerbeek [Tue, 9 Jul 2024 09:30:51 +0000 (11:30 +0200)] 
rec: prep for rec-5.1.0

12 months agorec: document log lines produced by logging.quiet set to false
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

12 months agogh actions: daily master build of packages 14448/head
Peter van Dijk [Mon, 8 Jul 2024 11:52:17 +0000 (13:52 +0200)] 
gh actions: daily master build of packages

12 months agoRemove `arch=...` from `pdns.list` file.
Erik Winkels [Mon, 8 Jul 2024 13:36:41 +0000 (15:36 +0200)] 
Remove `arch=...` from `pdns.list` file.

12 months agoAdd ARM64 tests to repo test script.
Erik Winkels [Thu, 20 Jun 2024 14:33:19 +0000 (16:33 +0200)] 
Add ARM64 tests to repo test script.

12 months agodnsdist: Fix wrong assertions in AF_XDP/XSK code
Remi Gacogne [Tue, 9 Jul 2024 08:33:48 +0000 (10:33 +0200)] 
dnsdist: Fix wrong assertions in AF_XDP/XSK code

12 months agobuild(deps): bump certifi in /pdns/recursordist/docs 14443/head
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>
12 months agoMerge pull request #14441 from omoerbeek/ci-build-rec-5.1.x-daily
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

12 months agoMerge pull request #14417 from rgacogne/ddist-xsk-doc-script
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`

12 months agoMerge pull request #14398 from rgacogne/ddist-logging-per-thread-ffi
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

12 months agoCI: start building rel/rec-5.1.x daily, and drop rel/rec-4.8.x 14441/head
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

12 months agoMerge pull request #14431 from tjikkun/no_include_engine
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

12 months agodnsdist: Fix code formatting
Remi Gacogne [Mon, 8 Jul 2024 12:58:20 +0000 (14:58 +0200)] 
dnsdist: Fix code formatting

12 months agodnsdist: Make the code used to debug UMEM issues work with multiple queues
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

12 months agodnsdist: Fix a data race in the AF_XDP/XSK dnsdist <-> backend code
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.

12 months agoMerge pull request #14434 from PowerDNS/dependabot/pip/docs/certifi-2024.7.4
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

12 months agobuild(deps): bump certifi from 2023.7.22 to 2024.7.4 in /docs 14434/head
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>
12 months agoMerge pull request #14433 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/certifi...
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

12 months agobuild(deps): bump certifi in /pdns/dnsdistdist/docs 14433/head
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>
12 months agoMerge pull request #14432 from PowerDNS/dependabot/pip/pdns/keyroller/certifi-2024.7.4
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

12 months agobuild(deps): bump certifi from 2023.7.22 to 2024.7.4 in /pdns/keyroller 14432/head
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>
12 months agoDon't include openssl/engine.h if it's not going to be used 14431/head
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

12 months agoSplit sanitizerecord in two loops to avoid order dependency in authority section
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.

12 months agodnsdist: Fix a race in the XSK/AF_XDP backend handling code
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.

12 months agoDisallow irrelevant SOA records in ANSWER section and adapt test_bogus_does_not_repla...
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