Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jan 2020 00:00:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243121] net/mtr: updte 0.93 broken
Message-ID:  <bug-243121-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243121

            Bug ID: 243121
           Summary: net/mtr: updte 0.93 broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: kib@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

It seems that the update forgot to fill sa_len in the struct sockaddr.

The result is
solo% mtr freefall.freebsd.org                                             =
   ~
Error decoding localhost address
mtr: Failure to start mtr-packet: Invalid argument

The 'error' part comes from mtr-packet, which does the following

 62130 mtr-packet CALL  socket(PF_INET,0x2<SOCK_DGRAM>,IPPROTO_UDP)
 62130 mtr-packet RET   socket 8
 62130 mtr-packet CALL  connect(0x8,0x7fffffffb550,0x4)
 62130 mtr-packet STRU  struct sockaddr { AF_INET, invalid }
 62130 mtr-packet RET   connect -1 errno 22 Invalid argument
 62130 mtr-packet CALL  close(0x8)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243121-7788>