tcping

command module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: BSD-3-Clause Imports: 20 Imported by: 0

README

TCPING

Go Report Card CodeFactor Go Docker container build GitHub go.mod Go version

A cross-platform ping program for TCP ports inspired by the Linux's ping utility. This program will send TCP probes to an IP address or a hostname specified by you and prints the results. It supports both IPv4 and IPv6.

TCPING uses different TCP sequence numbering for successful and unsuccessful probes, so that when you look at the results and spot a failed probe, inferring the total packet drops to that point would be easy.

Here are some of the features of TCPING:

  • An alternative to ping in environments that ICMP is blocked.
  • Monitor your network connection.
  • Determine packet loss.
  • Analyze the network's latency.
  • Calculate minimum, average and maximum latency of network probes.
  • Print connection statistics by pressing the Enter key, without stopping the program.
  • Retry hostname resolution after a predetermined number of probe failures by using the -r flag . Suitable to test your DNS load balancing or Global Server Load Balancer (GSLB).
  • Enforce using IPv4 or IPv6.
  • Display the longest encountered downtime and uptime duration and time.
  • Monitor and audit your peers network (SLA).
  • Calculate the total uptime or downtime of your network when conducting a maintenance.

Demos

Basic usage

tcping


Retry hostname lookup (-r) flag

tcping resolve example


JSON output (-j --pretty) flag

tcping json example


Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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