]> granicus.if.org Git - pdns/log
pdns
10 years agoMerge pull request #1177 from ahupowerdns/master
Peter van Dijk [Tue, 24 Dec 2013 18:16:35 +0000 (10:16 -0800)]
Merge pull request #1177 from ahupowerdns/master

dontanswer - lua mode to cause powerdns to drop a packet

10 years agoMerge pull request #1 from zmallen/dontanswer
bert hubert [Mon, 23 Dec 2013 21:15:30 +0000 (13:15 -0800)]
Merge pull request #1 from zmallen/dontanswer

Dontanswer

10 years agoadd polarssl padlock support to recursor dist+make to presumably fix i386 build
Peter van Dijk [Mon, 23 Dec 2013 20:46:45 +0000 (21:46 +0100)]
add polarssl padlock support to recursor dist+make to presumably fix i386 build

10 years agoinclude for uint32_t
Peter van Dijk [Mon, 23 Dec 2013 20:36:09 +0000 (21:36 +0100)]
include for uint32_t

10 years agotoysdig needs polar for dns_random/AES
Peter van Dijk [Mon, 23 Dec 2013 20:35:59 +0000 (21:35 +0100)]
toysdig needs polar for dns_random/AES

10 years agoMerge pull request #1170 from mind04/aes
Peter van Dijk [Mon, 23 Dec 2013 20:12:10 +0000 (12:12 -0800)]
Merge pull request #1170 from mind04/aes

switch to polarssl aes

10 years agofix recursor Makefile
Kees Monshouwer [Mon, 23 Dec 2013 19:42:32 +0000 (20:42 +0100)]
fix recursor Makefile
thanks @zeha, @habbie

10 years agoMerge pull request #1148 from i-maravic/master
Peter van Dijk [Mon, 23 Dec 2013 13:27:58 +0000 (05:27 -0800)]
Merge pull request #1148 from i-maravic/master

Terminate pdns process after SIGINT

10 years agoMerge pull request #1165 from mind04/chaos
Peter van Dijk [Mon, 23 Dec 2013 09:29:00 +0000 (01:29 -0800)]
Merge pull request #1165 from mind04/chaos

Improve non IN qclass behavior and add id.server to CHAOS handler

10 years agoMerge pull request #1168 from mzealey/cache-root-referral-arg
Peter van Dijk [Mon, 23 Dec 2013 09:22:34 +0000 (01:22 -0800)]
Merge pull request #1168 from mzealey/cache-root-referral-arg

On testing with large numbers of unknown domains the send-root-referral

10 years agoMerge pull request #1169 from mzealey/no-created-time
Peter van Dijk [Mon, 23 Dec 2013 09:20:58 +0000 (01:20 -0800)]
Merge pull request #1169 from mzealey/no-created-time

Remove AnswerData.created time field as it doesn't seem to be referenced...

10 years agoMerge pull request #1175 from mind04/remote
Peter van Dijk [Mon, 23 Dec 2013 09:19:21 +0000 (01:19 -0800)]
Merge pull request #1175 from mind04/remote

reorder remote backend test environment setup

10 years agoreorder remote backend test environment setup
Kees Monshouwer [Sat, 21 Dec 2013 22:39:49 +0000 (23:39 +0100)]
reorder remote backend test environment setup

10 years agoUpdated global PDNS log table with DROP and PASS values to return on the stack for...
Zack Allen [Fri, 20 Dec 2013 21:28:21 +0000 (16:28 -0500)]
Updated global PDNS log table with DROP and PASS values to return on the stack for passthrough. This allows for users issue a dontanswer type to drop and not process any unwanted queries. Updated the example script to reflect changes. Updated the pdns.xml to reflect changes

10 years agotest to allow all lua steps to instruct powerdns not to answer a question
bert hubert [Fri, 20 Dec 2013 16:08:58 +0000 (17:08 +0100)]
test to allow all lua steps to instruct powerdns not to answer a question

10 years agoremove 'anonymous' mode from server.id and 'disabled' mode from version.bind
Kees Monshouwer [Mon, 9 Dec 2013 08:49:48 +0000 (09:49 +0100)]
remove 'anonymous' mode from server.id and 'disabled' mode from version.bind

