summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2014-07-05m_spanningtree Add optional expected nick TS parameter to SVSNICKAttila Molnar
Drop SVSNICK if the expected nick TS is present and it does not match the user's nick timestamp
2014-07-03m_spanningtree Replace manual string building of outgoing commands with ↵Attila Molnar
CmdBuilder where possible
2014-07-03User::ChangeNick() cannot fail if the new nick is the uuid, document this ↵Attila Molnar
and rely on it
2014-07-03Remove now needless User::ForceNickChange()Attila Molnar
Change call sites to call ChangeNick()
2014-06-30m_spanningtree Drop support for changing user modes with FMODEAttila Molnar
This is useless with uuids
2014-06-30m_spanningtree Translate user mode changes done via FMODE by 1202-protocol ↵Attila Molnar
servers to MODE
2014-06-30m_spanningtree Accept legacy JOINs from 1202-protocol serversAttila Molnar
2.0 accepted JOIN and some pseudoservers might use it
2014-06-28Use TimingSafeCompare() to compare passwords and password hashes (non-hmac only)Attila Molnar
Issue #882
2014-06-28m_spanningtree Send the cert fingerprint message to opers only after ↵Attila Molnar
successful auth
2014-06-28Check fingerprint before checking password (server linking)Matthew Martin
Checking the password before the fingerprint means that even without the correct cert it's possible to brute force the password or leak information about it. Checking the fingerprint means attackers must forge the cert before they can learn any information about the password.
2014-06-22Change all occurrences of plain sort() to std::sort()Attila Molnar
2014-06-20Increment serverstats::Collisions when a collision is handled, not when a ↵Attila Molnar
module denies a nick change
2014-06-17m_spanningtree Share server description updates via SINFO descAttila Molnar
2014-06-17m_spanningtree Remove server-to-server VERSION handlerAttila Molnar
2014-06-17m_spanningtree Translate SINFO version to VERSION and vice versa for 1202 ↵Attila Molnar
protocol servers
2014-06-17m_spanningtree Exchange public server version strings via SINFO instead of ↵Attila Molnar
VERSION
2014-06-17m_spanningtree Show the full version string of servers to opersAttila Molnar
Issue #637, suggested by @CuleX
2014-06-17m_spanningtree Send and receive full version strings via SINFOAttila Molnar
2014-06-17m_spanningtree Add a field to TreeServer for storing full version stringsAttila Molnar
2014-06-17m_spanningtree Add server-to-server SINFO command handler and builderAttila Molnar
Don't send SINFO to 1202 protocol servers
2014-06-17m_spanningtree Add TreeSocket::SendServerInfo() that sends all additional ↵Attila Molnar
data about a server
2014-06-14m_spanningtree Remove declaration for nonexistent function: OnLine()Attila Molnar
2014-06-14m_spanningtree Use vector back() where it makes senseAttila Molnar
2014-06-14m_spanningtree Initialize boolean member variables in the constructor of the ↵Attila Molnar
module
2014-06-14m_spanningtree Initialize TreeServer::UserCount for TreeRoot in its constructorAttila Molnar
2014-06-13Make the default ProtocolInterface instance part of class InspIRCdAttila Molnar
The protocol module no longer has to delete it on load and construct it on unload, only assign a new value to ServerInstance->PI
2014-06-13m_spanningtree Change allocation of the specialized ProtocolInterface to be ↵Attila Molnar
physically part of ModuleSpanningTree
2014-06-13Change allocation of InspIRCd::Parser to be physically part of the object ↵Attila Molnar
containing it
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