Forum Discussion
Nov 26, 2013
irule determine if request is ssl
Within iRule , how to determine if request is SSL ?
Kevin_Stewart
Employee
Nov 26, 2013Assuming 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
}
}
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