MyGit

v2fly/vmessping

Fork: 39 Star: 245 (更新于 2024-11-12 11:06:12)

license: MIT

Language: Go .

a ping prober for vmess:// links in V2rayN/NG/Shadowrocket format.

最后发布版本: v0.3.4 ( 2020-05-31 18:20:25)

GitHub网址

VMessPing

Build Status

A ping prober for vmess:// links in common seen formats.

vmessping supports the following fomats:

  • V2rayN (V2rayNG)
  • Shadowrocket
  • Quantumult (X)

Download

Binaries are built automaticly by GitHub Action.

Download in Release .

Usage

$ vmessping
vmessping vmess:// ...
Usage of vmessping:
  -allow-insecure
    	allow insecure TLS connections
  -c uint
    	Count. Stop after sending COUNT requests (default 9999)
  -dest string
    	the test destination url, need 204 for success return (default "http://www.google.com/gen_204")
  -i uint
    	inteval seconds between pings (default 1)
  -m	use mux outbound
  -n	show node location/outbound ip
  -o uint
    	timeout seconds for each request (default 10)
  -q uint
    	fast quit on error counts
  -v	verbose (debug log)

Example

$ vmessping 'vmess://ew0KI ...'
VMessPing ver[0.0.0-src], A prober for v2ray (v2ray-core: 4.23.1)

Type: ws
Addr: v2-server.address
Port: 443
UUID: 00000000-0000-0000-0000-000000000000
Type: 
TLS: tls
PS: @describe

Ping http://www.google.com/gen_204: seq=1 time=197 ms
Ping http://www.google.com/gen_204: seq=2 time=81 ms
Ping http://www.google.com/gen_204: seq=3 time=92 ms
Ping http://www.google.com/gen_204: seq=4 time=94 ms
Ping http://www.google.com/gen_204: seq=5 time=90 ms
^C
--- vmess ping statistics ---
5 requests made, 5 success, total time 4.658023734s
rtt min/avg/max = 81/110/197 ms

Compile from source

$ git clone https://github.com/v2fly/vmessping.git
$ cd vmessping/cmd/vmessping
$ go build -ldflags="-X=main.MAINVER=${pkgver} -linkmode=external"

Other tools

VMessConvert

Usage

$ vmessconv
vmessconv vmess:// ...
Usage of usr/bin/vmessconv:
  -n	show v2rayN / v2rayNG format
  -q	show Quantumult format
  -r	show Shadowrocket format

Example

$ vmessconv 'vmess://ew0KI ...'
VMessConvert: 0.0.0-src
v2rayN / v2rayNG: vmess:// ...

Shadowrocket: vmess:// ...

Quantumult: vmess:// ...

VMessSpeed

Speedtest for VMess.

Usage

$ vmessspeed --help
usage: vmessspeed [<flags>] <vmess>

Flags:
      --help               Show context-sensitive help (also try --help-long and --help-man).
  -l, --list               Show available speedtest.net servers
  -d, --debug              Show V2Ray core debug log
  -s, --server=SERVER ...  Select server id to speedtest
  -t, --timeout=TIMEOUT    Define timeout seconds. Default: 10 sec
  -m, --mux                Use Mux outbound
      --allow-insecure     Allow insecure TLS connections
      --version            Show application version.

Args:
  <vmess>  the vmesslink

Example

$ vmessspeed 'vmess://ew0KI ...'

Type: ws
Addr: v2-server.address
Port: 443
UUID: 00000000-0000-0000-0000-000000000000
Type: 
TLS: tls
PS: @describe

Testing From IP: ... IP ... ADDR ...

Target Server: [14791]    63.21km Macau (Macau) by MTel
Latency: 21.005ms
Download Test: ................11.97 Mbit/s
Upload Test: ................15.11 Mbit/s

Download: 11.97 Mbit/s
Upload: 15.11 Mbit/s

最近版本更新:(数据更新于 2024-09-04 14:49:50)

2020-05-31 18:20:25 v0.3.4

2020-05-25 16:59:09 v0.3.3

2020-05-25 16:55:12 v0.3.2

2020-05-19 17:03:28 v0.3.1

2020-05-19 16:07:13 v0.3.0

2020-01-15 22:41:25 v0.2.3

2020-01-13 19:31:27 v0.2.2

2020-01-13 18:18:42 v0.2.1

2020-01-13 18:10:39 v0.2.0

2020-01-10 16:18:21 v0.1.2

v2fly/vmessping同语言 Go最近更新仓库

2024-11-21 22:49:20 containerd/containerd

2024-11-21 13:50:50 XTLS/Xray-core

2024-11-21 07:36:18 kubernetes/kubernetes

2024-11-21 06:27:30 ollama/ollama

2024-11-21 05:17:55 Melkeydev/go-blueprint

2024-11-21 04:04:03 dolthub/dolt