]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Fri, 31 May 2024 08:58:32 +0000 (10:58 +0200)]
builder update: better ubuntu/deb distro naming in package versioning
Otto Moerbeek [Wed, 29 May 2024 10:34:28 +0000 (12:34 +0200)]
Merge pull request #14257 from omoerbeek/rec-pb-more-fields
rec: add a few more fields to the protobuf messages
Peter van Dijk [Tue, 28 May 2024 13:04:37 +0000 (15:04 +0200)]
Merge pull request #14247 from zeha/autoconf-systemd-version
autoconf: allow prerelease systemd versions
Otto Moerbeek [Tue, 28 May 2024 11:00:56 +0000 (13:00 +0200)]
Typo in comment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Tue, 28 May 2024 08:36:10 +0000 (10:36 +0200)]
rec: add a few more fields to the protobuf messages
Implements #13020
If/when this is merged, do not forget to update https://github.com/PowerDNS/dnsmessage/blob/master/dnsmessage.proto
Otto Moerbeek [Tue, 28 May 2024 09:11:49 +0000 (11:11 +0200)]
Merge pull request #14121 from bakern/rec-api-notify-allowed
Allow setting notify_allowed in Recursor API for forwarded zones
Otto Moerbeek [Tue, 28 May 2024 09:11:06 +0000 (11:11 +0200)]
Merge pull request #14252 from omoerbeek/rec-update-rust-and-deps
rec: update to rust/cargo 1.78 and update dependencies
Peter van Dijk [Tue, 28 May 2024 08:57:23 +0000 (10:57 +0200)]
Merge pull request #14239 from Habbie/auth-4.9.1-docs
auth-4.9.1: changelog&secpoll
Otto Moerbeek [Mon, 27 May 2024 11:05:42 +0000 (13:05 +0200)]
rec: update to rust/cargo 1.78 and updated dependencies
See #14250
Otto Moerbeek [Tue, 28 May 2024 07:47:46 +0000 (09:47 +0200)]
Add API test for notify_allowed
Otto Moerbeek [Mon, 6 May 2024 13:49:39 +0000 (15:49 +0200)]
Include "notify_allowd" in zone object produced
Nate Baker [Thu, 2 May 2024 00:35:30 +0000 (19:35 -0500)]
Allow setting notify_allowed on zones in Recursor API
Closes #14116
Otto Moerbeek [Mon, 27 May 2024 13:16:11 +0000 (15:16 +0200)]
Merge pull request #14221 from omoerbeek/rec-chain
rec: handle auths slow to respond when load is high better
Otto Moerbeek [Mon, 27 May 2024 07:21:01 +0000 (09:21 +0200)]
Use actual timeout value for nsspeeds; don't throttle on short timeouts
Peter van Dijk [Mon, 27 May 2024 11:40:59 +0000 (13:40 +0200)]
add 14253, add some credits
Peter van Dijk [Mon, 27 May 2024 11:19:46 +0000 (13:19 +0200)]
add entry for #14251
Peter van Dijk [Mon, 27 May 2024 11:05:30 +0000 (13:05 +0200)]
Merge pull request #14242 from rgacogne/fix-ixfrdist-uid-gid
ixfrdist: Fix broken 'uid' and 'gid' parsing for non-numerical values
Otto Moerbeek [Mon, 27 May 2024 09:42:04 +0000 (11:42 +0200)]
Merge pull request #14249 from omoerbeek/rec-gettag-docs
rec: improve docs on gettag() and gettag_ffi()
Otto Moerbeek [Mon, 27 May 2024 09:05:40 +0000 (11:05 +0200)]
typo
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 27 May 2024 08:54:22 +0000 (10:54 +0200)]
rec: improve docs on gettag() and gettag_ffi()
Fixes #14180
Otto Moerbeek [Mon, 27 May 2024 06:48:11 +0000 (08:48 +0200)]
Merge pull request #14227 from omoerbeek/rec-pb-more-dev-tests
rec: add a few more cases for the Protobuf tests wrt deviceID and friends
Chris Hofstaedtler [Sat, 25 May 2024 15:28:31 +0000 (17:28 +0200)]
autoconf: allow prerelease systemd versions
For example 256~rc3. Also preemptively support versions like 252.2.
Remi Gacogne [Fri, 24 May 2024 14:34:14 +0000 (16:34 +0200)]
ixfrdist: Fix brokn 'uid' and 'gid' parsing for non-numerical values
Introduced in
48d1f24b87dfd95696c0db8311c81dc622717102
Peter van Dijk [Fri, 24 May 2024 11:55:05 +0000 (13:55 +0200)]
auth-4.9.1: changelog&secpoll
Remi Gacogne [Fri, 24 May 2024 12:30:34 +0000 (14:30 +0200)]
Merge pull request #14237 from romeroalx/fix-docs-pip-pinning
pdns/docs: pin version of pip package typing-extensions
romeroalx [Fri, 24 May 2024 10:37:02 +0000 (12:37 +0200)]
pdns/docs: pin version for pip package typing-extensions
Remi Gacogne [Thu, 23 May 2024 15:01:42 +0000 (17:01 +0200)]
Merge pull request #14182 from rgacogne/ddist-dynblock-tag
dnsdist: Add the ability to set tags from dynamic block rules
Otto Moerbeek [Thu, 23 May 2024 13:42:33 +0000 (15:42 +0200)]
Typo in comment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Thu, 23 May 2024 12:18:52 +0000 (14:18 +0200)]
rec: add a few more cases for the PB tests wrt deviceID and friends
Remi Gacogne [Thu, 23 May 2024 12:15:16 +0000 (14:15 +0200)]
Merge pull request #14224 from rgacogne/auth-distributor-test-leak
auth: Fix a memory leak report in the distributor unit tests
Remi Gacogne [Thu, 23 May 2024 10:17:04 +0000 (12:17 +0200)]
dnsdist: Document that 'tagValue' can be omitted for tag actions
Remi Gacogne [Thu, 23 May 2024 10:14:02 +0000 (12:14 +0200)]
Merge pull request #14219 from gjherbiet/patch-1
dnsdist: Clarify server status documentation
Remi Gacogne [Thu, 23 May 2024 08:54:05 +0000 (10:54 +0200)]
auth: Fix a memory leak report in the distributor unit tests
Guillaume-Jean Herbiet [Thu, 23 May 2024 08:40:09 +0000 (10:40 +0200)]
dnsdist: typo in `Server:isUp` description
Incorrect reference to `Server:setAuto` method.
Co-authored-by: Remi Gacogne <github@coredump.fr>
Guillaume-Jean Herbiet [Thu, 23 May 2024 08:30:59 +0000 (10:30 +0200)]
dnsdist: further clarify `Server:isUp` method
Explain how to unset "administrative status".
Guillaume-Jean Herbiet [Thu, 23 May 2024 08:17:44 +0000 (10:17 +0200)]
dnsdist: typo in server status description
Typo introduced with the detailed description of `Server.upStatus` attribute.
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Thu, 23 May 2024 08:11:21 +0000 (10:11 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Thu, 23 May 2024 07:23:49 +0000 (09:23 +0200)]
Merge pull request #14205 from rgacogne/ddist-delint-dnscrypt
dnsdist: Delint the DNSCrypt code base
Otto Moerbeek [Wed, 22 May 2024 14:20:58 +0000 (16:20 +0200)]
Stop doing a literal include of the SNMP MIB.
pdflatex cannot hanlde such a big literal include.
Otto Moerbeek [Tue, 21 May 2024 10:48:47 +0000 (12:48 +0200)]
Typos
Otto Moerbeek [Tue, 5 Mar 2024 08:54:00 +0000 (09:54 +0100)]
reformat
Otto Moerbeek [Fri, 24 Nov 2023 14:29:48 +0000 (15:29 +0100)]
Introduce a random delay before processing a request that was chained
Otto Moerbeek [Fri, 24 Nov 2023 10:34:15 +0000 (11:34 +0100)]
Rename authWaitTime() to make it explicit we're talking milliseconds
Otto Moerbeek [Wed, 22 Nov 2023 08:33:32 +0000 (09:33 +0100)]
If the chain is old, refuse to add more entries to it
Otto Moerbeek [Tue, 21 Nov 2023 15:33:21 +0000 (16:33 +0100)]
Compute the auth response delay we are wiling to accept based on the number of
mthread slots available.
Otto Moerbeek [Mon, 6 Nov 2023 08:35:01 +0000 (09:35 +0100)]
If a chain is long, refuse to add more entries to it (including metrics)
Otto Moerbeek [Wed, 22 May 2024 11:18:41 +0000 (13:18 +0200)]
Merge pull request #14185 from omoerbeek/rec-map-limit
rec: log vm.max_map_count possibly being too low and log a few exceptions (with rate limiting)
Guillaume-Jean Herbiet [Tue, 21 May 2024 19:57:21 +0000 (21:57 +0200)]
dnsdist: Clarify server status methods and attributes documentation
Detail return values for `Server:isUp()` method and `Server.upStatus` attribute to clarify behavior when the server is administratively set UP or DOWN.
Closes #14217
Otto Moerbeek [Tue, 21 May 2024 13:24:16 +0000 (15:24 +0200)]
Add upgrade guide item
Otto Moerbeek [Tue, 21 May 2024 13:10:07 +0000 (15:10 +0200)]
kern.max_map_count -> vm.max_map_count; from @phonedph1
Otto Moerbeek [Tue, 21 May 2024 13:03:02 +0000 (15:03 +0200)]
Two cases of wrong var (in code not compiled)
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Tue, 21 May 2024 09:50:04 +0000 (11:50 +0200)]
Reformt
Otto Moerbeek [Tue, 21 May 2024 09:12:55 +0000 (11:12 +0200)]
Adjust max-mthreads if vm.max_map_count is too low
Otto Moerbeek [Tue, 21 May 2024 09:06:27 +0000 (11:06 +0200)]
Use LockGuarded construct
Otto Moerbeek [Tue, 21 May 2024 08:40:46 +0000 (10:40 +0200)]
Use RIAA guard for d_inrun, making sure exceptions reset d_inrun
Otto Moerbeek [Fri, 17 May 2024 09:19:14 +0000 (11:19 +0200)]
Rate limit logging for a few cases (there could be more)
Otto Moerbeek [Wed, 15 May 2024 11:36:04 +0000 (13:36 +0200)]
Log exceptions occuring in resolving action; do not let the worker threads die
Otto Moerbeek [Wed, 15 May 2024 09:03:07 +0000 (11:03 +0200)]
rec: report error when linux map limit is too low
Remi Gacogne [Tue, 21 May 2024 13:42:27 +0000 (15:42 +0200)]
Merge pull request #14195 from rgacogne/ddist-no-assertions
dnsdist: Get rid of `assert()`
Remi Gacogne [Tue, 21 May 2024 13:33:34 +0000 (15:33 +0200)]
Merge pull request #14184 from rgacogne/ddist-remove-xpf
dnsdist: Remove XPF support
Otto Moerbeek [Tue, 21 May 2024 12:52:31 +0000 (14:52 +0200)]
Merge pull request #14206 from omoerbeek/rec-wildcard-denial-proof
rec: be a bit more strict with respect to positive answers expanded from a wildcard
Otto Moerbeek [Tue, 21 May 2024 11:24:14 +0000 (13:24 +0200)]
Tidy test
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
Peter van Dijk [Fri, 17 May 2024 18:21:51 +0000 (20:21 +0200)]
Merge pull request #14200 from rgacogne/auth-enable-leak-detection-unit-tests
auth: Enable LeakSanitizer while running the unit tests in CI
Peter van Dijk [Fri, 17 May 2024 18:19:52 +0000 (20:19 +0200)]
Merge pull request #14198 from Habbie/sdig-formatting
sdig.1: format example commands better
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 14:58:11 +0000 (16:58 +0200)]
auth: Enable LeakSanitizer while running the unit tests in CI
Peter van Dijk [Fri, 17 May 2024 13:50:45 +0000 (15:50 +0200)]
sdig.1: format example commands better
Peter van Dijk [Fri, 17 May 2024 13:50:15 +0000 (15:50 +0200)]
Merge pull request #14196 from rgacogne/auth-fix-bindparser-leak
auth: Fix memory leaks in the bind file format parser
Remi Gacogne [Fri, 17 May 2024 13:50:08 +0000 (15:50 +0200)]
Merge pull request #14197 from rgacogne/yahttp-large-formurlencoded
YaHTTP: Enforce max # of request fields and max request line size
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
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
Your Name [Mon, 15 Apr 2024 13:45:38 +0000 (15:45 +0200)]
YaHTTP: Enforce max # of request fields and max request line size
The default values, 8192 bytes for the maximum request line size and
100 fields, are taken from the default settings of Apache HTTPd:
- https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestline
- https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfields
Reported by OSS-Fuzz as a timeout in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=67993
Remi Gacogne [Thu, 4 Apr 2024 14:21:52 +0000 (16:21 +0200)]
auth: Fix memory leaks in the bind file format parser
Some tokens were not properly freed: ACL names and entries, unused
word or quoted string terms. This is limited to the parsing of the
bind file format, zones themselves are fine, so there is no security
impact.
Found by LeakSanitizer over our existing unit tests.
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
Remi Gacogne [Fri, 17 May 2024 09:57:55 +0000 (11:57 +0200)]
dnsdist: Get rid of assert()
PowerDNS Security Advisory 2024-03 has made it clear that some of
them that have been designed to break during testing might break in
production, as we compile with `NDEBUG` unset.
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
Remi Gacogne [Thu, 16 May 2024 15:07:27 +0000 (17:07 +0200)]
dnsdist: Remove XPF support
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
Remi Gacogne [Thu, 16 May 2024 09:10:01 +0000 (11:10 +0200)]
dnsdist: Fix clang-tidy warnings
Remi Gacogne [Thu, 16 May 2024 08:48:23 +0000 (10:48 +0200)]
dnsdist: Document the new tag action options for dynamic rules
Remi Gacogne [Thu, 16 May 2024 08:47:42 +0000 (10:47 +0200)]
dnsdist: Handle dynamic rules addition with the new tag action from Lua FFI
Remi Gacogne [Tue, 14 May 2024 15:38:35 +0000 (17:38 +0200)]
dnsdist: Handle dynamic rules' tag action from Lua
Remi Gacogne [Tue, 7 May 2024 15:11:03 +0000 (17:11 +0200)]
dnsdist: Fix formatting
Remi Gacogne [Tue, 7 May 2024 13:24:34 +0000 (15:24 +0200)]
dnsdist: Add a regression test for Dynamic rules SetTag action
Remi Gacogne [Tue, 7 May 2024 12:53:39 +0000 (14:53 +0200)]
dnsdist: Add a SetTag dynamic rule action
Remi Gacogne [Tue, 7 May 2024 12:52:52 +0000 (14:52 +0200)]
dnsdist: Add a regression test for the Dynamic cache miss ratio case
Remi Gacogne [Fri, 8 Mar 2024 16:52:54 +0000 (17:52 +0100)]
dnsdist: Add the ability to set tags from dynamic block rules
This still needs:
- ability to set the tag name and value from the Dynamic Block configuration
- tests
- documentation
Remi Gacogne [Fri, 8 Mar 2024 16:27:53 +0000 (17:27 +0100)]
dnsdist: Clean up DynBlock defaults
Fred Morcos [Thu, 16 May 2024 08:04:10 +0000 (10:04 +0200)]
Merge pull request #14176 from fredmorcos/ueberbackend-cleanup
`UeberBackend` cleanups