summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket2.cpp
AgeCommit message (Collapse)Author
2012-11-09m_spanningtree Refuse bogus NICK messagesattilamolnar
If the new nick looks like an uid verify that its the correct uid
2012-10-12Remove superfluous std::string()sattilamolnar
2012-09-30Fix more undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
2012-08-10m_spanningtree: Resolve issue #250ChrisTX
2012-07-01m_spanningtree Return when ecountering an invalid command coming from a ↵attilamolnar
remote server
2012-06-12m_spanningtree Burst to a new server before introducing it to the rest of ↵attilamolnar
the network Fixes issue #103 reported by @nenolod
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-18Fix typo.Robin Burchell
2012-04-18Match the logging in the rest of this module.Robin Burchell
2012-04-18Be more helpful when processing commands from a linked server.Robin Burchell
When diagnosing errors with s2s traffic, it costs us next to nothing to try a little harder to generate useful errors so errors are immediately apparent.
2010-05-08Correct source of initial BURST line from servers sending it without one ↵Daniel De Graaf
(like denora)
2010-04-29Don't use an empty direction when receiving a sourceless server commandDaniel De Graaf
2010-03-19Add RAWIO log level which is more verbose than DEBUGdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-02What, I have to make this compile now?danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12581 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-02Log invalid S2S commands a bit betterdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12579 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-28Fix snomask sending having the final-parameter colon stripped (noticed in ↵danieldg
globops in bug #951) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12573 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-13Clean up treesocket naming confusion by adding a link block reference during ↵danieldg
negotiation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12452 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-07More cleanup of quit serversdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12394 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-04Add DYING link state, push error messages on link, and only limit recvq on ↵danieldg
unauthenticated servers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12370 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-19Remove overrides for ADMIN, STATS, TIMEdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12302 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-19Fix MOTD and RULES to work remotely (remove the old hacks for MOTD)danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12301 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Move lots of spanningtree items to commandsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
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
2010-01-02Remove special-case handling of SVSNICK, SVSJOIN, SVSPART; enables ↵danieldg
intelligent routing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12238 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03Clean up duplicated link snomask messages on errorsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11999 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03Move MODENOTICE command to a command moduledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11991 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-24Fix incorrect netburst detectiondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11972 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-23Make User::uuid and User::server constdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-23Fix recursive SENDSNO bouncedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11958 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21some WriteGlobalSno changesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11939 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09Move autoconnect next-server to TreeSocket::cull, and drop autoconnect ↵danieldg
reference once a connection is complete git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11811 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-10-01Merge remote/local MODULES outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11793 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01Add ROUTE_TYPE_MESSAGE and use for PRIVMSG/NOTICE routingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11791 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-17Add <autoconnect> blocks [jackmcbarn]danieldg
Replaces <link:failover> and <link:autoconnect> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11741 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 away timestamp to the AWAY message sent server-serverdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11664 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add SAVE s2s protocol commanddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11660 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add s2s backward compatability for protocol changesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11656 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add OnChangeIdent and FIDENT supportdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11652 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Remove useless vector copydanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11608 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-08-14Print line on empty prefix errors to track down a bugw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11517 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtreedanieldg
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
2009-05-13Make the previous patches actually workdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11378 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Use a FakeUser source for server-sourced commands in spanningtreedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376 e03df62e-2008-0410-955e-edbf42e46eb7