Forum Discussion

mulhollandm_648's avatar
mulhollandm_648
Icon for Nimbostratus rankNimbostratus
Nov 09, 2013

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

  • 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?

     

  • 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

     

  • 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?

     

  • 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