summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-04-16Merge branch 'insp20+timedbans' into insp20Attila Molnar
2015-04-16m_sasl Add missing validation for server-to-server SASL messageAttila Molnar
2015-04-16Reject replies to DNS PTR requests that contain invalid charactersAttila Molnar
Fixes issue #1033 reported by @ping86
2015-04-15Remove exception handling from StreamSocket methods calling IOHooksAttila Molnar
IOHooks don't throw exceptions
2015-04-15Merge branch 'master+ehdispatch'Attila Molnar
2015-04-13m_timedbans Notice user when trying to set a ban that's already setAttila Molnar
2015-04-13m_timedbans Extract IsBanSet() to a functionAttila Molnar
2015-04-13m_timedbans On channel destruction remove all timed bans belonging to the ↵Attila Molnar
channel from internal bookkeeping
2015-04-13m_timedbans Store Channel pointer in struct TimedBanAttila Molnar
2015-04-12Dispatch EventHandler events to dedicated virtual functionsAttila Molnar
Remove enum EventType
2015-04-07Add ipv6 dnsbl supportAdam
2015-03-23Merge pull request #1004 from SaberUK/insp20+fix-various-warningsAttila Molnar
[2.0] Fix various warnings with the new Doxygen and LLVM releases.
2015-03-21Rebuild clone counts on rehashAdam
2015-03-06m_ssl_gnutls Set a vector push function on GnuTLS 2.12 and laterAttila Molnar
Setting a vector push function is recommended to reduce overhead during handshake
2015-03-06Merge branch 'master+writev'Attila Molnar
2015-03-05m_ssl_openssl Remove OpenSSLIOHook::outbound and is_outbound constructor ↵Attila Molnar
parameter
2015-03-05m_ssl_openssl Specify TLS client/server role on session creation, switch to ↵Attila Molnar
SSL_do_handshake()
2015-03-05m_ssl_gnutls Pass client/server role to GnuTLSIOHook constructor as a ↵Attila Molnar
GNUTLS_* constant
2015-03-05m_ssl_gnutls Add typedef for second parameter of gnutls_init() which changed ↵Attila Molnar
in 2.99
2015-03-05m_ssl_gnutls Move GnuTLSIOHook::InitSession() code to constructor and ↵Attila Molnar
GnuTLS::Profile::SetupSession()
2015-03-05m_ssl_gnutls, m_ssl_openssl Deduplicate Handshake() calling codeAttila Molnar
2015-03-05m_ssl_gnutls, m_ssl_openssl Simplify status handling in IOHook read/write ↵Attila Molnar
handlers Remove states ISSL_CLOSING and ISSL_CLOSED from m_ssl_gnutls
2015-03-05m_ssl_gnutls, m_ssl_openssl Simplify Handshake() result handlingAttila Molnar
2015-03-05m_ssl_gnutls Replace ISSL_HANDSHAKING_READ/WRITE with a single stateAttila Molnar
2015-03-04Use the native IOVector type in StreamSocket::DoWrite()Attila Molnar
2015-03-04Remove DISABLE_WRITEV and StreamSocket code for platforms lacking writev() ↵Attila Molnar
support
2015-03-04Add SocketEngine::WriteV()Attila Molnar
2015-02-28m_ssl_gnutls Implement faster reads on GnuTLS 3.3.5 and later by avoiding ↵Attila Molnar
copying the data from GnuTLS buffers to ReadBuffer
2015-02-28m_ssl_gnutls Move logic that reads data from a session into new class ↵Attila Molnar
GnuTLS::DataReader
2015-02-28m_ssl_gnutls Add convenience macro for library version checking, change ↵Attila Molnar
checks to use it
2015-02-27Fix miscalculation of maxlen in Channel::UserList() introduced by the ↵Attila Molnar
WriteNumeric() conversion
2015-02-27Fix oversights in substr() conversionAttila Molnar
Thanks to @StevenVanAcker for reporting and testing this
2015-02-26Fix various Clang warnings.Peter Powell
- warning: 'register' storage class specifier is deprecated.
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-22capab: m_kicknorejoin: Don't advertise upper bound to 2.0 serversDaniel Vassdal
2015-02-22m_kicknorejoin: Advertise upper bound. Closes #913Daniel Vassdal
2015-02-22m_sqloper.cpp: Add support for the `active` columnDaniel Vassdal
When active is true the user is allowed to log in. When it is FALSE, he is not. 2.0 users must alter their table (or view) so that it contains this field.
2015-02-20Change all occurrences of Inspire to InspIRCdAttila Molnar
2015-02-15Eliminate constant return value of the all events version of ↵Attila Molnar
ModuleManager::SetPriority()
2015-02-15Convert mods calling the old compat wrapper of ModuleManager::SetPriority() ↵Attila Molnar
to use the current method, remove wrapper
2015-02-15Remove I_BEGIN from enum ImplementationAttila Molnar
2015-02-12m_spanningtree Pass Server* to the OnServerLink/OnServerSplit eventsAttila Molnar
2015-02-12Merge branch 'master+crossmodevents'Attila Molnar
2015-02-12m_httpd_stats Remove days/hours/mins/secs from <uptime>Attila Molnar
Uptime can be calculated easily from the boot time
2015-02-12m_httpd_stats Fix pointer being shown instead of server name in <user>Attila Molnar
2015-02-11m_httpd Remove now unused variable "claimed"Attila Molnar
2015-02-11Remove class Event and the OnEvent hookAttila Molnar
2015-02-11Convert the spanningtree events to use the new cross-module event systemAttila Molnar
2015-02-11Remove unused parameters from HTTPRequest constructorAttila Molnar
2015-02-11Convert the HTTPd request event to use the new cross-module event systemAttila Molnar