]>
git.ipfire.org Git - thirdparty/pdns.git/log
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, 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.
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
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 [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 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 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 16:27:33 +0000 (17:27 +0100)]
dnsdist: Fix a few more clang-tidy warnings
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 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 [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
Alexis Romero [Mon, 13 Nov 2023 11:42:34 +0000 (12:42 +0100)]
auth-4.8 for regression tests in recursor. updated sdig output format
Remi Gacogne [Mon, 13 Nov 2023 14:22:53 +0000 (15:22 +0100)]
Merge pull request #13191 from rgacogne/use-unique-pointer-for-dir
Wrap `DIR*` objects in unique pointers to prevent memory leaks
Remi Gacogne [Mon, 13 Nov 2023 13:23:55 +0000 (14:23 +0100)]
dnsdist: Hopefully make clang-tidy happy
Remi Gacogne [Mon, 13 Nov 2023 11:30:17 +0000 (12:30 +0100)]
Apply suggestions from Fred's review (thanks!)
Peter van Dijk [Fri, 10 Nov 2023 22:19:14 +0000 (23:19 +0100)]
Merge pull request #13397 from Habbie/auth-version-exit-0
auth: exit(0) on --version, like dnsdist and recursor do
Remi Gacogne [Fri, 10 Nov 2023 19:57:03 +0000 (20:57 +0100)]
Delint opendir/readdir related functions
Remi Gacogne [Thu, 31 Aug 2023 12:52:46 +0000 (14:52 +0200)]
ixfrutils: Set a strong umask before writing a zone file
Remi Gacogne [Tue, 29 Aug 2023 14:03:40 +0000 (16:03 +0200)]
Fix warnings from clang-tidy
Remi Gacogne [Tue, 29 Aug 2023 12:57:19 +0000 (14:57 +0200)]
Wrap DIR* objects in unique pointers to prevent memory leaks