Geoip MaxMind Database for china ip list! This is also an example of generating MaxMind Database! - mmdb_china_ip_list/main.go at master · dreamoeu/mmdb_china_ip_list
# 下载本项目 git clone https://github.com/alecthw/mmdb_china_ip_list.git cd mmdb_china_ip_list # 下载GeoLite2-Country-CSV curl -LR -o GeoLite2-Country-CSV.zip "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=JvbzLLx7qBZT&suffix=zip"...
ipip2mmdb:将ipip china_ip列表合并为MaxMind mmdb格式 To**xx上传Go 简介 本项目将ipip中国地址转换为MaxMind mmdb的格式。由于MaxMind会把部分污染的IP错误归类为中国地址,导致不定时出现无法代理的情况。而IPIP提供的分类更为准确。因此这是一个临时解决方案,用于将ipip的china_ip_list转成MaxMind数据库...
Geoip MaxMind Database for china ip list! Contribute to eggydutch/mmdb_china_ip_list development by creating an account on GitHub.
Geoip MaxMind Database for china ip list! This is also an example of generating MaxMind Database! - mmdb_china_ip_list/go.sum at master · dreamoeu/mmdb_china_ip_list
Breadcrumbs mmdb_china_ip_list / test.goTop File metadata and controls Code Blame 117 lines (95 loc) · 2.06 KB Raw package main import ( "fmt" "github.com/oschwald/geoip2-golang" "log" "net" "path/filepath" "sync/atomic" ) var ( db1 *geoip2.Reader db2 *geoip2.Reader )...
mmdb_china_ip_list README|English Document 将china_ip_list、纯真CN、Clang.CN、ali AS37963和ios_rule_script cloudcn发布的中国IP列表叠加到MaxMind官方社区版数据库中。 同时,这也是一个如何生成MaxMind数据库的示例。 适合在网络分流工具中使用,对中国IP的匹配分流更为友好,兼容MaxMind DB的客户端!
chinaIpList[]string chunzhenIpList[]string clangIpV4List[]string clangIpV6List[]string aliAS37963IpV4List[]string aliAS37963IpV6List[]string countryChina=mmdbtype.Map{ "iso_code":mmdbtype.String("CN"), "geoname_id":mmdbtype.Uint32(1814991), ...
$ curl localhost?ip=114.114.114.114\&node=city full :{"country":{"geoname_id":1814991,"names":{"en":"China","ru":"Китай","fr":"Chine","pt-BR":"China","zh-CN":"中国","es":"China","de":"China","ja":"中国"},"iso_code":"CN"},"registered_country":{"geoname_id...
china_ipv6_list.txt cn_mini.mmdb geoip_cn.db geosite.dat geosite_cn.db srs_geoip_cn.srs srs_geosite_cn.srs hfs meta singbox singboxp ShellCrash.tar.gz clashfm.tar.gz public.tar.gz release_version version public rules scripts tools README.md README_CN.md install.shBreadcr...