Ethereal-dev: Re: [Ethereal-dev] SCSI SPC-3 commands vs SPC-2 ...

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

From: Richard Sharpe <rsharpe@xxxxxxxxxx>
Date: Tue, 12 Mar 2002 12:33:43 +1030 (CST)
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