pmaubo2_55685
Jan 04, 2013Nimbostratus
irule to drop all non-allowed network from going to url
Hi,
I want to drop any connection outside of a data class I created from getting to a certain URL.
So far I can drop the URL with the below irule. I just need a little help adding in the network part.
I am using 10.2.3 and think I should be able to use a "and not" in it?
when HTTP_REQUEST {
check the Class to determine if it's not allowed
if {[HTTP::uri] contains "errors.axd"} {
drop
log local0. "dropped connection"
return }
}
Thanks for any help.