Changes

Jump to navigation Jump to search
344 bytes added ,  10:01, 20 June 2018
add status help
sudo fail2ban-client status
sudo fail2ban-client status apache-post
 
== Status ==
If you have many jails, and want to see the status of each of them, there is no built-in <code>--all</code> option for '''<code>fail2ban-client status</code>''' but you can just use a simple short script:
<source lang="bash">
fail2ban-client status | sed -n 's/,//g;s/.*Jail list://p' | xargs -n1 fail2ban-client status
</source>
[[Category:Security]]
4,558

edits

Navigation menu