]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Fri, 21 Feb 2025 10:44:18 +0000 (11:44 +0100)]
dnsdist: Fix a few warnings from Coverity
Mostly missed optimizations in places where the performance does not
matter much (configuration parsing) and a few false positives
(places where a copy is actually what we want, and Coverity is not
smart enough to understand it).
Miod Vallat [Fri, 21 Feb 2025 07:18:01 +0000 (08:18 +0100)]
Merge pull request #15190 from jsoref/dnssec-migration
docs: DNSSEC migration
Miod Vallat [Fri, 21 Feb 2025 06:05:00 +0000 (07:05 +0100)]
Merge pull request #15191 from jsoref/doc-pdnsutil
docs: link to doc:pdnsutil
Miod Vallat [Fri, 21 Feb 2025 06:03:39 +0000 (07:03 +0100)]
Merge pull request #15189 from jsoref/lua-if-first-run
docs: lua warn about first run checks
Miod Vallat [Fri, 21 Feb 2025 06:01:20 +0000 (07:01 +0100)]
Merge pull request #15188 from jsoref/lua-link-to-ifurlup-options
docs: lua link to ifurlup-options
Josh Soref [Thu, 20 Feb 2025 22:01:40 +0000 (17:01 -0500)]
docs: link to doc:pdnsutil
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Thu, 20 Feb 2025 21:24:24 +0000 (16:24 -0500)]
docs: dnssec migration use rst mark up
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Thu, 20 Feb 2025 21:23:45 +0000 (16:23 -0500)]
docs: dnssec migration use rst mark up and change wording
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Thu, 20 Feb 2025 20:58:50 +0000 (15:58 -0500)]
docs: lua warn about first run checks
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Thu, 20 Feb 2025 20:55:01 +0000 (15:55 -0500)]
docs: lua link to ifurlup-options
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Miod Vallat [Thu, 20 Feb 2025 11:01:09 +0000 (12:01 +0100)]
Merge pull request #15180 from miodvallat/consistent_logs
Consistent spelling of "Lua record" in logs
Miod Vallat [Thu, 20 Feb 2025 08:49:31 +0000 (09:49 +0100)]
More LUA -> Lua when applicable.
Miod Vallat [Thu, 20 Feb 2025 06:50:04 +0000 (07:50 +0100)]
Merge pull request #15177 from jsoref/lua-records-mark-up
Mark up www and ip addresses
Miod Vallat [Thu, 20 Feb 2025 06:39:26 +0000 (07:39 +0100)]
Consistent spelling of "Lua record" in logs.
Miod Vallat [Thu, 20 Feb 2025 06:34:26 +0000 (07:34 +0100)]
Merge pull request #15178 from jsoref/tsig-mark-up
Mark up tsig tables/algorithms/lengths
Josh Soref [Wed, 19 Feb 2025 20:53:05 +0000 (15:53 -0500)]
Mark up www and ip addresses
Josh Soref [Wed, 19 Feb 2025 21:35:35 +0000 (16:35 -0500)]
Mark up tsig tables/algorithms/lengths
Remi Gacogne [Wed, 19 Feb 2025 15:43:11 +0000 (16:43 +0100)]
Merge pull request #15165 from rgacogne/update-quiche
dnsdist: Update Quiche to 0.23.2 in our packages
Remi Gacogne [Wed, 19 Feb 2025 15:42:58 +0000 (16:42 +0100)]
Merge pull request #15164 from rgacogne/update-rust
Update Rust to 1.84.1 for our packages
Miod Vallat [Wed, 19 Feb 2025 10:02:04 +0000 (11:02 +0100)]
Merge pull request #15175 from miodvallat/lmdb_abort_with_style
Improve LMDBBackend reliability
Miod Vallat [Wed, 19 Feb 2025 08:54:43 +0000 (09:54 +0100)]
lmdb: be sure to abort pending transactions in the correct order.
If the LMDBBackend destructor is invoked while there are still pending
transactions, these need to be aborted, but in the reverse order of
their creation (i.e. abort the innermost transaction first).
The default destructor would abort them in a class field
declaration-dependent order, which may not match the actual cinematic.
We now remember which transaction is the innermost one, so that we can
abort them in the expected order.
This gets rid of "double free or corruption (top)" aborts with glibc,
and Address Sanitizer errors.
Remi Gacogne [Mon, 17 Feb 2025 16:10:58 +0000 (17:10 +0100)]
Merge pull request #15156 from rgacogne/ddist-handle-dnstap-msg-order
dnsdist: Handle response dnstap messages arriving before the query ones
Remi Gacogne [Mon, 17 Feb 2025 10:29:49 +0000 (11:29 +0100)]
dnsdist: Put the dnstap messages back to the queue in the correct order
As noticed by Miod, the previous solution was not removing all messages
from the queue, possibly putting back old messages behind newer ones.
Otto Moerbeek [Mon, 17 Feb 2025 10:26:15 +0000 (11:26 +0100)]
Merge pull request #15168 from omoerbeek/rec-coverity-
20250217
rec: coverity
20250217
Remi Gacogne [Mon, 17 Feb 2025 09:27:17 +0000 (10:27 +0100)]
Merge pull request #15163 from rgacogne/dnsdist-meson-dist
dnsdist: Generate tarballs via `meson dist`
Remi Gacogne [Mon, 17 Feb 2025 08:39:29 +0000 (09:39 +0100)]
Fix typos found by Miod in gen-version
Otto Moerbeek [Mon, 17 Feb 2025 08:15:34 +0000 (09:15 +0100)]
This should eliminate a dozen or so Coverity warnigs
For example:
1591605 Data race condition
5. missing_lock: Accessing g_lowercaseOutgoing without holding lock LockGuarded<std::shared_ptr<std::unordered_map<DNSName, SyncRes::AuthDomain, std::hash<DNSName>, std::equal_to<DNSName>, std::allocator<std::pair<DNSName const, SyncRes::AuthDomain> > > > >.d_mutex. Elsewhere, g_lowercaseOutgoing is written to with LockGuarded.d_mutex held 1 out of 1 times.
Otto Moerbeek [Mon, 17 Feb 2025 08:05:16 +0000 (09:05 +0100)]
Coverity
1591604 Use of auto that causes a copy
Remi Gacogne [Sat, 15 Feb 2025 12:31:57 +0000 (13:31 +0100)]
Merge pull request #15166 from rgacogne/ddist-unused-warnings
dnsdist: Fix several unused parameter warnings without DoH support
Remi Gacogne [Fri, 14 Feb 2025 15:51:37 +0000 (16:51 +0100)]
Rust moved to XZ compression
Remi Gacogne [Fri, 14 Feb 2025 15:42:37 +0000 (16:42 +0100)]
dnsdist: Fix several unused parameter warnings without DoH support
Remi Gacogne [Fri, 14 Feb 2025 15:40:10 +0000 (16:40 +0100)]
dnsdist: Update Quiche to 0.23.2 in our packages
Remi Gacogne [Fri, 14 Feb 2025 15:38:33 +0000 (16:38 +0100)]
Update Rust to 1.84.1 for our packages
Miod Vallat [Fri, 14 Feb 2025 15:16:01 +0000 (16:16 +0100)]
Merge pull request #15160 from miodvallat/amnesia_got_me_in_trouble
[pdnsutil] Better error message when disk full
Miod Vallat [Fri, 14 Feb 2025 14:11:55 +0000 (15:11 +0100)]
Merge pull request #14905 from klaus-nicat/improve_freshness-check_description
Try to improve freshness-check description
Otto Moerbeek [Fri, 14 Feb 2025 13:59:27 +0000 (14:59 +0100)]
Merge pull request #15161 from omoerbeek/rec-meson-install
rec: add meson install target and fix meson dist issues after new way of generating man pages was merged
Remi Gacogne [Fri, 14 Feb 2025 13:32:52 +0000 (14:32 +0100)]
dnsdist: Only generate man pages when needed w/ meson
Thanks, Otto!
Remi Gacogne [Fri, 14 Feb 2025 10:37:00 +0000 (11:37 +0100)]
dnsdist: Generate tarballs via `meson dist`
Miod Vallat [Fri, 14 Feb 2025 13:02:27 +0000 (14:02 +0100)]
Apply suggestions from code review
Peter van Dijk [Fri, 14 Feb 2025 12:13:41 +0000 (13:13 +0100)]
Merge pull request #15162 from Habbie/revert-rclone
revert from rclone back to custom sync script
Peter van Dijk [Fri, 14 Feb 2025 12:11:04 +0000 (13:11 +0100)]
revert from rclone back to custom sync script
Peter van Dijk [Fri, 14 Feb 2025 11:28:25 +0000 (12:28 +0100)]
Merge pull request #15155 from milzi234/feature/rclone
Use rclone instead of custom sync script to publish documentation to AWS S3 bucket
Otto Moerbeek [Fri, 14 Feb 2025 11:21:53 +0000 (12:21 +0100)]
Don't set --config-dir when generating dist config, no need to anymore
Miod Vallat [Fri, 14 Feb 2025 11:15:47 +0000 (12:15 +0100)]
Merge pull request #15152 from miodvallat/strict_aliasing
Make the record representation of ALIAS match CNAME
Otto Moerbeek [Fri, 14 Feb 2025 10:58:12 +0000 (11:58 +0100)]
Fix meson dist issues found after new way of generating man pages was merged.
Including a path fix to the cmp command, which wrongly assumes
MESON_SOURCE_ROOT was the toplevel dir.
Otto Moerbeek [Fri, 14 Feb 2025 11:08:10 +0000 (12:08 +0100)]
Merge pull request #15157 from omoerbeek/rec-coverity-
20250212
rec: coverity
20250212
Miod Vallat [Fri, 14 Feb 2025 10:53:42 +0000 (11:53 +0100)]
Merge pull request #15159 from zeha/zeha-mesonstuff
recursor/meson: fix typo in comment
Miod Vallat [Fri, 14 Feb 2025 10:50:40 +0000 (11:50 +0100)]
If deleteZone fails due to a backend exception, show it...
...rather than any further backend exception caused by
abortTransaction(), which will be much less helpful.
Using the sqlite backend on a full filesystem, pdnsutil delete-zone now
correctly reports "database or disk is full" instead of "cannot rollback
- no transaction is active" which no human can make sense of in this
situation.
Chris Hofstaedtler [Fri, 14 Feb 2025 10:19:59 +0000 (11:19 +0100)]
recursor/meson: fix typo in comment
Otto Moerbeek [Fri, 14 Feb 2025 09:43:36 +0000 (10:43 +0100)]
Add misssing declaration gcc likes while there
Otto Moerbeek [Wed, 12 Feb 2025 15:03:46 +0000 (16:03 +0100)]
rec: add install target to meson
And always generate default config in YAML format
milzi234 [Fri, 14 Feb 2025 09:46:02 +0000 (10:46 +0100)]
remove --progress
milzi234 [Fri, 14 Feb 2025 09:44:17 +0000 (10:44 +0100)]
use ubuntu's rclone
Otto Moerbeek [Wed, 12 Feb 2025 13:26:24 +0000 (14:26 +0100)]
Coverity
1591086 Uninitialized scalar field
Otto Moerbeek [Wed, 12 Feb 2025 13:07:51 +0000 (14:07 +0100)]
Buch of Coverity "Variable copied when it could be moved" cases
Otto Moerbeek [Fri, 14 Feb 2025 09:29:13 +0000 (10:29 +0100)]
Merge pull request #15154 from omoerbeek/rec-rust-cxx-include-dir
rec: fix cxx include dir
milzi234 [Fri, 14 Feb 2025 09:07:03 +0000 (10:07 +0100)]
Use rclone instead of custom sync script to publish documentation to AWS S3 bucket
Otto Moerbeek [Fri, 14 Feb 2025 08:44:34 +0000 (09:44 +0100)]
Merge pull request #15153 from omoerbeek/rec-fix-docs-gen
rec: fix docs generating, settings/ is now rec-rust-lib/
Otto Moerbeek [Fri, 14 Feb 2025 08:23:23 +0000 (09:23 +0100)]
rec: fix cxx include dir
Otto Moerbeek [Fri, 14 Feb 2025 07:53:01 +0000 (08:53 +0100)]
rec: fix docs generating, settings/ is now rec-rust-lib/
Otto Moerbeek [Fri, 14 Feb 2025 07:30:41 +0000 (08:30 +0100)]
Merge pull request #15114 from omoerbeek/rec-rust-web
rec: move to embedded web service written in Rust
Otto Moerbeek [Fri, 14 Feb 2025 07:28:02 +0000 (08:28 +0100)]
Merge pull request #14976 from omoerbeek/rec-quit-nicely-sync
rec: make quit-nicely wait on actual quit and start using it for stopping by systemd
Miod Vallat [Thu, 13 Feb 2025 16:15:34 +0000 (17:15 +0100)]
Make the record representation of ALIAS match CNAME...
...but for the name compression. This will correctly remove non-root
trailing dots from ALIAS records.
Fixes #5500, #7827
Otto Moerbeek [Fri, 14 Feb 2025 06:57:25 +0000 (07:57 +0100)]
Typo in comment
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Remi Gacogne [Thu, 13 Feb 2025 16:14:08 +0000 (17:14 +0100)]
dnsdist: Handle response dnstap messages arriving before the query ones
Since we now use more than one TCP connection, it is entirely possible
for the response message to arrive before the query one, and our tests
should just deal with that.
Remi Gacogne [Thu, 13 Feb 2025 11:32:44 +0000 (12:32 +0100)]
Merge pull request #15149 from rgacogne/ddist-meson-min-version
dnsdist: Bump the required version of `meson` to 1.3
Remi Gacogne [Thu, 13 Feb 2025 11:32:10 +0000 (12:32 +0100)]
Merge pull request #15148 from rgacogne/ddist-unbreak-console
dnsdist: Fix console ("client mode") on non-default address or port
Remi Gacogne [Thu, 13 Feb 2025 10:51:49 +0000 (11:51 +0100)]
dnsdist: Bump the required version of `meson` to 1.3
Since we now use the `follow_symlinks` option of `install_data()`.
We could probably make it work with older versions but a quick look
at what distributions provide suggests that 1.2.1 or 1.3.0 is
practically the same amount of pain.
Remi Gacogne [Thu, 13 Feb 2025 10:48:23 +0000 (11:48 +0100)]
dnsdist: Fix console ("client mode") on non-default address or port
The console address and port were not properly set in client mode,
so `dnsdist` tried to connect to the default console address and port.
Remi Gacogne [Thu, 13 Feb 2025 10:19:46 +0000 (11:19 +0100)]
Merge pull request #15138 from rgacogne/ddist-meson-install
dnsdist: Install binary, man page and systemd unit files with meson
Miod Vallat [Thu, 13 Feb 2025 10:02:19 +0000 (11:02 +0100)]
Merge pull request #15147 from miodvallat/rrset_me_on_fire
Low-hanging LMDB fruits
Remi Gacogne [Thu, 13 Feb 2025 09:51:04 +0000 (10:51 +0100)]
Merge pull request #15144 from PowerDNS/dependabot/pip/regression-tests.recursor-dnssec/cryptography-44.0.1
build(deps): bump cryptography from 43.0.1 to 44.0.1 in /regression-tests.recursor-dnssec
Peter van Dijk [Thu, 13 Feb 2025 09:48:09 +0000 (10:48 +0100)]
Merge pull request #15143 from Habbie/no-ubuntu-20.04
switch ubuntu-20.04 workflows to 24.04
Remi Gacogne [Thu, 13 Feb 2025 09:42:01 +0000 (10:42 +0100)]
dnsdist: Tell meson to follow symbolic links for `dnsdist.conf-dist`
Miod Vallat [Thu, 13 Feb 2025 09:41:50 +0000 (10:41 +0100)]
Merge pull request #15084 from miodvallat/fire_of_unknown_origin
Boring minor cleanups
Miod Vallat [Thu, 13 Feb 2025 09:41:08 +0000 (10:41 +0100)]
Merge pull request #15080 from miodvallat/import_with_care
pdnsutil: check for key presence after import
Remi Gacogne [Thu, 13 Feb 2025 08:51:39 +0000 (09:51 +0100)]
Merge pull request #15146 from omoerbeek/docs-requirements
docs: update requirements for auth and dnsdist
Miod Vallat [Wed, 12 Feb 2025 11:51:54 +0000 (12:51 +0100)]
Sprinkle reserve() calls on vectors when possible and useful.
Miod Vallat [Wed, 12 Feb 2025 11:45:27 +0000 (12:45 +0100)]
Disable read ahead in LMDB.
This contributes to not degrading performance too much when the system
memory is almost completely used, by preventing page thrashing due to
the read ahead behaviour of the system.
Otto Moerbeek [Wed, 12 Feb 2025 11:20:37 +0000 (12:20 +0100)]
docs: update requirements for auth and dnsdist
rec was already done earlier in #15076
Miod Vallat [Wed, 12 Feb 2025 10:56:19 +0000 (11:56 +0100)]
Merge pull request #15145 from miodvallat/gimme_more_salt
[tools] fix sdig link
Otto Moerbeek [Wed, 12 Feb 2025 09:51:55 +0000 (10:51 +0100)]
Remove remains of unused PoC code
Otto Moerbeek [Wed, 12 Feb 2025 09:41:23 +0000 (10:41 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Miod Vallat [Wed, 12 Feb 2025 09:43:18 +0000 (10:43 +0100)]
Always link sdig against libsodium if used.
Fallout from #15140
Otto Moerbeek [Wed, 12 Feb 2025 09:17:30 +0000 (10:17 +0100)]
Clearly separate signal handling from rec_control quit(-nicely) path
Also: as the bulk and regression tests now use quit-nicely, we don't need to do special processing
for the SAN case anymore on signals.
rec_control quit still does some SAN work and exits 1 (legacy beheviour).
dependabot[bot] [Wed, 12 Feb 2025 09:16:14 +0000 (09:16 +0000)]
build(deps): bump cryptography in /regression-tests.recursor-dnssec
Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.1 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/43.0.1...44.0.1)
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Alexis Romero [Wed, 12 Feb 2025 09:14:54 +0000 (10:14 +0100)]
Merge pull request #15102 from romeroalx/enable-meson-auth-deb11
GH Actions - build-and-test-all.yml: use virtual environment for python packages
Otto Moerbeek [Wed, 12 Feb 2025 08:30:08 +0000 (09:30 +0100)]
Reformat with clang-format-19
Otto Moerbeek [Wed, 12 Feb 2025 08:29:50 +0000 (09:29 +0100)]
Remove redundant CircleCI condition
Otto Moerbeek [Wed, 12 Feb 2025 07:57:10 +0000 (08:57 +0100)]
Switch to clang-format-19 by default and allow //comment with no leading space
Still some formatting differences, but they look legit. It seems
older versions of clang-format did not process preprocessor
conditionals correctly in all cases.
Otto Moerbeek [Wed, 12 Feb 2025 06:30:14 +0000 (07:30 +0100)]
Merge pull request #15142 from omoerbeek/docs-keyblock-link-text
docs: correct text of link for key block
Peter van Dijk [Tue, 11 Feb 2025 17:44:43 +0000 (18:44 +0100)]
bump clang
Peter van Dijk [Tue, 11 Feb 2025 17:42:48 +0000 (18:42 +0100)]
use pdns from noble
Peter van Dijk [Tue, 11 Feb 2025 17:39:01 +0000 (18:39 +0100)]
switch ubuntu-20.04 workflows to 24.04
Otto Moerbeek [Tue, 11 Feb 2025 13:39:45 +0000 (14:39 +0100)]
correct text and link for key block
Otto Moerbeek [Tue, 11 Feb 2025 15:41:56 +0000 (16:41 +0100)]
Merge pull request #15140 from omoerbeek/cookies-phase1
sdig: implement cookie support
Otto Moerbeek [Fri, 7 Feb 2025 10:06:37 +0000 (11:06 +0100)]
Typos is comments
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Otto Moerbeek [Wed, 5 Feb 2025 15:31:53 +0000 (16:31 +0100)]
Sprinkle some comments and copyright notices
Otto Moerbeek [Tue, 4 Feb 2025 10:06:18 +0000 (11:06 +0100)]
Process very initial review comments (docs and comments and trivial changes)
Otto Moerbeek [Tue, 4 Feb 2025 08:48:24 +0000 (09:48 +0100)]
Handle a few remaining remnants of POC code