]>
git.ipfire.org Git - thirdparty/pdns.git/log
Chris Hofstaedtler [Wed, 31 Mar 2021 16:31:10 +0000 (18:31 +0200)]
tests: stop using deprecated unittest names
Deprecated since Python 3.2
Peter van Dijk [Wed, 31 Mar 2021 12:14:35 +0000 (14:14 +0200)]
Merge pull request #10251 from Habbie/auth-local-ipv6-redux
auth: remove local-ipv6, query-local-address6 (redo of #9552). Closes #5368
Peter van Dijk [Wed, 31 Mar 2021 12:00:39 +0000 (14:00 +0200)]
Merge pull request #10217 from Habbie/auth-api-cds
auth API cryptokeys: add cds array when configured to do so. Closes #10215
Peter van Dijk [Wed, 31 Mar 2021 11:58:55 +0000 (13:58 +0200)]
Merge pull request #10183 from pieterlexis/docs-rm-sql-statements
docs: Remove raw SQL statements where possible
Otto Moerbeek [Wed, 31 Mar 2021 11:38:45 +0000 (13:38 +0200)]
Merge pull request #10250 from omoerbeek/AlignAfterOpenBracket-Align
AlignAfterOpenBracket: Align
Peter van Dijk [Wed, 31 Mar 2021 10:57:16 +0000 (12:57 +0200)]
auth: remove local-ipv6, query-local-address6 (redo of #9552). Closes #5368
Otto [Wed, 31 Mar 2021 09:57:32 +0000 (11:57 +0200)]
AlignAfterOpenBracket: Align
Remi Gacogne [Wed, 31 Mar 2021 09:28:22 +0000 (11:28 +0200)]
Merge pull request #10216 from rgacogne/shared-lock
Replace pthread_rwlock with std::shared_mutex
Remi Gacogne [Wed, 31 Mar 2021 09:27:05 +0000 (11:27 +0200)]
Merge pull request #10223 from rgacogne/rec-fix-broken-dnskeys
rec: Better handling of stranded DNSKeys
Otto Moerbeek [Wed, 31 Mar 2021 07:32:39 +0000 (09:32 +0200)]
Merge pull request #10243 from omoerbeek/rec-prep-4.4.3
rec: Prep for rec-4.4.3
Otto Moerbeek [Wed, 31 Mar 2021 06:05:56 +0000 (08:05 +0200)]
Merge pull request #10242 from omoerbeek/formatting-exceptions
Keep a list of not-formatted files
Remi Gacogne [Tue, 30 Mar 2021 08:23:08 +0000 (10:23 +0200)]
speedtest: Move the increment inside the loop for lock tests
Remi Gacogne [Tue, 30 Mar 2021 07:20:41 +0000 (09:20 +0200)]
rec: Fix duplicated space in the SyncRes unit tests
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Remi Gacogne [Tue, 30 Mar 2021 07:20:34 +0000 (09:20 +0200)]
rec: Fix duplicated space in the SyncRes unit tests
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Otto [Tue, 30 Mar 2021 07:10:21 +0000 (09:10 +0200)]
Prep for rec-4.4.3
Otto [Tue, 30 Mar 2021 06:29:10 +0000 (08:29 +0200)]
Keep a list of not-formatted files
Otto Moerbeek [Mon, 29 Mar 2021 15:01:32 +0000 (17:01 +0200)]
Merge pull request #10238 from omoerbeek/rec-nod-file
rec: More fail-safe handling of NOD files
Otto [Mon, 29 Mar 2021 13:27:43 +0000 (15:27 +0200)]
Safe tmp file handling, basic sanity check on size of data.
Otto [Mon, 29 Mar 2021 10:07:14 +0000 (12:07 +0200)]
Move the opening of the file to write a bit down
Otto [Mon, 29 Mar 2021 10:05:55 +0000 (12:05 +0200)]
namespace filesystem = boost::filesystem
Otto [Mon, 29 Mar 2021 09:49:34 +0000 (11:49 +0200)]
Zap tmp files; use random suffix and fix leak by using smart pointer.
Otto [Mon, 29 Mar 2021 08:40:37 +0000 (10:40 +0200)]
More fail-safe handling of NOD files
Remi Gacogne [Mon, 29 Mar 2021 08:30:13 +0000 (10:30 +0200)]
Merge pull request #10230 from rgacogne/ddist-160-a3-changelog
dnsdist: Add ChangeLog and secpoll update for 1.6.0-alpha3
Otto Moerbeek [Fri, 26 Mar 2021 17:05:37 +0000 (18:05 +0100)]
Merge pull request #10232 from omoerbeek/rec-clear-cache-from
rec: Clear d_from if we don't know where the update came from
Otto [Fri, 26 Mar 2021 15:37:46 +0000 (16:37 +0100)]
Clear d_from if we don't know where the update came from
Remi Gacogne [Fri, 26 Mar 2021 14:57:31 +0000 (15:57 +0100)]
rec: Add unit tests for the "unpublished DNSKEY" case
Remi Gacogne [Fri, 26 Mar 2021 14:56:11 +0000 (15:56 +0100)]
rec: Don't override a Bogus state, handle NSEC3s for unpublished DNSKEY
Remi Gacogne [Fri, 26 Mar 2021 14:00:41 +0000 (15:00 +0100)]
dnsdist: Add ChangeLog and secpoll update for 1.6.0-alpha3
Peter van Dijk [Fri, 26 Mar 2021 11:29:48 +0000 (12:29 +0100)]
Merge pull request #10206 from pieterlexis/API-search-rrtype-on-comment
API: return RRType when finding a comment
Remi Gacogne [Fri, 26 Mar 2021 10:58:08 +0000 (11:58 +0100)]
Merge pull request #10207 from rgacogne/ddist-max-concurrent-connections
dnsdist: Add limits for cached TCP connections, metrics
Remi Gacogne [Wed, 24 Mar 2021 14:16:44 +0000 (15:16 +0100)]
dnsdist: Clarify the meaning of 'tcpMaxConcurrentConnections'
Remi Gacogne [Wed, 24 Mar 2021 14:15:17 +0000 (15:15 +0100)]
dnsdist: Remove trailing whitespace in the documentation
Remi Gacogne [Wed, 24 Mar 2021 10:27:15 +0000 (11:27 +0100)]
dnsdist: Add regression tests for the number of conns per frontend
Remi Gacogne [Tue, 23 Mar 2021 17:58:54 +0000 (18:58 +0100)]
dnsdist: Add a parameter to limit the number of TCP conns per frontend
Remi Gacogne [Mon, 22 Mar 2021 17:45:01 +0000 (18:45 +0100)]
dnsdist: Add setMaxCachedTCPConnectionsPerDownstream()
Remi Gacogne [Mon, 22 Mar 2021 16:12:46 +0000 (17:12 +0100)]
dnsdist: Add 'max concurrent connections' counters
Pieter Lexis [Mon, 22 Mar 2021 17:31:31 +0000 (18:31 +0100)]
API: return RRType when finding a comment
Otto Moerbeek [Fri, 26 Mar 2021 09:15:45 +0000 (10:15 +0100)]
Merge pull request #10213 from omoerbeek/rec-prep-4.5.0-beta1
Rec: prep for 4.5.0 beta1
Remi Gacogne [Fri, 26 Mar 2021 08:48:09 +0000 (09:48 +0100)]
rec: Better handling of stranded DNSKeys
Remi Gacogne [Fri, 26 Mar 2021 07:33:19 +0000 (08:33 +0100)]
Merge pull request #10218 from rgacogne/ddist-disable-renego
dnsdist: Disable TLS renegotiation by default
Remi Gacogne [Thu, 25 Mar 2021 18:17:24 +0000 (19:17 +0100)]
dnsdist: Disable client-initiated renegotiation with LibreSSL
Remi Gacogne [Thu, 25 Mar 2021 15:57:44 +0000 (16:57 +0100)]
dnsdist: Disable TLS renegotiation by default
Peter van Dijk [Thu, 25 Mar 2021 11:16:31 +0000 (12:16 +0100)]
auth API: add test for new cryptokeys "cds" property
Peter van Dijk [Thu, 25 Mar 2021 11:16:19 +0000 (12:16 +0100)]
auth api: clear domain metadata cache after setting or deleting it
Peter van Dijk [Thu, 25 Mar 2021 10:59:41 +0000 (11:59 +0100)]
swagger
Peter van Dijk [Thu, 25 Mar 2021 10:47:49 +0000 (11:47 +0100)]
auth API cryptokeys: add cds array when configured to do so. Closes #10215
Remi Gacogne [Thu, 25 Mar 2021 09:56:48 +0000 (10:56 +0100)]
speedtest: Add tests for the ReadWriteLock class
Remi Gacogne [Thu, 25 Mar 2021 09:00:38 +0000 (10:00 +0100)]
Merge pull request #10214 from rgacogne/ddist-certificate-reloading
dnsdist: Unify certificate reloading syntaxes
Remi Gacogne [Wed, 24 Mar 2021 17:49:02 +0000 (18:49 +0100)]
Replace pthread_rwlock with std::shared_mutex
Remi Gacogne [Wed, 24 Mar 2021 15:38:24 +0000 (16:38 +0100)]
dnsdist: Unify certificate reloading syntaxes
Otto Moerbeek [Wed, 24 Mar 2021 15:28:16 +0000 (16:28 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Otto Moerbeek [Wed, 24 Mar 2021 14:40:30 +0000 (15:40 +0100)]
Merge pull request #10212 from omoerbeek/rec-docs-mt-metrics
rec: A few updates and corrections of docs related to metrics and threads.
Remi Gacogne [Wed, 24 Mar 2021 14:02:34 +0000 (15:02 +0100)]
Merge pull request #10201 from rgacogne/ddist-connect-timeout
dnsdist: Fix the TCP connect timeout, add metrics
Otto [Wed, 24 Mar 2021 13:59:31 +0000 (14:59 +0100)]
Fix typos and incoorporate suggestions.
Otto [Mon, 15 Mar 2021 13:25:57 +0000 (14:25 +0100)]
A few updates and corrections of docs related to metrics and threads.
Remi Gacogne [Wed, 24 Mar 2021 12:45:38 +0000 (13:45 +0100)]
dnsdist: Revert the backend's default TCP read and write timeouts
Remi Gacogne [Wed, 24 Mar 2021 12:37:36 +0000 (13:37 +0100)]
Merge pull request #10204 from rgacogne/ddist-tuning-defaults
dnsdist: Enable sharding by default, greater pipe buffer sizes
Otto [Wed, 24 Mar 2021 11:22:25 +0000 (12:22 +0100)]
Changelog and secpoll
Otto Moerbeek [Wed, 24 Mar 2021 11:17:10 +0000 (12:17 +0100)]
Merge pull request #9995 from omoerbeek/rec-fastopen-connect
Rec and sdig: support tcp fastopen connect
Otto [Tue, 23 Mar 2021 15:10:37 +0000 (16:10 +0100)]
Avoid flooding log on each connect by testing if fast-open-connect succeeds once on startup,
as suggested by @rgacogne.
Plus a few corrections in docs.
Otto [Mon, 15 Mar 2021 11:08:54 +0000 (12:08 +0100)]
change in writenWithTimeout should not be needed anymore as sdig now
uses tcpiohandler with blocking sockets
Otto [Wed, 3 Mar 2021 12:51:45 +0000 (13:51 +0100)]
As suggested by @rgacogne and verified by myself v6 actually does have TFO.
Otto [Wed, 3 Mar 2021 12:36:43 +0000 (13:36 +0100)]
Zap unused leftover var after rebase
Otto [Tue, 26 Jan 2021 09:26:07 +0000 (10:26 +0100)]
My initial diagnosis of google causing disable of TFO was wrong,
other NS caused the observed behaviour.
Otto [Fri, 22 Jan 2021 13:57:06 +0000 (14:57 +0100)]
Upgrade guide note
Otto [Fri, 22 Jan 2021 12:39:30 +0000 (13:39 +0100)]
Spelling execptions
Otto Moerbeek [Fri, 22 Jan 2021 12:36:26 +0000 (13:36 +0100)]
rfc ref
Co-authored-by: Pieter Lexis <pieter@plexis.eu>
Otto [Fri, 22 Jan 2021 12:28:53 +0000 (13:28 +0100)]
Settings docs plus some background info.
Otto [Fri, 22 Jan 2021 11:34:03 +0000 (12:34 +0100)]
Use separate settings for tcp-fast-open (passive) and tcp-fast-open-connect (active)
Also warn if things cannot work due to kernel settings and go back to
async connect() now that OpenBSD handles that properly.
Otto [Fri, 22 Jan 2021 11:25:42 +0000 (12:25 +0100)]
Warn if fastopen-connect is requested but could not be enabled and adapt
sdig to work using tcp using a socket in non-blocking mode.
A fix was needed in the write logic for OpenBSD: We need to call
writenWithTimeout(), since OpenBSD does not allow to write to a
non-blocking socket that isn't connected yet. Additionally
writenWithTimeout() need to take into account that ENOTCONN can be
returned in that case.
Otto [Wed, 20 Jan 2021 12:28:02 +0000 (13:28 +0100)]
Use a timeout with tcp connect to we get the EINPROGRESS handling.
Otto Moerbeek [Wed, 20 Jan 2021 10:04:50 +0000 (11:04 +0100)]
sdig now works with fastopen
Otto [Tue, 19 Jan 2021 15:48:43 +0000 (16:48 +0100)]
Start supporting fastopen for outgoing TCP connections.
Otto [Wed, 24 Mar 2021 09:57:03 +0000 (10:57 +0100)]
update EOL statement
Otto Moerbeek [Wed, 24 Mar 2021 09:17:11 +0000 (10:17 +0100)]
Merge pull request #10210 from omoerbeek/rec-fix-skip-v6-test
rec: Setup env properly to skip v6 test.
Otto [Wed, 24 Mar 2021 09:11:33 +0000 (10:11 +0100)]
Mention padding in upgrade guide
Otto [Wed, 24 Mar 2021 08:01:27 +0000 (09:01 +0100)]
Setup env properly to skip v6 test.
CicleCI docs indeed suggest the environment setting under docker do not apply
to the jobs steps.
Remi Gacogne [Tue, 23 Mar 2021 15:37:42 +0000 (16:37 +0100)]
Merge pull request #10208 from rgacogne/ddist-doh-id
dnsdist: Fix the handling of DoH queries with a non-zero ID
Otto Moerbeek [Tue, 23 Mar 2021 14:43:01 +0000 (15:43 +0100)]
Merge pull request #8918 from rgacogne/rec-edns-padding-plus-tests
rec: Implement EDNS0 padding (rfc7830) for outgoing responses
Remi Gacogne [Tue, 23 Mar 2021 14:22:09 +0000 (15:22 +0100)]
dnsdist: Fix the handling of DoH queries with a non-zero ID
rfc8484 states that clients "SHOULD use a DNS ID of 0 in every DNS
request", not MUST, so it does indeed happen.
The issue was introduced in
341d2553b74c579df9d9843959f3ca6f5c3dc954
when we moved to a safer PacketBuffer.
Otto Moerbeek [Tue, 23 Mar 2021 11:48:02 +0000 (12:48 +0100)]
Merge pull request #10057 from rgacogne/rec-no-zone-cut-computation
rec: Get rid of early zone cut computation
Otto Moerbeek [Mon, 22 Mar 2021 20:12:58 +0000 (21:12 +0100)]
Merge pull request #10182 from omoerbeek/rec-better-prime
rec: Insert hints as non-auth into cache
Otto [Mon, 22 Mar 2021 19:01:00 +0000 (20:01 +0100)]
Reformat
Peter van Dijk [Mon, 22 Mar 2021 18:59:02 +0000 (19:59 +0100)]
Merge pull request #10164 from Habbie/amazon-linux-extras-epel
amazonlinux-2 packaging improvements
Pieter Lexis [Mon, 22 Mar 2021 17:39:55 +0000 (18:39 +0100)]
Update docs/backends/generic-sql.rst
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Peter van Dijk [Mon, 22 Mar 2021 14:17:38 +0000 (15:17 +0100)]
Merge pull request #10200 from Habbie/sdig-dumpluaraw
dig, pdnsutil: add dnsdist spoofAction string generators
Remi Gacogne [Mon, 22 Mar 2021 13:49:19 +0000 (14:49 +0100)]
dnsdist: Fix tests with an invalid entries / shards ratio
Remi Gacogne [Mon, 22 Mar 2021 13:48:13 +0000 (14:48 +0100)]
dnsdist: Check that we have more cache entries than shards
Peter van Dijk [Mon, 22 Mar 2021 13:07:39 +0000 (14:07 +0100)]
Merge pull request #10195 from omoerbeek/rec-prep-4.3.7
rec: changelog and secpoll for rec 4.3.7
Peter van Dijk [Mon, 22 Mar 2021 12:24:24 +0000 (13:24 +0100)]
fix typo
Peter van Dijk [Mon, 22 Mar 2021 12:21:15 +0000 (13:21 +0100)]
fix formatting after merge of #10099
Remi Gacogne [Mon, 22 Mar 2021 11:04:52 +0000 (12:04 +0100)]
dnsdist: Enable sharding by default, greater pipe buffer sizes
The sharding code has seen a lot of traffic by now and can safely be
enabled by default, since it provides much better performance (less
contention).
Determining the optimal size of pipe buffers on all systems is hard,
but let's use a better default on Linux where we know it works well.
Also increase the number of queued TCP/DoT connections now that the
buffer is big enough.
Peter van Dijk [Mon, 22 Mar 2021 10:29:10 +0000 (11:29 +0100)]
Merge pull request #10099 from RobinGeuze/lmdbTransactionErrors
Check if transaction is active in LMDB
Peter van Dijk [Mon, 22 Mar 2021 10:27:08 +0000 (11:27 +0100)]
Merge pull request #10129 from Habbie/auth-docs-10127
auth upgrade docs: note removal of do-ipv6-additional-processing
Peter van Dijk [Mon, 22 Mar 2021 10:24:00 +0000 (11:24 +0100)]
Merge pull request #10175 from jsoref/patterns
spelling: ignore hex strings that are 8+ chars long
Peter van Dijk [Fri, 19 Mar 2021 14:47:54 +0000 (15:47 +0100)]
sdig, pdnsutil: add dnsdist spoofAction string generators
Peter van Dijk [Fri, 19 Mar 2021 19:20:19 +0000 (20:20 +0100)]
Merge pull request #10202 from kaistian/docs-fix
docs: Changed to correct zone in sqlite backend example
Kai Stian Olstad [Fri, 19 Mar 2021 19:16:30 +0000 (20:16 +0100)]
docs: Changed to correct zone in sqlite backend example
Remi Gacogne [Fri, 19 Mar 2021 15:14:56 +0000 (16:14 +0100)]
dnsdist: Fix the TCP connect timeout, add metrics
Remi Gacogne [Fri, 19 Mar 2021 16:45:17 +0000 (17:45 +0100)]
Merge pull request #10156 from rgacogne/ddist-conn-reuse
dnsdist: Improve TCP connection reuse, add metrics