]> granicus.if.org Git - pdns/log
pdns
19 years agoadded design & engineering
Bert Hubert [Tue, 25 Apr 2006 13:49:20 +0000 (13:49 +0000)]
added design & engineering

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

19 years agocomplete ComboAddressification (things now not only compile, but work too)
Bert Hubert [Mon, 24 Apr 2006 12:34:32 +0000 (12:34 +0000)]
complete ComboAddressification (things now not only compile, but work too)
Fix horrible NAPTR parsing code

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

19 years agomake dnsscan accept multiple files
Bert Hubert [Mon, 24 Apr 2006 07:29:38 +0000 (07:29 +0000)]
make dnsscan accept multiple files
move auth nameserver over to ComboAddress

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

19 years agofix david g's bug one level up as well - we used to do the wrong thing with truncated...
Bert Hubert [Sat, 22 Apr 2006 15:30:35 +0000 (15:30 +0000)]
fix david g's bug one level up as well - we used to do the wrong thing with truncated packets, leaving untrue an, ns and arcounts around
change version to 3.0.1-snapshot

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

19 years agofix crash on malformed EDNS0 packet (thanks David G)
Bert Hubert [Sat, 22 Apr 2006 13:57:30 +0000 (13:57 +0000)]
fix crash on malformed EDNS0 packet (thanks David G)

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

19 years agoimprove error checking and reporting of selftest
Bert Hubert [Fri, 21 Apr 2006 21:11:53 +0000 (21:11 +0000)]
improve error checking and reporting of selftest

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

19 years agoadd self-test to epoll to detect non-supported kernels better
Bert Hubert [Fri, 21 Apr 2006 21:02:59 +0000 (21:02 +0000)]
add self-test to epoll to detect non-supported kernels better
improve error loggig

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

19 years agodup2 /dev/null on fd's 0, 1 and 2 to prevent accidental logging
Bert Hubert [Fri, 21 Apr 2006 19:24:39 +0000 (19:24 +0000)]
dup2 /dev/null on fd's 0, 1 and 2 to prevent accidental logging

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

19 years agowe don't differentiate between NXDOMAIN and NXRECORDSET, regression caused by commit...
Bert Hubert [Fri, 21 Apr 2006 14:08:19 +0000 (14:08 +0000)]
we don't differentiate between NXDOMAIN and NXRECORDSET, regression caused by commit 658. Spotted by PowerDNS Gold User Jorn Ekkelenkamp

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

19 years agodocumentation, install fix, compilation fix for Solaris on intel (thanks Eric Sproul)
Bert Hubert [Thu, 20 Apr 2006 16:21:11 +0000 (16:21 +0000)]
documentation, install fix, compilation fix for Solaris on intel (thanks Eric Sproul)

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

19 years agooops, search /etc/powerdns not /etc rec-3-0 rec-3.0
Bert Hubert [Thu, 20 Apr 2006 11:00:03 +0000 (11:00 +0000)]
oops, search /etc/powerdns not /etc

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

19 years agomove to 3.0! No longer overwrite configuration on make install
Bert Hubert [Thu, 20 Apr 2006 10:09:36 +0000 (10:09 +0000)]
move to 3.0! No longer overwrite configuration on make install

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

19 years agoremove bashisms
Bert Hubert [Thu, 20 Apr 2006 10:00:01 +0000 (10:00 +0000)]
remove bashisms
fix install on Solaris, FreeBSD
add fake ./configure script to catch Boost or lack thereof
update documentation

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

19 years agothings not only compile but work now too for freebsd system compiler & boost
Bert Hubert [Thu, 20 Apr 2006 07:37:40 +0000 (07:37 +0000)]
things not only compile but work now too for freebsd system compiler & boost

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

19 years agowork around 3.4.4 compiler bugs (freebsd 6 system compiler)
Bert Hubert [Thu, 20 Apr 2006 06:55:40 +0000 (06:55 +0000)]
work around 3.4.4 compiler bugs (freebsd 6 system compiler)

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

19 years agowork around compiler bug
Bert Hubert [Thu, 20 Apr 2006 06:53:12 +0000 (06:53 +0000)]
work around compiler bug

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

19 years agomake logging really work
Bert Hubert [Wed, 19 Apr 2006 20:07:42 +0000 (20:07 +0000)]
make logging really work

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

19 years agohave to shift the multiplexer to way after fork - freebsd chokes on it
Bert Hubert [Wed, 19 Apr 2006 20:02:17 +0000 (20:02 +0000)]
have to shift the multiplexer to way after fork - freebsd chokes on it

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

19 years agoadd init.d script, install it
Bert Hubert [Wed, 19 Apr 2006 19:47:38 +0000 (19:47 +0000)]
add init.d script, install it
add manpages to .deb, .rpm and tar.bz2
make rec_control exit with a meaningful error

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

19 years agosecond one!
Bert Hubert [Wed, 19 Apr 2006 19:31:41 +0000 (19:31 +0000)]
second one!

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

19 years agofirst manpage
Bert Hubert [Wed, 19 Apr 2006 19:26:38 +0000 (19:26 +0000)]
first manpage

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

19 years agoease-of-make stuff, help user compile powerdns
Bert Hubert [Wed, 19 Apr 2006 15:32:02 +0000 (15:32 +0000)]
ease-of-make stuff, help user compile powerdns

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

19 years agofixes for easier packaging
Bert Hubert [Wed, 19 Apr 2006 13:57:02 +0000 (13:57 +0000)]
fixes for easier packaging

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

19 years agosolaris completion ports don't survive fork
Bert Hubert [Wed, 19 Apr 2006 13:53:22 +0000 (13:53 +0000)]
solaris completion ports don't survive fork

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

19 years agodocumentation, plus newline termination of 'pong' :-)
Bert Hubert [Wed, 19 Apr 2006 11:58:29 +0000 (11:58 +0000)]
documentation, plus newline termination of 'pong' :-)

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

19 years agoimplement rec_control 'ping', make socket-dir error message bit more helpful, warn...
Bert Hubert [Wed, 19 Apr 2006 09:30:45 +0000 (09:30 +0000)]
implement rec_control 'ping', make socket-dir error message bit more helpful, warn we are going to background

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

19 years ago#ifdef out solaris specifics, fix possible solaris ambiguity
Bert Hubert [Wed, 19 Apr 2006 09:18:49 +0000 (09:18 +0000)]
#ifdef out solaris specifics, fix possible solaris ambiguity

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

19 years agoneed to ship portsmplexer.cc too
Bert Hubert [Wed, 19 Apr 2006 09:04:54 +0000 (09:04 +0000)]
need to ship portsmplexer.cc too

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

19 years agoadd SunOS sysdeps
Bert Hubert [Wed, 19 Apr 2006 07:46:28 +0000 (07:46 +0000)]
add SunOS sysdeps
make ports multiplexer work
make compiling multiplexers no longer be silent

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

19 years agofirst shot at solaris completion ports multiplexer - wrote it on linux so it won...
Bert Hubert [Wed, 19 Apr 2006 06:52:30 +0000 (06:52 +0000)]
first shot at solaris completion ports multiplexer - wrote it on linux so it won't work yet

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

19 years agooops, need to limit top-remotes
Bert Hubert [Tue, 18 Apr 2006 22:51:24 +0000 (22:51 +0000)]
oops, need to limit top-remotes

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

19 years agoplacate valgrind + protect powerdns against non-IN queries, we don't deal well with...
Bert Hubert [Tue, 18 Apr 2006 22:24:14 +0000 (22:24 +0000)]
placate valgrind + protect powerdns against non-IN queries, we don't deal well with them, hand out SERVFAIL immediately

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

19 years agoimplement id.server, version.bind ("version-string" and "server-id" in config)
Bert Hubert [Tue, 18 Apr 2006 21:59:41 +0000 (21:59 +0000)]
implement id.server, version.bind ("version-string" and "server-id" in config)
implement remote-ringbuffer, rec_control top-remotes to see who is querying you
implement max-negative-ttl
remove socklen

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

19 years agomake advanced multiplexers and --fork play nicely
Bert Hubert [Tue, 18 Apr 2006 17:31:52 +0000 (17:31 +0000)]
make advanced multiplexers and --fork play nicely

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

19 years agospiff up ipv6 output a bit, work around odd linker things with static constructors
Bert Hubert [Tue, 18 Apr 2006 17:01:32 +0000 (17:01 +0000)]
spiff up ipv6 output a bit, work around odd linker things with static constructors

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

19 years agotyop
Bert Hubert [Tue, 18 Apr 2006 16:46:29 +0000 (16:46 +0000)]
tyop

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

19 years agokeep track of duplicate counts, they show up as unmatched answers
Bert Hubert [Tue, 18 Apr 2006 16:46:14 +0000 (16:46 +0000)]
keep track of duplicate counts, they show up as unmatched answers

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

