summaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Collapse)AuthorAgeFilesLines
* Add call to protocol interface to get useful info on the server map. Return ↵Gravatar brain2008-05-082-1/+18
| | | | | | a std::list of classes each of which has a server name, parent server name, user and oper count, and latency in millisecs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9673 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove JOIN sending, all should be FJOINGravatar brain2008-05-051-19/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651 e03df62e-2008-0410-955e-edbf42e46eb7
* Okay, this was good in theory, but totally and utterly fucked in ↵Gravatar w00t2008-05-051-26/+2
| | | | | | implementation. Rip out automatic global snotice code. It's not going to be *that* difficult to trigger global snotice with protocol interface now anyway I guess. We need to re-add calls to protocol interfaces in places like failed oper and so on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9649 e03df62e-2008-0410-955e-edbf42e46eb7
* Un-break this so remote users still get RemoteMessage okay if targetted at a ↵Gravatar w00t2008-05-051-2/+2
| | | | | | specific user, remove comment also as it's using PI now anyway git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9646 e03df62e-2008-0410-955e-edbf42e46eb7
* Alter remotemessage here to not do what w00ts patch did, twiceGravatar brain2008-05-051-11/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645 e03df62e-2008-0410-955e-edbf42e46eb7
* fix some unitialised vectors and tidy up a bit.Gravatar peavey2008-05-053-11/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9637 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert a few missingGravatar peavey2008-05-052-17/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9635 e03df62e-2008-0410-955e-edbf42e46eb7
* ConversionsGravatar aquanight2008-05-051-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9628 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert m_spanningtreeGravatar aquanight2008-05-0517-103/+95
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9626 e03df62e-2008-0410-955e-edbf42e46eb7
* Hack, hack, hack, hack hack. Hack hack. Probably fix snotice loops, though.Gravatar w00t2008-04-211-0/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9573 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the CAPAB sender in spanningtree more readableGravatar aquanight2008-04-181-1/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9536 e03df62e-2008-0410-955e-edbf42e46eb7
* Add todo noteGravatar w00t2008-04-171-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9531 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove SpanningTreeProtocolInterface::SendOperNotice - it was translated to ↵Gravatar w00t2008-04-173-14/+0
| | | | | | a SendSNONotice 'A' anyway, and only used by SAMODE, which duplicated it with a SendSNONotice 'A' also anyhow o.o - this means OPERNOTICE is now gone from protocol 1200, and SNONOTICE should be used instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9530 e03df62e-2008-0410-955e-edbf42e46eb7
* Move options vlaues netbuffersize, maxwho, maxconn, softlimit, quietbursts, ↵Gravatar brain2008-04-141-1/+1
| | | | | | nouserdns into performance tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9505 e03df62e-2008-0410-955e-edbf42e46eb7
* TRUNK CONFIG BREAKAGE WARNING: Move a bunch of options tag values into a new ↵Gravatar brain2008-04-141-3/+3
| | | | | | tag called 'security'. See example conf git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9504 e03df62e-2008-0410-955e-edbf42e46eb7
* Move QuitUser into UserManager class, and unstaticize it. This prepares for ↵Gravatar w00t2008-04-093-4/+4
| | | | | | some benchmarking lulz on object pooling I plan to do today, as well as making more sense now we *have* a manager class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7
* OddnessGravatar brain2008-04-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9439 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra debugGravatar brain2008-04-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9438 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix authentication logic, someone forgot to change an || to an &&, because ↵Gravatar brain2008-04-081-4/+15
| | | | | | | | | | we use continue now the logic is reversed, we continue if auth method one fails AND auth method two fails (instead of if auth method one fails OR auth method two fails) Also, fix bug where credentials of outbound server are leaked on successful auth to other ircds behind it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9437 e03df62e-2008-0410-955e-edbf42e46eb7
* Changes needed to get open-linking working.Gravatar w00t2008-04-082-17/+29
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9431 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compile error I introducedGravatar w00t2008-04-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9430 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment tweakageGravatar w00t2008-04-081-5/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9429 e03df62e-2008-0410-955e-edbf42e46eb7
* This comment is slightly out of date: we do write to opers now.Gravatar w00t2008-04-081-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9428 e03df62e-2008-0410-955e-edbf42e46eb7
* No longer deprecated, just may not be usedGravatar w00t2008-04-081-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9427 e03df62e-2008-0410-955e-edbf42e46eb7
* add a couple of parenthesis to the password comparison, because i couldnt ↵Gravatar brain2008-04-081-2/+2
| | | | | | easily make out the order of precedence, clarify it a bit :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9426 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow for open link networks (<link:name> to *) and tidy up checks here. XXX ↵Gravatar w00t2008-04-081-63/+76
| | | | | | someone check my work here because this was quite untidy, so I'm not 100% I got all the logic ops correct. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9425 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote REHASH stuff, this drove me nuts but should probably work now.. thx brainGravatar w00t2008-04-084-65/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9423 e03df62e-2008-0410-955e-edbf42e46eb7
* Update syntaxGravatar w00t2008-04-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9422 e03df62e-2008-0410-955e-edbf42e46eb7
* Finally apply my patch simplifying RSQUIT. Fixes bug #452, reported by Mark. ↵Gravatar w00t2008-04-081-52/+24
| | | | | | This won't be backported. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9421 e03df62e-2008-0410-955e-edbf42e46eb7
* Ugh, fixify. msms?Gravatar brain2008-04-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9417 e03df62e-2008-0410-955e-edbf42e46eb7
* When map says 0ms, make it read "<1ms" instead of 0, 0 doesnt make ANY sense ↵Gravatar brain2008-04-071-15/+5
| | | | | | at all, transfer of data is not instant! Also tidy up headers for this file, we include far more of spanningtree than we actually use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9416 e03df62e-2008-0410-955e-edbf42e46eb7
* This should probably be tested, but makes a whole lot more sense like this ↵Gravatar brain2008-04-071-2/+3
| | | | | | (users.cpp) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9404 e03df62e-2008-0410-955e-edbf42e46eb7
* Show SID on /mapGravatar w00t2008-04-071-10/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9403 e03df62e-2008-0410-955e-edbf42e46eb7
* remote MAP reply is backwards :pGravatar brain2008-04-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9402 e03df62e-2008-0410-955e-edbf42e46eb7
* Use server names for introduction of servers, not SIDsGravatar w00t2008-04-071-6/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9401 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix fake direction in TOPIC, you cant use a uuid as a command origin in the ↵Gravatar brain2008-04-061-1/+5
| | | | | | send functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9393 e03df62e-2008-0410-955e-edbf42e46eb7
* Its ok to allow remote map to non-opers now, found the real culpritGravatar brain2008-04-061-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9392 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug where OPERTYPE does not propogate more than one server in distance ↵Gravatar brain2008-04-061-1/+1
| | | | | | due to it being propogated with a nick prefix. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9391 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote map only works for opers. Fix problem where only part of the map is ↵Gravatar brain2008-04-061-4/+4
| | | | | | shown, and also restrict to opers only so that normal users cant use it to probe network routes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9390 e03df62e-2008-0410-955e-edbf42e46eb7
* DebugGravatar brain2008-04-061-2/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9389 e03df62e-2008-0410-955e-edbf42e46eb7
* The map matrix must be static. For some reason it blows up when it is not. ↵Gravatar brain2008-04-061-2/+11
| | | | | | This fixes the display oddities, as far as i can tell. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9388 e03df62e-2008-0410-955e-edbf42e46eb7
* Initialise var (another valgrind warning)Gravatar w00t2008-04-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9386 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote /MAP (that now doesn't confuse clients ;p)Gravatar w00t2008-04-061-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9383 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix this up to convert deque to const char* const for w00tGravatar brain2008-04-061-1/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9382 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote /MAP: caution, this doesn't compileGravatar w00t2008-04-064-11/+65
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9381 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert not-required haxGravatar brain2008-04-061-12/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9380 e03df62e-2008-0410-955e-edbf42e46eb7
* For some reason there was a FinishBurst in the encap command, which was ↵Gravatar brain2008-04-062-11/+12
| | | | | | sending spurious end of burst messages git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9379 e03df62e-2008-0410-955e-edbf42e46eb7
* Mark ping answered when we get a two form replyGravatar w00t2008-04-061-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9378 e03df62e-2008-0410-955e-edbf42e46eb7
* Make ping warnings and lag check global across all servers on a network. ↵Gravatar w00t2008-04-062-42/+63
| | | | | | This means a lot of pings travelling around with a lot of servers, but hey, it's useful info. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9377 e03df62e-2008-0410-955e-edbf42e46eb7
* Error message tweakingGravatar w00t2008-04-051-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9370 e03df62e-2008-0410-955e-edbf42e46eb7