Create a call diagram with mermaid from a pcap file

Introduction The main purpose of this script is to generate a diagram such as Wireshark do with sip/rtp captures, obviously without the need to open Wireshark and using your mouse. More over, it can be used to automatically generate diagrams from a bunch of pcap or directly in a web interface. Whis this need and the desire to discover a little more python I tried to develop a script which is by the way not (I guess) the best way to achieve, but it works and this is what I want !...

December 1, 2021 · 4 min · Unam