aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Expand)AuthorAgeFilesLines
...
* | Don't hardcode mode characters which are sent in 005 tokens.Gravatar Peter Powell2017-12-293-3/+3
* | Fix various issues with the cgiirc module.•••- Respect the value of <cgiirc:opernotice> when sending snotices to operators. - Write to the log file if opernotice is disabled. - Log to the correct snomask in all cases. This was caused by an oversight when merging insp20 into master. - Replace the full user mask in log messages with a uuid/ip. The WEBIRC command is sent as the first command so there will not be a nickname or username at this point. Gravatar Peter Powell2017-12-271-10/+22
* | Use a bitset in blockcaps instead of a char array.Gravatar Peter Powell2017-12-231-4/+5
* | Use a bitset in chghost/sethost instead of a char array.Gravatar Peter Powell2017-12-232-15/+17
* | 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-225-84/+90
* | Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics•••Per #1122 Gravatar B00mX0r2017-12-228-9/+14
* | Add SHUN as a /filter action•••This resolves #483 Gravatar B00mX0r2017-12-212-53/+49
* | 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
* | | Merge pull request #1444 from B00mX0r/master+missingsno•••Add snomask alert on m_filter quit/part G-LineGravatar Peter Powell2017-12-201-0/+1
|\ \ \
| * | | Add snomask alert on m_filter quit/part G-Line•••Resolves an oversight of #1264 Gravatar B00mX0r2017-12-191-0/+1
* | | | Clarify error message when attempting to /NICK while bannedGravatar B00mX0r2017-12-191-1/+1
|/ / /
* | | Show server versions in /MAP for opers•••This resolves #1203 Gravatar B00mX0r2017-12-195-1/+24
* | | Only show a duration in m_chanhistory's notice if one is set.•••Closes #1235. Gravatar Peter Powell2017-12-161-2/+5
* | | Remove usage of deprecated API members in m_ssl_openssl.•••Closes #1440. Gravatar Peter Powell2017-12-161-5/+19
|/ /
* | Merge branch 'insp20' into master.Gravatar Peter Powell2017-12-111-1/+1
|\|
| * Add length checking to GetExtBanStatus and m_banexception.•••As far as I can tell this is not a problem as all ban masks are canonicalised but its better to be safe than sorry. Gravatar Peter Powell2017-11-281-1/+1
* | Add optional oper override umode +O.Gravatar B00mX0r2017-12-111-2/+21
* | Require that the services server be configured in <sasl:target>.•••Closes #1430. Gravatar Peter Powell2017-12-101-1/+5
* | Extract RFC modes from the core to core_channel and core_user.Gravatar Peter Powell2017-12-101-0/+2
* | Clean up numeric usage in WHOIS and WHOWAS.•••- Add constants for all of the used numerics. - Switch RPL_CHANNELSMSG from 336 to 651 to avoid a conflict with RPL_INVITELIST from ircd-hybrid. - Switch RPL_WHOWASIP from 379 to 652 to avoid a conflict with RPL_WHOISMODES from UnrealIRCd. Gravatar Peter Powell2017-12-091-1/+1
* | Add names for a bunch more numerics.Gravatar Peter Powell2017-12-097-9/+54
* | Clean up m_password_hash slightly.•••- Get rid of MakeHash and inline the logic into the actual handler. - Return CMD_FAILURE when password hashing fails for some reason. - Change the module name and description to be more accurate. Gravatar Peter Powell2017-12-031-26/+21
* | Send a snotice when m_filter kills or G-Lines a client.•••Closes #1264. Gravatar ThatOneRoadie2017-12-031-0/+2
* | Add SSL cert info to connect class debug log.•••Closes #634. Gravatar Christopher 'm4z' Holm2017-12-031-0/+2
* | Removed config option for +L redirect.•••Closes #466. Gravatar Shawn Smith2017-12-031-24/+4
* | Move OnSync{Channel,Network,User} to ServerEventListener.Gravatar Peter Powell2017-12-032-7/+10
* | Rename the spanningtree module header to server.•••In the future we will have server linking modules that are not the spanningtree module. Gravatar Peter Powell2017-12-034-10/+10
* | Merge pull request #1417 from B00mX0r/master+fix_1416•••Fix m_cloaking umode desyncGravatar Peter Powell2017-12-031-4/+15
|\ \
| * | Fix m_cloaking umode syncing•••Servers will now correctly show whether a remote user has +x or not. Gravatar B00mX0r2017-11-261-4/+15
* | | 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
* | Convert IsChannel to std::function.Gravatar Peter Powell2017-11-251-5/+4
* | Convert IsNick 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-2191-222/+220
* | Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-1723-41/+51
* | Add events which are fired when a service is added or deleted.Gravatar Attila Molnar2017-11-161-52/+16
* | Add a class which encapsulates the concept of token lists.Gravatar Peter Powell2017-11-131-4/+2
* | Unite SSL service providers and SSL profile classesGravatar Attila Molnar2017-11-134-157/+217
* | Only subclass Simple{Channel,User}ModeHandler when necessary.Gravatar Peter Powell2017-11-1313-158/+40
* | Add the m_ircv3_sts module which implements the IRCv3 STS spec.Gravatar Peter Powell2017-11-131-0/+181
* | Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-126-12/+20
|\|
| * Work around removing shuns on nicks when the nick is online.Gravatar Peter Powell2017-11-091-2/+6
| * Revert the code changes to m_sasl made in commit 9d4b4344b4.•••This is causing problems such as duplicate 904 messages. Gravatar Peter Powell2017-11-091-4/+0
| * Improve (synchronize) the notices in m_timedbans•••* Send to remote servers upon setting * Send to halfop if available upon expiry Gravatar genius30002017-11-061-4/+10
| * Merge pull request #1359 from genius3000/insp20+sasl_no_server•••2.0: Inform the client when a SASL message cannot be sentGravatar Peter Powell2017-11-061-0/+4
| |\
| | * Inform the client when a SASL message cannot be sent•••When SASL is properly configured with a 'target' server, we are able to inform the client when the message fails to send. Currently if a target is configured and it is offline, no response is sent. This can cause some clients to time out while waiting for a response. If a target isn't configured, behaviour will not change with this commit. The default of '*' will still send to all servers. Updated example config with 'target' variable. Gravatar genius30002017-11-051-0/+4
| * | Fix sending a malformed 410 numeric when sent empty CAP commands.Gravatar Peter Powell2017-10-181-1/+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-153-4/+2