ports/150425: rc.d/squid's squid_fib setting ineffective

Mathieu sigsys at gmail.com
Thu Sep 9 08:50:01 UTC 2010


>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:



More information about the freebsd-ports-bugs mailing list