The "cloaking" Module (v3)


This module adds user mode x (cloak) which allows user hostnames to be hidden.


To load this module use the following <module> tag:

<module name="cloaking">


The <cloak> tag defines a cloaking profile. This tag can be defined as many times as required.

Name Type Default Value Description
domainparts Number 3 If the half mode is used then the maximum number of domain labels that should be visible.
mode Text None The cloaking method to use.
prefix Text None The value to prefix IP address cloaks with.
suffix Text .IP The value to suffix IP address cloaks with.
key Text None Required for the half and full modes! A random 30+ character value to use as a secret key when cloaking. The longer this is the more secure it is.
ignorecase Boolean No New in v3.4.0! Whether to to ignore the case of a FQDN when cloaking.

The mode field should be set to one of the following values:

Value Description
full Cloak the user completely using three slices for common CIDR bans (IPv4: /16 /24 /32, IPv6: /32 /48 /64). Requires the md5 module.
half Cloak only the unique portion of a hostname. The last two segments of a hostname, /16 subnet of a IPv4 address, or /48 subnet of a IPv6 adddress will be visible. Requires the md5 module.
Example Usage

Cloaking using the full mode:

<cloak mode="full"

Cloaking using the half mode:

<cloak mode="half"

User Modes

Name Character Type Parameter Syntax Usable By Description
cloak x Switch None Anyone Enables hiding of the user's hostname.

Special Notes

The first <cloak> tag will be used for the cloak set when a user enables user mode x (cloak). The rest will be generated and used to check bans. This allows you to migrate cloaking mode or to change your cloaking key without breaking your bans.