全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: phpsky

花了一晚上搭建的IP查询站

  [复制链接]
发表于 2021-9-30 06:49:42 | 显示全部楼层
技术贴,支持一下
发表于 2021-9-30 07:12:32 | 显示全部楼层
phpsky 发表于 2021-9-30 05:01
https://github.com/mpolden/echoip

为了适配CF,我改了不少地方
  1. set_real_ip_from 103.21.244.0/22; set_real_ip_from 103.22.200.0/22; set_real_ip_from 103.31.4.0/22; set_real_ip_from 104.16.0.0/12; set_real_ip_from 108.162.192.0/18; set_real_ip_from 131.0.72.0/22; set_real_ip_from 141.101.64.0/18; set_real_ip_from 162.158.0.0/15; set_real_ip_from 172.64.0.0/13; set_real_ip_from 173.245.48.0/20; set_real_ip_from 188.114.96.0/20; set_real_ip_from 190.93.240.0/20; set_real_ip_from 197.234.240.0/22; set_real_ip_from 198.41.128.0/17; set_real_ip_from 2400:cb00::/32; set_real_ip_from 2606:4700::/32; set_real_ip_from 2803:f800::/32; set_real_ip_from 2405:b500::/32; set_real_ip_from 2405:8100::/32; set_real_ip_from 2c0f:f248::/32; set_real_ip_from 2a06:98c0::/29;
  2. real_ip_header CF-Connecting-IP; #real_ip_header X-Forwarded-For;
复制代码



发表于 2021-9-30 07:37:11 来自手机 | 显示全部楼层
技术大拿啊,一晚上就搞定了
发表于 2021-9-30 08:10:15 | 显示全部楼层
ip.nan.ge 跟你差不多
发表于 2021-9-30 08:10:17 | 显示全部楼层
登录了下,发现我的IP 根本不准确啊. 差了200多公里. 也就是说连基本的位置都说错了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-19 02:21 , Processed in 0.070690 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表