summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
Commit message (Collapse)AuthorAgeFilesLines
* Use server name for source of remote TIME rather than SIDGravatar danieldg2009-07-031-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11438 e03df62e-2008-0410-955e-edbf42e46eb7
* Roll back mysterious DNS change from 2007 which broke multiple-answerGravatar w00t2009-06-302-6/+3
| | | | | | | DNS requests (CNAME, A). It looks like this was to be related to bitmask dnsbl support, but it would never have worked anyway (resultnum was always 0..). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11419 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ENCAP forwarding with multiword final parameter, noticed by NamegdufGravatar danieldg2009-06-151-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow SSL fingerprint-based server authenticationGravatar danieldg2009-06-077-11/+48
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7
* OnRehash changes: split to multiple hooks to clarify use and prevent ↵Gravatar danieldg2009-05-242-5/+8
| | | | | | explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix UID collision on reload of m_spanningtree.soGravatar danieldg2009-05-141-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11386 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some incorrect STL iterations (using < end() instead of != end())Gravatar special2009-05-142-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11385 e03df62e-2008-0410-955e-edbf42e46eb7
* Show correct server source to users on FTOPIC and FMODEGravatar danieldg2009-05-131-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11380 e03df62e-2008-0410-955e-edbf42e46eb7
* Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtreeGravatar danieldg2009-05-133-17/+7
| | | | | | | This makes it possible to determine which server initiated a mode change, instead of having only a flag saying that some server did. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the previous patches actually workGravatar danieldg2009-05-132-3/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11378 e03df62e-2008-0410-955e-edbf42e46eb7
* Replace loopCall detection in OnUserKick with a check for the m_spanningtree ↵Gravatar danieldg2009-05-131-12/+6
| | | | | | fake user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11377 e03df62e-2008-0410-955e-edbf42e46eb7
* Use a FakeUser source for server-sourced commands in spanningtreeGravatar danieldg2009-05-133-51/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove handshake timer on server sockets that die before completing handshakeGravatar danieldg2009-05-074-21/+27
| | | | | | | | This fixes some very subtle and hard-to-trace bugs that are triggered when a file descriptor and memory address of an EventHandler* are reused after being deallocated. Impossible to trigger in valgrind; has been seen in live networks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11369 e03df62e-2008-0410-955e-edbf42e46eb7
* Enable lag-check pings on active servers - if bandwidth waste is an issue, ↵Gravatar danieldg2009-04-261-6/+0
| | | | | | there should be an option to disable lag pings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11331 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove lag reporting in /map from servers that do not yet have a valid ↵Gravatar danieldg2009-04-261-1/+1
| | | | | | value; <1ms is misleading. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11330 e03df62e-2008-0410-955e-edbf42e46eb7
* rollback r11326, we're going to make vc9 the officially supported windows ↵Gravatar peavey2009-04-232-2/+2
| | | | | | build methods since the few of us doing win dev can't keep up maintaining the others. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11327 e03df62e-2008-0410-955e-edbf42e46eb7
* Heres the beef so farGravatar brain2009-04-232-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7
* Addendum to previous ping patch: NextPingTime was not being set at endburst, ↵Gravatar danieldg2009-04-221-2/+4
| | | | | | and servers without ENDBURST were no longer being detected. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11325 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix PingFlag not being set correctly for servers whose burst takes longer ↵Gravatar danieldg2009-04-223-25/+5
| | | | | | than PingFreq git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7
* Abort link early when mismatched modules are detected so that the error ↵Gravatar danieldg2009-04-211-1/+2
| | | | | | message is more useful git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11323 e03df62e-2008-0410-955e-edbf42e46eb7
* Actually use irc::modestacker correctlyGravatar danieldg2009-04-201-7/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7
* Use loopCall to protect OnUserKick rather than the triggerevents hackGravatar danieldg2009-04-202-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7
* Initialize loopCall on constructionGravatar danieldg2009-04-191-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11320 e03df62e-2008-0410-955e-edbf42e46eb7
* Add loopCall to prevent double-broadcasting new X:linesGravatar danieldg2009-04-193-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11319 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't send out UID for users that are quitting, because the QUIT won't be ↵Gravatar danieldg2009-04-181-0/+2
| | | | | | sent and they become a ghost git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11313 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ping server-skip logic from bug 792 fixGravatar danieldg2009-04-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11277 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #784 reported by HiroP, add check to the FHOST code to not send ↵Gravatar brain2009-03-181-1/+7
| | | | | | out FHOST for unregistered users, there was already a check on OnMode hence why the +x didnt go out, just the host change. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11232 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #792 reported by recyclebin, do not attempt to ping local ↵Gravatar brain2009-03-181-0/+6
| | | | | | servers which are not fully connected yet, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11230 e03df62e-2008-0410-955e-edbf42e46eb7
* Instead of re adding the HandshakeTimer in m_spanningtree, make it a ↵Gravatar psychon2009-03-161-2/+4
| | | | | | reoccurring timer and kill at the right time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11227 e03df62e-2008-0410-955e-edbf42e46eb7
* Use IS_OPER(u) instead of checking for umode +o to correctly add opers ↵Gravatar dz2009-03-151-1/+1
| | | | | | during bursts, fixes bugs #786 and #778 reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11224 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-1562-63/+63
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert r11194 "Quiet bursts for uplinks, suggested by HiroP, thanks!"Gravatar danieldg2009-03-144-16/+9
| | | | | | | This check on uplink was not sufficient. It has been replaced by marking children of a bursting server as bursting, so the uplink is no longer needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11218 e03df62e-2008-0410-955e-edbf42e46eb7
* Mark children of remote servers as bursting while their parent is burstingGravatar danieldg2009-03-143-1/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7
* Send remote BURST on new incoming server introductionGravatar danieldg2009-03-141-7/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11216 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ComparePass for servers not supporting HMAC-SHA256 when ↵Gravatar danieldg2009-03-111-2/+2
| | | | | | ChallengeResponse is on in configuration git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11205 e03df62e-2008-0410-955e-edbf42e46eb7
* Push password comparison logic into ComparePass, fixes authentication bug ↵Gravatar danieldg2009-03-102-13/+7
| | | | | | noticed by HiroP git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11195 e03df62e-2008-0410-955e-edbf42e46eb7
* Quiet bursts for uplinks, suggested by HiroP, thanks!Gravatar brain2009-03-104-9/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11194 e03df62e-2008-0410-955e-edbf42e46eb7
* An FJOIN is not bursting unless the source server is burstingGravatar danieldg2009-03-091-1/+1
| | | | | | Fixes bug #755 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11188 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some unneeded debug messages on the common case of FJOINGravatar danieldg2009-03-071-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11183 e03df62e-2008-0410-955e-edbf42e46eb7
* Include explicit parameter list in ProtocolInterface::SendModeGravatar danieldg2009-03-074-17/+14
| | | | | | | Also leave the strings split into deque, there's no need to pack it into a string just to unpack it during the translate. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11181 e03df62e-2008-0410-955e-edbf42e46eb7
* Construct explicit parameter type list for MODE parametersGravatar danieldg2009-03-062-7/+7
| | | | | | | | | | | | Previously, we used TR_SPACENICKLIST on the parameters. This worked only because usually, if anything in the list parsed as a nick, then it was a nick. However, some modes like +k and +g allow free-form text, which could also resolve as a nick. Add extra parameters to allow modes to specify their TranslateType, defaulting to TR_TEXT. This fixes bug #757, found by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11180 e03df62e-2008-0410-955e-edbf42e46eb7
* Send SVSNICKs during nick collision to prevent servers that do not fully ↵Gravatar danieldg2009-03-063-24/+35
| | | | | | implement collisions from killing users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11179 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash when services (or a misbehaving remote server) introduces a server ↵Gravatar danieldg2009-03-054-54/+35
| | | | | | with duplicate SID git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert "Don't apply channel modes received in an non-burst, non-creation ↵Gravatar danieldg2009-03-021-19/+5
| | | | | | | | | | | | | FJOIN, because they could be out of date" This keeps the protocol closer to TS6 behavior. The mode sync in the FJOIN is used to resync channel modes after a desync caused by modes crossing on the wire. In the future, an alternate join command will be used to prevent MODExJOIN desync without rejecting modes from an FJOIN. This reverts commit 4820e6bb9578e53ea1553070108599349d0ffbcb. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11163 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't apply channel modes received in an non-burst, non-creation FJOIN, ↵Gravatar danieldg2009-03-021-5/+19
| | | | | | because they could be out of date git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11162 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix SID-sourced KILL being displayed to killee as from SID not from server nameGravatar danieldg2009-02-271-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11155 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix previous module mismatch message; "remote" is misleading when sent as an ↵Gravatar danieldg2009-02-271-8/+9
| | | | | | ERROR git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11154 e03df62e-2008-0410-955e-edbf42e46eb7
* Clarify module mismatch messageGravatar danieldg2009-02-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11148 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unused NumServers fieldGravatar danieldg2009-02-181-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11128 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove MaxMapHeight, replace with dynamically sized buffersGravatar danieldg2009-02-182-39/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11127 e03df62e-2008-0410-955e-edbf42e46eb7