]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
6 years agoWork around CMSG_SPACE somehow not being a constexpr on macOS 8413/head
Remi Gacogne [Mon, 14 Oct 2019 08:21:20 +0000 (10:21 +0200)] 
Work around CMSG_SPACE somehow not being a constexpr on macOS

6 years agoMore modern C++ idiom 8414/head
Otto Moerbeek [Mon, 14 Oct 2019 07:06:35 +0000 (09:06 +0200)] 
More modern C++ idiom

6 years agoMerge pull request #8372 from rgacogne/ddist-vrf-itf
Remi Gacogne [Sat, 12 Oct 2019 13:25:17 +0000 (15:25 +0200)] 
Merge pull request #8372 from rgacogne/ddist-vrf-itf

dnsdist: Use SO_BINDTODEVICE when available for newServer's source itf

6 years agoMerge pull request #8409 from rgacogne/ddist-prometheus-descriptions-pool
Remi Gacogne [Sat, 12 Oct 2019 13:23:47 +0000 (15:23 +0200)] 
Merge pull request #8409 from rgacogne/ddist-prometheus-descriptions-pool

dnsdist: Add missing prometheus descriptions for cache-related metrics

6 years agodnsdist: Add more options to LogAction (non-verbose mode, timestamps) 8411/head
Remi Gacogne [Fri, 11 Oct 2019 15:16:37 +0000 (17:16 +0200)] 
dnsdist: Add more options to LogAction (non-verbose mode, timestamps)

6 years agoMerge pull request #8410 from franklouwers/doc/setQueryRate-fix
Remi Gacogne [Fri, 11 Oct 2019 14:38:51 +0000 (16:38 +0200)] 
Merge pull request #8410 from franklouwers/doc/setQueryRate-fix

Fix typo in setQueryRate docs

6 years agodnsdist: Don't call SO_BINDTODEVICE with an empty interface name 8372/head
Remi Gacogne [Fri, 11 Oct 2019 14:26:51 +0000 (16:26 +0200)] 
dnsdist: Don't call SO_BINDTODEVICE with an empty interface name

6 years agodnsdist: Fix indentation in newServer()
Remi Gacogne [Fri, 11 Oct 2019 14:12:54 +0000 (16:12 +0200)] 
dnsdist: Fix indentation in newServer()

6 years agoClarify comment 8410/head
Frank Louwers [Fri, 11 Oct 2019 14:10:08 +0000 (16:10 +0200)] 
Clarify comment

6 years agoFix typo in setQueryRate docs
Frank Louwers [Fri, 11 Oct 2019 14:00:31 +0000 (16:00 +0200)] 
Fix typo in setQueryRate docs

6 years agodnsdist: Add missing prometheus descriptions for cache-related metrics 8409/head
Remi Gacogne [Fri, 11 Oct 2019 13:24:55 +0000 (15:24 +0200)] 
dnsdist: Add missing prometheus descriptions for cache-related metrics

6 years agoMerge pull request #8406 from rgacogne/ddist-tls-ticket-key-stats
Remi Gacogne [Fri, 11 Oct 2019 13:16:16 +0000 (15:16 +0200)] 
Merge pull request #8406 from rgacogne/ddist-tls-ticket-key-stats

dnsdist: Add metrics about unknown/inactive TLS ticket keys

6 years agoMerge pull request #8407 from omoerbeek/auth-lua-records-shadowing
Otto Moerbeek [Fri, 11 Oct 2019 12:54:33 +0000 (14:54 +0200)] 
Merge pull request #8407 from omoerbeek/auth-lua-records-shadowing

auth: A few shadowing cases.

6 years agoA few shadowing cases. 8407/head
Otto Moerbeek [Fri, 11 Oct 2019 12:05:22 +0000 (14:05 +0200)] 
A few shadowing cases.

6 years agoProper in-flight maintenance; settable setting with doc.
Otto Moerbeek [Fri, 11 Oct 2019 09:22:39 +0000 (11:22 +0200)] 
Proper in-flight maintenance; settable setting with doc.

6 years agodnsdist: Add metrics about unknown/inactive TLS ticket keys 8406/head
Remi Gacogne [Thu, 10 Oct 2019 14:57:29 +0000 (16:57 +0200)] 
dnsdist: Add metrics about unknown/inactive TLS ticket keys

