Skip to content

rmorris1218/conntest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conntest

cli tool for testing network connectivity based on a config file

Install

git clone https://github.com/rmorris1218/conntest.git && cd conntest
go build -o conntest
./conntest --help

Usage

To use the tool, you need a config file with the following format

./conntest-config.json

{
    "tests": [
        {
            "endpoint": "1.1.1.1",
            "proto_ports": [
                {"port": 53, "protocol": "tcp"}
            ]
        }
    ]
}

Then to run the tool

$ ./conntest --config-file ./conntest-config.json
successfully reached all ports on 1.1.1.1

If all endpoints are reachable, there will be an exit code of 0. If there are any errors, there will be an exit code of 1.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages