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

fix CN ASN #43

Merged
merged 5 commits into from
Aug 9, 2024
Merged

fix CN ASN #43

merged 5 commits into from
Aug 9, 2024

Conversation

Atroc-X
Copy link
Contributor

@Atroc-X Atroc-X commented Aug 8, 2024

These ASNs are CN but the peers are overseas. Most of them broadcast V6 alone. I have manually reviewed them.

operator/china.conf Show resolved Hide resolved
@gaoyifan gaoyifan merged commit 08191ce into gaoyifan:master Aug 9, 2024
2 checks passed
@gaoyifan
Copy link
Owner

gaoyifan commented Aug 9, 2024

感谢贡献🎉 次日更新将使用新的规则

另,想了解一下,这些 ASN 是如何收集到的呢?

@Atroc-X
Copy link
Contributor Author

Atroc-X commented Aug 9, 2024

感谢贡献🎉 次日更新将使用新的规则

另,想了解一下,这些 ASN 是如何收集到的呢?

个别网络爱好者会在ripe申请ASN,但地区会修改这为CN。
目前写了个脚本,根据whios去查询地区的AS号为CN,但是注册地为ripe,但是目前脚本有一些bug,已经更新的ASN我都已经人工审查过。

@Atroc-X
Copy link
Contributor Author

Atroc-X commented Aug 9, 2024

目前还是有些个别问题,没有想到办法解决,比如广电等会只在国内进行广播,这导致无法查询到AS号,所以无法查询到路由。比如43.255.72.0 该地址段为南京广电

@gaoyifan
Copy link
Owner

gaoyifan commented Aug 9, 2024

一种可能方式是:抓取 whois 数据, 将国家类别为中国并且没有任何BGP宣告的地址归属到中国分类
比如 APNIC 的数据源

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

Successfully merging this pull request may close these issues.

2 participants