summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket1.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Send CHANMODES= and PREFIX= in CAPAB CAPABILITIES.•••Sorry, if you encounter a server < 1.1.8, youll have to guess by module name. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7055 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-201-1/+1
* 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-0/+6
* We dont need to send FMODE for user mode changes, and the FMODE handler doesn...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7017 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-131-1/+1
* Fix remote bursting with quietbursts, before QA actually test it :P (thanks H...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7014 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-131-3/+0
* Better logging to troubleshoot silentbursts•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7013 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-131-2/+5
* Change some stuff around to make sure metadata/fmode comes after nick list if...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-8/+10
* 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-1/+8
* Small api change with wide reaching effects in modules - Allows modification ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6934 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-1/+1
* Fix ping timeout ERROR not being generated when a server pings out, making th...•••Find and fix the 3 ping timeout messages for server to server that were using WriteOpers instead of snomask +l git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6933 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-091-5/+6
* - (FINALLY, ffs) add realnames to connect/remote connect server notices, per ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6920 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-081-1/+1
* Correct the silentbursts logic•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6908 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-4/+2
* Slightly tidier capab checks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6906 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-22/+22
* Needs a little testing: Tidyup of some code, namely when validating the lengt...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6905 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-55/+21
* Fix channel TS not being set correctly on creation of new channel•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-4/+1
* Developers, please review ForceJoin starting at line 730 of this file. It nee...•••Now uses modestacker rather than trying to do this itself with lots of char* craq. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6903 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-161/+46
* A bit more debug in here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6902 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-18/+8
* Add bugnotice when an fmode is sent with a TS < ours. This should in theory n...•••FJOIN, and FJOIN lowers the TS to be = ours if its greater. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6901 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-0/+3
* FTOPIC from another server now (correctly) shows local server name to obscure...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-1/+1
* Add options:quietbursts, fixes bug #269, also adds support for quits in a cul...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6883 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-1/+5
* Much more detailed logging of lowlevel socket errors to the +l snomask•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-011-17/+28
* Fix crashbug in latest svn introduced by inspsocket cull list, which can caus...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6855 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-011-0/+8
* 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-3/+9
* dhost and host are both char[65], so let stringcopy take up to 64 chars here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6833 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-251-2/+2
* 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/+2
* The hmac stuff was slightly wrong, calculating the 2nd part•••left a concatenation outside the bracket git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6787 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+2
* D'oh, this is what causes it to randomly not allow the HMAC, when theres an =...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6786 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+4
* And spell it right.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1
* Minor change, easy to roll back if it fucks up•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6784 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+6
* Whoopsie•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1
* Wait longer before sending data on the connect than on the accept•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6782 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-2/+2
* Revert•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6781 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-5/+3
* 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-2/+5
* Different way of generating random string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6779 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+17
* Give information in snomask +l to what type of auth was used•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6778 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-3/+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-7/+26
* Remove debug: This now works!•••WARNING: I have no idea how this will react to being linked to a past version without HMAC-challenge-response.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6775 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-8/+7
* 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-3/+2
* 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-2/+6
* Debug, and we seem to be sending capab twice•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6771 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-10/+11
* 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-4/+25
* 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-4/+10
* Added ability to send and receive a challenge, dont do anything with it yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6767 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-4/+22
* Add methods needed for storing challenge string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6766 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-0/+23
* 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
* Fix for bug #199 (Feature request) submitted by owine. Ended up adding an ext...•••It turned into a biggie :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6742 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-051-1/+3
* 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-5/+5
* Check validity (length) of all NICK parameters to make sure we're not introdu...•••Normally, NICK parameters longer than allowed are weeded out by CAPAB but sending CAPAB is optional. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6705 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-241-11/+44
* 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-14/+4
* Whoops, fix a silly bug i just introduced :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6649 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-101-1/+2