Wireshark-bugs: [Wireshark-bugs] [Bug 10719] New: SEL Fast Message Dissector Enhancement for Opt

Date: Thu, 20 Nov 2014 22:09:04 +0000
Bug ID 10719
Summary SEL Fast Message Dissector Enhancement for Optional Fast SER Word Bit Naming
Product Wireshark
Version 1.11.x (Experimental)
Hardware x86
OS Windows 8
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:
Version 1.99.0 (Git Rev Unknown from unknown)

Copyright 1998-2014 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
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.23, with Cairo 1.10.2, with Pango 1.34.0, with
WinPcap (4_1_3), with libz 1.2.5, with GLib 2.38.0, with SMI 0.4.8, with c-ares
1.9.1, with Lua 5.2, with GnuTLS 3.1.22, with Gcrypt 1.6.0, with MIT Kerberos,
with GeoIP, with PortAudio V19-devel (built Oct  1 2014), with AirPcap.

Running on 64-bit Windows 8, build 9200, with WinPcap version 4.1.3 (packet.dll
version 4.1.0.2980), based on libpcap version 1.0 branch 1_0_rel0b (20091008),
with GnuTLS 3.1.22, with Gcrypt 1.6.0, without AirPcap.
       Intel(R) Core(TM) i7-3687U CPU @ 2.10GHz (with SSE4.2), with 8074MB 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.
--
This enhancement adds a user-configurable preference to provide a name
associated with a particular binary status ("word bit") returned from a
protective relay or controller.  

This word bit is returned in an unsolicited message with an index position and
time-stamp but the user would previously have to manually consult a
index-to-name lookup table to determine which particular status had changed. 
The optional user preference lets the end-user paste in a comma-separated list
of all the status names that will animate in the dissector tree alongside the
index position.

One question I had for this submission is regarding the different wmem memory
pools - wmem_file_scope vs. wmem_packet_scope.  A previous function
(time_msecs_to_str) was already used near where I added the new functionality
and it used wmem_packet_scope, contained within the same iterative for loop.  I
had to change this call over to wmem_file_scope to prevent memory stomping of
the new status word bit name array.  This should probably be looked at by
someone with much more intricate knowledge of this library than myself.


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