Skip to content
0xKismetDevPublic

About

"Rewrite" of the great https://code.google.com/archive/p/paping/ in golang

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gopaping

A simple, fast TCP ping utility written in Go. This is a modern but simple rewrite of the classic paping tool.

Features

  • Ping a TCP port on any host, similar to ICMP ping but for TCP
  • Shows per-ping response times and statistics (min/max/avg/packet loss)
  • Customizable timeout and count options

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/gopaping.git
    cd gopaping
  2. Download dependencies:
    go get .
  3. Build:
    go build -o gopaping main.go

Usage

./gopaping --count N --timeout SECONDS <host> <port>
  • --count N Number of pings to send (0 for infinite)
  • --timeout SEC Timeout for each ping in seconds (default: 2)
  • <host> Hostname or IP address to ping
  • <port> TCP port number to ping

Example:

./gopaping 1.1.1.1 80

Example Output

screen

License

MIT License. See LICENSE for details.

About

"Rewrite" of the great https://code.google.com/archive/p/paping/ in golang

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages