2.20.3.7. tcproute/tcptraceroute
tcproute / tcptraceroute — a utility similar to tracert/traceroutebut using TCP instead of ICMP or UDP.
Windows
Preparation
Usage
- Openup command line and change to the directory where the contents of the archive were unpacked with
tcproute
... To open the command line immediately in the desired directory, open this directory in Explorer, enter in its address barcmd
and press Enter: - Enter the command and press Enter:
tcproute -p 80 example.com
In the team instead of
80
specify the port on which the connection should be made, and instead ofexample.com
— IP or address of the site to which you want to connect (the address must be specified withouthttp://
orhttps://
at the beginning and/
at the end): - The program will display a list of available network interfaces and ask you to specify the number of the one that you want to use. The interface names and numbers may differ from device to device. Enter the desired interface number and click Enter.
- Wait for the execution results:
macOS
Installation
- Openup terminal.
- Install the Homebrew package manager if not already installed:
- Enter the command and press Enter:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- In response to a request
Press RETURN to continue or any other key to abort
click Enter. - When prompted for a password, enter the password for your account on the device (when entering the password, characters will not be displayed on the screen) and press Enter.
- Wait for the installation to complete.
- Enter the command and press Enter:
brew install tcptraceroute
- Wait for the installation to complete.
Usage
- Openup terminal.
- Enter the command and press Enter:
sudo tcptraceroute example.com 80
In the team instead of
example.com
specify the IP or address of the site to which you want to connect (the address must be specified withouthttp://
orhttps://
at the beginning and/
at the end), and instead of80
— the port on which the connection should be made: - When prompted for a password, enter the password for the root user account on the device (when entering the password, characters will not be displayed on the screen) and press Enter.
- Wait for the execution results: