aboutsummaryrefslogtreecommitdiff
path: root/include/modules/cloak.h
Commit message (Expand)AuthorAgeFilesLines
* Only regenerate cloaks if a cloak of that type exists.•••This prevents unnecessary recloaking which may result in spam. Gravatar Sadie Powell2023-06-071-0/+5
* Fix some typos in the cloak header.Gravatar Sadie Powell2023-06-061-2/+2
* 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/+9
* Fix the cloak modules on Clang and MSVC.Gravatar Sadie Powell2023-05-031-1/+1
* Add <cloak:class> to limit cloaks to a specific connect class.Gravatar Sadie Powell2023-05-021-1/+16
* Allow modules to get/reset the cloak lists.Gravatar Sadie Powell2023-02-141-0/+38
* Include more stuff in the Doxygen documentation.Gravatar Sadie Powell2023-01-241-1/+2
* Fix Cloak::Method and Log::Method being needlessly Cullable.•••If a method needs to be cullable it can inherit from that type and pass Cullable::Deleter as a custom deleter to the shared_ptr. Gravatar Sadie Powell2023-01-181-1/+2
* Improve the output of /CLOAK when there are no methods available.Gravatar Sadie Powell2023-01-141-2/+2
* Fix a Doxygen comment typo in Cloak::Method.Gravatar Sadie Powell2023-01-141-1/+1
* 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-0/+6
* 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-1/+1
* Add the core of the new cloak implementation.Gravatar Sadie Powell2023-01-131-0/+142