| Commit message (Expand) | Author | Age | Files | Lines |
| ... | |
| * | | Split IOHook into IOHook and IOHookProvider•••Create one IOHook instance for each hooked socket which contains all the
hook specific data and read/write/close functions, removing the need for
the "issl_session" array in SSL modules.
Register instances of the IOHookProvider class in the core and use them to
create specialized IOHook instances (OnConnect/OnAccept).
Remove the OnHookIO hook, add a dynamic reference to ListenSocket that
points to the hook provider (if any) to use for incoming connections on
that socket.
For outgoing connections modules still have to find the IOHookProvider
they want to use themselves but instead of calling AddIOHook(hookprov),
now they have to call IOHookProvider::OnConnect() after the connection
has been established.
| Attila Molnar | 2014-01-22 | 2 | -332/+226 |
| * | | Add the ability to have multiple SSL profiles•••SSL profiles are now used instead of fixed SSL settings for everything
SSL, making it possible to use completely different settings for each
listener and outgoing connection.
Outgoing connections are broken until the next commit.
| Attila Molnar | 2014-01-22 | 2 | -354/+790 |
| * | | m_ssl_gnutls Create GNUTLS_NEW_CERT_CALLBACK_API and cert_cb_last_param_type | Attila Molnar | 2014-01-22 | 1 | -15/+21 |
| * | | Add m_starttls and remove it from m_ssl_gnutls, which allows it to work with ... | Adam | 2014-01-21 | 1 | -65/+1 |
| * | | Add m_ldap, and convert m_ldapoper and m_ldapauth to use it. | Adam | 2013-12-19 | 3 | -657/+572 |
| * | | Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.•••Also, fix a bug where eval() caused compile errors.
| Peter Powell | 2013-11-18 | 1 | -3/+14 |
| * | | Use WriteNumeric() everywhere we send numerics and include the user's nick au... | Adam | 2013-11-12 | 1 | -4/+4 |
| * | | Automatically register ServiceProviders created by modules | attilamolnar | 2013-09-08 | 10 | -19/+0 |
| * | | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init()
| attilamolnar | 2013-08-30 | 10 | -38/+11 |
| * | | Merge insp20 | attilamolnar | 2013-08-30 | 2 | -2/+10 |
| |\| |
|
| | * | m_ssl_gnutls Fix feature testing and cipher suite related errors on older Gnu...•••Use the (old) LIBGNUTLS_VERSION_* defines as a fallback when GNUTLS_VERSION_* is unavailable
Fixes #595 reported by @rhylan
| attilamolnar | 2013-08-13 | 1 | -1/+9 |
| | * | m_ssl_openssl Fix inverted check that prevented certificates from being recog... | attilamolnar | 2013-07-16 | 1 | -1/+1 |
| * | | Fix various small issues.•••- Add CXX11_OVERRIDE to *Regex::Matches and *RegexFactory::Create.
- Fix documentation comment on regex_string.
- Fix various code duplication/layout issues.
| Peter Powell | 2013-08-27 | 5 | -28/+13 |
| * | | Make all regex modules throw the same exception on error. | Peter Powell | 2013-08-27 | 5 | -50/+5 |
| * | | Clean up the build system properties and related code.•••- Deduplicate getcompilerflags, getdependancies, getlinkerflags.
- Remove $NoPedantic (add -Wno-pedantic to $CompileFlags instead).
- Remove --enable-freebsd-ports-openssl and all related code (this
will be replaced with --no-pkg-config=[name] in the future).
- Remove some unused build system properties.
- Remove support for caching third party include and library paths
(can cause unexpected problems when they change).
| Peter Powell | 2013-08-16 | 3 | -10/+4 |
| * | | Remove $ModDep comments | attilamolnar | 2013-08-15 | 6 | -7/+0 |
| * | | Add <path> keys for all of the compile-time paths.•••Also, make all paths in the config relative to their associated
directory. This reverts a change in 2.0 which turned out to be a
terrible idea, especially for system-wide installations.
| Peter Powell | 2013-08-12 | 2 | -8/+8 |
| * | | Automatically attach modules to events | attilamolnar | 2013-08-04 | 11 | -26/+0 |
| * | | Modify the log message to contain the log type. | Peter Powell | 2013-08-04 | 2 | -16/+16 |
| * | | Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the
log type. There was a few places which were logging to a non-name
type but, with the exception of CONFIG, those messages are so
uncommon that it doesn't make sense to use a seperate type for
them.
| Peter Powell | 2013-08-04 | 7 | -35/+35 |
| * | | Allow the user to specify any hashing mechanism supported by the underlying S... | Daniel Vassdal | 2013-07-06 | 2 | -5/+25 |
| * | | Remove $Core and $Mod* comments apart from $ModDep. | Peter Powell | 2013-07-04 | 14 | -18/+0 |
| * | | Add RE2 regex module. | Peter Powell | 2013-06-16 | 1 | -0/+89 |
| * | | Create SSLIOHook interface that provides GetCertificate() | attilamolnar | 2013-06-07 | 2 | -28/+18 |
| * | | Create IOHook interface (extracted from Module) | attilamolnar | 2013-06-07 | 2 | -653/+698 |
| * | | Convert a ton of uses of MAXBUF to use a fixed buffer size. | Peter Powell | 2013-06-06 | 2 | -4/+4 |
| * | | Compare to ServerLimits::MaxLine instead of MAXBUF. | Peter Powell | 2013-06-06 | 1 | -1/+1 |
| * | | Reserve ServerLimits::MaxLine instead of MAXBUF. | Peter Powell | 2013-06-06 | 1 | -1/+1 |
| * | | Merge insp20 | attilamolnar | 2013-06-06 | 4 | -64/+99 |
| |\| |
|
| | * | Remove unnecessary string copies and dead code | attilamolnar | 2013-06-05 | 1 | -1/+0 |
| | * | m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5d | attilamolnar | 2013-06-04 | 1 | -8/+8 |
| | * | m_mysql Fix escaping strings longer than MAXBUF/2•••Quotes from the documentation:
"You must allocate the to buffer to be at least length*2+1 bytes long. (In the worst case, each character may need to be encoded as using two bytes, and you need room for the terminating null byte.)"
"The return value is the length of the encoded string, not including the terminating null character."
http://dev.mysql.com/doc/refman/5.6/en/mysql-real-escape-string.html
| attilamolnar | 2013-06-01 | 1 | -6/+12 |
| | * | m_mysql Fix crash on rehash when the database tags have been changed in the c... | attilamolnar | 2013-05-22 | 1 | -5/+6 |
| | * | m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULL | attilamolnar | 2013-05-18 | 1 | -2/+3 |
| | * | m_ssl_gnutls Call gnutls_transport_set_errno() on Windows only | attilamolnar | 2013-05-02 | 1 | -0/+14 |
| | * | Fix gnutls (again) on Windows by using gnutls_transport_set_errno() | Adam | 2013-05-02 | 1 | -42/+56 |
| * | | Clean up the FileReader class and all of the modules that use it.•••- Modules which use this class will now have to catch a
CoreException when opening files if they wish to ignore
the failed loading of a file.
- m_randquote has been cleaned up massively and the RANDQUOTE
command has been removed as it was pretty much useless.
| Peter Powell | 2013-05-27 | 1 | -6/+6 |
| * | | Fix spacing in calls to LogManager::Log. | Peter Powell | 2013-05-19 | 5 | -25/+25 |
| * | | Deduplicate hex string creation code | attilamolnar | 2013-05-18 | 2 | -2/+2 |
| * | | Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it.
- Add override keyword to a ton of methods which do need it.
| Peter Powell | 2013-05-15 | 13 | -106/+106 |
| * | | Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'.
* snprintf to std::string concatenation.
* Replace duplicated OneOfMatches with InspIRCd::MatchMask.
| Peter Powell | 2013-05-15 | 1 | -16/+1 |
| * | | Add method for writing server notices.•••This allows us to send a server notice to a user without worrying
about whether they are registered or not.
If a user receives a server notice and they are not registered
then the nickname field will contain an asterisk instead of their
nick name.
| Peter Powell | 2013-05-14 | 2 | -6/+6 |
| * | | Merge insp20 | attilamolnar | 2013-04-28 | 1 | -3/+36 |
| |\| |
|
| | * | m_ssl_gnutls Add ability to load DH params from file•••This greatly decreases the load time because the DH parameters no longer have to be (re)generated each time the module is loaded
| attilamolnar | 2013-04-24 | 1 | -2/+23 |
| | * | Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing WSAE... | Adam | 2013-04-16 | 1 | -0/+12 |
| * | | Timer changes and TimerManager enhancements•••Timer::Tick() now has a bool return value: if false is returned the timer is deleted using operator delete, otherwise, if it's a repeating timer then it's rescheduled (readded)
Timers are removed from the TimerManager automatically at destruction
Timers are now stored in a multimap instead of a sorted vector
| attilamolnar | 2013-04-21 | 1 | -4/+9 |
| * | | Tidy up source files:•••- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
| Peter Powell | 2013-04-12 | 9 | -14/+14 |
| * | | Add LOG_ prefix to the log level enum values. | Peter Powell | 2013-04-12 | 7 | -34/+34 |
| * | | Convert ISUPPORT to use a map instead of a string. | Peter Powell | 2013-04-11 | 2 | -5/+5 |
| * | | m_geoip: Fix compilation | ChrisTX | 2013-04-02 | 1 | -1/+1 |