fail2ban

Show active fail2ban fails:

# fail2ban-client status

Get list of banned IPs for a specific jail:

# fail2ban-client status asterisk

Verify if those IPs are really banned by iptables:

# iptables -L -v

Notes