]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agodnsdist: Do not try to reconnect UDP sockets for TCP-only backends 10862/head
Remi Gacogne [Wed, 27 Oct 2021 07:25:47 +0000 (09:25 +0200)] 
dnsdist: Do not try to reconnect UDP sockets for TCP-only backends

3 years agodnsdist: Also allocate buffers and connect sockets for CLI backends
Remi Gacogne [Tue, 26 Oct 2021 15:36:30 +0000 (17:36 +0200)] 
dnsdist: Also allocate buffers and connect sockets for CLI backends

3 years agodnsdist: Make ConnectionToBackend::release() purely virtual
Remi Gacogne [Tue, 26 Oct 2021 13:29:31 +0000 (15:29 +0200)] 
dnsdist: Make ConnectionToBackend::release() purely virtual

3 years agodnsdist: Don't copy the header twice when editing the ID
Remi Gacogne [Tue, 26 Oct 2021 13:23:55 +0000 (15:23 +0200)] 
dnsdist: Don't copy the header twice when editing the ID

As suggested by Otto.

3 years agodnsdist: Check that the configuration values do not silently overflow
Remi Gacogne [Tue, 26 Oct 2021 10:12:29 +0000 (12:12 +0200)] 
dnsdist: Check that the configuration values do not silently overflow

3 years agodnsdist: Do not create outgoing UDP sockets for TCP-only backends
Remi Gacogne [Tue, 26 Oct 2021 09:53:24 +0000 (11:53 +0200)] 
dnsdist: Do not create outgoing UDP sockets for TCP-only backends

3 years agodnsdist: Fix MaxIdeTime -> MaxIdleTime typos
Remi Gacogne [Tue, 26 Oct 2021 07:44:07 +0000 (09:44 +0200)] 
dnsdist: Fix MaxIdeTime -> MaxIdleTime typos

3 years agodnsdist: Prevent allocating then releasing memory for backends
Remi Gacogne [Wed, 20 Oct 2021 14:00:14 +0000 (16:00 +0200)] 
dnsdist: Prevent allocating then releasing memory for backends

3 years agodnsdist: Fix an issue with the connection count when reconnect failed
Remi Gacogne [Wed, 20 Oct 2021 13:58:49 +0000 (15:58 +0200)] 
dnsdist: Fix an issue with the connection count when reconnect failed

3 years agodnsdist: Better detection of closed TLS downstream connections
Remi Gacogne [Tue, 19 Oct 2021 15:15:47 +0000 (17:15 +0200)] 
dnsdist: Better detection of closed TLS downstream connections

3 years agodnsdist: Fix proxy protocol handling (and broken tests)
Remi Gacogne [Tue, 19 Oct 2021 10:33:33 +0000 (12:33 +0200)] 
dnsdist: Fix proxy protocol handling (and broken tests)

3 years agodnsdist: Prevent UB by not accessing the DNS header via a (potentially) misaligned...
Remi Gacogne [Tue, 19 Oct 2021 07:24:52 +0000 (09:24 +0200)] 
dnsdist: Prevent UB by not accessing the DNS header via a (potentially) misaligned address

3 years agodnsdist: Use the same outgoing TCP connection for different clients
Remi Gacogne [Fri, 15 Oct 2021 15:36:16 +0000 (17:36 +0200)] 
dnsdist: Use the same outgoing TCP connection for different clients

3 years agoMerge pull request #10902 from rgacogne/pin-docutils
Remi Gacogne [Tue, 26 Oct 2021 15:05:15 +0000 (17:05 +0200)] 
Merge pull request #10902 from rgacogne/pin-docutils

Pin docutils to < 0.18 for now

3 years agoPin docutils to < 0.18 for now 10902/head
Remi Gacogne [Tue, 26 Oct 2021 14:07:03 +0000 (16:07 +0200)] 
Pin docutils to < 0.18 for now

We will have to deal with that pain later, but let's unbreak our
CI first.

