Forum Discussion
Roman_80473
Nimbostratus
Jul 01, 2011How 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 ...
hoolio
Cirrostratus
Jul 05, 2011Hi Roman,
You can't tell from just the HTTP headers or payload whether the request was sent via SSL. You can either assume SSL based on the virtual server port [TCP::local_port] or use an iRule to test whether a cipher was used:
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=1170929&ptarget=1170978
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