From f20fa911c4785f61f8d22c7861b810d38be2206b Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 5 Apr 2022 18:15:56 +0100 Subject: [PATCH] Increase the default connectban ban duration from 10m to 6h. 10m is borderline useless for preventing bot floods. --- docs/conf/modules.conf.example | 2 +- src/modules/m_connectban.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 0d9f76d2e..9f4ef245c 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -714,7 +714,7 @@ # #getUInt("threshold", 10, 1); bootwait = tag->getDuration("bootwait", 60*2); splitwait = tag->getDuration("splitwait", 60*2); - banduration = tag->getDuration("banduration", tag->getDuration("duration", 10*60), 1); + banduration = tag->getDuration("banduration", tag->getDuration("duration", 6*60*60), 1); banmessage = tag->getString("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."); if (status.initial)