Want to subscribe to topics you're interested in?
Become a Member

Beta Branch update CSF Firewall to use DB-IP geolocation database in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 19, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    48,881
    11,187
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,421
    Local Time:
    5:16 PM
    Nginx 1.21.x
    MariaDB 10.x
    update CSF Firewall to use DB-IP geolocation database in 130.00beta01

    - Due to Maxmind blocking Centmin Mod access to Geolite2 database downloads required by CSF Firewall, Nginx GeoIP2 module and Modsecurity https://community.centminmod.com/threads/discuss-maxmind-geolite2-free-database-download-changes.18960/#post-93004, update is for CSF Firewall workaround to switch from Maxmind Geolite2 database to alternative DB-IP geolocation database via setting MM_CSF_SRC='n' by default https://community.centminmod.com/threads/discuss-maxmind-geolite2-free-database-download-changes.18960/#post-93006
    - For existing Centmin Mod users, you'll need to run cmupdate command to update your local code and then run centmin.sh menu once and exit to complete the update change


    Continue reading...

    130.00beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    48,881
    11,187
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,421
    Local Time:
    5:16 PM
    Nginx 1.21.x
    MariaDB 10.x
    example of new Centmin Mod default CSF Firewall using DB-IP geolocation database

    from CSF Firewall's LFD daemon log
    Code (Text):
    grep 'CC:' /var/log/lfd.log 
    May 23 20:32:46 centos-4cpu-8gb-us-nyc1 lfd[48318]: CC: Retrieving DB-IP Country database [http://download.db-ip.com/free/dbip-country-lite-2022-05.csv.gz]