]>
git.ipfire.org Git - thirdparty/pdns.git/log
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: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 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
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
Otto Moerbeek [Fri, 4 Feb 2022 07:35:15 +0000 (08:35 +0100)]
Do not hold the lock while running the task.
PLus some refactoring.
Otto Moerbeek [Mon, 31 Jan 2022 09:46:36 +0000 (10:46 +0100)]
Make ping reply with thread name
Otto Moerbeek [Mon, 31 Jan 2022 09:23:18 +0000 (10:23 +0100)]
Use scoping to make a clear distinction between thread-specific statics and general thread_local ones.
Otto Moerbeek [Mon, 31 Jan 2022 08:24:13 +0000 (09:24 +0100)]
Use correct bound for getting CPU stats. There's an inconsistentcy here:
broadcastAccFunction does not include the handler, but does include the taskThread
This has to be made consistent. For the moment, keep the existing behaviour.
Otto Moerbeek [Wed, 26 Jan 2022 10:37:18 +0000 (11:37 +0100)]
Reformat
Otto Moerbeek [Wed, 26 Jan 2022 10:33:49 +0000 (11:33 +0100)]
Update of cpu-map docs to describe the actual state of affairs and stop talking about old versions.
Otto Moerbeek [Wed, 26 Jan 2022 08:26:19 +0000 (09:26 +0100)]
Refactor recursorThread startup and join code.
Otto Moerbeek [Tue, 25 Jan 2022 14:42:05 +0000 (15:42 +0100)]
Change TaskQueue to be no longer thread local
Otto Moerbeek [Tue, 25 Jan 2022 14:11:20 +0000 (15:11 +0100)]
Introduce taskThread
Otto Moerbeek [Tue, 25 Jan 2022 13:23:08 +0000 (14:23 +0100)]
Move threadinfo vector to RecThreadInfo class
Otto Moerbeek [Tue, 25 Jan 2022 12:44:41 +0000 (13:44 +0100)]
Kill a few naked pointers
Otto Moerbeek [Tue, 25 Jan 2022 12:25:29 +0000 (13:25 +0100)]
Refactor RecThreadInfo to be more than just a struct
Otto Moerbeek [Fri, 4 Feb 2022 10:00:48 +0000 (11:00 +0100)]
The on the same line with if, whitespace issues
Otto Moerbeek [Fri, 4 Feb 2022 09:56:17 +0000 (10:56 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Fri, 4 Feb 2022 09:21:27 +0000 (10:21 +0100)]
Merge pull request #11283 from omoerbeek/rec-hints
rec: Allow disabling of processing the root hints
Otto Moerbeek [Fri, 4 Feb 2022 09:05:44 +0000 (10:05 +0100)]
Now use the moderen method in the example script
Otto Moerbeek [Fri, 4 Feb 2022 09:03:04 +0000 (10:03 +0100)]
Log an error if pdns.DROP is used as rcode in Lua callbacks
Otto Moerbeek [Fri, 4 Feb 2022 08:30:56 +0000 (09:30 +0100)]
Mention pdns.DROP is old in all places relevant and add refs to make the callback semantics
section easier to find. Also add upgrade note.
Otto Moerbeek [Fri, 4 Feb 2022 08:12:31 +0000 (09:12 +0100)]
Use an existing name for CANME chasing
Otto Moerbeek [Fri, 4 Feb 2022 08:10:35 +0000 (09:10 +0100)]
Fix most runtime issues, the script suffered bit-rot
Otto Moerbeek [Fri, 4 Feb 2022 07:59:22 +0000 (08:59 +0100)]
Reformat to make the style more consistent
Otto Moerbeek [Fri, 4 Feb 2022 07:49:11 +0000 (08:49 +0100)]
Upgrade guide and doc tweaks
Peter van Dijk [Thu, 3 Feb 2022 11:16:45 +0000 (12:16 +0100)]
Merge pull request #11062 from Habbie/docs-filterforward-4.5
auth docs: clarify that filterForward is new in 4.5.0 and fix example
Otto Moerbeek [Wed, 2 Feb 2022 16:52:31 +0000 (17:52 +0100)]
Merge pull request #11269 from omoerbeek/rec-syncres-threadlocal
rec: move two maps from thread_local to shared
Otto Moerbeek [Wed, 2 Feb 2022 15:41:32 +0000 (16:41 +0100)]
Fix SNMP MIB conformance entries and a title
Remi Gacogne [Wed, 2 Feb 2022 15:33:17 +0000 (16:33 +0100)]
Merge pull request #11251 from rgacogne/ddist-outgoing-tls-sni
dnsdist: Set Server Name Indication on outgoing TLS connections (DoT, DoH)
Remi Gacogne [Wed, 2 Feb 2022 15:32:54 +0000 (16:32 +0100)]
Merge pull request #11258 from rgacogne/ddist-fix-race-in-testlua
dnsdist: Do not execute 'newThread' in client or config check modes
Otto Moerbeek [Wed, 2 Feb 2022 13:34:32 +0000 (14:34 +0100)]
Merge pull request #11240 from omoerbeek/rec-tcp-ooo-docs
rec: Elaborate on TCP and OOO
Otto Moerbeek [Wed, 2 Feb 2022 12:41:38 +0000 (13:41 +0100)]
Add links to relevant metrics
Otto Moerbeek [Fri, 28 Jan 2022 08:45:13 +0000 (09:45 +0100)]
Allow disabling of processing the root hints
This also make sure we use the right dnssec mode for processing hints
and changes a few log levels to Debug to be less verbose.
Otto Moerbeek [Wed, 2 Feb 2022 08:06:42 +0000 (09:06 +0100)]
Move the pruning of the two now shared maps (failed servers and non-resolving ns) to the handler thread
Peter van Dijk [Tue, 1 Feb 2022 18:48:45 +0000 (19:48 +0100)]
Merge pull request #11227 from Habbie/lua-ifurlhcup
auth LUA: add ifurlextup function
Otto Moerbeek [Tue, 1 Feb 2022 15:36:30 +0000 (16:36 +0100)]
rename metric name, promtool says:
pdns_recursor_non_resolving_ns_entries metric names should not contain abbreviated units
Remi Gacogne [Tue, 1 Mar 2022 13:36:41 +0000 (14:36 +0100)]
dnsdist: Do not execute 'newThread' in client and config check modes
Peter van Dijk [Tue, 1 Feb 2022 13:22:29 +0000 (14:22 +0100)]
Merge pull request #11270 from Habbie/auth-dnsdist-eol
auth/dnsdist: update EOL docs
Peter van Dijk [Tue, 1 Feb 2022 13:11:50 +0000 (14:11 +0100)]
Merge pull request #11271 from Habbie/dnsdist-doc-newthread
dnsdist: docs for newThread&friends
Remi Gacogne [Tue, 1 Feb 2022 11:32:22 +0000 (12:32 +0100)]
Merge pull request #11174 from rgacogne/ddist-poolaction-continue
dnsdist: Add a parameter to PoolAction to keep processing rules
Peter van Dijk [Tue, 1 Feb 2022 10:29:20 +0000 (11:29 +0100)]
dnsdist: docs for newThread&friends
Remi Gacogne [Tue, 1 Feb 2022 10:50:51 +0000 (11:50 +0100)]
dnsdist: Add regression tests for outgoing SNI
Remi Gacogne [Tue, 1 Feb 2022 10:40:33 +0000 (11:40 +0100)]
Merge pull request #11173 from rgacogne/ddist-proxy-proto-ffi
dnsdist: Add Lua FFI helpers for protocol and MAC address access, proxy protocol payload generation
Remi Gacogne [Tue, 1 Feb 2022 10:29:09 +0000 (11:29 +0100)]
dnsdist: Add a regression test for PoolAction's second option
Remi Gacogne [Tue, 1 Feb 2022 10:23:45 +0000 (11:23 +0100)]
dnsdist: Unbreak 'ContinueAction' regression tests
Peter van Dijk [Fri, 21 Jan 2022 14:58:46 +0000 (15:58 +0100)]
auth LUA: add ifurlextup function
Peter van Dijk [Tue, 1 Feb 2022 09:48:43 +0000 (10:48 +0100)]
Merge pull request #11267 from omoerbeek/auth-doc-ifurlup
Rewrite the section defining the behaviour of urlup.
Peter van Dijk [Tue, 1 Feb 2022 09:33:31 +0000 (10:33 +0100)]
fix formatting
Peter van Dijk [Tue, 1 Feb 2022 09:25:36 +0000 (10:25 +0100)]
dnsdist EOL docs: correct after 1.7 release
Peter van Dijk [Tue, 1 Feb 2022 09:21:24 +0000 (10:21 +0100)]
auth EOL docs: correct after 4.6 release
Otto Moerbeek [Mon, 31 Jan 2022 11:36:07 +0000 (12:36 +0100)]
Fix stats for failed servers (named hosts for some historic reaon) and add non-resolving metrics.
Also, use a safe copy to dump the maps.
Otto Moerbeek [Tue, 1 Feb 2022 08:36:21 +0000 (09:36 +0100)]
Merge pull request #11266 from omoerbeek/rec-fix-zonemd-test
rec: Fix zone-to-cache test by properly initing trust anchors and dnssec mode
Otto Moerbeek [Tue, 1 Feb 2022 08:20:21 +0000 (09:20 +0100)]
Merge pull request #11257 from omoerbeek/rec-fix-lwres-isnew
Rec: fix lwres isnew
Otto Moerbeek [Tue, 1 Feb 2022 07:19:18 +0000 (08:19 +0100)]
Rewrite the section defining the behaviour of urlup.
I could not figure out the behaviour from reading the existing text,
so it needed a rewrite.
Otto Moerbeek [Tue, 1 Feb 2022 06:49:03 +0000 (07:49 +0100)]
Fix zone-to-cache test by properly initing trust anchors and dnssec mode
Peter van Dijk [Mon, 31 Jan 2022 23:48:56 +0000 (00:48 +0100)]
Merge pull request #11089 from pieterlexis/remote-dnssec-docs
Update remote docs based on experience
Peter van Dijk [Mon, 31 Jan 2022 19:18:00 +0000 (20:18 +0100)]
Merge pull request #11262 from Habbie/el8-builds
builder: migrate EL8 builds to oraclelinux, rename centos8 to el8 where possible
Peter van Dijk [Mon, 31 Jan 2022 17:15:14 +0000 (18:15 +0100)]
builder: add el-7 alias for centos-7
Peter van Dijk [Mon, 31 Jan 2022 15:43:54 +0000 (16:43 +0100)]
take centos 8-stream from quay
Peter van Dijk [Mon, 31 Jan 2022 15:28:34 +0000 (16:28 +0100)]
builder CI: switch oraclelinux-8 to el-8
cleanup
Peter van Dijk [Mon, 31 Jan 2022 15:28:04 +0000 (16:28 +0100)]
builder: archs for oraclelinux-8; el-8 symlinks
Remi Gacogne [Mon, 31 Jan 2022 13:17:48 +0000 (14:17 +0100)]
Merge pull request #11256 from rgacogne/rec-regression-test-returncode
rec: Fix the exit code when the recursor fails to start in our tests
Peter van Dijk [Fri, 21 Jan 2022 13:25:47 +0000 (14:25 +0100)]
auth LUA docs: fix ifurlup example
Otto Moerbeek [Mon, 31 Jan 2022 13:02:28 +0000 (14:02 +0100)]
Merge pull request #11225 from rgacogne/rec-soa-and-ns-in-ds-denial
rec: Reject non-apex NSEC(3)s that have both the NS and SOA bits set
Otto Moerbeek [Mon, 31 Jan 2022 13:01:28 +0000 (14:01 +0100)]
Merge pull request #11245 from omoerbeek/rec-ds-cname-insecure
rec: a CNAME answer on DS query should abort DS retrieval
Remi Gacogne [Mon, 31 Jan 2022 12:31:39 +0000 (13:31 +0100)]
Merge pull request #11253 from rgacogne/ddist-outgoing-doh-check-timeout
dnsdist: Fix the health-check timeout for outgoing DoH connections
Remi Gacogne [Mon, 31 Jan 2022 12:31:22 +0000 (13:31 +0100)]
Merge pull request #11255 from rgacogne/ddist-config-check
dnsdist: Fix 'inConfigCheck()'
Remi Gacogne [Mon, 31 Jan 2022 11:45:36 +0000 (12:45 +0100)]
rec: Fix the exit code when the recursor fails to start in our tests
Otto Moerbeek [Mon, 31 Jan 2022 11:44:39 +0000 (12:44 +0100)]
Initialize isNew before calling a exception throwing function
Otto Moerbeek [Mon, 31 Jan 2022 11:43:23 +0000 (12:43 +0100)]
Fix indent