19 years agomake clientside ipv4/ip6 agnostic, including allow-from
Bert Hubert [Tue, 18 Apr 2006 16:44:10 +0000 (16:44 +0000)]
make clientside ipv4/ip6 agnostic, including allow-from
fix address printing
fix tcp client limiting when listening on multiple addresses

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

19 years agobuild fixes
Bert Hubert [Tue, 18 Apr 2006 13:33:24 +0000 (13:33 +0000)]
build fixes

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

19 years agoremove sample code from kqueuemplexer, fix huge fd leak in pdns_recursor,
Bert Hubert [Tue, 18 Apr 2006 13:07:17 +0000 (13:07 +0000)]
remove sample code from kqueuemplexer, fix huge fd leak in pdns_recursor,
remove debugging output

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

19 years agofix duplicate return of sockets to the pool, improve tcp timeout message
Bert Hubert [Tue, 18 Apr 2006 12:49:46 +0000 (12:49 +0000)]
fix duplicate return of sockets to the pool, improve tcp timeout message

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

19 years agofix timeouts of running TCP client queries - we shouldn't time them out while we...
Bert Hubert [Tue, 18 Apr 2006 12:18:02 +0000 (12:18 +0000)]
fix timeouts of running TCP client queries - we shouldn't time them out while we are still working!

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

19 years agofix 'removing unlisted fd from multiplexer'
Bert Hubert [Tue, 18 Apr 2006 11:52:55 +0000 (11:52 +0000)]
fix 'removing unlisted fd from multiplexer'
remove --single-socket support (and --query-local-port with it)
make powerdns deal with resource limit errors (specifically EMFILE)
make reporting ICMP errors faster by passing around PacketID

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

19 years agoabstract out part of the common logic
Bert Hubert [Tue, 18 Apr 2006 11:43:09 +0000 (11:43 +0000)]
abstract out part of the common logic

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

19 years agoupdate version
Bert Hubert [Tue, 18 Apr 2006 11:42:43 +0000 (11:42 +0000)]
update version

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

19 years agoenable logging to syslog (oops)
Bert Hubert [Mon, 17 Apr 2006 00:07:50 +0000 (00:07 +0000)]
enable logging to syslog (oops)

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

19 years agosave some memory, s/kqueue/epoll/
Bert Hubert [Sun, 16 Apr 2006 23:23:46 +0000 (23:23 +0000)]
save some memory, s/kqueue/epoll/

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

19 years agohook up tcp timeout var again
Bert Hubert [Sun, 16 Apr 2006 23:17:45 +0000 (23:17 +0000)]
hook up tcp timeout var again

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

19 years agoremove debugging chatter
Bert Hubert [Sun, 16 Apr 2006 23:15:23 +0000 (23:15 +0000)]
remove debugging chatter
add time to die support

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

19 years agoimplement OS specific sysdeps + compiletime selection of working multiplexers
Bert Hubert [Sun, 16 Apr 2006 22:18:14 +0000 (22:18 +0000)]
implement OS specific sysdeps + compiletime selection of working multiplexers
add max-tcp-clients back

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

19 years agoadd automatic mplexer selection at runtime, still need to do compile time
Bert Hubert [Sun, 16 Apr 2006 20:10:21 +0000 (20:10 +0000)]
add automatic mplexer selection at runtime, still need to do compile time

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

19 years agomake kqueue mplexer actually work
Bert Hubert [Sun, 16 Apr 2006 19:36:23 +0000 (19:36 +0000)]
make kqueue mplexer actually work

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

19 years agofirst shot, wrote it under linux hehe
Bert Hubert [Sun, 16 Apr 2006 19:26:37 +0000 (19:26 +0000)]
first shot, wrote it under linux hehe

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

19 years agomove to mplexer
Bert Hubert [Sun, 16 Apr 2006 19:14:33 +0000 (19:14 +0000)]
move to mplexer

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

19 years agoadd epoll mplexer, update selectmplexer
Bert Hubert [Sun, 16 Apr 2006 19:11:57 +0000 (19:11 +0000)]
add epoll mplexer, update selectmplexer

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

19 years agovalgrind spotted some undefined variables
Bert Hubert [Sun, 16 Apr 2006 19:11:31 +0000 (19:11 +0000)]
valgrind spotted some undefined variables

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

19 years agostart of mother of all multiplexors :-)
Bert Hubert [Sun, 16 Apr 2006 14:31:00 +0000 (14:31 +0000)]
start of mother of all multiplexors :-)

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

