From owner-freebsd-ports@FreeBSD.ORG Sat Nov 29 16:49:25 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26266106564A for ; Sat, 29 Nov 2008 16:49:25 +0000 (UTC) (envelope-from thomas@hardy.tmseck.homedns.org) Received: from smtp2.netcologne.de (smtp2.netcologne.de [194.8.194.112]) by mx1.freebsd.org (Postfix) with ESMTP id E28538FC16 for ; Sat, 29 Nov 2008 16:49:24 +0000 (UTC) (envelope-from thomas@hardy.tmseck.homedns.org) Received: from laurel.tmseck.homedns.org (xdsl-81-173-175-77.netcologne.de [81.173.175.77]) by smtp2.netcologne.de (Postfix) with SMTP id 3CE3249BF for ; Sat, 29 Nov 2008 17:24:03 +0100 (MET) Received: (qmail 748 invoked from network); 29 Nov 2008 16:24:03 -0000 Received: from unknown (HELO hardy.tmseck.homedns.org) (192.168.1.2) by 0 with SMTP; 29 Nov 2008 16:24:03 -0000 Received: from hardy.tmseck.homedns.org (localhost [127.0.0.1]) by hardy.tmseck.homedns.org (8.14.3/8.14.3) with ESMTP id mATGO2TL002040; Sat, 29 Nov 2008 17:24:02 +0100 (CET) (envelope-from thomas@hardy.tmseck.homedns.org) Received: (from thomas@localhost) by hardy.tmseck.homedns.org (8.14.3/8.14.3/Submit) id mATGO1Bo002039; Sat, 29 Nov 2008 17:24:01 +0100 (CET) (envelope-from thomas) Date: Sat, 29 Nov 2008 17:24:01 +0100 (CET) Message-Id: <200811291624.mATGO1Bo002039@hardy.tmseck.homedns.org> From: tmseck-lists@netcologne.de (Thomas-Martin Seck) To: "Albert Thiel" In-Reply-To: <66f15cb3806e497989fbe62ff15147af.athiel@yourdatacenter.com> X-Newsgroups: gmane.os.freebsd.devel.ports X-Attribution: tms Cc: freebsd-ports@freebsd.org Subject: Re: SQUID Follow X-Forwarded-For headers X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2008 16:49:25 -0000 * Albert Thiel : > 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.