mirror of
https://github.com/deunix-educ/Fail2banMqttActionBanishment.git
synced 2026-08-24 03:11:58 +02:00
14 lines
612 B
INI
14 lines
612 B
INI
# 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
|