Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch part 2 update Centmin Mod's Maxmind GeoLite2 database routines in 123.09beta01

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

  1. eva2000

    eva2000 Administrator Staff Member

    54,106
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    1:46 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    part 2 update Centmin Mod's Maxmind GeoLite2 database routines in 123.09beta01

    Further work on updating Centmin Mod CSF Firewall's Maxmind GeoLite2 database routines due to changes on Maxmind's end requiring registration to download databases https://community.centminmod.com/th...ite2-database-routines-in-123-09beta01.18953/.


    This update allows centmin.sh menu runs to check if MM_LICENSE_KEY isn't set in /etc/centminmod/custom_config.inc & /etc/csf/csf.conf and if the variables aren't set and /var/lib/csf/Geo database files are missing, download last publicly available geolite2 databases for CSF Firewall as at Dec 23, 2019 & extend CC_INTERVAL to 365 days before next geolite2 database update to give me time to develop alternative arrangements. Once MM_LICENSE_KEY is set in /etc/centminmod/custom_config.inc and/or /etc/csf/csf.conf, then on next centmin.sh menu run, the CC_INTERVAL will be reset back from 365 days to default 14 days for geolite2 database update checks.

    Continue reading...

    123.09beta01 branch