Script to activate using API Under Attack mode on Clodflare

Basically I need a way to enable "Under Attack" mode on Clodflare for a specific domain using API when the server is under ddos.

I'm using Apache on Centos.


A script that can check how many active requests are currently on Apache. If the number goes over 1000 for example or the server load is high it should trigger the API to activate Cloudflare "Under Attack" mode.

I also need the API to do that, I will put in the KEY and the domain.

I'm open to other ideas as long as it works.

Skills: Apache, Linux, PHP, System Admin

See more: cloudflare i m under attack, cloudflare my website, send mail facebook using api, script google map api php, facebook find contact email using api, sell products amazon using api, google checkout using api sample projects, script php enom api, script php amazon api api, upload youtube videos using api, develop using api, program using api, script youtube free api, look poi google maps using api, calculate ups freight shipping using api, script google adwords api, mouse move using api, script drupal using send emails, revver clone script using api, twitter script using api

About the Employer:
( 24 reviews ) Iasi, Romania

Project ID: #17586552

2 freelancers are bidding on average $25 for this job


I'm a professional Linux sysadmin and I deal with CloudFlare Enterprise solutions daily. I use similar algorithms for my own web servers too. I think we can edit the mod_evasive to do this. I'm the talent you are looki More

$20 USD in 1 day
(3 Reviews)

I can create a script which will run every X minutes and check the number of connections on apache and accordingly turn on or off the Under attack mode using CloudFlare API. Script will also have option to enter API d More

$30 USD in 2 days
(5 Reviews)