Giter Club home page Giter Club logo

ipt's Introduction

Hits

IPT (IP Test) - Connection Tester

IPT (IP Tester) is a Go language application designed to test TCP connections to specified IP addresses and ports. It provides easy-to-interpret, color-coded output to quickly distinguish between successful and failed connections.

ipt cli tool

Features

  • TCP connection testing to a specified IP address and port.
  • Customizable connection timeout setting.
  • Color-coded output for clear distinction of success (green) and failure (red).

Requirements

  • Go (Golang) version 1.x (if using go install).
  • Or, directly use the provided binary for your platform.

Installation

Using Precompiled Binary (Recommended)

  1. Download the latest binary for your platform from the Releases page.
  2. Place the binary in a directory included in your system's PATH (e.g., /usr/local/bin on macOS/Linux).

Using go install (For Go Developers)

If you have Go installed and prefer to build from source:

go install github.com/debek/ipt@latest

This will install the ipt binary in your $GOPATH/bin directory.

Usage

Run the program with the following arguments:

ipt <ip_address> <port> [<timeout>]

  • ip_address: The IP address of the server you want to connect to.
  • port: The server's port.
  • timeout: Optional connection timeout (default is 5 seconds). Specify the time in a format like '5s' for 5 seconds.

Examples

  • Testing connection to a server on port 80:

  • ipt 192.168.1.1 80

  • Testing connection to a server on port 443 with a 10-second timeout:

  • ipt 192.168.1.1 443 10

Contributing

Contributions to this project are welcome! Please see the CONTRIBUTE.md file for guidelines on how to contribute.

License

This project is licensed under the MIT License.

ipt's People

Contributors

debek avatar

Watchers

 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.