]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoauth: improve tcp exception handling 11122/head
Kees Monshouwer [Wed, 22 Dec 2021 12:18:57 +0000 (13:18 +0100)] 
auth: improve tcp exception handling

3 years agoMerge pull request #11095 from Habbie/upgrade-notes-11081
Peter van Dijk [Wed, 15 Dec 2021 14:38:36 +0000 (15:38 +0100)] 
Merge pull request #11095 from Habbie/upgrade-notes-11081

dnsdist, rec, auth: upgrade notes for 11081

3 years agoMerge pull request #10734 from rgacogne/ddist-async-tls
Remi Gacogne [Wed, 15 Dec 2021 14:12:56 +0000 (15:12 +0100)] 
Merge pull request #10734 from rgacogne/ddist-async-tls

dnsdist: Add experimental support for TLS asynchronous engines

3 years agoMerge pull request #11101 from omoerbeek/auth-errno-clobbered
Otto Moerbeek [Wed, 15 Dec 2021 14:03:13 +0000 (15:03 +0100)] 
Merge pull request #11101 from omoerbeek/auth-errno-clobbered

auth: save errno value as close(2) might clobber it

3 years agoMerge pull request #11075 from rgacogne/ddist-fix-dropped-doh-cross-responses
Remi Gacogne [Wed, 15 Dec 2021 13:18:02 +0000 (14:18 +0100)] 
Merge pull request #11075 from rgacogne/ddist-fix-dropped-doh-cross-responses

dnsdist: Fix a double-free when a DoH cross-protocol response is dropped

3 years agoauth: save errno value as close(2) might clobber it 11101/head
Otto [Wed, 15 Dec 2021 12:40:20 +0000 (13:40 +0100)] 
auth: save errno value as close(2) might clobber it

3 years agodnsdist: Clarify that if the call failed we still own the DOHUnit 11075/head
Remi Gacogne [Wed, 15 Dec 2021 11:19:11 +0000 (12:19 +0100)] 
dnsdist: Clarify that if the call failed we still own the DOHUnit

3 years agodnsdist: Add comments on reference counting around our internal pipe
Remi Gacogne [Wed, 15 Dec 2021 10:49:29 +0000 (11:49 +0100)] 
dnsdist: Add comments on reference counting around our internal pipe

3 years agodnsdist: Use an alias for the DOHUnit unique pointer
Remi Gacogne [Wed, 15 Dec 2021 09:54:07 +0000 (10:54 +0100)] 
dnsdist: Use an alias for the DOHUnit unique pointer

3 years agodnsdist: Fix typo spotted by Otto
Remi Gacogne [Wed, 15 Dec 2021 09:53:28 +0000 (10:53 +0100)] 
dnsdist: Fix typo spotted by Otto

3 years agoMerge pull request #11059 from chbruyand/dnsdist-lua-ttl-limit
Charles-Henri Bruyand [Tue, 14 Dec 2021 16:22:50 +0000 (17:22 +0100)] 
Merge pull request #11059 from chbruyand/dnsdist-lua-ttl-limit

dnsdist: add lua support to limit TTL values of responses

3 years agoMerge pull request #10984 from danel1/master
Pieter Lexis [Tue, 14 Dec 2021 09:47:20 +0000 (10:47 +0100)] 
Merge pull request #10984 from danel1/master

docs: Add hint on how to find generic records in SQL backends

3 years agodnsdist, rec, auth: upgrade notes for 11081 11095/head
Peter van Dijk [Mon, 13 Dec 2021 11:05:44 +0000 (12:05 +0100)] 
dnsdist, rec, auth: upgrade notes for 11081

3 years agoMerge pull request #11081 from nvaatstra/docker-unprivileged dnsdist-1.8.0-alpha0
Peter van Dijk [Mon, 13 Dec 2021 08:13:37 +0000 (09:13 +0100)] 
Merge pull request #11081 from nvaatstra/docker-unprivileged

Docker images: Remove capability requirements

3 years agoAdditional note on Docker Engine version where the requirement of the additional... 11081/head
Nico Vaatstra [Thu, 9 Dec 2021 11:39:29 +0000 (12:39 +0100)] 
Additional note on Docker Engine version where the requirement of the additional capability was dropped

3 years agoMerge pull request #11061 from Habbie/auth-4.6.0-alpha2-docs-secpoll
Peter van Dijk [Thu, 9 Dec 2021 10:44:12 +0000 (11:44 +0100)] 
Merge pull request #11061 from Habbie/auth-4.6.0-alpha2-docs-secpoll

auth-4.6.0-beta1: secpoll&docs

3 years agoauth-4.6.0-beta1: secpoll&docs 11061/head
Peter van Dijk [Thu, 2 Dec 2021 12:16:30 +0000 (13:16 +0100)] 
auth-4.6.0-beta1: secpoll&docs

3 years agoRemove capability requirements from Docker images
Nico Vaatstra [Wed, 8 Dec 2021 15:28:42 +0000 (16:28 +0100)] 
Remove capability requirements from Docker images

3 years agoMerge pull request #11078 from rgacogne/ddist-ffi-spoof-raw-no-const
Remi Gacogne [Wed, 8 Dec 2021 15:16:01 +0000 (16:16 +0100)] 
Merge pull request #11078 from rgacogne/ddist-ffi-spoof-raw-no-const

dnsdist: Fix const-correctness of dnsdist_ffi_raw_value_t's value

3 years agodnsdist: Increment the DoH ref counter before writing to the pipe
Remi Gacogne [Wed, 8 Dec 2021 14:31:18 +0000 (15:31 +0100)] 
dnsdist: Increment the DoH ref counter before writing to the pipe

As far as I can tell this is not actually needed, as we decrement
it right away, but it prevents TSAN from reporting a race when the
UDP response comes very fast, is truncated, and the query is then
passed to a TCP worker. TSAN seems to think that the thread is still
sending the UDP query when we touch it again in the TCP worker, which
does not really make sense to me.
My guess is that the memory barrier needed to update the ref counter
makes TSAN happy, but I might be missing something.

3 years agodnsdist: Fix const-correctness of dnsdist_ffi_raw_value_t's value 11078/head auth-4.7.0-alpha0
Remi Gacogne [Wed, 8 Dec 2021 11:41:23 +0000 (12:41 +0100)] 
dnsdist: Fix const-correctness of dnsdist_ffi_raw_value_t's value

This prevent an allocation and a copy since we can now directly pass
a Lua string.

3 years agodnsdist: Wrap the DOHUnit object in a unique_ptr whenever possible
Remi Gacogne [Wed, 8 Dec 2021 11:31:00 +0000 (12:31 +0100)] 
dnsdist: Wrap the DOHUnit object in a unique_ptr whenever possible

3 years agodnsdist: Refactoring of the DoH unit handling
Remi Gacogne [Wed, 8 Dec 2021 10:15:08 +0000 (11:15 +0100)] 
dnsdist: Refactoring of the DoH unit handling

3 years agodnsdist: Fix a leak when a UDP response for DoH is truncated
Remi Gacogne [Wed, 8 Dec 2021 10:13:34 +0000 (11:13 +0100)] 
dnsdist: Fix a leak when a UDP response for DoH is truncated

3 years agodnsdist: Fix a double-free when a DoH cross-protocol response is dropped
Remi Gacogne [Tue, 7 Dec 2021 16:41:22 +0000 (17:41 +0100)] 
dnsdist: Fix a double-free when a DoH cross-protocol response is dropped

3 years agoMerge pull request #11073 from jsoref/grammar auth-4.6.0-beta1
Pieter Lexis [Tue, 7 Dec 2021 12:12:02 +0000 (13:12 +0100)] 
Merge pull request #11073 from jsoref/grammar

Minor fixes

3 years agoMinor fixes 11073/head
Josh Soref [Tue, 7 Dec 2021 09:21:44 +0000 (04:21 -0500)] 
Minor fixes

Guided by app.grammarly.com

3 years agoMerge pull request #11070 from omoerbeek/rec-regr-logs
Otto Moerbeek [Mon, 6 Dec 2021 14:27:52 +0000 (15:27 +0100)] 
Merge pull request #11070 from omoerbeek/rec-regr-logs

