From 77553570579eb94024d979e8d461fa0d86e4528e Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Tue, 30 Apr 2024 12:51:42 +0200 Subject: [PATCH] Update blockbots.conf [skip ci] Ref: #568 Update to accommodate super rate limiting function --- bots.d/blockbots.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bots.d/blockbots.conf b/bots.d/blockbots.conf index 1c89847bb..914fdc9cb 100644 --- a/bots.d/blockbots.conf +++ b/bots.d/blockbots.conf @@ -2,8 +2,8 @@ # VERSION INFORMATION # #---------------------- -# Version: V4.2019.04 -# Updated: 2019-06-28 +# Version: V5.2024.04 +# Updated: 2024-04-30 #---------------------- # VERSION INFORMATION # @@ -49,15 +49,16 @@ # BLOCK BAD BOTS # -------------- -# Section bot_1 Unused #limit_conn bot1_connlimit 100; #limit_req zone=bot1_reqlimitip burst=50; limit_conn bot2_connlimit 10; limit_req zone=bot2_reqlimitip burst=10; +limit_conn bot4_connlimit 10; +limit_req zone=bot4_reqlimitip burst=10; if ($bad_bot = '3') { - return 444; # << Response Code Issued May Be Modified to Whatever you Choose ie. 404 but 444 wastes less of Nginxs time - } + return 444; +} # --------------------- # BLOCK BAD REFER WORDS