]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
4 years agoDisable MSVC warning C4800.
Matt Schatz [Tue, 14 Apr 2020 13:31:02 +0000 (07:31 -0600)]
Disable MSVC warning C4800.

4 years agoOnly read the SSL profiles if they're actually specified.
Sadie Powell [Tue, 21 Apr 2020 01:20:12 +0000 (02:20 +0100)]
Only read the SSL profiles if they're actually specified.

4 years agoTell the admin how to use a SSL profile if they define one.
Sadie Powell [Tue, 21 Apr 2020 00:30:32 +0000 (01:30 +0100)]
Tell the admin how to use a SSL profile if they define one.

4 years agoSwitch User::usertype back to an unsigned int.
Matt Schatz [Sat, 18 Apr 2020 05:13:00 +0000 (23:13 -0600)]
Switch User::usertype back to an unsigned int.

Leaving it up to the compiler to set the underlying type of the enum
can result in this being a signed int. This variable will not work
as intended as a 2 bit signed int.
This fixes an issue with the Windows build(s) where a server trying
to link would fail with "Protocol violation: Invalid source".

4 years agoFix ldapoper trying to auth using the provider name as the account.
Sadie Powell [Fri, 17 Apr 2020 14:00:18 +0000 (15:00 +0100)]
Fix ldapoper trying to auth using the provider name as the account.

4 years agoUpdate the <securelist> documentation.
Sadie Powell [Fri, 17 Apr 2020 12:08:15 +0000 (13:08 +0100)]
Update the <securelist> documentation.

4 years agoAllow hiding the message which warns about LIST being blocked.
Sadie Powell [Fri, 17 Apr 2020 11:46:10 +0000 (12:46 +0100)]
Allow hiding the message which warns about LIST being blocked.

4 years agoMinor improvements to the securelist module.
Sadie Powell [Fri, 17 Apr 2020 11:45:56 +0000 (12:45 +0100)]
Minor improvements to the securelist module.

4 years agoRename mkversions to mkdescriptions.
Sadie Powell [Wed, 15 Apr 2020 15:43:07 +0000 (16:43 +0100)]
Rename mkversions to mkdescriptions.

4 years agoMinor cleanup and documentation improvements.
Matt Schatz [Tue, 14 Apr 2020 10:51:05 +0000 (04:51 -0600)]
Minor cleanup and documentation improvements.

- Only show a generic failure message to the user upon oper failure
due to not having a secure connection or matching cert. fingerprint.
- Update the comment about oper:fingerprint as it can be a space
separated list of fingerprints and not just one.
- Improve a few code comments and formatting.

4 years agoAllow 'tls' to be used in /REHASH.
Matt Schatz [Mon, 13 Apr 2020 04:59:22 +0000 (22:59 -0600)]
Allow 'tls' to be used in /REHASH.

4 years agoUpdate user-facing text and comments of SSL to TLS.
Matt Schatz [Mon, 13 Apr 2020 04:56:10 +0000 (22:56 -0600)]
Update user-facing text and comments of SSL to TLS.

4 years agoFix kicknorejoin not showing the channel name properly in errors.
Sadie Powell [Mon, 13 Apr 2020 23:23:09 +0000 (00:23 +0100)]
Fix kicknorejoin not showing the channel name properly in errors.

Closes #1775.

4 years agoAdd the inspircd.org/standard-replies capability.
Sadie Powell [Fri, 14 Feb 2020 03:46:54 +0000 (03:46 +0000)]
Add the inspircd.org/standard-replies capability.

4 years agoAdd a missing ';'.
Matt Schatz [Mon, 13 Apr 2020 05:13:12 +0000 (23:13 -0600)]
Add a missing ';'.

4 years agoGet rid of the useless OPERLOG 005 token.
Sadie Powell [Sun, 12 Apr 2020 13:59:39 +0000 (14:59 +0100)]
Get rid of the useless OPERLOG 005 token.

