Wireshark-bugs: [Wireshark-bugs] [Bug 10673] New: IPv6 RPL Routing Header calculates Full Addres
Date: Fri, 07 Nov 2014 10:37:37 +0000
Bug ID | 10673 |
---|---|
Summary | IPv6 RPL Routing Header calculates Full Address fields using Mobile IP's Home Address instead of the IPv6's Destination address |
Product | Wireshark |
Version | 1.12.1 |
Hardware | x86-64 |
OS | Windows 7 |
Status | UNCONFIRMED |
Severity | Normal |
Priority | Low |
Component | Dissection engine (libwireshark) |
Assignee | [email protected] |
Reporter | [email protected] |
Created attachment 13237 [details] IPv6 RPL Routing Header with Mobile IP Routing Header Build Information: Version 1.12.1 (v1.12.1-0-g01b65bf from master-1.12) Copyright 1998-2014 Gerald Combs <[email protected]> and contributors. 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 (64-bit) with GTK+ 2.24.23, with Cairo 1.10.2, with Pango 1.34.0, with GLib 2.38.0, with WinPcap (4_1_3), with libz 1.2.5, with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.2, without Python, with GnuTLS 3.1.22, with Gcrypt 1.6.0, without Kerberos, with GeoIP, with PortAudio V19-devel (built Sep 16 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), GnuTLS 3.1.22, Gcrypt 1.6.0, without AirPcap. Intel(R) Core(TM) i5-3550 CPU @ 3.30GHz, with 16345MB of physical memory. Built using Microsoft Visual C++ 10.0 build 40219 Wireshark is Open Source Software released under the GNU General Public License. Check the man page and http://www.wireshark.org for more information. -- Discovered while working on Pcap.Net (http://pcapdot.net). In the attached pcap file, there's a single IPv6 packet that includes a few extension headers. The first extension header is a Mobile IP Routing Header, with Home Address 7df4:9a44:d165:c90c:906a:2d2d:4632:1f72. The second extension header is a an RPL Routing Header, with CmprI = 2. According to RFC 6554, this means that the first two octets of the non-last addresses in the RPL Routing Header should come from the IPv6 destination address (e48f:ce5:4065:25d4:bbb0:114a:e6bc:5c8a), so it should take e48f. " A common network configuration for a RPL routing domain is that all routers within a RPL routing domain share a common prefix. The SRH introduces the CmprI, CmprE, and Pad fields to allow compaction of the Address[1..n] vector when all entries share the same prefix as the IPv6 Destination Address field of the packet carrying the SRH. The CmprI and CmprE fields indicate the number of prefix octets that are shared with the IPv6 Destination Address of the packet carrying the SRH. The shared prefix octets are not carried within the Routing header and each entry in Address[1..n-1] has size (16 - CmprI) octets and Address[n] has size (16 - CmprE) octets. When CmprI or CmprE is non-zero, there may exist unused octets between the last entry, Address[n], and the end of the Routing header. The Pad field indicates the number of unused octets that are used for padding. Note that when CmprI and CmprE are both 0, Pad MUST carry a value of 0. " However, when Wireshark calculates the the RPL's Full Address field, it takes the first two octets from the Mobile IP's Home Address field, so it takes 7df4 instead of e48f.
You are receiving this mail because:
- You are watching all bug changes.
- Prev by Date: [Wireshark-bugs] [Bug 10488] Wireshark should let you work with multiple capture files.
- Next by Date: [Wireshark-bugs] [Bug 10674] New: DNS Name Length for Zone RR on root is 6
- Previous by thread: [Wireshark-bugs] [Bug 10672] SMPP does not display properly the hour field in the Submit_sm Validity Period field
- Next by thread: [Wireshark-bugs] [Bug 10674] New: DNS Name Length for Zone RR on root is 6
- Index(es):