10 years agoAdd support for id.server requests following RFC 4892
Devdas Bhagat [Fri, 6 Dec 2013 11:18:17 +0000 (12:18 +0100)]
Add support for id.server requests following RFC 4892

10 years agodon't send TC=1 for ANY and SERVFAIL for direct fancy records queries if qclass is...
Kees Monshouwer [Fri, 6 Dec 2013 23:15:18 +0000 (00:15 +0100)]
don't send TC=1 for ANY and SERVFAIL for direct fancy records queries if qclass is not IN

10 years agouse polarssl aes in recursor
Kees Monshouwer [Sat, 14 Dec 2013 23:13:48 +0000 (00:13 +0100)]
use polarssl aes in recursor

10 years agoswitch to polarssl aes
Kees Monshouwer [Sat, 14 Dec 2013 20:19:54 +0000 (21:19 +0100)]
switch to polarssl aes

10 years ago3.3.1 upgrade notes
Peter van Dijk [Tue, 17 Dec 2013 18:14:16 +0000 (19:14 +0100)]
3.3.1 upgrade notes

10 years agostamp 3.3.1, add links
Peter van Dijk [Tue, 17 Dec 2013 17:34:45 +0000 (18:34 +0100)]
stamp 3.3.1, add links

10 years agoMerge pull request #1172 from mind04/direct-dnskey
Peter van Dijk [Tue, 17 Dec 2013 13:13:13 +0000 (05:13 -0800)]
Merge pull request #1172 from mind04/direct-dnskey

remove experimental status from direct-dnskey

10 years agomake 3.3.1 changelog somewhat readable
Peter van Dijk [Tue, 17 Dec 2013 12:10:11 +0000 (13:10 +0100)]
make 3.3.1 changelog somewhat readable

10 years agoupdate debian pdns.conf
Kees Monshouwer [Tue, 17 Dec 2013 10:12:31 +0000 (11:12 +0100)]
update debian pdns.conf

10 years agoremove experimental status from direct-dnskey
Kees Monshouwer [Tue, 17 Dec 2013 09:19:55 +0000 (10:19 +0100)]
remove experimental status from direct-dnskey

10 years agoadd rest of 3.3.1 commits to draft changelog
Peter van Dijk [Tue, 17 Dec 2013 11:10:25 +0000 (12:10 +0100)]
add rest of 3.3.1 commits to draft changelog

10 years agook, so it turns out that poll, select and a few other system calls can return EINTR...
bert hubert [Mon, 16 Dec 2013 12:19:52 +0000 (13:19 +0100)]
ok, so it turns out that poll, select and a few other system calls can return EINTR when we receive and interrupt, and we need to manually restart. man 7 signal makes for good reading on this case, as does http://blog.reverberate.org/2011/04/eintr-and-pc-loser-ing-is-better-case.html

10 years agodon't skip remotebackend unix tests
Peter van Dijk [Sun, 15 Dec 2013 09:15:08 +0000 (10:15 +0100)]
don't skip remotebackend unix tests

10 years agoRemove AnswerData.created time field as it doesn't seem to be referenced anywhere...
Mark Zealey [Sat, 14 Dec 2013 21:38:09 +0000 (23:38 +0200)]
Remove AnswerData.created time field as it doesn't seem to be referenced anywhere and the time() call seems to take about 1-2% of process time under high load.

10 years agoOn testing with large numbers of unknown domains the send-root-referral
Mark Zealey [Fri, 13 Dec 2013 20:39:47 +0000 (22:39 +0200)]
On testing with large numbers of unknown domains the send-root-referral
argument query amounted to quite a high proportion of CPU time. This will cache
it to reduce this overhead as is already done with a number of variables.

10 years agouse PATH for socat
Peter van Dijk [Fri, 13 Dec 2013 12:07:41 +0000 (13:07 +0100)]
use PATH for socat

10 years agomake our bash invocations more portable
Peter van Dijk [Fri, 13 Dec 2013 11:26:17 +0000 (12:26 +0100)]
make our bash invocations more portable

