how to get X-Forwarded-For ?

Our client use security reverse proxy and this is why we need ability to get X-Forwarded-For to get real client address.

there were many requests from user to support this feature.

Hi,

I assume you are referring to HTTP sessions.

You can use httpStreamerSession.getHTTPHeader(String name); to get an individual header. You can also use httpStreamerSession.getHTTPHeaderNames(); to get a list of the current headers that have been set.

Roger.

Salloum,

we don’t parse logs.

Roger,

thanks as always. I should get it myself

i think instead of reading c-ip when x-forwarders is on you can read s-ip this will return the user ip.

Salloum.