]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 21 May 2024 09:02:48 +0000 (11:02 +0200)]
dnsdist: Delint dnsdist-lua-bindings-dnscrypt.cc
Remi Gacogne [Tue, 21 May 2024 08:52:54 +0000 (10:52 +0200)]
dnsdist: Reformat dnsdist-lua-bindings-dnscrypt.cc
Remi Gacogne [Fri, 17 May 2024 15:26:04 +0000 (17:26 +0200)]
dnsdist: More delinting in test-dnscrypt_cc.cc
Remi Gacogne [Fri, 17 May 2024 13:22:27 +0000 (15:22 +0200)]
dnsdist: Format DNSCrypt code
Remi Gacogne [Fri, 17 May 2024 10:01:16 +0000 (12:01 +0200)]
dnsdist: Move the DNSCrypt files to pdns/dnsdistdist/
Remi Gacogne [Fri, 17 May 2024 10:00:26 +0000 (12:00 +0200)]
dnsdist: Remove DNSCrypt symbolic links
Remi Gacogne [Fri, 17 May 2024 09:59:44 +0000 (11:59 +0200)]
Delint the DNSCrypt code base
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
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: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:33:59 +0000 (11:33 +0200)]
Disable clang-tidy performance-avoid-endl check
Otto Moerbeek [Tue, 14 May 2024 11:35:11 +0000 (13:35 +0200)]
rec: prep rec-5.1.0-alpha1
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
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 [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
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>
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
Remi Gacogne [Fri, 26 Apr 2024 10:17:54 +0000 (12:17 +0200)]
dnsdist: Update Quiche to 0.21.0
Otto Moerbeek [Thu, 25 Apr 2024 13:24:15 +0000 (15:24 +0200)]
rec: add a HTTPS, SVCB and NAPTR record types to be exportable via protobuf
Otto Moerbeek [Thu, 25 Apr 2024 11:29:04 +0000 (13:29 +0200)]
Tidy
Remi Gacogne [Thu, 25 Apr 2024 09:34:55 +0000 (11:34 +0200)]
Merge pull request #14078 from rgacogne/ddist-harvest-quic
dnsdist: Use the correct source IP for outgoing QUIC datagrams
Otto Moerbeek [Wed, 27 Mar 2024 11:12:03 +0000 (12:12 +0100)]
Modify ZTC regression test to use YAML config
Otto Moerbeek [Tue, 26 Mar 2024 09:27:09 +0000 (10:27 +0100)]
Better cross refs in docs, formatting
Otto Moerbeek [Tue, 26 Mar 2024 08:29:22 +0000 (09:29 +0100)]
Make a isValidHostname() callable from Rust that calls into DNSName::is_hostname()
Otto Moerbeek [Fri, 23 Feb 2024 07:58:11 +0000 (08:58 +0100)]
Tidy
Otto Moerbeek [Thu, 22 Feb 2024 13:11:57 +0000 (14:11 +0100)]
Basic docs of YAML specs of original Lua config
Otto Moerbeek [Mon, 19 Feb 2024 14:20:31 +0000 (15:20 +0100)]
Tweaks and handle trust anchors better
Otto Moerbeek [Fri, 16 Feb 2024 14:28:34 +0000 (15:28 +0100)]
Add --config support and validation of a few fields
Otto Moerbeek [Thu, 1 Feb 2024 11:45:34 +0000 (12:45 +0100)]
(re)load Lua config from either Lua or YAML
Otto Moerbeek [Wed, 31 Jan 2024 15:25:29 +0000 (16:25 +0100)]
Show Lua config converted to YAML in rec_control show-yaml
Otto Moerbeek [Wed, 24 Jan 2024 08:46:44 +0000 (09:46 +0100)]
Build active Lua config from data structure that can be supplied by either Lua or YAML
Otto Moerbeek [Fri, 19 Jan 2024 13:37:50 +0000 (14:37 +0100)]
Convert YAML to Lua config, including full test
Otto Moerbeek [Fri, 19 Jan 2024 09:37:26 +0000 (10:37 +0100)]
Use a C++ array for the well-known DS record(s)
Otto Moerbeek [Tue, 16 Jan 2024 11:35:50 +0000 (12:35 +0100)]
YAML defs for all Lua config constructs, plus converting old-style to YAML
Otto Moerbeek [Tue, 16 Jan 2024 11:35:17 +0000 (12:35 +0100)]
Move sortlist.?? to recursordist
Otto Moerbeek [Tue, 16 Jan 2024 11:34:28 +0000 (12:34 +0100)]
Zap sortlist.?? symlinks, in preparation for move to recursordist