Update globalblacklist.template )New Super Rate Limiting) [skip ci]

Ref: #568
This commit is contained in:
Mitchell Krog 2024-04-24 14:13:36 +02:00 committed by GitHub
parent 601e6b46a5
commit 3d20ebe1b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19350,6 +19350,7 @@ geo $ratelimited {
0 "";
1 "";
2 $binary_remote_addr;
4 $binary_remote_addr;
}
# --------------------------
@ -19362,6 +19363,12 @@ geo $ratelimited {
limit_conn_zone $bot_iplimit zone=bot2_connlimit:16m;
limit_req_zone $bot_iplimit zone=bot2_reqlimitip:16m rate=2r/s;
# BAD BOT SUPER RATE LIMITING ZONE
# Super Rate limiting will only take effect if on any User-Agents with a value of 4
limit_conn_zone $bot_iplimit zone=bot4_connlimit:16m;
limit_req_zone $bot_iplimit zone=bot4_reqlimitip:16m rate=1r/m;
# ==========================================
# END SECTION 4 - ACTIVATE BLOCKER FUNCTIONS
# ==========================================