]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
21 months agofix: added missing closed bracket 13370/head
BitWorker [Mon, 16 Oct 2023 08:02:25 +0000 (10:02 +0200)] 
fix: added missing closed bracket

21 months agoMerge pull request #13365 from rgacogne/ddist-clang-tidy-nolintnextline
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

21 months agodnsdist: Better clang-tidy suppressions 13365/head
Remi Gacogne [Fri, 13 Oct 2023 12:31:42 +0000 (14:31 +0200)] 
dnsdist: Better clang-tidy suppressions

21 months agoMerge pull request #13321 from fredmorcos/geoip-lmdb-cleanups
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

21 months agoMerge pull request #13363 from omoerbeek/rec-coverity-1522436
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

21 months agorec: Fix Coverity 1522436 Dereference null return value 13363/head
Otto Moerbeek [Fri, 13 Oct 2023 08:10:42 +0000 (10:10 +0200)] 
rec: Fix Coverity 1522436 Dereference null return value

21 months agoMerge pull request #13361 from phonedph1/patch-2
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

21 months agoUpdate dq.rst 13361/head
phonedph1 [Thu, 12 Oct 2023 15:29:09 +0000 (09:29 -0600)] 
Update dq.rst

21 months agoSmall refactoring of GeoIPBackend::loadDomain 13321/head
Fred Morcos [Thu, 12 Oct 2023 14:32:24 +0000 (16:32 +0200)] 
Small refactoring of GeoIPBackend::loadDomain

21 months agoSet the domain ID
Fred Morcos [Mon, 9 Oct 2023 13:02:51 +0000 (15:02 +0200)] 
Set the domain ID

21 months agoMinor cleanups to geoip and lmdb
Fred Morcos [Thu, 28 Sep 2023 20:37:56 +0000 (22:37 +0200)] 
Minor cleanups to geoip and lmdb

21 months agoMerge pull request #13355 from Habbie/docker-h2o
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

21 months agodnsdist Docker: enable h2o again, using our fork 13355/head
Peter van Dijk [Wed, 11 Oct 2023 15:12:56 +0000 (17:12 +0200)] 
dnsdist Docker: enable h2o again, using our fork

21 months agoMerge pull request #13346 from omoerbeek/rec-unittests-cache-init
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

21 months agoMerge pull request #13296 from omoerbeek/rec-qm-iters
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

21 months agoMerge pull request #13350 from rgacogne/ddist-182-secpoll-changelog
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

21 months agoApply suggestion from review by @rgacogne, thanks! 13296/head
Otto Moerbeek [Mon, 9 Oct 2023 10:02:24 +0000 (12:02 +0200)] 
Apply suggestion from review by @rgacogne, thanks!

21 months agoInit default values for new settings
Otto Moerbeek [Mon, 25 Sep 2023 14:08:18 +0000 (16:08 +0200)] 
Init default values for new settings

21 months agoTypo
Otto Moerbeek [Mon, 25 Sep 2023 12:59:47 +0000 (14:59 +0200)] 
Typo

Co-authored-by: Remi Gacogne <github@coredump.fr>
21 months agoMake QName Minimization parameters from RFC 9156 settable
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

21 months agospell-check: Allow 'DDoS' 13350/head
Remi Gacogne [Wed, 11 Oct 2023 11:07:21 +0000 (13:07 +0200)] 
spell-check: Allow 'DDoS'

21 months agosecpoll: Make it lear that a vulnerability exists for all pre-releases
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

21 months agodnsdist: Add a ChangeLog entry for 1.7.5 as well
Remi Gacogne [Wed, 11 Oct 2023 11:02:51 +0000 (13:02 +0200)] 
dnsdist: Add a ChangeLog entry for 1.7.5 as well

21 months agosecpoll: All DNSdist packages >= 1.4.0-alpha2 were built against a bad h2o version
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

21 months agoMerge pull request #13348 from rgacogne/ddist-powerdns-h2o-h2-rapid-reset
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

21 months agodnsdist: Prepare ChangeLog and secpoll for DNSdist 1.8.2
Remi Gacogne [Wed, 11 Oct 2023 10:20:32 +0000 (12:20 +0200)] 
dnsdist: Prepare ChangeLog and secpoll for DNSdist 1.8.2

21 months agobuilder-support: Use curl's "fail fast with no output at all on server errors" option 13348/head
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

21 months agodnsdist: Switch to our fork of h2o to mitigate http2 rapid reset
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

21 months agoMerge pull request #13312 from omoerbeek/rec-rfc2181-10.3
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

21 months agoFix a spuriously failing recursorcache_cc test: reset globals (indirectly) used 13346/head
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.

21 months agoMerge pull request #13330 from rgacogne/fix-clang-tidy
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

21 months agoMerge pull request #13260 from rgacogne/pdns-code-coverage-with-coveralls
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

