From nobody@FreeBSD.org  Thu Sep  9 08:46:25 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C1FB610656E6
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <sigsys@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rc.d/squid's squid_fib setting ineffective
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         150425
>Category:       ports
>Synopsis:       www/squid31: rc.d/squid's squid_fib setting ineffective
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 09 08:50:00 UTC 2010
>Closed-Date:    Thu Feb 28 17:02:42 UTC 2013
>Last-Modified:  Thu Feb 28 17:02:42 UTC 2013
>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:

From: Thomas-Martin Seck <tmseck@web.de>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/150425: www/squid31: rc.d/squid's squid_fib setting ineffective
Date: Mon, 11 Apr 2011 16:47:14 +0200

 Is this still a problem with Squid-3.1.12? Do you think this is an
 upstream problem or something the port can/should fix?
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Feb 28 17:02:41 UTC 2013 
State-Changed-Why:  
close! 3.0-3.1 is EOL by upstream. 
http://bugs.squid-cache.org/show_bug.cgi?id=2305 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150425 
>Unformatted:
