diff options
| author | 2015-07-21 09:19:00 +0000 | |
|---|---|---|
| committer | 2015-07-21 09:19:00 +0000 | |
| commit | 1d990fb0b3a3e579733a5c3fae0d69577b195c61 (patch) | |
| tree | d7821a2c6b4573f171dcb8d31fb129b986a93f5d | |
| parent | f7e5391a52a236e65842543f8c1d01a865199e8e (diff) | |
| download | dotfiles-1d990fb0b3a3e579733a5c3fae0d69577b195c61.tar.gz dotfiles-1d990fb0b3a3e579733a5c3fae0d69577b195c61.tar.bz2 dotfiles-1d990fb0b3a3e579733a5c3fae0d69577b195c61.zip | |
Added permaban table to the "showbanned" command
| -rw-r--r-- | bash/.bashrc | 2 |
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 | |||
| 80 | if exists pfctl; then | 80 | if 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 |
