Re: [squid-users] Squid 3.3.8 request header

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 18 Dec 2013 01:39:39 +1300

On 18/12/2013 1:13 a.m., 0bj3ct wrote:
> Hello.
>
> Am using Squid in transparent mode. How can I get request header
> x-forwarded-for from client using squid?
>

The header is optional, you can only get it from the client if it is
sent by the client.

To pass it through Squid you will need to set the forwarded_for
directive to one of:
  on, off, transparent

http://www.squid-cache.org/Doc/config/forwarded_for/

Note that the default is "on". So unless you broken something your Squid
will be relaying it already.

Amos
Received on Tue Dec 17 2013 - 12:39:46 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 17 2013 - 12:00:04 MST