Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

RFC6598 addresses not recognized as private

未关闭 适合新手
#68 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
ruby
领域
networking

调研方向

从 Ruby 的 ipaddr 实现中的 private? 函数开始,检查现有的私有地址处理测试。根据项目所选择的 private 定义,检查 RFC6598 的 100.64.0.0/10 范围,然后验证测试套件是否展示了预期结果。

由索引模型根据 Issue 内容生成。

描述

The private? function doesn't recognize the RFC6598 "shared address space", which is basically a new(ish) version of the well known 192.168/16, 172.16/12, and 10./8 spaces. The new space is 100.64.0.0/10.

A complete list of reserved address spaces can be found in the special-purpose address registries at https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml and https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml

I believe that in those two tables, any address marked with "True" in the Source and Destination columns, and "False" in the "Globally Reachable" column, should be considered private. However I'll leave that decision to others.

主要语言
Ruby
星标
82
派生
42
平均合并
2 小时 24 分钟
30 天内合并 PR
3

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ruby/ipaddr 的其他 Issue

查看 ruby/ipaddr 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。