21 months agocoverage: Do not call __gcov_dump() when using source-based coverage 13260/head
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.

21 months agoCode coverage: Fix two typos
Remi Gacogne [Mon, 9 Oct 2023 09:27:44 +0000 (11:27 +0200)] 
Code coverage: Fix two typos

21 months agoCode coverage: Fix a link
Remi Gacogne [Fri, 22 Sep 2023 10:05:17 +0000 (12:05 +0200)] 
Code coverage: Fix a link

21 months agoCode coverage: Apply Fred's suggestions (thanks!)
Remi Gacogne [Fri, 22 Sep 2023 10:03:53 +0000 (12:03 +0200)] 
Code coverage: Apply Fred's suggestions (thanks!)

21 months agoAdd Code Coverage documentation
Remi Gacogne [Thu, 14 Sep 2023 14:13:05 +0000 (16:13 +0200)] 
Add Code Coverage documentation

21 months agobuild-and-test-all: Generate code coverage data from CI
Remi Gacogne [Thu, 14 Sep 2023 13:06:13 +0000 (15:06 +0200)] 
build-and-test-all: Generate code coverage data from CI

21 months agorec: Properly record coverage data when exiting
Remi Gacogne [Thu, 14 Sep 2023 13:05:43 +0000 (15:05 +0200)] 
rec: Properly record coverage data when exiting

21 months agodnsdist: Properly record clang 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

21 months agoauth: Properly record coverage data when exiting
Remi Gacogne [Thu, 14 Sep 2023 13:01:56 +0000 (15:01 +0200)] 
auth: Properly record coverage data when exiting

21 months agoUpdate the code coverage m4 to support modern options, hook it up
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

21 months agoMerge pull request #13345 from omoerbeek/rec-changelog-sysvinit
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.

21 months agoMerge pull request #13185 from rgacogne/ddist-parse-ede
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

21 months agoMerge pull request #13311 from omoerbeek/rec-more-log-fixes
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

21 months agoMerge pull request #13303 from omoerbeek/rec-log-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

21 months agoMention removal of sysvinit script in 4.9.x changelog. 13345/head
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

21 months agoMerge pull request #13339 from rgacogne/building-packages-doc
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

21 months agodnsdist: Apply Otto's suggestions to the EDE code and docs 13185/head
Remi Gacogne [Mon, 9 Oct 2023 09:10:17 +0000 (11:10 +0200)] 
dnsdist: Apply Otto's suggestions to the EDE code and docs

21 months agoBUILDING-PACKAGES: Mention that `pdns-builder` requires a working Docker local daemon 13339/head
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>
21 months agoBUILDING-PACKAGES: Use a supported OS as example
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>
21 months agoMerge pull request #13340 from rgacogne/netmask-fix-invalid-mask
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

21 months agoUpdate BUILDING-PACKAGES.md as suggested by Peter (thanks!)
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>
21 months agoMerge pull request #13335 from rgacogne/ddist-web-rule-name
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

21 months agoNetmask: Normalize subnet masks coming from a string 13340/head
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.

21 months agoBUILDING-PACKAGES: Document how to build packages
Remi Gacogne [Fri, 6 Oct 2023 10:14:26 +0000 (12:14 +0200)] 
BUILDING-PACKAGES: Document how to build packages

21 months agodnsdist: Display the rule name, if any, in the web interface 13335/head
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.

21 months agoMerge pull request #13317 from Habbie/auth-4.8.3-docs-secpoll
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

21 months agoclang-tidy.py: We need to output relative paths in annotations 13330/head
Remi Gacogne [Tue, 3 Oct 2023 13:47:04 +0000 (15:47 +0200)] 
clang-tidy.py: We need to output relative paths in annotations

21 months agogit-filter: We no longer need to check for non pdns/ paths
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

21 months agogit-filter.py: Document that we cannot normalize here
Remi Gacogne [Tue, 3 Oct 2023 13:48:10 +0000 (15:48 +0200)] 
git-filter.py: Document that we cannot normalize here

21 months agobuild-and-test-all: Fix clang-tidy now that we build in dist dirs
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

21 months agoclang-tidy-diff.py: clang-tidy only supports filename in filter-line, not paths
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

21 months agoImport clang-tidy-diff.py
Remi Gacogne [Tue, 3 Oct 2023 13:18:28 +0000 (15:18 +0200)] 
Import clang-tidy-diff.py

21 months agoMerge pull request #13323 from ekohl/update-lmdb-docs-path
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

21 months agoMatch the lmdb-filename example with the default 13323/head
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.

21 months agoMerge pull request #13320 from fredmorcos/cleanup-remote-backend
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

21 months agoMerge pull request #13298 from rgacogne/ddist-nghttp2-in-timeout
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

