custom block and custom options
Hi
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.
Might be out of date, but have you seen this wiki page?
yes i saw it, What about the question using the json dissector. And it is not full example.
@grahamb Does wireshark support custom block as specified in pcapng?
As per the Wiki page, there appears to be support, but I'm not aware of any examples of it being used.