GithubHelp home page GithubHelp logo

dnomd343 / echoip Goto Github PK

View Code? Open in Web Editor NEW
82.0 1.0 14.0 34.08 MB

显示客户端IP的详细信息

Home Page: https://ip.343.re

License: MIT License

PHP 48.11% HTML 6.40% Shell 1.15% JavaScript 14.38% Dockerfile 0.53% CSS 29.42%
docker ip website http-proxy

echoip's Introduction


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

echoip's People

Contributors

dnomd343 avatar shevonkuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

echoip's Issues

经过CDN加速的域名无法获取正确客户端IP

ip.dnomd343.top 经过阿里云CDN加速,客户端在IPv6下访问网页时出现Illegal IP的错误。

命令行访问如下

shell> curl ip.dnomd343.top
2001:250:3000:4b31:8ace:52ee:f367:52c5, 47.102.180.153

shell> curl ip.343.re/2001:250:3000:4b31:8ace:52ee:f367:52c5
IP: 2001:250:3000:4b31:8ace:52ee:f367:52c5
AS: AS23910
City: Guangzhou
Region: Guangdong
Country: CN - China(**)
Timezone: Asia/Shanghai
Location: 23.1167,113.2500
ISP: China Next Generation Internet CERNET2
Scope: 2001:250:3000:4b31:8ace:52ee:f367:52c5
Detail: AS23910 China Next Generation Internet CERNET2

shell> curl ip.343.re/47.102.180.153
IP: 47.102.180.153
AS: AS37963
City: 上海
Region: 上海
Country: CN - China(**)
Timezone: Asia/Shanghai
Location: 31.22,121.48
ISP: Hangzhou Alibaba Advertising Co.,Ltd.
Scope: 47.100.0.0/14
Detail: 上海市阿里云

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.