summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket2.cpp
Commit message (Expand)AuthorAgeFilesLines
* Somehow, the code which does the "assumption" that no prefix means 'that' ser...•••I've put it back, this would explain the commands with empty prefixes being echoed back during that java stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7131 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-241-1/+5
* This says ten minutes drift and should say five, fixed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7106 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-221-1/+1
* Move inspircd.h to top•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7099 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* Reverted broken patch.. This may break, but it's unlikely :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7090 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar frostycoolslug2007-05-211-5/+11
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-11/+5
* Fixed a fairly low-risk crash in m_spanningtree•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7042 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-05-181-2/+8
* Change the way i/o lines are formatted in debug log to make them more intuiti...•••Thu May 17 17:56:16 2007: C[15] -> :Brain MODE #test Thu May 17 17:56:17 2007: C[15] -> :Brain WHO #test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7039 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-171-2/+2
* Add a notice on connection close stating server link uptime, and fix a bug in...•••command with the nick in twice, and has been doing this presumably since early 1.1's) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7034 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-161-0/+5
* quietbursts tweak for hirop•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7023 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-141-8/+6
* remove EB metadata madness and make services people happy.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6956 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-0/+20
* Fix operquit notices being chopped to first word of quit message, spotted by ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6931 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-091-1/+2
* gcc fails it at exporting symbols properly :/•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6894 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-061-0/+2
* Make debug warning for broken servers once per servername only•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6884 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-051-5/+6
* Add MODE nag to debug snomask +d•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6878 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-0/+17
* Apply visibility state to whois, next stop, /who•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6869 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-0/+2
* Make error reporting work properly, it seemed to loose errors.•••First change: Add a culling list of inspsockets waiting to be closed, so the close() is less likely to be called before the buffer is entirely empty. This seems to work well on my LAN. Second change: Add a SendError() method, rather than WriteLine("ERROR : ..."). This can be used to effect by also echoing out "Sent ERROR to %s: ..." onto the +l snomask meaning at least one end will always see the error even if the ERROR command is lost due to latency or design of the transport (e.g. ssl which may be writing during a read event etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6844 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-261-23/+28
* Fix bug #259 proper by doing what I should have done back in r6618 when I fir...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-201-1/+1
* Check some userrec values in remote whois, so that it wont crash if a user ha...•••Fixes bug #260 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6814 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-191-6/+8
* Fix for bug that took ages to track down and was very subtle.•••During authentication the flow of commands is as follows: > SERVER aaaaaa < SERVER bbbbbb > BURST < BURST ... what can happen is that between the two server commands we can introduce SERVER aaaa to server bbbbb again, from a different socket. As server aaaaa doesnt exist yet and we're waiting for it to say yes or no to our own SERVER command over at bbbbbb, it cant be found with FindServer. Therefore we need a second list of servers that arent yet authenticated, but are waiting TO authenticate, by the pointer their socket has and the name they want to become after auth. If two servers introduce themselves at the same time, triggering what was the race condition, both servers are disconnected with "ERROR :Negotiation collision" and must try again until only one succeeds. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6802 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-0/+17
* Revert•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6781 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1
* Test tweak to make it sync faster•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6780 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-0/+1
* Handle non-hmac servers smarter without having to globally turn off hmac•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6777 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-2/+2
* Add config <options:disablehmac> to support disabling of HMAC, and tidy up to...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6776 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-2/+20
* I think we're almost there now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6774 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-2/+6
* More fucking around•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6773 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-2/+1
* This is likely fucked up beyond all recognition. Today is fubar day :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6772 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+2
* Check against the HMAC challenge now: *UNTESTED*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6770 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-2/+2
* Add basic HMAC suggested by jilles to make the auth not suck -- this is proba...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6769 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1
* Test code that pretends to send a hashed value if its got a challenge - don't...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6768 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1
* Add licensing headers to files which are missing them and make sure they are ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-071-0/+13
* We had to roll our own time function because some craqsmoker thought having a...•••strftime. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6749 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-1/+1
* Show expiry times of glines, klines, qlines and elines as the time theyre due...•••Oh, and i hate C time formatting functions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6748 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-1/+2
* Add support for <link:hidden> fixes feature request documented in bug #247 re...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6738 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-051-3/+5
* Add extra /map info (connection uptime, and lag time) to /MAP for opers. Adds...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6737 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-051-0/+1
* This needs some general QA-ing. Add support to new parser (introduced in 1.1)...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6731 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-021-1/+1
* Update a notice on server already existing to be more clear•••- Update ModDesc for m_hidechans git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6693 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-03-201-1/+1
* set the TS of a channel in JoinUser, not after the entire FJOIN, this is safe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6690 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-181-1/+1
* Abort link at +/- 300secs, warn at +/- 30 secs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6689 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-171-3/+7
* Remote /MODULES•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6688 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-161-0/+59
* Different timesync, dont use yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6683 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-161-32/+12
* Add third parameter to OnUserQuit (quit reason for opers only) - bump api ver...•••Add SetOperQuit and GetOperQuit methods to userrec Add OPERQUIT command to protocol - bump protocol version All this is to properly allow hidebans etc to work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6675 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-151-0/+19
* Fixed a crash with a malformed server-to-server NICK command, thanks dmb•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6656 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-03-111-1/+1
* This now makes RemoveStatus remove *everything* as pointed out by jilles. Thi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6651 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-101-36/+5
* Add a TODO comment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6650 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-101-0/+3
* Fix m_services_account logout by allowing meta with empty data field. Tracker...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6618 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-03-031-1/+3
* Special *slap* seems to have set this to true :/•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6574 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-111-1/+1
* Fix dependencies•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6398 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-191-0/+2
* Split this up even more, much smaller files that are easier for gcc to digest•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6395 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-191-0/+1448