Ethereal-dev: Re: [Ethereal-dev] Changing data in the byte view ...

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

From: Loïc Minier <lool+ethereal@xxxxxxxxxx>
Date: Wed, 13 Aug 2003 10:02:59 +0200
Richard Sharpe <rsharpe@xxxxxxxxxxxxxxxxx> - Tue, Aug 12, 2003:

> In talking to Guy, we figured that we could construct a new TVB and then 
> hang it off the per frame data associated with the frame that was 
> modified.

 I am having a similar problem with a proprietary protocol here, I am
 trying to change bytes of a captured packet and resend the packet.
   The problem appears because of my protocol being on top of a
 checksuming protocol.

 Same problem appears when changing data in the headers of a protocol
 like WSP where the length of the headers is indicated at the beginning
 of the packet.

 However, it would be really great to have such a feature in
 Ethereal!
   In _my_ stack, each type of packets provides an encode() and
 a decode() function, which permits the reencoding of modified
 packets. What about a 'call_assemblor' in each packet-*.c that wants to
 provide re-encoding?


    Regards,

-- 
Lo�c Minier <lool@xxxxxxxx>