]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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.

3 years agoImprove parsing modes and snomasks in oper classes.
Sadie Powell [Tue, 12 Jan 2021 23:52:22 +0000 (23:52 +0000)]
Improve parsing modes and snomasks in oper classes.

- Deduplicate the code to one function.
- Fix defaulting snomasks when a user has more than one class.

3 years agoAdd a user mode which allows disabling receiving channel history.
Sadie Powell [Mon, 11 Jan 2021 10:07:11 +0000 (10:07 +0000)]
Add a user mode which allows disabling receiving channel history.

Closes #1830.

3 years agoImplement support for more XML and IRC colour code escapes.
Sadie Powell [Thu, 7 Jan 2021 11:36:34 +0000 (11:36 +0000)]
Implement support for more XML and IRC colour code escapes.

3 years agov2 is dead, long live v3!
Sadie Powell [Thu, 31 Dec 2020 00:12:58 +0000 (00:12 +0000)]
v2 is dead, long live v3!

3 years agoUse the builtin Perl kill function not system.
Sadie Powell [Mon, 28 Dec 2020 19:40:25 +0000 (19:40 +0000)]
Use the builtin Perl kill function not system.

3 years agoExport console_format from make::console and make it more robust.
Sadie Powell [Fri, 25 Dec 2020 05:12:11 +0000 (05:12 +0000)]
Export console_format from make::console and make it more robust.

Previously a module could do warning("<|INVALID wibble|>") in its
$CompilerFlags or $LinkerFLags and this would break the build.

3 years agoDisallow an empty last parameter in MAP.
Matt Schatz [Wed, 30 Dec 2020 16:55:28 +0000 (09:55 -0700)]
Disallow an empty last parameter in MAP.

3 years agoAvoid doing more work than necessary when checking the O: extban.
Sadie Powell [Fri, 25 Dec 2020 03:46:43 +0000 (03:46 +0000)]
Avoid doing more work than necessary when checking the O: extban.

3 years agoReplace spaces with underscores when checking for class bans.
Sadie Powell [Fri, 25 Dec 2020 03:42:11 +0000 (03:42 +0000)]
Replace spaces with underscores when checking for class bans.

3 years agoPush users towards using SSL profiles for SSL config.
Sadie Powell [Thu, 24 Dec 2020 20:55:10 +0000 (20:55 +0000)]
Push users towards using SSL profiles for SSL config.

3 years agoRemove example securelist exemptions for IRCDriven and IRCSource.
Sadie Powell [Wed, 23 Dec 2020 17:09:38 +0000 (17:09 +0000)]
Remove example securelist exemptions for IRCDriven and IRCSource.

Both of these are apparently dead.

3 years agoFix core message events not being fired.
Sadie Powell [Wed, 23 Dec 2020 15:39:31 +0000 (15:39 +0000)]
Fix core message events not being fired.

Third time lucky eh?

3 years agoAdd config files for popular DNSBL providers.
Sadie Powell [Tue, 22 Dec 2020 06:07:11 +0000 (06:07 +0000)]
Add config files for popular DNSBL providers.

3 years agoAdd support for multiple hostmasks in <cgiirc:mask>.
Sadie Powell [Tue, 22 Dec 2020 05:48:53 +0000 (05:48 +0000)]
Add support for multiple hostmasks in <cgiirc:mask>.

3 years agoAfter changing the codepage rename duplicate users to their UUID.
Sadie Powell [Tue, 22 Dec 2020 04:10:07 +0000 (04:10 +0000)]
After changing the codepage rename duplicate users to their UUID.

3 years agoSend RPL_SAVENICK from irc2 when renaming a user to their UUID.
Sadie Powell [Tue, 22 Dec 2020 03:53:00 +0000 (03:53 +0000)]
Send RPL_SAVENICK from irc2 when renaming a user to their UUID.

