Page 1 of 1

Fail2ban - filter setting

Posted: Saturday 31 July 2021 17:02
by valdoison
Hello
I followed the tutorial of installation and configuration of FAIL2BAN. But it doesn't work.
I don't understand regular expressions in the filter corresponding to DOMOTICZ. The errors for brute force attacks are rather of the style:
2021-07-30 23:53:29.581 Error: Error parsing http request address: ::ffff:167.99.165.11
Which does not seem to match those of the filter.
But I may be wrong.
Kind regards

Re: Fail2ban - filter setting

Posted: Saturday 07 August 2021 18:06
by DAVIZINHO
hello
i try to setup yesterday and my problems is in the setup procedure. The test comand: fail2ban-regex wronglogin.txt /etc/fail2ban/filter.d/domoticz.conf
read de file wronlogin.txt but returns failregex 0

any idea?