Can we filter and block requests in Cloudflare that are incorrect or non-standard, or appear unlikely often from the same IP address, even if they are correct?
I am particularly interested in filtering requests with regular expressions and the ability to block IPs of wrong requests, or at least to automaticly response them with the 400 Bad Request response code, as it is possible using mod_security in the Apache server.
The second important thing is the ability to filter out extremely frequent requests that appear from the same IP address (even if they are correct). For example, I would like to be able to block IP addresses at the Cloudflare level, which have made more than 1000 requests per minute.
Does Cloudflare give us such an opportunity?
If so, what conditions do I have to meet and where can I do it in the Cloudflare panel? If possible, please give me precise guidelines.
All this matters in the context of defense against DDOS attacks.
I am asking for help and advice.
Thank you in advance!