Discover Centmin Mod today
Register Now

Script to Enable Cloudflare Under Attack automatically

Discussion in 'Centmin Mod User Tutorials & Guides' started by Machou, Dec 30, 2017.

  1. Machou

    Machou New Member

    3
    4
    3
    Dec 30, 2017
    Ratings:
    +5
    Local Time:
    9:53 AM
    1.13.8
    10
  2. eva2000

    eva2000 Administrator Staff Member

    47,837
    10,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,947
    Local Time:
    6:53 PM
    Nginx 1.21.x
    MariaDB 10.x
    thanks for sharing.. always nice to see folks sharing :)

    @pamamolf also shared such a similar script too Enable and Disable Cloudflare "I am under attack mode" automated :)

    I think with these types of scripts, you should also check to see where the load is coming from i.e. web server/php related or not as a backup routine could also drive up cpu loads causing a false alert
     
  3. Machou

    Machou New Member

    3
    4
    3
    Dec 30, 2017
    Ratings:
    +5
    Local Time:
    9:53 AM
    1.13.8
    10
    I saw his script, and I just wanted to share a different method. Simpler.
     
  4. eva2000

    eva2000 Administrator Staff Member

    47,837
    10,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,947
    Local Time:
    6:53 PM
    Nginx 1.21.x
    MariaDB 10.x
    Yeah good to experiment and learn and improve stuff :)