Wireshark-bugs: [Wireshark-bugs] [Bug 5920] New: DNP3 dissector incorrect constants AL_OBJ_FCTR_
Date: Fri, 13 May 2011 13:10:19 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5920

           Summary: DNP3 dissector incorrect constants AL_OBJ_FCTR_16NF
                    _FDCTR_32NF _FDCTR_16NF
           Product: Wireshark
           Version: 1.4.6
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: karinsmattatwork@xxxxxxxxx


Build Information:
Version 1.4.6 (SVN Rev 36706 from /trunk-1.4)

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 (32-bit) with GTK+ 2.16.6, with GLib 2.22.4, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.10.3,
with
Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Apr
18 2011), with AirPcap.

Running on Windows XP Service Pack 3, build 2600, without WinPcap, GnuTLS
2.10.3, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022

--
I've been seeing "Unknown Object - Abort Decoding... (0x150a), 1 point" on some
packets.  The devices being monitored don't report any problems.  Looked in
DNP3Spec-V6-Part2-Objects-20080901 and Object Group 21 Variarion 10 is valid. 
Checked wireshark source using svn web access and there are 3 mis-defined
constants.
http://anonsvn.wireshark.org/viewvc/trunk-1.4/epan/dissectors/packet-dnp.c?revision=33129&view=markup

338 #define AL_OBJ_FCTR_16NF   0x1510   /* 21 10 16-Bit Frozen Counter Without
Flag */

339 #define AL_OBJ_FDCTR_32NF  0x1511   /* 21 11 32-Bit Frozen Delta Counter
Without Flag */

340 #define AL_OBJ_FDCTR_16NF  0x1512   /* 21 12 16-Bit Frozen Delta Counter
Without Flag */

0x1510 should be 0x150a, 0x1511 should be 0x150b, 0x1512 should be 0x150c

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