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.
Hello I tested it on my FreeBSD router which is in the version: 12.1-RELEASE-p10 FreeBSD 12.1-RELEASE-p10 GENERIC amd64 Curious that I have other FreeBSD servers in the same version that this does not occur. # mtr 1.1.1.1 Error decoding localhost address (connect failed/Network is unreachable) mtr: Failure to start mtr-packet: Invalid argument The above test was done in version 0.94 and in version mtr-nox11-0.94