3 years agoReplace the SERVER stub command with something actually useful.
Sadie Powell [Sun, 20 Dec 2020 04:04:19 +0000 (04:04 +0000)]
Replace the SERVER stub command with something actually useful.

This will typically never be reached because the remote will wait
until it receives a CAPAB response before sending SERVER. Instead
replace it with a CAPAB stub command that quits servers with a
helpful message.

3 years agoHide the server name/desc better when <options:hideserver> is set.
Sadie Powell [Sun, 20 Dec 2020 03:04:21 +0000 (03:04 +0000)]
Hide the server name/desc better when <options:hideserver> is set.

3 years agoFix an inverted condition in the previous commit.
Sadie Powell [Sun, 20 Dec 2020 00:25:18 +0000 (00:25 +0000)]
Fix an inverted condition in the previous commit.

3 years agoDon't call events provided by dying or dead modules.
Sadie Powell [Fri, 18 Dec 2020 00:55:22 +0000 (00:55 +0000)]
Don't call events provided by dying or dead modules.

3 years agoFix MAP output on a dual v2/v3 network.
Sadie Powell [Wed, 16 Dec 2020 14:53:12 +0000 (14:53 +0000)]
Fix MAP output on a dual v2/v3 network.

3 years agoFix an inverted condition in cmd_modules.
Sadie Powell [Wed, 16 Dec 2020 13:04:54 +0000 (13:04 +0000)]
Fix an inverted condition in cmd_modules.

3 years agoUse !empty instead of size when checking if containers are empty.
Sadie Powell [Wed, 16 Dec 2020 03:46:36 +0000 (03:46 +0000)]
Use !empty instead of size when checking if containers are empty.

3 years agoUpdate the misspell-fixer ignores.
Sadie Powell [Tue, 15 Dec 2020 00:34:43 +0000 (00:34 +0000)]
Update the misspell-fixer ignores.

3 years agoMake people aware that they can get support on GitHub now.
Sadie Powell [Wed, 9 Dec 2020 02:02:36 +0000 (02:02 +0000)]
Make people aware that they can get support on GitHub now.

3 years agoFix issue where m_pbkdf2 was not aware of services loaded before it
Daniel Vassdal [Mon, 30 Nov 2020 20:12:52 +0000 (21:12 +0100)]
Fix issue where m_pbkdf2 was not aware of services loaded before it

3 years agoAdd a typedef for the data provider map.
Sadie Powell [Fri, 4 Dec 2020 17:43:47 +0000 (17:43 +0000)]
Add a typedef for the data provider map.

3 years agoImprove the logging of service adding/deleting.
Sadie Powell [Fri, 4 Dec 2020 15:55:28 +0000 (15:55 +0000)]
Improve the logging of service adding/deleting.

3 years agoFire service deregistration events properly.
Sadie Powell [Fri, 4 Dec 2020 15:32:02 +0000 (15:32 +0000)]
Fire service deregistration events properly.

3 years agoFix a copy/paste error in the http path normalising code.
Sadie Powell [Fri, 4 Dec 2020 15:56:14 +0000 (15:56 +0000)]
Fix a copy/paste error in the http path normalising code.

3 years agoFix the name of the sha1 provider.
Sadie Powell [Fri, 4 Dec 2020 14:18:33 +0000 (14:18 +0000)]
Fix the name of the sha1 provider.

3 years agoNormalise paths in the httpd module.
Sadie Powell [Fri, 4 Dec 2020 14:16:26 +0000 (14:16 +0000)]
Normalise paths in the httpd module.

3 years agoImprove HTTP logging.
Sadie Powell [Fri, 4 Dec 2020 14:16:19 +0000 (14:16 +0000)]
Improve HTTP logging.

3 years agoBe more specific when a HTTP parser error happens.
Sadie Powell [Thu, 3 Dec 2020 19:20:59 +0000 (19:20 +0000)]
Be more specific when a HTTP parser error happens.

3 years agoFix default linker flags in libargon2
Elizabeth Myers [Thu, 3 Dec 2020 02:03:24 +0000 (20:03 -0600)]
Fix default linker flags in libargon2

It's -largon2, not -llibargon2. I've experienced build failures due to this.

3 years agoAdvertise the available extbans for services.
Sadie Powell [Thu, 3 Dec 2020 02:05:45 +0000 (02:05 +0000)]
Advertise the available extbans for services.

3 years agoCheck the ident when checking against IP in ldapoper (#1823)
Christos Triantafyllidis [Thu, 3 Dec 2020 01:25:47 +0000 (01:25 +0000)]
Check the ident when checking against IP in ldapoper (#1823)

3 years agoWarn that v2 support ends soon.
Sadie Powell [Tue, 1 Dec 2020 21:12:00 +0000 (21:12 +0000)]
Warn that v2 support ends soon.

3 years agoPrevent people from using default nicks with the Kiwi links.
Sadie Powell [Tue, 1 Dec 2020 19:43:46 +0000 (19:43 +0000)]
Prevent people from using default nicks with the Kiwi links.

3 years agoDocument that exemptions configured in <options:exemptchanops> can be negated.
Robby [Sun, 29 Nov 2020 21:16:44 +0000 (22:16 +0100)]
Document that exemptions configured in <options:exemptchanops> can be negated.
Change the <badnick> example in inspircd.conf.example to another nick, since ChanServ is already covered by examples/services/generic.conf.example.

3 years agoMove the example TCP/IP listeners for servers to links.conf.example.
Robby [Sat, 28 Nov 2020 18:25:17 +0000 (19:25 +0100)]
Move the example TCP/IP listeners for servers to links.conf.example.

3 years agoMove the example TCP listener for clients so they're grouped together.
Robby [Sat, 28 Nov 2020 17:24:19 +0000 (18:24 +0100)]
Move the example TCP listener for clients so they're grouped together.
Change the wording slightly on the <sslprofile> comment to be plural, as this is not specific to a particular listener.

3 years agoChange the remaining instances of "true", "on", "false" and "off" to "yes" and "no...
Robby [Thu, 26 Nov 2020 23:08:23 +0000 (00:08 +0100)]
Change the remaining instances of "true", "on", "false" and "off" to "yes" and "no" in the example configs.

3 years agoAdd corefiles to the git ignore list.
Sadie Powell [Thu, 26 Nov 2020 20:41:12 +0000 (20:41 +0000)]
Add corefiles to the git ignore list.

3 years agoRemove a corefile which was mistakenly committed.
Sadie Powell [Thu, 26 Nov 2020 20:40:16 +0000 (20:40 +0000)]
Remove a corefile which was mistakenly committed.

3 years agoFix the description of <nickflood:duration>.
Sadie Powell [Thu, 26 Nov 2020 17:27:37 +0000 (17:27 +0000)]
Fix the description of <nickflood:duration>.

3 years agoReword the uhnames and namesx docs.
Sadie Powell [Thu, 26 Nov 2020 17:22:03 +0000 (17:22 +0000)]
Reword the uhnames and namesx docs.

3 years agoFail a SANICK if the target nickname already exists.
Sadie Powell [Tue, 24 Nov 2020 16:41:27 +0000 (16:41 +0000)]
Fail a SANICK if the target nickname already exists.

Workaround for #1791.

3 years agoFix some confusing logic in sanick.
Sadie Powell [Tue, 24 Nov 2020 16:28:02 +0000 (16:28 +0000)]
Fix some confusing logic in sanick.

3 years agoImprove the message sent when overriding channel modes.
satmd [Sun, 22 Nov 2020 20:20:03 +0000 (21:20 +0100)]
Improve the message sent when overriding channel modes.

Ref: #1816.

3 years agoRelease v3.8.1.
Sadie Powell [Fri, 20 Nov 2020 12:08:47 +0000 (12:08 +0000)]
Release v3.8.1.

3 years agoUpdate copyright headers.
InspIRCd Robot [Thu, 19 Nov 2020 22:09:17 +0000 (22:09 +0000)]
Update copyright headers.

3 years agoUpdate the module descriptions.
Sadie Powell [Thu, 19 Nov 2020 21:19:19 +0000 (21:19 +0000)]
Update the module descriptions.

3 years agoFail websocket connections if changing the user's IP errors.
Sadie Powell [Thu, 19 Nov 2020 20:29:54 +0000 (20:29 +0000)]
Fail websocket connections if changing the user's IP errors.

3 years agoAvoid doing "IP changed" event stuff on quitting users.
Sadie Powell [Thu, 19 Nov 2020 19:21:10 +0000 (19:21 +0000)]
Avoid doing "IP changed" event stuff on quitting users.

3 years agoUpdate the misspell-fixer exception for directive.pm.
Matt Schatz [Sun, 15 Nov 2020 01:52:45 +0000 (18:52 -0700)]
Update the misspell-fixer exception for directive.pm.

3 years agoRemove an obsolete comment about BSD Make.
Sadie Powell [Thu, 12 Nov 2020 20:33:42 +0000 (20:33 +0000)]
Remove an obsolete comment about BSD Make.

3 years agoSilence a harmless warning in newer versions of GCC.
Sadie Powell [Thu, 12 Nov 2020 14:26:20 +0000 (14:26 +0000)]
Silence a harmless warning in newer versions of GCC.

3 years agoAdd an AppArmor config.
Sadie Powell [Thu, 12 Nov 2020 14:20:26 +0000 (14:20 +0000)]
Add an AppArmor config.

3 years agoSkip module tags which don't have a module specified.
Sadie Powell [Tue, 10 Nov 2020 23:34:22 +0000 (23:34 +0000)]
Skip module tags which don't have a module specified.

3 years agoPrioritise connectban and dnsbl after core_xline.
Sadie Powell [Tue, 10 Nov 2020 17:48:49 +0000 (17:48 +0000)]
Prioritise connectban and dnsbl after core_xline.

3 years agoSkip extra whitespace in --{enable,disable}-extras.
Sadie Powell [Sun, 8 Nov 2020 20:23:27 +0000 (20:23 +0000)]
Skip extra whitespace in --{enable,disable}-extras.

3 years agoOnly assign NewServices once the duplicate check is done.
Sadie Powell [Tue, 3 Nov 2020 21:01:31 +0000 (21:01 +0000)]
Only assign NewServices once the duplicate check is done.

3 years agoFix an off by one error in the "unknown option" message.
Sadie Powell [Tue, 3 Nov 2020 15:58:59 +0000 (15:58 +0000)]
Fix an off by one error in the "unknown option" message.

3 years agoImprove the names of the IRCCloud example connect classes.
Sadie Powell [Tue, 3 Nov 2020 15:56:47 +0000 (15:56 +0000)]
Improve the names of the IRCCloud example connect classes.

3 years agoMake connect class debug logging more complete and consistent.
Sadie Powell [Tue, 3 Nov 2020 15:43:04 +0000 (15:43 +0000)]
Make connect class debug logging more complete and consistent.

3 years agoRelease v3.8.0.
Sadie Powell [Fri, 30 Oct 2020 12:00:55 +0000 (12:00 +0000)]
Release v3.8.0.

3 years agoUpdate copyright headers.
InspIRCd Robot [Fri, 30 Oct 2020 11:56:02 +0000 (11:56 +0000)]
Update copyright headers.

3 years agoUpdate vendored libraries.
Sadie Powell [Fri, 30 Oct 2020 11:54:17 +0000 (11:54 +0000)]
Update vendored libraries.

3 years agoDon't call the OnChangeRealHost event when initialising a user.
Sadie Powell [Thu, 29 Oct 2020 12:50:55 +0000 (12:50 +0000)]
Don't call the OnChangeRealHost event when initialising a user.

Fixes a (git only) crash when a user gets xlined before they have
been initialised.