gns3-gui icon indicating copy to clipboard operation
gns3-gui copied to clipboard

visualization of traffic path

Open qqqihang opened this issue 1 year ago • 2 comments

Whether there is a branch of GNS3 that integrates the function of traffic visualization, similar to the paper 'Visualization of Traffic Flows in a Simulated Network Environment to investigate abnormal Network Behavior in complex Network Infrastructures'. This paper implements a GNS3 plugin that can track the results of ECMP hash and highlight the path of traffic.

qqqihang avatar May 08 '23 09:05 qqqihang

The paper is available here: https://www.sciencedirect.com/science/article/pii/S1877050919305022

What's sad, is that the authors haven't pushlished their software as open source, at least I haven't found it. In GNS3 there is no branch supporting traffic visualization.

The authors are using PCAP, that should be unnecessary in GNS3. All traffic is forwarded through ubridge, so we already have all traffic.

I would implement it this way:

  • Add a statistic function in ubridge to count specific pakets. Ubridge already can filter traffic according BPF rules. So adding some statistics filter for pakets matching a BPF rule shouldn't be that hard.
  • Create a function in the GUI, that asks for a BPF rule (e.g. src host <src> and dst host <dest>) and adds a statistic filter for this rule in ubridge for all/some links in a project.
  • Read the statistics every few seconds and highlight the links with counters increasing.

But who shall implement this? @grossmj is already very busy.

b-ehlers avatar May 08 '23 13:05 b-ehlers

But who shall implement this? @grossmj is already very busy.

Correct and also I am looking to move away from uBridge in v3.x, replacing it with Linux bridges + VXLAN or GRE tunnels when using multiple hosts. I think there will be an option to keep using uBridge though if you are ready to accept some features will not be available.

grossmj avatar May 14 '23 05:05 grossmj