Forum Discussion
Mathew_58740
Nimbostratus
Nov 06, 2013Irule for blocking specific traffic
HI Can we get some help to achieve the below
If the below condition matches we need to block the connection and rest all should be permited.
IP is from the following subnets
( src net...
IheartF5_45022
Nacreous
Nov 06, 2013For the IP blocking you would need to check IP::client_addr (this code with switch not tested BTW
switch -glob [IP:addr [IP::client_addr]] {
"1.1.*" -
"2.2.*" -
"3.3." {
reject
}
}For the XML - try here
Alternatively you would have to HTTP::collect and then use the HTTP_REQUEST_DATA event to search the body for the offending data.
Not sure if anyone is feeling more generous and wants to provide a full rule for you?
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