Forum Discussion
SL
Cirrus
Sep 17, 2015httponly option without http profile
Hi All
Is it at all possible to enable the httponly option other than using cookie or ASM?
Reason for the question is that I am trying to enable ASM for IBM Endpoint Manager for Remote Cont...
Robert_Teller_7
Oct 06, 2015Historic F5 Account
You can try enabling the HTTP Profile and then using an iRule to disable HTTP for any request that isn't RFC compliant.
I have attached a snippet that will verify that the first portion of the request contains a string followed by a forward slash.
For an HTTP Request
when CLIENT_ACCEPTED {
HTTP::disable
TCP::collect 20
}
when CLIENT_DATA {
scan [TCP::payload] {%s %c} METHOD REQUEST
if {$METHOD ne "" && $REQUEST eq "/"}
{
HTTP::enable
}
TCP::release
}
For an HTTPS Request
when CLIENT_ACCEPTED { HTTP::disable }
when CLIENTSSL_CLIENTHELLO { SSL::collect 20}
when CLIENTSSL_DATA {
scan [SSL::payload] {%s %c} METHOD REQUEST
if {$METHOD ne "" && $REQUEST eq "/"}
{
HTTP::enable
}
SSL::release
}
SL
Cirrus
Oct 20, 2015Hi Robert
I created and enabled the iRule, it still says that I need to enable a SSL Profile
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