SQUID Follow X-Forwarded-For headers

Albert Thiel athiel at yourdatacenter.com
Sat Nov 29 10:35:21 PST 2008


Thanks very much for your help.  -Al

Albert Thiel
athiel at yourdatacenter.com

Your Data Center & HostLongIsland.com
Powerful FREE ISP Tools, Mail & Website Hosting
http://www.YourDataCenter.com
Hewlett, New York
(877)302-8642



-----Original Message-----
From: owner-freebsd-ports at freebsd.org
[mailto:owner-freebsd-ports at freebsd.org]On Behalf Of Thomas-Martin Seck
Sent: Saturday, November 29, 2008 11:24 AM
To: Albert Thiel
Cc: freebsd-ports at freebsd.org
Subject: Re: SQUID Follow X-Forwarded-For headers


* Albert Thiel <athiel at yourdatacenter.com>:

> There is a patch to Follow X-Forwarded-For headers to SQUID, but it is
> not in the ports. 

The patch you refer to is probably the outdated patch for Squid <2.6,
<http://devel.squid-cache.org/follow_xff/index.html>. You do not need
that patch anymore, at least not for Squid-2.

Squid-2.6/2.7 now support this feature natively; it is available as a
port OPTION (off by default). Said option
(WITH_/WITHOUT_SQUID_FOLLOW_XFF) is supported by the Squid-2 ports for
about four years now.

> How do I patch this in, or has someone done it already?

For Squid-2, i.e. www/squid26 or www/squid, just re-run "make config"
and select "SQUID_FOLLOW_XFF". For Squid-3.0 -- ask the Squid developers
to backport this feature. Squid 3.1 will include it natively just like
Squid-2.6/2.7.

_______________________________________________
freebsd-ports at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list