19 years agofix TCP outgoing error handling, fixing possible crashes under high load
Bert Hubert [Sun, 16 Apr 2006 11:29:34 +0000 (11:29 +0000)]
fix TCP outgoing error handling, fixing possible crashes under high load
improve TCP error message reporting, differentiating errors, timeouts

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

19 years agowork around gcc 4.0 bug, prepare move to boost::function based select/epoll/kqueue...
Bert Hubert [Sat, 15 Apr 2006 22:19:33 +0000 (22:19 +0000)]
work around gcc 4.0 bug, prepare move to boost::function based select/epoll/kqueue loop

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

19 years agomake nearMisses only account for the proper fd
Bert Hubert [Fri, 14 Apr 2006 22:50:31 +0000 (22:50 +0000)]
make nearMisses only account for the proper fd

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

19 years agofix djbdns-mode
Bert Hubert [Fri, 14 Apr 2006 20:38:22 +0000 (20:38 +0000)]
fix djbdns-mode

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

19 years agomove full-blown djbdns-style socket-per-query support
Bert Hubert [Fri, 14 Apr 2006 18:00:12 +0000 (18:00 +0000)]
move full-blown djbdns-style socket-per-query support
add --single-socket to fall back to old behaviour
make --query-local-port set that feature

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

19 years agomake it work
Bert Hubert [Fri, 14 Apr 2006 15:43:31 +0000 (15:43 +0000)]
make it work

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

19 years agomake anti-spoofing measures question and not ip address specific, make them tunable
Bert Hubert [Fri, 14 Apr 2006 12:35:19 +0000 (12:35 +0000)]
make anti-spoofing measures question and not ip address specific, make them tunable

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

19 years agoimplement stunningly cool spoofing protection, plus spoofer in dnspbench
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

19 years agoadd query-local-port, and make us move around if unset
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

19 years agoWARNING WARNING: We now listen on 127.0.0.1 by default *AND* only reply to RFC 1918...
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

19 years agoactually check output of sendEvent and log
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

19 years agomtasked did 3 or 4 walks of waiter-list for each call to sendEvent, reduced to 1
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

19 years agopassed around strings to asynresolve as a char*, causing heaps of malloc/new
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

19 years agosigh.. some queries have embedded nulls in them, which we log noisily
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

19 years agoimprove MX-record parsing for additional processing, we used to be confused by numeri...
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

19 years agoadd tool dnsscan (mostly for internal use)
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

19 years agoprevent possible crashes (score one for valgrind)
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

19 years agosmall compile cleanup
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

19 years agosilence warning
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

19 years agoalso compress the first answer against the question - might fix problems with e-tech...
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

19 years agodon't packet cache notifications! Thanks again to Dan Bilik <dan@mail.neosystem.cz>
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

19 years agofix crashes in tcp receiver (thanks Dan Bilik <dan@mail.neosystem.cz>)
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

19 years agofix memory leak (Dan Bilik <dan@mail.neosystem.cz>) - thanks!
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

19 years agofix handling of truncated packets with partial records (like emitted by powerdns...
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

19 years agoslightly improve error messages and reporting, attempting to zoom in on broken packets
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

19 years agoconsolidate license change previously announced here:
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

19 years agothe FSF has moved!
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

19 years agoforgot to commit - need to update server parser errors in lwres now
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

19 years agoadd counts for broken packets
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

19 years agogenerally spiff up appearance, nothing real
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

19 years agoadd unauthorized-udp, unauthorized-tcp, client-parse-errors, server-parse-errors...
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

19 years agoadd hardcoded support for 127.0.0.1 and 1.0.0.127.in-addr.arpa, bound to make some...
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

19 years agoadd support for CERT record (RFC 2538) to MOADNSParser
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

19 years agoTry to prevent the 'Oops, sent partial answer' error, and made it more informative...
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

19 years agoimplement very simple SMP support
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

19 years agoinline "strcasecmp" (stolen from glibc), short-circuit a lot of dnsencoding/decoding...
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

19 years ago1) make everyting intrinsically case-insensitive
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

19 years agoadd max-tcp-per-client to limit number of TCP connections per client
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

19 years agodocumentation, retuned cache pruning - should take less time now
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

19 years agoadd allow-from option to limit who can recurse. enable 'defer-accept' for TCP if...
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

19 years agomake .deps find boost!
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

19 years agorecursor separate distribution fixes
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

19 years agolower case diff for hints-zone
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