summaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix small memory leak (this cant theoretically happen anyway unless you ↵Gravatar brain2007-10-191-0/+1
| | | | | | remove a network interface while an ident is connecting, and then youll only leak 12 bytes) git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8235 e03df62e-2008-0410-955e-edbf42e46eb7
* Make buildable on 1.1 (hard work!)Gravatar brain2007-10-181-7/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8230 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typoGravatar brain2007-10-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8228 e03df62e-2008-0410-955e-edbf42e46eb7
* Socket engine tweaks, and new m_identGravatar brain2007-10-181-148/+229
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8227 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge from trunkGravatar brain2007-10-131-9/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8170 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge to stableGravatar brain2007-10-131-6/+40
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8168 e03df62e-2008-0410-955e-edbf42e46eb7
* TweaksGravatar brain2007-10-131-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8164 e03df62e-2008-0410-955e-edbf42e46eb7
* IMPORTANT checks in here that special took out thinking they were no longer ↵Gravatar brain2007-10-131-3/+30
| | | | | | | | | required. Because of the fact that the inspsocket cull comes after the user cull these *are* required. This was bought up in discussion many weeks ago but i guess we both thought the other had added these back! git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8160 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r8107 for brainGravatar special2007-10-021-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8108 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a compile error in m_ident on ipv6Gravatar special2007-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8038 e03df62e-2008-0410-955e-edbf42e46eb7
* Made m_ident bind ident requests to the same IP the user is connected on, ↵Gravatar special2007-09-131-3/+22
| | | | | | which is much more sane and should fix IPv6. Bug #406. MUST BE TESTED ON IPV6. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8036 e03df62e-2008-0410-955e-edbf42e46eb7
* * Backported crash dumping system for Win32 - see 1.2 log for a full descriptionGravatar burlex2007-09-041-1/+1
| | | | | | * Fixed new m_ident compile under Win32 git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8016 e03df62e-2008-0410-955e-edbf42e46eb7
* backport: Completely rewrote m_ident; the old one was written long ago and ↵Gravatar special2007-09-021-254/+148
| | | | | | had a history of being very buggy (and still had quite a few bugs). Needs QA. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8010 e03df62e-2008-0410-955e-edbf42e46eb7
* backport: Fixed a double free in m_ident. Found by AnMasterGravatar special2007-08-311-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8006 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport, phew, glad this one applied cleanly.Gravatar brain2007-08-201-1/+0
| | | | | | | | | | The only possibility for the issue sts found is that a socket is deleted but also ends up in the socket cull list somehow. To ensure that the socket does not get deleted, remove the delete and replace with an explicit call to insert into the socket cull list. We were grappling with these issues in early 1.1 with the userrec cull list, too. NOTE for later 1.2's consider making CullList a base class which we can derive from to delete lists of other items than userrecs. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7776 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+326
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-326/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed superfluous semicolonsGravatar pippijn2007-07-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
* ConversionsGravatar w00t2007-06-171-24/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7355 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)Gravatar brain2007-05-301-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7
* ipv6 ifdef tidyup by djGrrr, thanks :)Gravatar brain2007-05-281-5/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7176 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #305, allow admin to select what port outbound ident requests ↵Gravatar brain2007-05-271-4/+5
| | | | | | bind to git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7167 e03df62e-2008-0410-955e-edbf42e46eb7
* Header rearrangement, move inspircd.h to top, remove stdio, stdlib, ↵Gravatar brain2007-05-211-3/+1
| | | | | | | | | stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>. This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows support. Tested and working to compile on freebsd and linux. Next ↵Gravatar w00t2007-05-191-2/+2
| | | | | | step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
* Attach ident and original username to the metadata of the user, so that it ↵Gravatar brain2007-05-101-0/+22
| | | | | | can be retrieved with /taxonomy. Fixes feature request/bug #285. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6968 e03df62e-2008-0410-955e-edbf42e46eb7
* Ident fixes, to make sure that if you dont get an ident reply you cant sneak ↵Gravatar brain2007-03-231-10/+10
| | | | | | through without a "~" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6703 e03df62e-2008-0410-955e-edbf42e46eb7
* ident over ipv6 fixes, and fixes to inspsocket BindAddr which wasnt doing ↵Gravatar brain2007-03-231-1/+0
| | | | | | ipv6 outbound connects properly. You'll need to restart to apply this one, dmb git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6702 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweak some stuff aboutGravatar brain2007-03-231-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6701 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix small memory leakGravatar brain2007-03-231-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6700 e03df62e-2008-0410-955e-edbf42e46eb7
* Add and properly test the ability for an InspTimer to DelTimer itself from ↵Gravatar brain2007-02-091-2/+6
| | | | | | | | | | | within its own Tick method. This wasnt supported before and would corrupt the iterator in the TickTimers() method of TimerManager. Non the less, peaveys new (perfectly sensible) fix broke it because i didnt document the caveat about DelTimer() :p This FIXES m_ident and possibly some other stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6553 e03df62e-2008-0410-955e-edbf42e46eb7
* Try without deletes that it done anyway on close of InspSocket's socket.Gravatar peavey2007-02-081-11/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6548 e03df62e-2008-0410-955e-edbf42e46eb7
* Remember: C++ only works if you type the right method names and not ones ↵Gravatar brain2007-02-071-2/+2
| | | | | | that dont exist. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6542 e03df62e-2008-0410-955e-edbf42e46eb7
* Ident fixes,Gravatar brain2007-02-071-8/+23
| | | | | | | | removal of some old craq we dont use. cgiirc optimizations and tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6541 e03df62e-2008-0410-955e-edbf42e46eb7
* Mass comment removal.Gravatar brain2007-01-171-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to allow for OnRehash to know what user initiated the rehashGravatar brain2007-01-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove global namespacing, makes modules compile FASTAH. Also massive update ↵Gravatar w00t2006-12-151-8/+3
| | | | | | on headers (change to InspIRCd Development Team, extend copyright to 2007). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
* fix for bug #175, change OnUserRegister to return int, and if greater than 0 ↵Gravatar peavey2006-11-211-1/+2
| | | | | | = user was quit and stop propagating to rest of loaded modules. Also bumb the module API version. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5783 e03df62e-2008-0410-955e-edbf42e46eb7
* Delete idents when disconnecting?Gravatar brain2006-10-221-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5525 e03df62e-2008-0410-955e-edbf42e46eb7
* Insert massive change here.Gravatar brain2006-10-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
* Document more classesGravatar brain2006-10-061-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix jamies fix (you cant strcpy to a char* pointer, without first allocating ↵Gravatar brain2006-10-041-1/+8
| | | | | | | | | some memory!) -- made it char newident[MAXBUF]. Added extra fixage for when the ident module gets 'connection refused' right away, this also prepends the ~ properly too now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5413 e03df62e-2008-0410-955e-edbf42e46eb7
* *slaps* jamie for not using tabs to indent ;-pGravatar brain2006-10-041-6/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5409 e03df62e-2008-0410-955e-edbf42e46eb7
* Prepend ident with '~' if we get no responseGravatar jamie2006-10-041-2/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5408 e03df62e-2008-0410-955e-edbf42e46eb7
* Now with binary versioning goodnessGravatar brain2006-10-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
* This should fix the timeout issues pippjin was experiencingGravatar brain2006-09-101-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5211 e03df62e-2008-0410-955e-edbf42e46eb7
* Note: connect() cant time out for inspsockets in this commit. They'll sit in ↵Gravatar brain2006-08-281-23/+1
| | | | | | memory forever -- if you want something actually working properly wait for the next commit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5040 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix timeoutsGravatar brain2006-08-181-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4977 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ident timeouts to work properly when the connect succeeds but nothing ↵Gravatar brain2006-08-181-1/+11
| | | | | | comes in as a reply to the ident request git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4976 e03df62e-2008-0410-955e-edbf42e46eb7
* EventHandler class, an abstraction for raw i/oGravatar brain2006-08-181-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
* Somehow, IMPORTANT changes got reverted.Gravatar brain2006-08-111-9/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4885 e03df62e-2008-0410-955e-edbf42e46eb7