Search squid archive

Re: Remote IP detection

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

 



lör 2008-04-12 klockan 01:58 +0800 skrev howard chen:
> Is it safe that is must be the remote IP (x.x.x.x) of the user, no
> cheating is available (e.g. user might set the X-Forward header by
> themself)?

Squid adds to the already existing header if any, so X-Forwarded-For may
contain a list of addresses.  The last address in the list is the
address your Squid received the request from. The first (if more than
one) is supposedly the client IP if behind another Squid proxy, but may
be cheated in the way you describe so you should only read the list as
far as you trust the found members.


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

  Powered by Linux