rec: Regression tests: startup/cleanup fixes

3 years agoMerge pull request #11068 from Habbie/bind-hybrid-zone-cache
Peter van Dijk [Mon, 6 Dec 2021 11:56:02 +0000 (12:56 +0100)] 
Merge pull request #11068 from Habbie/bind-hybrid-zone-cache

auth: prevent bind-hybrid+zone-cache

3 years agoMerge pull request #11067 from Habbie/pdnsutil-ds-sha1-verbose
Peter van Dijk [Mon, 6 Dec 2021 11:55:05 +0000 (12:55 +0100)] 
Merge pull request #11067 from Habbie/pdnsutil-ds-sha1-verbose

pdnsutil: skip SHA1 DSes except in verbose mode, fixes #11045

3 years agoMerge pull request #11066 from zeha/auth-api-zonecache-flush-small
Peter van Dijk [Mon, 6 Dec 2021 11:54:33 +0000 (12:54 +0100)] 
Merge pull request #11066 from zeha/auth-api-zonecache-flush-small

Auth: add zone to zonecache on flush API endpoint

3 years agoUpdate regression-tests.dnsdist/test_Responses.py 11059/head
Charles-Henri Bruyand [Mon, 6 Dec 2021 11:49:37 +0000 (12:49 +0100)] 
Update regression-tests.dnsdist/test_Responses.py

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoMerge pull request #11071 from PowerDNS/omoerbeek-patch-1
Peter van Dijk [Mon, 6 Dec 2021 11:49:09 +0000 (12:49 +0100)] 
Merge pull request #11071 from PowerDNS/omoerbeek-patch-1

Wrong title of check

3 years agoMerge pull request #11069 from omoerbeek/rec-no-eventtrace-on-no-lua
Otto Moerbeek [Mon, 6 Dec 2021 08:29:36 +0000 (09:29 +0100)] 
Merge pull request #11069 from omoerbeek/rec-no-eventtrace-on-no-lua

rec: Do not generate eventtrace records if no Lua hook is defined

3 years agoCleanup start and stop code 11070/head
Otto Moerbeek [Fri, 3 Dec 2021 14:29:09 +0000 (15:29 +0100)] 
Cleanup start and stop code

- more clearly print startup logs in case of exec error
- do not try to kill a process that's already dead
- do not call exit, but throw an AssertionError on startup issues

Also print logs on no exception

3 years agofix wrong constants used in regression tests
Charles-Henri Bruyand [Fri, 3 Dec 2021 18:06:42 +0000 (19:06 +0100)] 
fix wrong constants used in regression tests

3 years agoWrong title of check 11071/head
Otto Moerbeek [Fri, 3 Dec 2021 16:18:07 +0000 (17:18 +0100)] 
Wrong title of check

3 years agodnsdist: Hopefully appease the formatting gods 10734/head
Remi Gacogne [Fri, 3 Dec 2021 15:55:06 +0000 (16:55 +0100)] 
dnsdist: Hopefully appease the formatting gods

3 years agorec: Handle "cannot happen" Async results by raising an exception
Remi Gacogne [Fri, 3 Dec 2021 15:51:50 +0000 (16:51 +0100)] 
rec: Handle "cannot happen" Async results by raising an exception

3 years agodnsdist: Better wording, as suggested by Josh Soref (thanks!)
Remi Gacogne [Fri, 3 Dec 2021 15:50:26 +0000 (16:50 +0100)] 
dnsdist: Better wording, as suggested by Josh Soref (thanks!)

3 years agodnsdist: Fix broken indentation, as spotted by Josh Soref (thanks!)
Remi Gacogne [Fri, 3 Dec 2021 15:49:46 +0000 (16:49 +0100)] 
dnsdist: Fix broken indentation, as spotted by Josh Soref (thanks!)

3 years agolibssl: Warn when async mode is requested but not supported
Remi Gacogne [Fri, 3 Dec 2021 15:43:12 +0000 (16:43 +0100)] 
libssl: Warn when async mode is requested but not supported

