]> granicus.if.org Git - pdns/log
pdns
11 years agoSpecify how to use pipe abi-versions 1, 2, and 3 with DNSSEC.
David Strauss [Wed, 4 Sep 2013 22:04:01 +0000 (15:04 -0700)]
Specify how to use pipe abi-versions 1, 2, and 3 with DNSSEC.

11 years agogitignore
Peter van Dijk [Tue, 3 Sep 2013 13:26:18 +0000 (15:26 +0200)]
gitignore

11 years agofix table layout
Peter van Dijk [Tue, 3 Sep 2013 13:25:00 +0000 (15:25 +0200)]
fix table layout

11 years agoMerge pull request #849 from zeha/f/issue-676
Peter van Dijk [Tue, 3 Sep 2013 12:24:04 +0000 (05:24 -0700)]
Merge pull request #849 from zeha/f/issue-676

Add exit codes to pdns-recursor init script

11 years agoMerge pull request #785 from zeha/f/init.d-fixup
Peter van Dijk [Tue, 3 Sep 2013 12:23:30 +0000 (05:23 -0700)]
Merge pull request #785 from zeha/f/init.d-fixup

Cleanup paths in pdns-recursor.init.d

11 years agoMerge pull request #976 from zeha/sockaddr_un
Peter van Dijk [Tue, 3 Sep 2013 11:30:08 +0000 (04:30 -0700)]
Merge pull request #976 from zeha/sockaddr_un

Introduce makeUNsockaddr and have everybody use it

11 years agoMerge pull request #987 from mind04/endless
Peter van Dijk [Tue, 3 Sep 2013 09:56:54 +0000 (02:56 -0700)]
Merge pull request #987 from mind04/endless

send empty SERVFAIL on exeeded retargetcount and log failures

11 years agoIntroduce makeUNsockaddr and have everybody use it
Christian Hofstaedtler [Wed, 28 Aug 2013 11:18:53 +0000 (13:18 +0200)]
Introduce makeUNsockaddr and have everybody use it

makeUNsockaddr does the length check in a central place, and calling
code should be a bit more readable now.

11 years agoMerge pull request #972 from zeha/version
Peter van Dijk [Tue, 3 Sep 2013 09:13:26 +0000 (02:13 -0700)]
Merge pull request #972 from zeha/version

Show built-in features in --version output

11 years agoMerge pull request #974 from mind04/statbag
Peter van Dijk [Tue, 3 Sep 2013 09:12:51 +0000 (02:12 -0700)]
Merge pull request #974 from mind04/statbag

 fix ringbuffer size decrease

11 years agoadd bulktest reporting snippets
Peter van Dijk [Tue, 3 Sep 2013 07:50:18 +0000 (09:50 +0200)]
add bulktest reporting snippets

11 years agoMerge pull request #980 from cmouse/coverity-1066169
Peter van Dijk [Mon, 2 Sep 2013 16:51:02 +0000 (09:51 -0700)]
Merge pull request #980 from cmouse/coverity-1066169

Fix coverity CID 1066169

11 years agoMerge pull request #978 from zeha/coverity
Peter van Dijk [Mon, 2 Sep 2013 16:49:43 +0000 (09:49 -0700)]
Merge pull request #978 from zeha/coverity

Fixes for a Coverity detected issue in rfc2316handler

11 years agoMerge pull request #979 from zeha/zone2xxx-exit-codes
Peter van Dijk [Mon, 2 Sep 2013 16:49:15 +0000 (09:49 -0700)]
Merge pull request #979 from zeha/zone2xxx-exit-codes

Fix zone2{sql,json} exit codes

11 years agoMerge pull request #986 from cmouse/fix-innodb-gmysql
Peter van Dijk [Mon, 2 Sep 2013 16:48:36 +0000 (09:48 -0700)]
Merge pull request #986 from cmouse/fix-innodb-gmysql

Add Engine=InnoDB for dnssec tables

11 years agoMerge pull request #982 from cmouse/fix-remotebackend-includes
Peter van Dijk [Mon, 2 Sep 2013 16:47:57 +0000 (09:47 -0700)]
Merge pull request #982 from cmouse/fix-remotebackend-includes

