]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 22 Feb 2022 12:33:19 +0000 (13:33 +0100)]
dnsdist: Document that whether we upgrade to DoT or DoH depends on the SVCB record
Remi Gacogne [Thu, 17 Feb 2022 09:31:12 +0000 (10:31 +0100)]
dnsdist: Fix an off-by-one second issue in the health-check interval
Remi Gacogne [Wed, 16 Feb 2022 16:15:00 +0000 (17:15 +0100)]
dnsdist: Schedule an immediate health-check for upgraded backends
Remi Gacogne [Wed, 16 Feb 2022 16:14:11 +0000 (17:14 +0100)]
dnsdist: Fix backends kept after upgrade no longer working
Remi Gacogne [Wed, 16 Feb 2022 15:00:07 +0000 (16:00 +0100)]
dnsdist: Remove move-constructor and move copy operator for DownstreamState
Remi Gacogne [Fri, 11 Feb 2022 08:45:37 +0000 (09:45 +0100)]
iputils: Stop using boost::format for error messages
Remi Gacogne [Thu, 10 Feb 2022 14:50:54 +0000 (15:50 +0100)]
dnsdist: Wait a bit longer in the Backend Discovery regression tests
Otherwise TSAN complains about a race in `boost::format` between the
connection error message in `SConnectWithTimeout()` and the output of
`showServers()`..
Remi Gacogne [Thu, 10 Feb 2022 10:40:31 +0000 (11:40 +0100)]
dnsdist: Do a second backend upgrade check if the first failed, in the regression tests
Remi Gacogne [Wed, 9 Feb 2022 10:41:59 +0000 (11:41 +0100)]
dnsdist: Remove duplicated TSAN suppressions file
Remi Gacogne [Wed, 9 Feb 2022 10:41:28 +0000 (11:41 +0100)]
dnsdist: Ignore the data race in 'DownstreamState::stop()'
Remi Gacogne [Wed, 9 Feb 2022 09:44:35 +0000 (10:44 +0100)]
dnsdist: Properly stop upgraded backends, remove them from pools
Remi Gacogne [Tue, 8 Feb 2022 16:46:26 +0000 (17:46 +0100)]
dnsdist: Require dnspython >= 2.2.0 in our regression tests for SVCB
Remi Gacogne [Tue, 8 Feb 2022 16:43:02 +0000 (17:43 +0100)]
dnsdist: The certificate in our regression tests now has '127.0.0.1'
Remi Gacogne [Tue, 8 Feb 2022 09:37:17 +0000 (10:37 +0100)]
dnsdist: Add regression tests for backend discovery
Remi Gacogne [Tue, 8 Feb 2022 09:35:19 +0000 (10:35 +0100)]
TCPIOHandler: Handle validation of IP addresses in certificates
Remi Gacogne [Mon, 7 Feb 2022 17:23:41 +0000 (18:23 +0100)]
dnsdist: Inherit TLS parameters from the initial backend when upgrading
Remi Gacogne [Mon, 7 Feb 2022 16:44:00 +0000 (17:44 +0100)]
dnsdist: Fix additional records count in discovery queries
Remi Gacogne [Mon, 7 Feb 2022 14:16:33 +0000 (15:16 +0100)]
dnsdist: Check whether the discovered backend is actually usable
Remi Gacogne [Mon, 7 Feb 2022 14:15:57 +0000 (15:15 +0100)]
dnsdist: Use dnsdist::ServiceDiscovery::s_defaultDoHSVCKey in newServer
Remi Gacogne [Mon, 7 Feb 2022 14:15:02 +0000 (15:15 +0100)]
dnsdist: Use OpenSSL as the default TLS provider in client mode
Remi Gacogne [Fri, 4 Feb 2022 15:14:34 +0000 (16:14 +0100)]
dnsdist: Uglify the code to make the formatter happy
Remi Gacogne [Fri, 7 Jan 2022 16:40:50 +0000 (17:40 +0100)]
dnsdist: Dynamic discovery and upgrade of backends
Remi Gacogne [Fri, 4 Feb 2022 14:27:19 +0000 (15:27 +0100)]
dnsdist: Separate config from running members in DownstreamState
Remi Gacogne [Tue, 22 Feb 2022 08:25:01 +0000 (09:25 +0100)]
Merge pull request #11163 from rgacogne/ddist-random-ports
dnsdist: Allow randomly selecting a backend UDP socket and query ID
Remi Gacogne [Tue, 22 Feb 2022 08:24:06 +0000 (09:24 +0100)]
Merge pull request #11323 from rgacogne/ddist-latency-count
dnsdist: Fix the latency-count metric
Otto Moerbeek [Tue, 22 Feb 2022 07:17:34 +0000 (08:17 +0100)]
Better description of latency-count and latency-bucket
Remi Gacogne [Mon, 21 Feb 2022 11:35:22 +0000 (12:35 +0100)]
Merge pull request #11324 from rgacogne/ddist-gnutls-leak-fixed-373
dnsdist: Remove the leak warning with GnuTLS >= 3.7.3
Peter van Dijk [Sun, 20 Feb 2022 18:11:29 +0000 (19:11 +0100)]
Merge pull request #11344 from mnordhoff/patch-9
docs: Fix lmdb-map-size copy and paste mistake
Matt Nordhoff [Sun, 20 Feb 2022 17:32:34 +0000 (17:32 +0000)]
docs: Fix lmdb-map-size copy and paste mistake
Peter van Dijk [Fri, 18 Feb 2022 09:34:36 +0000 (10:34 +0100)]
Merge pull request #11328 from Habbie/auth-lmdb-map-size
auth lmdb: make map size configurable
Peter van Dijk [Tue, 15 Feb 2022 15:21:32 +0000 (16:21 +0100)]
auth lmdb: make map size configurable
Otto Moerbeek [Fri, 18 Feb 2022 08:20:35 +0000 (09:20 +0100)]
Merge pull request #11327 from omoerbeek/rec-follow-and-dns64
Rec: followCNAME and native dns64
Peter van Dijk [Thu, 17 Feb 2022 18:22:57 +0000 (19:22 +0100)]
Merge pull request #11333 from Habbie/auth-4.7.0-alpha1-docs
auth-4.7.0-alpha1: changelog & secpoll
Peter van Dijk [Thu, 17 Feb 2022 14:46:46 +0000 (15:46 +0100)]
Merge pull request #11336 from aerique/feature/add-auth-47-to-repo-script
Add auth-47 to repo test script.
Erik Winkels [Thu, 17 Feb 2022 12:21:13 +0000 (13:21 +0100)]
Add auth-47 to repo test script.
Peter van Dijk [Thu, 17 Feb 2022 08:26:02 +0000 (09:26 +0100)]
auth-4.7.0-alpha1: changelog & secpoll
Remi Gacogne [Wed, 16 Feb 2022 14:51:23 +0000 (15:51 +0100)]
dnsdist: Document the default behaviour of setRandomizedIdsOverUDP and setRandomizedOutgoingSockets
Remi Gacogne [Wed, 16 Feb 2022 14:50:48 +0000 (15:50 +0100)]
dnsdist: Use randombytes_random() instead of randombytes_uniform() without bounds
Otto Moerbeek [Tue, 15 Feb 2022 13:09:36 +0000 (14:09 +0100)]
Add test case for #11320: followCNAMERecords leads to a result that
should be subject to dns64 processing
Otto Moerbeek [Mon, 14 Feb 2022 14:39:17 +0000 (15:39 +0100)]
If we get NODATA on an AAAA in followCNAMERecords, try dns64
Fixes #11320
Remi Gacogne [Tue, 15 Feb 2022 08:35:59 +0000 (09:35 +0100)]
Merge pull request #11322 from rgacogne/svc-typo-error-msg
Add a missing white-space in SvcParam::keyFromString()
Peter van Dijk [Tue, 15 Feb 2022 07:01:39 +0000 (08:01 +0100)]
Merge pull request #11326 from omoerbeek/pdnsutil-import-zone-key-pem
Check return value of DNSCryptoKeyEngine::makeFromPEMString()
Peter van Dijk [Tue, 15 Feb 2022 06:15:25 +0000 (07:15 +0100)]
Merge pull request #11309 from Habbie/lmdb-random-id
auth lmdb: add random ID generation feature
Otto Moerbeek [Mon, 14 Feb 2022 19:49:40 +0000 (20:49 +0100)]
Check return value of DNSCryptoKeyEngine::makeFromPEMString() and
do not implement non-implemented features with an empty body.
Otto Moerbeek [Mon, 14 Feb 2022 19:07:00 +0000 (20:07 +0100)]
Merge pull request #11319 from omoerbeek/rec-lua-context
Read the base Lua definitions into the Lua context for reading the Lua config
Remi Gacogne [Mon, 14 Feb 2022 18:03:24 +0000 (19:03 +0100)]
Better GnuTLS warning as suggested by Matt Nordhoff
Co-authored-by: Matt Nordhoff <mnordhoff@mattnordhoff.com>
Remi Gacogne [Mon, 14 Feb 2022 16:43:11 +0000 (17:43 +0100)]
dnsdist: Remove the leak warning with GnuTLS >= 3.7.3
Remi Gacogne [Mon, 14 Feb 2022 16:30:03 +0000 (17:30 +0100)]
dnsdist: Fix the latency-count metric
Remi Gacogne [Mon, 14 Feb 2022 16:14:03 +0000 (17:14 +0100)]
Add a missing white-space in SvcParam::keyFromString()
Peter van Dijk [Fri, 4 Feb 2022 15:08:18 +0000 (16:08 +0100)]
auth lmdb: add random ID generation feature
Otto Moerbeek [Mon, 14 Feb 2022 14:41:57 +0000 (15:41 +0100)]
Merge pull request #11300 from omoerbeek/rec-sr-lua-context
rec: Use the Lua context stored in SyncRes when calling hooks.
Otto Moerbeek [Mon, 14 Feb 2022 13:55:10 +0000 (14:55 +0100)]
Also store the Lua context for the TCP case
Remi Gacogne [Mon, 14 Feb 2022 13:22:37 +0000 (14:22 +0100)]
Merge pull request #11313 from rgacogne/rec-missing-limits-include-extended
rec: Add missing 'limits' include in ednsextendederror.cc
Otto Moerbeek [Mon, 14 Feb 2022 12:08:02 +0000 (13:08 +0100)]
Overload operator -> to return a LuaContext*
@rgacogne suggested to return a LuaContext&, but AFAIKS that won't
fly because if the rescriction mentioned in
https://en.cppreference.com/w/cpp/language/operators:
The overload of operator -> must either return a raw pointer, or
return an object (by reference or by value) for which operator ->
is in turn overloaded.
As LuaContext has no -> operator, we must return a raw pointer.
Otto Moerbeek [Mon, 14 Feb 2022 08:25:16 +0000 (09:25 +0100)]
Store LuaContext shared pointer for the query in the ComboWriter object
Peter van Dijk [Mon, 14 Feb 2022 10:26:23 +0000 (11:26 +0100)]
Merge pull request #11315 from Habbie/el7-boost169
el7 builds: switch to boost 1.69
Otto Moerbeek [Mon, 14 Feb 2022 09:22:05 +0000 (10:22 +0100)]
Read the base Lua definitions into the Lua context for reading the Lua config.
This allows symbolic names for e.g. QTypes. Use that in protobufServer() and
outgoingProtobufServer(). Will also be used for the upcoming additional records code.
Peter van Dijk [Fri, 11 Feb 2022 18:11:47 +0000 (19:11 +0100)]
Merge pull request #11317 from Habbie/dnsdist-libedit
dnsdist: fix building without libedit
Remi Gacogne [Fri, 11 Feb 2022 16:18:56 +0000 (17:18 +0100)]
dnsdist: Keep 'help' working even when libedit has been disabled
Peter van Dijk [Fri, 11 Feb 2022 14:50:58 +0000 (15:50 +0100)]
dnsdist: fix building without libedit
Peter van Dijk [Fri, 11 Feb 2022 13:48:57 +0000 (14:48 +0100)]
el7 builds: switch to boost 1.69
Remi Gacogne [Fri, 11 Feb 2022 11:25:40 +0000 (12:25 +0100)]
rec: Add missing 'limits' include in ednsextendederror.cc
Remi Gacogne [Fri, 11 Feb 2022 11:12:14 +0000 (12:12 +0100)]
Merge pull request #11298 from Zash/settings-rst-fix
docs: fix rst syntax
Otto Moerbeek [Fri, 11 Feb 2022 10:40:37 +0000 (11:40 +0100)]
Merge pull request #11291 from omoerbeek/rec-periodic-tasks
rec: Replace manual maintainance of periodic tasks by an OO approach.
Otto Moerbeek [Fri, 11 Feb 2022 10:04:35 +0000 (11:04 +0100)]
Merge pull request #11307 from omoerbeek/rec-send-sni
rec: Add SNI to DoT if available
Otto Moerbeek [Fri, 11 Feb 2022 09:57:33 +0000 (10:57 +0100)]
Merge pull request #11310 from omoerbeek/boost-format
Remove include boost/format.hpp from namespaces.hh
Otto Moerbeek [Fri, 11 Feb 2022 09:56:14 +0000 (10:56 +0100)]
Add back TCP cleanup task that got lost somehow
Otto Moerbeek [Thu, 10 Feb 2022 16:07:08 +0000 (17:07 +0100)]
Include boost/format.hpp
Otto Moerbeek [Wed, 9 Feb 2022 16:06:44 +0000 (17:06 +0100)]
Remove include boost/format.hpp from namespaces.hh and only include it where used
Remi Gacogne [Thu, 10 Feb 2022 14:27:34 +0000 (15:27 +0100)]
dnsdist: Use a locked map to store the UDP states when randomizing the IDs
Remi Gacogne [Mon, 10 Jan 2022 14:54:42 +0000 (15:54 +0100)]
dnsdist: Fix documentation typo
Remi Gacogne [Mon, 10 Jan 2022 14:46:59 +0000 (15:46 +0100)]
dnsdist: Document the new randomization options
Remi Gacogne [Sun, 28 Mar 2021 16:14:08 +0000 (17:14 +0100)]
dnsdist: Randomized IDs over UDP
Remi Gacogne [Sun, 28 Mar 2021 15:09:00 +0000 (16:09 +0100)]
dnsdist: Allow randomly selecting a backend socket when several are available
Remi Gacogne [Thu, 10 Feb 2022 10:47:06 +0000 (11:47 +0100)]
Merge pull request #11304 from rgacogne/boost-cleanup
Stop using the boost version of tie and tuple by default
Peter van Dijk [Thu, 10 Feb 2022 08:53:22 +0000 (09:53 +0100)]
Merge pull request #11306 from Habbie/lmdb-keydata-init-vars
auth lmdb: default values for KeyDataDB members, thanks ubsan
Otto Moerbeek [Wed, 9 Feb 2022 14:12:51 +0000 (15:12 +0100)]
Three more cases of tie or boost::tie
Otto Moerbeek [Wed, 9 Feb 2022 11:38:49 +0000 (12:38 +0100)]
Merge pull request #11305 from omoerbeek/rec-early-distr-drop
rec: Detect a malformed question early so we can drop it asap
Otto Moerbeek [Wed, 9 Feb 2022 10:58:34 +0000 (11:58 +0100)]
Use assert instead of BOOST_CHECK in a tight loop as BOOST_CHECK is reaaaaally slow.
Peter van Dijk [Wed, 9 Feb 2022 10:55:25 +0000 (11:55 +0100)]
auth lmdb: default values for KeyDataDB members, thanks ubsan
Otto Moerbeek [Mon, 31 Jan 2022 15:35:32 +0000 (16:35 +0100)]
Add SNI to DoT if available
In the forwarding case, it is not available until we have a better config language)
Remi Gacogne [Wed, 9 Feb 2022 10:36:33 +0000 (11:36 +0100)]
Replace more boost classes with their std equivalent
Otto [Fri, 22 Oct 2021 13:14:04 +0000 (15:14 +0200)]
Detect a malformed question early so we can drop it instead of letting the
worker do that
Remi Gacogne [Wed, 9 Feb 2022 09:58:26 +0000 (10:58 +0100)]
dnsdist: Use std:tie explicitly
Remi Gacogne [Wed, 9 Feb 2022 09:58:03 +0000 (10:58 +0100)]
dnsdist: Fix useless () spotted by Otto (thanks!)
Remi Gacogne [Wed, 9 Feb 2022 08:34:50 +0000 (09:34 +0100)]
Merge pull request #11303 from rgacogne/clean-deque
Remove unused 'deque' include, and the declaration of segmentDNSName
Remi Gacogne [Fri, 21 Jan 2022 17:17:15 +0000 (18:17 +0100)]
Stop using the boost version of tie and tuple by default
Also try to pull a bit less of boost headers everywhere in our code
base.
Remi Gacogne [Mon, 24 Jan 2022 08:31:29 +0000 (09:31 +0100)]
Remove unused 'deque' include, and the declaration of segmentDNSName
Otto Moerbeek [Tue, 8 Feb 2022 09:00:17 +0000 (10:00 +0100)]
Use the Lua context stored in SyncRes when calling hooks.
Fixes #11289
The Lua context used by the followCNAMERecords(), getFakeAAAARecords() and
getFakePTRRecords() functions should be validated. I have marked the spots
with XXX in this commit
Peter van Dijk [Tue, 8 Feb 2022 08:47:51 +0000 (09:47 +0100)]
Merge pull request #11297 from Habbie/repo-test-el8
repo-test: add el 8 target, using oracle linux
Kim Alvefur [Mon, 7 Feb 2022 11:12:04 +0000 (12:12 +0100)]
docs: fixup rst syntax
I suppose reStructuredText is picky about that space after `..`
Peter van Dijk [Mon, 7 Feb 2022 09:36:22 +0000 (10:36 +0100)]
repo-test: add el 8 target, using oracle linux
Peter van Dijk [Mon, 7 Feb 2022 07:42:51 +0000 (08:42 +0100)]
Merge pull request #11296 from mind04/pdns-zonemd
Ignore zonemd logs and add a test description
Kees Monshouwer [Sun, 6 Feb 2022 11:26:29 +0000 (12:26 +0100)]
Ignore zonemd logs and add a test description
Otto Moerbeek [Wed, 2 Feb 2022 12:27:42 +0000 (13:27 +0100)]
Replace manual maintainance of periodic tasks by an OO approach.
This is much more clean and easier and enables a lot more freedom
to have different periods or threads for different tasks, though
that freedom is not used yet.
Peter van Dijk [Fri, 4 Feb 2022 12:48:25 +0000 (13:48 +0100)]
Merge pull request #11290 from Habbie/dnsdist-docker-ca-certificates
dnsdist Docker image: install ca-certificates
Peter van Dijk [Fri, 4 Feb 2022 11:40:20 +0000 (12:40 +0100)]
dnsdist Docker image: install ca-certificates
Otto Moerbeek [Fri, 4 Feb 2022 10:59:20 +0000 (11:59 +0100)]
Merge pull request #11252 from omoerbeek/rec-threads
Rec: thread refactoring
Otto Moerbeek [Fri, 4 Feb 2022 10:39:27 +0000 (11:39 +0100)]
Merge pull request #11288 from omoerbeek/rec-policy-drop
Rec: document changes to policy.DROP better and warn on using the now unsupported way
Otto Moerbeek [Fri, 4 Feb 2022 09:19:44 +0000 (10:19 +0100)]
Process review comments: rename getname() and move name in RecThreadInfo class