]>
git.ipfire.org Git - thirdparty/pdns.git/log
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>
romeroalx [Wed, 15 Nov 2023 13:09:31 +0000 (14:09 +0100)]
Merge pull request #13493 from romeroalx/cleanup-actions-setup-script
Remove unused pip packages from gh-actions-setup
Alexis Romero [Wed, 15 Nov 2023 10:04:28 +0000 (11:04 +0100)]
removed unused pip pkgs from gh-actions-setup. removed azure apt reference
Otto Moerbeek [Wed, 15 Nov 2023 08:25:03 +0000 (09:25 +0100)]
Let the rust install script handle versions and digests
Remi Gacogne [Tue, 14 Nov 2023 15:49:18 +0000 (16:49 +0100)]
dnsdist: Fix more clang-tidy warnings
Remi Gacogne [Tue, 14 Nov 2023 15:47:22 +0000 (16:47 +0100)]
Merge pull request #13488 from rgacogne/ddist-fix-last-rule-removal-by-uuid-or-name
dnsdist: Fix the removal of the last rule by name or UUID
Otto Moerbeek [Tue, 14 Nov 2023 15:06:43 +0000 (16:06 +0100)]
Merge pull request #13486 from romeroalx/rec-regression-tests-auth-48
auth-4.8 for regression tests in recursor. updated sdig output format
Remi Gacogne [Tue, 14 Nov 2023 14:42:54 +0000 (15:42 +0100)]
dnsdist: Fix the description of addDynamicBlock in the completion
Remi Gacogne [Tue, 14 Nov 2023 14:23:27 +0000 (15:23 +0100)]
dnsdist: Fix clang-tidy warnings
Remi Gacogne [Tue, 14 Nov 2023 14:20:00 +0000 (15:20 +0100)]
dnsdist: Apply Charles-Henri's suggestions (many thanks!)
Remi Gacogne [Tue, 14 Nov 2023 12:22:22 +0000 (13:22 +0100)]
dnsdist: Add more Lua FFI bindings for the ring entries
Otto Moerbeek [Tue, 14 Nov 2023 14:45:56 +0000 (15:45 +0100)]
Update rust to 1.73, take into account aarch64, update rust deps
Remi Gacogne [Mon, 13 Nov 2023 14:37:29 +0000 (15:37 +0100)]
dnsdist: FFS, clang-tidy, I already told you RAII was not an option here
Remi Gacogne [Mon, 13 Nov 2023 13:22:05 +0000 (14:22 +0100)]
dnsdist: Delint the dynamic blocks files
Remi Gacogne [Mon, 13 Nov 2023 11:25:48 +0000 (12:25 +0100)]
dnsdist: Fix formatting issues in dnsdist-lua.cc
Remi Gacogne [Mon, 13 Nov 2023 11:19:29 +0000 (12:19 +0100)]
dnsdist: Add missing documentation for dynamic block methods
Remi Gacogne [Mon, 13 Nov 2023 10:59:24 +0000 (11:59 +0100)]
dnsdist: Add a Lua hook called when a new dynamic block is inserted
Remi Gacogne [Mon, 13 Nov 2023 10:18:55 +0000 (11:18 +0100)]
dnsdist: Add a Lua FFI interface to get SMT dynamic blocks
Remi Gacogne [Mon, 13 Nov 2023 10:07:49 +0000 (11:07 +0100)]
dnsdist: Add a Lua interface to get the list of dynamic blocks
Remi Gacogne [Fri, 10 Nov 2023 15:59:41 +0000 (16:59 +0100)]
dnsdist: Add a Lua FFI interface to get the list of dynamic blocks
Remi Gacogne [Fri, 10 Nov 2023 15:17:49 +0000 (16:17 +0100)]
dnsdist: Add the ability to insert Dynamic Blocks from Lua FFI
Remi Gacogne [Fri, 10 Nov 2023 14:51:52 +0000 (15:51 +0100)]
dnsdist: Add a better, modern interface for adding DynBlocks from Lua
Remi Gacogne [Tue, 14 Nov 2023 14:40:43 +0000 (15:40 +0100)]
dnsdist: Add a regression test for rules removal
Remi Gacogne [Tue, 14 Nov 2023 14:38:14 +0000 (15:38 +0100)]
dnsdist: Prevent a copy of the UUID when scanning rules for removal
Remi Gacogne [Tue, 14 Nov 2023 14:25:09 +0000 (15:25 +0100)]
Merge pull request #13489 from rgacogne/ddist-rings-api
dnsdist: Add a 'rings' endpoint to the REST API
Remi Gacogne [Mon, 13 Nov 2023 16:36:11 +0000 (17:36 +0100)]
dnsdist: Add a 'rings' endpoint to the REST API
Peter van Dijk [Tue, 14 Nov 2023 12:19:53 +0000 (13:19 +0100)]
Merge pull request #13459 from ukleinek/manpage-link-fix
docs/migration: Fix reference to zone2sql(1) manpage
Peter van Dijk [Tue, 14 Nov 2023 10:51:32 +0000 (11:51 +0100)]
Merge pull request #13023 from mind04/pdns-legacy
Remove legacy terms from the codebase
Remi Gacogne [Mon, 13 Nov 2023 14:20:34 +0000 (15:20 +0100)]
Add pdns::visit_directory(), wrapping opendir/readdir/closedir
Remi Gacogne [Tue, 14 Nov 2023 09:20:43 +0000 (10:20 +0100)]
dnsdist: Fix the removal of the last rule by name or UUID
Kees Monshouwer [Mon, 13 Nov 2023 20:08:21 +0000 (21:08 +0100)]
auth: remove legacy doc updates
Kees Monshouwer [Wed, 8 Nov 2023 14:53:28 +0000 (15:53 +0100)]
auth: cleanup deprecated arguments
Kees Monshouwer [Tue, 11 Jul 2023 22:22:41 +0000 (00:22 +0200)]
auth: rename files
Kees Monshouwer [Mon, 10 Jul 2023 14:57:03 +0000 (16:57 +0200)]
auth: remove old aliasses
Kees Monshouwer [Wed, 8 Nov 2023 14:32:11 +0000 (15:32 +0100)]
replace slave by secondary in as many places as possible
Kees Monshouwer [Mon, 10 Jul 2023 13:26:36 +0000 (15:26 +0200)]
auth: test nits
Kees Monshouwer [Mon, 10 Jul 2023 11:06:27 +0000 (13:06 +0200)]
Revert "auth: remove deprecated master and allow-unsigned-supermaster options"
This reverts commit
2d93a81211979f09e1810ffc8ff5569adeb99ddf .
Kees Monshouwer [Wed, 8 Nov 2023 14:24:41 +0000 (15:24 +0100)]
replace master by primary in as many places as possible