summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Move user quit logic out of cull listGravatar danieldg2009-09-021-1/+66
| | | | | | | This changes the cull list from a list of User* that ran special cleanup to a list of classbase* that simply deletes the objects. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11636 e03df62e-2008-0410-955e-edbf42e46eb7
* Change OnHookUserIO to OnHookIO, making it usable for more than User* and ↵Gravatar danieldg2009-09-021-2/+2
| | | | | | less picky on string matching git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11628 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove more text<->binary IP conversions, making code more IPv4/IPv6 independentGravatar danieldg2009-09-011-15/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11578 e03df62e-2008-0410-955e-edbf42e46eb7
* Return server port in GetPort rather than the arbitrary client portGravatar danieldg2009-09-011-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11576 e03df62e-2008-0410-955e-edbf42e46eb7
* Change IP address storage in User to use more IPv4/IPv6 common codeGravatar danieldg2009-09-011-16/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11575 e03df62e-2008-0410-955e-edbf42e46eb7
* Strip SUPPORT_IP6LINKS #defineGravatar danieldg2009-09-011-30/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵Gravatar w00t2009-04-161-2/+2
| | | | | | | | | 'A' for remote announcements. Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #788, set user->quitting before writing error to users socket, ↵Gravatar brain2009-03-181-2/+4
| | | | | | | | | and allow appending to sendq for quitting users (just don't check sendq's on quitting users) This allows the ERROR message to reach the user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11231 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix fast quit/connect by changing nick to UID on QuitUserGravatar danieldg2009-03-101-0/+21
| | | | | | | This requires moving the sending of the QUIT back to usermanager from cull_list in order to prevent client desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11203 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke trailing spacesGravatar peavey2009-02-141-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* Format this message a little nicer.Gravatar w00t2009-01-251-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11004 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix recursion in QuitUserGravatar w00t2008-11-171-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10809 e03df62e-2008-0410-955e-edbf42e46eb7
* Simulate AF_INET addresses for 4in6 connections [danieldg]Gravatar w00t2008-11-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10779 e03df62e-2008-0410-955e-edbf42e46eb7
* possible fix for bug #623, reported by MacGyver. Untested please test :DGravatar peavey2008-10-161-2/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10651 e03df62e-2008-0410-955e-edbf42e46eb7
* Move a socket sanity check into the generic listener handler, avoiding the ↵Gravatar w00t2008-09-071-16/+0
| | | | | | need to instantiate a user object in insane conditions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10463 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge the second interface for socket hooking into one, so it's all done by ↵Gravatar w00t2008-09-071-2/+2
| | | | | | Add/Del/GetIOHook now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove last vestige of libircdfoo, by changing tag into a single ↵Gravatar w00t2008-07-291-1/+1
| | | | | | identifier marking object as requiring compilation into a .o (minor commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7
* Scary.. CIDR range clone checking for <connect> tags.Gravatar w00t2008-07-121-8/+61
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9981 e03df62e-2008-0410-955e-edbf42e46eb7
* First phase of conversion to dynamic limits on all the lengths, configured ↵Gravatar brain2008-05-251-1/+1
| | | | | | | | | via the <limits> tag (the tag isnt there yet, these all just run on defaults in the class constructor) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix this to not have the same issueGravatar brain2008-05-231-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9797 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix user->host not being assigned correctly for new connectionsGravatar aquanight2008-05-231-5/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9792 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert connection::hostGravatar brain2008-05-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove outdated commentGravatar w00t2008-05-191-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9763 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User:: nick/ident/dhost/fullname and some other things std::string ↵Gravatar aquanight2008-05-181-8/+8
| | | | | | instead of char*/char[] (MODULES DO NOT COMPILE) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7