mirror of
https://github.com/deunix-educ/Fail2banMqttActionBanishment.git
synced 2026-08-24 03:11:58 +02:00
First commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Jail dédiée à la commande RATE_LIMIT (Phase 4) — jamais déclenchée par
|
||||
# un log, uniquement par injection manuelle (fail2ban-client set banip)
|
||||
# depuis master_client.py sur réception de RATE_LIMIT (déclenchée à la
|
||||
# main via manage.py publish_command, cf. master-sync.conf pour le même
|
||||
# schéma). banaction = f2b-iptables-hashlimit : throttle (10 req/s, burst
|
||||
# 20) au lieu d'un blocage total — cas limite, faux positifs probables.
|
||||
[master-ratelimit]
|
||||
enabled = true
|
||||
filter = master-sync
|
||||
logpath = /var/log/fail2ban.log
|
||||
banaction = f2b-iptables-hashlimit
|
||||
bantime = 1h
|
||||
maxretry = 999999
|
||||
Reference in New Issue
Block a user