]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
22 months agoSmall fixes in comments and log messages from review 13195/head
Otto Moerbeek [Tue, 19 Sep 2023 07:24:52 +0000 (09:24 +0200)] 
Small fixes in comments and log messages from review

22 months agoAdd 'versionadded'
Otto Moerbeek [Wed, 13 Sep 2023 11:53:08 +0000 (13:53 +0200)] 
Add 'versionadded'

22 months agoIntroduce setting recursor.tcp_threads.
Otto Moerbeek [Wed, 13 Sep 2023 11:47:40 +0000 (13:47 +0200)] 
Introduce setting recursor.tcp_threads.

While working on this, I noticed that after changing table.py
the new lib.rs is generated, but the Serde derives to not seem to get
triggered until afert I do a make clean. To be investigated.

22 months agoBefore this PR, if pdns-distributes-queries is *false* worker threads process both...
Otto Moerbeek [Fri, 1 Sep 2023 07:12:47 +0000 (09:12 +0200)] 
Before this PR, if pdns-distributes-queries is *false* worker threads process both UDP and TCP queries

22 months agoOnly init Lua for workers (both UDP and TCP)
Otto Moerbeek [Fri, 1 Sep 2023 07:06:13 +0000 (09:06 +0200)] 
Only init Lua for workers (both UDP and TCP)

Now that distributor threads do no longer process (TCP) queries, no need to have Lua inited for those

22 months agoAdopt code change suggestions from @rgacogne's review
Otto Moerbeek [Fri, 1 Sep 2023 07:03:40 +0000 (09:03 +0200)] 
Adopt code change suggestions from @rgacogne's review

22 months agoApply spelling fixes
Otto Moerbeek [Thu, 31 Aug 2023 18:26:21 +0000 (20:26 +0200)] 
Apply spelling fixes

Co-authored-by: Remi Gacogne <github@coredump.fr>
22 months agoTweaks and some docs
Otto Moerbeek [Wed, 30 Aug 2023 14:32:55 +0000 (16:32 +0200)] 
Tweaks and some docs

22 months agoInclude all rec threads for CPU usage stats
Otto Moerbeek [Wed, 30 Aug 2023 13:15:30 +0000 (15:15 +0200)] 
Include all rec threads for CPU usage stats

22 months agoAlso count TCP "distributed" queries and show them in the periodic stats
Otto Moerbeek [Wed, 30 Aug 2023 13:07:44 +0000 (15:07 +0200)] 
Also count TCP "distributed" queries and show them in the periodic stats

Do note that the rules to increment various counters are a bit divergent if you compare TCP and UDP

22 months agoIn the singkle thread case, TCP is still handled by a separate thread
Otto Moerbeek [Wed, 30 Aug 2023 12:10:56 +0000 (14:10 +0200)] 
In the singkle thread case, TCP is still handled by a separate thread

22 months agoRun seperate TCP threads. These threads listen and process incoming TCP queries
Otto Moerbeek [Wed, 30 Aug 2023 10:34:34 +0000 (12:34 +0200)] 
Run seperate TCP threads. These threads listen and process incoming TCP queries

TODO: test, validate reuseport behaviour, settings, docs

22 months agoSome more refactoring to get complexity down plus comments on the way tcp-in works
Otto Moerbeek [Tue, 29 Aug 2023 13:54:36 +0000 (15:54 +0200)] 
Some more refactoring to get complexity down plus comments on the way tcp-in works

22 months agoRefactor actual processing of query out of handleRunningTCPQuestion
Otto Moerbeek [Tue, 29 Aug 2023 11:58:31 +0000 (13:58 +0200)] 
Refactor actual processing of query out of handleRunningTCPQuestion

22 months agoMerge pull request #13248 from omoerbeek/rec-prep-5.0.0-alpha1
Otto Moerbeek [Wed, 13 Sep 2023 10:52:49 +0000 (12:52 +0200)] 
Merge pull request #13248 from omoerbeek/rec-prep-5.0.0-alpha1

Prep for rec-5.0.0-alpha1

22 months agoPrep for rec-5.0.0-alpha1 13248/head
Otto Moerbeek [Tue, 12 Sep 2023 07:26:45 +0000 (09:26 +0200)] 
Prep for rec-5.0.0-alpha1

22 months agoMerge pull request #13247 from omoerbeek/rec-fix-docker-build rec-5.0.0-alpha1
Otto Moerbeek [Wed, 13 Sep 2023 08:06:20 +0000 (10:06 +0200)] 
Merge pull request #13247 from omoerbeek/rec-fix-docker-build

rec: fix docker build; it does `make install` without first building the default target

22 months agoMerge pull request #13244 from fredmorcos/rec-settings-minor-fixes
Otto Moerbeek [Wed, 13 Sep 2023 08:02:47 +0000 (10:02 +0200)] 
Merge pull request #13244 from fredmorcos/rec-settings-minor-fixes

Rec settings minor cleanups

22 months agoInstall Rust in docker build env 13247/head
Otto Moerbeek [Wed, 13 Sep 2023 07:15:20 +0000 (09:15 +0200)] 
Install Rust in docker build env

22 months agoMerge pull request #13246 from omoerbeek/omoerbeek-patch-1
Otto Moerbeek [Wed, 13 Sep 2023 06:58:06 +0000 (08:58 +0200)] 
Merge pull request #13246 from omoerbeek/omoerbeek-patch-1

rec: Fix wrongly converted default for "quiet"

22 months agorec: fix docker build; it does `make install` without first building the default...
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

22 months agoFix wrongly converted default for "quiet" 13246/head
Otto Moerbeek [Wed, 13 Sep 2023 06:07:30 +0000 (08:07 +0200)] 
Fix wrongly converted default for "quiet"

22 months agoRec: Settings Rust bridge allow passing references to owned Vecs 13244/head
Fred Morcos [Tue, 12 Sep 2023 21:47:02 +0000 (23:47 +0200)] 
Rec: Settings Rust bridge allow passing references to owned Vecs

22 months agoRevert "Rec: Settings Rust bridge prefer slices over Vec references"
Fred Morcos [Tue, 12 Sep 2023 21:24:12 +0000 (23:24 +0200)] 
Revert "Rec: Settings Rust bridge prefer slices over Vec references"

This reverts commit ea0681a158aa8bc60fdbc8fe39b41d60ae800629.

22 months agoMerge pull request #13243 from omoerbeek/rec-no-random-unittests
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

22 months agodnsdist: Fix the test order dependency in the Dynamic Blocks unit tests 13243/head
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

22 months agoRec: Typos
Fred Morcos [Tue, 12 Sep 2023 12:53:02 +0000 (14:53 +0200)] 
Rec: Typos

22 months agoRec: Settings Rust bridge prefer slices over Vec references
Fred Morcos [Tue, 12 Sep 2023 12:46:18 +0000 (14:46 +0200)] 
Rec: Settings Rust bridge prefer slices over Vec references

22 months agoRec's unit tests (in combination with asan+ubsan) are not ready yet for randomization
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

22 months agoRec: Settings Rust bridge ignore Emacs' .dir-locals.el
Fred Morcos [Tue, 12 Sep 2023 12:45:55 +0000 (14:45 +0200)] 
Rec: Settings Rust bridge ignore Emacs' .dir-locals.el

22 months agoMerge pull request #13237 from omoerbeek/random-unittests
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

22 months agoMerge pull request #13239 from omoerbeek/rec-fix-rust-install
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

22 months agoWith #13101 the cwd of the build changed, adapt call to rust install 13239/head
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

22 months agoBe even more lenient in allowing timing differences 13237/head
Otto Moerbeek [Tue, 12 Sep 2023 10:11:29 +0000 (12:11 +0200)] 
Be even more lenient in allowing timing differences

22 months agoMerge pull request #13101 from romeroalx/add-make-distdir
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

22 months agoMerge pull request #13008 from omoerbeek/rec-gen-settings
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

22 months agoIntroduce randomness in test order to catch hidden dependencies between unit-tests
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.

22 months agoFix typo in function name (both def and caller) 13008/head
Otto Moerbeek [Tue, 12 Sep 2023 07:59:21 +0000 (09:59 +0200)] 
Fix typo in function name (both def and caller)

22 months agoadding make distdir step to build-and-test-all 13101/head
Alexis Romero [Thu, 3 Aug 2023 11:53:27 +0000 (13:53 +0200)] 
adding make distdir step to build-and-test-all

22 months agoIntroduce structured YAML settings for Recursor.
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.

22 months agoMerge pull request #13210 from omoerbeek/rec-systemd-unit-nss
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

22 months agoMerge pull request #13209 from omoerbeek/rec-aggr-cache-pruning
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

22 months agoApply typo-in-comment fixes from code review 13209/head
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>
22 months agoMerge pull request #13227 from rgacogne/ddist-fix-unit-tests-on-el-with-lto
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

22 months agoMerge pull request #13229 from appliedprivacy/patch-2
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

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

22 months agoUpdate documentation to point to proper function 13230/head
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()

22 months agolatency-doh-avg 100k -> 1M typo 13229/head
appliedprivacy [Sat, 9 Sep 2023 10:51:54 +0000 (10:51 +0000)] 
latency-doh-avg 100k -> 1M typo

22 months agodnsdist: Fix unit tests for incoming DoH w/ nghttp2 13227/head
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.

22 months agoMerge pull request #13225 from jsoref/gha-action-log-title
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

22 months agoMerge pull request #13224 from rgacogne/fix-provenance-upload-dir
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

22 months agoFix GitHub Action log title reporting 13225/head
Josh Soref [Fri, 8 Sep 2023 11:59:27 +0000 (07:59 -0400)] 
Fix GitHub Action log title reporting

Follow-up to #13068

22 months agoMerge pull request #13179 from rgacogne/ddist-1.8.1-changelog-secpoll
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

22 months agobuild-packages: Upload provenance attestations to the correct dir 13224/head
Remi Gacogne [Fri, 8 Sep 2023 10:09:57 +0000 (12:09 +0200)] 
build-packages: Upload provenance attestations to the correct dir

22 months agoMerge pull request #13182 from rgacogne/ddist-test-metrics-with-recvmmsg
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

22 months agoMerge pull request #13223 from rgacogne/fix-dnsdist-fuzz-target-without-arc4random
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

22 months agodnsdist: dnsdist's fuzzing target needs to link against arc4random 13223/head
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.

22 months agoMerge pull request #13221 from rgacogne/del-fuzz_target_dnsdistcache
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

22 months agoMerge pull request #12678 from rgacogne/ddist-incoming-nghttp2
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

22 months agodnsdist: Set the release date for 1.8.1 in the ChangeLog 13179/head
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

22 months agodnsdist: Fix spell checking issues
Remi Gacogne [Mon, 28 Aug 2023 09:03:36 +0000 (11:03 +0200)] 
dnsdist: Fix spell checking issues

22 months agodnsdist: Add ChangeLog and secpoll update for 1.8.1
Remi Gacogne [Mon, 28 Aug 2023 08:57:04 +0000 (10:57 +0200)] 
dnsdist: Add ChangeLog and secpoll update for 1.8.1

22 months agodnsdist: Remove the fuzz_target_dnsdistcache binary 13221/head
Remi Gacogne [Thu, 7 Sep 2023 09:51:50 +0000 (11:51 +0200)] 
dnsdist: Remove the fuzz_target_dnsdistcache binary

22 months agoMerge pull request #13145 from rgacogne/fuzz-targets-dist
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

22 months agodnsdist: Only compile and link doh.cc when h2o support is enabled 12678/head
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

22 months agotcpiohandler: Make it clearer which TLS implementation is preferred
Remi Gacogne [Thu, 7 Sep 2023 09:30:17 +0000 (11:30 +0200)] 
tcpiohandler: Make it clearer which TLS implementation is preferred

22 months agoMerge pull request #13215 from Habbie/auth-4.8.2-docs
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

22 months agodnsdist: Unbreak incoming DoH w/ h2o
Remi Gacogne [Fri, 18 Aug 2023 08:47:47 +0000 (10:47 +0200)] 
dnsdist: Unbreak incoming DoH w/ h2o

22 months agodnsdist: Apply suggestions from Charles-Henri Bruyand's review (thanks!)
Remi Gacogne [Fri, 18 Aug 2023 06:53:16 +0000 (08:53 +0200)] 
dnsdist: Apply suggestions from Charles-Henri Bruyand's review (thanks!)

22 months agodnsdist: Fix a typo (HTTP/1->2) in the DoH doc, as reported by Frank Louwers (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!)

22 months agodnsdist: Fix formatting in test-dnsdistnghttp2-in_cc.cc
Remi Gacogne [Tue, 1 Aug 2023 09:32:38 +0000 (11:32 +0200)] 
dnsdist: Fix formatting in test-dnsdistnghttp2-in_cc.cc

22 months agodnsdist: Delint test-dnsdistnghttp2-in_cc.cc and dnsdist-nghttp2.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

22 months agodnsdist: Fix spelling issues
Remi Gacogne [Fri, 21 Jul 2023 17:19:15 +0000 (19:19 +0200)] 
dnsdist: Fix spelling issues

22 months agodnsdist: Document the h2o -> nghttp2 upgrade path
Remi Gacogne [Fri, 21 Jul 2023 15:53:34 +0000 (17:53 +0200)] 
dnsdist: Document the h2o -> nghttp2 upgrade path

22 months agodnsdist: Remove unused function in outgoing DoH
Remi Gacogne [Fri, 7 Jul 2023 15:16:02 +0000 (17:16 +0200)] 
dnsdist: Remove unused function in outgoing DoH

22 months agodnsdist: Better logging of backend server identity
Remi Gacogne [Thu, 20 Jul 2023 08:07:38 +0000 (10:07 +0200)] 
dnsdist: Better logging of backend server identity

22 months agodnsdist: Remove TCPIOHandler::hasBufferedData() since we cannot rely on it
Remi Gacogne [Mon, 17 Jul 2023 14:59:48 +0000 (16:59 +0200)] 
dnsdist: Remove TCPIOHandler::hasBufferedData() since we cannot rely on it

22 months agodnsdist: Fix incoming DoT when OpenSSL's read-ahead mode is enabled
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

22 months agodnsdist: Enable readAhead by default for TLS and DOH frontends
Remi Gacogne [Thu, 13 Jul 2023 15:23:22 +0000 (17:23 +0200)] 
dnsdist: Enable readAhead by default for TLS and DOH frontends

22 months agodnsdist: Document the new options to add{DOH,TLS}Local
Remi Gacogne [Thu, 13 Jul 2023 15:23:00 +0000 (17:23 +0200)] 
dnsdist: Document the new options to add{DOH,TLS}Local

22 months agodnsdist: Give the mock Proxy Protocol proxy some time to start
Remi Gacogne [Tue, 18 Jul 2023 12:37:16 +0000 (14:37 +0200)] 
dnsdist: Give the mock Proxy Protocol proxy some time to start

22 months agodnsdist: Add a test for DoH incoming proxy protocol inside of TLS
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

22 months agodnsdist: Add a test for DoH incoming proxy protocol outside 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

22 months agodnsdist: Add support for incoming proxy protocol outside the TLS layer
Remi Gacogne [Wed, 12 Jul 2023 15:46:57 +0000 (17:46 +0200)] 
dnsdist: Add support for incoming proxy protocol outside the TLS layer

22 months agodnsdist: Simplify I/O handling for incoming H2 w/ nghttp2
Remi Gacogne [Wed, 12 Jul 2023 12:41:31 +0000 (14:41 +0200)] 
dnsdist: Simplify I/O handling for incoming H2 w/ nghttp2

22 months agodnsdist: Fix timeout 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

22 months agodnsdist: Add unit and regression tests for incoming DoH 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.

22 months agodnsdist: Make clang-tidy happy
Remi Gacogne [Thu, 22 Jun 2023 10:26:04 +0000 (12:26 +0200)] 
dnsdist: Make clang-tidy happy

22 months agodnsdist: Implement read-ahead support for incoming TLS connections
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.

22 months agodnsdist: Test both incoming DoH implementations for TLS resumption
Remi Gacogne [Mon, 27 Mar 2023 12:48:19 +0000 (14:48 +0200)] 
dnsdist: Test both incoming DoH implementations for TLS resumption

22 months agodnsdist: Test both incoming DoH implementations in ProxyProtocol tests
Remi Gacogne [Mon, 27 Mar 2023 12:30:57 +0000 (14:30 +0200)] 
dnsdist: Test both incoming DoH implementations in ProxyProtocol tests

22 months agodnsdist: Test both incoming DoH implementations in Protobuf tests
Remi Gacogne [Mon, 27 Mar 2023 11:54:49 +0000 (13:54 +0200)] 
dnsdist: Test both incoming DoH implementations in Protobuf tests

22 months agodnsdist: Test both incoming DoH implementations in OCSP tests
Remi Gacogne [Mon, 27 Mar 2023 11:54:28 +0000 (13:54 +0200)] 
dnsdist: Test both incoming DoH implementations in OCSP tests

22 months agodnsdist: Test both incoming DoH implementations in Async tests
Remi Gacogne [Mon, 27 Mar 2023 11:42:08 +0000 (13:42 +0200)] 
dnsdist: Test both incoming DoH implementations in Async tests

22 months agodnsdist: Enable h2o in our workflows since it is now optional
Remi Gacogne [Fri, 24 Mar 2023 17:12:26 +0000 (18:12 +0100)] 
dnsdist: Enable h2o in our workflows since it is now optional

22 months agodnsdist: Check both h2o and nghttp2 in the DoH regression tests
Remi Gacogne [Fri, 24 Mar 2023 17:08:14 +0000 (18:08 +0100)] 
dnsdist: Check both h2o and nghttp2 in the DoH regression tests

22 months agoauth-4.8.2: secpoll&docs 13215/head
Peter van Dijk [Wed, 6 Sep 2023 13:49:26 +0000 (15:49 +0200)] 
auth-4.8.2: secpoll&docs

22 months agodnsdist: Small optimizations for incoming DoH
Remi Gacogne [Thu, 11 May 2023 15:49:39 +0000 (17:49 +0200)] 
dnsdist: Small optimizations for incoming DoH

22 months agodnsdist: Small optimization for nghttp2 headers
Remi Gacogne [Fri, 5 May 2023 15:10:14 +0000 (17:10 +0200)] 
dnsdist: Small optimization for nghttp2 headers

22 months agodnsdist: Log when a TC=1 response is received for a DoH query
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