Forum Discussion
Nov 26, 2013
irule determine if request is ssl
Within iRule , how to determine if request is SSL ?
4 Replies
- Lee_Payne_53457
Cirrostratus
within the iRule look for the CLIENTSSL_CLIENTHELLO triggering.
https://devcentral.f5.com/wiki/irules.CLIENTSSL_CLIENTHELLO.ashx
- Kevin_Stewart
Employee
Assuming you had a VIP that was listening on multiple ports, probably the easiest thing would be to simply evaluate the port in a layer 4 event. Example:
when CLIENT_ACCEPTED { if { [TCP::local_port] equals "443" } { this is most likely an SSL request } } - Emad
Cirrostratus
use CLIENTSSL_CLIENTHELLO for loging SSL requests.
- Thomas_Gobet
Nimbostratus
Also, keep in mind that an iRule without SSL offloading has limited capabilities.
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