gnico
Nov 08, 2022Nimbostratus
Irule to block request from amazonaws.com
Hello,
I have an irule to block request from amazonaws.com bad crawlers (millions of requests a day) but my irule doesn't work. Total executions is 0..
Here is the code :
when HTTP_REQUEST {
if { [matchclass [string tolower [HTTP::header Host]] contains blacklist_host] } {
reject
}
}
In my datagroup blacklist_host, I have amazonaws.com entry.
If someone has a solution. Thank you