]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 years agofix formatting for thread distribution stats message 7727/head
Peter van Dijk [Tue, 16 Apr 2019 07:46:58 +0000 (09:46 +0200)] 
fix formatting for thread distribution stats message

5 years agoMerge pull request #7724 from omoerbeek/fix-unittest-order-deps
Otto Moerbeek [Mon, 15 Apr 2019 13:41:55 +0000 (15:41 +0200)] 
Merge pull request #7724 from omoerbeek/fix-unittest-order-deps

Fix unittest order deps

5 years agoTweaks suggested by rgacogne. 7724/head
Otto Moerbeek [Mon, 15 Apr 2019 13:39:55 +0000 (15:39 +0200)] 
Tweaks suggested by rgacogne.

5 years agoFix init of global to make tests order independent.
Otto Moerbeek [Mon, 15 Apr 2019 12:48:25 +0000 (14:48 +0200)] 
Fix init of global to make tests order independent.

5 years agoMerge commit '48215c198494fd6c621f33e291ad20eb45c71bac' into fix-unittest-order-deps
Otto Moerbeek [Mon, 15 Apr 2019 12:28:41 +0000 (14:28 +0200)] 
Merge commit '48215c198494fd6c621f33e291ad20eb45c71bac' into fix-unittest-order-deps

5 years agoExplicitly call reportAllTypes() on test suite init, it is needed for various tests.
Otto Moerbeek [Mon, 15 Apr 2019 10:32:18 +0000 (12:32 +0200)] 
Explicitly call reportAllTypes() on test suite init, it is needed for various tests.

5 years agoExplicitly call reportAllTypes() at test suite init, to avoid almost
Otto Moerbeek [Mon, 15 Apr 2019 10:11:58 +0000 (12:11 +0200)] 
Explicitly call reportAllTypes() at test suite init, to avoid almost
all order dependencies and init a few globals to fix the remaining
cases.

5 years agoMerge pull request #7703 from omoerbeek/fix-test-distributor-pipesize
Otto Moerbeek [Mon, 15 Apr 2019 07:18:35 +0000 (09:18 +0200)] 
Merge pull request #7703 from omoerbeek/fix-test-distributor-pipesize

Use a smaller test size to not fill the pipe buffer on systems with small buffer

5 years agoMerge pull request #7708 from omoerbeek/rec-7688-alternative-fix
Otto Moerbeek [Mon, 15 Apr 2019 07:10:39 +0000 (09:10 +0200)] 
Merge pull request #7708 from omoerbeek/rec-7688-alternative-fix

Alternative solution to the unaligned accesses.

5 years agoBasic speedtest for NetmaksGroup 7708/head
Otto Moerbeek [Mon, 15 Apr 2019 07:05:22 +0000 (09:05 +0200)] 
Basic speedtest for NetmaksGroup

5 years agoMerge pull request #7722 from phonedph1/patch-7
Otto Moerbeek [Sun, 14 Apr 2019 16:54:49 +0000 (18:54 +0200)] 
Merge pull request #7722 from phonedph1/patch-7

Update RECURSOR-MIB.txt

5 years agoUpdate RECURSOR-MIB.txt 7722/head
phonedph1 [Sun, 14 Apr 2019 16:07:24 +0000 (10:07 -0600)] 
Update RECURSOR-MIB.txt

Minor typo.

5 years agoMerge pull request #7712 from pieterlexis/sphinx-less-than-2
Pieter Lexis [Fri, 12 Apr 2019 10:12:24 +0000 (12:12 +0200)] 
Merge pull request #7712 from pieterlexis/sphinx-less-than-2

Require sphinx < 2.0

5 years agoMerge pull request #7653 from pieterlexis/docker-ignore
Pieter Lexis [Fri, 12 Apr 2019 10:12:08 +0000 (12:12 +0200)] 
Merge pull request #7653 from pieterlexis/docker-ignore

Add dockerignore

5 years agoMerge pull request #7700 from ahupowerdns/lmdb-32bit
bert hubert [Fri, 12 Apr 2019 09:28:36 +0000 (11:28 +0200)] 
Merge pull request #7700 from ahupowerdns/lmdb-32bit

Reduce mmap size for lmdb on 32 bits plus restrict number of shards

5 years agoMerge pull request #7704 from ahupowerdns/boost-stringref-cutoff
bert hubert [Fri, 12 Apr 2019 09:27:47 +0000 (11:27 +0200)] 
Merge pull request #7704 from ahupowerdns/boost-stringref-cutoff

Boost string_view only appeared in Boost 1.61, not 1.54 as we were assuming

5 years agoMerge pull request #7701 from rgacogne/dnsdist-14
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.

