Forum Discussion
steve_michaels
Cirrus
Jan 25, 2012need iRule for http redirect after checking that the request is for ocspr
Hi, Fairly new to iRules. I need a simple F5 iRule to redirect incoming http request to our ocsp server. We want to restrict the http request to only redirect the request for ocsp service.
What would be an easy way to check (using iRule) to make sure that only the ocsp request coming in via http are redirected? Is there somthing in the packet/protocol that i can check for?
Thanks
-Steve
1 Reply
- hoolio
Cirrostratus
Hi Steve,
Are the OCSP requests made to a specific URI stem? If so, this should be reasonably simple to split them off to a second pool based on URI. I'm not sure if an OCSP client would follow an HTTP redirect though. Can you try logging a few OCSP requests using tcpdump and reply with the HTTP request headers?
Aaron
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