summaryrefslogtreecommitdiff
path: root/src/dns.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Properly check for duplicate dns id's from the PRNG•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4667 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-3/+11
* Improve PRNG•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4666 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-3/+13
* Pseudo-random id's again, combined with incrementing value, gettimeofday and ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4661 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-2/+3
* Add back stats counters for dns total, good and bad•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4660 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-0/+8
* Allocate request id's in sequence, which means we wont get a duplicate id unt...•••Much safer than rand() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4659 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-4/+5
* Change more names and types•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4657 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-15/+8
* Absolutely everything is now part of class DNS, or class Resolver.•••This means our dns code is totally encapsulated and we know that changing it wont effect anything else so long as the interface stays the same. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4656 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-5/+29
* More tidying•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4655 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-46/+47
* Move more stuff into private members of class DNS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4654 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-21/+12
* Tidyups, rename some vars•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4653 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-23/+16
* Made MasterSocket static•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4652 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-22/+27
* Move more stuff into class DNS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4651 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-102/+103
* Tweak case of all classes to match those in the rest of the core•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4650 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-38/+49