From 9f9714c2027eff31f38e34db72d7de114fb09dc2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 2 May 2023 13:51:12 +0100 Subject: Add the cloak_account module to cloak based on an account name/id. --- docs/conf/modules.conf.example | 47 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 323e734ea..690c509de 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -515,12 +515,53 @@ #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Cloak module: Adds user mode x (cloak) which allows user hostnames to # be hidden. This module does not provide any cloak methods by itself. -# You should also load another module like cloak_md5 or cloak_sha256. +# You should also load another module like cloak_account or cloak_sha256. # # In order to have users automatically cloaked on connect you should # load the conn_umodes module and add "x" to . # +#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# +# Account cloak module: Adds the "account" (services account name) and +# "account-id" (services account identifier) cloak methods. +# +# +#-#-#-#-#-#-#-#-#-#- ACCOUNT CLOAK CONFIGURATION -#-#-#-#-#-#-#-#-#-#-# +# To use the cloak_account module you must define a tag. This # +# tag can have the following fields. # +# # +# class - If non-empty then a comma-delimited list of connect # +# class names that a user has to be in to get the cloak # +# from this tag. # +# # +# prefix - A freeform value to prefix cloaks with. This must not # +# contain spaces. # +# # +# suffix - A freeform value to suffix IPv4/IPv6 cloaks with. This # +# must not contain spaces. # +# # +# sanitize - If enabled then any characters in the account name/id # +# that are not valid in a hostname will be removed rather # +# than skipping the cloak method. Defaults to yes. # +# # +# IMPORTANT: Changing these details will break all of your existing # +# bans. If you do not want this to happen you can define multiple # +# cloak tags. The first will be used for hostnames and the rest will # +# be used for checking if a user is banned in a channel. # +#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# +# +# +# +# + #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # MD5 cloak module: Adds the "half" and "full" cloak methods. These # methods are obsolete and should only be used on a network which is @@ -545,8 +586,8 @@ # prefix - A freeform value to prefix cloaks with. This must not # # contain spaces. # # # -# suffix - A freeform value to suffix IPv4/IPv6 cloaks with. This # -# must not contain spaces. # +# suffix - A freeform value to suffix cloaks with. This must not # +# contain spaces. # # # # domainparts - The maximum number of hostname labels that should be # # visible on the end of a host. Defaults to 3. # -- cgit v1.3.1-10-gc9f91