]> granicus.if.org Git - pdns/log
pdns
9 years agoNo need to copy the response from the healthcheck, it's not going anywhere
Remi Gacogne [Tue, 17 Nov 2015 09:25:19 +0000 (10:25 +0100)]
No need to copy the response from the healthcheck, it's not going anywhere

9 years agoDocument the new parameters ('checkName', 'checkType' and 'mustResolve') of newServer()
Remi Gacogne [Thu, 5 Nov 2015 09:50:12 +0000 (10:50 +0100)]
Document the new parameters ('checkName', 'checkType' and 'mustResolve') of newServer()

9 years agoAdd a 'mustResolve' parameter to newServer()
Remi Gacogne [Thu, 5 Nov 2015 09:47:39 +0000 (10:47 +0100)]
Add a 'mustResolve' parameter to newServer()

The default is to consider any response with a rcode different from
Servfail as valid. Passing true to mustResolve requires a rcode different
from NXDomain, Servfail and Refused.

9 years agoAllow custom DNSName and QType for dnsdist healthchecks
Remi Gacogne [Tue, 3 Nov 2015 10:54:15 +0000 (11:54 +0100)]
Allow custom DNSName and QType for dnsdist healthchecks

9 years agoAdd some sanity checks to the dnsdist health check
Remi Gacogne [Tue, 3 Nov 2015 10:53:38 +0000 (11:53 +0100)]
Add some sanity checks to the dnsdist health check

9 years agoMerge pull request #2870 from rgacogne/dnsdist-lua-top
bert hubert [Fri, 13 Nov 2015 21:03:52 +0000 (22:03 +0100)]
Merge pull request #2870 from rgacogne/dnsdist-lua-top

Add default values for topResponses() and topQueries(). Fixes #2864.

9 years agoMerge pull request #2872 from rgacogne/dnsdist-getopt
bert hubert [Fri, 13 Nov 2015 21:03:25 +0000 (22:03 +0100)]
Merge pull request #2872 from rgacogne/dnsdist-getopt

Fix getopt options to match the documentation.

9 years agoMerge pull request #2871 from rgacogne/dnsdist-console
bert hubert [Fri, 13 Nov 2015 21:03:11 +0000 (22:03 +0100)]
Merge pull request #2871 from rgacogne/dnsdist-console

Handle LuaContext::SyntaxErrorException() in the Console server. Grac…

9 years agoMerge pull request #2887 from ahupowerdns/dnsslim
bert hubert [Fri, 13 Nov 2015 15:05:31 +0000 (16:05 +0100)]
Merge pull request #2887 from ahupowerdns/dnsslim

in this commit, we remove d_qtype from the DNSRecordContent base clas…

9 years agoslightly improve error message if backend unable to store a new zone in pdnssec
bert hubert [Fri, 13 Nov 2015 13:11:47 +0000 (14:11 +0100)]
slightly improve error message if backend unable to store a new zone in pdnssec

9 years agoin this commit, we remove d_qtype from the DNSRecordContent base class. This slims...
bert hubert [Fri, 13 Nov 2015 10:17:23 +0000 (11:17 +0100)]
in this commit, we remove d_qtype from the DNSRecordContent base class. This slims down all derived types, but impossibly also appears to slim down our IPv6 class to the actual mininum of 16 bytes. Unsure how this is possible. Perhaps "emtpy base class optimization"? The base is now indeed empty.