10 years agonit
Peter van Dijk [Fri, 13 Dec 2013 11:18:29 +0000 (12:18 +0100)]
nit

10 years agoMerge pull request #1167 from Habbie/polarssl-update
Peter van Dijk [Fri, 13 Dec 2013 11:07:45 +0000 (03:07 -0800)]
Merge pull request #1167 from Habbie/polarssl-update

Polarssl 1.3.2 update

10 years agonit
Peter van Dijk [Fri, 13 Dec 2013 10:21:49 +0000 (11:21 +0100)]
nit

10 years agoagain add -fPIC so we can build PIE executables, for better security
Peter van Dijk [Fri, 13 Dec 2013 08:23:14 +0000 (09:23 +0100)]
again add -fPIC so we can build PIE executables, for better security

10 years agoupgrade polarssl to 1.3.2; drop testsdir; add distdir target; make sure make check...
Peter van Dijk [Fri, 13 Dec 2013 08:03:03 +0000 (09:03 +0100)]
upgrade polarssl to 1.3.2; drop testsdir; add distdir target; make sure make check does not abort

10 years agodon't bomb out for unused modules during remotebackend make check, thanks @cmouse
Peter van Dijk [Tue, 10 Dec 2013 14:10:40 +0000 (15:10 +0100)]
don't bomb out for unused modules during remotebackend make check, thanks @cmouse

10 years agofrom orbit. just to be sure.
Peter van Dijk [Tue, 10 Dec 2013 12:59:48 +0000 (13:59 +0100)]
from orbit. just to be sure.

10 years agoMerge pull request #1164 from cmouse/goracle-docs-update
Peter van Dijk [Tue, 10 Dec 2013 10:21:16 +0000 (02:21 -0800)]
Merge pull request #1164 from cmouse/goracle-docs-update

Use sql file instead for goracle schema

10 years agoUse sql file instead for goracle schema
Aki Tuomi [Tue, 10 Dec 2013 09:53:50 +0000 (11:53 +0200)]
Use sql file instead for goracle schema

10 years agonit
Peter van Dijk [Tue, 10 Dec 2013 09:05:08 +0000 (10:05 +0100)]
nit

10 years agoMerge pull request #1124 from cmouse/remotebackend-0mq-connector
Peter van Dijk [Tue, 10 Dec 2013 08:53:26 +0000 (00:53 -0800)]
Merge pull request #1124 from cmouse/remotebackend-0mq-connector

Remotebackend 0mq connector

10 years agoMerge pull request #1163 from cmouse/gsql-add-primary-key
Peter van Dijk [Tue, 10 Dec 2013 08:26:26 +0000 (00:26 -0800)]
Merge pull request #1163 from cmouse/gsql-add-primary-key

Add primary key to schemas

10 years agoUpdate documention
Aki Tuomi [Tue, 10 Dec 2013 08:18:58 +0000 (10:18 +0200)]
Update documention

10 years agolibzmq3 compability fixes
Aki Tuomi [Mon, 9 Dec 2013 21:27:28 +0000 (23:27 +0200)]
libzmq3 compability fixes

10 years agoWait until processes die before exiting
Aki Tuomi [Mon, 9 Dec 2013 21:27:14 +0000 (23:27 +0200)]
Wait until processes die before exiting

10 years agoFixed goracle schema white space
Aki Tuomi [Mon, 9 Dec 2013 20:47:11 +0000 (22:47 +0200)]
Fixed goracle schema white space

10 years agoAdd primary key to schemas
Aki Tuomi [Mon, 9 Dec 2013 20:40:07 +0000 (22:40 +0200)]
Add primary key to schemas

10 years agoMerge pull request #1162 from cmouse/nullify-webserver-d_server
Peter van Dijk [Mon, 9 Dec 2013 20:24:29 +0000 (12:24 -0800)]
Merge pull request #1162 from cmouse/nullify-webserver-d_server

Sets d_server to NULL on failed initialization

10 years agoFix typo in TEST_ENVIRONMENT to allow zeromq test suite to run
Aki Tuomi [Mon, 9 Dec 2013 20:00:21 +0000 (22:00 +0200)]
Fix typo in TEST_ENVIRONMENT to allow zeromq test suite to run

