Help! how to Change request URL without Redirect
Hope result: When Client access URL is http://abc.com/abc, iRule will chang it to http://abc.com/123/bac/... and send to server. Notice: couldn't use http:redirect uri, since client couldn't support redirect. Please give me some direction! Thanks.1KViews0likes4CommentsReading SOAP header through iRule
Team, Can anyone help me with configuring an iRule script to read a custom SOAP header in an incoming HTTP service request and make my own decision logic based on the content. I basically need to read through a collection SOAP header and scan individual elements in it. I am new to iRule and would appreciate some help on this. Thanks!739Views0likes8Commentsmac osx anyone?
anyone know if f5 has plans to expand their supported platforms at all in the future, particularly osx? i'm interested in seeing the irule editor ported. non-windows platforms are gaining a larger and larger portion of the desktop market both in and out of the enterprise. seems like a good plan to jump on that market early.594Views0likes18CommentsEnhanced iRules templates suggestion
I was thinking that the templates in the iRules editor could be greatly expanded and be much more useful for customers with large collections of iRules. My suggestion is to first store a version number in each iRule template file. Then allow input parameters to be defined. This could be accomplished by adding special comments in the first couple lines like: iRule Template "Cookie Rename" Version 1.1 Parameter orig_name: the cookie name you want to rename Parameter new_name: the name you want to rename the cookie to when HTTP_REQUEST { if { [HTTP::cookie exists "__orig_name__"] } { set cookie_s [HTTP::cookie "__orig_name__"] HTTP::cookie remove "__orig_name__" set cookie_a [HTTP::header cookie] HTTP::header replace "cookie" "$cookie_a; __new_name__=$cookie_s" } } Now, when you create an iRule off of the template, it can ask you for values for each parameter. When the rule is created on the BIG-IP, it could be something like this: rule cookie_rewrite_abc { This rule was generated from the template "Cookie Rename" Version 1.1 Parameter orig_name="abc" Parameter new_name="def" MANUAL MODIFICATION IS NOT RECOMMENDED!! when HTTP_REQUEST { if { [HTTP::cookie exists "abc"] } { set cookie_s [HTTP::cookie "abc"] HTTP::cookie remove "abc" set cookie_a [HTTP::header cookie] HTTP::header replace "cookie" "$cookie_a; def=$cookie_s" } } } Now, whenever you change to a newer version of the template, a function could be provided to list all iRules based on that template and allow the user to selectively regenerate the rules with the newer template but the original parameter values. Ideally the iRules editor might store the templates in a binary format to force changes to be done through the GUI so they could be tracked. This could mean that when I make a change to the template above, it could automatically be changed to version 1.2 and all iRules based on version 1.1 could be checked to make sure they have not been manually modified, and if not they could be automatically or mostly-automatically upgraded to the new version. It gets complicated if you want to have multiple instances of the iRules editor with the same templates... then you'd have to store the templates file on a share drive or the like. These are just some initial thoughts, but it could allow somebody to deploy many similar iRules quickly and update those easily when changes are required.510Views0likes2CommentsIrule Editor Syntax Check
I'm a developer tasked with writing the iRule, but they don't give me access to the f5. I toss the iRules over the fence and they send me back syntax errors. And then i blindly make changes and toss them back over the fence. The iRule Editor does not seem to allow syntax checking without connecting to the f5. Not much use to me. Can you make the syntax check available without connection to the f5?468Views0likes3CommentsProxy support?
Hi Joe, It looks like the iRuler picks up the default OS proxy if one is configured. But there are some situations where I need to use multiple proxies: one to access the BIG-IP GUI, and one to access the virtual server to test. In particular, the app can only be accessed via IE without a proxy and the iRuler reads the same configuration that IE uses. Would it be possible to add functionality to the iRuler to explicitly configure an HTTPS proxy for the iRuler, independent of the OS configuration? I looked through the settings file, but it seemed like there wasn't an option. Thanks, Aaron434Views0likes12Comments