6 years agodnsdist: Merge the setup of TLS contexts in Doh and DoT 8383/head
Remi Gacogne [Fri, 4 Oct 2019 15:57:04 +0000 (17:57 +0200)] 
dnsdist: Merge the setup of TLS contexts in Doh and DoT

6 years agoMerge pull request #8398 from rgacogne/ddist-fix-session-resumption-tests
Remi Gacogne [Thu, 10 Oct 2019 14:44:41 +0000 (16:44 +0200)] 
Merge pull request #8398 from rgacogne/ddist-fix-session-resumption-tests

dnsdist: Check that tickets have really been written in the tests, really disable tickets when asked

6 years agoMerge pull request #8387 from rgacogne/dnsdist-tls-versions
Remi Gacogne [Thu, 10 Oct 2019 14:44:23 +0000 (16:44 +0200)] 
Merge pull request #8387 from rgacogne/dnsdist-tls-versions

dnsdist: Add metrics about TLS versions with DNS over TLS

6 years agoMerge pull request #8404 from rgacogne/ddist-typo-suffixmatchnode-doc
Remi Gacogne [Thu, 10 Oct 2019 14:34:45 +0000 (16:34 +0200)] 
Merge pull request #8404 from rgacogne/ddist-typo-suffixmatchnode-doc

dnsdist: Add a missing line before SuffixMatchNode's 'versionadded'

6 years agoMerge pull request #8396 from omoerbeek/zoneparser-fixed-format
Otto Moerbeek [Thu, 10 Oct 2019 14:08:09 +0000 (16:08 +0200)] 
Merge pull request #8396 from omoerbeek/zoneparser-fixed-format

Do not use variable printf format strings

6 years agodnsdist: Add a missing line before SuffixMatchNode's 'versionadded' 8404/head
Remi Gacogne [Thu, 10 Oct 2019 12:56:14 +0000 (14:56 +0200)] 
dnsdist: Add a missing line before SuffixMatchNode's 'versionadded'

6 years agoAdd CentOS 8 as builder target 8400/head
Pieter Lexis [Thu, 10 Oct 2019 12:03:21 +0000 (14:03 +0200)] 
Add CentOS 8 as builder target

6 years agoMerge pull request #8395 from rgacogne/ddist-doh-concurrent-connections
Remi Gacogne [Thu, 10 Oct 2019 09:07:21 +0000 (11:07 +0200)] 
Merge pull request #8395 from rgacogne/ddist-doh-concurrent-connections

dnsdist: Count the number of concurrent connections for DoH as well

6 years agodnsdist: Add TLS version metrics to the API as well 8387/head
Remi Gacogne [Thu, 10 Oct 2019 09:00:30 +0000 (11:00 +0200)] 
dnsdist: Add TLS version metrics to the API as well

6 years agodnsdist: Check that tickets have been written when needed 8398/head
Remi Gacogne [Tue, 8 Oct 2019 14:14:32 +0000 (16:14 +0200)] 
dnsdist: Check that tickets have been written when needed

But they might not have been, especially when a session has been
resumed and it was encrypted with a Session Ticket Encryption Key
still active.

6 years agodnsdist: Really disable TLS tickets for TLS 1.3 when asked
Remi Gacogne [Tue, 8 Oct 2019 14:14:04 +0000 (16:14 +0200)] 
dnsdist: Really disable TLS tickets for TLS 1.3 when asked

6 years agoMerge pull request #8388 from rgacogne/dnsdist-doh-rotation-key-clear
Remi Gacogne [Thu, 10 Oct 2019 08:04:00 +0000 (10:04 +0200)] 
Merge pull request #8388 from rgacogne/dnsdist-doh-rotation-key-clear

dnsdist: Clear the DoH Session Ticket Encryption Key in the ctor

6 years agoAdd unit test for zone file with template 8396/head
Otto Moerbeek [Wed, 9 Oct 2019 14:21:00 +0000 (16:21 +0200)] 
Add unit test for zone file with template

6 years agodnsdist: Count the number of concurrent connections for DoH as well 8395/head
Remi Gacogne [Wed, 9 Oct 2019 13:41:50 +0000 (15:41 +0200)] 
dnsdist: Count the number of concurrent connections for DoH as well

6 years agoUsing a variable format string opens up all kinds of cans of worms.
Otto Moerbeek [Wed, 9 Oct 2019 12:39:29 +0000 (14:39 +0200)] 
Using a variable format string opens up all kinds of cans of worms.

6 years agoOn read error we remove the fd from the set. If there are still queries in-flight
Otto Moerbeek [Wed, 9 Oct 2019 09:12:38 +0000 (11:12 +0200)] 
On read error we remove the fd from the set. If there are still queries in-flight
we will add it back if the in-flight condition is true.
This is not a real problem as the next handleTCPClientReadable() will take care.
Add a comment to explain that.
Also, setting the TTD might throw so handle that.
We might need a forgiving variant of removeReadFD() and setReadTTD().

6 years ago- Fix multiplexer accounting in the write error case
Otto Moerbeek [Wed, 9 Oct 2019 08:35:00 +0000 (10:35 +0200)] 
- Fix multiplexer accounting in the write error case
- Use proper type for in-flight accounting

6 years agoMerge pull request #7719 from Habbie/dnspython-assertequal
Peter van Dijk [Wed, 9 Oct 2019 07:29:17 +0000 (09:29 +0200)] 
Merge pull request #7719 from Habbie/dnspython-assertequal

better assertEqual for dnspython

6 years agoAllow multiple simulaneous incoming TCP queries over a connection.
Otto Moerbeek [Wed, 18 Sep 2019 10:01:01 +0000 (12:01 +0200)] 
Allow multiple simulaneous incoming TCP queries over a connection.
Answers are sent out the moment the become available, so not
necesarily in the same order as received. There's a limit on how
many queries per TCP induced connection we may have in flight.

6 years agorecursor-dnssec: use eqdnsmessage 7719/head
Peter van Dijk [Thu, 3 Oct 2019 13:59:51 +0000 (15:59 +0200)] 
recursor-dnssec: use eqdnsmessage

6 years agoixfrdist: eqdnsmessage
Peter van Dijk [Thu, 3 Oct 2019 13:35:43 +0000 (15:35 +0200)] 
ixfrdist: eqdnsmessage

6 years ago(uselessly) add eqdnsmessage to auth testing
Peter van Dijk [Thu, 3 Oct 2019 13:26:23 +0000 (15:26 +0200)] 
(uselessly) add eqdnsmessage to auth testing

6 years agomove assert helper out of dnsdist tests
Peter van Dijk [Thu, 3 Oct 2019 13:18:31 +0000 (15:18 +0200)] 
move assert helper out of dnsdist tests

6 years agobetter assertEqual for dnspython
Peter van Dijk [Thu, 11 Apr 2019 15:40:20 +0000 (17:40 +0200)] 
better assertEqual for dnspython

before:
AssertionError: <DNS message, ID 38993> != <DNS message, ID 38993>

after:
AssertionError: <DNS message, ID 46818> != <DNS message, ID 46818>:
--- first
+++ second
@@ -1,10 +1,10 @@
 id 46818
-opcode 6
-rcode NOTAUTH
-flags AD CD
+opcode QUERY
+rcode NOERROR
+flags RD
 ;QUESTION
 xpf.tests.powerdns.com. IN A
 ;ANSWER
 ;AUTHORITY
 ;ADDITIONAL
-. 0 IN TYPE65422 \# 14 04117f0000017f000001f8bc14dc
+xpf.tests.powerdns.com. 60 IN TYPE65422 \# 14 04117f0000017f00000100000000

6 years agoMerge pull request #8351 from Habbie/no-move-mutex
Otto Moerbeek [Tue, 8 Oct 2019 08:23:49 +0000 (10:23 +0200)] 
Merge pull request #8351 from Habbie/no-move-mutex

auth statbag: move to std::mutex, avoid copies

6 years agodnsdist: Fix ECS addition in presence of answer or authority records 8115/head
Remi Gacogne [Thu, 3 Oct 2019 09:52:08 +0000 (11:52 +0200)] 
dnsdist: Fix ECS addition in presence of answer or authority records

