RE: SQUID Follow X-Forwarded-For headers

2008-11-29 Thread Albert Thiel
Thanks very much for your help.  -Al

Albert Thiel
[EMAIL PROTECTED]

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas-Martin Seck
Sent: Saturday, November 29, 2008 11:24 AM
To: Albert Thiel
Cc: freebsd-ports@freebsd.org
Subject: Re: SQUID Follow X-Forwarded-For headers


* Albert Thiel <[EMAIL PROTECTED]>:

> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SQUID Follow X-Forwarded-For headers

2008-11-29 Thread Thomas-Martin Seck
* Albert Thiel <[EMAIL PROTECTED]>:

> 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,
. 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SQUID Follow X-Forwarded-For headers

2008-11-29 Thread RW
On Fri, 28 Nov 2008 18:08:02 -0500
"Albert Thiel" <[EMAIL PROTECTED]> wrote:

> There is a patch to Follow X-Forwarded-For headers to SQUID, but it
> is not in the ports.  How do I patch this in, or has someone done it
> already?
You can have patches applied automatically by giving them a name
that starts with "patch-", and putting them in the port's "files"
directory.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SQUID Follow X-Forwarded-For headers

2008-11-28 Thread Carlos A. M. dos Santos
On Fri, Nov 28, 2008 at 9:08 PM, Albert Thiel <[EMAIL PROTECTED]> wrote:
> There is a patch to Follow X-Forwarded-For headers to SQUID, but it is not in 
> the ports.  How do I
> patch this in, or has someone done it already?

You can fill a PR with the appropriate patch (see the Porter's
Handbook). I suggest you to contact the port maintainer before, since
he may be working on that modification.

-- 
cd /usr/ports/sysutils/life
make clean
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SQUID Follow X-Forwarded-For headers

2008-11-28 Thread Albert Thiel
There is a patch to Follow X-Forwarded-For headers to SQUID, but it is not in 
the ports.  How do I 
patch this in, or has someone done it already?

Thanks, Al


Albert Thiel
[EMAIL PROTECTED]

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


 

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"