aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra
Commit message (Expand)AuthorAgeFilesLines
* Move m_sslrehashsignal to the extra directory.•••This module uses platform-specific behaviour that does not work on Windows. Gravatar Peter Powell2018-02-171-0/+64
* Fix building on Windows (mostly).Gravatar Peter Powell2018-02-171-2/+2
* Improve and modernize the SQL system API.•••- Move everything into the SQL namespace and drop the SQL prefix. - Move SQLProvider::PopulateUserInfo to SQL::PopulateUserInfo. - Rename SQLEntry to SQL::Field and clean up. - Rename SQLEntries to SQL::Row. - Rename SQLerror to SQL::Error and clean up. - Rename SQLerrorNum to SQL::ErrorCode and drop the SQL_ prefix. - Rename ParamL to SQL::ParamList. - Rename ParamM to SQL::ParamMap; - Make implementing SQLQuery::OnError mandatory. - Redo most of the documentation in the sql header. Gravatar Peter Powell2017-12-223-64/+64
* Merge pull request #1370 from clinew/insp30+openssl-crl•••Add OpenSSL CRLs.Gravatar Peter Powell2017-12-211-0/+45
|\
| * Add OpenSSL CRLs.•••The 'crlfile' argument can point to a file that contains valid CRLs. The 'crlpath' argument can point to a directory which contains CRLs, albeit in OpenSSL's special hashed/symlink format. The 'crlmode' option 'chain' checks all certificates in the chain while the option 'leaf' checks only the leaf certificate in a chain. Gravatar Wade Cline2017-12-141-0/+45
* | Remove usage of deprecated API members in m_ssl_openssl.•••Closes #1440. Gravatar Peter Powell2017-12-161-5/+19
|/
* Bump the minimum versions of GnuTLS to 2.0.0 and OpenSSL to 1.0.0.•••Old TLS libraries should not be used anymore due to security risks. Gravatar Peter Powell2017-11-302-12/+2
* Improve TLS security configuration in m_ssl_openssl.•••- Always disable SSLv3. Unreal has already done this so clients will have to upgrade anyway. - Disable TLSv1.0 by default. Various security standards (e.g. PCI DSS) are already planning on sunsetting this so we should too. Gravatar Peter Powell2017-11-301-4/+3
* Convert GenRandom to std::function.Gravatar Peter Powell2017-11-251-5/+4
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-214-19/+19
* Unite SSL service providers and SSL profile classesGravatar Attila Molnar2017-11-133-155/+215
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-122-3/+1
|\
| * Update wiki links to use HTTPS and point to the correct pages.•••When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0. Gravatar Peter Powell2017-10-152-3/+1
| * m_ldapauth: fix providing username in PASS•••This has never worked because it never prepended attribute= to the search string. It also would prefer matching nick/ident over the user string provided which is inconsistent, since your ability to authenticate using PASS would depend on a ldap entry not existing with your current nick/ident. Instead, use username provided in PASS and then fallback to nick/ident. Gravatar Adam2017-03-201-29/+18
* | Fix some SSL module issues.•••- Use the same dhparams name in m_ssl_openssl as in other modules. - Fix building m_ssl_mbedtls. Gravatar Peter Powell2017-11-012-1/+7
* | Add support to IOHook for retrieving the hostname sent via SNI.Gravatar Peter Powell2017-10-292-0/+29
* | Add PackageInfo directives for Debian.Gravatar Peter Powell2017-10-2111-0/+12
* | Clean up OnCleanup.•••- Switch to using ExtensionItem::ExtensibleType for the type instead of TargetTypeFlags. - Pass the extensible to OnCleanup as an Extensible pointer instead of a void pointer. - Call OnCleanup for memberships as well as channels and users. - Rewrite event documentation to remove outdated references. Gravatar Peter Powell2017-10-183-6/+6
* | Fix a broken distro constraint in the m_ssl_gnutls PackageInfo.Gravatar Peter Powell2017-10-121-1/+1
* | Convert a bunch of time-related config options to getDuration.Gravatar Peter Powell2017-09-031-1/+1
* | Fix a broken distro constraint in the m_ssl_openssl PackageInfo.Gravatar Peter Powell2017-08-111-1/+1
* | Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-4/+4
* | Fix LibreSSL not having a shim for the OpenSSL 1.1 BIO API.Gravatar Peter Powell2016-11-231-1/+1
* | Fix OpenSSL build errors caused by BIO/BIO_METHOD now being opaque.Gravatar Peter Powell2016-10-251-5/+45
* | Add CentOS PackageInfoGravatar Adam2016-09-168-0/+10
* | Merge pull request #1222 from SaberUK/master+warnings•••Fix various compiler warningsGravatar Attila Molnar2016-09-162-0/+12
|\ \
| * | Fix m_ldap warning about OpenLDAP being deprecated on OS X.Gravatar Peter Powell2016-09-151-0/+5
| * | Fix m_geoip warning about the use of C++11 features.Gravatar Peter Powell2016-09-151-0/+7
* | | Rewrite the build system directive parser.Gravatar Peter Powell2016-09-1612-38/+64
|/ /
* | Merge insp20Gravatar Attila Molnar2016-09-021-1/+3
|\|
| * m_sqlite3 Fix possible memory leak when opening a database failsGravatar Attila Molnar2016-08-171-1/+3
* | Fix whitespace issuesGravatar Attila Molnar2016-09-021-1/+1
* | Remove broken mssql module•••Issue #1006 Gravatar Attila Molnar2016-08-231-857/+0
* | Fix m_mysql warning about use of C++11 features on C++03.•••NO_CLIENT_LONG_LONG was removed in a recent version of MySQL. Gravatar Peter Powell2016-08-191-2/+6
* | Fix m_ldap not linking to liblber on UNIX systems.Gravatar Peter Powell2016-08-191-1/+1
* | m_ldap Remove unused LDAPService::last_timeout_checkGravatar Attila Molnar2016-08-191-2/+1
* | Merge insp20Gravatar Attila Molnar2016-08-172-1/+10
|\|
| * m_ssl_openssl Verify DH params being non-NULL before setting it on the context•••Fixes issue reported by @m4rkw on IRC Gravatar Attila Molnar2016-07-221-4/+11
| * m_ssl_gnutls, m_ssl_openssl After a read schedule another read if data remain...Gravatar Attila Molnar2016-06-212-1/+11
* | m_ssl_mbedtls Apply dummy CA workaround for client contextGravatar Attila Molnar2016-08-101-0/+1
* | m_ssl_* Add option to sslprofile controlling whether to request client certif...Gravatar Attila Molnar2016-08-083-9/+39
* | Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ...•••Use it to simplify logic in all modules using or providing IOHooks Gravatar Attila Molnar2016-08-083-28/+19
* | Pass sendq to OnStreamSocketWriteGravatar Attila Molnar2016-08-083-6/+3
* | Add mbedTLS SSL moduleGravatar Attila Molnar2016-06-151-0/+924
* | Deduplicate code for on connect SSL ciphersuite NOTICE by moving it into m_ss...Gravatar Attila Molnar2016-04-282-43/+0
* | Export the GetCiphersuite() method from the SSL modulesGravatar Attila Molnar2016-04-282-2/+6
* | Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-5/+4
* | Merge insp20Gravatar Attila Molnar2016-02-221-1/+1
|\|
| * Update m_ssl_gnutls to use libgnutls-30 for gnutls 3.4Gravatar Adam2016-02-111-1/+1
* | Fix GCC 6 warning about auto_ptr via a different method.•••The previous method was causing build errors on CentOS and Solaris. Gravatar Peter Powell2016-02-201-4/+8