Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5044] New: 6LoWPAN Mesh header has source & destination le

Date: Thu, 22 Jul 2010 14:58:04 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5044

           Summary: 6LoWPAN Mesh header has source & destination length
                    bits flipped in dissector
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jan.bugzilla.web@xxxxxxxxxxx


Created an attachment (id=4950)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4950)
Mesh header address length bits patch svn trunk

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
The current(r33618) 6LoWPAN dissector has a bug that has the bit flags that
specifies the orginator and the destination address flipped(0<->1) which causes
the following addresses to be interpreted as 16-bit instead of 64-bit
addresses.

As specified in: http://tools.ietf.org/html/rfc4944#page-9 

  "V: This 1-bit field SHALL be zero if the Originator (or "Very first")
      Address is an IEEE extended 64-bit address (EUI-64), or 1 if it is
      a short 16-bit addresses.

   F: This 1-bit field SHALL be zero if the Final Destination Address is
      an IEEE extended 64-bit address (EUI-64), or 1 if it is a short
      16-bit addresses."

I attached a patch to the svn trunk that adds a not operator to the if
statements and changes the descriptions. If preferred the 'then' and else
blocks could be interchanged instead.

I also found another implementation at:
http://www.pats.ua.ac.be/content/software/sunspots/6lowpan-0.1.tar.gz which
might be interesting for comparison and has some other dissectors too. More
info at: https://www.sunspotworld.com/forums/viewtopic.php?f=44&t=2461

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.