aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.Gravatar Peter Powell2017-11-091-4/+0
| | | | | | | | This is causing problems such as duplicate 904 messages.
| * Improve (synchronize) the notices in m_timedbansGravatar genius30002017-11-061-4/+10
| | | | | | | | | | * Send to remote servers upon setting * Send to halfop if available upon expiry
| * Merge pull request #1359 from genius3000/insp20+sasl_no_serverGravatar Peter Powell2017-11-061-0/+4
| |\ | | | | | | 2.0: Inform the client when a SASL message cannot be sent
| | * Inform the client when a SASL message cannot be sentGravatar genius30002017-11-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | 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.Gravatar Peter Powell2017-10-153-4/+2
| | | | | | | | | | | | | | | When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0.
* | | Enable using m_customprefix to alter core prefix modes.Gravatar Peter Powell2017-11-062-69/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the devoice module which has now been removed. If you want users to be able to devoice themselves then you can load the customprefix module add the following config tag: <customprefix name="voice" depriv="yes"> If you wish to keep identical behaviour rather than allowing users to use "MODE #YourChannel -v TheirNick" then you can load the alias module and add the following config tag: <alias text="DEVOICE" format="#*" replace="MODE $2 -v $nick">
* | | Clean up the configuration reading in m_customprefix.Gravatar Peter Powell2017-11-061-15/+19
| | | | | | | | | | | | | | | | | | - Rework the code flow to be more readable. - Ensure that the name is well formed. - Allow prefix modes with a rank of zero.
* | | Move depriv from m_customprefix into PrefixMode.Gravatar Peter Powell2017-11-061-9/+1
| | |
* | | Add support for setting the unset rank in ModeHandler.Gravatar Peter Powell2017-11-069-10/+11
| | |
* | | 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.
* | | Make core_hostname_lookup redo the lookup when a user's IP changes.Gravatar Peter Powell2017-10-311-100/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need to do lookups in the cgiirc module. This is useful as relying on gateways to do proper DNS checks is unreliable and has resulted in issues like 5fc4403f62. Its more sane if we do our own lookups. This change has been okayed by multiple WEBIRC gateway authors so I don't think it will cause many problems.
* | | Add support to IOHook for retrieving the hostname sent via SNI.Gravatar Peter Powell2017-10-293-1/+33
| | |
* | | Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-2824-50/+47
| | | | | | | | | | | | | | | This removes the need to invalidate the cache after changing a user's hostname.
* | | Change SetClientIP to take a C++ string instead of a char array.Gravatar Peter Powell2017-10-272-2/+2
| | |
* | | Add PackageInfo directives for Debian.Gravatar Peter Powell2017-10-2111-0/+12
| | |
* | | Add a helper function for calling the OnCheckExemption event.Gravatar Peter Powell2017-10-2113-29/+16
| | |
* | | Switch from std::stringstream to irc::spacesepstream.Gravatar Peter Powell2017-10-193-6/+6
| | | | | | | | | | | | | | | The latter is more suited to the things we have previously been using std::stringstream for.
* | | Add a constructor to OperInfo and use it to set the type name.Gravatar Peter Powell2017-10-181-4/+1
| | |
* | | Clean up OnCleanup.Gravatar Peter Powell2017-10-185-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | Un-constify the private fields of WebIRCHost.Gravatar Peter Powell2017-10-161-4/+4
| | | | | | | | | | | | | | | These being constant causes problems on older compilers that don't elide the temporary copy when adding to the host list.
* | | Rewrite the configuration documentation for m_cgiirc.Gravatar Peter Powell2017-10-151-1/+1
| | |
* | | Add support for WEBIRC blocks authenticating using client certs.Gravatar Peter Powell2017-10-151-6/+14
| | |
* | | Show the gateway, realhost, and realip in WHOIS for cgiirc clients.Gravatar Peter Powell2017-10-151-2/+26
| | | | | | | | | | | | | | | This mirrors a similar feature in ircd-hybrid but using a different numeric that is not already taken in InspIRCd.
* | | Clean up the WEBIRC command handler.Gravatar Peter Powell2017-10-151-44/+41
| | | | | | | | | | | | | | | | | | - Fix the extremely broken indentation. - Simplify the HandleLocal code flow. - Improve the notices sent to operators.
* | | Add support for hashed WebIRC passwords to m_cgiirc.Gravatar Peter Powell2017-10-151-3/+5
| | |
* | | Rewrite the m_cgiirc configuration handling.Gravatar Peter Powell2017-10-151-59/+67
| | | | | | | | | | | | | | | - Store ident hosts separately to WebIRC hosts. - Throw exceptions when the configuration is invalid.
* | | Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.Gravatar Peter Powell2017-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - INSPIRCD_SOCKETENGINE_NAME is not really something that needs to be user facing. If opers want to know this kind of internal info then they can look at the build configuration. - INSPIRCD_SYSTEM causes problems for reproducible builds and is only accurate for the state of the system when InspIRCd is built which is not useful in the slightest.
* | | Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-125-5/+6
|\| |
| * | Include connection security with the SASL host information.Gravatar Peter Powell2017-10-111-0/+9
| | | | | | | | | | | | See atheme/atheme@b41753f740 for more details.
| * | Fix m_cgiirc allowing malformed hosts sent via WEBIRC.Gravatar Peter Powell2017-09-091-1/+1
| | |
| * | Fix mistakenly hardcoding the halfop prefix char in timedbans.Gravatar Peter Powell2017-08-251-1/+1
| | | | | | | | | | | | | | | | | | This will almost always be % but if the server admin is using the customprefix module and remaps it to something else messages will not be sent out correctly.
| * | Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.Gravatar Peter Powell2017-06-162-2/+2
| |/ | | | | | | | | Previously we assumed that CTCP ACTIONs matched "\1ACTION ". This is incorrect because "\1ACTION\1" and "\1ACTION" are valid CTCPs.
* | Merge pull request #1361 from genius3000/master+rline_IPGravatar Peter Powell2017-10-121-2/+3
|\ \ | | | | | | Make RLines match against IP as well as host
| * | Make RLines match against IP as well as hostGravatar genius30002017-10-101-2/+3
| | |
* | | Merge pull request #1353 from SISheogorath/master+domainpart-cloakingGravatar Peter Powell2017-10-121-3/+15
|\ \ \ | | | | | | | | Make domainparts in m_cloaking configureable.
| * | | Make domainparts configureableGravatar Sheogorath2017-10-111-3/+15
| |/ /
* | | Fix a broken distro constraint in the m_ssl_gnutls PackageInfo.Gravatar Peter Powell2017-10-121-1/+1
| | |
* | | Clean up m_sasl slightly by making SendSASL take common params.Gravatar Peter Powell2017-10-121-19/+10
| | | | | | | | | | | | Also, fix a minor issue caused by the last insp20 merge.
* | | Send ERR_SASLTOOLONG when a client sends an oversized AUTHENTICATE.Gravatar Peter Powell2017-10-121-0/+11
| | |
* | | Don't abort the SASL authentication in OnUserConnect.Gravatar Peter Powell2017-10-111-17/+2
| | | | | | | | | | | | | | | SASL-3.2 allows SASL auth to happen post-registration so this is no longer correct.
* | | Get rid of ReadCGIIRCExt() in m_sasl.Gravatar Peter Powell2017-10-111-39/+2
| | | | | | | | | | | | This is unnecessary since 852dd0337a.
* | | Convert the AUTHENTICATE handler to use SplitCommand.Gravatar Peter Powell2017-10-111-13/+10
|/ /
* | Add a constant for the 477 numeric (ERR_NEEDREGGEDNICK).Gravatar Peter Powell2017-10-111-3/+6
| |
* | Send RPL_LOGGEDOUT to clients when they log out of their account.Gravatar Peter Powell2017-10-111-5/+16
| |