Wireshark-bugs: [Wireshark-bugs] [Bug 9452] New: Patch: Stats_tree enhancements for sorting, ave
Date: Mon, 18 Nov 2013 15:44:30 +0000
Bug ID 9452
Summary Patch: Stats_tree enhancements for sorting, averages and burst rate
Classification Unclassified
Product Wireshark
Version 1.11.x (Experimental)
Hardware All
OS All
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter deonvdw@gmail.com
Attachment #12120 Flags review_for_checkin?

Created attachment 12120 [details]
Patch for above functionality

Build Information:
wireshark 1.11.1 (SVN Rev Unknown from unknown)

Copyright 1998-2013 Gerald Combs <gerald@wireshark.org> 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+ 3.4.4, with Cairo 1.10.2, with Pango 1.30.1, with
GLib 2.32.4, with WinPcap (4_1_3), with libz 1.2.5, with SMI 0.4.8, with c-ares
1.9.1, with Lua 5.1, without Python, with GnuTLS 2.12.18, with Gcrypt 1.4.6,
with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Nov 18 2013),
with AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.3
(packet.dll version 4.1.0.2980), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.
        Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, with 511MB of physical memory.


Built using Microsoft Visual C++ 10.0 build 40219

--
I recently wrote a stats_tree plug-in for which I wanted sort and other extra
functionality. This patch is the result of the code I wrote - which I'd like to
offer back to the community. I've made a few updates to the pinfo_stats_tree
plug-in to demonstrate the features.

- Bug fix: object leak in stats_tree after a tap reset (for example apply
statistics preferences with a stats_tree window open)
- Bug fix: correct sample code in README.stats_tree

- Add: slash in plug-in name now creates submenu as docs describe (was a bug?)
- Add: menu separator before the stat_tree registered plug-ins
- Add: stats_tree can now calculate averages for nodes; automatically
calculated
       for range nodes. Add section in README.stats_tree describing averages.
- Add: stats_tree can now calculate burst rate of each node (like rate but with
a
       shorter, sliding time window)
- Add: sorting for stats_tree plug-ins. Can sort on node name, count, average,
       min, max values and burst rate.
- Add: preferences for stats_tree system (default sort column, burst calc
params)
- Add: stats_tree window copy to clipboard and export and plain text, csv and
XML.

- Added sample of new functionality in
$srcdir/plugins/stats_tree/pinfo_stats_tree.c
- Moved all stats_tree sample plug-ins to "IP Statistics" submenu.


Source code used: wireshark 1.11.1 source from www.wireshark.org

p.s. Thanks for making wireshark such a wonderful tool!!!


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