aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.Gravatar Peter Powell2017-10-111-0/+9
| | | | | | | | See atheme/atheme@b41753f740 for more details.
| * 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.Gravatar Peter Powell2017-09-011-3/+3
| | | | | | | | | | 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.
| * Use DLLManager::RetrieveLastError() on all platforms.Gravatar Peter Powell2017-08-261-10/+5
| | | | | | | | | | | | | | | | | | | | | | 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.
| * 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
| |
* | Fix the casemap name not being copied to the new ServerConfig.Gravatar Peter Powell2017-10-051-0/+1
| |
* | Fix RPL_SERVERVERSION treating the modes as a single parameter.Gravatar Peter Powell2017-10-042-3/+5
| |
* | Switch the WEBIRC command to use SplitCommand.Gravatar Peter Powell2017-10-011-7/+7
| |
* | Remove support for the pass, passfirst, identfirst cgiirc types.Gravatar Peter Powell2017-09-271-69/+15
| | | | | | | | | | | | | | These methods are not supported by any widely used gateways that I can find. If your gateway uses this then you should rewrite it to use the webirc method. For more details see the IRCv3 WEBIRC specification at http://ircv3.net/specs/extensions/webirc.html.
* | Convert Disabled[CU]Modes to use a bitset instead of a char array.Gravatar Peter Powell2017-09-183-11/+9
| |
* | Add ModeParser::IsModeChar to standardise mode validation.Gravatar Peter Powell2017-09-182-10/+11
| |
* | Change FailedPortList to store a sockaddrs/int instead of string.Gravatar Peter Powell2017-09-123-4/+3
| |
* | Store the server endpoint as a sockaddrs in ListenSocket.Gravatar Peter Powell2017-09-124-22/+9
| |
* | Get rid of irc::sockets::satoap().Gravatar Peter Powell2017-09-124-14/+5
| | | | | | | | | | This function is being misused in all but one scenario. It isn't really worth keeping IMO.
* | Clean up the <security:runas{user,group}> code.Gravatar Peter Powell2017-09-121-27/+12
| | | | | | | | | | | | | | - Get rid of unnecessary temporary values. - Remove an erroneous usage comment. - Reset errno before the call to setgroups. - Unify the two stage initialisation of g/u.
* | Move operquit out of the core and into core_user.Gravatar Peter Powell2017-09-113-5/+6
| |
* | Implement support for configurable casemapping & default to ASCII.Gravatar Peter Powell2017-09-084-8/+36
| |
* | Move RPL_SYNTAX to 650 to prevent a collision with RPL_TEXT.Gravatar Peter Powell2017-09-061-1/+1
| | | | | | | | | | Also move the command name to a parameter so that it is more easily parseable by software.
* | Convert uncontroversial anonymous numerics to use constants.Gravatar Peter Powell2017-09-069-18/+66
| |
* | Change the numerics used by /COMMANDS to avoid a collision.Gravatar Peter Powell2017-09-061-0/+7
| |
* | Improve the /MODULES output.Gravatar Peter Powell2017-09-063-5/+14
| |
* | Add support for length arguments in getString.Gravatar Peter Powell2017-09-033-7/+13
| |
* | Convert a bunch of time-related config options to getDuration.Gravatar Peter Powell2017-09-0313-17/+17
| |
* | Move <dns:timeout> out of the core.Gravatar Peter Powell2017-09-032-3/+1
| |
* | Add a ConfigTag* parameter to the ServerPaths constructor.Gravatar Peter Powell2017-09-031-4/+10
| | | | | | | | | | This is used to directly read the settings from the config tag like how ServerLimits works.
* | Remove module file extensions from user-visible messages.Gravatar Peter Powell2017-08-276-6/+6
| |
* | Update a bunch of references to the old command modules.Gravatar Peter Powell2017-08-272-2/+2
| |
* | Match against core_*.so when looking for core modules.Gravatar Peter Powell2017-08-272-2/+2
| |
* | Make the build reproducible by removing time related macros.Gravatar Peter Powell2017-08-262-2/+2
| | | | | | | | | | | | | | | | The compile time on boot is not accurate as it will only change when the translation unit containing it is edited. The startup time in RPL_SERVERCREATED is a lot more useful than the compilation time. ngIRCd also implements this behaviour.
* | m_chghost: use an iterator instead of a NULL-checking loop.Gravatar Peter Powell2017-08-161-3/+1
| |
* | m_sethost: check the length first for consistency with CHGHOST.Gravatar Peter Powell2017-08-161-6/+6
| |
* | m_sethost: use length() instead of counting in the loop.Gravatar Peter Powell2017-08-161-3/+2
| |
* | Remove <alias:matchcase> and associated code.Gravatar Peter Powell2017-08-132-47/+2
| | | | | | | | This was never documented and seems pretty useless.
* | Change the maximum nick/user size to match other implementations.Gravatar Peter Powell2017-08-131-2/+2
| |