diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-13 15:27:04 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-13 15:27:04 +0000 |
commit | fd4dbfca434adf436c8337b7ae2ad9607b065eae (patch) | |
tree | 209afffeba687c05ec90234fb7c0b1c10327e398 /conf/modules.conf.example | |
parent | da983dcea72b9089d49d8f11726a418606d1ec5f (diff) |
Update documentation for cloaking
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11869 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'conf/modules.conf.example')
-rw-r--r-- | conf/modules.conf.example | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/conf/modules.conf.example b/conf/modules.conf.example index 691068a73..9be667159 100644 --- a/conf/modules.conf.example +++ b/conf/modules.conf.example @@ -474,34 +474,37 @@ # #-#-#-#-#-#-#-#-#-#-#- CLOAKING CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-# # # -# Optional - If you specify the m_cloaking.so module as above, you # -# must define cloak keys, and optionally a cloak prefix as shown # -# below. When using cloaking, the cloak keys are MANDITORY and must # -# be included. However, if prefix is not included, it will default # -# to your networks name from the <server> tag. You can also include # -# the following optional values: # -# # -# ipalways - Always cloak the IP address, not the hostname, # -# which doesn't reveal the user's ISP, but # -# results in hosts that are harder to read and # -# ban. # -# # -# lowercase - Display the cloaked hostnames in lowercase # -# characters instead of uppercase # -# # -# <cloak key1="0x2AF39F40" # -# key2="0x78E10B32" # -# key3="0x4F2D2E82" # -# key4="0x043A4C81" # -# prefix="mynet" # -# ipalways="false" # -# lowercase="false"> # -# # -# Please note that the key values will accept any number, and should # -# be large numbers. Using small numbers such as "7" or "1924" will # -# seriously weaken the security of your cloak. It is recommended you # -# use hexdecimal numbers prefixed by "0x", as shown in this example, # -# with each key eight hex digits long. # +# If you specify the m_cloaking.so module as above, you must define # +# cloak keys, and optionally a cloak prefix as shown below. The cloak # +# keys must be shared across the network for correct cloaking. # +# # +# There are four methods of cloaking: # +# # +# half Cloak only the "unique" portion of a host; show # +# the last 2 parts of the domain, /16 subnet of IPv4 # +# or /48 subnet of the IPv6 address. # +# # +# full Cloak the users completely, using three slices for # +# common CIDR bans (IPv4: /16, /24; IPv6: /48, /64) # +# # +# These methods use a single key that can be any length of text. # +# An optional prefix may be specified to mark cloaked hosts. # +# # +# The following methods are maintained for backwards compatibility; # +# they are slightly less secure, and always hide unresolved IPs # +# # +# compat-host InspIRCd 1.2-compatible host-based cloaking # +# compat-ip InspIRCd 1.2-compatible ip-always cloaking # +# # +# You must specify key1, key2, key3, key4 for the compat cloaking # +# modes; the values must be less than 0x80000000 and should be picked # +# at random. Prefix is mandatory, will default to network name if not # +# specified, and will always have a "-" appended. # +#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# +# +#<cloak mode="half" +# key="secret" +# prefix="net-"> #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Close module: Allows an oper to close all unregistered connections. @@ -1238,9 +1241,7 @@ # whenever +P is set, unset, or the topic/modes on a +P channel is changed. # If you want to do this, set the filename below, and uncomment the include. # -# The conf file generated has a path relative to the inspircd binary, hence '../conf/'. -# -#<permchanneldb filename="../conf/permchannels.conf"> +#<permchanneldb filename="conf/permchannels.conf"> #<include file="permchannels.conf"> # # You may also create channels on startup by using the <permchannels> block. |