3 years agoMerge pull request #10900 from rgacogne/nmg-no-noexcept
Remi Gacogne [Tue, 26 Oct 2021 12:50:29 +0000 (14:50 +0200)] 
Merge pull request #10900 from rgacogne/nmg-no-noexcept

NetmaskTree: Drop the 'noexcept' qualifier on the TreeNode ctor

3 years agoNetmaskTree: Drop the 'noexcept' qualifier on the TreeNode ctor 10900/head
Remi Gacogne [Tue, 26 Oct 2021 07:16:52 +0000 (09:16 +0200)] 
NetmaskTree: Drop the 'noexcept' qualifier on the TreeNode ctor

Coverity reports that it was already too restrictive with the existing
Netmask key (see CID 1465032) and clearly is now for the AddressAndPort
one (CID 373668).

3 years agoMerge pull request #10897 from rgacogne/ddist-unbreak-el7-nullptr
Remi Gacogne [Mon, 25 Oct 2021 15:41:30 +0000 (17:41 +0200)] 
Merge pull request #10897 from rgacogne/ddist-unbreak-el7-nullptr

dnsdist: Fix the dynblock tests for EL7

3 years agodnsdist: Fix the dynblock tests for EL7 10897/head
Remi Gacogne [Mon, 25 Oct 2021 14:01:11 +0000 (16:01 +0200)] 
dnsdist: Fix the dynblock tests for EL7

3 years agoMerge pull request #10893 from appliedprivacy/patch-7
Otto Moerbeek [Mon, 25 Oct 2021 13:22:24 +0000 (15:22 +0200)] 
Merge pull request #10893 from appliedprivacy/patch-7

docs: describe resource-limits metric

3 years agoMerge pull request #10892 from appliedprivacy/patch-6
Otto Moerbeek [Mon, 25 Oct 2021 11:51:51 +0000 (13:51 +0200)] 
Merge pull request #10892 from appliedprivacy/patch-6

rec metrics docs: add ref to stats-rec-control-disabled-list

3 years agoMerge pull request #10845 from rgacogne/ddist-doh-backend-rebased-remote-close
Remi Gacogne [Mon, 25 Oct 2021 11:42:30 +0000 (13:42 +0200)] 
Merge pull request #10845 from rgacogne/ddist-doh-backend-rebased-remote-close

dnsdist: Keep watching idle DoH backend connections

3 years agoMerge pull request #10895 from omoerbeek/rec-secpoll-fix2
Otto Moerbeek [Mon, 25 Oct 2021 11:29:49 +0000 (13:29 +0200)] 
Merge pull request #10895 from omoerbeek/rec-secpoll-fix2

dot vs dash

3 years agodot vs dash 10895/head
Otto [Mon, 25 Oct 2021 11:28:39 +0000 (13:28 +0200)] 
dot vs dash

3 years agoMerge pull request #10894 from omoerbeek/rec-fix-secpoll
Otto Moerbeek [Mon, 25 Oct 2021 11:15:45 +0000 (13:15 +0200)] 
Merge pull request #10894 from omoerbeek/rec-fix-secpoll

rec: fix secpoll, I changed auth instead of rec

3 years agofix secpoll 10894/head
Otto [Mon, 25 Oct 2021 11:09:29 +0000 (13:09 +0200)] 
fix secpoll

3 years agodocs: describe resource-limits metric 10893/head
appliedprivacy [Mon, 25 Oct 2021 10:56:25 +0000 (10:56 +0000)] 
docs: describe resource-limits metric

information taken from @rgacogne 's email:
https://mailman.powerdns.com/pipermail/pdns-users/2021-October/027446.html

3 years agoMerge pull request #10882 from omoerbeek/rec-prep-4.6.0-alpha2
Otto Moerbeek [Mon, 25 Oct 2021 10:50:29 +0000 (12:50 +0200)] 
Merge pull request #10882 from omoerbeek/rec-prep-4.6.0-alpha2

Prep for rec-4.6.0-alpha2

3 years agoCombine three related merges 10882/head
Otto [Fri, 22 Oct 2021 13:51:00 +0000 (15:51 +0200)] 
Combine three related merges

3 years agoMerge pull request #10888 from appliedprivacy/patch-4
Otto Moerbeek [Mon, 25 Oct 2021 10:27:34 +0000 (12:27 +0200)] 
Merge pull request #10888 from appliedprivacy/patch-4

add fd-usage metric to Recursor documentation

3 years agoMerge pull request #10815 from rgacogne/ddist-dynblock-masks
Remi Gacogne [Mon, 25 Oct 2021 10:17:25 +0000 (12:17 +0200)] 
Merge pull request #10815 from rgacogne/ddist-dynblock-masks

dnsdist: Add range support for dynamic blocks

3 years agoMerge pull request #10875 from rgacogne/ddist-doh-pickup-multiple-responses
Remi Gacogne [Mon, 25 Oct 2021 10:10:08 +0000 (12:10 +0200)] 
Merge pull request #10875 from rgacogne/ddist-doh-pickup-multiple-responses

dnsdist: Read as many DoH responses as possible before yielding

3 years agoMerge pull request #10874 from rgacogne/ddist-fix-healthcheck-exception
Remi Gacogne [Mon, 25 Oct 2021 10:04:58 +0000 (12:04 +0200)] 
Merge pull request #10874 from rgacogne/ddist-fix-healthcheck-exception

dnsdist: Properly handle I/O exceptions in the health checker

3 years agorationale why packetcache-bytes is disabled by default 10892/head
appliedprivacy [Mon, 25 Oct 2021 09:19:36 +0000 (09:19 +0000)] 
rationale why packetcache-bytes is disabled by default

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agorationale why cache-bytes is disabled by default
appliedprivacy [Mon, 25 Oct 2021 09:18:45 +0000 (09:18 +0000)] 
rationale why cache-bytes is disabled by default

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agofd-usage is supported on OpenBSD 10888/head
appliedprivacy [Mon, 25 Oct 2021 09:15:22 +0000 (09:15 +0000)] 
fd-usage is supported on OpenBSD

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 years agodnsdist: A goaway frame can't be a headers or data one 10845/head
Remi Gacogne [Mon, 25 Oct 2021 08:52:00 +0000 (10:52 +0200)] 
dnsdist: A goaway frame can't be a headers or data one

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 years agoMerge pull request #10891 from omoerbeek/rec-fd-usage-opensbsd
Otto Moerbeek [Mon, 25 Oct 2021 08:29:11 +0000 (10:29 +0200)] 
Merge pull request #10891 from omoerbeek/rec-fd-usage-opensbsd

Implement fd-usage metric for OpenBSD

3 years agoremove whitespace
appliedprivacy [Mon, 25 Oct 2021 08:29:05 +0000 (08:29 +0000)] 
remove whitespace

3 years agorec metric docs: add ref to stats-rec-control-disabled-list
appliedprivacy [Mon, 25 Oct 2021 08:24:50 +0000 (08:24 +0000)] 
rec metric docs: add ref to stats-rec-control-disabled-list

some metrics are disabled by default #10890

3 years agodnsdist: Add an error message on a DoH internal pipe short read 10875/head
Remi Gacogne [Mon, 25 Oct 2021 08:17:55 +0000 (10:17 +0200)] 
dnsdist: Add an error message on a DoH internal pipe short read

3 years agodnsdist: Fix an erroneous comment in health check handling (thanks Otto!) 10874/head
Remi Gacogne [Mon, 25 Oct 2021 07:54:17 +0000 (09:54 +0200)] 
dnsdist: Fix an erroneous comment in health check handling (thanks Otto!)

3 years agoImplement fd-usage metric for OpenBSD 10891/head
Otto [Sun, 24 Oct 2021 16:56:57 +0000 (18:56 +0200)] 
Implement fd-usage metric for OpenBSD

