hightechict / Tring

Tring can be used to quickly test a TCP connection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tring

Build Status nuget licenceTag

Tring can be used to quickly test a TCP connection. It consists of an executable that can be installed as a dotnet global tool.

Installation

Tring can be installed as a dotnet global tool by using the following command:

$ dotnet tool install --global Tring

Usage

To use Tring run the command Tring and supply a ip or url with a port, if the url contains a protocol the port will be inferred. Adding -w or --watch will keep checking the request every second. Adding -6 or --ipv6 will force dns requests to resovle to IPv6. It is also posible to enter multiple hosts space separated.

Accepted input expampels:

http://google.nl
http://google.nl:443
http://google.nl:443/example
google.nl:http
google.nl:80
8.8.8.8:80
8.8.8.8:http
2001:4860:4860:0:0:0:0:8844:80 
2001:4860:4860::8844:https 

Output example:

 | Time              | IP              | Port | Connect | Ping    | Local interface | Protocol | Hostname
 | 13:31:21-13:31:24 | 172.217.17.131  | 80   | 6 ms    | -       | 10.100.100.199  | http     | www.google.nl

License

This work is licensed under the LGPL license, refer to the COPYING.md and COPYING.LESSER.md files for details.

Repository

The source code of this projecte can be found on github.

About

Tring can be used to quickly test a TCP connection.

License:GNU Lesser General Public License v3.0


Languages

Language:C# 94.7%Language:PowerShell 3.9%Language:Dockerfile 1.4%