]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agodnsdist: Fix wrong eBPF values (qtype, counter) being inserted for qnames 11565/head
Remi Gacogne [Wed, 20 Apr 2022 12:32:14 +0000 (14:32 +0200)] 
dnsdist: Fix wrong eBPF values (qtype, counter) being inserted for qnames

3 years agoMerge pull request #11381 from omoerbeek/rec-dynamic-root-refresh-period
Otto Moerbeek [Thu, 14 Apr 2022 14:24:13 +0000 (16:24 +0200)] 
Merge pull request #11381 from omoerbeek/rec-dynamic-root-refresh-period

rec: Adaptive root refresh interval, normally at 80% of max-cache-ttl

3 years agoMerge pull request #11518 from fredmorcos/add-libdecaf-to-github-actions
Peter van Dijk [Thu, 14 Apr 2022 12:52:41 +0000 (14:52 +0200)] 
Merge pull request #11518 from fredmorcos/add-libdecaf-to-github-actions

Add libdecaf (auth) tests to Github Actions

3 years agoRefer to new root hint handling info from settings docs 11381/head
Otto Moerbeek [Thu, 14 Apr 2022 12:24:27 +0000 (14:24 +0200)] 
Refer to new root hint handling info from settings docs

3 years agoMerge pull request #11527 from omoerbeek/prep-rec-4.7.0-beta1
Otto Moerbeek [Thu, 14 Apr 2022 12:26:25 +0000 (14:26 +0200)] 
Merge pull request #11527 from omoerbeek/prep-rec-4.7.0-beta1

rec: Prep for rec-4.7.0-beta1

3 years agoDocument more details of root-hints handling
Otto Moerbeek [Thu, 14 Apr 2022 11:03:15 +0000 (13:03 +0200)] 
Document more details of root-hints handling

3 years agoMerge pull request #11536 from omoerbeek/rec-nitems
Otto Moerbeek [Thu, 14 Apr 2022 10:21:01 +0000 (12:21 +0200)] 
Merge pull request #11536 from omoerbeek/rec-nitems

Fix Coverity 1487923 Out-of-bounds read (wrong use of sizeof)

3 years agoMove to std:::array for name array, as suggested by rgacogne 11536/head
Otto Moerbeek [Thu, 14 Apr 2022 07:57:34 +0000 (09:57 +0200)] 
Move to std:::array for name array, as suggested by rgacogne

3 years agoMerge pull request #11531 from rgacogne/ddist-small-improvements
Remi Gacogne [Thu, 14 Apr 2022 07:52:17 +0000 (09:52 +0200)] 
Merge pull request #11531 from rgacogne/ddist-small-improvements

dnsdist: Prevent allocations in two corner cases

3 years agoAdaptive root refresh, normally at 80% of max-cache-ttl; shortening the interval...
Otto Moerbeek [Tue, 15 Feb 2022 15:06:45 +0000 (16:06 +0100)] 
Adaptive root refresh, normally at 80% of max-cache-ttl; shortening the interval on failure.

3 years agoMerge pull request #11532 from omoerbeek/coverity-annotations-tmsg
Otto Moerbeek [Thu, 14 Apr 2022 07:30:47 +0000 (09:30 +0200)] 
Merge pull request #11532 from omoerbeek/coverity-annotations-tmsg

rec: Add coverity annotations for a leak false positives

3 years agoFix Coverity 1487923 Out-of-bounds read (wrong use of sizeof)
Otto Moerbeek [Thu, 14 Apr 2022 05:43:36 +0000 (07:43 +0200)] 
Fix Coverity 1487923 Out-of-bounds read (wrong use of sizeof)

3 years agoAdd coverity annotations for a leaks false positives, as a model requires much more... 11532/head
Otto Moerbeek [Wed, 6 Apr 2022 13:17:33 +0000 (15:17 +0200)] 
Add coverity annotations for a leaks false positives, as a model requires much more work

3 years agoMerge pull request #11530 from omoerbeek/rec-coverity-build-more
Otto Moerbeek [Wed, 13 Apr 2022 14:37:48 +0000 (16:37 +0200)] 
Merge pull request #11530 from omoerbeek/rec-coverity-build-more

rec: enable a few more optional parts for coverity build

3 years agodnsdist: Reuse the temporary logging string for syslog 11531/head
Remi Gacogne [Tue, 12 Apr 2022 13:41:48 +0000 (15:41 +0200)] 
dnsdist: Reuse the temporary logging string for syslog

3 years agoproxy-protocol: Prevent a temporary allocation
Remi Gacogne [Tue, 12 Apr 2022 13:41:08 +0000 (15:41 +0200)] 
proxy-protocol: Prevent a temporary allocation

3 years agoMerge pull request #11529 from omoerbeek/rec-zap-test-debug-output
Otto Moerbeek [Wed, 13 Apr 2022 13:45:03 +0000 (15:45 +0200)] 
Merge pull request #11529 from omoerbeek/rec-zap-test-debug-output

rec: Zap a leftover debug lines in test code

3 years agorec: enable a few more optional parts for coverity build 11530/head
Otto Moerbeek [Wed, 13 Apr 2022 12:32:13 +0000 (14:32 +0200)] 
rec: enable a few more optional parts for coverity build

3 years agoMerge pull request #11512 from rgacogne/ddist-small-cleanups
Remi Gacogne [Wed, 13 Apr 2022 12:23:48 +0000 (14:23 +0200)] 
Merge pull request #11512 from rgacogne/ddist-small-cleanups

dnsdist: Bunch of small cleanups

3 years agoZap a leftover debug line in test code 11529/head
Otto Moerbeek [Wed, 13 Apr 2022 11:58:27 +0000 (13:58 +0200)] 
Zap a leftover debug line in test code

3 years agoPrep for rec-4.7.0-beta1 11527/head rec-4.8.0-alpha0
Otto Moerbeek [Tue, 12 Apr 2022 07:21:30 +0000 (09:21 +0200)] 
Prep for rec-4.7.0-beta1

3 years agoMerge pull request #11487 from omoerbeek/rec-probe-auth-dot rec-4.7.0-beta1
Otto Moerbeek [Wed, 13 Apr 2022 06:04:10 +0000 (08:04 +0200)] 
Merge pull request #11487 from omoerbeek/rec-probe-auth-dot

Rec: probe auth for DoT support

3 years agoUpdate pdns/recursordist/docs/settings.rst 11487/head
Otto Moerbeek [Tue, 12 Apr 2022 12:47:40 +0000 (14:47 +0200)] 
Update pdns/recursordist/docs/settings.rst

Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 years agodoResolveAtThisIP() can throw and do not throttle when DoT probing
Otto Moerbeek [Tue, 12 Apr 2022 10:26:09 +0000 (12:26 +0200)] 
doResolveAtThisIP() can throw and do not throttle when DoT probing

3 years agoReview comments: document what happens on failure and use runOnce() as a building...
Otto Moerbeek [Tue, 12 Apr 2022 10:25:17 +0000 (12:25 +0200)] 
Review comments: document what happens on failure and use runOnce() as a building block for runTasks()

3 years agoProcess review comments: use correct auth and nsname for task
Otto Moerbeek [Tue, 12 Apr 2022 08:12:37 +0000 (10:12 +0200)] 
Process review comments: use correct auth and nsname for task

3 years agoApply suggestions from code review
Otto Moerbeek [Tue, 12 Apr 2022 07:31:18 +0000 (09:31 +0200)] 
Apply suggestions from code review

Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 years agoOnly probe somewhat popular auths; i.e. auths that are revisited at least once
Otto Moerbeek [Wed, 6 Apr 2022 08:45:18 +0000 (10:45 +0200)] 
Only probe somewhat popular auths; i.e. auths that are revisited at least once

3 years agoDocs
Otto Moerbeek [Mon, 4 Apr 2022 15:27:42 +0000 (17:27 +0200)] 
Docs

3 years agoTweaks
Otto Moerbeek [Mon, 4 Apr 2022 14:53:37 +0000 (16:53 +0200)] 
Tweaks

