]>
git.ipfire.org Git - thirdparty/pdns.git/log
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 [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
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 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
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
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
Otto Moerbeek [Tue, 2 Jul 2024 13:59:12 +0000 (15:59 +0200)]
Merge pull request #14408 from omoerbeek/rec-throttle-reason
Rec throttle reason
Peter van Dijk [Tue, 2 Jul 2024 13:02:49 +0000 (15:02 +0200)]
Merge pull request #14406 from Habbie/daily-build-el-7
daily package build: use el-7 target instead of centos-7
Otto Moerbeek [Tue, 2 Jul 2024 12:47:50 +0000 (14:47 +0200)]
Reformat
Otto Moerbeek [Tue, 2 Jul 2024 12:21:55 +0000 (14:21 +0200)]
Merge pull request #14404 from omoerbeek/yahttp-router
Yahttp router: appease coverity wrt unsigned underflow in match()
Remi Gacogne [Tue, 2 Jul 2024 12:16:24 +0000 (14:16 +0200)]
Merge pull request #14343 from PowerDNS/dependabot/github_actions/docker/build-push-action-6
Bump docker/build-push-action from 5 to 6
Remi Gacogne [Tue, 2 Jul 2024 12:02:31 +0000 (14:02 +0200)]
Merge pull request #14407 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/urllib3-2.2.2
build(deps): bump urllib3 from 2.2.0 to 2.2.2 in /pdns/dnsdistdist/docs
Otto Moerbeek [Fri, 28 Jun 2024 14:01:51 +0000 (16:01 +0200)]
Remember reason we're throttling
dependabot[bot] [Tue, 2 Jul 2024 11:17:47 +0000 (11:17 +0000)]
build(deps): bump urllib3 from 2.2.0 to 2.2.2 in /pdns/dnsdistdist/docs
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.0...2.2.2)
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Peter van Dijk [Tue, 2 Jul 2024 11:17:16 +0000 (13:17 +0200)]
daily package build: use el-7 target instead of centos-7
Remi Gacogne [Tue, 2 Jul 2024 11:16:38 +0000 (13:16 +0200)]
Merge pull request #14399 from rgacogne/pkgs-slsa-dir
build-packages: Upload SLSA attestations to the right directory
Otto Moerbeek [Tue, 2 Jul 2024 11:09:03 +0000 (13:09 +0200)]
Merge pull request #14396 from omoerbeek/tidy-
20240627
Tidy sstuf.hh and shuffle.??
Otto Moerbeek [Tue, 2 Jul 2024 10:22:29 +0000 (12:22 +0200)]
Avoid upos underflowing in match loop
Otto Moerbeek [Tue, 2 Jul 2024 10:20:48 +0000 (12:20 +0200)]
no else block after break statement
Peter van Dijk [Tue, 2 Jul 2024 10:17:15 +0000 (12:17 +0200)]
Merge pull request #14400 from Habbie/el7-on-ol7
switch el7 builds to Oracle Linux 7
Otto Moerbeek [Tue, 2 Jul 2024 07:46:10 +0000 (09:46 +0200)]
Prep for rec-4.9.7 and 5.0.7 releases
Otto Moerbeek [Tue, 2 Jul 2024 10:02:52 +0000 (12:02 +0200)]
Also convert callers of readWithTimeout(), as suggested by @rgacogne
Peter van Dijk [Tue, 2 Jul 2024 09:19:31 +0000 (11:19 +0200)]
switch el7 builds to Oracle Linux 7
Remi Gacogne [Tue, 2 Jul 2024 07:41:28 +0000 (09:41 +0200)]
build-packages: Upload SLSA attestations to the right directory
Remi Gacogne [Mon, 1 Jul 2024 09:17:52 +0000 (11:17 +0200)]
dnsdist: Make the logging functions available to all Lua environments
They were not available to the per-thread FFI rule, action and
load-balancing policy environments.
Otto Moerbeek [Fri, 28 Jun 2024 13:17:59 +0000 (15:17 +0200)]
Untemplatize Throttle class
Otto Moerbeek [Wed, 26 Jun 2024 13:32:52 +0000 (15:32 +0200)]
Tidy sstuff.hh
Note the readWithTimeout() return type change to make things more consistent
Plus some asserted things that caught my eye.
Remi Gacogne [Fri, 28 Jun 2024 09:28:19 +0000 (11:28 +0200)]
Merge pull request #14395 from rgacogne/ddist-dedup-prometheus-help-type-custom-labels
dnsdist: Dedup Prometheus help and type lines for custom metrics with labels
Remi Gacogne [Fri, 28 Jun 2024 08:51:30 +0000 (10:51 +0200)]
dnsdist: Do not implicitly convert count()'s `size_type` to `bool`
Remi Gacogne [Fri, 28 Jun 2024 08:45:56 +0000 (10:45 +0200)]
dnsdist: Dedup Prometheus help and type lines for custom metrics with labels
Remi Gacogne [Fri, 28 Jun 2024 08:33:26 +0000 (10:33 +0200)]
Merge pull request #14376 from rgacogne/ddist-upstatus-race
dnsdist: Fix a race when accessing a backend health status