Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-09 | Clean up numeric usage in WHOIS and WHOWAS. | Peter Powell | |
- 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. | |||
2017-12-09 | Add names for a bunch more numerics. | Peter Powell | |
2017-12-03 | Clean up m_password_hash slightly. | Peter Powell | |
- 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. | |||
2017-12-03 | Send a snotice when m_filter kills or G-Lines a client. | ThatOneRoadie | |
Closes #1264. | |||
2017-12-03 | Add SSL cert info to connect class debug log. | Christopher 'm4z' Holm | |
Closes #634. | |||
2017-12-03 | Removed config option for +L redirect. | Shawn Smith | |
Closes #466. | |||
2017-12-03 | Move OnSync{Channel,Network,User} to ServerEventListener. | Peter Powell | |
2017-12-03 | Rename the spanningtree module header to server. | Peter Powell | |
In the future we will have server linking modules that are not the spanningtree module. | |||
2017-12-03 | Merge pull request #1417 from B00mX0r/master+fix_1416 | Peter Powell | |
Fix m_cloaking umode desync | |||
2017-11-30 | Bump the minimum versions of GnuTLS to 2.0.0 and OpenSSL to 1.0.0. | Peter Powell | |
Old TLS libraries should not be used anymore due to security risks. | |||
2017-11-30 | Improve TLS security configuration in m_ssl_openssl. | Peter Powell | |
- 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. | |||
2017-11-28 | Add length checking to GetExtBanStatus and m_banexception. | Peter Powell | |
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. | |||
2017-11-26 | Fix m_cloaking umode syncing | B00mX0r | |
Servers will now correctly show whether a remote user has +x or not. | |||
2017-11-25 | Convert GenRandom to std::function. | Peter Powell | |
2017-11-25 | Convert IsChannel to std::function. | Peter Powell | |
2017-11-25 | Convert IsNick to std::function. | Peter Powell | |
2017-11-21 | Add the override keyword in places that it is missing. | Peter Powell | |
GCCs warnings for this are much better than Clangs. | |||
2017-11-17 | Fix a ton of -Wsign-conversion warnings. | Peter Powell | |
2017-11-16 | Add events which are fired when a service is added or deleted. | Attila Molnar | |
2017-11-13 | Add a class which encapsulates the concept of token lists. | Peter Powell | |
2017-11-13 | Unite SSL service providers and SSL profile classes | Attila Molnar | |
2017-11-13 | Only subclass Simple{Channel,User}ModeHandler when necessary. | Peter Powell | |
2017-11-13 | Add the m_ircv3_sts module which implements the IRCv3 STS spec. | Peter Powell | |
2017-11-12 | Merge tag 'v2.0.25' into master. | Peter Powell | |
2017-11-09 | Work around removing shuns on nicks when the nick is online. | Peter Powell | |
2017-11-09 | Revert the code changes to m_sasl made in commit 9d4b4344b4. | Peter Powell | |
This is causing problems such as duplicate 904 messages. | |||
2017-11-06 | Improve (synchronize) the notices in m_timedbans | genius3000 | |
* Send to remote servers upon setting * Send to halfop if available upon expiry | |||
2017-11-06 | Merge pull request #1359 from genius3000/insp20+sasl_no_server | Peter Powell | |
2.0: Inform the client when a SASL message cannot be sent | |||
2017-11-06 | Enable using m_customprefix to alter core prefix modes. | Peter Powell | |
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"> | |||
2017-11-06 | Clean up the configuration reading in m_customprefix. | Peter Powell | |
- Rework the code flow to be more readable. - Ensure that the name is well formed. - Allow prefix modes with a rank of zero. | |||
2017-11-06 | Move depriv from m_customprefix into PrefixMode. | Peter Powell | |
2017-11-06 | Add support for setting the unset rank in ModeHandler. | Peter Powell | |
2017-11-05 | Inform the client when a SASL message cannot be sent | genius3000 | |
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. | |||
2017-11-01 | Fix some SSL module issues. | Peter Powell | |
- Use the same dhparams name in m_ssl_openssl as in other modules. - Fix building m_ssl_mbedtls. | |||
2017-10-31 | Make core_hostname_lookup redo the lookup when a user's IP changes. | Peter Powell | |
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. | |||
2017-10-29 | Add support to IOHook for retrieving the hostname sent via SNI. | Peter Powell | |
2017-10-28 | Hide User#host and User#dhost and use accessors to modify them. | Peter Powell | |
This removes the need to invalidate the cache after changing a user's hostname. | |||
2017-10-27 | Change SetClientIP to take a C++ string instead of a char array. | Peter Powell | |
2017-10-21 | Add PackageInfo directives for Debian. | Peter Powell | |
2017-10-21 | Add a helper function for calling the OnCheckExemption event. | Peter Powell | |
2017-10-19 | Switch from std::stringstream to irc::spacesepstream. | Peter Powell | |
The latter is more suited to the things we have previously been using std::stringstream for. | |||
2017-10-18 | Add a constructor to OperInfo and use it to set the type name. | Peter Powell | |
2017-10-18 | Clean up OnCleanup. | Peter Powell | |
- 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. | |||
2017-10-18 | Fix sending a malformed 410 numeric when sent empty CAP commands. | Peter Powell | |
2017-10-16 | Un-constify the private fields of WebIRCHost. | Peter Powell | |
These being constant causes problems on older compilers that don't elide the temporary copy when adding to the host list. | |||
2017-10-15 | Rewrite the configuration documentation for m_cgiirc. | Peter Powell | |
2017-10-15 | Add support for WEBIRC blocks authenticating using client certs. | Peter Powell | |
2017-10-15 | Show the gateway, realhost, and realip in WHOIS for cgiirc clients. | Peter Powell | |
This mirrors a similar feature in ircd-hybrid but using a different numeric that is not already taken in InspIRCd. | |||
2017-10-15 | Clean up the WEBIRC command handler. | Peter Powell | |
- Fix the extremely broken indentation. - Simplify the HandleLocal code flow. - Improve the notices sent to operators. | |||
2017-10-15 | Add support for hashed WebIRC passwords to m_cgiirc. | Peter Powell | |