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.

DTLS Echo iRule

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
}
Published Mar 17, 2015
Version 1.0
No CommentsBe the first to comment