1 | initial version |
if protbuf inside protobuf is stored as byte then following will work.
local pbuf_dissector_table = DissectorTable.get("protobuf_field")
pbuf_dissector_table:add(<fullpathofbyteprotobuffield>,newprotodissector)
then in the new dissector do following:
pinfo.private["pb_msg_type"] = "message," .. <actulatypeofnestedprotobuf>
Dissector.get("protobuf"):call(tvb, pinfo, subtree)
2 | No.2 Revision |
if protbuf inside protobuf is stored as byte then following will work.
local pbuf_dissector_table = DissectorTable.get("protobuf_field")
pbuf_dissector_table:add(<fullpathofbyteprotobuffield>,newprotodissector)
then in the new chained dissector do following:
pinfo.private["pb_msg_type"] = "message," .. <actulatypeofnestedprotobuf>
Dissector.get("protobuf"):call(tvb, pinfo, subtree)