aboutsummaryrefslogtreecommitdiffstats
path: root/config/countryblock
diff options
context:
space:
mode:
authorThomas Schaefer <tom@tomschaefer.org>2011-12-26 13:16:50 -0500
committerThomas Schaefer <tom@tomschaefer.org>2011-12-26 13:16:50 -0500
commit36d0d4c13aa99df4859c683802fef6df177e59dd (patch)
tree4d9fe1728667bf5038dc52526c6637a4c95d32a8 /config/countryblock
parent19bfae2e3084c99657e09d9d79c35a4737321783 (diff)
downloadpfsense-packages-36d0d4c13aa99df4859c683802fef6df177e59dd.tar.gz
pfsense-packages-36d0d4c13aa99df4859c683802fef6df177e59dd.tar.bz2
pfsense-packages-36d0d4c13aa99df4859c683802fef6df177e59dd.zip
Enable countryblock as legacy app as requested by pfsense users
Diffstat (limited to 'config/countryblock')
-rw-r--r--config/countryblock/countryblock.inc2
-rwxr-xr-xconfig/countryblock/countryblock.sh4
-rw-r--r--config/countryblock/countryblock.tmp2
-rw-r--r--config/countryblock/countryblock.xml2
-rw-r--r--config/countryblock/countryblock_IPBlocklist.widget.tmp2
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