]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Fri, 10 Feb 2023 10:23:49 +0000 (11:23 +0100)]
Rename option and adapt docs to reflect that.
This remains complicated to docuemnt.
Otto Moerbeek [Fri, 3 Feb 2023 09:30:09 +0000 (10:30 +0100)]
Use vector instead of C array
Otto Moerbeek [Fri, 3 Feb 2023 09:23:31 +0000 (10:23 +0100)]
Take bound into account while computing common prefix
Otto Moerbeek [Fri, 3 Feb 2023 09:13:34 +0000 (10:13 +0100)]
Setting, based on estimated number of names in a zone.
Zero means no NSEC3 entries in aggressive cache at all
Otto Moerbeek [Wed, 1 Feb 2023 14:45:05 +0000 (15:45 +0100)]
A few unit tests
Otto Moerbeek [Wed, 21 Dec 2022 13:43:39 +0000 (14:43 +0100)]
Only store NSEC3 records in aggressive cache if we expect them to be effective.
The aggressive cache is not very effective for large NSEC3 domains: each NSEC3 record only
covers a relatively small amount of random names.
We only want to put NSEC3 records in the aggresive cache if there is a decent
chance a hash will hit it. Hashes are random wrt the corresponding names.
So look at the bitwise common prefix of the owner and next, and do
not store the record if the common prefix is long.
We also might want to introduce a switch to completely forget the aggressive
cache for the NSEC3 case.
Otto Moerbeek [Fri, 10 Feb 2023 07:28:27 +0000 (08:28 +0100)]
Merge pull request #11777 from omoerbeek/rec-trace-to-file
rec: rec_control trace-regex: trace to a file or stdout instead of the general log
Peter van Dijk [Thu, 9 Feb 2023 08:54:48 +0000 (09:54 +0100)]
Merge pull request #12524 from fredmorcos/openssl3-compat-fix
OpenSSL 3.0: Stay compatible with OpenSSL 1.0 to Fix CentOS7 builds
Remi Gacogne [Thu, 9 Feb 2023 08:46:02 +0000 (09:46 +0100)]
Merge pull request #12423 from fredmorcos/ddist-tls-provider
OpenSSL 3.0: Offer TLS providers as an alternative to TLS engines in DNSdist
Fred Morcos [Tue, 7 Feb 2023 18:07:08 +0000 (19:07 +0100)]
OpenSSL 3.0: Add loadTLSProvider to replace loadTLSEngine
Fred Morcos [Wed, 8 Feb 2023 16:31:40 +0000 (17:31 +0100)]
OpenSSL 3.0: Stay compatible with OpenSSL 1.0 to Fix CentOS7 builds
Otto Moerbeek [Wed, 8 Feb 2023 14:58:31 +0000 (15:58 +0100)]
Typo
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Otto Moerbeek [Wed, 8 Feb 2023 14:45:01 +0000 (15:45 +0100)]
Set trace fd to non-blocking and report errors writing
Remi Gacogne [Wed, 8 Feb 2023 14:13:13 +0000 (15:13 +0100)]
Merge pull request #12518 from Y7n05h/master
remove duplicate code in xdp
Peter van Dijk [Wed, 8 Feb 2023 12:38:54 +0000 (13:38 +0100)]
Merge pull request #12488 from PowerDNS/dependabot/github_actions/actions/cache-3.2.4
build(deps): bump actions/cache from 3.0.11 to 3.2.4
Remi Gacogne [Wed, 8 Feb 2023 10:50:18 +0000 (11:50 +0100)]
Merge pull request #10115 from cmouse/dnsdist-params
dnsdist: Warn on unsupported parameters
Y7n05h [Wed, 8 Feb 2023 07:22:05 +0000 (15:22 +0800)]
remove duplicate code in xdp
Remi Gacogne [Tue, 7 Feb 2023 17:23:14 +0000 (18:23 +0100)]
Merge pull request #12516 from fredmorcos/format-opensslsigners
Final formatting of `opensslsigners.cc`
Remi Gacogne [Tue, 7 Feb 2023 16:04:24 +0000 (17:04 +0100)]
dnsdist: Better handling of failed numerical conversions
As suggested by Charles-Henri Bruyand (thanks!).
Fred Morcos [Fri, 25 Nov 2022 10:33:10 +0000 (11:33 +0100)]
Some final formatting of opensslsigners.cc
Remi Gacogne [Tue, 7 Feb 2023 14:09:35 +0000 (15:09 +0100)]
Merge pull request #12515 from fredmorcos/openssl3-eddsa
OpenSSL 3.0: EdDSA signer
Remi Gacogne [Tue, 7 Feb 2023 09:02:57 +0000 (10:02 +0100)]
Merge pull request #12510 from rgacogne/ixfrdist-init-stats
ixfrdist: Make sure that our metrics are properly initialized
Fred Morcos [Wed, 4 Jan 2023 15:11:28 +0000 (16:11 +0100)]
OpenSSL 3.0: OpenSSL EdDSA DCKE
Otto Moerbeek [Tue, 7 Feb 2023 08:27:47 +0000 (09:27 +0100)]
Merge pull request #12513 from fredmorcos/eddsa-signer-cleanup
EdDSA signer cleanup
Peter van Dijk [Mon, 6 Feb 2023 22:50:21 +0000 (23:50 +0100)]
Merge pull request #12494 from Habbie/ixfrdist-metrics-ram-cpu-fd
ixfrdist /metrics: add CPU and memory stats, note unit for uptime
Peter van Dijk [Mon, 6 Feb 2023 22:44:27 +0000 (23:44 +0100)]
Merge pull request #12512 from Harry-Robson/patch-1
Update copyright to 2023
Fred Morcos [Sat, 12 Nov 2022 04:41:22 +0000 (05:41 +0100)]
Cleanup OpenSSL EdDSA DCKE
Fred Morcos [Mon, 5 Dec 2022 13:53:18 +0000 (14:53 +0100)]
Formatting OpenSSL EdDSA DCKE
Remi Gacogne [Mon, 6 Feb 2023 16:50:09 +0000 (17:50 +0100)]
Merge pull request #12514 from fredmorcos/minor-ddist-cleanups
Small cleanups in `libssl.cc` and `dnsdist-console.cc`
Fred Morcos [Wed, 11 Jan 2023 14:52:56 +0000 (15:52 +0100)]
Whitespace cleanup dnsdist-console.cc
Fred Morcos [Tue, 10 Jan 2023 17:33:51 +0000 (18:33 +0100)]
libssl: Cleanup TLS engine loading
Remi Gacogne [Mon, 6 Feb 2023 15:48:30 +0000 (16:48 +0100)]
Merge pull request #12502 from fredmorcos/openssl3-ecdsa-signer
OpenSSL 3.0: ECDSA signer
Harry Robson [Mon, 6 Feb 2023 14:53:49 +0000 (14:53 +0000)]
Update copyright to 2023
Changed from 2021 to 2023 to match the official docs at https://doc.powerdns.com/authoritative/
Fred Morcos [Mon, 5 Dec 2022 15:28:29 +0000 (16:28 +0100)]
OpenSSL 3.0: Use PKCS#8 for ECDSA-SHA256 PEM testdata
Fred Morcos [Wed, 4 Jan 2023 14:53:01 +0000 (15:53 +0100)]
OpenSSL 3.0: OpenSSL ECDSA DCKE
Peter van Dijk [Mon, 6 Feb 2023 10:49:41 +0000 (11:49 +0100)]
Merge pull request #12511 from Habbie/codeql-ubuntu-mirror
codeql workflow: set ubuntu mirror
Peter van Dijk [Mon, 6 Feb 2023 10:41:18 +0000 (11:41 +0100)]
codeql workflow: set ubuntu mirror
Remi Gacogne [Mon, 6 Feb 2023 09:07:04 +0000 (10:07 +0100)]
ixfrdist: Make sure that our metrics are properly initialized
Before C++20 std::atomic variables are not guaranteed to be initialized,
even though it looks like compilers are actually doing the initialization
even in C++17.
Reported by Coverity as CID
1504405 .
Otto Moerbeek [Fri, 3 Feb 2023 08:02:59 +0000 (09:02 +0100)]
Use back() instead of computing the last offset
Otto Moerbeek [Fri, 3 Feb 2023 07:57:33 +0000 (08:57 +0100)]
Merge pull request #12477 from omoerbeek/rec-less-bulk-variations
rec: less bulk test variations and enable TSAN for bulk tests
Peter van Dijk [Thu, 2 Feb 2023 21:57:03 +0000 (22:57 +0100)]
Merge pull request #12504 from fredmorcos/ci-docs-fix-2
Fix GH CI docs upload
Fred Morcos [Thu, 2 Feb 2023 21:13:24 +0000 (22:13 +0100)]
Fix GH CI docs upload
Peter van Dijk [Thu, 2 Feb 2023 20:12:23 +0000 (21:12 +0100)]
Merge pull request #12503 from fredmorcos/ci-docs-fix
Fix GH CI docs upload
Fred Morcos [Thu, 2 Feb 2023 18:51:39 +0000 (19:51 +0100)]
Fix GH CI docs build
Remi Gacogne [Thu, 2 Feb 2023 16:02:11 +0000 (17:02 +0100)]
Merge pull request #12501 from fredmorcos/openssl3-ecdsa-prep
OpenSSL 3.0: ECDSA cleanup and formatting
Peter van Dijk [Thu, 2 Feb 2023 15:00:42 +0000 (16:00 +0100)]
Merge pull request #12448 from fredmorcos/gh-actions-docs-misc
Misc additions and changes to CI documentation generation
Fred Morcos [Sat, 12 Nov 2022 04:40:23 +0000 (05:40 +0100)]
Cleanup OpenSSL ECDSA DCKE
Fred Morcos [Thu, 10 Nov 2022 16:34:00 +0000 (17:34 +0100)]
Formatting OpenSSL ECDSA DCKE
Peter van Dijk [Thu, 2 Feb 2023 09:17:20 +0000 (10:17 +0100)]
use counters for things that count up over time
Peter van Dijk [Tue, 31 Jan 2023 12:40:10 +0000 (13:40 +0100)]
ixfrdist /metrics: add CPU and memory stats, note unit for uptime
Peter van Dijk [Tue, 31 Jan 2023 12:13:53 +0000 (13:13 +0100)]
ixfrdist /metrics: add FD usage
Remi Gacogne [Thu, 2 Feb 2023 14:32:20 +0000 (15:32 +0100)]
Merge pull request #12462 from fredmorcos/openssl3-rsa
OpenSSL3.0: RSA signer
Peter van Dijk [Thu, 2 Feb 2023 13:52:33 +0000 (14:52 +0100)]
Merge pull request #12489 from Habbie/ixfrdist-metrics-formatting
ixfrdist /metrics: formatting, cleanup, one new metric
Peter van Dijk [Thu, 2 Feb 2023 13:51:36 +0000 (14:51 +0100)]
Merge pull request #12496 from Habbie/dnsdist-unbreak-rpm
dnsdist rpm builds: stop trying to ship dnsdist.conf.sample
Fred Morcos [Wed, 23 Nov 2022 09:06:38 +0000 (10:06 +0100)]
OpenSSL 3.0: Use PKCS#8 for RSA-SHA256 PEM testdata
Fred Morcos [Wed, 9 Nov 2022 16:46:41 +0000 (17:46 +0100)]
OpenSSL 3.0: OpenSSL RSA DCKE
Remi Gacogne [Thu, 2 Feb 2023 12:25:02 +0000 (13:25 +0100)]
Merge pull request #12469 from rgacogne/ddist-add-ffi-tests
dnsdist: Add unit tests for the Lua FFI interface
Remi Gacogne [Thu, 2 Feb 2023 09:38:49 +0000 (10:38 +0100)]
Merge pull request #12492 from rgacogne/ddist-cannot-be-used-at-runtime
dnsdist: Refactor 'cannot be used at runtime' handling
Remi Gacogne [Thu, 2 Feb 2023 08:56:27 +0000 (09:56 +0100)]
ixfrdist: Remove unused counters, simplify prometheus types handling
Remi Gacogne [Thu, 2 Feb 2023 09:12:41 +0000 (10:12 +0100)]
dnsdist: Fix destination -> remote in FFI unit tests
As suggested by Charles-Henri Bruyand (thanks!).
Peter van Dijk [Thu, 2 Feb 2023 09:11:27 +0000 (10:11 +0100)]
dnsdist rpm builds: stop trying to ship dnsdist.conf.sample
Otto Moerbeek [Wed, 1 Feb 2023 09:23:48 +0000 (10:23 +0100)]
Upgrade guide and running recursor updates to new rec_control trace-regex
Otto Moerbeek [Tue, 31 Jan 2023 12:29:43 +0000 (13:29 +0100)]
Process review comments from rgacogne
Otto Moerbeek [Mon, 30 Jan 2023 11:37:25 +0000 (12:37 +0100)]
Tweaks in messages
Otto Moerbeek [Mon, 30 Jan 2023 11:07:12 +0000 (12:07 +0100)]
Reformat
Otto Moerbeek [Mon, 30 Jan 2023 10:39:11 +0000 (11:39 +0100)]
Man page and help changes for new syntax
Otto Moerbeek [Wed, 25 Jan 2023 13:26:35 +0000 (14:26 +0100)]
Make sure validation and aggressive cache logging also uses the right prefix
More complex than you'd think, as this code "builds up" logg lines
Otto Moerbeek [Mon, 23 Jan 2023 14:21:47 +0000 (15:21 +0100)]
Add (relative) microsecond timestamps to traces
Otto Moerbeek [Mon, 23 Jan 2023 13:02:09 +0000 (14:02 +0100)]
rec_control trace-regex: trace to a file or stdout instead of the general log.
--trace stil traces to log
Otto Moerbeek [Tue, 31 Jan 2023 15:50:08 +0000 (16:50 +0100)]
Merge pull request #12495 from jsoref/logging-tweaks
Logging tweaks
Josh Soref [Tue, 31 Jan 2023 13:49:01 +0000 (08:49 -0500)]
Adjust level for parsing to Notice
This confirms to users that the zone has loaded.
Josh Soref [Tue, 31 Jan 2023 13:27:53 +0000 (08:27 -0500)]
Change Non-fatal error initializing possible multiplexer logging to Warning
Josh Soref [Tue, 31 Jan 2023 13:27:30 +0000 (08:27 -0500)]
Change Parsing authoritative data for zone logging to Info
Josh Soref [Tue, 31 Jan 2023 13:24:38 +0000 (08:24 -0500)]
Fix error loading rpz zone logging message
Remi Gacogne [Tue, 31 Jan 2023 12:17:37 +0000 (13:17 +0100)]
Merge pull request #12491 from rgacogne/fix-spell
Fix spelling issues
Peter van Dijk [Tue, 31 Jan 2023 09:48:27 +0000 (10:48 +0100)]
ixfrdist /metrics: add unknown domain in-query counter
Peter van Dijk [Mon, 30 Jan 2023 17:42:46 +0000 (18:42 +0100)]
ixfrdist /metrics: quote label values; suffix counters with _total; remove full totals; add promtool test
Remi Gacogne [Tue, 31 Jan 2023 10:18:10 +0000 (11:18 +0100)]
rec: Fix inbalance -> imbalance in the upgrade guide
Remi Gacogne [Tue, 31 Jan 2023 10:17:30 +0000 (11:17 +0100)]
spell-check: Allow 'zjs' for recursor's contributor zjs604381586
Remi Gacogne [Tue, 24 Jan 2023 17:02:02 +0000 (18:02 +0100)]
dnsdist: Add unit tests for the Lua FFI interface
Remi Gacogne [Mon, 30 Jan 2023 10:37:25 +0000 (11:37 +0100)]
dnsdist: Refactor 'cannot be used at runtime' handling
I did not manage to avoid repeating the function name, unfortunately,
without writing something terribly ugly (mixing function-like macros
with lambdas), so for now this will have to do.
Remi Gacogne [Tue, 31 Jan 2023 10:02:19 +0000 (11:02 +0100)]
Merge pull request #12490 from rgacogne/unbreak-pdns-string-view
Fix a collision between #12417 and #11511
Otto Moerbeek [Tue, 31 Jan 2023 09:09:41 +0000 (10:09 +0100)]
Merge pull request #12485 from omoerbeek/rec-prep-4.8.2
rec: Prep for rec-4.8.2
Remi Gacogne [Tue, 31 Jan 2023 08:52:44 +0000 (09:52 +0100)]
Fix a collision between #12417 and #11511
I removed the pdns_string_view alias in #12417 as it was no longer
used, but merging #11511 actually reintroduced it, breaking the build.
Remi Gacogne [Tue, 31 Jan 2023 08:40:22 +0000 (09:40 +0100)]
Merge pull request #12417 from rgacogne/ddist-async-alternate-name
dnsdist: Add the ability to change the qname and owner names in DNS packets
dependabot[bot] [Mon, 30 Jan 2023 15:38:01 +0000 (15:38 +0000)]
build(deps): bump actions/cache from 3.0.11 to 3.2.4
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.2.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.11...v3.2.4)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Remi Gacogne [Mon, 30 Jan 2023 13:25:48 +0000 (14:25 +0100)]
Merge pull request #12481 from rgacogne/dnsdist-check-config
dnsdist: Fail if we can't check the configuration file
Remi Gacogne [Fri, 27 Jan 2023 14:32:51 +0000 (15:32 +0100)]
dnsdist: Fix the documentation, as suggested by Peter (thanks!)
Remi Gacogne [Thu, 26 Jan 2023 17:17:48 +0000 (18:17 +0100)]
dnsdist: Document that we now require an existing configuration file
Remi Gacogne [Thu, 26 Jan 2023 16:30:29 +0000 (17:30 +0100)]
dnsdist: Set up a default configuration file
Remi Gacogne [Mon, 25 Mar 2019 10:41:09 +0000 (11:41 +0100)]
dnsdist: Fail if we can't check the configuration file
Otto Moerbeek [Mon, 30 Jan 2023 10:01:35 +0000 (11:01 +0100)]
Typos and better words from @rgacogne
Remi Gacogne [Mon, 30 Jan 2023 10:02:24 +0000 (11:02 +0100)]
Merge pull request #12483 from rgacogne/ddist-doh-concurrent
dnsdist: Apply the max number of concurrent conns per client to DoH
Remi Gacogne [Mon, 30 Jan 2023 09:56:45 +0000 (10:56 +0100)]
Merge pull request #12484 from rgacogne/ddist-fix-rcode-metrics-rcodeaction
dnsdist: Properly update rcode-related metrics on RCodeAction hits
Otto Moerbeek [Thu, 26 Jan 2023 10:25:13 +0000 (11:25 +0100)]
Prep for rec-4.8.2
Remi Gacogne [Fri, 27 Jan 2023 17:11:11 +0000 (18:11 +0100)]
Merge pull request #12479 from rgacogne/coverity-gh
Add coverity scans to our daily GitHub actions flow, remove them from Circle CI
Remi Gacogne [Fri, 27 Jan 2023 16:31:54 +0000 (17:31 +0100)]
dnsdist: Add a regression test for RCodeAction-related metrics
Remi Gacogne [Fri, 27 Jan 2023 16:30:32 +0000 (17:30 +0100)]
dnsdist: Properly update rcode-related metrics on RCodeAction hits
Remi Gacogne [Fri, 27 Jan 2023 14:57:49 +0000 (15:57 +0100)]
Try harder not to leak the coverity tokens
Remi Gacogne [Fri, 27 Jan 2023 14:36:12 +0000 (15:36 +0100)]
Merge pull request #11511 from rgacogne/lmdb-small-speedup
auth: Small performance improvement for the LMDB backend