Wireshark-commits: [Wireshark-commits] rev 51152: /trunk/ /trunk/epan/dissectors/: packet-scsi.c /t

Date: Mon, 05 Aug 2013 15:55:11 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51152

User: mmann
Date: 2013/08/05 08:55 AM

Log:
 SCSI dissector does not parse PERSISTENT RESERVE commands correctly.  Bug 9012 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9012).
 
 From Bart Van Assche.
 
 Changes:
 - Add REGISTER AND MOVE and REPLACE LOST RESERVATION service actions.
 - Decode the PARAMETER LIST LENGTH field correctly - this is a four
   byte field instead of a two byte field.
 - For the REGISTER AND MOVE service action, add support for decoding
   the RELATIVE TARGET PORT IDENTIFIER, TRANSPORT ID LENGTH and
   TransportID fields.
 - Fix parsing of the SERVICE ACTION field - this field is five bits
   wide instead of four.
 - Move the definition of the "scsi.persresv.control.unreg" field just
   below the other REGISTER AND MOVE service action parameter list fields.
 
 See also http://www.t10.org/cgi-bin/ac.pl?t=f&f=spc4r36h.pdf.
 
 - Only display persistent reservation information in a PERSISTENT
   RESERVE IN response if the ALLOCATION LENGTH field in the request
   was not zero.
 - Correct the offset of the (SPC-2) SCOPE-SPECIFIC ADDRESS field.
   This field starts at offset 16 and not at offset 8.
 - Correct the offsets of the SCOPE and TYPE fields. These fields
   are both contained in the byte at offset 21.
 - Correct the base of the TRANSPORTID LENGTH field from BASE_HEX
   into BASE_NONE since this is the base required by non-numeric types.
 
 For more information, see also:
 * http://www.t10.org/cgi-bin/ac.pl?t=f&f=spc4r36h.pdf
 * http://www.t10.org/cgi-bin/ac.pl?t=f&f=spc2r20.pdf

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +35 -9     packet-scsi.c    Modified

Directory: /trunk/
  Changes    Path          Action
  +1 -0      AUTHORS       Modified