]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Tue, 21 May 2024 11:24:14 +0000 (13:24 +0200)]
Tidy test
Otto Moerbeek [Mon, 8 Apr 2024 07:50:34 +0000 (09:50 +0200)]
Fix "var unused" warnings in tests
Remi Gacogne [Tue, 21 Feb 2023 17:20:47 +0000 (18:20 +0100)]
rec: Check denial in positive {C,D}NAME answers expanded from a wildcard
Remi Gacogne [Tue, 21 Feb 2023 17:20:08 +0000 (18:20 +0100)]
rec: Skip NSEC records signed by a subzone when validating a denial proof
Peter van Dijk [Fri, 17 May 2024 12:42:36 +0000 (14:42 +0200)]
Merge pull request #14123 from PowerDNS/dependabot/pip/pdns/recursordist/docs/idna-3.7
build(deps): bump idna from 3.6 to 3.7 in /pdns/recursordist/docs
Remi Gacogne [Fri, 17 May 2024 12:11:56 +0000 (14:11 +0200)]
Merge pull request #14178 from omoerbeek/rec-docs-padding-proxy
rec: fix version changed for incoming.edns_padding_from and incoming.proxy_protocol_from
Otto Moerbeek [Fri, 17 May 2024 08:03:34 +0000 (10:03 +0200)]
Merge pull request #14169 from omoerbeek/rec-lsan
rec: enable lsan in regression tests
Alexis Romero [Thu, 16 May 2024 14:10:49 +0000 (16:10 +0200)]
Merge pull request #14171 from romeroalx/build-images-gh-actions
GH Actions: build and publish multi-platform images
Fred Morcos [Thu, 16 May 2024 12:55:07 +0000 (14:55 +0200)]
Merge pull request #14174 from fredmorcos/backend-loading-debug-logging
Auth: Add debug logging to `UeberBackend` and `BackendMakerClass`
Remi Gacogne [Thu, 16 May 2024 12:43:15 +0000 (14:43 +0200)]
Merge pull request #14162 from rgacogne/ddist-fix-unittest-warning-without-xsk
dnsdist: Fix a warning when compiling the unit tests without XSK
Fred Morcos [Thu, 16 May 2024 10:21:09 +0000 (12:21 +0200)]
Merge pull request #14175 from fredmorcos/auth-meson-modules-refactor
Meson: Move modules handling to `modules/` dir
Fred Morcos [Thu, 16 May 2024 08:04:10 +0000 (10:04 +0200)]
Merge pull request #14176 from fredmorcos/ueberbackend-cleanup
`UeberBackend` cleanups
Remi Gacogne [Thu, 16 May 2024 07:19:52 +0000 (09:19 +0200)]
Merge pull request #14173 from fredmorcos/clang-tidy-disable-endl-warnings
Disable clang-tidy's `performance-avoid-endl` check
romeroalx [Wed, 15 May 2024 13:48:53 +0000 (15:48 +0200)]
Merge pull request #14179 from romeroalx/fix-typo-gh-actions
GH Actions: Fix a typo in build-and-test-all.yml
Otto Moerbeek [Wed, 15 May 2024 13:19:28 +0000 (15:19 +0200)]
Fix includes
Otto Moerbeek [Wed, 15 May 2024 12:45:10 +0000 (14:45 +0200)]
Also accept -15 (killed by SIGTERM) as exit code
romeroalx [Wed, 15 May 2024 12:34:00 +0000 (14:34 +0200)]
gh actions: fix a typo (autotools) in build-and-test-all.yml as reported by Otto
Otto Moerbeek [Wed, 15 May 2024 12:20:15 +0000 (14:20 +0200)]
Merge pull request #14111 from omoerbeek/rec-extra-exportTypes
rec: extra export types for protobuf messages
Otto Moerbeek [Wed, 15 May 2024 11:50:18 +0000 (13:50 +0200)]
rec: fix version changed for incoming.edns_padding_from and incoming.proxy_protocol_from
Otto Moerbeek [Wed, 15 May 2024 11:18:08 +0000 (13:18 +0200)]
Merge pull request #14172 from omoerbeek/rec-prep-5.1.0-alpha1
rec: prep rec-5.1.0-alpha1
Fred Morcos [Wed, 15 May 2024 11:11:19 +0000 (13:11 +0200)]
UeberBackend cleanups
Fred Morcos [Wed, 15 May 2024 09:47:18 +0000 (11:47 +0200)]
Meson: Move modules handling to modules/ dir
This simplifies a bit the handling of modules, and puts the backend artifacts in a
directory similar to how autotools did it, this helps simplify adapting the regression
tests harness to support our Meson builds.
Fred Morcos [Wed, 15 May 2024 09:46:08 +0000 (11:46 +0200)]
Auth: Add debug logging to UeberBackend and BackendMakerClass
When trying to load backend module files.
Fred Morcos [Wed, 15 May 2024 09:33:59 +0000 (11:33 +0200)]
Disable clang-tidy performance-avoid-endl check
Otto Moerbeek [Wed, 15 May 2024 08:31:29 +0000 (10:31 +0200)]
Typo in comment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Tue, 14 May 2024 11:35:11 +0000 (13:35 +0200)]
rec: prep rec-5.1.0-alpha1
romeroalx [Tue, 14 May 2024 15:45:08 +0000 (17:45 +0200)]
gh actions: add WF for building and pushing images when a new tag is created
romeroalx [Tue, 14 May 2024 15:43:26 +0000 (17:43 +0200)]
gh actions: add WF for building and pushing images manually
romeroalx [Tue, 14 May 2024 15:40:11 +0000 (17:40 +0200)]
gh actions: modify docker.yml for building and pushing images daily (master)
romeroalx [Tue, 14 May 2024 15:35:44 +0000 (17:35 +0200)]
gh actions: add WF for building and pushing multi-platform images on workflow_call events
romeroalx [Tue, 14 May 2024 15:26:05 +0000 (17:26 +0200)]
Adding liblua5.3-dev/libluajit-5.1-dev to dockerfiles
Otto Moerbeek [Tue, 14 May 2024 09:27:46 +0000 (11:27 +0200)]
Merge pull request #14165 from omoerbeek/rec-prep-
20240514
rec: prep for
20240514 releases
Remi Gacogne [Tue, 14 May 2024 08:35:33 +0000 (10:35 +0200)]
Merge pull request #14167 from rgacogne/ddist-custom-webhandler-race
dnsdist: Prevent a race when calling `registerWebHandler` at runtime
Otto Moerbeek [Mon, 13 May 2024 13:42:18 +0000 (15:42 +0200)]
Tweaks to make LSAN work
Remi Gacogne [Tue, 14 May 2024 08:14:32 +0000 (10:14 +0200)]
Merge pull request #14156 from rgacogne/ddist-fix-assertion-doh-xfr-tcp
dnsdist: Fix handling of XFR requests over DoH
Remi Gacogne [Tue, 14 May 2024 07:56:15 +0000 (09:56 +0200)]
dnsdist: Prevent a race when calling `registerWebHandler` at runtime
The `registerWebHandler()` Lua method can be used to tie a custom Lua
function to an HTTP endpoint. This function was clearly not intended
to be used at runtime but this was never enforced, so let's prevent
a race condition by wrapping the internal web handlers map in a lock.
Peter van Dijk [Tue, 14 May 2024 06:34:25 +0000 (08:34 +0200)]
Merge pull request #14164 from dwfreed/patch-1
Fix formatting of PowerDNS SA 2024-03
Doug Freed [Mon, 13 May 2024 21:26:58 +0000 (16:26 -0500)]
Fix formatting of PowerDNS SA 2024-03
Add a newline so that the list of workarounds actually becomes a list.
Otto Moerbeek [Wed, 8 May 2024 13:33:49 +0000 (15:33 +0200)]
Check exit code of recursor
Otto Moerbeek [Mon, 13 May 2024 12:44:08 +0000 (14:44 +0200)]
Merge pull request #14158 from omoerbeek/rec-src-address-docs
rec: mention subnets are not allowed (yet) in query-local-address/outgoing.source_address
Otto Moerbeek [Mon, 13 May 2024 08:47:43 +0000 (10:47 +0200)]
rec: prep for
20240514 releases
Remi Gacogne [Mon, 13 May 2024 11:21:05 +0000 (13:21 +0200)]
dnsdist: Fix a warning when compiling the unit tests without XSK
Peter van Dijk [Mon, 13 May 2024 09:51:29 +0000 (11:51 +0200)]
Merge pull request #14157 from Habbie/dnsupdate-require-tsig-docs-5.0
auth docs, clarify that dnsupdate-require-tsig is new in 5.0
Remi Gacogne [Mon, 13 May 2024 09:50:29 +0000 (11:50 +0200)]
Merge pull request #14160 from rgacogne/ddist-1.9.4-secpoll-changelog
dnsdist: Update the secpoll zone and the ChangeLog for 1.9.4
Remi Gacogne [Mon, 13 May 2024 09:45:00 +0000 (11:45 +0200)]
dnsdist: Fix the PR number in the ChangeLog
Remi Gacogne [Mon, 13 May 2024 07:51:42 +0000 (09:51 +0200)]
dnsdist: Add security advisory 2024-03 for DNSdist
Otto Moerbeek [Mon, 13 May 2024 09:01:32 +0000 (11:01 +0200)]
Better wording and typo
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Otto Moerbeek [Mon, 13 May 2024 08:20:07 +0000 (10:20 +0200)]
rec: mention subnets are not allowed (yet) in query-local-address/outgoing.source_address
Fixes #14148
Peter van Dijk [Mon, 13 May 2024 07:53:19 +0000 (09:53 +0200)]
auth docs, clarify that dnsupdate-require-tsig is new in 5.0
Remi Gacogne [Tue, 23 Apr 2024 13:28:14 +0000 (15:28 +0200)]
dnsdist: Fix handling of XFR requests over DoH
We did not properly handle incoming XFR requests received over DoH
When a TCP-only or DoT backend was configured, and the nghttp2 provider
used.
This commits fixes the assertion failure and makes sure that XFR
requests are denied with `NOTIMP` when received over DNS over HTTPS,
including DNS over HTTP/3. It also denies them when received over
DNS over QUIC as this is not properly handled at the moment, although
it does not cause a crash.
Remi Gacogne [Fri, 26 Apr 2024 09:37:40 +0000 (11:37 +0200)]
dnsdist: Update the secpoll zone and the ChangeLog for 1.9.4
Remi Gacogne [Mon, 13 May 2024 07:30:15 +0000 (09:30 +0200)]
Merge pull request #14143 from rgacogne/ddist-enable-leak-sanitizer-ci
dnsdist: Enable memory leaks detection during regression tests in CI
Peter van Dijk [Wed, 8 May 2024 12:19:33 +0000 (14:19 +0200)]
Merge pull request #14024 from omoerbeek/auth-docs-modes-of-operation
auth docs: update primary/secondary terminology
Otto Moerbeek [Tue, 7 May 2024 09:32:46 +0000 (11:32 +0200)]
Merge pull request #13819 from omoerbeek/rec-ta
rec: add Lua config to YAML settings
Remi Gacogne [Tue, 7 May 2024 09:29:59 +0000 (11:29 +0200)]
Merge pull request #14098 from PowerDNS/dependabot/github_actions/slsa-framework/slsa-github-generator-2.0.0
build(deps): bump slsa-framework/slsa-github-generator from 1.10.0 to 2.0.0
romeroalx [Tue, 7 May 2024 09:22:09 +0000 (11:22 +0200)]
Merge pull request #14144 from romeroalx/fix-fork-runner-image-name
GH Actions: fix the repository where the runner images are pulled from
romeroalx [Tue, 7 May 2024 08:06:21 +0000 (10:06 +0200)]
always pull runner image from powerdns for forks
Remi Gacogne [Tue, 7 May 2024 07:58:19 +0000 (09:58 +0200)]
build-packages: Update download-artifact to v4
Remi Gacogne [Tue, 7 May 2024 07:51:18 +0000 (09:51 +0200)]
Merge pull request #14125 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/idna-3.7
build(deps): bump idna from 3.6 to 3.7 in /pdns/dnsdistdist/docs
Remi Gacogne [Tue, 7 May 2024 07:18:54 +0000 (09:18 +0200)]
Merge pull request #14130 from rgacogne/ddist-fix-updateio-h2
dnsdist: Fix TCP I/O timeout and callback being used for HTTP/2
Remi Gacogne [Mon, 6 May 2024 17:48:23 +0000 (19:48 +0200)]
dnsdist: Suppress a warning from TSAN about our signal handler
We are calling `_exit()`, which is async-signal-safe according to
POSIX.
Remi Gacogne [Mon, 6 May 2024 14:36:39 +0000 (16:36 +0200)]
dnsdist: Implement an "atExit" Lua callback to clean up leftovers
Remi Gacogne [Thu, 2 May 2024 15:16:10 +0000 (17:16 +0200)]
dnsdist: Detect memory leaks during regression tests in CI
Remi Gacogne [Thu, 2 May 2024 09:24:03 +0000 (11:24 +0200)]
dnsdist: Enable memory leak detection in CI during regression tests
Otto Moerbeek [Tue, 7 May 2024 05:49:21 +0000 (07:49 +0200)]
Typo's in comments
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 6 May 2024 15:04:01 +0000 (17:04 +0200)]
Explain two somewhat puzzling pieces of code in comments
Otto Moerbeek [Mon, 6 May 2024 14:27:32 +0000 (16:27 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 6 May 2024 13:06:31 +0000 (15:06 +0200)]
Merge pull request #14118 from jap/patch-2
[trivial] improve readability of the list of affected versions in advisory-2024-02
Remi Gacogne [Mon, 6 May 2024 13:05:41 +0000 (15:05 +0200)]
Merge pull request #14112 from rgacogne/quiche-0.21.0
dnsdist: Update Quiche to 0.21.0
Remi Gacogne [Mon, 6 May 2024 12:41:06 +0000 (14:41 +0200)]
dnsdist: Simplify IncomingTCPConnectionState::updateIO()
As suggested by Otto.
Otto Moerbeek [Mon, 6 May 2024 12:09:22 +0000 (14:09 +0200)]
Merge pull request #14139 from omoerbeek/rec-openbsd-iputils-followup
rec: followup to 14097: missed OpenBSD specfic case
Remi Gacogne [Mon, 6 May 2024 11:32:08 +0000 (13:32 +0200)]
Merge pull request #14131 from rgacogne/ddist-fix-sent-bytes-doh
dnsdist: Log the correct amount of bytes sent for DoH w/ nghttp2
Otto Moerbeek [Mon, 6 May 2024 11:31:51 +0000 (13:31 +0200)]
rec: followup to 14097: missed OpenBSD specfic case
Remi Gacogne [Mon, 6 May 2024 11:31:50 +0000 (13:31 +0200)]
Merge pull request #14128 from rgacogne/ddist-nghttp2-ping
dnsdist: Reply to HTTP/2 PING frames immediately
Otto Moerbeek [Mon, 6 May 2024 11:14:26 +0000 (13:14 +0200)]
Merge pull request #14097 from omoerbeek/tidy-iputils
Tidy iputils.hh and iputils.cc
Otto Moerbeek [Mon, 6 May 2024 09:19:13 +0000 (11:19 +0200)]
remove struct so that clang-format does not insists laying out the var init over three lines.
Remi Gacogne [Mon, 6 May 2024 10:01:27 +0000 (12:01 +0200)]
Merge pull request #14138 from omoerbeek/rec-forw-docs
rec: fix two doc examples missing a colon
Otto Moerbeek [Thu, 25 Apr 2024 09:04:53 +0000 (11:04 +0200)]
One more clang-tidy case that did not happen locally: add a cast
Otto Moerbeek [Tue, 23 Apr 2024 13:02:04 +0000 (15:02 +0200)]
Formatting fixes
Otto Moerbeek [Tue, 23 Apr 2024 12:21:37 +0000 (14:21 +0200)]
Extra tricky part: make_unique vs new
Otto Moerbeek [Tue, 23 Apr 2024 11:28:31 +0000 (13:28 +0200)]
Tidy iputils.cc
Otto Moerbeek [Mon, 22 Apr 2024 09:44:53 +0000 (11:44 +0200)]
First pass of tidy for iputils.hh
Otto Moerbeek [Mon, 15 Apr 2024 11:55:20 +0000 (13:55 +0200)]
Format
Otto Moerbeek [Mon, 6 May 2024 09:21:39 +0000 (11:21 +0200)]
rec: fix two doc examples missing a colon
fixes #14119
Otto Moerbeek [Mon, 6 May 2024 05:38:10 +0000 (07:38 +0200)]
Merge pull request #14136 from sam-banks/master
Updated typo in DNSSEC intro documentation (ECSDA instead of ECDSA)
Sam Banks [Mon, 6 May 2024 00:30:02 +0000 (12:30 +1200)]
Updated typo in documentation (ECSDA instead of ECDSA)
Remi Gacogne [Fri, 3 May 2024 14:58:33 +0000 (16:58 +0200)]
dnsdist: Make `IncomingTCPConnectionState::updateIOForAsync`
Remi Gacogne [Fri, 3 May 2024 13:47:54 +0000 (15:47 +0200)]
dnsdist: Log the correct amount of bytes sent for DoH w/ nghttp2
Remi Gacogne [Fri, 3 May 2024 13:37:28 +0000 (15:37 +0200)]
dnsdist: Fix TCP I/O timeout and callback being used for HTTP/2
They were always replaced by the correct HTTP/2 ones anyway, but
it's a lot cleaner that way.
Remi Gacogne [Fri, 3 May 2024 12:28:12 +0000 (14:28 +0200)]
dnsdist: Reply to HTTP/2 PING frames immediately
We usually buffer a bit to avoid sending a lot of small data chunks
on the wire (or to the kernel anyway), but for `HTTP/2 PING` frames
that are not followed by anything else calling for a response, this
causes an issue as these frames are designed to measure the latency
between a client and a server, and are used by HTTP/2 proxies to
ensure that a connection can be reused.
Peter van Dijk [Thu, 2 May 2024 13:25:12 +0000 (15:25 +0200)]
Merge pull request #14021 from Habbie/auth-lua-join-whitespace
auth LUA: make whitespace insertion on chunk combine optional
Peter van Dijk [Thu, 2 May 2024 11:19:12 +0000 (13:19 +0200)]
Merge pull request #14036 from romeroalx/meson-auth-ci
GH Actions - Meson: Build auth using meson in `build-and-test-all`.
Peter van Dijk [Thu, 2 May 2024 11:17:59 +0000 (13:17 +0200)]
Merge pull request #14061 from romeroalx/ci-runner-image-branch
GH actions - build-and-test-all: parameterize workflow to run different docker runner versions
dependabot[bot] [Thu, 2 May 2024 11:17:03 +0000 (11:17 +0000)]
build(deps): bump idna from 3.6 to 3.7 in /pdns/dnsdistdist/docs
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)
---
updated-dependencies:
- dependency-name: idna
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 2 May 2024 11:15:47 +0000 (11:15 +0000)]
build(deps): bump idna from 3.6 to 3.7 in /pdns/recursordist/docs
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)
---
updated-dependencies:
- dependency-name: idna
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Peter van Dijk [Thu, 2 May 2024 11:14:49 +0000 (13:14 +0200)]
Merge pull request #14085 from romeroalx/pip-doc-hashes
GH actions: check that only pinned pip packages are pulled when building docs
romeroalx [Thu, 11 Apr 2024 15:15:19 +0000 (17:15 +0200)]
meson: enable systemd for auth-configure
romeroalx [Mon, 8 Apr 2024 11:13:28 +0000 (13:13 +0200)]
simplify build-auth job
romeroalx [Wed, 27 Mar 2024 09:39:08 +0000 (10:39 +0100)]
gh actions add meson build for auth
Jasper Spaans [Mon, 29 Apr 2024 12:19:36 +0000 (14:19 +0200)]
improve readability of affected versions in advisory 2024-02