Return-Path: <owner-ips-outgoing@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips-outgoing@ece.cmu.edu>
Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h5OHwqY19488
	for <ipsml@ece.cmu.edu>; Tue, 24 Jun 2003 13:58:52 -0400 (EDT)
Received: by bache.ece.cmu.edu (Postfix, from userid 953)
	id 8B2967C; Tue, 24 Jun 2003 13:58:51 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by bache.ece.cmu.edu (Postfix) with ESMTP
	id 6719D82; Tue, 24 Jun 2003 13:58:48 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix)
	id 25ED989E0; Tue, 24 Jun 2003 13:58:34 -0400 (EDT)
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by sos.ece.cmu.edu (Postfix) with ESMTP id 0DE4589D6
	for <ips-outgoing@sos.ece.cmu.edu>; Tue, 24 Jun 2003 13:58:34 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix)
	id E06796E; Tue, 24 Jun 2003 13:58:33 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id B9C047A; Tue, 24 Jun 2003 13:58:33 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by osgood.ece.cmu.edu (Postfix) with ESMTP id 4670B6E
	for <ips-outgoing@ece.cmu.edu>; Tue, 24 Jun 2003 13:58:31 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix, from userid 363)
	id 1AB1A89E8; Tue, 24 Jun 2003 13:58:31 -0400 (EDT)
X-Original-To: ips@sos.ece.cmu.edu
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by sos.ece.cmu.edu (Postfix) with ESMTP id E8D6089D6
	for <ips@sos.ece.cmu.edu>; Tue, 24 Jun 2003 13:58:28 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix)
	id 6C4AF6E; Tue, 24 Jun 2003 13:58:28 -0400 (EDT)
Delivered-To: ips@ece.cmu.edu
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id 471267A; Tue, 24 Jun 2003 13:58:28 -0400 (EDT)
Received: from atlrel7.hp.com (atlrel7.hp.com [156.153.255.213])
	by osgood.ece.cmu.edu (Postfix) with ESMTP id 7685F6E
	for <ips@ece.cmu.edu>; Tue, 24 Jun 2003 13:58:25 -0400 (EDT)
Received: from rosemail.rose.hp.com (rosemail.rose.hp.com [15.96.64.26])
	by atlrel7.hp.com (Postfix) with ESMTP
	id 757051C0006A; Tue, 24 Jun 2003 13:58:24 -0400 (EDT)
Received: from swathi (dhcp-roseor-bdi176.rose.hp.com [15.23.138.176]) by rosemail.rose.hp.com with SMTP (8.7.1/8.7.3 SMKit7.02) id KAA15765; Tue, 24 Jun 2003 10:58:23 -0700 (PDT)
Message-ID: <001601c33a7a$346aee30$b08a170f@rose.hp.com>
From: "Mallikarjun C." <cbm@rose.hp.com>
To: <ips@ece.cmu.edu>
Cc: <abhijit_lahiri@yahoo.com>, <supriyo_p2003@yahoo.com>
References: <20030624141213.59998.qmail@web41409.mail.yahoo.com>
Subject: Re: Clarification requested on iscsi-draft-20 w.r.t target behavior on error conditions
Date: Tue, 24 Jun 2003 10:58:23 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Sender: owner-ips@ece.cmu.edu
Precedence: bulk
X-Spam-Status: No, hits=-13.7 required=5.0
	tests=BAYES_01,QUOTE_TWICE_1,REFERENCES
	version=2.50
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)

Abhijit, comments below.
--
Mallikarjun

Mallikarjun Chadalapaka
Networked Storage Architecture
Network Storage Solutions
Hewlett-Packard MS 5668 
Roseville CA 95747
cbm@rose.hp.com

----- Original Message ----- 
From: "Abhijit Lahiri" <abhijit_lahiri@yahoo.com>
To: <ips@ece.cmu.edu>
Cc: <abhijit_lahiri@yahoo.com>; <supriyo_p2003@yahoo.com>
Sent: Tuesday, June 24, 2003 7:12 AM
Subject: Clarification requested on iscsi-draft-20 w.r.t target behavior on error conditions


> Hi All,
> 
> We are in the process of desigining an iscsi target
> simulator as per draft-ietf-ips-iscsi-20.txt. 
> 
> The draft does not seem to be explicit about an ISCSI
> target's behavior on encountering the following error
> conditions.
> 
> 1. Logout Request contains non zero DataSegmentLength
> 
> 2. Write or Data-Out PDU contains data more than 
>    MaxRecvDataSegmentLength
> 
> 3. When pre-negotiated KeyValue pairs (like
> InitialR2T, 
>    ImmediateData, DataPDUInOrder etc) are not
>    honoured in Full Feature Phase
>    ("not honouring", also means violation of result 
>     function rules)

All the above seem to fall into the "protocol error" bucket,
so one would have to employ Rejects to deal with these.
Depending on the severity of the impact on the receiving 
implementation, it may also choose to drop the connection 
in some cases. The protocol error discussion text (6.11)
provides a hint to this effect.

> 
> 4. When the sequence of PDUs (DataSN for Data-Out, 
>    R2TSN for R2T, CmdSN for Command) are not in 
>    increasing order

This protocol error manifests as a "sequence error" whose 
handling is described in fair detail in the error recovery chapter (section 6).

> 
> 5. SNACK PDU sent for an iSCSI PDU already 
>    acknowledged 
> 
> 6. If NOP-Out ping request is sent in response to a 
>    a NOP-In ping request
> 
> 7. Renegotiating KeyValue pairs which are not 
>    permitetd FFP,. (viz. MaxConnections)

These all seem to again fall into the protocol error category.
Note that #5 is specifically mentioned in the Reject reason
code table as a protocol error.

> 
> Will such erors always result in a reject PDU with
> appropriate error code ? In fact few of the above
> cases does not map to an appropriate error code
> listed.
> 
> 
> It would be great if someone can help us out. 
> 
> 
> Thanks in Advance,
> -Abhijit Lahiri
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 