3 years agofd-usage is available on Linux only
appliedprivacy [Sun, 24 Oct 2021 16:27:05 +0000 (16:27 +0000)] 
fd-usage is available on Linux only

3 years agoadd undocumented fd-usage metric
appliedprivacy [Sun, 24 Oct 2021 16:00:17 +0000 (16:00 +0000)] 
add undocumented fd-usage metric

description is copied from dnsdist
https://dnsdist.org/statistics.html#fd-usage

3 years agoPrep for rec-4.6.0-alpha2
Otto [Fri, 22 Oct 2021 08:09:41 +0000 (10:09 +0200)] 
Prep for rec-4.6.0-alpha2

3 years agoMerge pull request #10881 from omoerbeek/speedtest-burtle-sip
Otto Moerbeek [Fri, 22 Oct 2021 13:16:40 +0000 (15:16 +0200)] 
Merge pull request #10881 from omoerbeek/speedtest-burtle-sip

Add speedtest for burtle and siphash

3 years agoMerge pull request #10879 from rgacogne/ddist-log-transport
Remi Gacogne [Fri, 22 Oct 2021 13:01:05 +0000 (15:01 +0200)] 
Merge pull request #10879 from rgacogne/ddist-log-transport

Support DoT, DoH and DNSCrypt transports for protobuf and dnstap

3 years agoMerge pull request #10872 from omoerbeek/dnsquestion-hash
Otto Moerbeek [Fri, 22 Oct 2021 12:11:20 +0000 (14:11 +0200)] 
Merge pull request #10872 from omoerbeek/dnsquestion-hash

Small rewrite of hashQuestion that avoids muliple burtle calls

3 years agoAdd guard as noted by pieterlexis 10881/head
Otto [Fri, 22 Oct 2021 11:31:21 +0000 (13:31 +0200)] 
Add guard as noted by pieterlexis

3 years agoAdd speedtest for burtle and sip
Otto [Fri, 22 Oct 2021 10:56:52 +0000 (12:56 +0200)] 
Add speedtest for burtle and sip

3 years agoAvoid Undefined Behaviour by making sure the packet size is at least 10872/head
Otto [Fri, 22 Oct 2021 09:19:59 +0000 (11:19 +0200)] 
Avoid Undefined Behaviour by making sure the packet size is at least
the size passed in

3 years agoProtobufLogger: Use introspection to convert the transport to string 10879/head
Remi Gacogne [Fri, 22 Oct 2021 08:31:44 +0000 (10:31 +0200)] 
ProtobufLogger: Use introspection to convert the transport to string

3 years agoMerge pull request #10880 from jsoref/grammar
Otto Moerbeek [Fri, 22 Oct 2021 08:14:40 +0000 (10:14 +0200)] 
Merge pull request #10880 from jsoref/grammar

docs: fix grammar in modes of operation

3 years agoRewrite of hashQuestion that avoids muliple burtle calls and use safer idiom
Otto Moerbeek [Thu, 26 Aug 2021 13:49:55 +0000 (15:49 +0200)] 
Rewrite of hashQuestion that avoids muliple burtle calls and use safer idiom

3 years agodocs: fix grammar in modes of operation 10880/head
Josh Soref [Thu, 21 Oct 2021 17:36:02 +0000 (13:36 -0400)] 
docs: fix grammar in modes of operation

3 years agoSupport DoT, DoH and DNSCrypt transports for protobuf and dnstap
Remi Gacogne [Thu, 21 Oct 2021 15:12:47 +0000 (17:12 +0200)] 
Support DoT, DoH and DNSCrypt transports for protobuf and dnstap

3 years agoUpdate our protocol buffer message definitions to include more protocols
Remi Gacogne [Thu, 21 Oct 2021 14:05:54 +0000 (16:05 +0200)] 
Update our protocol buffer message definitions to include more protocols

Proposed upstream: https://github.com/PowerDNS/dnsmessage/pull/5

