1273 Commits

Author SHA1 Message Date
Sadie Powell
7edc627317 Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf. 2023-01-23 13:07:53 +00:00
Sadie Powell
7bd8091f6b Use the underlying transport method for pinging idle clients.
Closes #1998.
2023-01-21 12:54:07 +00:00
Sadie Powell
bae5486e00 Fix some typos in the cloak_sha256 example config. 2023-01-18 14:40:46 +00:00
Sadie Powell
88a0ef203e Allow setting a different hostparts option for UNIX sockets.
This defaults to 1 as it doesn't really make sense to expose more
than just this.
2023-01-18 14:22:39 +00:00
Sadie Powell
c3ed3fc7e3 Allow cloak_sha256 to only cloak IP addresses and not hostnames. 2023-01-15 20:32:03 +00:00
Sadie Powell
b4dcaaaa62 Allow setting <cloak:psl> to "system" to use the system database. 2023-01-14 03:44:24 +00:00
Sadie Powell
bc6d98c931 Add support for using the Public Suffix List in cloak_sha256.
Closes #1658.
2023-01-14 01:43:06 +00:00
Sadie Powell
e7084112fa Document the cloak_sha256 <cloak:case> option. 2023-01-13 10:02:09 +00:00
Sadie Powell
b680306816 Add a new cloak system that cloaks using HMAC-SHA256.
Closes #1107.

The core of the cloaking algorithm this uses is heavily inspired
by the Plexus4 cloak_hmac_sha256 module written by Adam. I've made
a few changes to the rest of it to work more like the old InspIRCd
cloaking system as well as adding the option for configuring the
case of the character table used for cloaking.

Co-authored-by: Adam <Adam@anope.org>
Co-authored-year: 2017
2023-01-13 07:02:02 +00:00
Sadie Powell
32258f5b11 Convert the cloak_md5 module to the new cloak system. 2023-01-13 07:01:03 +00:00
Sadie Powell
5da15b0c5a Add the core of the new cloak implementation. 2023-01-13 07:01:03 +00:00
Sadie Powell
05168e3549 Merge branch 'insp3' into master. 2022-12-25 22:44:50 +00:00
Sadie Powell
be6555384d Add an oper priv for exempting opers from blockamsg.
Closes #2007.
2022-12-19 09:25:18 +00:00
Sadie Powell
3af79a556e Add SSL support to the mysql module. 2022-12-18 18:21:28 +00:00
Sadie Powell
3c6e24665f Move <oper:autologin> from m_sslinfo to core_oper and rework.
- Promote autologin to a core concept with visibility in events.

- Replace the binary yes/no value with strict/relaxed/never. This
  intentionally breaks v3 oper block autologin as admins will need
  to review them for the security implications of the new behaviour.
2022-12-11 10:14:33 +00:00
Sadie Powell
61c4b2cc73 Update some references to services_account that were missed. 2022-12-11 08:48:12 +00:00
Sadie Powell
d0eae89821 Merge branch 'insp3' into master. 2022-12-10 15:45:49 +00:00
Sadie Powell
b47b791f9f Allow restricting an oper account based on services account. 2022-12-10 14:14:37 +00:00
Sadie Powell
befecafad3 Allow specifying multiple masks when adding an X-line.
The only exemptions for this are RLINE (a real name might contains
commas) and SVSHOLD (sent by services only).

Closes #1972.
2022-12-10 12:26:18 +00:00
Sadie Powell
0de5151eec Add support for per-oper/opertype operator MOTDs. 2022-12-09 16:13:55 +00:00
Sadie Powell
3e941f1cfb Merge branch 'insp3' into master. 2022-12-09 11:31:11 +00:00
InspIRCd Robot
4163c57c08 Update author list. 2022-12-08 13:37:09 +00:00
Sadie Powell
0a03eada1c Import regex_pcre2 from inspircd-contrib.
The original plan was to make the PCRE2 switch happen in v3 but it
seems that distributions are beginning to unpackage the old pcre
library already.
2022-12-05 07:18:32 +00:00
Sadie Powell
445773907d Merge branch 'insp3' into master. 2022-12-04 06:07:20 +00:00
Sadie Powell
1203f3ae15 Update Doxygen config for the latest version. 2022-12-03 21:22:45 +00:00
Sadie Powell
dac556b55b Merge branch 'insp3' into master. 2022-10-29 16:35:12 +01:00
Sadie Powell
9b3ce29cc6 Fix the documentation of <options:defaultmodes>. 2022-10-29 16:22:10 +01:00
Sadie Powell
6fc111ccb6 Rename session registration to connection to avoid a semantic conflict.
We previously referred to both session registration and user registration
as "registration" which is confusing for users who aren't familiar with
how IRC works.
2022-10-29 15:54:59 +01:00
Sadie Powell
101e12833d Allow requiring users to be logged into their nick for requireaccount. 2022-10-18 11:17:03 +01:00
Sadie Powell
1736775c76 Rename the services_account module to account. 2022-10-18 10:59:57 +01:00
Sadie Powell
fbed3eca25 Split out channel and user mode +r into a separate module. 2022-10-18 10:59:57 +01:00
Sadie Powell
cf47e0f3f8 Add support for logging JSON to stdout and stderr. 2022-08-24 00:13:14 +01:00
Sadie Powell
d74c70a364 Merge branch 'insp3' into master. 2022-08-04 18:52:55 +01:00
Sadie Powell
3eda1aa7fa WebSockets are a HTTP feature not a HTML5 feature. 2022-08-04 17:31:57 +01:00
InspIRCd Robot
c16bbeb0a6 Update author list. 2022-07-22 16:46:26 +01:00
Sadie Powell
816af8c8cf Merge branch 'insp3' into master. 2022-07-22 16:41:53 +01:00
Sadie Powell
46be9aec2e Replace <showwhois:showfromopers> with an operator privilege. 2022-07-21 18:27:53 +01:00
InspIRCd Robot
1fcbbe66e3 Update author list. 2022-07-20 18:04:34 +01:00
Sadie Powell
0f84414b39 Move the userip module to contrib.
This module only exists for UnrealIRCd compatibility and provides
the same functionality as the check module but less useful.
2022-06-28 11:33:26 +01:00
Sadie Powell
5536a73230 Merge branch 'insp3' into master. 2022-06-22 00:40:13 +01:00
Sadie Powell
48fbd51151 Add support for escaping hex colour codes
This is not widely supported but we should have an escape regardless.
2022-06-19 21:40:25 +01:00
Sadie Powell
30f64f9225 Fix the parameter documentation for the repeat mode. 2022-06-15 22:08:39 +01:00
Sadie Powell
72ecbb3285 Convert passforward to use the new template system. 2022-06-15 13:00:09 +01:00
Sadie Powell
844a3505e9 Update links to point to the upcoming v4 docs.
[skip alpine ci]
[skip macos ci]
[skip windows ci]
[skip ubuntu ci]
2022-05-18 16:49:20 +01:00
Sadie Powell
2ac42d8017 Fix various Doxygen comment issues. 2022-05-02 17:36:37 +01:00
Sadie Powell
a44a6cfab7 Implement support for JSON logging. 2022-05-02 15:10:10 +01:00
Sadie Powell
98e2cf6b24 Shuffle the sql schemas around a bit. 2022-05-01 22:21:53 +01:00
Sadie Powell
c382faf9c9 Rewrite the entire logging system.
- Much cleaner API for writing to the log.
- Adds support for stderr and stdout logging to the core.
- Adds support for sql and syslog logging in modules.
2022-05-01 22:07:04 +01:00
Sadie Powell
d7912e6a3e Merge branch 'insp3' into master. 2022-04-29 11:24:05 +01:00
InspIRCd Robot
43d14b8eda Update author list. 2022-04-28 18:45:52 +01:00