Date: Thu, 9 Sep 2010 08:46:25 GMT From: Mathieu <sigsys@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/150425: rc.d/squid's squid_fib setting ineffective Message-ID: <201009090846.o898kPk7053569@www.freebsd.org> Resent-Message-ID: <201009090850.o898o0Kh057343@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009090846.o898kPk7053569>