fail2ban/domoticz
Posted: Wednesday 30 December 2020 10:09
Hi,
I use on PIs and servers fail2ban to prevent brut force attack on SSH port. I've try to setup a jail to secure domoticz accordind to this tutorial : https://www.domoticz.com/wiki/Setup_fail2ban
After restart, it works (after 3 mistakes to logion page, the IP is push to iptables) but after several hours, the jail looks not fired
If I try regex (fail2ban-regex /tmp/domoticz.txt /etc/fail2ban/filter.d/domoticz.conf), it works. If I look to Top fail2ban is currently running.
I've try to restart f2b with systemctl restart fail2ban but the issue still present. If I reboot the Pi, it restarts working correctly. Strange :'
Thanks for your help.
raspbian : 10 buster
domoticz : 2020.2
Mira
I use on PIs and servers fail2ban to prevent brut force attack on SSH port. I've try to setup a jail to secure domoticz accordind to this tutorial : https://www.domoticz.com/wiki/Setup_fail2ban
After restart, it works (after 3 mistakes to logion page, the IP is push to iptables) but after several hours, the jail looks not fired

If I try regex (fail2ban-regex /tmp/domoticz.txt /etc/fail2ban/filter.d/domoticz.conf), it works. If I look to Top fail2ban is currently running.
I've try to restart f2b with systemctl restart fail2ban but the issue still present. If I reboot the Pi, it restarts working correctly. Strange :'
Thanks for your help.
raspbian : 10 buster
domoticz : 2020.2
Mira