gns3-web-ui icon indicating copy to clipboard operation
gns3-web-ui copied to clipboard

wireshark-capture in web-ui

Open m-uwh opened this issue 4 years ago • 6 comments

Hello,

I have seen at EVE-NG that it is possible to open Wireshark directly in the browser. Apparently a VM with Wireshark installed is started in the background and you can then start a capture without a Wireshark application on your own computer. Isn't this also a good idea for the GNS3 web client?

m-uwh avatar Jul 05 '21 08:07 m-uwh

Hi,

You should be able to do the same by installing the GNS3 web client pack: https://github.com/GNS3/gns3-webclient-pack/releases/tag/v1.0.0b3

Then in the web ui, right click on a link and start a new packet capture. Select "Start the capture visualization program" to automatically launch Wireshark.

Screenshot from 2021-07-07 22-02-40

grossmj avatar Jul 07 '21 12:07 grossmj

Hi,

the idea is that you don't need an installation on the client. Then it would be possible to access a Gns3-Server only via web-ui and capture packets. The Wireshark application would run directly on the Gns3-Server and the visualization of the application is displayed on the html5 web page e.g. via a vnc connection to the Wireshark application VM.

m-uwh avatar Jul 07 '21 12:07 m-uwh

Hum sorry I overlooked that you said "directly in the browser". We definitely would like to do something similar but this will take some time.

grossmj avatar Jul 07 '21 12:07 grossmj

Still having the same issue in Arch linux.

AAm-kun avatar May 07 '23 10:05 AAm-kun

There may be a few web interfaces for Wireshark but haven't found anything that we could just integrate in GNS3: cloudshark is commercial and wireshark.io seems to be gone.

Please let me know if I missed anything interesting.

grossmj avatar Aug 16 '23 04:08 grossmj

Mhm... I think EVE-NG starts a Docker container in the background, which then runs Wireshark. You would have to tell the container on which interfaces it should then capture, since you have initiated capturing on a specific link in the GNS3 interface. I could try to contribute, but I don't have much experience with this yet.

m-uwh avatar Aug 16 '23 07:08 m-uwh