From 5ac811bbae510f88b0a9e893dc51fafa08579d6c Mon Sep 17 00:00:00 2001 From: sjlleo Date: Sun, 22 May 2022 20:18:28 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=AE=8C=E5=96=84ReadMe=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/README.md b/README.md index 6934bd2..ffd02a9 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,42 @@ ## How To Use +### Get Started + +`NextTrace`默认使用`icmp`协议发起`TraceRoute`请求,该协议同时支持`IPv4`和`IPv6` + +```bash +# IPv4 ICMP Trace +./nexttrace 1.0.0.1 + +# IPv6 ICMP Trace +./nexttrace 2606:4700:4700::1111 +``` + +`NextTrace`也可以使用`TCP`和`UDP`协议发起`Traceroute`请求,不过目前只支持`IPv4` +```bash +# TCP SYN Trace +./nexttrace -T www.bing.com + +# 可以自行指定端口[此处为443],默认80端口 +./nexttrace -T -p 443 1.0.0.1 + +# UDP Trace +./nexttrace -U 1.0.0.1 + +./nexttrace -U -p 53 1.0.0.1 +``` + +### IP数据库 + +目前使用的IP数据库默认为我们自己搭建的API服务,如果后期遇到滥用,我们可能会选择关闭。 + +我们也会在后期开放服务端源代码,您也可以根据该项目的源码自行搭建属于您的API服务器。 + +NextTrace所有的的IP地理位置`API DEMO`可以参考[这里](https://github.com/xgadget-lab/nexttrace/blob/main/ipgeo/) + +### 全部用法详见Usage菜单 + ```shell Usage of nexttrace: -T Use TCP SYN for tracerouting (default port is 80) @@ -31,6 +67,7 @@ Usage of nexttrace: -report Route Path ``` +## 项目截图 ![](asset/screenshot.png)