Code Monkey home page Code Monkey logo

pinger's Introduction

Pinger

Pinger is a small lightweigt command line programm written with ❤️ in go. 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 Build Status

Installation

You can get the latest binary using Go:

> go get -u github.com/jamowei/pinger

or download released binary from here.

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 "<value>"] [-r|--range "<value>"]
              [-p|--port "<value>" [-p|--port "<value>" ...]]

              Pings a running pinger server or starts a server to look for open
              tcp ports

Arguments:

  -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

pinger's People

Contributors

jamowei avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.