]> granicus.if.org Git - pdns/log
pdns
5 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

5 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

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

5 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

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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

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

5 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

5 years agoWhile there is no shadowing going on for global functions, improve
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.

5 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.

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

5 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.

5 years agodnsdist: Add a 'preferServerCiphers' option for DoH and DoT
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.

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

5 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

5 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'

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

5 years agodnsdist: Compile with -Wall -Wextra -Wshadow by default
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.

5 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

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

5 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='

5 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

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

5 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

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

5 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.

5 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

5 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

5 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

5 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.

5 years agoPrinting a pthread_t on platforms having a non-int pthread_id
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.

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

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

5 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

5 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

5 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

5 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

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

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

5 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

5 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

5 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.

5 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

5 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

5 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

5 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()

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

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

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

5 years agochmod/own recursor.conf for the systemd case
Otto Moerbeek [Mon, 30 Sep 2019 15:40:15 +0000 (17:40 +0200)]
chmod/own recursor.conf for the systemd case

5 years agodnsdist: Fix the creation order of rules when inserted via SetRules()
Remi Gacogne [Mon, 30 Sep 2019 14:54:57 +0000 (16:54 +0200)]
dnsdist: Fix the creation order of rules when inserted via SetRules()

5 years agoMerge pull request #8356 from rgacogne/ddist-140-rc3-changelog-secpoll
Remi Gacogne [Mon, 30 Sep 2019 13:03:25 +0000 (15:03 +0200)]
Merge pull request #8356 from rgacogne/ddist-140-rc3-changelog-secpoll

dnsdist: ChangeLog and secpoll update for 1.4.0-rc3

5 years agodnsdist: add DNS over HTTPS and DNS over TLS tags to the conf
Remi Gacogne [Mon, 30 Sep 2019 08:40:26 +0000 (10:40 +0200)]
dnsdist: add DNS over HTTPS and DNS over TLS tags to the conf

5 years agodnsdist: ChangeLog and secpoll update for 1.4.0-rc3
Remi Gacogne [Mon, 30 Sep 2019 08:28:35 +0000 (10:28 +0200)]
dnsdist: ChangeLog and secpoll update for 1.4.0-rc3

5 years agoMerge pull request #8318 from rgacogne/ddist-prometheus-labels dnsdist-1.4.0-rc3
Remi Gacogne [Mon, 30 Sep 2019 02:03:55 +0000 (04:03 +0200)]
Merge pull request #8318 from rgacogne/ddist-prometheus-labels

dnsdist: Better use of labels in our DoH prometheus export

5 years agoMerge pull request #8349 from rgacogne/ddist-doh-tickets
Remi Gacogne [Sun, 29 Sep 2019 21:00:34 +0000 (23:00 +0200)]
Merge pull request #8349 from rgacogne/ddist-doh-tickets

dnsdist: Implement TLS Session Ticket Keys management for DoH

5 years agoauth statbag: move to std::mutex, avoid copies
Peter van Dijk [Fri, 27 Sep 2019 15:09:47 +0000 (17:09 +0200)]
auth statbag: move to std::mutex, avoid copies

5 years agoProblem found by coverity.
Otto Moerbeek [Fri, 27 Sep 2019 14:28:44 +0000 (16:28 +0200)]
Problem found by coverity.

5 years agodnsdist: Remove references to GnuTLS for DoH
Remi Gacogne [Fri, 27 Sep 2019 14:15:40 +0000 (16:15 +0200)]
dnsdist: Remove references to GnuTLS for DoH

5 years agodnsdist: Exclude TLS session resumption tests from Travis (no DoH, old libssl)
Remi Gacogne [Fri, 27 Sep 2019 14:11:23 +0000 (16:11 +0200)]
dnsdist: Exclude TLS session resumption tests from Travis (no DoH, old libssl)

5 years agodnsdist: Document DoH TLS Session Ticket keys management. Add tests.
Remi Gacogne [Fri, 27 Sep 2019 14:10:36 +0000 (16:10 +0200)]
dnsdist: Document DoH TLS Session Ticket keys management. Add tests.

5 years agoMerge pull request #8343 from omoerbeek/lgtm-low-hanging-fruit
Otto Moerbeek [Fri, 27 Sep 2019 14:00:08 +0000 (16:00 +0200)]
Merge pull request #8343 from omoerbeek/lgtm-low-hanging-fruit

