wtf@hub:~$ sudo fail2ban-client status sshd Status for the jail: sshd |- Filter | |- Currently failed: 1 | |- Total failed: 443 |
- File list: /var/log/auth.log
- Actions |- Currently banned: 0 |- Total banned: 129
- Banned IP list:`
fail2ban always give zero when there’s banned numbers returned from fbc
wtf@hub:~$ sudo /etc/snmp/fail2ban -c -U
{“version”:“1”,“errorString”:“fail2ban-client exited with 0”,“error”:“0”,“data”:{“jails”:{“sshd”:“0”},“total”:0}}