Ethereal-users: Re: [Ethereal-users] Packet capture and corruption

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

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Mon, 10 Apr 2006 15:41:41 +0200 (CEST)
Hi,

You can use editcap for that, option -E:

   If the -E flag is used to specify a probability (between 0.0 and 1.0 inclusive), Editcap uses that probabil-
   ity to apply errors to each data byte in the file.  For instance, a probability of 0.02 means that each byte
   has a 2% chance of having an error.  This option is meant to be used for fuzz-testing protocol dissectors.

So you take a capturefile, spool it through editcap and let it insert the
amount of errors you want.

Thanx,
Jaap

On Mon, 10 Apr 2006, Gourab Baksi wrote:

> I want to know if Ethereal will allow me to capture iSCSI packets and corrupt
> them (i.e. simulation Data Digest errors)? Is there any way of capturing and
> changing the packet data for iSCSI? If yes, please drop some hints on how to
> achive the above...
>
> -Gourab
>
>