summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-06Migrate ModeChannelOp and ModeChannelVoice constructors to builtinmodes.h, ↵Attila Molnar
remove cmode_{o,v} The default value for levelrequired is HALFOP_VALUE, meaning the ModeChannelVoice class is not required but it will be useful in case the default changes
2014-08-06Pass prefix rank and prefix char to PrefixMode constructorAttila Molnar
2014-08-06Remove a bunch of useless classes representing simple core modesAttila Molnar
2014-08-06Change ListModeBase::DoRehash() to not be virtualAttila Molnar
2014-08-06m_exemptchanops Fix parameter validationAttila Molnar
2014-08-06m_spanningtree Remove redundant checks from HandleRemoteWhois()Attila Molnar
The size of the vector is checked in OnPreCommand() and that hook only runs for local users
2014-08-06core_who Remove redundant NULL checks from CanView()Attila Molnar
2014-08-04m_pbkdf2 Less string copyingAttila Molnar
2014-08-04m_pbkdf2: Added moduleDaniel Vassdal
Bugfixes and minor changes are by @attilamolnar, original PR #767
2014-08-04m_bcrypt: Add moduleDaniel Vassdal
bcrypt updated to 1.3 by @attilamolnar, original PR #767
2014-08-04Hashing: Redo APIDaniel Vassdal
* Don't assume the printable output of hashes is hex * Add virtual Compare() function, usable for KDFs like BCrypt Some changes and bugfixes are by @attilamolnar, original PR #767
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