6 years agodnsdist: Fix ECS addition when the OPT record is not the last one
Remi Gacogne [Fri, 19 Jul 2019 14:33:10 +0000 (16:33 +0200)] 
dnsdist: Fix ECS addition when the OPT record is not the last one

6 years agoMerge pull request #8382 from rgacogne/ddist-ciphers-order
Remi Gacogne [Mon, 7 Oct 2019 15:27:37 +0000 (17:27 +0200)] 
Merge pull request #8382 from rgacogne/ddist-ciphers-order

dnsdist: Add a 'preferServerCiphers' option for DoH and DoT

6 years agoMerge pull request #8381 from rgacogne/ddist-prometheus-thread-number
Remi Gacogne [Mon, 7 Oct 2019 15:27:20 +0000 (17:27 +0200)] 
Merge pull request #8381 from rgacogne/ddist-prometheus-thread-number

dnsdist: Add a prometheus 'thread' label to distinguish identical frontends

6 years agoMerge pull request #8375 from rgacogne/ddist-python-dns-options-print
Remi Gacogne [Mon, 7 Oct 2019 15:26:55 +0000 (17:26 +0200)] 
Merge pull request #8375 from rgacogne/ddist-python-dns-options-print

Implement python's to_text() for Cookies and Client Subnet options

6 years agodnsdist: Clear the DoH Session Ticket Encryption Key in the ctor 8388/head
Remi Gacogne [Mon, 7 Oct 2019 14:32:13 +0000 (16:32 +0200)] 
dnsdist: Clear the DoH Session Ticket Encryption Key in the ctor

6 years agodnsdist: Add metrics about TLS versions with DNS over TLS
Remi Gacogne [Mon, 7 Oct 2019 14:00:59 +0000 (16:00 +0200)] 
dnsdist: Add metrics about TLS versions with DNS over TLS

6 years agoAnd declare assignment operator deleted 8351/head
Otto Moerbeek [Mon, 7 Oct 2019 12:17:36 +0000 (14:17 +0200)] 
And declare assignment operator deleted

6 years agoMerge pull request #8385 from omoerbeek/more-strict-flags
Otto Moerbeek [Mon, 7 Oct 2019 11:44:59 +0000 (13:44 +0200)] 
Merge pull request #8385 from omoerbeek/more-strict-flags

More strict flags

6 years agoWhile there is no shadowing going on for global functions, improve 8385/head
Otto Moerbeek [Mon, 7 Oct 2019 09:27:13 +0000 (11:27 +0200)] 
While there is no shadowing going on for global functions, improve
consistency by calling a lua_state lua_state.

6 years agoAdd copy-ct, gcc C++ lib <= 4.8 seems to need it.
Otto Moerbeek [Mon, 7 Oct 2019 08:43:41 +0000 (10:43 +0200)] 
Add copy-ct, gcc C++ lib <= 4.8 seems to need it.

6 years agoSome more shadowing going on
Otto Moerbeek [Fri, 4 Oct 2019 15:13:19 +0000 (17:13 +0200)] 
Some more shadowing going on

6 years agoUse -Wextra -Wshadow.
Otto Moerbeek [Fri, 4 Oct 2019 14:40:00 +0000 (16:40 +0200)] 
Use -Wextra -Wshadow.

This cause plenty of signed-compare warnings from clang in the unit-tests. So
fix those plus a few cases of -Wshadow.

6 years agodnsdist: Add a 'preferServerCiphers' option for DoH and DoT 8382/head
Remi Gacogne [Fri, 4 Oct 2019 10:28:56 +0000 (12:28 +0200)] 
dnsdist: Add a 'preferServerCiphers' option for DoH and DoT

It used to be that the servers had a much better configuration than
the clients, but nowadays we better rely on the clients, as they
know whether they have hardware support for a specific algorithm
which might save battery life or improve latency by a large margin.

6 years agodnsdist: Add a prometheus 'thread' label to distinguish identical frontends 8381/head
Remi Gacogne [Fri, 4 Oct 2019 09:13:42 +0000 (11:13 +0200)] 
dnsdist: Add a prometheus 'thread' label to distinguish identical frontends

6 years agodnsdist: Switch the default DoT provider from GnuTLS to OpenSSL 8380/head
Remi Gacogne [Fri, 4 Oct 2019 09:02:08 +0000 (11:02 +0200)] 
dnsdist: Switch the default DoT provider from GnuTLS to OpenSSL

