Forrest logo
back to the tcptraceroute tool

tcptraceroute:tldr:91e53

tcptraceroute: Specify the wait time and number of queries per hop.
$ tcptraceroute ${host} -w ${wait_time} -q ${number_of_queries}
try on your machine

This command is using the "tcptraceroute" tool to perform a traceroute over TCP to a specified host. Here's an explanation of the options used:

  • ${host}: It is a placeholder, and you need to replace it with the actual hostname or IP address of the target host you want to trace the route towards.

  • -w ${wait_time}: Specifies the time to wait for a response from each hop along the traceroute before considering it as unreachable. You need to replace ${wait_time} with the desired wait time in milliseconds. This option is useful for customizing the duration tcptraceroute waits for each reply.

  • -q ${number_of_queries}: Defines the number of queries to send for each hop in the traceroute. You should replace ${number_of_queries} with the desired number of probes to be sent. This option allows you to adjust the number of packets sent to each router in the traceroute, providing more accurate results.

By using this command, you can perform a traceroute over TCP to a specific host, customize the wait time for responses, and determine the number of queries sent for each hop.

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