]>
git.ipfire.org Git - thirdparty/pdns.git/log
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
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 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: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
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 [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
Otto Moerbeek [Fri, 10 Nov 2023 06:39:15 +0000 (07:39 +0100)]
Merge pull request #13462 from omoerbeek/rec-rpz-mem2
rec: be more memory efficient handling RPZ updates
Remi Gacogne [Thu, 9 Nov 2023 15:33:27 +0000 (16:33 +0100)]
Merge pull request #13436 from rgacogne/ddist-doc-getStatisticsCounters
dnsdist: Document getStatisticsCounters()
Remi Gacogne [Thu, 9 Nov 2023 14:59:09 +0000 (15:59 +0100)]
dnsdist: Fix some lints in dnsdist-lua-bindings-dnsquestion.cc
Remi Gacogne [Thu, 9 Nov 2023 14:37:43 +0000 (15:37 +0100)]
Merge pull request #13472 from rgacogne/ddist-doq-latencies
dnsdist: Add missing DoQ latency metrics
Remi Gacogne [Thu, 9 Nov 2023 14:32:32 +0000 (15:32 +0100)]
Merge pull request #13437 from rgacogne/ddist-require-quiche-0.15.0
dnsdist: Require Quiche >= 0.15.0
Remi Gacogne [Tue, 7 Nov 2023 10:53:00 +0000 (11:53 +0100)]
dnsdist: Add support for setting Extended DNS Error statuses
This PR adds support for adding EDNS Extended DNS Error statuses
from DNSDist, via the following mechanisms:
- `SetExtendedDNSErrorAction`
- `SetExtendedDNSErrorResponseAction`
- `DNSQuestion:setExtendedDNSError(infoCode [, extraText])`
- `DNSResponse:setExtendedDNSError(infoCode [, extraText])`
- `dnsdist_ffi_dnsquestion_set_extended_dns_error(...)`
Remi Gacogne [Thu, 9 Nov 2023 08:06:30 +0000 (09:06 +0100)]
dnsdist: Add missing DoQ latency metrics
Otto Moerbeek [Wed, 8 Nov 2023 15:39:01 +0000 (16:39 +0100)]
Merge pull request #13464 from omoerbeek/rec-edns-errors-default
rec: change default of extended-resolution-errors setting to true
Otto Moerbeek [Tue, 7 Nov 2023 08:26:23 +0000 (09:26 +0100)]
rec: provide two examples of zone manipulation is API docs
Kees Monshouwer [Mon, 10 Jul 2023 08:16:40 +0000 (10:16 +0200)]
auth: disable clang-format for statements in gsqlbackend
Kees Monshouwer [Mon, 10 Jul 2023 07:51:38 +0000 (09:51 +0200)]
auth: remove deprecated master and allow-unsigned-supermaster options
Otto Moerbeek [Wed, 8 Nov 2023 12:54:19 +0000 (13:54 +0100)]
rec: change default of extended-resolution-errors setting to true
Otto Moerbeek [Wed, 8 Nov 2023 11:07:58 +0000 (12:07 +0100)]
Merge pull request #13455 from omoerbeek/rec-settings-cats
rec: move a few settings from recursor to outgoing section
Otto Moerbeek [Wed, 8 Nov 2023 10:05:49 +0000 (11:05 +0100)]
rec: be more memory efficient handling RPZ reloads
There were two things non-optimal:
- The old zone contents is being kept in memory during a sleep for the
next iteration and then thrown away. Fix: throw away before the sleep.
- The Lua config is kept alive. This causes refs to old config
data to stay around until all RPZ threads have cleared that config.
Fix that by making the config loop-local and load it after the sleep
call.
Above claims confirmed by adding some debug code showing the ref counts
for a config with many RPZs.
Otto Moerbeek [Wed, 8 Nov 2023 09:26:36 +0000 (10:26 +0100)]
Merge pull request #13457 from omoerbeek/rec-prep-4.9.2
rec: Prep for rec-4.9.2
Uwe Kleine-König [Tue, 7 Nov 2023 14:54:08 +0000 (15:54 +0100)]
docs/migration: Fix reference to zone2sql(1) manpage
Without :doc: the sentence is rendered as
See its manpage <manpages/zone2sql.1> for more information.
in the html output as can currently be seen on
https://doc.powerdns.com/authoritative/migration.html#migration-zone2sql
. Adding :doc: makes this a proper link.
Otto Moerbeek [Tue, 7 Nov 2023 12:19:12 +0000 (13:19 +0100)]
Merge pull request #13458 from omoerbeek/rec-sdist-install-rust
rec: Install cargo for the sdist step as well now that configure expects it
Otto Moerbeek [Tue, 7 Nov 2023 10:39:53 +0000 (11:39 +0100)]
Install cargo for the sdist step as well now that configure expects it
Otto Moerbeek [Tue, 7 Nov 2023 08:14:03 +0000 (09:14 +0100)]
Merge pull request #13452 from omoerbeek/rec-docs-dup-in-vector
rec: duplicates in YAML vectors have setting specific effects
Fred Morcos [Mon, 6 Nov 2023 21:42:13 +0000 (22:42 +0100)]
Merge pull request #13454 from omoerbeek/warnings-followup
Followup to 13442: avoid some warnings
Otto Moerbeek [Mon, 6 Nov 2023 15:33:55 +0000 (16:33 +0100)]
rec: move a few settings from recursor to outgoing section
Otto Moerbeek [Mon, 6 Nov 2023 14:57:00 +0000 (15:57 +0100)]
Avoid using a clang specific -Wxxx, go for a more general one that exists
both in gcc and clang
Otto Moerbeek [Mon, 6 Nov 2023 14:02:24 +0000 (15:02 +0100)]
Use #pragma option GCC to avoid warnings, it covers both clang and gcc
Otto Moerbeek [Mon, 6 Nov 2023 12:19:14 +0000 (13:19 +0100)]
rec: duplicates in YAML vectors have setting specific effects
Fixes #12235
Otto Moerbeek [Mon, 6 Nov 2023 11:59:39 +0000 (12:59 +0100)]
Prep for rec-4.9.2
Otto Moerbeek [Mon, 6 Nov 2023 10:21:48 +0000 (11:21 +0100)]
Merge pull request #13446 from omoerbeek/rec-slogging-port
rec: for structured logging always log addresses including port
Remi Gacogne [Mon, 6 Nov 2023 09:36:05 +0000 (10:36 +0100)]
Merge pull request #13445 from rgacogne/ddist-dolog-forward
dnsdist: Fix Coverity CID
1523748 : Performance inefficiencies in dolog.hh
Otto Moerbeek [Mon, 6 Nov 2023 08:54:57 +0000 (09:54 +0100)]
Merge pull request #13438 from omoerbeek/rec-conf-cargo
rec: Teach configure to check for cargo version and require >= 1.64
Otto Moerbeek [Mon, 6 Nov 2023 08:44:55 +0000 (09:44 +0100)]
Typo in comment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Mon, 6 Nov 2023 08:22:49 +0000 (09:22 +0100)]
dnsdist: Better fix for CID
1523748 , args does not have to be mutable
Remi Gacogne [Fri, 3 Nov 2023 14:32:43 +0000 (15:32 +0100)]
Merge pull request #13342 from rgacogne/ddist-dbrg-remove-range
dnsdist: Add a DynBlockRulesGroup:removeRange() binding
Remi Gacogne [Fri, 3 Nov 2023 14:32:34 +0000 (15:32 +0100)]
Merge pull request #13344 from rgacogne/ddist-doc-stek-rotation-frontends
dnsdist: More words on TLS session encryption keys setup and rotation
Fred Morcos [Fri, 3 Nov 2023 11:02:33 +0000 (12:02 +0100)]
Merge pull request #13226 from fredmorcos/ueberbackend-cleanup
Cleanup `ueberbackend.cc` a bit
Otto Moerbeek [Fri, 3 Nov 2023 08:42:06 +0000 (09:42 +0100)]
rec: for structured logging always log addresses including port
As documented. The way this is done is by defined a specific
log function if SL is used. Could potentially be used for other
cases.
Otto Moerbeek [Fri, 3 Nov 2023 07:38:57 +0000 (08:38 +0100)]
Merge pull request #13443 from omoerbeek/rec-coverity-
20231101
rec: fix coverity
1523746 and
1523745
Otto Moerbeek [Fri, 3 Nov 2023 07:38:42 +0000 (08:38 +0100)]
Merge pull request #13442 from omoerbeek/warning-cleanup
Kill a bunch of warnings emitted by clang
Remi Gacogne [Thu, 2 Nov 2023 10:02:26 +0000 (11:02 +0100)]
Merge pull request #13405 from rgacogne/update-slsa-generator
build-packages: Update the version of the generic SLSA generator
Remi Gacogne [Thu, 2 Nov 2023 08:40:21 +0000 (09:40 +0100)]
dnsdist: Fix Coverity CID
1523748 : Performance inefficiencies in dolog.hh
Coverity reports:
```
Performance inefficiencies (COPY_INSTEAD_OF_MOVE): "args" is
passed-by-value as parameter to "dolog" when it could be moved instead.
```
This PR implements perfect forwarding for the variadic template parameters
of DNSdist's logging methods to address it, even though the performance of
these functions should not matter much.
Otto Moerbeek [Wed, 1 Nov 2023 15:07:11 +0000 (16:07 +0100)]
rec: fix coverity
1523746 and
1523745
Fixing a use_after_move and a copy_instead_of_move
Otto Moerbeek [Wed, 1 Nov 2023 14:55:57 +0000 (15:55 +0100)]
Tidy
Otto Moerbeek [Wed, 1 Nov 2023 12:24:55 +0000 (13:24 +0100)]
Kill a bunch of warnings emitted by clang
A few are coming from boost, I disabled those by adding #pragma's
Peter van Dijk [Wed, 1 Nov 2023 09:24:43 +0000 (10:24 +0100)]
Merge pull request #13439 from Habbie/auth-py-pytest
auth-py tests: switch to pytest
Otto Moerbeek [Tue, 31 Oct 2023 15:19:10 +0000 (16:19 +0100)]
Merge pull request #13385 from omoerbeek/assorted-delint20231017
Assorted delinting, mark do while loops as ok
Peter van Dijk [Tue, 31 Oct 2023 14:43:19 +0000 (15:43 +0100)]
auth-py tests: switch to pytest
Otto Moerbeek [Tue, 31 Oct 2023 11:07:33 +0000 (12:07 +0100)]
rec: Teach configure to check for cargo version and require >= 1.64
Remi Gacogne [Tue, 31 Oct 2023 11:02:34 +0000 (12:02 +0100)]
Merge pull request #13435 from rgacogne/coverity-fixes
Fix a few coverity warnings
Remi Gacogne [Tue, 31 Oct 2023 11:01:24 +0000 (12:01 +0100)]
Merge pull request #13414 from rgacogne/clang-tidy-with-codeql
CI: Move clang-tidy checks to the CodeQL workflow
Fred Morcos [Tue, 31 Oct 2023 10:38:20 +0000 (11:38 +0100)]
Mark function argument using in DLOG() call as maybe_unused