summaryrefslogtreecommitdiff
path: root/docs/conf
diff options
context:
space:
mode:
authorGoogolplexed <googol@googolplexed.net>2014-02-27 11:55:20 +0000
committerAttila Molnar <attilamolnar@hush.com>2014-02-27 16:17:46 +0100
commitdcd07e389241e8bf23eabdf7da5c92c3f9ba5391 (patch)
tree3bdc42041e2a9b519f1bf2ec69c3329f07f35fa1 /docs/conf
parent8af4a2795befd73e1b3bf048560054d8fb7fc0f4 (diff)
Give m_connectban a configurable ban message
Diffstat (limited to 'docs/conf')
-rw-r--r--docs/conf/modules.conf.example6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index 874f1fab5..7d7fba26c 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -563,7 +563,11 @@
# 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.
#
-#<connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128">
+# A custom ban message may optionally be specified.
+#
+# <connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128"
+# 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.">
+#
# This allows for 10 connections in an hour with a 10 minute ban if that is exceeded.
#
#<module name="m_connectban.so">