What current jails are there?
# fail2ban-client status Status |- Number of jail: 1 `- Jail list: wp-login, xmlrpc
Viewing the status of that jail such as: total banned, blocked IPs, number of failed attempts
# fail2ban-client status xmlrpc Status for the jail: xmlrpc |- Filter | |- Currently failed: 1 | |- Total failed: 21 | `- File list: /var/log/nginx/access.log `- Actions |- Currently banned: 3 |- Total banned: 3 `- Banned IP list: x.x.x.x x.x.x.x x.x.x.x
# fail2ban-client ssh-iptables set addignoreip x.x.x.x These IP addresses/networks are ignored: |- 127.0.0.1/8 `- 7x.x.x.xGetting the IPs
# fail2ban-client get ssh-iptables ignoreip
Fail2Ban < v0.8.8:
fail2ban-client get JAILNAME actionunban x.x.x.x
fail2ban-client set JAILNAME unbanip x.x.x.x