aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | Enable using m_customprefix to alter core prefix modes.•••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"> Gravatar Peter Powell2017-11-062-69/+29
* | | Clean up the configuration reading in m_customprefix.•••- Rework the code flow to be more readable. - Ensure that the name is well formed. - Allow prefix modes with a rank of zero. Gravatar Peter Powell2017-11-061-15/+19
* | | 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.•••- 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
* | | Make core_hostname_lookup redo the lookup when a user's IP changes.•••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. Gravatar Peter Powell2017-10-311-100/+11
* | | 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.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-2824-50/+47
* | | 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.•••The latter is more suited to the things we have previously been using std::stringstream for. Gravatar Peter Powell2017-10-193-6/+6
* | | Add a constructor to OperInfo and use it to set the type name.Gravatar Peter Powell2017-10-181-4/+1
* | | 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-185-10/+10
* | | Un-constify the private fields of WebIRCHost.•••These being constant causes problems on older compilers that don't elide the temporary copy when adding to the host list. Gravatar Peter Powell2017-10-161-4/+4