Forum Discussion
James_Thomson
Employee
Dec 09, 2004selective re-encryption
I'm trying to have a vip with ssl acceleration enabled accept traffic, inspect it, if it is html, re-encrypt it and send it to a secure serverpool. If it is .gif, just send it to a port 80 pool.
I'm trying something like:
when CLIENTSSL_HANDSHAKE {
if {HTTP::uri ends_with "gif"} {
pool img_pool }
elseif {HTTP::uri ends_with "html" }
then use pool html_secure_pool}
I don't know what to use to re-encrypt the data to the secure server. Also, would I need to wait for HTTP_REQUEST after CLIENTSSL_HANDSHAKE or is that enough?
If I gave the vip a server ssl profile, could I then just parse out the gif's and just leave the rest alone?
Any help would be appreciated.
- unRuleY_95363Historic F5 AccountThis is what I think you want:
when HTTP_REQUEST { if {[HTTP::uri] ends_with "gif"} { pool img_pool } else { pool html_secure_pool } } when SERVER_CONNECTED { if {[TCP::remote_port] != 443} { SSL::disable } }
- James_Thomson
Employee
I made the fallback pool the secure pool in the virtual.I have a clientssl and serverssl profile associated and an http profile associated as well. - James_Thomson
Employee
With that last part, it got rid of the error and worked: - James_Thomson
Employee
With that last part, it got rid of the error and worked:
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