root@NC-PH-0657-10:/etc/fail2ban# fail2ban-client status
Status
|- Number of jail: 6
- Jail list: nginx-post, pam-generic, dovecot, exim-spam, exim, ssh
root@NC-PH-0657-10:/etc/fail2ban# fail2ban-client ping
Server replied: pong
root@NC-PH-0657-10:/etc/fail2ban# fail2ban-client reload
root@NC-PH-0657-10:/etc/fail2ban# fail2ban-client status
Status
|- Number of jail: 6
- Jail list: nginx-post, pam-generic, dovecot, exim-spam, exim, ssh
root@NC-PH-0657-10:/etc/fail2ban# fail2ban-client get dbfile
ERROR NOK: ('list index out of range',)
Sorry but the command is invalid
Sorry but the command is invalid
root@NC-PH-0657-10:/etc/fail2ban# fail2ban-client get dbpurgeage
ERROR NOK: ('list index out of range',)
Sorry but the command is invalid
cat fail2ban.conf
(...)
dbfile = /etc/fail2ban/db/fail2ban.sqlite3
root@NC-PH-0657-10:/etc/fail2ban# dpkg -l fail2ban
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-====================================================================
ii fail2ban 0.8.13-1 all ban hosts that cause multiple authentication errors
root@NC-PH-0657-10:/etc/fail2ban# uname -a
Linux NC-PH-0657-10 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux