Forum Discussion
Jasa_74968
Mar 31, 2014Nimbostratus
Stop processing iRule by referencing a variable
I've set a variable in iRule named "stop_rule_processing" and its value is set to 1 if a particular iRule has a hit:
priority 300
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] starts_w...
hooleylist
Apr 01, 2014Cirrostratus
Can you try this for your first rule and then add a log statement to your second iRule to see if it is successfully avoided altogether?
priority 300
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] starts_with "/staging" } {
if { !([matchclass [IP::client_addr] equals IP_private_access])} {
log local0. "Source address [IP::client_addr] not from Private pool, session discarded" } {
discard
event disable all
return
}
}
}
Aaron
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