diff --git a/fail2ban-status b/fail2ban-status new file mode 100755 index 0000000..86acd08 --- /dev/null +++ b/fail2ban-status @@ -0,0 +1,8 @@ +#!/bin/sh +#!/bin/bash + +JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'` +for JAIL in $JAILS +do + fail2ban-client status $JAIL +done