This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Control Wireshark GUI by another application

0

I'm writing an application that analyzes network traffic. This app launches Wireshark GUI with the captured data and filters.

Now, I want to jump to certain packets, change filters, what ever.., or control that already running instance of Wireshark. Is that possible? And if, how can it be done in general?

Some details:
I'm working with Mono under Windows and Linux. While it would be nice to have a solution for both, I could also write a solution for a dedicated environment.

It could be that this Question had the same intent but if so, it seems misunderstood.

asked 14 Jan '16, 09:26

DuStellstFragen's gravatar image

DuStellstFragen
6114
accept rate: 0%

edited 14 Jan '16, 09:28


One Answer:

0

There is a command line parameter "-g" to open Wireshark and have it jump to a specific packet. E.g.

wireshark -g 111 test.pcapng

opens the file "test.pcapng" and jumps to packet 111.

Other than that, check this question:

https://ask.wireshark.org/questions/47107/go-to-packet-via-an-api

answered 14 Jan '16, 09:31

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

Thank you Jasper for your reply. I don't want to launch another instance of Wireshark. But the last answer by Kurt Knochner in the thread you mentioned seems interesting. Thanks!

(14 Jan '16, 10:45) DuStellstFragen