fail2ban script added
This commit is contained in:
parent
c24bd5ad9d
commit
d1dd85fc35
8
fail2ban-status
Executable file
8
fail2ban-status
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user