]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Fri, 1 Dec 2023 13:30:23 +0000 (14:30 +0100)]
tcpreceiver: Remove a spurious whitespace spotted by Otto
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Fri, 24 Nov 2023 09:57:37 +0000 (10:57 +0100)]
tcpreceiver: Better handling of "clock moved backward" events
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
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 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
Remi Gacogne [Fri, 10 Nov 2023 14:50:59 +0000 (15:50 +0100)]
Merge pull request #13473 from rgacogne/ddist-ede
dnsdist: Add support for setting Extended DNS Error statuses
Otto Moerbeek [Fri, 10 Nov 2023 14:44:10 +0000 (15:44 +0100)]
Merge pull request #13480 from omoerbeek/rec-outgoing.tcp_max_queries
rec: correctly apply outgoing.tcp_max_queries bound
Otto Moerbeek [Fri, 10 Nov 2023 14:43:57 +0000 (15:43 +0100)]
Merge pull request #13478 from omoerbeek/rec-nsec3-iter-50
rec: change default of nsec3-max-iterations to 50
Otto Moerbeek [Fri, 10 Nov 2023 14:43:40 +0000 (15:43 +0100)]
Merge pull request #13477 from omoerbeek/rec-trace-nb
rec: warn if truncation occurred dumping the trace
Otto Moerbeek [Fri, 10 Nov 2023 13:42:24 +0000 (14:42 +0100)]
Fix regression test that used iter 100
Otto Moerbeek [Fri, 10 Nov 2023 12:51:02 +0000 (13:51 +0100)]
Merge pull request #13475 from omoerbeek/rec-prep-5.0.0-beta1
Prep for rec-5.0.0-beta1
Otto Moerbeek [Fri, 10 Nov 2023 12:15:20 +0000 (13:15 +0100)]
rec: correctly apply outgoing.tcp_max_queries bound
Fixes #13467
Otto Moerbeek [Fri, 10 Nov 2023 11:20:50 +0000 (12:20 +0100)]
rec: change default of nsec3-max-iterations to 50
Otto Moerbeek [Fri, 10 Nov 2023 08:19:58 +0000 (09:19 +0100)]
rec: warning if truncation occurred dumping the trace.
This can happen when writing to e.g. a terminal. While the detection is reliable
the message to stderr is not (it also might return EAGAIN). But often enough it works.
The existing log entry *is* reliable.
Otto Moerbeek [Fri, 10 Nov 2023 09:39:36 +0000 (10:39 +0100)]
Prep for rec-5.0.0-beta1
Remi Gacogne [Fri, 10 Nov 2023 10:14:39 +0000 (11:14 +0100)]
dnsdist: More clang-tidy fixes
Otto Moerbeek [Fri, 10 Nov 2023 09:22:34 +0000 (10:22 +0100)]
Merge pull request #13468 from omoerbeek/rec-ubsan-settings
rec: fix ubsan error: using a value of 80 for bool
Remi Gacogne [Fri, 10 Nov 2023 08:38:14 +0000 (09:38 +0100)]
dnsdist: Test existing EDE in backend response
Remi Gacogne [Fri, 10 Nov 2023 08:34:03 +0000 (09:34 +0100)]
dnsdist: More clang-tidy fixes
Otto Moerbeek [Wed, 8 Nov 2023 15:35:43 +0000 (16:35 +0100)]
rec: fix settings/cxxsupport.cc:525:40: runtime error: load of value 80, which is not a valid value for type 'bool'
Mostly harmless