]>
git.ipfire.org Git - thirdparty/pdns.git/log
Y7n05h [Fri, 10 Jun 2022 04:15:00 +0000 (12:15 +0800)]
Update pdns/dnsdistdist/docs/reference/ebpf.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Fri, 10 Jun 2022 04:14:51 +0000 (12:14 +0800)]
Update pdns/dnsdistdist/docs/reference/ebpf.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Fri, 10 Jun 2022 04:14:44 +0000 (12:14 +0800)]
Update pdns/dnsdistdist/docs/reference/ebpf.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Thu, 9 Jun 2022 15:55:12 +0000 (23:55 +0800)]
dnsdist: fix build error
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Thu, 9 Jun 2022 15:04:12 +0000 (23:04 +0800)]
Update document
Y7n05h [Thu, 9 Jun 2022 14:30:47 +0000 (22:30 +0800)]
Update pdns/bpf-filter.hh
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Thu, 9 Jun 2022 14:29:35 +0000 (22:29 +0800)]
Update pdns/bpf-filter.hh
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Sat, 4 Jun 2022 05:31:37 +0000 (13:31 +0800)]
dnsdist: Change the bpf:blockRange bpf:allowRange to bpf:addRangeRule
bpf:rmRangeRule bpf:lsRangeRule
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Fri, 3 Jun 2022 18:40:07 +0000 (02:40 +0800)]
Update pdns/bpf-filter.cc
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Fri, 3 Jun 2022 18:38:56 +0000 (02:38 +0800)]
Update pdns/bpf-filter.hh
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Fri, 3 Jun 2022 18:37:56 +0000 (02:37 +0800)]
Update pdns/bpf-filter.cc
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Thu, 5 May 2022 12:22:03 +0000 (20:22 +0800)]
dnsdist: throw a exception when use unsupport eBPF map type
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Thu, 5 May 2022 12:05:23 +0000 (20:05 +0800)]
dnsdist: fix typo in pdns/dnsdist-console.cc
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Wed, 27 Apr 2022 09:52:27 +0000 (17:52 +0800)]
dnsdist: add parameter in blockRange
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Tue, 26 Apr 2022 04:05:46 +0000 (12:05 +0800)]
Use IPNetwork instead of IPAddress
Y7n05h [Fri, 22 Apr 2022 18:01:46 +0000 (02:01 +0800)]
Update document
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Fri, 22 Apr 2022 17:49:41 +0000 (01:49 +0800)]
rename BPFFilter:unblockRange() to BPFFilter:allowRange()
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Thu, 21 Apr 2022 15:12:20 +0000 (23:12 +0800)]
add BPFFilter::getRangeStats()
add BPF_MAP_TYPE_LPM_TRIE support in getStats()
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Thu, 21 Apr 2022 11:26:17 +0000 (19:26 +0800)]
Revert "add BPF_MAP_TYPE_LPM_TRIE support in getStats()"
This reverts commit
a8b0100a28b4367d8038726382e007f727d23ad1 .
Y7n05h [Thu, 21 Apr 2022 11:18:52 +0000 (19:18 +0800)]
Update bpf_create_map type declare
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Thu, 21 Apr 2022 11:18:18 +0000 (19:18 +0800)]
change name
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Fri, 22 Apr 2022 18:31:55 +0000 (02:31 +0800)]
change code style
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Thu, 21 Apr 2022 11:22:11 +0000 (19:22 +0800)]
Update pdns/dnsdistdist/docs/reference/ebpf.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Y7n05h [Wed, 20 Apr 2022 20:06:48 +0000 (04:06 +0800)]
add BPF_MAP_TYPE_LPM_TRIE support in getStats()
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Fri, 15 Apr 2022 17:36:27 +0000 (01:36 +0800)]
update document
Y7n05h [Wed, 20 Apr 2022 18:52:35 +0000 (02:52 +0800)]
use BPF_MAP_TYPE_LPM_TRIE map in XDP program to block a range
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Y7n05h [Wed, 20 Apr 2022 18:44:58 +0000 (02:44 +0800)]
add blockRange and unblockRange
Y7n05h [Wed, 13 Apr 2022 19:31:37 +0000 (03:31 +0800)]
Support create bpf map with BPF_MAP_TYPE_LPM_TRIE type
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Remi Gacogne [Thu, 21 Apr 2022 08:41:42 +0000 (10:41 +0200)]
Merge pull request #11565 from rgacogne/ddist-fix-ebpf-qnames
dnsdist: Fix wrong eBPF values (qtype, counter) being inserted for qnames
Remi Gacogne [Thu, 21 Apr 2022 08:41:24 +0000 (10:41 +0200)]
Merge pull request #11544 from rgacogne/ddist-bpf-block-action
dnsdist: Properly use eBPF when the DynBlock is not set
Remi Gacogne [Thu, 21 Apr 2022 08:40:54 +0000 (10:40 +0200)]
Merge pull request #11547 from rgacogne/ddist-add-address-accessor-to-frontends
dnsdist: Add a 'getAddressAndPort()' method to DOHFrontend and TLSFrontend objects
Remi Gacogne [Thu, 21 Apr 2022 08:40:37 +0000 (10:40 +0200)]
Merge pull request #11545 from rgacogne/ddist-fix-backend-proto
dnsdist: Use the correct outgoing protocol in our ring buffers
Otto Moerbeek [Wed, 20 Apr 2022 14:25:28 +0000 (16:25 +0200)]
Merge pull request #11561 from omoerbeek/dnsdist-include-openbsd
dnsdist: include <unordered_map>
Remi Gacogne [Wed, 20 Apr 2022 12:32:14 +0000 (14:32 +0200)]
dnsdist: Fix wrong eBPF values (qtype, counter) being inserted for qnames
Peter van Dijk [Wed, 20 Apr 2022 10:27:39 +0000 (12:27 +0200)]
Merge pull request #11564 from Habbie/circleci-docs-no-texlive
circleci: revert docs build to specific debian image, instead of the debian:testing underlying the texlive image
Peter van Dijk [Wed, 20 Apr 2022 08:31:12 +0000 (10:31 +0200)]
revert docs build to specific debian image, instead of the debian:testing underlying the texlive image
Otto Moerbeek [Tue, 19 Apr 2022 14:50:08 +0000 (16:50 +0200)]
Include <unordered_map>
On OpenBSD you don't get std::unordered_map for free
Otto Moerbeek [Tue, 19 Apr 2022 09:19:39 +0000 (11:19 +0200)]
Merge pull request #11541 from omoerbeek/rec-fix-dot-probe
Fix DoT port, as noted by ph1 on IRC
Otto Moerbeek [Tue, 19 Apr 2022 07:57:23 +0000 (09:57 +0200)]
Decide to use Dot earlier.
To keep the nsspeed table good, we need to decide to use DoT earlier.
Now the lookup and updats of the speed table occur in a proper way
(using the port that is actually used for the connetion) and when
we switch from/to DoT, the old nsspeeds are cleared by the already
existing code.
Remi Gacogne [Tue, 19 Apr 2022 07:31:03 +0000 (09:31 +0200)]
Merge pull request #11546 from rgacogne/ddist-fix-0-sized-cache
dnsdist: Raise the number of entries in a packet cache to at least 1
Remi Gacogne [Tue, 19 Apr 2022 07:30:53 +0000 (09:30 +0200)]
Merge pull request #11539 from rgacogne/rec-fix-dnssec-counters-documentation
rec: DNSSEC counters track responses sent, not actual validations performed
Remi Gacogne [Fri, 15 Apr 2022 15:18:59 +0000 (17:18 +0200)]
Merge pull request #11535 from Y7n05h/MergeParams
Merge multiple parameters in newBPFFilter
Remi Gacogne [Fri, 15 Apr 2022 15:18:45 +0000 (17:18 +0200)]
Update pdns/dnsdistdist/docs/reference/ebpf.rst
Remi Gacogne [Fri, 15 Apr 2022 12:21:57 +0000 (14:21 +0200)]
dnsdist: Fix formatting
Remi Gacogne [Fri, 15 Apr 2022 10:57:53 +0000 (12:57 +0200)]
dnsdist: Add a 'getAddressAndPort()' method to DOHFrontend and TLSFrontend objects
Remi Gacogne [Fri, 15 Apr 2022 10:46:44 +0000 (12:46 +0200)]
dnsdist: Raise the number of entries in a packet cache to at least 1
And make sure that we cannot create such an object.
Remi Gacogne [Fri, 15 Apr 2022 10:35:20 +0000 (12:35 +0200)]
dnsdist: Use the correct outgoing protocol in our ring buffers
Remi Gacogne [Fri, 15 Apr 2022 10:19:46 +0000 (12:19 +0200)]
dnsdist: Properly use eBPF when the DynBlock is not set
When the DynBlock rule does not set a specific action we use the
default one, set with `setDynBlocksAction()`, so we should follow
the same logic when determining whether to insert an eBPF block.
Y7n05h [Fri, 15 Apr 2022 09:27:23 +0000 (17:27 +0800)]
fix d_type in MapConfiguration
Remi Gacogne [Fri, 15 Apr 2022 09:15:02 +0000 (11:15 +0200)]
rec: Fix DNSSEC counters description in web/prometheus as well
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>
Otto Moerbeek [Thu, 14 Apr 2022 19:36:47 +0000 (21:36 +0200)]
Missing newline in dump output, noted by ph1
Otto Moerbeek [Thu, 14 Apr 2022 17:44:06 +0000 (19:44 +0200)]
Fix port, as noted by ph1 on IRC
Without this, probed DoT actually becomes regular TCP.
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>
Remi Gacogne [Thu, 14 Apr 2022 15:20:15 +0000 (17:20 +0200)]
rec: DNSSEC counters track responses sent, not actual validations performed
Since 4.1 these counters are updated for every response sent, even if the DNSSEC
status was fetched from the records cache and did not involve any actual
validation.
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>
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
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
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
Otto Moerbeek [Thu, 14 Apr 2022 12:24:27 +0000 (14:24 +0200)]
Refer to new root hint handling info from settings docs
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
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>
Otto Moerbeek [Thu, 14 Apr 2022 11:03:15 +0000 (13:03 +0200)]
Document more details of root-hints handling
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)
Otto Moerbeek [Thu, 14 Apr 2022 07:57:34 +0000 (09:57 +0200)]
Move to std:::array for name array, as suggested by rgacogne
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
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.
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
Otto Moerbeek [Thu, 14 Apr 2022 05:43:36 +0000 (07:43 +0200)]
Fix Coverity
1487923 Out-of-bounds read (wrong use of sizeof)
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, 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
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
Remi Gacogne [Tue, 12 Apr 2022 13:41:48 +0000 (15:41 +0200)]
dnsdist: Reuse the temporary logging string for syslog
Remi Gacogne [Tue, 12 Apr 2022 13:41:08 +0000 (15:41 +0200)]
proxy-protocol: Prevent a temporary allocation
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 [Tue, 12 Apr 2022 07:21:30 +0000 (09:21 +0200)]
Prep for 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
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