]> git.ipfire.org Git - thirdparty/mtr.git/commit
Adjust MIN_PORT to match other implementations 426/head
authorAndrew Marshall <andrew@johnandrewmarshall.com>
Wed, 23 Mar 2022 15:36:48 +0000 (11:36 -0400)
committerAndrew Marshall <andrew@johnandrewmarshall.com>
Wed, 23 Mar 2022 16:14:36 +0000 (12:14 -0400)
commite95eaf47158eb3995dab462b78a8a9c0451447a5
treef5a45f8ea54470aace9841464be6233ffd553ed4
parent852e5617fbf331cf292723702161f0ac9afe257c
Adjust MIN_PORT to match other implementations

Port 33434 is the IANA-reserved port for traceroute. It also seems to be
the most common start port. The following implementations, and
likely others, use it as their start port:

- Apple macOS traceroute
- FreeBSD traceroute
- GNU inetutils-traceroute
- Modern traceroute for Linux
- OpenBSD traceroute

The benefit to using a standard starting port is that some firewalls may
have these ports allowed, whereas other ports may be blocked, so there
is a greater probability the probe will succeed.
packet/probe_unix.h