fail2ban_commands
This is an old revision of the document!
View Current Jails
What current jails are there?
# fail2ban-client status Status |- Number of jail: 1 `- Jail list: wp-login, xmlrpc
Viewing Jail Information
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
Unban IP
Fail2Ban < v0.8.8:
fail2ban-client get JAILNAME actionunban x.x.x.x
Fail2Ban > v0.8.8:
fail2ban-client set JAILNAME unbanip x.x.x.x
fail2ban_commands.1473003019.txt.gz · Last modified: 2024/05/23 07:26 (external edit)