2.20.3.7. tcproute/tcptraceroute

tcproute / tcptraceroute — a utility similar to tracert/traceroutebut using TCP instead of ICMP or UDP.

  1. Download and install the library Npcap... When installing, be sure to check the box opposite «Install Npcap in WinPcap API-compatible Mode»:
  2. Download archive from tcproute and unzip it wherever you want.
  1. 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 bar cmd and press Enter:
  2. 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 of example.com — IP or address of the site to which you want to connect (the address must be specified without http:// or https:// at the beginning and / at the end):

  3. 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.
  4. Wait for the execution results:
  1. Openup terminal.
  2. Install the Homebrew package manager if not already installed:
    1. Enter the command and press Enter:
      /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    2. In response to a request Press RETURN to continue or any other key to abort click Enter.
    3. 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.
    4. Wait for the installation to complete.
  3. Enter the command and press Enter:
    brew install tcptraceroute

  4. Wait for the installation to complete.
  1. Openup terminal.
  2. 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 without http:// or https:// at the beginning and / at the end), and instead of 80 — the port on which the connection should be made:

  3. 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.
  4. Wait for the execution results:
Content