Forum Discussion
Matt_May_64216
Nimbostratus
Oct 06, 2005Reading TCP:Payload from a SSL'd Virtual Server
Im trying to read the first few bytes of a incomming connection to decide where it goes. When i have a SSL Profile (Client) setup on the Virtual server the TCP::Payload returns the encrypted data. Is there a way to read the decrypted message?
when CLIENT_ACCEPTED {
TCP::collect 5
}
when CLIENT_DATA {
log "Received Client date ... [TCP::payload]"
if {[TCP::payload ] starts_with "UK" } {
pool UAT-UK
log "UK"
} elseif {[TCP::payload] starts_with "Ofex" } {
pool UAT-Ofex
log "Ofex"
} else {
log "Lookup Failed"
}
}Kind regards
Matt May
11 Replies
- Brian_Herr_1028
Nimbostratus
Now that may just work. Thanks we will give it a try. We have some 9.4.2 boxes in our lab that we will try this with.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