9 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Fri, 13 Nov 2015 09:21:58 +0000 (10:21 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns

9 years agoMerge pull request #2885 from ahupowerdns/ednssubnet
bert hubert [Fri, 13 Nov 2015 09:21:05 +0000 (10:21 +0100)]
Merge pull request #2885 from ahupowerdns/ednssubnet

Ednssubnet

9 years agoMerge branch 'ednssubnet'
bert hubert [Fri, 13 Nov 2015 08:39:51 +0000 (09:39 +0100)]
Merge branch 'ednssubnet'

9 years agoMerge pull request #2882 from rgacogne/dnsdist-carbon-servers
bert hubert [Thu, 12 Nov 2015 13:06:41 +0000 (14:06 +0100)]
Merge pull request #2882 from rgacogne/dnsdist-carbon-servers

Export dnsdist Downstream servers stats via carbon.

9 years agoUpdate the changelog for Advisory 2015-03
Pieter Lexis [Thu, 12 Nov 2015 12:50:10 +0000 (13:50 +0100)]
Update the changelog for Advisory 2015-03

9 years agoAdd a 'name' parameter to newServer(), and display that name instead in the server...
Remi Gacogne [Thu, 12 Nov 2015 09:15:38 +0000 (10:15 +0100)]
Add a 'name' parameter to newServer(), and display that name instead in the server's address.

9 years agoship ednssubnet stuff in the recursor tarball
bert hubert [Thu, 12 Nov 2015 10:46:07 +0000 (11:46 +0100)]
ship ednssubnet stuff in the recursor tarball

9 years agofix up cache dumping, plus make sure we don't packet cache edns subnet variable answers
bert hubert [Thu, 12 Nov 2015 10:08:24 +0000 (11:08 +0100)]
fix up cache dumping, plus make sure we don't packet cache edns subnet variable answers

9 years agofix up that we 1) entered the root NSset as DNSName() and not as DNSName(".") and...
bert hubert [Thu, 12 Nov 2015 10:07:49 +0000 (11:07 +0100)]
fix up that we 1) entered the root NSset as DNSName() and not as DNSName(".") and 2) THAT THIS ACTUALLY WORKED BECAUSE OF A SECOND BUG

9 years agosilence ton of EDNS client subnet debugging
bert hubert [Wed, 11 Nov 2015 19:26:58 +0000 (20:26 +0100)]
silence ton of EDNS client subnet debugging

9 years agoMerge remote-tracking branch 'origin/master' into ednssubnet
bert hubert [Wed, 11 Nov 2015 11:33:35 +0000 (12:33 +0100)]
Merge remote-tracking branch 'origin/master' into ednssubnet

Conflicts:
modules/geoipbackend/geoipbackend.cc

9 years agoMerge pull request #2884 from cmouse/geoip-netmask
bert hubert [Wed, 11 Nov 2015 11:32:00 +0000 (12:32 +0100)]
Merge pull request #2884 from cmouse/geoip-netmask

Use correct netmask

9 years agoUse correct netmask
Aki Tuomi [Wed, 11 Nov 2015 10:40:31 +0000 (12:40 +0200)]
Use correct netmask

9 years agoMerge pull request #2862 from cmouse/remotebackend-dot
Peter van Dijk [Wed, 11 Nov 2015 10:20:28 +0000 (11:20 +0100)]
Merge pull request #2862 from cmouse/remotebackend-dot

Use dotful DNSNames in remotebackend

9 years agodon't respond that we have edns limited information when we don't
bert hubert [Wed, 11 Nov 2015 09:16:18 +0000 (10:16 +0100)]
don't respond that we have edns limited information when we don't

9 years agoteach Netmask is can be 'empty', like DNSName.
bert hubert [Wed, 11 Nov 2015 09:15:55 +0000 (10:15 +0100)]
teach Netmask is can be 'empty', like DNSName.

9 years agoExport dnsdist Downstream servers stats via carbon.
Remi Gacogne [Tue, 10 Nov 2015 14:34:06 +0000 (15:34 +0100)]
Export dnsdist Downstream servers stats via carbon.

9 years agomove recursor specific edns infra to recursor
bert hubert [Tue, 10 Nov 2015 15:09:54 +0000 (16:09 +0100)]
move recursor specific edns infra to recursor

9 years agoedns subnet for the cache. All hooked up, untested.
bert hubert [Tue, 10 Nov 2015 14:47:18 +0000 (15:47 +0100)]
edns subnet for the cache. All hooked up, untested.

9 years agoUpdate unit and test suites
Aki Tuomi [Thu, 5 Nov 2015 10:48:18 +0000 (12:48 +0200)]
Update unit and test suites

9 years agoAdd note about trailing dot in docs
Aki Tuomi [Thu, 5 Nov 2015 10:16:34 +0000 (12:16 +0200)]
Add note about trailing dot in docs

