aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Fix various warnings when building with LLVM 3.5.Gravatar Peter Powell2014-10-132-4/+4
| | |/ / | | | | | | | | | | | | | | | | - warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
| * | | m_ssl_openssl Allow configuring raw OpenSSL context optionsGravatar Attila Molnar2014-10-101-2/+27
| | | |
| * | | m_ssl_openssl Disable session caching and session ticketsGravatar Attila Molnar2014-10-101-2/+5
| | | |
| * | | m_ssl_openssl Enable single (EC)DH use and disable SSL v2Gravatar Attila Molnar2014-10-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Options enabled: - SSL_OP_NO_SSLv2 - SSL_OP_SINGLE_DH_USE - SSL_OP_SINGLE_ECDH_USE (if it exists) Partial backport of #856 by @jvehent
| * | | m_ssl_openssl Clear the error queue before every SSL_* callGravatar Attila Molnar2014-10-081-0/+9
| |/ /
| * | m_ssl_gnutls Re-set DH params when the gnutls_certificate_credentials_t ↵Gravatar Attila Molnar2014-10-031-2/+2
| | | | | | | | | | | | struct is reallocated
| * | m_sqlite3 Fix cleanup of unsuccessful database connectionsGravatar Attila Molnar2014-09-021-2/+5
| | |
| * | Fix listmodes when the config does not specify a wildcard size entry.Gravatar Peter Powell2014-08-031-7/+7
| | |
* | | m_ssl_openssl Store a pointer to the OpenSSLIOHook object in SSL objectsGravatar Attila Molnar2014-10-271-0/+8
| | |
* | | Forward-port of ↵Gravatar JustArchi2014-09-221-0/+7
| | | | | | | | | | | | https://github.com/inspircd/inspircd-extras/commit/a311dbcaea1abad68b87ebbb283fc6d75a207a53 into master
* | | m_hidelist Make minimum rank required to view lists configurableGravatar Attila Molnar2014-09-101-3/+10
| | |
* | | Add m_hidelist that allows hiding the lists of listmodesGravatar Attila Molnar2014-09-101-0/+80
| | |
* | | m_services_account Fix uninitialized variable usage introduced by insp20 ↵Gravatar Attila Molnar2014-09-051-0/+1
| | | | | | | | | | | | merge e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804
* | | m_samode Simplify command handler logicGravatar Attila Molnar2014-09-051-5/+3
| | |
* | | Migrate code from ModeParser into cmd_mode (core_user)Gravatar Attila Molnar2014-09-041-3/+19
| | | | | | | | | | | | | | | | | | - Process() that takes a std::vector<std::string> - DisplayCurrentModes() - DisplayListModes()
* | | m_namedmodes Build and process a Modes::ChangeList when handling PROPGravatar Attila Molnar2014-09-041-10/+13
| | |
* | | Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableGravatar Attila Molnar2014-09-043-52/+57
| | | | | | | | | | | | This gets rid of the duplicated mode parsing logic in m_namedmodes
* | | Call the MODE command handler in several modules instead of the old ↵Gravatar Attila Molnar2014-09-044-4/+4
| | | | | | | | | | | | ModeParser::Process()
* | | m_spanningtree Simplify processing non-prefix modes in FJOINsGravatar Attila Molnar2014-09-041-18/+1
| | | | | | | | | | | | Use ModeParser::ModeParamsToChangeList() instead of duplicating logic
* | | m_spanningtree Apply FMODE mode changes using the new ModeParser functionsGravatar Attila Molnar2014-09-041-6/+5
| | |
* | | m_services_account Call ModeHandler::RemoveMode() instead of duplicating codeGravatar Attila Molnar2014-09-041-6/+1
| | |
* | | m_spanningtree Remove CommandFJoin::ApplyModeStack()Gravatar Attila Molnar2014-09-032-13/+0
| | |
* | | Use Modes::ChangeList in ModeHandler::RemoveMode()Gravatar Attila Molnar2014-09-031-3/+3
| | |
* | | Replace irc::modestacker usage with the new ModeParser::Process()Gravatar Attila Molnar2014-09-0311-103/+57
| | |
* | | Remove ProtocolInterface::SendMode()Gravatar Attila Molnar2014-09-032-5/+0
| | |
* | | m_spanningtree Send MODE/FMODE from the OnMode hookGravatar Attila Molnar2014-09-033-18/+29
| | | | | | | | | | | | If the MODE_LOCALONLY flag is set the mode change is not propagated
* | | m_spanningtree Add function to serialize parameters in a ↵Gravatar Attila Molnar2014-09-032-0/+78
| | | | | | | | | | | | Modes::ChangeList::List into MODE/FMODE format
* | | m_spanningtree Add optional key parameter to SVSJOIN and allow it to do ↵Gravatar Attila Molnar2014-09-011-1/+13
| | | | | | | | | | | | | | | | | | override joins Slightly more readable version of #892 by @ShutterQuick
* | | m_blockamsg Update coding style, use User::WriteNotice()Gravatar Attila Molnar2014-08-311-13/+13
| | |
* | | m_blockamsg Remove redundant checkGravatar Attila Molnar2014-08-311-1/+1
| | |
* | | m_blockamsg Uncrook channel counting logicGravatar Attila Molnar2014-08-311-11/+5
| | |
* | | m_blockamsg Prevent double copy of the target stringGravatar Attila Molnar2014-08-311-3/+3
| | |
* | | m_blockamsg Remove useless variableGravatar Attila Molnar2014-08-311-4/+1
| | |
* | | m_ojoin Change allocation of NetworkPrefix to be physically part of the ↵Gravatar Attila Molnar2014-08-061-23/+8
| | | | | | | | | | | | object containing it
* | | m_ojoin Leave it to the core throw an exception if the prefix char is in useGravatar Attila Molnar2014-08-061-2/+0
| | |
* | | Pass prefix rank and prefix char to PrefixMode constructorGravatar Attila Molnar2014-08-063-7/+4
| | |
* | | m_exemptchanops Fix parameter validationGravatar Attila Molnar2014-08-061-2/+16
| | |
* | | m_spanningtree Remove redundant checks from HandleRemoteWhois()Gravatar Attila Molnar2014-08-061-13/+10
| | | | | | | | | | | | The size of the vector is checked in OnPreCommand() and that hook only runs for local users
* | | m_pbkdf2 Less string copyingGravatar Attila Molnar2014-08-041-4/+6
| | |
* | | m_pbkdf2: Added moduleGravatar Daniel Vassdal2014-08-041-0/+260
| | | | | | | | | | | | Bugfixes and minor changes are by @attilamolnar, original PR #767
* | | m_bcrypt: Add moduleGravatar Daniel Vassdal2014-08-041-0/+987
| | | | | | | | | | | | bcrypt updated to 1.3 by @attilamolnar, original PR #767
* | | Hashing: Redo APIGravatar Daniel Vassdal2014-08-047-27/+26
| | | | | | | | | | | | | | | | | | | | | * 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
* | | m_password_hash: Use out_size as HMAC-key length, as RFC2104 recommendsGravatar Daniel Vassdal2014-08-041-1/+1
| | | | | | | | | | | | "In any case the minimal recommended length for K is L bytes (as the hash output length)."
* | | Differ database error messages for m_permchannels and m_xline_dbGravatar Justin Crawford2014-07-292-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Allow fast sid reuse by erasing fake users from UserManager::uuidlist when ↵Gravatar Attila Molnar2014-07-281-0/+4
| | | | | | | | | | | | the netsplit is handled, not in cull()
* | | m_spanningtree Throw a ProtocolException if a server SQUITs a server it ↵Gravatar Attila Molnar2014-07-281-0/+2
| | | | | | | | | | | | shouldn't
* | | m_spanningtree Squit dead servers immediately when they die, not at the next ↵Gravatar Attila Molnar2014-07-282-6/+1
| | | | | | | | | | | | timer tick
* | | m_spanningtree Remove the now needless SplitInProgress workaroundGravatar Attila Molnar2014-07-283-9/+0
| | |
* | | m_spanningtree Check TreeServer::IsDead() to learn whether a user is being ↵Gravatar Attila Molnar2014-07-281-1/+2
| | | | | | | | | | | | quit due to a netsplit in OnUserQuit()
* | | m_spanningtree Change type of num_lost_* to be unsignedGravatar Attila Molnar2014-07-282-7/+7
| | |