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

11 years agoupdate documentation about our pdns-tools
bert hubert [Fri, 26 Jul 2013 12:30:16 +0000 (14:30 +0200)]
update documentation about our pdns-tools

11 years agojust fill out domains
Peter van Dijk [Thu, 25 Jul 2013 09:19:10 +0000 (11:19 +0200)]
just fill out domains

11 years agoMerge pull request #925 from cyclops1982/patch-1
Peter van Dijk [Wed, 24 Jul 2013 07:58:17 +0000 (00:58 -0700)]
Merge pull request #925 from cyclops1982/patch-1

Update pdns.xml

11 years agoUpdate pdns.xml
Ruben [Wed, 24 Jul 2013 06:37:53 +0000 (08:37 +0200)]
Update pdns.xml

Small update to docs, spotted by sid3windr

11 years agoactually notice timeout during AXFR retrieve, thanks hkraal
Peter van Dijk [Tue, 23 Jul 2013 13:24:37 +0000 (15:24 +0200)]
actually notice timeout during AXFR retrieve, thanks hkraal

11 years agoremove version_generated.h on clean
Peter van Dijk [Tue, 23 Jul 2013 10:18:20 +0000 (12:18 +0200)]
remove version_generated.h on clean

11 years agoMerge pull request #825 from dev-zero/master
Peter van Dijk [Tue, 23 Jul 2013 09:49:53 +0000 (02:49 -0700)]
Merge pull request #825 from dev-zero/master

Various build system fixes (3rd try)

11 years agodrop config.h from make dist
Peter van Dijk [Tue, 23 Jul 2013 09:35:29 +0000 (11:35 +0200)]
drop config.h from make dist

11 years agoimprove make distclean
Peter van Dijk [Tue, 23 Jul 2013 08:16:34 +0000 (10:16 +0200)]
improve make distclean

11 years agoMerge pull request #922 from cyclops1982/rfc2136
Peter van Dijk [Tue, 23 Jul 2013 05:50:25 +0000 (22:50 -0700)]
Merge pull request #922 from cyclops1982/rfc2136

Small improvements on change tracking for rfc2136

11 years agoMerge pull request #911 from stbuehler/fix-inception-increment
Peter van Dijk [Mon, 22 Jul 2013 20:41:10 +0000 (13:41 -0700)]
Merge pull request #911 from stbuehler/fix-inception-increment

SOA-EDIT: fix INCEPTION-INCREMENT handling

11 years agoMerge pull request #921 from cyclops1982/429
Peter van Dijk [Mon, 22 Jul 2013 20:28:17 +0000 (13:28 -0700)]
Merge pull request #921 from cyclops1982/429

429

11 years agoFix truncating bug
Ruben d'Arco [Mon, 22 Jul 2013 20:23:25 +0000 (22:23 +0200)]
Fix truncating bug

11 years agoIntending
Ruben d'Arco [Mon, 22 Jul 2013 19:31:51 +0000 (21:31 +0200)]
Intending

11 years agochangedRecords is now a uint and with a normal name again.
Ruben d'Arco [Mon, 22 Jul 2013 17:33:47 +0000 (19:33 +0200)]
changedRecords is now a uint and with a normal name again.

11 years agoCorrectl changedRec for deleting RRs
Ruben d'Arco [Mon, 22 Jul 2013 17:15:28 +0000 (19:15 +0200)]
Correctl changedRec for deleting RRs

11 years agoCorrect changed record numbers for add/update
Ruben d'Arco [Mon, 22 Jul 2013 16:43:02 +0000 (18:43 +0200)]
Correct changed record numbers for add/update

11 years agoNIt
Ruben d'Arco [Mon, 22 Jul 2013 16:23:45 +0000 (18:23 +0200)]
NIt

11 years agoOnly commit & purge cache when we have changed
Ruben d'Arco [Mon, 22 Jul 2013 16:17:03 +0000 (18:17 +0200)]
Only commit & purge cache when we have changed

