15074 Commits

Author SHA1 Message Date
Sadie Powell
f4c257e1b2 Merge branch 'insp3' into master. 2021-07-24 11:34:10 +01:00
Sadie Powell
36a2e06a85 Also increase maxquit from 255 to 300. 2021-07-24 11:30:29 +01:00
Sadie Powell
6369f4eab7 Update the default limits in the example config.
- Change maxchan from 64 to 60 (base 10 is more human friendly)
- Change maxreal from 128 to 130 (base 10 is more human friendly)
- Recalculate the maximum lengths of maxkick and maxtopic.

For maxkick:

':' <nick> '!' <user> '@' <host> ' KICK ' <channel> ' ' <nick> ' :' <REASON> "\r\n"
 1   [30]   1   [10]   1   [64]      6      [60]     1   [30]   2               2

1 + 30 + 1 + 10 + 1 + 64 + 6 + 60 + 1 + 30 + 2 + 2 = 208
512 - 208 = 304 (rounded down to 300)

For maxtopic:

':' <nick> '!' <user> '@' <host> ' TOPIC ' <channel> ' :' <TOPIC> "\r\n"
 1   [30]   1   [10]   1   [64]      7       [60]     2              2

1 + 30 + 1 + 10 + 1 + 64 + 7 + 60 + 2 + 2 = 178
512 - 178 = 334 (rounded down to 330)
2021-07-24 11:16:07 +01:00
Sadie Powell
6549de207f Clean up the routing code in the ctables header. 2021-07-24 10:58:31 +01:00
Sadie Powell
fd9350b186 Stop broadcasting the CBAN, RLINE, and SHUN commands.
These will be broadcast by the X-line system so this legacy hack
is no longer necessary.
2021-07-23 20:00:18 +01:00
Sadie Powell
11bc5f43fe Purge SpanningTreeUtilities::DoOneToMany. 2021-07-23 18:30:45 +01:00
Sadie Powell
f9c273457d Handle exceptions from hash providers in password_hash. 2021-07-19 19:39:17 +01:00
Sadie Powell
c5c3004561 Fix using the wrong variable for the ciphersuites in ssl_openssl. 2021-07-19 18:40:53 +01:00
Sadie Powell
46c9246b14 Drop support for Debian GNU/kFreeBSD.
This distribution is long dead and probably can't build v4 anyway.
2021-07-19 18:24:45 +01:00
Sadie Powell
f75335f98b Always default the genssl question in configure to no. 2021-07-18 20:54:36 +01:00
Herman
899899ea11
Fix a use-before-initialisation in core_info.
Signed-off-by: GermanAizek <GermanAizek@yandex.ru>
2021-07-17 18:51:26 +01:00
Sadie Powell
805dbd4def Merge branch 'insp3' into master. 2021-07-17 18:35:08 +01:00
Sadie Powell
74a4894596 Fix ssl_mbedtls on mbedTLS v3. 2021-07-17 18:09:19 +01:00
Sadie Powell
9e22b307fc Respect the noctcp user mode for global CTCPs.
Please don't actually send global CTCPs though.
2021-07-17 11:34:06 +01:00
Sadie Powell
954d12252a Fix a shortening issue in hostchange. 2021-07-17 09:46:18 +01:00
Sadie Powell
1099db23d7 Drop support for the legacy PROTOCTL extension.
People who wish to keep this behavious should install the protoctl
module from inspircd-contrib.
2021-07-16 18:46:29 +01:00
Sadie Powell
fcc7b7cdb4 Allow toggling a capability from a Cap::Reference. 2021-07-16 18:39:47 +01:00
Sadie Powell
1b19bcb887 Simplify reverse lookup code in core_hostname_lookup. 2021-07-07 14:05:46 +01:00
Sadie Powell
38351efa8d Deduplicate all whois numerics to the whois module header. 2021-07-05 16:50:14 +01:00
Sadie Powell
fb91c4279b Don't send oper swhois to users with hideoper enabled. 2021-07-05 16:49:52 +01:00
Sadie Powell
aabaca020b Stop sending RPL_WHOISSERVICE as it conflicts with RPL_WHOISHELPOP.
Both Anope and Atheme send an oper type for services clients so
this numeric is unnecessary. In cases where genericoper is enabled
we now send "is a network service" in RPL_WHOISOPERATOR.
2021-07-05 16:49:21 +01:00
Sadie Powell
5bc4720d55 Merge branch 'insp3' into master. 2021-07-04 14:53:16 +01:00
Sadie Powell
ea9a72c5a5 Allow hostchange to select users based on connect class. 2021-07-03 19:00:12 +01:00
Sadie Powell
55edfba123 Move hostchange port parsing to a method in the HostRule class. 2021-07-03 18:54:21 +01:00
Sadie Powell
ed62a39821 Move ModeParser::BuildPrefixes to core_mode.
Now we've dropped support for the 1202 protocol we don't need this
in the core.
2021-07-03 15:47:16 +01:00
Sadie Powell
c78d21d00b Move ModeParser::GiveModeList to core_mode.
Now we've dropped support for the 1202 protocol we don't need this
in the core.
2021-07-03 15:26:47 +01:00
Sadie Powell
4350050a82 Fix some "targ" usages which were missed in the earlier commit. 2021-07-03 13:58:34 +01:00
Sadie Powell
58947b5d9c We haven't used Travis CI in a long time so this is unnecessary. 2021-07-03 10:09:30 +01:00
Sadie Powell
f9f31ce4a2 Update the IRCCloud example config for the latest host changes.
Also switch it to use multiple hosts per connect class now we have
the ability to do that.
2021-07-02 11:15:27 +01:00
Sadie Powell
fd15d9b878 Release v4.0.0 alpha 2. v4.0.0a2 2021-07-01 19:08:29 +01:00
Sadie Powell
d21e969e4d Fix module events not being fired correctly.
Regression introduced in commit ba3dd9ce.