Remove unnecessary pipebackend include.

11 years agoMerge pull request #985 from stasic/master
Peter van Dijk [Mon, 2 Sep 2013 16:47:33 +0000 (09:47 -0700)]
Merge pull request #985 from stasic/master

Added SQL-Statements for mysql and postgresql

11 years agoAdd Engine=InnoDB for dnssec tables
Aki Tuomi [Mon, 2 Sep 2013 15:38:22 +0000 (18:38 +0300)]
Add Engine=InnoDB for dnssec tables

11 years agoAdded SQL-Statements for mysql and postgresql
Arsen Stasic [Mon, 2 Sep 2013 14:58:36 +0000 (16:58 +0200)]
Added SQL-Statements for mysql and postgresql

11 years agostraws.clutch()
Peter van Dijk [Mon, 2 Sep 2013 14:02:30 +0000 (16:02 +0200)]
straws.clutch()

11 years agomake bulktest trace configurable
Peter van Dijk [Mon, 2 Sep 2013 11:02:36 +0000 (13:02 +0200)]
make bulktest trace configurable

11 years agonow actually include recursor version in bulktest stdout
Peter van Dijk [Mon, 2 Sep 2013 09:10:19 +0000 (11:10 +0200)]
now actually include recursor version in bulktest stdout

11 years agoupdate loop breakout test
Kees Monshouwer [Wed, 28 Aug 2013 21:28:39 +0000 (23:28 +0200)]
update loop breakout test

11 years agosend empty SERVFAIL on exeeded retargetcount and log failures
Kees Monshouwer [Wed, 28 Aug 2013 20:38:20 +0000 (22:38 +0200)]
send empty SERVFAIL on exeeded retargetcount and log failures

11 years agoMerge pull request #983 from mind04/wildcard-asterisk
bert hubert [Sat, 31 Aug 2013 20:39:53 +0000 (13:39 -0700)]
Merge pull request #983 from mind04/wildcard-asterisk

some wildcard NSECx fixes - even more impressive work from Kees Monshouwer!

11 years agofix NSEC for asterisk ents and add test
Kees Monshouwer [Sat, 31 Aug 2013 17:32:44 +0000 (19:32 +0200)]
fix NSEC for asterisk ents and add test

11 years agoFix closest encloser proof for wildcard nodata answers.
Kees Monshouwer [Sat, 31 Aug 2013 15:24:42 +0000 (17:24 +0200)]
Fix closest encloser proof for wildcard nodata answers.
Add some tests to make sure I won't break this again...

11 years agoadd unbound-host to travis builds
Kees Monshouwer [Fri, 30 Aug 2013 08:39:48 +0000 (10:39 +0200)]
add unbound-host to travis builds

11 years agoadd test.dyndns zone to tinydns data file
Kees Monshouwer [Sat, 31 Aug 2013 13:42:05 +0000 (15:42 +0200)]
add test.dyndns zone to tinydns data file

11 years agoRemove unnecessary pipebackend include.
Aki Tuomi [Sat, 31 Aug 2013 16:04:36 +0000 (19:04 +0300)]
Remove unnecessary pipebackend include.

11 years agodrop non-working measurements
Peter van Dijk [Sat, 31 Aug 2013 10:25:57 +0000 (12:25 +0200)]
drop non-working measurements

11 years agoadd a bunch of measurements to recursor bulktest
Peter van Dijk [Sat, 31 Aug 2013 10:20:38 +0000 (12:20 +0200)]
add a bunch of measurements to recursor bulktest

11 years agonon static debian build fixes, thanks Michael Braunoeder
Peter van Dijk [Fri, 30 Aug 2013 12:22:59 +0000 (14:22 +0200)]
non static debian build fixes, thanks Michael Braunoeder

11 years agonit
Peter van Dijk [Fri, 30 Aug 2013 12:09:13 +0000 (14:09 +0200)]
nit

11 years agolog recursor version + runtime
Peter van Dijk [Fri, 30 Aug 2013 12:00:59 +0000 (14:00 +0200)]
log recursor version + runtime

11 years agomake bulktest threshold configurable
Peter van Dijk [Fri, 30 Aug 2013 11:05:26 +0000 (13:05 +0200)]
make bulktest threshold configurable

11 years agoallow context override for bulktest xml
Peter van Dijk [Fri, 30 Aug 2013 09:39:23 +0000 (11:39 +0200)]
allow context override for bulktest xml

11 years agoadd some runtime configurability to the recursor bulktest
Peter van Dijk [Fri, 30 Aug 2013 06:59:08 +0000 (08:59 +0200)]
add some runtime configurability to the recursor bulktest

11 years agoMerge pull request #981 from cyclops1982/935plus
Peter van Dijk [Thu, 29 Aug 2013 18:52:19 +0000 (11:52 -0700)]
Merge pull request #981 from cyclops1982/935plus

pid file with pdns_ prefix.

11 years agoAlso controlsocket file with pdns_ prefix.
Ruben d'Arco [Thu, 29 Aug 2013 18:51:08 +0000 (20:51 +0200)]
Also controlsocket file with pdns_ prefix.

11 years agopid file with pdns_ prefix.
Ruben d'Arco [Thu, 29 Aug 2013 18:39:59 +0000 (20:39 +0200)]
pid file with pdns_ prefix.

11 years agodrop visual studio dsp files, thanks @cmouse
Peter van Dijk [Thu, 29 Aug 2013 12:38:47 +0000 (14:38 +0200)]
drop visual studio dsp files, thanks @cmouse

11 years agoMerge pull request #970 from zeha/nproxy-chroot-chdir
Peter van Dijk [Thu, 29 Aug 2013 11:45:19 +0000 (04:45 -0700)]
Merge pull request #970 from zeha/nproxy-chroot-chdir

nproxy: Add missing chdir("/") after chroot()

11 years agoMerge pull request #968 from zeha/docs-typo
Peter van Dijk [Thu, 29 Aug 2013 11:44:56 +0000 (04:44 -0700)]
Merge pull request #968 from zeha/docs-typo

Fix a typo in the webserver docs

11 years agoMerge pull request #952 from mind04/doc
Peter van Dijk [Thu, 29 Aug 2013 11:40:03 +0000 (04:40 -0700)]
Merge pull request #952 from mind04/doc

filling 'ordename' and 'auth'

11 years agoupdate pidfile name after b842fd64c37181881a74959add76c5538fd687ea
Peter van Dijk [Thu, 29 Aug 2013 10:06:45 +0000 (12:06 +0200)]
update pidfile name after b842fd64c37181881a74959add76c5538fd687ea

11 years agoMerge pull request #951 from cyclops1982/935
Peter van Dijk [Thu, 29 Aug 2013 09:55:41 +0000 (02:55 -0700)]
Merge pull request #951 from cyclops1982/935

Add --config-name to recursor

11 years agoMerge pull request #971 from cmouse/include-dir-doc
Peter van Dijk [Thu, 29 Aug 2013 09:52:46 +0000 (02:52 -0700)]
Merge pull request #971 from cmouse/include-dir-doc

Documentation for include-dir, fixes #967

11 years agoFix coverity CID 1066169
Aki Tuomi [Wed, 28 Aug 2013 19:23:45 +0000 (22:23 +0300)]
Fix coverity CID 1066169

11 years agoFix zone2{sql,json} exit codes
Christian Hofstaedtler [Wed, 28 Aug 2013 19:12:08 +0000 (21:12 +0200)]
Fix zone2{sql,json} exit codes

To be consistent with general practice, fix zone2{sql,json} to exit
with:
 * 0 on success
 * 1 on error

This also moves the catch block after the last line of main, so a
"theoretically" possible exception in ::arg().mustDo would get caught.
(Also, one level less of indent!)

11 years agorfc2136handler: Close socket when write fails
Christian Hofstaedtler [Wed, 28 Aug 2013 18:23:45 +0000 (20:23 +0200)]
rfc2136handler: Close socket when write fails

Fix for Coverity CID 1066217.

11 years agoMerge pull request #975 from cmouse/coverity-20130827
Peter van Dijk [Tue, 27 Aug 2013 11:52:42 +0000 (04:52 -0700)]
Merge pull request #975 from cmouse/coverity-20130827

Add NULL initialization for d_c on httpconnector

11 years agoAdd NULL initialization for d_c on httpconnector
Aki Tuomi [Tue, 27 Aug 2013 11:43:43 +0000 (14:43 +0300)]
Add NULL initialization for d_c on httpconnector

11 years ago fix ringbuffer size decrease
Kees Monshouwer [Mon, 26 Aug 2013 21:26:43 +0000 (23:26 +0200)]
 fix ringbuffer size decrease

11 years agoMerge pull request #973 from zeha/coverity-luabackend-fixup
Peter van Dijk [Tue, 27 Aug 2013 08:02:42 +0000 (01:02 -0700)]
Merge pull request #973 from zeha/coverity-luabackend-fixup

Fix for compile error introduced by 63851c6

11 years agoFix for compile error introduced by 63851c6
Christian Hofstaedtler [Tue, 27 Aug 2013 07:58:43 +0000 (09:58 +0200)]
Fix for compile error introduced by 63851c6

"update LUABackend::setDomainMetadata signature" - while my updating of
the signature is great, there apparently was no compile test prior to
submitting.

11 years agoMerge pull request #966 from zeha/coverity
Peter van Dijk [Tue, 27 Aug 2013 07:42:32 +0000 (00:42 -0700)]
Merge pull request #966 from zeha/coverity

Some fixes for Coverity

11 years agoShow built-in features in --version output
Christian Hofstaedtler [Sat, 24 Aug 2013 19:54:25 +0000 (21:54 +0200)]
Show built-in features in --version output

11 years agoDocumentation for include-dir, fixes #967
Aki Tuomi [Sat, 24 Aug 2013 18:11:17 +0000 (21:11 +0300)]
Documentation for include-dir, fixes #967

11 years agonproxy: Add missing chdir("/") after chroot()
Christian Hofstaedtler [Sat, 24 Aug 2013 15:19:38 +0000 (17:19 +0200)]
nproxy: Add missing chdir("/") after chroot()

Also make sure that fd 0,1,2 are correctly replaced with /dev/null.
As we (might) chroot() before daemonizing, we must open /dev/null before
chroot-ing.

Reported-By: Morten Stevens
11 years agoProvide tighter bounds to HTTP first line parser in Recursor
Christian Hofstaedtler [Sat, 24 Aug 2013 13:39:26 +0000 (15:39 +0200)]
Provide tighter bounds to HTTP first line parser in Recursor

stringtok over the entire 16k buffer is useless. Also it might make
Coverity shut up.

Tentative fix for Coverity CID 1063848.

11 years agoDon't overflow the sockaddr_un-provided static buffer
Christian Hofstaedtler [Sat, 24 Aug 2013 13:22:12 +0000 (15:22 +0200)]
Don't overflow the sockaddr_un-provided static buffer

sun_path is a buffer with a static length. A too long socket-dir could
overflow it.

Fix for Coverity CID 1029977 & 1029978 (Recursor). While the Auth had
the same problem, there were no Coverity results for it, likely because
of the use of strncpy there.

11 years agoPlug leak of include-dir directory pointers
Christian Hofstaedtler [Sat, 24 Aug 2013 12:58:12 +0000 (14:58 +0200)]
Plug leak of include-dir directory pointers

Fix for Coverity CID 1029884.

11 years agoFix a typo in the webserver docs
Christian Hofstaedtler [Sat, 24 Aug 2013 12:56:40 +0000 (14:56 +0200)]
Fix a typo in the webserver docs

11 years agoRemove dead sendData function
Christian Hofstaedtler [Sat, 24 Aug 2013 12:38:26 +0000 (14:38 +0200)]
Remove dead sendData function

Fix for Coverity CID 1029915, which claimed dead code inside the function,
but really, nobody calls it anymore.

11 years agoadd error checking in exp. recursor webserver
Christian Hofstaedtler [Sat, 24 Aug 2013 09:37:05 +0000 (11:37 +0200)]
add error checking in exp. recursor webserver

pdns_recursor will now fail to start when it can't bind to the webserver
socket.

Fix for Coverity CID 10299921029999

