]> granicus.if.org Git - pdns/log
pdns
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 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 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 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

11 years agoreinstate ANY query for A+AAAA gathering, now with fallback to individual A+AAAA...
Peter van Dijk [Mon, 12 Aug 2013 08:45:55 +0000 (10:45 +0200)]
reinstate ANY query for A+AAAA gathering, now with fallback to individual A+AAAA queries. Suggested by Tom Laermans in #678

11 years agotoBase32Hex case flip
Kees Monshouwer [Sat, 10 Aug 2013 21:07:48 +0000 (23:07 +0200)]
toBase32Hex case flip

11 years agos/ahuexception/pdnsexception part 2
Kees Monshouwer [Mon, 5 Aug 2013 19:44:05 +0000 (21:44 +0200)]
s/ahuexception/pdnsexception part 2

11 years agopdns_ilexicographical_compare() and dns_iequals() optimization
Kees Monshouwer [Mon, 5 Aug 2013 07:42:35 +0000 (09:42 +0200)]
pdns_ilexicographical_compare() and dns_iequals() optimization

11 years agoFix typo
Ruben Kerkhof [Sat, 10 Aug 2013 19:15:39 +0000 (21:15 +0200)]
Fix typo

11 years agoignore bulktest stuff
Peter van Dijk [Fri, 9 Aug 2013 13:37:12 +0000 (15:37 +0200)]
ignore bulktest stuff

11 years agoMerge pull request #943 from justinclift/master
Peter van Dijk [Fri, 9 Aug 2013 09:13:01 +0000 (02:13 -0700)]
Merge pull request #943 from justinclift/master

Typo fix

11 years agoTypo fix
Justin Clift [Fri, 9 Aug 2013 09:02:05 +0000 (10:02 +0100)]
Typo fix

11 years agoclarify boost::format string (even though boost does not care)
Peter van Dijk [Thu, 8 Aug 2013 17:21:10 +0000 (19:21 +0200)]
clarify boost::format string (even though boost does not care)

11 years agoMerge branch 'respstats'
Peter van Dijk [Thu, 8 Aug 2013 14:38:48 +0000 (16:38 +0200)]
Merge branch 'respstats'

11 years agomerge ahu's work
Peter van Dijk [Thu, 8 Aug 2013 13:43:30 +0000 (15:43 +0200)]
merge ahu's work

11 years agoimplement pdns_control qtypes
Peter van Dijk [Thu, 8 Aug 2013 13:09:51 +0000 (15:09 +0200)]
implement pdns_control qtypes

11 years agofix offbyone
Peter van Dijk [Thu, 8 Aug 2013 13:09:38 +0000 (15:09 +0200)]
fix offbyone

11 years agocount UDP answer bytes sent
Peter van Dijk [Thu, 8 Aug 2013 12:22:42 +0000 (14:22 +0200)]
count UDP answer bytes sent

11 years agodeduplicate UDP answer counting
Peter van Dijk [Thu, 8 Aug 2013 12:15:54 +0000 (14:15 +0200)]
deduplicate UDP answer counting

11 years agofix make check
Peter van Dijk [Thu, 8 Aug 2013 11:41:33 +0000 (13:41 +0200)]
fix make check

11 years agoadd responsestats infra, not actually reporting yet
bert hubert [Thu, 8 Aug 2013 09:47:20 +0000 (11:47 +0200)]
add responsestats infra, not actually reporting yet

11 years agoMerge pull request #942 from rubenk/disable-axfr
Peter van Dijk [Thu, 8 Aug 2013 12:40:10 +0000 (05:40 -0700)]
Merge pull request #942 from rubenk/disable-axfr

Remove duplicate argument

11 years agoRemove duplicate argument
Ruben Kerkhof [Thu, 8 Aug 2013 11:41:30 +0000 (13:41 +0200)]
Remove duplicate argument

11 years agoMerge pull request #937 from rubenk/typo
bert hubert [Wed, 7 Aug 2013 14:41:13 +0000 (07:41 -0700)]
Merge pull request #937 from rubenk/typo

Fix typo in option description

11 years agoFix typo in option description
Ruben Kerkhof [Wed, 7 Aug 2013 14:38:55 +0000 (16:38 +0200)]
Fix typo in option description

11 years agoadd constraints for name to pg schema
Kees Monshouwer [Tue, 6 Aug 2013 07:50:18 +0000 (09:50 +0200)]
add constraints for name to pg schema

11 years agoMerge pull request #936 from mind04/903
Peter van Dijk [Tue, 6 Aug 2013 06:25:01 +0000 (23:25 -0700)]
Merge pull request #936 from mind04/903

make domainmetadata queries case insensitive #903

11 years agomake domainmetadata queries case insensitive
Kees Monshouwer [Mon, 5 Aug 2013 21:44:41 +0000 (23:44 +0200)]
make domainmetadata queries case insensitive

11 years agoMerge pull request #933 from mind04/denitify
Peter van Dijk [Mon, 5 Aug 2013 07:50:25 +0000 (00:50 -0700)]
Merge pull request #933 from mind04/denitify

a little bit of everything

11 years agoMerge pull request #931 from rubenk/master
Peter van Dijk [Mon, 5 Aug 2013 07:46:47 +0000 (00:46 -0700)]
Merge pull request #931 from rubenk/master

Fix a typo in error message

11 years agoMerge pull request #932 from cyclops1982/927
Peter van Dijk [Mon, 5 Aug 2013 07:46:30 +0000 (00:46 -0700)]
Merge pull request #932 from cyclops1982/927

Update gpgsql queries

11 years agoanswer direct NSEC queries without DO bit
Kees Monshouwer [Thu, 1 Aug 2013 21:38:07 +0000 (23:38 +0200)]
answer direct NSEC queries without DO bit

11 years agosdig flags
Kees Monshouwer [Wed, 31 Jul 2013 07:25:21 +0000 (09:25 +0200)]
sdig flags

11 years agoremove unused files
Kees Monshouwer [Fri, 26 Jul 2013 21:09:56 +0000 (23:09 +0200)]
remove unused files

11 years agochange zone backup during tests to zone restore
Kees Monshouwer [Wed, 24 Jul 2013 19:28:21 +0000 (21:28 +0200)]
change zone backup during tests to zone restore

11 years agoimprove += options
Kees Monshouwer [Fri, 26 Jul 2013 20:57:58 +0000 (22:57 +0200)]
improve += options

11 years agosilence dead code warning in version.cc
Kees Monshouwer [Fri, 26 Jul 2013 18:57:29 +0000 (20:57 +0200)]
silence dead code warning in version.cc

11 years agoUpdate gpgsql queries
Ruben d'Arco [Tue, 30 Jul 2013 19:47:18 +0000 (21:47 +0200)]
Update gpgsql queries

fixes #927

11 years agoFix a typo in error message
Ruben Kerkhof [Tue, 30 Jul 2013 14:57:23 +0000 (16:57 +0200)]
Fix a typo in error message

11 years agonit
Peter van Dijk [Tue, 30 Jul 2013 05:50:55 +0000 (07:50 +0200)]
nit

11 years agoMerge pull request #928 from cyclops1982/926
Peter van Dijk [Tue, 30 Jul 2013 05:43:24 +0000 (22:43 -0700)]
Merge pull request #928 from cyclops1982/926

output warning message when no to be notified NS's are found

11 years agooutput warning message when no to be notified NS's are found
Ruben d'Arco [Mon, 29 Jul 2013 20:17:33 +0000 (22:17 +0200)]
output warning message when no to be notified NS's are found

fixes #926