From 2456629c6f172395dc7a0d32d4a622c6167da9ee Mon Sep 17 00:00:00 2001 From: Tom Schaefer Date: Sat, 2 Oct 2010 04:46:58 -0400 Subject: fixed two bugs that were introduced in the last upgrade --- config/countryblock/whitelist.tmp | 141 +++++++++++++++++++++++--------------- 1 file changed, 84 insertions(+), 57 deletions(-) mode change 100644 => 100755 config/countryblock/whitelist.tmp (limited to 'config/countryblock/whitelist.tmp') diff --git a/config/countryblock/whitelist.tmp b/config/countryblock/whitelist.tmp old mode 100644 new mode 100755 index 46e26608..b73c24ad --- a/config/countryblock/whitelist.tmp +++ b/config/countryblock/whitelist.tmp @@ -1,14 +1,6 @@ - - - - + +?> -

Firewall: Country Block - Whitelist

+ + +

+ +
- - - - - - - - - - - - - -

- - + + + + +
+ +
+
+ + + + + + + + + + + + + +
Whitelist
+ + -
- Manual - - -
-

+ +

Enter the CIDR Range you would like to whitlist

@@ -200,14 +183,58 @@ echo "

";

-
+ + + +
- +
+
+
+ '0') echo "Running"; + else + echo "NOT running"; + + //Get Errors if exists + ob_start(); + $results = exec("tail -r errorOUT.txt"); + ob_end_clean(); + echo "
"; + echo $results; + echo ""; + + //Get IP Count + echo "
You are blocking "; + ob_start(); + $results = exec("pfctl -T show -t countryblock |grep -v -c Z"); + ob_end_clean(); + echo $results; + echo " Networks"; + ?> - +

+

+

+
+ + - \ No newline at end of file + + -- cgit v1.2.3