9 years agoUse DNSName with trailing dot
Aki Tuomi [Thu, 5 Nov 2015 10:14:25 +0000 (12:14 +0200)]
Use DNSName with trailing dot

9 years agoMerge branch 'master' into ednssubnet
bert hubert [Tue, 10 Nov 2015 07:52:04 +0000 (08:52 +0100)]
Merge branch 'master' into ednssubnet

Conflicts:
pdns/dnsname.hh

9 years agodocument that we have showServerPolicy in dnsdist
bert hubert [Mon, 9 Nov 2015 20:05:35 +0000 (21:05 +0100)]
document that we have showServerPolicy in dnsdist

9 years agoSmall credit update
Pieter Lexis [Mon, 9 Nov 2015 14:54:15 +0000 (15:54 +0100)]
Small credit update

9 years agoMerge pull request #2878 from pieterlexis/3.4.7-sec-announce
Peter van Dijk [Mon, 9 Nov 2015 14:39:07 +0000 (15:39 +0100)]
Merge pull request #2878 from pieterlexis/3.4.7-sec-announce

3.4.7 sec announce

9 years agoUpdate secpoll for 2015-03
Pieter Lexis [Mon, 9 Nov 2015 14:13:11 +0000 (15:13 +0100)]
Update secpoll for 2015-03

9 years agoPowerDNS Security Announcement 2015-03
Pieter Lexis [Mon, 2 Nov 2015 09:24:15 +0000 (10:24 +0100)]
PowerDNS Security Announcement 2015-03

9 years agopotentially fix dnstcpbench compilation on SUSE
bert hubert [Mon, 9 Nov 2015 09:57:56 +0000 (10:57 +0100)]
potentially fix dnstcpbench compilation on SUSE

9 years agoMerge pull request #2875 from ahupowerdns/dnsnameemp
bert hubert [Mon, 9 Nov 2015 09:20:28 +0000 (10:20 +0100)]
Merge pull request #2875 from ahupowerdns/dnsnameemp

Dnsnameemp: removes d_empty, changes PacketCache to native DNSName canonical ordering, adds bunch of tests, remove old "EndsOn" code infra, makes operations on empty DNSNames fail.

9 years agoMerge pull request #15 from cmouse/dnsnameemp2
bert hubert [Sun, 8 Nov 2015 19:10:30 +0000 (20:10 +0100)]
Merge pull request #15 from cmouse/dnsnameemp2

Use zone name in startTransaction

9 years agoUse zone name in startTransaction
Aki Tuomi [Sun, 8 Nov 2015 11:01:45 +0000 (13:01 +0200)]
Use zone name in startTransaction

9 years agoMerge pull request #14 from mind04/dnsnameemp
bert hubert [Sun, 8 Nov 2015 10:59:10 +0000 (11:59 +0100)]
Merge pull request #14 from mind04/dnsnameemp

various DNSName() fixes

9 years agovarious DNSName() fixes
Kees Monshouwer [Sat, 7 Nov 2015 23:50:42 +0000 (00:50 +0100)]
various DNSName() fixes

9 years agoDNSName("") == DNSName(".") == DNSName(string())
bert hubert [Sat, 7 Nov 2015 21:16:13 +0000 (22:16 +0100)]
DNSName("") == DNSName(".") == DNSName(string())

9 years agoadd two more DNSName tests
bert hubert [Sat, 7 Nov 2015 20:05:23 +0000 (21:05 +0100)]
add two more DNSName tests

9 years agoMerge pull request #12 from cmouse/dnsnameemp
bert hubert [Sat, 7 Nov 2015 18:47:59 +0000 (19:47 +0100)]
Merge pull request #12 from cmouse/dnsnameemp

Fix crash

9 years agoPrevent crash elsewhere
Aki Tuomi [Sat, 7 Nov 2015 18:16:15 +0000 (20:16 +0200)]
Prevent crash elsewhere

9 years agoAssume empty is root.
Aki Tuomi [Sat, 7 Nov 2015 18:16:05 +0000 (20:16 +0200)]
Assume empty is root.