3 years agoUpdate the dnstap message to include more transports
Remi Gacogne [Thu, 21 Oct 2021 14:05:33 +0000 (16:05 +0200)] 
Update the dnstap message to include more transports

3 years agodnsdist: Read as many DoH responses as possible before yielding
Remi Gacogne [Thu, 21 Oct 2021 12:51:14 +0000 (14:51 +0200)] 
dnsdist: Read as many DoH responses as possible before yielding

We want to read as many responses from the pipe as possible before
giving up. Even if we are overloaded and fighting with the DoH connections
for the CPU, the first thing we need to do is to send responses to free slots
anyway, otherwise queries and responses are piling up in our pipes, consuming
memory and likely coming up too late after the client has gone away.

3 years agodnsdist: Properly handle I/O exceptions in the health checker
Remi Gacogne [Thu, 21 Oct 2021 09:58:50 +0000 (11:58 +0200)] 
dnsdist: Properly handle I/O exceptions in the health checker

3 years agodnsdist: Add checks for the masks set on a Dynamic Block 10815/head
Remi Gacogne [Wed, 20 Oct 2021 16:23:52 +0000 (18:23 +0200)] 
dnsdist: Add checks for the masks set on a Dynamic Block

3 years agoNetmaskTree: Unify the two existing lookup() methods
Remi Gacogne [Wed, 20 Oct 2021 16:19:01 +0000 (18:19 +0200)] 
NetmaskTree: Unify the two existing lookup() methods

3 years agodnsdist: Fix a bug in the Dynamic Blocks when port ranges are used
Remi Gacogne [Wed, 20 Oct 2021 15:45:59 +0000 (17:45 +0200)] 
dnsdist: Fix a bug in the Dynamic Blocks when port ranges are used

Thanks Otto!

3 years agodnsdist: Properly format dnsdist-lua.cc once and for all (hopefully)
Remi Gacogne [Thu, 21 Oct 2021 08:22:12 +0000 (10:22 +0200)] 
dnsdist: Properly format dnsdist-lua.cc once and for all (hopefully)

3 years agodnsdist: Add a regression test for port-based dynamic blocks
Remi Gacogne [Thu, 21 Oct 2021 08:21:40 +0000 (10:21 +0200)] 
dnsdist: Add a regression test for port-based dynamic blocks

3 years agodnsdist: Add port range support for dynamic blocks
Remi Gacogne [Mon, 4 Oct 2021 16:00:23 +0000 (18:00 +0200)] 
dnsdist: Add port range support for dynamic blocks

3 years agodnsdist: Add support for v4/v6 masks in dynamic blocks
Remi Gacogne [Thu, 23 Sep 2021 14:31:38 +0000 (16:31 +0200)] 
dnsdist: Add support for v4/v6 masks in dynamic blocks

3 years agoMerge pull request #10866 from omoerbeek/rec-docs-settings-ref rec-4.6.0-alpha2
Remi Gacogne [Thu, 21 Oct 2021 08:07:03 +0000 (10:07 +0200)] 
Merge pull request #10866 from omoerbeek/rec-docs-settings-ref

rec: Fix the settings link in ConfigSetting docs

3 years agoMerge pull request #10870 from neheb/uniq
Remi Gacogne [Thu, 21 Oct 2021 08:06:33 +0000 (10:06 +0200)] 
Merge pull request #10870 from neheb/uniq

use make_unique instead of new

3 years agoMerge pull request #10868 from neheb/make
Otto Moerbeek [Wed, 20 Oct 2021 07:19:33 +0000 (09:19 +0200)] 
Merge pull request #10868 from neheb/make

get rid of make_pair

3 years agouse make_unique instead of new 10870/head
Rosen Penev [Wed, 20 Oct 2021 02:34:16 +0000 (19:34 -0700)] 
use make_unique instead of new

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoget rid of make_pair 10868/head
Rosen Penev [Mon, 18 Oct 2021 20:32:33 +0000 (13:32 -0700)] 
get rid of make_pair

