what is the F19 way to disable ipv6?
Reindl Harald
h.reindl at thelounge.net
Mon Jul 15 14:55:24 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130715/75c73dc2/attachment-0001.sig>
More information about the devel
mailing list