]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Wed, 17 Oct 2018 09:14:47 +0000 (11:14 +0200)]
dnsdist: Support the NXDomain action with dynamic blocks
Pieter Lexis [Mon, 15 Oct 2018 10:24:59 +0000 (12:24 +0200)]
rec: automatically reload trust anchors from file
This allows external processec to update TA's without having to restart
the recursor.
Rafael Buchbinder [Wed, 17 Oct 2018 06:48:28 +0000 (09:48 +0300)]
pdns-recursor: properly handle exceptions thrown from lua-recursor4
directResolve function is used by lua-recursor4 in various callbacks. As
a result an exception thrown from this function is caught in generic
exception handlers at the end of startDoResolve (pdns_recursor).
Specifically, ImmediateServFailException is caught in the catch-all
exception handler, which obscures the origin of the error.
This commit adds handling of all exceptions inside directResolve and
converts them to error code (-1). This way, an exception in this
function is handled properly in startDoResolve and ServFail is sent
downstream.
To clarify, in case of exception the return DNSRecord vector is cleared
to make sure that old behavior is preserved, when in case of exception
the vector was not referenced in any way.
Remi Gacogne [Wed, 17 Oct 2018 08:19:48 +0000 (10:19 +0200)]
auth: Print the content of pdns.log when the regression tests fail
Remi Gacogne [Wed, 17 Oct 2018 08:04:29 +0000 (10:04 +0200)]
Merge pull request #7070 from r-bk/fix_memory_leak_in_catch_all_block
pdns-recursor: avoid a memory leak in catch-all exception handler
Richard Gibson [Wed, 17 Oct 2018 02:17:01 +0000 (22:17 -0400)]
dnsdist: Retry CI
Richard Gibson [Wed, 17 Oct 2018 01:02:56 +0000 (21:02 -0400)]
dnsdist: Confirm presentation of valid UTF-8 in trailing data as individual octets
Richard Gibson [Tue, 16 Oct 2018 21:40:31 +0000 (17:40 -0400)]
dnsdist: Add tests for unsafe and/or non-ASCII trailing data
Richard Gibson [Tue, 16 Oct 2018 21:39:28 +0000 (17:39 -0400)]
dnsdist: Expose trailing data as a Lua string
Richard Gibson [Mon, 17 Sep 2018 14:33:20 +0000 (10:33 -0400)]
dnsdist: Try to appease CI
Richard Gibson [Fri, 31 Aug 2018 03:34:20 +0000 (23:34 -0400)]
dnsdist: Duplicate new DNSQuestion Lua bindings on DNSResponse
Richard Gibson [Fri, 31 Aug 2018 03:29:28 +0000 (23:29 -0400)]
dnsdist: Document new Lua methods
Richard Gibson [Thu, 30 Aug 2018 20:39:19 +0000 (16:39 -0400)]
dnsdist: Add lua binding for setting trailing data
Richard Gibson [Thu, 30 Aug 2018 20:37:20 +0000 (16:37 -0400)]
dnsdist: Add test for setting trailing data
Richard Gibson [Thu, 30 Aug 2018 03:57:20 +0000 (23:57 -0400)]
dnsdist: Add lua binding for reading trailing data
Richard Gibson [Thu, 30 Aug 2018 03:55:36 +0000 (23:55 -0400)]
dnsdist: Add test for reading trailing data
Richard Gibson [Mon, 27 Aug 2018 01:42:16 +0000 (21:42 -0400)]
dnsdist: Refactor trailing data tests
Remi Gacogne [Tue, 16 Oct 2018 14:23:19 +0000 (16:23 +0200)]
dnsdist: Clarify that DynBlock's warning rates can't be used alone
Remi Gacogne [Tue, 16 Oct 2018 13:22:42 +0000 (15:22 +0200)]
Merge pull request #7062 from rgacogne/dnsdist-tls-stored-sessions
dnsdist: Add a setting to control the number of stored sessions
Rafael Buchbinder [Tue, 16 Oct 2018 12:39:20 +0000 (15:39 +0300)]
pdns-recursor: avoid a memory leak in catch-all exception handler
This commit prevents a leak of DNSComboWriter in the catch-all exception
handler.
Remi Gacogne [Mon, 15 Oct 2018 15:22:30 +0000 (17:22 +0200)]
Use unique pointers in the OpenSSL signer
phonedph1 [Tue, 16 Oct 2018 02:07:50 +0000 (02:07 +0000)]
Do the edns dumping harder.
Remi Gacogne [Mon, 15 Oct 2018 15:43:50 +0000 (17:43 +0200)]
dnsdist: Check 'numberOfStoredSessions' >= 0, dismiss otherwise
Remi Gacogne [Fri, 12 Oct 2018 15:21:06 +0000 (17:21 +0200)]
dnsdist: Add a setting to control the number of stored sessions
Remi Gacogne [Mon, 15 Oct 2018 15:24:44 +0000 (17:24 +0200)]
Merge pull request #7064 from rgacogne/dnsdist-tls-accept-leak-smart
dnsdist: Wrap GnuTLS and OpenSSL pointers in smart pointers
Remi Gacogne [Fri, 12 Oct 2018 16:14:15 +0000 (18:14 +0200)]
dnsdist: Wrap GnuTLS and OpenSSL pointers in smart pointers
Remi Gacogne [Mon, 15 Oct 2018 13:29:13 +0000 (15:29 +0200)]
Merge pull request #7060 from rgacogne/dnsdist-tls-accept-leak
dnsdist: Release memory on DNS over TLS handshake failure
Remi Gacogne [Mon, 15 Oct 2018 09:27:10 +0000 (11:27 +0200)]
Merge pull request #7054 from mind04/doc-warnings2
auth: fix all warnings in the docs
Remi Gacogne [Mon, 15 Oct 2018 09:26:22 +0000 (11:26 +0200)]
Merge pull request #7057 from mind04/sd-scopemask
auth: scopeMask in the SOAData structure is unused after #5512
Pieter Lexis [Fri, 12 Oct 2018 13:35:16 +0000 (15:35 +0200)]
rec: Add `ReadTrustAnchorsFromFile` function
This allows the recursor to read the output file from `unbound-anchor`
and use these kind of files for trust anchors. This will enable
distributions to ship DNSSEC anchors with their system and use them.
Remi Gacogne [Sat, 13 Oct 2018 08:44:40 +0000 (10:44 +0200)]
dnsdist: Remove potential double-free in GnuTLS session tickets error handling
Klaus Darilion [Fri, 12 Oct 2018 20:20:03 +0000 (20:20 +0000)]
during SOA-check response processing make sure to only accept SOA records
if their label is identical to the requested domain.
Klaus Darilion [Fri, 12 Oct 2018 19:51:10 +0000 (19:51 +0000)]
reject NXDOMAIN response during SOA-check
Without this patch PowerDNS even parses NXDOMAIN responses and falsely uses
wrong SOA records, i.e. the SOA record of a parent zone in authority section
when answering with NXDOMAIN.
Remi Gacogne [Fri, 12 Oct 2018 17:16:43 +0000 (19:16 +0200)]
dnsdist: Also catch exceptions not derived from std::exception
Remi Gacogne [Fri, 12 Oct 2018 14:15:32 +0000 (16:15 +0200)]
dnsdist: Release memory on DNS over TLS handshake failure
Pieter Lexis [Fri, 12 Oct 2018 13:37:01 +0000 (15:37 +0200)]
rec: document `clearNTA`, `clearDS` and `clearNTA`.
Pieter Lexis [Fri, 12 Oct 2018 10:12:57 +0000 (12:12 +0200)]
rec: add `addTA` and `clearTA` for Lua config
These will replace `addDS` and `clearDS` in the future.
Remi Gacogne [Fri, 12 Oct 2018 06:44:57 +0000 (08:44 +0200)]
Merge pull request #7055 from phonedph1/rpz-log
rec: RPZ - Include zone name in loading and indexed message
Kees Monshouwer [Thu, 11 Oct 2018 18:04:27 +0000 (20:04 +0200)]
rec: remove the old dnssec root key, goodbye 19036 ....
phonedph1 [Thu, 11 Oct 2018 16:46:02 +0000 (16:46 +0000)]
provide some context as to which zone
Aki Tuomi [Thu, 4 Oct 2018 16:43:50 +0000 (19:43 +0300)]
geoipbackend: Handle read error for config file
Remi Gacogne [Thu, 11 Oct 2018 07:04:17 +0000 (09:04 +0200)]
Merge pull request #7053 from mind04/doc-warnings
rec: fix all warnings in the docs
Kees Monshouwer [Mon, 17 Jul 2017 21:56:47 +0000 (23:56 +0200)]
auth: scopeMask in the SOAData structure is unused after #5512
Kees Monshouwer [Wed, 10 Oct 2018 21:40:00 +0000 (23:40 +0200)]
auth: fix a warining in the docs
Kees Monshouwer [Wed, 10 Oct 2018 21:39:08 +0000 (23:39 +0200)]
auth: remove duplicate dns update section from the backend-writers-guide
Kees Monshouwer [Wed, 10 Oct 2018 21:08:41 +0000 (23:08 +0200)]
rec: fix some warnings in the docs
Remi Gacogne [Wed, 10 Oct 2018 16:20:35 +0000 (18:20 +0200)]
Merge pull request #7050 from mind04/el6-boost
auth: fix el6 build with default boost
Pieter Lexis [Wed, 10 Oct 2018 12:04:00 +0000 (14:04 +0200)]
Merge pull request #7025 from Habbie/remove-api-logfile
remove api-logfile flag and grep API endpoint
Pieter Lexis [Wed, 10 Oct 2018 12:03:36 +0000 (14:03 +0200)]
Merge pull request #7046 from ahupowerdns/dynupdate-log-improv
slightly improve rfc2136 error message on failed prerequisite: what name
Pieter Lexis [Wed, 10 Oct 2018 12:03:23 +0000 (14:03 +0200)]
Merge pull request #7040 from Habbie/builder-el6
make auth builder work on el6
Pieter Lexis [Wed, 10 Oct 2018 12:03:00 +0000 (14:03 +0200)]
Merge pull request #7028 from jsoref/travis-dangling-symlinks
Travis dangling symlinks
Kees Monshouwer [Wed, 10 Oct 2018 09:39:35 +0000 (11:39 +0200)]
auth: fix el6 build, histograms are too sophisticated for boost 1.41
Peter van Dijk [Tue, 9 Oct 2018 19:24:47 +0000 (21:24 +0200)]
package tools now supported due to boost upgrade
Peter van Dijk [Tue, 9 Oct 2018 15:54:18 +0000 (17:54 +0200)]
switch to devtoolset-7
bert hubert [Tue, 9 Oct 2018 14:53:33 +0000 (16:53 +0200)]
slightly improve rfc2136 error message on failed prerequisite: what name
Remi Gacogne [Tue, 9 Oct 2018 12:28:38 +0000 (14:28 +0200)]
Merge pull request #7042 from ahupowerdns/multi-rpz-doc
document how multiple RPZs are consulted
Remi Gacogne [Tue, 9 Oct 2018 10:18:41 +0000 (12:18 +0200)]
Merge pull request #7044 from rgacogne/rec-test-syncres-conflict-fix
rec: Fix a compilation issue in the SyncRes unit tests
Remi Gacogne [Tue, 9 Oct 2018 08:48:51 +0000 (10:48 +0200)]
rec: Fix a compilation issue in the SyncRes unit tests
Introduced by a conflict between #6708 and #6979.
Peter van Dijk [Mon, 8 Oct 2018 18:54:05 +0000 (20:54 +0200)]
leave the default boost for el7
bert hubert [Mon, 8 Oct 2018 15:33:54 +0000 (17:33 +0200)]
document how multiple RPZs are consulted
Peter van Dijk [Mon, 8 Oct 2018 14:35:00 +0000 (16:35 +0200)]
remove -std=gnu++0x
Peter van Dijk [Mon, 8 Oct 2018 14:17:33 +0000 (16:17 +0200)]
make auth builder work on el6
Remi Gacogne [Mon, 8 Oct 2018 12:16:56 +0000 (14:16 +0200)]
Merge pull request #6979 from rgacogne/rec-cname-authority
rec: Authority records in AA=1 CNAME answer are authoritative
Pieter Lexis [Tue, 4 Sep 2018 14:05:38 +0000 (16:05 +0200)]
Ensure all the bits in a generated TSIG key are filled
Pieter Lexis [Mon, 8 Oct 2018 08:59:06 +0000 (10:59 +0200)]
Merge remote-tracking branch 'origin/master' into api-tsig-keys
Pieter Lexis [Mon, 8 Oct 2018 08:35:02 +0000 (10:35 +0200)]
Merge pull request #6962 from rgacogne/nmt-faster-removal
Store NetmaskTree nodes in a set for faster removal
Pieter Lexis [Fri, 5 Oct 2018 18:28:37 +0000 (20:28 +0200)]
Merge pull request #7034 from pieterlexis/doc-fix
Fix several sphinx warnings in the dnsdist docs.
Pieter Lexis [Fri, 5 Oct 2018 18:28:24 +0000 (20:28 +0200)]
Merge pull request #7032 from pieterlexis/rm-delaypipe-from-auth
Move delaypipe tests from auth to dnsdist
Pieter Lexis [Fri, 5 Oct 2018 16:01:10 +0000 (18:01 +0200)]
Merge pull request #6969 from ahupowerdns/loglog2018
a clean re-do of an earlier PR to add the glorious log-log histograms
Pieter Lexis [Fri, 5 Oct 2018 16:00:54 +0000 (18:00 +0200)]
Merge pull request #7015 from rgacogne/dnsdist-protobuf-serverid
dnsdist: Add support for exporting a server ID in protobuf
Pieter Lexis [Fri, 5 Oct 2018 16:00:37 +0000 (18:00 +0200)]
Merge pull request #7027 from jsoref/readme-debian-9
Update readme for debian 9
Pieter Lexis [Fri, 5 Oct 2018 16:00:15 +0000 (18:00 +0200)]
Merge pull request #7030 from ahupowerdns/dnsdist-tcp-speedup
dnsdist did not set TCP_NODELAY, causing needless latency
Pieter Lexis [Fri, 5 Oct 2018 13:35:59 +0000 (15:35 +0200)]
Merge pull request #7017 from ahupowerdns/txt-escape-127
Make sure we escape 127 in TXT records
Pieter Lexis [Fri, 5 Oct 2018 13:35:32 +0000 (15:35 +0200)]
Merge pull request #7029 from pieterlexis/pdns-builder-version
pdnsbuilder: Make the version number even better
Pieter Lexis [Fri, 5 Oct 2018 12:40:18 +0000 (14:40 +0200)]
Fix several sphinx warnings
Pieter Lexis [Fri, 5 Oct 2018 10:08:30 +0000 (12:08 +0200)]
Enable unit tests for dnsdist in EL builds
Pieter Lexis [Fri, 5 Oct 2018 09:26:44 +0000 (11:26 +0200)]
Remove delaypipe testing from auth
Move it to dnsdist, this is the only place where it is used.
bert hubert [Fri, 5 Oct 2018 11:49:48 +0000 (13:49 +0200)]
use already available function in misc.cc instead of setsockopt
Peter van Dijk [Fri, 5 Oct 2018 11:16:59 +0000 (13:16 +0200)]
Merge pull request #4598 from zilopbg/soa-fix
auth: Add support for "NONE" SOA-EDIT kind
bert hubert [Fri, 5 Oct 2018 10:58:18 +0000 (12:58 +0200)]
dnsdist did not set TCP_NODELAY, causing needless latency
Winfried and others noted that our TLS responses were super slow. This turned out to be caused by the Nagle
algorithm which we failed to disable. https://en.wikipedia.org/wiki/Nagle%27s_algorithm
bert hubert [Fri, 5 Oct 2018 10:40:38 +0000 (12:40 +0200)]
fix up reallylate count problem as spotted by @ph1
Pieter Lexis [Fri, 5 Oct 2018 07:46:32 +0000 (09:46 +0200)]
Add Ubuntu Cosmic Cuttlefish build target
Josh Soref [Fri, 5 Oct 2018 03:42:59 +0000 (23:42 -0400)]
travis: complain about dangling symlinks
Josh Soref [Fri, 5 Oct 2018 03:32:54 +0000 (23:32 -0400)]
Update readme for debian 9
Josh Soref [Fri, 5 Oct 2018 03:01:27 +0000 (23:01 -0400)]
configure: enable-dnstap
Peter van Dijk [Thu, 4 Oct 2018 21:43:52 +0000 (23:43 +0200)]
remove a bit less
Peter van Dijk [Thu, 4 Oct 2018 21:09:56 +0000 (23:09 +0200)]
remove more
Peter van Dijk [Thu, 4 Oct 2018 16:57:11 +0000 (18:57 +0200)]
nit
Peter van Dijk [Thu, 4 Oct 2018 16:56:38 +0000 (18:56 +0200)]
nit
Peter van Dijk [Thu, 4 Oct 2018 16:52:46 +0000 (18:52 +0200)]
remove api-logfile flag and grep API endpoint
bert hubert [Thu, 4 Oct 2018 13:02:56 +0000 (15:02 +0200)]
Merge pull request #7023 from ahupowerdns/dnsdist-metrics-docs
Clarify meaning of dnsdist statistics
bert hubert [Thu, 4 Oct 2018 08:25:34 +0000 (10:25 +0200)]
Merge branch 'master' into loglog2018
bert hubert [Thu, 4 Oct 2018 08:20:10 +0000 (10:20 +0200)]
Clarify meaning of dnsdist statistics
The various statistics kept by dnsdist do add up to a coherent picture, this PR documents how.
Remi Gacogne [Thu, 4 Oct 2018 08:16:46 +0000 (10:16 +0200)]
Merge pull request #6708 from rgacogne/rec-pb-types
rec: Support exporting more record types via protobuf
bert hubert [Thu, 4 Oct 2018 08:06:55 +0000 (10:06 +0200)]
Merge pull request #6997 from pieterlexis/thread-names
Name threads in the programs
Pieter Lexis [Thu, 4 Oct 2018 05:56:50 +0000 (07:56 +0200)]
Merge pull request #6727 from pieterlexis/alias-servfail-on-nxd
ALIAS: Respond SERVFAIL on non-NOERRORs from resolver
Pieter Lexis [Thu, 4 Oct 2018 05:56:07 +0000 (07:56 +0200)]
Merge pull request #6910 from pieterlexis/openssl-eddsa
Add support for OpenSSL 1.1.1's
ed25519 and ed448 for signing and verifying
Josh Soref [Thu, 4 Oct 2018 05:46:59 +0000 (01:46 -0400)]
configure: with-re2
Josh Soref [Thu, 4 Oct 2018 05:45:14 +0000 (01:45 -0400)]
configure: with-libssl
Josh Soref [Thu, 4 Oct 2018 05:29:01 +0000 (01:29 -0400)]
configure: with-libsodium