]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Wed, 19 Feb 2025 10:09:05 +0000 (11:09 +0100)]
Basic cookies test: enable cookies in rec and talk to auths with cookies disabled and enabled
Otto Moerbeek [Wed, 19 Feb 2025 08:55:48 +0000 (09:55 +0100)]
Add setting, remove debug lines
Otto Moerbeek [Tue, 18 Feb 2025 11:21:02 +0000 (12:21 +0100)]
TCP support for cookies, taking into account idle outgoing connections
Otto Moerbeek [Tue, 18 Feb 2025 09:53:44 +0000 (10:53 +0100)]
Tidy rec-tcpout.??
Otto Moerbeek [Wed, 5 Feb 2025 13:23:57 +0000 (14:23 +0100)]
Initial very raw version
Otto Moerbeek [Thu, 4 Sep 2025 07:19:58 +0000 (09:19 +0200)]
Merge pull request #15945 from omoerbeek/rec-tidy-pubsuffix
rec pubsuffix: tidy and use C++ strings
Miod Vallat [Thu, 4 Sep 2025 07:06:59 +0000 (09:06 +0200)]
Unbreak test.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 27 Aug 2025 13:04:51 +0000 (15:04 +0200)]
Perform stricter validation of TXT record contents.
Fixes: #11052
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 27 Aug 2025 12:32:37 +0000 (14:32 +0200)]
Rework patchZone() signature and split it in multiple pieces. NFC
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Wed, 3 Sep 2025 15:08:11 +0000 (17:08 +0200)]
Merge pull request #16054 from PowerDNS/dependabot/pip/regression-tests.dnsdist/h2-4.3.0
build(deps): bump h2 from 4.2.0 to 4.3.0 in /regression-tests.dnsdist
Otto Moerbeek [Wed, 3 Sep 2025 10:33:59 +0000 (12:33 +0200)]
Merge pull request #16058 from omoerbeek/version-configure-in
rec/dnsdist: add (back) the line that sets the version in configure.ac
Remi Gacogne [Wed, 3 Sep 2025 07:34:39 +0000 (09:34 +0200)]
dnsdist: Fix code formatting
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Wed, 3 Sep 2025 07:23:20 +0000 (09:23 +0200)]
dnsdist: Add regression tests for packet cache and EDNS padding
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Wed, 3 Sep 2025 06:16:34 +0000 (08:16 +0200)]
dnsdist: Refactor YAML configuration parsing to reduce code complexity
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Tue, 2 Sep 2025 11:03:22 +0000 (13:03 +0200)]
Merge pull request #16059 from miodvallat/where_is_my_404
REST API: bring back 404 errors
Remi Gacogne [Tue, 2 Sep 2025 11:03:00 +0000 (13:03 +0200)]
Merge pull request #15773 from karelbilek/kb/clarify_auth
dnsdist: Clarify different webserver auths
Remi Gacogne [Tue, 2 Sep 2025 11:00:29 +0000 (13:00 +0200)]
Merge pull request #16064 from rgacogne/ddist-properly-handle-truncation-sendmmsg
dnsdist: Properly handle truncation for UDP responses sent via `sendmmsg`
Miod Vallat [Tue, 2 Sep 2025 10:29:20 +0000 (12:29 +0200)]
Merge pull request #15891 from miodvallat/behind_the_backend
Improve lmdb dyndns test results
Miod Vallat [Tue, 2 Sep 2025 10:28:40 +0000 (12:28 +0200)]
Merge pull request #16024 from miodvallat/update_unless_don't
Correctly handle dnsupdate reject by Lua policy
Jeremy Muriel [Mon, 1 Sep 2025 14:50:06 +0000 (16:50 +0200)]
fix case sensitivity handling for IXFR requests in ixfrdist
TXT record values are case sensitive, but the compilation of
an IXFR difference in ixfrdist doesn't produce a difference
when the change is only a case modification.
This commit removes the toLower() call when comparing record content
to properly handle case-sensitive changes.
Miod Vallat [Tue, 2 Sep 2025 07:07:42 +0000 (09:07 +0200)]
Merge pull request #16050 from miodvallat/what_time_is_it
Display SOA check timestamps in human-readable form
Karel Bilek [Mon, 1 Sep 2025 21:28:46 +0000 (23:28 +0200)]
dnsdist: Clarify different webserver auths
Remi Gacogne [Mon, 1 Sep 2025 16:29:57 +0000 (18:29 +0200)]
dnsdist: Skip EDNS padding content by default in the packet cache
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 1 Sep 2025 12:00:09 +0000 (14:00 +0200)]
dnsdist: Properly handle truncation for UDP responses sent via `sendmmsg`
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 1 Sep 2025 10:22:55 +0000 (12:22 +0200)]
dnsdist: Test that the configuration is correctly reloaded
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 1 Sep 2025 10:22:06 +0000 (12:22 +0200)]
dnsdist: Refresh configuration after `recv` which may have blocked for a long time
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Fri, 29 Aug 2025 16:08:43 +0000 (18:08 +0200)]
Merge pull request #15966 from miodvallat/unsafe
pdnsutil: report corrupted records
Miod Vallat [Fri, 29 Aug 2025 15:06:58 +0000 (17:06 +0200)]
Merge pull request #15969 from miodvallat/seventh_json_of_a_seventh_json
web server: try harder to return response in the same type as the request
Miod Vallat [Thu, 7 Aug 2025 06:40:31 +0000 (08:40 +0200)]
Add optional backend method to let them return invalid records.
Use this in pdnsutil check-zone to report these ill-formed records which
would otherwise never made visible.
Fixes: #4941
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 23 Jul 2025 05:59:51 +0000 (07:59 +0200)]
Update lmdb dyndns oracles.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 21 Jul 2025 15:36:00 +0000 (17:36 +0200)]
Use pdnsutil backend-cmd list to get NSEC3 details in dyndns tests.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 21 Jul 2025 14:47:36 +0000 (16:47 +0200)]
Add a "list" backend-cmd which allows us to get NSEC3 ordername data.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Peter van Dijk [Fri, 29 Aug 2025 08:53:42 +0000 (10:53 +0200)]
Merge pull request #16016 from Habbie/random-doc-nits
auth: random doc nits
Miod Vallat [Fri, 29 Aug 2025 07:18:18 +0000 (09:18 +0200)]
Prevent the /* OPTIONS handler to turn every 404 error into 405.
Fixes: #14572
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 28 Aug 2025 15:23:23 +0000 (17:23 +0200)]
Merge pull request #16056 from rkr-23/patch-1
Auth: Fix misleading description of tcp-control-port argument.
Otto Moerbeek [Thu, 28 Aug 2025 14:47:10 +0000 (16:47 +0200)]
rec/dnsdist: add (back) the line that sets the version in configure.ac
Partial revert of #15717
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Thu, 28 Aug 2025 14:10:56 +0000 (16:10 +0200)]
Merge pull request #16046 from miodvallat/transfer_of_confusion
Make axfr error message more helpful when a domain can't be found
Ramsanker K R [Thu, 28 Aug 2025 13:50:48 +0000 (15:50 +0200)]
Fix misleading description of tcp-control-port argument.
Signed-off-by: Ramsanker K R <164614935+rkr-23@users.noreply.github.com>
Otto Moerbeek [Thu, 28 Aug 2025 11:33:43 +0000 (13:33 +0200)]
Merge pull request #16044 from omoerbeek/rec-prep-5.3.0
rec: prep for rec-5.3.0
dependabot[bot] [Thu, 28 Aug 2025 11:30:37 +0000 (11:30 +0000)]
build(deps): bump h2 from 4.2.0 to 4.3.0 in /regression-tests.dnsdist
Bumps [h2](https://github.com/python-hyper/h2) from 4.2.0 to 4.3.0.
- [Changelog](https://github.com/python-hyper/h2/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/python-hyper/h2/compare/v4.2.0...v4.3.0)
---
updated-dependencies:
- dependency-name: h2
dependency-version: 4.3.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Alexis Romero [Thu, 28 Aug 2025 10:11:17 +0000 (12:11 +0200)]
Merge pull request #16022 from romeroalx/fix-pip-pinning-2508
Update Python package pinning for setup_requires dependency `pbr` to version `7.0.1`
Miod Vallat [Thu, 28 Aug 2025 09:15:51 +0000 (11:15 +0200)]
Display SOA check timestamps in human-readable form.
Fixes: #11134
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Thu, 28 Aug 2025 09:09:19 +0000 (11:09 +0200)]
Merge pull request #16043 from omoerbeek/dnsdist-build-gcc8
dnsdist: allow building wth gcc8, which needs -lstdc++fs as link argument
Miod Vallat [Thu, 28 Aug 2025 08:42:08 +0000 (10:42 +0200)]
Make axfr error message more helpful when a domain can't be found.
Fixes: #11084
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Thu, 28 Aug 2025 08:37:02 +0000 (10:37 +0200)]
Merge pull request #16042 from omoerbeek/dnsdist-incr-macro
dnsdist: don't increment in a potential macro argument
Otto Moerbeek [Tue, 26 Aug 2025 11:57:51 +0000 (13:57 +0200)]
rec: prep for rec-5.3.0
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 28 Aug 2025 08:15:16 +0000 (10:15 +0200)]
dnsdist: allow building wth gcc8, which needs -lstdc++fs as link argument
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 28 Aug 2025 07:53:53 +0000 (09:53 +0200)]
dnsdist: don't increment in a potential macro argument
Fixes g++ 8: ../dnsdist-crypto.cc:291:16: warning: operation on 'count' may be undefined [-Wsequence-point]
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Thu, 28 Aug 2025 07:29:16 +0000 (09:29 +0200)]
Merge pull request #16038 from rgacogne/ddist-add-missing-dist-files
dnsdist: Add missing generated files to the dist tarball
Alexis Romero [Tue, 26 Aug 2025 20:13:13 +0000 (22:13 +0200)]
Merge pull request #15537 from romeroalx/ci-daily-build-pkgs-rel
GH actions: add daily build-packages for rel/* branches to ci
Remi Gacogne [Tue, 26 Aug 2025 15:12:42 +0000 (17:12 +0200)]
Merge pull request #15874 from rgacogne/ddist-get-current-runtime-config-optimization
dnsdist: Only check the freshness of the configuration when needed
Remi Gacogne [Tue, 26 Aug 2025 11:58:54 +0000 (13:58 +0200)]
dnsdist: Add missing generated files to the dist tarball
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Peter van Dijk [Tue, 26 Aug 2025 10:17:30 +0000 (12:17 +0200)]
process comments from Miod
Remi Gacogne [Mon, 25 Aug 2025 13:22:39 +0000 (15:22 +0200)]
dnsdist: Expose `refreshRuntimeConfiguration` to Lua
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 22 Aug 2025 12:38:35 +0000 (14:38 +0200)]
dnsdist: Fix a typo is an exception message spotted by Miod
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Fri, 22 Aug 2025 12:38:03 +0000 (14:38 +0200)]
dnsdist: Apply Miod's suggestion
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Fri, 22 Aug 2025 12:22:29 +0000 (14:22 +0200)]
dnsdist: Fix clang-tidy warnings
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 22 Aug 2025 08:33:14 +0000 (10:33 +0200)]
dnsdist: Don't call `nghttp2_session_send` from a callback
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 22 Aug 2025 07:57:57 +0000 (09:57 +0200)]
dnsdist: Fix a memory access violation in the nghttp2 unit tests
Calling `nghttp2_session_send` from a callback does not work well
when ``nghttp2_session_send`` ends up closing the current stream,
triggering a use-after-free.
It's not clear from the API documentation, but it is mentioned in
the programmers' guide's remarks:
> Do not call `nghttp2_session_send()`, `nghttp2_session_mem_send2()`,
`nghttp2_session_recv()` or `nghttp2_session_mem_recv2()` from the
nghttp2 callback functions directly or indirectly. It will lead to the
crash. You can submit requests or frames in the callbacks then call
these functions outside the callbacks.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Mon, 25 Aug 2025 12:49:37 +0000 (14:49 +0200)]
clang-tidy, my old nemesis, we meet again.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Mon, 25 Aug 2025 12:19:22 +0000 (14:19 +0200)]
Merge pull request #16007 from rgacogne/ddist-h2-25
dnsdist: Add mitigations for the HTTP/2 MadeYouReset attack
Remi Gacogne [Mon, 25 Aug 2025 12:18:45 +0000 (14:18 +0200)]
Merge pull request #16034 from rgacogne/ddist-upgrade-h2o-226pdns3
dnsdist: Upgrade h2o to 2.2.6-pdns3
Miod Vallat [Mon, 25 Aug 2025 11:48:28 +0000 (13:48 +0200)]
Merge pull request #16033 from miodvallat/boost_your_readability
Remove boost < 1.54 leftovers
Remi Gacogne [Mon, 25 Aug 2025 11:08:41 +0000 (13:08 +0200)]
dnsdist: Fix invalid log formatters spotted by Otto
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Mon, 25 Aug 2025 10:31:48 +0000 (12:31 +0200)]
Keep timestamps for the complete list of files used by the zone parser.
Check all of them during freshness checks, so that an update to an included
file can correctly report the zone as outdated.
Fixes: #469
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 25 Aug 2025 10:25:17 +0000 (12:25 +0200)]
Remove preprocessor check for Boost < 1.54.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 25 Aug 2025 10:23:24 +0000 (12:23 +0200)]
Remove workaround for Boost 1.53 since we require at least 1.54 to build.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 25 Aug 2025 10:13:11 +0000 (12:13 +0200)]
Let ZoneParserTNG keep a list of all visited files (such as includes).
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Mon, 25 Aug 2025 09:43:54 +0000 (11:43 +0200)]
dnsdist: Upgrade h2o to 2.2.6-pdns3
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Mon, 25 Aug 2025 09:20:57 +0000 (11:20 +0200)]
clang-tidy always finds something to complain about.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Mon, 25 Aug 2025 08:26:55 +0000 (10:26 +0200)]
Merge pull request #16021 from omoerbeek/rec-include-logr
rec: include logr.hh in bridge.hh
Miod Vallat [Mon, 25 Aug 2025 07:44:22 +0000 (09:44 +0200)]
Return Refused when the lua update policy declines all updates.
Fixes: #14953
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 25 Aug 2025 06:52:38 +0000 (08:52 +0200)]
Split PacketHandler::processUpdate() into multiple subfunctions. NFCI
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Mon, 25 Aug 2025 07:11:20 +0000 (09:11 +0200)]
rec: include logr.hh in bridge.hh
Not doing so results in creating a shared pointer to an incomplete class,
which does not work for all compilers/c++ lib combinations.
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
romeroalx [Wed, 7 May 2025 04:02:37 +0000 (06:02 +0200)]
gh actions: add daily build-packages for rel/* branches
romeroalx [Tue, 20 May 2025 09:23:46 +0000 (11:23 +0200)]
gh actions: removed daily buider for rel/* branches
romeroalx [Mon, 25 Aug 2025 06:52:15 +0000 (08:52 +0200)]
pip pinning: update requirements.txt for pbr 7.0.1
Otto Moerbeek [Fri, 22 Aug 2025 14:13:54 +0000 (16:13 +0200)]
Merge pull request #16011 from omoerbeek/rec-path-unlink-unmodernize
rec: Path.unlink(True) requires python 3.8, rewrite so it works on older versions
Peter van Dijk [Fri, 22 Aug 2025 13:20:36 +0000 (15:20 +0200)]
Merge pull request #15988 from Habbie/noracular
drop ubuntu oracular, it is EOL
Remi Gacogne [Fri, 22 Aug 2025 13:20:04 +0000 (15:20 +0200)]
dnsdist: Also refresh the configuration when `recvmmsg` is used
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Fri, 22 Aug 2025 13:19:34 +0000 (15:19 +0200)]
Merge pull request #16006 from miodvallat/12154-redone
More zone names in error messages
Miod Vallat [Fri, 22 Aug 2025 13:16:26 +0000 (15:16 +0200)]
Merge pull request #15952 from miodvallat/system_five
auth: update CI for 5.x
Peter van Dijk [Fri, 22 Aug 2025 12:30:49 +0000 (14:30 +0200)]
clarify catz/views status
Peter van Dijk [Fri, 22 Aug 2025 12:18:04 +0000 (14:18 +0200)]
correct company name
Miod Vallat [Fri, 22 Aug 2025 10:32:03 +0000 (12:32 +0200)]
Merge pull request #16012 from miodvallat/knocking_on_server's_door
auth: 5.0.0 release notes and secpoll update
Miod Vallat [Thu, 21 Aug 2025 14:20:34 +0000 (16:20 +0200)]
5.0.0 release notes and secpoll update
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Thu, 21 Aug 2025 15:50:32 +0000 (17:50 +0200)]
Merge pull request #15931 from rgacogne/ddist-faster-response-content-matching
dnsdist: Speed up response content matching
Remi Gacogne [Thu, 21 Aug 2025 15:50:03 +0000 (17:50 +0200)]
Merge pull request #15930 from rgacogne/ddist-backend-qps-limiter
dnsdist: Backend QPS limit refactoring
Remi Gacogne [Thu, 21 Aug 2025 15:49:44 +0000 (17:49 +0200)]
Merge pull request #15935 from rgacogne/ddist-incoming-concurrent-tcp-conn-counter-cleanup
dnsdist: Clean up incoming TCP connections counters once per minute
Remi Gacogne [Thu, 21 Aug 2025 14:40:29 +0000 (16:40 +0200)]
Refactor `DNSName::matches` around `pdns_ilexicographical_compare_three_way`
And rename it to hopefully prevent any confusion regarding when it can be used.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Thu, 21 Aug 2025 14:30:16 +0000 (16:30 +0200)]
Merge pull request #16010 from omoerbeek/rec-pubsuffix-followup
rec: check for pubsuffix.cc presence, followup to #15782
Peter van Dijk [Thu, 21 Aug 2025 14:22:56 +0000 (16:22 +0200)]
update keyblocks with non-SHA1 signing keys
fixes #15141
Remi Gacogne [Thu, 21 Aug 2025 14:18:56 +0000 (16:18 +0200)]
dnsdist: Remove unused `BasicQPSLimiter` and `QPSLimiter` ctors
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Thu, 21 Aug 2025 14:06:04 +0000 (16:06 +0200)]
Merge pull request #16009 from miodvallat/backport-15991-to-auth-5.0.x
auth-5.0: backport "Fix Boost system lib dependency: it is no longer available since 1.89"
Remi Gacogne [Thu, 21 Aug 2025 13:49:43 +0000 (15:49 +0200)]
dnsdist: Fix error in comment spotted by Otto (seconds -> minutes)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Thu, 21 Aug 2025 13:39:15 +0000 (15:39 +0200)]
rec: Path.unlink(True) requires python 3.8, rewrite so it works on older versions
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Thu, 21 Aug 2025 13:43:01 +0000 (15:43 +0200)]
dnsdist: Apply Miod and clang-tidy's suggestions
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Thu, 21 Aug 2025 13:27:24 +0000 (15:27 +0200)]
rec: check for pubsuffix.cc presence, followup to #15782
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 21 Aug 2025 13:25:17 +0000 (15:25 +0200)]
Merge pull request #15943 from zjs604381586/answer-log
add tc flag in answer log
Otto Moerbeek [Tue, 19 Aug 2025 12:42:12 +0000 (14:42 +0200)]
Fix Boost system lib dependency: it is no longer available since 1.89
To do that, partly sync with upstream boost.m4
Should fix #15972
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit
e096f48218dd2ea82fc907ff62e4cbced121ca8b )