I occasionally audit the open ports on my machine to make sure I fully understand my attack surface. When I did this today, I discovered that mtr was listening on a high UDP port (which seemed to change each time I ran). Does anyone know why this is the case? I had a brief look at the manual and did some googling but I couldn't find a discussion of this
Steps to reproduce:
run mtr 8.8.8.8
in one window, run in another sudo lsof -i udp | grep mtr
UPDATE:
To clarify what I mean my listening UDP port the output from lsof looks like this
mtr 31791 user 8u IPv4 221685 0t0 UDP *:39850