I need to block the ip addresses which access to more than 3 domains at the same time using ModSecurity
For example if some ip accessed:
domain1.com/someuri234
domain2.com/someuri2342
domain3.com/someuri534535
domain1.com/someuri234234
domain5.com/someuri234234
Then we block it
So we need to count the number of domains and check for it
appreciate for any help
I could implement this scenario using
exec:/script.sh
and send request information throughsetenv
and then collect request data and analys them on the script and block ip addresses using firewall