]>
git.ipfire.org Git - thirdparty/pdns.git/log
Fred Morcos [Mon, 27 Nov 2023 13:20:51 +0000 (14:20 +0100)]
Format ssql and ssqlite3
Remi Gacogne [Mon, 27 Nov 2023 16:01:54 +0000 (17:01 +0100)]
Merge pull request #12908 from wwijkander/master
Add note to pdnsutil manpage on how to remove zone from catalog zone
dependabot[bot] [Mon, 27 Nov 2023 15:34:52 +0000 (15:34 +0000)]
build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Fred Morcos [Fri, 24 Nov 2023 19:13:24 +0000 (20:13 +0100)]
Merge pull request #13535 from fredmorcos/cleanup-libssl-ifdef
Cleanup a `libssl.cc` #ifdef
Remi Gacogne [Fri, 24 Nov 2023 15:16:52 +0000 (16:16 +0100)]
dnsdist: Explain to clang-tidy that resizing a moved vector is fine
Remi Gacogne [Fri, 17 Nov 2023 15:10:37 +0000 (16:10 +0100)]
dnsdist: Don't set `AI_V4MAPPED`, as spotted by Otto (thanks!)
Remi Gacogne [Fri, 17 Nov 2023 14:10:57 +0000 (15:10 +0100)]
dnsdist: Fix clang-tidy warnings
Remi Gacogne [Fri, 17 Nov 2023 14:10:16 +0000 (15:10 +0100)]
dnsdist: Add a missing word spotted by Habbie in the documentation
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Remi Gacogne [Fri, 17 Nov 2023 09:42:29 +0000 (10:42 +0100)]
dnsdist: Add `getAddressInfo()` for asynchronous DNS resolution
Remi Gacogne [Fri, 24 Nov 2023 14:30:09 +0000 (15:30 +0100)]
dnsdist: Detect and dismiss truncated UDP responses from a backend
Until now we would not have detected if the response was larger than
our buffer (4096 bytes or larger in some cases), which could have
led to parsing errors or even forwarding a corrupted response.
Fred Morcos [Mon, 6 Nov 2023 09:17:51 +0000 (10:17 +0100)]
Cleanup libssl.cc #ifdef
Remi Gacogne [Fri, 24 Nov 2023 10:24:50 +0000 (11:24 +0100)]
Merge pull request #13156 from rgacogne/ddist-log-level
dnsdist: Add a structured log-like logging option
Otto Moerbeek [Fri, 24 Nov 2023 10:20:19 +0000 (11:20 +0100)]
Sometimes, coverity and clang-tidy do not agree
Otto Moerbeek [Fri, 24 Nov 2023 10:02:13 +0000 (11:02 +0100)]
Merge pull request #13453 from omoerbeek/rec-yaml-transition-docs
rec: describe the YAML transition plan in three phases
Otto Moerbeek [Fri, 24 Nov 2023 10:00:26 +0000 (11:00 +0100)]
Add a ref to the new style docs in the old-style docs
Remi Gacogne [Fri, 24 Nov 2023 09:57:37 +0000 (10:57 +0100)]
tcpreceiver: Better handling of "clock moved backward" events
Otto Moerbeek [Fri, 24 Nov 2023 09:52:47 +0000 (10:52 +0100)]
Merge pull request #13434 from omoerbeek/rec-tidy-syncres
rec: tidy syncres
Otto Moerbeek [Fri, 24 Nov 2023 09:06:32 +0000 (10:06 +0100)]
syncres.cc:5161:45: error: declaration of ‘DoTStatus& status’ shadows a parameter [-Werror=shadow]
Remi Gacogne [Fri, 24 Nov 2023 08:52:03 +0000 (09:52 +0100)]
dnsdist: Document that the `responses` metric changed in 1.8
Otto Moerbeek [Fri, 24 Nov 2023 08:21:03 +0000 (09:21 +0100)]
Process suggestions from reviews: rename a few vars
Otto Moerbeek [Mon, 30 Oct 2023 14:28:35 +0000 (15:28 +0100)]
Refactor to fix a few clang-tiny readability-function-cognitive-complexity cases
Otto Moerbeek [Mon, 30 Oct 2023 09:27:57 +0000 (10:27 +0100)]
Reformat
Otto Moerbeek [Wed, 25 Oct 2023 14:04:19 +0000 (16:04 +0200)]
Tidy syncres.??
Peter van Dijk [Thu, 23 Nov 2023 20:56:42 +0000 (21:56 +0100)]
Merge pull request #13528 from fredmorcos/various-cleanups-and-fixes
Various cleanups and fixes
Fred Morcos [Thu, 23 Nov 2023 18:39:01 +0000 (19:39 +0100)]
calidns: Fix lints in sendmsg call
Peter van Dijk [Thu, 23 Nov 2023 12:55:13 +0000 (13:55 +0100)]
clarify that the mssql password is not a secret
Fred Morcos [Thu, 23 Nov 2023 09:55:35 +0000 (10:55 +0100)]
Whitespace cleanup in tests
Fred Morcos [Thu, 23 Nov 2023 09:54:19 +0000 (10:54 +0100)]
Fix test warnings regarding boost dynamic linking define
Meson passes BOOST_TEST_DYN_LINK through the command line so there's no need to re-define
it in each test file. Otherwise the compiler warns about the redefinition.
warning: "BOOST_TEST_DYN_LINK" redefined
1 | #define BOOST_TEST_DYN_LINK
|
<command-line>: note: this is the location of the previous definition
Fred Morcos [Mon, 20 Nov 2023 15:29:28 +0000 (16:29 +0100)]
Silence deprecated copy ctor warnings when including decaf.hxx
Fred Morcos [Mon, 20 Nov 2023 15:28:13 +0000 (16:28 +0100)]
Fix warning silencer pragmas
Fred Morcos [Mon, 20 Nov 2023 15:28:06 +0000 (16:28 +0100)]
Whitespace cleanup
Fred Morcos [Fri, 17 Nov 2023 13:45:57 +0000 (14:45 +0100)]
Silence -Wshadow warnings when including spongerng
Fred Morcos [Fri, 17 Nov 2023 11:54:50 +0000 (12:54 +0100)]
Cleanup dnsscope.cc #ifdef
Fred Morcos [Fri, 17 Nov 2023 11:54:27 +0000 (12:54 +0100)]
Silence overloaded-virtual warnings when including yahttp
Fred Morcos [Mon, 6 Nov 2023 09:18:16 +0000 (10:18 +0100)]
Cleanup calidns.cc #ifdef
Fred Morcos [Mon, 6 Nov 2023 09:18:08 +0000 (10:18 +0100)]
Cleanup calidns.cc whitespace
Fred Morcos [Mon, 6 Nov 2023 09:17:51 +0000 (10:17 +0100)]
Cleanup libssl.cc #ifdef
Fred Morcos [Mon, 6 Nov 2023 09:17:36 +0000 (10:17 +0100)]
Cleanup tcpiohandler.cc #ifdef
Remi Gacogne [Thu, 23 Nov 2023 09:04:51 +0000 (10:04 +0100)]
build-and-test-all: Restrict Coveralls code coverage to the main repo
We are not interested in the coverage of forks, and it is confusing
since relative coverage for forks does not really make sense.
Remi Gacogne [Wed, 22 Nov 2023 14:45:07 +0000 (15:45 +0100)]
Merge pull request #13525 from rgacogne/test-ci
build-and-test-all: Fix the CI on non-pdns named forks
Remi Gacogne [Tue, 21 Nov 2023 17:00:57 +0000 (18:00 +0100)]
build-and-test-all: Fix the CI on non-pdns/ named forks
Remi Gacogne [Tue, 21 Nov 2023 16:18:09 +0000 (17:18 +0100)]
dnsdist: Capitalize the priority value in log messages
Remi Gacogne [Tue, 21 Nov 2023 16:17:22 +0000 (17:17 +0100)]
dnsdist: Be careful about `tv_usec`, it might be an `int32_t`
Remi Gacogne [Tue, 21 Nov 2023 16:16:53 +0000 (17:16 +0100)]
dnsdist: Use 'ts', not 'tm', for the timestamp in structured-like log messages
Remi Gacogne [Fri, 18 Aug 2023 12:51:53 +0000 (14:51 +0200)]
dnsdist: Add a structured log-like logging option
Remi Gacogne [Fri, 18 Aug 2023 12:24:35 +0000 (14:24 +0200)]
dnsdist: Delint dolog.hh
Remi Gacogne [Tue, 21 Nov 2023 14:53:50 +0000 (15:53 +0100)]
Merge pull request #13524 from rgacogne/ddist-fix-doq-without-dot-or-doh
dnsdist: Fix building with DoQ but without DoH or DoT
Remi Gacogne [Tue, 21 Nov 2023 13:59:22 +0000 (14:59 +0100)]
dnsdist: Fix building with DoQ but without DoH or DoT
Reported by Oto Šťáva on the mailing-list, thanks!
Remi Gacogne [Tue, 21 Nov 2023 10:18:02 +0000 (11:18 +0100)]
Merge pull request #13520 from rgacogne/ddist-backoff
dnsdist: Refactor the exponential back-off timer code
Remi Gacogne [Tue, 21 Nov 2023 10:10:35 +0000 (11:10 +0100)]
auth: Fix 'auto causes a copy'/'copy instead of move' warnings from Coverity
Otto Moerbeek [Mon, 20 Nov 2023 16:15:53 +0000 (17:15 +0100)]
Another set of coverity fixes, these are a bit more tricky
Remi Gacogne [Tue, 21 Nov 2023 07:47:57 +0000 (08:47 +0100)]
auth: Fix use of 32-bit time_t in tcpreceiver.cc
Reported by Coverity as
1524952
Remi Gacogne [Tue, 21 Nov 2023 07:44:47 +0000 (08:44 +0100)]
sdig: Fix Coverity
1524951 : copy instead of move
Remi Gacogne [Tue, 21 Nov 2023 07:41:45 +0000 (08:41 +0100)]
dnsdist: Fix another 'auto causes a copy' warning from Coverity
Remi Gacogne [Tue, 21 Nov 2023 07:27:45 +0000 (08:27 +0100)]
dnsdist: Fix a 'auto causes a copy' warning from Coverity (CID 408612)
Remi Gacogne [Tue, 21 Nov 2023 07:30:53 +0000 (08:30 +0100)]
Merge pull request #13518 from rgacogne/follow-up-13513
Fix a few warnings from clang-tidy that were not fixed in #13513
Remi Gacogne [Mon, 20 Nov 2023 19:38:57 +0000 (20:38 +0100)]
dnsdist: Refactor the exponential back-off timer code
The existing code could overflow in some cases, leading to a
potentially endless busy-loop.
Remi Gacogne [Mon, 20 Nov 2023 14:27:55 +0000 (15:27 +0100)]
dnsdist: Allow setting the action from `setSuffixMatchRule{,FFI}()`'s visitor
This way we can detect more than one kind of behaviour in one pass,
and still have different actions (block truncate, ...) per behaviour.
Remi Gacogne [Mon, 20 Nov 2023 16:27:33 +0000 (17:27 +0100)]
dnsdist: Fix a few more clang-tidy warnings
Otto Moerbeek [Mon, 20 Nov 2023 16:06:35 +0000 (17:06 +0100)]
Another set of coverity fixes
Remi Gacogne [Mon, 20 Nov 2023 15:49:51 +0000 (16:49 +0100)]
Get rid of the pointer arithmetic in `RecordTextReader::xfrName()`
Remi Gacogne [Mon, 20 Nov 2023 15:49:24 +0000 (16:49 +0100)]
dnsdist: Fix a few warnings from clang-tidy
Remi Gacogne [Mon, 20 Nov 2023 15:46:24 +0000 (16:46 +0100)]
Merge pull request #13513 from rgacogne/coverity-auto-copy-move
Fix unnecessary copies reported by Coverity
Otto Moerbeek [Mon, 20 Nov 2023 15:36:11 +0000 (16:36 +0100)]
Another bunch of coverity fixes
Otto Moerbeek [Mon, 20 Nov 2023 15:08:02 +0000 (16:08 +0100)]
The nod code sets up the SBF DBs before starting the thraed, no need for protection
Otto Moerbeek [Mon, 20 Nov 2023 15:06:50 +0000 (16:06 +0100)]
rec: fix time_t truncation warnings from coverity by annotating them.
Mostly they are due to DNS using 32-bit timestamps.
Frank Louwers [Mon, 20 Nov 2023 15:06:05 +0000 (16:06 +0100)]
Update docs/settings.rst
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Otto Moerbeek [Mon, 20 Nov 2023 14:58:57 +0000 (15:58 +0100)]
Merge pull request #13447 from omoerbeek/rec-yaml-examples
rec: fix a few yaml examples that still used old syntax
Remi Gacogne [Mon, 20 Nov 2023 14:58:31 +0000 (15:58 +0100)]
Merge pull request #13499 from rgacogne/ddist-doc-latency-bucket-udp
dnsdist: Clearly document that the current latency bucket is UDP only
Remi Gacogne [Mon, 20 Nov 2023 14:57:49 +0000 (15:57 +0100)]
Merge pull request #13484 from rgacogne/ddist-rings-blocks-api
dnsdist: Add Lua bindings to interact with dynamic blocks
Remi Gacogne [Mon, 20 Nov 2023 14:24:44 +0000 (15:24 +0100)]
Add more edge-case tests for `cleanSlashes()` (from Otto)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 20 Nov 2023 13:15:37 +0000 (14:15 +0100)]
Merge pull request #13511 from omoerbeek/rec-querycounts
rec: document outgoing querycounts better, including a small fix
Remi Gacogne [Mon, 20 Nov 2023 13:13:20 +0000 (14:13 +0100)]
auth: Fix unnecessary copies reported by Coverity
Remi Gacogne [Mon, 20 Nov 2023 11:10:31 +0000 (12:10 +0100)]
misc: Prevent an unnecessary copy in cleanSlashes() reported by Coverity
Otto Moerbeek [Mon, 20 Nov 2023 11:16:14 +0000 (12:16 +0100)]
Merge pull request #13501 from omoerbeek/rec-rpz-dups
rec: introduce a setting to allow RPZ duplicates, including a dup handling fix
Remi Gacogne [Mon, 20 Nov 2023 11:09:55 +0000 (12:09 +0100)]
dnsdist: Fix unnecessary copies reported by Coverity
Most of these are in places where performance does not matter, but
still.
Remi Gacogne [Mon, 20 Nov 2023 11:07:35 +0000 (12:07 +0100)]
YaHTTP: Fix a few 'copy instead of move' warnings from Coverity
Otto Moerbeek [Mon, 20 Nov 2023 10:09:29 +0000 (11:09 +0100)]
doc improvement and zap debug line
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 20 Nov 2023 09:31:19 +0000 (10:31 +0100)]
Document various outgoing query counters better
In particular, all-outqueries was documented to count only UDP,
while it actually counts *all* outgoing queries.
Otto Moerbeek [Mon, 20 Nov 2023 09:18:21 +0000 (10:18 +0100)]
Update query counts in a single place, count all ipv6 queries
Otto Moerbeek [Mon, 20 Nov 2023 07:16:55 +0000 (08:16 +0100)]
Typo in versionadded
Co-authored-by: phonedph1 <20867105+phonedph1@users.noreply.github.com>
Remi Gacogne [Fri, 17 Nov 2023 15:06:54 +0000 (16:06 +0100)]
dnsdist: Add Proxy Protocol v2 support to `TeeAction`
Otto Moerbeek [Fri, 17 Nov 2023 11:42:00 +0000 (12:42 +0100)]
pass "recurse" to sdig if needed
Remi Gacogne [Fri, 17 Nov 2023 11:14:19 +0000 (12:14 +0100)]
dnsdist: Add an option to set the SSL proxy protocol TLV
When the new `proxyProtocolAdvertiseTLS` to `newServer` is set, and
the query has been received from the client over an encrypted channel,
the SSL proxy protocol TLV is set in the proxy protocol payload sent
to the backend.
Otto Moerbeek [Fri, 17 Nov 2023 10:24:48 +0000 (11:24 +0100)]
rec: disallow (by answering Refused) RD=0 by default
Fixes #13386
Otto Moerbeek [Fri, 17 Nov 2023 08:55:32 +0000 (09:55 +0100)]
rec: introduce command to set aggressive NSEC cache size
To avoid race conditions creating and destroying the cache, we do
not allow setting the cache size if it is not enabled from startup.
Also, setting the cache size to 0 does not disable the cache, it
just makes it mostly ineffective (entries can still appear in it
and get used until the purge task is run).
Fixes #13265.
Otto Moerbeek [Thu, 16 Nov 2023 13:38:42 +0000 (14:38 +0100)]
rec: introduce a setting to allow duplicates, including a dup handling fix
Otto Moerbeek [Thu, 16 Nov 2023 11:26:51 +0000 (12:26 +0100)]
Merge pull request #13498 from omoerbeek/dnsdist-server-table
dnsdist: use a table for formatting the list of server settings
Remi Gacogne [Thu, 16 Nov 2023 11:03:14 +0000 (12:03 +0100)]
dnsdist: Clearly document that the current latency bucket is UDP only
Otto Moerbeek [Thu, 16 Nov 2023 10:56:10 +0000 (11:56 +0100)]
Less CAPITAL letters
Otto Moerbeek [Thu, 16 Nov 2023 10:46:08 +0000 (11:46 +0100)]
name is not mandatory, address is
Otto Moerbeek [Thu, 16 Nov 2023 10:30:42 +0000 (11:30 +0100)]
Merge pull request #13497 from omoerbeek/rec-count-cache-hits
rec: take into account throttled queries when determining if we had a cachehit
Otto Moerbeek [Thu, 16 Nov 2023 10:28:42 +0000 (11:28 +0100)]
Merge pull request #13491 from omoerbeek/rec-rust-update
rec: install helper: Update rust to 1.73, take into account aarch64, update rust deps
Otto Moerbeek [Thu, 16 Nov 2023 09:30:36 +0000 (10:30 +0100)]
dnsdist: use a table for formatting the list of server settings
Remi Gacogne [Thu, 16 Nov 2023 08:50:11 +0000 (09:50 +0100)]
Merge pull request #13485 from rgacogne/directory-visitor
Add `pdns::visit_directory()`, wrapping opendir/readdir/closedir
Otto Moerbeek [Thu, 16 Nov 2023 08:17:37 +0000 (09:17 +0100)]
Merge pull request #13456 from omoerbeek/rec-zone-api-examples
rec: provide two examples of zone manipulation in API docs
Otto Moerbeek [Thu, 16 Nov 2023 08:17:00 +0000 (09:17 +0100)]
Merge pull request #13387 from omoerbeek/rec-b-root-servers
rec: Update new b-root-server.net addresses in built-in hints.
Remi Gacogne [Thu, 16 Nov 2023 08:15:35 +0000 (09:15 +0100)]
auth: Remove left-over "TODO" comment in dnsbackend.cc
Otto Moerbeek [Thu, 16 Nov 2023 08:07:54 +0000 (09:07 +0100)]
rec: take into account throttled queries when determining if we had a cachehit
Problem spotted by @zjs604381586 in #13483, though proposed fix was not correct.
Otto Moerbeek [Thu, 16 Nov 2023 07:59:45 +0000 (08:59 +0100)]
an -> a
Co-authored-by: Fred Morcos <fm@fredmorcos.com>