Dear all! I would like to write a chained dissector for SCTP Data Chunk but I don't know how can I reach it in the Dissector Table. I know I can do this with SCTP like this: first: then in the definition my dissector:
finally:
But I cannot dissect an SCTP Data Chunk in a way like this. The Data Chunk looks in wireshark like a different protocol with its own grey trail and treeview. The payload protocol identifier of sctp finds out the real protocol of the data chunk. asked 08 Aug '13, 06:31 torinos edited 08 Aug '13, 08:41 JeffMorriss ♦ |
One Answer:
The SCTP dissector has 2 dissector tables: "sctp.port" (which allows you to grab packets for a particular port) and "sctp.ppi" (which allows you to grab packets for a particular Payload Protocol Identifier). So I think you'd call DissectorTable.get("sctp.port") and then the rest would be about the same (I guess, I don't use Lua). answered 08 Aug '13, 08:41 JeffMorriss ♦ |