diff --git a/Shorewall/shorewall b/Shorewall/shorewall index 1b0dcb641..6043e993c 100755 --- a/Shorewall/shorewall +++ b/Shorewall/shorewall @@ -209,6 +209,13 @@ display_chains() timed_read + clear + echo -e "$banner `date`\\n" + firstchain=Yes + echo -e "Dynamic Chain\\n" + showchain dynamic + timed_read + qt rm -f /tmp/chains-$$ else iptables -L -n -v @@ -327,6 +334,10 @@ monitor_firewall() # $1 = timeout -- if negative, prompt each time that echo -e "$banner `date`\\n" echo -e "NAT Status\\n" iptables -t nat -L -n -v + timed_read + + clear + echo -e "$banner `date`\\n" echo -e "\\nTOS/MARK Status\\n" iptables -t mangle -L -n -v timed_read @@ -658,13 +669,13 @@ case "$1" in mutex_on while [ $# -gt 1 ]; do shift - if qt iptables -D dynamic -s $1 -j reject then + if qt iptables -D dynamic -s $1 -j reject; then # # Address was rejected -- silently remove any drop as well # qt iptables -D dynamic -s $1 -j DROP echo "$1 Allowed" - elif qt iptables -D dynamic -s $1 -j DROP then + elif qt iptables -D dynamic -s $1 -j DROP; then echo "$1 Allowed" else echo "$1 Not Dropped or Rejected"