Forum Discussion
Antonio_Varni
Nimbostratus
Aug 18, 2010'generic' detect SSL::mode irule
I swear I had this working a long time ago on 9.4.
I'm on 10.2 now and currently have a default irule that we use for all vips (http and https) as well as an additional irule we use for all https vip...
hoolio
Cirrostratus
Sep 19, 2010I think SSL::mode still exists but the validation around it has been tightened:
when HTTP_REQUEST {
set ssl_mode_cmd "SSL::mode"
if { [eval $ssl_mode_cmd] == 1 } {
HTTP::header replace SSLMode "True"
} else {
HTTP::header remove SSLMode
}
}
Setting isSSL to 0 or 1 won't actually modify the request in any way. And checking the port won't stop someone from sending HTTP on port 443.
Aaron
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