10 years agoEnable zeromq for remotebackend
Aki Tuomi [Thu, 28 Nov 2013 13:14:29 +0000 (15:14 +0200)]
Enable zeromq for remotebackend

10 years agoMerge pull request #1161 from cmouse/gsql-supermaster-dualstack
Peter van Dijk [Mon, 9 Dec 2013 18:54:33 +0000 (10:54 -0800)]
Merge pull request #1161 from cmouse/gsql-supermaster-dualstack

WIP: Gsql supermaster dualstack

10 years agoSets d_server to NULL on failed initialization
Aki Tuomi [Mon, 9 Dec 2013 18:24:38 +0000 (20:24 +0200)]
Sets d_server to NULL on failed initialization

10 years agoCheck that the domain isn't already served by the new master
Aki Tuomi [Mon, 9 Dec 2013 18:16:31 +0000 (20:16 +0200)]
Check that the domain isn't already served by the new master

10 years agoMerge pull request #1160 from cmouse/remotebackend-pipe-connector-1137
Peter van Dijk [Mon, 9 Dec 2013 13:45:30 +0000 (05:45 -0800)]
Merge pull request #1160 from cmouse/remotebackend-pipe-connector-1137

Align with pipebackend as per #1137 and #661

10 years agoAdd comments
Aki Tuomi [Mon, 9 Dec 2013 12:33:45 +0000 (14:33 +0200)]
Add comments

10 years agoRemove unnecessary if block
Aki Tuomi [Mon, 9 Dec 2013 12:13:22 +0000 (14:13 +0200)]
Remove unnecessary if block

10 years agoSQL statements required by multi-ip master
Aki Tuomi [Mon, 9 Dec 2013 12:06:54 +0000 (14:06 +0200)]
SQL statements required by multi-ip master

10 years agoImplementation for multi-ip master
Aki Tuomi [Mon, 9 Dec 2013 12:06:28 +0000 (14:06 +0200)]
Implementation for multi-ip master

10 years agoAlign with pipebackend as per #1137 and #661
Aki Tuomi [Mon, 9 Dec 2013 11:37:16 +0000 (13:37 +0200)]
Align with pipebackend as per #1137 and #661

10 years agoMerge pull request #1137 from mzealey/pipe-backend-spinlock
Peter van Dijk [Mon, 9 Dec 2013 09:48:38 +0000 (01:48 -0800)]
Merge pull request #1137 from mzealey/pipe-backend-spinlock

fixes PowerDNS/pdns/#661

10 years agoMerge pull request #1136 from mzealey/backend-cache-optimization
Peter van Dijk [Mon, 9 Dec 2013 09:45:11 +0000 (01:45 -0800)]
Merge pull request #1136 from mzealey/backend-cache-optimization

fixes PowerDNS/pdns#693

10 years agoMerge pull request #1134 from mzealey/forcesoa
Peter van Dijk [Mon, 9 Dec 2013 09:40:01 +0000 (01:40 -0800)]
Merge pull request #1134 from mzealey/forcesoa

fixes PowerDNS/pdns#692

10 years agoTerminate pdns process after SIGINT
Igor Maravic [Tue, 3 Dec 2013 19:47:42 +0000 (20:47 +0100)]
Terminate pdns process after SIGINT

10 years agoMerge pull request #1156 from cmouse/docs-mention-pdns_remotebackend
Peter van Dijk [Fri, 6 Dec 2013 09:24:32 +0000 (01:24 -0800)]
Merge pull request #1156 from cmouse/docs-mention-pdns_remotebackend

Added mentioning about pdns_remotebackend libs

10 years agoMerge pull request #1155 from mzealey/socket-bind-failure-errormsg
Peter van Dijk [Fri, 6 Dec 2013 09:03:22 +0000 (01:03 -0800)]
Merge pull request #1155 from mzealey/socket-bind-failure-errormsg

Log nice error messages when creating a socket fails

10 years agoAdded mentioning about pdns_remotebackend libs
Aki Tuomi [Fri, 6 Dec 2013 08:51:33 +0000 (10:51 +0200)]
Added mentioning about pdns_remotebackend libs