3 years agoAdd ttd pruning by using a multi-index table and update status after DoT use
Otto Moerbeek [Wed, 30 Mar 2022 13:41:54 +0000 (15:41 +0200)] 
Add ttd pruning by using a multi-index table and update status after DoT use

3 years agoInitial code to Probe nameservers for DoT.
Otto Moerbeek [Wed, 9 Mar 2022 13:37:16 +0000 (14:37 +0100)] 
Initial code to Probe nameservers for DoT.

The ratelmiting code sure need so extra attention.
Missing: pruning, stats, tests, docs.

3 years agowip
Otto Moerbeek [Wed, 9 Mar 2022 13:37:16 +0000 (14:37 +0100)] 
wip

3 years agoMerge pull request #11525 from omoerbeek/dnsdist-docs-retain
Otto Moerbeek [Tue, 12 Apr 2022 11:38:01 +0000 (13:38 +0200)] 
Merge pull request #11525 from omoerbeek/dnsdist-docs-retain

Mention addCapabilitiesToRetain in eBPF docs.

3 years agoMerge pull request #11521 from Habbie/auth-4.6.2-docs
Peter van Dijk [Tue, 12 Apr 2022 11:13:41 +0000 (13:13 +0200)] 
Merge pull request #11521 from Habbie/auth-4.6.2-docs

auth-4.6.2: changelog + secpoll

3 years agoauth-4.6.2: changelog + secpoll 11521/head
Peter van Dijk [Mon, 11 Apr 2022 07:33:04 +0000 (09:33 +0200)] 
auth-4.6.2: changelog + secpoll

3 years agoMerge pull request #11524 from omoerbeek/upddate-moment.js
Otto Moerbeek [Tue, 12 Apr 2022 10:36:28 +0000 (12:36 +0200)] 
Merge pull request #11524 from omoerbeek/upddate-moment.js

Update moment.min.js (path traversal fix; we are unaffected)

3 years agoMerge pull request #11523 from Y7n05h/master
Remi Gacogne [Tue, 12 Apr 2022 09:50:16 +0000 (11:50 +0200)] 
Merge pull request #11523 from Y7n05h/master

Reject BPFFilter::attachToAllBinds() at configuration time

3 years agoboth CAP_SYS_ADMIN and CAP_BPF mightr be relevant 11525/head
Otto Moerbeek [Tue, 12 Apr 2022 08:22:14 +0000 (10:22 +0200)] 
both CAP_SYS_ADMIN and CAP_BPF mightr be relevant

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoUpdate moment.min.js (path tarversal fix; we are unaffected) 11524/head
Otto Moerbeek [Tue, 12 Apr 2022 05:52:38 +0000 (07:52 +0200)] 
Update moment.min.js (path tarversal fix; we are unaffected)

Also remove unused moment.js

3 years agoMerge pull request #11507 from omoerbeek/rec-proxy-by-table-domain
Otto Moerbeek [Tue, 12 Apr 2022 08:14:24 +0000 (10:14 +0200)] 
Merge pull request #11507 from omoerbeek/rec-proxy-by-table-domain

Rec: proxy by table per domain queried

3 years agoTypo spotted by reviewer 11507/head
Otto Moerbeek [Tue, 12 Apr 2022 07:25:31 +0000 (09:25 +0200)] 
Typo spotted by reviewer

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agoMention addCapabilitiesToRetain in eBPF docs.
Otto Moerbeek [Tue, 12 Apr 2022 06:23:28 +0000 (08:23 +0200)] 
Mention addCapabilitiesToRetain in eBPF docs.

3 years agoUpdate pdns/dnsdistdist/docs/reference/ebpf.rst 11523/head
Y7n05h [Mon, 11 Apr 2022 16:01:03 +0000 (00:01 +0800)] 
Update pdns/dnsdistdist/docs/reference/ebpf.rst

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoReject BPFFilter::attachToAllBinds() at configuration time
Y7n05h [Mon, 11 Apr 2022 15:44:46 +0000 (23:44 +0800)] 
Reject BPFFilter::attachToAllBinds() at configuration time

Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
3 years agodnsdist: Document how we ignore invalid harvested addresses, as suggested by Otto... 11512/head
Remi Gacogne [Fri, 8 Apr 2022 12:21:15 +0000 (14:21 +0200)] 
dnsdist: Document how we ignore invalid harvested addresses, as suggested by Otto (thanks!)

3 years agoMerge pull request #11513 from rgacogne/ddist-downstream-conn-manager-header
Remi Gacogne [Fri, 8 Apr 2022 12:11:09 +0000 (14:11 +0200)] 
Merge pull request #11513 from rgacogne/ddist-downstream-conn-manager-header

dnsdist: Move DownstreamConnectionsManager to its own header

3 years agoMerge pull request #11515 from rgacogne/ddist-more-disable-options
Remi Gacogne [Fri, 8 Apr 2022 12:10:53 +0000 (14:10 +0200)] 
Merge pull request #11515 from rgacogne/ddist-more-disable-options

dnsdist: Add more build-time options to select features

3 years agoMerge pull request #11517 from rgacogne/mplexer-smaller-event-arrays
Remi Gacogne [Fri, 8 Apr 2022 12:10:22 +0000 (14:10 +0200)] 
Merge pull request #11517 from rgacogne/mplexer-smaller-event-arrays

Multiplexer: Take the maximum number of events as a hint

3 years agoauth: Build and test with libdecaf included in Github Actions 11518/head
Fred Morcos [Fri, 8 Apr 2022 09:15:28 +0000 (11:15 +0200)] 
auth: Build and test with libdecaf included in Github Actions

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agoMerge pull request #11516 from omoerbeek/rec-coverity-20220406
Otto Moerbeek [Fri, 8 Apr 2022 10:01:37 +0000 (12:01 +0200)] 
Merge pull request #11516 from omoerbeek/rec-coverity-20220406

followup on #11509: copyTree() also throws a std::logic_exception on internal inconsistencies

3 years agoMerge pull request #11492 from omoerbeek/rec-add-deferred
Otto Moerbeek [Fri, 8 Apr 2022 10:01:22 +0000 (12:01 +0200)] 
Merge pull request #11492 from omoerbeek/rec-add-deferred

Rec: add deferred mode for additional records

3 years agoMultiplexer: Take the maximum number of events as a hint 11517/head
Remi Gacogne [Fri, 8 Apr 2022 09:30:48 +0000 (11:30 +0200)] 
Multiplexer: Take the maximum number of events as a hint

This allows indicating the maximum number of events we want to process
in a single run, which is usually bounded by the number of file descriptors
we are planning on watching.
The default is still 1024 events, but this change makes it possible to
allocate a smaller vector of events to reduce the memory usage when we
know we are going to need to process so many events in a single run.

3 years agofollowup on #11509: copyTree() also throws a std::logic_exception on internal inconsi... 11516/head
Otto Moerbeek [Fri, 8 Apr 2022 07:19:19 +0000 (09:19 +0200)] 
followup on #11509: copyTree() also throws a std::logic_exception on internal inconsistencies

Coverity 1487850 Uncaught exception
Coverity 1487851 Uncaught exception

3 years agoProces review comments: rename variable and some words about expirig additionals... 11492/head
Otto Moerbeek [Fri, 8 Apr 2022 07:08:27 +0000 (09:08 +0200)] 
Proces review comments: rename variable and some words about expirig additionals in docs.

3 years agodnsdist: Disable more features in the "least" CI test 11515/head
Remi Gacogne [Thu, 7 Apr 2022 15:11:36 +0000 (17:11 +0200)] 
dnsdist: Disable more features in the "least" CI test

3 years agodnsdist: Document build options to disable NPN and false sharing
Remi Gacogne [Thu, 7 Apr 2022 14:47:59 +0000 (16:47 +0200)] 
dnsdist: Document build options to disable NPN and false sharing

