Ad

tcping: Basic TCP Port Pinger

tcping pings TCP ports, providing latency and connection quality information as an alternative to ICMP's ping utility.
Screenshot of pouriyajamshidi/tcping homepage

tcping pings TCP ports, inspired by the Linux ping utility, allowing users to assess network connectivity and latency. It operates by sending TCP packets to specified ports and measuring the response time or lack thereof. This tool is useful in situations where ICMP is blocked or filtered, offering a reliable method for monitoring TCP port availability and connection health. It's built using the Go programming language, focusing on cross-platform compatibility and efficient network operations.

tcping distinguishes itself with its versatility in output formats (colored, plain, JSON, CSV, sqlite3), comprehensive statistics reporting (longest downtime/uptime duration), and support for IPv4 and IPv6. It provides features like hostname retries and the option to specify source interfaces, making it suitable for advanced network troubleshooting and monitoring. The use of TCP sequence numbering for successful/unsuccessful probes enables detailed failure analysis at a glance.

  • Cross-Platform: Supports Windows, macOS, Linux, and FreeBSD.
  • Multiple Output Formats: Provides colored, plain, JSON, CSV, and SQLite output.
  • Client-Side Statistics: Reports total connection statistics, including longest downtime and uptime.
  • IPv4/IPv6 Support: Allows specifying IPv4 or IPv6 addresses.
  • Configurable Probes: Enables setting timeout, interval, and source interface.
  • Hostname Retry: Retries hostname resolution after probe failures.
  • JSON Output: Provides detailed information in a structured JSON format.

tcping is an actively maintained project with regular updates and bug fixes. The project has a healthy community and a clear roadmap. Recent commits and issue activity indicate ongoing development and responsiveness to user feedback. The availability of prebuilt binaries and clear installation instructions contribute to its reliability and ease of use.

tcping benefits system administrators, network engineers, and developers who need a robust and versatile tool for monitoring TCP port connectivity. It facilitates network troubleshooting, latency analysis, and connection quality assessment, offering a valuable alternative to traditional ping utilities. It is particularly helpful for testing DNS load balancing or Global Server Load Balancer (GSLB) configurations.

Summarize:
Share:
Stars
1,286
Forks
123
Issues
20
Created
5 years ago
Commit
18 days ago
License
MIT
Archived
No
Updated 17 days ago

Similar Repositories