Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2013-07-22T02:19:01Z by Sunit
NeoWonge
NeoWonge
4 Posts
ACCEPTED ANSWER

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
    194 Posts
    ACCEPTED ANSWER

    Re: X-Forwarded-For

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

    • Sunit
    • BurhanAli
      BurhanAli
      1 Post
      ACCEPTED ANSWER

      Re: X-Forwarded-For

      ‏2013-07-20T09:11:52Z  in response to 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
        194 Posts
        ACCEPTED ANSWER

        Re: X-Forwarded-For

        ‏2013-07-22T02:19:01Z  in response to BurhanAli

        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