Forum Discussion
technoe_159637
Nimbostratus
Oct 29, 2014Using fiddler custom rules with Big IP F5 LTM
We use fiddler in our various environments to assign traffic to a particular server with fiddler's custom rules. We have a rule that says insert this cookie to see traffic on this server. This works ...
Arie
Altostratus
Oct 31, 2014Couple of options (there are more):
- Write to the log
- tcpdump
- Return a value to the client if the cookie exists.
Sample code for option 1:
when HTTP_REQUEST {
if { [HTTP::cookie exists "your-cookie-name"] } {
log local0.debug "Cookie found: [HTTP::cookie "your-cookie-name"]"
}
}Sample code for option 3:
when HTTP_REQUEST {
if { [HTTP::cookie exists "your-cookie-name"] } {
set cookieValue
}
}
when HTTP_RESPONSE {
HTTP::header insert "X-Cookie" $cookieValue
}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