Ethereal-dev: Re: [Ethereal-dev] SCSI SPC-3 commands vs SPC-2 ...
If you're attempting to decode OSD, the Inquiry response contains the
peripheral type as 0x11 (byte 0, bits 0-4). You can save this information in
the SCSI device type block and then decode later commands based on this.
Dinesh
Richard Sharpe writes:
> On Tue, 12 Mar 2002, Richard Sharpe wrote:
>
> > Hi,
> >
> > The current iSCSI dissector calls the SCSI dissector, which only
> > understands SPC-2 SCSI commands, it seems.
> >
> > I need to be able to dissect OSD commands, which are carried in a CDB with
> > an SPC-3 Variable Length CDB indicator (0x7F).
>
> Hmmm, the problem I am experiencing is because Ethereal's SCSI dissector
> currently only understands SPC-2, SBC-2, and SSC-2. If the CDB Operation
> Code is not found in the SPC-2 command set, tben the dissector searches
> among the SBC-2 command set ... Which is where 0X7F is found :-(
>
> So, I need some way to tell what type of device we are talking about.
> Better check what the iSCSI spec says. If it says SPC-3, then I can pass
> an arg to the SCSI dissector telling it what command set to use.
>
> > What I am interested in knowing is: Is there an easy way to determine
> > whether or not a stream is using SPC-3 or what? Is it carried in the iSCSI
> > PDU or logon or something like that?
> >
> >
>
> --
> Regards
> -----
> Richard Sharpe, rsharpe@xxxxxxxxxx, rsharpe@xxxxxxxxx,
> sharpe@xxxxxxxxxxxx
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
--
Out beyond the ideas of right-doing and wrong-doing there is a field. I'll meet
you there. - Rumi