attempting a complete purge of IPV6...

Kernels & Hardware, configuring network, installing services

attempting a complete purge of IPV6...

Postby litspliff » 2018-03-27 15:09

in /etc/default/grub, i have added: GRUB_CMDLINE_LINUX="IPV6_DISABLE=1"
in /etc/sysctl.conf, i have added:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

after reboot, i still get this from ps aux | grep v6:
root 50 0.0 0.0 0 0 ? S< 07:41 0:00 [ipv6_addrconf]

what gives? i would think telling the kernel not to use IPV6 would have prevented this thread from running.
what's going on here?

i don't trust ipv6 for many reasons, and this makes me more suspicious of it.
what is the next step? attempts to kill the process fail with no error returned.
thanks in advance for any help!
User avatar
litspliff
 
Posts: 28
Joined: 2011-11-12 20:48

Re: attempting a complete purge of IPV6...

Postby p.H » 2018-03-27 15:20

litspliff wrote:in /etc/default/grub, i have added: GRUB_CMDLINE_LINUX="IPV6_DISABLE=1"

IIRC, the correct parameter is "ipv6.ipv6_disable=1".
You need to run update-grub to rebuild grub.cfg with the changes.
Note that it won't disable the IPv6 kernel subsystem but only use of IPv6 on all interfaces.
In order to disable totally IPv6, the parameter is "ipv6.disable=1". But it may have issues with some applications which expect IPv6 functions to be available.

litspliff wrote:attempts to kill the process fail

It is a kernel thread, I don't think it can be killed.
Last edited by p.H on 2018-03-27 15:26, edited 1 time in total.
p.H
 
Posts: 519
Joined: 2017-09-17 07:12

Re: attempting a complete purge of IPV6...

Postby litspliff » 2018-03-27 15:25

sorry dude, but you're totally confused. see here, near the end:
https://wiki.debian.org/DebianIPv6

i humbly restate:

what gives (see my original post)
User avatar
litspliff
 
Posts: 28
Joined: 2011-11-12 20:48

Re: attempting a complete purge of IPV6...

Postby litspliff » 2018-03-27 15:29

actual text from link above:


How to turn off IPv6

1. Append IPV6_DISABLE=1 to the GRUB_CMDLINE_LINUX variable in /etc/default/grub.
2. Run update-grub and reboot.

or better,

edit /etc/sysctl.conf and add those parameters to kernel. Also be sure to add extra lines for other network interfaces you want to disable IPv6.

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

After editing sysctl.conf, you should run sysctl -p to activate changes or reboot system.


note: i did run update-grub before reboot, and all other indication are that it worked
note: i want to disable the subsystem in the kernel as well.
Last edited by litspliff on 2018-03-27 15:34, edited 1 time in total.
User avatar
litspliff
 
Posts: 28
Joined: 2011-11-12 20:48

Re: attempting a complete purge of IPV6...

Postby p.H » 2018-03-27 15:34

Then add ipv6.disable=1 to the kernel command line.
p.H
 
Posts: 519
Joined: 2017-09-17 07:12

Re: attempting a complete purge of IPV6...

Postby litspliff » 2018-03-27 15:35

okay, thanks, i'll add that as well and see what happens.
User avatar
litspliff
 
Posts: 28
Joined: 2011-11-12 20:48

Re: attempting a complete purge of IPV6...

Postby litspliff » 2018-03-27 15:42

f yeah dude, that did it.
who do we talk to about getting the text ammended @ that link?
User avatar
litspliff
 
Posts: 28
Joined: 2011-11-12 20:48

Re: attempting a complete purge of IPV6...

Postby p.H » 2018-03-29 14:13

It is amazing that an advice from someone who is totally confused actually worked.

I don't know who to contact. But I can see that the mistake was introduced by the latest revision. Prior revisions contained "ipv6.disable=1".
p.H
 
Posts: 519
Joined: 2017-09-17 07:12

Re: attempting a complete purge of IPV6...

Postby bw123 » 2018-03-29 14:43

p.H wrote:It is amazing that an advice from someone who is totally confused actually worked.

I don't know who to contact. But I can see that the mistake was introduced by the latest revision. Prior revisions contained "ipv6.disable=1".


There are some people in #debian and #debian-www on irc that do some edits, so letting someone there know would probably be pretyy quick. Also the wiki has an email for the editor (please not an email from everybody!) and also the wiki has a mailing list. Any of them would probably be an okay way to get it fixed.
https://wiki.debian.org/Teams/DebianWik ... h_the_team
User avatar
bw123
 
Posts: 3267
Joined: 2011-05-09 06:02
Location: TN_USA

Re: attempting a complete purge of IPV6...

Postby debiman » 2018-03-29 14:57

litspliff wrote:sorry dude, but you're totally confused. see here, near the end:
https://wiki.debian.org/DebianIPv6

i humbly restate:

what gives (see my original post)

last update: november 2016
also "DebianIPV6" seems to be some strange "project"???
Full IPv6 support was a Release Goal for Squeeze.


not saying you're wrong, but maybe you should get a second opinion on that.
debian wiki can be wrong/outdated sometimes.

fwiw, i've never seen kernel parameters in ALL_CAPS.
User avatar
debiman
 
Posts: 2795
Joined: 2013-03-12 07:18


Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable