Wireshark-dev: Re: [Wireshark-dev] GUI functionality from plugins

From: David Ameiss <netshark@xxxxxxxxxxxxx>
Date: Thu, 20 Sep 2012 08:29:48 -0500
As a follow-up... I explored building the graph_analysis modules directly into my plugin. However, aside from references to some internal GUI functions (which I can easily replace), clicking on one of the flows in the dialog selects that frame in the capture... which requires access to cfile... which brings me right back to the original problem.

On 09/19/2012 04:13 PM, David Ameiss wrote:
I can make this work. However, the graph_analysis_*() functions are not
accessible under Windows (at least from a plugin) as they are not
exported from the wireshark executable - so I think I'm back to the same
problem.

Unless, of course, there is yet another hook that I've managed to
overlook. Which would not surprise me :-)

On 09/19/2012 03:07 PM, David Ameiss wrote:
I missed that. I'll check it out. It seems (from a cursory look at the
code) that the retap happens upon selecting the menu item. Currently I
have a dialog that allows selection of all packets, or those currently
displayed. But splitting that into 2 menu items shouldn't be a problem.

Thanks - I'll rework the code and let you know.

On 09/19/2012 02:48 PM, Tony Trinh wrote:
On Wed, Sep 19, 2012 at 2:22 PM, David Ameiss<netshark@xxxxxxxxxxxxx>
wrote:
For us, the critical item is cfile, to allow re-tapping captures.

That sounds like the job of retap_packets [1]. Does that not work for
you?

[1]
http://anonsvn.wireshark.org/viewvc/trunk/epan/funnel.h?revision=45009&view=markup#l77


___________________________________________________________________________


Sent via: Wireshark-dev mailing list<wireshark-dev@xxxxxxxxxxxxx>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe






--
David Ameiss
netshark@xxxxxxxxxxxxx