Thanks for this framework, looks promising!
I have a custom protocol which has a header and payload is encoded with Google Protocol Buffers 3. I would need to explicitly call protobuf_field dissector table and define the protobuf schema to use. It seems like this is not possible at the moment.
With lua you would use something like
local protobuf_dissector = Dissector.get("protobuf") pinfo.private["pb_msg_type"] = "message,MyMessage" pcall(Dissector.call, protobuf_dissector...)
Also, is there a way to provide a calculated len_field attribute? Many protocols provide a length field that includes header size, so it would be necessary to deduct header size from a length field.
Thanks for this framework, looks promising! I have a custom protocol which has a header and payload is encoded with Google Protocol Buffers 3. I would need to explicitly call protobuf_field dissector table and define the protobuf schema to use. It seems like this is not possible at the moment. With lua you would use something like
local protobuf_dissector = Dissector.get("protobuf") pinfo.private["pb_msg_type"] = "message,MyMessage" pcall(Dissector.call, protobuf_dissector...)
Also, is there a way to provide a calculated len_field attribute? Many protocols provide a length field that includes header size, so it would be necessary to deduct header size from a length field.