Hi, Some time ago I wrote a Wireshark plugin (called Syncro) that enables a program to send commands to Wireshark. The command set is based on the capabilities
provided by the Wireshark Plugin IF API (go to frame, apply filter, etc.). The commands are sent to Wireshark via a TCP connection, and so there is a small TCP service running on a separate thread in Wireshark. The TCP
service, multi-threading and thread-to-thread communications are built on Qt. Note the email trail below, where Roland suggests that it might not be necessary to use Qt. I’d like to submit this to the Wireshark project as I think it could form the basis for a general capability of controlling Wireshark from a loosely
coupled application. Is this code suitable for submission to the project? Thanks and regards…Paul From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]
On Behalf Of Roland Knall This is exactly what I do here with my plugin. Although without the TCP part. The method to do it without using Qt in the dissector is to implement a tap interface in the dissector, and register the plugin on that interface. The plugin
than can start the TCP server and monitors the tap interface and reacts accordingly to the commands. Would work fine for you, the same way you do it now, but would be far easier to maintain. The dissector would be stable and does never need to change, and
all you would have to recompile is the plugin. regards Roland On Fri, Aug 5, 2016 at 12:46 PM, Paul Offord <Paul.Offord@xxxxxxxxxxxx> wrote:
______________________________________________________________________ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Advance Seven Ltd. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Advance Seven Ltd. Registered in England & Wales numbered 2373877 at Endeavour House, Coopers End Lane, Stansted, Essex CM24 1SJ ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ |
- Follow-Ups:
- Re: [Wireshark-dev] Remote Control Plugin - Can I submit to the Wireshark project
- From: Anders Broman
- Re: [Wireshark-dev] Remote Control Plugin - Can I submit to the Wireshark project
- From: Dario Lombardo
- Re: [Wireshark-dev] Remote Control Plugin - Can I submit to the Wireshark project
- Prev by Date: Re: [Wireshark-dev] VS 2015 or not
- Next by Date: Re: [Wireshark-dev] Remote Control Plugin - Can I submit to the Wireshark project
- Previous by thread: Re: [Wireshark-dev] VS 2015 or not
- Next by thread: Re: [Wireshark-dev] Remote Control Plugin - Can I submit to the Wireshark project
- Index(es):