Hi,
I finished a new dissector and it
successfully displays everything on Linux 8.0. When I tried on another
fresh-installed linux system, it displays only the protocol column and info
column in the upper pane correctly. However, there is nothing in the middle pane
but "unreassembled packet : proto_name_xxx" shown after IP and TCP packet info.
When I click on the "unreassembled packet: proto_name_xxx", the corresponding
binary is not highlighted either.
I found the following comments in
packet-tcp.c:
/*
* Construct a tvbuff
containing the amount of the payload we have
*
available. Make its reported length the amount of data in the
PDU.
*
* XXX - if
reassembly isn't enabled. the subdissector will throw
a
* BoundsError exception, rather than a
ReportedBoundsError exception.
* We really want a
tvbuff where the length is "length", the reported
*
length is "plen", and the "if the snapshot length were
infinite"
* length is the minimum of the reported
length of the tvbuff handed
* to us and "plen", with
a new type of exception thrown if the offset
* is
within the reported length but beyond that third length,
with
* that exception getting the "Unreassembled
Packet" error.
*/
Could somebody explain to me and tell
me how to solve it?
Thanks! I really appreciate it.
Michael