]> granicus.if.org Git - pdns/log
pdns
19 years agodon't do skip locking on msvc :-)
Bert Hubert [Sun, 30 Apr 2006 10:20:56 +0000 (10:20 +0000)]
don't do skip locking on msvc :-)

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

19 years agocentralise and fix 'packed' ugliness for EDNS0 and dnsrecordheader
Bert Hubert [Sun, 30 Apr 2006 10:18:28 +0000 (10:18 +0000)]
centralise and fix 'packed' ugliness for EDNS0 and dnsrecordheader
fix compilarion on FreeBSD

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

19 years agoBig bag of VC++ fixes, mostly by Michel 'Wimpie' Stol
Bert Hubert [Sat, 29 Apr 2006 21:49:33 +0000 (21:49 +0000)]
Big bag of VC++ fixes, mostly by Michel 'Wimpie' Stol

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

19 years agoadd Makefile for win32 (mingw based)
Bert Hubert [Sat, 29 Apr 2006 21:46:49 +0000 (21:46 +0000)]
add Makefile for win32 (mingw based)

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

19 years agomove some things to the #ifdef WIN32 block
Bert Hubert [Sat, 29 Apr 2006 16:56:18 +0000 (16:56 +0000)]
move some things to the #ifdef WIN32 block
trivial Utility moves
move from read to recv, write to send

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

19 years agotrivial moves to Utility::, use gmtime on windows instead of gmtime_r
Bert Hubert [Sat, 29 Apr 2006 16:55:04 +0000 (16:55 +0000)]
trivial moves to Utility::, use gmtime on windows instead of gmtime_r

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

