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

Placeholder IPIP database with test data #8

Open
iBug opened this issue Apr 3, 2023 · 0 comments
Open

Placeholder IPIP database with test data #8

iBug opened this issue Apr 3, 2023 · 0 comments

Comments

@iBug
Copy link
Collaborator

iBug commented Apr 3, 2023

Prepare a test version of IPIP database with minimal data so that unit tests can be implemented, and that other contributors can work with our code.

Requirements for the test DB file:

  • Contain 3 fields: country_name, region_name and line (ISP)
  • Contain 1 IPv4 CIDR range matching each of the following criteria:
    • 中国 北京 教育网 (Use Tsinghua University)
    • 中国 安徽 教育网 (Use University of Science and Technology of China)
    • 中国 上海 电信 (Example: 202.96.209.5 - ChinaNet public DNS server in Shanghai)
    • 中国 陕西 教育网 (Use Xi'an Jiaotong University)
    • 中国 广东 教育网 (Use South China University of Technology)
    • 中国 广东 电信 (Example: 202.96.128.86 - ChinaNet public DNS server in Guangzhou)

This Node.js project is a good reference for creating the IPDB file and populating it with specified data.

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