NoPing

command module
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 17 Imported by: 0

README

noping

noping is a powerful and flexible network diagnostic tool written in Go. It allows users to send ICMP, TCP, or UDP pings to a specified IP address, making it useful for testing connectivity, diagnosing network issues, and measuring response times.

Features

  • Supports ICMP, TCP, and UDP pinging (UDP is currently experimental).
  • Defaults to ICMP when no port is specified.
  • Customizable port, timeout and amount of pings.
  • Minimal output mode for clean results.
  • Provides ASN data, and geo-location data.
  • Fast and efficient.

Installation

Ensure you have Go installed, then run:

go install github.com/Bastih18/NoPing@latest

Or clone and build manually:

git clone https://github.com/Bastih18/NoPing.git
cd NoPing
go build -o noping .

For local development please follow the Local Development Guide

Usage

noping <ip> [OPTIONS]
Arguments
  • ip - IP address to ping.
Options
Flag Description
-h, --help Show the help menu.
-p, --port <port> Specify port to be pinged (default: ICMP if none is given).
-c, --count <count> Number of pings (default: 65535)
-t, --timeout <ms> Timeout in milliseconds (default: 1000)
-m, --minimal Minimal output mode.
-v, --version Print detailed version information.
--proto <tcp/udp> Protocol to use when a port is specified (default: TCP)
-pa, --packet <packet> Packet to send to UDP target (default: tries to find a valid packet based on port)
--update [version] Update noping to the specified version (when empty, it updates to the latest version).

Examples

Ping with ICMP:

noping 192.168.1.1

Ping with TCP on port 80:

noping 192.168.1.1 -p 80

Set timeout and number of pings:

noping 192.168.1.1 -c 10 -t 500

Use UDP on port 53:

noping 192.168.1.1 --proto udp -p 53

License

Licensed under the MIT License. See LICENSE for details.

Contributing

Contributions are always welcome! Submit issues or pull requests

Authors

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL