From 1d990fb0b3a3e579733a5c3fae0d69577b195c61 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Tue, 21 Jul 2015 09:19:00 +0000 Subject: Added permaban table to the "showbanned" command --- bash/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/.bashrc') diff --git a/bash/.bashrc b/bash/.bashrc index ac0a2c2..153f4e2 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -80,7 +80,7 @@ fi if exists pfctl; then showbanned () { - for table in "fail2ban"; do + for table in "fail2ban" "permaban"; do banned=$(sudo pfctl -t $table -T show 2> /dev/null) echo -e "$table\n$banned" done -- cgit v1.2.3