From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 9 08:50:01 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C55810656EB for ; Thu, 9 Sep 2010 08:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D07E48FC19 for ; Thu, 9 Sep 2010 08:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o898o0Lp057344 for ; Thu, 9 Sep 2010 08:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o898o0Kh057343; Thu, 9 Sep 2010 08:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 9 Sep 2010 08:50:00 GMT Resent-Message-Id: <201009090850.o898o0Kh057343@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mathieu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1FB610656E6 for ; Thu, 9 Sep 2010 08:46:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B1B198FC0C for ; Thu, 9 Sep 2010 08:46:25 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o898kPZ7053575 for ; Thu, 9 Sep 2010 08:46:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o898kPk7053569; Thu, 9 Sep 2010 08:46:25 GMT (envelope-from nobody) Message-Id: <201009090846.o898kPk7053569@www.freebsd.org> Date: Thu, 9 Sep 2010 08:46:25 GMT From: Mathieu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/150425: rc.d/squid's squid_fib setting ineffective X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 08:50:01 -0000 >Number: 150425 >Category: ports >Synopsis: rc.d/squid's squid_fib setting ineffective >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 09 08:50:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Mathieu >Release: 8.1-STABLE >Organization: >Environment: 8.1-STABLE r212312M amd64 >Description: The rc.d/squid script that comes with ports/www/squid31 has a "squid_fib" setting that should make squid use the given FIB. But as things are by default, it does not work; squid always use FIB #0 no matter what this setting is set to. >How-To-Repeat: >Fix: As a workaround, I found that setting squid's "tcp_outgoing_address" parameter in squid.conf to an IPv4 address (and 0.0.0.0 does not work for that) makes it use alternative FIBs correctly. I think this is because squid always uses "wildcard INET6" sockets, even when connecting to IPv4 hosts, which is incompatible with multi-FIB support. It is documented that IPv6 is not supported by multi-FIB, but still, it's confusing that it would not work at all with Squid even when there are no actual IPv6 connections happening. >Release-Note: >Audit-Trail: >Unformatted: