Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Erik Schorr <erik-lists@arpa.org>
To: netfilter@vger.kernel.org
Cc: Jan Engelhardt <jengelh@medozas.de>
Subject: Re: ipv6 link local address
Date: Tue, 07 Jun 2011 02:24:59 -0700	[thread overview]
Message-ID: <4DEDEE6B.9000303@arpa.org> (raw)
In-Reply-To: <alpine.LNX.2.01.1106071102460.25037@frira.zrqbmnf.qr>

On 06/07/2011 02:04 AM, Jan Engelhardt wrote:
>
> On Tuesday 2011-06-07 09:06, Erik Schorr wrote:
>>
>>> You can turn off ipv6 on interfaces. This should not prevent bridging
>>> ipv6, but will remove any ipv6 logic from them.
>>
>> I wish I'd known this.  Could you give an example of how to remove ipv6
>> functionality from an interface?  I think this was the only thing preventing me
>> from unloading an accidentally-loaded ipv6.ko module.
>
> There are no accidents. It's your userspace which triggers it loading.
> And what is it actually that you are trying to fix? It smells more
> like you have a bug in your environment.

On most Linux distributions and default installations, the ipv6 module 
gets automatically loaded either on startup or when certain utilities 
try to probe ipv6 entities or test for ipv6 connectivity, even when you 
haven't configured any ipv6 interfaces.  It's nice to be able to unload 
the module to free up memory and make netstat and other programs' output 
prettier.  Prettier in the way that you don't have extraneous output 
that's meaningless when there are no ipv6 addresses configured.

It's impossible to unload the ipv6 module when there's even one 
interface with ipv6 functionality enabled, even when the interface is 
administratively disabled/shutdown.

-- 
Erik Schorr KD6AUT
Advocate and Consultant
VMware/Iptables/Exim/Perl

  reply	other threads:[~2011-06-07  9:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-06 19:35 [2:656]? bmcdowell
2011-06-06 19:57 ` [2:656]? John Lister
2011-06-06 19:59   ` [2:656]? bmcdowell
2011-06-07  9:02     ` [2:656]? Jan Engelhardt
2011-06-07 12:41       ` [2:656]? bmcdowell
2011-06-07  6:44 ` ipv6 link local address Nikolay S.
2011-06-07  7:06   ` Erik Schorr
2011-06-07  7:12     ` Nikolay S.
2011-06-07  9:04     ` Jan Engelhardt
2011-06-07  9:24       ` Erik Schorr [this message]
2011-06-07  9:24         ` Jan Engelhardt
2011-06-07  9:35           ` AW: " Fiedler Roman
2011-06-07 12:44   ` bmcdowell
2011-06-07 14:23     ` Nikolay S.
2011-06-07 14:26       ` bmcdowell
2011-06-07 14:32         ` Nikolay S.
2011-06-07 16:50       ` Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DEDEE6B.9000303@arpa.org \
    --to=erik-lists@arpa.org \
    --cc=jengelh@medozas.de \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox