tcptraceroute

A traceroute implementation using TCP packets. More information: <https://github.com/mct/tcptraceroute>.

Install

All systems
curl cmd.cat/tcptraceroute.sh
Debian Debian
apt-get install tcptraceroute
Ubuntu
apt-get install tcptraceroute
Alpine
apk add tcptraceroute
image/svg+xml Kali Linux
apt-get install tcptraceroute
Fedora
dnf install traceroute-3
Windows (WSL2)
sudo apt-get update sudo apt-get install tcptraceroute
OS X
brew install tcptraceroute
Raspbian
apt-get install tcptraceroute
Docker
docker run cmd.cat/tcptraceroute tcptraceroute powered by Commando

A traceroute implementation using TCP packets. More information: <https://github.com/mct/tcptraceroute>.

  • Trace the route to a host:
    tcptraceroute host
  • Specify the destination port and packet length in bytes:
    tcptraceroute host destination_port packet_length
  • Specify the local source port and source address:
    tcptraceroute host -p source_port -s source_address
  • Set the first and maximum TTL:
    tcptraceroute host -f first_ttl -m max_ttl
  • Specify the wait time and number of queries per hop:
    tcptraceroute host -w wait_time -q number_of_queries
  • Specify the interface:
    tcptraceroute host -i interface

© tl;dr; authors and contributors