]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
docs: document default trace ports
authorDarafei Praliaskouski <me@komzpa.net>
Thu, 7 May 2026 15:55:45 +0000 (19:55 +0400)
committerDarafei Praliaskouski <me@komzpa.net>
Thu, 7 May 2026 15:55:45 +0000 (19:55 +0400)
man/mtr.8.in

index 5101094497b275ad37acf111483359092aea9ee4..abf7f5b190d1d3c0b5788e75d8eae4ae0a16faa5 100644 (file)
@@ -446,9 +446,16 @@ Use Stream Control Transmission Protocol packets instead of ICMP ECHO.
 .TP
 .B \-P \fIPORT\fR, \fB\-\-port \fIPORT
 The target port number for TCP/SCTP/UDP traces.
+When this option is not given, TCP and SCTP traces use port 80.
+UDP traces encode the probe sequence number in the destination port
+instead, so the destination port changes for each probe.
 .TP
 .B \-L \fILOCALPORT\fR, \fB\-\-localport \fILOCALPORT
-The source port number for UDP traces.
+The source port number for UDP traces.  When this option is not given,
+UDP traces use the mtr process ID as the source port, unless
+.B \-\-port
+was given; in that case, UDP traces encode the probe sequence number in
+the source port instead.
 .TP
 .B \-Z \fISECONDS\fR, \fB\-\-timeout \fISECONDS
 The number of seconds to keep probe sockets open before giving up on