]>
granicus.if.org Git - pdns/log
Bert Hubert [Fri, 14 Apr 2006 11:26:50 +0000 (11:26 +0000)]
implement stunningly cool spoofing protection, plus spoofer in dnspbench
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@699
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 14 Apr 2006 10:13:13 +0000 (10:13 +0000)]
add query-local-port, and make us move around if unset
log netmasks allowed a bit prettier
add nasty warning
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@698
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 14 Apr 2006 08:39:16 +0000 (08:39 +0000)]
WARNING WARNING: We now listen on 127.0.0.1 by default *AND* only reply to RFC 1918 addresses by default
Ignore answers w/o a question
s/spoof/unexpected/
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@697
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 14 Apr 2006 08:28:27 +0000 (08:28 +0000)]
actually check output of sendEvent and log
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@696
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 14 Apr 2006 08:27:59 +0000 (08:27 +0000)]
mtasked did 3 or 4 walks of waiter-list for each call to sendEvent, reduced to 1
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@695
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 14 Apr 2006 08:27:31 +0000 (08:27 +0000)]
passed around strings to asynresolve as a char*, causing heaps of malloc/new
traffic
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@694
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 13 Apr 2006 21:37:26 +0000 (21:37 +0000)]
sigh.. some queries have embedded nulls in them, which we log noisily
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@693
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 13 Apr 2006 20:29:42 +0000 (20:29 +0000)]
improve MX-record parsing for additional processing, we used to be confused by numerical server names
make answer checking case insensitive
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@692
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 13 Apr 2006 19:49:56 +0000 (19:49 +0000)]
add tool dnsscan (mostly for internal use)
make dist-recursor package a version number
improve stats, add some logging
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@691
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 13 Apr 2006 14:20:19 +0000 (14:20 +0000)]
prevent possible crashes (score one for valgrind)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@690
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 13 Apr 2006 07:04:30 +0000 (07:04 +0000)]
small compile cleanup
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@689
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 13 Apr 2006 06:47:05 +0000 (06:47 +0000)]
silence warning
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@688
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 13 Apr 2006 06:21:56 +0000 (06:21 +0000)]
also compress the first answer against the question - might fix problems with e-tech routers
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@687
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 12 Apr 2006 15:44:13 +0000 (15:44 +0000)]
don't packet cache notifications! Thanks again to Dan Bilik <dan@mail.neosystem.cz>
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@686
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 12 Apr 2006 15:39:47 +0000 (15:39 +0000)]
fix crashes in tcp receiver (thanks Dan Bilik <dan@mail.neosystem.cz>)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@685
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 12 Apr 2006 15:36:26 +0000 (15:36 +0000)]
fix memory leak (Dan Bilik <dan@mail.neosystem.cz>) - thanks!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@684
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 12 Apr 2006 11:32:53 +0000 (11:32 +0000)]
fix handling of truncated packets with partial records (like emitted by powerdns hehe)
fix empty PTR, CNAME and NS records (generally a bad idea anyhow)
fix up error reporting a lot
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@683
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 12 Apr 2006 08:52:51 +0000 (08:52 +0000)]
slightly improve error messages and reporting, attempting to zoom in on broken packets
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@682
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 12 Apr 2006 07:38:45 +0000 (07:38 +0000)]
consolidate license change previously announced here:
http://mailman.powerdns.com/pipermail/pdns-announce/2005-February/000022.html
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@681
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 12 Apr 2006 07:28:34 +0000 (07:28 +0000)]
the FSF has moved!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@680
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 12 Apr 2006 07:23:34 +0000 (07:23 +0000)]
forgot to commit - need to update server parser errors in lwres now
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@679
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 11 Apr 2006 16:09:50 +0000 (16:09 +0000)]
add counts for broken packets
add switch to prevent logging rather common errors
removed duplicate answer parsing (!!)
improved TCP timeout code, previously we could time out a running TCP query, which was wrong
improve error message consistency slightly
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@678
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 11 Apr 2006 15:23:51 +0000 (15:23 +0000)]
generally spiff up appearance, nothing real
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@677
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 11 Apr 2006 15:01:11 +0000 (15:01 +0000)]
add unauthorized-udp, unauthorized-tcp, client-parse-errors, server-parse-errors to graphs,
improve graph explanation a bit
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@676
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 11 Apr 2006 11:11:21 +0000 (11:11 +0000)]
add hardcoded support for 127.0.0.1 and 1.0.0.127.in-addr.arpa, bound to make some clients happy
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@675
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 11 Apr 2006 10:23:47 +0000 (10:23 +0000)]
add support for CERT record (RFC 2538) to MOADNSParser
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@674
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 10 Apr 2006 15:53:19 +0000 (15:53 +0000)]
Try to prevent the 'Oops, sent partial answer' error, and made it more informative in case it does happen
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@673
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 10 Apr 2006 10:19:35 +0000 (10:19 +0000)]
implement very simple SMP support
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@672
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 9 Apr 2006 21:18:10 +0000 (21:18 +0000)]
inline "strcasecmp" (stolen from glibc), short-circuit a lot of dnsencoding/decoding logic
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@671
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 9 Apr 2006 17:09:34 +0000 (17:09 +0000)]
1) make everyting intrinsically case-insensitive
2) clear up . oddness, removing all calls to toLowerCanonic
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@670
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 8 Apr 2006 20:23:38 +0000 (20:23 +0000)]
add max-tcp-per-client to limit number of TCP connections per client
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@669
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 7 Apr 2006 19:52:10 +0000 (19:52 +0000)]
documentation, retuned cache pruning - should take less time now
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@668
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 7 Apr 2006 19:22:14 +0000 (19:22 +0000)]
add allow-from option to limit who can recurse. enable 'defer-accept' for TCP if available. fix controlsocket so it doesn't try to delete an empty file on error
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@667
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 6 Apr 2006 10:25:29 +0000 (10:25 +0000)]
make .deps find boost!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@666
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 6 Apr 2006 10:04:12 +0000 (10:04 +0000)]
recursor separate distribution fixes
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@665
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 6 Apr 2006 10:03:39 +0000 (10:03 +0000)]
lower case diff for hints-zone
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@664
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 5 Apr 2006 17:13:40 +0000 (17:13 +0000)]
add peak cpu use line
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@663
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 5 Apr 2006 15:37:32 +0000 (15:37 +0000)]
remove vestiges of 'opaque record' support we now deal with in MOADNSParser, lowercase all NS records we store to prevent duplicates
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@662
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 5 Apr 2006 15:34:32 +0000 (15:34 +0000)]
ok - this is a scary commit. It fixes TCP packets with >16384 size offsets, which is nice, but it also removes some logic
that looks remarkably well thought out but also appeared to serve no purpose. But perhaps it was magic..
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@661
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 5 Apr 2006 15:32:10 +0000 (15:32 +0000)]
and now make it work (well) on linux again
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@660
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 5 Apr 2006 12:10:36 +0000 (12:10 +0000)]
fix compilation on freebsd, reduce warning
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@659
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 5 Apr 2006 11:11:35 +0000 (11:11 +0000)]
fix interesting bug whereby powerdns would sometimes claim to be unable to resolve its rootservers. Found by valgrind. Halve number of s_negcache lookups.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@658
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 5 Apr 2006 08:17:28 +0000 (08:17 +0000)]
sigh - people change their SOA serials a lot these days. PowerDNS tries to store all different SOA records of a domain.
After a few hours you might have as much as 2000 .COM SOA records in your cache, and we try to output them all..
Also, scrounge the cache a bit more for stale entries.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@657
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 4 Apr 2006 15:26:07 +0000 (15:26 +0000)]
move cache to being pruned 'CLOCK' fashion
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@656
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 4 Apr 2006 15:24:33 +0000 (15:24 +0000)]
move negcache to tuple based keys instead of crappy string concatenations
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@655
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 4 Apr 2006 15:21:51 +0000 (15:21 +0000)]
optimized toLower and toLowerCanonic that they never touch the string unless needed - keeping the reference counting chain intact
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@654
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 4 Apr 2006 12:15:20 +0000 (12:15 +0000)]
Oops.. Fix bug where records we transmit transparently were not cached properly, leading to new out-queries for each question. Fixed by moving away from crappy string based keys in temporary cache.
remove check for --do-ipv6-additional-processing for each packet
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@653
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 4 Apr 2006 12:13:37 +0000 (12:13 +0000)]
remove unused 'title' facility from MTasker - saving a lot of string copies
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@652
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 4 Apr 2006 12:12:19 +0000 (12:12 +0000)]
oops, DS uses hex (just like SSHFP). Thanks to Jakob Schlyter for pointing this out.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@651
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 3 Apr 2006 20:29:20 +0000 (20:29 +0000)]
ok, I lied - rfc 4255 has chosen In All Its Wisdom to implement SSHFP as base-16 instead of base-64, like all the other crypto records. This is probably to make cutting & pasting from .ssh/known_hosts easier. Added support for hexadecimal records.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@650
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 3 Apr 2006 19:42:50 +0000 (19:42 +0000)]
implement rfc4255
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@649
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 3 Apr 2006 09:26:47 +0000 (09:26 +0000)]
make dist-recursor script solaris compliant
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@648
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 1 Apr 2006 20:26:47 +0000 (20:26 +0000)]
lower default buffer size, add cpu-use counters to rec_control & rrd graphs, fix broken error message on buffer sizing
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@647
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 31 Mar 2006 06:46:58 +0000 (06:46 +0000)]
implement very simple cache cache that catches repeated nearly identical lookups
appears to have lowered cpu load by 40%
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@646
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 30 Mar 2006 15:20:09 +0000 (15:20 +0000)]
arg! -I line was *still* wrong!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@645
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 29 Mar 2006 18:38:16 +0000 (18:38 +0000)]
it is probable we plough through the cache too much - add simple check to prevent *lowering* ttds uncessarily, which should leave the cache alone a bit more
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@644
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 29 Mar 2006 18:27:22 +0000 (18:27 +0000)]
20% speedup or so in xfrLabel by implementing 'vstringtok' which only returns offsets
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@643
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 29 Mar 2006 18:22:53 +0000 (18:22 +0000)]
new tests in dnspbench
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@642
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 28 Mar 2006 20:42:43 +0000 (20:42 +0000)]
recursor README typos (thanks Entil), add nedmalloc to separate distribution
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@641
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 28 Mar 2006 20:41:59 +0000 (20:41 +0000)]
oops, latency is GAUGE, not COUNTER (thanks Kai!)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@640
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 28 Mar 2006 20:41:38 +0000 (20:41 +0000)]
very slight speedup (toLower==toLower -> strcasecmp)
some comments
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@639
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 28 Mar 2006 11:18:02 +0000 (11:18 +0000)]
Work around a bug in gcc 3.4.something, reported by Jorn Ekkelenkamp and
others
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@638
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 27 Mar 2006 13:06:00 +0000 (13:06 +0000)]
improve error messages some more
Update README for the recursor separate package
Make trailing garbage no longer be fatal
Make separate recursor do skip-locking by default
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@637
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 27 Mar 2006 11:51:41 +0000 (11:51 +0000)]
slightly improve error messages
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@636
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 27 Mar 2006 07:31:01 +0000 (07:31 +0000)]
make socket buffer raising report better errors
blast packets back to back to pdns_recursor if available
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@635
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 27 Mar 2006 07:28:28 +0000 (07:28 +0000)]
small fixups to the graphs - you can now set your own SOCKETDIR
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@634
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 27 Mar 2006 00:03:04 +0000 (00:03 +0000)]
make rec_control clean up its socket properly. Remove some silly dependencies. Silence signedness warning.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@633
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 27 Mar 2006 00:01:03 +0000 (00:01 +0000)]
various packaging things for new separate recursor package
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@632
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 26 Mar 2006 22:16:00 +0000 (22:16 +0000)]
trim some build dependencies, make rec_control/pdns_recursor grok /var/run as place for the controlsocket,
add tcp-questions in all the right places, add callback so 'rec_control quit' gets a response before the program quits
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@631
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 26 Mar 2006 22:12:54 +0000 (22:12 +0000)]
new stuff for making a separate recursor package
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@630
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 26 Mar 2006 14:30:25 +0000 (14:30 +0000)]
fix silly debugging output, remove O_LARGEFILE (hope you don't need it!)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@629
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 26 Mar 2006 10:51:55 +0000 (10:51 +0000)]
move negcache to boost::multi_index, make sure it gets pruned a bit faster. Also, and this is controversial, cap SOA negative caching to 3600 seconds.
This is done for two reasons: 1) the cache grows HUGE otherwise 2) I'm pretty sure anything >3600 seconds will annoy people
a lot.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@628
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 23:34:31 +0000 (23:34 +0000)]
"I can't belieeeeeve it!" same bug twice
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@627
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 21:29:55 +0000 (21:29 +0000)]
fix for SOA serial overflows, by Dan Bilik & co-worker
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@626
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 21:15:52 +0000 (21:15 +0000)]
oops - case insensitivity fixes for rec_control
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@625
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 21:05:53 +0000 (21:05 +0000)]
empty commit, but forgot to document on previous commit: add getIP method to ARecordContent for possible speedups later on in recursor
make rec_control case-insensitive
properly decide what gets included in answers and what not, and not just base this on the first record ttd!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@624
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 21:01:35 +0000 (21:01 +0000)]
move cache to composite_keys, doing away the nasty string-concatenation based keys
implement cache wiping via rec_control
implement cache dumping
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@623
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 20:59:54 +0000 (20:59 +0000)]
several speedups that do little to make the code more readable
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@622
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 20:57:41 +0000 (20:57 +0000)]
oops, getsockopt called incorrectly. make the case of our root-zone match the real one - this is a stop gap measure, we should compare case insensitively
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@621
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 17:55:54 +0000 (17:55 +0000)]
provide helpful u32 ip function
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@620
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 17:54:12 +0000 (17:54 +0000)]
no longer pass around IPv4 addresses as.. strings (sorry about that)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@619
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 17:09:02 +0000 (17:09 +0000)]
remote a lot of silly string processing used for --trace output, even w/o a trace..
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@618
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 12:10:30 +0000 (12:10 +0000)]
move throttle map away from simple string and onto a nice tuple. Should save heaps of new/deletes (because of string reference counting). Reduced pruning frequency of throttle map, which should save cpu on reinserts
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@617
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 25 Mar 2006 10:53:32 +0000 (10:53 +0000)]
improve truncating behaviour: don't truncate because of additional records. See http://mailman.powerdns.com/pipermail/pdns-users/2006-March/003178.html and onwards
Thanks to Alan Hodgson for reporting this
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@616
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 24 Mar 2006 22:28:58 +0000 (22:28 +0000)]
fix incredibly stupid throttle cache pruning bug
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@615
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 23 Mar 2006 18:21:32 +0000 (18:21 +0000)]
add qa-latency to rrd, add throttle-entries to rrd, add 'QUIT' command,
make cache-size calculation do less work (rrd stats caused packet loss!),
make twice-hourly stats no longer calculate cache size (caused packet loss)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@614
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 22 Mar 2006 21:07:04 +0000 (21:07 +0000)]
make stuff compile by default on solaris 10 - all you need to do is move away /usr/sfw/lib/libstdc++.la which confuses
libtool. No more need for LIBS=... hacks!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@613
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 22 Mar 2006 17:47:01 +0000 (17:47 +0000)]
big bag 'o Solaris fixes! (partially sent by Juergen Georgi)
pdns_recursor not only compiles (although you still need LIBS="-lnsl -lsocket -lresolv") but works too
Fixes the famous "‘init_priority’ attribute is not supported on this platform"
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@612
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 22 Mar 2006 06:53:16 +0000 (06:53 +0000)]
slight speedup to the processing of unknown records, which is still bound to be slow.
added a check that might have prevented a crash of the recursor
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@611
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 21 Mar 2006 22:53:35 +0000 (22:53 +0000)]
oops, did cache-entries accounting wrong. made 'average latency' ignore outliers - cheating a bit. silence a harmless warning
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@610
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 21 Mar 2006 21:39:36 +0000 (21:39 +0000)]
add sizing of UDP receive buffers, plus fix (somewhat) the latency
measurements
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@609
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 21 Mar 2006 12:22:51 +0000 (12:22 +0000)]
speed up replay speed, add qa-latency stats
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@608
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 21 Mar 2006 08:19:58 +0000 (08:19 +0000)]
fix small escape bug, remove a flag from rrdtool that is too new
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@607
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 20 Mar 2006 15:36:04 +0000 (15:36 +0000)]
spiff up statistics, add graph maker
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@606
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 20 Mar 2006 15:33:52 +0000 (15:33 +0000)]
add servfail stats, make cachehits/misses unsigend
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@605
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 19 Mar 2006 21:15:42 +0000 (21:15 +0000)]
too many bashisms
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@604
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 19 Mar 2006 20:17:45 +0000 (20:17 +0000)]
adding rrdtool scripts for the recursor
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@603
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 19 Mar 2006 19:57:15 +0000 (19:57 +0000)]
add per query latency accounting. WARNING: DTime from now on does implicit set() on udiff()! Needed for previous commit
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@602
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 19 Mar 2006 19:26:21 +0000 (19:26 +0000)]
resolved, add cacheHits, cacheMisses
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@601
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 19 Mar 2006 19:21:12 +0000 (19:21 +0000)]
save a few time(0) calls, hook up PulseRate
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@600
d19b8d6e -7fed-0310-83ef-
9ca221ded41b