]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Mon, 16 Oct 2023 08:53:34 +0000 (10:53 +0200)]
dnsdist: More clang-tidy delinting
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 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, 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
Remi Gacogne [Wed, 20 Sep 2023 13:47:12 +0000 (15:47 +0200)]
build-and-test-all: Disable LTO for now, it does not play well with Quiche
Remi Gacogne [Wed, 20 Sep 2023 11:55:54 +0000 (13:55 +0200)]
build-and-test-all: Build Quiche, and enable DoQ for dnsdist
Charles-Henri Bruyand [Thu, 21 Sep 2023 14:54:21 +0000 (16:54 +0200)]
doq: handle responses in the main thread
Charles-Henri Bruyand [Thu, 21 Sep 2023 13:14:54 +0000 (15:14 +0200)]
doq: add cache hit test
Charles-Henri Bruyand [Thu, 21 Sep 2023 09:32:18 +0000 (11:32 +0200)]
doq: use dnsdist::getRandomValue and fix a few compilation warnings
Charles-Henri Bruyand [Wed, 20 Sep 2023 09:50:54 +0000 (11:50 +0200)]
doq: fix Makefile.am sorting
Charles-Henri Bruyand [Tue, 19 Sep 2023 16:51:30 +0000 (18:51 +0200)]
doq: spell checking, formating, comments cleaning
Charles-Henri Bruyand [Tue, 19 Sep 2023 16:38:48 +0000 (18:38 +0200)]
doq: don't add EDNS
Charles-Henri Bruyand [Thu, 14 Sep 2023 13:59:06 +0000 (15:59 +0200)]
dnsdist: add simple DoQ tests, misc cleanup, removes unnecessary chans/threads
Charles-Henri Bruyand [Mon, 31 Jul 2023 13:39:36 +0000 (15:39 +0200)]
dnsdist: add basic DoQ support
Charles-Henri Bruyand [Wed, 16 Aug 2023 14:03:48 +0000 (16:03 +0200)]
dnsdist: add DoQ protocol definition
Charles-Henri Bruyand [Sun, 30 Jul 2023 15:00:10 +0000 (17:00 +0200)]
dnsdist: configurable DoQ and quiche 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
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