Join the community today
Become a Member

Master Branch update Centmin Mod's Maxmind GeoLite2 database routines in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 6, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    10:27 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    update Centmin Mod's Maxmind GeoLite2 database routines in 123.09beta01

    - This update allows Centmin Mod users to set MM_LICENSE_KEY variable with your Maxmind token key available when you sign up for Maxmind account at https://www.maxmind.com/en/geolite2/signup i.e. MM_LICENSE_KEY='YOUR_MAXMIND_TOKEN_KEY' in persistent config file at /etc/centminmod/custom_config.inc and on first run of centmin.sh either via initial install or thereafter, will populate the new variable MM_LICENSE_KEY in /etc/csf/csf.conf config file and restart CSF Firewall (if detected already running).
    - Maxmind GeoLite2 (GeoIP 2 Lite) database is used in CSF Firewall's country look up routines as well as optionally in Centmin Mod's Nginx GeoIP2 nginx module when enabled as per guide at
    - Maxmind has changed GeoLite2 database download policy to require users register and signup up for a Maxmind account and stopped providing a publicly available download link https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/
    - For CSF Firewall's GeoLite2 database to work, CSF folks released CSF 13.10 with new variable MM_LICENSE_KEY in /etc/csf/csf.conf config file that you need to fill in with Maxmind account token key obtained after you sign up for Maxmind account at https://www.maxmind.com/en/geolite2/signup. Details also at https://community.centminmod.com/threads/maxmind-geoip2-no-public-download-available-any-more.18945/#post-80639

    Continue reading...

    Centmin Mod Github Master branch

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