firewall
firewall copied to clipboard
MaxMind database fetching is broken due to privacy change on MaxMind side
https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/
requires license key now
you can download db manually and put files at config/geoip directory
https://github.com/P3TERX/GeoLite.mmdb
FYI: I have worked around this by:
- Using the package https://packagist.org/packages/torann/geoip, and
- updating its config/geoip.php:
'services' => [ ... 'maxmind_database' => [ ... 'database_path' => storage_path('app/GeoLite2-City.mmdb'), - and updating config/firewall.php:
'geoip_database_path' => __DIR__ . '/../storage/app/', - then the artisan command
geoip:updatecan be used to update the GeoIP database
HTH