diff options
author | BBcan177 <bbcan177@gmail.com> | 2015-02-03 14:20:48 -0500 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-02-03 19:42:44 -0200 |
commit | a65a77ecf95a2f7c1092755c9978b38f3a361d89 (patch) | |
tree | f5affd311c7040359fb8e5182ccac0ede6156aa6 /config/pfblockerng/pfblockerng.inc | |
parent | c7e9ae35de710b7fb142542fa116cf707a0f768c (diff) | |
download | pfsense-packages-a65a77ecf95a2f7c1092755c9978b38f3a361d89.tar.gz pfsense-packages-a65a77ecf95a2f7c1092755c9978b38f3a361d89.tar.bz2 pfsense-packages-a65a77ecf95a2f7c1092755c9978b38f3a361d89.zip |
pfBlockerNG - Fix Cron Update process and other improvements
Changes:
1) Add missing $pfbfolder variable to Cron Update function
2) Modify how the include files get loaded.
3) Reputation Tab only requires IPv4, simplify code to use IPv4 only for
this function.
4) Update geoipupdate.sh to use the New PBI folder location and remove
Archive folders after MaxMind Update process
Diffstat (limited to 'config/pfblockerng/pfblockerng.inc')
-rw-r--r-- | config/pfblockerng/pfblockerng.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/config/pfblockerng/pfblockerng.inc b/config/pfblockerng/pfblockerng.inc index d612dbf1..66b5a313 100644 --- a/config/pfblockerng/pfblockerng.inc +++ b/config/pfblockerng/pfblockerng.inc @@ -2341,9 +2341,6 @@ function pfblockerng_php_install_command() { update_output_window(gettext("Downloading MaxMind Country Databases. This may take a minute...")); exec("/bin/sh /usr/local/pkg/pfblockerng/geoipupdate.sh all >> {$pfb['geolog']} 2>&1"); - @rename("{$pfb['dbdir']}/GeoIP.dat", "{$pfb['ccdir']}/GeoIP.dat"); - @rename("{$pfb['dbdir']}/GeoIPv6.dat", "{$pfb['ccdir']}/GeoIPv6.dat"); - update_output_window(gettext("MaxMind Country Database downloads completed...")); update_output_window(gettext("Converting MaxMind Country Databases for pfBlockerNG. This may take a few minutes...")); pfblockerng_uc_countries(); |