aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Collapse)AuthorAgeFilesLines
* Introducing major crashy bugs to annoy Stskeeps... just kidding, backport of ↵Gravatar brain2007-08-211-1/+2
| | | | | | stability fix in r7787 git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7788 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport, phew, glad this one applied cleanly.Gravatar brain2007-08-201-1/+2
| | | | | | | | | | The only possibility for the issue sts found is that a socket is deleted but also ends up in the socket cull list somehow. To ensure that the socket does not get deleted, remove the delete and replace with an explicit call to insert into the socket cull list. We were grappling with these issues in early 1.1 with the userrec cull list, too. NOTE for later 1.2's consider making CullList a base class which we can derive from to delete lists of other items than userrecs. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7776 e03df62e-2008-0410-955e-edbf42e46eb7
* backport of fix for bug #382. When colliding a nick, we didnt have : before ↵Gravatar brain2007-08-201-2/+2
| | | | | | | | | | | the kill reasons for the serverkill. Because of a recentish refactor of server to server kills, when killing the user, the kill handler checks for params != 2 and returns if this is true Because 'nick collision' is two words, long, it ignores the KILL and risks a desync (basically a race condition). Couldnt duplicate myself, but this *SHOULD* fix. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7773 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a whole load of #ifdef as we can now use gettimeofday.Gravatar brain2007-08-152-9/+0
| | | | | | | If we add a wrapper for getrusage, then we can remove a ton more git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7726 e03df62e-2008-0410-955e-edbf42e46eb7
* bp 7717: Fix new millisec /map to compile on windows, by ifndef gettimeofday ↵Gravatar peavey2007-08-132-0/+11
| | | | | | out reverting back to seconds for latency. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7718 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport display glitch fix found by djGrrr, fixed by w00tGravatar brain2007-08-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7692 e03df62e-2008-0410-955e-edbf42e46eb7
* Feature request from djGrr, allow changing of server to server ping ↵Gravatar brain2007-08-075-5/+13
| | | | | | frequency: Backport to 1.1 for deployment on certain nets git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7687 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport as fix, as old way was somewhat useless:Gravatar brain2007-08-053-3/+14
| | | | | | | Change latency figures in /map to milliseconds, much more useful for lag measurement than seconds git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7668 e03df62e-2008-0410-955e-edbf42e46eb7
* Manual backport of r7637 - svnmerge is still being a prickGravatar w00t2007-08-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7638 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge r7528-7529 from trunkGravatar peavey2007-07-233-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7530 e03df62e-2008-0410-955e-edbf42e46eb7
* Ive tidied up the mode count stuff, but i still cant duplicate negative ↵Gravatar brain2007-07-182-3/+15
| | | | | | invisible counts. :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7474 e03df62e-2008-0410-955e-edbf42e46eb7
* Stability fixes, some DELETEs here that dont belong any more.Gravatar brain2007-07-172-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7470 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-1621-21/+6873
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-1621-6873/+21
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #347.Gravatar brain2007-07-112-5/+1
| | | | | | | | WARNING: QA PEOPLE, THIS NEEDS TESTING!!!! Test this with lots of squits and connects, and i mean lots and lots in all different ways you can think of, /squit, pingout, closing the connection with a firewall etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7434 e03df62e-2008-0410-955e-edbf42e46eb7
* Clarifying commentGravatar brain2007-07-101-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7433 e03df62e-2008-0410-955e-edbf42e46eb7
* This should fix the rest of remote kill nick hidingGravatar brain2007-07-102-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed superfluous semicolonsGravatar pippijn2007-07-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for TS==0 in FJOINGravatar brain2007-06-241-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7406 e03df62e-2008-0410-955e-edbf42e46eb7
* Drop fmode with TS of 0, just in case any craq smoking services devs get the ↵Gravatar brain2007-06-241-0/+7
| | | | | | idea that this is acceptable instead of actually supporting TS rules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7405 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for atheme support (and others) which makes sure CAPAB is always sent ↵Gravatar brain2007-06-243-0/+13
| | | | | | before BURST git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7404 e03df62e-2008-0410-955e-edbf42e46eb7
* MoreGravatar brain2007-06-171-22/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7356 e03df62e-2008-0410-955e-edbf42e46eb7
* Deprecate remote SQUIT, warn to use RSQUIT instead. RSQUIT supports 1 param ↵Gravatar peavey2007-06-171-11/+0
| | | | | | too, emulating the old behaviour of SQUIT. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7338 e03df62e-2008-0410-955e-edbf42e46eb7
* RSQUIT/SQUIT is one target only for 1.1. The multi target is going into the ↵Gravatar peavey2007-06-161-0/+2
| | | | | | 1.2 discussion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7333 e03df62e-2008-0410-955e-edbf42e46eb7
* And truly fix rsquit 1 parm crash.Gravatar peavey2007-06-151-17/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7331 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash on propogation after routed squit has reached it's destination. ↵Gravatar peavey2007-06-151-9/+12
| | | | | | Thx HiroP. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7330 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops forgot to tidy up comments.Gravatar peavey2007-06-151-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7329 e03df62e-2008-0410-955e-edbf42e46eb7
* Use PUSH to let remote servers advise of errors.Gravatar peavey2007-06-152-3/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7328 e03df62e-2008-0410-955e-edbf42e46eb7
* Cannot WriteServ to remote users, write info to snomask instead.Gravatar peavey2007-06-151-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7327 e03df62e-2008-0410-955e-edbf42e46eb7
* remove from header also.Gravatar peavey2007-06-151-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7326 e03df62e-2008-0410-955e-edbf42e46eb7
* remove RSQUIT2 routing hack for SQUIT now we use one param RSQUIT.Gravatar peavey2007-06-151-55/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7325 e03df62e-2008-0410-955e-edbf42e46eb7
* remove a comment.Gravatar peavey2007-06-151-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7324 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #296, remote squit not accepting wildcards. awaiting QA.Gravatar peavey2007-06-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7323 e03df62e-2008-0410-955e-edbf42e46eb7
* try out using one param RSQUIT for propogation of SQUIT.Gravatar peavey2007-06-151-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7321 e03df62e-2008-0410-955e-edbf42e46eb7
* One param RSQUIT behaving like routed SQUIT.Gravatar peavey2007-06-151-9/+45
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7320 e03df62e-2008-0410-955e-edbf42e46eb7
* - Fixed fencepost error in apply_other_sides_modes.Gravatar burlex2007-06-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7315 e03df62e-2008-0410-955e-edbf42e46eb7
* + Added a check between servers prefixes at the CAPAB negotiation stage. ↵Gravatar burlex2007-06-141-0/+3
| | | | | | This will prevent servers with prefixes from linking up in the first place (later on they will get errored out for invalid prefix in FJOIN most likely, but it's better to stop them from linking in the first place) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7312 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix problem where two unrelated options are named identically, thanks for ↵Gravatar brain2007-06-141-1/+1
| | | | | | reminding me djGrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7302 e03df62e-2008-0410-955e-edbf42e46eb7
* This is not, not routing of SQUIT, nothing to see here, move along :>Gravatar peavey2007-06-133-0/+69
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7301 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove remote SQUIT hacks.Gravatar peavey2007-06-132-9/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7292 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this require 2 params, just like god intended it. (no remote squit hacks)Gravatar peavey2007-06-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7291 e03df62e-2008-0410-955e-edbf42e46eb7
* new rsquit command handler, this is still work in progress.Gravatar peavey2007-06-131-1/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7286 e03df62e-2008-0410-955e-edbf42e46eb7
* strip RSQUIT from protocol, part of new RSQUIT, not ready for use yet.Gravatar peavey2007-06-131-51/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7285 e03df62e-2008-0410-955e-edbf42e46eb7
* A ton more clear() and empty() stuff thats been lingering on the long term ↵Gravatar brain2007-06-095-50/+43
| | | | | | todo for too long a term :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
* Add command /RSQUIT to spanningtree.Gravatar peavey2007-06-074-3/+88
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7251 e03df62e-2008-0410-955e-edbf42e46eb7
* Add back remote kill handler for server origin killsGravatar brain2007-06-061-0/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7249 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch fixing (almost) remote kill server notices, by just passing KILL onto ↵Gravatar w00t2007-06-061-34/+0
| | | | | | cmd_kill and not attempting to duplicate code for it in spanningtree. Dev: Two small issues are left with this, see comments in cmd_kill.cpp. Thanks, HiroP. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7248 e03df62e-2008-0410-955e-edbf42e46eb7
* and a little tweak to remote MOTD too.Gravatar peavey2007-06-021-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7208 e03df62e-2008-0410-955e-edbf42e46eb7
* same for admin, and fix some returns.Gravatar peavey2007-06-021-2/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7207 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #297. /MODULES now correctly finds remote server on wildcard. ↵Gravatar peavey2007-06-021-10/+17
| | | | | | Marked for QA. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7206 e03df62e-2008-0410-955e-edbf42e46eb7