This is a simple addon that will automatically enable cloudflare's "I'm under attack" mode once your server reaches a pre-defined load average.
- Compatible XF Versions:
- Creative Commons Attribution 4.0 International License
- Visible Branding:
After waiting a pre-defined time period, the addon will check to see if the server is still above said average. If so, it will wait another X seconds. If the load average has dropped, then the addon will disable "I'm under attack" mode.
To configure, navigate to Home -> Options -> CFDDoS Options. Then, add in your cloudflare email, api key, and the domain/zone of the XenForo installation.