Hi all,

In
https://dev.openwrt.org/changeset/12351/trunk/package/base-files/files/etc/sysctl.confthe
IPv6 forwarding option was commented out.

I'd like to introduce a patch to the base-files Makefile that will run a sed
on the sysctl.conf file to remove the comment if IPv6 routing is required.

Checking the status of CONFIG_PACKAGE_kmod_ipv6 or CONFIG_IPV6 probably
isn't going to be sufficient, as not every device running OpenWrt is a
router, and with IPv6, enabling forwarding can prevent the device from using
autoconfiguration.  IPv4 doesn't have this problem, so enabling forwarding
by default doesn't cause any issues.

Maybe there should be another option such as CONFIG_IPV6_ROUTER.  This would
be used initially to ensure the sysctl.conf file is correct, but could also
be used in the future where other decisions need to be made on the basis of
whether or not the device will be routing IPv6.

Of course this only affects manually compiled images, and anyone using
prebuilt images would still need to make this change manually (possibly via
a LuCI IPv6 config page when I finally get around to writing one!).

I'm interested in your feedback.


Regards,

Andrew (abyrne)
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to