For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Matt_May_64216's avatar
Matt_May_64216
Icon for Nimbostratus rankNimbostratus
Oct 06, 2005

Reading 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

  • 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.