]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
4 years agoExempt the KiwiIRC.com servers from X-lines.
Peter Powell [Thu, 24 Oct 2019 14:44:53 +0000 (15:44 +0100)]
Exempt the KiwiIRC.com servers from X-lines.

4 years agoFix a typo in the KiwiIRC.com server IPs.
Peter Powell [Thu, 24 Oct 2019 14:43:33 +0000 (15:43 +0100)]
Fix a typo in the KiwiIRC.com server IPs.

4 years agoRaise <connflood:bootwait> from 10 seconds to 2 minutes.
Peter Powell [Thu, 24 Oct 2019 14:22:46 +0000 (15:22 +0100)]
Raise <connflood:bootwait> from 10 seconds to 2 minutes.

Many clients don't reconnect automatically and it can take a while
for them to reconnect.

4 years agoDisable DNS/DNSBL/ident lookups for unregistered KiwiIRC.com users.
Peter Powell [Thu, 24 Oct 2019 14:19:20 +0000 (15:19 +0100)]
Disable DNS/DNSBL/ident lookups for unregistered KiwiIRC.com users.

4 years agoIgnore DNSBL responses if the user's IP address has changed.
Peter Powell [Thu, 24 Oct 2019 14:14:35 +0000 (15:14 +0100)]
Ignore DNSBL responses if the user's IP address has changed.

4 years agoFix respecting the deprecated <channels:users> tag.
Peter Powell [Thu, 24 Oct 2019 09:25:29 +0000 (10:25 +0100)]
Fix respecting the deprecated <channels:users> tag.

