summaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* userrec::UpdateNickHash(), userrec::ForceNickChange(), userrec::FullConnect()Gravatar brain2006-08-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4793 e03df62e-2008-0410-955e-edbf42e46eb7
* kill_link() and Server::QuitUser() -> userrec::QuitUser() (static member) - ↵Gravatar brain2006-08-081-6/+6
| | | | | | this cant be a normal member as it causes the userrec to be deleted, and "delete this" is bad, mmm'k git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4789 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to using userrec::ip as a sockaddr to store port, ip and address ↵Gravatar brain2006-08-041-9/+9
| | | | | | | | | family, rather than userrec::ip4 and userrec::port. This allows us to handle remote ipv6 users on an ipv4 server, and vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4694 e03df62e-2008-0410-955e-edbf42e46eb7
* Comments, add more detail, remove dnsqueue.h include from tons of placesGravatar brain2006-08-011-5/+0
| | | | | | | Remove THREADED_DNS defines from all over the place git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4629 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the same craqGravatar brain2006-08-011-68/+47
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4619 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove ZapThisDnsGravatar brain2006-08-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4617 e03df62e-2008-0410-955e-edbf42e46eb7
* The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if ↵Gravatar brain2006-08-011-7/+7
| | | | | | this works yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
* I think ive found the answer to the hanging connections problem. The ↵Gravatar brain2006-07-301-2/+2
| | | | | | majority of stuff in userprocess is skipped over when fd==0, it was fd > 0 rather than fd > -1 in a check. This would prevent one user (near the first) with fd 0 from connecting properly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4605 e03df62e-2008-0410-955e-edbf42e46eb7
* Change all references to voodoo numbers (7, 3 etc) to the new bitwise ↵Gravatar brain2006-07-281-7/+7
| | | | | | | | | constants for user->registered Change a lot of user->fd > -1 to use the IS_LOCAL() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569 e03df62e-2008-0410-955e-edbf42e46eb7
* Make OnCheckReady safe against the user being killed, SO LONG AS THE MODULE ↵Gravatar brain2006-07-221-0/+8
| | | | | | WHICH D/C'S THE USER RETURNS FALSE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4501 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra sanity checksGravatar brain2006-07-201-41/+48
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4457 e03df62e-2008-0410-955e-edbf42e46eb7
* Stability fixGravatar brain2006-07-191-12/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4453 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix socket leak properly this timeGravatar brain2006-07-161-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4405 e03df62e-2008-0410-955e-edbf42e46eb7
* MAJOR tidy of line parser, some parts rewritten and major chunks removedGravatar brain2006-07-161-43/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4402 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed GCC2 checks as we havent supported gcc2 for yearsGravatar brain2006-07-151-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7
* delete operator tracking in debug mode (using a macro -- live with it.)Gravatar brain2006-04-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵Gravatar om2006-04-081-2/+1
| | | | | | going into inspircd.*, doesn't look like I've broken anything... :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
* This doesn't belong in userprocess.cpp. :PGravatar w00t2006-04-041-78/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3811 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment one of w00tie's comments, fix typo in log message, and make it look ↵Gravatar om2006-03-151-3/+3
| | | | | | like I ctually was active today... :> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3715 e03df62e-2008-0410-955e-edbf42e46eb7
* Sanity check, writing to array[-1] is not clever and not profitable.Gravatar brain2006-03-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3711 e03df62e-2008-0410-955e-edbf42e46eb7
* MORE BUGS GRRGravatar brain2006-03-111-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3676 e03df62e-2008-0410-955e-edbf42e46eb7
* Checks and stuff :pGravatar brain2006-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3671 e03df62e-2008-0410-955e-edbf42e46eb7
* Re-enterant safetyGravatar brain2006-03-111-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3666 e03df62e-2008-0410-955e-edbf42e46eb7
* Commented all the new config stuffGravatar brain2006-03-101-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3642 e03df62e-2008-0410-955e-edbf42e46eb7
* SpeedupsGravatar brain2006-03-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3602 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup to pass some stuff by reference (much faster, no copy involved)Gravatar brain2006-03-091-9/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3601 e03df62e-2008-0410-955e-edbf42e46eb7
* Made this readable, removed spacing, etc.Gravatar w00t2006-03-081-234/+304
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3540 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some tabbing, remove a typo, use Exit() rather than exit()Gravatar w00t2006-03-081-12/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3537 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed output on startupGravatar brain2006-03-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3435 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed old >512 checkGravatar brain2006-03-011-8/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3399 e03df62e-2008-0410-955e-edbf42e46eb7
* And fixes for typosGravatar brain2006-02-261-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3328 e03df62e-2008-0410-955e-edbf42e46eb7
* Added ability to provide -logfile parameter on commandlineGravatar brain2006-02-261-2/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3327 e03df62e-2008-0410-955e-edbf42e46eb7
* Apparently to catch descendent classes we need to catch a reference to the ↵Gravatar brain2006-02-191-2/+3
| | | | | | parent, not the parent itself git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7
* Added exception handling for module loadingGravatar brain2006-02-191-2/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7
* Increased how often socket timeout checks occur which will mean flushing ↵Gravatar brain2006-02-081-8/+12
| | | | | | write buffers more often git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3142 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed bool return of DoBackgroundUserStuff()Gravatar brain2006-02-021-18/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3023 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved IP handling. Now uses in_addr to store client ip, not char[16]!Gravatar brain2006-01-271-7/+7
| | | | | | | | Added global and local session limits All of this needs TESTING. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2934 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks for openssl compatibilityGravatar brain2006-01-221-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2825 e03df62e-2008-0410-955e-edbf42e46eb7
* Stopped lines longer than 512b from being killed, instead, warning sent and ↵Gravatar frostycoolslug2006-01-221-2/+18
| | | | | | dropped. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2824 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
* Made inspircd close and reopen its log on rehashGravatar brain2006-01-151-8/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2794 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORSGravatar brain2006-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to not crash on /PARK (still more to test)Gravatar brain2006-01-031-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2729 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyups to mainloop, why were we using isnick() to check if a user was ↵Gravatar brain2005-12-281-49/+56
| | | | | | registered? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2682 e03df62e-2008-0410-955e-edbf42e46eb7
* New system for client exits using CullList seems stable, needs testingGravatar brain2005-12-281-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2681 e03df62e-2008-0410-955e-edbf42e46eb7
* Changes to the way clients are exited during mainloop - MAY BE UNSTABLE USE ↵Gravatar brain2005-12-281-14/+16
| | | | | | WITH CAUTION git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2680 e03df62e-2008-0410-955e-edbf42e46eb7
* SSL is a fucking mess.Gravatar brain2005-12-191-11/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2565 e03df62e-2008-0410-955e-edbf42e46eb7
* Added IOHookModule stuff to allow for different modules to hook different portsGravatar brain2005-12-181-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2564 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved serverstats stuff outGravatar brain2005-12-161-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2529 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved SocketEngine* SE into InspIRCd classGravatar brain2005-12-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7