https://github.com/atompi/tuping
A network connectivity testing tool. Supports testing via ICMP, TCP, and UDP.
https://github.com/atompi/tuping
Last synced: over 1 year ago
JSON representation
A network connectivity testing tool. Supports testing via ICMP, TCP, and UDP.
- Host: GitHub
- URL: https://github.com/atompi/tuping
- Owner: atompi
- License: apache-2.0
- Created: 2023-03-17T11:46:34.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-17T11:47:09.000Z (over 3 years ago)
- Last Synced: 2025-02-01T01:34:07.241Z (over 1 year ago)
- Language: Go
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TUPing
A network connectivity testing tool. Supports testing via ICMP, TCP, and UDP.
## Build
```
go build -o ./tuping
```
## Usage
```
./tuping --help
A network connectivity testing tool. Supports testing via ICMP, TCP, and UDP.
Usage:
tuping [flags]
Flags:
-c, --count int stop after replies
-d, --dns string specify the dns server instead of using the system default dns server, tcp/udp protocol only
-h, --help help for tuping
-i, --interval int millisecond between sending each packet (default 1000)
-p, --protocol string specify protocol to use (default "icmp")
-s, --size int use as number of data bytes to be sent (default 64)
-t, --ttl int define time to live (default 64)
-v, --version version for tuping
-w, --wait whether to wait for server response, should be set in udp protocol only, default false
```
- ping via icmp
```
./tuping gitee.com
```
- ping via tcp
```
./tuping -d 114.114.114.114 -p tcp gitee.com 443
```
- ping via udp
```
./tuping -p udp -w 192.168.15.128 53
```