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/countryblock.tmp | 2 +- config/countryblock/whitelist.tmp | 141 +++++++++++++++++++++-------------- 2 files changed, 85 insertions(+), 58 deletions(-) mode change 100644 => 100755 config/countryblock/whitelist.tmp diff --git a/config/countryblock/countryblock.tmp b/config/countryblock/countryblock.tmp index 2d05d061..48de3021 100755 --- a/config/countryblock/countryblock.tmp +++ b/config/countryblock/countryblock.tmp @@ -301,7 +301,7 @@ background-color: #F3F3F3; ?> - of 246 selected. + of 246 selected. select/unselect
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