Re: [squid-users] want squid 3.1.10 to stop giving IPv6 errors fetching​.com

From: Will Roberts <>
Date: Sat, 18 Aug 2012 12:06:17 -0400

On 08/18/2012 08:02 AM, Robert Collins wrote:
> On Sat, Aug 18, 2012 at 2:51 PM, Bennett Haselton <> wrote:
>> I installed squid 3.1.10 on CentOS 6.3 with the default squid.conf.
>> When I test it out from localhost:
>> The following error was encountered while trying to retrieve the URL:
>> Connection to 2607:f8b0:4004:800::1014 failed.
>> The system returned: (110) Connection timed out
> If you have IPv6 configured on your machine but don't have IPv6
> connectivity to the rest of the world, I would expect this symptom.
> Solutions:
> - don't have IPv6 configured
> - or have connectivity.

Sometimes that's not fully in your control. One machine I have doesn't
have a global IPv6 address, or any IPv6 routes, yet still tries to use
IPv6 addresses when reaching servers. I'll admit I spent no time
investigating as I already knew how to force squid to use IPv4:

tcp_outgoing_address <ipv4 addr> <acl>

I have multiple outgoing IPs, so mine are usually of the form:

acl out0 myport 80

tcp_outgoing_address <ip> out0

Received on Sat Aug 18 2012 - 16:06:26 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 19 2012 - 12:00:03 MDT