]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Mon, 16 Oct 2023 14:25:37 +0000 (16:25 +0200)]
Check stream status in more cases as suggested by @rgacogne
Otto Moerbeek [Mon, 16 Oct 2023 14:16:53 +0000 (16:16 +0200)]
ws fix
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 16 Oct 2023 12:49:47 +0000 (14:49 +0200)]
Only explictly dump coverage data if we're heading for _exit()
Otto Moerbeek [Mon, 16 Oct 2023 10:09:39 +0000 (12:09 +0200)]
Better handling of potential absent file
Otto Moerbeek [Fri, 13 Oct 2023 09:55:33 +0000 (11:55 +0200)]
Tidy
Otto Moerbeek [Fri, 13 Oct 2023 07:53:43 +0000 (09:53 +0200)]
Print version earlier, logging tweak
Otto Moerbeek [Fri, 13 Oct 2023 07:40:09 +0000 (09:40 +0200)]
Docs
Otto Moerbeek [Thu, 12 Oct 2023 13:20:40 +0000 (15:20 +0200)]
Try a couple of times asking rec to quit
Otto Moerbeek [Thu, 12 Oct 2023 13:07:07 +0000 (15:07 +0200)]
include_dir must be != api_dir for YAML mode
Otto Moerbeek [Thu, 12 Oct 2023 13:06:55 +0000 (15:06 +0200)]
Formatting
Otto Moerbeek [Thu, 12 Oct 2023 12:42:55 +0000 (14:42 +0200)]
Regression test for YAML conversino of API maintained config files
Otto Moerbeek [Thu, 12 Oct 2023 09:02:17 +0000 (11:02 +0200)]
Error handling and bulk update of forwards
Otto Moerbeek [Wed, 27 Sep 2023 12:56:14 +0000 (14:56 +0200)]
First stab at converting api managed files
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: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
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.
phonedph1 [Wed, 27 Sep 2023 02:32:36 +0000 (20:32 -0600)]
spelling
phonedph1 [Wed, 27 Sep 2023 00:35:46 +0000 (18:35 -0600)]
brute force change
Otto Moerbeek [Mon, 25 Sep 2023 12:34:56 +0000 (14:34 +0200)]
Merge pull request #13295 from omoerbeek/rec-ns-resolve-no-qm
Rec: do not use qname minimization for infra-queries
Otto Moerbeek [Mon, 25 Sep 2023 12:34:43 +0000 (14:34 +0200)]
Merge pull request #13289 from omoerbeek/rec-unthrottle
rec: implement probabilistic unthrottle
Peter van Dijk [Mon, 25 Sep 2023 12:22:49 +0000 (14:22 +0200)]
Merge pull request #12980 from Habbie/debian-trixie
add debian-trixie build target
Peter van Dijk [Mon, 25 Sep 2023 11:51:25 +0000 (13:51 +0200)]
Merge pull request #13255 from Habbie/ubuntu-mantic
builder: add ubuntu-mantic target
Otto Moerbeek [Mon, 25 Sep 2023 10:38:34 +0000 (12:38 +0200)]
Don't chace CNAMEs for NS queries
Also, if we encouter a NS record without associated address records,
wipe it from cache. This latest part is not well tested yet and might have
bad side effects.
Otto Moerbeek [Mon, 25 Sep 2023 08:52:10 +0000 (10:52 +0200)]
Rename setting and adapt docs text, as suggested by @ragogne
Otto Moerbeek [Fri, 22 Sep 2023 11:46:12 +0000 (13:46 +0200)]
Implement setting and rewrite the unThrottle logic a bit
Otto Moerbeek [Tue, 19 Sep 2023 09:45:40 +0000 (11:45 +0200)]
Make unthrottle n a var (setting not done yet)
Otto Moerbeek [Wed, 13 Sep 2023 14:13:30 +0000 (16:13 +0200)]
If we receive an answer from a nameserver, unthrottle it.
Also throw a dice to use a fully throttled NS anyway once in a while.
Otto Moerbeek [Mon, 25 Sep 2023 08:36:11 +0000 (10:36 +0200)]
Merge pull request #13290 from omoerbeek/rec-gen-files-in-tarball
rec: Put files generated by generate.py into tarball
Otto Moerbeek [Mon, 25 Sep 2023 08:02:42 +0000 (10:02 +0200)]
Merge pull request #13288 from omoerbeek/rec-docs-gen-before-build
rec: modify docs publishing workflow to generate docs