
好多 IP 库提供了详细的省市运营商信息
但是我只需要知道 IP 是国内或者国外
谢谢
1 trepwq 2016-08-01 18:18:38 +08:00 |
2 skyleft 2016-08-01 18:23:05 +08:00 GeoIP.dat |
3 xupefei 2016-08-01 18:34:54 +08:00 把 1L 那个做成多级哈希表,包你在 s 尺度上拿到结果。 |
4 jasontse 2016-08-01 18:38:39 +08:00 via iPad 国外 IP 会有 3 个以上骨干路由跳数 |
5 dzxx36gyy 2016-08-01 19:30:33 +08:00 |
6 yexm0 2016-08-01 19:34:56 +08:00 via Android @trepwq 嗯,把香港沙田 cn2 ip 划过去中国。另外香港 sl 的也给写成新加坡的。这种 ip 库都能叫准。我也是服。 |
8 hahasong 2016-08-01 20:09:23 +08:00 ``` curl 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | grep ipv4 | grep CN | awk -F\| '{ printf("%s/%d\n", $4, 32-log($5)/log(2)) }' > /etc/chinadns_chnroute.txt ``` |
12 gcsuprs OP |
13 akw2312 2016-08-02 02:42:59 +08:00 via Android 老高那份正率高了太多了 :doge 年多的 ip 在用 whois 辨地 就是其他人用 ipip 那的做法去做... |
14 mattx 2019-02-24 14:31:53 +08:00 |