Want more timely Centmin Mod News Updates?
Become a Member

Master Branch update GeoLite2 database routines for Nginx in 124.00stable

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 29, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    51,947
    11,973
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,470
    Local Time:
    2:34 AM
    Nginx 1.25.x
    MariaDB 10.x
    update GeoLite2 database routines for Nginx in 124.00stable


    - backport updates from 130.00beta01
    - Maxmind is now enforcing GeoLite2 database download rate limits as of March 2024 to 30 daily direct API downloads and recommends users to download a copy locally to distribute to many servers if you hit the limits https://support.maxmind.com/hc/en-us/articles/4408216129947-Download-and-Update-Databases
    - Maxmind has been slowly clamping down on the free GeoLite2 database downloads see https://community.centminmod.com/threads/discuss-maxmind-geolite2-free-database-download-changes.18960/ and https://community.centminmod.com/threads/centmin-mod-maxmind-geolite2-free-database-download-changes.18959/.
    - Centmin Mod uses GeoLIte2 databases in 2 places, 1 is via CSF Firewall it optionally can use GeoLite2 database for IP address geo meta data lookups but defaults to now using alternative geo meta databases like DB-IP instead of GeoLite2 in CSF Firewall config file /etc/csf/csf.conf CC_SRC = "2" variable set as outlined at https://community.centminmod.com/threads/discuss-maxmind-geolite2-free-database-download-changes.18960/. The Maxmind changes here will need CSF Firewall developers to update if impacted
    - Centmin Mod's 2nd usage of GeoLite2 database is in optional Nginx GeoLite2 nginx module which isn't enabled by default unless you set in persistent config file /etc/centminmod/custom_config.inc the variable NGINX_GEOIPTWOLITE='y' prior to centmin.sh menu option 4 Nginx upgrade/recompiles or prior to initial Centmin Mod installation. This update is for this second usage case for Nginx GeoLite2 nginx module routine to use cached copy if the Centmin Mod user doesn't setup their own Maxmind API key as outlined under solutions header in post at .https://community.centminmod.com/threads/discuss-maxmind-geolite2-free-database-download-changes.18960/
    - Existing Centmin Mod 124.00stable users can get this update via cmupdate command

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.