5 years agoMerge pull request #7715 from rgacogne/dist-docs-newpacketcache
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

5 years agoMerge pull request #7717 from Habbie/rec-doc-nit-modules
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

5 years agoMerge pull request #7718 from pieterlexis/dnsdist-dont-crash-gnutls-wrong-ciphers
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)

5 years agodnsdist: exit when setting ciphers fails (GNUTLS) 7718/head
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.

5 years agoremove --with-modules from recursor README 7717/head
Peter van Dijk [Thu, 11 Apr 2019 14:37:27 +0000 (16:37 +0200)] 
remove --with-modules from recursor README

5 years agodnsdist: Update the syntax of newPacketCache() in the caching guide 7715/head
Remi Gacogne [Thu, 11 Apr 2019 13:38:27 +0000 (15:38 +0200)] 
dnsdist: Update the syntax of newPacketCache() in the caching guide

5 years agoMerge pull request #7710 from omoerbeek/dnsdist-runtests-cleanup
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

5 years agoRequire sphinx <2 7712/head
Pieter Lexis [Thu, 11 Apr 2019 13:13:31 +0000 (15:13 +0200)] 
Require sphinx <2

5 years agoMerge commit 'c8f3da74c5e294b40a2b464c56ce06e2dc818aa4' into dnsdist-runtests-cleanup 7693/head 7710/head
Otto Moerbeek [Thu, 11 Apr 2019 12:37:07 +0000 (14:37 +0200)] 
Merge commit 'c8f3da74c5e294b40a2b464c56ce06e2dc818aa4' into dnsdist-runtests-cleanup

5 years agoAlternative solution to the unaligned accesses. No tricks with the alignment of the...
Otto Moerbeek [Thu, 11 Apr 2019 08:59:51 +0000 (10:59 +0200)] 
Alternative solution to the unaligned accesses. No tricks with the alignment of the union,
just do a explicit memcpy.

5 years agoAdd comment on upper bound 7703/head
Otto Moerbeek [Thu, 11 Apr 2019 08:41:32 +0000 (10:41 +0200)] 
Add comment on upper bound

5 years agoMerge pull request #7694 from rgacogne/dnsdist-frontend-refactoring dnsdist-1.4.0-alpha1
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

5 years agoMerge pull request #7695 from rgacogne/dnsdist-roundrobin-all-servers-down
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()'

5 years agoMerge pull request #7702 from rgacogne/dnsdist-static-fixes
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

5 years agoMerge pull request #7678 from Habbie/dnsdist-mv-constants2
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

5 years agoupdate docs 7678/head
Peter van Dijk [Wed, 10 Apr 2019 20:04:04 +0000 (22:04 +0200)] 
update docs

5 years agoupdate tests to new naming
Peter van Dijk [Wed, 10 Apr 2019 20:03:47 +0000 (22:03 +0200)] 
update tests to new naming

5 years agomove rcodes and qtypes to their own namespace; add fallback and deprecate it
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

5 years agoMerge pull request #7706 from ahupowerdns/unfilter-allmetadata
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

5 years agoNo longer filter DNSSEC metadata when DNSSEC is enabled in gsql 7706/head
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.

5 years agoMerge pull request #7697 from ahupowerdns/lmdb-port-53
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

5 years agoMerge pull request #7676 from rgacogne/dnsdist-reload-all-certs
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()'

5 years agoBoost string_view only appeared in Boost 1.61, not 1.54 as we were assuming 7704/head
bert hubert [Wed, 10 Apr 2019 13:44:08 +0000 (15:44 +0200)] 
Boost string_view only appeared in Boost 1.61, not 1.54 as we were assuming

5 years agoReduce mmap size for lmdb on 32 bits plus restrict number of shards 7700/head
bert hubert [Wed, 10 Apr 2019 13:20:13 +0000 (15:20 +0200)] 
Reduce mmap size for lmdb on 32 bits plus restrict number of shards

5 years agodnsdist: Fix protobuf's ipcipher regression tests for Python 3 7702/head
Remi Gacogne [Wed, 10 Apr 2019 10:26:22 +0000 (12:26 +0200)] 
dnsdist: Fix protobuf's ipcipher regression tests for Python 3

5 years agoExplicitely convert local buffers to a string before returning it
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.

5 years agodnsdist: Use initializer list for ConnectionInfo
Remi Gacogne [Wed, 10 Apr 2019 10:23:49 +0000 (12:23 +0200)] 
dnsdist: Use initializer list for ConnectionInfo

Reported by cppcheck.

5 years agodnsdist: Prevent copies of DNSQuestion and DNSResponse objects
Remi Gacogne [Wed, 10 Apr 2019 10:22:32 +0000 (12:22 +0200)] 
dnsdist: Prevent copies of DNSQuestion and DNSResponse objects

5 years agoUse a smaller test size to not fill the pipe buffer on systems with a small one.
Otto Moerbeek [Wed, 10 Apr 2019 12:12:23 +0000 (14:12 +0200)] 
Use a smaller test size to not fill the pipe buffer on systems with a small one.
Also, explictly set arguments to avoid order dependencies and make it possible
to run single tests.

5 years agoMerge pull request #7698 from omoerbeek/rec-edsn-unaligned-test
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

5 years agoMerge remote-tracking branch 'origin/master' into rec-edsn-unaligned-test 7698/head
Otto Moerbeek [Wed, 10 Apr 2019 08:10:43 +0000 (10:10 +0200)] 
Merge remote-tracking branch 'origin/master' into rec-edsn-unaligned-test

5 years agoMerge pull request #7689 from rgacogne/dnsdist-14-packetcache
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

5 years agoMerge pull request #7691 from omoerbeek/fix-testSetACL-order
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

5 years agoFix unaligned access. Spotted in the wild on OpenBSD/armv7.
Otto Moerbeek [Wed, 10 Apr 2019 08:01:10 +0000 (10:01 +0200)] 
Fix unaligned access. Spotted in the wild on OpenBSD/armv7.

5 years agoMerge remote-tracking branch 'origin/master'
Otto Moerbeek [Wed, 10 Apr 2019 07:59:11 +0000 (09:59 +0200)] 
Merge remote-tracking branch 'origin/master'

5 years agoLMDB defaulted to port 0 for master addresses unless explicitly set 7697/head
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

5 years agoMerge pull request #7643 from mind04/lmdb-fix
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()

5 years agoMerge pull request #7692 from rgacogne/dnsdist-boost-170-badsig
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

5 years agoMerge pull request #7599 from mnordhoff/patch-2
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

5 years agodnsdist: Add 'setRoundRobinFailOnNoServer()' 7695/head
Remi Gacogne [Tue, 9 Apr 2019 14:39:57 +0000 (16:39 +0200)] 
dnsdist: Add 'setRoundRobinFailOnNoServer()'

5 years agodnsdist: Unify the management of DNS/DNSCrypt/DoT frontends 7694/head
Remi Gacogne [Tue, 9 Apr 2019 13:52:27 +0000 (15:52 +0200)] 
dnsdist: Unify the management of DNS/DNSCrypt/DoT frontends

5 years agoMerge remote-tracking branch 'origin/master'
Otto Moerbeek [Tue, 9 Apr 2019 13:30:36 +0000 (15:30 +0200)] 
Merge remote-tracking branch 'origin/master'

5 years agoCleanup configs and make sure cert chains does not contain old certs.
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.

5 years agoMerge pull request #7685 from Habbie/dnsdist-macos
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

5 years agoMerge branch 'fix-testSetACL-order' of https://github.com/omoerbeek/pdns
Otto Moerbeek [Tue, 9 Apr 2019 10:17:38 +0000 (12:17 +0200)] 
Merge branch 'fix-testSetACL-order' of https://github.com/omoerbeek/pdns

5 years agoMerge branch 'dnsdist-macos' of https://github.com/Habbie/pdns
Otto Moerbeek [Tue, 9 Apr 2019 09:57:43 +0000 (11:57 +0200)] 
Merge branch 'dnsdist-macos' of https://github.com/Habbie/pdns

5 years agoMerge pull request #7686 from rgacogne/dnsdist-tcp-unbreak
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

5 years agoMerge branch 'master' into dnsdist-reload-all-certs 7676/head
Remi Gacogne [Tue, 9 Apr 2019 07:56:15 +0000 (09:56 +0200)] 
Merge branch 'master' into dnsdist-reload-all-certs

5 years agoAny order is good for SetACL. 7691/head
Otto Moerbeek [Tue, 9 Apr 2019 07:50:48 +0000 (09:50 +0200)] 
Any order is good for SetACL.

5 years agooops 7685/head
Peter van Dijk [Tue, 9 Apr 2019 07:42:44 +0000 (09:42 +0200)] 
oops

5 years agoMerge pull request #7687 from omoerbeek/use-protobuf-3-on-openbsd
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.

5 years agoOpenBSD only has protoc 3.x; tell python to install the proper runtime. 7687/head
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.

5 years agodnsdist: Switch to the new 'newPacketCache()' syntax for 1.4.0 7689/head
Remi Gacogne [Mon, 8 Apr 2019 14:10:41 +0000 (16:10 +0200)] 
dnsdist: Switch to the new 'newPacketCache()' syntax for 1.4.0

5 years agodnsdist: Disable Nagle's algo in regression tests (TCP NODELAY) 7686/head
Remi Gacogne [Mon, 8 Apr 2019 12:59:44 +0000 (14:59 +0200)] 
dnsdist: Disable Nagle's algo in regression tests (TCP NODELAY)

5 years agocleanup poll event bitmask vs. value usage in two more places
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

5 years agoMerge pull request #7684 from omoerbeek/auth-issue-7680-fix-gmysql-thread-cleanup-doc
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

5 years agoimprove timer resolution
Peter van Dijk [Mon, 8 Apr 2019 12:06:22 +0000 (14:06 +0200)] 
improve timer resolution

5 years agopoll events are bitmasks, not values
Peter van Dijk [Mon, 8 Apr 2019 12:06:05 +0000 (14:06 +0200)] 
poll events are bitmasks, not values

5 years agowhen we sendmsg, the socket may not be done connecting yet
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

5 years agodnsdist: Fix an issue with self-answers and non-harvested source
Remi Gacogne [Mon, 8 Apr 2019 09:59:24 +0000 (11:59 +0200)] 
dnsdist: Fix an issue with self-answers and non-harvested source

5 years agomplexer: Fix typo in the kqueue multiplexer
Remi Gacogne [Mon, 8 Apr 2019 08:47:10 +0000 (10:47 +0200)] 
mplexer: Fix typo in the kqueue multiplexer

5 years agoMerge pull request #7677 from rgacogne/dnsdist-logging-facility
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()'

5 years agoFix 7680: gmysql-thread-cleanup option documented incorrectly 7684/head
Otto Moerbeek [Mon, 8 Apr 2019 07:32:02 +0000 (09:32 +0200)] 
Fix 7680: gmysql-thread-cleanup option documented incorrectly

5 years agoMerge pull request #7649 from rgacogne/per-threads-cpu-stats
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).

5 years agoMerge pull request #7658 from Habbie/uuid-for-everyone
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

5 years agoMerge pull request #7674 from Habbie/dnsdist-libcrypto-includes
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

5 years agoMerge pull request #7679 from rgacogne/dnsdist-missing-overrides
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

5 years agoMerge pull request #7629 from jsoref/dns-docs
Peter van Dijk [Mon, 8 Apr 2019 07:07:42 +0000 (09:07 +0200)] 
Merge pull request #7629 from jsoref/dns-docs

dnssec clarifications

5 years agoMerge pull request #7671 from Habbie/epel-python3
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

5 years agodnsdist: Add missing overrides 7679/head
Remi Gacogne [Fri, 5 Apr 2019 16:10:23 +0000 (18:10 +0200)] 
dnsdist: Add missing overrides

5 years agodnsdist: Add 'reloadAllCertificates()'
Remi Gacogne [Fri, 5 Apr 2019 15:12:29 +0000 (17:12 +0200)] 
dnsdist: Add 'reloadAllCertificates()'

5 years agodnsdist: Add 'setSyslogFacility()' 7677/head
Remi Gacogne [Fri, 5 Apr 2019 14:22:28 +0000 (16:22 +0200)] 
dnsdist: Add 'setSyslogFacility()'

5 years agodnsdist: honor libcrypto include path 7674/head
Peter van Dijk [Fri, 5 Apr 2019 13:07:58 +0000 (15:07 +0200)] 
dnsdist: honor libcrypto include path

5 years agoMerge pull request #7668 from Habbie/boost-1.42
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

5 years agoMerge pull request #7559 from rgacogne/dnsdist-tcp-refactor-clean
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

5 years agoMerge pull request #7670 from Habbie/kill-addlua
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

5 years agodnsdist: Add more TCP metrics 7559/head
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

5 years agocentos builds: ask for any python3 7671/head
Peter van Dijk [Thu, 4 Apr 2019 17:25:29 +0000 (19:25 +0200)] 
centos builds: ask for any python3

5 years agodnsdist: remove addLuaAction and addLuaResponseAction 7670/head
Peter van Dijk [Thu, 4 Apr 2019 14:44:22 +0000 (16:44 +0200)] 
dnsdist: remove addLuaAction and addLuaResponseAction

5 years agobump boost requirement to 1.42 unconditionally 7668/head
Peter van Dijk [Thu, 4 Apr 2019 13:10:45 +0000 (15:10 +0200)] 
bump boost requirement to 1.42 unconditionally

5 years agodnsdist: Apply suggestions from chbruyand's reviews (thanks!)
Remi Gacogne [Thu, 4 Apr 2019 08:00:40 +0000 (10:00 +0200)] 
dnsdist: Apply suggestions from chbruyand's reviews (thanks!)

5 years agodnsdist: Try reading from the TCP backend right away
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.

5 years agodnsdist: Actually try to read before checking if the socket is readable
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.