Lgtm low hanging fruit

5 years agoMerge pull request #8350 from omoerbeek/fix-bind-mutex-leak
Otto Moerbeek [Fri, 27 Sep 2019 13:57:39 +0000 (15:57 +0200)]
Merge pull request #8350 from omoerbeek/fix-bind-mutex-leak

bind backend: pthread_mutex_t should be inited and destroyed and not be copied

5 years agobind backend: pthread_mutex_t should be inited and destroyed and not be copied
Otto Moerbeek [Fri, 27 Sep 2019 12:40:24 +0000 (14:40 +0200)]
bind backend: pthread_mutex_t should be inited and destroyed and not be copied

To make our live easier, use a native C++ mutex.
Fixes #8161

5 years agodnsdist: Skip TCP metrics for UDP frontends over prometheus
Remi Gacogne [Thu, 26 Sep 2019 15:02:48 +0000 (17:02 +0200)]
dnsdist: Skip TCP metrics for UDP frontends over prometheus

5 years agodnsdist: Implement TLS Session Ticket Keys management for DoH
Remi Gacogne [Thu, 26 Sep 2019 14:19:28 +0000 (16:19 +0200)]
dnsdist: Implement TLS Session Ticket Keys management for DoH

5 years agoMerge pull request #8348 from rgacogne/auth-unit-hardening
Remi Gacogne [Thu, 26 Sep 2019 12:36:51 +0000 (14:36 +0200)]
Merge pull request #8348 from rgacogne/auth-unit-hardening

auth: Add NoNewPrivileges, PrivateDevices and PrivateTmp back

5 years agoauth: Add NoNewPrivileges, PrivateDevices and PrivateTmp back
Remi Gacogne [Thu, 26 Sep 2019 11:35:12 +0000 (13:35 +0200)]
auth: Add NoNewPrivileges, PrivateDevices and PrivateTmp back

5 years agoAdd comments on why we need this
Frank Louwers [Thu, 26 Sep 2019 09:42:27 +0000 (11:42 +0200)]
Add comments on why we need this

5 years agoOnly register our handler when we're pid 1, and change to doExit()
Frank Louwers [Thu, 26 Sep 2019 09:22:55 +0000 (11:22 +0200)]
Only register our handler when we're pid 1, and change to doExit()

5 years agoMerge pull request #8208 from rgacogne/no-naked-pointers
Remi Gacogne [Thu, 26 Sep 2019 07:58:05 +0000 (09:58 +0200)]
Merge pull request #8208 from rgacogne/no-naked-pointers

auth: Get rid of most remaining naked pointers

5 years agoauth: Mark getFreshAXFRPacket() as static
Remi Gacogne [Wed, 25 Sep 2019 15:04:26 +0000 (17:04 +0200)]
auth: Mark getFreshAXFRPacket() as static

5 years agoauth: Use shared pointers for the DNSPacket Lua bindings
Remi Gacogne [Wed, 25 Sep 2019 15:03:43 +0000 (17:03 +0200)]
auth: Use shared pointers for the DNSPacket Lua bindings

5 years agoAdd signal handling for SIGTERM and SIGINT in pdns_recursor
Frank Louwers [Wed, 25 Sep 2019 10:07:14 +0000 (12:07 +0200)]
Add signal handling for SIGTERM and SIGINT in pdns_recursor

The Linux kernel handles signals for PID 1 processes differently. It
doesn't implement a default handler for some signals such as
SIGTERM/SIGINT.

When running pdns_recursor as a container, this causes a few annoyances.
You can work around those by running your containers with --init or by
installing `tini` inside the container. Or you can handle the signals in
the application itself.

This commit adds signal() handlers for SIGTERM and SIGINT for
pdns_recursor.

5 years agoMerge pull request #8339 from omoerbeek/clang-format-file
Otto Moerbeek [Wed, 25 Sep 2019 11:33:05 +0000 (13:33 +0200)]
Merge pull request #8339 from omoerbeek/clang-format-file

clang-format file proposal

5 years agoMerge pull request #8340 from omoerbeek/rec-rpz-load-zz
Otto Moerbeek [Wed, 25 Sep 2019 10:25:51 +0000 (12:25 +0200)]
Merge pull request #8340 from omoerbeek/rec-rpz-load-zz

