I am not sure if stackoverflow is the right place to put this question, but it seems like.
I am trying to write a dissector using the generic dissector plugin (http://wsgd.free.fr/). I have a small protocol that uses the first packet of a connection to send some 开发者_JAVA技巧config and the rest to send data. So I need to write a dissector that is able to interpret the packet according to the sequence number.
I have read the documentation but the use of functions is still not clear to me. has anyone that has created a dissector using this tool give me a tip?
thanks
Have you resolved your issue? It looks like wsgd is not helpful writting protocol dissectors depending on meta-information (message sequence, stateful protocols), you should probably use Lua instead.
You can use Global Data in wsgd dissector.
Declare it in headaer file with:
GLOBAL_DATA_TYPE T_global_data
The whole example is here: http://wsgd.free.fr/wsgd_format_GLOBAL_DATA_more_info.txt.
精彩评论