3 years agolibssl: Add the name of the TLS engine in the error message
Remi Gacogne [Fri, 3 Dec 2021 15:40:19 +0000 (16:40 +0100)] 
libssl: Add the name of the TLS engine in the error message

3 years agodnsdist: Move TLS async mode to 1.8.0
Remi Gacogne [Fri, 3 Dec 2021 15:35:22 +0000 (16:35 +0100)] 
dnsdist: Move TLS async mode to 1.8.0

3 years agodnsdist: improve dnsdist_ffi_dnsresponse_t FFI integration
Charles-Henri Bruyand [Fri, 3 Dec 2021 15:29:14 +0000 (16:29 +0100)] 
dnsdist: improve dnsdist_ffi_dnsresponse_t FFI integration

3 years agodnsdist: Wait for any TLS async job to be done before deleting the state
Remi Gacogne [Wed, 22 Sep 2021 13:58:49 +0000 (15:58 +0200)] 
dnsdist: Wait for any TLS async job to be done before deleting the state

3 years agodnsdist: Fix building on older OpenSSL versions (no engine, no async)
Remi Gacogne [Mon, 20 Sep 2021 09:02:59 +0000 (11:02 +0200)] 
dnsdist: Fix building on older OpenSSL versions (no engine, no async)

3 years agodnsdist: Fix typo reported by Chris Hofstaedtler (thanks!)
Remi Gacogne [Mon, 20 Sep 2021 09:02:09 +0000 (11:02 +0200)] 
dnsdist: Fix typo reported by Chris Hofstaedtler (thanks!)

3 years agodnsdist: Add experimental support for TLS asynchronous engines
Remi Gacogne [Fri, 17 Sep 2021 15:31:22 +0000 (17:31 +0200)] 
dnsdist: Add experimental support for TLS asynchronous engines

3 years agoauth API: add zone to zonecache in flush endpoint 11066/head
Chris Hofstaedtler [Fri, 3 Dec 2021 12:52:38 +0000 (13:52 +0100)] 
auth API: add zone to zonecache in flush endpoint

3 years agoauth: prevent bind-hybrid+zone-cache, fixes #10658 11068/head
Peter van Dijk [Fri, 3 Dec 2021 11:51:10 +0000 (12:51 +0100)] 
auth: prevent bind-hybrid+zone-cache, fixes #10658

3 years agoauth API: purge entire zone from cache, not just zone-level records
Chris Hofstaedtler [Fri, 3 Dec 2021 12:45:34 +0000 (13:45 +0100)] 
auth API: purge entire zone from cache, not just zone-level records

3 years agoMerge pull request #11064 from omoerbeek/docs-secpoll-status
Otto Moerbeek [Fri, 3 Dec 2021 12:26:32 +0000 (13:26 +0100)] 
Merge pull request #11064 from omoerbeek/docs-secpoll-status

secpoll: for pre-releases, use status 2 when supserseded.

3 years agoDo not generate eventtrace records if no Lua hook is defined 11069/head
Otto [Fri, 3 Dec 2021 12:24:45 +0000 (13:24 +0100)] 
Do not generate eventtrace records if no Lua hook is defined

3 years agopdnsutil: skip SHA1 DSes except in verbose mode, fixes #11045 11067/head
Peter van Dijk [Fri, 3 Dec 2021 11:38:25 +0000 (12:38 +0100)] 
pdnsutil: skip SHA1 DSes except in verbose mode, fixes #11045

3 years agoFor pre-releases, use status 2 when supserseded. 11064/head
Otto [Fri, 3 Dec 2021 08:18:41 +0000 (09:18 +0100)] 
For pre-releases, use status 2 when supserseded.

3 years agoMerge pull request #11063 from omoerbeek/rec-prep-4.6.0-rc1
Otto Moerbeek [Fri, 3 Dec 2021 09:32:21 +0000 (10:32 +0100)] 
Merge pull request #11063 from omoerbeek/rec-prep-4.6.0-rc1

rec: Prep for rec-4.6.0-rc1

