diff options
author | tuexen <tuexen@FreeBSD.org> | 2015-06-03 17:45:45 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2015-06-03 17:45:45 +0000 |
commit | e9ec7103245bc8f8338cf883a7bedf578f144fbc (patch) | |
tree | 569e43ed6259b148fb3135061280ba03bf3061ad /contrib/traceroute/traceroute.8 | |
parent | cec9850b2970e22824f696185360a38ade7f140b (diff) | |
download | FreeBSD-src-e9ec7103245bc8f8338cf883a7bedf578f144fbc.zip FreeBSD-src-e9ec7103245bc8f8338cf883a7bedf578f144fbc.tar.gz |
MFC r283784:
Remove trailing whitespaces.
MFC r283785:
Require the embedded packet to contain 8 bytes after the IP header instead
of only 4. This is guaranteed by RFC 792 and the verification of GRE, ICMP
and TCP packets use 8 bytes.
MFC r283786:
There is no payload anymore. So compute the minimum packet length
correctly and use 40 as the default (if the minumum allows it), as
specified in the man page.
MFC r283806:
When the packet verification fails in verbose mode, print the correct
number of words in host byte order. Also remove a stray 'x'.
MFC r283808:
Don't send malformed SCTP probe packets.
MFC r283813:
Use an empty string for field descriptions of unknown protocols.
MFC r283817:
Don't send illegal packets when using UDP-Lite.
MFC r283819:
A TCP checksum of 0 is completely valid. Mapping 0 to 0xffff only
applies to UDP and UDP-Lite.
MFC r283820:
The code starts with base + 1 as the first port. Fix to documentation
to match that.
Diffstat (limited to 'contrib/traceroute/traceroute.8')
-rw-r--r-- | contrib/traceroute/traceroute.8 | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/contrib/traceroute/traceroute.8 b/contrib/traceroute/traceroute.8 index 654b538..ebfcc36 100644 --- a/contrib/traceroute/traceroute.8 +++ b/contrib/traceroute/traceroute.8 @@ -16,7 +16,7 @@ .\" $Id: traceroute.8,v 1.19 2000/09/21 08:44:19 leres Exp $ .\" $FreeBSD$ .\" -.Dd June 19, 2012 +.Dd May 31, 2015 .Dt TRACEROUTE 8 .Os .Sh NAME @@ -65,7 +65,7 @@ Turn on AS# lookups and use the given server instead of the default. .It Fl e Firewall evasion mode. -Use fixed destination ports for UDP and TCP probes. +Use fixed destination ports for UDP, UDP-Lite, TCP and SCTP probes. The destination port does NOT increment with each packet sent. .It Fl f Ar first_ttl Set the initial time-to-live used in the first outgoing probe packet. @@ -110,21 +110,24 @@ Print hop addresses numerically rather than symbolically and numerically path). .It Fl P Ar proto Send packets of specified IP protocol. The currently supported protocols -are: UDP, TCP, GRE and ICMP. Other protocols may also be specified (either by -name or by number), though +are: UDP, UDP-Lite, TCP, SCTP, GRE and ICMP. Other protocols may also be +specified (either by name or by number), though .Nm does not implement any special knowledge of their packet formats. This option is useful for determining which router along a path may be blocking packets based on IP protocol number. But see BUGS below. .It Fl p Ar port -Protocol specific. For UDP and TCP, sets +Protocol specific. For UDP, UDP-Lite, TCP and SCTP, sets the base .Ar port number used in probes (default is 33434). -Traceroute hopes that nothing is listening on UDP ports -.Em base +Traceroute hopes that nothing is listening on UDP ports (or UDP-Lite ports +if used by +.Nm +and supported by the peer) +.Em base + 1 to -.Em base + nhops * nprobes - 1 +.Em base + nhops * nprobes at the destination host (so an ICMP PORT_UNREACHABLE message will be returned to terminate the route tracing). If something is listening on a port in the default range, this option can be used |