aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-07-21 09:19:00 +0000
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-07-21 09:19:00 +0000
commit1d990fb0b3a3e579733a5c3fae0d69577b195c61 (patch)
treed7821a2c6b4573f171dcb8d31fb129b986a93f5d /bash
parentf7e5391a52a236e65842543f8c1d01a865199e8e (diff)
downloaddotfiles-1d990fb0b3a3e579733a5c3fae0d69577b195c61.tar.gz
dotfiles-1d990fb0b3a3e579733a5c3fae0d69577b195c61.tar.bz2
dotfiles-1d990fb0b3a3e579733a5c3fae0d69577b195c61.zip
Added permaban table to the "showbanned" command
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index ac0a2c2..153f4e2 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -80,7 +80,7 @@ fi
80if exists pfctl; then 80if exists pfctl; then
81 showbanned () 81 showbanned ()
82 { 82 {
83 for table in "fail2ban"; do 83 for table in "fail2ban" "permaban"; do
84 banned=$(sudo pfctl -t $table -T show 2> /dev/null) 84 banned=$(sudo pfctl -t $table -T show 2> /dev/null)
85 echo -e "$table\n$banned" 85 echo -e "$table\n$banned"
86 done 86 done