4 years agoFix the operlog module double logging when tosnomask is enabled.
Sadie Powell [Sun, 12 Apr 2020 13:52:52 +0000 (14:52 +0100)]
Fix the operlog module double logging when tosnomask is enabled.

4 years agoAdd support for limiting what opers can subscribe to snomasks.
Sadie Powell [Sat, 11 Apr 2020 14:09:34 +0000 (15:09 +0100)]
Add support for limiting what opers can subscribe to snomasks.

4 years agoClean up the logic for parsing oper mode privileges.
Sadie Powell [Sat, 11 Apr 2020 13:29:30 +0000 (14:29 +0100)]
Clean up the logic for parsing oper mode privileges.

4 years agoFix an oversight in mkversions that caused it to not update extras.
Sadie Powell [Fri, 10 Apr 2020 19:32:54 +0000 (20:32 +0100)]
Fix an oversight in mkversions that caused it to not update extras.

4 years agoUpdate the module descriptions using mkversion.
Sadie Powell [Fri, 10 Apr 2020 14:22:14 +0000 (15:22 +0100)]
Update the module descriptions using mkversion.

4 years agoAdd a tool for updating module descriptions based on the docs.
Sadie Powell [Fri, 10 Apr 2020 13:52:54 +0000 (14:52 +0100)]
Add a tool for updating module descriptions based on the docs.

4 years agoNote that bind:permissions does not change on rehash.
Matt Schatz [Fri, 10 Apr 2020 07:14:38 +0000 (01:14 -0600)]
Note that bind:permissions does not change on rehash.

4 years agoThe init function should have the override keyword too.
Sadie Powell [Fri, 10 Apr 2020 00:28:59 +0000 (01:28 +0100)]
The init function should have the override keyword too.

4 years agoAdd the missing VF_CORE flag to the core_whowas module.
Sadie Powell [Thu, 9 Apr 2020 23:35:17 +0000 (00:35 +0100)]
Add the missing VF_CORE flag to the core_whowas module.

4 years agoAdd missing override keyword to the sslrehashsignal module.
Sadie Powell [Thu, 9 Apr 2020 23:33:44 +0000 (00:33 +0100)]
Add missing override keyword to the sslrehashsignal module.

4 years agoRemove references to the long dead SQLv2 from the pgsql module.
Sadie Powell [Thu, 9 Apr 2020 23:32:56 +0000 (00:32 +0100)]
Remove references to the long dead SQLv2 from the pgsql module.

4 years agoRemove an unused variable in the http_acl module.
Sadie Powell [Thu, 9 Apr 2020 23:30:58 +0000 (00:30 +0100)]
Remove an unused variable in the http_acl module.

4 years agoSet the minimum length to 1 for most config items with a default.
Sadie Powell [Thu, 9 Apr 2020 14:18:04 +0000 (15:18 +0100)]
Set the minimum length to 1 for most config items with a default.

4 years agoAllow <passforward:forwardmsg> to be optional.
Sadie Powell [Thu, 9 Apr 2020 13:46:04 +0000 (14:46 +0100)]
Allow <passforward:forwardmsg> to be optional.

4 years agoSend SNOTICES for failed secure only or fingerprint oper attempts.
Matt Schatz [Thu, 9 Apr 2020 12:55:57 +0000 (06:55 -0600)]
Send SNOTICES for failed secure only or fingerprint oper attempts.

4 years agoPrevent a trailing space in the failed oper SNOTICE.
Matt Schatz [Thu, 9 Apr 2020 12:53:56 +0000 (06:53 -0600)]
Prevent a trailing space in the failed oper SNOTICE.

4 years agoSet Unix socket permissions after binding.
Matt Schatz [Thu, 9 Apr 2020 12:47:53 +0000 (06:47 -0600)]
Set Unix socket permissions after binding.

4 years agoMore HasFd() conversions.
Sadie Powell [Wed, 8 Apr 2020 23:34:05 +0000 (00:34 +0100)]
More HasFd() conversions.

4 years agoImprove the logging of the httpd module.
Sadie Powell [Wed, 8 Apr 2020 23:14:59 +0000 (00:14 +0100)]
Improve the logging of the httpd module.