With C++17, std::pair can completely replace make_pair

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #10646 from neheb/empla
Remi Gacogne [Tue, 19 Oct 2021 15:07:26 +0000 (17:07 +0200)] 
Merge pull request #10646 from neheb/empla

convert make_pair to emplace

3 years agoFix the settings link 10866/head
Otto [Tue, 19 Oct 2021 14:37:30 +0000 (16:37 +0200)] 
Fix the settings link

3 years agoMerge pull request #10858 from rgacogne/ddist-170a2
Remi Gacogne [Tue, 19 Oct 2021 08:51:38 +0000 (10:51 +0200)] 
Merge pull request #10858 from rgacogne/ddist-170a2

dnsdist: Prepare ChangeLog and secpoll updates for 1.7.0-alpha2

3 years agoMerge pull request #10860 from Habbie/builder-no-fail-fast
Peter van Dijk [Tue, 19 Oct 2021 08:10:44 +0000 (10:10 +0200)] 
Merge pull request #10860 from Habbie/builder-no-fail-fast

gh actions: in the daily package build job, do not abort all if one failed

3 years agoMerge pull request #10861 from Habbie/auth-stat_t
Peter van Dijk [Tue, 19 Oct 2021 08:06:13 +0000 (10:06 +0200)] 
Merge pull request #10861 from Habbie/auth-stat_t

auth: include stat_t.hh in dist tarball

3 years agodnsdist: 1.7.0-alpha2 was not released on Monday, second attempt :) 10858/head
Remi Gacogne [Tue, 19 Oct 2021 06:59:16 +0000 (08:59 +0200)] 
dnsdist: 1.7.0-alpha2 was not released on Monday, second attempt :)

3 years agoconvert make_pair to emplace 10646/head
Rosen Penev [Sun, 15 Aug 2021 00:07:33 +0000 (17:07 -0700)] 
convert make_pair to emplace

emplace* forwards the arguments directly. Avoids needing make_pair.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #10859 from omoerbeek/rec-docs-underline-and-ref
Otto Moerbeek [Mon, 18 Oct 2021 18:50:11 +0000 (20:50 +0200)] 
Merge pull request #10859 from omoerbeek/rec-docs-underline-and-ref

rec: Underlining and getting refs right is hard

3 years agoMerge pull request #10856 from omoerbeek/misc-plural-s
Otto Moerbeek [Mon, 18 Oct 2021 15:42:48 +0000 (17:42 +0200)] 
Merge pull request #10856 from omoerbeek/misc-plural-s

Make addS() more versatile and use modern C++ (enable_if_t).

3 years agoauth: include stat_t.hh in dist tarball 10861/head
Peter van Dijk [Mon, 18 Oct 2021 15:28:34 +0000 (17:28 +0200)] 
auth: include stat_t.hh in dist tarball

3 years agogh actions: in the daily package build job, do not abort all if one failed 10860/head
Peter van Dijk [Mon, 18 Oct 2021 14:48:57 +0000 (16:48 +0200)] 
gh actions: in the daily package build job, do not abort all if one failed

3 years agoUnderlining and getting refs right is hard 10859/head
Otto [Mon, 18 Oct 2021 14:21:06 +0000 (16:21 +0200)] 
Underlining and getting refs right is hard

3 years agoMerge pull request #10795 from pieterlexis/ddist-rec-syslog-ident
Otto Moerbeek [Mon, 18 Oct 2021 12:15:31 +0000 (14:15 +0200)] 
Merge pull request #10795 from pieterlexis/ddist-rec-syslog-ident

Rec and dnsdist: add syslog identifier to service file

3 years agoMerge pull request #10842 from omoerbeek/rec-appliedPolicyTrigger-value
Otto Moerbeek [Mon, 18 Oct 2021 11:53:15 +0000 (13:53 +0200)] 
Merge pull request #10842 from omoerbeek/rec-appliedPolicyTrigger-value

rec: correct appliedPolicyTrigger value for IP matches

