Forum Discussion
Using 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 (for the most part) in production but not in our QA or team environments. We are running a virtual edition 11.5 LTM with a handful of iRules that are very similar to the rules in production. Nearly everything in our team environments are setup to look like production. Has anyone used fiddler with the LTM like this before?
6 Replies
- Arie
Altostratus
Are you able to see the requests on the BIG-IP (e.g. write to the log, examine tcpdump) or even in the web server logs?
- technoe_159637
Nimbostratus
That's a great question. I'll try that now.
- technoe_159637
Nimbostratus
The F5 doesn't seem to acknowledge the custom rules. It shows a different ip address than the one requested by the fiddler rules.
- Arie
Altostratus
Are you seeing the cookie on the BIG-IP?
- technoe_159637
Nimbostratus
How would I know? What should I be looking for?
- Arie
Altostratus
Couple 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
* 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