Re: what is the F19 way to disable ipv6?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 15.07.2013 16:44, schrieb Michal Schmidt:
> On 07/13/2013 01:44 AM, Reindl Harald wrote:
>> please take a look at this
>> https://bugzilla.redhat.com/show_bug.cgi?id=982740#c12
>>
>> what do we do in the future to disable ipv6 entirely
>> and why is "ipv6.disable=1" as kernel param at least
>> with 3.10.0-1.fc20.x86_64 on F19?
> 
> Back in 2011 the preferred kernel parameter to do that was "ipv6.disable_ipv6=1":
> https://lists.fedoraproject.org/pipermail/kernel/2011-June/003106.html
> I assume it's still true today.
> 
> "ipv6.disable=1" should still work though. I still see it handled net/ipv6/af_inet6.c.
> 
> In the linked Bugzilla comment you mentioned "ipv6disable=1" (without a dot). Did this ever work? I think it's a typo

thanks for your feedback, yes this was a typo

however, i removed it over the weekend and disabled ipv6 with sysctl
software like ntpd, smbd still insists in listening on ipv6 sockets
and the maintainers of the packages says this inconsistent behavior
is fine
_______________________________________________________

udp        0      0 *:ntp                   *:*
udp6       0      0 [::]:ntp                [::]:*

tcp6       0      0 :::139                  :::*    LISTEN      3079/smbd
tcp6       0      0 :::445                  :::*    LISTEN      3079/smbd
_______________________________________________________

/etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.all.accept_redirects=0
net.ipv6.conf.all.accept_source_route=0
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.default.accept_redirects=0
net.ipv6.conf.default.accept_source_route=0

_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux