summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add fine-grained command flood controls•••This reintrouces "Excess Flood" quits for those that prefer it to fakelag, and allows the maximum command rate to be set in the connect block. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12093 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-111-16/+18
* Move StreamSocket inheritance off of User•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12047 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-061-32/+29
* Match USERINPUT/USEROUTPUT identifiers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12004 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-031-1/+1
* Fix global clone count not being decremented on remote user quit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11984 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-011-3/+8
* Fixes found by removing User inheritance from StreamSocket•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-251-27/+25
* Create irc::sockets::cidr_mask•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11968 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-241-2/+2
* Get rid of ModePair•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11963 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-241-1/+4
* Make User::uuid and User::server const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-231-24/+19
* Change to <type:vhost> and <oper:vhost> because <oper:host> is taken.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-231-4/+18
* Make irc::sockets::* parameters consistent, add irc::sockets::mask•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11953 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-221-98/+17
* Move AllowedPrivs and similar oper information from LocalUser to OperInfo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11947 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-64/+14
* Change User::oper to an OperInfo reference•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11945 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-69/+59
* Move all local-only fields to LocalUser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-91/+107
* Change module API to use LocalUser* where correct•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-2/+2
* Move some local-only fields to LocalUser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11942 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-24/+34
* Move SetClass to LocalUser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-5/+2
* Split LocalUser and RemoteUser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11940 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-13/+19
* Fix interaction of m_permchannels post-cull and channel empty-by-quit that ca...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11933 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-201-3/+0
* Move DumpText into User; kill unused WriteWallOps and DecreasePenalty functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11931 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-201-22/+33
* Check GetPenaltyThreshold when processing commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11927 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-191-1/+6
* Add a setting to <connect> allowing the threshold for activation of the penal...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11922 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-191-2/+3
* Valgrind now runs completely clean.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11916 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-191-1/+1
* Cull channels, warn when Extensible objects are not culled as they must be•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11901 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-29/+1
* Make classbase and refcountbase uncopyable; expand comments on their indended...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-3/+3
* Clean up excessive bits in User struct•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11882 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-7/+9
* Hold reference to the associated ConfigTag inside ConnectClass•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-4/+4
* Rewrite ConfigReader again•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11879 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-7/+7
* Clean up static allocations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11878 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-161-22/+34
* Fix some signedness.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11857 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-121-2/+2
* CoreExport changes, clean up DoHostCycle when users are exempted•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-121-4/+13
* Fix WriteCommon when used on remote nicks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11852 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-121-3/+3
* Move 2 static extensibles from user class to inspircd class for global access...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-111-7/+4
* Update Event and Request APIs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-2/+1
* Add OnBuildNeighborList hook, replaces all uses of OnHostCycle•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11802 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-051-85/+78
* Fix backwards HideWhoisServer check•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11798 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-051-1/+1
* Fix crash due to null address in DNS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11797 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-031-8/+0
* Get rid of a bunch of memory-wasting C-style strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-031-13/+13
* Fix valgrind issues and crashes on exit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-021-1/+0
* Fix some valgrind warnings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11790 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-011-6/+5
* Add explicit reference-counting base class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-28/+7
* Move destruction logic for User and Spanningtree into cull()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-29/+37
* SendQ bugfixes•••Fix DoWrite running on errored sockets Add testnet module for sendq and shutdown testing Prevent DoWrite from trying to write when writes are blocking git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11768 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-271-5/+4
* Flexible SendQ•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11766 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-7/+23
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-14/+14
* Allow objects to be added to cull list during apply - fixes user deletion on ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11754 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-211-0/+1
* Create StreamSocket for IO hooking implementation•••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 Gravatar danieldg2009-09-211-215/+69
* Separate spy channels [jackmcbarn]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11747 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-181-7/+4
* Remove redundant ServerInstance* fields•••It has been impossible to have more than one InspIRCd* object in the same address space for some time now, and this feature was never used. This formalizes class InspIRCd as a singleton object. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11703 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-6/+6
* Membership* changes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-18/+17
* Change Extensible to use strongly typed entries•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-7/+9