首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 生成的消息序列图从pcap捕获

生成的消息序列图从pcap捕获

  • 资源大小:2.38 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: pcap 捕获 生成 序列 消息

资 源 简 介

Purpose of this project is to generate mscgen-compatible (http://www.mcternan.me.uk/mscgen/) files based on pcap files. It depends on tshark (http://www.wireshark.org/) and mscgen if you want to draw the message sequence chart. How does it work? tshark output is read line by line. A simple regex is applied on every line. Tshark gives a good one-line summary of packet, hence pcap2msc uses it to be written on the arrow standing for an IP packet. Why Python? No real rationale, but a clean and easy to learn language. How do I use it? Got avses-tosip.cap from pcapr (http://pcapr.net/home). $ pcap2msc ./avses-tosip.cap sip | mscgen -T png -o avses-tosip.png This generates PNG sequence chart from cap file. pcap2msc uses tshark behind the scenes. What mscgen format looks like? msc { u0[label="148.147.33.67"],u1[label="148.147.33.5"],u2[label=

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP