Join the community 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:
    8:00 PM
    1.13.8
    10
  2. eva2000

    eva2000 Administrator Staff Member

    48,873
    11,178
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,412
    Local Time:
    4:00 AM
    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:
    8:00 PM
    1.13.8
    10
    I saw his script, and I just wanted to share a different method. Simpler.
     
  4. eva2000

    eva2000 Administrator Staff Member

    48,873
    11,178
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,412
    Local Time:
    4:00 AM
    Nginx 1.21.x
    MariaDB 10.x
    Yeah good to experiment and learn and improve stuff :)