Ask Your Question
0

How to create custom plugin based on another custom plugin?

asked 2019-10-02 17:21:38 +0000

Not sure if this question makes sense and sorry for that as I am new.

I have a protocol sent over UDP and successfully made a plugin to parse the header information based on"UDP.port". I followed the guide here: https://www.wireshark.org/docs/wsdg_h... to create the header plugin and my parser is very similar. Each packet in my protocol contains different parameters based on what is read in the header. Now I want to further dissect the data with one of many custom plugins based on the first 4 bytes of the header, this would be based on "CUSTOM.id" similar to the header being based on UDP.

How can I create a second plugin to decode the rest of the data depending on what is read in the header? I am putting my plugins here: plugins/epan/.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-02 18:09:58 +0000

Jaap gravatar image

See 1.7.1 Dissector Tables of README.dissector

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-10-02 17:21:38 +0000

Seen: 56 times

Last updated: Oct 02 '19