summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-08-04m_password_hash: Use out_size as HMAC-key length, as RFC2104 recommendsDaniel Vassdal
"In any case the minimal recommended length for K is L bytes (as the hash output length)."
2014-08-04Remove InspIRCd::BindSocket()Attila Molnar
2014-08-04threadengine_win32 Use a stripped-down, local version of ↵Attila Molnar
InspIRCd::BindSocket() for setting up the ITC pipe
2014-08-04Fix off by one in ping timeout.md-5
Been bugging me that users ping timeout at 121 rather than 120 seconds by default.
2014-07-29Differ database error messages for m_permchannels and m_xline_dbJustin Crawford
m_permchannels and m_xline_db both have the same error messages as well as not informing the server operator what file is at fault for the error. This makes it hard to find which module is causing the error and what file the module is referring to. The new messages explain which database is trying to be written and the path used to write the file.
2014-07-28Do not attempt to detect non-culled users at destruction by looking for ↵Attila Molnar
their uuid, leave it to Extensible This does not take uuid/sid reuse into consideration and Extensible implements this detection already in a proper way
2014-07-28Allow fast sid reuse by erasing fake users from UserManager::uuidlist when ↵Attila Molnar
the netsplit is handled, not in cull()
2014-07-28m_spanningtree Throw a ProtocolException if a server SQUITs a server it ↵Attila Molnar
shouldn't
2014-07-28m_spanningtree Squit dead servers immediately when they die, not at the next ↵Attila Molnar
timer tick
2014-07-28m_spanningtree Remove the now needless SplitInProgress workaroundAttila Molnar
2014-07-28m_spanningtree Check TreeServer::IsDead() to learn whether a user is being ↵Attila Molnar
quit due to a netsplit in OnUserQuit()
2014-07-28m_spanningtree Change type of num_lost_* to be unsignedAttila Molnar
2014-07-28m_spanningtree Quit all split users in one goAttila Molnar
2014-07-28m_spanningtree Mark servers awaiting destruction after being lost in a ↵Attila Molnar
netsplit, add TreeServer::IsDead()
2014-07-28m_spanningtree Remove now unused TreeServer::Tidy()Attila Molnar
2014-07-28m_spanningtree Add the TreeServer that split to the cull list and destroy ↵Attila Molnar
everything under it recursively at cull time instead of at squit processing time
2014-07-28m_spanningtree Remove split servers from the hash maps in ↵Attila Molnar
TreeServer::SQuitInternal()
2014-07-28m_spanningtree Move squit logic into TreeServer from TreeSocketAttila Molnar
2014-07-28m_spanningtree Remove now needless TreeSocket::ConnectionFailureShownAttila Molnar
2014-07-28m_spanningtree Ensure that TreeSocket::Close() only runs onceAttila Molnar
2014-07-27m_spanningtree Keep track of whether servers are behind a bursting server, ↵Attila Molnar
use it to implement quietbursts
2014-07-27m_spanningtree Only mark one server as finished bursting on ENDBURST (or ↵Attila Molnar
PONG), not all behind it
2014-07-27m_spanningtree Sync bursting state of servers in SERVERAttila Molnar
Also send the time when they started bursting
2014-07-27m_spanningtree Parse additional information present in SERVER messagesAttila Molnar
Format: <key>[=<value>]
2014-07-27m_spanningtree Add TreeServer::BeginBurst() that marks a server as burstingAttila Molnar
Don't mark servers as bursting in the constructor
2014-07-27m_spanningtree Use the value of StartBurst to determine whether a server is ↵Attila Molnar
bursting, remove TreeServer::bursting
2014-07-27m_spanningtree Replace direct access of TreeServer::bursting with IsBursting()Attila Molnar
2014-07-27m_spanningtree Remove post-handshake BURST handlerAttila Molnar
2014-07-27m_spanningtree Don't send needless BURST after introducing a serverAttila Molnar
Synthesize a BURST after SERVER for 1202 protocol servers if we are not bursting
2014-07-27m_spanningtree Keep track of whether we've sent our burst, to be used for ↵Attila Molnar
translation
2014-07-27m_spanningtree Add TreeSocket::WriteLineNoCompat() to send a line without ↵Attila Molnar
doing any translation for old protocol servers
2014-07-27m_spanningtree Translate the new SERVER message for 1202 protocol serversAttila Molnar
2014-07-27m_spanningtree Remove unused parameters from the server introduction messageAttila Molnar
This does not affect the initial SERVER message containing the password
2014-07-27m_spanningtree Add newly created TreeServers to the parent's list in the ↵Attila Molnar
constructor
2014-07-27m_spanningtree Don't pointlessly copy strings in SERVER handlersAttila Molnar
2014-07-27m_spanningtree Deduplicate server auth codeAttila Molnar
2014-07-27m_spanningtree Deduplicate auth finish codeAttila Molnar
2014-07-27m_spanningtree Remove duplicated code from TreeSocket::Outbound_Reply_Server()Attila Molnar
This is implemented in CheckDuplicate()
2014-07-26m_spanningtree Set the TS of the uuid nick to the same value on collisionAttila Molnar
2014-07-26m_spanningtree Warn instead of sending SAVE if we change the nick of a ↵Attila Molnar
non-local user outside of a command handler
2014-07-26m_spanningtree Only accept uuids in SAVEAttila Molnar
2014-07-26m_spanningtree Don't accept NICK with 0 TSAttila Molnar
2014-07-26m_spanningtree Return a bool from DoCollision()Attila Molnar
The return value is true if the remote user or both have to change, false if only we have to change
2014-07-26m_spanningtree Replace WriteLine() call with Unicast() in DoCollision()Attila Molnar
2014-07-26m_spanningtree Replace #defines with references in DoCollision()Attila Molnar
2014-07-26m_spanningtree Update comments around collision handlingAttila Molnar
2014-07-26m_spanningtree Let the NICK handler change the nick of the incoming user on ↵Attila Molnar
collision Don't change it in DoCollision()
2014-07-25m_spanningtree Update nick overrule on UID code to make sense on masterAttila Molnar
2014-07-25m_ssl_openssl Read the DH params file using the BIO API on all OSesAttila Molnar
2014-07-25Merge insp20Attila Molnar