traviscross / mtr

Official repository for mtr, a network diagnostic tool
http://www.bitwizard.nl/mtr/
GNU General Public License v2.0
2.64k stars 337 forks source link

Adjust MIN_PORT to match other implementations #426

Closed amarshall closed 2 years ago

amarshall commented 2 years ago

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:

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.

I’m uncertain if the SEQUENCE_NUM and MinSequence constants should also be changed.