Search squid archive

Re: How to see client IP behind a reverse proxy

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

 



On 04.10.07 10:16, Roland Rabben wrote:
> I have a web application server that needs to be able to see the client
> request IP address. But when I add a Squid as a reverse proxy in front
> of my web server, my application only sees the IP of the reverse proxy.
> 
> Is there any way to configure Squid to expose client IP's to my web app?

use X-Forwarded-For: directive, it may contain a path of clients behing the
proxies. However you should noe trust every proxy in the path, only yours.
-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"They say when you play that M$ CD backward you can hear satanic messages."
"That's nothing. If you play it forward it will install Windows."

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

  Powered by Linux