Wireshark-bugs: [Wireshark-bugs] [Bug 11393] New: The modecfg attribute type INTERNAL_IP6_ADDRES

Date: Thu, 23 Jul 2015 16:39:40 +0000
Bug ID 11393
Summary The modecfg attribute type INTERNAL_IP6_ADDRESS is not decoded correctly
Product Wireshark
Version Git
Hardware x86
OS Windows 7
Status UNCONFIRMED
Severity Major
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:
$ wireshark -v
wireshark 1.10.3 (SVN Rev Unknown from unknown)

Copyright 1998-2013 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.22, with Cairo 1.12.16, with Pango 1.36.0,
with
GLib 2.38.1, with libpcap, with libz 1.2.8, with POSIX capabilities (Linux),
without libnl, with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.1, without Python,
with GnuTLS 3.2.4, with Gcrypt 1.5.3, with MIT Kerberos, with GeoIP, with
PortAudio V19-devel (built May  6 2013 12:08:07), with AirPcap.

Running on Linux 3.11.10-25-desktop, with locale en_US.UTF-8, with libpcap
version 1.3.0, with libz 1.2.8, GnuTLS 3.2.4, Gcrypt 1.5.4, without AirPcap.
        Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz

Built using gcc 4.8.1 20130909 [gcc-4_8-branchrevision 202388].
--
According to RFC7296, section 3.15.1:

"The INTERNAL_IP6_ADDRESS is made up of two
 fields: the first is a 16-octet IPv6 address, and the second is a
 one-octet prefix-length as defined in [ADDRIPV6]."

In the code, the type is declared as FT_IPv4 and the field is decoded only if
it has 16 bytes. Instead, it should be declared as FT_IPv6 and the first 16
bytes should be added to the tree.


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