]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
6 years agoixfrdist: handle zone write errors
Peter van Dijk [Thu, 17 Oct 2019 13:24:34 +0000 (15:24 +0200)] 
ixfrdist: handle zone write errors

6 years agoixfrdist: if zonefile is broken, remove and find another
Peter van Dijk [Thu, 17 Oct 2019 10:39:00 +0000 (12:39 +0200)] 
ixfrdist: if zonefile is broken, remove and find another

6 years agoadd Ubuntu eoan builder target 8429/head
Peter van Dijk [Thu, 17 Oct 2019 10:21:45 +0000 (12:21 +0200)] 
add Ubuntu eoan builder target

6 years agoopenssl: report correct keysize for eddsa, fixes part one of #8278 8426/head
Peter van Dijk [Wed, 16 Oct 2019 23:36:04 +0000 (01:36 +0200)] 
openssl: report correct keysize for eddsa, fixes part one of #8278

6 years agopdnsutil test-algorithm(s): report key size
Peter van Dijk [Wed, 16 Oct 2019 23:34:15 +0000 (01:34 +0200)] 
pdnsutil test-algorithm(s): report key size

6 years agoignore unloadable files, causing a fresh zone retrieve
Peter van Dijk [Wed, 16 Oct 2019 22:47:14 +0000 (00:47 +0200)] 
ignore unloadable files, causing a fresh zone retrieve

6 years agosingular function name for singular functionality
Peter van Dijk [Wed, 16 Oct 2019 22:37:59 +0000 (00:37 +0200)] 
singular function name for singular functionality

6 years agoMerge pull request #8400 from pieterlexis/centos-8-pkgs
Pieter Lexis [Wed, 16 Oct 2019 11:32:31 +0000 (13:32 +0200)] 
Merge pull request #8400 from pieterlexis/centos-8-pkgs

Add CentOS 8 as builder target

6 years agoMerge pull request #8325 from pieterlexis/disabled-in-api
Pieter Lexis [Wed, 16 Oct 2019 11:32:03 +0000 (13:32 +0200)] 
Merge pull request #8325 from pieterlexis/disabled-in-api

auth API: make disabled optional for Record

6 years agoMerge pull request #8421 from rgacogne/ddist-fix-merge-rotation-delay
Remi Gacogne [Tue, 15 Oct 2019 20:52:16 +0000 (22:52 +0200)] 
Merge pull request #8421 from rgacogne/ddist-fix-merge-rotation-delay

dnsdist: Fix merge issue (d_ticketsKeyRotationDelay)

6 years agopdnsutil: add algo 7 to add-zone-key help 8420/head
Pieter Lexis [Tue, 15 Oct 2019 18:14:30 +0000 (20:14 +0200)] 
pdnsutil: add algo 7 to add-zone-key help

6 years agodnsdist: Fix merge issue (d_ticketsKeyRotationDelay) 8421/head
Remi Gacogne [Tue, 15 Oct 2019 18:14:11 +0000 (20:14 +0200)] 
dnsdist: Fix merge issue (d_ticketsKeyRotationDelay)

d_ticketsKeyRotationDelay is now in the TLSConfig object.

6 years agoMerge pull request #8411 from rgacogne/dnsdist-better-log-action
Remi Gacogne [Tue, 15 Oct 2019 12:49:44 +0000 (14:49 +0200)] 
Merge pull request #8411 from rgacogne/dnsdist-better-log-action

dnsdist: Add more options to LogAction (non-verbose mode, timestamps)

6 years agoMerge pull request #8383 from rgacogne/ddist-merge-doh-dot-contexts
Remi Gacogne [Tue, 15 Oct 2019 12:47:38 +0000 (14:47 +0200)] 
Merge pull request #8383 from rgacogne/ddist-merge-doh-dot-contexts

dnsdist: Merge the setup of TLS contexts in Doh and DoT

