mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
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.
This commit is contained in:
parent
72b39087b1
commit
b2807d5bb2
@ -564,7 +564,7 @@
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
# HMAC-SHA256 cloak module: Adds the "hmac-sha256" (hostname or IP) and
|
||||
# "hmac-sha256-ip" (IP only) cloak methods. This is the recommended
|
||||
# "hmac-sha256-addr" (IP only) cloak methods. This is the recommended
|
||||
# cloak module for new networks.
|
||||
#
|
||||
# IMPORTANT: If you are using this module you should also load the sha2
|
||||
@ -619,7 +619,7 @@
|
||||
# pathparts="1"
|
||||
# psl="system">
|
||||
#
|
||||
#<cloak method="hmac-sha256-ip"
|
||||
#<cloak method="hmac-sha256-addr"
|
||||
# key="changeme"
|
||||
# class=""
|
||||
# prefix="MyNet"
|
||||
|
@ -337,14 +337,14 @@ class ModuleCloakSHA256 final
|
||||
: public Module
|
||||
{
|
||||
private:
|
||||
SHA256Engine addrcloak;
|
||||
SHA256Engine hostcloak;
|
||||
SHA256Engine ipcloak;
|
||||
|
||||
public:
|
||||
ModuleCloakSHA256()
|
||||
: Module(VF_VENDOR, "Adds the hmac-sha256 and hmac-sha256-ip cloaking methods for use with the cloak module.")
|
||||
, addrcloak(this, "hmac-sha256-addr", false)
|
||||
, hostcloak(this, "hmac-sha256", true)
|
||||
, ipcloak(this, "hmac-sha256-ip", false)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user