unlip
Restarting LiteSpeed is irrelevant, it won’t fix this issue. As long as you use caching or Cloudflare proxies, you’ll always see these types of attacks. This is not a cPFence limitation; it applies to all security products.
The right way to stop it is at Cloudflare. Create a Custom Rule, go to Edit expression, and use:
(not cf.client.bot and not ip.src.country in {"UAE"})
Set the action to Managed Challenge and save.
Replace UAE
with your client’s country. This ensures real visitors from that country and important bots get through, while most of the junk traffic is blocked at Cloudflare before it ever reaches your server.