10 years agolog nice error message as well as throwing exception
Mark Zealey [Fri, 6 Dec 2013 08:34:15 +0000 (10:34 +0200)]
log nice error message as well as throwing exception

10 years agoMerge pull request #1153 from mind04/tests
Peter van Dijk [Fri, 6 Dec 2013 08:24:46 +0000 (00:24 -0800)]
Merge pull request #1153 from mind04/tests

add DS at both sides of zone-cut test

10 years agomake sure to run PKG_PROG_PKG_CONFIG before the first PKG_* usage
Peter van Dijk [Thu, 5 Dec 2013 19:09:09 +0000 (20:09 +0100)]
make sure to run PKG_PROG_PKG_CONFIG before the first PKG_* usage

10 years agoMerge pull request #1146 from mind04/buildscripts
Peter van Dijk [Thu, 5 Dec 2013 14:31:43 +0000 (06:31 -0800)]
Merge pull request #1146 from mind04/buildscripts

add test specs to dist tarball

10 years agoauth 3.3.1 changelog draft
Peter van Dijk [Thu, 5 Dec 2013 14:24:19 +0000 (15:24 +0100)]
auth 3.3.1 changelog draft

10 years agoadd DS at both sides of zone-cut test
Kees Monshouwer [Wed, 4 Dec 2013 18:28:45 +0000 (19:28 +0100)]
add DS at both sides of zone-cut test

10 years agowe dont't generate useless NSECs in delegations
Kees Monshouwer [Wed, 4 Dec 2013 17:50:52 +0000 (18:50 +0100)]
we dont't generate useless NSECs in delegations

10 years agoMerge pull request #1150 from mind04/tsig2
Peter van Dijk [Wed, 4 Dec 2013 08:05:42 +0000 (00:05 -0800)]
Merge pull request #1150 from mind04/tsig2

fix hmac-md5 TSIG key lookup

10 years agofix hmac-md5 TSIG key lookup
Kees Monshouwer [Tue, 3 Dec 2013 23:34:39 +0000 (00:34 +0100)]
fix hmac-md5 TSIG key lookup

10 years agoadd test spec to recursor tarball
Kees Monshouwer [Tue, 3 Dec 2013 19:07:57 +0000 (20:07 +0100)]
add test spec to recursor tarball

10 years agoadd test spec to auth tarball
Kees Monshouwer [Tue, 3 Dec 2013 12:27:09 +0000 (13:27 +0100)]
add test spec to auth tarball

10 years agoMerge pull request #1142 from mind04/buildscripts
Peter van Dijk [Tue, 3 Dec 2013 10:34:04 +0000 (02:34 -0800)]
Merge pull request #1142 from mind04/buildscripts

Buildscripts

10 years agomove spec files to redhat directory
Kees Monshouwer [Tue, 3 Dec 2013 10:32:20 +0000 (11:32 +0100)]
move spec files to redhat directory

10 years agotestbuild spec files for rawhide
Kees Monshouwer [Tue, 3 Dec 2013 10:13:43 +0000 (11:13 +0100)]
testbuild spec files for rawhide

10 years agouse sed in buildscripts
Kees Monshouwer [Tue, 3 Dec 2013 10:05:35 +0000 (11:05 +0100)]
use sed in buildscripts

10 years agodrop unused vars, thanks Morten Stevens
Peter van Dijk [Tue, 3 Dec 2013 08:31:18 +0000 (09:31 +0100)]
drop unused vars, thanks Morten Stevens

10 years agopresumably fix building on os x 10.9, thanks @mactijn
Peter van Dijk [Mon, 2 Dec 2013 14:18:40 +0000 (15:18 +0100)]
presumably fix building on os x 10.9, thanks @mactijn

10 years agoallow overriding MAKE in regression tests
Peter van Dijk [Mon, 2 Dec 2013 12:48:44 +0000 (13:48 +0100)]
allow overriding MAKE in regression tests

10 years agofixes PowerDNS/pdns#693
Mark Zealey [Mon, 2 Dec 2013 09:24:52 +0000 (11:24 +0200)]
fixes PowerDNS/pdns#693

