traviscross / mtr

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

MTR exit after 3 pings (using --tcp) with message Address in use #381

Closed voxsoftware closed 1 year ago

voxsoftware commented 3 years ago

MTR exit after 3 pings (using --tcp) with message: Address in use I compiled from git today, same error.

If is relevant, my machine is an LXD container: Ubuntu 18.04 64 bits, but with direct connection to internet.

uname -a
Linux player 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
rewolff commented 3 years ago

Mine crashes too, but not in 3 pings, but after 10 or so, and not with address in use. mtr: Unexpected mtr-packet error this is an ETIMEDOUT error. (the reporting can be improved!)

esimest commented 1 year ago

Because we use 1- returend/send to calculate the packet loss rate, so for ETIMEOUT error, we should be able to handle it directly in function report_packet_error and ignore the error