]>
granicus.if.org Git - pdns/log
Remi Gacogne [Fri, 12 Apr 2019 09:00:42 +0000 (11:00 +0200)]
Merge pull request #7701 from rgacogne/dnsdist-14
dnsdist: Prepare secpoll, changelog and upgrade guide for 1.4.0a1.
Remi Gacogne [Fri, 12 Apr 2019 07:22:11 +0000 (09:22 +0200)]
Merge pull request #7715 from rgacogne/dist-docs-newpacketcache
dnsdist: Update the syntax of newPacketCache() in the caching guide
Remi Gacogne [Fri, 12 Apr 2019 07:21:50 +0000 (09:21 +0200)]
Merge pull request #7717 from Habbie/rec-doc-nit-modules
remove --with-modules from recursor README
Remi Gacogne [Fri, 12 Apr 2019 07:21:16 +0000 (09:21 +0200)]
Merge pull request #7718 from pieterlexis/dnsdist-dont-crash-gnutls-wrong-ciphers
dnsdist: exit when setting ciphers fails (GNUTLS)
Pieter Lexis [Thu, 11 Apr 2019 15:30:20 +0000 (17:30 +0200)]
dnsdist: exit when setting ciphers fails (GNUTLS)
Before, we would log the fact that we could not set the ciphers for
gnutls but still start. When a connection came in, dnsdist would crash.
Peter van Dijk [Thu, 11 Apr 2019 14:37:27 +0000 (16:37 +0200)]
remove --with-modules from recursor README
Remi Gacogne [Thu, 11 Apr 2019 13:38:27 +0000 (15:38 +0200)]
dnsdist: Update the syntax of newPacketCache() in the caching guide
Otto Moerbeek [Thu, 11 Apr 2019 13:25:25 +0000 (15:25 +0200)]
Merge pull request #7710 from omoerbeek/dnsdist-runtests-cleanup
Dnsdist runtests cleanup
Otto Moerbeek [Thu, 11 Apr 2019 12:37:07 +0000 (14:37 +0200)]
Merge commit '
c8f3da74c5e294b40a2b464c56ce06e2dc818aa4 ' into dnsdist-runtests-cleanup
Remi Gacogne [Thu, 11 Apr 2019 08:26:44 +0000 (10:26 +0200)]
Merge pull request #7694 from rgacogne/dnsdist-frontend-refactoring
dnsdist: Unify the management of DNS/DNSCrypt/DoT frontends
Remi Gacogne [Thu, 11 Apr 2019 08:11:27 +0000 (10:11 +0200)]
Merge pull request #7695 from rgacogne/dnsdist-roundrobin-all-servers-down
dnsdist: Add 'setRoundRobinFailOnNoServer()'
Remi Gacogne [Thu, 11 Apr 2019 07:58:09 +0000 (09:58 +0200)]
Merge pull request #7702 from rgacogne/dnsdist-static-fixes
dnsdist: Fix small issues reported by cppcheck and clang's static analyzer
Remi Gacogne [Thu, 11 Apr 2019 06:43:11 +0000 (08:43 +0200)]
Merge pull request #7678 from Habbie/dnsdist-mv-constants2
dnsdist: Move constants to proper namespace
Peter van Dijk [Wed, 10 Apr 2019 20:04:04 +0000 (22:04 +0200)]
update docs
Peter van Dijk [Wed, 10 Apr 2019 20:03:47 +0000 (22:03 +0200)]
update tests to new naming
Peter van Dijk [Wed, 10 Apr 2019 20:03:15 +0000 (22:03 +0200)]
move rcodes and qtypes to their own namespace; add fallback and deprecate it
bert hubert [Wed, 10 Apr 2019 19:19:55 +0000 (21:19 +0200)]
Merge pull request #7706 from ahupowerdns/unfilter-allmetadata
No longer filter DNSSEC metadata when DNSSEC is enabled in gsql
bert hubert [Wed, 10 Apr 2019 16:59:23 +0000 (18:59 +0200)]
No longer filter DNSSEC metadata when DNSSEC is enabled in gsql
As noted in #7705, gsql getAllDomainMetadata() did not return all domain
metadata. This function would always filter DNSSEC related metadata, even
if a backend was configured to support DNSSEC.
bert hubert [Wed, 10 Apr 2019 14:10:15 +0000 (16:10 +0200)]
Merge pull request #7697 from ahupowerdns/lmdb-port-53
LMDB defaulted to port 0 for master addresses unless explicitly set
Remi Gacogne [Wed, 10 Apr 2019 14:05:16 +0000 (16:05 +0200)]
Merge pull request #7676 from rgacogne/dnsdist-reload-all-certs
dnsdist: Add 'reloadAllCertificates()'
Remi Gacogne [Wed, 10 Apr 2019 10:26:22 +0000 (12:26 +0200)]
dnsdist: Fix protobuf's ipcipher regression tests for Python 3
Remi Gacogne [Wed, 10 Apr 2019 10:24:49 +0000 (12:24 +0200)]
Explicitely convert local buffers to a string before returning it
That makes cppcheck happier, because otherwise it complains that
we return a local variable.
Remi Gacogne [Wed, 10 Apr 2019 10:23:49 +0000 (12:23 +0200)]
dnsdist: Use initializer list for ConnectionInfo
Reported by cppcheck.
Remi Gacogne [Wed, 10 Apr 2019 10:22:32 +0000 (12:22 +0200)]
dnsdist: Prevent copies of DNSQuestion and DNSResponse objects
Otto Moerbeek [Wed, 10 Apr 2019 08:16:19 +0000 (10:16 +0200)]
Merge pull request #7698 from omoerbeek/rec-edsn-unaligned-test
Rec edsn unaligned test
Otto Moerbeek [Wed, 10 Apr 2019 08:10:43 +0000 (10:10 +0200)]
Merge remote-tracking branch 'origin/master' into rec-edsn-unaligned-test
Remi Gacogne [Wed, 10 Apr 2019 08:02:43 +0000 (10:02 +0200)]
Merge pull request #7689 from rgacogne/dnsdist-14-packetcache
dnsdist: Switch to the new 'newPacketCache()' syntax for 1.4.0
Remi Gacogne [Wed, 10 Apr 2019 08:01:43 +0000 (10:01 +0200)]
Merge pull request #7691 from omoerbeek/fix-testSetACL-order
Any order is good for SetACL test
Otto Moerbeek [Wed, 10 Apr 2019 08:01:10 +0000 (10:01 +0200)]
Fix unaligned access. Spotted in the wild on OpenBSD/armv7.
Otto Moerbeek [Wed, 10 Apr 2019 07:59:11 +0000 (09:59 +0200)]
Merge remote-tracking branch 'origin/master'
ahu@ds9a.nl [Wed, 10 Apr 2019 07:56:17 +0000 (07:56 +0000)]
LMDB defaulted to port 0 for master addresses unless explicitly set
bert hubert [Tue, 9 Apr 2019 15:22:09 +0000 (17:22 +0200)]
Merge pull request #7643 from mind04/lmdb-fix
auth: lmdbbackend, fix getAllDomains()
Remi Gacogne [Tue, 9 Apr 2019 14:55:55 +0000 (16:55 +0200)]
Merge pull request #7692 from rgacogne/dnsdist-boost-170-badsig
dnsdist: Prevent a conflict with BADSIG being clobbered
Otto Moerbeek [Tue, 9 Apr 2019 14:41:31 +0000 (16:41 +0200)]
Merge pull request #7599 from mnordhoff/patch-2
pdnsutil: Fix "is is" typo in help
Remi Gacogne [Tue, 9 Apr 2019 14:39:57 +0000 (16:39 +0200)]
dnsdist: Add 'setRoundRobinFailOnNoServer()'
Remi Gacogne [Tue, 9 Apr 2019 13:52:27 +0000 (15:52 +0200)]
dnsdist: Unify the management of DNS/DNSCrypt/DoT frontends
Otto Moerbeek [Tue, 9 Apr 2019 13:30:36 +0000 (15:30 +0200)]
Merge remote-tracking branch 'origin/master'
Otto Moerbeek [Tue, 9 Apr 2019 11:51:06 +0000 (13:51 +0200)]
Cleanup configs and make sure cert chains does not contain old certs.
Remi Gacogne [Tue, 9 Apr 2019 11:47:12 +0000 (13:47 +0200)]
Merge pull request #7685 from Habbie/dnsdist-macos
dnsdist: collected portability fixes
Otto Moerbeek [Tue, 9 Apr 2019 10:17:38 +0000 (12:17 +0200)]
Merge branch 'fix-testSetACL-order' of https://github.com/omoerbeek/pdns
Otto Moerbeek [Tue, 9 Apr 2019 09:57:43 +0000 (11:57 +0200)]
Merge branch 'dnsdist-macos' of https://github.com/Habbie/pdns
Remi Gacogne [Tue, 9 Apr 2019 09:14:01 +0000 (11:14 +0200)]
Merge pull request #7686 from rgacogne/dnsdist-tcp-unbreak
dnsdist: Fix compilation and tests on FreeBSD
Remi Gacogne [Tue, 9 Apr 2019 07:56:15 +0000 (09:56 +0200)]
Merge branch 'master' into dnsdist-reload-all-certs
Otto Moerbeek [Tue, 9 Apr 2019 07:50:48 +0000 (09:50 +0200)]
Any order is good for SetACL.
Peter van Dijk [Tue, 9 Apr 2019 07:42:44 +0000 (09:42 +0200)]
oops
Remi Gacogne [Tue, 9 Apr 2019 07:28:26 +0000 (09:28 +0200)]
Merge pull request #7687 from omoerbeek/use-protobuf-3-on-openbsd
OpenBSD only has protoc 3.x; tell python to install the proper runtime.
Otto Moerbeek [Mon, 8 Apr 2019 14:12:47 +0000 (16:12 +0200)]
OpenBSD only has protoc 3.x; tell python to install the proper runtime.
Remi Gacogne [Mon, 8 Apr 2019 14:10:41 +0000 (16:10 +0200)]
dnsdist: Switch to the new 'newPacketCache()' syntax for 1.4.0
Remi Gacogne [Mon, 8 Apr 2019 12:59:44 +0000 (14:59 +0200)]
dnsdist: Disable Nagle's algo in regression tests (TCP NODELAY)
Peter van Dijk [Mon, 8 Apr 2019 12:57:29 +0000 (14:57 +0200)]
cleanup poll event bitmask vs. value usage in two more places
Peter van Dijk [Mon, 8 Apr 2019 12:29:25 +0000 (14:29 +0200)]
Merge pull request #7684 from omoerbeek/auth-issue-7680-fix-gmysql-thread-cleanup-doc
Fix 7680: gmysql-thread-cleanup option documented incorrectly
Peter van Dijk [Mon, 8 Apr 2019 12:06:22 +0000 (14:06 +0200)]
improve timer resolution
Peter van Dijk [Mon, 8 Apr 2019 12:06:05 +0000 (14:06 +0200)]
poll events are bitmasks, not values
Peter van Dijk [Mon, 8 Apr 2019 12:05:53 +0000 (14:05 +0200)]
when we sendmsg, the socket may not be done connecting yet
Remi Gacogne [Mon, 8 Apr 2019 09:59:24 +0000 (11:59 +0200)]
dnsdist: Fix an issue with self-answers and non-harvested source
Remi Gacogne [Mon, 8 Apr 2019 08:47:10 +0000 (10:47 +0200)]
mplexer: Fix typo in the kqueue multiplexer
Remi Gacogne [Mon, 8 Apr 2019 08:22:52 +0000 (10:22 +0200)]
Merge pull request #7677 from rgacogne/dnsdist-logging-facility
dnsdist: Add 'setSyslogFacility()'
Otto Moerbeek [Mon, 8 Apr 2019 07:32:02 +0000 (09:32 +0200)]
Fix 7680: gmysql-thread-cleanup option documented incorrectly
Remi Gacogne [Mon, 8 Apr 2019 07:22:09 +0000 (09:22 +0200)]
Merge pull request #7649 from rgacogne/per-threads-cpu-stats
rec: This provides CPU usage statistics per thread (worker & distributor).
Remi Gacogne [Mon, 8 Apr 2019 07:21:39 +0000 (09:21 +0200)]
Merge pull request #7658 from Habbie/uuid-for-everyone
always link in uuid-utils because webserver logging needs it now
Remi Gacogne [Mon, 8 Apr 2019 07:19:20 +0000 (09:19 +0200)]
Merge pull request #7674 from Habbie/dnsdist-libcrypto-includes
dnsdist: honor libcrypto include path
Remi Gacogne [Mon, 8 Apr 2019 07:17:16 +0000 (09:17 +0200)]
Merge pull request #7679 from rgacogne/dnsdist-missing-overrides
dnsdist: Add missing overrides
Peter van Dijk [Mon, 8 Apr 2019 07:07:42 +0000 (09:07 +0200)]
Merge pull request #7629 from jsoref/dns-docs
dnssec clarifications
Peter van Dijk [Fri, 5 Apr 2019 17:01:24 +0000 (19:01 +0200)]
Merge pull request #7671 from Habbie/epel-python3
centos builds: ask for any python3
Remi Gacogne [Fri, 5 Apr 2019 16:10:23 +0000 (18:10 +0200)]
dnsdist: Add missing overrides
Remi Gacogne [Fri, 5 Apr 2019 15:12:29 +0000 (17:12 +0200)]
dnsdist: Add 'reloadAllCertificates()'
Remi Gacogne [Fri, 5 Apr 2019 14:22:28 +0000 (16:22 +0200)]
dnsdist: Add 'setSyslogFacility()'
Peter van Dijk [Fri, 5 Apr 2019 13:07:58 +0000 (15:07 +0200)]
dnsdist: honor libcrypto include path
Remi Gacogne [Fri, 5 Apr 2019 12:22:56 +0000 (14:22 +0200)]
Merge pull request #7668 from Habbie/boost-1.42
bump boost requirement to 1.42 unconditionally
Remi Gacogne [Fri, 5 Apr 2019 12:21:15 +0000 (14:21 +0200)]
Merge pull request #7559 from rgacogne/dnsdist-tcp-refactor-clean
dnsdist: Refactoring of the TCP stack
Remi Gacogne [Fri, 5 Apr 2019 12:10:58 +0000 (14:10 +0200)]
Merge pull request #7670 from Habbie/kill-addlua
dnsdist: remove addLuaAction and addLuaResponseAction
Remi Gacogne [Fri, 5 Apr 2019 10:51:45 +0000 (12:51 +0200)]
dnsdist: Add more TCP metrics
Keep, for each frontend and backend:
- the number of concurrent TCP connections
- the average number of queries per connection
- the average duration of a connection
Peter van Dijk [Thu, 4 Apr 2019 17:25:29 +0000 (19:25 +0200)]
centos builds: ask for any python3
Peter van Dijk [Thu, 4 Apr 2019 14:44:22 +0000 (16:44 +0200)]
dnsdist: remove addLuaAction and addLuaResponseAction
Peter van Dijk [Thu, 4 Apr 2019 13:10:45 +0000 (15:10 +0200)]
bump boost requirement to 1.42 unconditionally
Remi Gacogne [Thu, 4 Apr 2019 08:00:40 +0000 (10:00 +0200)]
dnsdist: Apply suggestions from chbruyand's reviews (thanks!)
Remi Gacogne [Wed, 3 Apr 2019 16:10:55 +0000 (18:10 +0200)]
dnsdist: Try reading from the TCP backend right away
Instead of waiting for the socket to be readable, as it might
already be, so we save a multiplexer trip, and prevent an issue
if we ever add a TLS layer between dnsdist and the backends.
Remi Gacogne [Wed, 3 Apr 2019 15:35:41 +0000 (17:35 +0200)]
dnsdist: Actually try to read before checking if the socket is readable
We need to because the TLS layer might already have data waiting
for us, while there might not be anything left on the OS-level
buffer associated to the socket.
If we don't ask the TLS layer, we might wait indefinitely for
something to arrive while the client has already sent everything,
and it's just waiting for us because the TLS record has been read.
Remi Gacogne [Wed, 3 Apr 2019 15:30:52 +0000 (17:30 +0200)]
dnsdist: Better reporting of syscall errors via OpenSSL's libssl
Remi Gacogne [Wed, 3 Apr 2019 15:30:21 +0000 (17:30 +0200)]
mplexer: Add an accessor to get the number of watched FDs
Remi Gacogne [Wed, 3 Apr 2019 15:29:39 +0000 (17:29 +0200)]
dnsdist: Add a few more regression tests for DNS over TLS
Remi Gacogne [Tue, 26 Mar 2019 14:18:34 +0000 (15:18 +0100)]
dnsdist: Update the documentation for the new TCP stack
Remi Gacogne [Tue, 26 Mar 2019 13:26:41 +0000 (14:26 +0100)]
dnsdist: Fix invalid carbon formatting for TCP stats
Remi Gacogne [Tue, 26 Mar 2019 10:22:03 +0000 (11:22 +0100)]
dnsdist: Display (and export via API) the frontend type (DoT, ..)
Remi Gacogne [Tue, 26 Mar 2019 10:10:57 +0000 (11:10 +0100)]
dnsdist: Display backend and frontend TCP metrics in showTCPStats()
Remi Gacogne [Tue, 26 Mar 2019 09:24:35 +0000 (10:24 +0100)]
dnsdist: Add more TCP metrics
Remi Gacogne [Mon, 25 Mar 2019 16:57:31 +0000 (17:57 +0100)]
dnsdist: Add a "lots of TCP connections" regression test
Remi Gacogne [Mon, 25 Mar 2019 16:11:22 +0000 (17:11 +0100)]
dnsdist: Downstream failures only count for fresh TCP connections
Remi Gacogne [Mon, 25 Mar 2019 16:10:13 +0000 (17:10 +0100)]
dnsdist: Properly handle an I/O error while sending a TCP response
Remi Gacogne [Fri, 22 Mar 2019 17:25:44 +0000 (18:25 +0100)]
mplexer: Add some unit tests for our multiplexers
Remi Gacogne [Fri, 22 Mar 2019 14:03:14 +0000 (15:03 +0100)]
mplexer: Keep TTD ordered so we can scan for timeouts efficiently
Remi Gacogne [Thu, 21 Mar 2019 17:49:27 +0000 (18:49 +0100)]
dnsdist: Handle EAGAIN when reading from the non-blocking TCP pipe
Remi Gacogne [Thu, 21 Mar 2019 17:45:40 +0000 (18:45 +0100)]
dnsdist: Don't scan for TCP timeouts more than once every second
Remi Gacogne [Thu, 21 Mar 2019 17:36:33 +0000 (18:36 +0100)]
dnsdist: Make sure that the TCP distribution pipes are non-blocking
Remi Gacogne [Thu, 21 Mar 2019 17:30:42 +0000 (18:30 +0100)]
dnsdist: Fix outstanding count for TCP connections
Remi Gacogne [Wed, 20 Mar 2019 11:09:28 +0000 (12:09 +0100)]
dnsdist: Use a unique pointer for the global TCPClientCollection
Remi Gacogne [Tue, 19 Mar 2019 14:53:38 +0000 (15:53 +0100)]
dnsdist: Remove code duplication between UDP and TCP in the tests
Remi Gacogne [Fri, 8 Mar 2019 17:44:36 +0000 (18:44 +0100)]
dnsdist: Disable regression tests for invalid AXFR
The new implementation does not try to be too smart about that
anymore.
Remi Gacogne [Thu, 28 Feb 2019 14:39:40 +0000 (15:39 +0100)]
dnsdist: TCP refactoring using an event-based logic
Remi Gacogne [Tue, 5 Mar 2019 10:48:02 +0000 (11:48 +0100)]
Only allocate the SSocket buffer when we actually need it, cleanup