]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Tue, 17 Oct 2023 05:54:31 +0000 (07:54 +0200)]
Merge pull request #13362 from omoerbeek/rec-convert-api-config
rec: convert API config from old style to YAML if YAML settings are active
Peter van Dijk [Mon, 16 Oct 2023 19:44:45 +0000 (21:44 +0200)]
Merge pull request #13082 from jacobbunk/doc-send-recv-latencies
Document send and receive latency metrics
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>
Peter van Dijk [Mon, 16 Oct 2023 12:59:14 +0000 (14:59 +0200)]
Merge pull request #12670 from jsoref/reword-remote
Remove remote 3.3 warning
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 12:40:32 +0000 (14:40 +0200)]
Merge pull request #13371 from omoerbeek/boost-m4-update
Update boost.m4, clang 17 is out
Otto Moerbeek [Mon, 16 Oct 2023 11:32:13 +0000 (13:32 +0200)]
Update boost.m4, clang 17 is out
Will upstream as well
I wish the boost script would not need this...
Otto Moerbeek [Mon, 16 Oct 2023 10:17:56 +0000 (12:17 +0200)]
Merge pull request #13364 from omoerbeek/rec-extra-ns
rec: If we miss glue, but not for all NS records, try to resolve the missing address records
Otto Moerbeek [Mon, 16 Oct 2023 10:09:39 +0000 (12:09 +0200)]
Better handling of potential absent file
Remi Gacogne [Mon, 16 Oct 2023 10:03:31 +0000 (12:03 +0200)]
Merge pull request #13280 from chbruyand/dnsdist-doq-quiche
dnsdist: add support for incoming DoQ
Remi Gacogne [Mon, 16 Oct 2023 09:24:11 +0000 (11:24 +0200)]
Merge pull request #13370 from b1tw0rker/master
fix: added missing closed bracket
Otto Moerbeek [Mon, 16 Oct 2023 09:23:20 +0000 (11:23 +0200)]
Merge pull request #13353 from omoerbeek/rec-ss-cname-wipe
rec: If serving stale, wipe CNAME records from cache when we get a NODATA negative response for them
Otto Moerbeek [Mon, 16 Oct 2023 09:06:20 +0000 (11:06 +0200)]
Check if nrr pointer is valid before using
Co-authored-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Mon, 16 Oct 2023 08:53:34 +0000 (10:53 +0200)]
dnsdist: More clang-tidy delinting
BitWorker [Mon, 16 Oct 2023 08:02:25 +0000 (10:02 +0200)]
fix: added missing closed bracket
Remi Gacogne [Fri, 13 Oct 2023 15:44:13 +0000 (17:44 +0200)]
dnsdist: More clang-tidy delinting
Remi Gacogne [Fri, 13 Oct 2023 15:04:25 +0000 (17:04 +0200)]
dnsdist: Fix clang-tidy warnings
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
Otto Moerbeek [Fri, 13 Oct 2023 13:39:05 +0000 (15:39 +0200)]
Only set additionalsNotInCache in the true case
Remi Gacogne [Fri, 13 Oct 2023 12:48:30 +0000 (14:48 +0200)]
Quiche: Fix the installation of library on macOS
Remi Gacogne [Fri, 13 Oct 2023 12:46:33 +0000 (14:46 +0200)]
dnsdist: Use the QuicheConnection type, as suggested by Otto
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Fri, 13 Oct 2023 12:46:07 +0000 (14:46 +0200)]
dnsdist: Remove now unneeded clang-tidy suppression
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
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 [Mon, 9 Oct 2023 15:00:51 +0000 (17:00 +0200)]
If we miss glue, but not for all NS records, we can try to
resolve the missing glue, so push tasks for that.
Otto Moerbeek [Fri, 13 Oct 2023 09:55:33 +0000 (11:55 +0200)]
Tidy
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
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
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
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
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
Otto Moerbeek [Wed, 11 Oct 2023 13:39:46 +0000 (15:39 +0200)]
Tidy
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
Otto Moerbeek [Wed, 11 Oct 2023 12:22:03 +0000 (14:22 +0200)]
If serving stale, wipe CNAME records from cache when we get a NODATA negative response for them
PR #12395 already did that for the NXDOMAIN case.
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 [Fri, 6 Oct 2023 14:57:05 +0000 (16:57 +0200)]
dnsdist: Prevent unaligned access when reading the DNS header in DoQ
Otto Moerbeek [Fri, 29 Sep 2023 13:16:54 +0000 (15:16 +0200)]
Install quiche lib in proper location for macOS, and teach pkgconfig about it
Charles-Henri Bruyand [Fri, 29 Sep 2023 12:45:59 +0000 (14:45 +0200)]
doq: doc fix, thanks Otto
Charles-Henri Bruyand [Fri, 29 Sep 2023 11:46:46 +0000 (13:46 +0200)]
doq: make cert and key parameters of addDOQLocal mandatory
Charles-Henri Bruyand [Wed, 27 Sep 2023 12:57:16 +0000 (14:57 +0200)]
doq: make sure connection is properly reset if necessary in the tests
Remi Gacogne [Wed, 27 Sep 2023 23:54:01 +0000 (01:54 +0200)]
dnsdist: Get the final size of an encrypted DoQ token in a cleaner way
Remi Gacogne [Wed, 27 Sep 2023 23:32:34 +0000 (01:32 +0200)]
dnsdist: Delint doq.cc and doq.hh
Remi Gacogne [Wed, 27 Sep 2023 23:31:27 +0000 (01:31 +0200)]
dnsdist: Handle cross-protocol I/O errors for DoQ queries
Remi Gacogne [Wed, 27 Sep 2023 23:29:28 +0000 (01:29 +0200)]
dnsdist: Use a random port in DoQ regression tests
Remi Gacogne [Wed, 27 Sep 2023 23:28:49 +0000 (01:28 +0200)]
dnsdist: Make a separate DoQ connections map per bind
Remi Gacogne [Wed, 27 Sep 2023 23:25:11 +0000 (01:25 +0200)]
dnsdist: Fix the maximum size of a DoQ retry token
Remi Gacogne [Wed, 27 Sep 2023 23:23:27 +0000 (01:23 +0200)]
dnsdist: Move the definition of the DoQ thread to doq.hh
Remi Gacogne [Wed, 27 Sep 2023 23:21:47 +0000 (01:21 +0200)]
dnsdist: Fix the type of DoQ frontends
Remi Gacogne [Wed, 27 Sep 2023 10:17:00 +0000 (12:17 +0200)]
dnsdist: Work around an issue with opaque unique_ptrs on g++ 8
Remi Gacogne [Wed, 27 Sep 2023 09:40:24 +0000 (11:40 +0200)]
tasks: Remove a left-over debug line
Remi Gacogne [Wed, 27 Sep 2023 09:39:57 +0000 (11:39 +0200)]
builder-support: Build dnsdist with Quiche for DNS over QUIC support
Except on el-7 where the `clang` version needed to build the
`boring-sys`crate for `Quiche` is too old.
Charles-Henri Bruyand [Tue, 26 Sep 2023 09:59:32 +0000 (11:59 +0200)]
doq: add a bit of documentation and display DoQ support in version() if enabled
Charles-Henri Bruyand [Tue, 26 Sep 2023 09:21:49 +0000 (11:21 +0200)]
doq: add valid/error responses counter and two doq protocol related error counters
Charles-Henri Bruyand [Tue, 26 Sep 2023 08:39:27 +0000 (10:39 +0200)]
doq: add doq-responses-pipe-full metric
Charles-Henri Bruyand [Tue, 26 Sep 2023 08:38:43 +0000 (10:38 +0200)]
doq: rename variable, and update non compliant queries stats
Remi Gacogne [Mon, 25 Sep 2023 13:40:18 +0000 (15:40 +0200)]
dnsdist: Fix code formatting
Remi Gacogne [Mon, 25 Sep 2023 13:37:39 +0000 (15:37 +0200)]
dnsdist: Better handling of short reads/writes in DoQ
Remi Gacogne [Mon, 25 Sep 2023 10:09:19 +0000 (12:09 +0200)]
dnsdist: Add an option to log DoQ TLS keying material to a file
Remi Gacogne [Mon, 25 Sep 2023 10:08:40 +0000 (12:08 +0200)]
dnsdist: Add the DoQ transport protocol to Async tests
Charles-Henri Bruyand [Fri, 22 Sep 2023 15:01:41 +0000 (17:01 +0200)]
doq: add congestion control algorithm configuration option
Remi Gacogne [Fri, 22 Sep 2023 13:53:00 +0000 (15:53 +0200)]
dnsdist: Small cleanup in doq.cc and doq.hh
Remi Gacogne [Fri, 22 Sep 2023 13:24:52 +0000 (15:24 +0200)]
dnsdist: Small cleanup of m4/pdns_with_quiche.m4
Charles-Henri Bruyand [Fri, 22 Sep 2023 13:37:26 +0000 (15:37 +0200)]
doq: properly configure maxInFlight and max buffered data
Charles-Henri Bruyand [Fri, 22 Sep 2023 12:44:15 +0000 (14:44 +0200)]
doq: initialize stateless reset token
Charles-Henri Bruyand [Fri, 22 Sep 2023 12:23:48 +0000 (14:23 +0200)]
doq: really configure idleTimeout
Charles-Henri Bruyand [Fri, 22 Sep 2023 10:17:46 +0000 (12:17 +0200)]
doq: fix formating
Remi Gacogne [Fri, 22 Sep 2023 08:22:12 +0000 (10:22 +0200)]
dnsdist: Move internal DoQ structures to doq.cc
Remi Gacogne [Fri, 22 Sep 2023 08:21:48 +0000 (10:21 +0200)]
dnsdist: Use a random port for the DoQ tests
Remi Gacogne [Thu, 21 Sep 2023 12:55:02 +0000 (14:55 +0200)]
dnsdist: Use the shared library version of Quiche
Otherwise we have symbol conflicts with the symbols coming from
OpenSSL (DoT, DoH) and BoringSSL (DoQ, via Quiche). This does not
happen with a shared library because the symbols from BoringSSL
are in the same object than their user, Quiche, so they get picked
up first, and are not exported so they do not pollute dnsdist's
symbols namespace.
Remi Gacogne [Wed, 20 Sep 2023 14:54:37 +0000 (16:54 +0200)]
dnsdist: Proper retry token generation and validation for DoQ
Remi Gacogne [Wed, 20 Sep 2023 13:49:56 +0000 (15:49 +0200)]
dnsdist: Refactoring of SodiumNonce and friends