3 years agoMerge pull request #11054 from rgacogne/ddist-fix-webserver-headers-doc
Remi Gacogne [Fri, 3 Dec 2021 09:11:16 +0000 (10:11 +0100)] 
Merge pull request #11054 from rgacogne/ddist-fix-webserver-headers-doc

dnsdist: Fix 'custom_headers' -> 'customHeaders' in the webserver doc

3 years agoUpdate pdns/recursordist/docs/changelog/4.6.rst 11063/head
Otto Moerbeek [Fri, 3 Dec 2021 08:45:51 +0000 (09:45 +0100)] 
Update pdns/recursordist/docs/changelog/4.6.rst

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoPrep for rec-4.6.0-rc1
Otto [Wed, 1 Dec 2021 15:21:09 +0000 (16:21 +0100)] 
Prep for rec-4.6.0-rc1

3 years agodnsdist: add lua support to limit reponse TTL values
Charles-Henri Bruyand [Wed, 1 Dec 2021 13:57:46 +0000 (14:57 +0100)] 
dnsdist: add lua support to limit reponse TTL values

3 years agoMerge pull request #10982 from omoerbeek/systemd-dir-env-cond
Otto Moerbeek [Wed, 1 Dec 2021 12:13:40 +0000 (13:13 +0100)] 
Merge pull request #10982 from omoerbeek/systemd-dir-env-cond

Condition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed

3 years agoCondition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed 10982/head
Otto [Mon, 15 Nov 2021 10:48:22 +0000 (11:48 +0100)] 
Condition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed

3 years agodnsdist: Fix 'custom_headers' -> 'customHeaders' in the webserver doc 11054/head
Remi Gacogne [Wed, 1 Dec 2021 08:53:43 +0000 (09:53 +0100)] 
dnsdist: Fix 'custom_headers' -> 'customHeaders' in the webserver doc

`setWebserverConfig()` accepts a 'customHeaders' key, and not a
'custom_headers' one. Also update the documentation for `webserver()`
where it does not really matter so they are in sync.

3 years agoMerge pull request #11039 from rgacogne/ddist-split-advanced-regression
Remi Gacogne [Tue, 30 Nov 2021 13:01:41 +0000 (14:01 +0100)] 
Merge pull request #11039 from rgacogne/ddist-split-advanced-regression

dnsdist: Split the huge test_Advanced regression test file

3 years agoMerge pull request #11043 from omoerbeek/rec-regr-fast-startup-teardown
Otto Moerbeek [Tue, 30 Nov 2021 11:53:30 +0000 (12:53 +0100)] 
Merge pull request #11043 from omoerbeek/rec-regr-fast-startup-teardown

rec: Regression tests: smarter and faster startup and teardown of auth and rec

3 years agoMerge pull request #11050 from omoerbeek/rec-catch-guard-ex
Otto Moerbeek [Tue, 30 Nov 2021 11:02:40 +0000 (12:02 +0100)] 
Merge pull request #11050 from omoerbeek/rec-catch-guard-ex

rec: Catch an exception in guard destructor as seen by coverity.

3 years agoMerge pull request #11033 from omoerbeek/circleci-drop-formatting
Otto Moerbeek [Tue, 30 Nov 2021 11:00:15 +0000 (12:00 +0100)] 
Merge pull request #11033 from omoerbeek/circleci-drop-formatting

CircleCI: drop formatting check, superseded by GH workflows

3 years agoWait for web server to come online before proceeding 11043/head rec-4.7.0-alpha0
Otto [Tue, 30 Nov 2021 10:55:59 +0000 (11:55 +0100)] 
Wait for web server to come online before proceeding

3 years agoSet timeout on TCP connect attempt
Otto [Tue, 30 Nov 2021 06:55:10 +0000 (07:55 +0100)] 
Set timeout on TCP connect attempt

3 years agoWait for webserver to come up
Otto [Mon, 29 Nov 2021 11:14:55 +0000 (12:14 +0100)] 
Wait for webserver to come up

