summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2014-06-12m_spanningtree Explicitly specify the routing for RESYNC as the one ↵Attila Molnar
inherited from ServerCommand doesn't suit it Command::GetRouting() defaulted to local only when RESYNC was added, but ServerCommand overrides it.
2014-06-11m_spanningtree Strip membership id from KICKs sent to 1202 protocol serversAttila Molnar
2014-06-11Send the membership id when kicking a remote user and drop KICKs with ↵Attila Molnar
mismatching membership ids This fixes the desync happening when a PART+JOIN crosses a KICK targetting the same user.
2014-06-11m_spanningtree Strip membership ids from FJOINs sent to 1202 protocol serversAttila Molnar
2014-06-11m_spanningtree Send and parse FJOINs with membership idsAttila Molnar
2014-06-11m_spanningtree Add CmdBuilder::push_raw_int()Attila Molnar
2014-06-11m_spanningtree Use the FJOIN builder when a channel is createdAttila Molnar
2014-06-11m_spanningtree Add CmdBuilder specialization for FJOINAttila Molnar
2014-06-11m_spanningtree Send, parse and translate IJOINs with membership idsAttila Molnar
2014-06-11m_spanningtree Assign an id to new MembershipsAttila Molnar
2014-06-11m_spanningtree Initialize membership ids on loadAttila Molnar
2014-06-10Add channel TS to server-to-server INVITE to detect and drop unauthorized ↵Attila Molnar
invites The syntax of the server-to-server INVITE command changes from :<source> INVITE <target> <channel> [<expire>] to :<source> INVITE <target> <channel> <chants> [<expire>]
2014-06-10m_spanningtree Allow callers of InsertCurrentChannelTS() to customize positionsAttila Molnar
2014-05-26Switch to std::string::compare() from substr() in a couple of placesAttila Molnar
2014-04-16m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSAttila Molnar
Throws a ProtocolException if the input is invalid
2014-04-16m_spanningtree Throw an exception on protocol violations instead of ↵Attila Molnar
returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
2014-04-14m_spanningtree Fix routing of unicast messagesAttila Molnar
2014-04-08m_spanningtree Don't rely on "m_sha256.so" being loaded, use any ↵Attila Molnar
"hash/sha256" service provider
2014-04-08m_spanningtree Remove the (now) undocumented disablehmac config optionAttila Molnar
2014-04-07Merge insp20Attila Molnar
2014-04-04Add REG_ALL checks to treat unregistered users as nonexistent in more casesAttila Molnar
2014-03-17Rewrite clone counting to use one map instead of twoAttila Molnar
2014-03-15Change allocation of InspIRCd::Timers to be physically part of the object ↵Attila Molnar
containing it
2014-03-15Change allocation of UserManager::clientlist to be physically part of the ↵Attila Molnar
object containing it
2014-03-15Add UserManager::GetUsers()Attila Molnar
2014-03-14Add InspIRCd::GetChans(), remove ChannelCount()Attila Molnar
2014-03-08Make the maximum hostname length configurable in the config.Peter Powell
2014-03-03m_spanningtree Remove remains of the KeepNickTS workaroundAttila Molnar
2014-03-03Update nick timestamps in User::ChangeNick(), pass the new TS in a parameterAttila Molnar
2014-03-02m_spanningtree Do pointer comparison before deleting one of the pointers in ↵Attila Molnar
TreeSocket::Squit() While the previous code worked fine in practice, it was incorrect in theory
2014-03-02m_spanningtree Don't send snotices to servers about remote servers splittingAttila Molnar
The snotice is sent to opers when the SQUIT is processed by their server
2014-02-22Add ModeParser::GetModes(), returns all user/chanmodesAttila Molnar
2014-02-18Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to ↵Attila Molnar
ModeType
2014-02-09Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)Attila Molnar
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-06Convert irc::stringjoiner to be a method instead of a class.Peter Powell
Add separator parameter
2014-01-28m_spanningtree Rewrite /mapAdam
2014-01-26Add ProtocolInterface::BroadcastEncap() and infrastructure for manually ↵Attila Molnar
forwarding ENCAPs
2014-01-26ProtocolInterface::SendEncapsulatedData() changesAttila Molnar
- Pass command name and destination as real parameters - Allow callers to specify the command source - Send a SID instead of a server name if the target is a single server
2014-01-25Omit the server name internally when building a /STATS reply and prepend it ↵Attila Molnar
later
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established.
2014-01-21Merge insp20Attila Molnar
2014-01-21m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messagesAttila Molnar
2014-01-08Read uline state in spanningtree; remove ConfigReader::ulinesAttila Molnar
2014-01-06Unset all extensions and the topic when lowering TS on a channelAttila Molnar
2014-01-05Move server description field from TreeServer into Server; remove ↵Attila Molnar
OnGetServerDescription hook
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2014-01-05m_spanningtree Remove vector from TreeServer::QuitUsers()Attila Molnar
2014-01-05Improve UserManager::QuitUser() and related codeAttila Molnar
- Make operreason optional; NULL means same as quitreason - Remove User::quietquit, it is now handled internally in spanningtree - Send snotice about quitting remote users from spanningtree