diff options
Diffstat (limited to 'config/countryblock')
-rw-r--r-- | config/countryblock/countryblock.inc | 2 | ||||
-rwxr-xr-x | config/countryblock/countryblock.sh | 4 | ||||
-rw-r--r-- | config/countryblock/countryblock.tmp | 2 | ||||
-rw-r--r-- | config/countryblock/countryblock.xml | 2 | ||||
-rw-r--r-- | config/countryblock/countryblock_IPBlocklist.widget.tmp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/config/countryblock/countryblock.inc b/config/countryblock/countryblock.inc index 64c1f4cc..5451b4bf 100644 --- a/config/countryblock/countryblock.inc +++ b/config/countryblock/countryblock.inc @@ -4,7 +4,7 @@ /* ========================================================================== */ /* countryblock.inc - Copyright (C) 2011 Tom Schaefer + Copyright (C) 2012 Tom Schaefer All rights reserved. */ /* ========================================================================== */ diff --git a/config/countryblock/countryblock.sh b/config/countryblock/countryblock.sh index ce3e3c04..e8454db1 100755 --- a/config/countryblock/countryblock.sh +++ b/config/countryblock/countryblock.sh @@ -1,6 +1,6 @@ #!/bin/sh -#version 2.0 +#version 2.4 2012 #check if countryblock running export resultr=`pfctl -s rules | grep -c countryblock` #echo $resultr @@ -82,4 +82,4 @@ mv /tmp/rules.debug /tmp/rules.debug.old mv /tmp/rules.debug.tmp /tmp/rules.debug rm errorOUT.txt -pfctl -o basic -f /tmp/rules.debug > /usr/local/www/packages/countryblock/errorOUT.txt 2>&1
\ No newline at end of file +pfctl -o basic -f /tmp/rules.debug > /usr/local/www/packages/countryblock/errorOUT.txt 2>&1 diff --git a/config/countryblock/countryblock.tmp b/config/countryblock/countryblock.tmp index 39ee6e64..eb98f283 100644 --- a/config/countryblock/countryblock.tmp +++ b/config/countryblock/countryblock.tmp @@ -1,6 +1,6 @@ <?php $pgtitle = "Firewall: Countryblock"; - // TomSchaefer.org countryblock package 2010 + // TomSchaefer.org countryblock package 2012 // // Notes: Find: ^(.*)$ // Replace: ob_start();\n$results = exec("cat countries.txt | grep XX");\nob_end_clean();\n\tif ($results == 'XX')\n\t\techo "\1";\n\telse\n\t\techo "\1";\n diff --git a/config/countryblock/countryblock.xml b/config/countryblock/countryblock.xml index 1d278d20..146918d3 100644 --- a/config/countryblock/countryblock.xml +++ b/config/countryblock/countryblock.xml @@ -8,7 +8,7 @@ /* ========================================================================== */ /* countryblock.xml - Copyright (C) 2011 Tom Schaefer + Copyright (C) 2012 Tom Schaefer All rights reserved. */ /* ========================================================================== */ diff --git a/config/countryblock/countryblock_IPBlocklist.widget.tmp b/config/countryblock/countryblock_IPBlocklist.widget.tmp index a62fcede..0ad1573b 100644 --- a/config/countryblock/countryblock_IPBlocklist.widget.tmp +++ b/config/countryblock/countryblock_IPBlocklist.widget.tmp @@ -1,6 +1,6 @@ <?php /* - Copyright 2011 Thomas Schaefer - Tomschaefer.org + Copyright 2012 Thomas Schaefer - Tomschaefer.org Part of pfSense widgets (www.pfsense.com) Redistribution and use in source and binary forms, with or without |