Forum Discussion
hoolio
Cirrostratus
Dec 17, 2007Proxy 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,
Aaron
- JRahm
Admin
Would this be different if you set Firefox as your default browser and used the switchproxy addon? - Anything is possible. I'm just not sure how much we'd have to override the default .NET calling code. Are you mainly interested in the traffic generation dialog? In there we are using the core web libraries, so altering the proxy for that connection would be a lot easier than the default iControl communication that is done in the rest of the app. If that is what you are looking at, I'll see what I need to do code-wise to make it work.
- hoolio
Cirrostratus
As an example, the Firepass VPN client handles this nicely. The proxy settings page (View | Settings | Proxy Settings) allows the user to either accept the system proxy properties or to specify custom proxy settings. The custom setting can be no proxy. This type of functionality would work perfectly for my scenario with the iRuler. - Adding proxy support for the Traffic Generation dialog (ie, traffic to your vip) would be very easy as I'm using the WebClient .Net class directly. The iControl calls are another story. They use the generated classes compiled from WSDL that use the wrapped classes for the network connectivity that I don't believe support proxies out of the box. I'll dig in a little deeper and see what I can find out.
- Actually, it does seem that it is doable with a WebProxy attribute on the connection classes. It's going to take a bit of time to work on though as I need to first roll it into the iControl assembly, and then the applications that use it (PowerShell, iRule Editor, etc). Unfortunately, I don't have a proxy setup to be able to test this. Any takers willing to test it out for me?
- JRahm
Admin
I might be able to help, let me know when you get to that stage. - I've got support built in for the main iControl connections (on the login dialog box) as well as separate proxy settings for the traffic generation dialog but have no way to test either. The only thing I know is that it still works as normal when you don't have the proxy settings enabled.
http://devcentral.f5.com/downloads/joe/iRuleEditorWithProxy.zip
- JRahm
Admin
The iRuler is indicating that I am connecting, but my packet capture doesn't ever capture traffic to the F5. Hitting disconnect doesn't refresh the status label or change the button, it just pops up the connect dialog. - Bummer... I'm not sure how I'm going to develop this feature if I can't test it out. Arrrgggghhhhh.
- JRahm
Admin
If you shoot me the source and some insight as to what you might think the problem is I'd be glad to give it a shot on Monday.
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