aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra
Commit message (Collapse)AuthorAgeFilesLines
* Improve and modernize the SQL system API.Gravatar Peter Powell2017-12-223-64/+64
| | | | | | | | | | | | | - 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.
* Merge pull request #1370 from clinew/insp30+openssl-crlGravatar Peter Powell2017-12-211-0/+45
|\ | | | | Add OpenSSL CRLs.
| * Add OpenSSL CRLs.Gravatar Wade Cline2017-12-141-0/+45
| | | | | | | | | | | | | | | | 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.
* | Remove usage of deprecated API members in m_ssl_openssl.Gravatar Peter Powell2017-12-161-5/+19
|/ | | | Closes #1440.
* Bump the minimum versions of GnuTLS to 2.0.0 and OpenSSL to 1.0.0.Gravatar Peter Powell2017-11-302-12/+2
| | | | Old TLS libraries should not be used anymore due to security risks.
* Improve TLS security configuration in m_ssl_openssl.Gravatar Peter Powell2017-11-301-4/+3
| | | | | | | | | - 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.
* Convert GenRandom to std::function.Gravatar Peter Powell2017-11-251-5/+4
|
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-214-19/+19
| | | | GCCs warnings for this are much better than Clangs.
* 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.Gravatar Peter Powell2017-10-152-3/+1
| | | | | | | | | | When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0.
| * m_ldapauth: fix providing username in PASSGravatar Adam2017-03-201-29/+18
| | | | | | | | | | | | | | | | | | | | 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.
* | Fix some SSL module issues.Gravatar Peter Powell2017-11-012-1/+7
| | | | | | | | | | - Use the same dhparams name in m_ssl_openssl as in other modules. - Fix building m_ssl_mbedtls.
* | 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.Gravatar Peter Powell2017-10-183-6/+6
| | | | | | | | | | | | | | | | | | - 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.
* | 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.Gravatar Peter Powell2017-07-121-4/+4
| | | | | | | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* | 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+warningsGravatar Attila Molnar2016-09-162-0/+12
|\ \ | | | | | | Fix various compiler warnings
| * | 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 moduleGravatar Attila Molnar2016-08-231-857/+0
| | | | | | | | Issue #1006
* | Fix m_mysql warning about use of C++11 features on C++03.Gravatar Peter Powell2016-08-191-2/+6
| | | | | | | | NO_CLIENT_LONG_LONG was removed in a recent version of MySQL.
* | 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 contextGravatar Attila Molnar2016-07-221-4/+11
| | | | | | | | Fixes issue reported by @m4rkw on IRC
| * m_ssl_gnutls, m_ssl_openssl After a read schedule another read if data ↵Gravatar Attila Molnar2016-06-212-1/+11
| | | | | | | | remains in the buffer of the SSL library
* | 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 ↵Gravatar Attila Molnar2016-08-083-9/+39
| | | | | | | | certificates
* | Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ↵Gravatar Attila Molnar2016-08-083-28/+19
| | | | | | | | | | | | module Use it to simplify logic in all modules using or providing IOHooks
* | 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 ↵Gravatar Attila Molnar2016-04-282-43/+0
| | | | | | | | m_sslinfo
* | 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.Gravatar Peter Powell2016-02-201-4/+8
| | | | | | | | The previous method was causing build errors on CentOS and Solaris.
* | Fix warnings when building under GCC 6.Gravatar Peter Powell2016-02-191-3/+3
| |
* | m_ssl_gnutls Disable SSL v3 and when acting as a server enforce our cipher ↵Gravatar Attila Molnar2015-11-111-1/+1
| | | | | | | | preferences by default