0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

5Gのシーケンスをいい感じに図にしてくれるやつ

0
Posted at

これは何?

  • 5g-trace-visualizerという、pcapを放り込むといい感じに5Gのシーケンス図を作ってくれるやつを使ってみた

前提条件

  • ハード:MacBook Pro(Apple M2 Max)
  • OS:OS X(Sequoia 15.5)
  • Java環境
  • plantuml.jar(後述)
  • Wireshark

セットアップ

  • git clone
  • cd 5g-trace-visualizer
  • curl -L -o plantuml-jar-asl-1.2019.12.zip "http://sourceforge.net/projects/plantuml/files/plantuml-jar-asl-1.2019.12.zip/download"
    • plantuml.jarというやつのインストール
  • unzip plantuml-jar-asl-1.2019.12.zip
  • この後は必要なPythonモジュールのインストール
  • 私の場合はホストのPython環境が終わっているので、適当に仮想環境作って使いました
  • pip install --no-deps lxml
  • pip install pyyaml packaging plotly pandas numpy

テスト

  • python3 trace_visualizer.py -wireshark "OS" ./doc/free5gc.pcap
    みたいなのをやると、こんな感じの図がSVGで出てくるので、ブラウザとかに貼り付ける
    スクリーンショット 2025-06-23 13.32.47.png
  • 詳しい使い方はまだよくわかってないけど便利そう
  • おしまい
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?