aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cloak_sha256.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2026-06-051-1/+1
* Fix a -Wreorder warning in cloak_sha256.Gravatar Sadie Powell2025-04-201-1/+1
* Fix enforcing use of the PSL database in link data.•••The link data not being enforced is unfortunately a bug but we can't do anything about it in v4 because it would break link compatibility. Gravatar Sadie Powell2025-04-171-2/+6
* Migrate the Windows build to Conan 2.•••[skip alpine ci] [skip irctest ci] [skip macos ci] [skip ubuntu ci] Gravatar Sadie Powell2025-04-171-1/+0
* Fix freeing the psl library when cloak_sha256 is unloaded.Gravatar Sadie Powell2025-04-171-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2025-03-281-1/+1
* Add a formatting overload of the ModuleException constructor.Gravatar Sadie Powell2025-03-181-1/+1
* Avoid the use of ConvToStr in string concatenation.•••This function calls INSP_FORMAT in most cases nowadays so we may as well just call that manually. Gravatar Sadie Powell2025-03-011-1/+1
* Update the packages for cloak_sha256 that were missed in 8a0f6f38.Gravatar Sadie Powell2024-07-131-2/+3
* Remove host-based cloak data from the hmac-sha256-addr link data.Gravatar Sadie Powell2024-06-101-4/+7
* 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