]>
git.ipfire.org Git - thirdparty/pdns.git/log
BitWorker [Mon, 16 Oct 2023 08:02:25 +0000 (10:02 +0200)]
fix: added missing closed bracket
Remi Gacogne [Fri, 13 Oct 2023 14:15:37 +0000 (16:15 +0200)]
Merge pull request #13365 from rgacogne/ddist-clang-tidy-nolintnextline
dnsdist: Better clang-tidy suppressions
Remi Gacogne [Fri, 13 Oct 2023 12:31:42 +0000 (14:31 +0200)]
dnsdist: Better clang-tidy suppressions
Fred Morcos [Fri, 13 Oct 2023 10:47:07 +0000 (12:47 +0200)]
Merge pull request #13321 from fredmorcos/geoip-lmdb-cleanups
Minor cleanups to geoip and lmdb
Otto Moerbeek [Fri, 13 Oct 2023 09:33:13 +0000 (11:33 +0200)]
Merge pull request #13363 from omoerbeek/rec-coverity-
1522436
rec: Fix Coverity
1522436 Dereference null return value
Otto Moerbeek [Fri, 13 Oct 2023 08:10:42 +0000 (10:10 +0200)]
rec: Fix Coverity
1522436 Dereference null return value
Remi Gacogne [Fri, 13 Oct 2023 07:18:46 +0000 (09:18 +0200)]
Merge pull request #13361 from phonedph1/patch-2
dnsdist: Update dq.rst
phonedph1 [Thu, 12 Oct 2023 15:29:09 +0000 (09:29 -0600)]
Update dq.rst
Fred Morcos [Thu, 12 Oct 2023 14:32:24 +0000 (16:32 +0200)]
Small refactoring of GeoIPBackend::loadDomain
Fred Morcos [Mon, 9 Oct 2023 13:02:51 +0000 (15:02 +0200)]
Set the domain ID
Fred Morcos [Thu, 28 Sep 2023 20:37:56 +0000 (22:37 +0200)]
Minor cleanups to geoip and lmdb
Peter van Dijk [Wed, 11 Oct 2023 17:34:37 +0000 (19:34 +0200)]
Merge pull request #13355 from Habbie/docker-h2o
dnsdist Docker: enable h2o again, using our fork
Peter van Dijk [Wed, 11 Oct 2023 15:12:56 +0000 (17:12 +0200)]
dnsdist Docker: enable h2o again, using our fork
Otto Moerbeek [Wed, 11 Oct 2023 15:03:01 +0000 (17:03 +0200)]
Merge pull request #13346 from omoerbeek/rec-unittests-cache-init
rec: Fix a spuriously failing recursorcache_cc test: reset globals (indirectly) used
Otto Moerbeek [Wed, 11 Oct 2023 14:38:53 +0000 (16:38 +0200)]
Merge pull request #13296 from omoerbeek/rec-qm-iters
rec: Make QName Minimization parameters from RFC 9156 settable
Remi Gacogne [Wed, 11 Oct 2023 14:11:46 +0000 (16:11 +0200)]
Merge pull request #13350 from rgacogne/ddist-182-secpoll-changelog
dnsdist: Prepare ChangeLog and secpoll for DNSdist 1.8.2 and 1.7.5
Otto Moerbeek [Mon, 9 Oct 2023 10:02:24 +0000 (12:02 +0200)]
Apply suggestion from review by @rgacogne, thanks!
Otto Moerbeek [Mon, 25 Sep 2023 14:08:18 +0000 (16:08 +0200)]
Init default values for new settings
Otto Moerbeek [Mon, 25 Sep 2023 12:59:47 +0000 (14:59 +0200)]
Typo
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 25 Sep 2023 11:59:44 +0000 (13:59 +0200)]
Make QName Minimization parameters from RFC 9156 settable
Also fix a counting ommission
Remi Gacogne [Wed, 11 Oct 2023 11:07:21 +0000 (13:07 +0200)]
spell-check: Allow 'DDoS'
Remi Gacogne [Wed, 11 Oct 2023 11:04:21 +0000 (13:04 +0200)]
secpoll: Make it lear that a vulnerability exists for all pre-releases
Remi Gacogne [Wed, 11 Oct 2023 11:02:51 +0000 (13:02 +0200)]
dnsdist: Add a ChangeLog entry for 1.7.5 as well
Remi Gacogne [Wed, 11 Oct 2023 10:58:56 +0000 (12:58 +0200)]
secpoll: All DNSdist packages >= 1.4.0-alpha2 were built against a bad h2o version
Remi Gacogne [Wed, 11 Oct 2023 10:39:26 +0000 (12:39 +0200)]
Merge pull request #13348 from rgacogne/ddist-powerdns-h2o-h2-rapid-reset
dnsdist: Switch to our fork of h2o to mitigate http2 rapid reset
Remi Gacogne [Wed, 11 Oct 2023 10:20:32 +0000 (12:20 +0200)]
dnsdist: Prepare ChangeLog and secpoll for DNSdist 1.8.2
Remi Gacogne [Wed, 11 Oct 2023 10:04:21 +0000 (12:04 +0200)]
builder-support: Use curl's "fail fast with no output at all on server errors" option
Remi Gacogne [Wed, 11 Oct 2023 08:41:45 +0000 (10:41 +0200)]
dnsdist: Switch to our fork of h2o to mitigate http2 rapid reset
Otto Moerbeek [Mon, 9 Oct 2023 13:22:47 +0000 (15:22 +0200)]
Merge pull request #13312 from omoerbeek/rec-rfc2181-10.3
rec: conform to rfc2181 10.3
Otto Moerbeek [Mon, 9 Oct 2023 13:07:36 +0000 (15:07 +0200)]
Fix a spuriously failing recursorcache_cc test: reset globals (indirectly) used
For SyncRes tests we have a general mechanism setting the globals
before the test are run, but the non-syncres tests do not have that, while
they still use some globals. In this particular case, the test would
fail if the last SyncRes test run before was setting
SyncRes::s_locked_ttlperc.
While there, pass the time to the prune functions. This avoids
potential timing issues for some tests.
Remi Gacogne [Mon, 9 Oct 2023 13:02:17 +0000 (15:02 +0200)]
Merge pull request #13330 from rgacogne/fix-clang-tidy
build-and-test-all: Fix clang tidy checks
Remi Gacogne [Mon, 9 Oct 2023 11:34:57 +0000 (13:34 +0200)]
Merge pull request #13260 from rgacogne/pdns-code-coverage-with-coveralls
Add code coverage reports via Coveralls
Remi Gacogne [Mon, 9 Oct 2023 09:36:28 +0000 (11:36 +0200)]
coverage: Do not call __gcov_dump() when using source-based coverage
It's useless and will do nothing.
Remi Gacogne [Mon, 9 Oct 2023 09:27:44 +0000 (11:27 +0200)]
Code coverage: Fix two typos
Remi Gacogne [Fri, 22 Sep 2023 10:05:17 +0000 (12:05 +0200)]
Code coverage: Fix a link
Remi Gacogne [Fri, 22 Sep 2023 10:03:53 +0000 (12:03 +0200)]
Code coverage: Apply Fred's suggestions (thanks!)
Remi Gacogne [Thu, 14 Sep 2023 14:13:05 +0000 (16:13 +0200)]
Add Code Coverage documentation
Remi Gacogne [Thu, 14 Sep 2023 13:06:13 +0000 (15:06 +0200)]
build-and-test-all: Generate code coverage data from CI
Remi Gacogne [Thu, 14 Sep 2023 13:05:43 +0000 (15:05 +0200)]
rec: Properly record coverage data when exiting
Remi Gacogne [Thu, 14 Sep 2023 13:03:08 +0000 (15:03 +0200)]
dnsdist: Properly record clang coverage data when exiting
Remi Gacogne [Thu, 14 Sep 2023 13:01:56 +0000 (15:01 +0200)]
auth: Properly record coverage data when exiting
Remi Gacogne [Thu, 14 Sep 2023 12:59:29 +0000 (14:59 +0200)]
Update the code coverage m4 to support modern options, hook it up
Otto Moerbeek [Mon, 9 Oct 2023 10:22:41 +0000 (12:22 +0200)]
Merge pull request #13345 from omoerbeek/rec-changelog-sysvinit
rec: Mention removal of sysvinit script in 4.9.x changelog.
Remi Gacogne [Mon, 9 Oct 2023 10:14:25 +0000 (12:14 +0200)]
Merge pull request #13185 from rgacogne/ddist-parse-ede
dnsdist: Log Extended DNS Errors (EDE) to protobuf
Otto Moerbeek [Mon, 9 Oct 2023 09:46:00 +0000 (11:46 +0200)]
Merge pull request #13311 from omoerbeek/rec-more-log-fixes
rec: more log (level) fixes
Otto Moerbeek [Mon, 9 Oct 2023 09:45:42 +0000 (11:45 +0200)]
Merge pull request #13303 from omoerbeek/rec-log-fixes
rec: fix log messages related to zone to cache function
Otto Moerbeek [Mon, 9 Oct 2023 09:15:50 +0000 (11:15 +0200)]
Mention removal of sysvinit script in 4.9.x changelog.
Fixes #13343
Remi Gacogne [Mon, 9 Oct 2023 09:12:15 +0000 (11:12 +0200)]
Merge pull request #13339 from rgacogne/building-packages-doc
BUILDING-PACKAGES: Document how to build packages
Remi Gacogne [Mon, 9 Oct 2023 09:10:17 +0000 (11:10 +0200)]
dnsdist: Apply Otto's suggestions to the EDE code and docs
Remi Gacogne [Fri, 6 Oct 2023 14:14:23 +0000 (16:14 +0200)]
BUILDING-PACKAGES: Mention that `pdns-builder` requires a working Docker local daemon
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Remi Gacogne [Fri, 6 Oct 2023 14:13:39 +0000 (16:13 +0200)]
BUILDING-PACKAGES: Use a supported OS as example
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Remi Gacogne [Fri, 6 Oct 2023 14:09:47 +0000 (16:09 +0200)]
Merge pull request #13340 from rgacogne/netmask-fix-invalid-mask
Netmask: Normalize subnet masks coming from a string
Remi Gacogne [Fri, 6 Oct 2023 13:57:28 +0000 (15:57 +0200)]
Update BUILDING-PACKAGES.md as suggested by Peter (thanks!)
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Remi Gacogne [Fri, 6 Oct 2023 13:54:14 +0000 (15:54 +0200)]
Merge pull request #13335 from rgacogne/ddist-web-rule-name
dnsdist: Display the rule name, if any, in the web interface
Remi Gacogne [Fri, 6 Oct 2023 11:05:39 +0000 (13:05 +0200)]
Netmask: Normalize subnet masks coming from a string
Until now we only normalized too large masks when constructed from a
`ComboAddress` object and a separate mask, but not from a string.
Remi Gacogne [Fri, 6 Oct 2023 10:14:26 +0000 (12:14 +0200)]
BUILDING-PACKAGES: Document how to build packages
Remi Gacogne [Fri, 6 Oct 2023 07:21:26 +0000 (09:21 +0200)]
dnsdist: Display the rule name, if any, in the web interface
As suggested by Sébastien Riccio.
Peter van Dijk [Thu, 5 Oct 2023 10:27:42 +0000 (12:27 +0200)]
Merge pull request #13317 from Habbie/auth-4.8.3-docs-secpoll
auth-4.8.3: changelog and secpoll
Remi Gacogne [Tue, 3 Oct 2023 13:47:04 +0000 (15:47 +0200)]
clang-tidy.py: We need to output relative paths in annotations
Remi Gacogne [Tue, 3 Oct 2023 14:26:30 +0000 (16:26 +0200)]
git-filter: We no longer need to check for non pdns/ paths
Remi Gacogne [Tue, 3 Oct 2023 13:48:10 +0000 (15:48 +0200)]
git-filter.py: Document that we cannot normalize here
Remi Gacogne [Mon, 2 Oct 2023 08:48:18 +0000 (10:48 +0200)]
build-and-test-all: Fix clang-tidy now that we build in dist dirs
Remi Gacogne [Tue, 3 Oct 2023 13:46:24 +0000 (15:46 +0200)]
clang-tidy-diff.py: clang-tidy only supports filename in filter-line, not paths
Remi Gacogne [Tue, 3 Oct 2023 13:18:28 +0000 (15:18 +0200)]
Import clang-tidy-diff.py
Peter van Dijk [Tue, 3 Oct 2023 16:04:18 +0000 (18:04 +0200)]
Merge pull request #13323 from ekohl/update-lmdb-docs-path
Match the lmdb-filename example with the default
Ewoud Kohl van Wijngaarden [Tue, 3 Oct 2023 15:13:21 +0000 (17:13 +0200)]
Match the lmdb-filename example with the default
The default config places it in /var/lib, which is a more logical place
for a DB.
Fred Morcos [Tue, 3 Oct 2023 10:34:43 +0000 (12:34 +0200)]
Merge pull request #13320 from fredmorcos/cleanup-remote-backend
Some cleanups to the auth remote backend
Remi Gacogne [Tue, 3 Oct 2023 09:23:57 +0000 (11:23 +0200)]
Merge pull request #13298 from rgacogne/ddist-nghttp2-in-timeout
dnsdist: Fix timeouts on incoming DoH connections with nghttp2
Fred Morcos [Tue, 26 Sep 2023 12:40:37 +0000 (14:40 +0200)]
Cleanup remote backend
Remi Gacogne [Mon, 2 Oct 2023 17:58:43 +0000 (19:58 +0200)]
dnsdist: Apply suggestion from Charles-Henri's code review (thanks!)
Remi Gacogne [Tue, 26 Sep 2023 09:27:12 +0000 (11:27 +0200)]
dnsdist: Fix timeouts on incoming DoH connections with nghttp2
Remi Gacogne [Tue, 3 Oct 2023 08:16:24 +0000 (10:16 +0200)]
Merge pull request #13319 from Habbie/sphinxcontrib-update
auth docs: update sphinxcontrib-api hash, add a comment
Peter van Dijk [Tue, 3 Oct 2023 07:13:33 +0000 (09:13 +0200)]
update sphinxcontrib-api hash, add a comment
Remi Gacogne [Mon, 2 Oct 2023 17:16:51 +0000 (19:16 +0200)]
Merge pull request #13304 from rgacogne/ddist-async-unit-tests-rae
dnsdist: Fix a race in the Async unit tests
Remi Gacogne [Mon, 2 Oct 2023 17:16:27 +0000 (19:16 +0200)]
Merge pull request #13314 from rgacogne/ddist-skip-badvers-test-when-needed
dnsdist: Skip our BADVERS regression test on broken Python versions
Remi Gacogne [Mon, 2 Oct 2023 17:16:05 +0000 (19:16 +0200)]
Merge pull request #13310 from rgacogne/ddist-ebpf-fixes
dnsdist: Fix several cosmetic issues in eBPF dynamic blocks, update documentation
Remi Gacogne [Mon, 2 Oct 2023 17:15:39 +0000 (19:15 +0200)]
Merge pull request #13287 from rgacogne/dnsscope-custom-port
dnsscope: Add a `--port` option to select a custom port
Peter van Dijk [Mon, 2 Oct 2023 15:03:44 +0000 (17:03 +0200)]
auth-4.8.3: changelog and secpoll
Remi Gacogne [Fri, 29 Sep 2023 15:13:18 +0000 (17:13 +0200)]
dnsdist: Skip our BADVERS regression test on broken Python versions
See https://github.com/PowerDNS/pdns/pull/12912 for the longer
explanation.
Remi Gacogne [Fri, 29 Sep 2023 13:52:10 +0000 (15:52 +0200)]
dnsdist: Fix eBPF metrics in the internal web server
We used to only display eBPF dynamic blocks for the Dynamic BPF
registered via `registerDynBPFFilter()`, which does not play well
with the new DynBlockRulesGroup approach.
This commit fixes it by making exporting / displaying metric for
the default BPF filter (`setDefaultBPFFilter`) as well.
Peter van Dijk [Fri, 29 Sep 2023 13:13:33 +0000 (15:13 +0200)]
Merge pull request #13080 from jsoref/remove-timestamp
Remove `timestamp` and `test-auth`
Peter van Dijk [Fri, 29 Sep 2023 12:54:45 +0000 (14:54 +0200)]
Merge pull request #13014 from jsoref/deprecated
Report auth settings deprecated in 4.5
Josh Soref [Fri, 29 Sep 2023 09:50:10 +0000 (05:50 -0400)]
Remove test-auth
Otto Moerbeek [Fri, 29 Sep 2023 09:41:06 +0000 (11:41 +0200)]
Fix typoe and ws
Otto Moerbeek [Fri, 29 Sep 2023 09:33:01 +0000 (11:33 +0200)]
rec: more log (level) fixes
Found while working on a list
Remi Gacogne [Fri, 29 Sep 2023 09:29:08 +0000 (11:29 +0200)]
Merge pull request #13305 from rgacogne/ddist-proper-log-levels
dnsdist: Set proper levels when logging messages
Peter van Dijk [Fri, 29 Sep 2023 09:22:08 +0000 (11:22 +0200)]
Merge pull request #13309 from Habbie/refreh
dnsdist kvs docs: fix typo
Peter van Dijk [Fri, 29 Sep 2023 08:57:23 +0000 (10:57 +0200)]
Merge pull request #13308 from phonedph1/patch-1
dnsdist: Update tuning.rst
Remi Gacogne [Fri, 29 Sep 2023 08:33:29 +0000 (10:33 +0200)]
dnsdist: Document that `add*DynBlocks()` methods are legacy ones
Remi Gacogne [Fri, 29 Sep 2023 08:32:30 +0000 (10:32 +0200)]
dnsdist: Log whether newly inserted dynamic blocks are eBPF-based
Remi Gacogne [Fri, 29 Sep 2023 08:31:43 +0000 (10:31 +0200)]
dnsdist: Display whether blocks are eBPF-based in `showDynBlocks()`
Peter van Dijk [Fri, 29 Sep 2023 08:09:10 +0000 (10:09 +0200)]
dnsdist kvs docs: fix typo
Otto Moerbeek [Thu, 28 Sep 2023 16:26:03 +0000 (18:26 +0200)]
whitespace error
phonedph1 [Thu, 28 Sep 2023 14:34:47 +0000 (08:34 -0600)]
Update tuning.rst
Remi Gacogne [Thu, 28 Sep 2023 13:32:29 +0000 (15:32 +0200)]
dnsdist: Set proper levels when logging messages
This PR re-evaluates the log level of all messages in the DNSdist
code base. The rules are simple:
- 'Error' should only be used when a critical service will not function
properly
- 'Warning' should be used when a non-essential feature may not be
working as expected
- 'Info' is for everything that should not go unnoticed but also cannot
be triggered by an outside attacker, otherwise we might be flooding
our logs
- 'Verbose' can be used for everything else.
There are a few exceptions, something we log at the 'info' level for
events that might be happening a lot, but only when told to do so,
like for example with verbose health-check reporting.
Remi Gacogne [Thu, 28 Sep 2023 12:21:08 +0000 (14:21 +0200)]
Merge pull request #13302 from phonedph1/imeouts
dnsdist: client timeouts not client imeouts
Remi Gacogne [Thu, 28 Sep 2023 12:13:59 +0000 (14:13 +0200)]
dnsdist: Fix a race in the Async unit tests
We used to set the `errorRaised` variable from the `AsynchronousHolder`
thread then check its value from the main thread, which is correctly
reported as TSAN as a data race. We do know that we have waited enough,
and that otherwise it's fine to fail, but TSAN cannot know that. Switching
to a `std::atomic<bool>` fixes it.
Otto Moerbeek [Wed, 27 Sep 2023 15:01:14 +0000 (17:01 +0200)]
delint
Otto Moerbeek [Wed, 27 Sep 2023 07:05:49 +0000 (09:05 +0200)]
rec: Fix log messages lacking priority
Otto Moerbeek [Wed, 27 Sep 2023 07:46:16 +0000 (09:46 +0200)]
When we have authoritative NS records in cache that do not lead to
any usable address, wipe the NS records so a query of NS records
to theprant leads to new NS records being inserted into the cache.
Previously the presence of the authoritaivbe records would prevent
that to happen. Queries would *use* the freshly retrieved parent
records, but they would not end up in the cache (the presence of
authoritative NS records prevents that) leading to repeated queries
to the parent.