File not present : fail2ban.log

Salut,

tu t’es basé sur quelle doc quand tu dis que tu as suivi ce qui était indiqué.?

Sur HA OS c’est possible d’activer un fail2ban inclus dans HA, si tu regardes ce doc, il y a les paramètres "ip_ban_enabled " et "login_attempts_threshold "

IP filtering and banning

If you want to apply additional IP filtering, and automatically ban brute force attempts, set ip_ban_enabled to true and the maximum number of attempts. After the first ban, an ip_bans.yaml file will be created in the root configuration folder. It will have the banned IP address and time in UTC when it was added:

127.0.0.1:
  banned_at: "2016-11-16T19:20:03"

After a ban is added a Persistent Notification is populated to the Home Assistant frontend.

1 « J'aime »