Geolite database discontinued - any plans on updating pfBlockerNG.
-
Per max minds website, geoip lite is discontinued as of jan 2nd 2019.
https://support.maxmind.com/geolite-legacy-discontinuation-notice/
-
pfBlockerNG 2.1.4_14 use the GeoLite2 Free version. Check the Description of the pfBlockerNG Packages.
-
@mike69 said in Geolite database discontinued - any plans on updating pfBlockerNG.:
2.1.4_14 use the GeoLite2 Free version. Check the Description of the pfBlockerNG Packages.
Odd error on my end then, and i am using version 2.2.5_19 and it fails to download. If i pull the updater code apart the URL listed are for the legacy databases.
Fetching GeoIP.dat and GeoIPv6.dat...
fetch: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz: Not Found
GeoIP.dat download failedDownloading MaxMind GeoIP databases. This may take a minute...
GeoIP.dat... Failed!
MaxMind download Failed! Fetching MaxMind archive from pfSense package repo...
/tmp/countrycodes.tar.bz2 0 B 0 Bps -
Yes, the Url is changed.
You can wait for an update or edit your/usr/local/bin/geoipupdate.sh
-
@mike69 said in Geolite database discontinued - any plans on updating pfBlockerNG.:
Yes, the Url is changed.
You can wait for an update or edit your/usr/local/bin/geoipupdate.sh
I am pretty sure the database format has been changed, so that will likely crash your pfBlocker.
-
@guardian said in Geolite database discontinued - any plans on updating pfBlockerNG.:
@mike69 said in Geolite database discontinued - any plans on updating pfBlockerNG.:
Yes, the Url is changed.
You can wait for an update or edit your/usr/local/bin/geoipupdate.sh
I am pretty sure the database format has been changed, so that will likely crash your pfBlocker.
Oh, ok.
Wait, what @BBcan177 says. -
MaxMind deprecated the older GeoIP format which ended on Jan 2nd, 2019.
I had already moved the GeoIP that is used for the Country ISO code files over a year ago to GeoLite2, but I didn't realize that this also affected the two additional DBs that are used by the package. These two additional databases are used with the "geoiplookup" command for the Alerts Tab and the IP Reputation determination functions.
I have been working with the devs on adding the
net/libmaxminddb port
. I have spent much of yesterday/night testing the changes and hope to get this released soon...
https://www.freshports.org/net/libmaxminddbThis port will allow for the reading of the new MMDB MaxMind database format.
BTW: the package doesn't use the geoipupdate.sh, as it uses its own updater functions.
To manually download the MaxMind files, use the following command (It will still fail on the two additional DBs but still update the Country code files):
php -f /usr/local/www/pfblockerng/pfblockerng.php dc
-
Posted two PR to fix this issue. See my recent posts in this forum.