19 years agopush some implementation down from rec_channel.hh to rec_channel.cc (and win32_rec_ch...
Bert Hubert [Sat, 29 Apr 2006 16:54:11 +0000 (16:54 +0000)]
push some implementation down from rec_channel.hh to rec_channel.cc (and win32_rec_channel.cc)
#ifdef out some things that we have no windows code for yet in rec_channel_rec.cc

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

19 years agodrop and add some includes, all trivial
Bert Hubert [Sat, 29 Apr 2006 16:51:53 +0000 (16:51 +0000)]
drop and add some includes, all trivial

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

19 years agothis is snapshot2
Bert Hubert [Sat, 29 Apr 2006 16:50:43 +0000 (16:50 +0000)]
this is snapshot2

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

19 years agosimple changes, gettimeofday -> Utility::gettimeofday etc
Bert Hubert [Sat, 29 Apr 2006 16:50:15 +0000 (16:50 +0000)]
simple changes, gettimeofday -> Utility::gettimeofday etc

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

19 years agoremove heap of structs XP no longer needs
Bert Hubert [Sat, 29 Apr 2006 16:49:33 +0000 (16:49 +0000)]
remove heap of structs XP no longer needs

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

19 years agoupdate bunch of win32 support libraries + add stub win32_rec_channel
Bert Hubert [Sat, 29 Apr 2006 16:48:48 +0000 (16:48 +0000)]
update bunch of win32 support libraries + add stub win32_rec_channel

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

19 years agocut our ties with arpa/nameser.h
Bert Hubert [Sat, 29 Apr 2006 16:46:46 +0000 (16:46 +0000)]
cut our ties with arpa/nameser.h

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

19 years agoupdate documentation with new features, fix built-in SOA
Bert Hubert [Sat, 29 Apr 2006 09:08:20 +0000 (09:08 +0000)]
update documentation with new features, fix built-in SOA

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

19 years agoimprove error reporting from houseKeeping(), fix bind on FreeBSD
Bert Hubert [Fri, 28 Apr 2006 18:28:50 +0000 (18:28 +0000)]
improve error reporting from houseKeeping(), fix bind on FreeBSD

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

19 years agomake our speed stats deal with multiple IP(v6) addresses per nameserver
Bert Hubert [Fri, 28 Apr 2006 16:50:10 +0000 (16:50 +0000)]
make our speed stats deal with multiple IP(v6) addresses per nameserver
move remaining sockaddr bits over to ComboAddress
make IPv6 outgoing support work, adding query-local-address6
add ipv6-outqueries counter

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

19 years agomake AAAA records be output on screen in a pretty way
Bert Hubert [Fri, 28 Apr 2006 16:39:51 +0000 (16:39 +0000)]
make AAAA records be output on screen in a pretty way

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

19 years agomake ComboAddress have an explicit string constructor, teach it operator> and operator==
Bert Hubert [Fri, 28 Apr 2006 16:00:00 +0000 (16:00 +0000)]
make ComboAddress have an explicit string constructor, teach it operator> and operator==

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

19 years agotune throttling, add unreachable accounting
Bert Hubert [Fri, 28 Apr 2006 10:13:44 +0000 (10:13 +0000)]
tune throttling, add unreachable accounting

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

19 years agoreplace ugly cache insertion/deleting code by nice alternative from Joaquin Lopez...
Bert Hubert [Fri, 28 Apr 2006 09:39:49 +0000 (09:39 +0000)]
replace ugly cache insertion/deleting code by nice alternative from Joaquin Lopez Munoz

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

19 years agoadd support for serving rfc-1918, on by default
Bert Hubert [Fri, 28 Apr 2006 09:17:17 +0000 (09:17 +0000)]
add support for serving rfc-1918, on by default
fix up the caching of ANY queries, should raise cache rate a lot
fix authoritative part, it messed up badly
SOA for autogenerated zones (both export-etc-hosts) was wrong
prevent duplicates when doing additional processing (showed up for ANY)
prettyprint 'ANY' instead of #255.

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

19 years agofix bug where we temporarily would not be doing negative caching for 5 minutes at...
Bert Hubert [Fri, 28 Apr 2006 07:14:14 +0000 (07:14 +0000)]
fix bug where we temporarily would not be doing negative caching for 5 minutes at a time after
1 hour of blanking out a domain. Apologies to the root-server operators and others.
Also, we did not limit the max negative caching time for all cases.

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

19 years agofix many documentation problems found by Seth Arnold
Bert Hubert [Thu, 27 Apr 2006 21:22:56 +0000 (21:22 +0000)]
fix many documentation problems found by Seth Arnold

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

19 years agoadd documentation for auth-zones, forward-zones and export-etc-hosts
Bert Hubert [Thu, 27 Apr 2006 17:25:22 +0000 (17:25 +0000)]
add documentation for auth-zones, forward-zones and export-etc-hosts

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

19 years agofix . zone refreshing bug (we didn't actually import what the root-servers were telli...
Bert Hubert [Thu, 27 Apr 2006 17:11:44 +0000 (17:11 +0000)]
fix . zone refreshing bug (we didn't actually import what the root-servers were telling us)
fix case of domain with nameservers with multiple IP addresses of which only one is lame
add: --auth-zones, --forward-zones and --export-etc-hosts

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

19 years agoupdate version
Bert Hubert [Thu, 27 Apr 2006 17:08:27 +0000 (17:08 +0000)]
update version

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

19 years agomake the zoneparser tng no longer suck
Bert Hubert [Thu, 27 Apr 2006 17:06:49 +0000 (17:06 +0000)]
make the zoneparser tng no longer suck

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

19 years agoadd isCanonical and toCanonic
Bert Hubert [Thu, 27 Apr 2006 17:04:14 +0000 (17:04 +0000)]
add isCanonical and toCanonic

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

19 years agoslight speedups, restore 'cache peaking' w/o being interested in the answers, only ttl
Bert Hubert [Thu, 27 Apr 2006 08:25:18 +0000 (08:25 +0000)]
slight speedups, restore 'cache peaking' w/o being interested in the answers, only ttl
add out of band resolving hook, empty

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

19 years agoadd some performance notes, and rfc deviation
Bert Hubert [Thu, 27 Apr 2006 08:18:11 +0000 (08:18 +0000)]
add some performance notes, and rfc deviation

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

19 years agoimplement SRV additional processing, generalise additional processing
Bert Hubert [Wed, 26 Apr 2006 19:40:45 +0000 (19:40 +0000)]
implement SRV additional processing, generalise additional processing

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

19 years agothis fixes prio in MX and in SRV records from being zero on sun-endian platforms
Bert Hubert [Wed, 26 Apr 2006 08:12:22 +0000 (08:12 +0000)]
this fixes prio in MX and in SRV records from being zero on sun-endian platforms

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

19 years agoupdate version for rpm rec-3-0-1 rec-3.0.1
Bert Hubert [Tue, 25 Apr 2006 15:58:24 +0000 (15:58 +0000)]
update version for rpm

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

19 years agorelease notes
Bert Hubert [Tue, 25 Apr 2006 15:44:24 +0000 (15:44 +0000)]
release notes

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

19 years ago'packer' makes our debian archives
Bert Hubert [Tue, 25 Apr 2006 15:17:43 +0000 (15:17 +0000)]
'packer' makes our debian archives

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

19 years agoupdate version
Bert Hubert [Tue, 25 Apr 2006 15:17:21 +0000 (15:17 +0000)]
update version

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

19 years agomake sure destructors are called, cleaning up socket
Bert Hubert [Tue, 25 Apr 2006 14:42:54 +0000 (14:42 +0000)]
make sure destructors are called, cleaning up socket

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

19 years agodefault to gcc for c files
Bert Hubert [Tue, 25 Apr 2006 14:05:21 +0000 (14:05 +0000)]
default to gcc for c files

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

19 years agowork around solaris 8-isms
Bert Hubert [Tue, 25 Apr 2006 13:50:54 +0000 (13:50 +0000)]
work around solaris 8-isms

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

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