summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-12Change StreamSocket::DoRead() and DoWrite() to be non-virtual, make DoRead() ↵Attila Molnar
private
2015-04-12Dispatch EventHandler events to dedicated virtual functionsAttila Molnar
Remove enum EventType
2015-04-07Add ipv6 dnsbl supportAdam
2015-03-26Merge pull request #1021 from SaberUK/master+perl510Attila Molnar
Convert build system to Perl 5.10.
2015-03-25Convert the build system to Perl 5.10.Peter Powell
Thanks to Kross for the heads up on "use feature".
2015-03-23Merge pull request #1005 from SaberUK/master+minor-tweaksAttila Molnar
Various changes mainly relating to the build system.
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-23Merge pull request #1016 from Renegade334/insp20+docs-no-extbanMAttila Molnar
Remove non-existant extban M: from docs
2015-03-23Merge pull request #1009 from SaberUK/insp20+fix-dirty-envAttila Molnar
[2.0] Fix building when VERBOSE is already set in the environment.
2015-03-21Rebuild clone counts on rehashAdam
2015-03-17Remove non-existant extban M: from docsRenegade334
extban M: has not existed since 2d732f4d in 2009...
2015-03-09Fix building when VERBOSE is already set in the environment.Peter Powell
This is a workaround for now. In 2.2 we should prefix all of the environment variables with INSPIRCD_ to avoid collisions.
2015-03-08Fix dodgy indentation in configure.Peter Powell
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-06Merge branch 'master+sslcleanup'Attila Molnar
2015-03-06Change server name in `./configure --help` to use the alias.Peter Powell
Requested by @attilamolnar.
2015-03-06Fix building modules that use cap.h with a C++11 compiler.Peter Powell
2015-03-06Add development version checks to non-interactive mode.Peter Powell
2015-03-06Create installation directories with make install not configure.Peter Powell
This fixes system-wide installations requiring root in order to create directories.
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-03-04Add writev() wrapper for WindowsAttila Molnar
2015-03-01Merge branch 'master+gnutls-packet-read'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 various Doxygen warnings.Peter Powell
2015-02-27Upgrade Doxyfile from 1.8.3.1 to 1.8.9.1.Peter Powell
Also, strip comments by request of @attilamolnar.
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-24Merge pull request #1002 from SaberUK/insp20+fix-cgiirc-crashAttila Molnar
[2.0] Fix a minor crash when a user has no class after OnCheckReady.
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-22Merge pull request #916 from ShutterQuick/master+kickrejoinboundAttila Molnar
Advertise m_kicknorejoin's upper bound. Closes #913
2015-02-22capab: m_kicknorejoin: Don't advertise upper bound to 2.0 serversDaniel Vassdal