Em 30/05/2018 17:32, Teresa e Junior escreveu:
The problem, though, is that this log line doesn't match against
/etc/fail2ban/filter.d/sshd.conf either (Ubuntu 16.04 and 18.04):
$ fail2ban-regex "May 30 21:03:25 vps docker/ftps[1346]: Failed password
for teresaejunior from 1.2.3.4 port 50714 ssh2"
/etc/fail2ban/filter.d/sshd.conf
It doesn't match because docker/ftps[1346] is invalid in the filter. It
expects sshd[1346]. The solution is copying sshd.conf to ftps.local and
setting "_daemon = docker/ftps".
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users