Want more timely Centmin Mod News Updates?
Become a Member

CSF Discuss Maxmind GeoLite2 Free Database Download Changes

Discussion in 'Other Centmin Mod Installed software' started by eva2000, Jan 3, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    49,350
    11,308
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,591
    Local Time:
    6:17 PM
    Nginx 1.21.x
    MariaDB 10.x
    To ensure you don't get interrupted in future, best to just register your own Maxmind account and use your own Maxmind API key if you want to use Geolite2 database - this ensures CSF Firewall and Nginx GeoIP2 Nginx module works as is. The potential issue right now is I provide a shared API key from my own Maxmind account for default installs of Centmin Mod. So if they ban my Maxmind account, that shared API key won't work.

    For new Centmin Mod installs, they now default to DB-IP database for CSF Firewall https://community.centminmod.com/th...e-database-download-changes.18960/#post-93007 while shared Maxmind API key is still used for Nginx GeoIP Nginx which is an optional module not enabled by default in Centmin Mod so impact isn't that great if in future Maxmind would block my Maxmind account's shared API key.

     
  2. Jon Snow

    Jon Snow Active Member

    663
    129
    43
    Jun 30, 2017
    Ratings:
    +190
    Local Time:
    5:17 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    Would you say Maxmind is better than DB-IP? Which would you personally recommend?
     
  3. eva2000

    eva2000 Administrator Staff Member

    49,350
    11,308
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,591
    Local Time:
    6:17 PM
    Nginx 1.21.x
    MariaDB 10.x
    Generally, Maxmind's GeoLite2 database has been more accurate in the past in detecting IPs and their country/city geolocation data than DP-IP. You can test out different geolocation databases reported geolocation data by inputting an IP address at https://www.iplocation.net/ip-lookup and seeing what each geolocation database reports for DP-IP, IP2Location, ipinfo.io, IPregistry, IPGeolocation.io, IPapi.co, IPAPI, and ipdata.co :) edit: looks like Maxmind database isn't shown anymore - it use to. Anyway, I usually use Maxmind's GeoLite2 database.

    For Maxmind GeoLite2 database lookup, I setup a geolocation site on Centmin Mod powered server at What is my IP address? so you can check that too. It uses Centmin Mod Nginx's GeoLite2 module and Maxmind GeoLite2 database.
     
  4. eva2000

    eva2000 Administrator Staff Member

    49,350
    11,308
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,591
    Local Time:
    6:17 PM
    Nginx 1.21.x
    MariaDB 10.x
    This serves as another reminder for folks running Centmin Mod in internationally sanctioned countries, that Maxmind is disabling their Geolite2 database download access in this countries come September 1, 2022 - next month. Better than their previous policy of blocking my entire Maxmind account!

    Got an email from Maxmind again. I assume these are older Centmin Mod installs prior to May 2022 or Centmin Mod installs that haven't updated Centmin Mod for the changes to using DP-IP etc.
    The below quoted statement by me is the current situation for Centmin Mod new installs since late May 2022 in that Centmin Mod doesn't use Maxmind Geolite2 database by default anymore for CSF Firewall but instead uses DP-IP geolocation database. However, Maxmind Geolite2 database is still used for optional Nginx Geolite2 Nginx module which isn't installed by default. If you need Maxmind Geolite2 database usage instead of DP-IP, follow below instructions and register your own Maxmind account and API key GeoLite2 Sign Up | MaxMind

    Checking my Maxmind GeoLite2 database download stats for Centmin Mod shared API key after May 19 2022 switch away from Geolite2 database default CSF Firewall usage, there seems to be still 47,000+ downloads of the Geolite2 database from Centmin Mod shared API key! Seems like quite a few Centmin Mod users are either running older versions and/or haven't updated to use their own Maxmind API key! You can't break down downloads by country so can't see how many are from sanctioned countries unfortunately.
     
    Last edited: Aug 3, 2022