Forum Discussion
fervin
May 08, 2012Nimbostratus
Sideband connection through direct HTTP proxy
Hey Folks,
I am trying to build upon the reCAPCHA iRule example for a production use case. The main problem I see is that our management tier doesn't have direct access to the Internet. Al...
Joel_Moses
May 08, 2012Nimbostratus
You're right, sideband doesn't include anything about use of HTTP proxies, but that's okay, because they should still be usable with a proxy. Remember that sideband connections are essentially open sockets -- they can speak anything you want to send through them. All you have to do is talk to the proxy using standard fully qualified URL requests and you should be okay.
Looking at the reCAPTCHA rule in particular, you'd need to make a few modifications:
1) instead of connecting to the $::google_ip you would need to connect to your proxy's IP address (line 91).
2) when forming the POST, you'll need to use the full URL so it can process it for proxy (e.g, "POST http://www.google.com/recaptcha/api/verify HTTP/1.1\r\n" (line 77).
Pretty much everything else would work fine, I think.
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