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
    3
    3
    Dec 30, 2017
    Ratings:
    +4
    Local Time:
    2:22 AM
    1.13.8
    10
    • Like Like x 2
  2. eva2000

    eva2000 Administrator Staff Member

    31,643
    7,030
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,636
    Local Time:
    11:22 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  3. Machou

    Machou New Member

    3
    3
    3
    Dec 30, 2017
    Ratings:
    +4
    Local Time:
    2:22 AM
    1.13.8
    10
    I saw his script, and I just wanted to share a different method. Simpler.
     
    • Informative Informative x 1
  4. eva2000

    eva2000 Administrator Staff Member

    31,643
    7,030
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,636
    Local Time:
    11:22 AM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah good to experiment and learn and improve stuff :)