aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra
Commit message (Expand)AuthorAgeFilesLines
* Reset diagnostic pragmas after including external headers (#1661).Gravatar linuxdaemon2019-06-246-0/+44
* Log SQL queries at the debug log level.•••This makes debugging issues easier. Gravatar Peter Powell2019-06-143-0/+3
* Add a way to disable older SSL versions with ssl_openssl.Gravatar Peter Powell2019-06-101-1/+16
* Replace all abstract usages of his/he/her with they/their/it.Gravatar Peter Powell2019-06-071-1/+1
* Ignore SIGUSR1 and SIGUSR2 by default.•••This stops users from accidentally killing their IRC server if they forget to load the sslrehashsignal module. Gravatar Peter Powell2019-05-301-1/+1
* Silence a fallthrough warning in the pgsql module on newer GCCs.Gravatar Peter Powell2019-05-091-0/+2
* m_geo_maxmind: fix building on older libc versions.Gravatar Peter Powell2019-05-061-1/+1
* Merge branch 'insp20' into insp3.Gravatar Peter Powell2019-05-021-2/+2
|\
| * Update documentation links.Gravatar Peter Powell2019-04-261-2/+2
* | Some more text fixes and improvements (#1618).Gravatar Robby2019-04-283-3/+3
* | Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-283-3/+3
* | Fix building m_geo_maxmind with older versions of libmaxminddb.Gravatar Peter Powell2019-04-161-2/+2
* | Replace the geoip module with geo_maxmind, geoban, and geoclass.•••MaxMind have EOL'd the library that the geoip module uses and have replaced it with libmaxminddb. The geoip module has been split into geo_maxmind which provides geolocation data, geoban which provides location-based channel bans, and geoclass which is used to filter a user into a connect class based on location. Gravatar Peter Powell2019-04-152-220/+202
* | Update most URLs to use HTTPS and fix some dead links.Gravatar Robby2019-03-141-1/+1
* | Remove obsolete ifdef in m_ssl_gnutls.•••GNUTLS_DIG_SHA256 was added in version 1.7.4 and we require 2.0.0+ Gravatar Peter Powell2019-02-161-2/+0
* | Fix a bunch of harmless compiler warnings on recent GCC releases.Gravatar Peter Powell2018-10-262-2/+8
* | Implement support for IPv6 GeoIP lookups.Gravatar Peter Powell2018-10-131-11/+28
* | Fix SQL modules using "provider" in <database> instead of "module".•••This fixes a regression introduced in 97a1d642. Gravatar Peter Powell2018-09-273-3/+3
* | Fix warnings about using std::auto_ptr on C++11 or newer.Gravatar Peter Powell2018-08-211-2/+3
* | Fix a few things that should be marked as override but aren't.Gravatar Peter Powell2018-08-213-3/+3
* | Make more config stuff case insensitive.Gravatar Peter Powell2018-07-248-20/+20
* | Use mysql_real_escape_string instead of mysql_escape string.•••This is not exploitable as far as I know but it is probably best that we use the newer function just in case. Closes #649 (although the attack mentioned in that issue was not feasible). Gravatar Peter Powell2018-07-151-3/+2
* | Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-221-0/+7
|\|
| * Update the GeoIP ExtItem when CGI:IRC sets the real IP (#1471)•••Since CGI:IRC calls it's 'ChangeIP()' either from 'OnCheckReady()' or 'OnUserRegister()', both of which are called after the user has sent NICK/USER, we can safely skip re-setting the ExtItem prior to this point. This skips the first 'OnSetUserIP()' from 'User::AddUser()' as the 'OnSetConnectClass()' catch handles the initial setting.Gravatar genius30002018-03-301-1/+8
| * m_ssl_openssl: Remove deprecated API members.•••Backported from 2afc1af4639ae2bbef397f4f6acc834950017d91. Gravatar Wade Cline2018-03-021-3/+12
* | Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-164-9/+9
* | Remove the default value in ConfigTag::get{Duration,Float,Int}.Gravatar Peter Powell2018-04-163-5/+5
* | Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-0/+1
* | Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-2/+4
* | Fix some more oversights in m_geoip.•••- Add the G: extban to the EXTBAN 005 token. - Use CXX11_OVERRIDE with ReadConfig and OnCheckBan. Thanks to @genius3000 for pointing these out. Gravatar Peter Powell2018-04-071-2/+8
* | Fix disabling the GeoIP extban in m_geoip.Gravatar Peter Powell2018-04-071-1/+1
* | SQL: Add HasColumn() to check if a result contains a named column.Gravatar Daniel Vassdal2018-04-073-3/+53
* | Implement support for banning users from channels by country code.Gravatar Peter Powell2018-04-061-8/+49
* | 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