The feedback from our users is that the OpenSSL provider is faster
and more stable. We also provide better Session Ticket Keys rotation
options with OpenSSL.

6 years agodnsdist: Also apply SO_BINDTODEVICE to TCP sockets
Remi Gacogne [Fri, 4 Oct 2019 08:44:33 +0000 (10:44 +0200)] 
dnsdist: Also apply SO_BINDTODEVICE to TCP sockets

6 years agoMerge pull request #8377 from rgacogne/ddist-more-warnings
Remi Gacogne [Fri, 4 Oct 2019 08:23:56 +0000 (10:23 +0200)] 
Merge pull request #8377 from rgacogne/ddist-more-warnings

dnsdist: Compile with -Wall -Wextra -Wshadow by default

6 years agoMerge pull request #8378 from rgacogne/ddist-prometheus-senderrors-typo
Remi Gacogne [Fri, 4 Oct 2019 08:22:53 +0000 (10:22 +0200)] 
Merge pull request #8378 from rgacogne/ddist-prometheus-senderrors-typo

dnsdist: Fix a typo in the prometheus description of 'senderrors'

6 years agodnsdist: Fix a typo in the prometheus description of 'senderrors' 8378/head
Remi Gacogne [Thu, 3 Oct 2019 15:29:39 +0000 (17:29 +0200)] 
dnsdist: Fix a typo in the prometheus description of 'senderrors'

6 years agodnsdist: Keep CAP_NET_RAW around when SO_BINDTODEVICE is in use
Remi Gacogne [Thu, 3 Oct 2019 15:06:44 +0000 (17:06 +0200)] 
dnsdist: Keep CAP_NET_RAW around when SO_BINDTODEVICE is in use

6 years agodnsdist: Compile with -Wall -Wextra -Wshadow by default 8377/head
Remi Gacogne [Thu, 3 Oct 2019 13:41:46 +0000 (15:41 +0200)] 
dnsdist: Compile with -Wall -Wextra -Wshadow by default

And -Werror=vla -Werror=shadow -Wformat=2 -Werror=format-security
in CircleCI.

6 years agoFix 'this statement may fall through' warnings
Remi Gacogne [Thu, 3 Oct 2019 13:41:20 +0000 (15:41 +0200)] 
Fix 'this statement may fall through' warnings

6 years agodnsdist: Fix shadowed variables
Remi Gacogne [Thu, 3 Oct 2019 13:41:07 +0000 (15:41 +0200)] 
dnsdist: Fix shadowed variables

6 years agoFix implicitly-declared 'YaHTTP::CookieJar& YaHTTP::CookieJar::operator='
Remi Gacogne [Thu, 3 Oct 2019 13:40:12 +0000 (15:40 +0200)] 
Fix implicitly-declared 'YaHTTP::CookieJar& YaHTTP::CookieJar::operator='

6 years agodnsdist: Set SO_BINDTODEVICE _before_ binding the health check socket
Remi Gacogne [Thu, 3 Oct 2019 13:10:05 +0000 (15:10 +0200)] 
dnsdist: Set SO_BINDTODEVICE _before_ binding the health check socket

6 years agoMerge pull request #8342 from chbruyand/pipebackend-unused-warning
Remi Gacogne [Thu, 3 Oct 2019 12:53:02 +0000 (14:53 +0200)] 
Merge pull request #8342 from chbruyand/pipebackend-unused-warning

pipebackend: remove unused variable

6 years agodnsdist: Apply SO_BINDTODEVICE to health check sockets too
Remi Gacogne [Thu, 3 Oct 2019 12:27:42 +0000 (14:27 +0200)] 
dnsdist: Apply SO_BINDTODEVICE to health check sockets too

6 years agodnsdist: Don't shadow the 'sourceItfName' variable in 'newServer()'
Remi Gacogne [Thu, 3 Oct 2019 11:45:46 +0000 (13:45 +0200)] 
dnsdist: Don't shadow the 'sourceItfName' variable in 'newServer()'

6 years agoImplement python's to_text() for Cookies and Client Subnet options 8375/head
Remi Gacogne [Thu, 3 Oct 2019 09:53:48 +0000 (11:53 +0200)] 
Implement python's to_text() for Cookies and Client Subnet options

