]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Fri, 10 Nov 2023 09:39:36 +0000 (10:39 +0100)]
Prep for rec-5.0.0-beta1
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
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: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 [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 [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
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
Remi Gacogne [Tue, 31 Oct 2023 10:05:03 +0000 (11:05 +0100)]
dnsdist: Require Quiche >= 0.15.0
Based on the release notes the API we use did not change after that.
Remi Gacogne [Tue, 31 Oct 2023 09:57:05 +0000 (10:57 +0100)]
dnsdist: Document getStatisticsCounters()
Remi Gacogne [Tue, 31 Oct 2023 09:45:23 +0000 (10:45 +0100)]
rec: Fix a warning from Coverity (CID
1522877 )
Remi Gacogne [Tue, 31 Oct 2023 09:44:00 +0000 (10:44 +0100)]
dnsdist: Silence a false positive reported by Coverity as CID 404742
Remi Gacogne [Tue, 31 Oct 2023 09:32:23 +0000 (10:32 +0100)]
ixfrdist: Default initialize the 'not implemented' metrics
Reported by Coverity as CID
1504405 .
Otto Moerbeek [Tue, 31 Oct 2023 09:25:43 +0000 (10:25 +0100)]
Merge pull request #13392 from omoerbeek/rec-sl-dict
rec: Describe the keys and values produced by structured logging in more detail
Otto Moerbeek [Tue, 31 Oct 2023 08:54:50 +0000 (09:54 +0100)]
Merge pull request #13410 from omoerbeek/rec-cache-tidy
rec: tidy cache and only copy values if non-expired entry was found
Otto Moerbeek [Tue, 31 Oct 2023 08:35:20 +0000 (09:35 +0100)]
Fix a few whitespace consistency issues
Otto Moerbeek [Tue, 31 Oct 2023 08:03:31 +0000 (09:03 +0100)]
Merge pull request #13409 from omoerbeek/rec-rootnxtrust-serve-stale
rec: handle serve stale logic in getRootNXTrust()
Otto Moerbeek [Tue, 31 Oct 2023 07:59:40 +0000 (08:59 +0100)]
typo in comment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Tue, 31 Oct 2023 07:34:55 +0000 (08:34 +0100)]
Merge pull request #13381 from rgacogne/ddist-clean-up-nghttp2-no-doh
dnsdist: Fix the case where nghttp2 is available but DoH is disabled
Fred Morcos [Mon, 30 Oct 2023 11:51:52 +0000 (12:51 +0100)]
Use unique_ptr to backend in remotebackend tests
Fred Morcos [Sun, 29 Oct 2023 16:47:38 +0000 (17:47 +0100)]
Get rid of manual deletion of backends in UeberBackend
Otto Moerbeek [Mon, 30 Oct 2023 14:15:10 +0000 (15:15 +0100)]
Merge pull request #13432 from omoerbeek/rec-mtasker-cet-followup
rec: Followup to #13430: also define CET_ENDBR on !amd64
Remi Gacogne [Mon, 30 Oct 2023 10:58:04 +0000 (11:58 +0100)]
tasks: Refactoring to abstract away the env variables
Otto Moerbeek [Mon, 30 Oct 2023 12:38:22 +0000 (13:38 +0100)]
Followup to #13430: also define CET_ENDBR on !amd64
Otto Moerbeek [Mon, 30 Oct 2023 12:25:50 +0000 (13:25 +0100)]
Merge pull request #13430 from omoerbeek/rec-mtasker-cet
rec: Add endbr64 instructions in the right spots for OpenBSD/amd64
Fred Morcos [Sun, 29 Oct 2023 16:13:27 +0000 (17:13 +0100)]
Cleanup UeberBackend::searchRecords and ::searchResources
This required more changes in other places to change maxResults from int to size_t.
Fred Morcos [Sun, 29 Oct 2023 14:35:04 +0000 (15:35 +0100)]
Some final UeberBackend cleanups
Otto Moerbeek [Mon, 30 Oct 2023 09:37:10 +0000 (10:37 +0100)]
Add endbr64 instructions in the right spots for OpenBSD/amd64
OpenBSD has IBT (aka control flow enforcement) on amd64, for processor
models that support it. But it turns out that the existing endbr64
instructions in the boost assembly for context switching are not
enough: there needs to be endbr64 instructions right after the
jump_fcontext() call, as indirect branches end up there.
Peter van Dijk [Mon, 30 Oct 2023 09:29:33 +0000 (10:29 +0100)]
Merge pull request #13416 from jsoref/doc-dnssec
Minor doc tweaks
Peter van Dijk [Mon, 30 Oct 2023 09:06:21 +0000 (10:06 +0100)]
Merge pull request #13421 from jsoref/resolve-list-completeness
acknowledge everyone
Peter van Dijk [Mon, 30 Oct 2023 08:58:44 +0000 (09:58 +0100)]
Merge pull request #13428 from zeha/catalog-doc-draft
auth doc: catalog: replace the word "draft"
Peter van Dijk [Mon, 30 Oct 2023 08:53:01 +0000 (09:53 +0100)]
Merge pull request #13402 from rgacogne/ddist-coverity-install-quiche
misc-dailies: Install quiche for Coverity's DNSdist analysis
Remi Gacogne [Mon, 30 Oct 2023 08:26:18 +0000 (09:26 +0100)]
tasks: Apply another suggestion
Remi Gacogne [Mon, 30 Oct 2023 08:18:40 +0000 (09:18 +0100)]
tasks: Apply Fred's suggestion
Remi Gacogne [Mon, 30 Oct 2023 08:12:57 +0000 (09:12 +0100)]
tasks: Apply Fred's suggestion (thanks!)
Co-authored-by: Fred Morcos <fm@fredmorcos.com>
Remi Gacogne [Mon, 23 Oct 2023 14:28:00 +0000 (16:28 +0200)]
Clang-tidy: Document the workflow
Remi Gacogne [Mon, 23 Oct 2023 12:46:16 +0000 (14:46 +0200)]
clang-tidy: Add markdown summary
Remi Gacogne [Mon, 23 Oct 2023 09:44:01 +0000 (11:44 +0200)]
Use our own clang-tidy-diff.py
Remi Gacogne [Mon, 23 Oct 2023 07:13:12 +0000 (09:13 +0200)]
clang-tidy: Use --noprefix
Remi Gacogne [Fri, 20 Oct 2023 15:32:10 +0000 (17:32 +0200)]
Fix clang-tidy analysis
Remi Gacogne [Fri, 13 Oct 2023 15:16:05 +0000 (17:16 +0200)]
Limit concurrency
Remi Gacogne [Fri, 13 Oct 2023 11:22:14 +0000 (13:22 +0200)]
CodeQL: Fix analysis
Remi Gacogne [Fri, 13 Oct 2023 10:37:27 +0000 (12:37 +0200)]
tasks: gcc 11.4 doesn't support `-Wstring-plus-int`
Remi Gacogne [Fri, 13 Oct 2023 10:30:08 +0000 (12:30 +0200)]
tasks: Handle an empty sanitizers list
Remi Gacogne [Fri, 13 Oct 2023 10:08:41 +0000 (12:08 +0200)]
CodeQL workflow: Upgrade to 22.04, clang-tidy 15
Remi Gacogne [Fri, 13 Oct 2023 09:42:55 +0000 (11:42 +0200)]
Move clang-tidy analysis to the CodeQL workflow
Fred Morcos [Thu, 26 Oct 2023 13:12:07 +0000 (15:12 +0200)]
Refactor UeberBackend::getAuth
Fred Morcos [Thu, 26 Oct 2023 12:50:20 +0000 (14:50 +0200)]
Refactor UeberBackend::getAuth: foundTarget
Fred Morcos [Thu, 26 Oct 2023 12:45:41 +0000 (14:45 +0200)]
Refactor UeberBackend::getAuth: findBestMatchingBackend
Fred Morcos [Thu, 26 Oct 2023 12:38:28 +0000 (14:38 +0200)]
Refactor UeberBackend::getAuth: UeberBackend::fillSOAFromCache
Fred Morcos [Thu, 26 Oct 2023 12:31:06 +0000 (14:31 +0200)]
Cleanup UeberBackend::lookup
Fred Morcos [Thu, 26 Oct 2023 12:27:28 +0000 (14:27 +0200)]
Refactor UeberBackend::cacheHas and introduce UeberBackend::CacheResult
Fred Morcos [Thu, 26 Oct 2023 12:09:33 +0000 (14:09 +0200)]
Refactor UeberBackend::getAuth: UeberBackend::fillSOAFromZoneRecord
Fred Morcos [Thu, 26 Oct 2023 11:19:18 +0000 (13:19 +0200)]
Cleanup UeberBackend::getAuth
Fred Morcos [Fri, 13 Oct 2023 13:09:18 +0000 (15:09 +0200)]
Cleanup UeberBackend::getSOAUncached
Fred Morcos [Fri, 13 Oct 2023 13:08:34 +0000 (15:08 +0200)]
Disable lint for call to dlerror()
Fred Morcos [Sun, 29 Oct 2023 14:09:36 +0000 (15:09 +0100)]
Various UeberBackend cleanups
Fred Morcos [Sun, 29 Oct 2023 14:04:44 +0000 (15:04 +0100)]
Cleanup UeberBackend TSIG Key handling methods
Fred Morcos [Fri, 27 Oct 2023 22:05:16 +0000 (00:05 +0200)]
Cleanup UeberBackend cache handling methods
Otto Moerbeek [Fri, 27 Oct 2023 15:08:16 +0000 (17:08 +0200)]
Merge pull request #13425 from omoerbeek/rec-docs-ws-loglevel
rec: correct webserver-loglevel docs.
Fred Morcos [Fri, 27 Oct 2023 13:53:47 +0000 (15:53 +0200)]
Cleanup UeberBackend constructor
Fred Morcos [Fri, 27 Oct 2023 13:53:30 +0000 (15:53 +0200)]
Cleanup UeberBackend::getSOAUncached
Chris Hofstaedtler [Fri, 27 Oct 2023 13:29:33 +0000 (15:29 +0200)]
auth doc: catalog: replace the word "draft"
Improves PR #13000.