]>
granicus.if.org Git - pdns/log
Bert Hubert [Wed, 21 Apr 2010 13:58:29 +0000 (13:58 +0000)]
allow for static compilation
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1579
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 13:58:17 +0000 (13:58 +0000)]
remove sctp dependency
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1578
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 12:48:57 +0000 (12:48 +0000)]
add a zone made for DNSSEC testing, plus document how to run the regression tests against pdns in BIND mode
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1577
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 12:48:04 +0000 (12:48 +0000)]
silence some debugging, plus make sure all relevant .hh files are sourced for shipping
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1576
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 12:47:40 +0000 (12:47 +0000)]
report failing access to the key-repository early
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1575
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 12:47:13 +0000 (12:47 +0000)]
make the polarssl makefile 'distdir' itself properly
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1574
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 12:46:58 +0000 (12:46 +0000)]
make the pdnssec tool be more helpful, both in not crashing and showing thigns you need
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1573
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 12:12:24 +0000 (12:12 +0000)]
make pdnssec not segfault if the key repository does not exist, plus add helpful 'DS' output
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1572
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 11:11:03 +0000 (11:11 +0000)]
make sure we do not add NSEC records to non-DNSSEC queries
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1571
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 11:10:48 +0000 (11:10 +0000)]
make sdig compile again for the regression tests
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1570
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 10:58:30 +0000 (10:58 +0000)]
we're not fooling anyone not calling this '3.0-pre'. So '3.0-pre' it is.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1569
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 10:54:04 +0000 (10:54 +0000)]
make sure everything compiles again
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1568
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 10:53:01 +0000 (10:53 +0000)]
out with nedmalloc and dlmalloc, in with the nice 'polarssl', www.polarssl.org
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1567
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 10:31:04 +0000 (10:31 +0000)]
remove two external mallocs from svn - thanks for years of good service though!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1566
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 10:20:11 +0000 (10:20 +0000)]
teach pdnssec not to crash when you do not mention which zone it should sign
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1565
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 10:14:00 +0000 (10:14 +0000)]
fix up 'pdnssec' tool compilation, teach bind backend about NSEC ordering rules
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1564
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 09:56:33 +0000 (09:56 +0000)]
and make tcp & axfr understand dnssec too (plus fix silly error in previous commit)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1563
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 09:53:13 +0000 (09:53 +0000)]
break solaris compilation, but do add timespec parsing
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1562
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 09:46:15 +0000 (09:46 +0000)]
rip out old, but efficient and highly tuned but scary packethandler code, replace by much cleaner variant with dnssec guts
un-ifdef up the actual signing stuff in dnspacket.cc. crashes violently on the first DNSSEC query now!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1561
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 09:33:32 +0000 (09:33 +0000)]
teach dnspacket.cc about dnssec, but #ifdef out the signing stuff for now
update Makefile to link in polarssl & compile the dnssecinfra and dnsseckeeper code
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1560
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 09:32:07 +0000 (09:32 +0000)]
prepare pdns_recursor for better nxdomaincache cleaning
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1559
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 21 Apr 2010 09:30:47 +0000 (09:30 +0000)]
update docs
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1558
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 18 Apr 2010 19:18:42 +0000 (19:18 +0000)]
add more dnssec infra (stuff to make a zone relative, stuff to reverse labels for canonical ordering...)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1557
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 18 Apr 2010 19:10:27 +0000 (19:10 +0000)]
sdig dnssec playground
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1556
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 18 Apr 2010 13:52:44 +0000 (13:52 +0000)]
commit more DNSSEC infrastructure, plus NSEC3 builder
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1555
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 18 Apr 2010 12:24:37 +0000 (12:24 +0000)]
teach core of powerdns that data can be auth or nonauth intrinsically
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1554
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 18 Apr 2010 12:15:13 +0000 (12:15 +0000)]
the 'pdnssec' control program
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1553
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 18 Apr 2010 12:13:30 +0000 (12:13 +0000)]
add NSEC3 qtype
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1552
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 18 Apr 2010 11:58:27 +0000 (11:58 +0000)]
initial drop of dnssec keying infrastructure - mostly ceremonial
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1551
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 6 Apr 2010 06:50:20 +0000 (06:50 +0000)]
add additional IPv6 hints, closing ticket 287, plus add some threading safety net to outgoing address selection
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1550
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 3 Apr 2010 14:23:11 +0000 (14:23 +0000)]
slightly clean up dnsproxy code to be ComboAddress-native
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1549
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 3 Apr 2010 10:56:57 +0000 (10:56 +0000)]
fix 'forever refreshing NS records' again, plus potentially solve other weirdness with records being erased and replaced
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1548
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 25 Mar 2010 21:29:16 +0000 (21:29 +0000)]
this makes the pdns_recursor able to serve the root zone unmodified, for keeping out unwanted root-servers..
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1547
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 25 Mar 2010 20:36:27 +0000 (20:36 +0000)]
fix up potential issues with TCP support going crazy over time, plus reinstate working max-tcp-per-client.
This issue was probably spotted by Simon Bedford and Laurent Papier.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1546
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 23 Mar 2010 19:04:30 +0000 (19:04 +0000)]
Simon Kirby discovered dist-recursor is not posix sh safe.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1545
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 16 Mar 2010 09:51:53 +0000 (09:51 +0000)]
compilation fix
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1544
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 15 Mar 2010 21:38:31 +0000 (21:38 +0000)]
add testcase for wildcard CNAME pointing to a record that does not have the type requested, plus fix this bug
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1543
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 15 Mar 2010 21:12:50 +0000 (21:12 +0000)]
close issue where asking for a AAAA for a record with a CNAME only to an A record would not return the actual CNAME, but a direct SOA
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1542
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 15 Mar 2010 20:20:04 +0000 (20:20 +0000)]
add test to catch a powerdns bug with cnames to names which exist, but types that don't. impacts the wikipedia.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1541
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 6 Mar 2010 12:20:59 +0000 (12:20 +0000)]
I feel like celebrating ;-) 3.2!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1539
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 6 Mar 2010 11:39:03 +0000 (11:39 +0000)]
add some instrumenting so we can measure the scope of the 'spurious wakeup problem' later on
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1538
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 5 Mar 2010 13:43:59 +0000 (13:43 +0000)]
we probably overwrite the errno return from ports_getn now, which might generate spurious errors
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1537
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 3 Mar 2010 08:58:12 +0000 (08:58 +0000)]
add #include <sys/stat.h> for FreeBSD (spotted by Ralf van der Enden), plus add some error checking to chown for the control socket
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1536
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 2 Mar 2010 21:25:25 +0000 (21:25 +0000)]
David Gavarret discovered socket-owner, socket-group and socket-mode were not hooked up. And not documented either. Code by Aki Tuomi.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1535
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 2 Mar 2010 20:55:41 +0000 (20:55 +0000)]
discovered by Darren Gamble, 'make install' did not work if a (currently) invalid configuration file was found. Plus documented --config.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1534
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 2 Mar 2010 17:58:09 +0000 (17:58 +0000)]
no longer get confused by empty lines in the forward-zones-file. again discovered by Imre Gergely, this closes ticket 273.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1533
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 2 Mar 2010 17:47:37 +0000 (17:47 +0000)]
again discovered by Imre Gergely, do not get confused when asked to reload a non-existant allow-from-file. Closes ticket 274.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1532
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 28 Feb 2010 13:47:56 +0000 (13:47 +0000)]
the ever vigilant Imre Gergely spotted that PowerDNS tries to reprime its root hints sometimes, when this should not be necessary. Discovered because this generated an 'out of file descriptors' error, because of the use of root hints.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1531
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 28 Feb 2010 12:11:55 +0000 (12:11 +0000)]
heading up to rc2
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1530
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 28 Feb 2010 11:43:35 +0000 (11:43 +0000)]
improve --help descriptions, plus clean up sysdeps on dist-recursor. Both spotted by Andreas Jakum.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1529
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 28 Feb 2010 09:47:41 +0000 (09:47 +0000)]
update documentation to reflect ticket 272 ('logging dies')
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1528
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 27 Feb 2010 10:55:57 +0000 (10:55 +0000)]
Work around bug in the CentOS4/RHEL4 gcc/glibc, and remove thread local storage from within classes. Thanks to Imre Gergely and Darren Gamble for debugging.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1527
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 27 Feb 2010 10:53:16 +0000 (10:53 +0000)]
prepare for the HIP record
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1526
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 27 Feb 2010 10:52:22 +0000 (10:52 +0000)]
interim commit of docs
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1525
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 20 Feb 2010 06:10:11 +0000 (06:10 +0000)]
Imre Gergely discovered that the rrd graphs do not support more than 200% cpu usage. In addition, the 'total cpu usage' line on the graph was wrong, but the graph overall was correct.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1524
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 13 Feb 2010 18:48:26 +0000 (18:48 +0000)]
make sure we setuid() before launching threads, improving the error message (which was a crash) if the setuid failed
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1523
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 11 Feb 2010 10:21:08 +0000 (10:21 +0000)]
fix up solaris 10 compilation
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1522
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 10 Feb 2010 19:38:02 +0000 (19:38 +0000)]
update docs for -rc1
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1521
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 10 Feb 2010 00:55:58 +0000 (00:55 +0000)]
rc1
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1520
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 10 Feb 2010 00:52:39 +0000 (00:52 +0000)]
Quoting from the makecontext manpage....6 hours of debugging later
On architectures where int and pointer types are the same size (e.g., x86-32, where both types are 32 bits), you may be able to get
away with passing pointers as arguments to makecontext() following argc. However, doing this is not guaranteed to be portable, is
undefined according to the standards, and won't work on architectures where pointers are larger than ints. Nevertheless, starting
with version 2.8, glibc makes some changes to makecontext(3), to permit this on some 64-bit architectures (e.g., x86-64).
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1519
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 8 Feb 2010 20:24:06 +0000 (20:24 +0000)]
remove --fork!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1518
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 8 Feb 2010 20:03:50 +0000 (20:03 +0000)]
rrdtool update script is now FreeBSD compatible, thanks to Bryan Seitz
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1517
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 8 Feb 2010 19:11:12 +0000 (19:11 +0000)]
explain Lua API change
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1516
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 8 Feb 2010 19:10:00 +0000 (19:10 +0000)]
add resource-limits and over-limits measurements and graphs
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1515
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 8 Feb 2010 19:08:20 +0000 (19:08 +0000)]
scan less of the packetcache when cleaning house
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1514
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 8 Feb 2010 19:08:01 +0000 (19:08 +0000)]
make sure we can measure overlimits from rec_control
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1513
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 8 Feb 2010 19:07:25 +0000 (19:07 +0000)]
account the packetcached answers in the latency measurement, plus don't clean the nsspeeds cache every 5 seconds (does a full scan!)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1512
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 6 Feb 2010 19:53:47 +0000 (19:53 +0000)]
reinstate top-remotes
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1511
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 6 Feb 2010 18:29:45 +0000 (18:29 +0000)]
fix dump-cache for the new pimped world
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1510
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 6 Feb 2010 13:50:14 +0000 (13:50 +0000)]
WARNING WARNING! This changes the Lua/PowerDNS interface in SVN, and restores the 3.1.7.* API!
From now, use getlocaladdress() call to get the address to which a query was sent. Implemented after advice from the ever helpful #lua!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1509
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 6 Feb 2010 13:47:53 +0000 (13:47 +0000)]
oops, set number of threads before allocating room for them..
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1508
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 6 Feb 2010 12:20:31 +0000 (12:20 +0000)]
do far more frequent cache cleaning, and less 'cache scanning'. Thanks to Winfried Angele for experimenting with best settings.
scale caches with number of threads - so '
1000000 ' cache entries and 4 threads will give you 250000 entries per thread
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1507
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 6 Feb 2010 12:12:36 +0000 (12:12 +0000)]
provisional 3.2 release notes
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1506
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 1 Feb 2010 21:54:44 +0000 (21:54 +0000)]
implement explicit (configurable) limit to number of mthreads - we are usually implicitly limited, this is no change of behaviour for almost all setups
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1505
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 20 Jan 2010 21:39:52 +0000 (21:39 +0000)]
add max packet cache size + silence warning
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1504
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 20 Jan 2010 21:24:16 +0000 (21:24 +0000)]
split off cpuload graph, enhance the cache hitrate graph, add 'udp errors' (LINUX ONLY!!)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1503
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 20 Jan 2010 19:51:45 +0000 (19:51 +0000)]
implement packetcache pruning, hardcoded at 250k entries right now
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1502
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 20 Jan 2010 19:43:28 +0000 (19:43 +0000)]
recursor cache cleaned too much of itself, plus remove last trace (really) of locking
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1501
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 13 Jan 2010 21:03:12 +0000 (21:03 +0000)]
new master/slave communicator crashed after a while, discovered by Tyler Hall, who also helped debug this problem
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1500
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 11 Jan 2010 01:56:45 +0000 (01:56 +0000)]
make sure thread cleaning interval is 1) thread local 2) not all threads start cleaning at the same time (discovered by Winfried Angele)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1499
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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