summaryrefslogtreecommitdiff
path: root/src/dns.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More checks for running out of file descriptors, or file descriptors being ↵Gravatar brain2006-08-081-3/+3
| | | | | | forbidden git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4779 e03df62e-2008-0410-955e-edbf42e46eb7
* Same here, remove the lastcreate craqGravatar brain2006-07-191-13/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4455 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix the dns issue with 1_0_stable. The issue is easier to resolve here than ↵Gravatar brain2006-07-161-1/+0
| | | | | | in trunk git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4406 e03df62e-2008-0410-955e-edbf42e46eb7
* Rollback dns changeGravatar brain2006-07-141-5/+0
| | | | | | | svn merge -r 4383:4379 svn+ssh://neuron/usr/local/svnroot/branches/1_0_stable git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4385 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix sometimes-leaking dns sockets when user quits between the two lookups ↵Gravatar brain2006-07-141-0/+5
| | | | | | (forward and reverse) git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4382 e03df62e-2008-0410-955e-edbf42e46eb7
* FEAR THE POWER OF VIM AND THE ALMIGHTY "%s/ /\t/g"Gravatar brain2006-07-091-53/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4249 e03df62e-2008-0410-955e-edbf42e46eb7
* Return false; was missingGravatar brain2006-05-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3927 e03df62e-2008-0410-955e-edbf42e46eb7
* Const refs (this is about the last of them in the core api)Gravatar brain2006-03-121-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3694 e03df62e-2008-0410-955e-edbf42e46eb7
* Support for hostnames in <bind> tag (so long as the hostname resolves to a ↵Gravatar brain2006-03-101-12/+23
| | | | | | locally bindable ip) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3621 e03df62e-2008-0410-955e-edbf42e46eb7
* Typo in some code that should usually be #ifdef'ed out anyway, but we still ↵Gravatar brain2006-02-091-2/+2
| | | | | | want this to work sometimes, maybe. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3147 e03df62e-2008-0410-955e-edbf42e46eb7
* *UNTESTED DO NOT USE YET* - async dns for InspSocket as test - removing ↵Gravatar brain2006-02-021-0/+14
| | | | | | requirement on nss_dns.so.1 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3017 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow async dns to compile -- but its still experimental and should not be ↵Gravatar brain2006-02-011-2/+2
| | | | | | used on a production network! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3006 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove last relic of last goto in inspircd (an unused label)Gravatar om2006-01-251-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2907 e03df62e-2008-0410-955e-edbf42e46eb7
* One goto is now no gotos.Gravatar brain2006-01-251-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2904 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup of K&R style indenting, comments in silly places, and pointless curly ↵Gravatar brain2005-12-311-111/+171
| | | | | | braces around non-blocks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2718 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to QueryType rather than short int for query typesGravatar brain2005-12-311-36/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2717 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed crappy linked list stuff and replaced with faster std::mapGravatar brain2005-12-311-27/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2716 e03df62e-2008-0410-955e-edbf42e46eb7
* Improving niceness of DNS code, i WILL make this readable!Gravatar brain2005-12-311-52/+46
| | | | | | | 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
* Fixed an extremely n00bish mistake involving referencing a global copy of ↵Gravatar brain2005-12-291-6/+3
| | | | | | | | | 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
* Moved serverstats stuff outGravatar brain2005-12-161-7/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2529 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved SocketEngine* SE into InspIRCd classGravatar brain2005-12-161-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved command parsing crap into command_parse.cppGravatar brain2005-12-161-0/+42
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2505 e03df62e-2008-0410-955e-edbf42e46eb7
* Started moving of data into ServerConfig classGravatar brain2005-12-141-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
* Half way through updating to move a ton of extern confs into class ServerConfigGravatar brain2005-12-141-8/+7
| | | | | | | WILL NOT RUN ATM git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2392 e03df62e-2008-0410-955e-edbf42e46eb7
* Tied in DNS to SocketEngineGravatar brain2005-12-121-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2333 e03df62e-2008-0410-955e-edbf42e46eb7
* Attempts to make DNS nicer with new socket engineGravatar brain2005-12-121-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2332 e03df62e-2008-0410-955e-edbf42e46eb7
* *EXPERIMENTAL* Tied DNS into new socket engineGravatar brain2005-12-121-0/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2331 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed behaviour of module API to pass Server* to the constructor, rather ↵Gravatar brain2005-12-071-1/+0
| | | | | | than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
* Tons of DNS debugging and stability fixesGravatar brain2005-12-071-33/+29
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2247 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS safety and loggingGravatar brain2005-12-071-1/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2246 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed dns lookupsGravatar brain2005-12-021-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2098 e03df62e-2008-0410-955e-edbf42e46eb7
* Bloody ip addresses.Gravatar brain2005-12-021-6/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2097 e03df62e-2008-0410-955e-edbf42e46eb7
* Om's ip is annoying to parse.Gravatar brain2005-12-021-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2096 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to %u for unsignedGravatar brain2005-12-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2092 e03df62e-2008-0410-955e-edbf42e46eb7
* Signed octets in dns forward lookup! GAHGravatar brain2005-12-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2091 e03df62e-2008-0410-955e-edbf42e46eb7
* Multithreaded DNS -- not tested!!!!Gravatar brain2005-12-011-1/+31
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2088 e03df62e-2008-0410-955e-edbf42e46eb7
* Started on -Wall - safe compileGravatar brain2005-05-301-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use __single_client_alloc, faster on most systems in a single threadGravatar brain2005-05-151-0/+2
| | | | | | | Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
* New docsGravatar brain2005-05-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1399 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved a ton of functions into helperfuncs.h to speed up recompilesGravatar brain2005-05-151-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
* Hit dns with spork. Repeat until crispy.Gravatar brain2005-05-091-61/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1349 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to way allocations are handledGravatar brain2005-05-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7
* Added /stats TGravatar brain2005-05-021-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1280 e03df62e-2008-0410-955e-edbf42e46eb7
* Major code tidyup (-W) - expect a few belchesGravatar brain2005-04-261-35/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnUserDisconnect method to modules.* to fix fd leak in m_ident.cppGravatar brain2005-04-201-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1134 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed fd leaksGravatar brain2005-04-191-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1133 e03df62e-2008-0410-955e-edbf42e46eb7
* Dns free() errors fixedGravatar brain2005-04-111-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1055 e03df62e-2008-0410-955e-edbf42e46eb7
* Major optimizations!Gravatar brain2005-04-051-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for dns queueing, timeout functions etc moved to more sensible placeGravatar brain2005-04-021-3/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@956 e03df62e-2008-0410-955e-edbf42e46eb7