Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
2.19.3.7. tcproute/tcptraceroute
tcproute/tcptraceroute — the utility is similar to tracert/traceroute, but uses the TCP protocol instead of ICMP or UDP protocols.
Windows
Prepare
Use
If the error "Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'PcapDotNet.Core.dll' or one of its dependencies. The specified module could not be found. at tcproute.Program.Main(String[] args)" occurs when executing the command, the solution may be to install the 32-bit (x86) version of Microsoft Visual C++ 2010 Redistributable Package.
- Open command prompt and navigate to the directory where the tcproute archive was extracted. To open the command prompt immediately in the desired directory, open the directory in Explorer, type
cmdin its address bar and press Enter:
- Execute the command (instead of
80specify the desired port, instead ofexample.com— the address of the desired site withouthttp://orhttps://at the beginning and/at the end):tcproute -p 80 example.com
- The program will display a list of available network interfaces and ask you to specify the number of the one you want to use. Interface names and numbers may vary from device to device. Enter the desired interface number and press Enter.
- Wait for the results of execution:

macOS
Install
- Open terminal.
- Install the Homebrew package manager (if not installed):
- Execute the command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- At the prompt "Press RETURN to continue or any other key to abort", press Enter.
- When prompted for a password, enter the password for your account on your device (no characters will appear on the screen when you enter a password) and press Enter.
- Wait for the installation to complete.
- Execute the command:
brew install tcptraceroute
- Wait for the installation to complete.
Use
- Open terminal.
- Execute the command (instead of
example.com, specify the address of the desired site withouthttp://orhttps://at the beginning and/at the end, instead of80— the desired port):sudo tcptraceroute example.com 80
- At the password prompt, enter the root password for the device (no characters will be displayed on the screen when you enter the password) and press Enter.
- Wait for the results of execution:

