Giter VIP home page Giter VIP logo

Comments (5)

alecthw avatar alecthw commented on May 28, 2024

lite只插入了china_ip_list纯真CN数据库的数据,没有ipv6。
有没有cn6的来源,有的话可以加进去……

from mmdb_china_ip_list.

alecthw avatar alecthw commented on May 28, 2024

我先试试加上ipv6,看看大小增加多少吧。ipv6目前确实需要的人比较少

from mmdb_china_ip_list.

alecthw avatar alecthw commented on May 28, 2024

已补充ipv6数据。。。。。。。

from mmdb_china_ip_list.

testiknn avatar testiknn commented on May 28, 2024

多谢,已测试正常归类**ipv6 IP了

from mmdb_china_ip_list.

testiknn avatar testiknn commented on May 28, 2024

ipv6数据建议直接使用 ftp.apnic.net 的数据源:
https://ftp.apnic.net/stats/apnic/delegated-apnic-latest

生成ipv6:
cat delegated-apnic-latest | awk -F '|' '/CN/&&/ipv6/ {print $4 "/" $5}' | sort > cn_ipv6.txt

同理,可以生成cn ipv4数据:
cat delegated-apnic-latest | awk -F '|' '/CN/&&/ipv4/ {print $4 "/" 32-log($5)/log(2)}' | sort -n > cn_ipv4.txt

测试发现Clang.CN网站使用的数据也是来自ftp.apnic.net,但并没有看到注明出处。
我们直接用上游数据就行了。

from mmdb_china_ip_list.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.