Closes #1912.
2021-07-01 18:37:23 +01:00
Sadie Powell
87057baf24 Fix local idle times being incorrect.
Regression introduced in commit 7d84e490.
2021-07-01 16:51:03 +01:00
Sadie Powell
5c32937b33 Fix WHOIS numerics not including the source of the message.
Regression introduced in commit 0fab6438.
2021-07-01 14:13:27 +01:00
Sadie Powell
d95d7fc4f5 Merge branch 'insp3' into master. 2021-07-01 12:33:51 +01:00
Sadie Powell
81dce5ccb6 Require that hideserver is set to a valid hostname. 2021-06-25 12:33:46 +01:00
Sadie Powell
d9572c0a25 Allow reloading SSL profiles on rehash. 2021-06-24 23:02:41 +01:00
Sadie Powell
caab4c101a Add a log message to the SSL mods to remind users how to reload profiles. 2021-06-24 22:44:10 +01:00
Josh Soref
de6d4dbd1e
Fix various spelling issues (#1883).
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-06-21 21:47:06 +01:00
GermanAizek
a063414303 Used std::move where it is needed 2021-06-21 19:00:39 +01:00
Molly Miller
54190b2450 Update example configuration for 'if-host-match' oper autologin option. 2021-06-21 18:52:00 +01:00
Molly Miller
2c5fdb670f Add 'if-host-match' option to m_sslinfo oper autologin configuration.
This adds an option to perform the source host check (which is usually
performed on manual oper login) in addition to the certificate fingerprint
check when automatically logging in opers upon connection to the ircd.
2021-06-21 18:52:00 +01:00
Sadie Powell
3b463377a3 Add social media links to the readme. 2021-06-21 14:50:27 +01:00
Sadie Powell
5c8b212a3c Allow making the MKPASSWD command only usable by opers. 2021-06-21 14:50:27 +01:00
Matt Schatz
9f3b933371
Add the new chanhistory umode to the example helpop. 2021-06-20 17:01:45 -06:00
Matt Schatz
52c0b62501
Fix a typo in the previous commit. 2021-06-20 16:18:52 -06:00
Matt Schatz
80406e938c
Synchronize servlist syntax and helpop with the docs page. 2021-06-20 15:52:22 -06:00
Matt Schatz
3852e1c52a
Hyphens are allowed in hostnames. 2021-06-20 15:34:13 -06:00
Sadie Powell
9a5d8e14e9 Default userstats to Pu if not otherwise specified. 2021-06-20 18:58:31 +01:00
Sadie Powell
43b7e6a979 Fix the silence TAGMSG flags being inverted in BitsToFlags. 2021-06-20 17:42:20 +01:00
Sadie Powell
ad2f737405 Show delayjoined users to themself in WHO. 2021-06-20 01:30:19 +01:00