Pregunta

Do you know any good JS or perl library to draw sequence diagram (in html, text or anything, really) from a CSV, pcap or any data type?

I am implementing a voip traffic analysing perl script, and I would want to be able to graph a few calls.
I usually use wireshark, but I am working with huge chunks of data and I have to extract some stats out of it, making it impossible to use the nice voip graphing tools.

¿Fue útil?

Solución

I don't know of any in the languages you specify, but here is one in ANSI C (mscgen) and another Ubuntu package (msc).

Another approach that might work for you is to filter your large pcap file using something like ngrep. It supports regular expressions, and I wish I had known about it earlier. If it can filter the packets you need, then you can use wireshark to generate diagrams on the filtered results. I just found another tool in the same vein called flowgrep, but I haven't tried it myself.

EDIT: Just found a tool that accepts descriptions in the same format as mscgen and renders them via javascript: mscgen_js

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top