summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2017-08-26Make the build reproducible by removing time related macros.Peter Powell
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.
2017-08-26Fix a bunch of Doxygen warnings.Peter Powell
2017-08-25Fix mistakenly hardcoding the halfop prefix char in timedbans.Peter Powell
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.
2017-08-16m_chghost: use an iterator instead of a NULL-checking loop.Peter Powell
2017-08-16m_sethost: check the length first for consistency with CHGHOST.Peter Powell
2017-08-16m_sethost: use length() instead of counting in the loop.Peter Powell
2017-08-13Update the link to the CIDR subnetting charts.Peter Powell
2017-08-13Remove <alias:matchcase> and associated code.Peter Powell
This was never documented and seems pretty useless.
2017-08-13Change the maximum nick/user size to match other implementations.Peter Powell
2017-08-11Use RPL_LUSEROP instead of the raw numeric in m_hideoper.Peter Powell
2017-08-11Fix a broken distro constraint in the m_ssl_openssl PackageInfo.Peter Powell
2017-08-06Merge pull request #1141 from SaberUK/master+windows-purgePeter Powell
Purge code for Windows XP and MSVC pre-2015.
2017-08-06Purge code for Windows XP and MSVC pre-2015.Peter Powell
2017-08-05Merge pull request #1347 from SaberUK/insp20+ctcp-actionPeter Powell
[2.0] Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.
2017-08-05Merge pull request #1351 from SaberUK/master+webircPeter Powell
Allow filtering WebIRC connections into a connect class by gateway.
2017-07-30Fix the server failing to rehash when <server:name> is unset.Peter Powell
2017-07-30Fix exceptions not having a line ending when appending to errmsg.Peter Powell
2017-07-27Merge pull request #1271 from SaberUK/master+exemptionPeter Powell
Move the OnCheckExemption hook out of the core.
2017-07-25Merge pull request #1300 from SaberUK/master+gensslPeter Powell
Add support for generating a certificate signing request to genssl.
2017-07-24Remove support for building with BSD Make.Peter Powell
BSD users should install GNU Make to build InspIRCd.
2017-07-24Merge pull request #1221 from SaberUK/master+isupport-maxlistPeter Powell
Replace the deprecated MAXBANS token with MAXLIST.
2017-07-24Replace the deprecated MAXBANS token with MAXLIST.Peter Powell
2017-07-24Add DEFAULT_LIST_SIZE for the default list mode size.Peter Powell
2017-07-24Add ADMIN to the list of commands that shunned users can run.Peter Powell
2017-07-24Merge pull request #1232 from Adam-/master+killPeter Powell
Rewrite cmd_kill, fix kill snotices
2017-07-13Improve the numerics we send in response to MAP.Peter Powell
- Send the same numerics as ircu/ircd-hybrid/charybdis/ratbox/etc. These are much more widespread and predate the Unreal numeric we currently send. - Move RPL_MAPUSERS to 018. This numeric is unused and does not conflict with RPL_PRIVS like our current one does.
2017-07-12cmd_kill: deduplicate logicAdam
2017-07-12cmd_kill: log all kills from or to remote usersAdam
2017-07-12cmd_kill: correct notices to show as a remote kill when a remote oper kills ↵Adam
a local user
2017-07-12cmd_kill: rename u to targetAdam
2017-07-12cmd_kill: don't show kill path in KILL messages to usersAdam