Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

custom block and custom options


I want to write a custom block in a pcapng file, that will be in json format.
I want the user to be able to filter messages by json key.

I can't find an example of a full dissector written that use register_pcapng_block_type_handler

Should i use the json dissector that already exist in wireshark as used in couchbase?

I also need to write json as custom options, in case we have a packet to write.
In this case the dissector should use register_pcapng_option_handler.