net.ipv*.conf.all.* sysctls
From: Mathieu Trudel-Lapierre <hidden>
Date: 2011-12-02 18:32:27
Hi, Rehashing something that's I've found quite a few times in a quick search in the archives, but still a little unclear to me. As previously discussed here and as I could test on my system (Ubuntu 3.2.0-2.5-generic 3.2.0-rc3), seems like the net.ipv6.conf.all sysctls aren't actually being propagated to all devices. Is this indeed an issue and something that needs to be fixed, or are these settings really expected to be used as "global" parameters? I've done a simple test: after applying net.ipv6.conf.all.use_tempaddr=2 and net.ipv6.conf.default.use_tempaddr=2 to sysctl.conf and rebooting, I still see the value for net.ipv6.conf.eth0.use_tempaddr as 0, while other devices (wlan0) are properly set to 2. This is most likely caused by eth0 being initialized prior to the sysctl.conf file being read and applied. Connecting to a wired network still shows the interface eth0 as not using temporary addresses, which should be happening if "all" is really meant as a global value to override what might be set per-interface. Besides fixing up sysctls to be applied early enough to affect eth0 as well on my system; isn't there something else that needs to be done to clarify and fix the /all/ settings? I believe either the documentation and actual functionality needs to be fixed to be a global value and override per-interface values, or the functionality needs to be corrected to propagate values to the underlying interfaces. Am I missing something here? I'm totally new to kernel development, but would be happy to provide simple patches once the expected behaviour is clarified. Regards, Mathieu Trudel-Lapierre [off-list ref] Freenode: cyphermox, Jabber: mathieu.tl@gmail.com 4096R/EE018C93 1967 8F7D 03A1 8F38 732E FF82 C126 33E1 EE01 8C93