11 years agoReplace PolarSSL-conditionals in Makefile.am and trust the include dirs
Tiziano Müller [Mon, 20 May 2013 13:43:05 +0000 (15:43 +0200)]
Replace PolarSSL-conditionals in Makefile.am and trust the include dirs

Different ways of using the bundled PolarSSL have been used (-L.. vs
if/then/else). Replace this by defining POLARSSL_CFLAGS/_LIBS/_SUBDIR in
configure.ac and use that in all makefiles. Remove includes based on the
preprocessor HAVE_LIBPOLARSSL definition and trust the CFLAGS set in the
environment to point to the correct directory for the PolarSSL include.

11 years agoenable v6 in recursor bulktest
Peter van Dijk [Mon, 22 Jul 2013 09:24:52 +0000 (11:24 +0200)]
enable v6 in recursor bulktest

11 years ago-x
Peter van Dijk [Mon, 22 Jul 2013 07:04:12 +0000 (09:04 +0200)]
-x

11 years agoMerge branch '429' of github.com:cyclops1982/pdns into cyclops1982-429
Peter van Dijk [Mon, 22 Jul 2013 06:42:16 +0000 (08:42 +0200)]
Merge branch '429' of github.com:cyclops1982/pdns into cyclops1982-429

11 years agoMerge pull request #919 from mind04/tsig-name
Peter van Dijk [Mon, 22 Jul 2013 06:28:35 +0000 (23:28 -0700)]
Merge pull request #919 from mind04/tsig-name

no label compression for name in TSIG records

11 years agoMerge pull request #918 from cyclops1982/rfc2136
Peter van Dijk [Mon, 22 Jul 2013 06:27:49 +0000 (23:27 -0700)]
Merge pull request #918 from cyclops1982/rfc2136

Remove old test config

11 years agoclarify
Peter van Dijk [Mon, 22 Jul 2013 06:27:36 +0000 (08:27 +0200)]
clarify

11 years agoMerge pull request #920 from mind04/locking2
Peter van Dijk [Mon, 22 Jul 2013 06:24:20 +0000 (23:24 -0700)]
Merge pull request #920 from mind04/locking2

add innodb-read-committed option

11 years agoRestructure system PolarSSL detection
Tiziano Müller [Mon, 20 May 2013 13:32:02 +0000 (15:32 +0200)]
Restructure system PolarSSL detection

Based on the chapter "Automatic Dependencies with AC_ARG_WITH" of the
Autotools Mythbuster eBook, fix the system PolarSSL detection and
recognize both --with/without-system-polarssl properly. Furthermore,
set the HAVE_LIBPOLARSSL automake variable conditionally. Otherwise pdns will
use the included headers but link against the system polarssl resulting in
subtle breaks.

11 years agoUse LUA_CFLAGS and LUA_LIBS instead of hardcoded paths.
Tiziano Müller [Mon, 20 May 2013 13:31:32 +0000 (15:31 +0200)]
Use LUA_CFLAGS and LUA_LIBS instead of hardcoded paths.

11 years agoFix false libtool variable: _LIBS -> _LIBADD
Tiziano Müller [Mon, 20 May 2013 13:07:56 +0000 (15:07 +0200)]
Fix false libtool variable: _LIBS -> _LIBADD

_LIBS is not a libtool variable, thus the remotebackend module does not
get linked to libcurl. Fix this by using _LIBADD instead.

11 years agoRevert "add transaction-isolation=READ-COMMITTED to my.cnf in travis.yml"
Kees Monshouwer [Sat, 20 Jul 2013 21:26:16 +0000 (23:26 +0200)]
Revert "add transaction-isolation=READ-COMMITTED to my.cnf in travis.yml"

This reverts commit 0927a821c21ddf7c1d2aed59b48e47a39db47c26.

11 years agoadd innodb-read-committed option
Kees Monshouwer [Fri, 12 Jul 2013 10:26:09 +0000 (12:26 +0200)]
add innodb-read-committed option