Skip to content

ztpaul/omci-wireshark-dissector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

将lua脚本导入wireshark中

  1. 在C:\Program Files\Wireshark\下创建lua目录
  2. 将BinDecHex.lua和omci.lua拷贝到新建的lua目录
  3. 在C:\Program Files\Wireshark\init.lua最后增加一行:dofile(DATA_DIR.."lua/omci.lua")

生成二进制文件

./gen_hexdump -i [你的log文件] -o omci.hex

如果你的log不满足,可以修改cpp文件并编译:g++ -Wall -std=c++0x -o gen_hexdump gen_hexdump.cpp

导入二进制文件

打开Wireshark,按如下操作操作: File -> Import from Hex Dump
Browse -> omci.hex
Encapsulation Type -> Ethernet
Ethernet -> Ethertype (hex): 8888

About

Wireshark Dissector for OMCI protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 90.7%
  • C++ 9.3%