]>
granicus.if.org Git - pdns/log
Christian Hofstaedtler [Wed, 4 Sep 2013 09:59:28 +0000 (11:59 +0200)]
json: Remove old get-zone implementations
pdnscontrol users must upgrade to at least
4c0e059731 .
Christian Hofstaedtler [Wed, 4 Sep 2013 09:57:31 +0000 (11:57 +0200)]
recursor json: reimplement domains list using rapidjson
Note that this changes types of servers and rdbit.
Christian Hofstaedtler [Wed, 28 Aug 2013 14:33:51 +0000 (16:33 +0200)]
recursor json: implement zone command
Christian Hofstaedtler [Wed, 4 Sep 2013 09:05:41 +0000 (11:05 +0200)]
json get-zone: properly return error if zone doesn't exist
Christian Hofstaedtler [Wed, 28 Aug 2013 14:34:08 +0000 (16:34 +0200)]
auth webserver: fix invalid JSONP on errors
Christian Hofstaedtler [Wed, 28 Aug 2013 14:21:28 +0000 (16:21 +0200)]
recursor json: put command into command var
Just like in the Auth.
Christian Hofstaedtler [Wed, 28 Aug 2013 14:12:47 +0000 (16:12 +0200)]
json webserver: add new 'zone' command
Replaces get-zone. Intended to replace zone-rest in the future, also
create/delete of zones should also go through this.
Christian Hofstaedtler [Wed, 28 Aug 2013 14:12:29 +0000 (16:12 +0200)]
json webserver: return masters as an Array
Christian Hofstaedtler [Wed, 28 Aug 2013 14:12:10 +0000 (16:12 +0200)]
json webserver: check for presence of command
Christian Hofstaedtler [Wed, 28 Aug 2013 14:11:03 +0000 (16:11 +0200)]
jsonstat: accept ints as strings or ints
Christian Hofstaedtler [Wed, 4 Sep 2013 07:24:39 +0000 (09:24 +0200)]
s/AhuException/PDNSException/ in docs
Christian Hofstaedtler [Wed, 4 Sep 2013 07:22:31 +0000 (09:22 +0200)]
webserver: print PDNSExceptions
previously they'd get handled as (...)
Peter van Dijk [Tue, 3 Sep 2013 13:26:18 +0000 (15:26 +0200)]
gitignore
Peter van Dijk [Tue, 3 Sep 2013 13:25:00 +0000 (15:25 +0200)]
fix table layout
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
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
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
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
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.
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
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
Peter van Dijk [Tue, 3 Sep 2013 07:50:18 +0000 (09:50 +0200)]
add bulktest reporting snippets
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
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
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
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
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.
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
Aki Tuomi [Mon, 2 Sep 2013 15:38:22 +0000 (18:38 +0300)]
Add Engine=InnoDB for dnssec tables
Arsen Stasic [Mon, 2 Sep 2013 14:58:36 +0000 (16:58 +0200)]
Added SQL-Statements for mysql and postgresql
Peter van Dijk [Mon, 2 Sep 2013 14:02:30 +0000 (16:02 +0200)]
straws.clutch()
Peter van Dijk [Mon, 2 Sep 2013 11:02:36 +0000 (13:02 +0200)]
make bulktest trace configurable
Peter van Dijk [Mon, 2 Sep 2013 09:10:19 +0000 (11:10 +0200)]
now actually include recursor version in bulktest stdout
Kees Monshouwer [Wed, 28 Aug 2013 21:28:39 +0000 (23:28 +0200)]
update loop breakout test
Kees Monshouwer [Wed, 28 Aug 2013 20:38:20 +0000 (22:38 +0200)]
send empty SERVFAIL on exeeded retargetcount and log failures
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!
Kees Monshouwer [Sat, 31 Aug 2013 17:32:44 +0000 (19:32 +0200)]
fix NSEC for asterisk ents and add test
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...
Kees Monshouwer [Fri, 30 Aug 2013 08:39:48 +0000 (10:39 +0200)]
add unbound-host to travis builds
Kees Monshouwer [Sat, 31 Aug 2013 13:42:05 +0000 (15:42 +0200)]
add test.dyndns zone to tinydns data file
Aki Tuomi [Sat, 31 Aug 2013 16:04:36 +0000 (19:04 +0300)]
Remove unnecessary pipebackend include.
Peter van Dijk [Sat, 31 Aug 2013 10:25:57 +0000 (12:25 +0200)]
drop non-working measurements
Peter van Dijk [Sat, 31 Aug 2013 10:20:38 +0000 (12:20 +0200)]
add a bunch of measurements to recursor bulktest
Peter van Dijk [Fri, 30 Aug 2013 12:22:59 +0000 (14:22 +0200)]
non static debian build fixes, thanks Michael Braunoeder
Peter van Dijk [Fri, 30 Aug 2013 12:09:13 +0000 (14:09 +0200)]
nit
Peter van Dijk [Fri, 30 Aug 2013 12:00:59 +0000 (14:00 +0200)]
log recursor version + runtime
Peter van Dijk [Fri, 30 Aug 2013 11:05:26 +0000 (13:05 +0200)]
make bulktest threshold configurable
Peter van Dijk [Fri, 30 Aug 2013 09:39:23 +0000 (11:39 +0200)]
allow context override for bulktest xml
Peter van Dijk [Fri, 30 Aug 2013 06:59:08 +0000 (08:59 +0200)]
add some runtime configurability to the recursor bulktest
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.
Ruben d'Arco [Thu, 29 Aug 2013 18:51:08 +0000 (20:51 +0200)]
Also controlsocket file with pdns_ prefix.
Ruben d'Arco [Thu, 29 Aug 2013 18:39:59 +0000 (20:39 +0200)]
pid file with pdns_ prefix.
Peter van Dijk [Thu, 29 Aug 2013 12:38:47 +0000 (14:38 +0200)]
drop visual studio dsp files, thanks @cmouse
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()
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
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'
Peter van Dijk [Thu, 29 Aug 2013 10:06:45 +0000 (12:06 +0200)]
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
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
Aki Tuomi [Wed, 28 Aug 2013 19:23:45 +0000 (22:23 +0300)]
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!)
Christian Hofstaedtler [Wed, 28 Aug 2013 18:23:45 +0000 (20:23 +0200)]
rfc2136handler: Close socket when write fails
Fix for Coverity CID
1066217 .
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
Aki Tuomi [Tue, 27 Aug 2013 11:43:43 +0000 (14:43 +0300)]
Add NULL initialization for d_c on httpconnector
Kees Monshouwer [Mon, 26 Aug 2013 21:26:43 +0000 (23:26 +0200)]
fix ringbuffer size decrease
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
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.
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
Christian Hofstaedtler [Sat, 24 Aug 2013 19:54:25 +0000 (21:54 +0200)]
Show built-in features in --version output
Aki Tuomi [Sat, 24 Aug 2013 18:11:17 +0000 (21:11 +0300)]
Documentation for include-dir, fixes #967
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
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 .
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.
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 .
Christian Hofstaedtler [Sat, 24 Aug 2013 12:56:40 +0000 (14:56 +0200)]
Fix a typo in the webserver docs
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.
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
1029992 ,
1029999
Christian Hofstaedtler [Fri, 23 Aug 2013 17:39:04 +0000 (19:39 +0200)]
update LUABackend::setDomainMetadata signature
Found by Coverity Scan. Compile-tested only.
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.
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
Christian Hofstaedtler [Thu, 22 Aug 2013 07:41:40 +0000 (09:41 +0200)]
drop unused variables from class Server
Peter van Dijk [Wed, 21 Aug 2013 18:34:15 +0000 (11:34 -0700)]
Merge pull request #963 from zeha/webserver
Webserver changes
Christian Hofstaedtler [Wed, 21 Aug 2013 18:23:20 +0000 (20:23 +0200)]
Theoretically support non-GET requests in recursor webserver
Peter van Dijk [Wed, 21 Aug 2013 18:32:16 +0000 (11:32 -0700)]
Merge pull request #962 from zeha/domaininfo
DomainInfo changes
Christian Hofstaedtler [Wed, 21 Aug 2013 16:14:31 +0000 (18:14 +0200)]
add convience getKindString to DomainInfo
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.
Christian Hofstaedtler [Wed, 21 Aug 2013 10:30:12 +0000 (12:30 +0200)]
'correct' casing of Content-Type header in error messages
Peter van Dijk [Wed, 21 Aug 2013 18:21:25 +0000 (11:21 -0700)]
Merge pull request #950 from cyclops1982/coverity
Coverity fixes
Peter van Dijk [Wed, 21 Aug 2013 18:20:19 +0000 (11:20 -0700)]
Merge pull request #959 from zeha/ignore
Update gitignore files
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
Peter van Dijk [Wed, 21 Aug 2013 17:27:35 +0000 (19:27 +0200)]
drop do-regress
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.
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)
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
Aki Tuomi [Wed, 21 Aug 2013 07:28:39 +0000 (10:28 +0300)]
Changed backend to connector for remotebackend docs
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
Kees Monshouwer [Fri, 16 Aug 2013 22:44:56 +0000 (00:44 +0200)]
filling 'ordename' and 'auth'
Ruben d'Arco [Fri, 16 Aug 2013 18:41:58 +0000 (20:41 +0200)]
Improved error message for socketfile not found
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
Ruben d'Arco [Fri, 16 Aug 2013 17:55:40 +0000 (19:55 +0200)]
Remove unused parent pointer (coverity fix)