sec
Apr 24, 2023Nimbostratus
irule isn't working
I wanted to bypass a geolocation enfforcement for a specefic user agent using an Irule, but this irule didn't worked, and i'm still getting a block request.
u find bellow the irule:
when ASM_REQUEST_DONE {
foreach {viol} [ASM::violation names] {
if { $viol eq "Access from disallowed Geolocation" } {
if { [HTTP::header "User-Agent"] eq "chrome" } {
ASM::unblock
}
}
}
}
any help please.