summaryrefslogtreecommitdiff
path: root/src/dns.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Make threaded dns stable by placing some mutexes around some stl stuff (this ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4460 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-201-11/+49
* Threaded dns stuff - im going to try and make this stable in 1.1•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-201-2/+1
* Removed all that lastcreate and wantclose craq from dns.cpp (WHAT THE FUCK WE...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-191-11/+0
* * Seperate out socket engines into derived classes of SocketEngine.•••* Add a classfactory SocketEngineFactory to create a new socketengine of the configured type * Implement configure hax to compile only the required socketengine and the base class * Eliminates ugly defines, and is more in line with C++ ways git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4439 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-191-0/+1
* Tweaks for nonblocking dns•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4432 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-4/+10
* 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-1/+3
* Rollback dns change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4384 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-141-5/+0
* Fix dns socket leak found in stable•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-141-0/+5
* Removed debugging•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4368 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-3/+0
* All this works now (hopefully)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4367 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-0/+4
* Throw moduleexception if you:•••(a) try and resolve hosts before the core is initialized (HOW?!) (b) try and resolve a host and the domain server is totally unreacable e.g. through lack of fd's or ifconfig eth0 down :p (this is the only safe way, any other way may result in a developer inserting an invalid pointer into a list of Resolver* theyre watching) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4360 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-0/+7
* Typo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4358 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-1/+1
* Make it work:•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-9/+41
* 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/+98
* Return false was missing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3928 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-05-031-1/+1
* delete operator tracking in debug mode (using a macro -- live with it.)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-241-12/+12
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE T...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-061-49/+49
* 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
* Support for hostnames in <bind> tag (so long as the hostname resolves to a lo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3621 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-101-12/+23
* Typo in some code that should usually be #ifdef'ed out anyway, but we still w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3147 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-091-2/+2
* *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/+14
* Allow async dns to compile -- but its still experimental and should not be us...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3006 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-011-2/+2
* Remove last relic of last goto in inspircd (an unused label)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2907 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-251-1/+0
* One goto is now no gotos.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-251-1/+2
* Updated copyrights in headers etc using perl inplace edit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-151-1/+1
* Tidyup of K&R style indenting, comments in silly places, and pointless curly ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2718 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-311-111/+171
* Changed to QueryType rather than short int for query types•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2717 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-311-36/+32
* Removed crappy linked list stuff and replaced with faster std::map•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2716 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-311-27/+24
* Improving niceness of DNS code, i WILL make this readable!•••Changed a ton of ugly firedns #define's to enums git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2715 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-311-52/+46
* Fixed an extremely n00bish mistake involving referencing a global copy of Ser...•••(everyone point and laugh at Brain) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-291-6/+3
* Moved serverstats stuff out•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2529 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-161-7/+6
* Moved SocketEngine* SE into InspIRCd class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-161-5/+6
* 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/+42
* Started moving of data into ServerConfig class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-141-0/+1
* Half way through updating to move a ton of extern confs into class ServerConfig•••WILL NOT RUN ATM git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2392 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-141-8/+7
* Tied in DNS to SocketEngine•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2333 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-121-0/+4
* 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/+5
* *EXPERIMENTAL* Tied DNS into new socket engine•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2331 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-121-0/+15
* Changed behaviour of module API to pass Server* to the constructor, rather th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-071-1/+0
* 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-33/+29
* DNS safety and logging•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2246 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-071-1/+16
* Fixed dns lookups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2098 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-021-1/+6
* Bloody ip addresses.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2097 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-021-6/+1
* Om's ip is annoying to parse.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2096 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-021-1/+5
* Changed to %u for unsigned•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2092 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-021-1/+1
* Signed octets in dns forward lookup! GAH•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2091 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-021-1/+1
* Multithreaded DNS -- not tested!!!!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2088 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-011-1/+31
* 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-5/+6
* Changed to use __single_client_alloc, faster on most systems in a single thread•••Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-0/+2
* New docs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1399 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-1/+1