]>
granicus.if.org Git - pdns/log
Remi Gacogne [Tue, 23 Oct 2018 11:49:15 +0000 (13:49 +0200)]
dnsdist: Nodes in NMG are now ordered, fix the API regression tests
Remi Gacogne [Wed, 17 Oct 2018 13:31:07 +0000 (15:31 +0200)]
Merge pull request #7072 from r-bk/fix_lua_recursor4_exception_handling
pdns-recursor: properly handle exceptions thrown from lua-recursor4
Remi Gacogne [Wed, 17 Oct 2018 09:23:31 +0000 (11:23 +0200)]
Merge pull request #7068 from phonedph1/edns
rec: dump edns harder
Remi Gacogne [Wed, 17 Oct 2018 09:20:18 +0000 (11:20 +0200)]
Merge pull request #6986 from rgacogne/dnsdist-warning-dynblocks
dnsdist: Add warning rates to dynBlockRulesGroup rules
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: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
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.
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
Remi Gacogne [Sat, 13 Oct 2018 08:44:40 +0000 (10:44 +0200)]
dnsdist: Remove potential double-free in GnuTLS session tickets error handling
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
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
phonedph1 [Thu, 11 Oct 2018 16:46:02 +0000 (16:46 +0000)]
provide some context as to which zone
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 [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
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
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
Pieter Lexis [Thu, 4 Oct 2018 04:53:42 +0000 (06:53 +0200)]
Merge pull request #7018 from ahupowerdns/dnsdist-response-clarify
document explicitly that the dnsdist 'responses' metric is actually 'backend responses'
Pieter Lexis [Thu, 4 Oct 2018 04:53:30 +0000 (06:53 +0200)]
Merge pull request #7022 from jsoref/doc-dash
fixing doc rst error by extending dashes
Josh Soref [Wed, 3 Oct 2018 23:30:55 +0000 (19:30 -0400)]
fixing doc rst error by extending dashes
Pieter Lexis [Wed, 3 Oct 2018 17:53:18 +0000 (19:53 +0200)]
pdnsbuilder: Make the version number even better
Remi Gacogne [Mon, 4 Jun 2018 14:48:20 +0000 (16:48 +0200)]
rec: Support exporting more record types via protobuf
Peter van Dijk [Wed, 3 Oct 2018 15:47:44 +0000 (17:47 +0200)]
Merge pull request #7007 from Line-Rate-Development/prometheus_active_servers
dnsdist: export Prometheus metric about number of alive servers in pool
bert hubert [Wed, 3 Oct 2018 14:56:07 +0000 (16:56 +0200)]
document that the dnsdist 'responses' metric is actually 'backend responses'
bert hubert [Wed, 3 Oct 2018 14:20:45 +0000 (16:20 +0200)]
Make sure we escape 127 in TXT records
It turns out that value 127 (decimal) in TXT records also needs to be escaped as 127 ('DEL') is unprintable. Adds test too, and documents our test infra a bit better.
Pieter Lexis [Wed, 3 Oct 2018 10:13:48 +0000 (12:13 +0200)]
pdns-builder: fix building auth for Ubuntu Trusty
Remi Gacogne [Wed, 3 Oct 2018 09:39:55 +0000 (11:39 +0200)]
Merge pull request #7011 from Habbie/ixfrdist-fixes
various ixfrdist fixes/improvements
Remi Gacogne [Wed, 3 Oct 2018 09:34:16 +0000 (11:34 +0200)]
Merge pull request #6068 from rgacogne/dnsdist-edns-options
dnsdist: Add DNSQuestion:getEDNSOptions() to access incoming EDNS options
Remi Gacogne [Tue, 25 Sep 2018 09:49:39 +0000 (11:49 +0200)]
dnsdist: Add warning rates to dynBlockRulesGroup rules
Remi Gacogne [Tue, 2 Oct 2018 14:41:59 +0000 (16:41 +0200)]
dnsdist: Add support for exporting a server ID in protobuf
Remi Gacogne [Wed, 3 Oct 2018 08:01:37 +0000 (10:01 +0200)]
Merge pull request #7004 from rgacogne/rec-outgoing-protobuf-ecs-serverid
rec: Export outgoing ECS value and Server ID in protobuf if any
Remi Gacogne [Wed, 12 Sep 2018 11:21:10 +0000 (13:21 +0200)]
Store NetmaskTree nodes in a set for faster removal
The insertion is a bit slower as a result (~ +25%) but removal is
much, much more faster for large sets as it was O(n) previously.
Walking all the entries might be a bit slower as well, but this
change has no impact on the lookup speed, which is the critical
point for the NMT.
Remi Gacogne [Wed, 3 Oct 2018 07:52:29 +0000 (09:52 +0200)]
Merge pull request #7012 from paddg/patch-9
DNS over TLS is only possible via TCP/IP
Remi Gacogne [Wed, 3 Oct 2018 07:50:46 +0000 (09:50 +0200)]
Merge pull request #7013 from rgacogne/rec-fix-regression-api-allow
rec: Fix the allow-from-file test in the API regression tests
Pieter Lexis [Tue, 2 Oct 2018 13:14:14 +0000 (15:14 +0200)]
pdns-builder: re-instate the "g" for git version
Pieter Lexis [Tue, 2 Oct 2018 13:09:02 +0000 (15:09 +0200)]
Update pdns-builder
Pieter Lexis [Tue, 2 Oct 2018 12:20:15 +0000 (14:20 +0200)]
builder: Kill dbconfig with fire
Winfried Angele [Tue, 2 Oct 2018 11:53:49 +0000 (13:53 +0200)]
DNS over TLS is only possible via TCP/IP
Remi Gacogne [Tue, 2 Oct 2018 11:46:10 +0000 (13:46 +0200)]
rec: Set allow-from-file in the configuration file in the tests
We can't override it via the API when it's set on the command line.
Remi Gacogne [Tue, 2 Oct 2018 11:44:47 +0000 (13:44 +0200)]
rec: Make sure that the updated allow-from list has only one entry
Peter van Dijk [Tue, 2 Oct 2018 10:42:30 +0000 (12:42 +0200)]
clarify testing zone names
Peter van Dijk [Tue, 2 Oct 2018 10:40:50 +0000 (12:40 +0200)]
stop crashing on out-of-zone data during inbound AXFR
Peter van Dijk [Tue, 2 Oct 2018 10:17:31 +0000 (12:17 +0200)]
send REFUSED for UDP queries we are unable to handle