summaryrefslogtreecommitdiff
path: root/src/dns.cpp
AgeCommit message (Collapse)Author
2006-07-14Rollback dns changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4384 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-14Fix dns socket leak found in stablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Removed debuggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4368 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12All this works now (hopefully)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4367 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Throw moduleexception if you:brain
(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
2006-07-12Typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4358 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Make it work:brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Added class Resolver (needs testing)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4353 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-03Return false was missingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3928 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24delete operator tracking in debug mode (using a macro -- live with it.)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-06Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵w00t
THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12Const refs (this is about the last of them in the core api)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3694 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10Support for hostnames in <bind> tag (so long as the hostname resolves to a ↵brain
locally bindable ip) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3621 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-09Typo in some code that should usually be #ifdef'ed out anyway, but we still ↵brain
want this to work sometimes, maybe. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3147 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02*UNTESTED DO NOT USE YET* - async dns for InspSocket as test - removing ↵brain
requirement on nss_dns.so.1 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3017 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-01Allow async dns to compile -- but its still experimental and should not be ↵brain
used on a production network! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3006 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25Remove last relic of last goto in inspircd (an unused label)om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2907 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25One goto is now no gotos.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-31Tidyup of K&R style indenting, comments in silly places, and pointless curly ↵brain
braces around non-blocks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2718 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-31Changed to QueryType rather than short int for query typesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2717 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-31Removed crappy linked list stuff and replaced with faster std::mapbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2716 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-31Improving niceness of DNS code, i WILL make this readable!brain
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
2005-12-29Fixed an extremely n00bish mistake involving referencing a global copy of ↵brain
ServerEngine when we now use one local to class InspIRCd (everyone point and laugh at Brain) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2692 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved serverstats stuff outbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2529 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved SocketEngine* SE into InspIRCd classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved command parsing crap into command_parse.cppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2505 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Started moving of data into ServerConfig classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Half way through updating to move a ton of extern confs into class ServerConfigbrain
WILL NOT RUN ATM git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2392 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-12Tied in DNS to SocketEnginebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2333 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-12Attempts to make DNS nicer with new socket enginebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2332 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-12*EXPERIMENTAL* Tied DNS into new socket enginebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2331 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07Changed behaviour of module API to pass Server* to the constructor, rather ↵brain
than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07Tons of DNS debugging and stability fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2247 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07DNS safety and loggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2246 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-02Fixed dns lookupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2098 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-02Bloody ip addresses.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2097 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-02Om's ip is annoying to parse.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2096 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-02Changed to %u for unsignedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2092 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-02Signed octets in dns forward lookup! GAHbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2091 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-01Multithreaded DNS -- not tested!!!!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2088 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-30Started on -Wall - safe compilebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Changed to use __single_client_alloc, faster on most systems in a single threadbrain
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15New docsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1399 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Moved a ton of functions into helperfuncs.h to speed up recompilesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-09Hit dns with spork. Repeat until crispy.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1349 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-09Fixes to way allocations are handledbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-02Added /stats Tbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1280 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26Major code tidyup (-W) - expect a few belchesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20Added OnUserDisconnect method to modules.* to fix fd leak in m_ident.cppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1134 e03df62e-2008-0410-955e-edbf42e46eb7