CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
Alexander_Kova1
Historic F5 Account

Problem this snippet solves:

DTLS \ SSL Echo

Echo service (RFC 862) with encryption.

Code :

when CLIENTSSL_HANDSHAKE {
   # Trigger collection of the decrypted payload once the SSL or DTLS handshake has been completed successfully
   SSL::collect
}

when CLIENTSSL_DATA {
   # Send decrypted payload back to client
   SSL::respond [SSL::payload]

   # Cleanup payload
   SSL::payload replace 0 [SSL::payload length] ""

   # Release collected data
   SSL::release

   # Collect new data - CLIENTSSL_DATA will be called again
   SSL::collect
}
Version history
Last update:
‎17-Mar-2015 13:06
Updated by:
Contributors