]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
3 years agoAdd support for per-DNSBL timeouts.
Sadie Powell [Wed, 31 Mar 2021 12:30:53 +0000 (13:30 +0100)]
Add support for per-DNSBL timeouts.

This should fix the issue of some DNSBLs being slower than others.

3 years agoFix various documentation comments.
Sadie Powell [Wed, 31 Mar 2021 09:38:54 +0000 (10:38 +0100)]
Fix various documentation comments.

3 years agoAdd support for matching multiple hosts in <connect:{allow,deny}>.
Sadie Powell [Mon, 22 Mar 2021 14:43:05 +0000 (14:43 +0000)]
Add support for matching multiple hosts in <connect:{allow,deny}>.

3 years agoAdd support for blocking tag messages with the deaf mode.
Sadie Powell [Sat, 27 Mar 2021 12:45:36 +0000 (12:45 +0000)]
Add support for blocking tag messages with the deaf mode.

3 years agoMake the system-wide runtime directory /var/run/inspircd.
Sadie Powell [Wed, 24 Mar 2021 15:36:03 +0000 (15:36 +0000)]
Make the system-wide runtime directory /var/run/inspircd.

This avoids permission issues.

3 years agoRemove the Kiwi links from the readme.
Sadie Powell [Tue, 23 Mar 2021 10:12:32 +0000 (10:12 +0000)]
Remove the Kiwi links from the readme.

If you're setting up an IRC server you should be able to use an
IRC client to connect to the support channel.

3 years agoImprove the header messages of the filter and permchannels modules.
Sadie Powell [Sun, 21 Mar 2021 01:25:33 +0000 (01:25 +0000)]
Improve the header messages of the filter and permchannels modules.

3 years agoAdd an <include> option to allow certain config files to not exist.
Sadie Powell [Fri, 19 Mar 2021 00:51:09 +0000 (00:51 +0000)]
Add an <include> option to allow certain config files to not exist.

This is useful when using modules that generate a config file such
as the filter and permchannels modules.

3 years agoDefault <permchannelsdb:listmodes> to on.
Sadie Powell [Sun, 14 Mar 2021 02:59:13 +0000 (02:59 +0000)]
Default <permchannelsdb:listmodes> to on.

3 years agoImplement support for saving filters.
Sadie Powell [Sun, 14 Mar 2021 02:20:32 +0000 (02:20 +0000)]
Implement support for saving filters.

3 years agoConvert the ISO 8859-2 nationalchars files to codepage configs.
Sadie Powell [Sat, 13 Mar 2021 14:54:15 +0000 (14:54 +0000)]
Convert the ISO 8859-2 nationalchars files to codepage configs.

3 years agoRename the latin1 codepage to iso-8859-1.
Sadie Powell [Sun, 14 Mar 2021 00:18:33 +0000 (00:18 +0000)]
Rename the latin1 codepage to iso-8859-1.

3 years agoTreat an empty bool/duration/int/uint config field as undefined.
Sadie Powell [Sat, 13 Mar 2021 02:33:05 +0000 (02:33 +0000)]
Treat an empty bool/duration/int/uint config field as undefined.

3 years agoAllow passing --prefix with --system.
Sadie Powell [Thu, 11 Mar 2021 07:07:09 +0000 (07:07 +0000)]
Allow passing --prefix with --system.

3 years agoAdd support for sending a standard reply with no command name.
Sadie Powell [Thu, 11 Mar 2021 05:37:15 +0000 (05:37 +0000)]
Add support for sending a standard reply with no command name.

3 years agoRename `<bind:ssl>` to `<bind:sslprofile>`.
Sadie Powell [Wed, 10 Mar 2021 03:43:56 +0000 (03:43 +0000)]
Rename `<bind:ssl>` to `<bind:sslprofile>`.

3 years agoRename `<link:ssl>` to `<link:sslprofile>`.
Sadie Powell [Wed, 10 Mar 2021 03:30:50 +0000 (03:30 +0000)]
Rename `<link:ssl>` to `<link:sslprofile>`.