3 years agoWait until outgoing requests stabilizes before starting tests, rec might stil be...
Otto [Mon, 29 Nov 2021 09:56:23 +0000 (10:56 +0100)] 
Wait until outgoing requests stabilizes before starting tests, rec might stil be busy resolving hints.

3 years agoSmarter and faster startup and teardown of auth and rec
Otto [Mon, 29 Nov 2021 08:47:40 +0000 (09:47 +0100)] 
Smarter and faster startup and teardown of auth and rec

Instead of having a fixed 1 or 2s delay, poll the TCP port to see
if rec or auth has started up in a semi-tight loop: a loop with a
small sleep.  For teardown we poll the wait status using poll() in
a similar loop.

3 years agoCatch an exception in guard destructor as seen by coverity. 11050/head
Otto [Tue, 30 Nov 2021 09:03:57 +0000 (10:03 +0100)] 
Catch an exception in guard destructor as seen by coverity.

3 years agoMerge pull request #11046 from phonedph1/patch-31
Otto Moerbeek [Tue, 30 Nov 2021 06:59:08 +0000 (07:59 +0100)] 
Merge pull request #11046 from phonedph1/patch-31

Update dq.rst

3 years agoMerge pull request #11047 from phonedph1/patch-32
Peter van Dijk [Mon, 29 Nov 2021 22:09:04 +0000 (23:09 +0100)] 
Merge pull request #11047 from phonedph1/patch-32

Update dq.rst

3 years agoUpdate dq.rst 11047/head
phonedph1 [Mon, 29 Nov 2021 22:08:16 +0000 (15:08 -0700)] 
Update dq.rst

3 years agoUpdate dq.rst 11046/head
phonedph1 [Mon, 29 Nov 2021 22:02:14 +0000 (15:02 -0700)] 
Update dq.rst

3 years agoMerge pull request #11044 from omoerbeek/rec-regr-auth-v6
Otto Moerbeek [Mon, 29 Nov 2021 15:30:04 +0000 (16:30 +0100)] 
Merge pull request #11044 from omoerbeek/rec-regr-auth-v6

rec: regression test: Fix v6 setup and start using a more modern auth on circleci

3 years agoFix error in test zone that auth-45 does not like 11044/head
Otto [Mon, 29 Nov 2021 13:48:09 +0000 (14:48 +0100)] 
Fix error in test zone that auth-45 does not like

3 years agoMerge pull request #11035 from rgacogne/ddist-17-beta2
Remi Gacogne [Mon, 29 Nov 2021 13:00:47 +0000 (14:00 +0100)] 
Merge pull request #11035 from rgacogne/ddist-17-beta2

dnsdist: Add ChangeLog and secpoll for 1.7.0-beta2

3 years agoOne more occurence of --local-ipv6
Otto [Mon, 29 Nov 2021 11:52:09 +0000 (12:52 +0100)] 
One more occurence of --local-ipv6

3 years agoMerge pull request #11036 from omoerbeek/rec-qm-9156
Otto Moerbeek [Mon, 29 Nov 2021 11:16:58 +0000 (12:16 +0100)] 
Merge pull request #11036 from omoerbeek/rec-qm-9156

rec: Compute step sizes for QM a la RFC 9156

3 years agoFix v6 setup and start using a more modern auth on circleci
Otto [Mon, 29 Nov 2021 10:56:25 +0000 (11:56 +0100)] 
Fix v6 setup and start using a more modern auth on circleci

3 years agoMerge pull request #11042 from jsoref/recursordist-lua-scripting-doc-grammar
Otto Moerbeek [Mon, 29 Nov 2021 09:58:06 +0000 (10:58 +0100)] 
Merge pull request #11042 from jsoref/recursordist-lua-scripting-doc-grammar

doc: grammar tweaks for recursordist lua-scripting

