Forum Discussion
ottleydamian
Cirrus
Mar 03, 2019TCP iRule to find HTTP headers
I have a situation where I have an iRule that works once the user is using the HTTP protocol. Unfortunately, the same VIP handles a proprietary protocol from Oracle called T3. To use the iRule I need...
- Mar 03, 2019
I think you could limit the iRule to this:
when CLIENT_ACCEPTED { HTTP::disable TCP::collect 4 } when CLIENT_DATA { if { [TCP::payload 4] contains "GET" } { HTTP::enable } TCP::release } when HTTP_REQUEST { my irule } when HTTP_RESPONSE { my irule }
I'll expect the HTTP_REQUEST and HTTP_RESPONSE events will not be triggered when the HTTP profile is disabled.
ottleydamian
Cirrus
Mar 05, 2019Thanks,
My iRule has both GET and POST.
if { ([TCP::payload 4] contains "GET") || ([TCP::payload 4] contains "POST") } {
Thanks guys for all your great help (Niels van Sluis & Jason Rahm). I'm very positive that this will work once I get to implement it.
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