summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
Commit message (Expand)AuthorAgeFilesLines
* Fix crash when a remote server has the same name as we doGravatar Daniel De Graaf2010-04-161-2/+3
* Send module load/unload notifications as metadata•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12647 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-221-0/+2
* Remove server deletion from OnError, fixes crash on ping timeout•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12511 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-214-13/+11
* Close and delete server sockets when they are in DYING state, should avoid 10...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12473 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-161-1/+4
* Fix race where two servers with the same name can enter WAIT_AUTH_2 and cause...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12461 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-152-9/+9
* Call OnClose() before changing link state to DYING to clean up introduced ser...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12458 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-143-2/+8
* Set link state to DYING on more error paths•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12393 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-071-2/+3
* Restart server_hash iteration after quitting dead and pinged out servers•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12391 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-071-1/+5
* Remove users from uuidlist/clientlist on QuitUser, not during cull (allows UI...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12327 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-301-1/+3
* If SVSNICK is sent to force a change to a UID-lookalike, just change nick to ...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12319 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-241-3/+4
* Add DYING state, and use it instead of asking the core to delete the socket w...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12316 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-234-4/+18
* Check channel name in SVSJOIN to avoid propegating an invalid channel, fixes ...•••This will result in a mild desync if someone has (ab)used SVSJOIN when linking a server running this to their network, but since those channels are screwed anyway.. git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12234 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-12-311-7/+12
* Where there are hidden servers, report the /map server count as the hidden co...•••calculate the user average over this number of servers too. -- Reported by Syloq, thanks! git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11728 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-09-151-3/+3
* Fix a regression from fcb51634669e6ed588e42f2072c6f910e267126f ("fix uid coll...•••Thanks to transnet for the report. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11533 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-191-1/+3
* Allow forward linking compatability by accepting higher protocol version numb...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11531 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-172-10/+13
* win: Last part of support required for VS2010:•••NEEDS COMPILE TESTING ON: gcc3 (if possible), gcc4, vs2008. - Check for vs2010 in hash_map.h - use unordered_map if it exists - change all map creations to: #if defined(WINDOWS) && !defined(HASHMAP_DEPRECATED) // old windows crap #else #if HASHMAP_DEPRECATED // tr1/gcc crap #endif #endif git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11524 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-151-1/+1
* Print line on empty prefix errors to track down a bug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11517 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-141-1/+1
* Use server name for source of remote TIME rather than SID•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11438 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-031-1/+2
* Roll back mysterious DNS change from 2007 which broke multiple-answer•••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 Gravatar w00t2009-06-302-6/+3
* Fix ENCAP forwarding with multiword final parameter, noticed by Namegduf•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-151-0/+2
* Allow SSL fingerprint-based server authentication•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-077-11/+48
* OnRehash changes: split to multiple hooks to clarify use and prevent explosio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-242-5/+8
* Fix UID collision on reload of m_spanningtree.so•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11386 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-141-0/+1
* Fix some incorrect STL iterations (using < end() instead of != end())•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11385 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2009-05-142-3/+3
* Show correct server source to users on FTOPIC and FMODE•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11380 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-1/+2
* Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree•••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 Gravatar danieldg2009-05-133-17/+7
* Make the previous patches actually work•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11378 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-132-3/+5
* Replace loopCall detection in OnUserKick with a check for the m_spanningtree ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11377 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-12/+6
* Use a FakeUser source for server-sourced commands in spanningtree•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-133-51/+16
* Remove handshake timer on server sockets that die before completing handshake•••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 Gravatar danieldg2009-05-074-21/+27
* Enable lag-check pings on active servers - if bandwidth waste is an issue, th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11331 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-261-6/+0
* Remove lag reporting in /map from servers that do not yet have a valid value;...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11330 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-261-1/+1
* rollback r11326, we're going to make vc9 the officially supported windows bui...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11327 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-04-232-2/+2
* Heres the beef so far•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-04-232-2/+2
* Addendum to previous ping patch: NextPingTime was not being set at endburst, ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11325 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-221-2/+4
* Fix PingFlag not being set correctly for servers whose burst takes longer tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-223-25/+5
* Abort link early when mismatched modules are detected so that the error messa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11323 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-211-1/+2
* Actually use irc::modestacker correctly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-201-7/+4
* Use loopCall to protect OnUserKick rather than the triggerevents hack•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-202-1/+3
* Initialize loopCall on construction•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11320 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-191-0/+1
* Add loopCall to prevent double-broadcasting new X:lines•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11319 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-193-1/+7
* Don't send out UID for users that are quitting, because the QUIT won't be sen...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11313 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-181-0/+2
* Fix ping server-skip logic from bug 792 fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11277 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-011-1/+1
* Fix for bug #784 reported by HiroP, add check to the FHOST code to not send o...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11232 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-03-181-1/+7
* Fix for bug #792 reported by recyclebin, do not attempt to ping local servers...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11230 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-03-181-0/+6
* Instead of re adding the HandshakeTimer in m_spanningtree, make it a reoccurr...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11227 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-161-2/+4
* Use IS_OPER(u) instead of checking for umode +o to correctly add opers during...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11224 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-03-151-1/+1
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-1562-63/+63
* Revert r11194 "Quiet bursts for uplinks, suggested by HiroP, thanks!"•••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 Gravatar danieldg2009-03-144-16/+9
* Mark children of remote servers as bursting while their parent is bursting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-143-1/+14