ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 7226] New: OPC UA bytestring node id decoding is wrong

Date: Fri, 4 May 2012 10:35:51 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7226

           Summary: OPC UA bytestring node id decoding is wrong
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: nhi.nguyen.h@xxxxxxxxx


Build Information:
Version 1.7.2 (SVN Rev 42299 from /trunk)

Copyright 1998-2012 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 (32-bit) with GTK+ 2.24.6, with Cairo 1.10.2, with Pango 1.29.3, with
GLib 2.30.0, with libpcap, with libz 1.2.3.4, with POSIX capabilities (Linux),
with SMI 0.4.8, with c-ares 1.7.4, with Lua 5.1, without Python, with GnuTLS
2.10.5, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, with PortAudio
V19-devel (built Jul 27 2011 11:30:44), with AirPcap.

Running on Linux 3.0.0-16-generic-pae, with locale en_CA.UTF-8, with libpcap
version 1.1.1, with libz 1.2.3.4, GnuTLS 2.10.5, Gcrypt 1.5.0, without AirPcap.

Built using gcc 4.6.1.

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

Check the man page and http://www.wireshark.org for more information.
--
When the NodeID mask is 0x05 (bytestring), wireshark interprets the next 4
bytes as the namespace. Namespace should be 2 bytes only (see OPC UA Part 6 -
Mappings 1.00 Specification, section 5.2.2.6). Most OPC UA packets that have a
bytestring nodeid appear malformed in wireshark.

The patch attached corrects the namespace interpretation.

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