3 years agoApply suggestions from code review 11036/head
Otto Moerbeek [Mon, 29 Nov 2021 09:15:22 +0000 (10:15 +0100)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agodoc: grammar tweaks for recursordist lua-scripting 11042/head
Josh Soref [Sun, 28 Nov 2021 20:14:39 +0000 (15:14 -0500)] 
doc: grammar tweaks for recursordist lua-scripting

3 years agoMerge pull request #11041 from omoerbeek/rec-lua-blocking-docs
Otto Moerbeek [Sun, 28 Nov 2021 14:02:53 +0000 (15:02 +0100)] 
Merge pull request #11041 from omoerbeek/rec-lua-blocking-docs

rec: Warn about blocking calls from Lua

3 years agoWarn about blocking calls from Lua 11041/head
Otto [Sun, 28 Nov 2021 08:20:31 +0000 (09:20 +0100)] 
Warn about blocking calls from Lua

3 years agoMerge pull request #11037 from rgacogne/ddist-healthcheck-reuse-tls-session
Remi Gacogne [Fri, 26 Nov 2021 15:53:48 +0000 (16:53 +0100)] 
Merge pull request #11037 from rgacogne/ddist-healthcheck-reuse-tls-session

dnsdist: Reuse and save the TLS session tickets in DoT healthchecks

3 years agoAlos drop formatting job from the global jobs: 11033/head
Otto [Fri, 26 Nov 2021 14:14:36 +0000 (15:14 +0100)] 
Alos drop formatting job from the global jobs:

3 years agoMerge pull request #11030 from omoerbeek/rec-incoming-tcp-finalize
Otto Moerbeek [Fri, 26 Nov 2021 14:04:16 +0000 (15:04 +0100)] 
Merge pull request #11030 from omoerbeek/rec-incoming-tcp-finalize

Rec incoming tcp bookkeeping

3 years agodnsdist: Use `time()` instead of `gettimeofday()`, as suggested by Otto 11037/head
Remi Gacogne [Fri, 26 Nov 2021 13:48:16 +0000 (14:48 +0100)] 
dnsdist: Use `time()` instead of `gettimeofday()`, as suggested by Otto

3 years agodnsdist: Split the huge test_Advanced regression test file 11039/head
Remi Gacogne [Fri, 26 Nov 2021 13:29:51 +0000 (14:29 +0100)] 
dnsdist: Split the huge test_Advanced regression test file

- The Lua FFI tests moved to `test_LuaFFI.py`
- the rules and actions to `test_RulesActions.py`
- and test_Advanced now contains only tests non directly related to
specific rules and actions

3 years agotypo in comment 11030/head
Otto Moerbeek [Fri, 26 Nov 2021 13:08:56 +0000 (14:08 +0100)] 
typo in comment

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoMerge pull request #11038 from omoerbeek/rec-ci-mo-tsan-for-now
Otto Moerbeek [Fri, 26 Nov 2021 12:56:58 +0000 (13:56 +0100)] 
Merge pull request #11038 from omoerbeek/rec-ci-mo-tsan-for-now

rec: Disable tsan regression runs for rec for now,

3 years agodnsdist: Update the outgoing DoT tests now that we save TLS tickets during healthchecks
Remi Gacogne [Fri, 26 Nov 2021 12:51:13 +0000 (13:51 +0100)] 
dnsdist: Update the outgoing DoT tests now that we save TLS tickets during healthchecks

3 years agoPrepend labels starting with an underscore
Otto [Fri, 26 Nov 2021 12:28:53 +0000 (13:28 +0100)] 
Prepend labels starting with an underscore

3 years agoDisable tsan regression runs for rec for now, there is a failure 11038/head
Otto [Fri, 26 Nov 2021 11:21:23 +0000 (12:21 +0100)] 
Disable tsan regression runs for rec for now, there is a failure
mode that if it hits makes almost all remaining test fail.  Symptom
is that the auths do not start up properly.

3 years agodnsdist: Reuse and save the TLS session tickets in DoT healthchecks
Remi Gacogne [Fri, 26 Nov 2021 11:15:09 +0000 (12:15 +0100)] 
dnsdist: Reuse and save the TLS session tickets in DoT healthchecks

This reduces the cost of the healthchecks themselves while saving the
TLS session reduces the cost of opening of a DoT connection for actual
queries later on.
In the future a refactoring of the TCP/DoT healthcheck code to be more
like the "black box" approach used for DoH would be nice to have.