6 years agoMerge pull request #8371 from omoerbeek/rec-fix-debian-pkg-build
Otto Moerbeek [Wed, 2 Oct 2019 13:46:46 +0000 (15:46 +0200)] 
Merge pull request #8371 from omoerbeek/rec-fix-debian-pkg-build

Fix chmod paths in rules files

6 years agodnsdist: Use SO_BINDTODEVICE when available for newServer's source itf
Remi Gacogne [Wed, 2 Oct 2019 13:37:35 +0000 (15:37 +0200)] 
dnsdist: Use SO_BINDTODEVICE when available for newServer's source itf

6 years agoCorrect chmod paths 7820/head
Otto Moerbeek [Wed, 2 Oct 2019 13:27:49 +0000 (15:27 +0200)] 
Correct chmod paths

6 years agoFix chmod paths in rules files 8371/head
Otto Moerbeek [Wed, 2 Oct 2019 13:18:51 +0000 (15:18 +0200)] 
Fix chmod paths in rules files

6 years agoMerge pull request #8369 from omoerbeek/auth-pthread_t-isnotanint
Otto Moerbeek [Wed, 2 Oct 2019 12:23:41 +0000 (14:23 +0200)] 
Merge pull request #8369 from omoerbeek/auth-pthread_t-isnotanint

Printing a pthread_t on platforms having a non-int pthread_id requires a cast to uintptr_t.

6 years agoMerge pull request #8368 from rgacogne/ddist-prometheus-third
Remi Gacogne [Wed, 2 Oct 2019 12:16:45 +0000 (14:16 +0200)] 
Merge pull request #8368 from rgacogne/ddist-prometheus-third

dnsdist: More prometheus fixes

6 years agoMerge pull request #8365 from rgacogne/ddist-lowercase-custom-header-names
Remi Gacogne [Wed, 2 Oct 2019 12:15:01 +0000 (14:15 +0200)] 
Merge pull request #8365 from rgacogne/ddist-lowercase-custom-header-names

dnsdist: Lowercase custom DoH header names

6 years agoMerge pull request #8344 from franklouwers/rec-signalhandling
Otto Moerbeek [Wed, 2 Oct 2019 11:38:33 +0000 (13:38 +0200)] 
Merge pull request #8344 from franklouwers/rec-signalhandling

Add signal handling for SIGTERM and SIGINT in pdns_recursor, if we are PID1

6 years agoMerge pull request #8366 from omoerbeek/rec-enable-nod
Otto Moerbeek [Wed, 2 Oct 2019 11:01:57 +0000 (13:01 +0200)] 
Merge pull request #8366 from omoerbeek/rec-enable-nod

rec: Build Newly Observerd Domain (NOD) support by default.

6 years agoPrinting a pthread_t on platforms having a non-int pthread_id 8369/head
Otto Moerbeek [Wed, 2 Oct 2019 09:17:48 +0000 (11:17 +0200)] 
Printing a pthread_t on platforms having a non-int pthread_id
requires a cast to uintptr_t.

6 years agodnsdist: Also lowercase custom DoH header names for early responses 8365/head
Remi Gacogne [Wed, 2 Oct 2019 09:14:50 +0000 (11:14 +0200)] 
dnsdist: Also lowercase custom DoH header names for early responses

6 years agodnsdist: Deduplicate DoH frontend names in prometheus 8368/head
Remi Gacogne [Wed, 2 Oct 2019 08:49:12 +0000 (10:49 +0200)] 
dnsdist: Deduplicate DoH frontend names in prometheus

6 years agodnsdist: Add missing prometheus descriptions for dnsdist_pool_servers and dnsdist_po...
Remi Gacogne [Wed, 2 Oct 2019 08:47:47 +0000 (10:47 +0200)] 
dnsdist: Add missing prometheus descriptions for  dnsdist_pool_servers and dnsdist_pool_active_servers

6 years agodnsdist: Fix a typo in 'tcpdownstreamtimeouts' prometheus description
Remi Gacogne [Wed, 2 Oct 2019 08:45:07 +0000 (10:45 +0200)] 
dnsdist: Fix a typo in 'tcpdownstreamtimeouts' prometheus description

6 years agodnsdist: Fix handling of latency-sum and latency-count in prometheus
Remi Gacogne [Wed, 2 Oct 2019 08:44:44 +0000 (10:44 +0200)] 
dnsdist: Fix handling of latency-sum and latency-count in prometheus

6 years agodnsdist: Add per-frontend and per-server response counters
Remi Gacogne [Wed, 2 Oct 2019 08:38:53 +0000 (10:38 +0200)] 
dnsdist: Add per-frontend and per-server response counters

6 years agoTypo. Thanks @phonedph1 8344/head
Frank Louwers [Tue, 1 Oct 2019 15:44:38 +0000 (17:44 +0200)] 
Typo. Thanks @phonedph1

6 years agoAuto, conditional on availability of boot-filesystem lib 8366/head
Otto Moerbeek [Tue, 1 Oct 2019 12:42:17 +0000 (14:42 +0200)] 
Auto, conditional on availability of boot-filesystem lib

6 years agoMerge pull request #8364 from rgacogne/ddist-webserver-checkconfig
Remi Gacogne [Tue, 1 Oct 2019 11:45:16 +0000 (13:45 +0200)] 
Merge pull request #8364 from rgacogne/ddist-webserver-checkconfig

dnsdist: Check the address supplied to 'webserver' in check-config

6 years agoMerge pull request #8363 from omoerbeek/lgtm-coverity-1
Remi Gacogne [Tue, 1 Oct 2019 11:44:58 +0000 (13:44 +0200)] 
Merge pull request #8363 from omoerbeek/lgtm-coverity-1

LGTM/coverity spotted issues: copy constructors and = operators

6 years agoBuild Newly Observerd Domain (NOD) support by default.
Otto Moerbeek [Tue, 1 Oct 2019 09:57:57 +0000 (11:57 +0200)] 
Build Newly Observerd Domain (NOD) support by default.

Still disabled by default config.

6 years agoMerge pull request #8360 from omoerbeek/rec-systemd-config-perms
Otto Moerbeek [Tue, 1 Oct 2019 09:35:03 +0000 (11:35 +0200)] 
Merge pull request #8360 from omoerbeek/rec-systemd-config-perms

rec: chmod/own recursor.conf for the systemd case

6 years agodnsdist: Lowercase custom DoH header names
Remi Gacogne [Tue, 1 Oct 2019 09:10:07 +0000 (11:10 +0200)] 
dnsdist: Lowercase custom DoH header names

6 years agoMerge pull request #8361 from rgacogne/ddist-doh-prometheus-bis
Remi Gacogne [Tue, 1 Oct 2019 08:36:02 +0000 (10:36 +0200)] 
Merge pull request #8361 from rgacogne/ddist-doh-prometheus-bis

dnsdist: Refactor DoH prometheus metrics again

6 years agoMerge pull request #8359 from rgacogne/dnsdist-setrules-creationorder
Remi Gacogne [Tue, 1 Oct 2019 08:35:04 +0000 (10:35 +0200)] 
Merge pull request #8359 from rgacogne/dnsdist-setrules-creationorder

dnsdist: Fix the creation order of rules when inserted via SetRules()

6 years agodnsdist: Check the address supplied to 'webserver' in check-config 8364/head
Remi Gacogne [Tue, 1 Oct 2019 08:02:14 +0000 (10:02 +0200)] 
dnsdist: Check the address supplied to 'webserver' in check-config

6 years agoCleanup copy constructor/assignment op "rule-of-2" violations. 8363/head
Otto Moerbeek [Mon, 30 Sep 2019 09:46:13 +0000 (11:46 +0200)] 
Cleanup copy constructor/assignment op "rule-of-2" violations.

6 years agochown/mods for systemd case for more smooth upgrade
Otto Moerbeek [Mon, 30 Sep 2019 15:54:27 +0000 (17:54 +0200)] 
chown/mods for systemd case for more smooth upgrade

6 years agodnsdist: Refactor DoH prometheus metrics again 8361/head
Remi Gacogne [Mon, 30 Sep 2019 15:44:51 +0000 (17:44 +0200)] 
dnsdist: Refactor DoH prometheus metrics again