Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamowei/pinger
easy small TCP connection testing application
https://github.com/jamowei/pinger
Last synced: 13 days ago
JSON representation
easy small TCP connection testing application
- Host: GitHub
- URL: https://github.com/jamowei/pinger
- Owner: jamowei
- License: mit
- Created: 2019-06-12T20:37:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T14:44:55.000Z (over 5 years ago)
- Last Synced: 2024-10-18T11:52:51.677Z (about 1 month ago)
- Language: Go
- Size: 3.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pinger
Pinger is a small lightweigt command line programm written with ❤️ in [go](https://golang.org).
It's made for testing TCP connections between to host. Therefore you must run it on both hosts, on one site in server mode and on the other side in client mode. Then the programm on the client side tries to reach the endpoint on the server side and logs it it was successfull.[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/jamowei/pinger/blob/master/LICENSE)
[![Build Status](https://travis-ci.com/jamowei/pinger.svg?branch=master)](https://travis-ci.com/jamowei/pinger)
# InstallationYou can get the latest binary using Go:
`> go get -u github.com/jamowei/pinger`
or download released binary from [here](https://github.com/jamowei/pinger/releases/latest).
# Commandline
If you define a server name (or hostname) with `-s` r `--server`, its starts in client mode an tries to connect to the server endpoint on the specified port(s).
Otherwise if you define only the ports you want to test, it starts a small http server for each port.
```
usage: pinger [-h|--help] [-s|--server ""] [-r|--range ""]
[-p|--port "" [-p|--port "" ...]]Pings a running pinger server or starts a server to look for open
tcp portsArguments:
-h --help Print help information
-s --server host to connect with (server mode)
-r --range range of port numbers, e.g. 8080-8090
-p --port ports to listen on (server mode) or to connect with (client
mode)
```# License
Pinger is released under the MIT license. See [LICENSE](https://github.com/jamowei/pinger/blob/master/LICENSE)