aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Update module descriptions.Gravatar Sadie Powell2023-02-012-2/+2
|
* Make reading the core config less of a mess.Gravatar Sadie Powell2023-01-271-2/+2
|
* Move CheckExemption::Call to CheckExemption::EventProvider.Gravatar Sadie Powell2023-01-2514-17/+17
| | | | | Now FirstResult not a macro there's no need for this to be a free function.
* Fix using std::max instead of std::min when clamping NetBufferSize.Gravatar Sadie Powell2023-01-251-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-259-9/+16
|\
| * Work around a bug in reading the config for the Argon2 module.Gravatar Sadie Powell2023-01-251-0/+3
| | | | | | | | | | | | | | | | | | | | ProviderConfig::version is set to an argon2 version not a base 10 version so using it as a default for the config may result in the default being ignored. Luckily 0x10 and 0x12 are 16 and 18 respectively so we can just allow them as valid values until v4 where we can eradicate the SanitiseArgon2Version function and use getEnum instead.
| * Fix PackageInfo directives in extra modules.Gravatar Sadie Powell2023-01-199-7/+14
| |
| * Fix the nicklock module sending a notice instead of ERR_NOSUCHNICK.Gravatar Sadie Powell2023-01-181-2/+2
| |
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-2533-90/+74
| |
* | Fix using (unsigned) long instead of (s)size_t.Gravatar Sadie Powell2023-01-245-7/+6
| |
* | Slim down stdalgo by removing unused and duplicate functions.Gravatar Sadie Powell2023-01-242-14/+2
| |
* | Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-2441-90/+89
| |
* | Clean up some remaining old format string stuff.Gravatar Sadie Powell2023-01-241-5/+0
| |
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-2450-159/+160
| |
* | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-2347-224/+227
| |
* | Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf.Gravatar Sadie Powell2023-01-232-8/+6
| |
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-2366-224/+235
| |
* | Vendor the fmtlib library.Gravatar Sadie Powell2023-01-231-0/+1
| |
* | Move duration functions to their own header.Gravatar Sadie Powell2023-01-2318-44/+62
| |
* | Replace ModeAction with bool.Gravatar Sadie Powell2023-01-2218-82/+82
| | | | | | | | This enum is functionally the same as bool but with weird semantics.
* | Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-2213-60/+63
| |
* | Make implementing OnStreamSocketClose optional in middle hooks.Gravatar Sadie Powell2023-01-212-9/+0
| |
* | Use the underlying transport method for pinging idle clients.Gravatar Sadie Powell2023-01-211-6/+33
| | | | | | | | Closes #1998.
* | Log the versions of third-party libraries used by modules.Gravatar Sadie Powell2023-01-1911-4/+78
| |
* | The cloak_md5 module needs the md5 module not the sha2 module.Gravatar Sadie Powell2023-01-181-1/+1
| |
* | Check the hashing modules are enabled when creating a cloak method.Gravatar Sadie Powell2023-01-182-0/+13
| |
* | Allow setting <cloak:{host,path}parts> to 0.Gravatar Sadie Powell2023-01-181-3/+3
| |
* | Allow setting a different hostparts option for UNIX sockets.Gravatar Sadie Powell2023-01-181-5/+9
| | | | | | | | | | This defaults to 1 as it doesn't really make sense to expose more than just this.
* | Add a helper method for determining if a sockaddrs is an IP endpoint.Gravatar Sadie Powell2023-01-174-7/+4
| |
* | Add support for linking servers over SCTP sockets.Gravatar Sadie Powell2023-01-163-1/+10
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-162-6/+33
|\|
| * Fix the cycle module sending a notice instead of ERR_BANNEDFROMCHAN.Gravatar Sadie Powell2023-01-161-1/+1
| |
| * Fix building the pgsql connection DSN in some rare cases.Gravatar Sadie Powell2023-01-141-5/+32
| | | | | | | | | | | | These values need to be escaped or they will be malformed. Ref: https://www.postgresql.org/docs/15/libpq-connect.html#id-1.7.3.8.3.5
* | Convert the setidle module to use standard replies.Gravatar Sadie Powell2023-01-161-10/+13
| |
* | Fix some issues reported by scan-build.Gravatar Sadie Powell2023-01-154-3/+16
| | | | | | | | All of these are harmless and should never cause an issue in practise.
* | Fix cloaking users with a non-IP hostname when using hmac-sha256-ip.Gravatar Sadie Powell2023-01-152-5/+6
| |
* | Constify config fields in cloak_sha256.Gravatar Sadie Powell2023-01-151-6/+6
| |
* | Allow cloak_sha256 to only cloak IP addresses and not hostnames.Gravatar Sadie Powell2023-01-151-9/+29
| |
* | Fixes by misspell-fixer.Gravatar InspIRCd Robot2023-01-151-1/+1
| |
* | Improve the output of /CLOAK when there are no methods available.Gravatar Sadie Powell2023-01-141-2/+13
| |
* | Remove some more unnecessary things from the global headers.Gravatar Sadie Powell2023-01-144-0/+4
| |
* | Allow setting <cloak:psl> to "system" to use the system database.Gravatar Sadie Powell2023-01-141-1/+8
| |
* | Check whether a server is using the PSL at server link time.Gravatar Sadie Powell2023-01-141-0/+7
| |
* | Add support for using the Public Suffix List in cloak_sha256.Gravatar Sadie Powell2023-01-141-3/+64
| | | | | | | | Closes #1658.
* | Fix a missing override keyword in the cloak module.Gravatar Sadie Powell2023-01-131-1/+1
| |
* | Use Wrap() for wrapping a host cloak in cloak_sha256.Gravatar Sadie Powell2023-01-131-12/+6
| |
* | Various improvements to the cloak system.Gravatar Sadie Powell2023-01-134-26/+34
| | | | | | | | | | | | | | | | | | | | | | | | - Only rewrite cloak => cloaking if the cloak_md5 module is also loaded. - Include the cloak method in the link data. - If 1206 servers are using different cloak methods then ignore the other data when telling operators about the link failure. - Clean up the code in a few places.
* | Fix cloak_sha256 missing the separator after the prefix.Gravatar Sadie Powell2023-01-131-6/+2
| |
* | Fix cloak_md5 leaking the cloak key over server links.Gravatar Sadie Powell2023-01-131-2/+9
| | | | | | | | | | This was introduced when adding the modern cloak system and does not affect v3.
* | Add a new cloak system that cloaks using HMAC-SHA256.Gravatar Sadie Powell2023-01-131-0/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | 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