Forum Discussion
iRule - Option to Disable an Event for Specific Request Rather Than Entire Connection and Keep Connection Alive
I am resurrecting an old topic I believe. My question is similar to this old post: https://devcentral.f5.com/questions/how-to-disable-irule-processi ng-on-keep-alive-per-request-when-using-httprespond
We have a web platform in which all our traffic is first proxied through a third party CDN (Edgecast). To enhance performance, the CDN reuses connections for many requests. The problem we have is we are trying to implement an iRule that will block (respond with 403) certain requests based on a set criteria (user agent, URI path, IP, etc.) without closing the connection, but stop processing of other rules for the matched requests. Event disable appears to disable the event for the entire connection which impacts unblocked/valid requests.
I have verified with support that the feature request in the above referenced article was not implemented. Aside from setting a variable to prevent additional iRules from processing, is there a better recommended approach to achieve the goal to disable iRule processing for a specific request within the connection?
1 Reply
- Brad_Parker
Cirrus
I think your suggestion about setting a variable or table entry is probably the best solution since the feature to disable it just for that request wasn't implemented.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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