]> granicus.if.org Git - pdns/log
pdns
5 years agodnsdist: Add an option to set the Server: HTTP header with DoH
Remi Gacogne [Fri, 19 Apr 2019 14:13:53 +0000 (16:13 +0200)]
dnsdist: Add an option to set the Server: HTTP header with DoH

5 years agodnsdist: Accept a single DoH URL string. Better error messages
Remi Gacogne [Fri, 19 Apr 2019 13:06:10 +0000 (15:06 +0200)]
dnsdist: Accept a single DoH URL string. Better error messages

5 years agodnsdist: Remove the dnsdist version from DoH error messages
Remi Gacogne [Fri, 19 Apr 2019 13:05:17 +0000 (15:05 +0200)]
dnsdist: Remove the dnsdist version from DoH error messages

5 years agodnsdist: Skip DoH regression tests in Travis
Remi Gacogne [Fri, 19 Apr 2019 12:41:17 +0000 (14:41 +0200)]
dnsdist: Skip DoH regression tests in Travis

5 years agodnsdist: Require pycurl for DoH tests
Remi Gacogne [Fri, 19 Apr 2019 11:59:43 +0000 (13:59 +0200)]
dnsdist: Require pycurl for DoH tests

5 years agodnsdist: Check the EDNS payload size more strictly in our tests
Remi Gacogne [Fri, 19 Apr 2019 11:58:00 +0000 (13:58 +0200)]
dnsdist: Check the EDNS payload size more strictly in our tests

5 years agodnsdist: Add regression tests for DoH
Remi Gacogne [Fri, 19 Apr 2019 11:56:37 +0000 (13:56 +0200)]
dnsdist: Add regression tests for DoH

5 years agodnsdist: Fix the addition of omitted padding in DOH
Remi Gacogne [Fri, 19 Apr 2019 11:54:57 +0000 (13:54 +0200)]
dnsdist: Fix the addition of omitted padding in DOH

5 years agodnsdist: Add 'ciphersTLS13' for DoT
Remi Gacogne [Wed, 17 Apr 2019 10:33:19 +0000 (12:33 +0200)]
dnsdist: Add 'ciphersTLS13' for DoT

5 years agodnsdist: Rename DOH's reloadCertificate() to reloadCertificates()
Remi Gacogne [Wed, 17 Apr 2019 09:41:38 +0000 (11:41 +0200)]
dnsdist: Rename DOH's reloadCertificate() to reloadCertificates()

5 years agodnsdist: Disable unsafe TLS mechanisms by default for DoH
Remi Gacogne [Wed, 17 Apr 2019 09:13:49 +0000 (11:13 +0200)]
dnsdist: Disable unsafe TLS mechanisms by default for DoH

5 years agodnsdist: Add support for more than one TLS certificate for DoH
Remi Gacogne [Wed, 17 Apr 2019 09:11:42 +0000 (11:11 +0200)]
dnsdist: Add support for more than one TLS certificate for DoH

So we can present an ECDSA one to clients supporting it and a RSA
one to those who don't.

5 years agodnsdist: Add TFO, reuseport, interface and CPU pinning for DoH
Remi Gacogne [Wed, 17 Apr 2019 08:45:11 +0000 (10:45 +0200)]
dnsdist: Add TFO, reuseport, interface and CPU pinning for DoH

5 years agodnsdist: Remove duplicate definition of the default DoH ciphers
Remi Gacogne [Tue, 16 Apr 2019 14:29:31 +0000 (16:29 +0200)]
dnsdist: Remove duplicate definition of the default DoH ciphers

5 years agodnsdist: Add minimal documentation for DoH
Remi Gacogne [Tue, 16 Apr 2019 14:14:34 +0000 (16:14 +0200)]
dnsdist: Add minimal documentation for DoH

5 years agodnsdist: Add Lua bindings for DOH metrics and certificate reloading
Remi Gacogne [Tue, 16 Apr 2019 14:05:40 +0000 (16:05 +0200)]
dnsdist: Add Lua bindings for DOH metrics and certificate reloading

5 years agodnsdist: Implement DoH certificate reloading
Remi Gacogne [Tue, 16 Apr 2019 13:03:48 +0000 (15:03 +0200)]
dnsdist: Implement DoH certificate reloading

5 years agodnsdist: Make DoH ciphers configurable
Remi Gacogne [Mon, 15 Apr 2019 17:21:25 +0000 (19:21 +0200)]
dnsdist: Make DoH ciphers configurable

5 years agoMerge pull request #7 from pieterlexis/dnsdist-redoh-pkgs
Remi Gacogne [Wed, 17 Apr 2019 08:37:33 +0000 (10:37 +0200)]
Merge pull request #7 from pieterlexis/dnsdist-redoh-pkgs

Ensure building libh2o is cached in docker

5 years agoEnsure building libh2o is cached in docker
Pieter Lexis [Tue, 16 Apr 2019 09:45:26 +0000 (11:45 +0200)]
Ensure building libh2o is cached in docker

5 years agodnsdist: Add DNS over HTTPS support based on libh2o
Remi Gacogne [Mon, 15 Apr 2019 14:13:00 +0000 (16:13 +0200)]
dnsdist: Add DNS over HTTPS support based on libh2o

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)
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
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
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 agoMerge commit 'c8f3da74c5e294b40a2b464c56ce06e2dc818aa4' into dnsdist-runtests-cleanup
Otto Moerbeek [Thu, 11 Apr 2019 12:37:07 +0000 (14:37 +0200)]
Merge commit 'c8f3da74c5e294b40a2b464c56ce06e2dc818aa4' into dnsdist-runtests-cleanup

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
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
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 agodnsdist: Fix protobuf's ipcipher regression tests for Python 3
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 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
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
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()'
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
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
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.
Otto Moerbeek [Tue, 9 Apr 2019 07:50:48 +0000 (09:50 +0200)]
Any order is good for SetACL.

5 years agooops
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.
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
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)
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
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
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()'
Remi Gacogne [Fri, 5 Apr 2019 14:22:28 +0000 (16:22 +0200)]
dnsdist: Add 'setSyslogFacility()'

5 years agodnsdist: honor libcrypto include path
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
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
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
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
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.

5 years agodnsdist: Better reporting of syscall errors via OpenSSL's libssl
Remi Gacogne [Wed, 3 Apr 2019 15:30:52 +0000 (17:30 +0200)]
dnsdist: Better reporting of syscall errors via OpenSSL's libssl

5 years agomplexer: Add an accessor to get the number of watched FDs
Remi Gacogne [Wed, 3 Apr 2019 15:30:21 +0000 (17:30 +0200)]
mplexer: Add an accessor to get the number of watched FDs