4 years agoAdd a way to disable using environment variables in included files.
Sadie Powell [Tue, 7 Apr 2020 09:32:50 +0000 (10:32 +0100)]
Add a way to disable using environment variables in included files.

4 years agoFix Numerics::CannotSendTo sending the wrong numeric for users.
Sadie Powell [Mon, 6 Apr 2020 19:34:44 +0000 (20:34 +0100)]
Fix Numerics::CannotSendTo sending the wrong numeric for users.

4 years agoFix building the sqlite3 module on the macOS CI.
Sadie Powell [Mon, 6 Apr 2020 09:59:37 +0000 (10:59 +0100)]
Fix building the sqlite3 module on the macOS CI.

4 years agoAdd a tool for retrieving directives from source files.
Sadie Powell [Mon, 6 Apr 2020 09:35:11 +0000 (10:35 +0100)]
Add a tool for retrieving directives from source files.

4 years agoSend ERR_BANNEDFROMCHAN when a user can't create a restricted channel.
Sadie Powell [Sun, 5 Apr 2020 18:10:48 +0000 (19:10 +0100)]
Send ERR_BANNEDFROMCHAN when a user can't create a restricted channel.

Closes #1772.

4 years agoVendor the optional-lite library.
Sadie Powell [Sun, 5 Apr 2020 10:56:45 +0000 (11:56 +0100)]
Vendor the optional-lite library.

4 years agoUpdate the http_parser library to v2.9.4.
Sadie Powell [Sun, 5 Apr 2020 11:02:27 +0000 (12:02 +0100)]
Update the http_parser library to v2.9.4.

4 years agoDon't send a geolocation whois line for uline clients.
Matt Schatz [Tue, 31 Mar 2020 08:09:12 +0000 (02:09 -0600)]
Don't send a geolocation whois line for uline clients.

4 years agoDon't override a different Displayed Host with the rDNS.
Matt Schatz [Tue, 31 Mar 2020 07:54:54 +0000 (01:54 -0600)]
Don't override a different Displayed Host with the rDNS.

If the dnsbl module is set to mark with a vHost, it can finish before
the hostname resolution finishes. This is especially the case when
the result is already cached.

Resolves #1770.

4 years agoSquish the cmd_whowas header.
Sadie Powell [Sat, 4 Apr 2020 12:18:24 +0000 (13:18 +0100)]
Squish the cmd_whowas header.

There's no reason for this to be in a header and it can't be used
by anything else.

4 years agoDon't filter mass-messages sent by server operators.
Sadie Powell [Sat, 4 Apr 2020 11:28:39 +0000 (12:28 +0100)]
Don't filter mass-messages sent by server operators.

This matches the behaviour of the censor module.

4 years agoAdd the Numerics::CannotSendTo class and switch stuff to use it.
Sadie Powell [Sat, 4 Apr 2020 10:49:06 +0000 (11:49 +0100)]
Add the Numerics::CannotSendTo class and switch stuff to use it.

4 years agoIgnore clients on ulined servers when counting invisible users.
Matt Schatz [Sat, 4 Apr 2020 08:58:59 +0000 (02:58 -0600)]
Ignore clients on ulined servers when counting invisible users.

This is in addition to 4cc992f.

4 years agoAdd support for sending a standard reply with no command name.
Sadie Powell [Thu, 5 Mar 2020 12:22:45 +0000 (12:22 +0000)]
Add support for sending a standard reply with no command name.

4 years agoAdd constants for the uninvite numerics.
Sadie Powell [Thu, 2 Apr 2020 19:53:23 +0000 (20:53 +0100)]
Add constants for the uninvite numerics.

4 years agoFix the log message in the disable module.
Sadie Powell [Thu, 2 Apr 2020 10:36:25 +0000 (11:36 +0100)]
Fix the log message in the disable module.

Modes are set and unset not executed.

4 years agoClear the entire DNS cache on rehash.
Sadie Powell [Wed, 1 Apr 2020 19:34:50 +0000 (20:34 +0100)]
Clear the entire DNS cache on rehash.

