Ethereal-dev: [Ethereal-dev] Re: best option for decoding iscsi?

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

From: Ming Zhang <mingz@xxxxxxxxxxx>
Date: Fri, 27 May 2005 09:10:57 -0400
On Fri, 2005-05-27 at 06:29 -0400, ronnie sahlberg wrote:
> what really would be useful would be to refactor the code
> in packet-scsi.c to be table driven
> and not if-else driven so it would be easy to add other commandsets.
about this table driven. i think this will be much faster than those if-
else stuff, and your anyway need to fill out all the scsi cdb. so you
will not have a sparse table at the end.

> 
> there is also i suspect but have not had time to investigate   what i
> belive an issue with the tracking of the commandsets used in the
> current code.
> i suspect it can only keep track of hte inq data properly for when
> lun-0 is used by fails for luns!=0.
> 
so far i did not see this problem.

> 
> when time permits i will refactor the scsi code so it works with other
> command sets as well.
> 
cool! looking forward to.


> im getting tired of looking at the hexdump for mmc4 when looking at
> issues with my dvd-r emulation which use non-sbc/spc/ssc commands.
> 
yes, m2. 

just feel curious, what your dvd-r emulation used for? maybe we can
discuss this off list.

thanks.

ming


> 
> 
> On 5/27/05, Dinesh G Dutt <ddutt@xxxxxxxxx> wrote:
> > Hi Ming,
> > 
> > Can you provide samples of packet captures that cause the problem that
> > you allude to ? It'll help us debug and fix the decoder, if necessary,
> > 
> > Dinesh
> > Ming Zhang wrote:
> > > I am wondering what is the best options to decode iscsi traffic?
> > > 
> > > Different options can give me different output. some packets are
> > > malformed in one option combination but not in another.
> > > 
> > > thanks.
> > > 
> > > ming
> > > 
> > > 
> > > 
> > > ------------------------------------------------------------------------
> > > 
> > > _______________________________________________
> > > Ethereal-dev mailing list
> > > Ethereal-dev@xxxxxxxxxxxx
> > > http://www.ethereal.com/mailman/listinfo/ethereal-dev
> > 
> > -- 
> > All of us yearn for a better society. Only when we recognize how we make
> > sense of the world around us will we truly be able to reach towards it.
> >                                                           - Dorothy Rowe
> > 
> > _______________________________________________
> > Ethereal-dev mailing list
> > Ethereal-dev@xxxxxxxxxxxx
> > http://www.ethereal.com/mailman/listinfo/ethereal-dev
> >

Attachment: signature.asc
Description: This is a digitally signed message part