aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
...
* | | 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-312-102/+13
* | | 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-2837-86/+113
* | | Change SetClientIP to take a C++ string instead of a char array.Gravatar Peter Powell2017-10-273-6/+6
* | | Move Shutter to former contributors & thank genius3000, Sheogorath.Gravatar Peter Powell2017-10-221-3/+4
* | | Deduplicate error handling in the socket engines.Gravatar Peter Powell2017-10-224-20/+12
* | | Convert GetMaxFds() to size_t and deduplicate setting code.Gravatar Peter Powell2017-10-226-36/+30
* | | Remove support for the Solaris IOCP socket engine.•••After discussing this with Adam we have decided that there is very little point in keeping this now that Solaris has been killed. Any legacy Solaris users will have to make do with poll. This change does not affect users of Solaris forks like Illumos as they have support for epoll which will have already been selected over Solaris IOCP by configure. Gravatar Peter Powell2017-10-221-173/+0
* | | socketengine_poll: fix initialization fd_mappingsGravatar Adam2017-10-211-1/+1
* | | Tweak the module flags in MODULES slightly.•••Using unique letters for each flag makes it easier to read when using fonts which have similar glyphs for upper and lower case characters. Gravatar Peter Powell2017-10-211-1/+1
* | | 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-2114-31/+17
* | | Switch the default datetime format to something easier to read.Gravatar Peter Powell2017-10-201-1/+1
* | | 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-194-8/+8
* | | Add a constructor to OperInfo and use it to set the type name.Gravatar Peter Powell2017-10-183-8/+8
* | | 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-186-13/+16
* | | Ignore <module> tags for modules that are already loaded.•••This allows us to do user friendly things like loading the alias module in the example alias files. Gravatar Peter Powell2017-10-182-3/+11
* | | Clean up the command disabling logic.•••- Read the disabled command list in ApplyDisabledCommands() instead of storing it in a global which is only accessed on rehash. - Write debug messages to the log when disabling commands. - Use irc::spacesepstream instead of std::stringstream. Gravatar Peter Powell2017-10-172-13/+17
* | | 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
* | | Clean up the initialization of ConnectClass and ServerConfig.Gravatar attilamolnar2017-10-152-15/+5
* | | 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.•••This mirrors a similar feature in ircd-hybrid but using a different numeric that is not already taken in InspIRCd. Gravatar Peter Powell2017-10-151-2/+26
* | | Clean up the WEBIRC command handler.•••- Fix the extremely broken indentation. - Simplify the HandleLocal code flow. - Improve the notices sent to operators. Gravatar Peter Powell2017-10-151-44/+41
* | | Add support for hashed WebIRC passwords to m_cgiirc.Gravatar Peter Powell2017-10-151-3/+5
* | | Rewrite the m_cgiirc configuration handling.•••- Store ident hosts separately to WebIRC hosts. - Throw exceptions when the configuration is invalid. Gravatar Peter Powell2017-10-151-59/+67
* | | Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.•••- 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. Gravatar Peter Powell2017-10-153-5/+4
* | | Remove an outdated comment in cmd_user.•••We don't use C strings for storing the ident anymore. Gravatar Peter Powell2017-10-151-5/+0
* | | Release v3.0.0 alpha 2. v3.0.0a2Gravatar Peter Powell2017-10-121-1/+1
* | | Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-1210-27/+24
|\| |
| * | Include connection security with the SASL host information.•••See atheme/atheme@b41753f740 for more details. Gravatar Peter Powell2017-10-111-0/+9
| * | Fix killing elined clients on [gkz]line in some cases.Gravatar Peter Powell2017-09-112-8/+8
| * | Fix m_cgiirc allowing malformed hosts sent via WEBIRC.Gravatar Peter Powell2017-09-091-1/+1
| * | Fix {Host,IP}MatchesEveryone using Match instead of MatchCIDR.•••MatchCIDR is what [GKZ]Line::Matches uses it so we should also use it here to prevent insane bans that should not pass from passing. Gravatar Peter Powell2017-09-011-3/+3
| * | Use DLLManager::RetrieveLastError() on all platforms.•••This prevents a bug where we send malformed messages to the client when dlerror() returns an error message containing more than one line. This has been observed on macOS but probably will happen on other UNIX systems too. This also fixes a potential problem where dlerror() returns NULL and converting it to std::string causes a crash. I can't see any way that this might happen but it is better to be safe than sorry. Gravatar Peter Powell2017-08-261-10/+5
| * | Fix mistakenly hardcoding the halfop prefix char in timedbans.•••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. Gravatar Peter Powell2017-08-251-1/+1
| * | Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.•••Previously we assumed that CTCP ACTIONs matched "\1ACTION ". This is incorrect because "\1ACTION\1" and "\1ACTION" are valid CTCPs. Gravatar Peter Powell2017-06-162-2/+2
| |/
* | Merge pull request #1361 from genius3000/master+rline_IP•••Make RLines match against IP as well as hostGravatar Peter Powell2017-10-121-2/+3
|\ \
| * | Make RLines match against IP as well as hostGravatar genius30002017-10-101-2/+3
* | | Merge pull request #1353 from SISheogorath/master+domainpart-cloaking•••Make domainparts in m_cloaking configureable.Gravatar Peter Powell2017-10-121-3/+15
|\ \ \
| * | | 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.•••Also, fix a minor issue caused by the last insp20 merge. Gravatar Peter Powell2017-10-121-19/+10
* | | 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.•••SASL-3.2 allows SASL auth to happen post-registration so this is no longer correct. Gravatar Peter Powell2017-10-111-17/+2
* | | Get rid of ReadCGIIRCExt() in m_sasl.•••This is unnecessary since 852dd0337a. Gravatar Peter Powell2017-10-111-39/+2
* | | 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