From 19b20de56a8317bbd0caa8dffb6a07747dab9c4c Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Tue, 30 Apr 2024 13:02:23 +0200 Subject: [PATCH] Update blockbots.conf Default - Super Rate Limiting Commented Out User must decide if they want to use it Ref: #568 --- bots.d/blockbots.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bots.d/blockbots.conf b/bots.d/blockbots.conf index 914fdc9cbf6..ea70bf1d56a 100644 --- a/bots.d/blockbots.conf +++ b/bots.d/blockbots.conf @@ -54,8 +54,11 @@ limit_conn bot2_connlimit 10; limit_req zone=bot2_reqlimitip burst=10; -limit_conn bot4_connlimit 10; -limit_req zone=bot4_reqlimitip burst=10; + +# Uncomment below lines for super rate limiting feature +#limit_conn bot4_connlimit 10; +#limit_req zone=bot4_reqlimitip burst=10; + if ($bad_bot = '3') { return 444; }