summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/server.cpp
AgeCommit message (Collapse)Author
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08Update Event and Request APIsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30Allow multiple autoconnects in a single <autoconnect> tag, fix infinite failoverdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11786 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Create StreamSocket for IO hooking implementationdanieldg
Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-03Change cmd_*.so to use the Module object APIdanieldg
Create Module* objects for each command, and load them like modules. This unifies the external API for modules. Library directory is now deprecated: all modules are located in a single module directory. Header files for each command are no longer needed; remove. This also fixes two potential segfaults in m_spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add modules to the VF_COMMON list in backwards compatability link mode, ↵danieldg
translate FIDENT as CHGIDENT git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11657 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Replace std::deque with std::vector in spanningtree and related modulesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Fix build of m_spanningtree and display of dependency regenerationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-07Allow SSL fingerprint-based server authenticationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-22Fix PingFlag not being set correctly for servers whose burst takes longer ↵danieldg
than PingFreq git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
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
2009-03-14Mark children of remote servers as bursting while their parent is burstingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10Push password comparison logic into ComparePass, fixes authentication bug ↵danieldg
noticed by HiroP git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11195 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-05Fix crash when services (or a misbehaving remote server) introduces a server ↵danieldg
with duplicate SID git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31We already have an error for not enough params to the SERVER command, but ↵brain
the error is 'missing SID'. This error can be seen in snomask +l and is sent as ERROR to the connection. Changed to 'Not enough parameters for SERVER command', fixes bug #661 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11014 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Make an error message more verbose to help usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10866 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31Move some messages (correctly) to remote link snomask.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10769 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-24Fix for listening sockets not clearing their timeout on connected. Reported ↵peavey
by Sazpaimon. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10594 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-21Be consistent. Use ServerInstance in all places instead of 'Instance' in ↵w00t
half. This has bugged me forever :p. I think I got all of extra/ too.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Match conversion stuff.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Revert automated conversion by Special, as it (unfortunately) neglects some ↵w00t
details. It provides a useful start point, though, so it'll be used as the basis for the final conversion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist ↵special
anymore) after w00t broke them. Still broken pending a few more changes (it's all w00t's fault.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Fix total mess of makefile dependency macros (all depending on stuff they ↵brain
dont NEED to depend on) and fix includes in all of m_spanningtree (everything including just about everything, doesnt need to) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10046 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-20Add note to check other server on this messagew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9779 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Oddnessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9439 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Extra debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9438 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Fix authentication logic, someone forgot to change an || to an &&, because ↵brain
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
2008-04-08Fix compile error I introducedw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9430 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08add a couple of parenthesis to the password comparison, because i couldnt ↵brain
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
2008-04-08Allow for open link networks (<link:name> to *) and tidy up checks here. XXX ↵w00t
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
2008-04-07Use server names for introduction of servers, not SIDsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9401 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Make sure CAPAB always comes before SERVER on either side of the link at all ↵brain
times git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9229 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22Convert remaining InspIRCd::Log() calls to new logging systemaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05Add server.cpp, handles all stuff related to the server command. ↵w00t
treesocket2.cpp is now ~700 lines :-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8836 e03df62e-2008-0410-955e-edbf42e46eb7