Forum Discussion
Roman_80473
Jul 01, 2011Nimbostratus
How to find HOST protocol inside iRule?
Hi folks,
Is there a way to find host protocol inside HTTP_REQUEST event in iRule? I can get host ([HTTP::host] ) and uri ([HTTP::uri]), but not sure about protocol.
Any help ...
Roman_80473
Jul 05, 2011Nimbostratus
Aaron,
Thank you for your reply. Should I use both approaches to determine for sure whether SSL is used?
if TCP::local_port value is 443 AND if {not ([catch {SSL::cipher version} result]) && $result ne "none"}
protocol = "https"
Thanks, Roman
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