Hello,

I'm using squid as accel proxy. Is there a posibility to inject the source
IP into the http header send to webserver?

I know that there is "HTTP_X_FORWARDED_FOR" but it seems that the content of
this parameter is not clear if this parameter is already in the request
header (e.g. the request already comes from a proxy). Sometimes I get a
comma separated list, sometimes not. 

So I'm searching for an option to inject a custom parameter with the source
IP into http header. Or is the a secure rule to extract the correct source
IP of the request as just taking the "last" IP in the list?

Kind regards,

Andreas



Reply via email to