removes number of static variables and makes them class, also optimizes if query cache is disabled.

10 years agofixes PowerDNS/pdns#692
Mark Zealey [Mon, 2 Dec 2013 09:19:24 +0000 (11:19 +0200)]
fixes PowerDNS/pdns#692

For the second time when writing a backend I forgot that an ANY query needs to return any SOA data as well. This is because we store our SOA's separately from our other DNS data in order to optimize zone lookups. According to Habbie MyDNS backend has the same bug. The attached patch basically forces an SOA to be included which is actually much more optimal than anything I can do in my backends as I don't have easy access to the knowledge of:

* sd data structure;
* is this query also an SOA

meaning that if I answer it in the backend I have to do a number of additional lookups for information that is already available in the PacketHandler. Additionally, I notice that you are basically doing all the SOA setup anyway if there is anything looking like an SOA entry. So, all this patch does is strip out any SOA entries and then insert one if there should be. This seems to me to both potentially simplify backend code and fix up any user errors more accurately than the current code does.

10 years agofixes PowerDNS/pdns/#661
Mark Zealey [Mon, 2 Dec 2013 09:07:00 +0000 (11:07 +0200)]
fixes PowerDNS/pdns/#661

I was doing some performance testing on our 32-way servers and discovered that in the simple case where the test program returns the data straight away, about 80% of the time was being spent in the kernel in a spinlock. I've been debugging this looking at the coprocess code and discovered that this is due to the following line in coprocess.cc:

setbuf(d_fp,0); // no buffering please, confuses select

If this is removed, performance in my particular test case goes from 2000qps with powerdns running at about 2000% cpu to 10000qps with powerdns using about 300% cpu.

Obviously the comment implies that this is not a permanent solution, I guess if the timeout is specified as 0 then the select code won't be executed and so you can disable the setbuf easily enough. However perhaps if the timeout is wanted you could set an alarm() rather than using select?

10 years agoMerge pull request #1126 from mind04/libcurl
Peter van Dijk [Fri, 29 Nov 2013 07:31:27 +0000 (23:31 -0800)]
Merge pull request #1126 from mind04/libcurl

remotebackend libcurl linking

10 years agoremotebackend libcurl linking
Kees Monshouwer [Thu, 28 Nov 2013 21:01:53 +0000 (22:01 +0100)]
remotebackend libcurl linking

10 years agomake luabackend respect LUA_LIBS instead of forcing -llua5.1
Peter van Dijk [Fri, 29 Nov 2013 07:20:11 +0000 (08:20 +0100)]
make luabackend respect LUA_LIBS instead of forcing -llua5.1

10 years agore-fix compilation for new polarssl
Peter van Dijk [Fri, 29 Nov 2013 07:00:21 +0000 (08:00 +0100)]
re-fix compilation for new polarssl

10 years agofix lua 5.2 version check in luabackend
Peter van Dijk [Fri, 29 Nov 2013 06:39:47 +0000 (07:39 +0100)]
fix lua 5.2 version check in luabackend

10 years agosend +CD in recursive nsec3dig, requested by Marco Davids
Peter van Dijk [Thu, 28 Nov 2013 12:54:06 +0000 (13:54 +0100)]
send +CD in recursive nsec3dig, requested by Marco Davids

10 years agoMerge pull request #1123 from mind04/coverity
Peter van Dijk [Thu, 28 Nov 2013 08:54:00 +0000 (00:54 -0800)]
Merge pull request #1123 from mind04/coverity

some by coverity inspired cleanup

10 years agocleanup hmac calculation functions
Kees Monshouwer [Thu, 28 Nov 2013 07:56:06 +0000 (08:56 +0100)]
cleanup hmac calculation functions

10 years agoremove some unused variables from gsqlbackend
Kees Monshouwer [Thu, 28 Nov 2013 07:49:04 +0000 (08:49 +0100)]
remove some unused variables from gsqlbackend

10 years agoMerge pull request #1121 from mind04/windows
Peter van Dijk [Mon, 25 Nov 2013 15:15:23 +0000 (07:15 -0800)]
Merge pull request #1121 from mind04/windows

drop another windows chapter