diff options
| author | 2021-06-18 11:18:56 +0100 | |
|---|---|---|
| committer | 2021-06-18 11:18:56 +0100 | |
| commit | a509f47b7d7c485dfafe2f8fe90d3dc2297b6027 (patch) | |
| tree | d06b2e07af9f5a0f64f3e630ca5ed51873dbacb1 /docs/conf | |
| parent | Fix joinflood overwriting the bootwait timer on split. (diff) | |
Add the bootwait and splitwait options to connectban.
Diffstat (limited to 'docs/conf')
| -rw-r--r-- | docs/conf/modules.conf.example | 36 |
1 files changed, 27 insertions, 9 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 87648a88f..837d51e6a 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -687,16 +687,34 @@ # (configurable) duration, and their count resets to 0. #<module name="connectban"> # -# ipv4cidr and ipv6cidr allow you to turn the comparison from -# individual IP addresses (32 and 128 bits) into CIDR masks, to allow -# for throttling over whole ISPs/blocks of IPs, which may be needed to -# prevent attacks. +# threshold - The number of connections which are allowed before a user +# is connectbnaned. Defaults to 10. # -# This allows for 10 connections in an hour with a 10 minute ban if -# that is exceeded. -#<connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128" -# A custom ban message may optionally be specified. -# banmessage="Your IP range has been attempting to connect too many times in too short a duration. Wait a while, and you will be able to connect."> +# banmessage - The message to give users when Z-lining them for connecting +# too much. +# +# duration - The time period to ban users who connect to much for. Defaults +# to 10 minutes. +# +# ipv4cidr - The IPv4 CIDR mask (1-32) to treat connecting users as coming +# from the same host. Defaults to 32. +# +# ipv6cidr - The IPv6 CIDR mask (1-128) to treat connecting users as coming +# from the same host. Defaults to 128. +# +# bootwait - The time period to wait after starting up before enforcing +# connection bans. Defaults to 2 minutes. +# +# splitwait - The time period to wait after a netsplit before enforcing +# connection bans. Defaults to 2 minutes. +# +#<connectban threshold="10" +# banmessage="Your IP range has been attempting to connect too many times in too short a duration. Wait a while, and you will be able to connect." +# duration="10m" +# ipv4cidr="32" +# ipv6cidr="128" +# bootwait="2m" +# splitwait="2m"> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Connection throttle module. |
