From a509f47b7d7c485dfafe2f8fe90d3dc2297b6027 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 18 Jun 2021 11:18:56 +0100 Subject: Add the bootwait and splitwait options to connectban. --- docs/conf/modules.conf.example | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) (limited to 'docs/conf/modules.conf.example') 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. # # -# 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. -# -# This allows for 10 connections in an hour with a 10 minute ban if -# that is exceeded. -# +# threshold - The number of connections which are allowed before a user +# is connectbnaned. Defaults to 10. +# +# 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. +# +# #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Connection throttle module. -- cgit v1.3.1-10-gc9f91