diff options
author | Tom Schaefer <tom@tomschaefer.org> | 2010-08-19 23:36:03 -0400 |
---|---|---|
committer | Tom Schaefer <tom@tomschaefer.org> | 2010-08-19 23:36:03 -0400 |
commit | 1c722d02a740a1a252ab90200d83c1942d9e76d3 (patch) | |
tree | ccc0fc5a14fb83fba7cdd7318b5f2c390540e123 /config/countryblock/execute.sh | |
parent | cb04733b4420ba7d590a2ab3aee1317f8e98cca9 (diff) | |
download | pfsense-packages-1c722d02a740a1a252ab90200d83c1942d9e76d3.tar.gz pfsense-packages-1c722d02a740a1a252ab90200d83c1942d9e76d3.tar.bz2 pfsense-packages-1c722d02a740a1a252ab90200d83c1942d9e76d3.zip |
countryblock added logging and stats
modified: config/countryblock/countryblock.inc
modified: config/countryblock/countryblock.tmp
modified: config/countryblock/countryblock.xml
modified: config/countryblock/execute.sh
modified: pkg_config.7.xml
modified: pkg_config.8.xml
modified: pkg_config.8.xml.amd64
Diffstat (limited to 'config/countryblock/execute.sh')
-rw-r--r-- | config/countryblock/execute.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/countryblock/execute.sh b/config/countryblock/execute.sh index 350cd170..bc3d6d21 100644 --- a/config/countryblock/execute.sh +++ b/config/countryblock/execute.sh @@ -48,7 +48,11 @@ while read line echo "table <countryblockW> persist file '/usr/local/www/packages/countryblock/countries-white.txt'" >> /tmp/rules.debug.tmp echo "pass quick from <countryblockW> to any label 'countryblock'" >> /tmp/rules.debug.tmp echo "pass quick from any to <countryblockW> label 'countryblock'" >> /tmp/rules.debug.tmp - echo "block quick from <countryblock> to any label 'countryblock'" >> /tmp/rules.debug.tmp + if [ -f logging ]; then + echo "block log quick from <countryblock> to any label 'countryblock'" >> /tmp/rules.debug.tmp + else + echo "block quick from <countryblock> to any label 'countryblock'" >> /tmp/rules.debug.tmp + fi if [ -f OUTBOUND ]; then echo "block quick from any to <countryblock> label 'countryblock'" >> /tmp/rules.debug.tmp fi |