Get the most out of your Centmin Mod LEMP stack
Become a Member

Master Branch update CSF Firewall maxmind geolite2 routine in 123.09beta01

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

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    12:09 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    update CSF Firewall maxmind geolite2 routine in 123.09beta01

    - Remove the CC_INTERVAL="365" routine allowing it to default back to 14 as a maxmind shared API key is in use
    - Update will set CSF Firewall's CC_SRC back to using maxmind database instead of previous post mentioned db-ip source via CC_SRC="1" in /etc/csf/csf.conf. Folks have been reporting IP geolocation data for Country codes for db-ip sourced database have not been as accurate as with maxmind database. See

    For existing Centmin Mod 123.09beta01 users, you can switch from CC_SRC="2" back to CC_SRC="1" via these commands which backup your /etc/csf/csf.conf, sed replacement and then CSF Firewall restart and then grep filter check that the config file has indeed changed CC_SRC="1"

    Code (Text):
    csf --profile backup before_cc_src_1_switch
    sed -i 's|CC_SRC = "2"|CC_SRC = "1"|' /etc/csf/csf.conf
    csf -ra
    grep 'CC_SRC' /etc/csf/csf.conf

    Continue reading...

    Centmin Mod Github Master branch

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