Return-Path: <owner-ips@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips@ece.cmu.edu>
Received: (from majordom@localhost)
	by ece.cmu.edu (8.11.0/8.10.2) id h0H1aOj14748
	for ips-outgoing; Thu, 16 Jan 2003 20:36:24 -0500 (EST)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from dmz1.silverbacksystems.com (dmz1.silverbacksystems.com [65.172.158.82])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h0H1aLW14743
	for <ips@ece.cmu.edu>; Thu, 16 Jan 2003 20:36:21 -0500 (EST)
Received: from ns.silverbacksystems.com (gate-camp-hme0.silverbacksystems.com [65.172.158.93])
	by dmz1.silverbacksystems.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP
	id AD119D034; Thu, 16 Jan 2003 17:36:03 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
	by ns.silverbacksystems.com (Postfix on SuSE Linux eMail Server 3.0) with ESMTP
	id 7EC3D1D06; Thu, 16 Jan 2003 17:36:01 -0800 (PST)
Content-Type: text/html; charset="us-ascii"
Date: Thu, 16 Jan 2003 17:35:32 -0800
From: Carlos Rimola <crimola@silverbacksystems.com>
In-Reply-To: <AEC4671C8179D61194DE0002B328BDD20B96@ATLOPS>
Message-Id: <5.2.0.9.0.20030116172039.02ac0760@pop.silverbacksystems.com>
Mime-Version: 1.0
Received: from ns.silverbacksystems.com (localhost [127.0.0.1])
	by localhost (AvMailGate-2.0.0.6) id 31705-386ADF4F;
	Thu, 16 Jan 2003 17:35:28 -0800
Received: from carlos.silverbacksystems.com (carlos.corp.silverbacksystems.com [10.0.16.197])
	by ns.silverbacksystems.com (Postfix on SuSE Linux eMail Server 3.0) with ESMTP
	id 214F616A1A; Thu, 16 Jan 2003 17:35:28 -0800 (PST)
Subject: Re: iSCSI: using the C bit
To: Eddy Quicksall <eddy_quicksall@ivivity.com>, ips@ece.cmu.edu
X-AntiVirus: OK! AntiVir MailGate Version 2.0.0.6
	 at ns.silverbacksystems.com has not found any known virus in this email.
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
X-Sender: crimola@pop.silverbacksystems.com
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

<html>
<body>
At 06:24 PM 1/16/2003 -0500, Eddy Quicksall wrote:<br>
<blockquote type=cite class=cite cite>I want to be sure I understand the
use of the C bit in a login. It seems to<br>
me that the initiator could split a key into two parts: 1st part at the
end<br>
of request A and 2nd part at the beginning of request A+1.<br>
&nbsp;<br>
e.g., the end of request A (with C bit set) could be
&quot;Immediate&quot; and the<br>
beginning of request A+1 could be &quot;Data=yes&quot; (the full
key=value pair being<br>
&quot;ImmediateData=yes&quot;).<br>
&nbsp;<br>
If this is done, the target will not process the partial key and may
send<br>
his own key saying &quot;ImmediateData=no&quot;. But, the initiator has
already<br>
constructed the negotiation and request A+1 would violate the
protocol<br>
because ImmediateData has already been negotiated.<br>
&nbsp;<br>
Comments?<br>
&nbsp;<br>
Eddy</blockquote><br>
Eddy,<br><br>
This scenario - the target sending his own key while the Initiator is
still sending partial chunks (by setting C Bit = 1) would be a violation
of the rule specified in 5.2 (Text Mode Negotiation) which applies during
Login as well as Text Req/Resp:<br><br>
<font face="Courier, Courier">A target receiving a Text or Login Request
with the C bit set to 1<br>
MUST answer with a Text or Login Response with no data segment<br>
(DataSegmentLength 0). An initiator receiving a Text or Login<br>
Response with the C bit set to 1 MUST answer with a Text or Login<br>
Request with no data segment (DataSegmentLength 0).<br><br>
<br>
</font>The target can begin sending its own keys only when a PDU with the
C Bit set to 0 arrives.&nbsp; At this point, all keys will be complete
and the above condition is avoided.<br><br>
Regards,<br><br>
Carlos Rimola<br>
Silverback Systems</body>
<br>
</html>

