How can I add a custom protocol analyzer to wireshark?

后端 未结 3 659
太阳男子
太阳男子 2021-01-30 13:33

I have a custom protocol that I\'m looking at in wireshark. I thought it\'d be useful if wireshark could disect it for me so that I don\'t have to decode the hex. Although I\'m

3条回答
  •  灰色年华
    2021-01-30 13:46

    Alternatively, instead of writing your own dissector, there are some projects that generate a protocol dissector from a definition or provide a DSL on top of the API:

    • wssdl -- A Lua library that defines a domain-specific language built on top of Lua for the purpose of defining protocol dissectors.
    • wsgd -- A generic dissector that parses a protocol definition and uses it to dissect messages.
    • asn2wrs -- A tool that compiles an ASN.1 specification and some C glue to a Wireshark dissector.
    • csjark -- A tool for generating Lua dissectors from C struct definitions to use with Wireshark.

提交回复
热议问题