21 months agoCleanup remote backend 13320/head
Fred Morcos [Tue, 26 Sep 2023 12:40:37 +0000 (14:40 +0200)] 
Cleanup remote backend

21 months agodnsdist: Apply suggestion from Charles-Henri's code review (thanks!) 13298/head
Remi Gacogne [Mon, 2 Oct 2023 17:58:43 +0000 (19:58 +0200)] 
dnsdist: Apply suggestion from Charles-Henri's code review (thanks!)

21 months agodnsdist: Fix timeouts on incoming DoH connections with nghttp2
Remi Gacogne [Tue, 26 Sep 2023 09:27:12 +0000 (11:27 +0200)] 
dnsdist: Fix timeouts on incoming DoH connections with nghttp2

21 months agoMerge pull request #13319 from Habbie/sphinxcontrib-update
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

21 months agoupdate sphinxcontrib-api hash, add a comment 13319/head
Peter van Dijk [Tue, 3 Oct 2023 07:13:33 +0000 (09:13 +0200)] 
update sphinxcontrib-api hash, add a comment

22 months agoMerge pull request #13304 from rgacogne/ddist-async-unit-tests-rae
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

22 months agoMerge pull request #13314 from rgacogne/ddist-skip-badvers-test-when-needed
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

22 months agoMerge pull request #13310 from rgacogne/ddist-ebpf-fixes
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

22 months agoMerge pull request #13287 from rgacogne/dnsscope-custom-port
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

22 months agoauth-4.8.3: changelog and secpoll 13317/head
Peter van Dijk [Mon, 2 Oct 2023 15:03:44 +0000 (17:03 +0200)] 
auth-4.8.3: changelog and secpoll

22 months agodnsdist: Skip our BADVERS regression test on broken Python versions 13314/head
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.

22 months agodnsdist: Fix eBPF metrics in the internal web server 13310/head
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.

22 months agoMerge pull request #13080 from jsoref/remove-timestamp
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`

22 months agoMerge pull request #13014 from jsoref/deprecated
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

22 months agoRemove test-auth 13080/head
Josh Soref [Fri, 29 Sep 2023 09:50:10 +0000 (05:50 -0400)] 
Remove test-auth

22 months agoFix typoe and ws 13311/head
Otto Moerbeek [Fri, 29 Sep 2023 09:41:06 +0000 (11:41 +0200)] 
Fix typoe and ws

22 months agorec: more log (level) fixes
Otto Moerbeek [Fri, 29 Sep 2023 09:33:01 +0000 (11:33 +0200)] 
rec: more log (level) fixes

Found while working on a list

22 months agoMerge pull request #13305 from rgacogne/ddist-proper-log-levels
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

22 months agoMerge pull request #13309 from Habbie/refreh
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

22 months agoMerge pull request #13308 from phonedph1/patch-1
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

22 months agodnsdist: Document that `add*DynBlocks()` methods are legacy ones
Remi Gacogne [Fri, 29 Sep 2023 08:33:29 +0000 (10:33 +0200)] 
dnsdist: Document that `add*DynBlocks()` methods are legacy ones

22 months agodnsdist: Log whether newly inserted dynamic blocks are eBPF-based
Remi Gacogne [Fri, 29 Sep 2023 08:32:30 +0000 (10:32 +0200)] 
dnsdist: Log whether newly inserted dynamic blocks are eBPF-based

22 months agodnsdist: Display whether blocks are eBPF-based in `showDynBlocks()`
Remi Gacogne [Fri, 29 Sep 2023 08:31:43 +0000 (10:31 +0200)] 
dnsdist: Display whether blocks are eBPF-based in `showDynBlocks()`

22 months agodnsdist kvs docs: fix typo 13309/head
Peter van Dijk [Fri, 29 Sep 2023 08:09:10 +0000 (10:09 +0200)] 
dnsdist kvs docs: fix typo

22 months agowhitespace error 13303/head
Otto Moerbeek [Thu, 28 Sep 2023 16:26:03 +0000 (18:26 +0200)] 
whitespace error

22 months agoUpdate tuning.rst 13308/head
phonedph1 [Thu, 28 Sep 2023 14:34:47 +0000 (08:34 -0600)] 
Update tuning.rst

22 months agodnsdist: Set proper levels when logging messages 13305/head
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.

22 months agoMerge pull request #13302 from phonedph1/imeouts
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

22 months agodnsdist: Fix a race in the Async unit tests 13304/head
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.

22 months agodelint
Otto Moerbeek [Wed, 27 Sep 2023 15:01:14 +0000 (17:01 +0200)] 
delint

22 months agorec: Fix log messages lacking priority
Otto Moerbeek [Wed, 27 Sep 2023 07:05:49 +0000 (09:05 +0200)] 
rec: Fix log messages lacking priority

22 months agoWhen we have authoritative NS records in cache that do not lead to 13312/head
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.