]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Wed, 13 Sep 2023 07:15:20 +0000 (09:15 +0200)]
Install Rust in docker build env
Otto Moerbeek [Wed, 13 Sep 2023 06:54:18 +0000 (08:54 +0200)]
rec: fix docker build; it does `make install` without first building the default target
Otto Moerbeek [Tue, 12 Sep 2023 15:22:45 +0000 (17:22 +0200)]
Merge pull request #13243 from omoerbeek/rec-no-random-unittests
Rec's unit tests (in combination with asan+ubsan) are not ready yet for randomization
Remi Gacogne [Tue, 12 Sep 2023 14:46:24 +0000 (16:46 +0200)]
dnsdist: Fix the test order dependency in the Dynamic Blocks unit tests
Otto Moerbeek [Tue, 12 Sep 2023 12:51:07 +0000 (14:51 +0200)]
Rec's unit tests (in combination with asan+ubsan) are not ready yet for randomization
Otto Moerbeek [Tue, 12 Sep 2023 11:54:46 +0000 (13:54 +0200)]
Merge pull request #13237 from omoerbeek/random-unittests
Introduce randomness in test order to catch hidden dependencies between unit-tests
Otto Moerbeek [Tue, 12 Sep 2023 11:54:18 +0000 (13:54 +0200)]
Merge pull request #13239 from omoerbeek/rec-fix-rust-install
rec: With #13101 the cwd of the build changed, adapt call to ci-rust-install
Otto Moerbeek [Tue, 12 Sep 2023 10:41:35 +0000 (12:41 +0200)]
With #13101 the cwd of the build changed, adapt call to rust install
Otto Moerbeek [Tue, 12 Sep 2023 10:11:29 +0000 (12:11 +0200)]
Be even more lenient in allowing timing differences
Remi Gacogne [Tue, 12 Sep 2023 09:52:32 +0000 (11:52 +0200)]
Merge pull request #13101 from romeroalx/add-make-distdir
GH actions. build-and-test-all.yml: add make distdir as an additional step for build jobs
Otto Moerbeek [Tue, 12 Sep 2023 09:46:23 +0000 (11:46 +0200)]
Merge pull request #13008 from omoerbeek/rec-gen-settings
Rec: rewrite settings code, move to yaml settings file using Rust
Otto Moerbeek [Tue, 12 Sep 2023 09:14:16 +0000 (11:14 +0200)]
Introduce randomness in test order to catch hidden dependencies between unit-tests
Also be a bit more lenient in a recently introduced test that checks timing
of some aggressive cache manipulations.
Otto Moerbeek [Tue, 12 Sep 2023 07:59:21 +0000 (09:59 +0200)]
Fix typo in function name (both def and caller)
Alexis Romero [Thu, 3 Aug 2023 11:53:27 +0000 (13:53 +0200)]
adding make distdir step to build-and-test-all
Otto Moerbeek [Wed, 5 Jul 2023 13:48:59 +0000 (15:48 +0200)]
Introduce structured YAML settings for Recursor.
Mostly written in Rust, using CXX and Serde
Code generation is used to generate both the old style config tables as
the new Rust based code. The code generation also produces the code
to covert old styel to new style and documentation.
Th main entry point for code generationo is settings/generate.py,
using the table table.py
Existing configs continue to work as before.
Otto Moerbeek [Mon, 11 Sep 2023 10:44:46 +0000 (12:44 +0200)]
Merge pull request #13210 from omoerbeek/rec-systemd-unit-nss
rec: remove Before=nss-lookup.target line from unit file
Otto Moerbeek [Mon, 11 Sep 2023 10:44:31 +0000 (12:44 +0200)]
Merge pull request #13209 from omoerbeek/rec-aggr-cache-pruning
rec: make aggressive cache pruning more effective and more fair
Otto Moerbeek [Mon, 11 Sep 2023 10:00:20 +0000 (12:00 +0200)]
Apply typo-in-comment fixes from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Mon, 11 Sep 2023 08:03:22 +0000 (10:03 +0200)]
Merge pull request #13227 from rgacogne/ddist-fix-unit-tests-on-el-with-lto
dnsdist: Fix unit tests for incoming DoH w/ nghttp2
Remi Gacogne [Mon, 11 Sep 2023 07:28:22 +0000 (09:28 +0200)]
Merge pull request #13229 from appliedprivacy/patch-2
docu typo fix: latency-doh-avg 100k -> 1M
Remi Gacogne [Mon, 11 Sep 2023 07:26:22 +0000 (09:26 +0200)]
Merge pull request #13230 from mikedamm/patch-1
Update documentation to point to proper function
Mike Damm [Mon, 11 Sep 2023 00:30:59 +0000 (17:30 -0700)]
Update documentation to point to proper function
Additional parameters to webserver() are now depreciated. Update documentation to refer to setWebserverConfig()
appliedprivacy [Sat, 9 Sep 2023 10:51:54 +0000 (10:51 +0000)]
latency-doh-avg 100k -> 1M typo
Remi Gacogne [Fri, 8 Sep 2023 14:19:41 +0000 (16:19 +0200)]
dnsdist: Fix unit tests for incoming DoH w/ nghttp2
These tests were failing on EL with LTO enabled, and passing
everywhere else. It turns out that we did not properly reset
the `s_processQuery` hack that we used in these tests to
simulate the policy decision (rules and actions), and thus
inherited what the last test set it to instead of the default
(dropping queries), which was very unexpected.
Peter van Dijk [Fri, 8 Sep 2023 12:44:34 +0000 (14:44 +0200)]
Merge pull request #13225 from jsoref/gha-action-log-title
Fix GitHub Action log title reporting
Remi Gacogne [Fri, 8 Sep 2023 12:29:37 +0000 (14:29 +0200)]
Merge pull request #13224 from rgacogne/fix-provenance-upload-dir
build-packages: Upload provenance attestations to the correct dir
Josh Soref [Fri, 8 Sep 2023 11:59:27 +0000 (07:59 -0400)]
Fix GitHub Action log title reporting
Follow-up to #13068
Remi Gacogne [Fri, 8 Sep 2023 11:51:25 +0000 (13:51 +0200)]
Merge pull request #13179 from rgacogne/ddist-1.8.1-changelog-secpoll
dnsdist: Add ChangeLog and secpoll update for 1.8.1
Remi Gacogne [Fri, 8 Sep 2023 10:09:57 +0000 (12:09 +0200)]
build-packages: Upload provenance attestations to the correct dir
Remi Gacogne [Thu, 7 Sep 2023 12:15:40 +0000 (14:15 +0200)]
Merge pull request #13182 from rgacogne/ddist-test-metrics-with-recvmmsg
dnsdist: Also test metrics with recvmmsg support enabled
Remi Gacogne [Thu, 7 Sep 2023 12:15:24 +0000 (14:15 +0200)]
Merge pull request #13223 from rgacogne/fix-dnsdist-fuzz-target-without-arc4random
dnsdist: dnsdist's fuzzing target needs to link against arc4random
Remi Gacogne [Thu, 7 Sep 2023 11:08:27 +0000 (13:08 +0200)]
dnsdist: dnsdist's fuzzing target needs to link against arc4random
On systems that do not provide arc4random we actually need to link
the internal library in.
Remi Gacogne [Thu, 7 Sep 2023 10:57:13 +0000 (12:57 +0200)]
Merge pull request #13221 from rgacogne/del-fuzz_target_dnsdistcache
dnsdist: Remove the fuzz_target_dnsdistcache binary
Remi Gacogne [Thu, 7 Sep 2023 10:24:23 +0000 (12:24 +0200)]
Merge pull request #12678 from rgacogne/ddist-incoming-nghttp2
dnsdist: Add support for incoming DoH via nghttp2
Remi Gacogne [Thu, 7 Sep 2023 10:09:20 +0000 (12:09 +0200)]
dnsdist: Set the release date for 1.8.1 in the ChangeLog
Remi Gacogne [Mon, 28 Aug 2023 09:03:36 +0000 (11:03 +0200)]
dnsdist: Fix spell checking issues
Remi Gacogne [Mon, 28 Aug 2023 08:57:04 +0000 (10:57 +0200)]
dnsdist: Add ChangeLog and secpoll update for 1.8.1
Remi Gacogne [Thu, 7 Sep 2023 09:51:50 +0000 (11:51 +0200)]
dnsdist: Remove the fuzz_target_dnsdistcache binary
Remi Gacogne [Thu, 7 Sep 2023 09:36:24 +0000 (11:36 +0200)]
Merge pull request #13145 from rgacogne/fuzz-targets-dist
Fix building our fuzzing targets from a dist tarball
Remi Gacogne [Thu, 7 Sep 2023 09:31:24 +0000 (11:31 +0200)]
dnsdist: Only compile and link doh.cc when h2o support is enabled
Remi Gacogne [Thu, 7 Sep 2023 09:30:17 +0000 (11:30 +0200)]
tcpiohandler: Make it clearer which TLS implementation is preferred
Peter van Dijk [Thu, 7 Sep 2023 09:09:02 +0000 (11:09 +0200)]
Merge pull request #13215 from Habbie/auth-4.8.2-docs
auth-4.8.2: secpoll&docs
Remi Gacogne [Fri, 18 Aug 2023 08:47:47 +0000 (10:47 +0200)]
dnsdist: Unbreak incoming DoH w/ h2o
Remi Gacogne [Fri, 18 Aug 2023 06:53:16 +0000 (08:53 +0200)]
dnsdist: Apply suggestions from Charles-Henri Bruyand's review (thanks!)
Remi Gacogne [Mon, 14 Aug 2023 09:21:39 +0000 (11:21 +0200)]
dnsdist: Fix a typo (HTTP/1->2) in the DoH doc, as reported by Frank Louwers (thanks!)
Remi Gacogne [Tue, 1 Aug 2023 09:32:38 +0000 (11:32 +0200)]
dnsdist: Fix formatting in test-dnsdistnghttp2-in_cc.cc
Remi Gacogne [Tue, 1 Aug 2023 09:26:30 +0000 (11:26 +0200)]
dnsdist: Delint test-dnsdistnghttp2-in_cc.cc and dnsdist-nghttp2.cc
Remi Gacogne [Fri, 21 Jul 2023 17:19:15 +0000 (19:19 +0200)]
dnsdist: Fix spelling issues
Remi Gacogne [Fri, 21 Jul 2023 15:53:34 +0000 (17:53 +0200)]
dnsdist: Document the h2o -> nghttp2 upgrade path
Remi Gacogne [Fri, 7 Jul 2023 15:16:02 +0000 (17:16 +0200)]
dnsdist: Remove unused function in outgoing DoH
Remi Gacogne [Thu, 20 Jul 2023 08:07:38 +0000 (10:07 +0200)]
dnsdist: Better logging of backend server identity
Remi Gacogne [Mon, 17 Jul 2023 14:59:48 +0000 (16:59 +0200)]
dnsdist: Remove TCPIOHandler::hasBufferedData() since we cannot rely on it
Remi Gacogne [Mon, 17 Jul 2023 14:58:25 +0000 (16:58 +0200)]
dnsdist: Fix incoming DoT when OpenSSL's read-ahead mode is enabled
Remi Gacogne [Thu, 13 Jul 2023 15:23:22 +0000 (17:23 +0200)]
dnsdist: Enable readAhead by default for TLS and DOH frontends
Remi Gacogne [Thu, 13 Jul 2023 15:23:00 +0000 (17:23 +0200)]
dnsdist: Document the new options to add{DOH,TLS}Local
Remi Gacogne [Tue, 18 Jul 2023 12:37:16 +0000 (14:37 +0200)]
dnsdist: Give the mock Proxy Protocol proxy some time to start
Remi Gacogne [Thu, 13 Jul 2023 14:15:48 +0000 (16:15 +0200)]
dnsdist: Add a test for DoH incoming proxy protocol inside of TLS
Remi Gacogne [Thu, 13 Jul 2023 12:45:38 +0000 (14:45 +0200)]
dnsdist: Add a test for DoH incoming proxy protocol outside of TLS
Remi Gacogne [Wed, 12 Jul 2023 15:46:57 +0000 (17:46 +0200)]
dnsdist: Add support for incoming proxy protocol outside the TLS layer
Remi Gacogne [Wed, 12 Jul 2023 12:41:31 +0000 (14:41 +0200)]
dnsdist: Simplify I/O handling for incoming H2 w/ nghttp2
Remi Gacogne [Wed, 12 Jul 2023 12:40:34 +0000 (14:40 +0200)]
dnsdist: Fix timeout handling for incoming H2 w/ nghttp2
Remi Gacogne [Fri, 30 Jun 2023 15:49:35 +0000 (17:49 +0200)]
dnsdist: Add unit and regression tests for incoming DoH w/ nghttp2
It is quite likely that the underlying TLS layer has buffered some
data already, so we need to consume it before trying to poll the
socket.
Remi Gacogne [Thu, 22 Jun 2023 10:26:04 +0000 (12:26 +0200)]
dnsdist: Make clang-tidy happy
Remi Gacogne [Wed, 21 Jun 2023 08:55:28 +0000 (10:55 +0200)]
dnsdist: Implement read-ahead support for incoming TLS connections
Read-ahead instructs OpenSSL to read more than the number of bytes
we requested from the incoming connection, if possible, and to buffer
it. This provides a huge performance boost by reducing the number
of syscalls because in most cases the data is already available on
the socket to be read even if we cannot know that yet without reading
the data length.
There are two drawbacks:
- we can keep reading on a connection in a loop as long as there is
data available, which should be prevented by our number of concurrent
requests limit ;
- we need to always try to read all the data available before asking
the kernel to wake us up when the socket is readable, because the
data buffered by OpenSSL is obviously not visible to the kernel so
we could wait forever.
Remi Gacogne [Mon, 27 Mar 2023 12:48:19 +0000 (14:48 +0200)]
dnsdist: Test both incoming DoH implementations for TLS resumption
Remi Gacogne [Mon, 27 Mar 2023 12:30:57 +0000 (14:30 +0200)]
dnsdist: Test both incoming DoH implementations in ProxyProtocol tests
Remi Gacogne [Mon, 27 Mar 2023 11:54:49 +0000 (13:54 +0200)]
dnsdist: Test both incoming DoH implementations in Protobuf tests
Remi Gacogne [Mon, 27 Mar 2023 11:54:28 +0000 (13:54 +0200)]
dnsdist: Test both incoming DoH implementations in OCSP tests
Remi Gacogne [Mon, 27 Mar 2023 11:42:08 +0000 (13:42 +0200)]
dnsdist: Test both incoming DoH implementations in Async tests
Remi Gacogne [Fri, 24 Mar 2023 17:12:26 +0000 (18:12 +0100)]
dnsdist: Enable h2o in our workflows since it is now optional
Remi Gacogne [Fri, 24 Mar 2023 17:08:14 +0000 (18:08 +0100)]
dnsdist: Check both h2o and nghttp2 in the DoH regression tests
Peter van Dijk [Wed, 6 Sep 2023 13:49:26 +0000 (15:49 +0200)]
auth-4.8.2: secpoll&docs
Remi Gacogne [Thu, 11 May 2023 15:49:39 +0000 (17:49 +0200)]
dnsdist: Small optimizations for incoming DoH
Remi Gacogne [Fri, 5 May 2023 15:10:14 +0000 (17:10 +0200)]
dnsdist: Small optimization for nghttp2 headers
Remi Gacogne [Mon, 27 Mar 2023 11:41:36 +0000 (13:41 +0200)]
dnsdist: Log when a TC=1 response is received for a DoH query
Remi Gacogne [Mon, 31 Jul 2023 15:07:05 +0000 (17:07 +0200)]
dnsdist: Implement incoming DoH support via nghttp2
Remi Gacogne [Mon, 31 Jul 2023 14:18:02 +0000 (16:18 +0200)]
dnsdist: Refactor the DoH code to be able to have two libraries
Remi Gacogne [Mon, 31 Jul 2023 09:56:30 +0000 (11:56 +0200)]
dnsdist: Make TLSFrontend and TCPIOHandler suitable for DoH as well
Remi Gacogne [Mon, 31 Jul 2023 09:46:16 +0000 (11:46 +0200)]
dnsdist: Get rid of the reference counter for DOHUnit
It is no longer needed since we now rely on moving the unique pointer
around.
Remi Gacogne [Mon, 31 Jul 2023 09:18:30 +0000 (11:18 +0200)]
dnsdist: Prepare for a second incoming DoH provider
h2o becomes optional, and is not enabled by default.
Remi Gacogne [Thu, 7 Sep 2023 07:15:34 +0000 (09:15 +0200)]
Merge pull request #13208 from neheb/pai
remove make_tuple and make_pair
Peter van Dijk [Wed, 6 Sep 2023 20:07:54 +0000 (22:07 +0200)]
Merge pull request #13218 from Habbie/docker-compose-space
switch from `docker-compose` to `docker compose` and stop installing docker-compose because that uninstalls runc
Peter van Dijk [Tue, 29 Aug 2023 13:07:19 +0000 (15:07 +0200)]
switch from `docker-compose` to `sudo docker compose` and
stop installing docker-compose because that uninstalls runc
Peter van Dijk [Wed, 6 Sep 2023 10:18:12 +0000 (12:18 +0200)]
Merge pull request #12086 from zeha/apizonepost
API: Auth: replace zone contents et al
Otto Moerbeek [Wed, 6 Sep 2023 09:49:23 +0000 (11:49 +0200)]
Also remove Wants=nss-lookup.target
Otto Moerbeek [Wed, 6 Sep 2023 08:24:13 +0000 (10:24 +0200)]
rec: remove Before=nss-lookup.target line from unit file
Fixes #13115
Peter van Dijk [Tue, 5 Sep 2023 23:04:01 +0000 (01:04 +0200)]
Merge pull request #13086 from jsoref/speed-bumps
Add speed bumps to bug filing
Remi Gacogne [Tue, 5 Sep 2023 16:10:40 +0000 (18:10 +0200)]
Better formatting of the fuzzing README
Remi Gacogne [Tue, 5 Sep 2023 15:54:30 +0000 (17:54 +0200)]
Merge pull request #13197 from rgacogne/remove-arc4random-warning
arc4random: Fix 'redundant redeclaration’ warnings
Otto Moerbeek [Tue, 5 Sep 2023 10:40:50 +0000 (12:40 +0200)]
Use at(i) instead of [i]
Peter van Dijk [Tue, 5 Sep 2023 10:47:59 +0000 (12:47 +0200)]
wording
Otto Moerbeek [Tue, 5 Sep 2023 08:54:39 +0000 (10:54 +0200)]
Formatting
Peter van Dijk [Tue, 5 Sep 2023 10:23:43 +0000 (12:23 +0200)]
also link to Discussions
Peter van Dijk [Tue, 5 Sep 2023 10:22:24 +0000 (12:22 +0200)]
simplify text
Peter van Dijk [Tue, 5 Sep 2023 10:15:17 +0000 (12:15 +0200)]
Merge pull request #11597 from cmouse/geoipbackend-multi
geoipbackend: Support reading zones from directory
Otto Moerbeek [Tue, 5 Sep 2023 08:40:27 +0000 (10:40 +0200)]
The proper "expired" test is ttd <= now
Otto Moerbeek [Tue, 5 Sep 2023 08:20:50 +0000 (10:20 +0200)]
Implement a way to only dump specific cache(s), undocumented!
Otto Moerbeek [Fri, 1 Sep 2023 13:39:18 +0000 (15:39 +0200)]
rec: implement a more fair way to prune the aggressive cache
Fixes #13109
Rosen Penev [Fri, 1 Sep 2023 08:41:48 +0000 (08:41 +0000)]
remove make_tuple and make_pair
Not needed
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Remi Gacogne [Mon, 4 Sep 2023 12:26:08 +0000 (14:26 +0200)]
Merge pull request #13142 from rgacogne/fix-channel-warning
channel: Fix redundant redeclaration warning