9 years agoMerge pull request #11 from cmouse/dnsnameemp
bert hubert [Sat, 7 Nov 2015 17:03:09 +0000 (18:03 +0100)]
Merge pull request #11 from cmouse/dnsnameemp

Do not strip dot in BindParser

9 years agoPrint empty when DNSName is empty
Aki Tuomi [Sat, 7 Nov 2015 16:25:57 +0000 (18:25 +0200)]
Print empty when DNSName is empty

9 years agoUse . for root
Aki Tuomi [Sat, 7 Nov 2015 16:12:55 +0000 (18:12 +0200)]
Use . for root

9 years agoDo not strip dot in BindParser
Aki Tuomi [Sat, 7 Nov 2015 13:04:50 +0000 (15:04 +0200)]
Do not strip dot in BindParser

9 years agosome further empty dnsname checks, although I'm not sure this should be necessary
bert hubert [Fri, 6 Nov 2015 21:46:54 +0000 (22:46 +0100)]
some further empty dnsname checks, although I'm not sure this should be necessary

9 years agofix a few empty DNSName issues
bert hubert [Fri, 6 Nov 2015 21:01:48 +0000 (22:01 +0100)]
fix a few empty DNSName issues

9 years agoFix getopt options to match the documentation.
Remi Gacogne [Fri, 6 Nov 2015 15:43:27 +0000 (16:43 +0100)]
Fix getopt options to match the documentation.

9 years agoHandle LuaContext::SyntaxErrorException() in the Console server. Gracefully handle...
Remi Gacogne [Fri, 6 Nov 2015 15:28:56 +0000 (16:28 +0100)]
Handle LuaContext::SyntaxErrorException() in the Console server. Gracefully handle disconnection on the client.

Fixes #2866.

9 years agoMerge pull request #2867 from rgacogne/dnsdist-tcp-timeout
bert hubert [Fri, 6 Nov 2015 15:25:37 +0000 (16:25 +0100)]
Merge pull request #2867 from rgacogne/dnsdist-tcp-timeout

Add support for TCP timeouts and limit the number of retries on downs…

9 years agomake some unsigned char arithmetic explicit in dnsname
bert hubert [Fri, 6 Nov 2015 15:05:02 +0000 (16:05 +0100)]
make some unsigned char arithmetic explicit in dnsname

9 years agodon't confuse dnspcap users with incomplete packets
bert hubert [Fri, 6 Nov 2015 15:04:26 +0000 (16:04 +0100)]
don't confuse dnspcap users with incomplete packets

9 years agoDisplay "No traffic yet." when showResponseLatency() is called before any packet...
Remi Gacogne [Fri, 6 Nov 2015 14:25:20 +0000 (15:25 +0100)]
Display "No traffic yet." when showResponseLatency() is called before any packet has been processed. Fixes #2865.

9 years agoIgnore invalid/empty TKEY and TSIG records
Christian Hofstaedtler [Mon, 12 Oct 2015 10:38:43 +0000 (12:38 +0200)]
Ignore invalid/empty TKEY and TSIG records

9 years agoDon't reply to truncated queries
Christian Hofstaedtler [Mon, 12 Oct 2015 10:14:21 +0000 (12:14 +0200)]
Don't reply to truncated queries

9 years agoAdd default values for topResponses() and topQueries() parameters. Fixes #2864.
Remi Gacogne [Fri, 6 Nov 2015 14:09:18 +0000 (15:09 +0100)]
Add default values for topResponses() and topQueries() parameters. Fixes #2864.

Use 10 as a default 'top' parameter for topQueries() and topResponses(),
and 0 as the default 'kind' parameter for topResponses().

9 years agoturns out auto s=getMap() returning a reference does not make s a reference. auto...
bert hubert [Fri, 6 Nov 2015 13:18:27 +0000 (14:18 +0100)]
turns out auto s=getMap() returning a reference does not make s a reference. auto& ftw.

9 years agospeed up DNSName hashing, create testcase for it. Close #2868
bert hubert [Fri, 6 Nov 2015 12:14:30 +0000 (13:14 +0100)]
speed up DNSName hashing, create testcase for it. Close #2868

