summaryrefslogtreecommitdiff
path: root/include/dns.h
Commit message (Expand)AuthorAgeFilesLines
* 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-13/+5
* 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/+6
* 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-2/+10
* 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-0/+8
* Change comments to reflect change from ip6.int to ip6.arpa which occured on ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4682 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-4/+4
* 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-8/+35
* 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-0/+5
* *.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/+13
* Support CNAME, AAAA•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4673 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-12/+32
* 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-1/+6
* Improve PRNG•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4666 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-0/+7
* Added comments to class DNS and typedefs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4662 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-5/+101
* 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-0/+1
* Change to a const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4658 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-1/+3
* 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-2/+9
* 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-1/+17
* Tidyups, rename some vars•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4653 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-1/+20
* Made MasterSocket static•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4652 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-0/+2
* 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-28/+20
* Change comment at start of the file, rename dns_connection•••to dns_request (they no longer represent connections with unique FD's so the old name was kind of silly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4649 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-3/+3
* Add error messages to Resolver::OnError()•••Add exception handling to several places that use Resolver (it can throw) Remove Resolver::ProcessResult(), its now handled within the bowels of dns.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4646 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-12/+9
* Change comment which referred to an fd, is now an id•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4633 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-1/+4
* Remove unused vars from class DNS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4624 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-3/+0
* Remove unused temp buffers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4623 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-42/+19
* Removed threaded dns (it might make a comeback some day, but as it stands its...•••Migrated to new OO resolver, removed as much firedns craq as is safe to do so, operates over one file descriptor now and keyed against request id. The only way to use the system is via class Resolver (so i'll need to migrate the rest of the ircd to use it) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4622 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-61/+10
* The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-3/+0
* Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-9/+9
* Fix socket leak properly this time•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4405 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-0/+2
* Tiny tiny docs update, not even worth re-generating the docs for atm•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4370 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-3/+3
* Document class Resolver•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4369 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-1/+87
* Make it work:•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-2/+2
* Added class Resolver (needs testing)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4353 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-0/+31
* Sort include dependencies of dns.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4294 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-1/+4
* Made a load more stuff Extensible which might be of use to someone•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4293 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-1/+1
* Route some more stuff through socket.h and hash_map.h. Add #define protection...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3869 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-101-3/+1
* Const refs (this is about the last of them in the core api)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-5/+5
* *UNTESTED DO NOT USE YET* - async dns for InspSocket as test - removing requi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3017 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-021-0/+3
* Moved command parsing crap into command_parse.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2505 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-161-0/+7
* Attempts to make DNS nicer with new socket engine•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2332 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-121-0/+3
* Tons of DNS debugging and stability fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2247 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-071-1/+2
* Multithreaded DNS -- not tested!!!!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2088 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-011-0/+1
* Started on -Wall - safe compile•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-301-1/+1
* Major code tidyup (-W) - expect a few belches•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-04-261-2/+2
* Dns free() errors fixed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1055 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-04-111-0/+1
* Added DNS class to documentation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@952 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-04-021-0/+31
* DNS timeout fixes!•••Docs to come git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@940 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-04-011-0/+1
* Added nonblocking dns•••*** BUG BUG BUG - If dns is slow, things will go wrong!!!! do not use this on a live net without accepting the risk involved! *** Will be fixed by next commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@938 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-04-011-0/+62