3 years agoMerge pull request #10843 from chbruyand/recursor-logs-nod
Otto Moerbeek [Mon, 18 Oct 2021 11:52:37 +0000 (13:52 +0200)] 
Merge pull request #10843 from chbruyand/recursor-logs-nod

rec: NOD - use structured logging API

3 years agoProcess review comments 10842/head
Otto [Mon, 18 Oct 2021 10:19:46 +0000 (12:19 +0200)] 
Process review comments

3 years agoMerge pull request #10841 from rgacogne/ddist-gnutls-client-creds dnsdist-1.7.0-alpha2
Remi Gacogne [Mon, 18 Oct 2021 10:16:51 +0000 (12:16 +0200)] 
Merge pull request #10841 from rgacogne/ddist-gnutls-client-creds

dnsdist: Use per-thread credentials for GnuTLS client connections

3 years agoAdd SSLKEYLOGFILE to the spell checker allow list
Remi Gacogne [Mon, 18 Oct 2021 10:04:43 +0000 (12:04 +0200)] 
Add SSLKEYLOGFILE to the spell checker allow list

3 years agodnsdist: Prepare ChangeLog and secpoll updates for 1.7.0-alpha2
Remi Gacogne [Mon, 18 Oct 2021 09:59:05 +0000 (11:59 +0200)] 
dnsdist: Prepare ChangeLog and secpoll updates for 1.7.0-alpha2

3 years agoMerge pull request #10857 from omoerbeek/test-fix-unsigned-warnings
Otto Moerbeek [Mon, 18 Oct 2021 09:33:41 +0000 (11:33 +0200)] 
Merge pull request #10857 from omoerbeek/test-fix-unsigned-warnings

Fix two unsigned warnings as seen on OpenBSD/clang

3 years agoFix two unsigned warnings as seen on OpenBSD/clang 10857/head
Otto [Mon, 18 Oct 2021 07:27:29 +0000 (09:27 +0200)] 
Fix two unsigned warnings as seen on OpenBSD/clang

3 years agoMake addS() more versatile and use modern C++ (enable_if_t). 10856/head
Otto [Mon, 18 Oct 2021 07:24:25 +0000 (09:24 +0200)] 
Make addS() more versatile and use modern C++ (enable_if_t).
Use new args pdnsutil to get primary vs primaries correct.

3 years agoMerge pull request #10851 from Habbie/fix-url
Otto Moerbeek [Fri, 15 Oct 2021 18:09:10 +0000 (20:09 +0200)] 
Merge pull request #10851 from Habbie/fix-url

recursor: fix url in socket dir log message

3 years agoMerge pull request #10853 from rgacogne/ddist-unbreak-dynblocks-unit-tests
Remi Gacogne [Fri, 15 Oct 2021 18:08:02 +0000 (20:08 +0200)] 
Merge pull request #10853 from rgacogne/ddist-unbreak-dynblocks-unit-tests

dnsdist: Unbreak the dynblock unit tests

3 years agodnsdist: Unbreak the dynblock unit tests 10853/head
Remi Gacogne [Fri, 15 Oct 2021 16:10:43 +0000 (18:10 +0200)] 
dnsdist: Unbreak the dynblock unit tests

10835 conflicted with 10833 in a way not caught by our workflow.

3 years agoMerge pull request #10835 from rgacogne/ddist-smt-reason
Remi Gacogne [Fri, 15 Oct 2021 15:32:45 +0000 (17:32 +0200)] 
Merge pull request #10835 from rgacogne/ddist-smt-reason

dnsdist: Allow setting the block reason from the SMT callback

3 years agoMerge pull request #10846 from rgacogne/ddist-shared-to-unique-structs-size
Remi Gacogne [Fri, 15 Oct 2021 15:29:44 +0000 (17:29 +0200)] 
Merge pull request #10846 from rgacogne/ddist-shared-to-unique-structs-size

dnsdist: Replace shared by unique ptrs, reduce structs size