- 用本项目的
msg1.py
生成一个握手包(需要补全msg1.py
文件中的private_key
字段)。 - 把要探测的服务器IP地址和端口号,写到
ip.txt
中。 - 编译和运行
go build -o main
# 每个地址发四个包,每个包的响应超时时间为400毫秒。选择没丢包的地址,按照延迟从低到高排序。
./main -c 4 -w 400 | grep 100% | sort -h -k 3
多运行几次效果更佳。
IPv4 Range: 162.159.193.0/24
IPv6 Range: 2606:4700:100::/48
2408, 500, 1701, 4500