Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持 DN42 IP 信息 #167

Open
wen-long opened this issue Jun 12, 2023 · 0 comments
Open

支持 DN42 IP 信息 #167

wen-long opened this issue Jun 12, 2023 · 0 comments

Comments

@wen-long
Copy link

DN42 是一个虚拟网络,有固定的 IP 段,DN42 git 仓库提供了网络中所有的 IP 分配信息。
DN42 的用户同样可以使用 ping, mtr 等工具了解网络信息,希望 nali 能够支持检索 DN42 的 IP 信息。

https://zh.wikipedia.org/zh-hans/%E5%8E%BB%E4%B8%AD%E5%BF%83%E5%8C%96%E7%B6%B2%E7%B5%A142

https://git.dn42.dev/dn42/registry/src/branch/master/data

inetnum,inet6num 包含了所有 cidr,希望输出 netname 和 country

其他项目也有支持 DN42,但似乎依赖手工进行数据源整理 nxtrace/NTrace-core@ba133e3

关于数据源,暂时想到有两个方案
一个是依赖本地 DN42 的 registry repo,问题是文件数量比较多,还可能要手动 pull
二是单独一个项目定期将 DN42 的 repo 信息合并成 geoip 格式,如果已经有人做了就太好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant