From ff9c601d22f13348faa4342a5a0902da2f9b930f Mon Sep 17 00:00:00 2001 From: bbruns Date: Sun, 22 Aug 2010 02:23:51 +0000 Subject: [PATCH] Minor tweaks --- rc.firewall | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rc.firewall b/rc.firewall index 4c5e73f..75d4177 100755 --- a/rc.firewall +++ b/rc.firewall @@ -151,7 +151,8 @@ if [ "$BLOCKTCPPORTS" ] || [ "$BLOCKUDPPORTS" ]; then if [ "$BLOCKTCPPORTS" ]; then for i in $BLOCKTCPPORTS; do - echo -en "\E[35mTCP\E[37m/\E[32m$i " + #echo -en "\E[35mTCP\E[37m/\E[32m$i " + echo -en "${PURPLE}TCP${DEFAULT_COLOR}/${GREEN}$i " $IPTABLES -A OUTPUT -p tcp --dport $i --syn -j DROP if [ "$NATRANGE" ]; then for src in $NATRANGE; do @@ -162,7 +163,8 @@ if [ "$BLOCKTCPPORTS" ] || [ "$BLOCKUDPPORTS" ]; then fi if [ "$BLOCKUDPPORTS" ]; then for i in $BLOCKUDPPORTS; do - echo -en "\E[34mUDP\E[37m/\E[32m$i " + #echo -en "\E[34mUDP\E[37m/\E[32m$i " + echo -en "${BLUE}UDP${DEFAULT_COLOR}/${GREEN}$i " $IPTABLES -A OUTPUT -p udp --dport $i -j DROP if [ "$NATRANGE" ]; then for src in $NATRANGE; do