Wireshark-bugs: [Wireshark-bugs] [Bug 10462] New: 6LoWPAN Mesh headers not treated as encapsulat
Date: Wed, 10 Sep 2014 13:37:30 +0000
Bug ID 10462
Summary 6LoWPAN Mesh headers not treated as encapsulating address
Product Wireshark
Version 1.99.x (Experimental)
Hardware x86
OS Windows 7
Status UNCONFIRMED
Severity Major
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter kevin.bracey@arm.com

Created attachment 13050 [details]
Capture with mesh headers; 34-38 decoded incorrectly

Build Information:
Version 1.99.0-1722-gc6c8dc2 (v1.99.0-rc1-1722-gc6c8dc2 from master)

Copyright 1998-2014 Gerald Combs <gerald@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GTK+ 2.24.23, with Cairo 1.10.2, with Pango 1.34.0, with
WinPcap (4_1_3), with libz 1.2.5, with GLib 2.38.0, with SMI 0.4.8, with c-ares
1.9.1, with Lua 5.2, with GnuTLS 3.1.22, with Gcrypt 1.6.0, with MIT Kerberos,
with GeoIP, with PortAudio V19-devel (built Sep 10 2014), with AirPcap.

Running on 64-bit Windows 7 Service Pack 1, build 7601, with WinPcap version
4.1.3 (packet.dll version 4.1.0.2980), based on libpcap version 1.0 branch
1_0_rel0b (20091008), with GnuTLS 3.1.22, with Gcrypt 1.6.0, without AirPcap.
Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz (with SSE4.2), with 16068MB of
physical memory.


Built using Microsoft Visual C++ 12.0 build 30501

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
In fully-compressed modes, there are no bits of address stored in the 6LoWPAN
IPHC header - all address bits come from context (prefix) and the encapsulating
address header (suffix).

When a Mesh header is present, Wireshark does not appear to use it as an
encapsulating address header correctly.

In the attached trace, packet 34 is transmitted to short IEEE-802.15.4 address
0x0800, and the mesh header says the packet has final destination 0x0400.

The 6LoWPAN IPHC header has destination mode "stateless compressed"; the IP
destination should thus be fe80::ff:fe00:400.

Wireshark is incorrectly decompressing the IP destination as fe80::ff:fe00:800.


You are receiving this mail because:
  • You are watching all bug changes.