summaryrefslogtreecommitdiff
path: root/src/dns.cpp
Commit message (Expand)AuthorAgeFilesLines
* Refactor dns.cpp to use an array of request types rather than map, for O(1) l...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6042 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-181-27/+20
* Still more massive commit fun. Headers in include/ still to be done, else tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-1/+0
* Jesus, look who's the commit whore today. More header updates, and removal of...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-9/+4
* Fix all the _FORTIFY_SOURCE warnings except "punned pointer".•••We CANNOT fix this, as it is the recommended (and only) way to dlsym a symbol from a .so file. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5770 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-191-1/+5
* Add fix for patch #166 (this is a reasonably big one)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-101-1/+22
* Apply patch by satmd which performs ipv4 lookup on 4in6 users•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5631 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-021-6/+11
* Socket error state stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5607 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-311-1/+1
* Default to 5 if none set•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5524 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-221-1/+1
* Respect the dns timeout value in the conf•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5523 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-221-2/+2
* Change around some dns stuff (dont use this yet)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5522 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-221-1/+6
* Call OnError when timing out•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5520 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-221-3/+4
* DNS timeouts missing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5519 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-221-23/+50
* Document more classes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-061-24/+32
* Fix for uninitialized var in valgrind output•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5172 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-081-0/+4
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-301-7/+0
* EventHandler class, an abstraction for raw i/o•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-73/+60
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-22/+22
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd objec...•••TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-3/+0
* Move the socket functions like insp_ntoa into their own namespace. They arent...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4828 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-0/+7
* Passing invalid instance to dns isnt a good idea•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4825 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+1
* Fix passing wrong instance to resolver•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4824 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-0/+4
* Change some resolver stuff.•••OM, THIS STILL WONT COMPILE! Error on the same line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4821 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-5/+2
* ServerConfig extern moved into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-7/+6
* Extra checking that the fd's we pass to SocketEngine::AddFd were added (a lot...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4780 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-1/+13
* Fixes for ::0 ip's, disable autobind when using ::ffff: etc•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4703 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-041-0/+8
* Safety wrapper defines for ipv6 code on ipv4 ircds•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4697 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-041-1/+6
* Add proper support for "munging" of ipv6 addresses when ::ffff:addr is used (...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4693 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-5/+10
* Change some checking•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-3/+9
* More stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-1/+2
* Odd stuff with ::ffff ipv6 addresses•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4690 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-0/+5
* Extra debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4689 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-0/+6
* Tweak•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4688 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-1/+2
* Tweak tweak•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4687 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-1/+2
* Change to use inaddr6_any•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4686 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-1/+5
* Add more debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4685 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-0/+1
* Debug output on invalid nameserver address in constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4684 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-0/+6
* Add strerror stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4683 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-1/+4
* Tidier MakeIP6Int()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4681 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-5/+4
* Its ip6.arpa, not ip6.int?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4680 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-1/+1
* Extra stuff for forcing a v4 or v6 lookup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4679 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-0/+59
* Improved ip6.int builder (no more HUGE sprintf craq)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4678 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-34/+13
* Added test framework, so that i can work on improving MakeIP6Int•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4677 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-18/+22
* *.ip6.int PTR lookups. FUGLY AS FUCK. someone please help me tidy (backported...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4676 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-6/+40
* AAAA lookup fixed. Theyre returned as string, without need for inet_pton with...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4675 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-10/+8
* Support CNAME, AAAA•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4673 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-31/+122
* Fix sockaddr structs for ipv6•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4672 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-2/+2
* Add some commenting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4670 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-3/+3
* add erroring if there are already 65536 id's in transit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4669 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-2/+5
* Check for spoofed DNS replies where the source-port is invalid, or the ip is ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4668 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-6/+29