3 years agoFix the cloaking module on C++98 compilers.
Sadie Powell [Wed, 10 Mar 2021 04:17:09 +0000 (04:17 +0000)]
Fix the cloaking module on C++98 compilers.

3 years agoAdd a human-readable version of the cloak list.
Sadie Powell [Tue, 9 Mar 2021 10:26:19 +0000 (10:26 +0000)]
Add a human-readable version of the cloak list.

3 years agoSpace-delimit the human readable callerid extensible data.
Sadie Powell [Tue, 9 Mar 2021 09:39:12 +0000 (09:39 +0000)]
Space-delimit the human readable callerid extensible data.

3 years agoAdd a subclass of IOHookProvider for SSL modules.
Sadie Powell [Tue, 9 Mar 2021 01:00:16 +0000 (01:00 +0000)]
Add a subclass of IOHookProvider for SSL modules.

3 years agoFix the `STATS p` output being ambiguous.
Sadie Powell [Mon, 8 Mar 2021 13:22:13 +0000 (13:22 +0000)]
Fix the `STATS p` output being ambiguous.

- Add the middle I/O hook to the stats output.
- Make it obvious what the various fields actually are.

3 years agoFix using single quotes where double quotes should be used.
Sadie Powell [Sat, 6 Mar 2021 02:31:10 +0000 (02:31 +0000)]
Fix using single quotes where double quotes should be used.

3 years agoFix not always incrementing the DNSBL stats.
Sadie Powell [Sat, 6 Mar 2021 02:13:10 +0000 (02:13 +0000)]
Fix not always incrementing the DNSBL stats.

3 years agoFix a bunch of really obvious unnecessary includes.
Sadie Powell [Fri, 5 Mar 2021 08:39:42 +0000 (08:39 +0000)]
Fix a bunch of really obvious unnecessary includes.

3 years agoFix detection of the ldap, regex_stdlib, and ssl_mbedtls module deps.
Sadie Powell [Fri, 5 Mar 2021 07:52:15 +0000 (07:52 +0000)]
Fix detection of the ldap, regex_stdlib, and ssl_mbedtls module deps.

I am so sorry for writing this cursed magic.

3 years agoRemove some todo comments which are outdated or misleading.
Sadie Powell [Fri, 5 Mar 2021 04:30:08 +0000 (04:30 +0000)]
Remove some todo comments which are outdated or misleading.

3 years agoFix comments that claim that the InspIRCd protocol uses TS6 UUIDs.
Sadie Powell [Fri, 5 Mar 2021 03:23:25 +0000 (03:23 +0000)]
Fix comments that claim that the InspIRCd protocol uses TS6 UUIDs.

Just because they happen to look the same doesn't mean that they
actually are.

3 years agoFix weird typemask logic in the connect class reader.
Sadie Powell [Fri, 5 Mar 2021 02:59:24 +0000 (02:59 +0000)]
Fix weird typemask logic in the connect class reader.

3 years agoUpdate copyright headers.
InspIRCd Robot [Fri, 5 Mar 2021 02:04:16 +0000 (02:04 +0000)]
Update copyright headers.

3 years agoFix parsing the output of git-blame in mkheaders.
Sadie Powell [Fri, 5 Mar 2021 01:41:52 +0000 (01:41 +0000)]
Fix parsing the output of git-blame in mkheaders.

3 years agoIgnore moved lines in mkheaders.
Sadie Powell [Fri, 5 Mar 2021 00:36:13 +0000 (00:36 +0000)]
Ignore moved lines in mkheaders.

3 years agoUse InnoDB instead of the deprecated MyISAM in the sqloper table.
Sadie Powell [Thu, 4 Mar 2021 01:30:21 +0000 (01:30 +0000)]
Use InnoDB instead of the deprecated MyISAM in the sqloper table.

3 years agoFix not being able to colour format output to stderr on Windows.
Sadie Powell [Wed, 3 Mar 2021 01:52:27 +0000 (01:52 +0000)]
Fix not being able to colour format output to stderr on Windows.

3 years agoFix building on Windows.
Sadie Powell [Tue, 2 Mar 2021 23:46:08 +0000 (23:46 +0000)]
Fix building on Windows.

