Search squid archive

Re: Getting Source-IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 22, 2010 at 8:19 PM, Andreas Müller <amuelle1@xxxxxx> wrote:
> 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.
>

Squid has done its best with X_FORWARDED_FOR.
For other solution, you may get the real client's IP with some client
technologies like Javascript.


-- 
Jeff Pang
http://home.arcor.de/pangj/


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux