Topic
  • 3 replies
  • Latest Post - ‏2013-07-22T02:19:01Z by Sunit
NeoWonge
NeoWonge
4 Posts

Pinned topic X-Forwarded-For

‏2012-12-10T05:24:20Z |
Hi,

We are trying to capture the source IP for those who are accessing our application behind a proxy server. Is this possible using "X-Forwarded-For" ?

Neo.
Updated on 2012-12-10T15:35:37Z at 2012-12-10T15:35:37Z by Sunit
  • Sunit
    Sunit
    196 Posts

    Re: X-Forwarded-For

    ‏2012-12-10T15:35:37Z  
    If your proxy server implements/supports XFF then yes.

    • Sunit
  • BurhanAli
    BurhanAli
    1 Post

    Re: X-Forwarded-For

    ‏2013-07-20T09:11:52Z  
    • Sunit
    • ‏2012-12-10T15:35:37Z
    If your proxy server implements/supports XFF then yes.

    • Sunit

    Hi Sunit,

    The XFF is configured in F5 Loadbalancer, do we need to do any configuration in IBM WAS V7 Base, I am not using IBM HTTPS. I have basic structure F5Loadbalance --> IBM WAS Base --> Business Application

    I am waiting for your prompt response.

    Thank you,

    Burhan

  • Sunit
    Sunit
    196 Posts

    Re: X-Forwarded-For

    ‏2013-07-22T02:19:01Z  
    • BurhanAli
    • ‏2013-07-20T09:11:52Z

    Hi Sunit,

    The XFF is configured in F5 Loadbalancer, do we need to do any configuration in IBM WAS V7 Base, I am not using IBM HTTPS. I have basic structure F5Loadbalance --> IBM WAS Base --> Business Application

    I am waiting for your prompt response.

    Thank you,

    Burhan

    If F5 is already configured for XFF then you have modify the IBM HTTP Server config for logging the IP address in access_log. This might give you a clue:

    http://www-01.ibm.com/support/docview.wss?uid=swg21445012

    If you are not using IBM HTTP Server and directly sending traffic from F5 to WAS then you will have to programatically interrogate HTTP header and process it.

    --Sunit