aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cloak_sha256.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+1
* Update module descriptions.Gravatar Sadie Powell2024-03-011-1/+1
* Rename the hmac-sha256-ip cloak engine to hmac-sha256-addr.•••This engine cloaks the socket address which may not necessarily be an IP address. Gravatar Sadie Powell2024-02-121-2/+2
* Make the linkdata host/unix cloaks longer to test suffix truncation.Gravatar Sadie Powell2023-08-111-4/+4
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-1/+2
* Fix building cloak_sha256 against libpsl on Windows.Gravatar Sadie Powell2023-06-191-3/+7
* Include <cloak:pathparts> as link data in cloak_sha256.Gravatar Sadie Powell2023-06-071-0/+1
* 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. Gravatar Sadie Powell2023-06-061-0/+5
* Try to cloak with the registerable suffix first with PSL cloaking.Gravatar Sadie Powell2023-06-051-1/+3
* Add <cloak:class> to limit cloaks to a specific connect class.Gravatar Sadie Powell2023-05-021-2/+2
* 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