aboutsummaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Stop processing the new connection in UserManager::AddUser() when an ↵Gravatar Attila Molnar2016-06-131-0/+1
| | | | internal SocketEngine error happens and the user is quitted
* Rebuild clone counts on rehashGravatar Adam2015-03-211-0/+16
|
* Fix signon time of clients being off by dns_timeout secondsGravatar Attila Molnar2014-12-301-1/+1
|
* Initialize local_countGravatar attilamolnar2013-05-181-0/+5
|
* Workaround for std::list::size() having linear complexity on some ↵Gravatar attilamolnar2013-05-161-1/+2
| | | | implementations
* Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵Gravatar attilamolnar2013-04-211-3/+3
| | | | errors in m_callerid
* Fix uuids getting truncated in the nick hash in UserManager::AddUser() if ↵Gravatar attilamolnar2013-04-191-1/+1
| | | | nickmax is < 9
* Stop user initialization when the user is marked as quitting after OnSetUserIPGravatar attilamolnar2013-03-111-0/+3
|
* Make LocalUserList an std::listGravatar attilamolnar2012-11-291-1/+1
|
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-291-2/+2
|
* Reorder local user initialization stepsGravatar attilamolnar2012-11-291-0/+1
| | | | | | OnSetUserIP hook now runs after the user has a connect class and the g/k/z lines were checked (ip only, no host at that point) Fixes #360 reported by @JDowny Allows #336
* Simplify UserManager::AddLocalClone()/AddGlobalClone()Gravatar attilamolnar2012-11-241-13/+2
|
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-211-4/+4
|
* Call OnUserSetIP() whenever the IP of a local user changes, set ↵Gravatar attilamolnar2012-09-131-6/+0
| | | | ident,host,dhost in LocalUser constructor
* Fix typo in log message.Gravatar Peter Powell2012-06-291-1/+1
|
* Snomask qQ: Swap quit message and IP for easier parsing by bots or scriptsGravatar Robby-2012-06-121-5/+5
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
|
* Add RAWIO log level which is more verbose than DEBUGGravatar danieldg2010-03-191-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix logged error when user is denied by connect classGravatar danieldg2010-03-061-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12609 e03df62e-2008-0410-955e-edbf42e46eb7
* Move DNSBL and ident lookups after <connect deny>/bancache/Z:line checksGravatar danieldg2010-03-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12588 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_ident deleting sockets that are still in useGravatar danieldg2010-03-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12586 e03df62e-2008-0410-955e-edbf42e46eb7
* DelFd should not fail, it will leave a bad dangling pointer in that caseGravatar danieldg2010-03-021-16/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12584 e03df62e-2008-0410-955e-edbf42e46eb7
* m_dnsbl updatesGravatar danieldg2010-02-141-9/+11
| | | | | | | Prevent user registration until dnsbl lookups are complete Allow DNSBLs to be checked using <connect:dnsbl> (MARK type) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12454 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove users from uuidlist on QuitUser, not during cull (allows UID reuse on ↵Gravatar danieldg2010-01-301-0/+2
| | | | | | fast netsplits) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12326 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove mode counter, not reliable and only used for umode +iGravatar danieldg2010-01-091-6/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12246 e03df62e-2008-0410-955e-edbf42e46eb7
* Move StreamSocket inheritance off of UserGravatar danieldg2009-11-061-9/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12047 e03df62e-2008-0410-955e-edbf42e46eb7
* Show IP of the user in the quit snomask [dKingston]Gravatar danieldg2009-11-061-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12042 e03df62e-2008-0410-955e-edbf42e46eb7
* Move MODENOTICE command to a command moduleGravatar danieldg2009-11-031-61/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11991 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix global clone count not being decremented on remote user quitGravatar danieldg2009-11-011-12/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11984 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes found by removing User inheritance from StreamSocketGravatar danieldg2009-10-251-8/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7
* Create irc::sockets::cidr_maskGravatar danieldg2009-10-241-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11968 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User::uuid and User::server constGravatar danieldg2009-10-231-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
* Make irc::sockets::* parameters consistent, add irc::sockets::maskGravatar danieldg2009-10-221-60/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11953 e03df62e-2008-0410-955e-edbf42e46eb7
* Kill ListenSocketBase, use OnAcceptConnection for all new connectionsGravatar danieldg2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11950 e03df62e-2008-0410-955e-edbf42e46eb7
* Move all local-only fields to LocalUserGravatar danieldg2009-10-211-7/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module API to use LocalUser* where correctGravatar danieldg2009-10-211-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
* Split LocalUser and RemoteUserGravatar danieldg2009-10-211-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11940 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of a bunch of memory-wasting C-style stringsGravatar danieldg2009-10-031-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix valgrind issues and crashes on exitGravatar danieldg2009-10-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7
* Move destruction logic for User and Spanningtree into cull()Gravatar danieldg2009-09-301-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11783 e03df62e-2008-0410-955e-edbf42e46eb7
* Change IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to ↵Gravatar danieldg2009-09-261-1/+1
| | | | | | clarify their use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11765 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-25/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up SocketEngine interface to allow edge-triggered I/O and sockets that ↵Gravatar danieldg2009-09-261-1/+1
| | | | | | do not force readability. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11760 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow objects to be added to cull list during apply - fixes user deletion on ↵Gravatar danieldg2009-09-211-1/+1
| | | | | | netsplit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11754 e03df62e-2008-0410-955e-edbf42e46eb7
* Create StreamSocket for IO hooking implementationGravatar danieldg2009-09-211-19/+8
| | | | | | | | | | | | | | Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove mistaken duplicate check for fake usersGravatar danieldg2009-09-211-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11751 e03df62e-2008-0410-955e-edbf42e46eb7
* Prevent fake users from quittingGravatar danieldg2009-09-211-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11748 e03df62e-2008-0410-955e-edbf42e46eb7
* Prevent fake users from quittingGravatar danieldg2009-09-171-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11743 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove now-unused quitmsg/operquitmsg fields from UserGravatar danieldg2009-09-021-14/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11637 e03df62e-2008-0410-955e-edbf42e46eb7