fail2banの稼働状況
fail2ban-client status
Status
|- Number of jail: 2
`- Jail list: asterisk, ssh
BANリスト表示
fail2ban-client status <JAIL-NAME> fail2ban-client status asterisk
Status for the jail: asterisk
|- filter
| |- File list: /var/log/asterisk/security_log
| |- Currently failed: 0
| `- Total failed: 173
`- action
|- Currently banned: 4
| `- IP list: 45.143.223.112 185.108.106.251 185.147.212.14 45.143.220.250
`- Total banned: 4
手動でUNBAN
fail2ban-client set <JAIL-NAME> unbanip <IP-ADDRESS>
手動でBAN
fail2ban-client set <JAIL-NAME> banip <IP-ADDRESS>
コメント