> How do I disable ipv6 in Debian?
> I have blacklisted the ipv6 module, but Debian has this compiled
> this into the monolithic core, rather than building it as a module.
> I have also added a file into the sysctl.d directory as follows:
> cat /etc/sysctl.d/disableipv6.conf
> And I have rebooted the server, but ipv6 persists:
> Resolving ftp.uk.debian.org... 188.8.131.52, 2001:470:1f08:80b::2
That may be a function of whether the application making the
getaddrinfo() call is or is not setting the AI_ADDRCONFIG flag. If it
does, then addresses of a given family will only be returned if there
is an interface (other than loopback) configured with an address from
that family. If that flag is not set, even a "pure" IPv4 system may
return an IPv6 address via getaddrinfo(), having been given it by the
DNS server - even though/if the DNS query was carried in an IPv4
Quote:> netstat -a
> tcp6 0 0 [::]:43801 [::]:* LISTEN
> tcp6 0 0 [::]:46874 [::]:* LISTEN
> tcp6 0 0 [::]:52607 [::]:* LISTEN
> tcp6 0 0 [::]:nfs [::]:* LISTEN
> tcp6 0 0 [::]:56389 [::]:* LISTEN
> tcp6 0 0 [::]:44584 [::]:* LISTEN
> tcp6 0 0 [::]:sunrpc [::]:* LISTEN
> tcp6 0 0 [::]:www [::]:* LISTEN
> ^ ^ ^
> More ipv6
Well, more addresses being displayed using IPv6 style at least, and
indicating that their owning applications may have been ported to be
able to accept connections via IPv6.
Quote:> I don't want any ipv6 on this leg of the network.
Are there any interfaces on the system configured with an IPv6
address? If not, then apart from the AI_ADDRCONFIG question,
everything else is really (IIRC) just cosmetic.
> Mark Hobley
> Linux User: #370818 http://markhobley.yi.org/
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...