4 years agoImprove the timed ban notices (#1722).
Matt Schatz [Thu, 24 Oct 2019 14:48:28 +0000 (08:48 -0600)]
Improve the timed ban notices (#1722).

- Save the nick of the setter to use in the expiry message.
- Change both notice messages to a standard and informative style.

4 years agoFix some compiler errors in core_hostname_lookup.
Peter Powell [Tue, 22 Oct 2019 21:27:07 +0000 (22:27 +0100)]
Fix some compiler errors in core_hostname_lookup.

No thanks to SourceTree's diff view for causing this.

4 years agoHandle more error cases in core_hostname_lookup.
Peter Powell [Tue, 22 Oct 2019 14:15:59 +0000 (15:15 +0100)]
Handle more error cases in core_hostname_lookup.

4 years agoOn DNS fail reset connecting users hostname to their IP.
Peter Powell [Tue, 22 Oct 2019 09:09:17 +0000 (10:09 +0100)]
On DNS fail reset connecting users hostname to their IP.

Closes #1713.

4 years agoImprove the core_hostname_lookup result log message.
Peter Powell [Mon, 21 Oct 2019 12:45:40 +0000 (13:45 +0100)]
Improve the core_hostname_lookup result log message.

- Add the type of request.
- Add whether the request was cached.

4 years agoRemove duplicate code in core_hostname_lookup.
Peter Powell [Mon, 21 Oct 2019 12:34:09 +0000 (13:34 +0100)]
Remove duplicate code in core_hostname_lookup.

- The lookup type is already stored in the question.
- core_dns validates hostnames by IsHost already.

4 years agoFire the OnSetUserIP event after the connect class change.
Peter Powell [Mon, 21 Oct 2019 11:21:11 +0000 (12:21 +0100)]
Fire the OnSetUserIP event after the connect class change.

4 years agoGet rid of the ptrHosts extension item.
Peter Powell [Mon, 21 Oct 2019 09:50:52 +0000 (10:50 +0100)]
Get rid of the ptrHosts extension item.

This is unnecessary as the resolved value is already stored in the
question in the request class.

4 years agoAllow event providers to know when a listener subs or unsubs.
Peter Powell [Sat, 19 Oct 2019 16:26:30 +0000 (17:26 +0100)]
Allow event providers to know when a listener subs or unsubs.

4 years agoUpdate examples directory when paths are changed interactively.
Matt Schatz [Sat, 21 Sep 2019 06:33:53 +0000 (00:33 -0600)]
Update examples directory when paths are changed interactively.

4 years agoAdd oper exemption to hidemode.
Matt Schatz [Sun, 20 Oct 2019 02:35:55 +0000 (20:35 -0600)]
Add oper exemption to hidemode.

4 years agoFix a shadowing warning in LocalUser.
Peter Powell [Fri, 18 Oct 2019 12:53:51 +0000 (13:53 +0100)]
Fix a shadowing warning in LocalUser.

4 years agoFix a shadowing warning in the serialisation code.
Peter Powell [Fri, 18 Oct 2019 12:49:05 +0000 (13:49 +0100)]
Fix a shadowing warning in the serialisation code.

4 years agoSwitch ChildMap and EntryMap to insp::flat_map.
Peter Powell [Fri, 18 Oct 2019 11:36:55 +0000 (12:36 +0100)]
Switch ChildMap and EntryMap to insp::flat_map.

4 years agoSQuit all servers when a shutdown happens.
Peter Powell [Thu, 17 Oct 2019 18:11:25 +0000 (19:11 +0100)]
SQuit all servers when a shutdown happens.

4 years agoAdd an event which is fired when the server shuts down.
Peter Powell [Thu, 17 Oct 2019 16:17:39 +0000 (17:17 +0100)]
Add an event which is fired when the server shuts down.

4 years agoUse separate build dirs when rebuilding with a different compiler.
Peter Powell [Wed, 16 Oct 2019 10:55:14 +0000 (11:55 +0100)]
Use separate build dirs when rebuilding with a different compiler.

4 years agoImplement serialisation of users.
Peter Powell [Mon, 13 May 2019 16:24:25 +0000 (17:24 +0100)]
Implement serialisation of users.

This allows for various things which will be coming in the future.

e.g. Transferring users to another server on upgrade.

4 years agoAdd GetTypeStr to the DNS API.
Peter Powell [Sat, 12 Oct 2019 11:53:04 +0000 (12:53 +0100)]
Add GetTypeStr to the DNS API.

4 years agoConvert a bunch of LocalUser* casts to IS_LOCAL.
Peter Powell [Fri, 11 Oct 2019 11:21:16 +0000 (12:21 +0100)]
Convert a bunch of LocalUser* casts to IS_LOCAL.

This is a lot safer and handles users changing servers properly.

4 years agoAdd repeat to the list of possible restriction types to exempt in helpop.conf.example.
Robby [Mon, 7 Oct 2019 21:30:40 +0000 (23:30 +0200)]
Add repeat to the list of possible restriction types to exempt in helpop.conf.example.

Fixes #1714.

4 years agoUpdate the new issue URL in the readme.
Peter Powell [Sun, 6 Oct 2019 11:14:42 +0000 (12:14 +0100)]
Update the new issue URL in the readme.

4 years agoAdd a feature request issue template.
Peter Powell [Sun, 6 Oct 2019 11:05:51 +0000 (12:05 +0100)]
Add a feature request issue template.

4 years agoAdd a GitHub security policy.
Peter Powell [Sat, 5 Oct 2019 21:26:09 +0000 (22:26 +0100)]
Add a GitHub security policy.

4 years agoAdd a pull request template.
Peter Powell [Sat, 5 Oct 2019 20:57:24 +0000 (21:57 +0100)]
Add a pull request template.

4 years agoTweak the workaround for NetBSD's kqueue using intptr_t for udata.
Peter Powell [Sat, 5 Oct 2019 19:29:53 +0000 (20:29 +0100)]
Tweak the workaround for NetBSD's kqueue using intptr_t for udata.

Thanks to @niacat for getting this fixed upstream.

4 years agoShow the list modes which have variable list lengths in 005.
Peter Powell [Tue, 1 Oct 2019 11:27:17 +0000 (12:27 +0100)]
Show the list modes which have variable list lengths in 005.

4 years agoFix an shadowing warning in the spanningtree module.
Peter Powell [Mon, 30 Sep 2019 09:19:29 +0000 (10:19 +0100)]
Fix an shadowing warning in the spanningtree module.

4 years agoStop GCC warnings about the deprecated OnServerSplit event.
Peter Powell [Mon, 30 Sep 2019 09:11:43 +0000 (10:11 +0100)]
Stop GCC warnings about the deprecated OnServerSplit event.

4 years agoFix a compiler error in the LDAP module.
Peter Powell [Mon, 30 Sep 2019 08:49:08 +0000 (09:49 +0100)]
Fix a compiler error in the LDAP module.

4 years agoAdd null pointer checks to IS_{LOCAL,REMOTE,SERVER}.
Peter Powell [Sun, 29 Sep 2019 18:52:05 +0000 (19:52 +0100)]
Add null pointer checks to IS_{LOCAL,REMOTE,SERVER}.

I don't know of any places this causes issues but its better to be
safe than sorry.

4 years agoDeduplicate code for handling with setting LDAP options.
Peter Powell [Fri, 27 Sep 2019 21:39:56 +0000 (22:39 +0100)]
Deduplicate code for handling with setting LDAP options.

4 years agoAdd the OnServerBurst hook and fix the docs for OnServerLink.
Peter Powell [Mon, 23 Sep 2019 11:44:42 +0000 (12:44 +0100)]
Add the OnServerBurst hook and fix the docs for OnServerLink.

4 years agoAdd whether the server split with an error to OnServerSplit.
Peter Powell [Mon, 23 Sep 2019 10:51:09 +0000 (11:51 +0100)]
Add whether the server split with an error to OnServerSplit.

4 years agoAdd the server id to the Server class.
Peter Powell [Mon, 23 Sep 2019 10:49:26 +0000 (11:49 +0100)]
Add the server id to the Server class.

4 years agoLower the acceptable drift for clocks on link.
Peter Powell [Fri, 20 Sep 2019 14:13:42 +0000 (15:13 +0100)]
Lower the acceptable drift for clocks on link.

4 years agoFix the example tag for changing the voice ranks.
Peter Powell [Mon, 16 Sep 2019 21:46:17 +0000 (22:46 +0100)]
Fix the example tag for changing the voice ranks.

4 years agoFix cloaking not ignoring the case of a user's hostname.
Peter Powell [Mon, 16 Sep 2019 12:43:29 +0000 (13:43 +0100)]
Fix cloaking not ignoring the case of a user's hostname.

This new mode is recommended but disabled by default for compat
reasons.

Closes #480.
Closes #1419.

Co-Authored-By: B00mX0r <b00mx0r@aureus.pw>
4 years agoFix the noctcp user mode not applying to channel CTCPs.
Peter Powell [Mon, 16 Sep 2019 11:22:28 +0000 (12:22 +0100)]
Fix the noctcp user mode not applying to channel CTCPs.

Closes #1704.

4 years agoDocument <alias:stripcolor>
linuxdaemon [Sat, 14 Sep 2019 18:11:01 +0000 (13:11 -0500)]
Document <alias:stripcolor>

4 years agom_alias: Add option to strip colors when matching
linuxdaemon [Sat, 14 Sep 2019 18:00:44 +0000 (13:00 -0500)]
m_alias: Add option to strip colors when matching

4 years agom_chanfilter: Apply filters to part messages (#1702)
linuxdaemon [Sat, 14 Sep 2019 15:36:48 +0000 (10:36 -0500)]
m_chanfilter: Apply filters to part messages (#1702)

4 years agoInstall the provider configs.
Peter Powell [Sat, 7 Sep 2019 13:43:14 +0000 (14:43 +0100)]
Install the provider configs.

4 years agoReplace the gdbargs file with the --eval-command flag.
Peter Powell [Sat, 7 Sep 2019 13:30:32 +0000 (14:30 +0100)]
Replace the gdbargs file with the --eval-command flag.

4 years agoRespect indentation in configure template declarations.
Peter Powell [Sat, 7 Sep 2019 11:54:29 +0000 (12:54 +0100)]
Respect indentation in configure template declarations.

4 years agoAdd internal serialisations of the DCC allow and silence lists.
Peter Powell [Tue, 3 Sep 2019 11:27:14 +0000 (12:27 +0100)]
Add internal serialisations of the DCC allow and silence lists.

4 years agoAdd GetNumericToken to sepstream.
Peter Powell [Tue, 3 Sep 2019 11:17:48 +0000 (12:17 +0100)]
Add GetNumericToken to sepstream.

This removes some boilerplate when retrieving numeric types.

4 years agoWhen silence mask is prefixed by + or -, it should only remove the first character...
iwalkalone [Mon, 2 Sep 2019 22:52:20 +0000 (00:52 +0200)]
When silence mask is prefixed by + or -, it should only remove the first character, not the entire string (#1698).

4 years agoDocument ConfigStatus and add a way to detect the initial load.
Peter Powell [Mon, 2 Sep 2019 14:17:30 +0000 (15:17 +0100)]
Document ConfigStatus and add a way to detect the initial load.

4 years agoFix the haproxy module losing initial data in some circumstances.
Peter Powell [Mon, 26 Aug 2019 08:43:23 +0000 (09:43 +0100)]
Fix the haproxy module losing initial data in some circumstances.

4 years agoUpgrade the Doxygen config file with "doxygen -u".
Peter Powell [Fri, 23 Aug 2019 22:57:16 +0000 (23:57 +0100)]
Upgrade the Doxygen config file with "doxygen -u".

4 years agoRelease v3.3.0.
Peter Powell [Fri, 23 Aug 2019 10:14:07 +0000 (11:14 +0100)]
Release v3.3.0.

4 years agoSilence some GCC warnings.
Peter Powell [Fri, 23 Aug 2019 09:42:38 +0000 (10:42 +0100)]
Silence some GCC warnings.

4 years agoAdd -Werror to the Travis build flags.
Peter Powell [Thu, 1 Aug 2019 12:28:27 +0000 (13:28 +0100)]
Add -Werror to the Travis build flags.

4 years agoImprove escaping strings in the MySQL module.
Peter Powell [Tue, 20 Aug 2019 14:04:54 +0000 (15:04 +0100)]
Improve escaping strings in the MySQL module.

4 years agoInitialise and deallocate the MySQL library correctly.
Peter Powell [Tue, 20 Aug 2019 15:17:18 +0000 (16:17 +0100)]
Initialise and deallocate the MySQL library correctly.

4 years agoFix some remaining uses of ato[il].
Peter Powell [Tue, 13 Aug 2019 19:11:11 +0000 (20:11 +0100)]
Fix some remaining uses of ato[il].

4 years agoFree StringExtItem and SimpleExtItem values correctly.
Peter Powell [Tue, 13 Aug 2019 12:35:05 +0000 (13:35 +0100)]
Free StringExtItem and SimpleExtItem values correctly.

4 years agoConvert LocalExtItem to a typedef and deprecate it.
Peter Powell [Tue, 13 Aug 2019 13:03:51 +0000 (14:03 +0100)]
Convert LocalExtItem to a typedef and deprecate it.

4 years agoUpdate the mailmap with a bunch of new names.
Peter Powell [Fri, 9 Aug 2019 05:53:26 +0000 (06:53 +0100)]
Update the mailmap with a bunch of new names.

4 years agoFix waitpong referring to registration timeouts as ping timeouts.
Peter Powell [Fri, 9 Aug 2019 02:03:34 +0000 (03:03 +0100)]
Fix waitpong referring to registration timeouts as ping timeouts.

If the client does not send a PONG message in time then they will
receive a registration timeout. The client will only receive a ping
timeout in response to a unanswered PING whilst fuilly connected to
the server.

4 years agoFix DNSBL lookups for IPv6.
Matt Schatz [Thu, 8 Aug 2019 04:51:26 +0000 (22:51 -0600)]
Fix DNSBL lookups for IPv6.

A '.' gets added to the end of `reversedip` when creating the DNSBL
hostname for the resolver. We need to remove the trailing '.' on the
IPv6 form of `reversedip` or the resolver will fail.

4 years agoConvert all core ExtensionItem code away from {un,}serialize.
Peter Powell [Wed, 7 Aug 2019 18:37:27 +0000 (19:37 +0100)]
Convert all core ExtensionItem code away from {un,}serialize.

4 years agoAdd {To,From}{Human,Internal,Network} to ExtensionItem.
Peter Powell [Wed, 7 Aug 2019 12:40:01 +0000 (13:40 +0100)]
Add {To,From}{Human,Internal,Network} to ExtensionItem.

Also, deprecate the old SerializeFormat/serialize/unserialise API.

4 years agoDocument ExtensionItem better.
Peter Powell [Wed, 7 Aug 2019 10:27:11 +0000 (11:27 +0100)]
Document ExtensionItem better.

4 years agoUpdate vendored utfcpp to v3.1.
Peter Powell [Fri, 2 Aug 2019 11:52:22 +0000 (12:52 +0100)]
Update vendored utfcpp to v3.1.

4 years agoMove UNIX socket removal to ListenSocket ctor.
Matt Schatz [Thu, 1 Aug 2019 10:55:22 +0000 (04:55 -0600)]
Move UNIX socket removal to ListenSocket ctor.

Doing the removal in BindPorts() would remove the socket
during a rehash and not recreate it. Now it's only removed
if it's about to be created.

4 years agoFix a shadowing warning in UserIOHandler::OnError.
Peter Powell [Thu, 1 Aug 2019 11:58:22 +0000 (12:58 +0100)]
Fix a shadowing warning in UserIOHandler::OnError.

4 years agoOnly send ACCOUNT and CHGHOST to clients that have sent NICK/USER.
Peter Powell [Wed, 31 Jul 2019 23:11:12 +0000 (00:11 +0100)]
Only send ACCOUNT and CHGHOST to clients that have sent NICK/USER.

Closes #1657.

4 years agoFix sasl hangs with clients that blindly request the capability.
Peter Powell [Wed, 31 Jul 2019 21:16:28 +0000 (22:16 +0100)]
Fix sasl hangs with clients that blindly request the capability.

4 years agoFix sending DEL for caps which have not been advertised yet.
Peter Powell [Wed, 31 Jul 2019 21:15:13 +0000 (22:15 +0100)]
Fix sending DEL for caps which have not been advertised yet.

Closes #1687.

4 years agoFix extban O matching against oper types containing spaces.
Peter Powell [Wed, 31 Jul 2019 20:49:47 +0000 (21:49 +0100)]
Fix extban O matching against oper types containing spaces.

Fixes #1684.

4 years agoStop removing oper modes after a user have been quit network-wide.
Peter Powell [Wed, 31 Jul 2019 20:25:44 +0000 (21:25 +0100)]
Stop removing oper modes after a user have been quit network-wide.

Fixes #1686.

4 years agoImprove the "max connections exceeded" oper snotice.
Peter Powell [Fri, 26 Jul 2019 19:19:32 +0000 (20:19 +0100)]
Improve the "max connections exceeded" oper snotice.

4 years agoFix various cases of broken indentation.
Peter Powell [Fri, 26 Jul 2019 09:22:42 +0000 (10:22 +0100)]
Fix various cases of broken indentation.

4 years agoAdd support for the IRCv3 standard replies extension.
Peter Powell [Wed, 3 Apr 2019 09:47:52 +0000 (10:47 +0100)]
Add support for the IRCv3 standard replies extension.

This extension provides a framework for other extensions to send
standard replies to clients as an alternative to numerics.

4 years agoAdd a constant for the maximum length of a mode parameter.
Peter Powell [Tue, 23 Jul 2019 14:17:01 +0000 (15:17 +0100)]
Add a constant for the maximum length of a mode parameter.

4 years agoAdd the time tag on the server the message originates from.
Peter Powell [Mon, 22 Jul 2019 11:18:25 +0000 (12:18 +0100)]
Add the time tag on the server the message originates from.

4 years agoFix some regressions in sending tags between servers.
Peter Powell [Mon, 22 Jul 2019 11:40:22 +0000 (12:40 +0100)]
Fix some regressions in sending tags between servers.

4 years agoAdd a method for swapping user I/O handlers.
Peter Powell [Sun, 21 Jul 2019 15:56:55 +0000 (16:56 +0100)]
Add a method for swapping user I/O handlers.

4 years agoExtract history sending logic in chanhistory to its own function.
Peter Powell [Sun, 21 Jul 2019 13:13:07 +0000 (14:13 +0100)]
Extract history sending logic in chanhistory to its own function.

4 years agoAllow modules to prevent a failed connection from being closed.
Peter Powell [Sun, 21 Jul 2019 12:44:32 +0000 (13:44 +0100)]
Allow modules to prevent a failed connection from being closed.

4 years agoAdd an event for adding tags to S2S messages.
Peter Powell [Fri, 19 Jul 2019 13:12:13 +0000 (14:12 +0100)]
Add an event for adding tags to S2S messages.

4 years agoGet rid of CommandBuilder::push_back.
Peter Powell [Fri, 19 Jul 2019 12:01:59 +0000 (13:01 +0100)]
Get rid of CommandBuilder::push_back.

4 years agospanningtree: Never send a message to a raw UUID in CmdBuilder.
Peter Powell [Fri, 19 Jul 2019 11:11:36 +0000 (12:11 +0100)]
spanningtree: Never send a message to a raw UUID in CmdBuilder.

4 years agossl_gnutls: remove PackageInfo directives for EOL Debian versions.
Peter Powell [Tue, 16 Jul 2019 10:52:18 +0000 (11:52 +0100)]
ssl_gnutls: remove PackageInfo directives for EOL Debian versions.

4 years agoAdd package names for ArchLinux.
Peter Powell [Tue, 16 Jul 2019 10:52:17 +0000 (11:52 +0100)]
Add package names for ArchLinux.

4 years agoregex_pcre: pkg-config is not required by this module.
Peter Powell [Tue, 16 Jul 2019 10:52:14 +0000 (11:52 +0100)]
regex_pcre: pkg-config is not required by this module.

4 years agoLink to the associated documentation page for modules in errors.
Peter Powell [Tue, 16 Jul 2019 10:52:09 +0000 (11:52 +0100)]
Link to the associated documentation page for modules in errors.

4 years agoRefer to modules without the m_ prefix in error messages
Peter Powell [Tue, 16 Jul 2019 09:25:35 +0000 (10:25 +0100)]
Refer to modules without the m_ prefix in error messages

4 years agoSend ERR_NOTEXTTOSEND in response to an empty GLOBOPS/WALLOPS.
Peter Powell [Mon, 15 Jul 2019 14:46:06 +0000 (15:46 +0100)]
Send ERR_NOTEXTTOSEND in response to an empty GLOBOPS/WALLOPS.

4 years agoSplit ServerEventListener into {Broadcast,Link,Sync}EventListener.
Peter Powell [Mon, 15 Jul 2019 11:43:05 +0000 (12:43 +0100)]
Split ServerEventListener into {Broadcast,Link,Sync}EventListener.

There is no reason to have these events in one big handler and it
causes unnecessary event hooks to be created by having them like
this.

The ServerEventListener class still exists for compatibility

4 years agoSkip UNIX sockets in GetLocation().
Matt Schatz [Wed, 10 Jul 2019 08:29:47 +0000 (02:29 -0600)]
Skip UNIX sockets in GetLocation().

4 years agoRelease v3.2.0.
Peter Powell [Fri, 5 Jul 2019 09:02:21 +0000 (10:02 +0100)]
Release v3.2.0.