Wireshark-bugs: [Wireshark-bugs] [Bug 6304] New: Incorrect dissection of ZigBee "Write Attribute

Date: Thu, 1 Sep 2011 12:56:40 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6304

           Summary: Incorrect dissection of ZigBee "Write Attributes
                    Response" frame
           Product: Wireshark
           Version: 1.6.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: diego@xxxxxxxxxxxxxxxx


Created an attachment (id=6910)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6910)
Screenshots of request and response dissections

Build Information:
Version 1.6.1 (SVN Rev 38096 from /trunk-1.6)

Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> 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.22.1, with GLib 2.26.1, with WinPcap (version
unknown), with libz 1.2.5, without POSIX capabilities, without libpcre, without
SMI, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.10.3, with
Gcrypt 1.4.6, without Kerberos, with GeoIP, with PortAudio V19-devel (built Jul
18 2011), with AirPcap.

Running on 64-bit Windows 7 Service Pack 1, build 7601, with WinPcap version
4.1.2 (packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.10.3, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022

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

Check the man page and http://www.wireshark.org for more information.
--
Dissection of the "Write Attributes Response" packet is incorrect. See
attached images for an example including a request and its response.

The request is to write to a single attribute. The response contains only one
status record. WireShark is incorrectly showing two status records and a
"malformed" trailer. This is incorrect, as the response contains a single
status record, which is three bytes long (1 byte status + 2 bytes attribute
ID).
This is described in the ZCL specification, page 23
(075366r01ZB_AFG-ZigBee_Cluster_Library_Public_download_version.pdf).

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