4 years agoDocument Module::Prioritize.
Sadie Powell [Wed, 1 Apr 2020 13:32:02 +0000 (14:32 +0100)]
Document Module::Prioritize.

4 years agoAdd a comment for packagers who delete the --{uid,gid} checks.
Sadie Powell [Tue, 31 Mar 2020 16:30:46 +0000 (17:30 +0100)]
Add a comment for packagers who delete the --{uid,gid} checks.

4 years agoAdd back the prefix on a server target message.
Matt Schatz [Tue, 31 Mar 2020 14:15:47 +0000 (08:15 -0600)]
Add back the prefix on a server target message.

The prefix is dropped when building the message. We add it back here
so that the remote servers can recognize it as a server target.

4 years agoFix clock skip warnings being inverted.
Sadie Powell [Mon, 30 Mar 2020 22:41:46 +0000 (23:41 +0100)]
Fix clock skip warnings being inverted.

4 years agoMake showing the channel modes in /LIST configurable.
Sadie Powell [Mon, 30 Mar 2020 22:38:42 +0000 (23:38 +0100)]
Make showing the channel modes in /LIST configurable.

4 years agoFix various documentation and formatting issues.
Sadie Powell [Mon, 30 Mar 2020 16:24:12 +0000 (17:24 +0100)]
Fix various documentation and formatting issues.

4 years agoAdd support for the servers/ignore-shun privilege.
Sadie Powell [Sun, 29 Mar 2020 11:06:06 +0000 (12:06 +0100)]
Add support for the servers/ignore-shun privilege.

4 years agoInclude ADMIN and OPER in the default for <shun:enabledcmds>.
Sadie Powell [Sun, 29 Mar 2020 10:58:09 +0000 (11:58 +0100)]
Include ADMIN and OPER in the default for <shun:enabledcmds>.

4 years agoClean up the parsing logic for <shun:enabledcmds>.
Sadie Powell [Sun, 29 Mar 2020 10:57:09 +0000 (11:57 +0100)]
Clean up the parsing logic for <shun:enabledcmds>.

4 years agoCorrect a typo in the example config.
Matt Schatz [Sun, 29 Mar 2020 05:28:53 +0000 (23:28 -0600)]
Correct a typo in the example config.

4 years agoFix expanding module names.
Sadie Powell [Fri, 27 Mar 2020 14:25:09 +0000 (14:25 +0000)]
Fix expanding module names.

4 years agoUpdate the credits.
Sadie Powell [Fri, 27 Mar 2020 13:32:46 +0000 (13:32 +0000)]
Update the credits.

- Move Attila to former developers (RIP).
- Move genius3000 to core developers.
- Add Robby to contributors.
- Add prawnsalad to thanks.

4 years agoAlphabetically sort names in the credits.
Sadie Powell [Thu, 26 Mar 2020 15:55:18 +0000 (15:55 +0000)]
Alphabetically sort names in the credits.

4 years agoImprove the issue templates slightly.
Sadie Powell [Wed, 25 Mar 2020 14:28:01 +0000 (14:28 +0000)]
Improve the issue templates slightly.

4 years agoOnly send a local X-line SNOTICE.
Matt Schatz [Tue, 24 Mar 2020 06:25:33 +0000 (00:25 -0600)]
Only send a local X-line SNOTICE.

Spanningtree sends a local SNOTICE to 'X' when adding
a line. No need to send a global SNOTICE from here.

4 years agoFix the signed-ness within ConvToNum char overloads.
Matt Schatz [Tue, 24 Mar 2020 17:50:14 +0000 (11:50 -0600)]
Fix the signed-ness within ConvToNum char overloads.

It should be signed int with signed char and vice-versa.
Currently, anything over 127 as unsigned char would return 0.

4 years agoCorrect a module name typo.
Matt Schatz [Tue, 24 Mar 2020 06:21:01 +0000 (00:21 -0600)]
Correct a module name typo.

4 years agoAdd a raw source/target PRIVMSG overload for sending a status msg.
Sadie Powell [Thu, 19 Mar 2020 07:34:04 +0000 (07:34 +0000)]
Add a raw source/target PRIVMSG overload for sending a status msg.

4 years agoAllow commands to override ERR_{NEEDSMOREPARAMS,NOTREGISTERED}.
Sadie Powell [Wed, 18 Mar 2020 10:54:37 +0000 (10:54 +0000)]
Allow commands to override ERR_{NEEDSMOREPARAMS,NOTREGISTERED}.

4 years agoForce people to use an issue template.
Sadie Powell [Fri, 13 Mar 2020 07:58:34 +0000 (07:58 +0000)]
Force people to use an issue template.

4 years agoMove CHANMODES to core_mode and add USERMODES.
Sadie Powell [Thu, 12 Mar 2020 18:24:50 +0000 (18:24 +0000)]
Move CHANMODES to core_mode and add USERMODES.

4 years agoImplement support for the SERVLIST command.
Sadie Powell [Thu, 12 Mar 2020 17:27:11 +0000 (17:27 +0000)]
Implement support for the SERVLIST command.

4 years agoAdd a CapReference class for the message-tags capability.
Sadie Powell [Wed, 11 Mar 2020 19:51:26 +0000 (19:51 +0000)]
Add a CapReference class for the message-tags capability.

