Forum Discussion
Andrei_Bankousk
Nimbostratus
Aug 06, 2006Using BIP/iRule as SSL accelerator for non-web application
I would like to explore the possibility of using power of iRule and SSL acceleration to secure a non-web enabled application. Currenly the application consists of a client that connects directly to a bunch of servers on various different ports. The ideal scenario would be encrypting all these connections with SSL and terminating them on BIP using 1 IP address. Client side would pass a URL or some other piece of information to select what server a particular connection needs to be forwarded to. This piece of information that is used to select a server should not be passed to the server since there are too many server-side applications to be recompiled. The problem that I am running into is if I am using something like this:
when HTTP_REQUEST {
if { [string toupper [HTTP::method]] eq "CONNECT" } {
HTTP::disable
select appropriate server pool below
}
}
the whole HTTP request is still being passed to the server side. So the question would be is there another way to do this or a way to remove the header.
Using CLIENT_DATA event and TCP::payload works but it is still not perfect since the information that is used to select a server needs to be passed in clear.
5 Replies
- Colin_Walker_12Historic F5 AccountWell, you can certainly use the HTTP::header remove command to remove any header that you don't want passed along to the server.
- Andrei_Bankousk
Nimbostratus
I want the whole request not to go to the server, only what client sends next should be passed. The request is only used by BIP to select a proper pool. - bl0ndie_127134Historic F5 AccountWe just added a 'discard' option to the 'HTTP::disable' rule that throws away all the request data (which I think is what you are looking for). But this will only be available on the next release which is version 9.4.
- unRuleY_95363Historic F5 AccountYou probably don't want to use the HTTP profile as it will not be possible to completely remove the HTTP request headers (their necessary for HTTP to operate).
- Andrei_Bankousk
Nimbostratus
Thanks a lot for your response. A way to look into a decrypted traffic would certainly be a very nice feature. I will give option A a try, I need to read about STREAMS a little, since I do not really know what they are.
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