文章摘要
Linux内核新补丁支持仅构建IPv6版本,并提供了将IPv4标记为"传统"选项的功能,推动向IPv6过渡。
文章总结
Linux内核新增IPv6专属构建选项 或将逐步淘汰"传统"IPv4协议
长期从事Linux开发的David Woodhouse近日提交了一组重要内核补丁,旨在推动"传统IP协议"(即IPv4)的逐步淘汰。尽管部分内容带有愚人节调侃色彩,但开发者承认这些补丁具有实际价值。该系列补丁的核心功能包括:
- 引入CONFIGLEGACYIP编译选项,允许在构建内核时关闭IPv4支持
- 当前版本会在进程监听传统IP套接字时发出警告
- 通过6个补丁实现IPv4/IPv6协议的模块化分离
这位亚马逊AWS工程师在后续说明中强调:"虽然选择在4月1日提交,但大部分功能应该被认真对待。我们确实需要清理CONFIGINET和CONFIGIPV[64]的配置关系,实现单一协议构建能力。"
技术亮点: - 首次实现纯IPv6内核构建支持 - 为未来网络环境提供协议选择灵活性 - 目前仍保留完整的IPv4兼容性
开发者建议在文档和配置中将"IPv4"统一改称为"Legacy IP",以推动技术演进。这些改动特别适用于前瞻性网络环境,标志着Linux向新一代互联网协议迈出重要一步。
(注:原文中大量广告、导航栏、相关新闻推荐等非核心内容已按编辑要求删除,保留技术细节和核心开发动态。)
评论总结
以下是评论内容的总结:
支持IPv6的观点: 1. 认为IPv6是互联网的未来,应推动其发展: - "IPv6 is the only shot we have to go back to that."(评论1) - "Good stuff (both the joke and the genuine proposal of splitting the config options for IPv4 and IPv6)."(评论6)
- 希望有更纯粹的IPv6环境支持:
- "I would like this option, to make it easier to run a CI environment truly IPv6-only."(评论11)
对IPv6过渡的担忧: 1. 认为过渡过程会导致软件兼容性问题: - "most software will break and will remain broken indefinitely"(评论2) - "IPv6 vs. 4 is like Python 3 vs. 2, just worse."(评论7)
- 指出当前IPv6实际应用中的诸多问题:
- "Github is still a nightmare to use DNS64 and NAT64 to access those from IPv6 only machines."(评论3)
- "Docker still shits the bed if you dont give it ipv4 unless you do a lot of manual overrides"(评论3)
反对强制迁移的观点: 1. 认为应保留IPv4支持,不应强制迁移: - "Want to use IPv6? Fine. But don't try to remove v4 support from people who have built stable networks around it."(评论10) - "There is a lot of old equipment in the world."(评论10)
调侃/讽刺的观点: 1. 对IPv6推广速度的讽刺: - "We're so close guys! Another 25 years and we might almost be there!"(评论4) - "When I was in grade school I did a presentation on ipv6...That was like 20 years ago."(评论9)
- 对IPv6实用性的批评:
- "No way in heck am I trying in an ip6!"(评论12)
- "The best pranks are the ones that succeed to rattle an individual."(评论8)