Re: [squid-users] ipv6 support for 3.1.16

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 15 Feb 2013 00:26:32 +1300

On 14/02/2013 11:47 p.m., anita wrote:
> Hi,
>
> I am using squid version 3.1.16 on a red hat linux OS.
> From the release notes, I do find that there is ipv6 support from 3.1.1
> release.
>
> What I need to know is:
> 1. the option to specify dns_nameservers : can this directive hold ipv6
> address and ipv4 address at the same time - that is if I have one directive
> for each address in the same squid.conf?

Almost anywhere in squid.conf where IPv4 was accepted will also accept IPv6.

The only exception is WCCP settings, since that protocol version(s)
implemented by Squid are IPv4-only.
PS. we are still looking for a sponsor to adjust ot to the v3 protocol
with IPv6 upport.

> 2. I understand if i simply specify a port number for http_port, it should
> give me support for both ipv4 & 6 automatically.

Yes.

There is one proviso. If you have a split TCP stack (the 'v4-mapping'
feature of IPv6 is missing or disabled in yoru kernel) then 3.1 has
issues. You will need 3.2 or later for good IPv6 support on those systems.

> 3. I would need to configure my eth0 interface (in the machine where I
> running my squid) to have both ipv4 & ipv6 addresses. In this case, should I
> restart the squid? Or rather should squid be restarted everytime the eth
> interface is reconfigured? is it necessary? According to my understanding,
> only any config settings would need a reconfiguration. Please correct me.

If you configure _only_ a port number in http_port there is no binding
between Squid and any IPs or NIC. You can change them as needed on the
system without restarting Squid.

If you configure an IP or hostname in the http_port line, you will need
to 'squid -k reconfigure' after making alterations to _that_ address or
host name.

Amos
Received on Thu Feb 14 2013 - 11:26:44 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 21 2013 - 12:00:04 MST