[squid-users] X-Forwarded-For

Michael Pelletier michael.pelletier at palmbeachschools.org
Sat Nov 10 02:15:35 UTC 2018


Perhapse your Squid has been patched to remove it ?

I am running 3.5.28. I have not installed any patches.

Perhapse you are looking at the wrong headers ?
 X-Forwarded-For is only added to the request headers sent to servers.

Yes. The XFF should be added to the request header and be seen by the
server the proxy is communicating with. I have a sniffer on the outside
(Internet side) of the proxy and have confirmed the XFF is not being added.

Perhapse you have a later config line setting forwarded_for to "delete"
or "transparent" ?

I have the line "forwarded_for on"

On Fri, Nov 9, 2018 at 7:35 PM Amos Jeffries <squid3 at treenet.co.nz> wrote:

> On 10/11/18 9:05 AM, Michael Pelletier wrote:
> > Hello,
> > I am running squid 3.5.28 and for some reason I can not get
> > X-Forwarded-For added to the http headers. I have "forwarded_for on" and
> > "via on" set in the squid.conf. Any ideas why this will not work?
> >
>
> Perhapse your Squid has been patched to remove it ?
>
> Perhapse you are looking at the wrong headers ?
>  X-Forwarded-For is only added to the request headers sent to servers.
>
> Perhapse you have a later config line setting forwarded_for to "delete"
> or "transparent" ?
>
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>

-- 






*Disclaimer: *Under Florida law, e-mail addresses are public records. 
If you do not want your e-mail address released in response to a public 
records request, do not send electronic mail to this entity. Instead, 
contact this office by phone or in writing.







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20181109/afb3b25e/attachment.html>


More information about the squid-users mailing list