显示客户端IP的详细信息
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Dnomd343 64fbfafbea
update: set cache time to 6 hours
3 years ago
assets update: show version information by double click 'IP' 3 years ago
backend update: set cache time to 6 hours 3 years ago
conf feat: redis support in docker 3 years ago
.gitignore feat: qqwry.dat no longer stored locally 3 years ago
Dockerfile fix: missing things in alpine docker 3 years ago
LICENSE docs: LICENSE 3 years ago
README.md docs: switch to github wiki 3 years ago
error.html update: optimize error page, add aero glass effect 3 years ago
index.html fix: map wrongly locked in mobile, QR code out of range 3 years ago

README.md


echoIP

echoIP

显示客户端IP、查询IP详细信息

license version total-lines

  • 获取IP地址的AS、地址、ISP、网段等详细信息,支持IPv4与IPv6地址。

  • 项目部署在服务器上,客户端向服务器查询自身IP地址,或任意IP地址的详细信息。

  • 兼容CDN封装在http头部的原始IP信息,部署时无需做额外修改,直接启用CDN加速即可。

  • 数据来自多个上游服务整合处理,包括在线API与离线数据库,同时支持命令行与网页端查询方式。

使用方法

命令行模式

# 查询客户端IP
shell> curl ip.343.re

# 查询客户端UA
shell> curl ip.343.re/ua

# 查询客户端IP的详细信息
shell> curl ip.343.re/info

# 查询指定IP地址详细信息
shell> curl ip.343.re/8.8.8.8

echoIP-cli

更多使用方法见命令列表

网页访问模式

你可以直接在 ip.343.reip.dnomd343.top 上进行查询,或者将项目部署到自己的服务器上。

echoIP-web

  • 双击IP字段,可获取当前数据库版本。

  • 点击AS编号,将跳转到该自治系统的详细信息页面。

  • 点击经纬度信息,将打开谷歌地球并显示该点的三维图像。

  • 双击显示框空白处,将会弹出一个二维码,扫描可以直达当前页面。

部署教程

如果想在自己域名下建立echoIP服务,可按如下方式部署

容器部署方式(推荐)

常规部署方式

CDN注意事项

Proxy Protocol支持

开发资料

容器构建

开发接口

上游服务

许可证

MIT ©2021 @dnomd343 @ShevonKuan