RE: [squid-users] IPv6 error prevents Squid start

From: Zill, Gregory \(OMA-GIS\) <Gregory.Zill_at_interpublic.com>
Date: Tue, 15 May 2012 15:44:20 -0500

I get the same error when I revert to Squid 3.2.0.16.

squid[7989]: Address.cc(958) GetSockAddr: Ip::Address::GetSockAddr : Cannot convert non-IPv4 to IPv4. from [::]

context from line 958 of Address.cc

void
Ip::Address::GetSockAddr(struct sockaddr_in &buf) const
{
    if ( IsIPv4() ) {
        buf.sin_family = AF_INET;
        buf.sin_port = m_SocketAddr.sin6_port;
        Map6to4( m_SocketAddr.sin6_addr, buf.sin_addr);
    } else {
>> debugs(14, DBG_CRITICAL, HERE << "Ip::Address::GetSockAddr : Cannot convert non-IPv4 to IPv4. from " << *this );

        memset(&buf,0xFFFFFFFF,sizeof(struct sockaddr_in));
        assert(false);
    }

-----Original Message-----
From: Zill, Gregory (OMA-GIS)
Sent: Tuesday, May 15, 2012 2:49 PM
To: 'squid-users_at_squid-cache.org'
Cc: Amos Jeffries (squid3_at_treenet.co.nz)
Subject: RE: [squid-users] IPv6 error prevents Squid start

Has anyone seen this error? Should I revert to 3.2.0.16? Please advise.

-----Original Message-----
From: Zill, Gregory (OMA-GIS)
Sent: Thursday, May 10, 2012 7:37 AM
To: 'Amos Jeffries'; squid-users_at_squid-cache.org
Subject: RE: [squid-users] IPv6 error prevents Squid start

Sorry for the lack of info:

Linux 32-bit 2.6.32-220.13.1.el6.i686 CentOS 6.2

Squid Cache: Version 3.2.0.17
configure options: --enable-ltdl-convenience
- no patching

From ifcfg-eth0:
...
IPV4_FAILURE_FATAL=yes
IPV6INIT=no

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Thursday, May 10, 2012 7:34 AM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] IPv6 error prevents Squid start

On 11/05/2012 12:14 a.m., Zill, Gregory (OMA-GIS) wrote:
> I have some references from a google search, but no actual fix seen. Has anyone overcome this?
>
> Address.cc(958) GetSockAddr: Ip::Address::GetSockAddr : Cannot
> convert non-IPv4 to IPv4. from [::]
>
> I appreciate your time.

That is the equivaent of failing to convert between upper and lower case letters 'A' and 'a'. There is absolutely no reason for it to fail.

What Squid is this happening in? what operating system is it built for?
and what has been patched into it?

Amos
This message contains information which may be confidential and privileged. Unless you are the intended recipient (or authorized to receive this message for the intended recipient), you may not use, copy, disseminate or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail, and delete the message. Thank you very much.
Received on Tue May 15 2012 - 20:44:28 MDT

This archive was generated by hypermail 2.2.0 : Wed May 16 2012 - 12:00:04 MDT