Forum Discussion
Patrick_Chang_7
Mar 26, 2008Historic F5 Account
OneConnect and iRules
Is it possible for OneConnect to bypass executing an iRule (or bypass iRule logic) for selecting a pool based upon the contents of the request?
9 Replies
- The_Bhattman
Nimbostratus
I cannot find a way to do this myself and would love to know if you could. - Nicolas_Menant
Employee
I'm afraid it's not possible - hoolio
Cirrostratus
What exactly are you trying to accomplish? It might be possible to detect a condition in an iRule and disable subsequent events in the rule.
Aaron - Patrick_Chang_7Historic F5 AccountI am actually trying to debug something. I have an iRule that is choosing the pool based upon the URI being requested. It works almost all the time, but every once in a while, it falls through and picks the default pool. Captures show it falling through even though the URI being requested shoudl clearly be matched in my iRule switch -glob match.
I was wondering if OneConnect might be able to bypass the iRule logic somehow. - Nicolas_Menant
Employee
Hi,
it should not be possible
Do you have any log trace where we can see the uri and the pool selected ? and can you show us your iRule? - Patrick_Chang_7Historic F5 Accountunfortunately no. It is a customer iRule and I don't have permission to share generally.
- Nicolas_Menant
Employee
May it be due to the use of upper case or lower case characters in the URI?
When you do your comparison, do you switch all character in the uri in lower case ? it may be the reason ... - Patrick_Chang_7Historic F5 AccountI checked that. I also changed the switch statement to be
switch -glob -nocase - Patrick_Chang_7Historic F5 AccountI even did a recursive uri_decode to get rid of any escaped characters.
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