summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2014-12-07Fix warnings in m_ssl_openssl about the use of `long long` on C++03.Peter Powell
2014-11-01Add stdalgo::isin() and use it to simplify codeAttila Molnar
2014-11-01Add stdalgo::erase() and use it to simplify codeAttila Molnar
2014-10-27Merge insp20Attila Molnar
2014-10-27m_ssl_openssl Store a pointer to the OpenSSLIOHook object in SSL objectsAttila Molnar
2014-10-26Remove some dead code found by CoverityAttila Molnar
2014-10-25Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.Peter Powell
This is a modified version of 690c372. Fixes #905.
2014-10-23m_delaymsg Add option to disallow NOTICEs tooAttila Molnar
2014-10-23Fix m_banredirect causing bans added for hosts being rewritten as nicksAdam
2014-10-20m_ssl_openssl Add compile time option that allows disabling renegotiationsAttila Molnar
2014-10-20m_ssl_openssl Add compile time option to enable ECDHAttila Molnar
2014-10-20m_ssl_gnutls Add compile time option for allowing sha256 certificate ↵Attila Molnar
fingerprints
2014-10-19Fix watch away numerics, #937Adam
2014-10-17m_delayjoin Only send JOIN on mode change if the mode being changed is a ↵Attila Molnar
prefix mode
2014-10-16Initialize all fields of issl_session on module load in SSL modulesAttila Molnar
2014-10-16Add interface to SSL modules that allows other modules to obtain the raw SSL ↵Attila Molnar
session of a socket
2014-10-16m_ssl_gnutls Refcount GnuTLS objects, free them when they are no longer in ↵Attila Molnar
use instead of at /rehash ssl time
2014-10-15m_ssl_openssl Fix debug messageAttila Molnar
2014-10-15m_ssl_openssl Reset data_to_write for new sessionsAttila Molnar
2014-10-15m_ssl_openssl Free the ssl_cert object as soon as the session is closed ↵Attila Molnar
instead of waiting for the next VerifyCertificate() or new connection
2014-10-15m_ssl_openssl Remove bogus errno assignment from CloseSession()Attila Molnar
2014-10-14m_ssl_openssl Return an error from the IOHook read and write functions if ↵Attila Molnar
the handshake returns 0 The meaning of a 0 return value quoted from the manual: The TLS/SSL handshake was not successful but was shut down controlled and by the specifications of the TLS/SSL protocol.
2014-10-14m_ssl_openssl Add user-friendly config options for setting a few OpenSSL ↵Attila Molnar
context options
2014-10-13m_nationalchars Ask m_spanningtree to rebuild its hashmaps when the ↵Attila Molnar
national_case_insensitive_map changes Issue #923
2014-10-13m_spanningtree Rebuild serverlist and sidlist when receiving a specific RequestAttila Molnar
Issue #923
2014-10-13m_nationalchars Rebuild the hash map in m_watch when the ↵Attila Molnar
national_case_insensitive_map changes Issue #923
2014-10-13m_nationalchars Rebuild core hashmaps when the national_case_insensitive_map ↵Attila Molnar
changes Issue #923
2014-10-13Merge pull request #934 from SaberUK/insp20+fix-various-issuesAttila Molnar
Fix various issues detected by Coverity.
2014-10-13Kill some logically dead code detected by Coverity.Peter Powell
- m_watch: wl has already been confirmed to not be NULL on L161.
2014-10-13Merge pull request #933 from SaberUK/insp20+fix-llvm34Attila Molnar
Fix various warnings when building with LLVM 3.5.
2014-10-13Fix various warnings when building with LLVM 3.5.Peter Powell
- 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]
2014-10-10m_ssl_openssl Allow configuring raw OpenSSL context optionsAttila Molnar
2014-10-10m_ssl_openssl Disable session caching and session ticketsAttila Molnar
2014-10-10m_ssl_openssl Enable single (EC)DH use and disable SSL v2Attila Molnar
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
2014-10-08m_ssl_openssl Clear the error queue before every SSL_* callAttila Molnar
2014-10-03m_ssl_gnutls Re-set DH params when the gnutls_certificate_credentials_t ↵Attila Molnar
struct is reallocated
2014-09-22Forward-port of ↵JustArchi
https://github.com/inspircd/inspircd-extras/commit/a311dbcaea1abad68b87ebbb283fc6d75a207a53 into master
2014-09-10m_hidelist Make minimum rank required to view lists configurableAttila Molnar
2014-09-10Add m_hidelist that allows hiding the lists of listmodesAttila Molnar
2014-09-05m_services_account Fix uninitialized variable usage introduced by insp20 ↵Attila Molnar
merge e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804
2014-09-05m_samode Simplify command handler logicAttila Molnar
2014-09-04Migrate code from ModeParser into cmd_mode (core_user)Attila Molnar
- Process() that takes a std::vector<std::string> - DisplayCurrentModes() - DisplayListModes()
2014-09-04m_namedmodes Build and process a Modes::ChangeList when handling PROPAttila Molnar
2014-09-04Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableAttila Molnar
This gets rid of the duplicated mode parsing logic in m_namedmodes
2014-09-04Call the MODE command handler in several modules instead of the old ↵Attila Molnar
ModeParser::Process()
2014-09-04m_spanningtree Simplify processing non-prefix modes in FJOINsAttila Molnar
Use ModeParser::ModeParamsToChangeList() instead of duplicating logic
2014-09-04m_spanningtree Apply FMODE mode changes using the new ModeParser functionsAttila Molnar
2014-09-04m_services_account Call ModeHandler::RemoveMode() instead of duplicating codeAttila Molnar
2014-09-03m_spanningtree Remove CommandFJoin::ApplyModeStack()Attila Molnar
2014-09-03Use Modes::ChangeList in ModeHandler::RemoveMode()Attila Molnar