[Bug 3745] New: Wrong sender address for ping to multicast

bugzilla at busybox.net bugzilla at busybox.net
Tue May 17 21:29:28 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3745

           Summary: Wrong sender address for ping to multicast
           Product: Busybox
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: linus.luessing at web.de
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


With a full-blown ping6 the output looks like the following:
----
$ ping6 ff02::1%br0
PING ff02::1%br0(ff02::1) 56 data bytes
64 bytes from fe80::21e:68ff:fee2:da1a: icmp_seq=1 ttl=255 time=0.036 ms
64 bytes from fe80::222:b0ff:fe98:87fa: icmp_seq=1 ttl=64 time=114 ms (DUP!)
----

However, with busybox the from-address is wrongly displayed as the multicast
address:
----
$ ping6 ff02::1%br-lan
PING ff02::1%br-lan (ff02::1): 56 data bytes
64 bytes from ff02::1: seq=0 ttl=64 time=2.575 ms
64 bytes from ff02::1: seq=0 ttl=64 time=84.320 ms (DUP!)
----

I usually like to use ping6 ff02::1%ifname to find the addresses of the devices
in my network again, when I forgot about them or don't want to look them up :).

So basically the parameters given to unpack4() and unpack6() look wrong:
http://git.busybox.net/busybox/tree/networking/ping.c#n618
http://git.busybox.net/busybox/tree/networking/ping.c#n647

Cheers, Linus

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list