sfracass_83515
Apr 11, 2008Nimbostratus
iRule to block networks works, sometimes.....
I just want to block googlebot requests to certain virtual servers at the LTM but this rule doesn't seem to work. Oddly enough, when I change the IP values to block my own internal network subnets at the same virtual servers, it works. I had to block at the router where I could see in the logs the rejection of the IP specified, so I know the IP is coming into my network as expected (not NAT'd).
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals 60.249.0.0/255.255.0.0] } {
reject
}
}
Any help is appreciated.