Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akamensky/tcping
Just ping a TCP port
https://github.com/akamensky/tcping
go golang ping tcp
Last synced: about 2 months ago
JSON representation
Just ping a TCP port
- Host: GitHub
- URL: https://github.com/akamensky/tcping
- Owner: akamensky
- License: mit
- Created: 2018-05-31T05:09:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-06T05:46:56.000Z (over 6 years ago)
- Last Synced: 2024-06-20T12:06:42.312Z (3 months ago)
- Topics: go, golang, ping, tcp
- Language: Go
- Size: 4.88 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ping TCP port with tcping
tcping is a tool that allows to verify reachability of TCP port.
The purpose of this tool is to allow for a monitoring of reachability
of specific service on remote (or local) host.
Unlike standard ping, fping or hping, this tool uses simple TCP
connection to verify if port is listening and is agnostic of application
protocols etc.Each check will simply open a connection and if successful it will
immediately close it. While some applications may not like this, most
will handle this will and will not cause any significant resource
consumption.#### Get it
Currently: to start using this you will need Go language compiler,
which you can get from [golang.org](https://golang.org/).Compilation:
```sh
# go get -u -v -x github.com/akamensky/tcping
```Installation:
```sh
# mv ~/go/bin/tcping /usr/local/bin/tcping
```#### Use it
Simple use case:
```
# tcping -s www.github.com -p 443
```For more detailed usage information check included help message:
```
# tcping -h
```#### Know it
Currently `tcping` does DNS resolution for every check. This allows
to test systems that are spread across multiple servers and see it
more from user perspective.#### License
See included LICENSE file for license information.