Linux Kernel Mailing List: Deprecate Legacy IP
Linux Kernel Mailing List: Deprecate Legacy IP - tchncs
A kernel patch series titled “Deprecate Legacy IP” was submitted by David Woodhouse: >RFC1883, the IPv6 standard, was published in the final decade of the 1900s. That’s closer in time to the Apollo 11 moon landing than it was to today. > > Even our esteemed Maddog has worked with computers for longer in the IPv6 era, than he ever did before it. > > Yet Linux still can’t even be built with only IPv6 support and without support for Legacy IP. This long overdue patch series fixes that, and immediately marks Legacy IP for deprecation. > > It also cleans up a few tautological “INET && IPV6” and “INET || IPV6” checks, since IPV6 (and now LEGACY_IP) cannot be selected without the overall CONFIG_INET option. > > For now, we only add a warning when a process listens on a Legacy IP socket (since you can listen on IPv6 and still accept connections which have come through a timewarp from the 20th century. Adding warnings for making outbound connections or accepting on Legacy IP can come later. > > > I would be happy if “Legacy IP” ceased to be the “industry standard” > > and IPv6 be the default, even if I had to beat IPv6 into the head of > > every single network administrator’s head with a shovel.’ said Jon > > ‘maddog’ Hall, ancient supporter of Free and Open Source Software. Also see this follow-up post [https://lore.kernel.org/lkml/[email protected]/]: > Yeah. The date notwithstanding, I do actually think we should do most of this for real. > > Maybe we don’t get away with the actual deprecation and the warnings on use just yet, and maybe we won’t even get away with calling the config option CONFIG_LEGACY_IP, although I would genuinely like to see us moving consistently towards saying “Legacy IP” instead of “IPv4” everywhere. > > But we should clean up the separation of CONFIG_INET and CONFIG_IPV[64] and make it possible to build with either protocol alone.