3 years agodnsdist: Add an option to disable NPN support
Remi Gacogne [Tue, 5 Apr 2022 13:56:09 +0000 (15:56 +0200)] 
dnsdist: Add an option to disable NPN support

It has been deprecated in favor of ALPN for quite a while now.

3 years agodnsdist: Add DISABLE_FALSE_SHARING_PADDING option
Remi Gacogne [Fri, 1 Apr 2022 14:46:44 +0000 (16:46 +0200)] 
dnsdist: Add DISABLE_FALSE_SHARING_PADDING option

3 years agodnsdist: Add DISABLE_HASHED_CREDENTIALS
Remi Gacogne [Fri, 21 Jan 2022 15:12:56 +0000 (16:12 +0100)] 
dnsdist: Add DISABLE_HASHED_CREDENTIALS

3 years agodnsdist: Add DISABLE_OCSP_STAPLING
Remi Gacogne [Fri, 21 Jan 2022 14:53:56 +0000 (15:53 +0100)] 
dnsdist: Add DISABLE_OCSP_STAPLING

3 years agodnsdist: Move DownstreamConnectionsManager to its own header 11513/head
Remi Gacogne [Mon, 24 Jan 2022 08:34:35 +0000 (09:34 +0100)] 
dnsdist: Move DownstreamConnectionsManager to its own header

3 years agodnsdist: Discard bogus harvested IP addresses
Remi Gacogne [Wed, 6 Apr 2022 15:15:39 +0000 (17:15 +0200)] 
dnsdist: Discard bogus harvested IP addresses

3 years agodnsdist: Add low-hanging unit test cases to improve code coverage
Remi Gacogne [Tue, 25 Jan 2022 16:15:17 +0000 (17:15 +0100)] 
dnsdist: Add low-hanging unit test cases to improve code coverage

3 years agodnsdist: Save 60 kB on the Lua FFI wrappers
Remi Gacogne [Mon, 24 Jan 2022 08:59:05 +0000 (09:59 +0100)] 
dnsdist: Save 60 kB on the Lua FFI wrappers

Moving the definition of the Lua FFI wrappers outside a function avoids
a copy to be constructed on the first usage of that function. Using an
array of chars instead of a string prevents a second copy from occurring
at startup.

3 years agodnsdist: Clean up a few headers
Remi Gacogne [Mon, 24 Jan 2022 08:33:10 +0000 (09:33 +0100)] 
dnsdist: Clean up a few headers

3 years agodnsdist: Properly export the dnsdist_ffi_dnsquestion_generate_proxy_protocol_payload...
Remi Gacogne [Thu, 23 Dec 2021 14:03:20 +0000 (15:03 +0100)] 
dnsdist: Properly export the dnsdist_ffi_dnsquestion_generate_proxy_protocol_payload symbol

3 years agodnsdist: Remove the annoying 'TCP connection' message in verbose mode
Remi Gacogne [Wed, 12 Jan 2022 15:15:47 +0000 (16:15 +0100)] 
dnsdist: Remove the annoying 'TCP connection' message in verbose mode

3 years agodnsdist: Fix ring buffers compilation on older compilers
Remi Gacogne [Fri, 21 Jan 2022 15:23:05 +0000 (16:23 +0100)] 
dnsdist: Fix ring buffers compilation on older compilers

3 years agodnsdist: Cleaner TCPCrossProtocolQuerySender() constructor
Remi Gacogne [Tue, 23 Nov 2021 14:36:12 +0000 (15:36 +0100)] 
dnsdist: Cleaner TCPCrossProtocolQuerySender() constructor

3 years agodnsdist: Drop the 32-bit time_t check
Remi Gacogne [Thu, 23 Dec 2021 10:07:47 +0000 (11:07 +0100)] 
dnsdist: Drop the 32-bit time_t check

3 years agoMerge pull request #11506 from omoerbeek/packetcache-unaligned-header
Otto Moerbeek [Thu, 7 Apr 2022 10:48:27 +0000 (12:48 +0200)] 
Merge pull request #11506 from omoerbeek/packetcache-unaligned-header

Another case of unaligned access of header data found by ubsan on OpenBSD

