]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agospell-chek: Allow 'getifaddrs' 11017/head
Remi Gacogne [Mon, 22 Nov 2021 11:09:13 +0000 (12:09 +0100)] 
spell-chek: Allow 'getifaddrs'

3 years agodnsdist: Add Lua bindings to get the list of network interfaces, addresses
Remi Gacogne [Mon, 22 Nov 2021 11:05:30 +0000 (12:05 +0100)] 
dnsdist: Add Lua bindings to get the list of network interfaces, addresses

3 years agoiputils: Add functions to retrieve the list of network interfaces, addresses
Remi Gacogne [Mon, 22 Nov 2021 10:28:02 +0000 (11:28 +0100)] 
iputils: Add functions to retrieve the list of network interfaces, addresses

Only tested on Linux but should work at least on FreeBSD and OpenBSD
as well.

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 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 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.

3 years agoOnly call setDropOnIdle() if we're actually have a tcp connection.
Otto [Fri, 26 Nov 2021 10:40:32 +0000 (11:40 +0100)] 
Only call setDropOnIdle() if we're actually have a tcp connection.

Also add extra consistency check, d_tcp and d_tcpcOnnection should
likely be squashed into a single thing.

3 years agoCompute step sizes for QM a la RFC 9156
Otto [Wed, 24 Nov 2021 16:29:38 +0000 (17:29 +0100)] 
Compute step sizes for QM a la RFC 9156

3 years agoIf we fall through handleRunningTCPQuestion(), we neeed to keep the connection,
Otto [Fri, 26 Nov 2021 09:22:15 +0000 (10:22 +0100)] 
If we fall through handleRunningTCPQuestion(), we neeed to keep the connection,
there are more bytes to come. handleTCPReadResult() is now a method of a guard.

3 years agodnsdist: Add ChangeLog and secpoll for 1.7.0-beta2 11035/head
Remi Gacogne [Fri, 26 Nov 2021 09:03:02 +0000 (10:03 +0100)] 
dnsdist: Add ChangeLog and secpoll for 1.7.0-beta2

3 years agoMerge pull request #11028 from Habbie/auth-4.4.1-secpoll-docs dnsdist-1.7.0-beta2
Peter van Dijk [Thu, 25 Nov 2021 10:47:04 +0000 (11:47 +0100)] 
Merge pull request #11028 from Habbie/auth-4.4.1-secpoll-docs

auth 4.4.2 secpoll&docs

3 years agoauth 4.4.2 secpoll&docs 11028/head
Peter van Dijk [Tue, 23 Nov 2021 13:54:06 +0000 (14:54 +0100)] 
auth 4.4.2 secpoll&docs

3 years agoMerge pull request #11031 from rgacogne/ddist-fix-missing-visibility
Remi Gacogne [Wed, 24 Nov 2021 16:00:46 +0000 (17:00 +0100)] 
Merge pull request #11031 from rgacogne/ddist-fix-missing-visibility

dnsdist: Add missing visibility attribute on `dnsdist_ffi_dnsquestion_get_qname_hash`

3 years agoMerge pull request #11006 from rgacogne/ddist-show-web-config
Remi Gacogne [Wed, 24 Nov 2021 14:58:40 +0000 (15:58 +0100)] 
Merge pull request #11006 from rgacogne/ddist-show-web-config

dnsdist: Add 'showWebserverConfig'

3 years agoCircleCI: drop formatting check, superseded by GH workflows
Otto [Wed, 24 Nov 2021 14:50:21 +0000 (15:50 +0100)] 
CircleCI: drop formatting check, superseded by GH workflows

3 years agoBetter names
Otto [Wed, 24 Nov 2021 14:33:38 +0000 (15:33 +0100)] 
Better names

3 years agodnsdist: Fix g++/LTO warning about uninitialized dnsheaders in the unit test 11031/head
Remi Gacogne [Wed, 24 Nov 2021 14:20:55 +0000 (15:20 +0100)] 
dnsdist: Fix g++/LTO warning about uninitialized dnsheaders in the unit test

3 years agodnsdist: Add missing visibility attribute on dnsdist_ffi_dnsquestion_get_qname_hash
Remi Gacogne [Wed, 24 Nov 2021 14:19:56 +0000 (15:19 +0100)] 
dnsdist: Add missing visibility attribute on dnsdist_ffi_dnsquestion_get_qname_hash

Making it unusable from Lua FFI when dnsdist is compiled with
`-fvisibility=hidden`.

3 years agoUse guard objects to do the TCP connection bookkeeping and cleanup if needed.
Otto [Wed, 24 Nov 2021 10:12:16 +0000 (11:12 +0100)] 
Use guard objects to do the TCP connection bookkeeping and cleanup if needed.

If a policy drop is to be handled for a TCP connection, do not
answer that query, but do handle already in-flight queries and then close.

3 years agoMerge pull request #10997 from rgacogne/ddist-dump-cached-session-and-connection
Remi Gacogne [Wed, 24 Nov 2021 13:36:32 +0000 (14:36 +0100)] 
Merge pull request #10997 from rgacogne/ddist-dump-cached-session-and-connection

dnsdist: Add a function to know how many TLS sessions are currently cached

3 years agoMerge pull request #11001 from rgacogne/ddist-warn-memory-leak-gnutls
Remi Gacogne [Wed, 24 Nov 2021 13:36:01 +0000 (14:36 +0100)] 
Merge pull request #11001 from rgacogne/ddist-warn-memory-leak-gnutls

dnsdist: Warn that GnuTLS 3.7.x leaks memory when validating certs

3 years agoMerge pull request #10999 from rgacogne/ddist-fix-leak-in-outgoing-tls-session-reuse
Remi Gacogne [Wed, 24 Nov 2021 13:35:50 +0000 (14:35 +0100)] 
Merge pull request #10999 from rgacogne/ddist-fix-leak-in-outgoing-tls-session-reuse

dnsdist: Fix a memory leak when reusing TLS tickets for outgoing connections

3 years agoMerge pull request #10993 from rgacogne/ddist-fix-10988
Remi Gacogne [Wed, 24 Nov 2021 13:35:38 +0000 (14:35 +0100)] 
Merge pull request #10993 from rgacogne/ddist-fix-10988

dnsdist: Fix compiler/static analyzer warnings

3 years agodnsdist: Apply Charles-Henri's suggestions from code review (thanks!) 11006/head
Remi Gacogne [Wed, 24 Nov 2021 09:36:30 +0000 (10:36 +0100)] 
dnsdist: Apply Charles-Henri's suggestions from code review (thanks!)

3 years agoAdd test for the case there was trailing data after the repy (#11018)
Otto [Wed, 24 Nov 2021 09:10:24 +0000 (10:10 +0100)] 
Add test for the case there was trailing data after the repy (#11018)

3 years agoMerge pull request #10986 from omoerbeek/gh-check-formatting
Otto Moerbeek [Tue, 23 Nov 2021 12:42:49 +0000 (13:42 +0100)] 
Merge pull request #10986 from omoerbeek/gh-check-formatting

Check formatting on GH

3 years agoMerge pull request #11012 from Habbie/nsec3param-minimal
Peter van Dijk [Tue, 23 Nov 2021 12:41:32 +0000 (13:41 +0100)] 
Merge pull request #11012 from Habbie/nsec3param-minimal

auth: new default nsec3param settings

3 years agoMerge pull request #11026 from omoerbeek/rec-regr-timing1
Otto Moerbeek [Tue, 23 Nov 2021 11:15:12 +0000 (12:15 +0100)] 
Merge pull request #11026 from omoerbeek/rec-regr-timing1

rec: Loosen timing checks that I have seen tripping in tsan enabled tests.

3 years agoGive steps a name 10986/head
Otto [Tue, 23 Nov 2021 10:53:29 +0000 (11:53 +0100)] 
Give steps a name

3 years agoMerge pull request #11010 from omoerbeek/rec-zero-scope-negcache
Otto Moerbeek [Tue, 23 Nov 2021 10:25:23 +0000 (11:25 +0100)] 
Merge pull request #11010 from omoerbeek/rec-zero-scope-negcache

rec: Do negcache negative results, even when wasVariable() is true

3 years agoFir error reporting when starting up fails 11026/head
Otto [Tue, 23 Nov 2021 10:24:10 +0000 (11:24 +0100)] 
Fir error reporting when starting up fails

3 years agoLoosen timing checks that I have seen tripping in tsan enabled tests.
Otto [Tue, 23 Nov 2021 10:03:44 +0000 (11:03 +0100)] 
Loosen timing checks that I have seen tripping in tsan enabled tests.
There are likely more.

3 years agoMerge pull request #11019 from omoerbeek/rec-regr-vs-libfaketime
Otto Moerbeek [Tue, 23 Nov 2021 09:56:03 +0000 (10:56 +0100)] 
Merge pull request #11019 from omoerbeek/rec-regr-vs-libfaketime

rec: Rec regr vs libfaketime

3 years agoMerge pull request #11018 from omoerbeek/rec-tcp-notify-followup
Otto Moerbeek [Tue, 23 Nov 2021 08:07:45 +0000 (09:07 +0100)] 
Merge pull request #11018 from omoerbeek/rec-tcp-notify-followup

rec: Fix logic botch introduced by notify handling

3 years agoCleanup libfaketime handling in rec regression tests 11019/head
Otto Moerbeek [Mon, 22 Nov 2021 14:28:42 +0000 (15:28 +0100)] 
Cleanup libfaketime handling in rec regression tests
- Use the MT variant for libfaketime, we are MT after all
- It is only needed for auth and LD_PRELOAD is set by the tests where it matters
- It interacts badly with libfstrm and tsan in the recursor
- No more separate run of the dnstap test is needed

3 years agoWhen we drop a notify over TCP, terminate the connection 11018/head
Otto [Mon, 22 Nov 2021 14:18:07 +0000 (15:18 +0100)] 
When we drop a notify over TCP, terminate the connection

3 years agoFix logic botch introduced by notify handing
Otto [Mon, 22 Nov 2021 13:09:55 +0000 (14:09 +0100)] 
Fix logic botch introduced by notify handing

See #10751, some extra scrutiny review is needed to make sure no
other similat issue remains.

3 years agoMerge pull request #11003 from pieterlexis/upstream-changelog
Peter van Dijk [Mon, 22 Nov 2021 11:09:29 +0000 (12:09 +0100)] 
Merge pull request #11003 from pieterlexis/upstream-changelog

docs: Use upstream changelog package

3 years agoMerge pull request #11008 from rgacogne/ddist-raise-socket-buffers
Remi Gacogne [Mon, 22 Nov 2021 08:25:07 +0000 (09:25 +0100)] 
Merge pull request #11008 from rgacogne/ddist-raise-socket-buffers

dnsdist: Add a function to set the UDP recv/snd buffer sizes

3 years agoMerge pull request #11014 from kpfleming/rec-doc-improvement
Otto Moerbeek [Mon, 22 Nov 2021 07:02:08 +0000 (08:02 +0100)] 
Merge pull request #11014 from kpfleming/rec-doc-improvement

rec: Add xref between allow-notify-for-file and forward-zones-file

3 years agorec: Add xref between allow-notify-for-file and forward-zones-file 11014/head
Kevin P. Fleming [Sun, 21 Nov 2021 09:21:50 +0000 (04:21 -0500)] 
rec: Add xref between allow-notify-for-file and forward-zones-file

3 years agoAllow rmem, wmem in the spell checker 11008/head
Remi Gacogne [Fri, 19 Nov 2021 14:27:07 +0000 (15:27 +0100)] 
Allow rmem, wmem in the spell checker

3 years agodnsdist: Keep the system default values for `SO_RCVBUF` and `SO_SNDBUF`
Remi Gacogne [Fri, 19 Nov 2021 14:07:31 +0000 (15:07 +0100)] 
dnsdist: Keep the system default values for `SO_RCVBUF` and `SO_SNDBUF`

3 years agoauth: new default nsec3param settings, fixes #10864 11012/head
Peter van Dijk [Fri, 19 Nov 2021 11:56:39 +0000 (12:56 +0100)] 
auth: new default nsec3param settings, fixes #10864

3 years agoMerge pull request #10990 from omoerbeek/rec-notify-regrr
Otto Moerbeek [Fri, 19 Nov 2021 11:26:21 +0000 (12:26 +0100)] 
Merge pull request #10990 from omoerbeek/rec-notify-regrr

rec: Basic notify test

3 years agoMerge pull request #11005 from omoerbeek/rec-taskq-timeval
Otto Moerbeek [Fri, 19 Nov 2021 11:08:44 +0000 (12:08 +0100)] 
Merge pull request #11005 from omoerbeek/rec-taskq-timeval

rec: Include sys/time.h in taskqueue.hh

3 years agoDo cache negcache results, even when wasVariable() is true 11010/head
Otto [Fri, 19 Nov 2021 10:57:28 +0000 (11:57 +0100)] 
Do cache negcache results, even when wasVariable() is true

See https://datatracker.ietf.org/doc/html/rfc7871#section-7.4
Fixes #10994

3 years agorec: Fix the size of the UDP receive buffer
Remi Gacogne [Fri, 19 Nov 2021 08:53:26 +0000 (09:53 +0100)] 
rec: Fix the size of the UDP receive buffer

3 years agoMerge pull request #11007 from rgacogne/ddist-fix-bounds-checking
Remi Gacogne [Fri, 19 Nov 2021 08:43:17 +0000 (09:43 +0100)] 
Merge pull request #11007 from rgacogne/ddist-fix-bounds-checking

dnsdist: Fix Lua parameters bound checks

3 years agodnsdist: Add a function to set the UDP recv/snd buffer sizes
Remi Gacogne [Thu, 18 Nov 2021 16:38:56 +0000 (17:38 +0100)] 
dnsdist: Add a function to set the UDP recv/snd buffer sizes

And raise them to 16777216 by default.

3 years agoauth,rec: Refactor the setSocket*Buffer functions
Remi Gacogne [Thu, 18 Nov 2021 16:01:32 +0000 (17:01 +0100)] 
auth,rec: Refactor the setSocket*Buffer functions

3 years agodnsdist: Fix Lua parameters bound checks 11007/head
Remi Gacogne [Thu, 18 Nov 2021 15:12:42 +0000 (16:12 +0100)] 
dnsdist: Fix Lua parameters bound checks

3 years agodnsdist: Add 'showWebserverConfig'
Remi Gacogne [Thu, 18 Nov 2021 15:09:48 +0000 (16:09 +0100)] 
dnsdist: Add 'showWebserverConfig'

3 years agoInclude sys/time.h; needed on musl; fixes #11000 11005/head
Otto [Thu, 18 Nov 2021 14:42:18 +0000 (15:42 +0100)] 
Include sys/time.h; needed on musl; fixes #11000

3 years agodocs: Use upstream changelog package 11003/head
Pieter Lexis [Thu, 18 Nov 2021 12:19:23 +0000 (13:19 +0100)] 
docs: Use upstream changelog package

3 years agoMerge pull request #10996 from aerique/feature/update-debian-bullseye-for-repo-script
Peter van Dijk [Thu, 18 Nov 2021 11:25:40 +0000 (12:25 +0100)] 
Merge pull request #10996 from aerique/feature/update-debian-bullseye-for-repo-script

Add `rec-45` for Debian Bullseye to repo test script.

3 years agodnsdist: Warn that GnuTLS 3.7.x leaks memory when validating certs 11001/head
Remi Gacogne [Thu, 18 Nov 2021 10:56:33 +0000 (11:56 +0100)] 
dnsdist: Warn that GnuTLS 3.7.x leaks memory when validating certs

In some configurations that we can't detect (PKCS11 support enabled,
with a default PKCS11 trust store), GnuTLS from 3.7.0 to at least
3.7.2 leaks memory when validating a server certificate. The issue
has been reported to GnuTLS and acknowledged, but there is no
available fix yet.

3 years agodnsdist: Fix a memory leak when reusing TLS tickets for outgoing connections 10999/head
Remi Gacogne [Wed, 17 Nov 2021 18:03:46 +0000 (19:03 +0100)] 
dnsdist: Fix a memory leak when reusing TLS tickets for outgoing connections

We were not properly freeing the memory of TLS session tickets reused
for outgoing TLS (DoT / DoH) connections.

Reported by Stéphane Bortzmeyer (many thanks!).