aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cloak_sha256.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update module descriptions.Gravatar Sadie Powell2023-02-011-1/+1
* Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-2/+2
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-1/+1
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-8/+8
* Log the versions of third-party libraries used by modules.Gravatar Sadie Powell2023-01-191-0/+8
* Check the hashing modules are enabled when creating a cloak method.Gravatar Sadie Powell2023-01-181-0/+7
* Allow setting <cloak:{host,path}parts> to 0.Gravatar Sadie Powell2023-01-181-3/+3
* 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. Gravatar Sadie Powell2023-01-181-5/+9
* Fix cloaking users with a non-IP hostname when using hmac-sha256-ip.Gravatar Sadie Powell2023-01-151-5/+2
* 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
* 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.•••Closes #1658. Gravatar Sadie Powell2023-01-141-3/+64
* Use Wrap() for wrapping a host cloak in cloak_sha256.Gravatar Sadie Powell2023-01-131-12/+6
* Various improvements to the cloak system.•••- 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. Gravatar Sadie Powell2023-01-131-13/+9
* Fix cloak_sha256 missing the separator after the prefix.Gravatar Sadie Powell2023-01-131-6/+2
* 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 Gravatar Sadie Powell2023-01-131-0/+250