]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Tue, 16 Nov 2021 06:30:34 +0000 (07:30 +0100)]
indent
Otto Moerbeek [Tue, 26 Oct 2021 06:05:33 +0000 (08:05 +0200)]
no else after exit
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Otto [Mon, 25 Oct 2021 13:20:18 +0000 (15:20 +0200)]
tweaks and undo error entry
Otto [Mon, 25 Oct 2021 12:53:53 +0000 (14:53 +0200)]
Move check to a shell script
Otto [Mon, 25 Oct 2021 12:33:45 +0000 (14:33 +0200)]
More strict secpoll check; hope I got the yaml quoting right
Otto Moerbeek [Mon, 15 Nov 2021 10:45:48 +0000 (11:45 +0100)]
Merge pull request #10975 from omoerbeek/rec-fewer-circle-bulktests
rec: Run fewer CircleCI bulk tests
Otto Moerbeek [Mon, 15 Nov 2021 10:40:41 +0000 (11:40 +0100)]
Merge pull request #10973 from omoerbeek/rec-asan-ubsan-to-strategy
rec: enable tsan for GH actions rec build and tests
Peter van Dijk [Mon, 15 Nov 2021 10:40:22 +0000 (11:40 +0100)]
Merge pull request #10954 from Habbie/update-contributing
some updates to CONTRIBUTING.md
Otto Moerbeek [Mon, 15 Nov 2021 10:16:18 +0000 (11:16 +0100)]
Merge pull request #10751 from kpfleming/issue-7014
rec: Add support for NOTIFY queries to wipe cache entries
Kevin P. Fleming [Sat, 13 Nov 2021 12:11:38 +0000 (07:11 -0500)]
Update pdns/recursordist/RECURSOR-MIB.txt
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Fri, 12 Nov 2021 19:01:54 +0000 (20:01 +0100)]
Merge pull request #10972 from franklouwers/feature/update-docs
Clarify recursor docs for forward-zones-recurse
Otto Moerbeek [Fri, 12 Nov 2021 19:01:14 +0000 (20:01 +0100)]
Merge pull request #10977 from omoerbeek/dnsdist-unit-test-connect
dnsdist: Disable the actual connect() in the test_dnsdisttcp_cc_c unit tests.
Otto [Fri, 12 Nov 2021 12:19:47 +0000 (13:19 +0100)]
Disable the actual connect() in the test_dnsdisttcp_cc_c unit tests.
They are not needed and cause (at least on OpenBSD) firewall state table
clashes: they remain in a embryotic state because no actual activity
occurs on them due to the rest of the tests using mockup code.
tcpiohandler.cc is not linked into the tests, so define it locally in
test-dnsdisttcp_cc.cc as well.
Kevin P. Fleming [Fri, 12 Nov 2021 12:20:19 +0000 (07:20 -0500)]
rec: Add support for NOTIFY operations to wipe cache entries
NOTIFY operations can be sent to trigger removal of cache entries which
match the zone specified in the operation. All entries, regardless of
type, in or below the specified zone, are removed. Control over
permission to send such operations is provided by an ACL, and control over
zones which can be wiped is provided by a new configuration setting.
The default configuration ignores all NOTIFY operations.
This patch adds:
* 'allow-notify-from' and 'allow-notify-from-file' settings, operating
almost identically to 'allow-from' and 'allow-from-file' (the only
difference being the default value).
* 'allow-notify-for' and 'allow-notify-for-file' settings, which provide
a list of zones for which NOTIFY operations are allowed.
* modification to 'forward-zones-file' setting, allowing zones specified
there to optionally allow NOTIFY operations.
* 'source-disallowed-notify' metric, counting the number of NOTIFY operations
which have been denied by the ACL.
* 'zone-disallowed-notify' metric, counting the number of NOTIFY operations
which have been denied by the zone list.
* API support for modifying 'allow-notify-from' ACL.
* Regression tests for new ACL settings.
Peter van Dijk [Fri, 12 Nov 2021 08:13:29 +0000 (09:13 +0100)]
Merge pull request #10969 from Habbie/doc-nits-11-2021
rec, auth: some doc updates
Kevin P. Fleming [Fri, 24 Sep 2021 20:59:45 +0000 (16:59 -0400)]
rec: Refactor cache-wiping code into a common function
Eliminates multiple copies of the code and eliminates
inconsistencies between them.
Kevin P. Fleming [Fri, 24 Sep 2021 20:52:03 +0000 (16:52 -0400)]
rec: Allow worker threads to send tasks to handler thread
Extend the ThreadMSG mechanism to allow worker threads to submit
tasks to be executed by the handler thread (one-way only, no
answers can be returned).
Otto [Wed, 10 Nov 2021 12:56:26 +0000 (13:56 +0100)]
print stderr and stdout for api test
Otto Moerbeek [Wed, 10 Nov 2021 13:54:20 +0000 (14:54 +0100)]
Merge pull request #10971 from omoerbeek/rec-curl-dep
rec: We need libcurl dev lib for the zone-to-cache function.
Otto [Wed, 10 Nov 2021 12:34:04 +0000 (13:34 +0100)]
Disable bulk test with TSAN for now and add some debug code to api test
Otto [Wed, 10 Nov 2021 11:13:04 +0000 (12:13 +0100)]
Supress g_stats data races
Otto [Wed, 10 Nov 2021 11:36:21 +0000 (12:36 +0100)]
Run fewer CircleCI bulk tests. These are covered by builbot anyway
Otto [Wed, 10 Nov 2021 10:24:30 +0000 (11:24 +0100)]
Enable tsan build plus tests for rec GH actions
Otto [Wed, 10 Nov 2021 09:07:58 +0000 (10:07 +0100)]
Remove other remains of GnuTLS config that was never useful
Peter van Dijk [Wed, 10 Nov 2021 09:11:23 +0000 (10:11 +0100)]
Merge pull request #10970 from Habbie/auth-4.5.2-secpoll-docs
auth-4.5.2: secpoll and changelog
Otto [Wed, 10 Nov 2021 08:38:28 +0000 (09:38 +0100)]
Move asan plus ubsan settings to strategy, in preparation for also doing tsan
Frank Louwers [Wed, 10 Nov 2021 08:27:50 +0000 (09:27 +0100)]
Clarify docs
Otto [Wed, 10 Nov 2021 08:14:04 +0000 (09:14 +0100)]
We need libcurl dev lib for the zone-to-cache function.
Also fix config summary line and print curl feature on --version
Peter van Dijk [Wed, 10 Nov 2021 07:58:57 +0000 (08:58 +0100)]
auth-4.5.2: secpoll and changelog
Peter van Dijk [Tue, 9 Nov 2021 15:55:35 +0000 (16:55 +0100)]
Merge pull request #10941 from Habbie/bind-dont-list-rejected-zones
auth bindbackend: skip rejected zones during list and search
Pieter Lexis [Tue, 9 Nov 2021 15:11:08 +0000 (16:11 +0100)]
Merge pull request #10967 from pieterlexis/rec-lua-scr-doc-format
rec: Fix formatting for versionadded
Peter van Dijk [Tue, 9 Nov 2021 14:02:23 +0000 (15:02 +0100)]
improve chroot text
Peter van Dijk [Tue, 9 Nov 2021 13:59:02 +0000 (14:59 +0100)]
stop saying mysql is a good choice for performance
Peter van Dijk [Wed, 3 Nov 2021 13:00:30 +0000 (14:00 +0100)]
auth bindbackend: skip rejected zones during list and search, fixes #10885
Pieter Lexis [Tue, 9 Nov 2021 11:21:59 +0000 (12:21 +0100)]
Fix formatting for versionadded
Otto Moerbeek [Tue, 9 Nov 2021 11:18:12 +0000 (12:18 +0100)]
Merge pull request #10966 from omoerbeek/rec-prep-4.6.0-beta1
rec: Prep for rec-4.6.0-beta1
Otto [Tue, 9 Nov 2021 08:35:15 +0000 (09:35 +0100)]
Correct versionadded
Otto Moerbeek [Tue, 9 Nov 2021 08:02:41 +0000 (09:02 +0100)]
Prep for rec-4.6.0-beta1
Otto Moerbeek [Mon, 8 Nov 2021 17:01:20 +0000 (18:01 +0100)]
Merge pull request #10965 from omoerbeek/rec-timeout-on-control
rec: Use a global timeout for the various recv's we're doing to get a control message
Otto Moerbeek [Mon, 8 Nov 2021 17:01:07 +0000 (18:01 +0100)]
Merge pull request #10937 from omoerbeek/rec-tests-gh
rec: gh actions for recursor tests
Peter van Dijk [Mon, 8 Nov 2021 16:06:55 +0000 (17:06 +0100)]
Merge pull request #10963 from mind04/pdns-soa-backend
auth: make the zonecache more robust for bad data and save some SOA q…
Peter van Dijk [Mon, 8 Nov 2021 15:38:00 +0000 (16:38 +0100)]
Merge pull request #10959 from mind04/pdns-napex-soa
auth: api, check qtype location
Otto [Mon, 8 Nov 2021 13:10:31 +0000 (14:10 +0100)]
Use sysconf if needed to get ARG_MAX
Otto [Mon, 8 Nov 2021 12:46:49 +0000 (13:46 +0100)]
Limit max arg length
Otto [Mon, 8 Nov 2021 12:32:50 +0000 (13:32 +0100)]
Use a global timeout for the various recv's we're doing to get a control message
Kees Monshouwer [Mon, 8 Nov 2021 11:22:31 +0000 (12:22 +0100)]
auth: make the zonecache more robust for bad data and save some SOA queries
for dnssec zones
Otto [Mon, 8 Nov 2021 10:28:34 +0000 (11:28 +0100)]
Review remarks from Habbie
Kees Monshouwer [Mon, 8 Nov 2021 10:54:53 +0000 (11:54 +0100)]
auth: api, remove CDS and CDNSKEY for now, in favor of https://www.ietf.org/archive/id/draft-thomassen-dnsop-dnssec-bootstrapping-02.html
Kees Monshouwer [Sun, 7 Nov 2021 15:08:32 +0000 (16:08 +0100)]
auth: check domain_id in the info-all-master-query
Kees Monshouwer [Sun, 7 Nov 2021 15:07:10 +0000 (16:07 +0100)]
auth: api, check qtype location. Some types only live apex and some are not allowed (or useful) there.
Remi Gacogne [Mon, 8 Nov 2021 09:27:08 +0000 (10:27 +0100)]
Merge pull request #10948 from phonedph1/patch-30
dnsdist: dont try to set IPV6_RECVPKTINFO on an ipv4 any bind?
Otto Moerbeek [Mon, 8 Nov 2021 09:02:19 +0000 (10:02 +0100)]
Merge pull request #10865 from Habbie/api-v1
auth, rec: put some json on /api/v1
Peter van Dijk [Mon, 8 Nov 2021 09:01:52 +0000 (10:01 +0100)]
Merge pull request #10951 from mind04/pdns-catch-more
auth: improve dnsname exception handling for SOA records
Otto Moerbeek [Mon, 8 Nov 2021 09:01:01 +0000 (10:01 +0100)]
Merge pull request #10955 from omoerbeek/dnsdist-regexp-suffixmatch
If possible, use SuffixMatchNodeRule() instead of RegexRule()
Pieter Lexis [Mon, 8 Nov 2021 07:49:19 +0000 (08:49 +0100)]
Merge pull request #10960 from nivex/patch-1
Fix quad9 example servers that had run together
Nivex [Mon, 8 Nov 2021 02:55:33 +0000 (21:55 -0500)]
Fix quad9 example servers that had run together
Kees Monshouwer [Fri, 5 Nov 2021 10:24:53 +0000 (11:24 +0100)]
auth: improve SOA dnsname exception handling
Remi Gacogne [Fri, 5 Nov 2021 16:09:08 +0000 (17:09 +0100)]
Merge pull request #10943 from rgacogne/credentials-script-salt-unsigned
Credentials: EVP_PKEY_CTX_set1_scrypt_salt() takes an `unsigned char*`
Peter van Dijk [Fri, 5 Nov 2021 15:15:12 +0000 (16:15 +0100)]
namespace
Peter van Dijk [Fri, 5 Nov 2021 15:03:32 +0000 (16:03 +0100)]
better docblock note
Peter van Dijk [Fri, 5 Nov 2021 14:56:16 +0000 (15:56 +0100)]
Update CONTRIBUTING.md
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto [Fri, 5 Nov 2021 14:48:28 +0000 (15:48 +0100)]
If possible, use SuffixMatchNodeRule() instead of RegexRule
Peter van Dijk [Fri, 5 Nov 2021 14:42:28 +0000 (15:42 +0100)]
some updates to CONTRIBUTING.md
phonedph1 [Fri, 5 Nov 2021 13:33:44 +0000 (07:33 -0600)]
Update pdns/dnsdist.cc
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto [Fri, 5 Nov 2021 12:47:23 +0000 (13:47 +0100)]
Reformat
Peter van Dijk [Tue, 19 Oct 2021 10:32:05 +0000 (12:32 +0200)]
remove a bunch of unnecessary &
Peter van Dijk [Tue, 19 Oct 2021 10:22:56 +0000 (12:22 +0200)]
auth, rec: put some json on /api/v1
Pieter Lexis [Fri, 5 Nov 2021 12:15:15 +0000 (13:15 +0100)]
Merge pull request #10945 from rgacogne/auth-pdns-control-link
auth: pdns_control needs to be linked against libcrypto now
Otto Moerbeek [Fri, 5 Nov 2021 10:08:22 +0000 (11:08 +0100)]
Merge pull request #10940 from omoerbeek/rec-prep-4.4.7-4.5.7
rec: Prep for rec-4.4.7 and rec-4.5.7
Otto Moerbeek [Fri, 5 Nov 2021 09:17:42 +0000 (10:17 +0100)]
cast arg of EVP_PKEY_CTX_set1_pbe_pass() to const void * to satisfy both openssl 1.1 and 3.0
Remi Gacogne [Fri, 5 Nov 2021 09:00:22 +0000 (10:00 +0100)]
Merge pull request #10919 from rgacogne/more-udp-stats
Add more UDP error metrics (checksum, IPv6)
phonedph1 [Thu, 4 Nov 2021 17:13:39 +0000 (11:13 -0600)]
Update dnsdist.cc
Remi Gacogne [Thu, 4 Nov 2021 08:44:56 +0000 (09:44 +0100)]
Merge pull request #10944 from rgacogne/ddist-disable-includedir-tests
dnsdist: Disable 'IncludeDir' tests on GH actions
Otto Moerbeek [Wed, 3 Nov 2021 19:14:33 +0000 (20:14 +0100)]
Merge pull request #10929 from omoerbeek/carbon-tests-rec-auth
Carbon regression test for rec and auth.
Remi Gacogne [Wed, 3 Nov 2021 16:13:14 +0000 (17:13 +0100)]
dnsdist: Disable 'IncludeDir' tests on GH actions
Remi Gacogne [Wed, 3 Nov 2021 15:43:04 +0000 (16:43 +0100)]
auth: pdns_control needs to be linked against libcrypto now
Remi Gacogne [Wed, 3 Nov 2021 15:14:40 +0000 (16:14 +0100)]
Credentials: EVP_PKEY_CTX_set1_scrypt_salt() takes an `unsigned char*`
Otto [Wed, 3 Nov 2021 14:58:49 +0000 (15:58 +0100)]
Remove dnsdist specific tests that remained
Remi Gacogne [Fri, 29 Oct 2021 12:47:15 +0000 (14:47 +0200)]
dnsdist: Remove one last forgotten boost::bind in dnsdist.hh
Remi Gacogne [Fri, 29 Oct 2021 12:46:43 +0000 (14:46 +0200)]
Remove tabs in misc.cc
Remi Gacogne [Thu, 28 Oct 2021 07:35:15 +0000 (09:35 +0200)]
Add 'csum' to the list of allowed words (SNMP checksum metrics)
Remi Gacogne [Wed, 27 Oct 2021 16:50:28 +0000 (18:50 +0200)]
dnsdist: Document new UDP error metrics
Remi Gacogne [Wed, 27 Oct 2021 16:50:04 +0000 (18:50 +0200)]
rec: Add IPv6 UDP error metrics
Remi Gacogne [Wed, 27 Oct 2021 16:41:18 +0000 (18:41 +0200)]
auth: Add IPv6 UDP error metrics
Remi Gacogne [Wed, 27 Oct 2021 16:17:52 +0000 (18:17 +0200)]
dnsdist: Fix dumpStats() formatting
Remi Gacogne [Wed, 27 Oct 2021 15:59:48 +0000 (17:59 +0200)]
dnsdist: Add IPv6 UDP error metrics
Remi Gacogne [Wed, 27 Oct 2021 15:32:01 +0000 (17:32 +0200)]
auth: Add 'InCsumErrors' UDP metric
Remi Gacogne [Wed, 27 Oct 2021 15:16:07 +0000 (17:16 +0200)]
rec: Add 'InCsumErrors' UDP metric
Remi Gacogne [Wed, 27 Oct 2021 15:04:59 +0000 (17:04 +0200)]
dnsdist: Add 'InCsumErrors' UDP metric
Remi Gacogne [Wed, 3 Nov 2021 14:14:54 +0000 (15:14 +0100)]
Merge pull request #10927 from rgacogne/ddist-doc-svc-nodata
dnsdist: Reply with NODATA for non-SVC types in the SVC documentation
Remi Gacogne [Wed, 3 Nov 2021 14:13:47 +0000 (15:13 +0100)]
Merge pull request #10923 from rgacogne/ddist-retain-capabilities
dnsdist: Add the ability to retain select capabilities at runtime
Otto [Wed, 3 Nov 2021 12:22:25 +0000 (13:22 +0100)]
Prep for rec-4.4.7 and rec-4.5.7
Otto [Wed, 3 Nov 2021 11:30:46 +0000 (12:30 +0100)]
Rename bulk test to make it clear it is mini
Otto [Wed, 3 Nov 2021 10:22:57 +0000 (11:22 +0100)]
Separate bulk test deps from regression test deps
Otto Moerbeek [Wed, 3 Nov 2021 10:21:17 +0000 (11:21 +0100)]
Merge pull request #10930 from omoerbeek/rec-control-stream
rec: Move to a stream based socket for the control channel
Otto [Wed, 3 Nov 2021 09:52:52 +0000 (10:52 +0100)]
Reduce size of bulk test and run it using a matrix to vary settings
Otto [Tue, 2 Nov 2021 08:17:47 +0000 (09:17 +0100)]
Initial stab at running the recursor regress and bulk tests on GH workflows
Some issues had to be worked around: libfaketime and bulk test network load
Otto Moerbeek [Wed, 3 Nov 2021 09:04:02 +0000 (10:04 +0100)]
Merge pull request #10904 from omoerbeek/untrusted-zones-docs
Some things you should do when handling untrusted zone files.
Otto Moerbeek [Wed, 3 Nov 2021 09:03:45 +0000 (10:03 +0100)]
Merge pull request #10901 from rgacogne/zoneparsertng-width
ZoneParserTNG: Stricter checks when loading a zone file
Peter van Dijk [Mon, 1 Nov 2021 19:25:06 +0000 (20:25 +0100)]
Merge pull request #10935 from EugenMayer/patch-1
Remove debug print line flooding logs