When trying to run a mtr on FreeBSD, this error always occurs:
Error decoding localhost address
mtr: Failure to start mtr-packet: Invalid argument
This occurs with the mtr-0.93_1 package and the mtr-nox11-0.93_1 package
SO version: 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64
The same problem was reported in bug #243121 and fixed in mtr 0.93_1.
I have no idea what happened on your box.
Could you give more information about your configuration?
And please confirm:
- /usr/local/sbin/mtr-packet has setuid bit
- You do not have an old installation with outdated binaries.
% ls -la /usr/local/sbin/mtr-packet
-r-sr-xr-x 1 root wheel 39920 Jul 27 23:18 /usr/local/sbin/mtr-packet*
(In reply to Sunpoet Po-Chuan Hsieh from comment #1)
After updating or freebsd moved to run mtr
The settings were as you mentioned.
Installing a system from a FreeBSD 12.1 ISO a few months ago.
Please confirm if the problem still exists in mtr 0.94.