]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Peter Powell [Thu, 12 Oct 2017 14:07:45 +0000 (15:07 +0100)]
Merge pull request #1353 from SISheogorath/master+domainpart-cloaking
Make domainparts in m_cloaking configureable.
Peter Powell [Thu, 12 Oct 2017 14:03:52 +0000 (15:03 +0100)]
Fix a broken distro constraint in the m_ssl_gnutls PackageInfo.
Peter Powell [Wed, 11 Oct 2017 11:00:44 +0000 (12:00 +0100)]
Clean up m_sasl slightly by making SendSASL take common params.
Also, fix a minor issue caused by the last insp20 merge.
Peter Powell [Wed, 11 Oct 2017 10:27:07 +0000 (11:27 +0100)]
Send ERR_SASLTOOLONG when a client sends an oversized AUTHENTICATE.
Peter Powell [Tue, 10 Oct 2017 23:15:14 +0000 (00:15 +0100)]
Don't abort the SASL authentication in OnUserConnect.
SASL-3.2 allows SASL auth to happen post-registration so this is
no longer correct.
Peter Powell [Tue, 10 Oct 2017 23:11:26 +0000 (00:11 +0100)]
Get rid of ReadCGIIRCExt() in m_sasl.
This is unnecessary since
852dd0337a .
Sheogorath [Tue, 27 Jun 2017 20:41:07 +0000 (22:41 +0200)]
Make domainparts configureable
Peter Powell [Tue, 10 Oct 2017 23:10:29 +0000 (00:10 +0100)]
Convert the AUTHENTICATE handler to use SplitCommand.
Peter Powell [Wed, 11 Oct 2017 00:02:03 +0000 (01:02 +0100)]
Add a constant for the 477 numeric (ERR_NEEDREGGEDNICK).
Peter Powell [Wed, 11 Oct 2017 00:01:30 +0000 (01:01 +0100)]
Send RPL_LOGGEDOUT to clients when they log out of their account.
Peter Powell [Thu, 5 Oct 2017 16:27:04 +0000 (17:27 +0100)]
Fix the casemap name not being copied to the new ServerConfig.
Peter Powell [Thu, 5 Oct 2017 15:51:16 +0000 (16:51 +0100)]
Fix a minor typo in the init script.
Peter Powell [Wed, 4 Oct 2017 13:10:19 +0000 (14:10 +0100)]
Fix RPL_SERVERVERSION treating the modes as a single parameter.
Peter Powell [Sun, 1 Oct 2017 08:46:37 +0000 (09:46 +0100)]
Switch the WEBIRC command to use SplitCommand.
Peter Powell [Sat, 9 Sep 2017 10:32:14 +0000 (11:32 +0100)]
Remove support for the pass, passfirst, identfirst cgiirc types.
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.
Peter Powell [Tue, 26 Sep 2017 12:11:56 +0000 (13:11 +0100)]
Merge pull request #1401 from emersonveenstra/configure-fix
Fix SCRIPT_DIR directory change
emerson [Mon, 25 Sep 2017 18:24:08 +0000 (14:24 -0400)]
Fix SCRIPT_DIR directory change
SCRIPT_DIR didn't automatically change directory if the user specified a
non-default directory
Peter Powell [Mon, 25 Sep 2017 13:53:05 +0000 (14:53 +0100)]
Fix the regex for parsing the git version in get_version.
Peter Powell [Sun, 24 Sep 2017 09:35:38 +0000 (10:35 +0100)]
Allow the script directory to be set in interactive mode.
Peter Powell [Thu, 21 Sep 2017 17:44:29 +0000 (18:44 +0100)]
Move the init scripts out of the prefix into the new script dir.
The previous directory was okay for home directory installs but
was problematic for system wide installs.
Peter Powell [Mon, 11 Sep 2017 14:38:26 +0000 (15:38 +0100)]
Convert Disabled[CU]Modes to use a bitset instead of a char array.
Peter Powell [Mon, 11 Sep 2017 14:22:40 +0000 (15:22 +0100)]
Add ModeParser::IsModeChar to standardise mode validation.
Peter Powell [Thu, 14 Sep 2017 13:14:53 +0000 (14:14 +0100)]
Raise the default listmode limit to 100 from 64.
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.
Peter Powell [Mon, 28 Aug 2017 18:28:53 +0000 (19:28 +0100)]
Change FailedPortList to store a sockaddrs/int instead of string.
Peter Powell [Mon, 28 Aug 2017 14:37:15 +0000 (15:37 +0100)]
Store the server endpoint as a sockaddrs in ListenSocket.
Peter Powell [Mon, 28 Aug 2017 14:13:25 +0000 (15:13 +0100)]
Get rid of irc::sockets::satoap().
This function is being misused in all but one scenario. It isn't
really worth keeping IMO.
Peter Powell [Tue, 12 Sep 2017 13:28:20 +0000 (14:28 +0100)]
Clean up the <security:runas{user,group}> code.
- 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.
Peter Powell [Sun, 27 Aug 2017 20:11:12 +0000 (21:11 +0100)]
Move operquit out of the core and into core_user.
Peter Powell [Sun, 30 Jul 2017 16:34:05 +0000 (17:34 +0100)]
Implement support for configurable casemapping & default to ASCII.
Peter Powell [Sat, 2 Sep 2017 18:53:48 +0000 (19:53 +0100)]
Move RPL_SYNTAX to 650 to prevent a collision with RPL_TEXT.
Also move the command name to a parameter so that it is more easily
parseable by software.
Peter Powell [Tue, 5 Sep 2017 16:54:40 +0000 (17:54 +0100)]
Convert uncontroversial anonymous numerics to use constants.
Peter Powell [Tue, 5 Sep 2017 18:10:03 +0000 (19:10 +0100)]
Change the numerics used by /COMMANDS to avoid a collision.
Peter Powell [Tue, 5 Sep 2017 17:33:50 +0000 (18:33 +0100)]
Improve the /MODULES output.
Peter Powell [Thu, 17 Aug 2017 13:54:49 +0000 (14:54 +0100)]
Add support for length arguments in getString.
Peter Powell [Sun, 13 Aug 2017 15:26:48 +0000 (16:26 +0100)]
Convert a bunch of time-related config options to getDuration.
Peter Powell [Sun, 3 Sep 2017 18:08:52 +0000 (19:08 +0100)]
Move <dns:timeout> out of the core.
Peter Powell [Sun, 27 Aug 2017 11:59:02 +0000 (12:59 +0100)]
Add a ConfigTag* parameter to the ServerPaths constructor.
This is used to directly read the settings from the config tag like
how ServerLimits works.
Peter Powell [Sun, 27 Aug 2017 12:25:29 +0000 (13:25 +0100)]
Remove module file extensions from user-visible messages.
Peter Powell [Sun, 27 Aug 2017 12:18:58 +0000 (13:18 +0100)]
Update a bunch of references to the old command modules.
Peter Powell [Sun, 20 Aug 2017 13:51:30 +0000 (14:51 +0100)]
Match against core_*.so when looking for core modules.
Peter Powell [Sat, 26 Aug 2017 15:07:52 +0000 (16:07 +0100)]
Remove some outdated documentation from the SocketEngine class.
Peter Powell [Wed, 16 Aug 2017 15:59:56 +0000 (16:59 +0100)]
Make the build reproducible by removing time related macros.
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.
Peter Powell [Fri, 25 Aug 2017 12:03:53 +0000 (13:03 +0100)]
Fix a bunch of Doxygen warnings.
Peter Powell [Sun, 13 Aug 2017 07:35:20 +0000 (08:35 +0100)]
m_chghost: use an iterator instead of a NULL-checking loop.
Peter Powell [Sun, 13 Aug 2017 07:52:39 +0000 (08:52 +0100)]
m_sethost: check the length first for consistency with CHGHOST.
Peter Powell [Sun, 13 Aug 2017 07:32:09 +0000 (08:32 +0100)]
m_sethost: use length() instead of counting in the loop.
Peter Powell [Sun, 30 Jul 2017 18:20:35 +0000 (19:20 +0100)]
Remove <alias:matchcase> and associated code.
This was never documented and seems pretty useless.
Peter Powell [Fri, 14 Jul 2017 19:38:30 +0000 (20:38 +0100)]
Change the maximum nick/user size to match other implementations.
Peter Powell [Fri, 11 Aug 2017 17:53:35 +0000 (18:53 +0100)]
Use RPL_LUSEROP instead of the raw numeric in m_hideoper.
Peter Powell [Fri, 11 Aug 2017 15:10:30 +0000 (16:10 +0100)]
Fix a broken distro constraint in the m_ssl_openssl PackageInfo.
Peter Powell [Sun, 6 Aug 2017 20:24:30 +0000 (21:24 +0100)]
Merge pull request #1141 from SaberUK/master+windows-purge
Purge code for Windows XP and MSVC pre-2015.
Peter Powell [Sun, 14 Feb 2016 08:33:24 +0000 (08:33 +0000)]
Purge code for Windows XP and MSVC pre-2015.
Peter Powell [Sat, 5 Aug 2017 17:33:04 +0000 (18:33 +0100)]
Merge pull request #1351 from SaberUK/master+webirc
Allow filtering WebIRC connections into a connect class by gateway.
Peter Powell [Sun, 30 Jul 2017 16:44:53 +0000 (17:44 +0100)]
Fix the server failing to rehash when <server:name> is unset.
Peter Powell [Sun, 30 Jul 2017 17:01:38 +0000 (18:01 +0100)]
Fix exceptions not having a line ending when appending to errmsg.
Peter Powell [Thu, 27 Jul 2017 12:13:16 +0000 (13:13 +0100)]
Merge pull request #1271 from SaberUK/master+exemption
Move the OnCheckExemption hook out of the core.
Peter Powell [Tue, 25 Jul 2017 17:23:41 +0000 (18:23 +0100)]
Merge pull request #1300 from SaberUK/master+genssl
Add support for generating a certificate signing request to genssl.
Peter Powell [Wed, 12 Jul 2017 12:08:28 +0000 (13:08 +0100)]
Remove support for building with BSD Make.
BSD users should install GNU Make to build InspIRCd.
Peter Powell [Mon, 24 Jul 2017 15:51:01 +0000 (16:51 +0100)]
Merge pull request #1221 from SaberUK/master+isupport-maxlist
Replace the deprecated MAXBANS token with MAXLIST.
Peter Powell [Mon, 24 Jul 2017 13:44:36 +0000 (14:44 +0100)]
Replace the deprecated MAXBANS token with MAXLIST.
Peter Powell [Mon, 24 Jul 2017 13:38:56 +0000 (14:38 +0100)]
Add DEFAULT_LIST_SIZE for the default list mode size.
Peter Powell [Mon, 24 Jul 2017 12:01:11 +0000 (13:01 +0100)]
Merge pull request #1232 from Adam-/master+kill
Rewrite cmd_kill, fix kill snotices
Peter Powell [Thu, 13 Jul 2017 14:44:41 +0000 (15:44 +0100)]
Improve the numerics we send in response to MAP.
- 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.
Adam [Sun, 2 Oct 2016 02:15:23 +0000 (22:15 -0400)]
cmd_kill: deduplicate logic
Adam [Sun, 2 Oct 2016 02:06:43 +0000 (22:06 -0400)]
cmd_kill: log all kills from or to remote users
Adam [Sun, 2 Oct 2016 02:03:53 +0000 (22:03 -0400)]
cmd_kill: correct notices to show as a remote kill when a remote oper kills a local user
Adam [Sun, 2 Oct 2016 01:55:55 +0000 (21:55 -0400)]
cmd_kill: rename u to target
Adam [Sun, 2 Oct 2016 01:51:28 +0000 (21:51 -0400)]
cmd_kill: don't show kill path in KILL messages to users
Adam [Sun, 2 Oct 2016 01:45:10 +0000 (21:45 -0400)]
cmd_kill: reshuffle
Peter Powell [Wed, 12 Jul 2017 20:04:43 +0000 (21:04 +0100)]
Merge pull request #1270 from SaberUK/master+sasl
Always append the SSL fingerprint even if EXTERNAL is not used.
Peter Powell [Wed, 12 Jul 2017 15:46:26 +0000 (16:46 +0100)]
Remove an unused variable in m_cloaking.
Peter Powell [Wed, 12 Jul 2017 15:41:28 +0000 (16:41 +0100)]
Merge pull request #1267 from SaberUK/master+config
Store config values in a map instead of a unique vector of pairs.
Peter Powell [Wed, 12 Jul 2017 14:38:53 +0000 (15:38 +0100)]
Merge pull request #1211 from SaberUK/master+override
Add CXX11_OVERRIDE to overridden members that lack it.
Peter Powell [Wed, 12 Jul 2017 14:04:01 +0000 (15:04 +0100)]
Merge pull request #677 from Robby-/master-dnsblzline
[master] m_dnsbl: Correct the address in the Z-line snomask message.
Peter Powell [Wed, 12 Jul 2017 13:41:52 +0000 (14:41 +0100)]
Add CXX11_OVERRIDE to overridden members that lack it.
This fixes a ton of warnings when building on compilers that
default to C++11 or newer.
Peter Powell [Wed, 12 Jul 2017 13:25:28 +0000 (14:25 +0100)]
Merge pull request #1337 from SaberUK/master+merge
Merge v2.0.23 and v2.0.24 into master.
Peter Powell [Wed, 12 Jul 2017 13:04:17 +0000 (14:04 +0100)]
Merge pull request #1356 from SISheogorath/master+issuetemplate
Add issue template to avoid support requests in bugtracker
Peter Powell [Wed, 12 Jul 2017 11:04:42 +0000 (12:04 +0100)]
Fix some minor bugs in the Module Manager.
- Fix installation of module.
- Exit after listing modules.
Sheogorath [Mon, 10 Jul 2017 14:34:45 +0000 (16:34 +0200)]
Add issue template to avoid support requests in bugtracker
Peter Powell [Tue, 11 Jul 2017 16:37:20 +0000 (17:37 +0100)]
Remove use of global barewords in most file handling code.
This is not considered good practise in modern Perl code.
A few cases of this still remain in code which is due to be
rewritten anyway.
Peter Powell [Tue, 11 Jul 2017 15:24:56 +0000 (16:24 +0100)]
Update the version in the Doxyfile from 2.0 to 3.0.
Attila Molnar [Tue, 11 Jul 2017 13:34:43 +0000 (15:34 +0200)]
Merge pull request #1310 from rburchell/master
Improve and centralize socket engine event counters.
Robin Burchell [Wed, 22 Mar 2017 16:59:08 +0000 (17:59 +0100)]
Improve and centralize socket engine event counters.
The write counters were close to useless because they were only
incremented on a write "event" which is only triggered when writing
would block.
Read handling was a little more useful in that all reads must happen
through the socket engine, so these were happening at the correct time,
but we can clean this up by doing it in the SE itself rather than each
platform port.
This means that both read and write events are now easily and usefully
defined as "a syscall of either read or write was attempted".
We also count empty read and write events as being an event, because
they still were an attempt to poll a socket in some way. This may help
to identify "bad" code which is repeatedly trying to read a socket for
some reason.
Lastly, we check for failed read/write calls, and log them as an error
event. A lot of the time, this is how sockets are determined as being
disconnected (ie. at read/write time).
While we're at it, split Update() in two to make the calls more
self-describing. This has no real impact since only one call is made at
a time anyway.
Peter Powell [Sun, 9 Jul 2017 21:36:40 +0000 (22:36 +0100)]
Merge v2.0.23 and v2.0.24 into master.
Attila Molnar [Sun, 9 Jul 2017 19:46:20 +0000 (21:46 +0200)]
Merge pull request #1302 from Adam-/master+txt
core_dns: add support for txt records
Attila Molnar [Sun, 9 Jul 2017 19:16:52 +0000 (21:16 +0200)]
Merge pull request #1338 from SaberUK/master+openvz
Warn the user about clock drifting when running on OpenVZ.
Attila Molnar [Sun, 9 Jul 2017 19:15:49 +0000 (21:15 +0200)]
Merge pull request #1320 from SaberUK/master+autoperm
Automatically apply +P to all permanent channels.
Attila Molnar [Sun, 9 Jul 2017 19:15:01 +0000 (21:15 +0200)]
Merge pull request #1335 from SaberUK/master+se
Tidy up the socket engine selection code.
Attila Molnar [Sun, 9 Jul 2017 19:14:28 +0000 (21:14 +0200)]
Merge pull request #1334 from SaberUK/master+md5
Remove some dead code from m_md5.
Attila Molnar [Sun, 9 Jul 2017 19:14:01 +0000 (21:14 +0200)]
Merge pull request #1319 from SaberUK/master+compiler-detection
Switch compiler detection to use a more reliable method.
Peter Powell [Thu, 22 Jun 2017 11:24:11 +0000 (12:24 +0100)]
Allow filtering WebIRC connections into a connect class by gateway.
Peter Powell [Tue, 16 May 2017 10:18:10 +0000 (11:18 +0100)]
Warn the user about clock drifting when running on OpenVZ.
Peter Powell [Fri, 19 May 2017 16:28:37 +0000 (17:28 +0100)]
Tidy up the socket engine selection code.
Peter Powell [Fri, 19 May 2017 11:39:01 +0000 (12:39 +0100)]
Remove some dead code from m_md5.
This is left over from the old hashing system that allowed you to
customise these values.
Adam [Thu, 18 May 2017 12:35:22 +0000 (08:35 -0400)]
Release v2.0.24
Adam [Thu, 18 May 2017 00:10:51 +0000 (20:10 -0400)]
m_override: fix parentheses compiler warning
Adam [Wed, 17 May 2017 23:46:28 +0000 (19:46 -0400)]
Merge pull request #1094 from SISheogorath/insp20+fixed-Override
fix override issue
Adam [Wed, 17 May 2017 22:03:38 +0000 (18:03 -0400)]
Merge pull request #1328 from Adam-/insp20+sakick
m_sakick: remove unused "Unable to kick" notice
Adam [Wed, 17 May 2017 22:02:54 +0000 (18:02 -0400)]
Merge pull request #1284 from Adam-/insp20+preregcloak
m_cloaking: don't apply cloak to already cloaked users during registration
Adam [Wed, 7 Sep 2016 20:08:28 +0000 (16:08 -0400)]
m_cloaking: don't apply cloak to already cloaked users during registration
This can happen if services set a vhost during registration (like with
SASL)