[squid-users] Squid3: icmp_sock: (97) Address family not supported by protocol / pinger: Unable to start ICMPv6 pinger

Eliezer Croitoru eliezer at ngtech.co.il
Thu Jun 23 07:54:41 UTC 2016



Pinger is not a must but a luxury piece of software.

It will make your and others life easier but you can avoid it playing with the configuration option:



And if you have disabled ipv6 in some way it would be probably wise to start thinking about just enabling it if not using it.

Since you have compiled squid by yourself(right?) then you need to disable ipv6 in the squid flags.

I do not think it's a very good idea these days but you are the user\admin\client.


All The Bests,




 <http://ngtech.co.il/lmgtfy/> Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il


From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Alejandro Cabrera Obed
Sent: Thursday, June 23, 2016 3:45 AM
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Squid3: icmp_sock: (97) Address family not supported by protocol / pinger: Unable to start ICMPv6 pinger


I notice that I've comnpiled squid3 with --enable-icmp but I don't need thsi option because I don't work eith parent caches.


So I will try to reconfigure squid3 withouth the ICMP option (no pinger at all), and I expect not to see any IPv6 warning.




2016-06-22 21:29 GMT-03:00 Alejandro Cabrera Obed <aco1967 at gmail.com <mailto:aco1967 at gmail.com> >:

I can't see anything about IPv6:


cat /etc/default/networking:


# Configuration for networking init script being run during

# the boot sequence


# Set to 'no' to skip interfaces configuration on boot



# Don't configure these interfaces. Shell wildcards supported/



# Set to 'yes' to enable additional verbosity



cat /etc/network/interfaces:


# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).


source /etc/network/interfaces.d/*    (this path is empty)


# The loopback network interface

auto lo

iface lo inet loopback


# The primary network interface

allow-hotplug eth0

iface eth0 inet static

        address x.x.x.x


        network x.x.x.x

        broadcast x.x.x.x

        gateway x.x.x.x

        # dns-* options are implemented by the resolvconf package, if installed

        dns-nameservers x.x.x.x




2016-06-22 20:37 GMT-03:00 Antony Stone <Antony.Stone at squid.open.source.it <mailto:Antony.Stone at squid.open.source.it> >:

On Thursday 23 June 2016 at 01:22:45, Alejandro Cabrera Obed wrote:

> #ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:50:53:b2:6e:88
>           inet addr:  Bcast:  Mask:
> lo        Link encap:Local Loopback
>           inet addr:  Mask:

Well, that certainly confirms that IPv6 is disabled on your machine (from the
lack of lines such as "inet6 addr:").

You say "I haven't disabled the IPv6 protocol, no references in
/etc/default/grub neither in systcl asociated file."

Something (or someone) has certainly disabled IPv6 on this machine, though.

What are the outputs from:

        grep -v ^# /etc/default/networking

        cat /etc/network/interfaces



"It is easy to be blinded to the essential uselessness of them by the sense of
achievement you get from getting them to work at all. In other words - and
this is the rock solid principle on which the whole of the Corporation's
Galaxy-wide success is founded - their fundamental design flaws are completely
hidden by their superficial design flaws."

 - Douglas Noel Adams

                                                   Please reply to the list;
                                                         please *don't* CC me.
squid-users mailing list
squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org> 



 //  Alejandro   //



 //  Alejandro   //

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160623/d88fc8e5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160623/d88fc8e5/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11308 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160623/d88fc8e5/attachment-0001.png>

More information about the squid-users mailing list