Ethereal-dev: Re: [Ethereal-dev] new ICE dissector (second try)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 06 Oct 2004 03:04:15 -0700
Guy Harris wrote:

TCP reassembly shouldn't be hard to add, if you use "tcp_dissect_pdus()"; the "fixed_len" argument should be ICEP_HEADER_SIZE (as the last field in the header is the message length), the "get_pdu_len()" routine should just return "tvb_get_letohl(tvb, 10)" (as the message length includes the header), and the ICE dissector should do heuristic checks and then call "tcp_dissect_pdus()" to dissect the packets.

It would probably be sufficient for the heuristic check to check only for the magic number at the beginning of the packet.

I've checked that in.