summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-03Merge pull request #1428 from Chewsterchew/patch-1Peter Powell
Remove extra double quote (") from modules.conf
2017-12-02Remove extra double quote (")Chew
2017-11-30Bump 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-30Improve 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-29Merge INSPIRCD_MODULE and INSPIRCD_TARGET.Peter Powell
2017-11-28Use ERR_INVALIDUSERNAME rather than ERR_NEEDMOREPARAMS in USER.Peter Powell
This numeric is a lot more friendly for clients to deal with.
2017-11-27Assume that RUSAGE_SELF is always defined.Peter Powell
This was added for Red Hat 7 which was released in 2000(!) which nobody should be using anymore.
2017-11-27Merge pull request #1421 from B00mX0r/master+fix_extbansPeter Powell
Fix action extbans not triggering (resolves #1420)
2017-11-26Fix action extbans not triggeringB00mX0r
This fixes a reversion from ebe5b20
2017-11-25Convert the remaining things away from the caller/handler API.Peter Powell
2017-11-25Convert GenRandom to std::function.Peter Powell
2017-11-25Convert IsChannel to std::function.Peter Powell
2017-11-25Convert IsIdent to std::function.Peter Powell
2017-11-25Convert IsNick to std::function.Peter Powell
2017-11-25Fix a minor typo in core_channel.Peter Powell
2017-11-22Remove the preconfigured Charybdis and UnrealIRCd module files.Peter Powell
These are extremely outdated. If we want to ship these then they should be redone from scratch.
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-11-20Inherit non-core connect class settings properly.Peter Powell
Based partially on a patch by Attila.
2017-11-17Improve LIST and implement more extended list features.Peter Powell
- Move the ISUPPORT token from the core into core_user and start sending the SAFELIST token to let clients know that they can safely run LIST on big servers. - Add support for the channel creation time (C), topic set time (T), and inverted glob match (N) filters as specified in the draft-hardy-irc-isupport-00 specification. - Clean up the logic for filtering channels by user count.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-16Add events which are fired when a service is added or deleted.Attila Molnar
2017-11-13Add a class which encapsulates the concept of token lists.Peter Powell
2017-11-13Release v3.0.0 alpha 3.Peter Powell
2017-11-13Unite SSL service providers and SSL profile classesAttila Molnar
2017-11-13Only subclass Simple{Channel,User}ModeHandler when necessary.Peter Powell
2017-11-13Add the m_ircv3_sts module which implements the IRCv3 STS spec.Peter Powell
2017-11-12Merge tag 'v2.0.25' into master.Peter Powell
2017-11-12Release v2.0.25Peter Powell
2017-11-12Don't mess with the encoding of extras modules in modulemanager.Peter Powell
This fixes installing extras modules such as m_qrcode which contain characters from outside of the Unicode Basic Multilingual Plane.
2017-11-12Various minor documentation fixes.Peter Powell
- Remind admins that not setting a DIE/RESTART password does not disable use of those commands. - Remove references to 1.2 and modules being able to create custom logging methods. This was never implemented in the 2.0 branch. - Remove references to an SASL improvement that was reverted. - Update various InspIRCd website links to use HTTPS over HTTP. - Update a link to the IRCv3 website to point to the new website.
2017-11-09Work around removing shuns on nicks when the nick is online.Peter Powell
2017-11-09Revert the code changes to m_sasl made in commit 9d4b4344b4.Peter Powell
This is causing problems such as duplicate 904 messages.
2017-11-09Allow spaces in the network name now it doesn't cause problems.Peter Powell
This will not cause any compatibility issues as we do not rely on this attribute internally.
2017-11-09Implement support for draft-brocklesby-irc-isupport-03 escapes.Peter Powell
2017-11-07Merge pull request #1255 from genius3000/insp20+timedbansPeter Powell
2.0: Fix various inconsistencies in m_timedbans.
2017-11-06Improve (synchronize) the notices in m_timedbansgenius3000
* Send to remote servers upon setting * Send to halfop if available upon expiry
2017-11-06Merge pull request #1359 from genius3000/insp20+sasl_no_serverPeter Powell
2.0: Inform the client when a SASL message cannot be sent
2017-11-06Enable 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-06Clean 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-06Move depriv from m_customprefix into PrefixMode.Peter Powell
2017-11-06Add support for setting the unset rank in ModeHandler.Peter Powell
2017-11-05Inform the client when a SASL message cannot be sentgenius3000
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-06Fix an unhandled exception crash when rehashing modules.Peter Powell
Previously we used FOREACH_MOD to call OnRehash which handled any thrown exceptions. When we switched to ReadConfig this stopped being the case. This bug was introduced in c202dea024.
2017-11-05Use InvalidateCache in the sockaddrs overload of OnSetClientIP.Peter Powell
This was done to the string variant in d3b82b2f7f.
2017-11-05Merge pull request #1410 from jcjordyn130/insp20Peter Powell
Fix CMD_RESTART with relative paths as argv[0].
2017-11-04Fix CMD_RESTART with relative paths as argv[0].Jordyn/The Linux Geek
2017-11-01Fix 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-31Make 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-29Add support to IOHook for retrieving the hostname sent via SNI.Peter Powell
2017-10-28Hide 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.