diff options
Diffstat (limited to 'remote/check_server_traffic.sh')
-rwxr-xr-x | remote/check_server_traffic.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/remote/check_server_traffic.sh b/remote/check_server_traffic.sh deleted file mode 100755 index a9f0abf..0000000 --- a/remote/check_server_traffic.sh +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/bash - -all_in=`iptables -L traffic_in -n -v -x | grep -E "0\.0\.0\.0/0[[:space:]]+0\.0\.0\.0/0" | awk 'END { print $2}'` -all_out=`iptables -L traffic_out -n -v -x | grep -E "0\.0\.0\.0/0[[:space:]]+0\.0\.0\.0/0" | awk 'END { print $2}'` -all_forward=`iptables -L traffic_forward -n -v -x | grep -E "0\.0\.0\.0/0[[:space:]]+0\.0\.0\.0/0" | awk 'END { print $2}'` - -echo "$all_in $all_out $all_forward" |