13037 Commits

Author SHA1 Message Date
Sadie Powell
75fbb10068 Implement support for SPKI fingerprints into the sslinfo module. 2023-06-11 13:52:42 +01:00
Sadie Powell
36937eab9e Log the number of object added to the cull list from a destructor. 2023-06-08 17:39:10 +01:00
Sadie Powell
edd34ffc51 Fix "auto" not being a valid options for <options:defaultbind>.
This fell back to the correct value but created a spurious message
in the server log.
2023-06-07 13:20:09 +01:00
Sadie Powell
78cd3898f5 Only regenerate cloaks if a cloak of that type exists.
This prevents unnecessary recloaking which may result in spam.
2023-06-07 12:59:35 +01:00
Sadie Powell
f14f91a919 Include <cloak:pathparts> as link data in cloak_sha256. 2023-06-07 12:33:59 +01:00
Sadie Powell
acc9f5228f Allow secondary cloak methods to be used on link synchronisation.
If a server has a conditional cloak method (e.g. account) as the
primary cloak method it doesn't make sense to use it for link
consistency. With this change a secondary cloak method can request
that it is used instead of the primary if the primary does not
mark itself as link sensitive.
2023-06-06 01:02:14 +01:00
Sadie Powell
dd4c1fd710 Merge branch 'insp3' into master. 2023-06-05 15:40:27 +01:00
Sadie Powell
686c33ca30 Use -std=c++17 on RE2 2023.06.02 or newer. 2023-06-05 15:20:53 +01:00
Sadie Powell
6348a2e4bc Misc XLine cleanup. 2023-06-05 14:40:52 +01:00
Sadie Powell
fabd86ab97 Make XLine::Matches const. 2023-06-05 14:31:29 +01:00
Sadie Powell
1367e66500 Add a DelLine override that takes an XLine pointer. 2023-06-05 14:22:42 +01:00
Sadie Powell
a4b95340b7 Make XLine::Displayable const. 2023-06-05 14:22:42 +01:00
Sadie Powell
46682d495b Allow users to override SVSHOLDs for nicks in their nick group. 2023-06-05 13:15:22 +01:00
Sadie Powell
2d029f348a Try to cloak with the registerable suffix first with PSL cloaking. 2023-06-05 11:13:25 +01:00
Sadie Powell
e5d1eebc92 Fix commands overflowing the message size in /STATS Oo. 2023-06-04 12:33:27 +01:00
Sadie Powell
333e28b2e3 Fix exposing oper hosts in /STATS P. 2023-06-04 12:24:49 +01:00
Sadie Powell
2b8a7a2db9 Remove unnecessary prefix from bancache log messages. 2023-06-04 10:56:50 +01:00
Sadie Powell
db03b58d1c Fix extracting data from the 1205 version/fullversion SINFO keys. 2023-06-04 00:44:18 +01:00
Sadie Powell
4c7d45b551 Fix rewriting commands in the 1205 compat layer. 2023-06-03 20:25:57 +01:00
Sadie Powell
21a33e9ec7 Fix an inverted condition in the cloak module. 2023-06-03 19:53:06 +01:00
Sadie Powell
f78f5c873f Fix an inverted condition in the DNSBL module. 2023-06-03 19:19:10 +01:00
Sadie Powell
0498e9ad20 Fix calling c_str() for parameters that can take a std::string. 2023-05-31 16:46:48 +01:00
Sadie Powell
c4858e2a11 Convert DelLine from const char* to const std::string&. 2023-05-30 20:37:48 +01:00
Sadie Powell
66fb6285fa Merge branch 'insp3' into master. 2023-05-30 02:59:39 +01:00
Sadie Powell
ea85c0c6ba Fix casing of metadata in function and event names.
Metadata is one word not two so it shouldn't be capitalised like this.
2023-05-30 02:38:25 +01:00
Sadie Powell
92ba1f3f79 Log when a server sends an unexpected command post-authentication. 2023-05-29 23:37:20 +01:00
Sadie Powell
3ac627f3ba If no DNS bindport is specified then randomise it on rehash. 2023-05-29 18:58:02 +01:00
Sadie Powell
e607175dfa Fix ssl_openssl on OpenSSL versions older than 1.1.1.
Fixes a regression introduced in commit eba5cb9dc9.
2023-05-28 11:53:53 +01:00
Sadie Powell
24d5d53df0 Make it clear that <link:port> is only required for IP listeners. 2023-05-26 13:09:43 +01:00
Sadie Powell
22b499fc7b Merge branch 'insp3' into master. 2023-05-20 02:10:24 +01:00
Sadie Powell
d9855d6747 Add an undocumented build option for unlimiting the main loop.
This should never be used normally but is useful for irctest.
2023-05-20 02:09:49 +01:00
Sadie Powell
67c37b43de Merge branch 'insp3' into master. 2023-05-16 09:52:22 +01:00
Sadie Powell
40791847e0 Release v4.0.0 alpha 21. 2023-05-15 11:13:49 +01:00
Sadie Powell
fe4c512839 Rename duration to timeutils and relocate InspIRCd::TimeString. 2023-05-10 11:57:48 +01:00
Sadie Powell
e196ef967c Show more details about unactivated/expired client certificates. 2023-05-10 10:59:27 +01:00
Wade Cline
eba5cb9dc9 Fix cert expiration for dates after year 2049 2023-05-10 02:01:21 +01:00
Sadie Powell
4fcda809ef Rename threadsocket to thread. 2023-05-08 13:49:57 +01:00
Sadie Powell
e2cd71b706 Move the contents of thread to threadsocket. 2023-05-08 13:49:54 +01:00
Sadie Powell
4bbe6717cb Rename command_parse to commands. 2023-05-08 12:53:00 +01:00
Sadie Powell
863daf942c Move the contents of commands to command_parse. 2023-05-08 12:52:51 +01:00
Sadie Powell
b6db18bd12 Move CheckPassword to helperfuncs. 2023-05-08 12:50:42 +01:00
Sadie Powell
1aead0066a Fix some uses of NULL that have snuck back in during a merge. 2023-05-07 19:27:59 +01:00
Sadie Powell
1b7026e2e1 Use GetPrintable in more places in the codepage module. 2023-05-07 19:23:34 +01:00
Sadie Powell
4159051722 Fix narrowing unsigned long to uint32_t in the codepage module. 2023-05-07 18:34:26 +01:00
Sadie Powell
00e4b08b4d Improve the config error messages in the codepage module. 2023-05-07 18:32:50 +01:00
Sadie Powell
1d1abb11c3 Tighten up the rules for nicknames to match the Modern IRC spec. 2023-05-07 16:23:08 +01:00
Sadie Powell
15fcf2c761 Allow customising who can receive the joinflood close notification.
Closes #1747.
2023-05-07 12:14:43 +01:00
Sadie Powell
c330aa6250 Check whether IPPROTO_SCTP works before trying to implicitly multistack.
Fixes bind warnings on platforms which have IPPROTO_SCTP defined but
don't actually have support at runtime.
2023-05-04 16:36:27 +01:00
Sadie Powell
7c51e3cce9 Remove the now-obsolete hostchange module.
Closes #2025.
2023-05-02 14:12:32 +01:00
Sadie Powell
906142676e Add the cloak_static module to cloak using a fixed value. 2023-05-02 14:10:43 +01:00