Forum Discussion
how can i troubleshoot an irules logic
folks
i have an irule which calls two data groups but when i add in a third traffic stops being passed to my internet server pool
i'm asking if there is a way to trace the login of the irule to show where the problem is, i.e. are there any options in a packet capture or logging
thanks to anyone taking the time to reply or to read this
16 Replies
- Kevin_Stewart
Employee
So by explicit proxy, do you mean explicit to the browser? Where the Host header from the browser contains the full URL to the remote host?
- mulhollandm_648
Nimbostratus
kevin
yes, the ltms ip address is configured as the proxy in the browser settings
when i a http request is made for http://10.27.1.254 to source address is my client, the destination address is the ltm vserver address
the http host filed contains 10.27.1.254:8080
hope this helps
- Kevin_Stewart
Employee
Ahh, so that makes sense. You're using the IP address in the browser request, so that IP address will be in the Host header that passes through the forward proxy. That's the only place you'll be able to get the destination address then. What if, however, the client requests something by name instead of IP address? Have you configured a DNS lookup in your iRule? Will that be required?
- mulhollandm_648
Nimbostratus
kevin
dns is handled by the upstream proxies
using a string data group works but its not the solution i hoped for
my string looks for 10. but this obviously means if someone requests a public ip as 180.50.10.5 (random example) my irule will pick it up and send it to the external proxy (PROXY-POOL)
i'm not sure if http::host will pick up the string http://10. but i think i've got a workaround but i don't think its a long term solution
thanks again for your patience and help
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