summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-12Merge the latest changes from insp20 into master.Peter Powell
2017-10-12Merge pull request #1361 from genius3000/master+rline_IPPeter Powell
Make RLines match against IP as well as host
2017-10-12Merge pull request #1353 from SISheogorath/master+domainpart-cloakingPeter Powell
Make domainparts in m_cloaking configureable.
2017-10-12Fix a broken distro constraint in the m_ssl_gnutls PackageInfo.Peter Powell
2017-10-12Clean up m_sasl slightly by making SendSASL take common params.Peter Powell
Also, fix a minor issue caused by the last insp20 merge.
2017-10-12Send ERR_SASLTOOLONG when a client sends an oversized AUTHENTICATE.Peter Powell
2017-10-11Include connection security with the SASL host information.Peter Powell
See atheme/atheme@b41753f740 for more details.
2017-10-11Don't abort the SASL authentication in OnUserConnect.Peter Powell
SASL-3.2 allows SASL auth to happen post-registration so this is no longer correct.
2017-10-11Get rid of ReadCGIIRCExt() in m_sasl.Peter Powell
This is unnecessary since 852dd0337a.
2017-10-11Make domainparts configureableSheogorath
2017-10-10Make RLines match against IP as well as hostgenius3000
2017-10-11Convert the AUTHENTICATE handler to use SplitCommand.Peter Powell
2017-10-11Add a constant for the 477 numeric (ERR_NEEDREGGEDNICK).Peter Powell
2017-10-11Send RPL_LOGGEDOUT to clients when they log out of their account.Peter Powell
2017-10-05Fix the casemap name not being copied to the new ServerConfig.Peter Powell
2017-10-05Fix a minor typo in the init script.Peter Powell
2017-10-04Fix RPL_SERVERVERSION treating the modes as a single parameter.Peter Powell
2017-10-01Switch the WEBIRC command to use SplitCommand.Peter Powell
2017-09-27Remove support for the pass, passfirst, identfirst cgiirc types.Peter Powell
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.
2017-09-26Merge pull request #1401 from emersonveenstra/configure-fixPeter Powell
Fix SCRIPT_DIR directory change
2017-09-25Fix SCRIPT_DIR directory changeemerson
SCRIPT_DIR didn't automatically change directory if the user specified a non-default directory
2017-09-25Fix the regex for parsing the git version in get_version.Peter Powell
2017-09-24Allow the script directory to be set in interactive mode.Peter Powell
2017-09-21Move the init scripts out of the prefix into the new script dir.Peter Powell
The previous directory was okay for home directory installs but was problematic for system wide installs.
2017-09-18Convert Disabled[CU]Modes to use a bitset instead of a char array.Peter Powell
2017-09-18Add ModeParser::IsModeChar to standardise mode validation.Peter Powell
2017-09-14Raise the default listmode limit to 100 from 64.Peter Powell
64 is a rather restrictive limit especially considering how fast channels can accumulate bans. In fact, #InspIRCd hit the ban limit in just over a year. Having a low limit might have made sense when memory was expensive but the average IRC server should be able to handle this fine now.
2017-09-14Fix the command for enabling m_sqlite3 in modules.conf.example.Peter Powell
2017-09-12Change FailedPortList to store a sockaddrs/int instead of string.Peter Powell
2017-09-12Store the server endpoint as a sockaddrs in ListenSocket.Peter Powell
2017-09-12Get rid of irc::sockets::satoap().Peter Powell
This function is being misused in all but one scenario. It isn't really worth keeping IMO.
2017-09-12Clean up the <security:runas{user,group}> code.Peter Powell
- 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.
2017-09-11Move operquit out of the core and into core_user.Peter Powell
2017-09-11Fix killing elined clients on [gkz]line in some cases.Peter Powell
2017-09-09Fix m_cgiirc allowing malformed hosts sent via WEBIRC.Peter Powell
2017-09-08Implement support for configurable casemapping & default to ASCII.Peter Powell
2017-09-06Move RPL_SYNTAX to 650 to prevent a collision with RPL_TEXT.Peter Powell
Also move the command name to a parameter so that it is more easily parseable by software.
2017-09-06Convert uncontroversial anonymous numerics to use constants.Peter Powell
2017-09-06Change the numerics used by /COMMANDS to avoid a collision.Peter Powell
2017-09-06Improve the /MODULES output.Peter Powell
2017-09-03Add support for length arguments in getString.Peter Powell
2017-09-03Convert a bunch of time-related config options to getDuration.Peter Powell
2017-09-03Move <dns:timeout> out of the core.Peter Powell
2017-09-03Add a ConfigTag* parameter to the ServerPaths constructor.Peter Powell
This is used to directly read the settings from the config tag like how ServerLimits works.
2017-09-01Fix {Host,IP}MatchesEveryone using Match instead of MatchCIDR.Peter Powell
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.
2017-08-27Remove module file extensions from user-visible messages.Peter Powell
2017-08-27Update a bunch of references to the old command modules.Peter Powell
2017-08-27Match against core_*.so when looking for core modules.Peter Powell
2017-08-26Use DLLManager::RetrieveLastError() on all platforms.Peter Powell
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.
2017-08-26Remove some outdated documentation from the SocketEngine class.Peter Powell