11 years agoupdate LUABackend::setDomainMetadata signature
Christian Hofstaedtler [Fri, 23 Aug 2013 17:39:04 +0000 (19:39 +0200)]
update LUABackend::setDomainMetadata signature

Found by Coverity Scan. Compile-tested only.

11 years agofix return type of snprintf
Christian Hofstaedtler [Fri, 23 Aug 2013 17:33:14 +0000 (19:33 +0200)]
fix return type of snprintf

Found by Coverity Scan. Compile-tested only.

11 years agoMerge pull request #965 from zeha/remove-unused-vars
Peter van Dijk [Thu, 22 Aug 2013 12:51:12 +0000 (05:51 -0700)]
Merge pull request #965 from zeha/remove-unused-vars

drop unused variables from class Server

11 years agodrop unused variables from class Server
Christian Hofstaedtler [Thu, 22 Aug 2013 07:41:40 +0000 (09:41 +0200)]
drop unused variables from class Server

11 years agoMerge pull request #963 from zeha/webserver
Peter van Dijk [Wed, 21 Aug 2013 18:34:15 +0000 (11:34 -0700)]
Merge pull request #963 from zeha/webserver

Webserver changes

11 years agoTheoretically support non-GET requests in recursor webserver
Christian Hofstaedtler [Wed, 21 Aug 2013 18:23:20 +0000 (20:23 +0200)]
Theoretically support non-GET requests in recursor webserver

11 years agoMerge pull request #962 from zeha/domaininfo
Peter van Dijk [Wed, 21 Aug 2013 18:32:16 +0000 (11:32 -0700)]
Merge pull request #962 from zeha/domaininfo

DomainInfo changes

11 years agoadd convience getKindString to DomainInfo
Christian Hofstaedtler [Wed, 21 Aug 2013 16:14:31 +0000 (18:14 +0200)]
add convience getKindString to DomainInfo

11 years agofill in notified_serial and serial in gsql getDomainInfo
Christian Hofstaedtler [Wed, 21 Aug 2013 16:12:31 +0000 (18:12 +0200)]
fill in notified_serial and serial in gsql getDomainInfo

Filling in notified_serial is free; the query already fetches
notified_serial, but we didn't copy it over.
We now also always try the SOA lookup to get the domain serial, which
previously only happened in the SLAVE case. This might provoke a few
more notices/errors, but not really for sane database contents.

11 years ago'correct' casing of Content-Type header in error messages
Christian Hofstaedtler [Wed, 21 Aug 2013 10:30:12 +0000 (12:30 +0200)]
'correct' casing of Content-Type header in error messages

11 years agoMerge pull request #950 from cyclops1982/coverity
Peter van Dijk [Wed, 21 Aug 2013 18:21:25 +0000 (11:21 -0700)]
Merge pull request #950 from cyclops1982/coverity

Coverity fixes

11 years agoMerge pull request #959 from zeha/ignore
Peter van Dijk [Wed, 21 Aug 2013 18:20:19 +0000 (11:20 -0700)]
Merge pull request #959 from zeha/ignore

Update gitignore files

11 years agoMerge pull request #961 from zeha/valgrind-supp
Peter van Dijk [Wed, 21 Aug 2013 18:19:58 +0000 (11:19 -0700)]
Merge pull request #961 from zeha/valgrind-supp

Add suppression file for valgrind, and turn it on

11 years agodrop do-regress
Peter van Dijk [Wed, 21 Aug 2013 17:27:35 +0000 (19:27 +0200)]
drop do-regress

11 years agoAdd suppression file for valgrind, and turn it on
Christian Hofstaedtler [Wed, 21 Aug 2013 13:13:49 +0000 (15:13 +0200)]
Add suppression file for valgrind, and turn it on

This is tuned for pdns_server, not the recursor.

11 years agoUpdate gitignore files
Christian Hofstaedtler [Wed, 21 Aug 2013 09:51:55 +0000 (11:51 +0200)]
Update gitignore files

* config.cache is configure's cache (if used)
* test-driver is a new autotools script
* bindparser.hh is an intermediate file (gets copied to bindparser.h)

