Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/traceroute/traceroute.8
Show All 10 Lines | |||||
.\" from this software without specific prior written permission. | .\" from this software without specific prior written permission. | ||||
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | ||||
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | ||||
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||||
.\" | .\" | ||||
.\" $Id: traceroute.8,v 1.19 2000/09/21 08:44:19 leres Exp $ | .\" $Id: traceroute.8,v 1.19 2000/09/21 08:44:19 leres Exp $ | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd May 31, 2015 | .Dd June 20, 2019 | ||||
.Dt TRACEROUTE 8 | .Dt TRACEROUTE 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm traceroute | .Nm traceroute | ||||
.Nd "print the route packets take to network host" | .Nd "print the route packets take to network host" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Bk -words | .Bk -words | ||||
.Op Fl adDeFISnrvx | .Op Fl adDeFISnrvx | ||||
.Op Fl f Ar first_ttl | .Op Fl f Ar first_ttl | ||||
.Op Fl g Ar gateway | .Op Fl g Ar gateway | ||||
.Op Fl M Ar first_ttl | .Op Fl M Ar first_ttl | ||||
.Op Fl m Ar max_ttl | .Op Fl m Ar max_ttl | ||||
.Op Fl P Ar proto | .Op Fl P Ar proto | ||||
.Op Fl p Ar port | .Op Fl p Ar port | ||||
.Op Fl q Ar nqueries | .Op Fl q Ar nprobes | ||||
.Op Fl s Ar src_addr | .Op Fl s Ar src_addr | ||||
.Op Fl t Ar tos | .Op Fl t Ar tos | ||||
.Op Fl w Ar waittime | .Op Fl w Ar waittime | ||||
.Op Fl A Ar as_server | .Op Fl A Ar as_server | ||||
.Op Fl z Ar pausemsecs | .Op Fl z Ar pausemsecs | ||||
.Ar host | .Ar host | ||||
.Op Ar packetlen | .Op Ar packetlen | ||||
.Ek | .Ek | ||||
▲ Show 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | |||||
Protocol specific. For UDP, UDP-Lite, TCP and SCTP, sets | Protocol specific. For UDP, UDP-Lite, TCP and SCTP, sets | ||||
the base | the base | ||||
.Ar port | .Ar port | ||||
number used in probes (default is 33434). | number used in probes (default is 33434). | ||||
Traceroute hopes that nothing is listening on UDP ports (or UDP-Lite ports | Traceroute hopes that nothing is listening on UDP ports (or UDP-Lite ports | ||||
if used by | if used by | ||||
.Nm | .Nm | ||||
and supported by the peer) | and supported by the peer) | ||||
.Em base + 1 | .Em port + 1 | ||||
to | to | ||||
.Em base + nhops * nprobes | .Em port + (max_ttl - first_ttl + 1) * nprobes | ||||
at the destination host (so an ICMP PORT_UNREACHABLE message will | at the destination host (so an ICMP PORT_UNREACHABLE message will | ||||
be returned to terminate the route tracing). If something is | be returned to terminate the route tracing). If something is | ||||
listening on a port in the default range, this option can be used | listening on a port in the default range, this option can be used | ||||
to pick an unused port range. | to pick an unused port range. | ||||
.It Fl q Ar nqueries | .It Fl q Ar nprobes | ||||
Set the number of probes per hop (default is 3, | Set the number of probes per hop (default is 3, | ||||
unless | unless | ||||
.Fl D | .Fl D | ||||
is specified, | is specified, | ||||
when it is 1). | when it is 1). | ||||
.It Fl r | .It Fl r | ||||
Bypass the normal routing tables and send directly to a host on an attached | Bypass the normal routing tables and send directly to a host on an attached | ||||
network. | network. | ||||
▲ Show 20 Lines • Show All 255 Lines • Show Last 20 Lines |