mirror of
https://github.com/metowolf/iplist.git
synced 2025-12-20 08:44:56 +08:00
86 lines
3.6 KiB
Markdown
86 lines
3.6 KiB
Markdown
<p align="center">
|
||
<a href="https://github.com/metowolf/iplist">
|
||
<img src="https://user-images.githubusercontent.com/2666735/50806883-84930c00-1333-11e9-869e-3c2f2664f154.png" />
|
||
</a>
|
||
</p>
|
||
|
||
<h1 align="center">IP 地址库</h1>
|
||
|
||
<p align="center">数据基于纯真数据库分类,更新日期 20190910.</p>
|
||
|
||
<p align=center>
|
||
<a href="https://i-meto.com/">Author Website</a> ·
|
||
<a href="https://github.com/metowolf/iplist">Project Source</a> ·
|
||
<a href="https://twitter.com/metowolf">Twitter</a>
|
||
</p>
|
||
|
||
***
|
||
|
||
## 分类
|
||
|
||
### 国家 IP 段
|
||
|
||
采用 [ISO_3166-1](https://zh.wikipedia.org/wiki/ISO_3166-1%E4%BA%8C%E4%BD%8D%E5%AD%97%E6%AF%8D%E4%BB%A3%E7%A0%81) 进行分类
|
||
|
||
|Country|CIDR|
|
||
|---|---|
|
||
|中国 (CN)|https://raw.githubusercontent.com/metowolf/iplist/master/data/country/CN.txt|
|
||
|中国香港|https://raw.githubusercontent.com/metowolf/iplist/master/data/country/HK.txt|
|
||
|美国|https://raw.githubusercontent.com/metowolf/iplist/master/data/country/US.txt|
|
||
|日本|https://raw.githubusercontent.com/metowolf/iplist/master/data/country/JP.txt|
|
||
||[ > 查看更多](https://github.com/metowolf/iplist/tree/master/docs/country.md)|
|
||
|
||
### 大陆 IP 段
|
||
|
||
相比较国家 IP 段,数据经过精简合并
|
||
|
||
|Country|CIDR|
|
||
|---|---|
|
||
|中国 (CN)|https://raw.githubusercontent.com/metowolf/iplist/master/data/special/china.txt|
|
||
|
||
### 省级 IP 段
|
||
|
||
采用 [行政区划代码](http://www.mca.gov.cn/article/sj/xzqh/2019/201901-06/201906211048.html) 进行分类,如广东省为 440000
|
||
|
||
|City|CIDR|
|
||
|---|---|
|
||
|北京市|https://raw.githubusercontent.com/metowolf/iplist/master/data/cncity/110000.txt|
|
||
|浙江省|https://raw.githubusercontent.com/metowolf/iplist/master/data/cncity/330000.txt|
|
||
|广东省|https://raw.githubusercontent.com/metowolf/iplist/master/data/cncity/440000.txt|
|
||
||[ > 查看更多](https://github.com/metowolf/iplist/tree/master/docs/cncity.md)|
|
||
|
||
### 市级 IP 段
|
||
|
||
采用 [行政区划代码](http://www.mca.gov.cn/article/sj/xzqh/2019/201901-06/20190203221738.html) 进行分类,如广东省为 440000,广州市为 440100
|
||
|
||
|City|CIDR|
|
||
|---|---|
|
||
|广东省广州市|https://raw.githubusercontent.com/metowolf/iplist/master/data/cncity/440100.txt|
|
||
|广东省深圳市|https://raw.githubusercontent.com/metowolf/iplist/master/data/cncity/440300.txt|
|
||
|广东省佛山市|https://raw.githubusercontent.com/metowolf/iplist/master/data/cncity/440600.txt|
|
||
||[ > 查看更多](https://github.com/metowolf/iplist/tree/master/docs/cncity.md)|
|
||
|
||
|
||
## 数据来源
|
||
|
||
|采信源|文件|版本|条目|
|
||
|---|---|---|---|
|
||
|纯真数据库|qqwry.ipdb|20190910|916481|
|
||
|纯真数据库|qqwry.raw.ipdb|20190910|1080019|
|
||
|
||
|
||
## 致谢
|
||
|
||
- 感谢 [淘宝IP](http://ip.taobao.com/) 提供免费 IP 接口
|
||
- 感谢 [纯真](http://cz88.net/) 提供离线数据库参考
|
||
- 感谢 [MaxMind](https://dev.maxmind.com/geoip/geoip2/geolite2/) 提供的 GeoLite2 数据库参考
|
||
- 感谢 [maxmind](https://www.npmjs.com/package/maxmind) 项目提供 mmdb 数据库格式的读取工具
|
||
- 感谢网友们提供 IPIP.net 数据格式的逆向分析
|
||
- 感谢 [IP2](https://github.com/metowolf/IP2) 项目提供 datx 数据库格式的读取工具,**项目已删除**
|
||
- 感谢 [ipdb](https://github.com/metowolf/ipdb) 项目提供 ipdb 数据库格式的读取工具,**项目已删除**
|
||
- 感谢 [ipdb-range](https://github.com/metowolf/ipdb-range) 项目提供 ipdb 数据库格式的分段工具,**项目已删除**
|
||
|
||
## 说明
|
||
|
||
根据 IPIP.net 用户协议规定,[IP2](https://github.com/metowolf/IP2)、[ipdb](https://github.com/metowolf/ipdb)、[ipdb-range](https://github.com/metowolf/ipdb-range) 代码中涉及对 IP CIDR 数据的解析,因此不作开源处理。
|