9 years agofix up PacketCache misuse if empty DNSNames by moving it to native DNSName canonical...
bert hubert [Fri, 6 Nov 2015 11:23:18 +0000 (12:23 +0100)]
fix up PacketCache misuse if empty DNSNames by moving it to native DNSName canonical ordering. Speed up non-range delete. Make it possible to wipe .

9 years agoAdd support for TCP timeouts and limit the number of retries on downstream server
Remi Gacogne [Thu, 5 Nov 2015 23:47:14 +0000 (00:47 +0100)]
Add support for TCP timeouts and limit the number of retries on downstream server

The TCP timeouts default to 30s for downstream server in both sides, 2s for client.

We now only retry 5 times if the downstream server keeps failing on us.

9 years agoMerge pull request #2863 from jpmens/patch-1
Pieter Lexis [Fri, 6 Nov 2015 08:49:07 +0000 (09:49 +0100)]
Merge pull request #2863 from jpmens/patch-1

Clarify log

9 years agoremoval of dottedEndsOn
bert hubert [Thu, 5 Nov 2015 19:59:58 +0000 (20:59 +0100)]
removal of dottedEndsOn

9 years agoremove dottedEndsOn for strings
bert hubert [Thu, 5 Nov 2015 19:54:05 +0000 (20:54 +0100)]
remove dottedEndsOn for strings

9 years agomake speedtest work again
bert hubert [Thu, 5 Nov 2015 19:53:59 +0000 (20:53 +0100)]
make speedtest work again

9 years agoteach powerdns to measure number of open file descriptors + dnsdist to report that...
bert hubert [Thu, 5 Nov 2015 16:13:52 +0000 (17:13 +0100)]
teach powerdns to measure number of open file descriptors + dnsdist to report that as a metric

9 years agoreport TCP connection handover errors from client, delete memory in that case
bert hubert [Thu, 5 Nov 2015 15:59:07 +0000 (16:59 +0100)]
report TCP connection handover errors from client, delete memory in that case

9 years agotest parsing the root from packets, fix that we failed on that
bert hubert [Thu, 5 Nov 2015 15:13:50 +0000 (16:13 +0100)]
test parsing the root from packets, fix that we failed on that

9 years agofurther DNSName cleanup - turns out almost every use of DNSName::length() was dubious!
bert hubert [Thu, 5 Nov 2015 14:17:53 +0000 (15:17 +0100)]
further DNSName cleanup - turns out almost every use of DNSName::length() was dubious!

9 years agoClarify log
JP Mens [Thu, 5 Nov 2015 13:42:23 +0000 (14:42 +0100)]
Clarify log

9 years agomake LDAP backend compile again. Note: it may have been broken already. It uses the...
bert hubert [Thu, 5 Nov 2015 13:40:51 +0000 (14:40 +0100)]
make LDAP backend compile again. Note: it may have been broken already. It uses the length of a domain name for AXFR in-zone-detection purposes, which should probably be DNSName native anyhow.

9 years agoMerge pull request #2861 from cmouse/remotebackend-docs
Pieter Lexis [Thu, 5 Nov 2015 11:31:03 +0000 (12:31 +0100)]
Merge pull request #2861 from cmouse/remotebackend-docs

Add note about priority field

9 years agoremove d_empty, length()
bert hubert [Thu, 5 Nov 2015 11:25:53 +0000 (12:25 +0100)]
remove d_empty, length()

9 years agonit
Aki Tuomi [Thu, 5 Nov 2015 09:05:38 +0000 (11:05 +0200)]
nit

9 years agoprepare for removal of d_empty (but not there yet)
bert hubert [Thu, 5 Nov 2015 08:19:46 +0000 (09:19 +0100)]
prepare for removal of d_empty (but not there yet)

9 years agoAdd note about priority field
Aki Tuomi [Thu, 5 Nov 2015 09:01:26 +0000 (11:01 +0200)]
Add note about priority field

9 years agoMerge pull request #2860 from rgacogne/dnsdist-hardening
bert hubert [Thu, 5 Nov 2015 08:23:00 +0000 (09:23 +0100)]
Merge pull request #2860 from rgacogne/dnsdist-hardening

Add the same hardening options to dnsdist.

