Forum Discussion
BPO_11382
Nimbostratus
Aug 06, 2014irule to block
Hey folks,
Does anyone have an irule which can check if the user is accessing via a browser client + Check if the message type in traffic is AMF + Check for a specifica IP subnet range; if YES, ...
IheartF5_45022
Nacreous
Aug 14, 2014Try this;-
when CLIENT_REQUEST {
if { [IP::addr [IP::client_addr] equals 10.10.10.0/24] } {
drop
}
}
when HTTP_REQUEST {
if {[HTTP::header User-Agent] eq "blah" && [HTTP::header Content-Type] contains "amf" } {
HTTP ::respond 403
return
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects