summaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
Commit message (Collapse)AuthorAgeFilesLines
* FEAR THE POWER OF VIM AND THE ALMIGHTY "%s/ /\t/g"Gravatar brain2006-07-091-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4249 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for segfault if a user quits before their ident is complete, due to ↵Gravatar brain2006-06-071-6/+10
| | | | | | | | | | | session limit reached Do this by checking their pointer in the fd_ref_table against the pointer we got when we started the lookup, so we can know if its been invalidated or not (just in case the OnClose occurs before we NULL the user) git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3993 e03df62e-2008-0410-955e-edbf42e46eb7
* Now doesnt crash on rare occaisionsGravatar brain2006-05-021-9/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3924 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport of ident crash fix (this should work, read comment in OnCleanup)Gravatar brain2006-04-181-33/+57
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3884 e03df62e-2008-0410-955e-edbf42e46eb7
* And moreGravatar brain2006-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3657 e03df62e-2008-0410-955e-edbf42e46eb7
* Strlen bashing.Gravatar brain2006-03-091-5/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3600 e03df62e-2008-0410-955e-edbf42e46eb7
* Why are we using the users hostname to connect back to port 113? we can use ↵Gravatar brain2006-02-031-1/+1
| | | | | | ip here, and save ourselves a lookup git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3043 e03df62e-2008-0410-955e-edbf42e46eb7
* When socket fails to construct, we now check the GetState() of the socket ↵Gravatar brain2006-02-021-2/+10
| | | | | | | | | | object to detect this condition. If we dont, we can end up leaking fd's and RAM on failure. We dont use exceptions here as these operations can occur very often. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3021 e03df62e-2008-0410-955e-edbf42e46eb7
* More nonblocking dns stuffsGravatar brain2006-02-021-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3020 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnCleanupGravatar brain2006-01-271-1/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2942 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed unneccessary strlcpyGravatar brain2006-01-261-6/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2927 e03df62e-2008-0410-955e-edbf42e46eb7
* Damn string exceptionsGravatar brain2006-01-261-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2925 e03df62e-2008-0410-955e-edbf42e46eb7
* GrrGravatar brain2006-01-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2924 e03df62e-2008-0410-955e-edbf42e46eb7
* Removal of a comment - DRASTICALLY IMPORTANT, THIS COMMENT CAN CAUSE A MAJOR ↵Gravatar brain2006-01-261-1/+0
| | | | | | SYSTEM CRASH! ;) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2923 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed a load of unneeded includes (poll.h etc)Gravatar brain2006-01-261-10/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2922 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved these into initialization-listGravatar brain2006-01-261-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2921 e03df62e-2008-0410-955e-edbf42e46eb7
* Incorrect initialization orderGravatar brain2006-01-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2920 e03df62e-2008-0410-955e-edbf42e46eb7
* Default ident timeout to 1 sec if not defined (a bit low, but better than 0!)Gravatar brain2006-01-261-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2918 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated m_ident to use inspsocket, should be more reliable - *NEEDS TESTING*Gravatar brain2006-01-261-220/+84
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2917 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
* And moreGravatar brain2005-12-261-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2660 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed behaviour of module API to pass Server* to the constructor, rather ↵Gravatar brain2005-12-071-5/+5
| | | | | | than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a parameter to OnRehash for the rehash parameterGravatar brain2005-11-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2058 e03df62e-2008-0410-955e-edbf42e46eb7
* Started on -Wall - safe compileGravatar brain2005-05-301-0/+1
| | | | 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
* Added basic sendq stuff - WARNING, there is no configuration yet, this CVS ↵Gravatar brain2005-05-111-14/+16
| | | | | | allows sendq's to grow INFINITELY git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1361 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed some unceccessary debug outputGravatar brain2005-04-201-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1135 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnUserDisconnect method to modules.* to fix fd leak in m_ident.cppGravatar brain2005-04-201-5/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1134 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed fd leaksGravatar brain2005-04-191-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1133 e03df62e-2008-0410-955e-edbf42e46eb7
* More nice comments (this module is kind of a flagship for a few new method ↵Gravatar brain2005-04-141-0/+6
| | | | | | calls) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1093 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed the state engine states to nice constantsGravatar brain2005-04-141-8/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1092 e03df62e-2008-0410-955e-edbf42e46eb7
* More careful checks for control characters and linefeeds in the ident ↵Gravatar brain2005-04-141-6/+4
| | | | | | (because having them in there really does stuff things up) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1091 e03df62e-2008-0410-955e-edbf42e46eb7
* Added commentsGravatar brain2005-04-141-15/+46
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1090 e03df62e-2008-0410-955e-edbf42e46eb7
* Lots of bugfixes, added timeouts, completely nonblocking!Gravatar brain2005-04-141-2/+208
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1089 e03df62e-2008-0410-955e-edbf42e46eb7
* Added m_ident skeletonGravatar brain2005-04-141-0/+81
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1087 e03df62e-2008-0410-955e-edbf42e46eb7