Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#58829 closed defect (fixed)

mtr @0.93: Error decoding localhost address

Reported by: JohnFHall (John Hall) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: Schamschula (Marius Schamschula)
Port: mtr

Description

Repeatable failure: MacPRO:~ johnhall$ mtr Error decoding localhost address mtr: Failure to start mtr-packet: Invalid argument === Machine: MacPRO 5,1 running High Sierra 10.13.6

Loopback: MacPRO:~ johnhall$ ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384

options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP> inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 nd6 options=201<PERFORMNUD,DAD>

localhost: MacPRO:~ johnhall$ head /etc/hosts ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost

Firewall in on in steath mode, but mtr returns the same result with stealth mode off.

With stealth mode off I can ping localhost, but obviously not with it on.

Change History (10)

comment:1 Changed 19 months ago by ryandesign (Ryan Schmidt)

Cc: Schamschula added
Port: mtr added
Summary: mtr 9.3 is broken after the 9.3 update.mtr @0.93: Error decoding localhost address

comment:2 Changed 19 months ago by SaintBol

mtr 0.93 is broken on MacOS and the macports port should be reverted to 0.92 asap. The matter is fixed on mtr github tree but not in a released version (discussed here: https://github.com/traviscross/mtr/issues/313 ).

comment:3 Changed 19 months ago by Schamschula (Marius Schamschula)

Owner: set to Schamschula
Resolution: fixed
Status: newclosed

In c81546f752d0a78c36d5906ed3dc3309ec171f30/macports-ports (master):

mtr 0.93: patch find_source_addr issue

Closes: #58829

comment:4 in reply to:  3 Changed 19 months ago by JohnFHall (John Hall)

Replying to Schamschula:

In c81546f752d0a78c36d5906ed3dc3309ec171f30/macports-ports (master):

mtr 0.93: patch find_source_addr issue

Closes: #58829

Not fixed for me. Same error...

comment:5 Changed 19 months ago by Schamschula (Marius Schamschula)

Works for me (High Sierra)

comment:6 Changed 19 months ago by JohnFHall (John Hall)

MacPRO:~ johnhall$ ls -la /opt/local/var/macports/software/mtr/mtr-0.93_0.darwin_17.x86_64.tbz2
-rw-r--r-- 1 macports admin 54918 16 Aug 07:34 /opt/local/var/macports/software/mtr/mtr-0.93_0.darwin_17.x86_64.tbz2

MacPRO:~ johnhall$ openssl sha1 /opt/local/var/macports/software/mtr/mtr-0.93_0.darwin_17.x86_64.tbz2
SHA1(/opt/local/var/macports/software/mtr/mtr-0.93_0.darwin_17.x86_64.tbz2)= dec3190950022b2bc0ca87629f29a57950c72103

MacPRO:~ johnhall$ ls -la /opt/local/sbin/mtr*
-rwxr-xr-x 1 root admin 70056 10 Aug 04:53 /opt/local/sbin/mtr
-rwsr-sr-x 1 root admin 30212 10 Aug 04:53 /opt/local/sbin/mtr-packet

MacPRO:~ johnhall$ sudo mtr -v
mtr 0.93

MacPRO:~ johnhall$ sudo mtr localhost
Error decoding localhost address
mtr: Failure to start mtr-packet: Invalid argument

MacPRO:~ johnhall$ sudo mtr 45.227.255.202
Error decoding localhost address

comment:7 Changed 19 months ago by Schamschula (Marius Schamschula)

You clearly don't have mtr @0.93_1 installed. As I posted earlier, the patched version (0.93 revision 1) works correctly.

comment:8 Changed 19 months ago by JohnFHall (John Hall)

If you say its fixed, then 0.93_1 should be here for us macports users. If not, it isnt't fixed... for me.

comment:9 Changed 19 months ago by Schamschula (Marius Schamschula)

It is. Did you run sudo port sync sometime in the last 10 hours? It takes more the 90 minutes for these updates to show in the PortIndex.

The updated version is available: https://packages.macports.org/mtr/

comment:10 Changed 19 months ago by JohnFHall (John Hall)

Thank you for your perseverence with a grumpy old user. Yes, sync did the trick and the 0.93_1 source installs and works well.

Thank you again, John

Note: See TracTickets for help on using tickets.