3 years agoMerge pull request #11509 from omoerbeek/rec-coverity-20220406
Otto Moerbeek [Thu, 7 Apr 2022 05:20:44 +0000 (07:20 +0200)] 
Merge pull request #11509 from omoerbeek/rec-coverity-20220406

Rec: three more coverity cases: 14877431419403 and 1419401

3 years agoOnly catch NetmaskException and leave out noexcept as OOM situations can still throw 11509/head
Otto Moerbeek [Wed, 6 Apr 2022 12:00:23 +0000 (14:00 +0200)] 
Only catch NetmaskException and leave out noexcept as OOM situations can still throw

3 years agoMerge pull request #11299 from Zash/auto-svbc-version
Peter van Dijk [Wed, 6 Apr 2022 11:39:32 +0000 (13:39 +0200)] 
Merge pull request #11299 from Zash/auto-svbc-version

Document which version adds svc-autohints

3 years agoTwo Coverity reports: 1419403 Uncaught exception and 1419401 Uncaught exception
Otto Moerbeek [Wed, 6 Apr 2022 11:21:30 +0000 (13:21 +0200)] 
Two Coverity reports: 1419403 Uncaught exception and 1419401 Uncaught exception

Both cases have the same root cause: a possible exception thrown
from NetmaskTree::copyTree.  Coverity negelects to report the calling
context, I'm assuming it is from a static initializer.  As a
NetmaskTree can only have valid nodes (insert does not allow an
invalid AF), reading from an existign tree should be fine.

3 years agoBetter English in docs
Otto Moerbeek [Wed, 6 Apr 2022 11:14:29 +0000 (13:14 +0200)] 
Better English in docs

Co-authored-by: Neil Cook <neil.cook@noware.co.uk>
3 years agoCoverity 1487743: Unchecked return value
Otto Moerbeek [Wed, 6 Apr 2022 09:54:04 +0000 (11:54 +0200)] 
Coverity 1487743: Unchecked return value

3 years agoAnother case of unaligned access of header data found by ubsan on OpenSBD 11506/head
Otto Moerbeek [Wed, 6 Apr 2022 09:17:48 +0000 (11:17 +0200)] 
Another case of unaligned access of header data found by ubsan on OpenSBD

3 years agoAdd test for extra domain table in proxy mapping1
Otto Moerbeek [Tue, 5 Apr 2022 11:12:35 +0000 (13:12 +0200)] 
Add test for extra domain table in proxy mapping1

3 years agoAdd docs plus some cleanup of the DNS Suffix Match Group docs we refer to.
Otto Moerbeek [Tue, 5 Apr 2022 11:48:54 +0000 (13:48 +0200)] 
Add docs plus some cleanup of the DNS Suffix Match Group docs we refer to.

3 years agoAdd an (optional) table of domains to addProxyMapping().
Otto Moerbeek [Tue, 5 Apr 2022 08:01:19 +0000 (10:01 +0200)] 
Add an (optional) table of domains to addProxyMapping().

The table is used to construct a DNSSuffixMatchGroup. Only apply mapping
if the qname in the query matches the DNSSuffixMatchGroup.

3 years agoMerge pull request #11497 from Y7n05h/master
Remi Gacogne [Tue, 5 Apr 2022 07:30:34 +0000 (09:30 +0200)] 
Merge pull request #11497 from Y7n05h/master

dnsdist: Add setTCPFastOpenKey()

3 years agoMerge pull request #11500 from paddg/patch-11
Peter van Dijk [Mon, 4 Apr 2022 14:10:13 +0000 (16:10 +0200)] 
Merge pull request #11500 from paddg/patch-11

Update upgrade.rst

3 years agoUpdate pdns/dnsdistdist/docs/reference/config.rst 11497/head
Y7n05h [Mon, 4 Apr 2022 13:42:17 +0000 (21:42 +0800)] 
Update pdns/dnsdistdist/docs/reference/config.rst

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoUpdate pdns/dnsdist-lua.cc
Y7n05h [Mon, 4 Apr 2022 13:41:09 +0000 (21:41 +0800)] 
Update pdns/dnsdist-lua.cc

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoUpdate upgrade.rst 11500/head
Winfried Angele [Mon, 4 Apr 2022 13:20:18 +0000 (15:20 +0200)] 
Update upgrade.rst

Oversight corrected

3 years agoMerge pull request #11483 from omoerbeek/rec-prep-459-462
Otto Moerbeek [Mon, 4 Apr 2022 12:21:38 +0000 (14:21 +0200)] 
Merge pull request #11483 from omoerbeek/rec-prep-459-462

Prep for 4.5.9 and 4.6.2 releases

3 years agodnsdist: add document for setTCPFastOpenKey()
Y7n05h [Mon, 4 Apr 2022 11:41:45 +0000 (19:41 +0800)] 
dnsdist: add document for setTCPFastOpenKey()

Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
3 years agodnsdist: Change the type of g_TCPFastOpenKey and related variables
Y7n05h [Mon, 4 Apr 2022 11:11:11 +0000 (19:11 +0800)] 
dnsdist: Change the type of g_TCPFastOpenKey and related variables

Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
3 years agoMerge pull request #11484 from omoerbeek/rec-syncres-tables3
Otto Moerbeek [Mon, 4 Apr 2022 11:10:56 +0000 (13:10 +0200)] 
Merge pull request #11484 from omoerbeek/rec-syncres-tables3

rec: Use boost::mult-index for nsspeed table and make it shared.

3 years agoMerge pull request #11466 from omoerbeek/2022-01-ixfr
Peter van Dijk [Mon, 4 Apr 2022 10:56:29 +0000 (12:56 +0200)] 
Merge pull request #11466 from omoerbeek/2022-01-ixfr

ixfr: Fix a case where an incomplete read caused by network error might result in a truncated zone

3 years agorename find to find_or_enter 11484/head
Otto Moerbeek [Mon, 4 Apr 2022 10:19:36 +0000 (12:19 +0200)] 
rename find to find_or_enter

3 years agoMerge pull request #11489 from Habbie/dnsupdate-carsten
Peter van Dijk [Mon, 4 Apr 2022 10:23:06 +0000 (12:23 +0200)] 
Merge pull request #11489 from Habbie/dnsupdate-carsten

auth docs: fix typo in dnsupdate doc, thanks Carsten Strotmann

3 years agoMerge pull request #11496 from swegener/recursor-segfault-parseACL
Otto Moerbeek [Mon, 4 Apr 2022 10:08:31 +0000 (12:08 +0200)] 
Merge pull request #11496 from swegener/recursor-segfault-parseACL

Prevent segfault with empty allow-from-file and allow-from options

3 years agoMerge pull request #11495 from omoerbeek/luawrapper-exception-from-cp-ct
Otto Moerbeek [Mon, 4 Apr 2022 09:38:00 +0000 (11:38 +0200)] 
Merge pull request #11495 from omoerbeek/luawrapper-exception-from-cp-ct

Coverity: 1419402 Uncaught exception in LuaWrapper

3 years agoAdd conditional compilation
Y7n05h [Sun, 3 Apr 2022 07:43:25 +0000 (15:43 +0800)] 
Add conditional compilation

Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
3 years agodnsdist: Add setTCPFastOpenKey()
Y7n05h [Sun, 3 Apr 2022 04:05:51 +0000 (12:05 +0800)] 
dnsdist: Add setTCPFastOpenKey()

Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
3 years agoPrevent segfault with empty allow-from-file and allow-from options 11496/head
Sven Wegener [Sat, 2 Apr 2022 13:35:09 +0000 (15:35 +0200)] 
Prevent segfault with empty allow-from-file and allow-from options

Always return a valid NetmaskGroup from parseACL()

3 years agoMerge pull request #11494 from omoerbeek/coverity-fixes-20220401
Otto Moerbeek [Fri, 1 Apr 2022 13:53:09 +0000 (15:53 +0200)] 
Merge pull request #11494 from omoerbeek/coverity-fixes-20220401

Bunch of Coverity fixes