3 years agoFix using std::cout instead of errstr when a port fails to bind.
Sadie Powell [Tue, 2 Mar 2021 22:31:29 +0000 (22:31 +0000)]
Fix using std::cout instead of errstr when a port fails to bind.

3 years agoDeduplicate checking the source for the users/auspex priv in WHO.
Sadie Powell [Tue, 2 Mar 2021 19:58:05 +0000 (19:58 +0000)]
Deduplicate checking the source for the users/auspex priv in WHO.

3 years agoFix fuzzy matching in core_who.
Sadie Powell [Tue, 2 Mar 2021 19:55:54 +0000 (19:55 +0000)]
Fix fuzzy matching in core_who.

Previously this code would consider requests with fields but no
flags as fuzzy. This is incorrect as users can make requests like:

    WHO Sadie %n

Reported by @ilbelkyr.

3 years agoFix warning about unknown sections in the contrib module manifest.
Sadie Powell [Tue, 2 Mar 2021 05:22:07 +0000 (05:22 +0000)]
Fix warning about unknown sections in the contrib module manifest.

3 years agoFix sending Q-line notices to snomask `a` instead of snomask `x`.
Sadie Powell [Mon, 1 Mar 2021 16:21:15 +0000 (16:21 +0000)]
Fix sending Q-line notices to snomask `a` instead of snomask `x`.

3 years agoFix print_warning using print instead of say.
Sadie Powell [Sun, 28 Feb 2021 19:55:31 +0000 (19:55 +0000)]
Fix print_warning using print instead of say.

3 years agoWarn users of old compiler versions about the upcoming version bump.
Sadie Powell [Sun, 28 Feb 2021 19:54:12 +0000 (19:54 +0000)]
Warn users of old compiler versions about the upcoming version bump.

3 years agoWarn users of old Perl versions about the upcoming version bump.
Sadie Powell [Sun, 28 Feb 2021 19:32:33 +0000 (19:32 +0000)]
Warn users of old Perl versions about the upcoming version bump.

3 years agoFix running configure on systems with old versions of Perl.
Sadie Powell [Sun, 28 Feb 2021 18:46:56 +0000 (18:46 +0000)]
Fix running configure on systems with old versions of Perl.

Closes #1852.

3 years agoFix not sending ERR_INVALIDMODEPARAM when a parameter is malformed.
Sadie Powell [Sat, 27 Feb 2021 01:30:45 +0000 (01:30 +0000)]
Fix not sending ERR_INVALIDMODEPARAM when a parameter is malformed.

Closes #1850.

3 years agoRelease v3.9.0.
Sadie Powell [Fri, 26 Feb 2021 07:00:33 +0000 (07:00 +0000)]
Release v3.9.0.

3 years agoUpdate copyright headers.
InspIRCd Robot [Fri, 26 Feb 2021 06:58:13 +0000 (06:58 +0000)]
Update copyright headers.

3 years agoImplement support for multi-prefix on WHOIS.
Sadie Powell [Thu, 25 Feb 2021 20:06:46 +0000 (20:06 +0000)]
Implement support for multi-prefix on WHOIS.

3 years agoAllow a statusmsg to have multiple statuses and pick the lowest.
Sadie Powell [Thu, 25 Feb 2021 06:47:34 +0000 (06:47 +0000)]
Allow a statusmsg to have multiple statuses and pick the lowest.

This is pretty much useless but other implementations support it
so we have to also support it for compatibility.

3 years agoRefactor OnUserPostMessage in the chanhistory module.
Sadie Powell [Wed, 24 Feb 2021 18:08:15 +0000 (18:08 +0000)]
Refactor OnUserPostMessage in the chanhistory module.

3 years agoFix a grammar issue in the helpop config.
Sadie Powell [Mon, 22 Feb 2021 22:22:25 +0000 (22:22 +0000)]
Fix a grammar issue in the helpop config.

3 years agoAdd snomask permissions to the oper check output.
Sadie Powell [Mon, 22 Feb 2021 04:16:24 +0000 (04:16 +0000)]
Add snomask permissions to the oper check output.

3 years agoAdd a human-readable serialiser to the geolocation extensible.
Sadie Powell [Mon, 22 Feb 2021 03:10:50 +0000 (03:10 +0000)]
Add a human-readable serialiser to the geolocation extensible.

3 years agoFix checking the wrong user in SERVLIST.
Sadie Powell [Sun, 21 Feb 2021 07:51:43 +0000 (07:51 +0000)]
Fix checking the wrong user in SERVLIST.

3 years agoAdd a config option for exempting classes from connflood.
Sadie Powell [Sun, 21 Feb 2021 04:09:59 +0000 (04:09 +0000)]
Add a config option for exempting classes from connflood.

3 years agoAdd a command to the cgiirc module for encoding/decoding hex idents.
Sadie Powell [Sun, 21 Feb 2021 01:59:44 +0000 (01:59 +0000)]
Add a command to the cgiirc module for encoding/decoding hex idents.

3 years agoRename the cmd variable to cmdwebirc in the cgiirc module.
Sadie Powell [Sun, 21 Feb 2021 01:04:57 +0000 (01:04 +0000)]
Rename the cmd variable to cmdwebirc in the cgiirc module.

3 years agoFix the numeric sent when a U-lined alias target is not online.
Sadie Powell [Thu, 18 Feb 2021 04:10:14 +0000 (04:10 +0000)]
Fix the numeric sent when a U-lined alias target is not online.

3 years agoFix the message sent when SSL profiles are rehashed.
Sadie Powell [Thu, 18 Feb 2021 00:42:32 +0000 (00:42 +0000)]
Fix the message sent when SSL profiles are rehashed.

3 years agoMove linuxdaemon and Sheogorath to former contributors.
Sadie Powell [Wed, 10 Feb 2021 23:59:27 +0000 (23:59 +0000)]
Move linuxdaemon and Sheogorath to former contributors.

3 years agoFix the system-wide paths to not violate the Linux FHS.
Sadie Powell [Mon, 8 Feb 2021 12:35:47 +0000 (12:35 +0000)]
Fix the system-wide paths to not violate the Linux FHS.

3 years agoImprovements and updates to misspell-fixer.
Matt Schatz [Sun, 7 Feb 2021 05:46:35 +0000 (22:46 -0700)]
Improvements and updates to misspell-fixer.

- Update to v3 of the create-pull-request action.
- Improve the whitelist for directive.pm 'atleast'.
- Whitelist 'eiter' in source and header files.

3 years agoShow the name of the WebIRC gateway in the IP changing notice.
Sadie Powell [Fri, 5 Feb 2021 23:34:14 +0000 (23:34 +0000)]
Show the name of the WebIRC gateway in the IP changing notice.

3 years agoDuplicate the stdout file handle when used for logging.
Sadie Powell [Mon, 1 Feb 2021 18:10:53 +0000 (18:10 +0000)]
Duplicate the stdout file handle when used for logging.

Failure to do this may result in a crash on shutdown when started
in debug mode.

3 years agoFix using the TR1 headers on compilers that support C++17.
Sadie Powell [Mon, 1 Feb 2021 17:00:19 +0000 (17:00 +0000)]
Fix using the TR1 headers on compilers that support C++17.

3 years agoMove SSLINFO code for users to its own function and refactor.
Sadie Powell [Mon, 1 Feb 2021 14:13:36 +0000 (14:13 +0000)]
Move SSLINFO code for users to its own function and refactor.

3 years agoAllow using SSLINFO on channels.
Sadie Powell [Mon, 1 Feb 2021 14:11:12 +0000 (14:11 +0000)]
Allow using SSLINFO on channels.

3 years agoConvert SSLINFO to SplitCommand.
Sadie Powell [Mon, 1 Feb 2021 13:02:07 +0000 (13:02 +0000)]
Convert SSLINFO to SplitCommand.

3 years agoRead <sslinfo:operonly> once at load time.
Sadie Powell [Mon, 1 Feb 2021 12:59:06 +0000 (12:59 +0000)]
Read <sslinfo:operonly> once at load time.

