]>
git.ipfire.org Git - thirdparty/pdns.git/log
Carolin Dohmen [Fri, 1 Mar 2024 15:19:04 +0000 (16:19 +0100)]
Only print config if debug flag is set
Signed-off-by: Carolin Dohmen <carodohmen@gmail.com>
Remi Gacogne [Fri, 1 Mar 2024 14:54:40 +0000 (15:54 +0100)]
rec: Add a unit test for the gathering of denial of existence proof for wildcard-expanded names
Remi Gacogne [Fri, 1 Mar 2024 13:07:35 +0000 (14:07 +0100)]
rec: Fix gathering of denial of existence proof for wildcard-expanded names
When the recursor is forwarding to a resolver, we accept the names composing
the CNAME chain starting at the queried name. This means we also need to gather
the denial of existence proof for CNAMEs that were expanded from a wildcard,
otherwise the response sent to the client cannot be DNSSEC-validated.
Otto Moerbeek [Fri, 1 Mar 2024 09:56:05 +0000 (10:56 +0100)]
rec: add structured logging backend that uses JSON representation
Remi Gacogne [Tue, 27 Feb 2024 16:58:06 +0000 (17:58 +0100)]
Merge pull request #13820 from devicenull/update-overload-docs
Update overload-queue-length and overload-drops documentation
Remi Gacogne [Tue, 27 Feb 2024 16:54:25 +0000 (17:54 +0100)]
Merge pull request #13805 from rgacogne/ddist-fix-compilation-warnings
dnsdist: Fix compilation warnings
Otto Moerbeek [Tue, 27 Feb 2024 09:03:13 +0000 (10:03 +0100)]
Merge pull request #13830 from omoerbeek/rec-rpz-mem
rec: reduce RPZ memory usage
Brian Rak [Tue, 27 Feb 2024 02:31:28 +0000 (21:31 -0500)]
Update docs/performance.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Wilhelm Wijkander [Mon, 26 Feb 2024 16:01:53 +0000 (17:01 +0100)]
Update remote.rst to reflect that getAllDomains might be mandatory
Otto Moerbeek [Mon, 26 Feb 2024 14:14:26 +0000 (15:14 +0100)]
Merge pull request #13824 from omoerbeek/rec-keytrap-log
rec: log if a dnssec related limit was hit (if log_bogus is set)
Otto Moerbeek [Mon, 26 Feb 2024 08:45:04 +0000 (09:45 +0100)]
Also allocate custom records via unique ptr
Otto Moerbeek [Mon, 26 Feb 2024 08:09:54 +0000 (09:09 +0100)]
Do not keep a ref to a lua config around in startup code
Otto Moerbeek [Mon, 26 Feb 2024 07:55:35 +0000 (08:55 +0100)]
rec: allocate hit data in policy on demand instead of always
Kees Monshouwer [Fri, 23 Feb 2024 15:22:05 +0000 (16:22 +0100)]
auth: do not disable ns records at apex in consumer zones
Otto Moerbeek [Fri, 23 Feb 2024 12:24:25 +0000 (13:24 +0100)]
rec: log if a dnssec related limit was hit (if log_bogus is set)
Brian Rak [Thu, 22 Feb 2024 15:24:23 +0000 (15:24 +0000)]
Update overload-queue-length and overload-drops documentation
It wasn't clear to be what overload-queue-length did until I looked at
the code
Otto Moerbeek [Thu, 22 Feb 2024 06:43:12 +0000 (07:43 +0100)]
Merge pull request #13813 from omoerbeek/rec-dnspython-nsid
rec: dnspython's API changed wrt NSID, apply (version dependent) fix in regression test
Otto Moerbeek [Thu, 22 Feb 2024 06:38:52 +0000 (07:38 +0100)]
Merge pull request #13812 from omoerbeek/rec-add-petr
rec: add thanks to Petr Spacek to SA 2024-01
Sven Wegener [Sun, 31 Oct 2021 19:21:29 +0000 (20:21 +0100)]
m4: Add option for 64-bit time_t on 32-bit systems with glibc-2.34
glibc-2.34 includes the user-facing part of the 64-bit time_t support
for 32-bit systems. We treat this feature as experimental, as it causes
ABI issues, if 64-bit time_t values are passed to libraries that are
build with 32-bit time_t. It is safe for local use of 64-bit time_t.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Otto Moerbeek [Mon, 19 Feb 2024 10:05:32 +0000 (11:05 +0100)]
rec: dnspython's API changed wrt NSID, apply (version dependent) fix in regression test
See https://dnspython.readthedocs.io/en/stable/whatsnew.html 2.6.0 2nd bullet
Otto Moerbeek [Mon, 19 Feb 2024 08:01:53 +0000 (09:01 +0100)]
rec: add thanks to Petr Spacek to SA 2024-01
Peter van Dijk [Fri, 16 Feb 2024 15:16:08 +0000 (16:16 +0100)]
Merge pull request #13804 from Habbie/auth-4.9.0-beta2-docs-secpoll
auth 4.9.0-beta2: docs&secpoll
Peter van Dijk [Fri, 16 Feb 2024 09:23:14 +0000 (10:23 +0100)]
auth 4.9.0-beta2: docs&secpoll
Remi Gacogne [Fri, 16 Feb 2024 14:23:02 +0000 (15:23 +0100)]
Merge pull request #13807 from rgacogne/ddist-eol
dnsdist: Update the EOL statements
Remi Gacogne [Fri, 16 Feb 2024 14:22:36 +0000 (15:22 +0100)]
Merge pull request #13800 from rgacogne/ddist-190rc2-changelog-secpoll
dnsdist: ChangeLog and secpoll update for 1.9.0 final!
Remi Gacogne [Fri, 16 Feb 2024 14:13:17 +0000 (15:13 +0100)]
dnsdist: Fix the EOL statements (c/p paste mistake from the Recursor)
Remi Gacogne [Fri, 16 Feb 2024 13:59:15 +0000 (14:59 +0100)]
dnsdist: Update the EOL statements
Peter van Dijk [Fri, 16 Feb 2024 10:45:29 +0000 (11:45 +0100)]
Merge pull request #13806 from chbruyand/ixfrdist-coverity-
1534661
ixfrdist: fix Coverity
1534661 and
1534662
Charles-Henri Bruyand [Fri, 16 Feb 2024 09:59:48 +0000 (10:59 +0100)]
ixfrdist: fix coverity
1534661 and
1534662
Remi Gacogne [Fri, 16 Feb 2024 09:32:37 +0000 (10:32 +0100)]
dnsdist: Move `linux/*.h` headers to xsk.cc to fix warnings
Remi Gacogne [Fri, 16 Feb 2024 09:32:04 +0000 (10:32 +0100)]
dnsdist: Fix outdated definition for `addMaintenanceCallback()`
Peter van Dijk [Thu, 15 Feb 2024 15:13:58 +0000 (16:13 +0100)]
Merge pull request #13803 from Habbie/lmdb-sync-mode
lmdb: remove mapasync mode, it was always a lie
Peter van Dijk [Thu, 15 Feb 2024 14:20:47 +0000 (15:20 +0100)]
Merge pull request #13802 from chbruyand/ixfrdist-coverity-
1534483
ixfrist: fix coverity report
1534483
Peter van Dijk [Thu, 15 Feb 2024 14:16:50 +0000 (15:16 +0100)]
lmdb: remove mapasync mode, it was always a lie
fixes #12888
Peter van Dijk [Thu, 15 Feb 2024 13:59:25 +0000 (14:59 +0100)]
Merge pull request #11431 from jroessler-ox/docs-kskzskroll-update
updated KSK and ZSK Rollover procedures, small fixes in Algorithm Rol…
Charles-Henri Bruyand [Thu, 15 Feb 2024 13:00:08 +0000 (14:00 +0100)]
ixfrist: fix coverity report
1534483
Peter van Dijk [Thu, 15 Feb 2024 12:00:01 +0000 (13:00 +0100)]
Merge pull request #13801 from chbruyand/ixfrdist-fix-centos-build
ixfrdist: fix centos build
Charles-Henri Bruyand [Thu, 15 Feb 2024 10:49:10 +0000 (11:49 +0100)]
ixfrdist: fix centos build
Remi Gacogne [Wed, 14 Feb 2024 13:13:27 +0000 (14:13 +0100)]
dnsdist: ChangeLog and secpoll update for 1.9.0 final!
Peter van Dijk [Wed, 14 Feb 2024 19:10:27 +0000 (20:10 +0100)]
Merge pull request #13753 from chbruyand/ixfrdist-notify-out
ixfrdist: add support for outgoing notify
Peter van Dijk [Wed, 14 Feb 2024 19:07:46 +0000 (20:07 +0100)]
Merge pull request #13752 from chbruyand/auth-lua-pickchashed
auth: lua records, pickchashed function
Otto Moerbeek [Wed, 14 Feb 2024 12:11:27 +0000 (13:11 +0100)]
Merge pull request #13788 from omoerbeek/rec-ztc-regression
rec: fix the zoneToCache regression introduced by SA 2024-01
Otto Moerbeek [Wed, 14 Feb 2024 11:39:57 +0000 (12:39 +0100)]
Test ZTC with root zone
1. If code changes make the validation fail we want to know.
2. If root zone changes break something we want to know as well, this might even be more important than 1.
So I think we just have to accept the occasional network issues on GH.
Otto Moerbeek [Tue, 13 Feb 2024 15:55:10 +0000 (16:55 +0100)]
rec: fix the zoneToCache regression introduced by SA 2024-01
Test will follow
Remi Gacogne [Tue, 13 Feb 2024 16:35:46 +0000 (17:35 +0100)]
Merge pull request #13787 from omoerbeek/rec-regr-test-skip
rec: skip a few tests that depend on sidnlab's public test setup that no longer works
Otto Moerbeek [Tue, 13 Feb 2024 15:31:35 +0000 (16:31 +0100)]
rec: skip a few test that depend on sidnlab's public test setup that no longer works
Otto Moerbeek [Tue, 13 Feb 2024 13:41:19 +0000 (14:41 +0100)]
Merge pull request #13785 from omoerbeek/rec-prep-2024-01
rec: Prep for 2024-01 release
Otto Moerbeek [Tue, 13 Feb 2024 12:49:02 +0000 (13:49 +0100)]
Merge pull request #13781 from omoerbeek/rec-keytrap-public
rec: CVE-2023-50387 and CVE-2023-50868
Otto Moerbeek [Mon, 12 Feb 2024 10:19:09 +0000 (11:19 +0100)]
Prep for 2024-01
Remi Gacogne [Tue, 13 Feb 2024 10:44:35 +0000 (11:44 +0100)]
Merge pull request #13760 from rgacogne/ddist-doc-rules-mgmt
dnsdist: Refactor the rules (selectors and actions) documentation
Remi Gacogne [Tue, 13 Feb 2024 10:44:27 +0000 (11:44 +0100)]
Merge pull request #13780 from rgacogne/ddist-better-wording-setSuffixMatchRule
dnsdist: Clarify that setSuffixMatchRule blocks per suffix, not labels
Remi Gacogne [Tue, 13 Feb 2024 09:04:08 +0000 (10:04 +0100)]
dnsdist: Clarify that setSuffixMatchRule blocks per suffix, not labels
Remi Gacogne [Mon, 12 Feb 2024 09:54:21 +0000 (10:54 +0100)]
Merge pull request #13779 from rgacogne/ddist-coverity-
20240212
dnsdist: Fix performance inefficiencies reported by Coverity
Remi Gacogne [Mon, 12 Feb 2024 09:08:56 +0000 (10:08 +0100)]
dnsdist: Fix performance inefficiencies reported by Coverity
Reported by Coverity as 414759 and 414760:
> Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
Otto Moerbeek [Sun, 11 Feb 2024 18:40:36 +0000 (19:40 +0100)]
Merge pull request #13778 from M0NsTeRRR/master
fix(doc): incorrect setting `query_local_address`
Ludovic Ortega [Sun, 11 Feb 2024 18:38:48 +0000 (19:38 +0100)]
fix: replace missing query_local_address
Ludovic Ortega [Sun, 11 Feb 2024 18:29:57 +0000 (19:29 +0100)]
fix(doc): incorrect setting `query_local_address`
Remi Gacogne [Fri, 9 Feb 2024 15:09:29 +0000 (16:09 +0100)]
Merge pull request #13774 from rgacogne/ddist-quiche-config-atomic-load
dnsdist: Fix a missing explicit atomic load of the Quiche configuration
Remi Gacogne [Fri, 9 Feb 2024 15:00:56 +0000 (16:00 +0100)]
Merge pull request #13771 from omoerbeek/dnsdist-lua-align
dnsdist: do not allocate 16-byte aligned objects through lua(jit)
Remi Gacogne [Fri, 9 Feb 2024 14:28:57 +0000 (15:28 +0100)]
dnsdist: Fix a missing explicit atomic load of the Quiche configuration
Reported by TSAN.
Charles-Henri Bruyand [Thu, 8 Feb 2024 13:20:45 +0000 (14:20 +0100)]
auth: lua-records, support cleaning old hashed entries
Charles-Henri Bruyand [Fri, 9 Feb 2024 12:27:38 +0000 (13:27 +0100)]
ixfrdist: clang-tidy cleanup
Charles-Henri Bruyand [Fri, 9 Feb 2024 10:27:22 +0000 (11:27 +0100)]
ixfrdist: add a simple test for outgoing notify
Charles-Henri Bruyand [Thu, 8 Feb 2024 15:11:14 +0000 (16:11 +0100)]
ixfrdist: add examples of notify out configuration
Charles-Henri Bruyand [Thu, 8 Feb 2024 14:46:16 +0000 (15:46 +0100)]
ixfrdist: clang-tidy cleanup
Charles-Henri Bruyand [Wed, 31 Jan 2024 17:22:50 +0000 (18:22 +0100)]
ixfrdist: send out notify
Otto Moerbeek [Fri, 9 Feb 2024 12:28:00 +0000 (13:28 +0100)]
rec: CVE-2023-50387 and CVE-2023-50868
Remi Gacogne [Fri, 9 Feb 2024 10:59:07 +0000 (11:59 +0100)]
Merge pull request #13759 from rgacogne/ddist-doc-tls-certificates
dnsdist: Improve the documentation around TLS certificates and keys
Charles-Henri Bruyand [Wed, 31 Jan 2024 13:25:34 +0000 (14:25 +0100)]
auth: fix typo in tests
Charles-Henri Bruyand [Wed, 31 Jan 2024 12:19:08 +0000 (13:19 +0100)]
auth: clang-tidy fixes
Charles-Henri Bruyand [Tue, 30 Jan 2024 15:30:18 +0000 (16:30 +0100)]
auth: tell spell check about pickchashed
Charles-Henri Bruyand [Tue, 30 Jan 2024 15:15:20 +0000 (16:15 +0100)]
auth: lua-records, add support for pickchashed function
Remi Gacogne [Fri, 9 Feb 2024 10:28:12 +0000 (11:28 +0100)]
dnsdist: Prevent useless allocation+copy in `setPoolServerPolicy`
Remi Gacogne [Fri, 9 Feb 2024 10:16:12 +0000 (11:16 +0100)]
dnsdist: Fix newServerPolicy, add regression tests for custom policies
Peter van Dijk [Fri, 9 Feb 2024 10:15:33 +0000 (11:15 +0100)]
Merge pull request #13391 from devicenull/master
Add Lua function to pick records via name hash
Otto Moerbeek [Thu, 8 Feb 2024 15:36:09 +0000 (16:36 +0100)]
Experiment
Morten Stevens [Thu, 8 Feb 2024 15:02:40 +0000 (16:02 +0100)]
Change home directory to /var/lib/pdns
Check: https://bugzilla.redhat.com/show_bug.cgi?id=
2262487
Remi Gacogne [Thu, 8 Feb 2024 14:58:38 +0000 (15:58 +0100)]
dnsdist: Fix an issue spotted by TSAN: we need to use atomic_load_explicit along with atomic_store_explicit
Remi Gacogne [Thu, 8 Feb 2024 14:36:55 +0000 (15:36 +0100)]
Merge pull request #13756 from rgacogne/ddist-xsk-doc-typos
dnsdist: Fix typos in the AF_XDP documentation
Remi Gacogne [Thu, 8 Feb 2024 14:31:55 +0000 (15:31 +0100)]
Merge pull request #13768 from rgacogne/ddist-maintenance-hook
dnsdist: Add a Lua maintenance hook
Remi Gacogne [Thu, 8 Feb 2024 14:31:09 +0000 (15:31 +0100)]
Merge pull request #13757 from rgacogne/ddist-coverty-warning-
20240201
dnsdist: Fix a warning reported by Coverity
Otto Moerbeek [Thu, 8 Feb 2024 14:28:24 +0000 (15:28 +0100)]
dnsdist: make sure we do not allocate 16-byte aligned objects through lua(jit)
luajit aligns only to 8 bytes by default, and some objects require
16 byte alignment.
Fixes #13766
Note that the static assert in LuaContext.hpp is commented out in
one case. This trips on some platforms, but does not seem to be
harmful right now.
The fundamental solution remains the have luajit agree with C++ on
minimal alignment of its allocators.
Remi Gacogne [Thu, 8 Feb 2024 14:23:25 +0000 (15:23 +0100)]
dnsdist: Delint the 'reloadCertificates' methods
Remi Gacogne [Thu, 8 Feb 2024 13:43:18 +0000 (14:43 +0100)]
dnsdist: Add a regression test for DoQ certs/keys reloading
Remi Gacogne [Thu, 8 Feb 2024 13:42:47 +0000 (14:42 +0100)]
dnsdist: Document certs/keys reloading for DoQ and DoH3
Remi Gacogne [Thu, 8 Feb 2024 13:42:04 +0000 (14:42 +0100)]
dnsdist: Implementation reloading of TLS certs/keys for DoQ and DoH3
Remi Gacogne [Thu, 8 Feb 2024 09:43:56 +0000 (10:43 +0100)]
dnsdist: Apply suggestions from code review, delint
Remi Gacogne [Thu, 8 Feb 2024 08:01:06 +0000 (09:01 +0100)]
Merge pull request #13755 from rgacogne/ddist-quic-unsupported-version
dnsdist: Better handling of short, non-initial QUIC headers
Evil Eye [Wed, 7 Feb 2024 09:48:12 +0000 (09:48 +0000)]
Add documentation
Evil Eye [Wed, 7 Feb 2024 09:01:55 +0000 (09:01 +0000)]
Add tests
Remi Gacogne [Tue, 6 Feb 2024 15:22:49 +0000 (16:22 +0100)]
dnsdist: Clear the Lua maintenance callbacks before exiting
Remi Gacogne [Tue, 6 Feb 2024 15:20:17 +0000 (16:20 +0100)]
Merge pull request #13761 from rgacogne/ddist-test-ebpf
dnsdist: Add regression tests for eBPF blocks (static / dynamic)
Peter van Dijk [Tue, 6 Feb 2024 15:15:40 +0000 (16:15 +0100)]
Merge pull request #12359 from Habbie/auth-lua-dblookup
auth LUA: add dblookup function
Remi Gacogne [Tue, 6 Feb 2024 14:44:35 +0000 (15:44 +0100)]
dnsdist: Add a Lua maintenance hook
Having a hook that can accept multiple callbacks makes it a lot easier
to manage the execution of several, independant tasks that needs to be
called regularly.
Evil Eye [Wed, 24 Jan 2024 14:40:42 +0000 (14:40 +0000)]
Add dnsupdate-require-tsig config option
So zones without keys that are accessible based on IP can be closed off
Peter van Dijk [Fri, 1 Dec 2023 15:29:22 +0000 (16:29 +0100)]
fix formatting
Brian Rak [Thu, 30 Nov 2023 16:30:26 +0000 (16:30 +0000)]
Update minor code/doc nits
Brian Rak [Thu, 19 Oct 2023 13:36:15 +0000 (13:36 +0000)]
Appease lint
Brian Rak [Wed, 18 Oct 2023 20:09:30 +0000 (20:09 +0000)]
Fix typo
Brian Rak [Wed, 18 Oct 2023 01:24:08 +0000 (01:24 +0000)]
Add Lua function to pick records via name hash
This adds a Lua function to return a record based on a weighted hash
of the DNS record name. One use case here is to consistently return
the same IP address for a particular cache server based on what
subdomain is requesting the data.