9 years agoAdd the same hardening options to dnsdist.
Remi Gacogne [Wed, 4 Nov 2015 15:17:15 +0000 (16:17 +0100)]
Add the same hardening options to dnsdist.

PIE, full read-only relocation, stack and buffer overflow protections
are present for pdns, add them to dnsdist as well.

9 years agoMerge pull request #2796 from mind04/soaedit
Pieter Lexis [Wed, 4 Nov 2015 11:33:27 +0000 (12:33 +0100)]
Merge pull request #2796 from mind04/soaedit

add global soa-edit settings (already in 3.4.7)

9 years agoMerge pull request #2854 from rgacogne/binddnssec-ns3p-check
bert hubert [Wed, 4 Nov 2015 10:29:38 +0000 (11:29 +0100)]
Merge pull request #2854 from rgacogne/binddnssec-ns3p-check

Check NSEC3PARAMRecordContent pointer before dereferencing it.

9 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Wed, 4 Nov 2015 10:02:58 +0000 (11:02 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns

9 years agonow this is a fun commit. Turns out each DNSRecordContent was dragging along a (wrong...
bert hubert [Wed, 4 Nov 2015 09:27:21 +0000 (10:27 +0100)]
now this is a fun commit. Turns out each DNSRecordContent was dragging along a (wrong) label field and a whole copy of a dnsheader.
sizeof has been reduced by 24 bytes now. Does not actually save a lot of memory because of malloc overhead. Does appear to save CPU.

9 years agoUpdate OPENPGPKEY type info
Pieter Lexis [Wed, 4 Nov 2015 10:02:37 +0000 (11:02 +0100)]
Update OPENPGPKEY type info

9 years agoMerge pull request #2825 from cmouse/die-on-fatal-error
Pieter Lexis [Wed, 4 Nov 2015 09:46:35 +0000 (10:46 +0100)]
Merge pull request #2825 from cmouse/die-on-fatal-error

Make pdns die on fatal error

9 years agoMerge pull request #2856 from jpmens/geo-ip-doc
Pieter Lexis [Wed, 4 Nov 2015 09:42:55 +0000 (10:42 +0100)]
Merge pull request #2856 from jpmens/geo-ip-doc

clarify DNSSEC in geoip-backend

9 years agoMerge pull request #2858 from pieterlexis/test-auth-bundler
Pieter Lexis [Wed, 4 Nov 2015 09:42:37 +0000 (10:42 +0100)]
Merge pull request #2858 from pieterlexis/test-auth-bundler

Run most of the regression-tests on buildbot

9 years agoMerge pull request #1255 from RvdE/patch-2
Pieter Lexis [Wed, 4 Nov 2015 09:33:33 +0000 (10:33 +0100)]
Merge pull request #1255 from RvdE/patch-2

RFC: Fix for issue #1252

9 years agoMany fixes in the test script
Pieter Lexis [Mon, 26 Oct 2015 18:28:12 +0000 (19:28 +0100)]
Many fixes in the test script

9 years agoUpdate backend-geoip.md
JP Mens [Wed, 4 Nov 2015 07:32:58 +0000 (08:32 +0100)]
Update backend-geoip.md

9 years agoclarify DNSSEC in geoip-backend
Jan-Piet Mens [Wed, 4 Nov 2015 07:27:53 +0000 (08:27 +0100)]
clarify DNSSEC in geoip-backend
from tips by @cmouse

9 years agoCheck NSEC3PARAMRecordContent pointer before dereferencing it.
Remi Gacogne [Tue, 3 Nov 2015 15:14:06 +0000 (16:14 +0100)]
Check NSEC3PARAMRecordContent pointer before dereferencing it.

Bind2Backend::getNSEC3PARAM() does not seem to be called with a NULL
NSEC3PARAMRecordContent pointer, but better safe than sorry.

9 years agoMerge pull request #2852 from pieterlexis/3.4.7-rel-docs
Pieter Lexis [Tue, 3 Nov 2015 14:30:25 +0000 (15:30 +0100)]
Merge pull request #2852 from pieterlexis/3.4.7-rel-docs

Auth 3.4.7 release docs