Ethereal-dev: Re: [Ethereal-dev] [PATCH] T.38 over TPKT over TCP

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

From: "Martin Regner" <martin.regner@xxxxxxxxx>
Date: Tue, 27 Jan 2004 06:43:58 +0100
Guy Harris wrote:
> For T.38-over-TPKT, is there only one IFP packet inside a TPKT PDU, or
> can there be more than one IFP packet per TPKT PDU?  If there is only
> one, a handle to a routine to dissect only one IFP packet should be
> supplied to the TPKT dissector.

There shall only be one T.38IFP packet per TPKT PDU, so it should really be
handle by a separate routine.

> For T.38-over-TCP, is there a convenient way to find the length of a
> PER sequence, using a bounded number of bytes from the beginning of the
> packet, and not using more bytes than the minimum length of a PER
> sequence?  If so, that should perhaps be exported by packet-per.c -
> it'd let you use "tcp_dissect_pdus()" to handle T.38-over-TCP
> desegmentation.  If not, the desegmentation might have to be done by
> hand.

No, there is no convenient way to find the length when the packet is PER
encoded.