]> granicus.if.org Git - pdns/log
pdns
15 years agoupdate statistics for answers served from the packet cache
Bert Hubert [Mon, 11 Jan 2010 01:20:43 +0000 (01:20 +0000)]
update statistics for answers served from the packet cache

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1498 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agofix up the statistics of packets with errors again, plus unexpected packets were...
Bert Hubert [Sun, 10 Jan 2010 09:29:29 +0000 (09:29 +0000)]
fix up the statistics of packets with errors again, plus unexpected packets were double counted

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1497 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoimplement 'rec_control get-all' to get all stats, plus remove dead 'shunt' statistics
Bert Hubert [Sun, 10 Jan 2010 08:30:52 +0000 (08:30 +0000)]
implement 'rec_control get-all' to get all stats, plus remove dead 'shunt' statistics

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1496 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd packetcache statistics, plus 'unexpected' counts, plus fix up some confusing...
Bert Hubert [Sun, 10 Jan 2010 08:24:35 +0000 (08:24 +0000)]
add packetcache statistics, plus 'unexpected' counts, plus fix up some confusing colors

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1495 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agocatch errors in the packetcache and report them (and don't crash)
Bert Hubert [Thu, 7 Jan 2010 16:11:37 +0000 (16:11 +0000)]
catch errors in the packetcache and report them (and don't crash)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1494 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd packetcache statistics, plus qps counter in statistics. remove edns stats since...
Bert Hubert [Thu, 7 Jan 2010 11:57:04 +0000 (11:57 +0000)]
add packetcache statistics, plus qps counter in statistics. remove edns stats since we stopped doing edns probing.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1493 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agono longer log response packets with an empty domain name - pretty common
Bert Hubert [Thu, 7 Jan 2010 11:55:53 +0000 (11:55 +0000)]
no longer log response packets with an empty domain name - pretty common

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1492 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agothe documentation updates including the security vulnerabilities
Bert Hubert [Thu, 7 Jan 2010 11:55:11 +0000 (11:55 +0000)]
the documentation updates including the security vulnerabilities

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1491 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomake ilexicographical_compare be unsigned - does not matter in practice, but makes...
Bert Hubert [Thu, 7 Jan 2010 11:54:28 +0000 (11:54 +0000)]
make ilexicographical_compare be unsigned - does not matter in practice, but makes more sense for human observers

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1490 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomake the 'pimp' multithreading communicator typesafe
Bert Hubert [Mon, 4 Jan 2010 21:30:07 +0000 (21:30 +0000)]
make the 'pimp' multithreading communicator typesafe

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1489 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agofix up packet cache comparison function, solving A and AAAA queries getting the same...
Bert Hubert [Mon, 4 Jan 2010 18:40:01 +0000 (18:40 +0000)]
fix up packet cache comparison function, solving A and AAAA queries getting the same answer

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1488 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agofix up compilation error (oops), plus move around initialization of global setting...
Bert Hubert [Sun, 3 Jan 2010 11:45:03 +0000 (11:45 +0000)]
fix up compilation error (oops), plus move around initialization of global setting away from the threads

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1487 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoremove 'top-remotes' functionality for now (not ready for the new (non)threaded world)
Bert Hubert [Sun, 3 Jan 2010 11:36:50 +0000 (11:36 +0000)]
remove 'top-remotes' functionality for now (not ready for the new (non)threaded world)
move over all statistics and rec_control commands to the 'PiMP' multithreading technology
Make sure each thread still does cleanup, but that only thread 0 will deal with SIGUSR1

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1486 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd tsig-tests.cc, and make sure it can be compiled
Bert Hubert [Sun, 3 Jan 2010 09:39:19 +0000 (09:39 +0000)]
add tsig-tests.cc, and make sure it can be compiled

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1485 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoremove last traces of locking in recursor cache, plus reinstate cache aging, plus...
Bert Hubert [Sat, 2 Jan 2010 19:30:14 +0000 (19:30 +0000)]
remove last traces of locking in recursor cache, plus reinstate cache aging, plus properly zero counters

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1484 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoupdate recursor to version 3.2, update copyrights - happy new year!
Bert Hubert [Fri, 1 Jan 2010 08:52:40 +0000 (08:52 +0000)]
update recursor to version 3.2, update copyrights - happy new year!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1483 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agofix issues with encoding '.' - so we can be a root server again ;-)
Bert Hubert [Tue, 29 Dec 2009 09:28:33 +0000 (09:28 +0000)]
fix issues with encoding '.' - so we can be a root server again ;-)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1482 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agofix up pipebackend SRV support, discovered & patched by Daniel Drown, plus silence...
Bert Hubert [Mon, 28 Dec 2009 23:51:40 +0000 (23:51 +0000)]
fix up pipebackend SRV support, discovered & patched by Daniel Drown, plus silence warning about unsigned/signed comparison.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1481 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoclarify error message, plus further unify label transitions
Bert Hubert [Mon, 28 Dec 2009 22:52:44 +0000 (22:52 +0000)]
clarify error message, plus further unify label transitions

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1480 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoremove last bits of packet recursor cache locking, plus make sure our escaping rules...
Bert Hubert [Sun, 27 Dec 2009 22:18:42 +0000 (22:18 +0000)]
remove last bits of packet recursor cache locking, plus make sure our escaping rules are symmetrical

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1478 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoremove needless locking from recursor packet cache
Bert Hubert [Sun, 27 Dec 2009 21:45:43 +0000 (21:45 +0000)]
remove needless locking from recursor packet cache

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1477 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agofix up typo in previous commit
Bert Hubert [Sun, 27 Dec 2009 14:26:11 +0000 (14:26 +0000)]
fix up typo in previous commit

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1476 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoprevent duplicate SOA from appearing in case a response contains a CNAME and a SOA
Bert Hubert [Sun, 27 Dec 2009 14:22:45 +0000 (14:22 +0000)]
prevent duplicate SOA from appearing in case a response contains a CNAME and a SOA
zero the 'priority' field just to be sure in lwres.cc response handling

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1475 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd comments, remove some dead code, reorder functions and declarations so they make...
Bert Hubert [Sat, 26 Dec 2009 09:20:30 +0000 (09:20 +0000)]
add comments, remove some dead code, reorder functions and declarations so they make more sense

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1474 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agosplit up overly large pdns_recursor.cc, parts that deal with auth and forwarding...
Bert Hubert [Fri, 25 Dec 2009 22:41:13 +0000 (22:41 +0000)]
split up overly large pdns_recursor.cc, parts that deal with auth and forwarding now in 'reczones.cc'
remove multithreading from cache, it did not perform
add infrastructure for 'RPC' calls to other threads, for reloading ACLs, Lua Scripts, manipulating the cache etc
fix up ACL reloading and zone reloading

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1473 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoand the final bit of whitespace/tab cleanup
Bert Hubert [Thu, 24 Dec 2009 16:57:03 +0000 (16:57 +0000)]
and the final bit of whitespace/tab cleanup

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1472 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agorest of the big whitespace/tab cleanup
Bert Hubert [Thu, 24 Dec 2009 16:56:43 +0000 (16:56 +0000)]
rest of the big whitespace/tab cleanup

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1471 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoexpand speedtest infrastructure
Bert Hubert [Thu, 24 Dec 2009 16:54:31 +0000 (16:54 +0000)]
expand speedtest infrastructure

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1470 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoit turns out that boost::iequals is dog slow, introduce pdns_iequals which is 20...
Bert Hubert [Wed, 23 Dec 2009 23:18:16 +0000 (23:18 +0000)]
it turns out that boost::iequals is dog slow, introduce pdns_iequals which is 20 times faster, ditto for boost::ilexicographical_compare

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1469 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agosilence 'sdig' EDNS-PING output, replace Utility::strcasecmp by boost::iequals, remov...
Bert Hubert [Wed, 23 Dec 2009 21:47:46 +0000 (21:47 +0000)]
silence 'sdig' EDNS-PING output, replace Utility::strcasecmp by boost::iequals, remove some more dead code, speed up initial label parsing

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1468 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoremove dead getDirect() function
Bert Hubert [Wed, 23 Dec 2009 21:44:03 +0000 (21:44 +0000)]
remove dead getDirect() function

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1467 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoclose ticket 224, 'no referral when queried for SOA of subdomain'. regression test...
Bert Hubert [Tue, 22 Dec 2009 11:04:00 +0000 (11:04 +0000)]
close ticket 224, 'no referral when queried for SOA of subdomain'. regression test is 100% again.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1466 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd some documentation to the regression tests, plus fixed the 'any-query' to support...
Bert Hubert [Tue, 22 Dec 2009 11:01:23 +0000 (11:01 +0000)]
add some documentation to the regression tests, plus fixed the 'any-query' to support the DNSKEY
Plus fix up the 'same-level-referral-soa' test result, which was wrong

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1465 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd possibility to AXFR URL & MBOXFW fancy records
Bert Hubert [Tue, 22 Dec 2009 10:39:15 +0000 (10:39 +0000)]
add possibility to AXFR URL & MBOXFW fancy records

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1464 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agopdns init.d script neglected to mention 'reload' - closing ticket 233
Bert Hubert [Mon, 21 Dec 2009 20:58:52 +0000 (20:58 +0000)]
pdns init.d script neglected to mention 'reload' - closing ticket 233

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1463 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoclose ticket 239, 'make clean in recursor deletes optimization files', plus update...
Bert Hubert [Mon, 21 Dec 2009 20:43:58 +0000 (20:43 +0000)]
close ticket 239, 'make clean in recursor deletes optimization files', plus update documentation about make binclean & 64-bit performance.
Thanks to Stefan Schmidt for noticing.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1462 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agothis may _finally_ solve the complaints about 'mysql server has gone away'
Bert Hubert [Mon, 21 Dec 2009 20:33:22 +0000 (20:33 +0000)]
this may _finally_ solve the complaints about 'mysql server has gone away'
Backend error: Failed to execute mysql_query, perhaps connection died? Err=1: MySQL server has gone away
Closes ticket 237

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1461 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoclose ticket 235 about guardion typo
Bert Hubert [Mon, 21 Dec 2009 20:22:47 +0000 (20:22 +0000)]
close ticket 235 about guardion typo

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1460 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoread MySQL options, patch found in ticket 171 by chtekk@gentoo.org, see http://dev...
Bert Hubert [Mon, 21 Dec 2009 20:10:50 +0000 (20:10 +0000)]
read MySQL options, patch found in ticket 171 by chtekk@gentoo.org, see http://dev.mysql.com/doc/refman/5.0/en/mysql-options.html

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1459 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agodon't add '..' to a domain in the '.' zone - closes ticket 229 spotted by the ever...
Bert Hubert [Mon, 21 Dec 2009 18:44:51 +0000 (18:44 +0000)]
don't add '..' to a domain in the '.' zone - closes ticket 229 spotted by the ever vigilant Darren Gamble

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1458 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agosome whitespace changes, add 'rec_control reload-acls' (leaks some memory!), plus...
Bert Hubert [Mon, 21 Dec 2009 13:40:30 +0000 (13:40 +0000)]
some whitespace changes, add 'rec_control reload-acls' (leaks some memory!), plus fix issue with TCP/IP errors leading to exceptions, debugged by Josh Berry of Plusnet PLC.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1457 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoslight speedup of the recursor packetcache (inline comparison function)
Bert Hubert [Mon, 21 Dec 2009 13:35:24 +0000 (13:35 +0000)]
slight speedup of the recursor packetcache (inline comparison function)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1456 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agobring rcpgenerator into the world of namespaces.hh, plus remove some debugging form...
Bert Hubert [Mon, 21 Dec 2009 13:33:48 +0000 (13:33 +0000)]
bring rcpgenerator into the world of namespaces.hh, plus remove some debugging form slavecommunicator.cc

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1455 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoclean up getQueryLocal() port handling htons
Bert Hubert [Thu, 17 Dec 2009 15:46:17 +0000 (15:46 +0000)]
clean up getQueryLocal() port handling htons

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1454 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomake the 'lua' scripts threadsafe, with luxury pre-thread sequential reloading so...
Bert Hubert [Thu, 10 Dec 2009 22:23:31 +0000 (22:23 +0000)]
make the 'lua' scripts threadsafe, with luxury pre-thread sequential reloading so as to prevent hickups in performance

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1453 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomake sure we can ship a tarball for the auth server again
Bert Hubert [Sun, 6 Dec 2009 20:23:20 +0000 (20:23 +0000)]
make sure we can ship a tarball for the auth server again

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1452 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoimplement --forward-zones-recurse and special '+domain=1.2.3.4' syntax for forward...
Bert Hubert [Sun, 6 Dec 2009 17:20:10 +0000 (17:20 +0000)]
implement --forward-zones-recurse and special '+domain=1.2.3.4' syntax for forward-zones-file

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1451 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomake SOA data public, needed to fix previous commit (oops)
Bert Hubert [Sun, 6 Dec 2009 15:18:37 +0000 (15:18 +0000)]
make SOA data public, needed to fix previous commit (oops)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1450 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agosplit up master & slave communicator, enable 'Inflighter' which in tests does 3200...
Bert Hubert [Sun, 6 Dec 2009 14:51:08 +0000 (14:51 +0000)]
split up master & slave communicator, enable 'Inflighter' which in tests does 3200 Serial verifications in 20 seconds, without overloading remotes
Clean up resolver class, plus add to it the tools needed for many many simultaneous serial verifications

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1449 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agogeneric templatized 'do x things at a time' class
Bert Hubert [Sun, 6 Dec 2009 14:47:28 +0000 (14:47 +0000)]
generic templatized 'do x things at a time' class

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1448 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agofix case sensitivity issue in recursor built in authoritative server, as reported...
Bert Hubert [Fri, 4 Dec 2009 13:35:12 +0000 (13:35 +0000)]
fix case sensitivity issue in recursor built in authoritative server, as reported in ticket 262 by ZyZ

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1447 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoMake packetcache controllable (TTLs and enable/disable), by
Bert Hubert [Thu, 3 Dec 2009 20:35:04 +0000 (20:35 +0000)]
Make packetcache controllable (TTLs and enable/disable), by
Winfried Angele

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1446 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agodo not take a writable reference to the begin transaction statement...
Bert Hubert [Thu, 26 Nov 2009 17:55:56 +0000 (17:55 +0000)]
do not take a writable reference to the begin transaction statement...

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1445 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomake sure opendbx backend does not concatenate all master servers for all slave domains!
Bert Hubert [Wed, 25 Nov 2009 17:59:35 +0000 (17:59 +0000)]
make sure opendbx backend does not concatenate all master servers for all slave domains!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1444 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agophase out last use of select() in powerdns auth server, which prevented us from bindi...
Bert Hubert [Wed, 18 Nov 2009 21:54:46 +0000 (21:54 +0000)]
phase out last use of select() in powerdns auth server, which prevented us from binding >500 Ip addresses or so

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1443 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomove g_singleThreaded to misc.cc, so it is universal
Bert Hubert [Sun, 8 Nov 2009 10:52:38 +0000 (10:52 +0000)]
move g_singleThreaded to misc.cc, so it is universal

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1442 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd documentation about new pdns recursor, plus automate uploading of docs
Bert Hubert [Sat, 7 Nov 2009 17:32:49 +0000 (17:32 +0000)]
add documentation about new pdns recursor, plus automate uploading of docs

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1441 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agocompilation fixes for on 'Karmic Koala' - also first commit from the new server ...
Bert Hubert [Sat, 24 Oct 2009 10:40:48 +0000 (10:40 +0000)]
compilation fixes for on 'Karmic Koala' - also first commit from the new server @ xs4all!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1440 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agore-optimize the single-threaded case
Bert Hubert [Sat, 17 Oct 2009 15:15:57 +0000 (15:15 +0000)]
re-optimize the single-threaded case

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1439 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoimplement max-cache-ttl, patch by Winfried Angele, for BIND compatability. Thanks!
Bert Hubert [Thu, 15 Oct 2009 20:56:09 +0000 (20:56 +0000)]
implement max-cache-ttl, patch by Winfried Angele, for BIND compatability. Thanks!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1438 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomake sure we zero the priority field on incoming axfr - cosmetic change
Bert Hubert [Thu, 15 Oct 2009 20:44:51 +0000 (20:44 +0000)]
make sure we zero the priority field on incoming axfr - cosmetic change

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1437 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agodon't process any non-existing additional processing
Bert Hubert [Thu, 15 Oct 2009 18:41:40 +0000 (18:41 +0000)]
don't process any non-existing additional processing

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1436 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomake dnsreplay compile again since the sstuff cleanups
Bert Hubert [Thu, 15 Oct 2009 18:41:10 +0000 (18:41 +0000)]
make dnsreplay compile again since the sstuff cleanups

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1435 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agothe thread safe normal cache in the recursor was confused about its locking
Bert Hubert [Tue, 13 Oct 2009 19:35:35 +0000 (19:35 +0000)]
the thread safe normal cache in the recursor was confused about its locking

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1434 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd simple packetcache to recursor (thread safe)
Bert Hubert [Tue, 13 Oct 2009 19:33:08 +0000 (19:33 +0000)]
add simple packetcache to recursor (thread safe)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1433 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd a comment to remind us the gettimeofday in the mplexer is NOT optional
Bert Hubert [Tue, 13 Oct 2009 19:30:39 +0000 (19:30 +0000)]
add a comment to remind us the gettimeofday in the mplexer is NOT optional

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1432 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agofix up makecontext for Solaris, thanks to John Levon for pointing out how. Solaris...
Bert Hubert [Mon, 12 Oct 2009 21:37:06 +0000 (21:37 +0000)]
fix up makecontext for Solaris, thanks to John Levon for pointing out how. Solaris 8 is deprecated from now on.
fix up 'Lua' compilation on Solaris (-llua versus -llua5.1).

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1431 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agodisable EDNS by default - delivers nothing but trouble..
Bert Hubert [Sun, 11 Oct 2009 17:13:59 +0000 (17:13 +0000)]
disable EDNS by default - delivers nothing but trouble..

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1430 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoeven more namespace cleanups
Bert Hubert [Sun, 11 Oct 2009 12:52:27 +0000 (12:52 +0000)]
even more namespace cleanups

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1429 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agosome more namespace cleanups
Bert Hubert [Sun, 11 Oct 2009 12:51:48 +0000 (12:51 +0000)]
some more namespace cleanups

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1428 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agohuge batch of namespace & stdint cleanups
Bert Hubert [Sun, 11 Oct 2009 12:50:52 +0000 (12:50 +0000)]
huge batch of namespace & stdint cleanups

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1427 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomove to multiple query-local-addresses (4 and 6), plus implement very simple whole...
Bert Hubert [Sun, 11 Oct 2009 08:33:55 +0000 (08:33 +0000)]
move to multiple query-local-addresses (4 and 6), plus implement very simple whole packet cache

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1426 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agostart of our cleanup of the namespace
Bert Hubert [Sun, 11 Oct 2009 08:31:54 +0000 (08:31 +0000)]
start of our cleanup of the namespace

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1425 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd md5, devpollmplexer
Bert Hubert [Sun, 11 Oct 2009 08:31:09 +0000 (08:31 +0000)]
add md5, devpollmplexer

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1424 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agokeep the speeds lock for slightly shorter time
Bert Hubert [Sun, 11 Oct 2009 08:30:31 +0000 (08:30 +0000)]
keep the speeds lock for slightly shorter time

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1423 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agohook up the devpollmplexer for solaris
Bert Hubert [Sun, 11 Oct 2009 08:29:43 +0000 (08:29 +0000)]
hook up the devpollmplexer for solaris

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1422 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agosolaris 9 /dev/poll mplexer support
Bert Hubert [Fri, 9 Oct 2009 13:33:04 +0000 (13:33 +0000)]
solaris 9 /dev/poll mplexer support

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1421 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agofix up case sensititivy in processing notifications bound for the BIND backend, disco...
Bert Hubert [Tue, 6 Oct 2009 07:59:22 +0000 (07:59 +0000)]
fix up case sensititivy in processing notifications bound for the BIND backend, discovered by  Dolphin [wim % horsea.3ti.be]

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1420 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years ago2.9.23-pre
Bert Hubert [Sun, 4 Oct 2009 20:49:20 +0000 (20:49 +0000)]
2.9.23-pre

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1419 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoinitial load of the 'MyDNS' compatability backend
Bert Hubert [Sun, 4 Oct 2009 07:42:10 +0000 (07:42 +0000)]
initial load of the 'MyDNS' compatability backend

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1418 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoneeded for TSIG
Bert Hubert [Thu, 1 Oct 2009 19:22:16 +0000 (19:22 +0000)]
needed for TSIG

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1417 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years ago64 bit compilation fix
Bert Hubert [Tue, 29 Sep 2009 21:22:10 +0000 (21:22 +0000)]
64 bit compilation fix

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1416 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agodon't hold the negcache lock longer than necessary
Bert Hubert [Sat, 26 Sep 2009 20:19:09 +0000 (20:19 +0000)]
don't hold the negcache lock longer than necessary

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1415 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agohook up 'tcp defer accept' again for slight DoS protection on linux
Bert Hubert [Sat, 26 Sep 2009 17:50:04 +0000 (17:50 +0000)]
hook up 'tcp defer accept' again for slight DoS protection on linux
reinstate the lookup of socket addresses for 'Lua'

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1414 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoreinstate some things that got disabled because of multithreading
Bert Hubert [Sat, 26 Sep 2009 17:19:59 +0000 (17:19 +0000)]
reinstate some things that got disabled because of multithreading

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1413 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoteach pdns_recursor how to do TCP/IP connect to remote IPv6 hosts
Bert Hubert [Sat, 26 Sep 2009 16:41:24 +0000 (16:41 +0000)]
teach pdns_recursor how to do TCP/IP connect to remote IPv6 hosts
big cleanup of archaic 'sstuff' classes (move to ComboAddress)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1412 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agono longer mention selection of mplexer once per thread
Bert Hubert [Sat, 26 Sep 2009 16:32:01 +0000 (16:32 +0000)]
no longer mention selection of mplexer once per thread

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1411 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agomultithreaded recursor - may not actually be faster yet, and lacks certain flexibilit...
Bert Hubert [Thu, 24 Sep 2009 20:59:19 +0000 (20:59 +0000)]
multithreaded recursor - may not actually be faster yet, and lacks certain flexibility. do NOT deploy!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1410 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agothe beginning of powerdhcp? :-)
Bert Hubert [Thu, 24 Sep 2009 20:22:06 +0000 (20:22 +0000)]
the beginning of powerdhcp? :-)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1409 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agodo less maintenance, 1 in 250 queries
Bert Hubert [Thu, 24 Sep 2009 19:32:53 +0000 (19:32 +0000)]
do less maintenance, 1 in 250 queries

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1408 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoin the PacketCache, we sometimes cached things we should not have been
Bert Hubert [Tue, 22 Sep 2009 11:23:22 +0000 (11:23 +0000)]
in the PacketCache, we sometimes cached things we should not have been

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1407 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agospeed up xfrLabel by batching calls to string::append
Bert Hubert [Tue, 22 Sep 2009 11:19:52 +0000 (11:19 +0000)]
speed up xfrLabel by batching calls to string::append

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1406 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoThanks to Winfried Angele for spotting & fixing this: allow 'lua' to dlopen new libraries
Bert Hubert [Tue, 22 Sep 2009 11:01:04 +0000 (11:01 +0000)]
Thanks to Winfried Angele for spotting & fixing this: allow 'lua' to dlopen new libraries

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1405 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoupdated docs
Bert Hubert [Tue, 22 Sep 2009 10:53:52 +0000 (10:53 +0000)]
updated docs

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1404 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agodon't yet enable rwlocks in the trunk
Bert Hubert [Tue, 22 Sep 2009 10:34:45 +0000 (10:34 +0000)]
don't yet enable rwlocks in the trunk

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1403 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoimplement timeouts with millisecond resolution, and raise the default timeout to...
Bert Hubert [Tue, 22 Sep 2009 10:14:43 +0000 (10:14 +0000)]
implement timeouts with millisecond resolution, and raise the default timeout to 1500 msec.
In addition, the previous code may not actually have been delivering the "1 second" timeout accurately, this is now fixed

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1402 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd 'speedtest' infrastructure
Bert Hubert [Sat, 5 Sep 2009 14:05:36 +0000 (14:05 +0000)]
add 'speedtest' infrastructure

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1401 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoAki Tuomi fixed up the primordial 'alsoNotify' infrastructure, and implemented also...
Bert Hubert [Thu, 27 Aug 2009 21:34:43 +0000 (21:34 +0000)]
Aki Tuomi fixed up the primordial 'alsoNotify' infrastructure, and implemented also-notify (both global and per-zone) for the BIND backend.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1400 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agorepair cache cleaning logic, which would never run in certain benchmark situations...
Bert Hubert [Sat, 22 Aug 2009 19:20:17 +0000 (19:20 +0000)]
repair cache cleaning logic, which would never run in certain benchmark situations, plus retune the actual cleaning process.
Thanks to Marcus Goller for reporting this issue.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1399 d19b8d6e-7fed-0310-83ef-9ca221ded41b

15 years agoadd support for 's' timestamp specification (seconds), closing ticket 250 by 'somebody'
Bert Hubert [Fri, 7 Aug 2009 19:07:57 +0000 (19:07 +0000)]
add support for 's' timestamp specification (seconds), closing ticket 250 by 'somebody'

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1398 d19b8d6e-7fed-0310-83ef-9ca221ded41b