11 years agoMerge pull request #957 from cmouse/docs-remotebackend-connectors
Peter van Dijk [Wed, 21 Aug 2013 07:35:03 +0000 (00:35 -0700)]
Merge pull request #957 from cmouse/docs-remotebackend-connectors

Changed backend to connector for remotebackend docs

11 years agoChanged backend to connector for remotebackend docs
Aki Tuomi [Wed, 21 Aug 2013 07:28:39 +0000 (10:28 +0300)]
Changed backend to connector for remotebackend docs

11 years agoupdate sample pipebackend script in docs, now a full include, thanks @davidstrauss
Peter van Dijk [Wed, 21 Aug 2013 06:53:10 +0000 (08:53 +0200)]
update sample pipebackend script in docs, now a full include, thanks @davidstrauss

11 years agofilling 'ordename' and 'auth'
Kees Monshouwer [Fri, 16 Aug 2013 22:44:56 +0000 (00:44 +0200)]
filling 'ordename' and 'auth'

11 years agoImproved error message for socketfile not found
Ruben d'Arco [Fri, 16 Aug 2013 18:41:58 +0000 (20:41 +0200)]
Improved error message for socketfile not found

11 years agoAdd --config-name to recursor
Ruben d'Arco [Fri, 16 Aug 2013 18:41:25 +0000 (20:41 +0200)]
Add --config-name to recursor

This adds --config-name to pdns_recursor and rec_control.
Changed s_programname to recursor as that makes the logic more like pdns_server and is useful.
The rec_control has been updated as well so we can still query the correct recursor

11 years agoRemove unused parent pointer (coverity fix)
Ruben d'Arco [Fri, 16 Aug 2013 17:55:40 +0000 (19:55 +0200)]
Remove unused parent pointer (coverity fix)

11 years agoRemove possible devision by zero (coverity fix)
Ruben d'Arco [Fri, 16 Aug 2013 16:59:25 +0000 (18:59 +0200)]
Remove possible devision by zero (coverity fix)

11 years agoCoverity fixes
Ruben d'Arco [Fri, 16 Aug 2013 16:46:06 +0000 (18:46 +0200)]
Coverity fixes

11 years agoRevert "refuse control characters in TXT, except for \n and \t"
Peter van Dijk [Fri, 16 Aug 2013 05:38:54 +0000 (07:38 +0200)]
Revert "refuse control characters in TXT, except for \n and \t"

This reverts commit aef73302b5bf7942f9ec44313991986a62153be8.

This should fix lookup of dnscrypt TXT records in the recursor.

11 years agoexplain why we have gmtime_r
Peter van Dijk [Thu, 15 Aug 2013 20:30:42 +0000 (22:30 +0200)]
explain why we have gmtime_r

11 years agoMerge pull request #947 from mind04/right
Peter van Dijk [Thu, 15 Aug 2013 20:02:04 +0000 (13:02 -0700)]
Merge pull request #947 from mind04/right

do right^2 #946

11 years agodo right timezones right
Kees Monshouwer [Wed, 14 Aug 2013 23:41:21 +0000 (01:41 +0200)]
do right timezones right

11 years agoone last s/ahuexception/pdnsexception/
Peter van Dijk [Thu, 15 Aug 2013 09:17:41 +0000 (11:17 +0200)]
one last s/ahuexception/pdnsexception/

11 years agoMerge pull request #940 from mind04/903
Peter van Dijk [Thu, 15 Aug 2013 09:09:14 +0000 (02:09 -0700)]
Merge pull request #940 from mind04/903

add constraints for name to pg schema #903

11 years agoMerge pull request #941 from mind04/denitify
Peter van Dijk [Thu, 15 Aug 2013 08:59:55 +0000 (01:59 -0700)]
Merge pull request #941 from mind04/denitify

some optimizations, tests and more s/ahuexception/pdnsexception

11 years agoignore non-query packets, closing #945
Peter van Dijk [Wed, 14 Aug 2013 09:05:22 +0000 (11:05 +0200)]
ignore non-query packets, closing #945

11 years agoMerge pull request #944 from rubenk/spelvoutje
Peter van Dijk [Mon, 12 Aug 2013 18:04:31 +0000 (11:04 -0700)]
Merge pull request #944 from rubenk/spelvoutje

Fix typo