4 years agoImprove logging for the m_ldap and m_ldapauth modules (#1757).
Joel Sing [Thu, 12 Mar 2020 05:20:46 +0000 (16:20 +1100)]
Improve logging for the m_ldap and m_ldapauth modules (#1757).

Currently, it is difficult to diagnose LDAP authentication failures,
since the logs do not provide sufficient information about what is
actually being queried and what actually failed.

This increases logging details so that information about the LDAP query
is included, for example:

  Fri Mar 06 2020 08:02:59 ANNOUNCEMENT: Error binding as manager to LDAP
  server: Invalid credentials (bind dn=cn=adminz,dc=nodomain)

Rather than:

  Fri Mar 06 2020 08:02:59 ANNOUNCEMENT: Error binding as manager to LDAP
  server: Invalid credentials

Same with connection logging:

  Fri Mar 06 2020 07:59:53 CONNECT: Forbidden connection from
  jsing!jsing@192.168.200.1 (Invalid credentials (bind
  dn=uid=jsing,dc=nodomain))

  Fri Mar 06 2020 08:01:19 CONNECT: Successful connection from
  jsing!jsing@192.168.200.1 (dn=uid=jsing,dc=nodomain)

4 years agoWarn if the server config contains an unhashed password.
Sadie Powell [Wed, 11 Mar 2020 14:32:46 +0000 (14:32 +0000)]
Warn if the server config contains an unhashed password.

This will be made a hard failure in v4.

4 years agoFix detection of the "plaintext" pseudo-hash being case sensitive.
Sadie Powell [Wed, 11 Mar 2020 13:58:45 +0000 (13:58 +0000)]
Fix detection of the "plaintext" pseudo-hash being case sensitive.

4 years agoFix unnecessary inlining in command handler constructors.
Sadie Powell [Mon, 9 Mar 2020 22:50:48 +0000 (22:50 +0000)]
Fix unnecessary inlining in command handler constructors.

4 years agoFix not assigning bits to capabilities correctly.
Sadie Powell [Mon, 9 Mar 2020 13:57:06 +0000 (13:57 +0000)]
Fix not assigning bits to capabilities correctly.

This makes it correctly throw when the capability limit is reached
and allows up to 64 capabilities to be created instead of 32.

4 years agoImplement support for multi-line CAP responses.
Sadie Powell [Mon, 9 Mar 2020 13:44:07 +0000 (13:44 +0000)]
Implement support for multi-line CAP responses.

4 years agoFix <connect:requiressl> being case sensitive.
Sadie Powell [Mon, 9 Mar 2020 04:34:11 +0000 (04:34 +0000)]
Fix <connect:requiressl> being case sensitive.

4 years agoFix get_cpu_count not being evaluated as a scalar.
Sadie Powell [Mon, 9 Mar 2020 03:44:41 +0000 (03:44 +0000)]
Fix get_cpu_count not being evaluated as a scalar.

This fixes a bug where the changes in 0c34d28447 did not work.

4 years agoStandardise the characters allowed in config identifiers.
Sadie Powell [Thu, 27 Feb 2020 18:52:00 +0000 (18:52 +0000)]
Standardise the characters allowed in config identifiers.

4 years agoMove command stuff to a more appropriate source file.
Sadie Powell [Thu, 27 Feb 2020 12:16:25 +0000 (12:16 +0000)]
Move command stuff to a more appropriate source file.

4 years agoClean up the documentation of the Command and SplitCommand classes.
Sadie Powell [Thu, 27 Feb 2020 11:50:30 +0000 (11:50 +0000)]
Clean up the documentation of the Command and SplitCommand classes.

4 years agoMove user command stuff from CommandBase to Command.
Sadie Powell [Thu, 27 Feb 2020 11:01:32 +0000 (11:01 +0000)]
Move user command stuff from CommandBase to Command.

4 years agoAllow modules to prevent a message from updating the idle time.
Sadie Powell [Mon, 24 Feb 2020 02:10:36 +0000 (02:10 +0000)]
Allow modules to prevent a message from updating the idle time.

4 years agoImprove the description of the sslinfo module (#1755).
Matt Schatz [Wed, 26 Feb 2020 05:11:50 +0000 (22:11 -0700)]
Improve the description of the sslinfo module (#1755).

4 years agoUse "yes" instead of "true" in the example configs.
Sadie Powell [Fri, 21 Feb 2020 20:37:00 +0000 (20:37 +0000)]
Use "yes" instead of "true" in the example configs.

4 years agoAdd support for requiring users to use SSL in order to use SASL.
Sadie Powell [Fri, 21 Feb 2020 20:27:05 +0000 (20:27 +0000)]
Add support for requiring users to use SSL in order to use SASL.

4 years agoImprove the documentation of <sasl:server>.
Sadie Powell [Fri, 21 Feb 2020 20:26:23 +0000 (20:26 +0000)]
Improve the documentation of <sasl:server>.

4 years agoAdd support for using environment variables in the config.
Sadie Powell [Thu, 20 Feb 2020 18:02:51 +0000 (18:02 +0000)]
Add support for using environment variables in the config.

4 years agoFix a memory leak in the httpd module when sockets are closed late.
Sadie Powell [Wed, 19 Feb 2020 18:00:36 +0000 (18:00 +0000)]
Fix a memory leak in the httpd module when sockets are closed late.

4 years agoLower <sts:duration> to 5m to prevent misconfigs denying access.
Sadie Powell [Wed, 19 Feb 2020 09:58:47 +0000 (09:58 +0000)]
Lower <sts:duration> to 5m to prevent misconfigs denying access.

4 years agoExtract time skip warning code to a static function.
Sadie Powell [Wed, 19 Feb 2020 08:24:40 +0000 (08:24 +0000)]
Extract time skip warning code to a static function.

4 years agoConvert some things to HasFd that were previously missed.
Sadie Powell [Wed, 19 Feb 2020 05:12:53 +0000 (05:12 +0000)]
Convert some things to HasFd that were previously missed.

4 years agoBump the module ABI version.
Sadie Powell [Wed, 19 Feb 2020 00:39:53 +0000 (00:39 +0000)]
Bump the module ABI version.

4 years agoFix a copy/paste error in IRCv3::Replies::Reply.
Sadie Powell [Wed, 19 Feb 2020 00:39:10 +0000 (00:39 +0000)]
Fix a copy/paste error in IRCv3::Replies::Reply.

4 years agoFix the syntax of the filter module's stats.
Sadie Powell [Tue, 18 Feb 2020 20:23:43 +0000 (20:23 +0000)]
Fix the syntax of the filter module's stats.