Forrest logo
back to the tcptraceroute tool

tcptraceroute:tldr:d890b

tcptraceroute: Specify the local source port and source address.
$ tcptraceroute ${host} -p ${source_port} -s ${source_address}
try on your machine

The command "tcptraceroute ${host} -p ${source_port} -s ${source_address}" is used to execute a traceroute using TCP packets instead of the default ICMP packets.

Let's break down the command:

  • "tcptraceroute" is the name of the command or utility used to perform a TCP traceroute.
  • "${host}" represents the target host or IP address you want to trace the route to. You should replace "${host}" with the actual hostname or IP address.
  • "-p ${source_port}" specifies the source port number that will be used in the TCP packets. You should replace "${source_port}" with the desired source port number.
  • "-s ${source_address}" specifies the source IP address that will be used in the TCP packets. You should replace "${source_address}" with the desired source IP address.

Overall, this command allows you to perform a traceroute using TCP packets with custom source port and source IP address.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the tcptraceroute tool