THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How to create custom plugin based on another custom plugin?

  • retag add tags

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/.

gskeep1145's avatar
1
gskeep1145
asked 2019-10-02 17:21:38 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

See 1.7.1 Dissector Tables of README.dissector

Jaap's avatar
13.7k
Jaap
answered 2019-10-02 18:09:58 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer