summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-02-23Fix a minor crash when a user has no class after OnCheckReady.Peter Powell
This bug looks serious but it can only be triggered with a very unusual server configuration problem. If you haven't already had a crash then you probably aren't at any risk. The way this crash happens is: 1. InspIRCd::DoBackgroundUserStuff is called by the main loop. 2. In the switch statement curr->registered is set to REG_NICKUSER so InspIRCd::AllModulesReportReady is called. 3. InspIRCd::AllModulesReportReady calls the OnCheckReady event in m_cgiirc. 4. m_cgiirc calls RecheckClass which sets the user's class to NULL and calls LocalUser::SetClass followed by LocalUser::CheckClass. 5. The user doesn't match any classes in LocalUser::SetClass so LocalUser::CheckClass quits the user with with "Access denied by configuration". 6. Control flow returns to InspIRCd::DoBackgroundUserStuff when InspIRCd::AllModulesReportReady returns false. 7. The if statement at the end of InspIRCd::DoBackgroundUserStuff calls ConnectClass::GetRegTimeout on curr->MyClass. 8. ConnectClass::GetRegTimeout tries to access a member of this which is NULL. 9. The server crashes with a SEGFAULT.
2015-02-04cmd_userhost List 5 users in the reply even if the query (incorrectly) ↵Attila Molnar
contains more than 5 nicks
2015-02-04m_spanningtree Fix TreeRoot UserCount being possibly wrong if loaded after ↵Attila Molnar
startup
2015-02-02threadengine_pthread Throw CoreExceptions instead of CoreException pointersAttila Molnar
2015-01-21m_abbreviation Fix typo in numeric textAttila Molnar
2015-01-21Fix numeric ERR_NOTREGISTERED not containing the user's nickAttila Molnar
2015-01-21Merge pull request #961 from SaberUK/insp20+fix-snoticeAttila Molnar
Fix a snotice in m_spanningtree incorrectly using an unsigned long.
2015-01-19Merge branch 'insp20+penalty' into insp20Attila Molnar
2015-01-19m_operprefix Fix force joined opers not being given the operprefix modeAttila Molnar
2015-01-19Don't bind ports after an unsuccessful rehashAttila Molnar
2015-01-17m_hideoper Fix wrong /WHO output for hidden opers if the channel name ↵Attila Molnar
contains '*'
2015-01-17Fix elines not matching elined users when rechecking elined statusAttila Molnar
2015-01-17Merge pull request #968 from ShutterQuick/insp20+sporderAttila Molnar
cmd_list: Give +s precedence to +p
2015-01-17cmd_list: Give +s precedence to +pDaniel Vassdal
When +ps is set, handle it as +s (most restrictive) instead of +p
2015-01-16Fix a blank error message when trying to load a module with a path.Peter Powell
2015-01-12Always penalize clients executing a command which fails before running the ↵Attila Molnar
handler, even if the command has 0 penalty
2015-01-12Increase penalty for some core commandsAttila Molnar
2015-01-12Fix harmless uninitialized variable usage on startup if the config is incorrectAttila Molnar
2015-01-03Fix a snotice in m_spanningtree incorrectly using an unsigned long.Peter Powell
This value can be negative so it should be a signed long not an unsigned long.
2014-12-30Fix signon time of clients being off by dns_timeout secondsAttila Molnar
2014-12-30Fix User::age being incorrectly used in some places instead of signonAttila Molnar
2014-12-27m_check Fix non-standard format specifier %s passed to strftime() causing ↵Attila Molnar
problems on systems not supporting it (Windows)
2014-12-10m_httpd On module unload close all connections hooked by the module being ↵Attila Molnar
unloaded
2014-11-30Reject empty mode parameters in ModeParser::Process() instead of relying on ↵Attila Molnar
ModeHandlers to do it
2014-11-30Don't submit a reload worker if the module doing the reload is scheduled for ↵Attila Molnar
unload
2014-11-30Validate module reload callback before use in PURE_STATIC buildsAttila Molnar
2014-10-27Allow setting a limit of less than 64 entries for non-ban listmodes via ↵Attila Molnar
<banlist> Fixes regression introduced in 234be2f3cb
2014-10-26Release v2.0.18Attila 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-22Fail AAAA DNS queries if inet_ntop() failsAttila Molnar
2014-10-22Set the parameter of -b to the banmask actually removedAttila Molnar
This is needed because of the case insensitive match
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