FreeBSD man page for traceroute(8)

Tom Marcoen tom.marcoen at gmail.com
Wed Apr 24 14:39:32 UTC 2019


The "-p" option states that the formula for calculating the port range
equals base + 1 to base + nhops * nprobes. However, the parameters "nhops"
and "nprobes" are called differently in their respective options to change
them. "nprobes" is changed using the option "-q" which names the parameter
"nqueries" instead of "nprobes" and "-m" specifies the parameter as
"max_ttl" instead of "nhops".

I suggest modifying the formula to use the correct parameter names:

123 - number used in probes (default is 33434).
130 - .Em base + nhops + nprobes

123 + number used in queries (default is 33434).
130 + .Em base + max_ttl + nqueries

Best regards,
Tom Marcoen


More information about the freebsd-doc mailing list