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

Re: net.ipv6.conf.all.accept_ra=0 net.ipv6.conf.default.accept_ra=0 not working?!



On 2026-01-11 09:17, Jeffrey Walton wrote:
root@reinder:~#

This is, to me, unexpected, even unwanted behavior?
I would expect disabling default and all to work and prevent ipv6
routing and perhaps need of firewalling?!

Is the package linux-sysctl-defaults installed?  See
<https://www.debian.org/releases/trixie/release-notes/issues.html#etc-sysctl-conf-is-no-longer-honored>.

Yes linux-sysctl-defaults is installed, but i'm using the new /etc/sysctl.d/ scheme. Also tried forcing default/all on the cmdline at boot. No networkmanager, surely dhcpcd (but it doesnt seem to be a dhcpcd issue to me), something else is switching the accept_ra on during boot perhaps (see previous mail with sysctl output), or the kernel is doing something silly? Or obviously I am....

root@reinder:~# dpkg-query -l|grep linux-sysctl-defaults
ii linux-sysctl-defaults 4.12 all default sysctl configuration for Linux
root@reinder:~# dpkg-query -l|grep -i dhcp
ii dhcpcd-base 1:10.1.0-11+deb13u1 amd64 DHCPv4 and DHCPv6 dual-stack client (binaries and exit hooks)
root@reinder:~# dpkg-query -l|grep -i networkmanager
root@reinder:~#

Also, which version of Debian?

root@reinder:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.2
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";
root@reinder:~#

Jeff


Reply to: