]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Fri, 15 Apr 2022 15:18:45 +0000 (17:18 +0200)]
Update pdns/dnsdistdist/docs/reference/ebpf.rst
Y7n05h [Fri, 15 Apr 2022 09:27:23 +0000 (17:27 +0800)]
fix d_type in MapConfiguration
Y7n05h [Fri, 15 Apr 2022 08:46:13 +0000 (16:46 +0800)]
fix errer key in access convertParamsToConfig
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Thu, 14 Apr 2022 15:26:22 +0000 (23:26 +0800)]
Update pdns/dnsdistdist/docs/reference/ebpf.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Thu, 14 Apr 2022 15:25:41 +0000 (23:25 +0800)]
Update pdns/dnsdistdist/docs/reference/ebpf.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Thu, 14 Apr 2022 12:40:57 +0000 (20:40 +0800)]
Update document
Y7n05h [Thu, 14 Apr 2022 12:36:11 +0000 (20:36 +0800)]
Simplify the parameters of newBPFFilter
Y7n05h [Thu, 14 Apr 2022 09:58:17 +0000 (17:58 +0800)]
Update pdns/dnsdistdist/docs/reference/ebpf.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Thu, 14 Apr 2022 09:57:29 +0000 (17:57 +0800)]
Update pdns/dnsdist-lua-bindings.cc
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Wed, 13 Apr 2022 19:31:37 +0000 (03:31 +0800)]
Merge multiple parameters in newBPFFilter
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
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
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
Otto Moerbeek [Wed, 13 Apr 2022 12:32:13 +0000 (14:32 +0200)]
rec: enable a few more optional parts for coverity build
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
Otto Moerbeek [Wed, 13 Apr 2022 11:58:27 +0000 (13:58 +0200)]
Zap a leftover debug line in test code
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
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>
Otto Moerbeek [Tue, 12 Apr 2022 10:26:09 +0000 (12:26 +0200)]
doResolveAtThisIP() can throw and do not throttle when DoT probing
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()
Otto Moerbeek [Tue, 12 Apr 2022 08:12:37 +0000 (10:12 +0200)]
Process review comments: use correct auth and nsname for task
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>
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
Otto Moerbeek [Mon, 4 Apr 2022 15:27:42 +0000 (17:27 +0200)]
Docs
Otto Moerbeek [Mon, 4 Apr 2022 14:53:37 +0000 (16:53 +0200)]
Tweaks
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
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.
Otto Moerbeek [Wed, 9 Mar 2022 13:37:16 +0000 (14:37 +0100)]
wip
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.
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
Peter van Dijk [Mon, 11 Apr 2022 07:33:04 +0000 (09:33 +0200)]
auth-4.6.2: changelog + secpoll
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)
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
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>
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
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
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>
Otto Moerbeek [Tue, 12 Apr 2022 06:23:28 +0000 (08:23 +0200)]
Mention addCapabilitiesToRetain in eBPF docs.
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>
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>
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!)
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
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
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
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
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
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.
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
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.
Remi Gacogne [Thu, 7 Apr 2022 15:11:36 +0000 (17:11 +0200)]
dnsdist: Disable more features in the "least" CI test
Remi Gacogne [Thu, 7 Apr 2022 14:47:59 +0000 (16:47 +0200)]
dnsdist: Document build options to disable NPN and false sharing
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.
Remi Gacogne [Fri, 1 Apr 2022 14:46:44 +0000 (16:46 +0200)]
dnsdist: Add DISABLE_FALSE_SHARING_PADDING option
Remi Gacogne [Fri, 21 Jan 2022 15:12:56 +0000 (16:12 +0100)]
dnsdist: Add DISABLE_HASHED_CREDENTIALS
Remi Gacogne [Fri, 21 Jan 2022 14:53:56 +0000 (15:53 +0100)]
dnsdist: Add DISABLE_OCSP_STAPLING
Remi Gacogne [Mon, 24 Jan 2022 08:34:35 +0000 (09:34 +0100)]
dnsdist: Move DownstreamConnectionsManager to its own header
Remi Gacogne [Wed, 6 Apr 2022 15:15:39 +0000 (17:15 +0200)]
dnsdist: Discard bogus harvested IP addresses
Remi Gacogne [Tue, 25 Jan 2022 16:15:17 +0000 (17:15 +0100)]
dnsdist: Add low-hanging unit test cases to improve code coverage
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.
Remi Gacogne [Mon, 24 Jan 2022 08:33:10 +0000 (09:33 +0100)]
dnsdist: Clean up a few headers
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
Remi Gacogne [Wed, 12 Jan 2022 15:15:47 +0000 (16:15 +0100)]
dnsdist: Remove the annoying 'TCP connection' message in verbose mode
Remi Gacogne [Fri, 21 Jan 2022 15:23:05 +0000 (16:23 +0100)]
dnsdist: Fix ring buffers compilation on older compilers
Remi Gacogne [Tue, 23 Nov 2021 14:36:12 +0000 (15:36 +0100)]
dnsdist: Cleaner TCPCrossProtocolQuerySender() constructor
Remi Gacogne [Thu, 23 Dec 2021 10:07:47 +0000 (11:07 +0100)]
dnsdist: Drop the 32-bit time_t check
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
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:
1487743 ,
1419403 and
1419401
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
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
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.
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>
Otto Moerbeek [Wed, 6 Apr 2022 09:54:04 +0000 (11:54 +0200)]
Coverity
1487743 : Unchecked return value
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
Otto Moerbeek [Tue, 5 Apr 2022 11:12:35 +0000 (13:12 +0200)]
Add test for extra domain table in proxy mapping1
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.
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.
Remi Gacogne [Tue, 5 Apr 2022 07:30:34 +0000 (09:30 +0200)]
Merge pull request #11497 from Y7n05h/master
dnsdist: Add setTCPFastOpenKey()
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
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>
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>
Winfried Angele [Mon, 4 Apr 2022 13:20:18 +0000 (15:20 +0200)]
Update upgrade.rst
Oversight corrected
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
Y7n05h [Mon, 4 Apr 2022 11:41:45 +0000 (19:41 +0800)]
dnsdist: add document for setTCPFastOpenKey()
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
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>
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.
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
Otto Moerbeek [Mon, 4 Apr 2022 10:19:36 +0000 (12:19 +0200)]
rename find to find_or_enter
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
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
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
Y7n05h [Sun, 3 Apr 2022 07:43:25 +0000 (15:43 +0800)]
Add conditional compilation
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Sun, 3 Apr 2022 04:05:51 +0000 (12:05 +0800)]
dnsdist: Add setTCPFastOpenKey()
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
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()
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
Otto Moerbeek [Fri, 1 Apr 2022 13:16:10 +0000 (15:16 +0200)]
Throw an exception on trying to get an address out of a non-A/AAAA record.
Better that the nullptr deref it was before.
Otto Moerbeek [Fri, 1 Apr 2022 12:48:05 +0000 (14:48 +0200)]
Coverity:
1419402 Uncaught exception
Catch any exception that might be thrown when (copy) constructing an object.
As the push method is declared `noexcept` we cannot have that.
Otto Moerbeek [Fri, 1 Apr 2022 10:46:01 +0000 (12:46 +0200)]
Formatting
Otto Moerbeek [Fri, 1 Apr 2022 10:28:43 +0000 (12:28 +0200)]
Coverity:
1469603 Uninitialized scalar field
1445929 Uninitialized scalar field
Otto Moerbeek [Fri, 1 Apr 2022 10:26:42 +0000 (12:26 +0200)]
Coverity:
1469685 Dereference null return value
Otto Moerbeek [Fri, 1 Apr 2022 10:26:00 +0000 (12:26 +0200)]
Coverity:
1466057 Unchecked return value
Otto Moerbeek [Fri, 1 Apr 2022 10:25:33 +0000 (12:25 +0200)]
Coverity:
1462718 Unchecked return value from library