3 years agoFix the base path being used for more than just the install prefix.
Sadie Powell [Sun, 31 Jan 2021 14:33:53 +0000 (14:33 +0000)]
Fix the base path being used for more than just the install prefix.

3 years agoFix bitshift in INSPIRCD_VERSION_SINCE.
Sadie Powell [Sat, 30 Jan 2021 17:31:40 +0000 (17:31 +0000)]
Fix bitshift in INSPIRCD_VERSION_SINCE.

3 years agoFix an oversight in the previous commit.
Sadie Powell [Sat, 30 Jan 2021 16:46:23 +0000 (16:46 +0000)]
Fix an oversight in the previous commit.

3 years agoFix a few issues with SERVLIST.
Sadie Powell [Sat, 30 Jan 2021 16:29:01 +0000 (16:29 +0000)]
Fix a few issues with SERVLIST.

- Implement support for service type matching based on the service
  oper type. This isn't the same as irc2 but its close enough.
- Fix erroneously sending the mask in the <mask> field. This field
  is for the service name mask not the service distribution mask.

3 years agoRemove unnecessary chdirs in the helper script.
Sadie Powell [Fri, 29 Jan 2021 15:01:37 +0000 (15:01 +0000)]
Remove unnecessary chdirs in the helper script.

3 years agoFix some minor oversights introduced in 859a799 and 3e557e8.
Sadie Powell [Fri, 29 Jan 2021 14:22:04 +0000 (14:22 +0000)]
Fix some minor oversights introduced in 859a799 and 3e557e8.

3 years agoImprove the `./configure --help` output
Sadie Powell [Fri, 29 Jan 2021 14:09:28 +0000 (14:09 +0000)]
Improve the `./configure --help` output

- Document --portable, --runtime-dir, and INSPIRCD_VERBOSE.
- Make the output coloured on supporting terminals.
- Fix the description of --data-dir.
- Wrap all lines at 80 charactrs.
- Upper case the value names and wrap in <> not [].

3 years agoAlways use for in Perl modules.
Sadie Powell [Fri, 29 Jan 2021 13:46:37 +0000 (13:46 +0000)]
Always use for in Perl modules.

3 years agoPurge all remaining uses of print_format.
Sadie Powell [Fri, 29 Jan 2021 13:39:13 +0000 (13:39 +0000)]
Purge all remaining uses of print_format.

3 years agoUpdate the mailmap.
Sadie Powell [Thu, 28 Jan 2021 11:54:41 +0000 (11:54 +0000)]
Update the mailmap.

3 years agoExempt IRCCloud users from connectban and DNSBL lookups.
Sadie Powell [Wed, 27 Jan 2021 19:33:09 +0000 (19:33 +0000)]
Exempt IRCCloud users from connectban and DNSBL lookups.

3 years agoAllow disabling connectban for specific connect classes.
Sadie Powell [Wed, 27 Jan 2021 19:31:48 +0000 (19:31 +0000)]
Allow disabling connectban for specific connect classes.

Ref: #1841.

3 years agoMigrate some stuff away from print_format.
Sadie Powell [Wed, 27 Jan 2021 16:47:08 +0000 (16:47 +0000)]
Migrate some stuff away from print_format.

3 years agoFix unnecessary begin blocks in Perl source files.
Sadie Powell [Mon, 25 Jan 2021 12:13:54 +0000 (12:13 +0000)]
Fix unnecessary begin blocks in Perl source files.

3 years agoMake the UNIX socket listener path relative to the runtime path.
Sadie Powell [Wed, 20 Jan 2021 11:50:41 +0000 (11:50 +0000)]
Make the UNIX socket listener path relative to the runtime path.

This is not a breaking change because unless the runtime path is
explicitly set it defaults to the same as the data path.

3 years agoAdd <dns:enabled>; allows disabling DNS lookups entirely.
Sadie Powell [Tue, 19 Jan 2021 08:42:44 +0000 (08:42 +0000)]
Add <dns:enabled>; allows disabling DNS lookups entirely.

Ref: #1839.

3 years agoAllow converting a Cap::Reference to a Cap::Capability*.
Sadie Powell [Tue, 19 Jan 2021 08:11:01 +0000 (08:11 +0000)]
Allow converting a Cap::Reference to a Cap::Capability*.

3 years agoSend ERR_CANTUNLOADMODULE when unloading a module on reload fails.
Sadie Powell [Tue, 19 Jan 2021 07:19:48 +0000 (07:19 +0000)]
Send ERR_CANTUNLOADMODULE when unloading a module on reload fails.

3 years agoRefactor the globalload module.
Sadie Powell [Tue, 19 Jan 2021 07:05:51 +0000 (07:05 +0000)]
Refactor the globalload module.

- Require that a non-empty last parameter is given to the commands.
- Use WriteRemoteNumeric instead of WriteNumeric so opers actually see the response.
- Store <security:allowcoreunload> instead of looking it up every time.

3 years agoFix the DNS socket not being closed when core_dns is unloaded.
Sadie Powell [Tue, 19 Jan 2021 01:43:24 +0000 (01:43 +0000)]
Fix the DNS socket not being closed when core_dns is unloaded.

3 years agoAdded <module name="codepage"> to modules.conf.example.
R-V6 [Mon, 18 Jan 2021 23:46:32 +0000 (23:46 +0000)]
Added <module name="codepage"> to modules.conf.example.

3 years agoAdd a separate stats class for DNSBL errors.
Sadie Powell [Mon, 18 Jan 2021 10:22:05 +0000 (10:22 +0000)]
Add a separate stats class for DNSBL errors.

3 years agoImprove the robustness of the DNSBL module.
Sadie Powell [Mon, 18 Jan 2021 09:39:00 +0000 (09:39 +0000)]
Improve the robustness of the DNSBL module.

- Handle DNSBLs that return invalid lookup results.
- Fix DNSBLs that return non-local addresses blocking connections.
- Fix silently failing when a DNSBL returns no IPv4 results.
- General code cleanup.

3 years agoImplemented configurable kick message for the repeat module (#1835).
iwalkalone [Mon, 18 Jan 2021 07:22:44 +0000 (08:22 +0100)]
Implemented configurable kick message for the repeat module (#1835).

3 years agoFix showing the start header when using --version.
Sadie Powell [Mon, 18 Jan 2021 07:07:50 +0000 (07:07 +0000)]
Fix showing the start header when using --version.

3 years agoAdd a new runtime directory and move the pid file to it.
Sadie Powell [Mon, 18 Jan 2021 06:56:18 +0000 (06:56 +0000)]
Add a new runtime directory and move the pid file to it.

The data directory is intended for persistent files whereas the pid
file is ephemeral. This distinction doesn't matter by default but
on system-wide installs ephemeral runtime files go in /var/run or
/run instead.

3 years agoFix `./configure --update` with cache files generated before v3.2.
Sadie Powell [Mon, 18 Jan 2021 06:54:01 +0000 (06:54 +0000)]
Fix `./configure --update` with cache files generated before v3.2.

3 years agoAdd default empty openssl compiler flags.
Sadie Powell [Mon, 18 Jan 2021 05:38:11 +0000 (05:38 +0000)]
Add default empty openssl compiler flags.

This makes things easier for users who are using InspIRCd on OSes
where OpenSSL is part of the base system.

3 years agoFix not rejecting attempts to set snomasks with SAMODE/override.
Sadie Powell [Sat, 16 Jan 2021 04:48:16 +0000 (04:48 +0000)]
Fix not rejecting attempts to set snomasks with SAMODE/override.

3 years agoDelete the ISO 8859-1 locale files.
Sadie Powell [Thu, 14 Jan 2021 12:40:33 +0000 (12:40 +0000)]
Delete the ISO 8859-1 locale files.

These are all subsets of the latin1 codepage file which should be
used instead.

3 years agoAdd a shun option to only apply when users are fully connected.
Sadie Powell [Wed, 13 Jan 2021 00:05:17 +0000 (00:05 +0000)]
Add a shun option to only apply when users are fully connected.

Closes #1825.