Fix #8338: Issue with "zz" abbreviation for IPv6 RPZ triggers

5 years agoauth: Get rid of most remaining naked pointers
Remi Gacogne [Sun, 4 Aug 2019 19:28:48 +0000 (21:28 +0200)]
auth: Get rid of most remaining naked pointers

5 years agoAdd lgtm annotations and #error directives if we're configured wrongly.
Otto Moerbeek [Wed, 25 Sep 2019 08:00:47 +0000 (10:00 +0200)]
Add lgtm annotations and #error directives if we're configured wrongly.

Already showing its worth: a few ac checks were missing.

5 years agoMissed one case of localtime()
Otto Moerbeek [Tue, 24 Sep 2019 14:51:57 +0000 (16:51 +0200)]
Missed one case of localtime()

5 years agoSome low-hanging LGTM fruit
Otto Moerbeek [Tue, 24 Sep 2019 14:30:18 +0000 (16:30 +0200)]
Some low-hanging LGTM fruit

5 years agoIncorporate suggestions from rgacogne
Otto Moerbeek [Tue, 24 Sep 2019 11:27:45 +0000 (13:27 +0200)]
Incorporate suggestions from rgacogne

5 years agopipebackend: remove unused variable
Charles-Henri Bruyand [Tue, 24 Sep 2019 09:15:20 +0000 (11:15 +0200)]
pipebackend: remove unused variable

5 years agoMerge pull request #8328 from mind04/pdns-mysql-ssl
Peter van Dijk [Tue, 24 Sep 2019 08:20:48 +0000 (10:20 +0200)]
Merge pull request #8328 from mind04/pdns-mysql-ssl

auth: gmysql backend, add an option to send the SSL capability flag t…

5 years agoMerge pull request #8326 from rgacogne/security-policy
Remi Gacogne [Tue, 24 Sep 2019 07:56:34 +0000 (09:56 +0200)]
Merge pull request #8326 from rgacogne/security-policy

Add a security policy in our repo, remove outdated statement about versions

5 years agoMerge pull request #8336 from Habbie/auth-no-version-in-manpage
Remi Gacogne [Tue, 24 Sep 2019 07:54:00 +0000 (09:54 +0200)]
Merge pull request #8336 from Habbie/auth-no-version-in-manpage

auth: remove version number from man page footers

5 years agodnsdist: Update metrics based on the non-encrypted rcode over DNSCrypt
Remi Gacogne [Mon, 23 Sep 2019 15:04:10 +0000 (17:04 +0200)]
dnsdist: Update metrics based on the non-encrypted rcode over DNSCrypt

5 years agodnsdist: Update frontend* stats over TCP as well
Remi Gacogne [Mon, 23 Sep 2019 14:34:38 +0000 (16:34 +0200)]
dnsdist: Update frontend* stats over TCP as well

5 years agodnsdist: Better use of labels in our DoH prometheus export
Remi Gacogne [Mon, 23 Sep 2019 14:34:21 +0000 (16:34 +0200)]
dnsdist: Better use of labels in our DoH prometheus export

Also add stats about TLS session resumption.

5 years agoauth: gmysql backend, add an option to send the SSL capability flag to the server
Kees Monshouwer [Wed, 28 Aug 2019 10:07:02 +0000 (12:07 +0200)]
auth: gmysql backend, add an option to send the SSL capability flag to the server

5 years agoFix #8338: Issue with "zz" abbreviation for IPv6 RPZ triggers
Otto Moerbeek [Mon, 23 Sep 2019 12:59:38 +0000 (14:59 +0200)]
Fix #8338: Issue with "zz" abbreviation for IPv6 RPZ triggers

While there, add unittest for translating rpz names into netmasks

5 years agoclang-format file proposal
Otto Moerbeek [Mon, 23 Sep 2019 09:43:42 +0000 (11:43 +0200)]
clang-format file proposal

Run with clang-format [-i] -style=file in the tree.
-i does an in-place edit, without it result is written to stdout.

5 years agoauth: remove version number from man page footers
Peter van Dijk [Mon, 23 Sep 2019 08:38:39 +0000 (10:38 +0200)]
auth: remove version number from man page footers