[Bug 6194] New: udhcpc6 source address is null, should be link-local address

bugzilla at busybox.net bugzilla at busybox.net
Wed Apr 17 09:08:57 UTC 2013


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

           Summary: udhcpc6 source address is null, should be link-local
                    address
           Product: Busybox
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: busybox at mattwhitlock.name
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


IETF RFC 3315, section 16, says:
"The client MUST use a link-local address assigned to the interface for which
it is requesting configuration information as the source address in the header
of the IP datagram."

udhcpc6 is sending DHCPv6 datagrams using a null source address:

09:05:08.029589 IP6 (hlim 1, next-header UDP (17) payload length: 42) ::.546 >
ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=13472b (client-ID hwaddr type 1
003018a4dc7c) (IA_NA IAID:3013793638 T1:0 T2:0))
        0x0000:  6000 0000 002a 1101 0000 0000 0000 0000
        0x0010:  0000 0000 0000 0000 ff02 0000 0000 0000
        0x0020:  0000 0000 0001 0002 0222 0223 002a 3399
        0x0030:  0113 472b 0001 000a 0003 0001 0030 18a4
        0x0040:  dc7c 0003 000c b3a2 d766 0000 0000 0000
        0x0050:  0000

Compare this to dibbler, which uses the link-local address of the interface as
the source address:

09:01:25.221878 IP6 (hlim 1, next-header UDP (17) payload length: 52)
fe80::230:18ff:fea4:dc7c.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit
(xid=b8206c (client-ID hwaddr/time type 1 time 416299463 003018a4dc7d) (IA_PD
IAID:1 T1:4294967295 T2:4294967295) (elapsed-time 6200))
        0x0000:  6000 0000 0034 1101 fe80 0000 0000 0000
        0x0010:  0230 18ff fea4 dc7c ff02 0000 0000 0000
        0x0020:  0000 0000 0001 0002 0222 0223 0034 84e3
        0x0030:  01b8 206c 0001 000e 0001 0001 18d0 39c7
        0x0040:  0030 18a4 dc7d 0019 000c 0000 0001 ffff
        0x0050:  ffff ffff ffff 0008 0002 1838

-- 
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