Skip to content

Instantly share code, notes, and snippets.

View ZeldaZach's full-sized avatar
💭
The inner machinations of my mind are an enigma

Zach H ZeldaZach

💭
The inner machinations of my mind are an enigma
  • Google
  • Multiverse
View GitHub Profile
@kamermans
kamermans / fail2ban-allstatus.sh
Created July 11, 2011 17:06
Show status of all fail2ban jails at once
#!/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