6 years agoMerge pull request #8408 from rgacogne/ddist-buffer-size-cache
Remi Gacogne [Tue, 15 Oct 2019 12:42:29 +0000 (14:42 +0200)] 
Merge pull request #8408 from rgacogne/ddist-buffer-size-cache

dnsdist: Fix the caching of large entries

6 years agoMerge pull request #8417 from rgacogne/auth-dist-unit2.test
Remi Gacogne [Tue, 15 Oct 2019 10:21:38 +0000 (12:21 +0200)] 
Merge pull request #8417 from rgacogne/auth-dist-unit2.test

Add regression-tests/zones/unit2.test to EXTRA_DIST

6 years agoAdd regression-tests/zones/unit2.test to EXTRA_DIST 8417/head
Remi Gacogne [Tue, 15 Oct 2019 08:13:37 +0000 (10:13 +0200)] 
Add regression-tests/zones/unit2.test to EXTRA_DIST

Otherwise the unit tests fail.

6 years agodnsdist: Use std::max() to compute the size of the incoming buffer 8408/head
Remi Gacogne [Fri, 11 Oct 2019 14:44:25 +0000 (16:44 +0200)] 
dnsdist: Use std::max() to compute the size of the incoming buffer

6 years agodnsdist: Add regression tests for the caching of large answers
Remi Gacogne [Fri, 11 Oct 2019 12:57:45 +0000 (14:57 +0200)] 
dnsdist: Add regression tests for the caching of large answers

6 years agodnsdist: Don't cache entries larger than 4096 bytes
Remi Gacogne [Fri, 11 Oct 2019 12:52:08 +0000 (14:52 +0200)] 
dnsdist: Don't cache entries larger than 4096 bytes

We won't be able to use them anyway.

6 years agodnsdist: Always allocate at least 4096 bytes for the cached response
Remi Gacogne [Fri, 11 Oct 2019 12:51:11 +0000 (14:51 +0200)] 
dnsdist: Always allocate at least 4096 bytes for the cached response

6 years agodnsdist: Advertise the size really available in the query buffer
Remi Gacogne [Thu, 10 Oct 2019 15:44:43 +0000 (17:44 +0200)] 
dnsdist: Advertise the size really available in the query buffer

We use to advertise s_udpIncomingBufferSize (1500) but the buffer
is really 4096 bytes long. This allows much larger responses from
to be returned from the cache.

6 years agoMerge pull request #8415 from rgacogne/ddist-tcp-stats-format
Remi Gacogne [Tue, 15 Oct 2019 08:04:49 +0000 (10:04 +0200)] 
Merge pull request #8415 from rgacogne/ddist-tcp-stats-format

dnsdist: Fix formatting in showTCPStats()

6 years agodnsdist: Implement ref counting for the DOHUnit object 8416/head
Remi Gacogne [Mon, 14 Oct 2019 14:18:46 +0000 (16:18 +0200)] 
dnsdist: Implement ref counting for the DOHUnit object

It turns out that, at least when testing with ASAN enabled, we
sometimes trigger use-after-free detection because we get the
response from the backend, send it to the client then delete the
object before the send() call to the backend even returned.

6 years agodnsdist: Fix formatting in showTCPStats() 8415/head
Remi Gacogne [Mon, 14 Oct 2019 14:02:44 +0000 (16:02 +0200)] 
dnsdist: Fix formatting in showTCPStats()

6 years agoMerge pull request #8413 from rgacogne/cmsg_space_osx
Remi Gacogne [Mon, 14 Oct 2019 13:39:59 +0000 (15:39 +0200)] 
Merge pull request #8413 from rgacogne/cmsg_space_osx

Work around CMSG_SPACE somehow not being a constexpr on macOS

6 years agoMerge pull request #8414 from omoerbeek/test-zoneparse-more-modern
Otto Moerbeek [Mon, 14 Oct 2019 11:09:47 +0000 (13:09 +0200)] 
Merge pull request #8414 from omoerbeek/test-zoneparse-more-modern

test-zoneparser_tng: more modern C++ idiom

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