My hunch is this is not the proper way to do this in Slackware. There is no such file, for starters, though creating it was effective in stopping the leak. Can anyone put me straight? I should say my knowledge of networking is lamentably basic ...Put these lines at the end of /etc/sysctl.conf:
Then doCode: Select all
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
If it reports ‘1′ means you have disabled IPV6. If it reports ‘0‘ then doCode: Select all
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
and check again.Code: Select all
sudo sysctl -p
EDIT
Another unsatisfactory aspect is that sysctl needs to be run again on reboot to turn IPV6 off. I could put this in a startup script, but again, I feel sure this isn't how it's meant to be done.