From tsvwg-admin@ietf.org  Mon Apr  2 06:10:30 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA24414
	for <tsvwg-archive@odin.ietf.org>; Mon, 2 Apr 2001 06:10:30 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id GAA13455;
	Mon, 2 Apr 2001 06:01:01 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id GAA13407
	for <tsvwg@ns.ietf.org>; Mon, 2 Apr 2001 06:00:59 -0400 (EDT)
Received: from exchange1.nuera.com ([204.216.240.98])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA23126
	for <tsvwg@ietf.org>; Mon, 2 Apr 2001 06:00:55 -0400 (EDT)
Received: by exchange1.nuera.com with Internet Mail Service (5.5.2650.21)
	id <GTT5HVFA>; Mon, 2 Apr 2001 03:00:14 -0700
Message-ID: <E79883AEA37FD411A58C00508BAC5F4B710378@exchange1.nuera.com>
From: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
To: "'Matt Holdrege'" <matt@ipverse.com>, sip@lists.bell-labs.com
Cc: tsvwg@ietf.org, "'Jonathan Rosenberg'" <jdrosen@dynamicsoft.com>
Date: Mon, 2 Apr 2001 03:00:11 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0BB5B.B4B51C00"
Subject: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0BB5B.B4B51C00
Content-Type: text/plain;
	charset="iso-8859-1"

Hi Matt, 

Hi Matt,

I'm not convinced that SIP needs to use ordered delivery of messages across
multiple streams. If we are not using stream specification within SIP (and I
think I agree with you now Jonathan) then I believe SIP should be using a
single unordered reliable stream rather than any/all the streams.

-	This is simpler and as has been said before, a more complicated SIP
adaptation layer may cause more complexity in transport-ignorant systems
(whatever that might be <grin>). This is also closer to the model used by
the existing SIGTRAN adaptation layers (ie, one link => one stream).
-	The process of enforcing that an application must accept packets on
all streams may force implementations on the API and design of the SCTP
stack. The stack uses the concept of "used" and "unused" streams - what
effect does using 64K streams on an association have on memory requirements.
This may not be a relevant concern but I think SIP should try to be more
conservative in its use of SCTP.
-	The sending of  different call legs to different streams does not
help much in my opinion. A single stream must still be able to accept
packets for multiple call legs.
-	Using arbitrary streams does not allow the use of other streams for
any future purpose. 

I'm also not convinced that the bundling of SIP messages is that useful -
SIP messages are usually quite large anyway. However, an interesting
application for SCTP with SIP might be on low bandwidth point to point
connections. The SIP application controls the association and so it is not
too unreasonable that the SIP application may negotiate the use of other
streams in the same association for media use. Now the fragmentation
properties of SCTP could reduce any delay/jitter in the media carried on the
same SCTP association. This is not possible if SIP and media are carried in
separate streams. [This is probably not a main-stream application and maybe
not even useful/desirable but I don't think it should be impossible.]

Jonathan, I see you think that SCTP is not worth the trouble for SIP. I
think that SCTP becomes more attractive to SIP when the media also uses SCTP
such that SCTP becomes the only transport protocol needed (although not
necessarily on the same association). SCTP has the interesting property that
it makes the normally connectionless unreliable UDP media become
connection-oriented unreliable U-SCTP media. I can even foresee that in the
future, SCTP associations could be linked to hardware routing and resource
reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of any
work in this field although the stream-based flow-limiting extension is
useful - sounds like a good thesis/paper to me.] Anyway, the only piece
missing is an SDP profile for SCTP (which I'm still in the process of
proposing something - input welcome).

Comments please.

Cheers,

Robert.

-- My opinions should not be taken as necessarily representing those of
Nuera Communications, Inc. --

-----Original Message-----
From:	Matt Holdrege [mailto:matt@ipverse.com]
Sent:	Wednesday, March 28, 2001 3:39 AM
To:	sip@lists.bell-labs.com
Subject:	Re: [SIP] RE: SCTP as transport for SIP

(from the SCTP AS)

For SIP, considering the use of a reliable transport protocol (i.e. not 
UDP) the features of SCTP would be:

- acknowledged error-free non-duplicated transfer of user data,

- data fragmentation to conform to discovered path MTU size,

- sequenced delivery of user messages within multiple streams,
   with an option for order-of-arrival delivery of individual user
   messages,

- optional bundling of multiple user messages into a single SCTP packet,

- network-level fault tolerance through supporting of multi-homing at 
either or both ends of an association.

Applications that require framing of reliable data streams can get that
feature from SCTP.

Applications which transfer independent message sequences that are 
unrelated (sometimes called transactions) can benefit from the partial 
ordering provided by SCTP streams.

Applications that wish to transfer messages that hold no particular
sequence or relationship to one another can benefit from the unordered
service provided by SCTP.

Finally for those applications seeking network layer redundancy with
multiple Network Interface cards can use SCTP's multi-homing feature.

Is there any misunderstanding or disagreement with the above?


_______________________________________________
This list is for continuing development of the SIP protocol.
The sip-implementor's list is the place to discuss implementation,
and to receive advice on understanding existing sip.
To subscribe to it, send mail to 
sip-implementors-request@cs.columbia.edu with "subscribe" in the body.

------_=_NextPart_001_01C0BB5B.B4B51C00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [SIP] RE: SCTP as transport for SIP</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt, </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I'm not convinced that SIP needs to =
use ordered delivery of messages across multiple streams. If we are not =
using stream specification within SIP (and I think I agree with you now =
Jonathan) then I believe SIP should be using a single unordered =
reliable stream rather than any/all the streams.</FONT></P>

<UL><LI><FONT SIZE=3D2 FACE=3D"Arial">This is simpler and as has been =
said before, a more complicated SIP adaptation layer may cause more =
complexity in transport-ignorant systems (whatever that might be =
&lt;grin&gt;). This is also closer to the model used by the existing =
SIGTRAN adaptation layers (ie, one link =3D&gt; one =
stream).</FONT></LI>
<LI><FONT SIZE=3D2 FACE=3D"Arial">The process of enforcing that an =
application must accept packets on all streams may force =
implementations on the API and design of the SCTP stack. The stack uses =
the concept of "used" and "unused" streams - what effect does using 64K =
streams on an association have on memory requirements. This may not be =
a relevant concern but I think SIP should try to be more conservative =
in its use of SCTP.</FONT></LI>
<LI><FONT SIZE=3D2 FACE=3D"Arial">The sending of&nbsp; different call =
legs to different streams does not help much in my opinion. A single =
stream must still be able to accept packets for multiple call =
legs.</FONT></LI>
<LI><FONT SIZE=3D2 FACE=3D"Arial">Using arbitrary streams does not =
allow the use of other streams for any future purpose. </FONT></LI>
<BR>
</UL>
<P><FONT SIZE=3D2 FACE=3D"Arial">I'm also not convinced that the =
bundling of SIP messages is that useful - SIP messages are usually =
quite large anyway. However, an interesting application for SCTP with =
SIP might be on low bandwidth point to point connections. The SIP =
application controls the association and so it is not too unreasonable =
that the SIP application may negotiate the use of other streams in the =
same association for media use. Now the fragmentation properties of =
SCTP could reduce any delay/jitter in the media carried on the same =
SCTP association. This is not possible if SIP and media are carried in =
separate streams. [This is probably not a main-stream application and =
maybe not even useful/desirable but I don't think it should be =
impossible.]</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Jonathan, I see you think that SCTP is =
not worth the trouble for SIP. I think that SCTP becomes more =
attractive to SIP when the media also uses SCTP such that SCTP becomes =
the only transport protocol needed (although not necessarily on the =
same association). SCTP has the interesting property that it makes the =
normally connectionless unreliable UDP media become connection-oriented =
unreliable U-SCTP media. I can even foresee that in the future, SCTP =
associations could be linked to hardware routing and resource =
reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of =
any work in this field although the stream-based flow-limiting =
extension is useful - sounds like a good thesis/paper to me.] Anyway, =
the only piece missing is an SDP profile for SCTP (which I'm still in =
the process of proposing something - input welcome).</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Comments please.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Cheers,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Robert.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">-- My opinions should not be taken as =
necessarily representing those of Nuera Communications, Inc. --</FONT>
</P>

<P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
Message-----</FONT></A>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:&nbsp;&nbsp; Matt Holdrege =
[<A =
HREF=3D"mailto:matt@ipverse.com">mailto:matt@ipverse.com</A>]</FONT></B>=

<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D2 FACE=3D"Arial">Wednesday, March 28, 2001 3:39 AM</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">sip@lists.bell-labs.com</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>=
</B> <FONT SIZE=3D2 FACE=3D"Arial">Re: [SIP] RE: SCTP as transport for =
SIP</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">(from the SCTP AS)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">For SIP, considering the use of a =
reliable transport protocol (i.e. not </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">UDP) the features of SCTP would =
be:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">- acknowledged error-free =
non-duplicated transfer of user data,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">- data fragmentation to conform to =
discovered path MTU size,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">- sequenced delivery of user messages =
within multiple streams,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; with an option for =
order-of-arrival delivery of individual user</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; messages,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">- optional bundling of multiple user =
messages into a single SCTP packet,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">- network-level fault tolerance =
through supporting of multi-homing at </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">either or both ends of an =
association.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Applications that require framing of =
reliable data streams can get that</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">feature from SCTP.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Applications which transfer =
independent message sequences that are </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">unrelated (sometimes called =
transactions) can benefit from the partial </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ordering provided by SCTP =
streams.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Applications that wish to transfer =
messages that hold no particular</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">sequence or relationship to one =
another can benefit from the unordered</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">service provided by SCTP.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Finally for those applications seeking =
network layer redundancy with</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">multiple Network Interface cards can =
use SCTP's multi-homing feature.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Is there any misunderstanding or =
disagreement with the above?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">_______________________________________________</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">This list is for continuing =
development of the SIP protocol.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">The sip-implementor's list is the =
place to discuss implementation,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">and to receive advice on =
understanding existing sip.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">To subscribe to it, send mail to =
</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">sip-implementors-request@cs.columbia.edu with =
&quot;subscribe&quot; in the body.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0BB5B.B4B51C00--

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Mon Apr  2 07:49:48 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA02626
	for <tsvwg-archive@odin.ietf.org>; Mon, 2 Apr 2001 07:49:48 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA14931;
	Mon, 2 Apr 2001 07:44:57 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA14900
	for <tsvwg@ns.ietf.org>; Mon, 2 Apr 2001 07:44:55 -0400 (EDT)
Received: from exchange1.nuera.com ([204.216.240.98])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA02327
	for <tsvwg@ietf.org>; Mon, 2 Apr 2001 07:44:56 -0400 (EDT)
Received: by exchange1.nuera.com with Internet Mail Service (5.5.2650.21)
	id <GTT5HVH8>; Mon, 2 Apr 2001 04:43:59 -0700
Message-ID: <E79883AEA37FD411A58C00508BAC5F4B71037B@exchange1.nuera.com>
From: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
To: "'Qiaobing Xie'" <xieqb@cig.mot.com>, KaCheong.Leung@nokia.com
Cc: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org,
        lyndon_ong@eudoramail.com
Subject: RE: [Tsvwg] RE: FW: I-D ACTION:draft-leung-sigtran-stream-sctp-00
	.txt
Date: Mon, 2 Apr 2001 04:43:52 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0BB6A.30B13060"
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0BB6A.30B13060
Content-Type: text/plain;
	charset="iso-8859-1"

Hi all,

I think we can all see that there may be times when adding or changing a
stream may be useful but according to a number of knowledgeable people, the
on-the-fly change is very messy and ugly. 

How about another approach? Is it possible to re-establish/re-start a
session without interruption to traffic on streams that are unaffected? This
would be the best of both worlds - no extra mechanism is required but
desired functionality is obtained. What problems can people see from an
implementation point of view ?

Cheers,

Robert.

-----Original Message-----
From:	Qiaobing Xie [mailto:xieqb@cig.mot.com]
Sent:	Wednesday, March 28, 2001 12:32 AM
To:	KaCheong.Leung@nokia.com
Cc:	sigtran@standards.nortelnetworks.com; tsvwg@ietf.org;
lyndon_ong@eudoramail.com
Subject:	Re: [Tsvwg] RE: FW: I-D
ACTION:draft-leung-sigtran-stream-sctp-00.txt

KaCheong.Leung@nokia.com wrote:
...snip...
> Sorry, I cannot agree with you anymore.  Suppose you are engaging in
> a multimedia conference with 1000 people, each of them can be able to
> SELECTIVELY hear others' voices, write their messages, view their
pictures,
> process some archive multimedia data between a subset of audiences.  Do
> you mean that the application has to set up all associations under the
> worse case scenario, say 100 streams inbound/outbound per association;
> or just DENY the service (ask the guy to upgrade the server unnecessarily
> to support THIS) if it cannot handle such WORSE CASE scenarios?

How does adding/deleting streams let you get away from system
configuration in such a complicated use scenario? How does the
pre-configuration of the number of steams have anything to do with the
way you setup all those associations among the 1000 users? Or, are you
thinking about your worst case as running 1000x1000 AV sessions amongst
the users over separate streams in just _one_ association? I don't get
it. Please explain.

> 
> From my viewpoint, one of the major merits for stream status modification
> and dynamic stream addition/deletion is to allow the systems to
efficiently
> use of resources.  Applications may have their on-demand additional
requests
> rejected because of the lack of system resources, but not the support for
> the bare/normal service.  I'd consider this is reasonable, and appropriate
> the design trend (just like multiplexing of multiple traffic streams into
a
> single transmission trunk, or stream multiplexing in SCTP here).

What do you mean by "not support the normal service"? How do your define
the difference between your "on-demand additional requests" and "normal
service"? 

> 
> Furthermore, if anything can be well-planned and well-known in advance,
> this could save much of our work and lots of control and intelligent
> systems can then be removed.  We, engineers, may not even have our jobs
> here!

Good engineers know the merits of function partitioning when designing a
system. To ask the transport protocol to share the burden apparently
belonging to resource planning and system configuration doesn't make
good sense to me. In a call processing system for example, when the
designed call capacity is reached, your call control function will
reject any new calls way before your hardware box runs out of line cards
and shoots errors all over the place. 

-Qiaobing

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg

------_=_NextPart_001_01C0BB6A.30B13060
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Tsvwg] RE: FW: I-D =
ACTION:draft-leung-sigtran-stream-sctp-00.txt</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi all,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I think we can all see that there may =
be times when adding or changing a stream may be useful but according =
to a number of</FONT> <FONT SIZE=3D2 =
FACE=3D"Arial">knowledgeable</FONT> <FONT SIZE=3D2 =
FACE=3D"Arial">people, the on-the-fly change is very messy and ugly. =
</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">How about another approach? Is it =
possible to re-establish/re-start a session without interruption to =
traffic on streams that are unaffected? This would be the best of both =
worlds - no extra mechanism is required but desired functionality is =
obtained. What problems can people see from an implementation point of =
view ?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Cheers,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Robert.</FONT>
</P>

<P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
Message-----</FONT></A>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:&nbsp;&nbsp; Qiaobing Xie [<A =
HREF=3D"mailto:xieqb@cig.mot.com">mailto:xieqb@cig.mot.com</A>]</FONT></=
B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D2 FACE=3D"Arial">Wednesday, March 28, 2001 12:32 AM</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">KaCheong.Leung@nokia.com</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">sigtran@standards.nortelnetworks.com; tsvwg@ietf.org; =
lyndon_ong@eudoramail.com</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>=
</B> <FONT SIZE=3D2 FACE=3D"Arial">Re: [Tsvwg] RE: FW: I-D =
ACTION:draft-leung-sigtran-stream-sctp-00.txt</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">KaCheong.Leung@nokia.com wrote:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">...snip...</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Sorry, I cannot agree with you =
anymore.&nbsp; Suppose you are engaging in</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; a multimedia conference with =
1000 people, each of them can be able to</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; SELECTIVELY hear others' voices, =
write their messages, view their pictures,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; process some archive multimedia =
data between a subset of audiences.&nbsp; Do</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; you mean that the application =
has to set up all associations under the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; worse case scenario, say 100 =
streams inbound/outbound per association;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; or just DENY the service (ask =
the guy to upgrade the server unnecessarily</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; to support THIS) if it cannot =
handle such WORSE CASE scenarios?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">How does adding/deleting streams let =
you get away from system</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">configuration in such a complicated =
use scenario? How does the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">pre-configuration of the number of =
steams have anything to do with the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">way you setup all those associations =
among the 1000 users? Or, are you</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">thinking about your worst case as =
running 1000x1000 AV sessions amongst</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the users over separate streams in =
just _one_ association? I don't get</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">it. Please explain.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; From my viewpoint, one of the =
major merits for stream status modification</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; and dynamic stream =
addition/deletion is to allow the systems to efficiently</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; use of resources.&nbsp; =
Applications may have their on-demand additional requests</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; rejected because of the lack of =
system resources, but not the support for</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; the bare/normal service.&nbsp; =
I'd consider this is reasonable, and appropriate</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; the design trend (just like =
multiplexing of multiple traffic streams into a</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; single transmission trunk, or =
stream multiplexing in SCTP here).</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">What do you mean by &quot;not support =
the normal service&quot;? How do your define</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the difference between your =
&quot;on-demand additional requests&quot; and &quot;normal</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">service&quot;? </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Furthermore, if anything can be =
well-planned and well-known in advance,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; this could save much of our work =
and lots of control and intelligent</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; systems can then be =
removed.&nbsp; We, engineers, may not even have our jobs</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; here!</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Good engineers know the merits of =
function partitioning when designing a</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">system. To ask the transport protocol =
to share the burden apparently</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">belonging to resource planning and =
system configuration doesn't make</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">good sense to me. In a call =
processing system for example, when the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">designed call capacity is reached, =
your call control function will</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">reject any new calls way before your =
hardware box runs out of line cards</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">and shoots errors all over the place. =
</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">-Qiaobing</FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">_______________________________________________</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">tsvwg mailing list</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">tsvwg@ietf.org</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"><A =
HREF=3D"http://www1.ietf.org/mailman/listinfo/tsvwg" =
TARGET=3D"_blank">http://www1.ietf.org/mailman/listinfo/tsvwg</A></FONT>=

</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0BB6A.30B13060--

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Mon Apr  2 16:30:19 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA29431
	for <tsvwg-archive@odin.ietf.org>; Mon, 2 Apr 2001 16:30:18 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA24098;
	Mon, 2 Apr 2001 16:26:06 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA24071
	for <tsvwg@ns.ietf.org>; Mon, 2 Apr 2001 16:26:05 -0400 (EDT)
Received: from mercury.Sun.COM ([192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA29267
	for <tsvwg@ietf.org>; Mon, 2 Apr 2001 16:26:06 -0400 (EDT)
Received: from engmail2.Eng.Sun.COM ([129.146.1.25])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id MAA09263;
	Mon, 2 Apr 2001 12:50:00 -0700 (PDT)
Received: from nasnfs.Eng.Sun.COM (nasnfs.Eng.Sun.COM [10.6.84.20])
	by engmail2.Eng.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with ESMTP id MAA27721;
	Mon, 2 Apr 2001 12:49:59 -0700 (PDT)
Received: from sunray-mpke (sunray-mpke.Eng.Sun.COM [129.146.6.32])
	by nasnfs.Eng.Sun.COM (8.9.3+Sun/8.9.1) with SMTP id MAA27755;
	Mon, 2 Apr 2001 12:49:58 -0700 (PDT)
Message-Id: <200104021949.MAA27755@nasnfs.Eng.Sun.COM>
Date: Mon, 2 Apr 2001 12:49:58 -0700 (PDT)
From: Jonathan Wood <jonwood@nasnfs.Eng.Sun.COM>
Reply-To: Jonathan Wood <jonwood@nasnfs.Eng.Sun.COM>
To: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: 89Z5uGpySyDsEbCVOXZcvg==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc 
Subject: [Tsvwg] SCTP for Solaris
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org


I have just put Sun's kernel SCTP prototype on the web. You may download it at

		http://playground.sun.com/sctp

This is also an implementation of the TCP-style sockets for SCTP found in 
http://search.ietf.org/internet-drafts/draft-stewart-sctpsocket-sigtran-02.txt. 

Additional information can be found on the playground website.

Enjoy,

Jonathan Wood
SunLabs


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr  3 07:54:51 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA27491
	for <tsvwg-archive@odin.ietf.org>; Tue, 3 Apr 2001 07:54:47 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA12271;
	Tue, 3 Apr 2001 07:43:50 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA12240
	for <tsvwg@ns.ietf.org>; Tue, 3 Apr 2001 07:43:48 -0400 (EDT)
Received: from sj-msg-core-3.cisco.com ([171.70.157.152])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA26469
	for <tsvwg@ietf.org>; Tue, 3 Apr 2001 07:43:47 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-3.cisco.com (8.9.3/8.9.1) with ESMTP id EAA27286;
	Tue, 3 Apr 2001 04:41:51 -0700 (PDT)
Received: from cisco.com (rtp-dial-1-195.cisco.com [10.83.97.195])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AAC25294 (AUTH rrs);
	Tue, 3 Apr 2001 04:43:05 -0700 (PDT)
Message-ID: <3AC9B747.4E73B44@cisco.com>
Date: Tue, 03 Apr 2001 06:43:03 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org, sigtran@standards.nortelnetworks.com
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] SCTP Heartbeats and Jitter
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Dear all:

After some offline dicussion I have realized another miss in the SCTP
RFC.

The current wording of the spec specifies a 50% random jitter within the
timer
set in a heartbeat. This 50% jitter leads to HUGE variations in the
timer i.e. (RTO + HB.Interval) <- To -> ((RTO + HB.Interval ) + (.5 *
(RTO + HB.Interval)))

This was never the intenetion. The idea is to add a random jitter of
just a second
or so, so that we don't "sync up" the heartbeats. The original wording
(before we
added the HB.Interval) had us using only the RTO. When we added the
HB.Interval
we forgot to fix the Jitter wording...

It should be something like:

"A random jitter of 50% of the current RTO value should be added to the
timer."

(wordsmithing yet required).

I will update the bakeoff draft (after the bakeoff later this month) and
include
this item as well.

Side Note: To those of you emailing me, my DSL provider used northpoint
for the wiring. 
           With northpoint's bankruptcy they have pulled all of
northpoint's equipment
           as of last Thursday :<. This means my web site
(www.sctp.chicago.il.us) and
           my regular email address is offline until my provider gets an
alternate
           wiring provider (2-4 weeks from now) ... real bummer ... So
if you are
           sending to randall@stewart.chicago.il.us you will get bounced
message :(
           (good news is its time to prune my mailing lists :>) Please
contact me
           at the above address if you need to converse with me. I am
reduced to
           dial in so response will be slower :( And the next release of
the SCTP
           reference implementation (4.0.4) which is READY and real
cool, must wait my
           DSL provider :<


R
-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr  3 12:53:15 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA07815
	for <tsvwg-archive@odin.ietf.org>; Tue, 3 Apr 2001 12:53:10 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA17260;
	Tue, 3 Apr 2001 12:49:21 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA17231
	for <tsvwg@ns.ietf.org>; Tue, 3 Apr 2001 12:49:20 -0400 (EDT)
Received: from baqaqi.chi.il.us ([24.167.185.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA07589
	for <tsvwg@ietf.org>; Tue, 3 Apr 2001 12:49:18 -0400 (EDT)
Received: from baqaqi.chi.il.us (piggy@localhost)
	by baqaqi.chi.il.us (8.11.0/8.11.0) with ESMTP id f33Gn6S03606;
	Tue, 3 Apr 2001 11:49:10 -0500
Message-Id: <200104031649.f33Gn6S03606@baqaqi.chi.il.us>
To: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
cc: "'Matt Holdrege'" <matt@ipverse.com>, sip@lists.bell-labs.com,
        tsvwg@ietf.org, "'Jonathan Rosenberg'" <jdrosen@dynamicsoft.com>
From: "La Monte Henry Piggy Yarroll" <piggy@baqaqi.chi.il.us>
Subject: Re: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP 
In-reply-to: Your message of Mon, 02 Apr 2001 03:00:11 -0700.
             <E79883AEA37FD411A58C00508BAC5F4B710378@exchange1.nuera.com> 
Date: Tue, 03 Apr 2001 11:49:05 -0500
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

The purpose of streams in SCTP is to avoid head-of-line blocking.  A
single streams should ONLY be used for messages which have a strict
ordering requirement.  Standalone messages should travel via an
unordered stream.

The UA's DO allow multiple independant complex exchanges over separate
streams.  In many situations (e.g. telephony switching) it is
important to share congestion and flow-control information.  If you
DIDN'T use streams over a single SCTP association, you'd have to pay
the slow-start penalty for every new exchange.

"Fairlie-Cuninghame, Robert" <rfairlie@nuera.com> writes:
> Hi Matt,
> 
> I'm not convinced that SIP needs to use ordered delivery of messages across
> multiple streams. If we are not using stream specification within SIP (and I
> think I agree with you now Jonathan) then I believe SIP should be using a
> single unordered reliable stream rather than any/all the streams.
> 
> -	This is simpler and as has been said before, a more complicated SIP
> adaptation layer may cause more complexity in transport-ignorant systems
> (whatever that might be <grin>). This is also closer to the model used by
> the existing SIGTRAN adaptation layers (ie, one link => one stream).
> -	The process of enforcing that an application must accept packets on
> all streams may force implementations on the API and design of the SCTP
> stack. The stack uses the concept of "used" and "unused" streams - what
> effect does using 64K streams on an association have on memory requirements.
> This may not be a relevant concern but I think SIP should try to be more
> conservative in its use of SCTP.
> -	The sending of  different call legs to different streams does not
> help much in my opinion. A single stream must still be able to accept
> packets for multiple call legs.
> -	Using arbitrary streams does not allow the use of other streams for
> any future purpose. 
> 
> I'm also not convinced that the bundling of SIP messages is that useful -
> SIP messages are usually quite large anyway. However, an interesting
> application for SCTP with SIP might be on low bandwidth point to point
> connections. The SIP application controls the association and so it is not
> too unreasonable that the SIP application may negotiate the use of other
> streams in the same association for media use. Now the fragmentation
> properties of SCTP could reduce any delay/jitter in the media carried on the
> same SCTP association. This is not possible if SIP and media are carried in
> separate streams. [This is probably not a main-stream application and maybe
> not even useful/desirable but I don't think it should be impossible.]
> 
> Jonathan, I see you think that SCTP is not worth the trouble for SIP. I
> think that SCTP becomes more attractive to SIP when the media also uses SCTP
> such that SCTP becomes the only transport protocol needed (although not
> necessarily on the same association). SCTP has the interesting property that
> it makes the normally connectionless unreliable UDP media become
> connection-oriented unreliable U-SCTP media. I can even foresee that in the
> future, SCTP associations could be linked to hardware routing and resource
> reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of any
> work in this field although the stream-based flow-limiting extension is
> useful - sounds like a good thesis/paper to me.] Anyway, the only piece
> missing is an SDP profile for SCTP (which I'm still in the process of
> proposing something - input welcome).
> 
> Comments please.
> 
> Cheers,
> 
> Robert.
> 
> -- My opinions should not be taken as necessarily representing those of
> Nuera Communications, Inc. --
> 
> -----Original Message-----
> From:	Matt Holdrege [mailto:matt@ipverse.com]
> Sent:	Wednesday, March 28, 2001 3:39 AM
> To:	sip@lists.bell-labs.com
> Subject:	Re: [SIP] RE: SCTP as transport for SIP
> 
> (from the SCTP AS)
> 
> For SIP, considering the use of a reliable transport protocol (i.e. not 
> UDP) the features of SCTP would be:
> 
> - acknowledged error-free non-duplicated transfer of user data,
> 
> - data fragmentation to conform to discovered path MTU size,
> 
> - sequenced delivery of user messages within multiple streams,
>    with an option for order-of-arrival delivery of individual user
>    messages,
> 
> - optional bundling of multiple user messages into a single SCTP packet,
> 
> - network-level fault tolerance through supporting of multi-homing at 
> either or both ends of an association.
> 
> Applications that require framing of reliable data streams can get that
> feature from SCTP.
> 
> Applications which transfer independent message sequences that are 
> unrelated (sometimes called transactions) can benefit from the partial 
> ordering provided by SCTP streams.
> 
> Applications that wish to transfer messages that hold no particular
> sequence or relationship to one another can benefit from the unordered
> service provided by SCTP.
> 
> Finally for those applications seeking network layer redundancy with
> multiple Network Interface cards can use SCTP's multi-homing feature.
> 
> Is there any misunderstanding or disagreement with the above?
> 
> 
> _______________________________________________
> This list is for continuing development of the SIP protocol.
> The sip-implementor's list is the place to discuss implementation,
> and to receive advice on understanding existing sip.
> To subscribe to it, send mail to 
> sip-implementors-request@cs.columbia.edu with "subscribe" in the body.
> 
> ------_=_NextPart_001_01C0BB5B.B4B51C00
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 5.5.2653.12">
> <TITLE>RE: [SIP] RE: SCTP as transport for SIP</TITLE>
> </HEAD>
> <BODY>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt, </FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt,</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">I'm not convinced that SIP needs to =
> use ordered delivery of messages across multiple streams. If we are not =
> using stream specification within SIP (and I think I agree with you now =
> Jonathan) then I believe SIP should be using a single unordered =
> reliable stream rather than any/all the streams.</FONT></P>
> 
> <UL><LI><FONT SIZE=3D2 FACE=3D"Arial">This is simpler and as has been =
> said before, a more complicated SIP adaptation layer may cause more =
> complexity in transport-ignorant systems (whatever that might be =
> &lt;grin&gt;). This is also closer to the model used by the existing =
> SIGTRAN adaptation layers (ie, one link =3D&gt; one =
> stream).</FONT></LI>
> <LI><FONT SIZE=3D2 FACE=3D"Arial">The process of enforcing that an =
> application must accept packets on all streams may force =
> implementations on the API and design of the SCTP stack. The stack uses =
> the concept of "used" and "unused" streams - what effect does using 64K =
> streams on an association have on memory requirements. This may not be =
> a relevant concern but I think SIP should try to be more conservative =
> in its use of SCTP.</FONT></LI>
> <LI><FONT SIZE=3D2 FACE=3D"Arial">The sending of&nbsp; different call =
> legs to different streams does not help much in my opinion. A single =
> stream must still be able to accept packets for multiple call =
> legs.</FONT></LI>
> <LI><FONT SIZE=3D2 FACE=3D"Arial">Using arbitrary streams does not =
> allow the use of other streams for any future purpose. </FONT></LI>
> <BR>
> </UL>
> <P><FONT SIZE=3D2 FACE=3D"Arial">I'm also not convinced that the =
> bundling of SIP messages is that useful - SIP messages are usually =
> quite large anyway. However, an interesting application for SCTP with =
> SIP might be on low bandwidth point to point connections. The SIP =
> application controls the association and so it is not too unreasonable =
> that the SIP application may negotiate the use of other streams in the =
> same association for media use. Now the fragmentation properties of =
> SCTP could reduce any delay/jitter in the media carried on the same =
> SCTP association. This is not possible if SIP and media are carried in =
> separate streams. [This is probably not a main-stream application and =
> maybe not even useful/desirable but I don't think it should be =
> impossible.]</FONT></P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Jonathan, I see you think that SCTP is =
> not worth the trouble for SIP. I think that SCTP becomes more =
> attractive to SIP when the media also uses SCTP such that SCTP becomes =
> the only transport protocol needed (although not necessarily on the =
> same association). SCTP has the interesting property that it makes the =
> normally connectionless unreliable UDP media become connection-oriented =
> unreliable U-SCTP media. I can even foresee that in the future, SCTP =
> associations could be linked to hardware routing and resource =
> reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of =
> any work in this field although the stream-based flow-limiting =
> extension is useful - sounds like a good thesis/paper to me.] Anyway, =
> the only piece missing is an SDP profile for SCTP (which I'm still in =
> the process of proposing something - input welcome).</FONT></P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Comments please.</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Cheers,</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Robert.</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">-- My opinions should not be taken as =
> necessarily representing those of Nuera Communications, Inc. --</FONT>
> </P>
> 
> <P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
> Message-----</FONT></A>
> <BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:&nbsp;&nbsp; Matt Holdrege =
> [<A =
> HREF=3D"mailto:matt@ipverse.com">mailto:matt@ipverse.com</A>]</FONT></B>=
> 
> <BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
> SIZE=3D2 FACE=3D"Arial">Wednesday, March 28, 2001 3:39 AM</FONT>
> <BR><B><FONT SIZE=3D2 =
> FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
> FACE=3D"Arial">sip@lists.bell-labs.com</FONT>
> <BR><B><FONT SIZE=3D2 =
> FACE=3D"Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>=
> </B> <FONT SIZE=3D2 FACE=3D"Arial">Re: [SIP] RE: SCTP as transport for =
> SIP</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">(from the SCTP AS)</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">For SIP, considering the use of a =
> reliable transport protocol (i.e. not </FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">UDP) the features of SCTP would =
> be:</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">- acknowledged error-free =
> non-duplicated transfer of user data,</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">- data fragmentation to conform to =
> discovered path MTU size,</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">- sequenced delivery of user messages =
> within multiple streams,</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; with an option for =
> order-of-arrival delivery of individual user</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; messages,</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">- optional bundling of multiple user =
> messages into a single SCTP packet,</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">- network-level fault tolerance =
> through supporting of multi-homing at </FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">either or both ends of an =
> association.</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Applications that require framing of =
> reliable data streams can get that</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">feature from SCTP.</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Applications which transfer =
> independent message sequences that are </FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">unrelated (sometimes called =
> transactions) can benefit from the partial </FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">ordering provided by SCTP =
> streams.</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Applications that wish to transfer =
> messages that hold no particular</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">sequence or relationship to one =
> another can benefit from the unordered</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">service provided by SCTP.</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Finally for those applications seeking =
> network layer redundancy with</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">multiple Network Interface cards can =
> use SCTP's multi-homing feature.</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Is there any misunderstanding or =
> disagreement with the above?</FONT>
> </P>
> <BR>
> 
> <P><FONT SIZE=3D2 =
> FACE=3D"Arial">_______________________________________________</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">This list is for continuing =
> development of the SIP protocol.</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">The sip-implementor's list is the =
> place to discuss implementation,</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">and to receive advice on =
> understanding existing sip.</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">To subscribe to it, send mail to =
> </FONT>
> <BR><FONT SIZE=3D2 =
> FACE=3D"Arial">sip-implementors-request@cs.columbia.edu with =
> &quot;subscribe&quot; in the body.</FONT>
> </P>
> 
> </BODY>
> </HTML>
> ------_=_NextPart_001_01C0BB5B.B4B51C00--
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr  3 15:28:39 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA14389
	for <tsvwg-archive@odin.ietf.org>; Tue, 3 Apr 2001 15:28:39 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA19757;
	Tue, 3 Apr 2001 15:22:01 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA19728
	for <tsvwg@ns.ietf.org>; Tue, 3 Apr 2001 15:21:58 -0400 (EDT)
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [194.237.142.116])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA14078
	for <tsvwg@ietf.org>; Tue, 3 Apr 2001 15:21:56 -0400 (EDT)
Received: from mailserver1.ericsson.se (mailserver1.ericsson.se [136.225.152.91])
	by albatross.wise.edt.ericsson.se (8.11.0/8.11.0/WIREfire-1.3) with ESMTP id f33JLmI17558;
	Tue, 3 Apr 2001 21:21:49 +0200 (MEST)
Received: from lmf.ericsson.se (EWUwsp001692wss.sd.us.am.ericsson.se [142.133.141.108])
	by mailserver1.ericsson.se (8.9.3/8.9.3/eri-1.0) with ESMTP id VAA25416;
	Tue, 3 Apr 2001 21:21:41 +0200 (MET DST)
Message-ID: <3ACA222F.C128BB41@lmf.ericsson.se>
Date: Tue, 03 Apr 2001 22:19:11 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@lmf.ericsson.se>
Organization: Oy L M Ericsson Ab
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: La Monte Henry Piggy Yarroll <piggy@baqaqi.chi.il.us>
CC: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>,
        "'Matt Holdrege'" <matt@ipverse.com>, sip@lists.bell-labs.com,
        tsvwg@ietf.org, "'Jonathan Rosenberg'" <jdrosen@dynamicsoft.com>
Subject: Re: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
References: <200104031649.f33Gn6S03606@baqaqi.chi.il.us>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Hello,

You can check the following link out:
http://www.cs.columbia.edu/~gonzalo/SIP_SCTP.pdf

It compares advantages and disadvantages of using a single unordered
stream over using multiple ordered streams to transport SIP.

Best regards,

Gonzalo

La Monte Henry Piggy Yarroll wrote:
> 
> The purpose of streams in SCTP is to avoid head-of-line blocking.  A
> single streams should ONLY be used for messages which have a strict
> ordering requirement.  Standalone messages should travel via an
> unordered stream.
> 
> The UA's DO allow multiple independant complex exchanges over separate
> streams.  In many situations (e.g. telephony switching) it is
> important to share congestion and flow-control information.  If you
> DIDN'T use streams over a single SCTP association, you'd have to pay
> the slow-start penalty for every new exchange.
> 
> "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com> writes:
> > Hi Matt,
> >
> > I'm not convinced that SIP needs to use ordered delivery of messages across
> > multiple streams. If we are not using stream specification within SIP (and I
> > think I agree with you now Jonathan) then I believe SIP should be using a
> > single unordered reliable stream rather than any/all the streams.
> >
> > -     This is simpler and as has been said before, a more complicated SIP
> > adaptation layer may cause more complexity in transport-ignorant systems
> > (whatever that might be <grin>). This is also closer to the model used by
> > the existing SIGTRAN adaptation layers (ie, one link => one stream).
> > -     The process of enforcing that an application must accept packets on
> > all streams may force implementations on the API and design of the SCTP
> > stack. The stack uses the concept of "used" and "unused" streams - what
> > effect does using 64K streams on an association have on memory requirements.
> > This may not be a relevant concern but I think SIP should try to be more
> > conservative in its use of SCTP.
> > -     The sending of  different call legs to different streams does not
> > help much in my opinion. A single stream must still be able to accept
> > packets for multiple call legs.
> > -     Using arbitrary streams does not allow the use of other streams for
> > any future purpose.
> >
> > I'm also not convinced that the bundling of SIP messages is that useful -
> > SIP messages are usually quite large anyway. However, an interesting
> > application for SCTP with SIP might be on low bandwidth point to point
> > connections. The SIP application controls the association and so it is not
> > too unreasonable that the SIP application may negotiate the use of other
> > streams in the same association for media use. Now the fragmentation
> > properties of SCTP could reduce any delay/jitter in the media carried on the
> > same SCTP association. This is not possible if SIP and media are carried in
> > separate streams. [This is probably not a main-stream application and maybe
> > not even useful/desirable but I don't think it should be impossible.]
> >
> > Jonathan, I see you think that SCTP is not worth the trouble for SIP. I
> > think that SCTP becomes more attractive to SIP when the media also uses SCTP
> > such that SCTP becomes the only transport protocol needed (although not
> > necessarily on the same association). SCTP has the interesting property that
> > it makes the normally connectionless unreliable UDP media become
> > connection-oriented unreliable U-SCTP media. I can even foresee that in the
> > future, SCTP associations could be linked to hardware routing and resource
> > reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of any
> > work in this field although the stream-based flow-limiting extension is
> > useful - sounds like a good thesis/paper to me.] Anyway, the only piece
> > missing is an SDP profile for SCTP (which I'm still in the process of
> > proposing something - input welcome).
> >
> > Comments please.
> >
> > Cheers,
> >
> > Robert.
> >
> > -- My opinions should not be taken as necessarily representing those of
> > Nuera Communications, Inc. --
> >
> > -----Original Message-----
> > From: Matt Holdrege [mailto:matt@ipverse.com]
> > Sent: Wednesday, March 28, 2001 3:39 AM
> > To:   sip@lists.bell-labs.com
> > Subject:      Re: [SIP] RE: SCTP as transport for SIP
> >
> > (from the SCTP AS)
> >
> > For SIP, considering the use of a reliable transport protocol (i.e. not
> > UDP) the features of SCTP would be:
> >
> > - acknowledged error-free non-duplicated transfer of user data,
> >
> > - data fragmentation to conform to discovered path MTU size,
> >
> > - sequenced delivery of user messages within multiple streams,
> >    with an option for order-of-arrival delivery of individual user
> >    messages,
> >
> > - optional bundling of multiple user messages into a single SCTP packet,
> >
> > - network-level fault tolerance through supporting of multi-homing at
> > either or both ends of an association.
> >
> > Applications that require framing of reliable data streams can get that
> > feature from SCTP.
> >
> > Applications which transfer independent message sequences that are
> > unrelated (sometimes called transactions) can benefit from the partial
> > ordering provided by SCTP streams.
> >
> > Applications that wish to transfer messages that hold no particular
> > sequence or relationship to one another can benefit from the unordered
> > service provided by SCTP.
> >
> > Finally for those applications seeking network layer redundancy with
> > multiple Network Interface cards can use SCTP's multi-homing feature.
> >
> > Is there any misunderstanding or disagreement with the above?
> >
> >
> > _______________________________________________
> > This list is for continuing development of the SIP protocol.
> > The sip-implementor's list is the place to discuss implementation,
> > and to receive advice on understanding existing sip.
> > To subscribe to it, send mail to
> > sip-implementors-request@cs.columbia.edu with "subscribe" in the body.
> >
> > ------_=_NextPart_001_01C0BB5B.B4B51C00
> > Content-Type: text/html;
> >       charset="iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> > <HTML>
> > <HEAD>
> > <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> > charset=3Diso-8859-1">
> > <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> > 5.5.2653.12">
> > <TITLE>RE: [SIP] RE: SCTP as transport for SIP</TITLE>
> > </HEAD>
> > <BODY>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt, </FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt,</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">I'm not convinced that SIP needs to =
> > use ordered delivery of messages across multiple streams. If we are not =
> > using stream specification within SIP (and I think I agree with you now =
> > Jonathan) then I believe SIP should be using a single unordered =
> > reliable stream rather than any/all the streams.</FONT></P>
> >
> > <UL><LI><FONT SIZE=3D2 FACE=3D"Arial">This is simpler and as has been =
> > said before, a more complicated SIP adaptation layer may cause more =
> > complexity in transport-ignorant systems (whatever that might be =
> > &lt;grin&gt;). This is also closer to the model used by the existing =
> > SIGTRAN adaptation layers (ie, one link =3D&gt; one =
> > stream).</FONT></LI>
> > <LI><FONT SIZE=3D2 FACE=3D"Arial">The process of enforcing that an =
> > application must accept packets on all streams may force =
> > implementations on the API and design of the SCTP stack. The stack uses =
> > the concept of "used" and "unused" streams - what effect does using 64K =
> > streams on an association have on memory requirements. This may not be =
> > a relevant concern but I think SIP should try to be more conservative =
> > in its use of SCTP.</FONT></LI>
> > <LI><FONT SIZE=3D2 FACE=3D"Arial">The sending of&nbsp; different call =
> > legs to different streams does not help much in my opinion. A single =
> > stream must still be able to accept packets for multiple call =
> > legs.</FONT></LI>
> > <LI><FONT SIZE=3D2 FACE=3D"Arial">Using arbitrary streams does not =
> > allow the use of other streams for any future purpose. </FONT></LI>
> > <BR>
> > </UL>
> > <P><FONT SIZE=3D2 FACE=3D"Arial">I'm also not convinced that the =
> > bundling of SIP messages is that useful - SIP messages are usually =
> > quite large anyway. However, an interesting application for SCTP with =
> > SIP might be on low bandwidth point to point connections. The SIP =
> > application controls the association and so it is not too unreasonable =
> > that the SIP application may negotiate the use of other streams in the =
> > same association for media use. Now the fragmentation properties of =
> > SCTP could reduce any delay/jitter in the media carried on the same =
> > SCTP association. This is not possible if SIP and media are carried in =
> > separate streams. [This is probably not a main-stream application and =
> > maybe not even useful/desirable but I don't think it should be =
> > impossible.]</FONT></P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Jonathan, I see you think that SCTP is =
> > not worth the trouble for SIP. I think that SCTP becomes more =
> > attractive to SIP when the media also uses SCTP such that SCTP becomes =
> > the only transport protocol needed (although not necessarily on the =
> > same association). SCTP has the interesting property that it makes the =
> > normally connectionless unreliable UDP media become connection-oriented =
> > unreliable U-SCTP media. I can even foresee that in the future, SCTP =
> > associations could be linked to hardware routing and resource =
> > reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of =
> > any work in this field although the stream-based flow-limiting =
> > extension is useful - sounds like a good thesis/paper to me.] Anyway, =
> > the only piece missing is an SDP profile for SCTP (which I'm still in =
> > the process of proposing something - input welcome).</FONT></P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Comments please.</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Cheers,</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Robert.</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">-- My opinions should not be taken as =
> > necessarily representing those of Nuera Communications, Inc. --</FONT>
> > </P>
> >
> > <P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
> > Message-----</FONT></A>
> > <BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:&nbsp;&nbsp; Matt Holdrege =
> > [<A =
> > HREF=3D"mailto:matt@ipverse.com">mailto:matt@ipverse.com</A>]</FONT></B>=
> >
> > <BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
> > SIZE=3D2 FACE=3D"Arial">Wednesday, March 28, 2001 3:39 AM</FONT>
> > <BR><B><FONT SIZE=3D2 =
> > FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
> > FACE=3D"Arial">sip@lists.bell-labs.com</FONT>
> > <BR><B><FONT SIZE=3D2 =
> > FACE=3D"Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>=
> > </B> <FONT SIZE=3D2 FACE=3D"Arial">Re: [SIP] RE: SCTP as transport for =
> > SIP</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">(from the SCTP AS)</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">For SIP, considering the use of a =
> > reliable transport protocol (i.e. not </FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">UDP) the features of SCTP would =
> > be:</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">- acknowledged error-free =
> > non-duplicated transfer of user data,</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">- data fragmentation to conform to =
> > discovered path MTU size,</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">- sequenced delivery of user messages =
> > within multiple streams,</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; with an option for =
> > order-of-arrival delivery of individual user</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; messages,</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">- optional bundling of multiple user =
> > messages into a single SCTP packet,</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">- network-level fault tolerance =
> > through supporting of multi-homing at </FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">either or both ends of an =
> > association.</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Applications that require framing of =
> > reliable data streams can get that</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">feature from SCTP.</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Applications which transfer =
> > independent message sequences that are </FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">unrelated (sometimes called =
> > transactions) can benefit from the partial </FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">ordering provided by SCTP =
> > streams.</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Applications that wish to transfer =
> > messages that hold no particular</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">sequence or relationship to one =
> > another can benefit from the unordered</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">service provided by SCTP.</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Finally for those applications seeking =
> > network layer redundancy with</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">multiple Network Interface cards can =
> > use SCTP's multi-homing feature.</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D2 FACE=3D"Arial">Is there any misunderstanding or =
> > disagreement with the above?</FONT>
> > </P>
> > <BR>
> >
> > <P><FONT SIZE=3D2 =
> > FACE=3D"Arial">_______________________________________________</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">This list is for continuing =
> > development of the SIP protocol.</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">The sip-implementor's list is the =
> > place to discuss implementation,</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">and to receive advice on =
> > understanding existing sip.</FONT>
> > <BR><FONT SIZE=3D2 FACE=3D"Arial">To subscribe to it, send mail to =
> > </FONT>
> > <BR><FONT SIZE=3D2 =
> > FACE=3D"Arial">sip-implementors-request@cs.columbia.edu with =
> > &quot;subscribe&quot; in the body.</FONT>
> > </P>
> >
> > </BODY>
> > </HTML>
> > ------_=_NextPart_001_01C0BB5B.B4B51C00--
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> _______________________________________________
> This list is for continuing development of the SIP protocol.
> The sip-implementor's list is the place to discuss implementation,
> and to receive advice on understanding existing sip.
> To subscribe to it, send mail to
> sip-implementors-request@cs.columbia.edu with "subscribe" in the body.

-- 
Gonzalo Camarillo                    Phone :   +1 212 939 71 71
Columbia University                  Mobile:  +358 40 702 35 35
472 Computer Science Building        Fax   :  +358  9 299 30 52
1214 Amsterdam Ave., Mail Code 0401  http://www.hut.fi/~gonzalo
New York, NY 10027                   
USA                              Gonzalo.Camarillo@ericsson.com

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr  3 16:20:23 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA15619
	for <tsvwg-archive@odin.ietf.org>; Tue, 3 Apr 2001 16:20:23 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA20602;
	Tue, 3 Apr 2001 16:17:59 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA20535
	for <tsvwg@ns.ietf.org>; Tue, 3 Apr 2001 16:17:56 -0400 (EDT)
Received: from shared1-mail.whowhere.com (shared1-batch.whowhere.com [209.185.123.82])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA15580
	for <tsvwg@ietf.org>; Tue, 3 Apr 2001 16:17:54 -0400 (EDT)
Received: from Unknown/Local ([?.?.?.?]) by shared1-mail.whowhere.com; Tue Apr  3 13:17:14 2001
To: "La Monte Henry Piggy Yarroll" <piggy@baqaqi.chi.il.us>,
        "Gonzalo Camarillo" <Gonzalo.Camarillo@lmf.ericsson.se>
Date: Tue, 03 Apr 2001 13:17:14 -0700
From: "Lyndon Ong" <lyndon_ong@eudoramail.com>
Message-ID: <HPBCKDEOEDIBIAAA@shared1-mail.whowhere.com>
Mime-Version: 1.0
Cc: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>,
        "'Matt Holdrege'" <matt@ipverse.com>, sip@lists.bell-labs.com,
        tsvwg@ietf.org, "'Jonathan Rosenberg'" <jdrosen@dynamicsoft.com>,
        mankin@isi.edu
X-Sent-Mail: off
Reply-To: lyndon_ong@eudoramail.com
X-Mailer: MailCity Service
Subject: Re: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
X-Sender-Ip: 63.96.78.20
Organization: QUALCOMM Eudora Web-Mail  (http://www.eudoramail.com:80) 
Content-Type: text/plain; charset=us-ascii
Content-Language: en
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Gonzalo,

Thanks for the link, this looks like a very nice paper.  In fact, some of the points might be good to incorporate/reference in the SCTP AS :o), esp. re: UDP vs. SCTP and the use of unordered service for some applications rather than multiple streams.  The AS authors are still working on the AS to make it more complete and clear (and unbiased).

Cheers,

Lyndon
--

On Tue, 03 Apr 2001 22:19:11   Gonzalo Camarillo wrote:
>Hello,
>
>You can check the following link out:
>http://www.cs.columbia.edu/~gonzalo/SIP_SCTP.pdf
>
>It compares advantages and disadvantages of using a single unordered
>stream over using multiple ordered streams to transport SIP.
>
>Best regards,
>
>Gonzalo
>
>La Monte Henry Piggy Yarroll wrote:
>> 
>> The purpose of streams in SCTP is to avoid head-of-line blocking.  A
>> single streams should ONLY be used for messages which have a strict
>> ordering requirement.  Standalone messages should travel via an
>> unordered stream.
>> 
>> The UA's DO allow multiple independant complex exchanges over separate
>> streams.  In many situations (e.g. telephony switching) it is
>> important to share congestion and flow-control information.  If you
>> DIDN'T use streams over a single SCTP association, you'd have to pay
>> the slow-start penalty for every new exchange.
>> 
>> "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com> writes:
>> > Hi Matt,
>> >
>> > I'm not convinced that SIP needs to use ordered delivery of messages across
>> > multiple streams. If we are not using stream specification within SIP (and I
>> > think I agree with you now Jonathan) then I believe SIP should be using a
>> > single unordered reliable stream rather than any/all the streams.
>> >
>> > -     This is simpler and as has been said before, a more complicated SIP
>> > adaptation layer may cause more complexity in transport-ignorant systems
>> > (whatever that might be <grin>). This is also closer to the model used by
>> > the existing SIGTRAN adaptation layers (ie, one link => one stream).
>> > -     The process of enforcing that an application must accept packets on
>> > all streams may force implementations on the API and design of the SCTP
>> > stack. The stack uses the concept of "used" and "unused" streams - what
>> > effect does using 64K streams on an association have on memory requirements.
>> > This may not be a relevant concern but I think SIP should try to be more
>> > conservative in its use of SCTP.
>> > -     The sending of  different call legs to different streams does not
>> > help much in my opinion. A single stream must still be able to accept
>> > packets for multiple call legs.
>> > -     Using arbitrary streams does not allow the use of other streams for
>> > any future purpose.
>> >
>> > I'm also not convinced that the bundling of SIP messages is that useful -
>> > SIP messages are usually quite large anyway. However, an interesting
>> > application for SCTP with SIP might be on low bandwidth point to point
>> > connections. The SIP application controls the association and so it is not
>> > too unreasonable that the SIP application may negotiate the use of other
>> > streams in the same association for media use. Now the fragmentation
>> > properties of SCTP could reduce any delay/jitter in the media carried on the
>> > same SCTP association. This is not possible if SIP and media are carried in
>> > separate streams. [This is probably not a main-stream application and maybe
>> > not even useful/desirable but I don't think it should be impossible.]
>> >
>> > Jonathan, I see you think that SCTP is not worth the trouble for SIP. I
>> > think that SCTP becomes more attractive to SIP when the media also uses SCTP
>> > such that SCTP becomes the only transport protocol needed (although not
>> > necessarily on the same association). SCTP has the interesting property that
>> > it makes the normally connectionless unreliable UDP media become
>> > connection-oriented unreliable U-SCTP media. I can even foresee that in the
>> > future, SCTP associations could be linked to hardware routing and resource
>> > reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of any
>> > work in this field although the stream-based flow-limiting extension is
>> > useful - sounds like a good thesis/paper to me.] Anyway, the only piece
>> > missing is an SDP profile for SCTP (which I'm still in the process of
>> > proposing something - input welcome).
>> >
>> > Comments please.
>> >
>> > Cheers,
>> >
>> > Robert.
>> >
>> > -- My opinions should not be taken as necessarily representing those of
>> > Nuera Communications, Inc. --
>> >
>> > -----Original Message-----
>> > From: Matt Holdrege [mailto:matt@ipverse.com]
>> > Sent: Wednesday, March 28, 2001 3:39 AM
>> > To:   sip@lists.bell-labs.com
>> > Subject:      Re: [SIP] RE: SCTP as transport for SIP
>> >
>> > (from the SCTP AS)
>> >
>> > For SIP, considering the use of a reliable transport protocol (i.e. not
>> > UDP) the features of SCTP would be:
>> >
>> > - acknowledged error-free non-duplicated transfer of user data,
>> >
>> > - data fragmentation to conform to discovered path MTU size,
>> >
>> > - sequenced delivery of user messages within multiple streams,
>> >    with an option for order-of-arrival delivery of individual user
>> >    messages,
>> >
>> > - optional bundling of multiple user messages into a single SCTP packet,
>> >
>> > - network-level fault tolerance through supporting of multi-homing at
>> > either or both ends of an association.
>> >
>> > Applications that require framing of reliable data streams can get that
>> > feature from SCTP.
>> >
>> > Applications which transfer independent message sequences that are
>> > unrelated (sometimes called transactions) can benefit from the partial
>> > ordering provided by SCTP streams.
>> >
>> > Applications that wish to transfer messages that hold no particular
>> > sequence or relationship to one another can benefit from the unordered
>> > service provided by SCTP.
>> >
>> > Finally for those applications seeking network layer redundancy with
>> > multiple Network Interface cards can use SCTP's multi-homing feature.
>> >
>> > Is there any misunderstanding or disagreement with the above?
>> >
>> >
>> > _______________________________________________
>> > This list is for continuing development of the SIP protocol.
>> > The sip-implementor's list is the place to discuss implementation,
>> > and to receive advice on understanding existing sip.
>> > To subscribe to it, send mail to
>> > sip-implementors-request@cs.columbia.edu with "subscribe" in the body.
>> >
>> > ------_=_NextPart_001_01C0BB5B.B4B51C00
>> > Content-Type: text/html;
>> >       charset="iso-8859-1"
>> > Content-Transfer-Encoding: quoted-printable
>> >
>> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
>> > <HTML>
>> > <HEAD>
>> > <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
>> > charset=3Diso-8859-1">
>> > <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
>> > 5.5.2653.12">
>> > <TITLE>RE: [SIP] RE: SCTP as transport for SIP</TITLE>
>> > </HEAD>
>> > <BODY>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt, </FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">I'm not convinced that SIP needs to =
>> > use ordered delivery of messages across multiple streams. If we are not =
>> > using stream specification within SIP (and I think I agree with you now =
>> > Jonathan) then I believe SIP should be using a single unordered =
>> > reliable stream rather than any/all the streams.</FONT></P>
>> >
>> > <UL><LI><FONT SIZE=3D2 FACE=3D"Arial">This is simpler and as has been =
>> > said before, a more complicated SIP adaptation layer may cause more =
>> > complexity in transport-ignorant systems (whatever that might be =
>> > <grin>). This is also closer to the model used by the existing =
>> > SIGTRAN adaptation layers (ie, one link =3D> one =
>> > stream).</FONT></LI>
>> > <LI><FONT SIZE=3D2 FACE=3D"Arial">The process of enforcing that an =
>> > application must accept packets on all streams may force =
>> > implementations on the API and design of the SCTP stack. The stack uses =
>> > the concept of "used" and "unused" streams - what effect does using 64K =
>> > streams on an association have on memory requirements. This may not be =
>> > a relevant concern but I think SIP should try to be more conservative =
>> > in its use of SCTP.</FONT></LI>
>> > <LI><FONT SIZE=3D2 FACE=3D"Arial">The sending of  different call =
>> > legs to different streams does not help much in my opinion. A single =
>> > stream must still be able to accept packets for multiple call =
>> > legs.</FONT></LI>
>> > <LI><FONT SIZE=3D2 FACE=3D"Arial">Using arbitrary streams does not =
>> > allow the use of other streams for any future purpose. </FONT></LI>
>> > <BR>
>> > </UL>
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">I'm also not convinced that the =
>> > bundling of SIP messages is that useful - SIP messages are usually =
>> > quite large anyway. However, an interesting application for SCTP with =
>> > SIP might be on low bandwidth point to point connections. The SIP =
>> > application controls the association and so it is not too unreasonable =
>> > that the SIP application may negotiate the use of other streams in the =
>> > same association for media use. Now the fragmentation properties of =
>> > SCTP could reduce any delay/jitter in the media carried on the same =
>> > SCTP association. This is not possible if SIP and media are carried in =
>> > separate streams. [This is probably not a main-stream application and =
>> > maybe not even useful/desirable but I don't think it should be =
>> > impossible.]</FONT></P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Jonathan, I see you think that SCTP is =
>> > not worth the trouble for SIP. I think that SCTP becomes more =
>> > attractive to SIP when the media also uses SCTP such that SCTP becomes =
>> > the only transport protocol needed (although not necessarily on the =
>> > same association). SCTP has the interesting property that it makes the =
>> > normally connectionless unreliable UDP media become connection-oriented =
>> > unreliable U-SCTP media. I can even foresee that in the future, SCTP =
>> > associations could be linked to hardware routing and resource =
>> > reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of =
>> > any work in this field although the stream-based flow-limiting =
>> > extension is useful - sounds like a good thesis/paper to me.] Anyway, =
>> > the only piece missing is an SDP profile for SCTP (which I'm still in =
>> > the process of proposing something - input welcome).</FONT></P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Comments please.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Cheers,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Robert.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">-- My opinions should not be taken as =
>> > necessarily representing those of Nuera Communications, Inc. --</FONT>
>> > </P>
>> >
>> > <P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
>> > Message-----</FONT></A>
>> > <BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:   Matt Holdrege =
>> > [<A =
>> > HREF=3D"mailto:matt@ipverse.com">mailto:matt@ipverse.com</A>]</FONT></B>=
>> >
>> > <BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:  </FONT></B> <FONT =
>> > SIZE=3D2 FACE=3D"Arial">Wednesday, March 28, 2001 3:39 AM</FONT>
>> > <BR><B><FONT SIZE=3D2 =
>> > FACE=3D"Arial">To:    </FONT></B> <FONT SIZE=3D2 =
>> > FACE=3D"Arial">sip@lists.bell-labs.com</FONT>
>> > <BR><B><FONT SIZE=3D2 =
>> > FACE=3D"Arial">Subject:       </FONT>=
>> > </B> <FONT SIZE=3D2 FACE=3D"Arial">Re: [SIP] RE: SCTP as transport for =
>> > SIP</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">(from the SCTP AS)</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">For SIP, considering the use of a =
>> > reliable transport protocol (i.e. not </FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">UDP) the features of SCTP would =
>> > be:</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- acknowledged error-free =
>> > non-duplicated transfer of user data,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- data fragmentation to conform to =
>> > discovered path MTU size,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- sequenced delivery of user messages =
>> > within multiple streams,</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">   with an option for =
>> > order-of-arrival delivery of individual user</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">   messages,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- optional bundling of multiple user =
>> > messages into a single SCTP packet,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- network-level fault tolerance =
>> > through supporting of multi-homing at </FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">either or both ends of an =
>> > association.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Applications that require framing of =
>> > reliable data streams can get that</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">feature from SCTP.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Applications which transfer =
>> > independent message sequences that are </FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">unrelated (sometimes called =
>> > transactions) can benefit from the partial </FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">ordering provided by SCTP =
>> > streams.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Applications that wish to transfer =
>> > messages that hold no particular</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">sequence or relationship to one =
>> > another can benefit from the unordered</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">service provided by SCTP.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Finally for those applications seeking =
>> > network layer redundancy with</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">multiple Network Interface cards can =
>> > use SCTP's multi-homing feature.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Is there any misunderstanding or =
>> > disagreement with the above?</FONT>
>> > </P>
>> > <BR>
>> >
>> > <P><FONT SIZE=3D2 =
>> > FACE=3D"Arial">_______________________________________________</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">This list is for continuing =
>> > development of the SIP protocol.</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">The sip-implementor's list is the =
>> > place to discuss implementation,</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">and to receive advice on =
>> > understanding existing sip.</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">To subscribe to it, send mail to =
>> > </FONT>
>> > <BR><FONT SIZE=3D2 =
>> > FACE=3D"Arial">sip-implementors-request@cs.columbia.edu with =
>> > "subscribe" in the body.</FONT>
>> > </P>
>> >
>> > </BODY>
>> > </HTML>
>> > ------_=_NextPart_001_01C0BB5B.B4B51C00--
>> >
>> > _______________________________________________
>> > tsvwg mailing list
>> > tsvwg@ietf.org
>> > http://www1.ietf.org/mailman/listinfo/tsvwg
>> 
>> _______________________________________________
>> This list is for continuing development of the SIP protocol.
>> The sip-implementor's list is the place to discuss implementation,
>> and to receive advice on understanding existing sip.
>> To subscribe to it, send mail to
>> sip-implementors-request@cs.columbia.edu with "subscribe" in the body.
>
>-- 
>Gonzalo Camarillo                    Phone :   +1 212 939 71 71
>Columbia University                  Mobile:  +358 40 702 35 35
>472 Computer Science Building        Fax   :  +358  9 299 30 52
>1214 Amsterdam Ave., Mail Code 0401  http://www.hut.fi/~gonzalo
>New York, NY 10027                   
>USA                              Gonzalo.Camarillo@ericsson.com
>
>_______________________________________________
>tsvwg mailing list
>tsvwg@ietf.org
>http://www1.ietf.org/mailman/listinfo/tsvwg
>


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr  3 16:46:03 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA16448
	for <tsvwg-archive@odin.ietf.org>; Tue, 3 Apr 2001 16:46:03 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA21093;
	Tue, 3 Apr 2001 16:42:40 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA21062
	for <tsvwg@ns.ietf.org>; Tue, 3 Apr 2001 16:42:36 -0400 (EDT)
Received: from shared1-mail.whowhere.com (shared1-batch.whowhere.com [209.185.123.82])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA16231
	for <tsvwg@ietf.org>; Tue, 3 Apr 2001 16:42:32 -0400 (EDT)
Received: from Unknown/Local ([?.?.?.?]) by shared1-mail.whowhere.com; Tue Apr  3 13:41:49 2001
To: "La Monte Henry Piggy Yarroll" <piggy@baqaqi.chi.il.us>,
        "Gonzalo Camarillo" <Gonzalo.Camarillo@lmf.ericsson.se>
Date: Tue, 03 Apr 2001 13:41:49 -0700
From: "Lyndon Ong" <lyndon_ong@eudoramail.com>
Message-ID: <NOEIMKCGMIJBIAAA@shared1-mail.whowhere.com>
Mime-Version: 1.0
Cc: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>,
        "'Matt Holdrege'" <matt@ipverse.com>, sip@lists.bell-labs.com,
        tsvwg@ietf.org, "'Jonathan Rosenberg'" <jdrosen@dynamicsoft.com>,
        sigtran@standards.nortelnetworks.com, loede.coene@siemens.atea.be
X-Sent-Mail: off
Reply-To: lyndon_ong@eudoramail.com
X-Mailer: MailCity Service
Subject: Re: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
X-Sender-Ip: 63.96.78.20
Organization: QUALCOMM Eudora Web-Mail  (http://www.eudoramail.com:80) 
Content-Type: text/plain; charset=us-ascii
Content-Language: en
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

BTW, I'm suggesting we might incorporate some of the points made in Gonzalo's paper, e.g., use of unordered service for applications that do their own message correlation, ability to do transport level fragmentation, etc., not the overall conclusion of whether to use SCTP for SIP, which is out of scope.

Cheers,

Lyndon 
--

On Tue, 03 Apr 2001 22:19:11   Gonzalo Camarillo wrote:
>Hello,
>
>You can check the following link out:
>http://www.cs.columbia.edu/~gonzalo/SIP_SCTP.pdf
>
>It compares advantages and disadvantages of using a single unordered
>stream over using multiple ordered streams to transport SIP.
>
>Best regards,
>
>Gonzalo
>
>La Monte Henry Piggy Yarroll wrote:
>> 
>> The purpose of streams in SCTP is to avoid head-of-line blocking.  A
>> single streams should ONLY be used for messages which have a strict
>> ordering requirement.  Standalone messages should travel via an
>> unordered stream.
>> 
>> The UA's DO allow multiple independant complex exchanges over separate
>> streams.  In many situations (e.g. telephony switching) it is
>> important to share congestion and flow-control information.  If you
>> DIDN'T use streams over a single SCTP association, you'd have to pay
>> the slow-start penalty for every new exchange.
>> 
>> "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com> writes:
>> > Hi Matt,
>> >
>> > I'm not convinced that SIP needs to use ordered delivery of messages across
>> > multiple streams. If we are not using stream specification within SIP (and I
>> > think I agree with you now Jonathan) then I believe SIP should be using a
>> > single unordered reliable stream rather than any/all the streams.
>> >
>> > -     This is simpler and as has been said before, a more complicated SIP
>> > adaptation layer may cause more complexity in transport-ignorant systems
>> > (whatever that might be <grin>). This is also closer to the model used by
>> > the existing SIGTRAN adaptation layers (ie, one link => one stream).
>> > -     The process of enforcing that an application must accept packets on
>> > all streams may force implementations on the API and design of the SCTP
>> > stack. The stack uses the concept of "used" and "unused" streams - what
>> > effect does using 64K streams on an association have on memory requirements.
>> > This may not be a relevant concern but I think SIP should try to be more
>> > conservative in its use of SCTP.
>> > -     The sending of  different call legs to different streams does not
>> > help much in my opinion. A single stream must still be able to accept
>> > packets for multiple call legs.
>> > -     Using arbitrary streams does not allow the use of other streams for
>> > any future purpose.
>> >
>> > I'm also not convinced that the bundling of SIP messages is that useful -
>> > SIP messages are usually quite large anyway. However, an interesting
>> > application for SCTP with SIP might be on low bandwidth point to point
>> > connections. The SIP application controls the association and so it is not
>> > too unreasonable that the SIP application may negotiate the use of other
>> > streams in the same association for media use. Now the fragmentation
>> > properties of SCTP could reduce any delay/jitter in the media carried on the
>> > same SCTP association. This is not possible if SIP and media are carried in
>> > separate streams. [This is probably not a main-stream application and maybe
>> > not even useful/desirable but I don't think it should be impossible.]
>> >
>> > Jonathan, I see you think that SCTP is not worth the trouble for SIP. I
>> > think that SCTP becomes more attractive to SIP when the media also uses SCTP
>> > such that SCTP becomes the only transport protocol needed (although not
>> > necessarily on the same association). SCTP has the interesting property that
>> > it makes the normally connectionless unreliable UDP media become
>> > connection-oriented unreliable U-SCTP media. I can even foresee that in the
>> > future, SCTP associations could be linked to hardware routing and resource
>> > reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of any
>> > work in this field although the stream-based flow-limiting extension is
>> > useful - sounds like a good thesis/paper to me.] Anyway, the only piece
>> > missing is an SDP profile for SCTP (which I'm still in the process of
>> > proposing something - input welcome).
>> >
>> > Comments please.
>> >
>> > Cheers,
>> >
>> > Robert.
>> >
>> > -- My opinions should not be taken as necessarily representing those of
>> > Nuera Communications, Inc. --
>> >
>> > -----Original Message-----
>> > From: Matt Holdrege [mailto:matt@ipverse.com]
>> > Sent: Wednesday, March 28, 2001 3:39 AM
>> > To:   sip@lists.bell-labs.com
>> > Subject:      Re: [SIP] RE: SCTP as transport for SIP
>> >
>> > (from the SCTP AS)
>> >
>> > For SIP, considering the use of a reliable transport protocol (i.e. not
>> > UDP) the features of SCTP would be:
>> >
>> > - acknowledged error-free non-duplicated transfer of user data,
>> >
>> > - data fragmentation to conform to discovered path MTU size,
>> >
>> > - sequenced delivery of user messages within multiple streams,
>> >    with an option for order-of-arrival delivery of individual user
>> >    messages,
>> >
>> > - optional bundling of multiple user messages into a single SCTP packet,
>> >
>> > - network-level fault tolerance through supporting of multi-homing at
>> > either or both ends of an association.
>> >
>> > Applications that require framing of reliable data streams can get that
>> > feature from SCTP.
>> >
>> > Applications which transfer independent message sequences that are
>> > unrelated (sometimes called transactions) can benefit from the partial
>> > ordering provided by SCTP streams.
>> >
>> > Applications that wish to transfer messages that hold no particular
>> > sequence or relationship to one another can benefit from the unordered
>> > service provided by SCTP.
>> >
>> > Finally for those applications seeking network layer redundancy with
>> > multiple Network Interface cards can use SCTP's multi-homing feature.
>> >
>> > Is there any misunderstanding or disagreement with the above?
>> >
>> >
>> > _______________________________________________
>> > This list is for continuing development of the SIP protocol.
>> > The sip-implementor's list is the place to discuss implementation,
>> > and to receive advice on understanding existing sip.
>> > To subscribe to it, send mail to
>> > sip-implementors-request@cs.columbia.edu with "subscribe" in the body.
>> >
>> > ------_=_NextPart_001_01C0BB5B.B4B51C00
>> > Content-Type: text/html;
>> >       charset="iso-8859-1"
>> > Content-Transfer-Encoding: quoted-printable
>> >
>> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
>> > <HTML>
>> > <HEAD>
>> > <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
>> > charset=3Diso-8859-1">
>> > <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
>> > 5.5.2653.12">
>> > <TITLE>RE: [SIP] RE: SCTP as transport for SIP</TITLE>
>> > </HEAD>
>> > <BODY>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt, </FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Hi Matt,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">I'm not convinced that SIP needs to =
>> > use ordered delivery of messages across multiple streams. If we are not =
>> > using stream specification within SIP (and I think I agree with you now =
>> > Jonathan) then I believe SIP should be using a single unordered =
>> > reliable stream rather than any/all the streams.</FONT></P>
>> >
>> > <UL><LI><FONT SIZE=3D2 FACE=3D"Arial">This is simpler and as has been =
>> > said before, a more complicated SIP adaptation layer may cause more =
>> > complexity in transport-ignorant systems (whatever that might be =
>> > <grin>). This is also closer to the model used by the existing =
>> > SIGTRAN adaptation layers (ie, one link =3D> one =
>> > stream).</FONT></LI>
>> > <LI><FONT SIZE=3D2 FACE=3D"Arial">The process of enforcing that an =
>> > application must accept packets on all streams may force =
>> > implementations on the API and design of the SCTP stack. The stack uses =
>> > the concept of "used" and "unused" streams - what effect does using 64K =
>> > streams on an association have on memory requirements. This may not be =
>> > a relevant concern but I think SIP should try to be more conservative =
>> > in its use of SCTP.</FONT></LI>
>> > <LI><FONT SIZE=3D2 FACE=3D"Arial">The sending of  different call =
>> > legs to different streams does not help much in my opinion. A single =
>> > stream must still be able to accept packets for multiple call =
>> > legs.</FONT></LI>
>> > <LI><FONT SIZE=3D2 FACE=3D"Arial">Using arbitrary streams does not =
>> > allow the use of other streams for any future purpose. </FONT></LI>
>> > <BR>
>> > </UL>
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">I'm also not convinced that the =
>> > bundling of SIP messages is that useful - SIP messages are usually =
>> > quite large anyway. However, an interesting application for SCTP with =
>> > SIP might be on low bandwidth point to point connections. The SIP =
>> > application controls the association and so it is not too unreasonable =
>> > that the SIP application may negotiate the use of other streams in the =
>> > same association for media use. Now the fragmentation properties of =
>> > SCTP could reduce any delay/jitter in the media carried on the same =
>> > SCTP association. This is not possible if SIP and media are carried in =
>> > separate streams. [This is probably not a main-stream application and =
>> > maybe not even useful/desirable but I don't think it should be =
>> > impossible.]</FONT></P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Jonathan, I see you think that SCTP is =
>> > not worth the trouble for SIP. I think that SCTP becomes more =
>> > attractive to SIP when the media also uses SCTP such that SCTP becomes =
>> > the only transport protocol needed (although not necessarily on the =
>> > same association). SCTP has the interesting property that it makes the =
>> > normally connectionless unreliable UDP media become connection-oriented =
>> > unreliable U-SCTP media. I can even foresee that in the future, SCTP =
>> > associations could be linked to hardware routing and resource =
>> > reservation (eg using SCTP for MPLS instead of RSVP). [I don't know of =
>> > any work in this field although the stream-based flow-limiting =
>> > extension is useful - sounds like a good thesis/paper to me.] Anyway, =
>> > the only piece missing is an SDP profile for SCTP (which I'm still in =
>> > the process of proposing something - input welcome).</FONT></P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Comments please.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Cheers,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Robert.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">-- My opinions should not be taken as =
>> > necessarily representing those of Nuera Communications, Inc. --</FONT>
>> > </P>
>> >
>> > <P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
>> > Message-----</FONT></A>
>> > <BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:   Matt Holdrege =
>> > [<A =
>> > HREF=3D"mailto:matt@ipverse.com">mailto:matt@ipverse.com</A>]</FONT></B>=
>> >
>> > <BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:  </FONT></B> <FONT =
>> > SIZE=3D2 FACE=3D"Arial">Wednesday, March 28, 2001 3:39 AM</FONT>
>> > <BR><B><FONT SIZE=3D2 =
>> > FACE=3D"Arial">To:    </FONT></B> <FONT SIZE=3D2 =
>> > FACE=3D"Arial">sip@lists.bell-labs.com</FONT>
>> > <BR><B><FONT SIZE=3D2 =
>> > FACE=3D"Arial">Subject:       </FONT>=
>> > </B> <FONT SIZE=3D2 FACE=3D"Arial">Re: [SIP] RE: SCTP as transport for =
>> > SIP</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">(from the SCTP AS)</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">For SIP, considering the use of a =
>> > reliable transport protocol (i.e. not </FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">UDP) the features of SCTP would =
>> > be:</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- acknowledged error-free =
>> > non-duplicated transfer of user data,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- data fragmentation to conform to =
>> > discovered path MTU size,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- sequenced delivery of user messages =
>> > within multiple streams,</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">   with an option for =
>> > order-of-arrival delivery of individual user</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">   messages,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- optional bundling of multiple user =
>> > messages into a single SCTP packet,</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">- network-level fault tolerance =
>> > through supporting of multi-homing at </FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">either or both ends of an =
>> > association.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Applications that require framing of =
>> > reliable data streams can get that</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">feature from SCTP.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Applications which transfer =
>> > independent message sequences that are </FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">unrelated (sometimes called =
>> > transactions) can benefit from the partial </FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">ordering provided by SCTP =
>> > streams.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Applications that wish to transfer =
>> > messages that hold no particular</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">sequence or relationship to one =
>> > another can benefit from the unordered</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">service provided by SCTP.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Finally for those applications seeking =
>> > network layer redundancy with</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">multiple Network Interface cards can =
>> > use SCTP's multi-homing feature.</FONT>
>> > </P>
>> >
>> > <P><FONT SIZE=3D2 FACE=3D"Arial">Is there any misunderstanding or =
>> > disagreement with the above?</FONT>
>> > </P>
>> > <BR>
>> >
>> > <P><FONT SIZE=3D2 =
>> > FACE=3D"Arial">_______________________________________________</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">This list is for continuing =
>> > development of the SIP protocol.</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">The sip-implementor's list is the =
>> > place to discuss implementation,</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">and to receive advice on =
>> > understanding existing sip.</FONT>
>> > <BR><FONT SIZE=3D2 FACE=3D"Arial">To subscribe to it, send mail to =
>> > </FONT>
>> > <BR><FONT SIZE=3D2 =
>> > FACE=3D"Arial">sip-implementors-request@cs.columbia.edu with =
>> > "subscribe" in the body.</FONT>
>> > </P>
>> >
>> > </BODY>
>> > </HTML>
>> > ------_=_NextPart_001_01C0BB5B.B4B51C00--
>> >
>> > _______________________________________________
>> > tsvwg mailing list
>> > tsvwg@ietf.org
>> > http://www1.ietf.org/mailman/listinfo/tsvwg
>> 
>> _______________________________________________
>> This list is for continuing development of the SIP protocol.
>> The sip-implementor's list is the place to discuss implementation,
>> and to receive advice on understanding existing sip.
>> To subscribe to it, send mail to
>> sip-implementors-request@cs.columbia.edu with "subscribe" in the body.
>
>-- 
>Gonzalo Camarillo                    Phone :   +1 212 939 71 71
>Columbia University                  Mobile:  +358 40 702 35 35
>472 Computer Science Building        Fax   :  +358  9 299 30 52
>1214 Amsterdam Ave., Mail Code 0401  http://www.hut.fi/~gonzalo
>New York, NY 10027                   
>USA                              Gonzalo.Camarillo@ericsson.com
>
>_______________________________________________
>tsvwg mailing list
>tsvwg@ietf.org
>http://www1.ietf.org/mailman/listinfo/tsvwg
>


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr  4 05:04:51 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id FAA11514
	for <tsvwg-archive@odin.ietf.org>; Wed, 4 Apr 2001 05:04:51 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id FAA07052;
	Wed, 4 Apr 2001 05:00:44 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id FAA07028
	for <tsvwg@ns.ietf.org>; Wed, 4 Apr 2001 05:00:42 -0400 (EDT)
Received: from hrtades6.atea.be (mailhost2.atea.be [194.78.143.126])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id FAA11462
	for <tsvwg@ietf.org>; Wed, 4 Apr 2001 05:00:35 -0400 (EDT)
Received: from hrtades3.atea.be (siemens.atea.be [139.10.143.68]) by hrtades6.atea.be with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id FP0W8CQT; Wed, 4 Apr 2001 10:59:12 +0200
Received: by siemens.atea.be with Internet Mail Service (5.5.2653.19)
	id <21D19Z98>; Wed, 4 Apr 2001 10:59:31 +0200
Message-ID: <EB05A41009F7D111A07E00805FA79A14032DC6D9@hrtades1.atea.be>
From: Coene Lode <Lode.Coene@siemens.atea.be>
To: "'sigtran@standards.nortelnetworks.com'"
	 <sigtran@standards.nortelnetworks.com>,
        sigtran
	 <sigtran@lyris.nortelnetworks.com>
Cc: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>,
        "'Matt Holdrege'"
	 <matt@ipverse.com>, sip@lists.bell-labs.com,
        tsvwg@ietf.org, "'Jonathan Rosenberg'" <jdrosen@dynamicsoft.com>,
        sigtran@marvin.corpeast.baynetworks.com,
        Coene Lode
	 <Lode.Coene@siemens.atea.be>
Subject: RE: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
Date: Wed, 4 Apr 2001 10:59:22 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

Well, I agree with the points made in the paper(certainly the conclusion
that SCTP is best used between SIP entities that handle large amounts of
traffics(example proxy-gateway)) The case is indeed wmuch weaker for low
amounts of traffic between user agen and proxy). They have made the point.
Enough said.


> -----Original Message-----
> From: Lyndon Ong [mailto:lyndon_ong@eudoramail.com]
> Sent: dinsdag 3 april 2001 22:42
> To: sigtran
> Cc: Fairlie-Cuninghame, Robert; 'Matt Holdrege';
> sip@lists.bell-labs.com; tsvwg@ietf.org; 'Jonathan Rosenberg';
> sigtran@marvin.corpeast.baynetworks.com; loede.coene@SIEMENS.ATEA.BE
> Subject: Re: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
> 
> 
> BTW, I'm suggesting we might incorporate some of the points 
> made in Gonzalo's paper, e.g., use of unordered service for 
> applications that do their own message correlation, ability 
> to do transport level fragmentation, etc., not the overall 
> conclusion of whether to use SCTP for SIP, which is out of scope.


This suggestion in gladly taken into account (as Scot mentioned something
about seeing something about UDP also in the draft). I'll try to hammer out
something along those lines later this day or tomorrow. 
In the mean time, Thank you to Gonzalo and his coauthors. 


> 
> Cheers,
> 
> Lyndon 

BTW Lyndon, that Loede guy showed up once again in the mail header.  :-)
> --
> 
> On Tue, 03 Apr 2001 22:19:11   Gonzalo Camarillo wrote:
> >Hello,
> >
> >You can check the following link out:
> >http://www.cs.columbia.edu/~gonzalo/SIP_SCTP.pdf
> >
> >It compares advantages and disadvantages of using a single unordered
> >stream over using multiple ordered streams to transport SIP.
> >
> >Best regards,
> >
> >Gonzalo
> >



yours sincerly,
Lode

Siemens Atea ICN D CS D
Software Development 
Atealaan 34     
B-2200    Herentals    Belgium         
Tel +32-14-25-2081   /  Fax +32-14-25-3212
E-mail:   lode.coene@siemens.atea.be


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr  4 08:59:27 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA17080
	for <tsvwg-archive@odin.ietf.org>; Wed, 4 Apr 2001 08:59:22 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA10628;
	Wed, 4 Apr 2001 08:55:48 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA10599
	for <tsvwg@ns.ietf.org>; Wed, 4 Apr 2001 08:55:46 -0400 (EDT)
Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA16882
	for <tsvwg@ietf.org>; Wed, 4 Apr 2001 08:55:43 -0400 (EDT)
Received: from ecvwall1.wipro.com (ecvwall1.wipro.com [192.168.181.23])
	by wiproecmx2.wipro.com (8.9.3/8.9.3) with SMTP id SAA20210
	for <tsvwg@ietf.org>; Wed, 4 Apr 2001 18:35:02 GMT
Received: from ranjith ([10.200.0.141]) by ecmail.mail.wipro.com
          (Netscape Messaging Server 4.15) with SMTP id GB9QIQ00.MR3; Wed,
          4 Apr 2001 18:24:26 +0530 
Received: by localhost with Microsoft MAPI; Wed, 4 Apr 2001 18:27:22 -0000
Message-ID: <01C0BD34.E3F92940.ranjith.mukundan@wipro.com>
From: "RANJITH MUKUNDAN" <ranjith.mukundan@wipro.com>
Reply-To: "ranjith.mukundan@wipro.com" <ranjith.mukundan@wipro.com>
To: "'Coene Lode'" <Lode.Coene@siemens.atea.be>,
        "'sigtran@standards.nortelnetworks.com'" <sigtran@standards.nortelnetworks.com>,
        sigtran <sigtran@lyris.nortelnetworks.com>
Cc: "Fairlie-Cuninghame Robert" <rfairlie@nuera.com>,
        "'Matt Holdrege'" <matt@ipverse.com>,
        "sip@lists.bell-labs.com" <sip@lists.bell-labs.com>,
        "tsvwg@ietf.org" <tsvwg@ietf.org>,
        "'Jonathan Rosenberg'" <jdrosen@dynamicsoft.com>,
        "sigtran@marvin.corpeast.baynetworks.com" <sigtran@marvin.corpeast.baynetworks.com>
Subject: RE: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
Date: Wed, 4 Apr 2001 18:27:21 -0000
Organization: Wipro
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
Encoding: 87 TEXT
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

..but isn't  there an mechanism/option to toggle between 
transport(sctp/udp...) on a per service basis OR based on the traffic 
characteristics available at the servers (OAM parms) for new sessions?

thanks,
ranjith..

-----Original Message-----
From:	Coene Lode [SMTP:Lode.Coene@siemens.atea.be]
Sent:	Wednesday, April 04, 2001 2:29 PM
To:	'sigtran@standards.nortelnetworks.com'; sigtran
Cc:	Fairlie-Cuninghame, Robert; 'Matt Holdrege'; sip@lists.bell-labs.com; 
tsvwg@ietf.org; 'Jonathan Rosenberg'; 
sigtran@marvin.corpeast.baynetworks.com; Coene Lode
Subject:	RE: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP

Well, I agree with the points made in the paper(certainly the conclusion
that SCTP is best used between SIP entities that handle large amounts of
traffics(example proxy-gateway)) The case is indeed wmuch weaker for low
amounts of traffic between user agen and proxy). They have made the point.
Enough said.


> -----Original Message-----
> From: Lyndon Ong [mailto:lyndon_ong@eudoramail.com]
> Sent: dinsdag 3 april 2001 22:42
> To: sigtran
> Cc: Fairlie-Cuninghame, Robert; 'Matt Holdrege';
> sip@lists.bell-labs.com; tsvwg@ietf.org; 'Jonathan Rosenberg';
> sigtran@marvin.corpeast.baynetworks.com; loede.coene@SIEMENS.ATEA.BE
> Subject: Re: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
>
>
> BTW, I'm suggesting we might incorporate some of the points
> made in Gonzalo's paper, e.g., use of unordered service for
> applications that do their own message correlation, ability
> to do transport level fragmentation, etc., not the overall
> conclusion of whether to use SCTP for SIP, which is out of scope.


This suggestion in gladly taken into account (as Scot mentioned something
about seeing something about UDP also in the draft). I'll try to hammer out
something along those lines later this day or tomorrow.
In the mean time, Thank you to Gonzalo and his coauthors.


>
> Cheers,
>
> Lyndon

BTW Lyndon, that Loede guy showed up once again in the mail header.  :-)
> --
>
> On Tue, 03 Apr 2001 22:19:11   Gonzalo Camarillo wrote:
> >Hello,
> >
> >You can check the following link out:
> >http://www.cs.columbia.edu/~gonzalo/SIP_SCTP.pdf
> >
> >It compares advantages and disadvantages of using a single unordered
> >stream over using multiple ordered streams to transport SIP.
> >
> >Best regards,
> >
> >Gonzalo
> >



yours sincerly,
Lode

Siemens Atea ICN D CS D
Software Development
Atealaan 34
B-2200    Herentals    Belgium
Tel +32-14-25-2081   /  Fax +32-14-25-3212
E-mail:   lode.coene@siemens.atea.be


_______________________________________________
This list is for continuing development of the SIP protocol.
The sip-implementor's list is the place to discuss implementation,
and to receive advice on understanding existing sip.
To subscribe to it, send mail to
sip-implementors-request@cs.columbia.edu with "subscribe" in the body.


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr  4 12:43:02 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA25434
	for <tsvwg-archive@odin.ietf.org>; Wed, 4 Apr 2001 12:42:58 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA15864;
	Wed, 4 Apr 2001 12:31:50 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA15835
	for <tsvwg@ns.ietf.org>; Wed, 4 Apr 2001 12:31:48 -0400 (EDT)
Received: from hrtades6.atea.be (mailhost2.atea.be [194.78.143.126])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA25073
	for <tsvwg@ietf.org>; Wed, 4 Apr 2001 12:31:45 -0400 (EDT)
Received: from hrtades3.atea.be (siemens.atea.be [139.10.143.68]) by hrtades6.atea.be with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id FP0W8HKF; Wed, 4 Apr 2001 18:30:36 +0200
Received: by siemens.atea.be with Internet Mail Service (5.5.2653.19)
	id <21D10B2T>; Wed, 4 Apr 2001 18:30:55 +0200
Message-ID: <EB05A41009F7D111A07E00805FA79A14032DC6DF@hrtades1.atea.be>
From: Coene Lode <Lode.Coene@siemens.atea.be>
To: "'ranjith.mukundan@wipro.com'" <ranjith.mukundan@wipro.com>,
        Coene Lode <Lode.Coene@siemens.atea.be>,
        "'sigtran@standards.nortelnetworks.com'"
	 <sigtran@standards.nortelnetworks.com>,
        sigtran
	 <sigtran@lyris.nortelnetworks.com>
Cc: Fairlie-Cuninghame Robert <rfairlie@nuera.com>,
        "'Matt Holdrege'"
	 <matt@ipverse.com>, sip@lists.bell-labs.com,
        tsvwg@ietf.org, "'Jonathan Rosenberg'" <jdrosen@dynamicsoft.com>,
        sigtran@marvin.corpeast.baynetworks.com
Subject: RE: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
Date: Wed, 4 Apr 2001 18:30:49 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

Header is getting a bit overloaded :-)
See my comment below.

yours sincerly,
Lode

Siemens Atea ICN D CS D
Software Development 
Atealaan 34     
B-2200    Herentals    Belgium         
Tel +32-14-25-2081   /  Fax +32-14-25-3212
E-mail:   lode.coene@siemens.atea.be



> -----Original Message-----
> From: RANJITH MUKUNDAN [mailto:ranjith.mukundan@wipro.com]
> Sent: woensdag 4 april 2001 20:27
> To: 'Coene Lode'; 'sigtran@standards.nortelnetworks.com'; sigtran
> Cc: Fairlie-Cuninghame Robert; 'Matt Holdrege'; 
> sip@lists.bell-labs.com;
> tsvwg@ietf.org; 'Jonathan Rosenberg';
> sigtran@marvin.corpeast.baynetworks.com
> Subject: RE: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
> 
> 
> ..but isn't  there an mechanism/option to toggle between 
> transport(sctp/udp...) on a per service basis OR based on the traffic 
> characteristics available at the servers (OAM parms) for new sessions?

That looks like a implementation issue to me. In any case, there is little
use in having it in one server if other servers do not support that
transport protcol. Thus toggling it off or on won't make a difference.

yours sincerly
Lode

> 
> thanks,
> ranjith..
> 
> -----Original Message-----
> From:	Coene Lode [SMTP:Lode.Coene@siemens.atea.be]
> Sent:	Wednesday, April 04, 2001 2:29 PM
> To:	'sigtran@standards.nortelnetworks.com'; sigtran
> Cc:	Fairlie-Cuninghame, Robert; 'Matt Holdrege'; 
> sip@lists.bell-labs.com; 
> tsvwg@ietf.org; 'Jonathan Rosenberg'; 
> sigtran@marvin.corpeast.baynetworks.com; Coene Lode
> Subject:	RE: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
> 
> Well, I agree with the points made in the paper(certainly the 
> conclusion
> that SCTP is best used between SIP entities that handle large 
> amounts of
> traffics(example proxy-gateway)) The case is indeed wmuch 
> weaker for low
> amounts of traffic between user agen and proxy). They have 
> made the point.
> Enough said.
> 
> 
> > -----Original Message-----
> > From: Lyndon Ong [mailto:lyndon_ong@eudoramail.com]
> > Sent: dinsdag 3 april 2001 22:42
> > To: sigtran
> > Cc: Fairlie-Cuninghame, Robert; 'Matt Holdrege';
> > sip@lists.bell-labs.com; tsvwg@ietf.org; 'Jonathan Rosenberg';
> > sigtran@marvin.corpeast.baynetworks.com; loede.coene@SIEMENS.ATEA.BE
> > Subject: Re: [Tsvwg] RE: [SIP] RE: SCTP as transport for SIP
> >
> >
> > BTW, I'm suggesting we might incorporate some of the points
> > made in Gonzalo's paper, e.g., use of unordered service for
> > applications that do their own message correlation, ability
> > to do transport level fragmentation, etc., not the overall
> > conclusion of whether to use SCTP for SIP, which is out of scope.
> 
> 
> This suggestion in gladly taken into account (as Scot 
> mentioned something
> about seeing something about UDP also in the draft). I'll try 
> to hammer out
> something along those lines later this day or tomorrow.
> In the mean time, Thank you to Gonzalo and his coauthors.
> 
> 
> >
> > Cheers,
> >
> > Lyndon
> 
> BTW Lyndon, that Loede guy showed up once again in the mail 
> header.  :-)
> > --
> >
> > On Tue, 03 Apr 2001 22:19:11   Gonzalo Camarillo wrote:
> > >Hello,
> > >
> > >You can check the following link out:
> > >http://www.cs.columbia.edu/~gonzalo/SIP_SCTP.pdf
> > >
> > >It compares advantages and disadvantages of using a single 
> unordered
> > >stream over using multiple ordered streams to transport SIP.
> > >
> > >Best regards,
> > >
> > >Gonzalo
> > >
> 
> 
> 
> yours sincerly,
> Lode
> 
> Siemens Atea ICN D CS D
> Software Development
> Atealaan 34
> B-2200    Herentals    Belgium
> Tel +32-14-25-2081   /  Fax +32-14-25-3212
> E-mail:   lode.coene@siemens.atea.be
> 
> 
> _______________________________________________
> This list is for continuing development of the SIP protocol.
> The sip-implementor's list is the place to discuss implementation,
> and to receive advice on understanding existing sip.
> To subscribe to it, send mail to
> sip-implementors-request@cs.columbia.edu with "subscribe" in the body.
> 

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr  5 06:46:14 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA26840
	for <tsvwg-archive@odin.ietf.org>; Thu, 5 Apr 2001 06:46:14 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id GAA09956;
	Thu, 5 Apr 2001 06:41:49 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id GAA09917
	for <tsvwg@ns.ietf.org>; Thu, 5 Apr 2001 06:41:46 -0400 (EDT)
Received: from plmta00.chello.pl (plmta00.chello.pl [213.46.248.62])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA26655
	for <tsvwg@ietf.org>; Thu, 5 Apr 2001 06:41:45 -0400 (EDT)
Message-Id: <200104051041.GAA26655@ietf.org>
Received: from hetnet.nl ([213.93.48.181]) by plmta00.chello.pl
          (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35)
          with SMTP id pl for <tsvwg@ietf.org>;
          Thu, 5 Apr 2001 08:03:20 -0100
From: "Rita de Groot" <R.deGroot@hetnet.nl>
To: <tsvwg@ietf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Date: Thu, 5 Apr 2001 11:00:51 +0200
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit
Subject: [Tsvwg] huidziekte
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 8bit

Vijf jaar voordat deze foto's werden genomen werd bij mij diagnose 
reumatische artritis gesteld en als zodanig ook behandeld. Niets hielp. 
Toen de ziekte zich zo manifesteerde zoals u hieronder kunt zien..........
http://www.naardedokter.com/testimonials/sys_lup_eryth.htm

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr  5 07:14:24 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA27643
	for <tsvwg-archive@odin.ietf.org>; Thu, 5 Apr 2001 07:14:24 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA11093;
	Thu, 5 Apr 2001 07:06:55 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA11065
	for <tsvwg@ns.ietf.org>; Thu, 5 Apr 2001 07:06:53 -0400 (EDT)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA27404;
	Thu, 5 Apr 2001 07:06:52 -0400 (EDT)
Message-Id: <200104051106.HAA27404@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: tsvwg@ietf.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Date: Thu, 05 Apr 2001 07:06:52 -0400
Subject: [Tsvwg] I-D ACTION:draft-ietf-tsvwg-usctp-00.txt
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Transport Area Working Group Working Group of the IETF.

	Title		: SCTP Unreliable Data Mode Extension
	Author(s)	: Q. Xie, R. Stewart, C. Sharp
	Filename	: draft-ietf-tsvwg-usctp-00.txt
	Pages		: 10
	Date		: 04-Apr-01
	
This memo describes an extension to the Stream Control Transmission 
Protocol (SCTP) [RFC2960] to provide unreliable data transfer
services. The benefits of this extension includes unified congestion
control over reliable and unreliable data traffics, single association
for multi-type content data services, link level fault tolerance for
unreliable data applications, unreliable data stream multiplexing, etc.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-tsvwg-usctp-00.txt

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-tsvwg-usctp-00.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-tsvwg-usctp-00.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<20010404074858.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-tsvwg-usctp-00.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-tsvwg-usctp-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<20010404074858.I-D@ietf.org>

--OtherAccess--

--NextPart--



_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr  6 20:49:41 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA23875
	for <tsvwg-archive@odin.ietf.org>; Fri, 6 Apr 2001 20:49:37 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA21545;
	Fri, 6 Apr 2001 20:45:10 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA21515
	for <tsvwg@ns.ietf.org>; Fri, 6 Apr 2001 20:45:09 -0400 (EDT)
Received: from poplar.cs.washington.edu ([128.95.2.24])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA23825
	for <tsvwg@ietf.org>; Fri, 6 Apr 2001 20:45:09 -0400 (EDT)
Received: from nspring by poplar.cs.washington.edu with local (Exim 3.12 #1 (Debian))
	id 14lgqk-0003rE-00; Fri, 06 Apr 2001 17:45:10 -0700
Date: Fri, 6 Apr 2001 17:45:10 -0700
To: tsvwg@ietf.org
Cc: ely@cs.washington.edu, djw@cs.washington.edu
Message-ID: <20010406174510.A14796@cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
From: Neil Spring <nspring@cs.washington.edu>
Subject: [Tsvwg] comments on draft-ietf-tsvwg-tcp-nonce-00
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org


Issues discussed at the IETF meeting regarding
draft-ietf-tsvwg-tcp-nonce-00.txt

Viewgraphs from the presentation are available at:
http://www.cs.washington.edu/homes/nspring/talks/ietf-ecn.ps.gz
http://www.cs.washington.edu/homes/nspring/talks/ietf-ecn.pdf
Please let me know if you have trouble viewing or printing them.

Fragmentation
-------------

The ECN nonce does not protect fragments: if a fragment is
marked, the receiver can reconstruct the nonce.  Consensus
was to recommend setting the DF bit when using the nonce.
This may mirror language in the ECN specification relating
to the DF bit.

Negotiation
-----------

Negotiating the use of the nonce was deemed to be a
non-issue.

Nonces over Bytes or Packets
----------------------------

Disabling ECN for retransmissions allows nonces to apply
on a per-packet basis instead of on a per-byte-range
basis as was described in the draft.  This simplifies
implementation.

SACKs
-----

The nonce does not enforce /timely/ delivery of CE signals
from out of order packets that are SACK'd.  I asserted
that this did not leave any openings to misbehavior,
since SACK's are only an optimization for retransmission
and do not encourage the sender to send more quickly.
The cumulative nature of the nonce sum protects against
using SACK to conceal a congestion mark indefinitely.

SCTP
----

Discussion about how to apply the ECN nonce to SCTP
started.  Comments would be welcome.  SCTP appears able to
support such an extension without much difficulty.  We plan
to discuss ECN-nonce functionality with SCTP implementors
to create a separate document defining its behavior, and
are also looking for other transport protocols that would
benefit from the nonce.

Randomness
----------

David Black noted in off-line comments that whatever
pseudo-random number generator used to select nonces
will have inherent limitations and does not make any
security-related guarantees.  This will be added to a
security considerations section.

What to do at the sender when the nonce sum is incorrect
--------------------------------------------------------

Discussion on this issue would be very helpful.  This is
a policy question that can be made on a server by server
basis, though reasonable recommendations should probably
be made in a standards document.

There are two occasions when the nonce sum returned to
the sender can be wrong.
 1) the receiver attempts to conceal a congestion signal.  
 2) the receiver doesn't know about the nonce.
 
An attempt to conceal a congestion signal should probably
be punished; we suggest reducing cwnd and ssthresh to 1.

Lack of nonce support can be checked by observing the nonce
sum bit to see if it reacts to varied ECT code points.
Nonce support can be encouraged either by 1) disabling
ECN for nonce-less receivers, or 2) (Sally's suggestion)
providing higher priority service to nonce-supporting
receivers.  This choice may depend on deployment issues.

comments welcome.
-neil

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr  7 13:14:18 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA16477
	for <tsvwg-archive@odin.ietf.org>; Sat, 7 Apr 2001 13:14:18 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA09150;
	Sat, 7 Apr 2001 13:07:23 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA09121
	for <tsvwg@ns.ietf.org>; Sat, 7 Apr 2001 13:07:17 -0400 (EDT)
Received: from ferao.jungle.bt.co.uk ([132.146.107.45])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA16305
	for <tsvwg@ietf.org>; Sat, 7 Apr 2001 13:07:15 -0400 (EDT)
Received: from maat (maat [132.146.136.68] (may be forged))
	by ferao.jungle.bt.co.uk (8.9.1b+Sun/Jungle-8.9.1-03) with SMTP id RAA24819;
	Sat, 7 Apr 2001 17:45:52 +0100 (BST)
Message-Id: <3.0.5.32.20010407180715.01ce6bc0@mailhost.jungle.bt.co.uk>
X-Sender: rbriscoe@mailhost.jungle.bt.co.uk
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
Date: Sat, 07 Apr 2001 18:07:15 +0100
To: Sally Floyd <floyd@aciri.org>, "K. K. Ramakrishnan" <kk@teraoptic.com>,
        David Black <dlb@ieee.org>
From: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
Subject: Re: [Tsvwg] I-D ACTION:draft-ietf-tsvwg-ecn-03.txt
Cc: tsvwg@ietf.org, "Crowcroft, Jon" <J.Crowcroft@cs.ucl.ac.uk>,
        "Jacquet, Arnaud" <ajacquet@jungle.bt.co.uk>,
        "Hourcade, Thierry" <thourcade@jungle.bt.co.uk>
In-Reply-To: <200103301231.HAA11013@ietf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

Sally, KK, David,

Just confirmation that you've got rough agreement on draft-03 from me.
Hence I'm sending this to the list, not to the IESG in response to their
last call.

It's rough, because 
1/ On marking behaviour, I don't actually agree with the way the router
behaviour is described, embedding 'mark=drop' in your implementation
suggestions. IMHO, the prediction that future research might change things
is too vague to warn implementors how to protect themselves from future
changes per diffserv class. But it's your document, so such questions of
emphasis are yours to decide.
2/ On non-compliance, the argument that non-compliant use of ECN is no more
of a problem than for discard is wishful thinking, in my opinion. I
explained at IETF-50 initial ideas on a 'drop=drop' scheme that would fix
this and is particularly suited for real-time (and hence mostly UDP)
buffer-starving diffserv classes. But, let's give 'mark=drop' a shot for
TCP and see if non-compliance becomes a problem.
3/ On fragmentation, I don't understand why 'SHOULD set DF' has been
demoted to 'MAY set DF', and I'm not fully convinced that a few badly
configured fire-walls that prevent path MTU discovery are sufficient reason
not to say 'MUST set DF'. But, I don't really care about this strongly
enough to argue, as it's implementors that will suffer the extra complexity
and so if they're not fighting, I'd better shut up.

Arguments 1 & 2 need an academic paper from us. Then, if we convince
everyone, we have a way to change ECN later in specific diffserv classes.
But we need to move ECN on now, despite this. Hence, rough concensus.

I just read through the whole thing in one sitting to check for
inconsistencies given the recent fiddling around with it. I found some bugs
you might want to change with the RFC editor (don't think we need another
last call to do this?, but two of the inconsistencies I've found might?,
unfortunately). 

Details:

Bugs
----
p8, p39, p54(x3): The terms 'fourth ECT code-point' and 'fourth ECN
code-point' are used to mean ECT(1), but they are never defined and it's
counter-intuitive to call it this (as it's actually the third code-point,
but happened to be the fourth to be defined chronologically).

p12 section 5.3: reassmembled -> reassembled

p13 sec 6.1: [RFC2001] -> [RFC2581]

p15 sec 6.1.1: SYN packet -> SYN segment (many places)

p15 sec 6.1.1: Very last bullet has been line-wrapped on to the end of the
previous one.

p37 sec 12: "When ECN (Explicit Congestion Notification [RFC2481]) is used..."
->          "When ECN (Explicit Congestion Notification) is used..."

Lack of clarity 
---------------
(We can live with these, but if you go to draft 04 for other reasons,
consider these).

Secs 5 & 12. Needs to be clarified that ECT code-points aren't the only
ones for use by ECN capable transports - CE code-point is used by these
transports too. Those of us who know the history understand this, but it
will be confusing to newcomers.

p8: Fig 1: The label with the RFC2481 names of the bits doesn't make it
clear these are obsolete names (the text does). Perhaps the label should be:
"The obsolete RFC2481 names for the ECN bits"

p18 Sec 6.1.2 & section 6.1.3: Is it valid to refer to academic papers
[Floyd94] and [Floyd98] for the fine details of an IETF standard?

p55 sec 20.2:
  "multicast duplication procedures ... SHOULD NOT be deployed within tunnels
   configured for full ECN functionality."
AFAIK, a router doesn't know a tunnel has been built around it, so this is
rather a wild statement. Better to say that research is required to make
such multicast duplication procedures compatible with tunnels.

Self-inconsistencies
--------------------
(But I know what you probably mean, so others should too, however the first
two really do need to be resolved.)

p2: "...all the mechanisms specified here are incrementally deployable."
p24 sec 9.1: 
  "When ECN
   becomes widely deployed, then simple tunnels likely to carry ECN-
   capable traffic will have to be changed."
p37 sec 12:
  "All IP tunnels MUST implement one of the two alternative approaches
   described above."

Section 5 mandates the behaviour of ECN-capable transports in general, but
section 6 says "This document only addresses the addition of ECN Capability
to TCP..."
  "Upon the receipt by an ECN-Capable transport of a single CE packet,
   the congestion control algorithms followed at the end-systems MUST be
   essentially the same as the congestion control response to a *single*
   dropped packet."
(Also repeated for emphasis at the start of section 5.1).
I suggest you use the phrase "...transports that are TCP-compatible ...
MUST...".
If you really did mean to be this draconian for *all* transports, I would
object strongly.

Section 5.2 (picky):
  "...the congestion response of the end nodes to a dropped data packet is
   at least as strong as the congestion response to a received CE
   packet."
If being picky, this implies the response to CE may be stronger than to drop.

p12 sec 5.2 "..."pure" ACK packets MUST NOT indicate ECN-Capability..."
p19 sec 6.1.4 "...pure acknowledgement packets ... should be sent with the
not-ECT codepoint"
I assume this latter is strictly a MUST.

p22 sec 7:
  "We argue that the addition of ECN to the IP architecture will not
   significantly increase the current vulnerability of the architecture
   to unresponsive flows."
p35 sec 10:
  "We recommend that any "penalty box" ... 
   first change from marking to dropping packets"
If it's not advantageous to mark, why is switching to dropping a
punishment? Oops! This is rather fundamental - as I said, we'll attack this
in the research community - no need to resolve now.

p54 sec 20.2:
  "The assignment of the fourth ECN codepoint to ECT(1) precludes the
   use of this codepoint for other purposes."
Strictly, the multicast use should be separately listed, as it is not
precluded - it can be made compatible.

Final thought
-------------
Would it be sensible to use a next draft, if there is one, to set aside one
of the TCP reserved bits for ECN nonce experiments? 

Bob

At 07:31 30/03/01 -0500, Internet-Drafts@ietf.org wrote:
>	Title		: The Addition of Explicit Congestion Notification (ECN)
>                          to IP
>	Author(s)	: K. Ramakrishnan, S. Floyd, D. Black
>	Filename	: draft-ietf-tsvwg-ecn-03.txt
>	Pages		: 59
>	Date		: 29-Mar-01
>	
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-tsvwg-ecn-03.txt

________________________________________________________
Notice: This contribution is the personal view of the 
author and does not necessarily reflect the technical nor 
commercial direction of British Telecommunications plc.
________________________________________________________
Bob Briscoe      http://www.labs.bt.com/people/briscorj/

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 10 04:35:33 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA09762
	for <tsvwg-archive@odin.ietf.org>; Tue, 10 Apr 2001 04:35:33 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id EAA16713;
	Tue, 10 Apr 2001 04:23:04 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id EAA16684
	for <tsvwg@ns.ietf.org>; Tue, 10 Apr 2001 04:23:03 -0400 (EDT)
Received: from cms3.etri.re.kr ([129.254.16.13])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA09660
	for <tsvwg@ietf.org>; Tue, 10 Apr 2001 04:23:01 -0400 (EDT)
From: hspark@etri.re.kr
Received: by cms3.etri.re.kr with Internet Mail Service (5.5.2653.19)
	id <23LSB7XM>; Tue, 10 Apr 2001 17:22:07 +0900
Message-ID: <766FA1FC5C2AD511B3C800D0B7A8AC4A230D5F@cms3.etri.re.kr>
To: tsvwg@ietf.org
Date: Tue, 10 Apr 2001 17:22:02 +0900
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0C197.51C7E090"
Subject: [Tsvwg] Is there any implementation of SUA, M3UA ?
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0C197.51C7E090
Content-Type: text/plain;
	charset="KS_C_5601-1987"


Hello, All ~!

I am a newbie to SCTP. 

Is there any implementation of M3UA, SUA  publicly available ?

If it is, please let me know ...

Thanks in advance...

Regards,

Hyun Seo
***************************************************
  Park, Hyun Seo
  Member of Engineering Staff
  Wireless Core Network Engineering Team
  Core Network Technology Department
  IMT-2000 System Development Division
  Radio & Broadcasting Technology Laboratory
  Electronics and Telecommunications Research Institute

  E-mail : hspark@etri.re.kr
  Phone : +82-42-860-5312
  Fax    : +82-42-860-6789
***************************************************


------_=_NextPart_001_01C0C197.51C7E090
Content-Type: text/html;
	charset="KS_C_5601-1987"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=KS_C_5601-1987">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Is there any implementation of SUA, M3UA ?</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2>Hello, All ~!</FONT>
</P>

<P><FONT SIZE=2>I am a newbie to SCTP. </FONT>
</P>

<P><FONT SIZE=2>Is there any implementation of M3UA, SUA&nbsp; publicly available ?</FONT>
</P>

<P><FONT SIZE=2>If it is, please let me know ...</FONT>
</P>

<P><FONT SIZE=2>Thanks in advance...</FONT>
</P>

<P><FONT SIZE=2>Regards,</FONT>
</P>

<P><FONT SIZE=2>Hyun Seo</FONT>
<BR><FONT SIZE=2>***************************************************</FONT>
<BR><FONT SIZE=2>&nbsp; Park, Hyun Seo</FONT>
<BR><FONT SIZE=2>&nbsp; Member of Engineering Staff</FONT>
<BR><FONT SIZE=2>&nbsp; Wireless Core Network Engineering Team</FONT>
<BR><FONT SIZE=2>&nbsp; Core Network Technology Department</FONT>
<BR><FONT SIZE=2>&nbsp; IMT-2000 System Development Division</FONT>
<BR><FONT SIZE=2>&nbsp; Radio &amp; Broadcasting Technology Laboratory</FONT>
<BR><FONT SIZE=2>&nbsp; Electronics and Telecommunications Research Institute</FONT>
</P>

<P><FONT SIZE=2>&nbsp; E-mail : hspark@etri.re.kr</FONT>
<BR><FONT SIZE=2>&nbsp; Phone : +82-42-860-5312</FONT>
<BR><FONT SIZE=2>&nbsp; Fax&nbsp;&nbsp;&nbsp; : +82-42-860-6789</FONT>
<BR><FONT SIZE=2>***************************************************</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0C197.51C7E090--

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 10 18:01:15 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA27004
	for <tsvwg-archive@odin.ietf.org>; Tue, 10 Apr 2001 18:01:15 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA00364;
	Tue, 10 Apr 2001 17:40:22 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA00325
	for <tsvwg@ns.ietf.org>; Tue, 10 Apr 2001 17:40:19 -0400 (EDT)
Received: from elk.aciri.org ([192.150.187.21])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA26676
	for <tsvwg@ietf.org>; Tue, 10 Apr 2001 17:40:13 -0400 (EDT)
Received: from elk.aciri.org (localhost [127.0.0.1])
	by elk.aciri.org (8.11.1/8.11.1) with ESMTP id f3ALe2s05584;
	Tue, 10 Apr 2001 14:40:02 -0700 (PDT)
	(envelope-from floyd@elk.aciri.org)
Message-Id: <200104102140.f3ALe2s05584@elk.aciri.org>
To: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
cc: "K. K. Ramakrishnan" <kk@teraoptic.com>, David Black <dlb@ieee.org>,
        tsvwg@ietf.org, "Crowcroft, Jon" <J.Crowcroft@cs.ucl.ac.uk>,
        "Jacquet, Arnaud" <ajacquet@jungle.bt.co.uk>,
        "Hourcade, Thierry" <thourcade@jungle.bt.co.uk>
From: Sally Floyd <floyd@aciri.org>
Date: Tue, 10 Apr 2001 14:40:02 -0700
Subject: [Tsvwg] (no subject)
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org


Bob -

Here is some feedback on your email:

>Just confirmation that you've got rough agreement on draft-03 from me.
>Hence I'm sending this to the list, not to the IESG in response to their
>last call.
>
>It's rough, because 
>1/ On marking behaviour, I don't actually agree with the way the router
>behaviour is described, embedding 'mark=drop' in your implementation
>suggestions. IMHO, the prediction that future research might change things
>is too vague to warn implementors how to protect themselves from future
>changes per diffserv class. But it's your document, so such questions of
>emphasis are yours to decide.

We have to disagree on this one.  To my mind, the equivalence of
marking and dropping for the default ECN semantics, in terms of the
congestion control response of the end nodes, is the key contribution
of RFC 2481 and of this draft.  See more about this below.

>2/ On non-compliance, the argument that non-compliant use of ECN is no more
>of a problem than for discard is wishful thinking, in my opinion. I
>explained at IETF-50 initial ideas on a 'drop=drop' scheme that would fix
>this and is particularly suited for real-time (and hence mostly UDP)
>buffer-starving diffserv classes. But, let's give 'mark=drop' a shot for
>TCP and see if non-compliance becomes a problem.

I don't think we said that "non-compliant use of ECN is no more
of a problem than for discard".  That is not how Section 7 reads to me.

>3/ On fragmentation, I don't understand why 'SHOULD set DF' has been
>demoted to 'MAY set DF', and I'm not fully convinced that a few badly
>configured fire-walls that prevent path MTU discovery are sufficient reason
>not to say 'MUST set DF'. But, I don't really care about this strongly
>enough to argue, as it's implementors that will suffer the extra complexity
>and so if they're not fighting, I'd better shut up.

The argument made in the Working Group was that one does not need a reason
to say MAY instead of SHOULD;  instead, one needs a strong reason if
one is going to say SHOULD instead of MAY.  I agree with this.

>Arguments 1 & 2 need an academic paper from us. Then, if we convince
>everyone, we have a way to change ECN later in specific diffserv classes.
>But we need to move ECN on now, despite this. Hence, rough concensus.
>
>I just read through the whole thing in one sitting to check for
>inconsistencies given the recent fiddling around with it. I found some bugs
>you might want to change with the RFC editor (don't think we need another
>last call to do this?, but two of the inconsistencies I've found might?,
>unfortunately). 
>
>Details:
>
>Bugs
>----

Many thanks, we will try to take care of all of these bugs in the
final changes with the RFC editor.  None of these should delay the
progress to Proposed Standard.

>Lack of clarity 
>---------------
>(We can live with these, but if you go to draft 04 for other reasons,
>consider these).

We will see if we can add the clarifications in the final changes
with the RFC editor.

>p18 Sec 6.1.2 & section 6.1.3: Is it valid to refer to academic papers
>[Floyd94] and [Floyd98] for the fine details of an IETF standard?

I think this is OK, since those references do not specify any
standards, but are just illustrative.  (It is a little borderline,
I agree, since [Floyd98] illustrates the following:  "Some care is
required if the TCP sender is to avoid unnecessary reductions of
the congestion window when a window of data includes both dropped
packets and (marked) CE packets."  But I think it is OK not to
include all of the detail from [Floyd98] in this document.  We didn't
say the sender MUST NOT have any unnecessary reductions of the
congestion window...)

>Self-inconsistencies
>--------------------
>(But I know what you probably mean, so others should too, however the first
>two really do need to be resolved.)
>
>p2: "...all the mechanisms specified here are incrementally deployable."
>p24 sec 9.1: 
>  "When ECN
>   becomes widely deployed, then simple tunnels likely to carry ECN-
>   capable traffic will have to be changed."
>p37 sec 12:
>  "All IP tunnels MUST implement one of the two alternative approaches
>   described above."

We can rephrase p37 sec 12 to the following:
"To be compliant with this standard, all IP tunnels MUST implement one
of the two alternative approaches described above."
That seems clear to me.

>Section 5 mandates the behaviour of ECN-capable transports in general, but
>section 6 says "This document only addresses the addition of ECN Capability
>to TCP..."
>  "Upon the receipt by an ECN-Capable transport of a single CE packet,
>   the congestion control algorithms followed at the end-systems MUST be
>   essentially the same as the congestion control response to a *single*
>   dropped packet."
>(Also repeated for emphasis at the start of section 5.1).
>I suggest you use the phrase "...transports that are TCP-compatible ...
>MUST...".
>If you really did mean to be this draconian for *all* transports, I would
>object strongly.

We mean this, for the default semantics of ECN.  This is in Section 5, 
and does not apply only to TCP.  For TCP and for other congestion
control mechanisms, such as equation-based congestion control or
multicast congestion control, the congestion control response to
a packet mark MUST be essentially the same as the congestion control
response of that congestion control mechanism to a single dropped
packet.  This is the key to RFC 2482, and to this draft, that these
are the default semantics of ECN.  And, in my opinion, this is the
key to ECN having made it this far in the standards track, is that
there was a clear default semantics for the ECN indication, namely,
do what you would have done, in terms of congestion control, if
the packet had been dropped.

However, a separate diff-serv class would be free to define alternate
semantics for ECN for that diff-serv class, but that is not addressed
in this document, except for the one paragraph about Differentiated
Services Per-Hop Behaviors in Section 5.

>Section 5.2 (picky):
>  "...the congestion response of the end nodes to a dropped data packet is
>   at least as strong as the congestion response to a received CE
>   packet."
>If being picky, this implies the response to CE may be stronger than to drop.

Nope, but I agree that this could be clarified.  An example of when
the congestion response to a dropped packet is *stronger* than the
congestion control response to a marked packet is in TCP, for a
congestion window of two packets, without Limited Transmit.  The
congestion control response to a dropped packet might be a retransmit
timeout, while the congestion control response to a marked packet
might only be the halving of the congestion control window.

>p12 sec 5.2 "..."pure" ACK packets MUST NOT indicate ECN-Capability..."
>p19 sec 6.1.4 "...pure acknowledgement packets ... should be sent with the
>not-ECT codepoint"
>I assume this latter is strictly a MUST.

Yep.  We will do this.

>p22 sec 7:
>  "We argue that the addition of ECN to the IP architecture will not
>   significantly increase the current vulnerability of the architecture
>   to unresponsive flows."
>p35 sec 10:
>  "We recommend that any "penalty box" ... 
>   first change from marking to dropping packets"
>If it's not advantageous to mark, why is switching to dropping a
>punishment? Oops! This is rather fundamental - as I said, we'll attack this
>in the research community - no need to resolve now.

I don't think we said that it isn't advantageous to mark.  We only
argued that ECN "will not significantly increase the current
vulnerability of the architecture to unresponsive flows."  It seems
clear to me.

>p54 sec 20.2:
>  "The assignment of the fourth ECN codepoint to ECT(1) precludes the
>   use of this codepoint for other purposes."
>Strictly, the multicast use should be separately listed, as it is not
>precluded - it can be made compatible.

We will leave this to be addressed in a later document.

>Final thought
>-------------
>Would it be sensible to use a next draft, if there is one, to set aside one
>of the TCP reserved bits for ECN nonce experiments? 

This is being addressed in draft-ietf-tsvwg-tcp-nonce-00.txt.

- Sally

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 11 09:03:10 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA23173
	for <tsvwg-archive@odin.ietf.org>; Wed, 11 Apr 2001 09:03:10 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA22392;
	Wed, 11 Apr 2001 08:57:46 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA22364
	for <tsvwg@ns.ietf.org>; Wed, 11 Apr 2001 08:57:44 -0400 (EDT)
Received: from irmgard.exp-math.uni-essen.de ([132.252.150.18])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA23010
	for <tsvwg@ietf.org>; Wed, 11 Apr 2001 08:57:41 -0400 (EDT)
Received: from biene.exp-math.uni-essen.de (IDENT:postfix@biene.exp-math.uni-essen.de [132.252.150.215])
	by irmgard.exp-math.uni-essen.de (8.9.3/8.9.3) with ESMTP id OAA25486;
	Wed, 11 Apr 2001 14:57:41 +0200
Received: from biene.exp-math.uni-essen.de (loopback [127.0.0.1])
	by biene.exp-math.uni-essen.de (Postfix) with SMTP
	id 297472F570; Wed, 11 Apr 2001 14:57:37 +0200 (CEST)
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andreas Jungmaier <ajung@exp-math.uni-essen.de>
Organization: University of Essen, Germany
To: "sigtran" <sigtran@lyris.nortelnetworks.com>, tsvwg@ietf.org
Date: Wed, 11 Apr 2001 14:57:32 +0200
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01041114573201.17606@biene.exp-math.uni-essen.de>
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit
Subject: [Tsvwg] SCTP -- (not only) for Beginners...
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 8bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all,

in case you are new to SCTP, and would like to get a quick overview
of this protocol and some of its features, I encourage you to look at the
"SCTP for Beginners" web page, which is available from the 
University of Essen, Germany under

http://tdrwww.exp-math.uni-essen.de/pages/forschung/sctp_fb/

Any comments, hints, corrections etc. welcome.

Best regards, 

Andreas Jungmaier

- ----------------------------------------------------------------------------
void hamlet() 
				{#define question=((bb)||(!bb))}
- ----------------------------------------------------------------------------
Andreas Jungmaier, Dipl.-Ing.
University of Essen                    email: ajung@exp-math.uni-essen.de
Computer Networking Technology Group   Tel. : +49 (0201) 183-7636
- ----------------------------------------------------------------------------
PGP Public Key and Fingerprint: see http://www.exp-math.uni-essen.de/~ajung
- ----------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE61FS8d2Uw+xBvGUIRAsrxAKCrw9OODLWUh2YiCc4Ssi3f/N7jVwCgiYbj
F/sHzjOxt8ARmxAq3npEEyQ=
=+KZp
-----END PGP SIGNATURE-----

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 11 20:57:00 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA05704
	for <tsvwg-archive@odin.ietf.org>; Wed, 11 Apr 2001 20:57:00 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA05071;
	Wed, 11 Apr 2001 20:53:10 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA05042
	for <tsvwg@ns.ietf.org>; Wed, 11 Apr 2001 20:53:09 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@[209.44.42.203])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA05685
	for <tsvwg@ietf.org>; Wed, 11 Apr 2001 20:53:04 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id TAA18698;
	Wed, 11 Apr 2001 19:47:02 -0500
Date: Wed, 11 Apr 2001 19:47:02 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
Message-ID: <20010411194702.B17254@bfgbhome>
Reply-To: bidulock@openss7.org
Mail-Followup-To: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2i
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by bfgbhome.inetint.com id TAA18698
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id UAA05043
Subject: [Tsvwg] Re: draft-stewart-ong-sctpbakeoff-sigtran-01.txt
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
X-MIME-Autoconverted: from 8bit to quoted-printable by optimus.ietf.org id UAA05071
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id UAA05704

Lyndon, Randall,

What is the status of these bakeoff issues?

I am particularly opposed to the advice/solution in the following:

>     2.3 Heart beat issues
> 
>     Problem/Issue: The text is unclear on if the overall association
>     error count is stroked when a Heartbeat is not acknowledged.
>     Description: An implementation was not stroking the overall
>     association error counts when Heartbeats were missed. The individual
>     destination error counts were being stroked. When the peer "core
>     dumped" the association stayed up but both of the destination
>     addresses were marked unreachable.
> 
>     Advice/Solution: The specification clearly says (in Section 8.1) to
>     clear the association error counter when a heartbeat acknowledgement
>     arrives. However the specification fails to specify to stroke the
>     association error counter when an endpoint misses a heartbeat
>     ack. In section 8.2 it does detail to stroke and clear the various
>     destination error counters. The specification should be enhanced at
>     section 8.1 to specifically state to stroke the error counter for
>     the entire association if a heartbeat is missed.
> 
>     Found at: Bakeoff number 2 in Research Triangle Park 10/23/2000 -
>     10/27/2000

I don't believe that there was necessarily a problem with the
behavior of the implementation which kept the association up in
this case.  In fact, I see no reason to drop an association which
has all its destinations inactive unless there is something other
than a heartbeat which needs to be sent to the peer.  For completely
idle associations, temporary network disruptions should not abort
associations.

This is one of the nicer features of IP in general: that a connection
is virtual and, when it is idle, no physical connection need exist.
A natural ramification of this is half-open connections.

If the connection is not idle, retransmission or failure to transmit
DATA or SACK do peg the association error counts and the association
will be brought down shortly.

In the situation described in the draft, after the peer restarted,
it would send an INIT and get an INIT ACK with a cookie with tie tags
and upon receiving the COOKIE ECHO the implementation must restart the
association per spec.

If you change this as suggested, it would he highly likely that the
restart mechanism of SCTP will never be used.

I have other issues with the draft.  Are these issues still open?

--Brian


-- 
Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
bidulock@openss7.org    ¦ world; the unreasonable one persists in  ¦
http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
                        ¦ Therefore  all  progress  depends on the ¦
                        ¦ unreasonable man. -- George Bernard Shaw ¦

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 11 21:43:25 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA07090
	for <tsvwg-archive@odin.ietf.org>; Wed, 11 Apr 2001 21:43:24 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id VAA05751;
	Wed, 11 Apr 2001 21:34:05 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id VAA05722
	for <tsvwg@ns.ietf.org>; Wed, 11 Apr 2001 21:34:04 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-203.dallas.net [209.44.42.203])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA06439
	for <tsvwg@ietf.org>; Wed, 11 Apr 2001 21:34:00 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id UAA19074;
	Wed, 11 Apr 2001 20:27:11 -0500
Date: Wed, 11 Apr 2001 20:27:11 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: SIGTRAN@STANDARDS.NORTELNETWORKS.COM, tsvwg@ietf.org
Message-ID: <20010411202711.C17254@bfgbhome>
Reply-To: bidulock@openss7.org
Mail-Followup-To: SIGTRAN@STANDARDS.NORTELNETWORKS.COM, tsvwg@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2i
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by bfgbhome.inetint.com id UAA19074
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id VAA05724
Subject: [Tsvwg] Re: draft-stewart-ong-sctpbakeoff-01.txt
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
X-MIME-Autoconverted: from 8bit to quoted-printable by optimus.ietf.org id VAA05751
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id VAA07090

Lyndon, Randall,

Again, I take exception to the advice/solution in this case:

>     Problem/Issue: It is unclear in the heartbeat description on exactly
>     when to start, and stop heartbeating.
> 
>     Description: Some implementations where confused by receiving a
>     Heartbeat right away after start up. Other implementations where
>     confused by still receiving heartbeats after entering some of the
>     shutdown states.
> 
>     Advice/Solution: The specification is currently unclear as to when
>     heartbeating should begin and end. The specification should be
>     clarified to dictate that you should not send heartbeat after the
>     point of sending either a SHUTDOWN chunk or SHUTDOWN-ACK chunk and
>     you must not start heartbeating until you have reached the
>     established state. The specification should also be clarified to
>     state that you MUST respond to a Heartbeat after entering
>     COOKIE-SENT state until you reach the closed state.
> 
>     Found at: Bakeoff number 2 in Research Triangle Park 10/23/2000 -
>     10/27/2000

If an implementation does not send HEARTBEAT while in
SHUTDOWN-SENT state then it cannot know the availability of or
current RTO calculations for destinations to which it may still
have to transmit a SHUTDOWN chunk (in response to received DATA)
or as a retransmission upon shutdown timer expiry.

The same is true for SHUTDOWN-ACK-SENT.

The rationale as to why this is necessary is that the SHUTDOWN
or SHUTDOWN ACK chunk may get lost.  When my shutdown timer
expires, I must know the availability of destination addresses
for selection of destination address for retransmission of
SHUTDOWN or SHUTDOWN ACK or for transmission of a new SHUTDOWN
acknolwedging received DATA chunks.

Heartbeating can certainly not stop until SHUTDOWN COMPLETE is
sent or received, which the current specification permits.

While an association is opening, it appears possible that an
implementation may ignore a HEARTBEAT received in COOKIE-WAIT
state.  In this case, the peer is in the CLOSED state and should
not be sending HEARTBEATs.  The behavior is neither here nor
there.  Responding to the HEARTBEAT in COOKIE-WAIT would not
cause any problems either.  As suggested in the advise/solution,
it is clear that HEARTBEATs should be acknowledged after
COOKIE-ECHOED state has been entered (particularly because the
COOKIE ACK may have been lost).

Putting the two together, it appears that there is no problem
with responding to HEARTBEAT with a HEARTBEAT ACK in all states
other than CLOSED.  And although an implementation should not
generate HEARTBEAT in the CLOSED state, who cares.  It is clear
that if the endpoint has a TCB and the HEARTBEAT is not OOTB,
there is no reason why it cannot respond to it with a HEARTBEAT
ACK.

Therefore the spec does not need to be changed.

On the other hand, treatment of HEARTBEAT received OOTB needs to
be addressed due to the half-open case of my previous note: If
peers always respond to an OOTB HEARTBEAT with an ABORT, a
restarting endpoint will never get a chance to retstart an
association after a reboot, because it will ABORT all half-open
associations before attempting to reopen them.  Although this is
consistent with TCP behavior and response to half-open
connections on restart (send RST = connection reset by peer), it
would also mean that the SCTP restart scenario will never
practically occur.  The SCTP restart procedures were especially
intended to address restarting endpoints, yet ABORT in response
to OOTB HEARTBEAT limits their usability.

The treatment of OOTB HEARTBEAT messages needs to be changed to
"silent discard".

-- 
Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
bidulock@openss7.org    ¦ world; the unreasonable one persists in  ¦
http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
                        ¦ Therefore  all  progress  depends on the ¦
                        ¦ unreasonable man. -- George Bernard Shaw ¦

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 11 22:15:59 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id WAA07207
	for <tsvwg-archive@odin.ietf.org>; Wed, 11 Apr 2001 22:15:59 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id WAA06162;
	Wed, 11 Apr 2001 22:12:13 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id WAA06131
	for <tsvwg@ns.ietf.org>; Wed, 11 Apr 2001 22:12:11 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-203.dallas.net [209.44.42.203])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id WAA07167
	for <tsvwg@ietf.org>; Wed, 11 Apr 2001 22:12:06 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id VAA19615;
	Wed, 11 Apr 2001 21:05:07 -0500
Date: Wed, 11 Apr 2001 21:05:05 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
Message-ID: <20010411210505.D17254@bfgbhome>
Reply-To: bidulock@openss7.org
Mail-Followup-To: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2i
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by bfgbhome.inetint.com id VAA19615
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id WAA06132
Subject: [Tsvwg] Re: draft-stewart-ong-sctpbakeoff-sigtran-01.txt
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
X-MIME-Autoconverted: from 8bit to quoted-printable by optimus.ietf.org id WAA06162
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id WAA07207

Lyndon, Randall,

One more comment on heartbeat issues:

>     3.4 Concerns when you explicitly control the source address
> 
>     Problem/Issue: An implementation was explicitly controlling its
>     source addresses and during the loss of one network would lose the
>     whole association.
> 
>     Description: When controlling the source address an implementation
>     would always send with one set source address for both heartbeats
>     and data. When that address broke, the HeartBeat Ack's no longer
>     found their way back to the sender. This included both destinations
>     since the receiver of the Heartbeat always replied to the source
>     address. This led the sender to detect that its whole association
>     had broken when it actually still had a good path available.
> 
>     Advice/Solution:
[snip]

If an implementation does not know the availability of its own
interfaces it is pointless for it to select source address.
Even if this implementation chose a different source address,
there are equally probable failure scenarios which would have
the same end result.

If the peer knows that it has no route to a source address in a
HEARTBEAT message, it should send the HEARTBEAT ACK to an alternate
address.

There is a good possibility that a solution to the heartbeat case
might be to always send the HEARTBEAT ACK to the destination
address which would next be used if the primary failed.  That is,
to the destination address to which we will be sending
retransmissions, rather than the source address of the HEARTBEAT.
In the simple two-interface case, this should be the same
address in the absence of failure.  The RTO calculation would then
more properly address the likely RTO to be experienced upon
changeover from the primary address at either end.

If an implementation selects (or has IP routing select) a source
address which is outside those provided the peer in the INIT or
INIT ACK, and the peer is unable to determine the reachability of
destination address, the association is going to die before
Assoc.Max.Retrans.

The solution is for an implementation to know the availability of
its own interfaces: both for connection binding and for address
selection.  This is an IP thing, not an SCTP thing.  TCP has some
of the same issues, particularly for on-demand interfaces which
change their IP address dynamically.

-- 
Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
bidulock@openss7.org    ¦ world; the unreasonable one persists in  ¦
http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
                        ¦ Therefore  all  progress  depends on the ¦
                        ¦ unreasonable man. -- George Bernard Shaw ¦

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 12 08:17:50 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA27614
	for <tsvwg-archive@odin.ietf.org>; Thu, 12 Apr 2001 08:17:50 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA19959;
	Thu, 12 Apr 2001 08:13:50 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA19932
	for <tsvwg@ns.ietf.org>; Thu, 12 Apr 2001 08:13:49 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com ([171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA27490
	for <tsvwg@ietf.org>; Thu, 12 Apr 2001 08:13:47 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-1.cisco.com (8.9.3/8.9.1) with ESMTP id FAA16041;
	Thu, 12 Apr 2001 05:13:17 -0700 (PDT)
Received: from cisco.com (rtp-dial-2-52.cisco.com [10.83.96.52])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id ABO07014 (AUTH rrs);
	Thu, 12 Apr 2001 05:13:13 -0700 (PDT)
Message-ID: <3AD59BD7.D6CAA9D1@cisco.com>
Date: Thu, 12 Apr 2001 07:13:12 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: bidulock@openss7.org
CC: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
Subject: Re: [Tsvwg] Re: draft-stewart-ong-sctpbakeoff-sigtran-01.txt
References: <20010411194702.B17254@bfgbhome>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Brain:


Comments below...

"Brian F. G. Bidulock" wrote:
> 
> Lyndon, Randall,
> 
> What is the status of these bakeoff issues?
> 
> I am particularly opposed to the advice/solution in the following:
> 
> >     2.3 Heart beat issues
> >
> >     Problem/Issue: The text is unclear on if the overall association
> >     error count is stroked when a Heartbeat is not acknowledged.
> >     Description: An implementation was not stroking the overall
> >     association error counts when Heartbeats were missed. The individual
> >     destination error counts were being stroked. When the peer "core
> >     dumped" the association stayed up but both of the destination
> >     addresses were marked unreachable.
> >
> >     Advice/Solution: The specification clearly says (in Section 8.1) to
> >     clear the association error counter when a heartbeat acknowledgement
> >     arrives. However the specification fails to specify to stroke the
> >     association error counter when an endpoint misses a heartbeat
> >     ack. In section 8.2 it does detail to stroke and clear the various
> >     destination error counters. The specification should be enhanced at
> >     section 8.1 to specifically state to stroke the error counter for
> >     the entire association if a heartbeat is missed.
> >
> >     Found at: Bakeoff number 2 in Research Triangle Park 10/23/2000 -
> >     10/27/2000
> 
> I don't believe that there was necessarily a problem with the
> behavior of the implementation which kept the association up in
> this case.  In fact, I see no reason to drop an association which
> has all its destinations inactive unless there is something other
> than a heartbeat which needs to be sent to the peer.  For completely
> idle associations, temporary network disruptions should not abort
> associations.
> 
> This is one of the nicer features of IP in general: that a connection
> is virtual and, when it is idle, no physical connection need exist.
> A natural ramification of this is half-open connections.
> 

Interesting point.. But I don't see a problem either with pegging
the association error counter..


> If the connection is not idle, retransmission or failure to transmit
> DATA or SACK do peg the association error counts and the association
> will be brought down shortly.

Sack's will never cause a timeout or peg an error counter. Only data,
this
means that if two endpoints talk. And then one has nothing to say for
a while, all destinations are down your association may never drop..
on your side. Your SACK's will never get to the peer, and of course
eventually the peer would give up. In this case you definetly would
hit the restart case.. 


> 
> In the situation described in the draft, after the peer restarted,
> it would send an INIT and get an INIT ACK with a cookie with tie tags
> and upon receiving the COOKIE ECHO the implementation must restart the
> association per spec.
> 
> If you change this as suggested, it would he highly likely that the
> restart mechanism of SCTP will never be used.

Well, getting into the "restart" case can happen for a couple of reasons
besides
the one above. If your app core dumps(for example) and then restarts
rapidly
you could get the collision. In the bake-off testing we have found it
very
difficult to create the restart condition anyway due to the fact that
the
surviving endpoint continues to HeartBeat. And of course the first HB to
the machine that had the restarting app causes a Abort to be sent if the
APP is not up...

This is only one of the potential places the restart scenario would
occur so
I don't think this is a big deal.

Cleaning the association up seems to me a better choice since it will
free the resources of the machine much faster. If you continue to
allow the association to exist you potentially fill up all your TCB's
with lots and lots of associations that can't talk. Granted it may be
nice in a network outage with no one sending data to take advantage of
this but then, on the first send, we have a interesting scenario. No
active destination and association up. This is completely unspecifed
in the spec (on purpose) as to how to handle this. Some may send 
on one of the interfaces anyway.. the other may hold waiting for the
HB's to bring back alive the association. Here could lie a problem... a
potentially never ending association since if you don't send DATA you
would
never start the timer that would kill the association.

Besides which, this was always the intent in the spec, its like so
many thing..we just did not get it put down clear enough :0

R




-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 12 08:36:34 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA28142
	for <tsvwg-archive@odin.ietf.org>; Thu, 12 Apr 2001 08:36:34 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA20353;
	Thu, 12 Apr 2001 08:32:55 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA20324
	for <tsvwg@ns.ietf.org>; Thu, 12 Apr 2001 08:32:49 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.43.88])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA28053
	for <tsvwg@ietf.org>; Thu, 12 Apr 2001 08:32:47 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-2.cisco.com (8.9.3/8.9.1) with ESMTP id FAA16027;
	Thu, 12 Apr 2001 05:32:42 -0700 (PDT)
Received: from cisco.com (rtp-dial-2-52.cisco.com [10.83.96.52])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id ABO07165 (AUTH rrs);
	Thu, 12 Apr 2001 05:32:13 -0700 (PDT)
Message-ID: <3AD5A04B.43C3AAD5@cisco.com>
Date: Thu, 12 Apr 2001 07:32:12 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: bidulock@openss7.org
CC: SIGTRAN@STANDARDS.NORTELNETWORKS.COM, tsvwg@ietf.org
Subject: Re: [Tsvwg] Re: draft-stewart-ong-sctpbakeoff-01.txt
References: <20010411202711.C17254@bfgbhome>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by sj-msg-core-2.cisco.com id FAA16027
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id IAA20325
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
X-MIME-Autoconverted: from 8bit to quoted-printable by optimus.ietf.org id IAA20353
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id IAA28142

"Brian F. G. Bidulock" wrote:
> 
> Lyndon, Randall,
> 
> Again, I take exception to the advice/solution in this case:
> 
> >     Problem/Issue: It is unclear in the heartbeat description on exactly
> >     when to start, and stop heartbeating.
> >
> >     Description: Some implementations where confused by receiving a
> >     Heartbeat right away after start up. Other implementations where
> >     confused by still receiving heartbeats after entering some of the
> >     shutdown states.
> >
> >     Advice/Solution: The specification is currently unclear as to when
> >     heartbeating should begin and end. The specification should be
> >     clarified to dictate that you should not send heartbeat after the
> >     point of sending either a SHUTDOWN chunk or SHUTDOWN-ACK chunk and
> >     you must not start heartbeating until you have reached the
> >     established state. The specification should also be clarified to
> >     state that you MUST respond to a Heartbeat after entering
> >     COOKIE-SENT state until you reach the closed state.
> >
> >     Found at: Bakeoff number 2 in Research Triangle Park 10/23/2000 -
> >     10/27/2000
> 
> If an implementation does not send HEARTBEAT while in
> SHUTDOWN-SENT state then it cannot know the availability of or
> current RTO calculations for destinations to which it may still
> have to transmit a SHUTDOWN chunk (in response to received DATA)
> or as a retransmission upon shutdown timer expiry.
> 

When you send a SHUTDOWN and enter the shutdown-sent state, you
had a reasonable RTO caclulation, since you just sent DATA up until
the SHUTDOWN. The HB's happen at a very slow rate anyway.. not enough
to keep the RTO updated to such a find degree... I believe the default
HB is once every 30 seconds. This is a long long time in terms of
keeping the RTO current and I don't see how stopping HB's will make
that big of difference. Once the SHUTDOWN state is entered the
peer will not accept new data from its app. Even in real worse
case scenarios, 30 seconds (until the next HB) will allow a LOT
of data to be sent by the peer. And if the peer is sending data
(and not the SHUTDOWN-ACK) you are responding to every packet
with a SHUTDOWN and SACK bundled (or seperate).  This means
you are resetting the last known timer constantly anyway.


> The same is true for SHUTDOWN-ACK-SENT.

And once again, in the SHUTDOWN-ACK-SENT state it is highly
unlikly to take more than 30 seconds to get your SHUTDOWN-COMPLETE
back. And if you do hit more than one retransmission most likely
you will end up  that the peer did get one of the shutdown-ack's and
is now sending you a SHUTDOWN-COMPELTE with the T bit set since it
does not have the association.

> 
> The rationale as to why this is necessary is that the SHUTDOWN
> or SHUTDOWN ACK chunk may get lost.  When my shutdown timer
> expires, I must know the availability of destination addresses
> for selection of destination address for retransmission of
> SHUTDOWN or SHUTDOWN ACK or for transmission of a new SHUTDOWN
> acknolwedging received DATA chunks.
> 
> Heartbeating can certainly not stop until SHUTDOWN COMPLETE is
> sent or received, which the current specification permits.

At the final stage of the association life I don't see how
it makes that much of a difference. Right before the shutdown or
shutdown-ack is sent you WILL have known the reachability and state
of your networks from both your last DATA and the last sets of
hearbeats that have occured. It is highly doubtful and a REAL REAL
corner case where the shutdown sequence is going to take more than
30 seconds (the time that it will most likely take for yet another
HB to be sent). If it does you have one end still pumping lots of
data at the other.. and that seems rather unlikely in an application
if it uses any sense about when to issue the shutdown... which it 
should (yeah, I know applications do do stupid things sometimes but
then most likely it will get an error when the shutdown arrives).

> 
> While an association is opening, it appears possible that an
> implementation may ignore a HEARTBEAT received in COOKIE-WAIT
> state.  In this case, the peer is in the CLOSED state and should
> not be sending HEARTBEATs.  The behavior is neither here nor
> there.  Responding to the HEARTBEAT in COOKIE-WAIT would not
> cause any problems either.  As suggested in the advise/solution,
> it is clear that HEARTBEATs should be acknowledged after
> COOKIE-ECHOED state has been entered (particularly because the
> COOKIE ACK may have been lost).
> 
> Putting the two together, it appears that there is no problem
> with responding to HEARTBEAT with a HEARTBEAT ACK in all states
> other than CLOSED.  And although an implementation should not
> generate HEARTBEAT in the CLOSED state, who cares.  It is clear
> that if the endpoint has a TCB and the HEARTBEAT is not OOTB,
> there is no reason why it cannot respond to it with a HEARTBEAT
> ACK.
> 
> Therefore the spec does not need to be changed.
> 

I don't think it is a bad idea to specify when HB's should begin and
end. This was the consensus of the SCTP implementors that were
at the bake-off... and I think it in general is a good idea..

> On the other hand, treatment of HEARTBEAT received OOTB needs to
> be addressed due to the half-open case of my previous note: If
> peers always respond to an OOTB HEARTBEAT with an ABORT, a
> restarting endpoint will never get a chance to retstart an
> association after a reboot, because it will ABORT all half-open
> associations before attempting to reopen them. 
 
This is the design intent of the HB mechanism. It is to be used
to clean up state of stray associations.. I don't expect this
to change..

>                                                 Although this is
> consistent with TCP behavior and response to half-open
> connections on restart (send RST = connection reset by peer), it
> would also mean that the SCTP restart scenario will never
> practically occur.  The SCTP restart procedures were especially
> intended to address restarting endpoints, yet ABORT in response
> to OOTB HEARTBEAT limits their usability.
> 

This is true, has I said in my earlier email... 


> The treatment of OOTB HEARTBEAT messages needs to be changed to
> "silent discard".

Nope, I don't see this has a good idea. The whole reason we put this in
is
so that cleanup would occur quickly. There is even notes in RFC2960 
advising you that if you turn off HB's then you lose this
cleanup feature and one must consider this when playing with the HB
timer. 



> --
> Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
> bidulock@openss7.org    ¦ world; the unreasonable one persists in  ¦
> http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
>                         ¦ Therefore  all  progress  depends on the ¦
>                         ¦ unreasonable man. -- George Bernard Shaw ¦
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 12 08:46:03 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA28364
	for <tsvwg-archive@odin.ietf.org>; Thu, 12 Apr 2001 08:45:58 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA20505;
	Thu, 12 Apr 2001 08:42:23 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA20471
	for <tsvwg@ns.ietf.org>; Thu, 12 Apr 2001 08:42:20 -0400 (EDT)
Received: from sj-msg-core-4.cisco.com ([171.71.163.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA28273
	for <tsvwg@ietf.org>; Thu, 12 Apr 2001 08:42:18 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id FAA14536;
	Thu, 12 Apr 2001 05:41:53 -0700 (PDT)
Received: from cisco.com (rtp-dial-2-52.cisco.com [10.83.96.52])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id ABO07224 (AUTH rrs);
	Thu, 12 Apr 2001 05:41:45 -0700 (PDT)
Message-ID: <3AD5A288.B3CF450C@cisco.com>
Date: Thu, 12 Apr 2001 07:41:44 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: bidulock@openss7.org
CC: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
Subject: Re: [Tsvwg] Re: draft-stewart-ong-sctpbakeoff-sigtran-01.txt
References: <20010411210505.D17254@bfgbhome>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by sj-msg-core-4.cisco.com id FAA14536
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id IAA20472
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
X-MIME-Autoconverted: from 8bit to quoted-printable by optimus.ietf.org id IAA20505
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id IAA28364

"Brian F. G. Bidulock" wrote:
> 
> Lyndon, Randall,
> 
> One more comment on heartbeat issues:
> 
> >     3.4 Concerns when you explicitly control the source address
> >
> >     Problem/Issue: An implementation was explicitly controlling its
> >     source addresses and during the loss of one network would lose the
> >     whole association.
> >
> >     Description: When controlling the source address an implementation
> >     would always send with one set source address for both heartbeats
> >     and data. When that address broke, the HeartBeat Ack's no longer
> >     found their way back to the sender. This included both destinations
> >     since the receiver of the Heartbeat always replied to the source
> >     address. This led the sender to detect that its whole association
> >     had broken when it actually still had a good path available.
> >
> >     Advice/Solution:
> [snip]
> 
> If an implementation does not know the availability of its own
> interfaces it is pointless for it to select source address.
> Even if this implementation chose a different source address,
> there are equally probable failure scenarios which would have
> the same end result.
> 
> If the peer knows that it has no route to a source address in a
> HEARTBEAT message, it should send the HEARTBEAT ACK to an alternate
> address.
> 
> There is a good possibility that a solution to the heartbeat case
> might be to always send the HEARTBEAT ACK to the destination
> address which would next be used if the primary failed.  That is,
> to the destination address to which we will be sending
> retransmissions, rather than the source address of the HEARTBEAT.
> In the simple two-interface case, this should be the same
> address in the absence of failure.  The RTO calculation would then
> more properly address the likely RTO to be experienced upon
> changeover from the primary address at either end.
> 
> If an implementation selects (or has IP routing select) a source
> address which is outside those provided the peer in the INIT or
> INIT ACK, and the peer is unable to determine the reachability of
> destination address, the association is going to die before
> Assoc.Max.Retrans.
> 

Well, an implementation should not ever put a address in the source
address that is not part of the association or else it will get
an ABORT back for sure. If IP routing is selecting i.e. the source
is passed to the IP output routine has unspecified, then the
association had better have all the addresses bound in the association
(and have told the peer of them). If you have a dynamic IP address
thing going on then the add-ip draft better be present and used or
else you definetly are heading for a fall..


> The solution is for an implementation to know the availability of
> its own interfaces: both for connection binding and for address
> selection.  This is an IP thing, not an SCTP thing.  TCP has some
> of the same issues, particularly for on-demand interfaces which
> change their IP address dynamically.


An implementation of course can know the availablity of the source
address but it can not possibly know the routeablility of the source
address with respect to the peer. This is why an SCTP should be using
address scoping int INTI/INIT-ACKs to deterimine what addresses to
send. In particular you probably don't want to send a INIT with a
10 based address (for example) to a peer that has a global IPv4 address.
Or likewise in IPv6 you would not send a Link.local address inside of an
INIT.

Has far as this instance in the draft, this was one of those thing where
the sender no matter what filled in its primary address in all messages
as the
source. This led it to a LOT of problems (besides the most obvious one
here). If
it had used either the unspecified address and let IP routing do the
fill in or
it had even brain-dead rotated amongst the source addresse, it would
have at
least continued to survive...


R

> 
> --
> Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
> bidulock@openss7.org    ¦ world; the unreasonable one persists in  ¦
> http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
>                         ¦ Therefore  all  progress  depends on the ¦
>                         ¦ unreasonable man. -- George Bernard Shaw ¦
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 12 09:09:00 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA28900
	for <tsvwg-archive@odin.ietf.org>; Thu, 12 Apr 2001 09:08:59 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA20950;
	Thu, 12 Apr 2001 09:00:45 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA20882
	for <tsvwg@ns.ietf.org>; Thu, 12 Apr 2001 09:00:42 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.43.88])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA28658
	for <tsvwg@ietf.org>; Thu, 12 Apr 2001 09:00:40 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-2.cisco.com (8.9.3/8.9.1) with ESMTP id GAA26295
	for <tsvwg@ietf.org>; Thu, 12 Apr 2001 06:00:34 -0700 (PDT)
Received: from cisco.com (rtp-dial-2-52.cisco.com [10.83.96.52])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id ABO07381 (AUTH rrs);
	Thu, 12 Apr 2001 06:00:07 -0700 (PDT)
Message-ID: <3AD5A6CF.A136BA3D@cisco.com>
Date: Thu, 12 Apr 2001 07:59:59 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
Content-Type: multipart/mixed;
 boundary="------------985277813851A61569C192D4"
Subject: [Tsvwg] [Fwd: SCTP checksum problems]
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

This is a multi-part message in MIME format.
--------------985277813851A61569C192D4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Forwarding to the TSV WG list

R
-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127
--------------985277813851A61569C192D4
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <chsharp@sj-core.cisco.com>
Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id ABO07299;
	Thu, 12 Apr 2001 05:52:03 -0700 (PDT)
Received: from sj-msg-av-3.cisco.com (sj-msg-av-3.cisco.com [171.69.2.19])
	by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id FAA14837;
	Thu, 12 Apr 2001 05:42:54 -0700 (PDT)
Received: from mailman.cisco.com (localhost [127.0.0.1])
	by sj-msg-av-3.cisco.com (8.10.1/8.10.1) with ESMTP id f3CCgnO06950;
	Thu, 12 Apr 2001 05:42:49 -0700 (PDT)
Received: from chsharp-w2k.cisco.com (rtp-vpn-141.cisco.com [10.82.192.141]) by mailman.cisco.com (8.9.3/CISCO.SERVER.1.2) with ESMTP id FAA18627; Thu, 12 Apr 2001 05:42:46 -0700 (PDT)
Message-Id: <4.3.2.7.2.20010412082559.01d25d40@dogwood.cisco.com>
X-Sender: chsharp@dogwood.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Thu, 12 Apr 2001 08:42:41 -0400
To: sigtran@standards.nortelnetworks.com
From: Chip Sharp <chsharp@cisco.com>
Subject: SCTP checksum problems
Cc: rrs@cisco.com
In-Reply-To: <LYRIS-1442-559-2001.04.11-18.57.25--chsharp#CISCO.COM@lyri
 s.nortelnetworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Mozilla-Status2: 00000000

Lyndon,
It seems that some researchers (Craig Partridge, Jonathan Stone (Stanford), 
Jim Wendt (HP)) have finally gotten around to looking at the SCTP 
checksum... and barfed. :-\
Unfortunately, they didn't do this before the RFC was issued.

The problem with the Adler-32 checksum is that it is noticeably weaker than 
the alternatives for short packets. Of course, since the primary 
application of SCTP is Signaling Transport and call signaling typically 
uses packets less than 128 bytes, this is a major problem.

This problem was basically ferreted out by the iSCSI people.

Randally has already sent an email to the A-Ds.  He inadvertently left you 
off the CC: list.

We currently have a mail thread going with the iSCSI people and with the 
ADs to figure out the best way to approach this.  We have asked the 
researchers to provide us with a better checksum.  Then we have to figure 
out a way to get it into SCTP.  The researchers  so far have proposed 
either a modified Adler-32 using 16 bit accumulator instead of 8 bit, 
Fletcher's checksum or CRC-32.

The methods that we have thought of to migrate to a new checksum:
	1) Obsolete the current SCTP RFC and come out with a new one with the 
modified checksum.  This will fix the problem, but introduces instant 
non-backward compatibility.

	2) Multiple checksum recalculation on INIT.  The transmitter transmits the 
INIT and the receiver tries different checksums until it matches one. This 
has the obvious drawback of increasing the work on the receiver and 
possibly enhancing a DOS.

	3) Checksum negotiation:  We add a new parameter to the INIT to allow the 
endpoints to negotiate the checksum used. The disadvantage of this is that 
it adds complexity to the initialization routine (i.e., deciding when to 
switch over).  The advantage is that it allows for backward compatibility 
and fallback to original SCTP operation and it allows the addition of new 
checksums down the road.

These are the alternatives so far.  We are separating the choice of 
checksum algorithm from the method of negotiating the algorithm since they 
are pretty much orthogonal problems.  Once we get these nailed down we can 
put together a notice to the list, perhaps in the form of an I-D describing 
each method.

This is an unfortunate occurence, but I believe everyone would like to fix 
the checksum as early as possible.  Randall thinks that moving to a 16 bit 
accumulator in the Adler's checksum would be a very easy fix in the code.


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------


--------------985277813851A61569C192D4--


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 12 11:51:35 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA03188
	for <tsvwg-archive@odin.ietf.org>; Thu, 12 Apr 2001 11:51:34 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id LAA24213;
	Thu, 12 Apr 2001 11:48:53 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id LAA24185
	for <tsvwg@ns.ietf.org>; Thu, 12 Apr 2001 11:48:46 -0400 (EDT)
Received: from shared1-mail.whowhere.com (shared1-batch.whowhere.com [209.185.123.82])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA03147
	for <tsvwg@ietf.org>; Thu, 12 Apr 2001 11:48:40 -0400 (EDT)
Received: from Unknown/Local ([?.?.?.?]) by shared1-mail.whowhere.com; Thu Apr 12 08:48:00 2001
To: "sigtran" <sigtran@lyris.nortelnetworks.com>,
        sigtran@standards.nortelnetworks.com
Date: Thu, 12 Apr 2001 08:48:00 -0700
From: "Lyndon Ong" <lyndon_ong@eudoramail.com>
Message-ID: <FAAPHACONLMMKAAA@shared1-mail.whowhere.com>
Mime-Version: 1.0
Cc: rrs@cisco.com, tsvwg@ietf.org
X-Sent-Mail: off
Reply-To: lyndon_ong@eudoramail.com
X-Mailer: MailCity Service
X-Sender-Ip: 63.96.78.20
Organization: QUALCOMM Eudora Web-Mail  (http://www.eudoramail.com:80) 
Content-Type: text/plain; charset=us-ascii
Content-Language: en
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] Re: SCTP checksum problems
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Better to have figured this out now than later, I guess.  

Lyndon 
--

On Thu, 12 Apr 2001 08:42:41   Chip Sharp wrote:
>Lyndon,
>It seems that some researchers (Craig Partridge, Jonathan Stone (Stanford), 
>Jim Wendt (HP)) have finally gotten around to looking at the SCTP 
>checksum... and barfed. :-\
>Unfortunately, they didn't do this before the RFC was issued.
>
>The problem with the Adler-32 checksum is that it is noticeably weaker than 
>the alternatives for short packets. Of course, since the primary 
>application of SCTP is Signaling Transport and call signaling typically 
>uses packets less than 128 bytes, this is a major problem.
>
>This problem was basically ferreted out by the iSCSI people.
>
>Randally has already sent an email to the A-Ds.  He inadvertently left you 
>off the CC: list.
>
>We currently have a mail thread going with the iSCSI people and with the 
>ADs to figure out the best way to approach this.  We have asked the 
>researchers to provide us with a better checksum.  Then we have to figure 
>out a way to get it into SCTP.  The researchers  so far have proposed 
>either a modified Adler-32 using 16 bit accumulator instead of 8 bit, 
>Fletcher's checksum or CRC-32.
>
>The methods that we have thought of to migrate to a new checksum:
>	1) Obsolete the current SCTP RFC and come out with a new one with the 
>modified checksum.  This will fix the problem, but introduces instant 
>non-backward compatibility.
>
>	2) Multiple checksum recalculation on INIT.  The transmitter transmits the 
>INIT and the receiver tries different checksums until it matches one. This 
>has the obvious drawback of increasing the work on the receiver and 
>possibly enhancing a DOS.
>
>	3) Checksum negotiation:  We add a new parameter to the INIT to allow the 
>endpoints to negotiate the checksum used. The disadvantage of this is that 
>it adds complexity to the initialization routine (i.e., deciding when to 
>switch over).  The advantage is that it allows for backward compatibility 
>and fallback to original SCTP operation and it allows the addition of new 
>checksums down the road.
>
>These are the alternatives so far.  We are separating the choice of 
>checksum algorithm from the method of negotiating the algorithm since they 
>are pretty much orthogonal problems.  Once we get these nailed down we can 
>put together a notice to the list, perhaps in the form of an I-D describing 
>each method.
>
>This is an unfortunate occurence, but I believe everyone would like to fix 
>the checksum as early as possible.  Randall thinks that moving to a 16 bit 
>accumulator in the Adler's checksum would be a very easy fix in the code.
>
>
>-------------------------------------------------------------------
>Chip Sharp                       Consulting Engineering
>Cisco Systems
>-------------------------------------------------------------------
>
>
>
>---
>You are currently subscribed to sigtran as: lyndon_ong@EUDORAMAIL.COM
>To unsubscribe send a blank email to leave-sigtran-2146U@lyris.nortelnetworks.com
>


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 12 12:39:31 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA04308
	for <tsvwg-archive@odin.ietf.org>; Thu, 12 Apr 2001 12:39:31 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA25258;
	Thu, 12 Apr 2001 12:36:58 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA25229
	for <tsvwg@ns.ietf.org>; Thu, 12 Apr 2001 12:36:56 -0400 (EDT)
Received: from shared1-mail.whowhere.com (shared1-batch.whowhere.com [209.185.123.82])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA04228
	for <tsvwg@ietf.org>; Thu, 12 Apr 2001 12:36:56 -0400 (EDT)
Received: from Unknown/Local ([?.?.?.?]) by shared1-mail.whowhere.com; Thu Apr 12 09:36:15 2001
To: "sigtran" <sigtran@lyris.nortelnetworks.com>,
        sigtran@standards.nortelnetworks.com
Date: Thu, 12 Apr 2001 09:36:15 -0700
From: "Lyndon Ong" <lyndon_ong@eudoramail.com>
Message-ID: <LBIAPCLPPFPMKAAA@shared1-mail.whowhere.com>
Mime-Version: 1.0
Cc: tsvwg@ietf.org
X-Sent-Mail: off
Reply-To: lyndon_ong@eudoramail.com
X-Mailer: MailCity Service
X-Sender-Ip: 63.96.78.20
Organization: QUALCOMM Eudora Web-Mail  (http://www.eudoramail.com:80) 
Content-Type: text/plain; charset=us-ascii
Content-Language: en
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] Re: SCTP checksum problems
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Chip,

To be precise, then, the issue is not that the checksum is "wrong" in the sense that it causes errors, it's that the checksum does not do a great job of error detection, esp. in short messages.  

Probably would be helpful to get any kind of quantitative handle on this.

Cheers,

Lyndon






Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 12 20:16:26 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA14014
	for <tsvwg-archive@odin.ietf.org>; Thu, 12 Apr 2001 20:16:26 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA02697;
	Thu, 12 Apr 2001 20:13:58 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA02666
	for <tsvwg@ns.ietf.org>; Thu, 12 Apr 2001 20:13:56 -0400 (EDT)
Received: from optima.CS.Arizona.EDU ([192.12.69.5])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA13992
	for <tsvwg@ietf.org>; Thu, 12 Apr 2001 20:13:55 -0400 (EDT)
Received: from baskerville.CS.Arizona.EDU (baskerville.CS.Arizona.EDU [192.12.69.35])
	by optima.CS.Arizona.EDU (8.11.1/8.11.1) with ESMTP id f3D0APl14022;
	Thu, 12 Apr 2001 17:10:26 -0700 (MST)
Received: from P-micke (baskerville.CS.Arizona.EDU [192.12.69.35])
	by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) with SMTP id f3D0Do308954;
	Thu, 12 Apr 2001 17:13:50 -0700 (MST)
Message-Id: <200104130013.f3D0Do308954@baskerville.CS.Arizona.EDU>
X-Sender: micke@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
Date: Fri, 13 Apr 2001 02:16:25 +0200
To: lyndon_ong@eudoramail.com
From: Mikael Degermark <micke@CS.Arizona.EDU>
Subject: Re: [Tsvwg] Re: SCTP checksum problems
Cc: "sigtran" <sigtran@lyris.nortelnetworks.com>,
        sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
In-Reply-To: <LBIAPCLPPFPMKAAA@shared1-mail.whowhere.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

I've recently exchanged emails with Craig on a related issue, and he then said
that if he were to modify UDP or TCP today, regarding the checksum, he would
probably go for a 32-bit Internet checksum. 

Cheers, 

Mikael Degermark

At 09:36 AM 4/12/01 -0700, Lyndon Ong wrote:
>Chip,
>
>To be precise, then, the issue is not that the checksum is "wrong" in the sense that it causes errors, it's that the checksum does not do a great job of error detection, esp. in short messages.  
>
>Probably would be helpful to get any kind of quantitative handle on this.
>
>Cheers,
>
>Lyndon
>
>
>
>
>
>
>Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
>
>_______________________________________________
>tsvwg mailing list
>tsvwg@ietf.org
>http://www1.ietf.org/mailman/listinfo/tsvwg
> 

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 13 09:52:34 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA08440
	for <tsvwg-archive@odin.ietf.org>; Fri, 13 Apr 2001 09:52:34 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA19602;
	Fri, 13 Apr 2001 09:48:46 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA19570
	for <tsvwg@ns.ietf.org>; Fri, 13 Apr 2001 09:48:44 -0400 (EDT)
Received: from ferao.jungle.bt.co.uk (ferao.jungle.bt.co.uk [132.146.107.45])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA08247
	for <tsvwg@ietf.org>; Fri, 13 Apr 2001 09:48:41 -0400 (EDT)
Received: from maat (maat [132.146.136.68] (may be forged))
	by ferao.jungle.bt.co.uk (8.9.1b+Sun/Jungle-8.9.1-03) with SMTP id OAA24611;
	Fri, 13 Apr 2001 14:27:17 +0100 (BST)
Message-Id: <3.0.5.32.20010413144842.01c68480@mailhost.jungle.bt.co.uk>
X-Sender: rbriscoe@mailhost.jungle.bt.co.uk
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
Date: Fri, 13 Apr 2001 14:48:42 +0100
To: Sally Floyd <floyd@aciri.org>
From: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
Subject: Re: [Tsvwg] I-D ACTION:draft-ietf-tsvwg-ecn-03.txt
Cc: "K. K. Ramakrishnan" <kk@teraoptic.com>, David Black <dlb@ieee.org>,
        tsvwg@ietf.org, "Crowcroft, Jon" <J.Crowcroft@cs.ucl.ac.uk>,
        "Jacquet, Arnaud" <ajacquet@jungle.bt.co.uk>,
        "Hourcade, Thierry" <thourcade@jungle.bt.co.uk>
In-Reply-To: <200104102140.f3ALe2s05584@elk.aciri.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

Sally,

Sorry about the slow response time - I'm on holiday really.

Thank you for clarifying things. Below, I've highlighted points where
greater clarity seems to be needed in the document. That's the only type of
criticism we have left now, from my point of view.

At 14:40 10/04/01 -0700, Sally Floyd wrote:
>
>Bob -
>
>Here is some feedback on your email:
>
>>Just confirmation that you've got rough agreement on draft-03 from me.
>>Hence I'm sending this to the list, not to the IESG in response to their
>>last call.
>>
>>It's rough, because 
>>1/ On marking behaviour, I don't actually agree with the way the router
>>behaviour is described, embedding 'mark=drop' in your implementation
>>suggestions. IMHO, the prediction that future research might change things
>>is too vague to warn implementors how to protect themselves from future
>>changes per diffserv class. But it's your document, so such questions of
>>emphasis are yours to decide.
>
>We have to disagree on this one.  To my mind, the equivalence of
>marking and dropping for the default ECN semantics, in terms of the
>congestion control response of the end nodes, is the key contribution
>of RFC 2481 and of this draft.  See more about this below.

I have no problem with this as a default. There's no real problem with the
text, other than giving implementors no clues about what non-default might
mean.

I.e, where the default isn't chosen, say for diffserv class n, parameters
for *two* queuing behaviours will need to be configurable for class n
(not-ECT and ECT). This will require a change to the user and management
interfaces for configuring the router (with the two equal by default unless
a second is specified). Without explaining this, vendors are likely to
close off any non-default flexibility, by omission rather than intent.

In practice, it just means they'll have to produce two revisions to their
OS, which is probably OK, as no-one has yet proved the need for non-default
behaviour (other than my own conjecture). 

>>2/ On non-compliance, ...
>I don't think we said that "non-compliant use of ECN is no more
>of a problem than for discard".  That is not how Section 7 reads to me.

OK - you're strictly right. I just felt the emphasis was trying to gloss
over the difference. You're allowed to do that though, as, by being careful
with your wording, you haven't actually told any untruths :)

>>3/ On fragmentation, I don't understand why 'SHOULD set DF' has been
>>demoted to 'MAY set DF', and I'm not fully convinced that a few badly
>>configured fire-walls that prevent path MTU discovery are sufficient reason
>>not to say 'MUST set DF'. But, I don't really care about this strongly
>>enough to argue, as it's implementors that will suffer the extra complexity
>>and so if they're not fighting, I'd better shut up.
>
>The argument made in the Working Group was that one does not need a reason
>to say MAY instead of SHOULD;  instead, one needs a strong reason if
>one is going to say SHOULD instead of MAY.  I agree with this.

Reasonable.

>>Self-inconsistencies
>>--------------------
>>(But I know what you probably mean, so others should too, however the first
>>two really do need to be resolved.)
>>
>>p2: "...all the mechanisms specified here are incrementally deployable."
>>p24 sec 9.1: 
>>  "When ECN
>>   becomes widely deployed, then simple tunnels likely to carry ECN-
>>   capable traffic will have to be changed."
>>p37 sec 12:
>>  "All IP tunnels MUST implement one of the two alternative approaches
>>   described above."
>
>We can rephrase p37 sec 12 to the following:
>"To be compliant with this standard, all IP tunnels MUST implement one
>of the two alternative approaches described above."
>That seems clear to me.

Nice try :) But then you can't say "all the mechanisms *described here* are
incrementally deployable", as all tunnels have to be upgraded at once to
comply, and there is no path for non-upgraded tunnels to interwork.

At one point you say "RFC 2481 recommended that ECN not be used with the
older simple IPsec tunnels". I assume you aren't making this part of the
proposed standard because the sender rarely knows its packets are going
through a tunnel.

I think the only honest path is to amend the statement of intent on p2, to
add an exception about simple tunnels. Perhaps also add in section 9 that
network infrastructure like tunnels is expected to be upgraded before the
majority of hosts? Also that, if congestion marking is being undone by a
simple tunnel egress in the transition, a congested ECN router in the
tunnel will eventually overload and discard, thus failing safely, if not
gracefully.

>>Section 5 mandates the behaviour of ECN-capable transports in general, but
>>section 6 says "This document only addresses the addition of ECN Capability
>>to TCP..."
...
>>If you really did mean to be this draconian for *all* transports, I would
>>object strongly.
>
>We mean this, for the default semantics of ECN.  This is in Section 5, 
>and does not apply only to TCP.  
...
>This is the key to RFC 2482, and to this draft, that these
>are the default semantics of ECN.  And, in my opinion, this is the
>key to ECN having made it this far in the standards track
...

I also believe this was the key factor, giving a stepping stone from where
people were to where you were going. However, I think we both agree that
the path doesn't necessarily end here. There is the potential for the
Internet to have different operating points for different types of traffic.
This must be a good thing, as it allows different efficiency/performance
tradeoffs, rather than a single mega-compromise.

>However, a separate diff-serv class would be free to define alternate
>semantics for ECN for that diff-serv class, but that is not addressed
>in this document, except for the one paragraph about Differentiated
>Services Per-Hop Behaviors in Section 5.

OK, I was expecting flexibility in new transport protocols. But flexibility
within transport protocols per DSCP is cool. Bit odd, and difficult to
deploy incrementally, but more consistent with the stratification of router
flexibility.

A problem to grapple with in the future though. Can't let this hold up ECN,
even though it worries me - it's not fair to hold up ECN while we think
this all through.

However, this is definitely *not* what you have said: p10 sec 5:
  "The above discussion of when CE may be set instead of dropping a
   packet applies by default to all Differentiated Services Per-Hop
   Behaviors (PHBs) [RFC 2475]."
You definitely only say you are talking about router behaviour here. It is
counter-intuitive to think that you are talking about per-DSCP host
transport behaviour as well, unless you say so. Per-DSCP host transport
behaviour is not something that is currently within most people's
understanding of normality, so they won't guess this without an explicit hint.

So this moves from being a question of inconsistency, to one of clarity -
something I assume you can also deal with at RFC editing stage.

As well as clarifying the per-DSCP default applies to hosts as well as
routers, you need to make clear that the limitation of scope to TCP doesn't
apply to section 5.

>>Section 5.2 (picky):
>>  "...the congestion response of the end nodes to a dropped data packet is
>>   at least as strong as the congestion response to a received CE
>>   packet."
>>If being picky, this implies the response to CE may be stronger than to
drop.

Sorry I don't know what I was thinking about. Your wording allows response
to drop to be stronger than to mark, not the other way round. Ignore me. 

>Nope, but I agree that this could be clarified.  

The earlier wording says "essentially the same as", so I think you're OK.
Clarify if you want.

>>Strictly, the multicast use should be separately listed, as it is not
>>precluded - it can be made compatible.
>
>We will leave this to be addressed in a later document.

I think you've misunderstood. I'm just saying that the multicast semantics
shouldn't be in your list of incompatible proposals. It's largely compatible. 

>>Final thought
>>-------------
>>Would it be sensible to use a next draft, if there is one, to set aside one
>>of the TCP reserved bits for ECN nonce experiments? 
>
>This is being addressed in draft-ietf-tsvwg-tcp-nonce-00.txt.

OK.

----------
Thanks for your patience.

Hopefully, this last episode has been worth it - any specification  of this
length (and with so much horse-trading in its making) is bound to be very
difficult to make clear and consistent. I admire the job that has been done.

Thank you.

Bob
________________________________________________________
Notice: This contribution is the personal view of the 
author and does not necessarily reflect the technical nor 
commercial direction of British Telecommunications plc.
________________________________________________________
Bob Briscoe      http://www.labs.bt.com/people/briscorj/

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Mon Apr 16 12:17:59 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA07635
	for <tsvwg-archive@odin.ietf.org>; Mon, 16 Apr 2001 12:17:59 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA01040;
	Mon, 16 Apr 2001 12:11:58 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA01011
	for <tsvwg@ns.ietf.org>; Mon, 16 Apr 2001 12:11:47 -0400 (EDT)
Received: from c007.snv.cp.net ([209.228.33.221])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA07534
	for <tsvwg@ietf.org>; Mon, 16 Apr 2001 12:11:47 -0400 (EDT)
Received: (cpmta 27688 invoked from network); 16 Apr 2001 09:11:14 -0700
Received: from unknown (HELO ljoy) (64.130.130.105)
  by smtp.telocity.com (209.228.33.221) with SMTP; 16 Apr 2001 09:11:14 -0700
X-Sent: 16 Apr 2001 16:11:14 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Mikael Degermark" <micke@CS.Arizona.EDU>, <lyndon_ong@eudoramail.com>
Cc: "sigtran" <sigtran@lyris.nortelnetworks.com>,
        <sigtran@standards.nortelnetworks.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] Re: SCTP checksum problems
Date: Mon, 16 Apr 2001 09:09:30 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJGEFHCGAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <200104130013.f3D0Do308954@baskerville.CS.Arizona.EDU>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Lyndon,

It would appear using a 16 bit add rather than an 8 bit add within the
Adler-32 algorithm has three benefits.  It improves the small packet error
detection, the burst error detection, and performance.  The Alder algorithm
was designed for byte length detection, not a requirement for SCTP.  This
change introduces a blind spot however depending how it is implemented.  A
value at the modulo becomes lost if the higher order sum addition is done
after the modulo adjustment.  A 16 bit add with Adler would also have a
benefit for hardware implementation as it reduces the number of operations
by two.  To implement algorithms with limited resources, this potential
change is a move towards that goal.

If there was a means of identifying a CRC data payload where CRC is placed
at the end of the data chunk, then including CRC as an additional check
before acknowledging becomes possible for those fixated on burst error
detection.   For CRC to have similar instruction overhead requires a 128K
lookup table which seems to exclude it from being a baseline check.  If
there was also an API flag to indicate if CRC was checked would also allow
this option to be done either by the transport or the application or
ignored.

Doug


> I've recently exchanged emails with Craig on a related issue, and
> he then said
> that if he were to modify UDP or TCP today, regarding the
> checksum, he would
> probably go for a 32-bit Internet checksum.
>
> Cheers,
>
> Mikael Degermark
>
> At 09:36 AM 4/12/01 -0700, Lyndon Ong wrote:
> >Chip,
> >
> >To be precise, then, the issue is not that the checksum is
> "wrong" in the sense that it causes errors, it's that the
> checksum does not do a great job of error detection, esp. in
> short messages.
> >
> >Probably would be helpful to get any kind of quantitative handle on this.
> >
> >Cheers,
> >
> >Lyndon
> >
> >
> >
> >
> >
> >
> >Join 18 million Eudora users by signing up for a free Eudora
> Web-Mail account at http://www.eudoramail.com
> >
> >_______________________________________________
> >tsvwg mailing list
> >tsvwg@ietf.org
> >http://www1.ietf.org/mailman/listinfo/tsvwg
> >
>
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg
>


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Mon Apr 16 13:41:21 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA09608
	for <tsvwg-archive@odin.ietf.org>; Mon, 16 Apr 2001 13:41:21 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA02697;
	Mon, 16 Apr 2001 13:27:16 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA02668
	for <tsvwg@ns.ietf.org>; Mon, 16 Apr 2001 13:27:15 -0400 (EDT)
Received: from motgate3.mot.com ([144.189.100.103])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA09189
	for <tsvwg@ietf.org>; Mon, 16 Apr 2001 13:27:16 -0400 (EDT)
Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate3.mot.com (motgate3 2.1) with ESMTP id KAA27584; Mon, 16 Apr 2001 10:21:33 -0700 (MST)]
Received: [from relay2.cig.mot.com (relay2.cig.mot.com [136.182.15.24]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id KAA16315; Mon, 16 Apr 2001 10:27:11 -0700 (MST)]
Received: from agevole.cig.mot.com (agevole [136.182.3.251]) by relay2.cig.mot.com (8.9.0/SCERG-RELAY-1.11b) with ESMTP id MAA16193; Mon, 16 Apr 2001 12:27:10 -0500 (CDT)
Received: from cig.mot.com (d42-506b.cig.mot.com [160.15.80.107]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id MAA19255; Mon, 16 Apr 2001 12:27:07 -0500 (CDT)
Message-Id: <200104161727.MAA19255@agevole.cig.mot.com>
Date: Mon, 16 Apr 2001 12:28:53 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Randall Stewart <rrs@cisco.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] [SCTP checksum problems]
References: <3AD5A6CF.A136BA3D@cisco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Another solution could be (I think I mentioned this to Randy and a few
others at last IETF): 

- Define a CRC-32 (or other strong checksum) control chunk and when the
sender wishes to use a stronger checksum protection, in addition to the
Adler-32 in the common SCTP header it includes this CRC-32 chuck in the
outbound packet. When the packet arrives, the receiver will do the
Adler-32 first, and then if the receiver supports the CRC-32 and sees
the presence of the CRC-32 chunk in the packet it will further verify
the CRC-32. 

We could also use a bit pattern in the chunk type of the CRC-32 chunk so
that if the receiver doesn't understand the CRC-32 chunk it would drop
it with a report back to the sender.

-Qiaobing

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Mon Apr 16 17:47:02 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA14405
	for <tsvwg-archive@odin.ietf.org>; Mon, 16 Apr 2001 17:47:02 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA07088;
	Mon, 16 Apr 2001 17:44:37 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA07059
	for <tsvwg@ns.ietf.org>; Mon, 16 Apr 2001 17:44:36 -0400 (EDT)
Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA14383
	for <tsvwg@ietf.org>; Mon, 16 Apr 2001 17:44:37 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id OAA06710;
	Mon, 16 Apr 2001 14:44:13 -0700 (PDT)
Received: from cisco.com (rtp-dial-2-99.cisco.com [10.83.96.99])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id ACL10381 (AUTH rrs);
	Mon, 16 Apr 2001 14:44:06 -0700 (PDT)
Message-ID: <3ADB679D.F9B73F9@cisco.com>
Date: Mon, 16 Apr 2001 16:43:57 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Qiaobing Xie <xieqb@cig.mot.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] [SCTP checksum problems]
References: <3AD5A6CF.A136BA3D@cisco.com> <200104161727.MAA19255@agevole.cig.mot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Q:

The only problem with an additional "CRC chunk" is that
it makes hardware assistance to error correction much
more difficult. It is better (I think) to just realize
we made a mistake. Get the opinions of the experts as to
what checksum to use... i.e.:

- CRC-32
- Modified Adler-32 (16 bit word sums)
- Fletcher-32
- ???

And then go with this as a replacement... Admit we were wrong
and fix the problem..

This way you have ONE and only ONE checksum algorithm making
hardware designers life much easier...

R

Qiaobing Xie wrote:
> 
> Another solution could be (I think I mentioned this to Randy and a few
> others at last IETF):
> 
> - Define a CRC-32 (or other strong checksum) control chunk and when the
> sender wishes to use a stronger checksum protection, in addition to the
> Adler-32 in the common SCTP header it includes this CRC-32 chuck in the
> outbound packet. When the packet arrives, the receiver will do the
> Adler-32 first, and then if the receiver supports the CRC-32 and sees
> the presence of the CRC-32 chunk in the packet it will further verify
> the CRC-32.
> 
> We could also use a bit pattern in the chunk type of the CRC-32 chunk so
> that if the receiver doesn't understand the CRC-32 chunk it would drop
> it with a report back to the sender.
> 
> -Qiaobing
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Mon Apr 16 19:13:45 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA15150
	for <tsvwg-archive@odin.ietf.org>; Mon, 16 Apr 2001 19:13:41 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id TAA08254;
	Mon, 16 Apr 2001 19:10:55 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id TAA08223
	for <tsvwg@ns.ietf.org>; Mon, 16 Apr 2001 19:10:54 -0400 (EDT)
Received: from patan.sun.com ([192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA15119
	for <tsvwg@ietf.org>; Mon, 16 Apr 2001 19:10:55 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id QAA21211;
	Mon, 16 Apr 2001 16:10:55 -0700 (PDT)
Received: from srmtv29a (srmtv29a [152.70.1.41])
	by heliopolis.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id QAA28343;
	Mon, 16 Apr 2001 16:10:55 -0700 (PDT)
Message-Id: <200104162310.QAA28343@heliopolis.eng.sun.com>
Date: Mon, 16 Apr 2001 16:10:55 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] [SCTP checksum problems]
To: xieqb@cig.mot.com, rrs@cisco.com
Cc: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: bW9Ff6kcpBD+KJIWRlIbNw==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc 
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org


As an SCTP implementor and someone who will want to get the hardware folks to 
help with checksumming, I wholeheartedly agree with Randy. Remember that SCTP is 
just a proposed standard, and is as such not all that far along the 
standardization process. We should still be able to make changes like this if 
necessary.

Jon

>
>Q:
>
>The only problem with an additional "CRC chunk" is that
>it makes hardware assistance to error correction much
>more difficult. It is better (I think) to just realize
>we made a mistake. Get the opinions of the experts as to
>what checksum to use... i.e.:
>
>- CRC-32
>- Modified Adler-32 (16 bit word sums)
>- Fletcher-32
>- ???
>
>And then go with this as a replacement... Admit we were wrong
>and fix the problem..
>
>This way you have ONE and only ONE checksum algorithm making
>hardware designers life much easier...
>
>R
>
>Qiaobing Xie wrote:
>> 
>> Another solution could be (I think I mentioned this to Randy and a few
>> others at last IETF):
>> 
>> - Define a CRC-32 (or other strong checksum) control chunk and when the
>> sender wishes to use a stronger checksum protection, in addition to the
>> Adler-32 in the common SCTP header it includes this CRC-32 chuck in the
>> outbound packet. When the packet arrives, the receiver will do the
>> Adler-32 first, and then if the receiver supports the CRC-32 and sees
>> the presence of the CRC-32 chunk in the packet it will further verify
>> the CRC-32.
>> 
>> We could also use a bit pattern in the chunk type of the CRC-32 chunk so
>> that if the receiver doesn't understand the CRC-32 chunk it would drop
>> it with a report back to the sender.
>> 
>> -Qiaobing
>> 
>> _______________________________________________
>> tsvwg mailing list
>> tsvwg@ietf.org
>> http://www1.ietf.org/mailman/listinfo/tsvwg
>
>-- 
>Randall R. Stewart
>Systems & Solutions Engineering
>Cisco Systems Inc.
>rrs@cisco.com 815-342-5222 or 815-477-2127
>
>_______________________________________________
>tsvwg mailing list
>tsvwg@ietf.org
>http://www1.ietf.org/mailman/listinfo/tsvwg


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 17 07:43:31 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA05655
	for <tsvwg-archive@odin.ietf.org>; Tue, 17 Apr 2001 07:43:31 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA24709;
	Tue, 17 Apr 2001 07:35:44 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA24680
	for <tsvwg@ns.ietf.org>; Tue, 17 Apr 2001 07:35:39 -0400 (EDT)
Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA05565
	for <tsvwg@ietf.org>; Tue, 17 Apr 2001 07:35:43 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id EAA09804;
	Tue, 17 Apr 2001 04:30:54 -0700 (PDT)
Received: from cisco.com (rtp-dial-1-104.cisco.com [10.83.97.104])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id ACL23599 (AUTH rrs);
	Tue, 17 Apr 2001 04:30:44 -0700 (PDT)
Message-ID: <3ADC2963.39CD2E2@cisco.com>
Date: Tue, 17 Apr 2001 06:30:43 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
CC: xieqb@cig.mot.com, tsvwg@ietf.org, Jim Wendt <jim_wendt@hp.com>,
        Jonathan Stone <jonathan@dsg.stanford.edu>,
        Craig Partridge <craig@aland.bbn.com>
Subject: Re: [Tsvwg] [SCTP checksum problems]
References: <200104162310.QAA28343@heliopolis.eng.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Jonathan:

I will make sure everyone at the bakeoff is aware of the upcoming
"checksum" change... Now one of the big questions yet is
what checksum should we use?

I kinda lean towards crc-32 myself (but of course I have no technical
basis for this and need to keep silent on which one to use anyway :->),
but do we have other candidates besides fletcher-32 and possibly
modified 
Adler-32 (i.e. 16 bit adds instead of 8)??

I will take the above 3 and do a bit of performance work this
week and post some numbers... thats about all I can do i.e.  tell
how much time the options I know of take... 

If you have some other candidates let me know and I can possibly get
some performance numbers on these as well...

As far as which is the best... I encourage all of you check-sum
experts out there to please join the thread :)

Oh, I know Jonathan Stone's paper will NOT be ready until sometime
in May.. so we may want to proceed slowly so that Craig Partridge and
he can have some cycles to add to this dicussion :)

R

Jonathan Wood wrote:
> 
> As an SCTP implementor and someone who will want to get the hardware folks to
> help with checksumming, I wholeheartedly agree with Randy. Remember that SCTP is
> just a proposed standard, and is as such not all that far along the
> standardization process. We should still be able to make changes like this if
> necessary.
> 
> Jon
> 
> >
> >Q:
> >
> >The only problem with an additional "CRC chunk" is that
> >it makes hardware assistance to error correction much
> >more difficult. It is better (I think) to just realize
> >we made a mistake. Get the opinions of the experts as to
> >what checksum to use... i.e.:
> >
> >- CRC-32
> >- Modified Adler-32 (16 bit word sums)
> >- Fletcher-32
> >- ???
> >
> >And then go with this as a replacement... Admit we were wrong
> >and fix the problem..
> >
> >This way you have ONE and only ONE checksum algorithm making
> >hardware designers life much easier...
> >
> >R
> >
> >Qiaobing Xie wrote:
> >>
> >> Another solution could be (I think I mentioned this to Randy and a few
> >> others at last IETF):
> >>
> >> - Define a CRC-32 (or other strong checksum) control chunk and when the
> >> sender wishes to use a stronger checksum protection, in addition to the
> >> Adler-32 in the common SCTP header it includes this CRC-32 chuck in the
> >> outbound packet. When the packet arrives, the receiver will do the
> >> Adler-32 first, and then if the receiver supports the CRC-32 and sees
> >> the presence of the CRC-32 chunk in the packet it will further verify
> >> the CRC-32.
> >>
> >> We could also use a bit pattern in the chunk type of the CRC-32 chunk so
> >> that if the receiver doesn't understand the CRC-32 chunk it would drop
> >> it with a report back to the sender.
> >>
> >> -Qiaobing
> >>
> >> _______________________________________________
> >> tsvwg mailing list
> >> tsvwg@ietf.org
> >> http://www1.ietf.org/mailman/listinfo/tsvwg
> >
> >--
> >Randall R. Stewart
> >Systems & Solutions Engineering
> >Cisco Systems Inc.
> >rrs@cisco.com 815-342-5222 or 815-477-2127
> >
> >_______________________________________________
> >tsvwg mailing list
> >tsvwg@ietf.org
> >http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 17 09:23:59 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA07158
	for <tsvwg-archive@odin.ietf.org>; Tue, 17 Apr 2001 09:23:59 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA26110;
	Tue, 17 Apr 2001 09:10:11 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA26079
	for <tsvwg@ns.ietf.org>; Tue, 17 Apr 2001 09:10:09 -0400 (EDT)
Received: from baqaqi.chi.il.us ([24.167.185.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA06889
	for <tsvwg@ietf.org>; Tue, 17 Apr 2001 09:10:12 -0400 (EDT)
Received: from baqaqi.chi.il.us (piggy@localhost)
	by baqaqi.chi.il.us (8.11.0/8.11.0) with ESMTP id f3HCtiO32553;
	Tue, 17 Apr 2001 07:55:45 -0500
Message-Id: <200104171255.f3HCtiO32553@baqaqi.chi.il.us>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
cc: xieqb@cig.mot.com, rrs@cisco.com, tsvwg@ietf.org
From: "La Monte Henry Piggy Yarroll" <piggy@baqaqi.chi.il.us>
Subject: Re: [Tsvwg] [SCTP checksum problems] 
In-reply-to: Your message of Mon, 16 Apr 2001 16:10:55 -0700.
             <200104162310.QAA28343@heliopolis.eng.sun.com> 
Date: Tue, 17 Apr 2001 07:55:44 -0500
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

As an implementor, I'd like to echo Jonathan's sentiments.  A
flash-cut is the best solution.  The installed base is currently small
enough that a change of this magnitude is still possible.

Jonathan Wood <Jonathan.Wood@Sun.COM> writes:
> As an SCTP implementor and someone who will want to get the hardware
> folks to help with checksumming, I wholeheartedly agree with
> Randy. Remember that SCTP is just a proposed standard, and is as
> such not all that far along the standardization process. We should
> still be able to make changes like this if necessary.
>
> Jon
> 
> >
> >Q:
> >
> >The only problem with an additional "CRC chunk" is that
> >it makes hardware assistance to error correction much
> >more difficult. It is better (I think) to just realize
> >we made a mistake. Get the opinions of the experts as to
> >what checksum to use... i.e.:
> >
> >- CRC-32
> >- Modified Adler-32 (16 bit word sums)
> >- Fletcher-32
> >- ???
> >
> >And then go with this as a replacement... Admit we were wrong
> >and fix the problem..
> >
> >This way you have ONE and only ONE checksum algorithm making
> >hardware designers life much easier...
> >
> >R
> >
> >Qiaobing Xie wrote:
> >> 
> >> Another solution could be (I think I mentioned this to Randy and a few
> >> others at last IETF):
> >> 
> >> - Define a CRC-32 (or other strong checksum) control chunk and when the
> >> sender wishes to use a stronger checksum protection, in addition to the
> >> Adler-32 in the common SCTP header it includes this CRC-32 chuck in the
> >> outbound packet. When the packet arrives, the receiver will do the
> >> Adler-32 first, and then if the receiver supports the CRC-32 and sees
> >> the presence of the CRC-32 chunk in the packet it will further verify
> >> the CRC-32.
> >> 
> >> We could also use a bit pattern in the chunk type of the CRC-32 chunk s
o
> >> that if the receiver doesn't understand the CRC-32 chunk it would drop
> >> it with a report back to the sender.
> >> 
> >> -Qiaobing
> >> 
> >> _______________________________________________
> >> tsvwg mailing list
> >> tsvwg@ietf.org
> >> http://www1.ietf.org/mailman/listinfo/tsvwg
> >
> >-- 
> >Randall R. Stewart
> >Systems & Solutions Engineering
> >Cisco Systems Inc.
> >rrs@cisco.com 815-342-5222 or 815-477-2127
> >
> >_______________________________________________
> >tsvwg mailing list
> >tsvwg@ietf.org
> >http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 17 09:36:17 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA07420
	for <tsvwg-archive@odin.ietf.org>; Tue, 17 Apr 2001 09:36:17 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA26354;
	Tue, 17 Apr 2001 09:26:11 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA26326
	for <tsvwg@ns.ietf.org>; Tue, 17 Apr 2001 09:26:09 -0400 (EDT)
Received: from baqaqi.chi.il.us ([24.167.185.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA07221
	for <tsvwg@ietf.org>; Tue, 17 Apr 2001 09:26:12 -0400 (EDT)
Received: from baqaqi.chi.il.us (piggy@localhost)
	by baqaqi.chi.il.us (8.11.0/8.11.0) with ESMTP id f3HDQTf32627;
	Tue, 17 Apr 2001 08:26:29 -0500
Message-Id: <200104171326.f3HDQTf32627@baqaqi.chi.il.us>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
cc: xieqb@cig.mot.com, rrs@cisco.com, tsvwg@ietf.org
From: "La Monte Henry Piggy Yarroll" <piggy@baqaqi.chi.il.us>
Subject: Re: [Tsvwg] [SCTP checksum problems] 
In-reply-to: Your message of Mon, 16 Apr 2001 16:10:55 -0700.
             <200104162310.QAA28343@heliopolis.eng.sun.com> 
Date: Tue, 17 Apr 2001 08:26:28 -0500
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

As an implementor, I'd like to echo Jonathan's sentiments.  A
flash-cut is the best solution.  The installed base is currently small
enough that a change of this magnitude is still possible.

Jonathan Wood <Jonathan.Wood@Sun.COM> writes:
> As an SCTP implementor and someone who will want to get the hardware
> folks to help with checksumming, I wholeheartedly agree with
> Randy. Remember that SCTP is just a proposed standard, and is as
> such not all that far along the standardization process. We should
> still be able to make changes like this if necessary.
>
> Jon
> 
> >
> >Q:
> >
> >The only problem with an additional "CRC chunk" is that
> >it makes hardware assistance to error correction much
> >more difficult. It is better (I think) to just realize
> >we made a mistake. Get the opinions of the experts as to
> >what checksum to use... i.e.:
> >
> >- CRC-32
> >- Modified Adler-32 (16 bit word sums)
> >- Fletcher-32
> >- ???
> >
> >And then go with this as a replacement... Admit we were wrong
> >and fix the problem..
> >
> >This way you have ONE and only ONE checksum algorithm making
> >hardware designers life much easier...
> >
> >R
> >
> >Qiaobing Xie wrote:
> >> 
> >> Another solution could be (I think I mentioned this to Randy and a few
> >> others at last IETF):
> >> 
> >> - Define a CRC-32 (or other strong checksum) control chunk and when the
> >> sender wishes to use a stronger checksum protection, in addition to the
> >> Adler-32 in the common SCTP header it includes this CRC-32 chuck in the
> >> outbound packet. When the packet arrives, the receiver will do the
> >> Adler-32 first, and then if the receiver supports the CRC-32 and sees
> >> the presence of the CRC-32 chunk in the packet it will further verify
> >> the CRC-32.
> >> 
> >> We could also use a bit pattern in the chunk type of the CRC-32 chunk s
o
> >> that if the receiver doesn't understand the CRC-32 chunk it would drop
> >> it with a report back to the sender.
> >> 
> >> -Qiaobing
> >> 
> >> _______________________________________________
> >> tsvwg mailing list
> >> tsvwg@ietf.org
> >> http://www1.ietf.org/mailman/listinfo/tsvwg
> >
> >-- 
> >Randall R. Stewart
> >Systems & Solutions Engineering
> >Cisco Systems Inc.
> >rrs@cisco.com 815-342-5222 or 815-477-2127
> >
> >_______________________________________________
> >tsvwg mailing list
> >tsvwg@ietf.org
> >http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 17 09:45:34 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA07571
	for <tsvwg-archive@odin.ietf.org>; Tue, 17 Apr 2001 09:45:34 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA26300;
	Tue, 17 Apr 2001 09:24:36 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA26274
	for <tsvwg@ns.ietf.org>; Tue, 17 Apr 2001 09:24:33 -0400 (EDT)
Received: from aland.bbn.com ([204.162.9.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA07193
	for <tsvwg@ietf.org>; Tue, 17 Apr 2001 09:24:36 -0400 (EDT)
Received: from aland.bbn.com (localhost [127.0.0.1])
	by aland.bbn.com (8.11.3/8.11.3) with ESMTP id f3HDOSP01829;
	Tue, 17 Apr 2001 09:24:29 -0400 (EDT)
Message-Id: <200104171324.f3HDOSP01829@aland.bbn.com>
To: Randall Stewart <rrs@cisco.com>
cc: Jonathan Wood <Jonathan.Wood@Sun.COM>, xieqb@cig.mot.com, tsvwg@ietf.org,
        Jim Wendt <jim_wendt@hp.com>,
        Jonathan Stone <jonathan@dsg.stanford.edu>,
        Craig Partridge <craig@aland.bbn.com>
Subject: Re: [Tsvwg] [SCTP checksum problems] 
In-Reply-To: Your message of "Tue, 17 Apr 2001 06:30:43 CDT."
             <3ADC2963.39CD2E2@cisco.com> 
Date: Tue, 17 Apr 2001 09:24:28 -0400
From: Craig Partridge <craig@aland.bbn.com>
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org


In message <3ADC2963.39CD2E2@cisco.com>, Randall Stewart writes:

>I kinda lean towards crc-32 myself (but of course I have no technical
>basis for this and need to keep silent on which one to use anyway :->),
>but do we have other candidates besides fletcher-32 and possibly
>modified 
>Adler-32 (i.e. 16 bit adds instead of 8)??

The other obvious choice is to define a TCP-32 (i.e. add in 32-bit
chunks with the carry wrapped).

>I will take the above 3 and do a bit of performance work this
>week and post some numbers... thats about all I can do i.e.  tell
>how much time the options I know of take... 

We have a fairly optimized CRC-32 running around that we can likely
send you.  I think Sklower had an optimized fletcher-32 in his paper
(though it may have only been fletcher-16 but regardless, you can
figure out how to do a faster fletcher-32 by reading his work and
much of it applies to Adler-32 as well).  Remember to test in both
endians (which is a nuisance, e.g. our CRC-32 was only done for big
endian) but it matters.

Craig

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 17 14:33:59 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA13031
	for <tsvwg-archive@odin.ietf.org>; Tue, 17 Apr 2001 14:33:54 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA01721;
	Tue, 17 Apr 2001 14:22:56 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA01666
	for <tsvwg@ns.ietf.org>; Tue, 17 Apr 2001 14:22:53 -0400 (EDT)
Received: from Pescadero.DSG.Stanford.EDU (Pescadero.DSG.Stanford.EDU [171.64.79.102])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA12799
	for <tsvwg@ietf.org>; Tue, 17 Apr 2001 14:22:55 -0400 (EDT)
Received: from champagne.dsg.stanford.edu (IDENT:jonathan@Champagne.DSG.Stanford.EDU [171.64.79.21])
	by Pescadero.DSG.Stanford.EDU (8.9.1/8.9.1) with ESMTP id LAA29450;
	Tue, 17 Apr 2001 11:21:39 -0700
Message-Id: <200104171821.LAA29450@Pescadero.DSG.Stanford.EDU>
To: Craig Partridge <craig@aland.bbn.com>
cc: Randall Stewart <rrs@cisco.com>, Jonathan Wood <Jonathan.Wood@Sun.COM>,
        xieqb@cig.mot.com, tsvwg@ietf.org, Jim Wendt <jim_wendt@hp.com>
Subject: Re: [Tsvwg] [SCTP checksum problems] 
In-reply-to: Your message of "Tue, 17 Apr 2001 09:24:28 EDT."
             <200104171324.f3HDOSP01829@aland.bbn.com> 
Date: Tue, 17 Apr 2001 11:21:39 -0700
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org


In message <200104171324.f3HDOSP01829@aland.bbn.com>,
Craig Partridge writes:

>
>In message <3ADC2963.39CD2E2@cisco.com>, Randall Stewart writes:

>The other obvious choice is to define a TCP-32 (i.e. add in 32-bit
>chunks with the carry wrapped).

which requires either a 64-bit machine, or a mod-(2^32-1) reduction
for each 32-bit input word.

There's also the Reed-Solomon codes known as Weighted Sum Codes (WSC),
  http://www.acm.org/pubs/citations/journals/ton/1994-2-1/p16-mcauley/
  http://www.acm.org/pubs/citations/journals/ton/1995-3-2/p222-farkas/
but CRC-32 seem to give slightly better error detection, and is
currently better studied.


>>I will take the above 3 and do a bit of performance work this
>>week and post some numbers... thats about all I can do i.e.  tell
>>how much time the options I know of take... 
>
>We have a fairly optimized CRC-32 running around that we can likely
>send you.


Our code was really optimized for computing CRCs of `splices' of ATM
cells; so we could compute the CRC remainders of 48-byte ATM cell
payloads, `shift' the 48-byte cells around in a splice, and combine
the remainders.  Those techniques are from Dave Feldmeier; similar in
spirit, iirc, to
http://www.acm.org/pubs/citations/journals/ton/1995-3-6/p640-feldmeier.pdf

Our acutal CRC-32 core was a mundane four-bit-at-a-time lookup table:
a Google search finds several variants, plus the code in *BSD, and
(I assume) Linux kernels.


>  I think Sklower had an optimized fletcher-32 in his paper
>(though it may have only been fletcher-16 but regardless, you can
>figure out how to do a faster fletcher-32 by reading his work and
>much of it applies to Adler-32 as well).

at http://www.cs.berkeley.edu/~sklower/cksumosi.ps.
Note the Fletcher terminology invites confusion: a `16-bit Fletcher
sum' has two 16-bit acumulators, giving a 32-bit error code (like
adler32 and CRC-32).


>Remember to test in both
>endians (which is a nuisance, e.g. our CRC-32 was only done for big
>endian) but it matters.

Or see Dave Feldmeiere's paper for Fletcehr and CRC-32 implementation
techniques on a Sparc LX.  Sklower and Nakassis' papers measured
performance on vax/68020 generation machines using the pcc compiler.

On more modern machines and compilers, with fast CPUs and relatively
slow memory, the impact of loop unrolling, cache blocking, deferring
modulus operations, and (for a "TCP-32") presence/absence of
(depending on word size) add-with-carry or 64-bit adds, will likely
be more significant than optimizations between different VAX
addressing  sequences (auto-increment addressing vs "movaw".)

Getting realistic measurements is a thorny problem, too.


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 17 18:34:54 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA17419
	for <tsvwg-archive@odin.ietf.org>; Tue, 17 Apr 2001 18:34:49 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA05886;
	Tue, 17 Apr 2001 18:21:36 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA05861
	for <tsvwg@ns.ietf.org>; Tue, 17 Apr 2001 18:21:32 -0400 (EDT)
Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA17290
	for <tsvwg@ietf.org>; Tue, 17 Apr 2001 18:21:33 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id PAA10208;
	Tue, 17 Apr 2001 15:16:44 -0700 (PDT)
Received: from cisco.com (rtp-dial-2-25.cisco.com [10.83.96.25])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id ACN04821 (AUTH rrs);
	Tue, 17 Apr 2001 15:15:20 -0700 (PDT)
Message-ID: <3ADCC075.E15CDAC1@cisco.com>
Date: Tue, 17 Apr 2001 17:15:17 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: "WENDT,JIM (HP-Roseville,ex1)" <jim_wendt@hp.com>
CC: "'julian_satran@il.ibm.com'" <julian_satran@il.ibm.com>, ips@ece.cmu.edu,
        tsvwg@ietf.org, "'Craig Partridge'" <craig@aland.bbn.com>,
        Jonathan Wood <Jonathan.Wood@Sun.COM>, xieqb@cig.mot.com,
        Jonathan Stone <jonathan@dsg.stanford.edu>
Subject: Re: [Tsvwg] [SCTP checksum problems]
References: <499DC368E25AD411B3F100902740AD65BC5AB2@xrose03.rose.hp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Julian:

Your input would be invaluable.. please send us any comments
or input when you are ready.. I think we need to be
looking seriously at this in the early May time frame... so
any input you could give would be most welcome. We are limited
to a 32 bit checksum (the size of the common header CRC area).

But within that restriction any input you may have as to the
best for data integrety would be wonderful! 

Regards

R


"WENDT,JIM (HP-Roseville,ex1)" wrote:
> 
> Julian,
> The SCTP folks are right now discussing changing the SCTP checksum to be a
> CRC-32 (or other). This is a very good thing and really what needs to happen
> with SCTP for it to support iSCSI and other data-critical applications
> effectively (and also relieve iSCSI from having to implement data integrity
> checking and transport-like functionality over SCTP).
> 
> They are looking for inputs as to which CRC-32 or checksum to use. The iSCSI
> WG's CRC investigation work and conclusion would be a valuable input into
> their decision. The sooner that you can provide the iSCSI recommended CRC
> and reasoning behind it to them, the better, even before the forthcoming I-D
> is distributed.
> 
> Jim Wendt
> Networked Storage Architecture
> Hewlett-Packard Company
> jim_wendt@hp.com 916-785-5198
> 
> ----------------------------------------------------------------------------
> -
> 
> > -----Original Message-----
> > From: julian_satran@il.ibm.com [mailto:julian_satran@il.ibm.com]
> > Sent: Sunday, April 15, 2001 7:58 AM
> > To: ips@ece.cmu.edu
> > Subject: CRCs
> >
> >
> >
> >
> > Dear colleagues,
> >
> > We will probably not be able to finish the CRC/checksum
> > document in time
> > for Nashua but we hope it will be out very soon after that.
> > However I
> > would like to inform you that while in Orlando and
> > Minneapolis we where
> > still talking about different CRCs we (Dafna Sheinwald, Pat
> > Thaler, Matt
> > Wakeley, Vince Cavanna and myself) have agreed on a CRC and
> > the forthcoming
> > ID will give all the reasons and why we recomend it.
> >
> > Regards,
> > Julo
> >
> 
> ----------------------------------------------------------------------------
> -
> 
> -----Original Message-----
> From: Randall Stewart [mailto:rrs@cisco.com]
> Sent: Tuesday, April 17, 2001 4:31 AM
> To: Jonathan Wood
> Cc: xieqb@cig.mot.com; tsvwg@ietf.org; Jim Wendt; Jonathan Stone; Craig
> Partridge
> Subject: Re: [Tsvwg] [SCTP checksum problems]
> 
> Jonathan:
> 
> I will make sure everyone at the bakeoff is aware of the upcoming
> "checksum" change... Now one of the big questions yet is
> what checksum should we use?
> 
> I kinda lean towards crc-32 myself (but of course I have no technical
> basis for this and need to keep silent on which one to use anyway :->),
> but do we have other candidates besides fletcher-32 and possibly
> modified
> Adler-32 (i.e. 16 bit adds instead of 8)??
> 
> I will take the above 3 and do a bit of performance work this
> week and post some numbers... thats about all I can do i.e.  tell
> how much time the options I know of take...
> 
> If you have some other candidates let me know and I can possibly get
> some performance numbers on these as well...
> 
> As far as which is the best... I encourage all of you check-sum
> experts out there to please join the thread :)
> 
> Oh, I know Jonathan Stone's paper will NOT be ready until sometime
> in May.. so we may want to proceed slowly so that Craig Partridge and
> he can have some cycles to add to this dicussion :)
> 
> R
> 
> Jonathan Wood wrote:
> >
> > As an SCTP implementor and someone who will want to get the hardware folks
> to
> > help with checksumming, I wholeheartedly agree with Randy. Remember that
> SCTP is
> > just a proposed standard, and is as such not all that far along the
> > standardization process. We should still be able to make changes like this
> if
> > necessary.
> >
> > Jon
> >
> > >
> > >Q:
> > >
> > >The only problem with an additional "CRC chunk" is that
> > >it makes hardware assistance to error correction much
> > >more difficult. It is better (I think) to just realize
> > >we made a mistake. Get the opinions of the experts as to
> > >what checksum to use... i.e.:
> > >
> > >- CRC-32
> > >- Modified Adler-32 (16 bit word sums)
> > >- Fletcher-32
> > >- ???
> > >
> > >And then go with this as a replacement... Admit we were wrong
> > >and fix the problem..
> > >
> > >This way you have ONE and only ONE checksum algorithm making
> > >hardware designers life much easier...
> > >
> > >R
> > >
> > >Qiaobing Xie wrote:
> > >>
> > >> Another solution could be (I think I mentioned this to Randy and a few
> > >> others at last IETF):
> > >>
> > >> - Define a CRC-32 (or other strong checksum) control chunk and when the
> > >> sender wishes to use a stronger checksum protection, in addition to the
> > >> Adler-32 in the common SCTP header it includes this CRC-32 chuck in the
> > >> outbound packet. When the packet arrives, the receiver will do the
> > >> Adler-32 first, and then if the receiver supports the CRC-32 and sees
> > >> the presence of the CRC-32 chunk in the packet it will further verify
> > >> the CRC-32.
> > >>
> > >> We could also use a bit pattern in the chunk type of the CRC-32 chunk
> so
> > >> that if the receiver doesn't understand the CRC-32 chunk it would drop
> > >> it with a report back to the sender.
> > >>
> > >> -Qiaobing
> > >>
> > >> _______________________________________________
> > >> tsvwg mailing list
> > >> tsvwg@ietf.org
> > >> http://www1.ietf.org/mailman/listinfo/tsvwg
> > >
> > >--
> > >Randall R. Stewart
> > >Systems & Solutions Engineering
> > >Cisco Systems Inc.
> > >rrs@cisco.com 815-342-5222 or 815-477-2127
> > >
> > >_______________________________________________
> > >tsvwg mailing list
> > >tsvwg@ietf.org
> > >http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> --
> Randall R. Stewart
> Systems & Solutions Engineering
> Cisco Systems Inc.
> rrs@cisco.com 815-342-5222 or 815-477-2127
> 
> >

-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 17 21:02:40 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA19232
	for <tsvwg-archive@odin.ietf.org>; Tue, 17 Apr 2001 21:02:40 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA08181;
	Tue, 17 Apr 2001 20:55:58 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA02273
	for <tsvwg@ns.ietf.org>; Tue, 17 Apr 2001 14:44:10 -0400 (EDT)
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA13238
	for <tsvwg@ietf.org>; Tue, 17 Apr 2001 14:44:13 -0400 (EDT)
Received: from amrelay1.boi.hp.com (amrelay1.boi.hp.com [15.56.8.24])
	by atlrel1.hp.com (Postfix) with ESMTP
	id EFB4080C; Tue, 17 Apr 2001 14:44:10 -0400 (EDT)
Received: from xpabh3.corp.hp.com (xpabh3.corp.hp.com [15.58.136.223])
	by amrelay1.boi.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id MAA14520;
	Tue, 17 Apr 2001 12:44:09 -0600 (MDT)
Received: by xpabh3.corp.hp.com with Internet Mail Service (5.5.2653.19)
	id <2M5N3ZGM>; Tue, 17 Apr 2001 11:43:55 -0700
Message-ID: <499DC368E25AD411B3F100902740AD65BC5AB2@xrose03.rose.hp.com>
From: "WENDT,JIM (HP-Roseville,ex1)" <jim_wendt@hp.com>
To: "'julian_satran@il.ibm.com'" <julian_satran@il.ibm.com>
Cc: ips@ece.cmu.edu, tsvwg@ietf.org, "'Craig Partridge'" <craig@aland.bbn.com>,
        Jonathan Wood <Jonathan.Wood@Sun.COM>, xieqb@cig.mot.com,
        Jonathan Stone <jonathan@dsg.stanford.edu>,
        Randall Stewart <rrs@cisco.com>,
        "WENDT,JIM (HP-Roseville,ex1)" <jim_wendt@hp.com>
Subject: Re: [Tsvwg] [SCTP checksum problems]
Date: Tue, 17 Apr 2001 11:43:51 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

Julian,
The SCTP folks are right now discussing changing the SCTP checksum to be a
CRC-32 (or other). This is a very good thing and really what needs to happen
with SCTP for it to support iSCSI and other data-critical applications
effectively (and also relieve iSCSI from having to implement data integrity
checking and transport-like functionality over SCTP).

They are looking for inputs as to which CRC-32 or checksum to use. The iSCSI
WG's CRC investigation work and conclusion would be a valuable input into
their decision. The sooner that you can provide the iSCSI recommended CRC
and reasoning behind it to them, the better, even before the forthcoming I-D
is distributed.

Jim Wendt
Networked Storage Architecture
Hewlett-Packard Company
jim_wendt@hp.com 916-785-5198

----------------------------------------------------------------------------
-

> -----Original Message-----
> From: julian_satran@il.ibm.com [mailto:julian_satran@il.ibm.com]
> Sent: Sunday, April 15, 2001 7:58 AM
> To: ips@ece.cmu.edu
> Subject: CRCs
> 
> 
> 
> 
> Dear colleagues,
> 
> We will probably not be able to finish the CRC/checksum 
> document in time
> for Nashua but we hope it will be out very soon after that.   
> However I
> would like to inform you that while in Orlando and 
> Minneapolis we where
> still talking about different CRCs we (Dafna Sheinwald, Pat 
> Thaler, Matt
> Wakeley, Vince Cavanna and myself) have agreed on a CRC and 
> the forthcoming
> ID will give all the reasons and why we recomend it.
> 
> Regards,
> Julo
> 

----------------------------------------------------------------------------
-

-----Original Message-----
From: Randall Stewart [mailto:rrs@cisco.com]
Sent: Tuesday, April 17, 2001 4:31 AM
To: Jonathan Wood
Cc: xieqb@cig.mot.com; tsvwg@ietf.org; Jim Wendt; Jonathan Stone; Craig
Partridge
Subject: Re: [Tsvwg] [SCTP checksum problems]


Jonathan:

I will make sure everyone at the bakeoff is aware of the upcoming
"checksum" change... Now one of the big questions yet is
what checksum should we use?

I kinda lean towards crc-32 myself (but of course I have no technical
basis for this and need to keep silent on which one to use anyway :->),
but do we have other candidates besides fletcher-32 and possibly
modified 
Adler-32 (i.e. 16 bit adds instead of 8)??

I will take the above 3 and do a bit of performance work this
week and post some numbers... thats about all I can do i.e.  tell
how much time the options I know of take... 

If you have some other candidates let me know and I can possibly get
some performance numbers on these as well...

As far as which is the best... I encourage all of you check-sum
experts out there to please join the thread :)

Oh, I know Jonathan Stone's paper will NOT be ready until sometime
in May.. so we may want to proceed slowly so that Craig Partridge and
he can have some cycles to add to this dicussion :)

R

Jonathan Wood wrote:
> 
> As an SCTP implementor and someone who will want to get the hardware folks
to
> help with checksumming, I wholeheartedly agree with Randy. Remember that
SCTP is
> just a proposed standard, and is as such not all that far along the
> standardization process. We should still be able to make changes like this
if
> necessary.
> 
> Jon
> 
> >
> >Q:
> >
> >The only problem with an additional "CRC chunk" is that
> >it makes hardware assistance to error correction much
> >more difficult. It is better (I think) to just realize
> >we made a mistake. Get the opinions of the experts as to
> >what checksum to use... i.e.:
> >
> >- CRC-32
> >- Modified Adler-32 (16 bit word sums)
> >- Fletcher-32
> >- ???
> >
> >And then go with this as a replacement... Admit we were wrong
> >and fix the problem..
> >
> >This way you have ONE and only ONE checksum algorithm making
> >hardware designers life much easier...
> >
> >R
> >
> >Qiaobing Xie wrote:
> >>
> >> Another solution could be (I think I mentioned this to Randy and a few
> >> others at last IETF):
> >>
> >> - Define a CRC-32 (or other strong checksum) control chunk and when the
> >> sender wishes to use a stronger checksum protection, in addition to the
> >> Adler-32 in the common SCTP header it includes this CRC-32 chuck in the
> >> outbound packet. When the packet arrives, the receiver will do the
> >> Adler-32 first, and then if the receiver supports the CRC-32 and sees
> >> the presence of the CRC-32 chunk in the packet it will further verify
> >> the CRC-32.
> >>
> >> We could also use a bit pattern in the chunk type of the CRC-32 chunk
so
> >> that if the receiver doesn't understand the CRC-32 chunk it would drop
> >> it with a report back to the sender.
> >>
> >> -Qiaobing
> >>
> >> _______________________________________________
> >> tsvwg mailing list
> >> tsvwg@ietf.org
> >> http://www1.ietf.org/mailman/listinfo/tsvwg
> >
> >--
> >Randall R. Stewart
> >Systems & Solutions Engineering
> >Cisco Systems Inc.
> >rrs@cisco.com 815-342-5222 or 815-477-2127
> >
> >_______________________________________________
> >tsvwg mailing list
> >tsvwg@ietf.org
> >http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

> 


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 18 09:33:52 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA10924
	for <tsvwg-archive@odin.ietf.org>; Wed, 18 Apr 2001 09:33:52 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA24745;
	Wed, 18 Apr 2001 09:17:16 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA23947
	for <tsvwg@ns.ietf.org>; Wed, 18 Apr 2001 08:27:06 -0400 (EDT)
Received: from d12lmsgate-3.de.ibm.com (d12lmsgate-3.de.ibm.com [195.212.91.201])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09925
	for <tsvwg@ietf.org>; Wed, 18 Apr 2001 08:27:08 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate-3.de.ibm.com (1.0.0) with ESMTP id OAA74114;
	Wed, 18 Apr 2001 14:24:07 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id OAA120802;
	Wed, 18 Apr 2001 14:24:03 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A32.00441B23 ; Wed, 18 Apr 2001 14:23:53 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: "WENDT,JIM (HP-Roseville,ex1)" <jim_wendt@hp.com>
cc: ips@ece.cmu.edu, tsvwg@ietf.org, "'Craig Partridge'" <craig@aland.bbn.com>,
        Jonathan Wood <Jonathan.Wood@Sun.COM>, xieqb@cig.mot.com,
        Jonathan Stone <jonathan@dsg.stanford.edu>,
        Randall Stewart <rrs@cisco.com>,
        "WENDT,JIM (HP-Roseville,ex1)" <jim_wendt@hp.com>
Message-ID: <C1256A32.004419D1.00@d12mta05.de.ibm.com>
Date: Wed, 18 Apr 2001 14:28:58 +0200
Subject: Re: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Jim,

Most of the reasosn for are in the text I sent you (an very few of the
arguments against checksums - if you need more of those the are some
preliminary memos on my site htpp://www.haifa.il.ibm.com/satran/ips). The
CRC selected was from the "optimization" paper that appears in the
references.


Regards,
Julo

"WENDT,JIM (HP-Roseville,ex1)" <jim_wendt@hp.com> on 17/04/2001 20:43:51

Please respond to "WENDT,JIM (HP-Roseville,ex1)" <jim_wendt@hp.com>

To:   Julian Satran/Haifa/IBM@IBMIL
cc:   ips@ece.cmu.edu, tsvwg@ietf.org, "'Craig Partridge'"
      <craig@aland.bbn.com>, Jonathan Wood <Jonathan.Wood@Sun.COM>,
      xieqb@cig.mot.com, Jonathan Stone <jonathan@dsg.stanford.edu>,
      Randall Stewart <rrs@cisco.com>, "WENDT,JIM (HP-Roseville,ex1)"
      <jim_wendt@hp.com>
Subject:  Re: [Tsvwg] [SCTP checksum problems]




Julian,
The SCTP folks are right now discussing changing the SCTP checksum to be a
CRC-32 (or other). This is a very good thing and really what needs to
happen
with SCTP for it to support iSCSI and other data-critical applications
effectively (and also relieve iSCSI from having to implement data integrity
checking and transport-like functionality over SCTP).

They are looking for inputs as to which CRC-32 or checksum to use. The
iSCSI
WG's CRC investigation work and conclusion would be a valuable input into
their decision. The sooner that you can provide the iSCSI recommended CRC
and reasoning behind it to them, the better, even before the forthcoming
I-D
is distributed.

Jim Wendt
Networked Storage Architecture
Hewlett-Packard Company
jim_wendt@hp.com 916-785-5198

----------------------------------------------------------------------------

-

> -----Original Message-----
> From: julian_satran@il.ibm.com [mailto:julian_satran@il.ibm.com]
> Sent: Sunday, April 15, 2001 7:58 AM
> To: ips@ece.cmu.edu
> Subject: CRCs
>
>
>
>
> Dear colleagues,
>
> We will probably not be able to finish the CRC/checksum
> document in time
> for Nashua but we hope it will be out very soon after that.
> However I
> would like to inform you that while in Orlando and
> Minneapolis we where
> still talking about different CRCs we (Dafna Sheinwald, Pat
> Thaler, Matt
> Wakeley, Vince Cavanna and myself) have agreed on a CRC and
> the forthcoming
> ID will give all the reasons and why we recomend it.
>
> Regards,
> Julo
>

----------------------------------------------------------------------------

-

-----Original Message-----
From: Randall Stewart [mailto:rrs@cisco.com]
Sent: Tuesday, April 17, 2001 4:31 AM
To: Jonathan Wood
Cc: xieqb@cig.mot.com; tsvwg@ietf.org; Jim Wendt; Jonathan Stone; Craig
Partridge
Subject: Re: [Tsvwg] [SCTP checksum problems]


Jonathan:

I will make sure everyone at the bakeoff is aware of the upcoming
"checksum" change... Now one of the big questions yet is
what checksum should we use?

I kinda lean towards crc-32 myself (but of course I have no technical
basis for this and need to keep silent on which one to use anyway :->),
but do we have other candidates besides fletcher-32 and possibly
modified
Adler-32 (i.e. 16 bit adds instead of 8)??

I will take the above 3 and do a bit of performance work this
week and post some numbers... thats about all I can do i.e.  tell
how much time the options I know of take...

If you have some other candidates let me know and I can possibly get
some performance numbers on these as well...

As far as which is the best... I encourage all of you check-sum
experts out there to please join the thread :)

Oh, I know Jonathan Stone's paper will NOT be ready until sometime
in May.. so we may want to proceed slowly so that Craig Partridge and
he can have some cycles to add to this dicussion :)

R

Jonathan Wood wrote:
>
> As an SCTP implementor and someone who will want to get the hardware
folks
to
> help with checksumming, I wholeheartedly agree with Randy. Remember that
SCTP is
> just a proposed standard, and is as such not all that far along the
> standardization process. We should still be able to make changes like
this
if
> necessary.
>
> Jon
>
> >
> >Q:
> >
> >The only problem with an additional "CRC chunk" is that
> >it makes hardware assistance to error correction much
> >more difficult. It is better (I think) to just realize
> >we made a mistake. Get the opinions of the experts as to
> >what checksum to use... i.e.:
> >
> >- CRC-32
> >- Modified Adler-32 (16 bit word sums)
> >- Fletcher-32
> >- ???
> >
> >And then go with this as a replacement... Admit we were wrong
> >and fix the problem..
> >
> >This way you have ONE and only ONE checksum algorithm making
> >hardware designers life much easier...
> >
> >R
> >
> >Qiaobing Xie wrote:
> >>
> >> Another solution could be (I think I mentioned this to Randy and a few
> >> others at last IETF):
> >>
> >> - Define a CRC-32 (or other strong checksum) control chunk and when
the
> >> sender wishes to use a stronger checksum protection, in addition to
the
> >> Adler-32 in the common SCTP header it includes this CRC-32 chuck in
the
> >> outbound packet. When the packet arrives, the receiver will do the
> >> Adler-32 first, and then if the receiver supports the CRC-32 and sees
> >> the presence of the CRC-32 chunk in the packet it will further verify
> >> the CRC-32.
> >>
> >> We could also use a bit pattern in the chunk type of the CRC-32 chunk
so
> >> that if the receiver doesn't understand the CRC-32 chunk it would drop
> >> it with a report back to the sender.
> >>
> >> -Qiaobing
> >>
> >> _______________________________________________
> >> tsvwg mailing list
> >> tsvwg@ietf.org
> >> http://www1.ietf.org/mailman/listinfo/tsvwg
> >
> >--
> >Randall R. Stewart
> >Systems & Solutions Engineering
> >Cisco Systems Inc.
> >rrs@cisco.com 815-342-5222 or 815-477-2127
> >
> >_______________________________________________
> >tsvwg mailing list
> >tsvwg@ietf.org
> >http://www1.ietf.org/mailman/listinfo/tsvwg

--
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

>





_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 18 17:22:53 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA18145
	for <tsvwg-archive@odin.ietf.org>; Wed, 18 Apr 2001 17:22:53 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA03464;
	Wed, 18 Apr 2001 17:16:27 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id KAA25714
	for <tsvwg@ns.ietf.org>; Wed, 18 Apr 2001 10:08:30 -0400 (EDT)
Received: from aland.bbn.com ([204.162.9.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA11516
	for <tsvwg@ietf.org>; Wed, 18 Apr 2001 10:08:33 -0400 (EDT)
Received: from aland.bbn.com (localhost [127.0.0.1])
	by aland.bbn.com (8.11.3/8.11.3) with ESMTP id f3IE85P06380;
	Wed, 18 Apr 2001 10:08:05 -0400 (EDT)
Message-Id: <200104181408.f3IE85P06380@aland.bbn.com>
To: julian_satran@il.ibm.com
cc: Randall Stewart <rrs@cisco.com>,
        "WENDT,JIM (HP-Roseville, ex1)" <jim_wendt@hp.com>, ips@ece.cmu.edu,
        tsvwg@ietf.org, "'Craig Partridge'" <craig@aland.bbn.com>,
        Jonathan Wood <Jonathan.Wood@sun.com>, xieqb@cig.mot.com,
        Jonathan Stone <jonathan@dsg.stanford.edu>, craig@aland.bbn.com
Subject: Re: [Tsvwg] [SCTP checksum problems] 
In-Reply-To: Your message of "Wed, 18 Apr 2001 08:27:04 +0200."
             <C1256A32.00238F3F.00@d12mta05.de.ibm.com> 
Date: Wed, 18 Apr 2001 10:08:05 -0400
From: Craig Partridge <craig@aland.bbn.com>
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org


Hi Julian:

I read your ID quickly and may have more comments later.

I think the bit error study is flawed.  The key issue here is that
the TCP, and Fletcher checksum (and I think Adler) will catch all
1 bit errors.  Indeed, the TCP checksum will catch up to 16 distinct
bit errors, provided that the bit offsets are all distinct, modulo 16.

Expressing this simply, assuming my system did its Poisson calculations
right:

    * we don't have to worry about single bit errors in a chunk of
      data, the checksum will always catch it.

    * the probability of 2 bit errors occuring in a single 1KB packet
      is about 1 in 3* 10^15.  The probability that the two bits will
      have the same offset mod 16 is around .008 (if I did the distribution
      right) and the chance is 50% that the two bits will offset each other
      (i.e. they'll flip opposite ways).  Ergo, your chance of an
      undetected error is about 1 in 8*10^17.  I believe (without having
      done all the match) that is as good or better than you'll get for
      CRC32 in almost all cases.  Since the checksums are cheaper to compute,
      they're a win.

    * more than 2 bit errors per chunk is so rare we probably don't care

So the big issue is burst errors (and, incidentally, burst erasures).

Thanks!

Craig


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 18 17:23:03 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA18163
	for <tsvwg-archive@odin.ietf.org>; Wed, 18 Apr 2001 17:23:03 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA03501;
	Wed, 18 Apr 2001 17:16:35 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id LAA27374
	for <tsvwg@ns.ietf.org>; Wed, 18 Apr 2001 11:52:05 -0400 (EDT)
Received: from Pescadero.DSG.Stanford.EDU (Pescadero.DSG.Stanford.EDU [171.64.79.102])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA13262
	for <tsvwg@ietf.org>; Wed, 18 Apr 2001 11:52:07 -0400 (EDT)
Received: from champagne.dsg.stanford.edu (IDENT:jonathan@Champagne.DSG.Stanford.EDU [171.64.79.21])
	by Pescadero.DSG.Stanford.EDU (8.9.1/8.9.1) with ESMTP id IAA01967;
	Wed, 18 Apr 2001 08:50:24 -0700
Message-Id: <200104181550.IAA01967@Pescadero.DSG.Stanford.EDU>
To: julian_satran@il.ibm.com
cc: Randall Stewart <rrs@cisco.com>,
        "WENDT,JIM (HP-Roseville,
    ex1)" <jim_wendt@hp.com>,
        ips@ece.cmu.edu, tsvwg@ietf.org,
        "'Craig Partridge'" <craig@aland.bbn.com>,
        Jonathan Wood <Jonathan.Wood@sun.com>, xieqb@cig.mot.com,
        Jonathan Stone <jonathan@dsg.stanford.edu>
Subject: Re: [Tsvwg] [SCTP checksum problems] 
In-reply-to: Your message of "Wed, 18 Apr 2001 08:27:04 +0200."
             <C1256A32.00238F3F.00@d12mta05.de.ibm.com> 
Date: Wed, 18 Apr 2001 08:50:24 -0700
From: Jonathan Stone <jonathan@dsg.stanford.edu>
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org


Julian, 

I skimmed your i-d late last night.  

I have not gone through the analysis of different CRCs. I'd like to
compare it to Raj Jain's analysis of the IEEE 802 CRC-32 in
http://www.cis.ohio-state.edu/~jain/papers/xie1.html; which I think
speaks to the siglne-bit-error point Craig has already raised.

The question I'd raise is a more fundamental one: whether link-level
bit and burst error rates are the appropriate model for an Internet
transport-level sum in the first place.

Craig Partridge and I examined that in our SIGCOMM 2000 paper.  
We monitored packets at a number of points in the Internet, and looked
for packet with checksum mismatches-- packets where recomputing the
checksum did not match the content of the checksum field.  We also
looked for transport-level (TCP) retransmissions of the damaged
packets.

Let's  call packets where a recomputation of the TCP (or UDP) checksum
does not match the contents of the checksum field a "mismatch". 

We observed mismatch rates of roughly 1 in 4,000 (average); best-case
around 1 in 30,000.  that's 5 or 6 orders of magnitude higher than the
link-level error rates you cite.  By comparing the checksum-mismatches
against a TCP-level retransmission, we were able to estimate how much
damage occured to the mismatches.  Keep in mind that these errors were
caught at the TCP layer: they have already passed a link-level CRC
check, usually the 802.3 CRC-32. The very high observed error rate
suggests thet these errors  occur outside the protection of the
MAC-layer CRC. 


For the iSCSI analysis, a fair synopsis is that half the packets were
so thoroughly curdled we couldn't even guess at what caused thenn
damage. there are more details in the SIGCOMM paper.
(There, I focused more on analyzing how the standard TCP sum would fare.
I am in the midst of recomputing total burst length and hamming
distances, for a polynomial-xor description of the errors rather
than the `minimum edit distance'.)

That characterization of errors is very different to the independent
bit-error and correlated-burst-error models used in the ID.


I think our data supports three conclusions relevant to this
discussion. (You may of course disagree.)

First, the Internet contains a variety of error sources above the
MAC-level:i between two MAC-layer interface cards inside a router; or
inside an end-host, between its MAC-layer card and its TCP (or SCTP,
or UDP, or other transport protocol).  

Second, error rates from these sources occur at rates several
orders of magnitude higher than current link-level errors.

Third, the damage done by these error sources  just does not match
the individual-bit/ single-burst model common in coding theory,
and often used to characterize link errors.

While we did observe a (very) few single-bit errors and short bursts,
we also observed a lot of much longer bursts. Approximately half the
damaged packets were so thoroughly curdled that more than half the
bytes were incorrect.  (We also found similar rates and patterns in
packet traces from Vern Paxson; those are included in our SIGCOMM 2000
paper.)

It may be helpful to think of *some* of these errors as due to (for
example) a single-bit error affecting a DMA pointer: flipping an
address bit can cause a large change in the data stream going to or
from the network interface. If the bit position flipped is high
enough, it could even skip to another packet altogether.


Its not clear how the analysis and conclusions in your draft stand up,
if instead of a link-level single-bit/burst error model, we
ed substitute the error characteristics and rates we observed in 
`in the wild' Internet traffic-- that is, error rates some 5 or
6 orders of magnitude higher, and where the errors cause either multiple
bursts per packet, or (if modeled as a single polynomial) vary from a few
dozen bits, up to a substantial fraction of the packet length.

The order-of-magnitude changes in error rate will obviously have an
impact.  I haven't thought in detail about whether the conclusions
about specific CRC polynomial choices hold up.


One final point is the computational cost of software CRCs.

If you buy our conclusion that the Internet contains very significant
error sources outside of "network interface cards". Then, outboard
acceleration of either checksums or CRCs is somewhat suspect:
error checks done inside the network card simply doesn't cover those
error sources.  Software CRC calculations are typically much slower than
either ones-complement, Fletcher, or Adler sums: Dave Feldmeier's
paper suggests roughly four times slower, for a total 32-bit check,
even for generator polynomials selected to minimze nonzero
coefficients (i.e,. few taps).  For the IEEE 802 CRC, its
faster to do a table-lookup, which is slower again.
I dont know whether the iSCSI community has considered that
issue, or where they/you stand on it.


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 18 17:24:23 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA18147
	for <tsvwg-archive@odin.ietf.org>; Wed, 18 Apr 2001 17:22:53 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA03535;
	Wed, 18 Apr 2001 17:16:47 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA28784
	for <tsvwg@ns.ietf.org>; Wed, 18 Apr 2001 13:09:18 -0400 (EDT)
Received: from msgbas1t.cos.agilent.com ([192.6.9.34])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA14444
	for <tsvwg@ietf.org>; Wed, 18 Apr 2001 13:09:24 -0400 (EDT)
Received: from msgrel1.and.agilent.com (msgrel1.and.agilent.com [130.30.33.104])
	by msgbas1t.cos.agilent.com (Postfix) with ESMTP
	id 3EBFD1B4; Wed, 18 Apr 2001 11:09:22 -0600 (MDT)
Received: from axandbh3.and.agilent.com (axandbh3.and.agilent.com [130.30.32.200])
	by msgrel1.and.agilent.com (Postfix) with SMTP
	id 7E89C244; Wed, 18 Apr 2001 13:09:12 -0400 (EDT)
Received: from 130.30.32.200 by axandbh3.and.agilent.com (InterScan E-Mail VirusWall NT); Wed, 18 Apr 2001 13:09:12 -0400 (Eastern Daylight Time)
Received: by axandbh3.and.agilent.com with Internet Mail Service (5.5.2653.19)
	id <24YVHVYW>; Wed, 18 Apr 2001 13:09:12 -0400
Message-ID: <FEEBE78C8360D411ACFD00D0B74779719A8855@xsj02.sjs.agilent.com>
From: "CAVANNA,VICENTE V (A-Roseville,ex1)" <vince_cavanna@agilent.com>
To: "'WENDT,JIM (HP-Roseville,ex1)'" <jim_wendt@hp.com>,
        "'julian_satran@il.ibm.com'" <julian_satran@il.ibm.com>
Cc: ips@ece.cmu.edu, tsvwg@ietf.org, "'Craig Partridge'" <craig@aland.bbn.com>,
        Jonathan Wood <Jonathan.Wood@sun.com>, xieqb@cig.mot.com,
        Jonathan Stone <jonathan@dsg.stanford.edu>,
        Randall Stewart <rrs@cisco.com>,
        "CAVANNA,VICENTE V (A-Roseville,ex1)" <vince_cavanna@agilent.com>
Subject: RE: [Tsvwg] [SCTP checksum problems]
Date: Wed, 18 Apr 2001 13:09:08 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

Hi Jim,
I don't think iSCSI can be completely relieved of performing some data
integrity checking as long as there exists the possibility of "middle boxes"
opening up the transport protocol's packet and thus potentially invalidating
any reliability guarantees the transport protocol makes.
Vince

|-----Original Message-----
|From: WENDT,JIM (HP-Roseville,ex1) [mailto:jim_wendt@hp.com]
|Sent: Tuesday, April 17, 2001 11:44 AM
|To: 'julian_satran@il.ibm.com'
|Cc: ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart; WENDT,JIM
|(HP-Roseville,ex1)
|Subject: Re: [Tsvwg] [SCTP checksum problems]
|
|
|Julian,
|The SCTP folks are right now discussing changing the SCTP 
|checksum to be a
|CRC-32 (or other). This is a very good thing and really what 
|needs to happen
|with SCTP for it to support iSCSI and other data-critical applications
|effectively (and also relieve iSCSI from having to implement 
|data integrity
|checking and transport-like functionality over SCTP).
|
|They are looking for inputs as to which CRC-32 or checksum to 
|use. The iSCSI
|WG's CRC investigation work and conclusion would be a valuable 
|input into
|their decision. The sooner that you can provide the iSCSI 
|recommended CRC
|and reasoning behind it to them, the better, even before the 
|forthcoming I-D
|is distributed.
|
|Jim Wendt
|Networked Storage Architecture
|Hewlett-Packard Company
|jim_wendt@hp.com 916-785-5198
|
|---------------------------------------------------------------
|-------------
|-
|
|> -----Original Message-----
|> From: julian_satran@il.ibm.com [mailto:julian_satran@il.ibm.com]
|> Sent: Sunday, April 15, 2001 7:58 AM
|> To: ips@ece.cmu.edu
|> Subject: CRCs
|> 
|> 
|> 
|> 
|> Dear colleagues,
|> 
|> We will probably not be able to finish the CRC/checksum 
|> document in time
|> for Nashua but we hope it will be out very soon after that.   
|> However I
|> would like to inform you that while in Orlando and 
|> Minneapolis we where
|> still talking about different CRCs we (Dafna Sheinwald, Pat 
|> Thaler, Matt
|> Wakeley, Vince Cavanna and myself) have agreed on a CRC and 
|> the forthcoming
|> ID will give all the reasons and why we recomend it.
|> 
|> Regards,
|> Julo
|> 
|
|---------------------------------------------------------------
|-------------
|-
|
|-----Original Message-----
|From: Randall Stewart [mailto:rrs@cisco.com]
|Sent: Tuesday, April 17, 2001 4:31 AM
|To: Jonathan Wood
|Cc: xieqb@cig.mot.com; tsvwg@ietf.org; Jim Wendt; Jonathan Stone; Craig
|Partridge
|Subject: Re: [Tsvwg] [SCTP checksum problems]
|
|
|Jonathan:
|
|I will make sure everyone at the bakeoff is aware of the upcoming
|"checksum" change... Now one of the big questions yet is
|what checksum should we use?
|
|I kinda lean towards crc-32 myself (but of course I have no technical
|basis for this and need to keep silent on which one to use anyway :->),
|but do we have other candidates besides fletcher-32 and possibly
|modified 
|Adler-32 (i.e. 16 bit adds instead of 8)??
|
|I will take the above 3 and do a bit of performance work this
|week and post some numbers... thats about all I can do i.e.  tell
|how much time the options I know of take... 
|
|If you have some other candidates let me know and I can possibly get
|some performance numbers on these as well...
|
|As far as which is the best... I encourage all of you check-sum
|experts out there to please join the thread :)
|
|Oh, I know Jonathan Stone's paper will NOT be ready until sometime
|in May.. so we may want to proceed slowly so that Craig Partridge and
|he can have some cycles to add to this dicussion :)
|
|R
|
|Jonathan Wood wrote:
|> 
|> As an SCTP implementor and someone who will want to get the 
|hardware folks
|to
|> help with checksumming, I wholeheartedly agree with Randy. 
|Remember that
|SCTP is
|> just a proposed standard, and is as such not all that far along the
|> standardization process. We should still be able to make 
|changes like this
|if
|> necessary.
|> 
|> Jon
|> 
|> >
|> >Q:
|> >
|> >The only problem with an additional "CRC chunk" is that
|> >it makes hardware assistance to error correction much
|> >more difficult. It is better (I think) to just realize
|> >we made a mistake. Get the opinions of the experts as to
|> >what checksum to use... i.e.:
|> >
|> >- CRC-32
|> >- Modified Adler-32 (16 bit word sums)
|> >- Fletcher-32
|> >- ???
|> >
|> >And then go with this as a replacement... Admit we were wrong
|> >and fix the problem..
|> >
|> >This way you have ONE and only ONE checksum algorithm making
|> >hardware designers life much easier...
|> >
|> >R
|> >
|> >Qiaobing Xie wrote:
|> >>
|> >> Another solution could be (I think I mentioned this to 
|Randy and a few
|> >> others at last IETF):
|> >>
|> >> - Define a CRC-32 (or other strong checksum) control 
|chunk and when the
|> >> sender wishes to use a stronger checksum protection, in 
|addition to the
|> >> Adler-32 in the common SCTP header it includes this 
|CRC-32 chuck in the
|> >> outbound packet. When the packet arrives, the receiver will do the
|> >> Adler-32 first, and then if the receiver supports the 
|CRC-32 and sees
|> >> the presence of the CRC-32 chunk in the packet it will 
|further verify
|> >> the CRC-32.
|> >>
|> >> We could also use a bit pattern in the chunk type of the 
|CRC-32 chunk
|so
|> >> that if the receiver doesn't understand the CRC-32 chunk 
|it would drop
|> >> it with a report back to the sender.
|> >>
|> >> -Qiaobing
|> >>
|> >> _______________________________________________
|> >> tsvwg mailing list
|> >> tsvwg@ietf.org
|> >> http://www1.ietf.org/mailman/listinfo/tsvwg
|> >
|> >--
|> >Randall R. Stewart
|> >Systems & Solutions Engineering
|> >Cisco Systems Inc.
|> >rrs@cisco.com 815-342-5222 or 815-477-2127
|> >
|> >_______________________________________________
|> >tsvwg mailing list
|> >tsvwg@ietf.org
|> >http://www1.ietf.org/mailman/listinfo/tsvwg
|
|-- 
|Randall R. Stewart
|Systems & Solutions Engineering
|Cisco Systems Inc.
|rrs@cisco.com 815-342-5222 or 815-477-2127
|
|> 
|


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 18 22:54:07 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id WAA22638
	for <tsvwg-archive@odin.ietf.org>; Wed, 18 Apr 2001 22:54:02 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id WAA08522;
	Wed, 18 Apr 2001 22:49:54 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA04934
	for <tsvwg@ns.ietf.org>; Wed, 18 Apr 2001 18:10:32 -0400 (EDT)
Received: from sandmail.sandburst.com ([216.57.129.34])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA18851
	for <tsvwg@ietf.org>; Wed, 18 Apr 2001 18:10:35 -0400 (EDT)
Received: from cs.uchicago.edu (dynamite-38.sandburst.com [172.16.5.38])
	by sandmail.sandburst.com (Postfix) with ESMTP
	id DA73F94006; Wed, 18 Apr 2001 18:10:34 -0400 (EDT)
To: "CAVANNA,VICENTE V (A-Roseville,ex1)" <vince_cavanna@agilent.com>
Cc: "'WENDT,JIM (HP-Roseville,ex1)'" <jim_wendt@hp.com>,
        "'julian_satran@il.ibm.com'" <julian_satran@il.ibm.com>,
        ips@ece.cmu.edu, tsvwg@ietf.org,
        "'Craig Partridge'" <craig@aland.bbn.com>,
        Jonathan Wood <Jonathan.Wood@sun.com>, xieqb@cig.mot.com,
        Jonathan Stone <jonathan@dsg.stanford.edu>,
        Randall Stewart <rrs@cisco.com>
Subject: Re: [Tsvwg] [SCTP checksum problems] 
In-Reply-To: Message from "CAVANNA,VICENTE V (A-Roseville,ex1)" <vince_cavanna@agilent.com> 
   of "Wed, 18 Apr 2001 13:09:08 EDT." <FEEBE78C8360D411ACFD00D0B74779719A8855@xsj02.sjs.agilent.com> 
References: <FEEBE78C8360D411ACFD00D0B74779719A8855@xsj02.sjs.agilent.com> 
Date: Wed, 18 Apr 2001 18:09:02 -0400
From: Stephen Bailey <steph@cs.uchicago.edu>
Message-Id: <20010418221034.DA73F94006@sandmail.sandburst.com>
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

Vince,

> I don't think iSCSI can be completely relieved of performing some data
> integrity checking as long as there exists the possibility of "middle boxes"
> opening up the transport protocol's packet and thus potentially invalidating
> any reliability guarantees the transport protocol makes.

Any protection provided against this failure mode will only be
transient, so we must temper the desire to introduce such a
requirement with reality.

Middleboxes can just as easily open up to the iSCSI layer and tinker
with the payload, as they do with other ULPs running on TCP (e.g HTTP)
today.  Short of securing the connection, there is ALWAYS a
possibility of a middlebox terminating and reoriginating an integrity
check.  In case you think this is a farfetched scenario, I do get the
impression that there is a high level of interest in `actively
middling' iSCSI once the specs crystalize.  Who shaves the barber?

An integrity check is not necessary as long as some lower layer
provides adequate integrity guarantees.

Adding an integrity check above the transport layer is based upon
documentation of the presence of a lot of crappy network hardware and
software and analyses of the transport integrity check (TCP checksum)
which suggests it might not be adequately strong against some such
observed errors.

I claim that the high incidence of `broken' (corruption introducing)
components is a result of a variety of factors which have shaped the
development of network components thus far.  The fact that integrity
checks are assumed to be performed in a network context substantially
lowers the bar for implementation correctness.

In a storage (or CPU) context, these types of implementation errors
are a) more easily detectable (more fatal) b) more carefully avoided
during implementation (because of the cost of a potential fatal
error).  If network components magically reached the same `quality
level' as storage and CPU components, there might be no justification
for additional integrity checks above the transport.  Similarly if the
transport (or whatever lower layer) integrity checks are very strong
(e.g. IPSec), there is, again, no need for a higher level integrity
check.

I am not disagreeing that we need an additional integrity check over
TCP in the present target environment, but I do disagree that iSCSI
will always need such a check, independently of what is running
beneath it.

Steph


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 07:34:20 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA10058
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 07:34:20 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA21744;
	Thu, 19 Apr 2001 07:30:02 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA21701
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 07:30:00 -0400 (EDT)
Received: from maile.surrey.ac.uk ([131.227.102.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA10043
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 07:30:05 -0400 (EDT)
Received: from regan.ee.surrey.ac.uk by maile.surrey.ac.uk with SMTP Local (PP)
          with ESMTP; Thu, 19 Apr 2001 12:29:28 +0100
Date: Thu, 19 Apr 2001 12:29:27 +0100 (BST)
From: Lloyd Wood <L.Wood@surrey.ac.uk>
X-Sender: eep1lw@regan.ee.surrey.ac.uk
Reply-To: Lloyd Wood <L.Wood@surrey.ac.uk>
To: Stephen Bailey <steph@cs.uchicago.edu>
cc: ips@ece.cmu.edu, tsvwg@ietf.org
Subject: Re: [Tsvwg] [SCTP checksum problems]
In-Reply-To: <20010418221034.DA73F94006@sandmail.sandburst.com>
Message-ID: <Pine.GSO.4.21.0104191223250.9077-100000@regan.ee.surrey.ac.uk>
Organization: speaking for none
X-url: http://www.ee.surrey.ac.uk/Personal/L.Wood/
X-no-archive: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

On Wed, 18 Apr 2001, Stephen Bailey wrote:

> An integrity check is not necessary as long as some lower layer
> provides adequate integrity guarantees.

That is the complete antithesis of the end-to-end argument. And you
earlier discussed middleboxes, where the information needed for such
guarantees can be faked...

Reality check, please.

L.

iSCSI. iNSANE.

<L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>



_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 08:57:32 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA10530
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 08:57:32 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA22866;
	Thu, 19 Apr 2001 08:52:40 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA22837
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 08:52:39 -0400 (EDT)
Received: from gateway.sanlight.org ([63.202.160.80])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA10500
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 08:52:42 -0400 (EDT)
Received: from ljoy (10.0.0.18.lan.sanlight.net [10.0.0.18])
	by gateway.sanlight.org (8.11.0/8.11.0) with SMTP id f3JDxm121055;
	Thu, 19 Apr 2001 06:59:48 -0700 (PDT)
	(envelope-from dotis@sanlight.net)
From: "Douglas Otis" <dotis@sanlight.net>
To: "Lloyd Wood" <L.Wood@surrey.ac.uk>
Cc: <ips@ece.cmu.edu>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] [SCTP checksum problems]
Date: Thu, 19 Apr 2001 05:49:57 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJEEIHCGAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <Pine.GSO.4.21.0104191223250.9077-100000@regan.ee.surrey.ac.uk>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Lloyd,

I am aware of efforts to compare CRC with Alder-32.  CRC that is primarily
aimed at providing burst error detection but if while trying various
techniques, this modification may be interesting.

  #define BASE 65521
  unsigned s1 = 0x5555;
  unsigned s2 = 0;
  unsigned short dat_buf*

  while (length -= 2)
    {
    s1 += ntoh(*dat_buf++);  /* 16 bit summing */
    s2 += s1;
    if (s2 >= BASE)          /* Adler modulo for s2 only  */
      s2 -= BASE;
    }
  return (s2 << 16) | (s1 & 0xffff);

This would exercise more bits for small packets, improve burst error
sensitivity and trade a modulo function for a network to host swap in some
cases.  It seems to become a comparison against burst errors vs. missing
segment and stuck bit sensitivity.

The alternative code for CRC would look something like this.

Here is an example using a 256 entry (512 byte) table.

  unsigned char* dat_buf;
  unsigned long crc_syn = 0xffffffff;

  while(length--)
    crc_syn = (crc_syn >> 8) ^ crc32_table[(crc_syn & 0xff) ^ *dat_buf++];

  return (crc_syn ^ 0xffffffff);


Doug


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 13:54:03 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA15300
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 13:53:59 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA28862;
	Thu, 19 Apr 2001 13:48:29 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id CAA17519
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 02:10:23 -0400 (EDT)
Received: from d12lmsgate-3.de.ibm.com (d12lmsgate-3.de.ibm.com [195.212.91.201])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA07676
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 02:10:27 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate-3.de.ibm.com (1.0.0) with ESMTP id IAA114582;
	Thu, 19 Apr 2001 08:07:49 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id IAA90832;
	Thu, 19 Apr 2001 08:07:48 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A33.0021ABE5 ; Thu, 19 Apr 2001 08:07:46 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Jonathan Stone <jonathan@dsg.stanford.edu>
cc: Randall Stewart <rrs@cisco.com>,
        "WENDT,JIM (HP-Roseville, ex1)" <jim_wendt@hp.com>, ips@ece.cmu.edu,
        tsvwg@ietf.org, "'Craig Partridge'" <craig@aland.bbn.com>,
        Jonathan Wood <Jonathan.Wood@sun.com>, xieqb@cig.mot.com,
        Jonathan Stone <jonathan@dsg.stanford.edu>
Message-ID: <C1256A33.0021AA0A.00@d12mta05.de.ibm.com>
Date: Thu, 19 Apr 2001 08:12:48 +0200
Subject: Re: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Jonathan,

Thanks for your comments.   We are aware that we really don't know what the
error model for the end to end transport is and we took a conservative
approach  - we do an end-to-end  data check above what TCP offers and not
aligned with the TCP packets.

We assume that storage boxes will be better built that other middle boxes
and hardware accelerators in the endpoints will not cause trouble.

For a completely garbled link we think that a combination of a good, CRC
and format checks will keep us from passing around corrupted data and solid
recovery mechanisms will keep us from failing the QoS expected.

The one question that we could not get any decent answer to is - how  would
mechanisms other than CRC perform - mainly how will a connection protected
by cryptographic authenticators perform on connections with errors.

Regards,
Julo

Jonathan Stone <jonathan@dsg.stanford.edu> on 18/04/2001 17:50:24

Please respond to Jonathan Stone <jonathan@dsg.stanford.edu>

To:   Julian Satran/Haifa/IBM@IBMIL
cc:   Randall Stewart <rrs@cisco.com>, "WENDT,JIM (HP-Roseville,    ex1)"
      <jim_wendt@hp.com>, ips@ece.cmu.edu, tsvwg@ietf.org, "'Craig
      Partridge'" <craig@aland.bbn.com>, Jonathan Wood
      <Jonathan.Wood@sun.com>, xieqb@cig.mot.com, Jonathan Stone
      <jonathan@dsg.stanford.edu>
Subject:  Re: [Tsvwg] [SCTP checksum problems]





Julian,

I skimmed your i-d late last night.

I have not gone through the analysis of different CRCs. I'd like to
compare it to Raj Jain's analysis of the IEEE 802 CRC-32 in
http://www.cis.ohio-state.edu/~jain/papers/xie1.html; which I think
speaks to the siglne-bit-error point Craig has already raised.

The question I'd raise is a more fundamental one: whether link-level
bit and burst error rates are the appropriate model for an Internet
transport-level sum in the first place.

Craig Partridge and I examined that in our SIGCOMM 2000 paper.
We monitored packets at a number of points in the Internet, and looked
for packet with checksum mismatches-- packets where recomputing the
checksum did not match the content of the checksum field.  We also
looked for transport-level (TCP) retransmissions of the damaged
packets.

Let's  call packets where a recomputation of the TCP (or UDP) checksum
does not match the contents of the checksum field a "mismatch".

We observed mismatch rates of roughly 1 in 4,000 (average); best-case
around 1 in 30,000.  that's 5 or 6 orders of magnitude higher than the
link-level error rates you cite.  By comparing the checksum-mismatches
against a TCP-level retransmission, we were able to estimate how much
damage occured to the mismatches.  Keep in mind that these errors were
caught at the TCP layer: they have already passed a link-level CRC
check, usually the 802.3 CRC-32. The very high observed error rate
suggests thet these errors  occur outside the protection of the
MAC-layer CRC.


For the iSCSI analysis, a fair synopsis is that half the packets were
so thoroughly curdled we couldn't even guess at what caused thenn
damage. there are more details in the SIGCOMM paper.
(There, I focused more on analyzing how the standard TCP sum would fare.
I am in the midst of recomputing total burst length and hamming
distances, for a polynomial-xor description of the errors rather
than the `minimum edit distance'.)

That characterization of errors is very different to the independent
bit-error and correlated-burst-error models used in the ID.


I think our data supports three conclusions relevant to this
discussion. (You may of course disagree.)

First, the Internet contains a variety of error sources above the
MAC-level:i between two MAC-layer interface cards inside a router; or
inside an end-host, between its MAC-layer card and its TCP (or SCTP,
or UDP, or other transport protocol).

Second, error rates from these sources occur at rates several
orders of magnitude higher than current link-level errors.

Third, the damage done by these error sources  just does not match
the individual-bit/ single-burst model common in coding theory,
and often used to characterize link errors.

While we did observe a (very) few single-bit errors and short bursts,
we also observed a lot of much longer bursts. Approximately half the
damaged packets were so thoroughly curdled that more than half the
bytes were incorrect.  (We also found similar rates and patterns in
packet traces from Vern Paxson; those are included in our SIGCOMM 2000
paper.)

It may be helpful to think of *some* of these errors as due to (for
example) a single-bit error affecting a DMA pointer: flipping an
address bit can cause a large change in the data stream going to or
from the network interface. If the bit position flipped is high
enough, it could even skip to another packet altogether.


Its not clear how the analysis and conclusions in your draft stand up,
if instead of a link-level single-bit/burst error model, we
ed substitute the error characteristics and rates we observed in
`in the wild' Internet traffic-- that is, error rates some 5 or
6 orders of magnitude higher, and where the errors cause either multiple
bursts per packet, or (if modeled as a single polynomial) vary from a few
dozen bits, up to a substantial fraction of the packet length.

The order-of-magnitude changes in error rate will obviously have an
impact.  I haven't thought in detail about whether the conclusions
about specific CRC polynomial choices hold up.


One final point is the computational cost of software CRCs.

If you buy our conclusion that the Internet contains very significant
error sources outside of "network interface cards". Then, outboard
acceleration of either checksums or CRCs is somewhat suspect:
error checks done inside the network card simply doesn't cover those
error sources.  Software CRC calculations are typically much slower than
either ones-complement, Fletcher, or Adler sums: Dave Feldmeier's
paper suggests roughly four times slower, for a total 32-bit check,
even for generator polynomials selected to minimze nonzero
coefficients (i.e,. few taps).  For the IEEE 802 CRC, its
faster to do a table-lookup, which is slower again.
I dont know whether the iSCSI community has considered that
issue, or where they/you stand on it.





_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 14:09:35 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA15510
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 14:09:22 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA29501;
	Thu, 19 Apr 2001 14:03:04 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA28945
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 13:52:24 -0400 (EDT)
Received: from dogwood.cisco.com ([161.44.11.19])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA15278
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 13:52:30 -0400 (EDT)
Received: from cisco.com (mbakke@mbakke-lnx.cisco.com [161.44.68.87]) by dogwood.cisco.com (8.8.6 (PHNE_14041)/CISCO.SERVER.1.2) with ESMTP id NAA18870; Thu, 19 Apr 2001 13:51:24 -0400 (EDT)
Message-ID: <3ADF2543.74AA0951@cisco.com>
Date: Thu, 19 Apr 2001 12:49:55 -0500
From: Mark Bakke <mbakke@cisco.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.16-3.uid32 i686)
X-Accept-Language: en, de
MIME-Version: 1.0
To: Chip Sharp <chsharp@cisco.com>
CC: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        julian_satran@il.ibm.com, ips@ece.cmu.edu, tsvwg@ietf.org,
        craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
        jonathan@dsg.stanford.edu, rrs@cisco.com
Subject: Re: [Tsvwg] [SCTP checksum problems]
References: <4.3.2.7.2.20010419123133.01d8a210@dogwood.cisco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Chip-

You are correct on all counts.  However, this does not reduce the
need for an iSCSI-level CRC; it does mean that the type of integrity
provided depends somewhat on network engineering:

For a layer-2 network, with no routers or middle boxes, there's no
need for iSCSI CRC; this is analogous to a Fibre Channel network
today.

For a carefully-built layer-3 network, the TCP checksum can be
good enough, and again, the iSCSI CRC is not always required.

That leaves us with two other types of networks:

1. Networks where the quality of the various routers and middle
   boxes are not certain, and may cause accidental harm that is
   not detected by TCP.  These might include larger, private
   networks, leased metro networks, or networks subject to
   cheap equipment purchases (small business, home, etc).

2. Networks where there is a real threat of intentional harm to
   the data.

Note that network type (1) would also include networks of type (2)
where there may be minimal threat, and the cost of dealing with
the threat is not justified.

Network type (2) requires a signature on the data; IPSec would
probably be used for that case.  The expense for doing IPSec
would be justified.

Network type (1) can use a non-cryptographic, iSCSI-level CRC.

I have a few more comments below.

--
Mark

Chip Sharp wrote:
> 
> As was pointed out previously, middle box operations (such as NATs) tend to
> creep up the protocol stack and into applications.

This will certainly happen for iSCSI.

> Take SIP for example.  It includes IP addresses in its INVITE.  In order to
> work across a NAT, the IP addresses it exchanges have to be replaced with
> the NATed address.  One way is for the NAT to reach up into the SIP INVITE
> and change the address.  This modifies the TCP or UDP checksum.  Now SIP
> could have included its own integrity check to protect against corrupted or
> modified TCP checksums, but all that would have happened is that NATs would
> have changed the SIP checksum in addition to the TCP/UDP checksum.
> 
> Therefore, even if iSCSI included its own integrity check, if a middle box
> is going to futz with iSCSI packets it will just strip the check, do
> whatever it does and then recalculate the check.

That is the reason that we have separate integrity checks on the header and
the data.  If the middle box is trusted to do so, we have to enable this
sort of behavior.  By separating the checks, we at least have end-to-end
integrity on the data, and could (in theory) do a modification of the header
check without completely throwing it away and recalculating it.  This would
be expensive to do on the data, but would probably not be prohibitive for
the headers (someone correct me if I'm wrong, but I recall some discussions
on the possibilities for modifying CRCs in this way).

> If this is what you want to protect against you will have to go to some
> type of digital signature.

Again, there are times when you want to protect against middle boxes.  In
this case, the digital signature is needed, and perhaps IPSec is the solution.
There are other times when this behavior must be enabled.  In either case
(even with IPSec), the iSCSI CRC can provide end-to-end protection.

> At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
> >Stephen,
> >
> >I have to admit that I do not have much direct experience with middle boxes,
> >BUT I did have fairly direct and recent experience with a popular NAT router
> >from a popular vendor that was corrupting data in a network of Macintoshes.
> >
> >Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
> >most applications. The only applications that detected the corruption were
> >those that performed an integrity check of their own. Those applications
> >that assumed a reliable transport (and file system) were doomed to
> >experiencing the indirect effects of the corruption at some later time. The
> >corruption only happened when large amounts of data were transferred
> >quickly.  The router vendor fixed the problem once; then fixed it again;
> >then fixed it one last time before the data corruption finally
> >"disappeared". After several weeks of continuous operation the router
> >appeared to get into a mode where it was once again corrupting data. Power
> >cycling the router "fixed it". The story apparently has not yet ended.
> >
> >I admit I may have given too much significance to this single incident that
> >I have personally experienced but on the other hand I don't see the
> >mechanisms in place to prevent this type of problem in the future other than
> >the end to end integrity checks.
> >
> >Incidentally this incident change my behavior when transferring data over a
> >network. I will always use a compression utility; not only for reducing the
> >data to be transmitted but to ensure the integrity of my data is protected
> >end to end by the utility's CRC mechanism.
> >
> >I believe quite firmly that we DO need a mechanism to allow us to tolerate
> >poor implementations of middle boxes and cannot simply hope that eventually
> >such poor implementations will vanish, nor that we will have the luxury of
> >being able to select only good implementations for every component of our
> >storage network.
> >
> >Vince
> >
> >|-----Original Message-----
> >|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
> >|Sent: Wednesday, April 18, 2001 3:09 PM
> >|To: CAVANNA,VICENTE V (A-Roseville,ex1)
> >|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
> >|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
> >|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
> >|Subject: Re: [Tsvwg] [SCTP checksum problems]
> >|
> >|
> >|Vince,
> >|
> >|> I don't think iSCSI can be completely relieved of performing
> >|some data
> >|> integrity checking as long as there exists the possibility
> >|of "middle boxes"
> >|> opening up the transport protocol's packet and thus
> >|potentially invalidating
> >|> any reliability guarantees the transport protocol makes.
> >|
> >|Any protection provided against this failure mode will only be
> >|transient, so we must temper the desire to introduce such a
> >|requirement with reality.
> >|
> >|Middleboxes can just as easily open up to the iSCSI layer and tinker
> >|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
> >|today.  Short of securing the connection, there is ALWAYS a
> >|possibility of a middlebox terminating and reoriginating an integrity
> >|check.  In case you think this is a farfetched scenario, I do get the
> >|impression that there is a high level of interest in `actively
> >|middling' iSCSI once the specs crystalize.  Who shaves the barber?
> >|
> >|An integrity check is not necessary as long as some lower layer
> >|provides adequate integrity guarantees.
> >|
> >|Adding an integrity check above the transport layer is based upon
> >|documentation of the presence of a lot of crappy network hardware and
> >|software and analyses of the transport integrity check (TCP checksum)
> >|which suggests it might not be adequately strong against some such
> >|observed errors.
> >|
> >|I claim that the high incidence of `broken' (corruption introducing)
> >|components is a result of a variety of factors which have shaped the
> >|development of network components thus far.  The fact that integrity
> >|checks are assumed to be performed in a network context substantially
> >|lowers the bar for implementation correctness.
> >|
> >|In a storage (or CPU) context, these types of implementation errors
> >|are a) more easily detectable (more fatal) b) more carefully avoided
> >|during implementation (because of the cost of a potential fatal
> >|error).  If network components magically reached the same `quality
> >|level' as storage and CPU components, there might be no justification
> >|for additional integrity checks above the transport.  Similarly if the
> >|transport (or whatever lower layer) integrity checks are very strong
> >|(e.g. IPSec), there is, again, no need for a higher level integrity
> >|check.
> >|
> >|I am not disagreeing that we need an additional integrity check over
> >|TCP in the present target environment, but I do disagree that iSCSI
> >|will always need such a check, independently of what is running
> >|beneath it.
> >|
> >|Steph
> >|
> 
> -------------------------------------------------------------------
> Chip Sharp                       Consulting Engineering
> Cisco Systems
> -------------------------------------------------------------------

-- 
Mark A. Bakke
Cisco Systems
mbakke@cisco.com
763.398.1054


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 14:13:37 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA15632
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 14:13:37 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA29438;
	Thu, 19 Apr 2001 14:02:35 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA27895
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 12:54:59 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.43.88])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA14352
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 12:55:05 -0400 (EDT)
Received: from sj-msg-av-2.cisco.com (sj-msg-av-2.cisco.com [171.69.43.85])
	by sj-msg-core-2.cisco.com (8.9.3/8.9.1) with ESMTP id JAA11475;
	Thu, 19 Apr 2001 09:54:32 -0700 (PDT)
Received: from mailman.cisco.com (localhost [127.0.0.1])
	by sj-msg-av-2.cisco.com (8.10.1/8.10.1) with ESMTP id f3JGs4A08167;
	Thu, 19 Apr 2001 09:54:04 -0700 (PDT)
Received: from chsharp-w2k.cisco.com (rtp-vpn-175.cisco.com [10.82.192.175]) by mailman.cisco.com (8.9.3/CISCO.SERVER.1.2) with ESMTP id JAA11641; Thu, 19 Apr 2001 09:54:01 -0700 (PDT)
Message-Id: <4.3.2.7.2.20010419123133.01d8a210@dogwood.cisco.com>
X-Sender: chsharp@dogwood.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Thu, 19 Apr 2001 12:53:53 -0400
To: vince_cavanna@agilent.com
From: Chip Sharp <chsharp@cisco.com>
Subject: RE: [Tsvwg] [SCTP checksum problems] 
Cc: steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
        julian_satran@il.ibm.com, ips@ece.cmu.edu, tsvwg@ietf.org,
        craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
        jonathan@dsg.stanford.edu, rrs@cisco.com
In-Reply-To: <FEEBE78C8360D411ACFD00D0B74779719A8859@xsj02.sjs.agilent.c
 om>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

As was pointed out previously, middle box operations (such as NATs) tend to 
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to 
work across a NAT, the IP addresses it exchanges have to be replaced with 
the NATed address.  One way is for the NAT to reach up into the SIP INVITE 
and change the address.  This modifies the TCP or UDP checksum.  Now SIP 
could have included its own integrity check to protect against corrupted or 
modified TCP checksums, but all that would have happened is that NATs would 
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box 
is going to futz with iSCSI packets it will just strip the check, do 
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some 
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle boxes,
>BUT I did have fairly direct and recent experience with a popular NAT router
>from a popular vendor that was corrupting data in a network of Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time. The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over a
>network. I will always use a compression utility; not only for reducing the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------



_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 14:24:59 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA15771
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 14:24:54 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA28995;
	Thu, 19 Apr 2001 13:52:28 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA27400
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 12:22:43 -0400 (EDT)
Received: from msgbas1t.cos.agilent.com ([192.6.9.34])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA13887
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 12:22:48 -0400 (EDT)
From: vince_cavanna@agilent.com
Received: from msgrel1.cos.agilent.com (msgrel1.cos.agilent.com [130.29.152.77])
	by msgbas1t.cos.agilent.com (Postfix) with ESMTP
	id DA9AC30C; Thu, 19 Apr 2001 10:22:46 -0600 (MDT)
Received: from axcsbh4.cos.agilent.com (axcsbh4.cos.agilent.com [130.29.152.145])
	by msgrel1.cos.agilent.com (Postfix) with SMTP
	id 5168E9E; Thu, 19 Apr 2001 10:22:46 -0600 (MDT)
Received: from 130.29.152.145 by axcsbh4.cos.agilent.com (InterScan E-Mail VirusWall NT); Thu, 19 Apr 2001 10:22:46 -0600 (Mountain Daylight Time)
Received: by axcsbh4.cos.agilent.com with Internet Mail Service (5.5.2653.19)
	id <JHNKSBY6>; Thu, 19 Apr 2001 10:22:46 -0600
Message-ID: <FEEBE78C8360D411ACFD00D0B74779719A8859@xsj02.sjs.agilent.com>
To: steph@cs.uchicago.edu, vince_cavanna@agilent.com
Cc: jim_wendt@hp.com, julian_satran@il.ibm.com, ips@ece.cmu.edu,
        tsvwg@ietf.org, craig@aland.bbn.com, Jonathan.Wood@sun.com,
        xieqb@cig.mot.com, jonathan@dsg.stanford.edu, rrs@cisco.com
Subject: RE: [Tsvwg] [SCTP checksum problems] 
Date: Thu, 19 Apr 2001 10:22:29 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

Stephen,

I have to admit that I do not have much direct experience with middle boxes,
BUT I did have fairly direct and recent experience with a popular NAT router
from a popular vendor that was corrupting data in a network of Macintoshes. 

Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
most applications. The only applications that detected the corruption were
those that performed an integrity check of their own. Those applications
that assumed a reliable transport (and file system) were doomed to
experiencing the indirect effects of the corruption at some later time. The
corruption only happened when large amounts of data were transferred
quickly.  The router vendor fixed the problem once; then fixed it again;
then fixed it one last time before the data corruption finally
"disappeared". After several weeks of continuous operation the router
appeared to get into a mode where it was once again corrupting data. Power
cycling the router "fixed it". The story apparently has not yet ended.

I admit I may have given too much significance to this single incident that
I have personally experienced but on the other hand I don't see the
mechanisms in place to prevent this type of problem in the future other than
the end to end integrity checks.

Incidentally this incident change my behavior when transferring data over a
network. I will always use a compression utility; not only for reducing the
data to be transmitted but to ensure the integrity of my data is protected
end to end by the utility's CRC mechanism.

I believe quite firmly that we DO need a mechanism to allow us to tolerate
poor implementations of middle boxes and cannot simply hope that eventually
such poor implementations will vanish, nor that we will have the luxury of
being able to select only good implementations for every component of our
storage network.

Vince

|-----Original Message-----
|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
|Sent: Wednesday, April 18, 2001 3:09 PM
|To: CAVANNA,VICENTE V (A-Roseville,ex1)
|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
|Subject: Re: [Tsvwg] [SCTP checksum problems] 
|
|
|Vince,
|
|> I don't think iSCSI can be completely relieved of performing 
|some data
|> integrity checking as long as there exists the possibility 
|of "middle boxes"
|> opening up the transport protocol's packet and thus 
|potentially invalidating
|> any reliability guarantees the transport protocol makes.
|
|Any protection provided against this failure mode will only be
|transient, so we must temper the desire to introduce such a
|requirement with reality.
|
|Middleboxes can just as easily open up to the iSCSI layer and tinker
|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
|today.  Short of securing the connection, there is ALWAYS a
|possibility of a middlebox terminating and reoriginating an integrity
|check.  In case you think this is a farfetched scenario, I do get the
|impression that there is a high level of interest in `actively
|middling' iSCSI once the specs crystalize.  Who shaves the barber?
|
|An integrity check is not necessary as long as some lower layer
|provides adequate integrity guarantees.
|
|Adding an integrity check above the transport layer is based upon
|documentation of the presence of a lot of crappy network hardware and
|software and analyses of the transport integrity check (TCP checksum)
|which suggests it might not be adequately strong against some such
|observed errors.
|
|I claim that the high incidence of `broken' (corruption introducing)
|components is a result of a variety of factors which have shaped the
|development of network components thus far.  The fact that integrity
|checks are assumed to be performed in a network context substantially
|lowers the bar for implementation correctness.
|
|In a storage (or CPU) context, these types of implementation errors
|are a) more easily detectable (more fatal) b) more carefully avoided
|during implementation (because of the cost of a potential fatal
|error).  If network components magically reached the same `quality
|level' as storage and CPU components, there might be no justification
|for additional integrity checks above the transport.  Similarly if the
|transport (or whatever lower layer) integrity checks are very strong
|(e.g. IPSec), there is, again, no need for a higher level integrity
|check.
|
|I am not disagreeing that we need an additional integrity check over
|TCP in the present target environment, but I do disagree that iSCSI
|will always need such a check, independently of what is running
|beneath it.
|
|Steph
|


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 14:40:19 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA16092
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 14:40:19 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA00104;
	Thu, 19 Apr 2001 14:36:43 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA00042
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 14:36:40 -0400 (EDT)
Received: from zcars04f.ca.nortel.com ([47.129.242.57])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA16022
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 14:36:45 -0400 (EDT)
Received: from zcard015.ca.nortel.com by zcars04f.ca.nortel.com;
          Thu, 19 Apr 2001 14:36:00 -0400
Received: by zcard015.ca.nortel.com with Internet Mail Service (5.5.2653.19) 
          id <JATSFDFM>; Thu, 19 Apr 2001 14:36:02 -0400
Message-ID: <F033F6FEF3F1D111BD150000F8CD143106B14274@zcard007.ca.nortel.com>
From: "Greg Sidebottom" <gregside@nortelnetworks.com>
To: sigtran@nortelnetworks.com, sigtran@standards.nortelnetworks.com
Cc: tsvwg@ietf.org
Date: Thu, 19 Apr 2001 14:35:55 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
              boundary="----_=_NextPart_001_01C0C8FF.91AF14C0"
X-Orig: <gregside@americasm01.nt.com>
Subject: [Tsvwg] RE: SCTP checksum concern
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0C8FF.91AF14C0
Content-Type: text/plain;
	charset="iso-8859-1"

Hi All,

My recollection of the Sigtran discussions surrounding the addition of the
current checksum are a bit hazy (it has been a while!) so forgive me if I
say something dumb ...

In contrast to the current iSCSI discussions, I don't recall any real
quantitative analysis in the Sigtran group surrounding the addition of the
current SCTP checksum algorithm, determining how strong the checksum
solution had to be to meet the original PSTN signalling transport
requirements.  I remember people generally having a "gut feeling" that a
transport level checksum in SCTP was a good idea and probably required to
meet the SS7 performance requirements - I certainly agreed with this feeling
at the time.  However the choosing of the algorithm was a best effort at
providing the strongest possible solution.  With the information we had at
the time, the end-to-end SCTP 32-bit checksum was arguably better overall
than the link-by-link 16-bit CRC for SS7 MTP networks.

Now that the experts are saying that the current checksum algorithm is not
as strong as we originally thought, at least for some error scenarios, I
still don't see any data that suggests the strength is insufficient for the
PSTN signalling application (i.e., transport of the IUA, M3UA etc.).  As
Lyndon has expressed, "the issue is not that the checksum is "wrong" in the
sense that it causes errors, it's that the checksum does not do a great job
of error detection, esp. in short messages".   To me this is a very
important distinction.  It is also important that any changes to 2960 are
planned to be restricted to the checksum only.

Before anyone flames me, I'll mention that I certainly support the work
going forward in strengthening the checksum solution for SCTP as soon as
possible and issuing a new RFC.  Better now than later.   I just wanted to
express the view that this good work does not imply that the "sky is
falling" or that there is a technical problem for other standards groups
considering adopting the SCTP.   I think the main challenge in standards
fora will be procedural in that standards that are already referencing (or
are considering referencing) the current RFC 2960 and will probably want to
update the SCTP RFC reference - this is not always so easy.   

Cheers,

    Greg

 -----Original Message-----
From: 	Lyndon Ong [mailto:lyndon_ong@eudoramail.com] 
Sent:	Wednesday, April 18, 2001 12:43 PM
To:	sigtran
Subject:	SCTP checksum concern

Folks,

As you may have seen in some of the messages on the list, there is a
developing concern with the SCTP checksum, the Adler 32.  Research has
suggested that the checksum does not perform well for short messages (which,
of course, include most signaling messages).

At this point, the A-Ds are leaning towards flash-cutting SCTP to a
different error check mechanism, so that we would aim to issue a new RFC
replacing 2960, with the new error check.  The format of the messages would
not change, but the processing of the header error check field would
obviously be new and NOT backward compatible with the current processing in
RFC2960.

The argument for flash-cut as opposed to other strategies (e.g., adding
checksum negotiation in a way so as to be backward compatible with RFC2960)
is that actual deployment of SCTP is minimal at this point, and in the long
run it's better to make a clean break now than to add further overhead such
as checksum negotiation.

We still need to go through the process of deciding on what error check
mechanism to use (suggestions have included a modified Adler, a TCP-32 and a
CRC-32).  Since this will be a significant revision to the specification, it
will need to go through WG Last Call and IETF Last Call, although the
changes would be limited to the checksum plus text clarifications, i.e., no
technical changes beyond the checksum.

There will probably be more discussion of this at the bakeoff and on the
lists (esp. you should monitor the TSV WG list as well as the Sigtran list,
some mail has not been going to both lists).  I'll do my best to keep the WG
informed about any developments.


Cheers,

L. Ong


Join 18 million Eudora users by signing up for a free Eudora Web-Mail
account at http://www.eudoramail.com


---
You are currently subscribed to sigtran as: gregside@americasm01.nt.com
To unsubscribe send a blank email to
leave-sigtran-5950S@lyris.nortelnetworks.com

------_=_NextPart_001_01C0C8FF.91AF14C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.59">
<TITLE>RE: SCTP checksum concern</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi All,</FONT>
</P>

<P><FONT SIZE=3D2>My recollection of the Sigtran discussions =
surrounding the addition of the current checksum are a bit hazy (it has =
been a while!) so forgive me if I say something dumb ...</FONT></P>

<P><FONT SIZE=3D2>In contrast to the current iSCSI discussions, I don't =
recall any real quantitative analysis in the Sigtran group surrounding =
the addition of the current SCTP checksum algorithm, determining how =
strong the checksum solution had to be to meet the original PSTN =
signalling transport requirements.&nbsp; I remember people generally =
having a &quot;gut feeling&quot; that a transport level checksum in =
SCTP was a good idea and probably required to meet the SS7 performance =
requirements - I certainly agreed with this feeling at the time.&nbsp; =
However the choosing of the algorithm was a best effort at providing =
the strongest possible solution.&nbsp; With the information we had at =
the time, the end-to-end SCTP 32-bit checksum was arguably better =
overall than the link-by-link 16-bit CRC for SS7 MTP =
networks.</FONT></P>

<P><FONT SIZE=3D2>Now that the experts are saying that the current =
checksum algorithm is not as strong as we originally thought, at least =
for some error scenarios, I still don't see any data that suggests the =
strength is insufficient for the PSTN signalling application (i.e., =
transport of the IUA, M3UA etc.).&nbsp; As Lyndon has expressed, =
&quot;the issue is not that the checksum is &quot;wrong&quot; in the =
sense that it causes errors, it's that the checksum does not do a great =
job of error detection, esp. in short messages&quot;.&nbsp;&nbsp; To me =
this is a very important distinction.&nbsp; It is also important that =
any changes to 2960 are planned to be restricted to the checksum =
only.</FONT></P>

<P><FONT SIZE=3D2>Before anyone flames me, I'll mention that I =
certainly support the work going forward in strengthening the checksum =
solution for SCTP as soon as possible and issuing a new RFC.&nbsp; =
Better now than later.&nbsp;&nbsp; I just wanted to express the view =
that this good work does not imply that the &quot;sky is falling&quot; =
or that there is a technical problem for other standards groups =
considering adopting the SCTP.&nbsp;&nbsp; I think the main challenge =
in standards fora will be procedural in that standards that are already =
referencing (or are considering referencing) the current RFC 2960 and =
will probably want to update the SCTP RFC reference - this is not =
always so easy.&nbsp;&nbsp; </FONT></P>

<P><FONT SIZE=3D2>Cheers,</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; Greg</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: &nbsp; Lyndon Ong [<A =
HREF=3D"mailto:lyndon_ong@eudoramail.com">mailto:lyndon_ong@eudoramail.c=
om</A>] </FONT>
<BR><FONT SIZE=3D2>Sent:&nbsp;&nbsp; Wednesday, April 18, 2001 12:43 =
PM</FONT>
<BR><FONT SIZE=3D2>To:&nbsp;&nbsp;&nbsp;&nbsp; sigtran</FONT>
<BR><FONT SIZE=3D2>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
SCTP checksum concern</FONT>
</P>

<P><FONT SIZE=3D2>Folks,</FONT>
</P>

<P><FONT SIZE=3D2>As you may have seen in some of the messages on the =
list, there is a developing concern with the SCTP checksum, the Adler =
32.&nbsp; Research has suggested that the checksum does not perform =
well for short messages (which, of course, include most signaling =
messages).</FONT></P>

<P><FONT SIZE=3D2>At this point, the A-Ds are leaning towards =
flash-cutting SCTP to a different error check mechanism, so that we =
would aim to issue a new RFC replacing 2960, with the new error check.&n=
bsp; The format of the messages would not change, but the processing of =
the header error check field would obviously be new and NOT backward =
compatible with the current processing in RFC2960.</FONT></P>

<P><FONT SIZE=3D2>The argument for flash-cut as opposed to other =
strategies (e.g., adding checksum negotiation in a way so as to be =
backward compatible with RFC2960) is that actual deployment of SCTP is =
minimal at this point, and in the long run it's better to make a clean =
break now than to add further overhead such as checksum =
negotiation.</FONT></P>

<P><FONT SIZE=3D2>We still need to go through the process of deciding =
on what error check mechanism to use (suggestions have included a =
modified Adler, a TCP-32 and a CRC-32).&nbsp; Since this will be a =
significant revision to the specification, it will need to go through =
WG Last Call and IETF Last Call, although the changes would be limited =
to the checksum plus text clarifications, i.e., no technical changes =
beyond the checksum.</FONT></P>

<P><FONT SIZE=3D2>There will probably be more discussion of this at the =
bakeoff and on the lists (esp. you should monitor the TSV WG list as =
well as the Sigtran list, some mail has not been going to both =
lists).&nbsp; I'll do my best to keep the WG informed about any =
developments.</FONT></P>
<BR>

<P><FONT SIZE=3D2>Cheers,</FONT>
</P>

<P><FONT SIZE=3D2>L. Ong</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Join 18 million Eudora users by signing up for a free =
Eudora Web-Mail account at <A HREF=3D"http://www.eudoramail.com" =
TARGET=3D"_blank">http://www.eudoramail.com</A></FONT>
</P>
<BR>

<P><FONT SIZE=3D2>---</FONT>
<BR><FONT SIZE=3D2>You are currently subscribed to sigtran as: =
gregside@americasm01.nt.com</FONT>
<BR><FONT SIZE=3D2>To unsubscribe send a blank email to =
leave-sigtran-5950S@lyris.nortelnetworks.com</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0C8FF.91AF14C0--

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 14:53:52 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA16355
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 14:53:48 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA00562;
	Thu, 19 Apr 2001 14:50:15 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA00531
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 14:50:14 -0400 (EDT)
Received: from gateway.sanlight.org ([63.202.160.80])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA16300
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 14:50:18 -0400 (EDT)
Received: from ljoy (10.0.0.18.lan.sanlight.net [10.0.0.18])
	by gateway.sanlight.org (8.11.0/8.11.0) with SMTP id f3JJvL121305;
	Thu, 19 Apr 2001 12:57:21 -0700 (PDT)
	(envelope-from dotis@sanlight.net)
From: "Douglas Otis" <dotis@sanlight.net>
To: "Douglas Otis" <dotis@sanlight.net>, "Lloyd Wood" <L.Wood@surrey.ac.uk>
Cc: <ips@ece.cmu.edu>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] [SCTP checksum problems]
Date: Thu, 19 Apr 2001 11:47:31 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJEEIOCGAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <NEBBJGDMMLHHCIKHGBEJEEIHCGAA.dotis@sanlight.net>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

All,

A few corrections to this post.

   #define BASE 65521
   unsigned short s1 = 0x5555;
   unsigned s2 = 0;
   unsigned short dat_buf*

   while (length -= 2)
     {
     s1 += ntoh(*dat_buf++);  /* 16 bit summing */
     s2 += s1;
     if (s2 >= BASE)          /* Adler modulo for s2 only  */
       s2 -= BASE;
     }
   return (s2 << 16) s1 );

The 32 bit CRC table for an 8 bit lookup would be 1k byte in size and not
512 bytes.

> Lloyd,
>
> I am aware of efforts to compare CRC with Alder-32.  CRC that is primarily
> aimed at providing burst error detection but if while trying various
> techniques, this modification may be interesting.
>
>   #define BASE 65521
>   unsigned s1 = 0x5555;
>   unsigned s2 = 0;
>   unsigned short dat_buf*
>
>   while (length -= 2)
>     {
>     s1 += ntoh(*dat_buf++);  /* 16 bit summing */
>     s2 += s1;
>     if (s2 >= BASE)          /* Adler modulo for s2 only  */
>       s2 -= BASE;
>     }
>   return (s2 << 16) | (s1 & 0xffff);
>
> This would exercise more bits for small packets, improve burst error
> sensitivity and trade a modulo function for a network to host swap in some
> cases.  It seems to become a comparison against burst errors vs. missing
> segment and stuck bit sensitivity.
>
> The alternative code for CRC would look something like this.
>
> Here is an example using a 256 entry (512 byte) table.
>
>   unsigned char* dat_buf;
>   unsigned long crc_syn = 0xffffffff;
>
>   while(length--)
>     crc_syn = (crc_syn >> 8) ^ crc32_table[(crc_syn & 0xff) ^ *dat_buf++];
>
>   return (crc_syn ^ 0xffffffff);
>
>
> Doug


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 14:54:14 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA16366
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 14:54:14 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA00481;
	Thu, 19 Apr 2001 14:46:49 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA00453
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 14:46:48 -0400 (EDT)
Received: from dnspri.npac.com (firewall-user@[208.143.33.66])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA16208
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 14:46:51 -0400 (EDT)
Received: by dnspri.npac.com; id NAA08402; Thu, 19 Apr 2001 13:46:48 -0500 (CDT)
Received: from unknown(192.168.23.4) by dnspri.npac.com via smap (V5.0)
	id xma008286; Thu, 19 Apr 01 13:46:06 -0500
Received: by chi02.chicago.npac.com with Internet Mail Service (5.5.2650.21)
	id <29YW1X3K>; Thu, 19 Apr 2001 13:45:24 -0500
Message-ID: <FD6332B64829D5119CB8001083FCDD560142E0@VA02>
From: "Gradischnig, Klaus" <Klaus.Gradischnig@neustar.com>
To: "'sigtran@standards.nortelnetworks.com'"
	 <sigtran@standards.nortelnetworks.com>
Cc: tsvwg@ietf.org
Date: Thu, 19 Apr 2001 13:48:53 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0C900.E4EE3BD8"
Subject: [Tsvwg] RE: SCTP checksum concern
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0C900.E4EE3BD8
Content-Type: text/plain;
	charset="iso-8859-1"

Greg certainly has a point here. Question: Is SCTP going to go over links
without error detection?
 
Klaus

-----Original Message-----
From: Sidebottom, Greg [BCNR:7M01:EXCH] [mailto:gregside@americasm01.nt.com]
Sent: Thursday, April 19, 2001 2:36 PM
To: sigtran
Cc: tsvwg@ietf.org
Subject: RE: SCTP checksum concern



Hi All, 

My recollection of the Sigtran discussions surrounding the addition of the
current checksum are a bit hazy (it has been a while!) so forgive me if I
say something dumb ...

In contrast to the current iSCSI discussions, I don't recall any real
quantitative analysis in the Sigtran group surrounding the addition of the
current SCTP checksum algorithm, determining how strong the checksum
solution had to be to meet the original PSTN signalling transport
requirements.  I remember people generally having a "gut feeling" that a
transport level checksum in SCTP was a good idea and probably required to
meet the SS7 performance requirements - I certainly agreed with this feeling
at the time.  However the choosing of the algorithm was a best effort at
providing the strongest possible solution.  With the information we had at
the time, the end-to-end SCTP 32-bit checksum was arguably better overall
than the link-by-link 16-bit CRC for SS7 MTP networks.

Now that the experts are saying that the current checksum algorithm is not
as strong as we originally thought, at least for some error scenarios, I
still don't see any data that suggests the strength is insufficient for the
PSTN signalling application (i.e., transport of the IUA, M3UA etc.).  As
Lyndon has expressed, "the issue is not that the checksum is "wrong" in the
sense that it causes errors, it's that the checksum does not do a great job
of error detection, esp. in short messages".   To me this is a very
important distinction.  It is also important that any changes to 2960 are
planned to be restricted to the checksum only.

Before anyone flames me, I'll mention that I certainly support the work
going forward in strengthening the checksum solution for SCTP as soon as
possible and issuing a new RFC.  Better now than later.   I just wanted to
express the view that this good work does not imply that the "sky is
falling" or that there is a technical problem for other standards groups
considering adopting the SCTP.   I think the main challenge in standards
fora will be procedural in that standards that are already referencing (or
are considering referencing) the current RFC 2960 and will probably want to
update the SCTP RFC reference - this is not always so easy.   

Cheers, 

    Greg 

 -----Original Message----- 
From:   Lyndon Ong [ mailto:lyndon_ong@eudoramail.com
<mailto:lyndon_ong@eudoramail.com> ] 
Sent:   Wednesday, April 18, 2001 12:43 PM 
To:     sigtran 
Subject:        SCTP checksum concern 

Folks, 

As you may have seen in some of the messages on the list, there is a
developing concern with the SCTP checksum, the Adler 32.  Research has
suggested that the checksum does not perform well for short messages (which,
of course, include most signaling messages).

At this point, the A-Ds are leaning towards flash-cutting SCTP to a
different error check mechanism, so that we would aim to issue a new RFC
replacing 2960, with the new error check.  The format of the messages would
not change, but the processing of the header error check field would
obviously be new and NOT backward compatible with the current processing in
RFC2960.

The argument for flash-cut as opposed to other strategies (e.g., adding
checksum negotiation in a way so as to be backward compatible with RFC2960)
is that actual deployment of SCTP is minimal at this point, and in the long
run it's better to make a clean break now than to add further overhead such
as checksum negotiation.

We still need to go through the process of deciding on what error check
mechanism to use (suggestions have included a modified Adler, a TCP-32 and a
CRC-32).  Since this will be a significant revision to the specification, it
will need to go through WG Last Call and IETF Last Call, although the
changes would be limited to the checksum plus text clarifications, i.e., no
technical changes beyond the checksum.

There will probably be more discussion of this at the bakeoff and on the
lists (esp. you should monitor the TSV WG list as well as the Sigtran list,
some mail has not been going to both lists).  I'll do my best to keep the WG
informed about any developments.


Cheers, 

L. Ong 


Join 18 million Eudora users by signing up for a free Eudora Web-Mail
account at http://www.eudoramail.com <http://www.eudoramail.com>  


--- 
You are currently subscribed to sigtran as: gregside@americasm01.nt.com 
To unsubscribe send a blank email to
leave-sigtran-2306M@lyris.nortelnetworks.com 

---
You are currently subscribed to sigtran as: Klaus.Gradischnig@neustar.com
To unsubscribe send a blank email to
leave-sigtran-2306M@lyris.nortelnetworks.com 


------_=_NextPart_001_01C0C900.E4EE3BD8
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: SCTP checksum concern</TITLE>

<META content="MSHTML 5.50.4207.2601" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=565564118-19042001>Greg 
certainly has a point here. Question: Is SCTP going to go over links without 
error detection?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=565564118-19042001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=565564118-19042001>Klaus</SPAN></FONT></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Sidebottom, Greg 
  [BCNR:7M01:EXCH] [mailto:gregside@americasm01.nt.com]<BR><B>Sent:</B> 
  Thursday, April 19, 2001 2:36 PM<BR><B>To:</B> sigtran<BR><B>Cc:</B> 
  tsvwg@ietf.org<BR><B>Subject:</B> RE: SCTP checksum 
  concern<BR><BR></FONT></DIV>
  <P><FONT size=2>Hi All,</FONT> </P>
  <P><FONT size=2>My recollection of the Sigtran discussions surrounding the 
  addition of the current checksum are a bit hazy (it has been a while!) so 
  forgive me if I say something dumb ...</FONT></P>
  <P><FONT size=2>In contrast to the current iSCSI discussions, I don't recall 
  any real quantitative analysis in the Sigtran group surrounding the addition 
  of the current SCTP checksum algorithm, determining how strong the checksum 
  solution had to be to meet the original PSTN signalling transport 
  requirements.&nbsp; I remember people generally having a "gut feeling" that a 
  transport level checksum in SCTP was a good idea and probably required to meet 
  the SS7 performance requirements - I certainly agreed with this feeling at the 
  time.&nbsp; However the choosing of the algorithm was a best effort at 
  providing the strongest possible solution.&nbsp; With the information we had 
  at the time, the end-to-end SCTP 32-bit checksum was arguably better overall 
  than the link-by-link 16-bit CRC for SS7 MTP networks.</FONT></P>
  <P><FONT size=2>Now that the experts are saying that the current checksum 
  algorithm is not as strong as we originally thought, at least for some error 
  scenarios, I still don't see any data that suggests the strength is 
  insufficient for the PSTN signalling application (i.e., transport of the IUA, 
  M3UA etc.).&nbsp; As Lyndon has expressed, "the issue is not that the checksum 
  is "wrong" in the sense that it causes errors, it's that the checksum does not 
  do a great job of error detection, esp. in short messages".&nbsp;&nbsp; To me 
  this is a very important distinction.&nbsp; It is also important that any 
  changes to 2960 are planned to be restricted to the checksum only.</FONT></P>
  <P><FONT size=2>Before anyone flames me, I'll mention that I certainly support 
  the work going forward in strengthening the checksum solution for SCTP as soon 
  as possible and issuing a new RFC.&nbsp; Better now than later.&nbsp;&nbsp; I 
  just wanted to express the view that this good work does not imply that the 
  "sky is falling" or that there is a technical problem for other standards 
  groups considering adopting the SCTP.&nbsp;&nbsp; I think the main challenge 
  in standards fora will be procedural in that standards that are already 
  referencing (or are considering referencing) the current RFC 2960 and will 
  probably want to update the SCTP RFC reference - this is not always so 
  easy.&nbsp;&nbsp; </FONT></P>
  <P><FONT size=2>Cheers,</FONT> </P>
  <P><FONT size=2>&nbsp;&nbsp;&nbsp; Greg</FONT> </P>
  <P><FONT size=2>&nbsp;-----Original Message-----</FONT> <BR><FONT size=2>From: 
  &nbsp; Lyndon Ong [<A 
  href="mailto:lyndon_ong@eudoramail.com">mailto:lyndon_ong@eudoramail.com</A>] 
  </FONT><BR><FONT size=2>Sent:&nbsp;&nbsp; Wednesday, April 18, 2001 12:43 
  PM</FONT> <BR><FONT size=2>To:&nbsp;&nbsp;&nbsp;&nbsp; sigtran</FONT> 
  <BR><FONT size=2>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SCTP 
  checksum concern</FONT> </P>
  <P><FONT size=2>Folks,</FONT> </P>
  <P><FONT size=2>As you may have seen in some of the messages on the list, 
  there is a developing concern with the SCTP checksum, the Adler 32.&nbsp; 
  Research has suggested that the checksum does not perform well for short 
  messages (which, of course, include most signaling messages).</FONT></P>
  <P><FONT size=2>At this point, the A-Ds are leaning towards flash-cutting SCTP 
  to a different error check mechanism, so that we would aim to issue a new RFC 
  replacing 2960, with the new error check.&nbsp; The format of the messages 
  would not change, but the processing of the header error check field would 
  obviously be new and NOT backward compatible with the current processing in 
  RFC2960.</FONT></P>
  <P><FONT size=2>The argument for flash-cut as opposed to other strategies 
  (e.g., adding checksum negotiation in a way so as to be backward compatible 
  with RFC2960) is that actual deployment of SCTP is minimal at this point, and 
  in the long run it's better to make a clean break now than to add further 
  overhead such as checksum negotiation.</FONT></P>
  <P><FONT size=2>We still need to go through the process of deciding on what 
  error check mechanism to use (suggestions have included a modified Adler, a 
  TCP-32 and a CRC-32).&nbsp; Since this will be a significant revision to the 
  specification, it will need to go through WG Last Call and IETF Last Call, 
  although the changes would be limited to the checksum plus text 
  clarifications, i.e., no technical changes beyond the checksum.</FONT></P>
  <P><FONT size=2>There will probably be more discussion of this at the bakeoff 
  and on the lists (esp. you should monitor the TSV WG list as well as the 
  Sigtran list, some mail has not been going to both lists).&nbsp; I'll do my 
  best to keep the WG informed about any developments.</FONT></P><BR>
  <P><FONT size=2>Cheers,</FONT> </P>
  <P><FONT size=2>L. Ong</FONT> </P><BR>
  <P><FONT size=2>Join 18 million Eudora users by signing up for a free Eudora 
  Web-Mail account at <A target=_blank 
  href="http://www.eudoramail.com">http://www.eudoramail.com</A></FONT> </P><BR>
  <P><FONT size=2>---</FONT> <BR><FONT size=2>You are currently subscribed to 
  sigtran as: gregside@americasm01.nt.com</FONT> <BR><FONT size=2>To unsubscribe 
  send a blank email to leave-sigtran-2306M@lyris.nortelnetworks.com</FONT> 
  </P>---<BR>You are currently subscribed to sigtran as: 
  Klaus.Gradischnig@neustar.com<BR>To unsubscribe send a blank email to 
  leave-sigtran-2306M@lyris.nortelnetworks.com </BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C0C900.E4EE3BD8--

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 16:06:09 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA17796
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 16:06:09 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA01883;
	Thu, 19 Apr 2001 15:58:33 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA01854
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 15:58:32 -0400 (EDT)
Received: from daffy.ee.lbl.gov ([131.243.1.31])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA17688
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 15:58:36 -0400 (EDT)
Received: (from vern@localhost)
	by daffy.ee.lbl.gov (8.10.0/8.10.0) id f3JJYxR00442;
	Thu, 19 Apr 2001 12:34:59 -0700 (PDT)
Message-Id: <200104191934.f3JJYxR00442@daffy.ee.lbl.gov>
To: sigtran@standards.nortelnetworks.com
Cc: "sigtran" <sigtran@lyris.nortelnetworks.com>, tsvwg@ietf.org
In-reply-to: Your message of Thu, 19 Apr 2001 13:48:53 PDT.
Date: Thu, 19 Apr 2001 12:34:59 PDT
From: Vern Paxson <vern@ee.lbl.gov>
Subject: [Tsvwg] Re: SCTP checksum concern
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

> Greg certainly has a point here. Question: Is SCTP going to go over links
> without error detection?

The evidence of the Stone/Partridge checksum study is that the problem
isn't links, it's boxes - routers and end systems. So you want to ensure
you have good protection even if the links themselves have strong protection.
(Basically, the end-to-end principle applied to data integrity.)

		Vern

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 16:59:39 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA18364
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 16:59:39 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA02820;
	Thu, 19 Apr 2001 16:47:35 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA02793
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 16:47:33 -0400 (EDT)
Received: from gateway.sanlight.org ([63.202.160.80])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA18253
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 16:47:36 -0400 (EDT)
Received: from ljoy (10.0.0.18.lan.sanlight.net [10.0.0.18])
	by gateway.sanlight.org (8.11.0/8.11.0) with SMTP id f3JLtC121402;
	Thu, 19 Apr 2001 14:55:12 -0700 (PDT)
	(envelope-from dotis@sanlight.net)
From: "Douglas Otis" <dotis@sanlight.net>
To: "Tsvwg" <tsvwg@ietf.org>
Cc: "Ips" <ips@ece.cmu.edu>
Date: Thu, 19 Apr 2001 13:45:22 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJMEJBCGAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0015_01C0C8D6.FAE2D4A0"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Subject: [Tsvwg] [tsvwg][ips] TCP framing
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

This is a multi-part message in MIME format.

------=_NextPart_000_0015_01C0C8D6.FAE2D4A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

All,

Attached is a proposal to allow framing compatible with SCTP. It is very
small.

Doug


------=_NextPart_000_0015_01C0C8D6.FAE2D4A0
Content-Type: text/plain;
	name="draft-otis-tcp-framing-00.txt"
Content-Disposition: attachment;
	filename="draft-otis-tcp-framing-00.txt"
Content-Transfer-Encoding: quoted-printable

   Internet Draft                                     Douglas Otis
   Expires October 2001                                   SANlight
                                                    April 19, 2001

                      TCP Framing Header
                 draft-otis-tcp-framing-00.txt

   Status of this Memo


   This document is an Internet-Draft and is in full conformance=20
   with all provisions of Section 10 of RFC2026 [1].=20

   Internet-Drafts are working documents of the Internet=20
   Engineering Task Force (IETF), its areas, and its working=20
   groups.  Note that other groups may also distribute working=20
   documents as Internet-Drafts. Internet-Drafts are draft=20
   documents valid for a maximum of six months and may be=20
   updated, replaced, or made obsolete by other documents at any=20
   time.  It is inappropriate to use Internet-Drafts as=20
   reference material or to cite them other than as "work in=20
   progress."=20

   The list of current Internet-Drafts can be accessed at=20
   http://www.ietf.org/ietf/1id-abstracts.txt=20
   The list of Internet-Draft Shadow Directories can be accessed at=20
   http://www.ietf.org/shadow.html.

   Abstract

   This document is to define a header structure suitable for
   implementing a framing structure that encapsulates SCTP (RFC 2960)
   within TCP (RFC 793).  This provides the following:

    - Frame Validation within Frame Header.=20
    - Additional Frame Error Checking.
    - Both Fixed and Variable Length Framing.
    - Identifies Payloads and incorporates SCTP Conventions.

=0C=0A=

  draft-otis-tcp-framing-00.txt                              Page [2]

   Introduction

   This framing scheme is to incorporate SCTP within TCP.  SCTP is a=20
   framing protocol unlike TCP and to create a natural transition to
   SCTP, this TCP framing scheme can be employed.=20

   To allow a generic method of framing records within TCP byte streams,
   the following two constructs are used.  These are Fixed Interval and
   Variable Interval header placement.  In the Fixed Interval mode, the
   actual SCTP frame size is indicated in the Pseudo-Frame Length with
   the remainder padded to this fixed interval.  The Fixed Interval is
   set by the 32-bit byte length Fixed Interval parameter within the
   Initiation (INIT) Chunk as assigned by IANA.  In the Variable =
Interval
   mode, the Pseudo-Frame Length indicates the byte displacement to the
   next Modified SCTP Common Header.

   Modified SCTP Common Header Format

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | Mode  | Ver   |         Pseudo-Frame Length in Bytes          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                      Verification Tag                         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                           Checksum                            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   The Mode field identifies the possible framing mechanisms used.
     0 =3D Fixed Interval Modified SCTP Common Header Placement
     1 =3D Variable Interval Modified SCTP Common Header Placement
     2 - 15 =3D Reserved.
  =20
   The Ver field identifies different levels of compatibility.  =
Presently
   this field is defined as 0.  Verification Tag and Checksum are
   defined within the SCTP specification.  The flow control schemes and
   physical framing is determined by TCP. =20

   As an illustrative example for Fixed Interval Header Placement.
=20
    | Ethernet Frame |   |         |      |      |        |
    |  Pseudo-Frame  |   Pseudo-Frame    |  Pseudo-Frame  |
    |xxxxxxxxxxx00000|xxxxxxxxxxxxxxxxxx0|xxxxxxxxxxxxxxxx|
    [Chunk|Chunk|----[ Chunk |   Chunk   [        | Chunk [...

   [ =3D Modified SCTP Common Header
   0 =3D Padding
   x =3D payload
   | =3D boundary

   The reasons for using either fixed or variable length modes and their
   interaction with Upper Layer Protocols are beyond the scope of this
   document.



=0C=0A=

  draft-otis-tcp-framing-00.txt                               Page [3]

   Author's Address:=20

         Douglas Otis=20
         SANlight Inc.=20
         160 Saratoga Ave, #40=20
         Santa Clara, CA 95051=20
         Tel: (408) 260-1400 x2=20
         dotis@sanlight.net=20

   Full Copyright Statement=20
   Copyright (C) The Internet Society (2000).
     All Rights Reserved.=20

   This document and translations of it may be copied and=20
   furnished to others, and derivative works that comment on or=20
   otherwise explain it or assist in its implementation may be=20
   prepared, copied, published and distributed, in whole or in=20
   part, without restriction of any kind, provided that the=20
   above copyright notice and this paragraph are included on all=20
   such copies and derivative works.=20

   However, this document itself may not be modified in any way,=20
   such as by removing the copyright notice or references to the=20
   Internet Society or other Internet organizations, except as=20
   needed for the purpose of developing Internet standards in=20
   which case the procedures for copyrights defined in the=20
   Internet Standards process must be followed, or as required=20
   to translate it into languages other than English.=20

   The limited permissions granted above are perpetual and will=20
   not be revoked by the Internet Society or its successors or=20
   assigns.  This document and the information contained herein=20
   is provided on an "AS IS" basis and THE INTERNET SOCIETY AND=20
   THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES,=20
   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY=20
   THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY=20
   RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR=20
   FITNESS FOR A PARTICULAR PURPOSE.

=20

------=_NextPart_000_0015_01C0C8D6.FAE2D4A0--


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 17:16:56 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA18634
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 17:16:56 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA03259;
	Thu, 19 Apr 2001 17:05:06 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA02414
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 16:29:49 -0400 (EDT)
Received: from ftpbox.mot.com (ftpbox.mot.com [129.188.136.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA18027
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 16:29:54 -0400 (EDT)
Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id NAA11172; Thu, 19 Apr 2001 13:24:47 -0700 (MST)]
Received: [from relay2.cig.mot.com (relay2.cig.mot.com [136.182.15.24]) by mothost.mot.com (MOT-mothost 2.0) with ESMTP id NAA11045; Thu, 19 Apr 2001 13:24:46 -0700 (MST)]
Received: from agevole.cig.mot.com (agevole [136.182.3.251]) by relay2.cig.mot.com (8.9.0/SCERG-RELAY-1.11b) with ESMTP id PAA06027; Thu, 19 Apr 2001 15:24:45 -0500 (CDT)
Received: from cig.mot.com (d42-506b.cig.mot.com [160.15.80.107]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id PAA09924; Thu, 19 Apr 2001 15:24:44 -0500 (CDT)
Message-Id: <200104192024.PAA09924@agevole.cig.mot.com>
Date: Thu, 19 Apr 2001 15:26:53 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
CC: Chip Sharp <chsharp@cisco.com>, vince_cavanna@agilent.com,
        steph@cs.uchicago.edu, jim_wendt@hp.com, julian_satran@il.ibm.com,
        ips@ece.cmu.edu, craig@aland.bbn.com, Jonathan.Wood@sun.com,
        "Qiaobing.Xie" <Qiaobing_Xie-QXIE1@email.mot.com>,
        jonathan@dsg.stanford.edu, rrs@cisco.com
Subject: Re: [Tsvwg] [SCTP checksum problems]
References: <4.3.2.7.2.20010419123133.01d8a210@dogwood.cisco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Hi, all,

Please correct me if I am under the wrong impression, but what I've been
hearing so far from the discussion in this thread seems to be:

 1) There is uncertainty on what error model should be used for
    evaluating transport error check mechanisms;

 2) iSCSI level integrity/authentication seems inevitable not matter how
    strong the transport error check is;

 3) Some uncertainty about the implementation cost (hw and sw) on some
    of the proposed CRC-based schemes, but almost certainly any 
    CRC-based scheme will be more expensive than checksum schemes;

 4) Discussion of requirements has been so far very much limited to
    iSCSI data transport, and it seems that a CRC-based scheme is 
    strongly desirable for iSCSI case _if_ the transport error check 
    alone is all we will get to meet the iSCSi requirements.

Now my question to the group is: if a weaker but much cheaper SCTP error
checking mechanism can be found to be sufficient to the majority of the
applications (remember SCTP is a general purpose transport), and the
ultra-low error rate applications such as iSCSI will eventually rely on
their own integrity check, should we adopt a selection approach which
put more emphasis on the ease-of-implementation side?

(Maybe after all the Adler-32 in the current RFC2960 is good enough :-)
)

regards,
-Qiaobing


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 20:01:32 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20014
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 20:01:28 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id TAA05979;
	Thu, 19 Apr 2001 19:58:24 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id TAA05520
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 19:22:53 -0400 (EDT)
Received: from gateway.sanlight.org ([63.202.160.80])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA19689
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 19:22:59 -0400 (EDT)
Received: from ljoy (10.0.0.18.lan.sanlight.net [10.0.0.18])
	by gateway.sanlight.org (8.11.0/8.11.0) with SMTP id f3K0UM121532;
	Thu, 19 Apr 2001 17:30:22 -0700 (PDT)
	(envelope-from dotis@sanlight.net)
From: "Douglas Otis" <dotis@sanlight.net>
To: <tsvwg@ietf.org>, "Qiaobing Xie" <xieqb@cig.mot.com>
Cc: "End2end-Interest" <end2end-interest@postel.org>, <rrs@cisco.com>,
        <jonathan@dsg.stanford.edu>,
        "Qiaobing.Xie" <Qiaobing_Xie-QXIE1@email.mot.com>,
        <Jonathan.Wood@sun.com>, <craig@aland.bbn.com>, <ips@ece.cmu.edu>,
        <julian_satran@il.ibm.com>, <jim_wendt@hp.com>,
        <steph@cs.uchicago.edu>, <vince_cavanna@agilent.com>,
        "Chip Sharp" <chsharp@cisco.com>
Subject: RE: [Tsvwg] [SCTP checksum problems]
Date: Thu, 19 Apr 2001 16:20:32 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJAEJECGAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <200104192024.PAA09924@agevole.cig.mot.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Qiaobing,

In essence, the problems for iSCSI and SCTP are similar.  Both wish to
improve error detection over TCP checksums.  Examination of Adler-32
indicated weak burst error detection and low sensitivity for small frames, a
principle uses of SCTP at this point.  A realistic means of examining the
transport end-to-end error detection is needed for both of these protocols,
although SCTP is indeed more generalized.  Moving forward, it would be
beneficial if a common scheme were employed and agreed adequate.  There are
problems with various Telco components over more robust Ethernet equipment.
DSLAM interfaces and poorly aggregated SONET packets may be areas of greater
concern than Gaussian noise or burst errors.  Without a better understanding
of the present error sources, assessing any scheme is difficult.

A 128k byte table for CRC is not practical for most applications so CRC
requires about 8 instructions per byte with a 1K lookup table.  The modified
Adler-32 where S1 becomes a simple unsigned summation of 16 bit values
seeded with 0x5555 but where S2 retains the Adler modulo only requires about
2 instructions per byte versus about 3 of the prior algorithm.  This
modification reduces the present overhead depending the host to network
endian arrangement and should help with both burst error detection and
smaller packets.  This modification would also reduce the overhead
associated with a hardware implementation of this scheme.

Those working with storage products are expert at assessing burst error
detection and it is not likely any other scheme other than CRC will provide
superior fault coverage for burst errors.  This assessment is not likely
realistic if burst errors or Gaussian noise are not a predominate source.
Virtually any error scheme done in addition to the IEEE CRC found on the
various physical serial transports will provide adequate coverage.  The
problems arise from errors outside this CRC protective blanket.  The
assessment may concern the bit distribution of algorithms and susceptibility
to various pathological patterns.  Again, CRC hold advantages in this area
but it may also become a weakness with respect to some error modes where bit
coloring can be advantageous.

This area is not easily resolved because of the many facets involved.  It
would appear with the problems uncovered with Adler-32, this work should be
revisited and hopefully put to rest.

Doug

> Hi, all,
>
> Please correct me if I am under the wrong impression, but what I've been
> hearing so far from the discussion in this thread seems to be:
>
>  1) There is uncertainty on what error model should be used for
>     evaluating transport error check mechanisms;
>
>  2) iSCSI level integrity/authentication seems inevitable not matter how
>     strong the transport error check is;
>
>  3) Some uncertainty about the implementation cost (hw and sw) on some
>     of the proposed CRC-based schemes, but almost certainly any
>     CRC-based scheme will be more expensive than checksum schemes;
>
>  4) Discussion of requirements has been so far very much limited to
>     iSCSI data transport, and it seems that a CRC-based scheme is
>     strongly desirable for iSCSI case _if_ the transport error check
>     alone is all we will get to meet the iSCSi requirements.
>
> Now my question to the group is: if a weaker but much cheaper SCTP error
> checking mechanism can be found to be sufficient to the majority of the
> applications (remember SCTP is a general purpose transport), and the
> ultra-low error rate applications such as iSCSI will eventually rely on
> their own integrity check, should we adopt a selection approach which
> put more emphasis on the ease-of-implementation side?
>
> (Maybe after all the Adler-32 in the current RFC2960 is good enough :-)
> )
>
> regards,
> -Qiaobing



_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 19 20:01:34 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20016
	for <tsvwg-archive@odin.ietf.org>; Thu, 19 Apr 2001 20:01:30 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id TAA05903;
	Thu, 19 Apr 2001 19:58:05 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA03759
	for <tsvwg@ns.ietf.org>; Thu, 19 Apr 2001 17:46:14 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.43.88])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA18914
	for <tsvwg@ietf.org>; Thu, 19 Apr 2001 17:46:17 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-2.cisco.com (8.9.3/8.9.1) with ESMTP id OAA20645;
	Thu, 19 Apr 2001 14:21:33 -0700 (PDT)
Received: from cisco.com (rtp-dial-2-159.cisco.com [10.83.96.159])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id ACX00962 (AUTH rrs);
	Thu, 19 Apr 2001 14:20:58 -0700 (PDT)
Message-ID: <3ADF56B7.A85B5A19@cisco.com>
Date: Thu, 19 Apr 2001 16:20:55 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.73 [en]C-CCK-MCD   (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Qiaobing Xie <xieqb@cig.mot.com>
CC: tsvwg@ietf.org, Chip Sharp <chsharp@cisco.com>, vince_cavanna@agilent.com,
        steph@cs.uchicago.edu, jim_wendt@hp.com, julian_satran@il.ibm.com,
        ips@ece.cmu.edu, craig@aland.bbn.com, Jonathan.Wood@sun.com,
        "Qiaobing.Xie" <Qiaobing_Xie-QXIE1@email.mot.com>,
        jonathan@dsg.stanford.edu
Subject: Re: [Tsvwg] [SCTP checksum problems]
References: <4.3.2.7.2.20010419123133.01d8a210@dogwood.cisco.com> <200104192024.PAA09924@agevole.cig.mot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Q:

Good thoughts except for one minor detail... see below...

Qiaobing Xie wrote:

> Hi, all,
>
> Please correct me if I am under the wrong impression, but what I've been
> hearing so far from the discussion in this thread seems to be:
>
>  1) There is uncertainty on what error model should be used for
>     evaluating transport error check mechanisms;
>
>  2) iSCSI level integrity/authentication seems inevitable not matter how
>     strong the transport error check is;
>
>  3) Some uncertainty about the implementation cost (hw and sw) on some
>     of the proposed CRC-based schemes, but almost certainly any
>     CRC-based scheme will be more expensive than checksum schemes;
>
>  4) Discussion of requirements has been so far very much limited to
>     iSCSI data transport, and it seems that a CRC-based scheme is
>     strongly desirable for iSCSI case _if_ the transport error check
>     alone is all we will get to meet the iSCSi requirements.
>
> Now my question to the group is: if a weaker but much cheaper SCTP error
> checking mechanism can be found to be sufficient to the majority of the
> applications (remember SCTP is a general purpose transport), and the
> ultra-low error rate applications such as iSCSI will eventually rely on
> their own integrity check, should we adopt a selection approach which
> put more emphasis on the ease-of-implementation side?
>
> (Maybe after all the Adler-32 in the current RFC2960 is good enough :-)
> )
>

The major weakness of Adler-32 (if I understand Jonathan and Craig
correctly) is that in
short messages (very common in signalling) the upper two bytes of the
checksum are not
being incremented very often. This is due to the 8bit adds happening at the
input of
data. I am not sure of the strenght of this sum but it is on the order of
weaker than
TCP (if I have heard right). A SIMPLE fix to this is to change the adds to
16 bit
increments.. so input to the c-sum is an array of 16 bit int's instead of 8
bit ints. This
1/2s the work you must do to produce the checksum and causes the upper bits
to
be incremented better... So, I think no matter what we do CRC or checksum a
change is needed. I think to take the minimalist approach changing the
suming to
16 bits is the way to go... Other options such as 32 bit TCP type scares me
a bit
since it will require a few mor operations in any machine that does not have

a 64 bit accumulator... (which is many many many small devices). ...

I see the real issue here is we can either choose a
CRC-32 variant or
one
modified alder..

R




>
> regards,
> -Qiaobing



_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 20 07:23:16 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA10343
	for <tsvwg-archive@odin.ietf.org>; Fri, 20 Apr 2001 07:23:16 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA21094;
	Fri, 20 Apr 2001 07:09:10 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id EAA18406
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 04:00:12 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA08704
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 04:00:11 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 20 07:23:22 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA10354
	for <tsvwg-archive@odin.ietf.org>; Fri, 20 Apr 2001 07:23:17 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA21217;
	Fri, 20 Apr 2001 07:13:07 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id GAA20722
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 06:37:12 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA09914
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 06:37:10 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 20 07:24:55 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA10386
	for <tsvwg-archive@odin.ietf.org>; Fri, 20 Apr 2001 07:24:55 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA21133;
	Fri, 20 Apr 2001 07:09:22 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id EAA18929
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 04:33:34 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA08918
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 04:33:32 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 20 07:31:36 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA10451
	for <tsvwg-archive@odin.ietf.org>; Fri, 20 Apr 2001 07:31:32 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA21185;
	Fri, 20 Apr 2001 07:12:21 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id FAA19500
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 05:12:59 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id FAA09223
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 05:12:56 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 20 10:33:40 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA12565
	for <tsvwg-archive@odin.ietf.org>; Fri, 20 Apr 2001 10:33:40 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id KAA24134;
	Fri, 20 Apr 2001 10:27:57 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA22507
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 08:44:48 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA11041
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 08:44:46 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 20 10:42:41 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA12705
	for <tsvwg-archive@odin.ietf.org>; Fri, 20 Apr 2001 10:42:41 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id KAA24165;
	Fri, 20 Apr 2001 10:28:00 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id KAA23883
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 10:07:32 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA12101
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 10:07:17 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 20 20:29:53 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20370
	for <tsvwg-archive@odin.ietf.org>; Fri, 20 Apr 2001 20:29:53 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA03613;
	Fri, 20 Apr 2001 20:25:42 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA27828
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 13:57:14 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA15444
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 13:57:03 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 20 20:58:07 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20536
	for <tsvwg-archive@odin.ietf.org>; Fri, 20 Apr 2001 20:58:04 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA03652;
	Fri, 20 Apr 2001 20:25:55 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id TAA03077
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 19:52:24 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA20064
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 19:52:19 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 20 21:09:42 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20538
	for <tsvwg-archive@odin.ietf.org>; Fri, 20 Apr 2001 20:58:07 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA03574;
	Fri, 20 Apr 2001 20:25:14 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA27197
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 13:13:44 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA14742
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 13:13:42 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 07:56:24 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA09512
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 07:56:24 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18854;
	Sat, 21 Apr 2001 07:50:06 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id BAA14750
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 01:50:42 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA00197
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 01:50:36 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 07:56:32 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA09524
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 07:56:32 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18692;
	Sat, 21 Apr 2001 07:49:34 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id BAA14400
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 01:14:50 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA25591
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 01:14:43 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 07:56:43 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA09547
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 07:56:43 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18662;
	Sat, 21 Apr 2001 07:49:18 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id AAA07418
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 00:55:41 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id AAA24442
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 00:55:35 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 07:57:22 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA09578
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 07:57:21 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA19026;
	Sat, 21 Apr 2001 07:50:36 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id CAA15429
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 02:53:47 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA08456
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 02:53:42 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 07:59:34 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA09596
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 07:59:34 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA19118;
	Sat, 21 Apr 2001 07:50:48 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id DAA15738
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 03:03:36 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA08483
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 03:03:31 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:00:18 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09615
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:00:13 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18772;
	Sat, 21 Apr 2001 07:49:56 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id BAA14693
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 01:31:43 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA27881
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 01:31:36 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:00:24 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09626
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:00:19 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18899;
	Sat, 21 Apr 2001 07:50:13 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id CAA15018
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 02:02:52 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA03386
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 02:01:38 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:03:46 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09706
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:03:41 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18974;
	Sat, 21 Apr 2001 07:50:29 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id CAA15379
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 02:45:37 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA08387
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 02:45:31 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:04:00 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09725
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:04:00 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA19298;
	Sat, 21 Apr 2001 07:51:31 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id GAA17535
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 06:00:09 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id FAA09013
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 05:59:58 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:06:44 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09758
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:06:44 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18617;
	Sat, 21 Apr 2001 07:48:49 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id AAA07116
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 00:29:06 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id AAA24306
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 00:29:01 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:08:24 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09775
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:08:24 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA19245;
	Sat, 21 Apr 2001 07:51:14 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id EAA16870
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 04:51:24 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA08825
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 04:51:14 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:10:55 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09801
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:10:55 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA19156;
	Sat, 21 Apr 2001 07:50:56 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id DAA15899
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 03:10:49 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA08495
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 03:10:44 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:11:51 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09816
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:11:51 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18544;
	Sat, 21 Apr 2001 07:48:15 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id XAA06328
	for <tsvwg@ns.ietf.org>; Fri, 20 Apr 2001 23:08:58 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id XAA23512
	for <tsvwg@ietf.org>; Fri, 20 Apr 2001 23:08:54 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:12:27 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09827
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:12:23 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA19379;
	Sat, 21 Apr 2001 07:51:40 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18233
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 07:20:05 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA09316
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 07:20:00 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:13:38 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09838
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:13:38 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18936;
	Sat, 21 Apr 2001 07:50:21 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id CAA15070
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 02:13:31 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA08266
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 02:13:25 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:21:41 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09864
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:21:41 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA19198;
	Sat, 21 Apr 2001 07:51:03 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id DAA16185
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 03:40:12 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA08582
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 03:39:58 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Sat Apr 21 08:31:44 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09898
	for <tsvwg-archive@odin.ietf.org>; Sat, 21 Apr 2001 08:31:44 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18731;
	Sat, 21 Apr 2001 07:49:46 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id BAA14434
	for <tsvwg@ns.ietf.org>; Sat, 21 Apr 2001 01:17:46 -0400 (EDT)
Received: from d12lmsgate.de.ibm.com (d12lmsgate.de.ibm.com [195.212.91.199])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA25973
	for <tsvwg@ietf.org>; Sat, 21 Apr 2001 01:17:40 -0400 (EDT)
From: julian_satran@il.ibm.com
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id JAA301128;
	Fri, 20 Apr 2001 09:57:29 +0200
Received: from d12mta05.de.ibm.com (d12mta05_cs0 [9.165.222.239])
	by d12relay01.de.ibm.com (8.8.8m3/NCO v4.96) with SMTP id JAA211478;
	Fri, 20 Apr 2001 09:57:28 +0200
Received: by d12mta05.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C1256A34.002BB4F6 ; Fri, 20 Apr 2001 09:57:23 +0200
X-Lotus-FromDomain: IBMIL@IBMDE
To: Chip Sharp <chsharp@cisco.com>
cc: vince_cavanna@agilent.com, steph@cs.uchicago.edu, jim_wendt@hp.com,
        ips@ece.cmu.edu, tsvwg@ietf.org, craig@aland.bbn.com,
        Jonathan.Wood@sun.com, xieqb@cig.mot.com, jonathan@dsg.stanford.edu,
        rrs@cisco.com
Message-ID: <C1256A34.002BB1E8.00@d12mta05.de.ibm.com>
Date: Fri, 20 Apr 2001 10:02:22 +0200
Subject: RE: [Tsvwg] [SCTP checksum problems]
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org



Chip,

CRC s are not meant to protect against malicious middle boxes - rather on
boxes that strip the strong link CRCs and
let the end-system rely on the weak TCP checksum.

NAT boxes have good reason to recompute TCP checksums, but unless they are
malicious no reason to recompute iSCSI CRCs.

And against malicious boxes iSCSI has cryptographic digests as options.

And I was not aware that we are discussing - in this forum - iSCSI data
integrity options.

Julo

Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53

Please respond to Chip Sharp <chsharp@cisco.com>

To:   vince_cavanna@agilent.com
cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com, jim_wendt@hp.com,
      Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
      craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
      jonathan@dsg.stanford.edu, rrs@cisco.com
Subject:  RE: [Tsvwg] [SCTP checksum problems]




As was pointed out previously, middle box operations (such as NATs) tend to
creep up the protocol stack and into applications.

Take SIP for example.  It includes IP addresses in its INVITE.  In order to
work across a NAT, the IP addresses it exchanges have to be replaced with
the NATed address.  One way is for the NAT to reach up into the SIP INVITE
and change the address.  This modifies the TCP or UDP checksum.  Now SIP
could have included its own integrity check to protect against corrupted or
modified TCP checksums, but all that would have happened is that NATs would
have changed the SIP checksum in addition to the TCP/UDP checksum.

Therefore, even if iSCSI included its own integrity check, if a middle box
is going to futz with iSCSI packets it will just strip the check, do
whatever it does and then recalculate the check.

If this is what you want to protect against you will have to go to some
type of digital signature.

At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
>Stephen,
>
>I have to admit that I do not have much direct experience with middle
boxes,
>BUT I did have fairly direct and recent experience with a popular NAT
router
>from a popular vendor that was corrupting data in a network of
Macintoshes.
>
>Apple's TCP was unaware of any problem as was Apple's Filing Protocol and
>most applications. The only applications that detected the corruption were
>those that performed an integrity check of their own. Those applications
>that assumed a reliable transport (and file system) were doomed to
>experiencing the indirect effects of the corruption at some later time.
The
>corruption only happened when large amounts of data were transferred
>quickly.  The router vendor fixed the problem once; then fixed it again;
>then fixed it one last time before the data corruption finally
>"disappeared". After several weeks of continuous operation the router
>appeared to get into a mode where it was once again corrupting data. Power
>cycling the router "fixed it". The story apparently has not yet ended.
>
>I admit I may have given too much significance to this single incident
that
>I have personally experienced but on the other hand I don't see the
>mechanisms in place to prevent this type of problem in the future other
than
>the end to end integrity checks.
>
>Incidentally this incident change my behavior when transferring data over
a
>network. I will always use a compression utility; not only for reducing
the
>data to be transmitted but to ensure the integrity of my data is protected
>end to end by the utility's CRC mechanism.
>
>I believe quite firmly that we DO need a mechanism to allow us to tolerate
>poor implementations of middle boxes and cannot simply hope that
eventually
>such poor implementations will vanish, nor that we will have the luxury of
>being able to select only good implementations for every component of our
>storage network.
>
>Vince
>
>|-----Original Message-----
>|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
>|Sent: Wednesday, April 18, 2001 3:09 PM
>|To: CAVANNA,VICENTE V (A-Roseville,ex1)
>|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
>|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
>|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
>|Subject: Re: [Tsvwg] [SCTP checksum problems]
>|
>|
>|Vince,
>|
>|> I don't think iSCSI can be completely relieved of performing
>|some data
>|> integrity checking as long as there exists the possibility
>|of "middle boxes"
>|> opening up the transport protocol's packet and thus
>|potentially invalidating
>|> any reliability guarantees the transport protocol makes.
>|
>|Any protection provided against this failure mode will only be
>|transient, so we must temper the desire to introduce such a
>|requirement with reality.
>|
>|Middleboxes can just as easily open up to the iSCSI layer and tinker
>|with the payload, as they do with other ULPs running on TCP (e.g HTTP)
>|today.  Short of securing the connection, there is ALWAYS a
>|possibility of a middlebox terminating and reoriginating an integrity
>|check.  In case you think this is a farfetched scenario, I do get the
>|impression that there is a high level of interest in `actively
>|middling' iSCSI once the specs crystalize.  Who shaves the barber?
>|
>|An integrity check is not necessary as long as some lower layer
>|provides adequate integrity guarantees.
>|
>|Adding an integrity check above the transport layer is based upon
>|documentation of the presence of a lot of crappy network hardware and
>|software and analyses of the transport integrity check (TCP checksum)
>|which suggests it might not be adequately strong against some such
>|observed errors.
>|
>|I claim that the high incidence of `broken' (corruption introducing)
>|components is a result of a variety of factors which have shaped the
>|development of network components thus far.  The fact that integrity
>|checks are assumed to be performed in a network context substantially
>|lowers the bar for implementation correctness.
>|
>|In a storage (or CPU) context, these types of implementation errors
>|are a) more easily detectable (more fatal) b) more carefully avoided
>|during implementation (because of the cost of a potential fatal
>|error).  If network components magically reached the same `quality
>|level' as storage and CPU components, there might be no justification
>|for additional integrity checks above the transport.  Similarly if the
>|transport (or whatever lower layer) integrity checks are very strong
>|(e.g. IPSec), there is, again, no need for a higher level integrity
>|check.
>|
>|I am not disagreeing that we need an additional integrity check over
>|TCP in the present target environment, but I do disagree that iSCSI
>|will always need such a check, independently of what is running
>|beneath it.
>|
>|Steph
>|


-------------------------------------------------------------------
Chip Sharp                       Consulting Engineering
Cisco Systems
-------------------------------------------------------------------






_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Mon Apr 23 09:23:49 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA04224
	for <tsvwg-archive@odin.ietf.org>; Mon, 23 Apr 2001 09:23:49 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA06407;
	Mon, 23 Apr 2001 09:17:10 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA06380
	for <tsvwg@ns.ietf.org>; Mon, 23 Apr 2001 09:17:09 -0400 (EDT)
Received: from sandmail.sandburst.com ([216.57.129.34])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA04177
	for <tsvwg@ietf.org>; Mon, 23 Apr 2001 09:17:07 -0400 (EDT)
Received: from cs.uchicago.edu (dynamite-38.sandburst.com [172.16.5.38])
	by sandmail.sandburst.com (Postfix) with ESMTP
	id 3634D9400D; Mon, 23 Apr 2001 09:17:07 -0400 (EDT)
To: ips@ece.cmu.edu, tsvwg@ietf.org
Cc: L.Wood@surrey.ac.uk
Subject: Re: [Tsvwg] [SCTP checksum problems] 
In-Reply-To: Message from Lloyd Wood <L.Wood@surrey.ac.uk> 
   of "Thu, 19 Apr 2001 12:29:27 BST." <Pine.GSO.4.21.0104191223250.9077-100000@regan.ee.surrey.ac.uk> 
References: <Pine.GSO.4.21.0104191223250.9077-100000@regan.ee.surrey.ac.uk> 
Date: Mon, 23 Apr 2001 09:15:30 -0400
From: Stephen Bailey <steph@cs.uchicago.edu>
Message-Id: <20010423131707.3634D9400D@sandmail.sandburst.com>
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

Lloyd,

Thanks for your input.

> Reality check, please.

Is your point that no protocol should ever assume that there's an
end-to-end integrity check operating at some layer below it?

The point of the iSCSI integrity check is not that to assume that
underlying layers (the transport and/or security & integrity) have
abdicated responsibility for end-to-end integrity.  It is a trust, but
verify model.  In a suitably trustworthy [or suitably devious]
environment you're wasting your time verifying.

Steph

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Mon Apr 23 11:18:04 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA05427
	for <tsvwg-archive@odin.ietf.org>; Mon, 23 Apr 2001 11:18:04 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id LAA08331;
	Mon, 23 Apr 2001 11:10:47 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id LAA08300
	for <tsvwg@ns.ietf.org>; Mon, 23 Apr 2001 11:10:46 -0400 (EDT)
Received: from prue.eim.surrey.ac.uk (IDENT:exim@[131.227.76.5])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA05354
	for <tsvwg@ietf.org>; Mon, 23 Apr 2001 11:10:44 -0400 (EDT)
Received: from regan.ee.surrey.ac.uk ([131.227.89.11])
	by prue.eim.surrey.ac.uk with esmtp (Exim 3.16 #1)
	id 14rhYf-0005HK-00; Mon, 23 Apr 2001 15:43:21 +0100
Date: Mon, 23 Apr 2001 15:43:21 +0100 (BST)
From: Lloyd Wood <l.wood@eim.surrey.ac.uk>
X-Sender: eep1lw@regan.ee.surrey.ac.uk
Reply-To: Lloyd Wood <L.Wood@eim.surrey.ac.uk>
To: Stephen Bailey <steph@cs.uchicago.edu>
cc: ips@ece.cmu.edu, tsvwg@ietf.org
Subject: Re: [Tsvwg] [SCTP checksum problems]
In-Reply-To: <20010423131707.3634D9400D@sandmail.sandburst.com>
Message-ID: <Pine.GSO.4.21.0104231524570.11071-100000@regan.ee.surrey.ac.uk>
Organization: speaking for none
X-url: http://www.ee.surrey.ac.uk/Personal/L.Wood/
X-no-archive: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanner: exiscan *14rhYf-0005HK-00*qdsUrkUA33g* http://duncanthrax.net/exiscan/
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org

On Mon, 23 Apr 2001, Stephen Bailey wrote:

> Lloyd,
> 
> Thanks for your input.
> 
> > Reality check, please.
> 
> Is your point that no protocol should ever assume that there's an
> end-to-end integrity check operating at some layer below it?

No. (How can an *end-to-end* integrity check operate at a lower
layer?)

> The point of the iSCSI integrity check is not that to assume that
> underlying layers (the transport and/or security & integrity) have
> abdicated responsibility for end-to-end integrity. 

I've spent several minutes trying to parse your sentence and its
opposed negatives. I don't think that sentence means whatever you
think it means.

> It is a trust, but verify model.  In a suitably trustworthy [or
> suitably devious] environment you're wasting your time verifying.

In a *perfectly* trustworthy or *perfectly* devious environment that
might be the case. But environments are not perfect - and they change,
too.

So, always verify.

L.

<L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>




_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 24 01:41:47 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA24424
	for <tsvwg-archive@odin.ietf.org>; Tue, 24 Apr 2001 01:41:47 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id BAA25674;
	Tue, 24 Apr 2001 01:22:23 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id BAA25643
	for <tsvwg@ns.ietf.org>; Tue, 24 Apr 2001 01:22:21 -0400 (EDT)
Received: from gateway.sanlight.org (adsl-63-202-160-80.dsl.snfc21.pacbell.net [63.202.160.80])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA22056
	for <tsvwg@ietf.org>; Tue, 24 Apr 2001 01:22:17 -0400 (EDT)
Received: from ljoy (10.0.0.18.lan.sanlight.net [10.0.0.18])
	by gateway.sanlight.org (8.11.0/8.11.0) with SMTP id f3O6Tj129794
	for <tsvwg@ietf.org>; Mon, 23 Apr 2001 23:29:46 -0700 (PDT)
	(envelope-from dotis@sanlight.net)
From: "Douglas Otis" <dotis@sanlight.net>
To: "Tsvwg" <tsvwg@ietf.org>
Date: Mon, 23 Apr 2001 22:19:51 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJIEMBCGAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] [tsvwg][sctp][tcp][iscsi][ifcp][fcip][rdma]
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

David,

Thanks for the url correction for the document.  Although I posted this
document 4 days ago, it still has not been published as an I-D.  Here is a
reference to it until then.
http://ips.pdl.cs.cmu.edu/mail/msg04238.html

I'll stand by the stated intent of implementing this protocol in hardware.
The same is also true for iFCP and FCIP.

Page 8 of the requirements document:
    "(2)  Development of Ethernet storage NICs and related driver and
         protocol software; [NOTE: high-speed applications of iSCSI are
         expected to require significant portions of the iSCSI/TCP/IP
         implementation in hardware to achieve the necessary
         throughput.]"

Page 11:
  "2.3. Framing

   Framing refers to the addition of information in a header, or the
   data stream to allow implementations to locate the boundaries of an
   iSCSI protocol data unit (PDU) within the TCP byte stream.  There
   are two technical requirements driving framing: interfacing needs,
   and accelerated processing needs.

   A framing solution that addresses the "interfacing needs" of the
   iSCSI protocol will facilitate the implementation of a message-based
   upper layer protocol (iSCSI) on top of an underlying byte streaming
   protocol (TCP).  Since TCP is a reliable transport, this can be
   accomplished by including a length field in the iSCSI header.
   Finding the protocol frame assumes that the receiver will parse from
   the beginning of the TCP data stream, and never make a mistake (lose
   alignment on packet headers).

   The other technical requirement for framing, "accelerated
   processing", stems from the need to handle increasingly higher data
   rates in the physical media interface.  Two needs arise from higher
   data rates:

   (1)  LAN environment - NIC vendors seek ways to provide "zero-copy"
        methods of moving data directly from the wire into application
        buffers.

   (2)  WAN environment- the emergence of high bandwidth, high latency,
        low bit error rate physical media places huge buffer
        requirements on the physical interface solutions.

   First, vendors are producing network processing hardware that
   offloads network protocols to hardware solutions to achieve higher
   data rates.  The concept of "zero-copy" seeks to store blocks of
   data in appropriate memory locations (aligned) directly off the
   wire, even in when data is reordered due to packet loss.  This is
   necessary to drive actual data rates of 10 Gigabits and beyond.

   Secondly, in order for iSCSI to be successful in the WAN arena it
   MUST be possible to operate efficiently in high bandwidth, high
   delay networks.  The emergence of multi-gigabit IP networks with
   latencies in the tens to hundreds of milliseconds presents a
   challenge. To fill such large pipes, tens of megabytes of
   outstanding requests from the application are needed. In addition,
   some protocols potentially require tens of megabytes at the
   transport layer to deal with buffering for reassembly of data when
   packets are received out-of-order.

   Consider that a network pipe at 10 Gbps x 200 msec holds 250 MB.
   [Assume land-based communication with a spot half way around the
   world at the equator.  Ignore additional distance due to cable
   routing.  Ignore repeater and switching delays; consider only a
   speed-of-light delay of 5 microsec/km.  The circumference of the
   globe at the equator is approx. 40000 km (round-trip delay must be
   considered to keep the pipe full).  10 Gb/sec x 40000 km x 5
   microsec/km x B / 8b = 250 MB].  In a conventional TCP
   implementation, loss of a TCP segment means that stream processing
   MUST stop until that segment is recovered, which takes at least a
   time of <network round trip> to accomplish.  Following the example
   above, an implementation would be obliged to catch 250 MB of data
   into an anonymous buffer before resuming stream processing; later,
   this data would need to be moved to its proper location.  Some
   proponents of iSCSI seek some means of putting data directly where
   it belongs, and avoiding extra data movement in the case of segment
   drop.  This is a key concept in understanding the debate behind
   framing methodologies.

   The framing of the iSCSI protocol impacts both the "interfacing
   needs" and the "accelerated processing needs", however, while
   including a length in a header may suffice for the "interfacing
   needs", it will not serve the "accelerated processing needs". The
   framing mechanism developed should allow resynchronization of packet
   boundaries even in the case where a packet is temporarily missing in
   the incoming data stream."


Here IPS is developing a framing protocol that increases the level of error
detection.  The IPS has made explicit reference to these intentions of
having this protocol supported directly in hardware.  I will be happy to
show how this protocol can be mapped into a common structure which would
avail more protocols to this hardware acceleration at the same time ease the
transition to SCTP.

Although I may upset some with this message, I feel this is a pivotal point
in time.  Yes, it is possible to support this protocol in software, but not
at competitive data rates.  Of this you should be clear.  At this point in
time, with the iSCSI protocol in flux, it is impossible to make hardware for
this protocol.  With a minor amount of effort, this protocol could be placed
into a common format.  This becomes an architectural decision.  This is a
profound decision as it will determine the number of adapters needed by
systems to support these various protocols.  A decision that will impact the
next decade and likely influence networking profoundly.  These are not just
protocols.  You are attempting to redefine the nature of the network
adapter.

Presently you wish to see this done in a haphazard manner without any
coordination by the IETF.  This attitude does not reflect the magnitude of
this endeavor.  Frankly, had the IPS followed the efforts of the sigtran
group, there could have been and will be considerable time saved.  As it is
now, we are readopting multi-connection protocols with unique SACK packet
schemes, error handling etc.  In other words, re-inventing SCTP.  It took
them more than 2 years to get SCTP where they are now and it is in suitable
form for generic use.  If the effort is to use TCP, I can show how that can
be done as well by adopting SCTP structures.  iSCSI, RDMA, iFCP, and FCIP
should not need special devices made as a result of wanting improved error
detection, framing and data vectoring.  This is not rocket science, but not
using a common format makes it an adapter zoo.

Doug


David Black wrote:
> > This requirements document makes it clear there is expectation of
> > modifying Ethernet adapters to support this protocol.  Should this
> > required hardware support be made in a general fashion to allow
> > common use among other protocols?
>
> There are at least two announced iSCSI products and
> an open source driver that do not require any
> modifications to existing Ethernet adapters,
> so such modifications are clearly not a requirement.
>
> > This hardware requirement is primarily based on two
> > requirements, to increase the level of error detection and to allow
> > framing.
>
> Error detection (i.e., CRC or checksum) can be done in
> software as Doug has frequently pointed out on this list.
> I don't think the statement about IPS and TSVWG pursuing
> a common error detection algorithm is correct -- while
> I'll defer to the ADs (who are the chairs of TSVWG), I
> believe TSVWG has significant interest in an improved
> checksum (e.g., Adler-32 based on adding 16-bit quantities
> instead of 8-bit), whereas IPS intends to use CRCs.
>
> Framing is optional and being pursued in a layered fashion
> as called for by the WG charter.  The instructions in
> the WG charter should be sufficient - adding text to the
> iSCSI requirements document that introduces otherwise
> unneeded dependencies on other protocol specification
> efforts (i.e., iFCP, FCIP) is a bad idea.  Heaven help
> us if we have to submit all the protocol drafts for the
> IPS WG to the IESG in one big bundle - at the very least
> the IESG will be annoyed, and annoying the IESG has all
> sorts of bad side effects ;-).
>
> I don't see that any change to the iSCSI requirements draft
> is needed in either of these areas based on this set of
> comments.
>
> Doug also posted a pointer to the wrong draft - I suspect
> he meant to point to draft-otis-tcp-framing-00.txt.
>
> --David
>
> ---------------------------------------------------
> David L. Black, Senior Technologist
> EMC Corporation, 42 South St., Hopkinton, MA  01748
> +1 (508) 435-1000 x75140     FAX: +1 (508) 497-8500
> black_david@emc.com       Mobile: +1 (978) 394-7754
> ---------------------------------------------------
>
>
> > -----Original Message-----
> > From:	Douglas Otis [SMTP:dotis@sanlight.net]
> > Sent:	Monday, April 23, 2001 4:15 PM
> > To:	KRUEGER,MARJORIE (HP-Roseville,ex1); Ips Reflector (E-mail)
> > Cc:	Allison Mankin; David Black; Elizabeth G Rodriguez (Elizabeth);
> > Scott Bradner
> > Subject:	RE: I-D ACTION:draft-ietf-ips-iscsi-reqmts-03.txt
> >
> > Marjorie,
> >
> > This requirements document makes it clear there is expectation of
> > modifying Ethernet adapters to support this protocol.  Should this
> > required hardware support be made in a general fashion to allow
> > common use among other protocols?  This hardware requirement is
> > primarily based on two requirements, to increase the level of error
> > detection and to allow framing.  Presently, IETF supports a framing
> > protocol that also increases the level of error detection.
> >
> > Presently TSVWG and IPS are working on a common error detection
> > algorithm.  In addition, there are two other protocols expecting
> > hardware for framing and error detection.  This is iFCP and FCIP.
> >
> > See:
http://www.ietf.org/internet-drafts/draft-ietf-ips-fcencapsulation-00.txt
>
> > It is possible to have all these protocols use the same error detection
> > and framing.  If this MUST be done using TCP, as this requirement
> > document demands, then here is a possible general propose header that
> > would allow common use of hardware and a easy transition into SCTP.
>
> > I will be happy to define a mapping from the present protocols into this
> > generalized form.  The advantage should be obvious.  One Ethernet
adapter
> > can handle these various protocols without specialized hardware for
each.
>
> > For those wishing to update and route based on encapsulated headers, a
> > fix-up field at the end of these headers will allow use of a common
error
> > scheme using header fix-up.
>
> > Here is an example of how TCP can be made to look like SCTP.
http://www.ietf.org/internet-drafts/draft-otis-iscsi-fullack-00.txt
> >
> > This header could become a TCP option field to allow for negotiation.
> >
> > P.S.
> > One additional question however.
> >
> > On page 18,
> >  "The iSCSI protocol document SHOULD NOT define the management
> >  architecture for iSCSI within the network infrastructure."
> >
> > What does this mean?
> >
> > Doug
> >
> >
> > > The IP Storage Working group is chartered with developing
> > > comprehensive technology to transport block storage data
> > > over IP protocols.  This effort includes a protocol to
> > > transport the Small Computer Systems Interface (SCSI)
> > > protocol over the internet (iSCSI).
> > >
> > > A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ips-iscsi-reqmts-03.txt
> > >


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Tue Apr 24 15:16:12 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA13110
	for <tsvwg-archive@odin.ietf.org>; Tue, 24 Apr 2001 15:16:12 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA06967;
	Tue, 24 Apr 2001 15:07:49 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA06936
	for <tsvwg@ns.ietf.org>; Tue, 24 Apr 2001 15:07:47 -0400 (EDT)
Received: from gateway.sanlight.org (adsl-63-202-160-80.dsl.snfc21.pacbell.net [63.202.160.80])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA12852
	for <tsvwg@ietf.org>; Tue, 24 Apr 2001 15:07:44 -0400 (EDT)
Received: from ljoy (10.0.0.18.lan.sanlight.net [10.0.0.18])
	by gateway.sanlight.org (8.11.0/8.11.0) with SMTP id f3OKFA130833
	for <tsvwg@ietf.org>; Tue, 24 Apr 2001 13:15:10 -0700 (PDT)
	(envelope-from dotis@sanlight.net)
From: "Douglas Otis" <dotis@sanlight.net>
To: "Tsvwg" <tsvwg@ietf.org>
Subject: RE: [Tsvwg] [tsvwg][sctp][tcp][iscsi][ifcp][fcip][rdma]
Date: Tue, 24 Apr 2001 12:05:16 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJIEMGCGAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
In-Reply-To: <NEBBJGDMMLHHCIKHGBEJIEMBCGAA.dotis@sanlight.net>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

David,

If you look at the "desired" and required features of iSCSI as described in
the requirements document, there is a general structure that could provide
these features.  iSCSI still defines the various commands and the means of
communicating with very little changed from the current proposal.  This
change in structure however will lend itself to a generalized method of
providing hardware features to many other protocols however.

Let me give you an example from the perspective of the SCTP structures as
related to iSCSI:
 - Map the SCSI Tag into the SCTP Data Chunk Stream.
 - Establish hardware vectors associated with Data Chunk Payload Protocol
Identifiers indexed by Stream.
 - Define categories of Payload Protocol IDs to isolate Command, Status,
Data, and iSCSI PDUs.
 - These categories then provide direct placement of stream content
sensitive to iSCSI.

This generalized form of data placement maps nicely into iSCSI, iFCP, FCIP,
RDMA, RPC, NFS, ...

Advantages comes from the removal of error detection, error recovery, flow
control, multi-homing, session recovery, anti-spoofing, anti-DoS, and
independent delivery become common among all of these protocols as well as
many more to come.  The movement to SCTP then is painless.  As it is now,
iSCSI can not meet the SAM-2 requirement and needs renovation due to this
short-coming.  SCTP structures again provides a solution here as well.

iSCSI, iFCP, FCIP, and RDMA could stop looking for a record offload scheme
for TCP.  This record based offload becomes SCTP structure based to create a
common structure.  The SCTP common header could become a TCP option to allow
for negotiation.

I do not see why this subject should not be discussed on IPS as it relates
directly to those protocols that are presently advocating modified network
adapters.  The only aspect that I was requesting was the iSCSI requirements
document adds a requirement to seek this common structure for hardware
support.  You say it is not practical.  I differ with that opinion.

Doug

> > I'll stand by the stated intent of implementing this protocol
> > in hardware.  The same is also true for iFCP and FCIP.
>
> I never questioned the fact that there will be hardware implementations.
> It still appears to me that no change to the iSCSI requirements document
> is needed to deal with this set of issues.  I am strongly opposed
> to linking iSCSI specification development to FCIP and iFCP in a fashion
> that would require all three to be submitted to the IESG as a single set
> of documents.
>
> > Here IPS is developing a framing protocol that increases the level of
> > error detection.
>
> I'm sorry, but that's incorrect, because the IPS WG is not developing
> any framing protocol.  draft-williams-tcpulpframe-01.txt and
> draft-otis-tcp-framing-00.txt are both TSVWG drafts, not IPS drafts.
> TSVWG is the right place to work on these sorts of common framing
> mechanisms, and how that work is pursued is at the discretion and
> judgement of TSVWG and its chairs.
>
> > The IPS has made explicit reference to these intentions of
> > having this protocol supported directly in hardware.  I will be happy to
> > show how this protocol can be mapped into a common structure which would
> > avail more protocols to this hardware acceleration at the same time ease
> > the transition to SCTP.
>
> The first step of submitting draft-otis-tcp-framing-00.txt has been taken
> (thank you) and the IPS WG will observe and follow what is done in this
> area by TSVWG.
>
> Further discussion of framing belongs on the TSVWG list, not IPS.
>
> Thanks,
> --David
>
> ---------------------------------------------------
> David L. Black, Senior Technologist
> EMC Corporation, 42 South St., Hopkinton, MA  01748
> +1 (508) 435-1000 x75140     FAX: +1 (508) 497-8500
> black_david@emc.com       Mobile: +1 (978) 394-7754
> ---------------------------------------------------
>
> > David,
>
> Thanks for the url correction for the document.  Although I posted this
> document 4 days ago, it still has not been published as an I-D.  Here is a
> reference to it until then.
> http://ips.pdl.cs.cmu.edu/mail/msg04238.html
>
> I'll stand by the stated intent of implementing this protocol in hardware.
> The same is also true for iFCP and FCIP.
>
> Page 8 of the requirements document:
>     "(2)  Development of Ethernet storage NICs and related driver and
>          protocol software; [NOTE: high-speed applications of iSCSI are
>          expected to require significant portions of the iSCSI/TCP/IP
>          implementation in hardware to achieve the necessary
>          throughput.]"
>
> Page 11:
>   "2.3. Framing
>
>    Framing refers to the addition of information in a header, or the
>    data stream to allow implementations to locate the boundaries of an
>    iSCSI protocol data unit (PDU) within the TCP byte stream.  There
>    are two technical requirements driving framing: interfacing needs,
>    and accelerated processing needs.
>
>    A framing solution that addresses the "interfacing needs" of the
>    iSCSI protocol will facilitate the implementation of a message-based
>    upper layer protocol (iSCSI) on top of an underlying byte streaming
>    protocol (TCP).  Since TCP is a reliable transport, this can be
>    accomplished by including a length field in the iSCSI header.
>    Finding the protocol frame assumes that the receiver will parse from
>    the beginning of the TCP data stream, and never make a mistake (lose
>    alignment on packet headers).
>
>    The other technical requirement for framing, "accelerated
>    processing", stems from the need to handle increasingly higher data
>    rates in the physical media interface.  Two needs arise from higher
>    data rates:
>
>    (1)  LAN environment - NIC vendors seek ways to provide "zero-copy"
>         methods of moving data directly from the wire into application
>         buffers.
>
>    (2)  WAN environment- the emergence of high bandwidth, high latency,
>         low bit error rate physical media places huge buffer
>         requirements on the physical interface solutions.
>
>    First, vendors are producing network processing hardware that
>    offloads network protocols to hardware solutions to achieve higher
>    data rates.  The concept of "zero-copy" seeks to store blocks of
>    data in appropriate memory locations (aligned) directly off the
>    wire, even in when data is reordered due to packet loss.  This is
>    necessary to drive actual data rates of 10 Gigabits and beyond.
>
>    Secondly, in order for iSCSI to be successful in the WAN arena it
>    MUST be possible to operate efficiently in high bandwidth, high
>    delay networks.  The emergence of multi-gigabit IP networks with
>    latencies in the tens to hundreds of milliseconds presents a
>    challenge. To fill such large pipes, tens of megabytes of
>    outstanding requests from the application are needed. In addition,
>    some protocols potentially require tens of megabytes at the
>    transport layer to deal with buffering for reassembly of data when
>    packets are received out-of-order.
>
>    Consider that a network pipe at 10 Gbps x 200 msec holds 250 MB.
>    [Assume land-based communication with a spot half way around the
>    world at the equator.  Ignore additional distance due to cable
>    routing.  Ignore repeater and switching delays; consider only a
>    speed-of-light delay of 5 microsec/km.  The circumference of the
>    globe at the equator is approx. 40000 km (round-trip delay must be
>    considered to keep the pipe full).  10 Gb/sec x 40000 km x 5
>    microsec/km x B / 8b = 250 MB].  In a conventional TCP
>    implementation, loss of a TCP segment means that stream processing
>    MUST stop until that segment is recovered, which takes at least a
>    time of <network round trip> to accomplish.  Following the example
>    above, an implementation would be obliged to catch 250 MB of data
>    into an anonymous buffer before resuming stream processing; later,
>    this data would need to be moved to its proper location.  Some
>    proponents of iSCSI seek some means of putting data directly where
>    it belongs, and avoiding extra data movement in the case of segment
>    drop.  This is a key concept in understanding the debate behind
>    framing methodologies.
>
>    The framing of the iSCSI protocol impacts both the "interfacing
>    needs" and the "accelerated processing needs", however, while
>    including a length in a header may suffice for the "interfacing
>    needs", it will not serve the "accelerated processing needs". The
>    framing mechanism developed should allow resynchronization of packet
>    boundaries even in the case where a packet is temporarily missing in
>    the incoming data stream."
>
>
> Here IPS is developing a framing protocol that increases the
> level of error
> detection.  The IPS has made explicit reference to these intentions of
> having this protocol supported directly in hardware.  I will be happy to
> show how this protocol can be mapped into a common structure which would
> avail more protocols to this hardware acceleration at the same
> time ease the
> transition to SCTP.
>
> Although I may upset some with this message, I feel this is a
> pivotal point
> in time.  Yes, it is possible to support this protocol in
> software, but not
> at competitive data rates.  Of this you should be clear.  At this point in
> time, with the iSCSI protocol in flux, it is impossible to make
> hardware for
> this protocol.  With a minor amount of effort, this protocol
> could be placed
> into a common format.  This becomes an architectural decision.  This is a
> profound decision as it will determine the number of adapters needed by
> systems to support these various protocols.  A decision that will
> impact the
> next decade and likely influence networking profoundly.  These
> are not just
> protocols.  You are attempting to redefine the nature of the network
> adapter.
>
> Presently you wish to see this done in a haphazard manner without any
> coordination by the IETF.  This attitude does not reflect the magnitude of
> this endeavor.  Frankly, had the IPS followed the efforts of the sigtran
> group, there could have been and will be considerable time saved.
>  As it is
> now, we are readopting multi-connection protocols with unique SACK packet
> schemes, error handling etc.  In other words, re-inventing SCTP.  It took
> them more than 2 years to get SCTP where they are now and it is
> in suitable
> form for generic use.  If the effort is to use TCP, I can show
> how that can
> be done as well by adopting SCTP structures.  iSCSI, RDMA, iFCP, and FCIP
> should not need special devices made as a result of wanting improved error
> detection, framing and data vectoring.  This is not rocket
> science, but not
> using a common format makes it an adapter zoo.
>
> Doug
>
>
> David Black wrote:
> > > This requirements document makes it clear there is expectation of
> > > modifying Ethernet adapters to support this protocol.  Should this
> > > required hardware support be made in a general fashion to allow
> > > common use among other protocols?
> >
> > There are at least two announced iSCSI products and
> > an open source driver that do not require any
> > modifications to existing Ethernet adapters,
> > so such modifications are clearly not a requirement.
> >
> > > This hardware requirement is primarily based on two
> > > requirements, to increase the level of error detection and to allow
> > > framing.
> >
> > Error detection (i.e., CRC or checksum) can be done in
> > software as Doug has frequently pointed out on this list.
> > I don't think the statement about IPS and TSVWG pursuing
> > a common error detection algorithm is correct -- while
> > I'll defer to the ADs (who are the chairs of TSVWG), I
> > believe TSVWG has significant interest in an improved
> > checksum (e.g., Adler-32 based on adding 16-bit quantities
> > instead of 8-bit), whereas IPS intends to use CRCs.
> >
> > Framing is optional and being pursued in a layered fashion
> > as called for by the WG charter.  The instructions in
> > the WG charter should be sufficient - adding text to the
> > iSCSI requirements document that introduces otherwise
> > unneeded dependencies on other protocol specification
> > efforts (i.e., iFCP, FCIP) is a bad idea.  Heaven help
> > us if we have to submit all the protocol drafts for the
> > IPS WG to the IESG in one big bundle - at the very least
> > the IESG will be annoyed, and annoying the IESG has all
> > sorts of bad side effects ;-).
> >
> > I don't see that any change to the iSCSI requirements draft
> > is needed in either of these areas based on this set of
> > comments.
> >
> > Doug also posted a pointer to the wrong draft - I suspect
> > he meant to point to draft-otis-tcp-framing-00.txt.
> >
> > --David
> >
> > ---------------------------------------------------
> > David L. Black, Senior Technologist
> > EMC Corporation, 42 South St., Hopkinton, MA  01748
> > +1 (508) 435-1000 x75140     FAX: +1 (508) 497-8500
> > black_david@emc.com       Mobile: +1 (978) 394-7754
> > ---------------------------------------------------
> >
> >
> > > -----Original Message-----
> > > From:	Douglas Otis [SMTP:dotis@sanlight.net]
> > > Sent:	Monday, April 23, 2001 4:15 PM
> > > To:	KRUEGER,MARJORIE (HP-Roseville,ex1); Ips Reflector (E-mail)
> > > Cc:	Allison Mankin; David Black; Elizabeth G Rodriguez
> (Elizabeth);
> > > Scott Bradner
> > > Subject:	RE: I-D ACTION:draft-ietf-ips-iscsi-reqmts-03.txt
> > >
> > > Marjorie,
> > >
> > > This requirements document makes it clear there is expectation of
> > > modifying Ethernet adapters to support this protocol.  Should this
> > > required hardware support be made in a general fashion to allow
> > > common use among other protocols?  This hardware requirement is
> > > primarily based on two requirements, to increase the level of error
> > > detection and to allow framing.  Presently, IETF supports a framing
> > > protocol that also increases the level of error detection.
> > >
> > > Presently TSVWG and IPS are working on a common error detection
> > > algorithm.  In addition, there are two other protocols expecting
> > > hardware for framing and error detection.  This is iFCP and FCIP.
> > >
> > > See:
> http://www.ietf.org/internet-drafts/draft-ietf-ips-fcencapsulation-00.txt
> >
> > > It is possible to have all these protocols use the same error
> > > detection and framing.  If this MUST be done using TCP, as this
> > > requirement document demands, then here is a possible general
> > > propose header that would allow common use of hardware and a
> > > easy transition into SCTP.
> >
> > > I will be happy to define a mapping from the present
> > > protocols into this generalized form.  The advantage should be
> > > obvious.  One Ethernet adapter can handle these various protocols
> > > without specialized hardware for each.
> >
> > > For those wishing to update and route based on encapsulated headers, a
> > > fix-up field at the end of these headers will allow use of a common
> > > error scheme using header fix-up.
> >
> > > Here is an example of how TCP can be made to look like SCTP.
> http://www.ietf.org/internet-drafts/draft-otis-iscsi-fullack-00.txt
> > >
> > > This header could become a TCP option field to allow for negotiation.
> > >
> > > P.S.
> > > One additional question however.
> > >
> > > On page 18,
> > >  "The iSCSI protocol document SHOULD NOT define the management
> > >  architecture for iSCSI within the network infrastructure."
> > >
> > > What does this mean?
> > >
> > > Doug
> > >
> > >
> > > > The IP Storage Working group is chartered with developing
> > > > comprehensive technology to transport block storage data
> > > > over IP protocols.  This effort includes a protocol to
> > > > transport the Small Computer Systems Interface (SCSI)
> > > > protocol over the internet (iSCSI).
> > > >
> > > > A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-ietf-ips-iscsi-reqmts-03.txt
> > > >



_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Wed Apr 25 12:12:49 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA21332
	for <tsvwg-archive@odin.ietf.org>; Wed, 25 Apr 2001 12:12:49 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA00147;
	Wed, 25 Apr 2001 12:08:11 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA00116
	for <tsvwg@ns.ietf.org>; Wed, 25 Apr 2001 12:08:05 -0400 (EDT)
Received: from ilsa.franken.de (ilsa.franken.de [193.175.24.42])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA21117
	for <tsvwg@ietf.org>; Wed, 25 Apr 2001 12:08:03 -0400 (EDT)
Received: by ilsa.franken.de (Smail3.2 #1)
	id m14sRpi-000VYyC; Wed, 25 Apr 2001 18:08:02 +0200 (CEST)
Received: from UNKNOWN(193.174.2.75), claiming to be "micmac.franken.de"
 via SMTP by ilsa.franken.de, id smtpdkAoVv0; Wed Apr 25 18:07:56 2001
Message-ID: <3AE6F681.EFFE1C51@micmac.franken.de>
Date: Wed, 25 Apr 2001 18:08:32 +0200
From: Michael =?iso-8859-1?Q?T=FCxen?= <Michael.Tuexen@micmac.franken.de>
Reply-To: Michael.Tuexen@micmac.franken.de
X-Mailer: Mozilla 4.76C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: tsvwg@ietf.org, sigtran@standards.nortelnetworks.com,
        "Ong, Lyndon" <LyOng@ciena.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] 3rd SCTP bakeoff
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Dear all,

during this week the 3rd SCTP bakeoff is happening. It is hosted by
ETSI in Sofia Antipolis, France.

19 companies and 34 participants showed up and are testing their 
SCTP implementations.

The testing is going very well and almost all features of SCTP are
being tested. The only one not tested is the hostname in the INIT.
Some implementations claim that they can process it but no implementation
is sending it.

The testnetwork runs IPv4 and IPv6. So SCTP/IPv6 is tested the first time
at a bakeoff. The only issue with the RFC found until now is the handling
of IPv6 addresses in the INIT and INIT-ACK. The questions which have
to be answered are for example: 

- What to do with site local addresses when the INIT come from a global one?
- What to do with a link local address?
- When do you send various types of address formats in v6?

There are more situations, but these are just a few...

There will be a ID describing two solutions we discussed at the bakeoff
and this can be used as a basis for a discussion.

Best regards and happy SCTPing

Michael Tuexen
      &
Randall Stewart

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 26 04:37:44 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA26236
	for <tsvwg-archive@odin.ietf.org>; Thu, 26 Apr 2001 04:37:44 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id EAA19942;
	Thu, 26 Apr 2001 04:30:39 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id EAA19912
	for <tsvwg@ns.ietf.org>; Thu, 26 Apr 2001 04:30:37 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com ([171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA26138
	for <tsvwg@ietf.org>; Thu, 26 Apr 2001 04:30:36 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-1.cisco.com (8.11.3/8.9.1) with ESMTP id f3Q8OFL29483;
	Thu, 26 Apr 2001 01:24:15 -0700 (PDT)
Received: from cisco.com (ssh-sj1.cisco.com [171.68.225.134])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AED16976 (AUTH rrs);
	Thu, 26 Apr 2001 01:24:06 -0700 (PDT)
Message-ID: <3AE7DB24.7AECE222@cisco.com>
Date: Thu, 26 Apr 2001 03:24:04 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
CC: Chip Sharp <chsharp@cisco.com>, ips@ece.cmu.edu,
        Craig Partridge <craig@aland.bbn.com>,
        Jonathan Stone <jonathan@dsg.stanford.edu>
Subject: Re: [Tsvwg] [SCTP checksum problems]
References: <499DC368E25AD411B3F100902740AD65BC5AC0@xrose03.rose.hp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Jim:

I am glad you copied me on this.. since being at the bakeoff and with
the
recent email/site problems I have.. I do not get IETF mail until next
week :0

Now, some comments...


My major concern is that SCTP's checksum is weaker than TCP.What the
upper layers do to defend against middle boxes etc they will need to
do anyway. I have just ran a few numbers using the sctp_test_app in
the reference implementation.

I did the following:

Compiled the normal ref-imp with -O -pg

started two endpoints on the same machine (freeBSD intel/sony vio
PCG-Z505JS), this
of course has my SCTP kernel patches applied ...

Now I setup an association between two endpoints and did

bulk:100:0:1000000

This transfers 1 Million 100 byte packets holding ascii data from one
endpoint to the other. 

I then captured the gprof information for this run.

I did the same exact test after changing the checksum to crc32 and the
modified
adler32 (16 bit sums).

My results (not meant to show strength in catching errors but instead
performance
of a software version of the sum) are as follows:

Adler 32... 

Sender side and Receiver side Avereage time spent in the checksum
routine per
call was 121 nano seconds.

Adler 32 Modified

Sender side and Receiver side Average time spent in the checksum routine
per
call was 90 nano seconds.

CRC32

Sender side average time spent in the checksum calculation per packet
was
5.3 micro seconds

Recevier side average time spent in the checksum calculation per packet
was
5.9 micro seconds.

I believe the differences seen in the CRC32 can be attributed to how
lucky the
repsective application is in finding the index table (the ssh_crc32
found in
FreeBSD) in the processor cache. If I run the CRC comparision with just
random
data in a stand alone program (very unrealistic) crc32 outperforms all
others but
this is because the table get completely pre-fetched into cache and is
never 
pulled from main memory... (I started here and then realized the only
way to
get good information is to do it in a real implementation where a lot of
other
code would run between crc calls).

So on that note... I vote STRONGLY for Modified Adler32... i.e. same as
regular
adler but make the quantities added be 16 bit sums...

I think this will take care of the critical problem i.e. the weakness in
the
SCTP checksum for small packets... Jonathan/Craig any comments or
questions...

And yess... I am working on getting things ran on a sparc box but the
only on
we have here is a sparc20... so the numbers definetly can NOT be
compared to anything
else...

R




"WENDT,JIM (HP-Roseville,ex1)" wrote:
> 
> I think this "SCTP checksum" thread spanning IPS and TSVWG was for
> discussion around whether or not iSCSI (running over SCTP) could forgo data
> integrity checking and transport-like functionality (retransmission, ack,
> etc) should SCTP provide a sufficiently strong check-code.
> If iSCSI were willing to completely trust SCTP end-to-end across a network
> fabric (including "middleboxes"), then that provides one reason for SCTP to
> adopt a stronger checksum or CRC.
> If iSCSI will still implement its own data integrity check-code above SCTP,
> then SCTP needs to make an independent decision on whether its current
> check-code is sufficiently strong for its target uses.
> Currently, iSCSI contains a data integrity check "digest" that can be
> negotiated end-to-end to be disabled on a per-connection basis.
> 
> This discussion begs a few questions:
> - Are there clearly different classes of applications (in regards to their
> end-to-end data integrity strength needs)?
> - How are these application classes' end-to-end data integrity needs meet in
> the future?  Is it SCTP, IPSec, application-specific protocol, a new
> protocol?
> - Is there a general need for strong end-to-end data integrity that could be
> provided for in a recommended generic manner?
> - Is iSCSI unique in being an "ultra-low error rate application" and should
> iSCSI then handle its own data integrity?
> - Should SCTP strengthen its checksum to meet the needs of a general class
> of data-criticial applications, and/or provide a means for negotiating an
> optional stronger checksum?
> - What is the role of network infrastructure (router/middlebox hardware and
> software) in strengthening end-to-end data integrity?
> 
> Data integrity for iSCSI over TCP is a separate issue. It is unlikely that
> we will be able to evolve TCP in a timely manner to utilize a stronger
> check-code given TCP's current wide scale deployment (although adding a
> stronger checksum/CRC to TCP would seem to be the best solution). So,
> something else has to be done either above or below TCP to provide the
> required level of iSCSI data integrity. Of course, if TCP's data integrity
> deficiency is impacting other data-critical applications, then it seems
> prudent to at least consider solving the problem generically.
> 
> Jim
> 
> > -----Original Message-----
> > From: julian_satran@il.ibm.com [mailto:julian_satran@il.ibm.com]
> > Sent: Friday, April 20, 2001 1:02 AM
> > To: Chip Sharp
> > Cc: vince_cavanna@agilent.com; steph@cs.uchicago.edu; WENDT,JIM
> > (HP-Roseville,ex1); ips@ece.cmu.edu; tsvwg@ietf.org;
> > craig@aland.bbn.com; Jonathan.Wood@sun.com; xieqb@cig.mot.com;
> > jonathan@dsg.stanford.edu; rrs@cisco.com
> > Subject: RE: [Tsvwg] [SCTP checksum problems]
> >
> >
> >
> >
> > Chip,
> >
> > CRC s are not meant to protect against malicious middle boxes
> > - rather on
> > boxes that strip the strong link CRCs and
> > let the end-system rely on the weak TCP checksum.
> >
> > NAT boxes have good reason to recompute TCP checksums, but
> > unless they are
> > malicious no reason to recompute iSCSI CRCs.
> >
> > And against malicious boxes iSCSI has cryptographic digests
> > as options.
> >
> > And I was not aware that we are discussing - in this forum -
> > iSCSI data
> > integrity options.
> >
> > Julo
> >
> > Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53
> >
> > Please respond to Chip Sharp <chsharp@cisco.com>
> >
> > To:   vince_cavanna@agilent.com
> > cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com,
> > jim_wendt@hp.com,
> >       Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
> >       craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
> >       jonathan@dsg.stanford.edu, rrs@cisco.com
> > Subject:  RE: [Tsvwg] [SCTP checksum problems]
> >
> >
> >
> >
> > As was pointed out previously, middle box operations (such as
> > NATs) tend to
> > creep up the protocol stack and into applications.
> >
> > Take SIP for example.  It includes IP addresses in its
> > INVITE.  In order to
> > work across a NAT, the IP addresses it exchanges have to be
> > replaced with
> > the NATed address.  One way is for the NAT to reach up into
> > the SIP INVITE
> > and change the address.  This modifies the TCP or UDP
> > checksum.  Now SIP
> > could have included its own integrity check to protect
> > against corrupted or
> > modified TCP checksums, but all that would have happened is
> > that NATs would
> > have changed the SIP checksum in addition to the TCP/UDP checksum.
> >
> > Therefore, even if iSCSI included its own integrity check, if
> > a middle box
> > is going to futz with iSCSI packets it will just strip the check, do
> > whatever it does and then recalculate the check.
> >
> > If this is what you want to protect against you will have to
> > go to some
> > type of digital signature.
> >
> > At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
> > >Stephen,
> > >
> > >I have to admit that I do not have much direct experience with middle
> > boxes,
> > >BUT I did have fairly direct and recent experience with a popular NAT
> > router
> > >from a popular vendor that was corrupting data in a network of
> > Macintoshes.
> > >
> > >Apple's TCP was unaware of any problem as was Apple's Filing
> > Protocol and
> > >most applications. The only applications that detected the
> > corruption were
> > >those that performed an integrity check of their own. Those
> > applications
> > >that assumed a reliable transport (and file system) were doomed to
> > >experiencing the indirect effects of the corruption at some
> > later time.
> > The
> > >corruption only happened when large amounts of data were transferred
> > >quickly.  The router vendor fixed the problem once; then
> > fixed it again;
> > >then fixed it one last time before the data corruption finally
> > >"disappeared". After several weeks of continuous operation the router
> > >appeared to get into a mode where it was once again
> > corrupting data. Power
> > >cycling the router "fixed it". The story apparently has not
> > yet ended.
> > >
> > >I admit I may have given too much significance to this
> > single incident
> > that
> > >I have personally experienced but on the other hand I don't see the
> > >mechanisms in place to prevent this type of problem in the
> > future other
> > than
> > >the end to end integrity checks.
> > >
> > >Incidentally this incident change my behavior when
> > transferring data over
> > a
> > >network. I will always use a compression utility; not only
> > for reducing
> > the
> > >data to be transmitted but to ensure the integrity of my
> > data is protected
> > >end to end by the utility's CRC mechanism.
> > >
> > >I believe quite firmly that we DO need a mechanism to allow
> > us to tolerate
> > >poor implementations of middle boxes and cannot simply hope that
> > eventually
> > >such poor implementations will vanish, nor that we will have
> > the luxury of
> > >being able to select only good implementations for every
> > component of our
> > >storage network.
> > >
> > >Vince
> > >
> > >|-----Original Message-----
> > >|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
> > >|Sent: Wednesday, April 18, 2001 3:09 PM
> > >|To: CAVANNA,VICENTE V (A-Roseville,ex1)
> > >|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
> > >|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
> > >|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
> > >|Subject: Re: [Tsvwg] [SCTP checksum problems]
> > >|
> > >|
> > >|Vince,
> > >|
> > >|> I don't think iSCSI can be completely relieved of performing
> > >|some data
> > >|> integrity checking as long as there exists the possibility
> > >|of "middle boxes"
> > >|> opening up the transport protocol's packet and thus
> > >|potentially invalidating
> > >|> any reliability guarantees the transport protocol makes.
> > >|
> > >|Any protection provided against this failure mode will only be
> > >|transient, so we must temper the desire to introduce such a
> > >|requirement with reality.
> > >|
> > >|Middleboxes can just as easily open up to the iSCSI layer and tinker
> > >|with the payload, as they do with other ULPs running on TCP
> > (e.g HTTP)
> > >|today.  Short of securing the connection, there is ALWAYS a
> > >|possibility of a middlebox terminating and reoriginating an
> > integrity
> > >|check.  In case you think this is a farfetched scenario, I
> > do get the
> > >|impression that there is a high level of interest in `actively
> > >|middling' iSCSI once the specs crystalize.  Who shaves the barber?
> > >|
> > >|An integrity check is not necessary as long as some lower layer
> > >|provides adequate integrity guarantees.
> > >|
> > >|Adding an integrity check above the transport layer is based upon
> > >|documentation of the presence of a lot of crappy network
> > hardware and
> > >|software and analyses of the transport integrity check (TCP
> > checksum)
> > >|which suggests it might not be adequately strong against some such
> > >|observed errors.
> > >|
> > >|I claim that the high incidence of `broken' (corruption introducing)
> > >|components is a result of a variety of factors which have shaped the
> > >|development of network components thus far.  The fact that integrity
> > >|checks are assumed to be performed in a network context
> > substantially
> > >|lowers the bar for implementation correctness.
> > >|
> > >|In a storage (or CPU) context, these types of implementation errors
> > >|are a) more easily detectable (more fatal) b) more carefully avoided
> > >|during implementation (because of the cost of a potential fatal
> > >|error).  If network components magically reached the same `quality
> > >|level' as storage and CPU components, there might be no
> > justification
> > >|for additional integrity checks above the transport.
> > Similarly if the
> > >|transport (or whatever lower layer) integrity checks are very strong
> > >|(e.g. IPSec), there is, again, no need for a higher level integrity
> > >|check.
> > >|
> > >|I am not disagreeing that we need an additional integrity check over
> > >|TCP in the present target environment, but I do disagree that iSCSI
> > >|will always need such a check, independently of what is running
> > >|beneath it.
> > >|
> > >|Steph
> > >|
> >
> >
> > -------------------------------------------------------------------
> > Chip Sharp                       Consulting Engineering
> > Cisco Systems
> > -------------------------------------------------------------------
> >
> >
> >
> >

-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Thu Apr 26 15:17:47 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA16684
	for <tsvwg-archive@odin.ietf.org>; Thu, 26 Apr 2001 15:17:46 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA28611;
	Thu, 26 Apr 2001 15:09:11 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA28580
	for <tsvwg@ns.ietf.org>; Thu, 26 Apr 2001 15:09:08 -0400 (EDT)
Received: from gateway.sanlight.org (adsl-63-202-160-80.dsl.snfc21.pacbell.net [63.202.160.80])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA16369
	for <tsvwg@ietf.org>; Thu, 26 Apr 2001 15:09:06 -0400 (EDT)
Received: from ljoy (10.0.0.18.lan.sanlight.net [10.0.0.18])
	by gateway.sanlight.org (8.11.0/8.11.0) with SMTP id f3QKFp133786;
	Thu, 26 Apr 2001 13:15:51 -0700 (PDT)
	(envelope-from dotis@sanlight.net)
From: "Douglas Otis" <dotis@sanlight.net>
To: "Randall Stewart" <rrs@cisco.com>, <tsvwg@ietf.org>
Cc: "Chip Sharp" <chsharp@cisco.com>, <ips@ece.cmu.edu>,
        "Craig Partridge" <craig@aland.bbn.com>,
        "Jonathan Stone" <jonathan@dsg.stanford.edu>
Subject: RE: [Tsvwg] [SCTP checksum problems]
Date: Thu, 26 Apr 2001 12:05:54 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJMEODCGAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <3AE7DB24.7AECE222@cisco.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 8bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 8bit

Randall,

I suspected the dismal results of your CRC algorithm was due to the use of a
16 bit lookup rather than an 8 bit lookup but upon checking the code, I
found they had used an 8 bit lookup.  Based on estimates that I made,
conversion to an 8 bit with an immediate table should give results in the
neighborhood of 400 nanoseconds versus the 90 nanoseconds for the modified
Adler.  Your 5900 nanoseconds result being 15 times greater is likely due to
cache misses as you suspected.  Obviously there is more to consider with
respect to table driven algorithms as it seems as if you are running 120
instructions per byte.

Doug

> Jim:
>
> I am glad you copied me on this.. since being at the bakeoff and with
> the
> recent email/site problems I have.. I do not get IETF mail until next
> week :0
>
> Now, some comments...
>
>
> My major concern is that SCTP's checksum is weaker than TCP.What the
> upper layers do to defend against middle boxes etc they will need to
> do anyway. I have just ran a few numbers using the sctp_test_app in
> the reference implementation.
>
> I did the following:
>
> Compiled the normal ref-imp with -O -pg
>
> started two endpoints on the same machine (freeBSD intel/sony vio
> PCG-Z505JS), this
> of course has my SCTP kernel patches applied ...
>
> Now I setup an association between two endpoints and did
>
> bulk:100:0:1000000
>
> This transfers 1 Million 100 byte packets holding ascii data from one
> endpoint to the other.
>
> I then captured the gprof information for this run.
>
> I did the same exact test after changing the checksum to crc32 and the
> modified
> adler32 (16 bit sums).
>
> My results (not meant to show strength in catching errors but instead
> performance
> of a software version of the sum) are as follows:
>
> Adler 32...
>
> Sender side and Receiver side Avereage time spent in the checksum
> routine per
> call was 121 nano seconds.
>
> Adler 32 Modified
>
> Sender side and Receiver side Average time spent in the checksum routine
> per
> call was 90 nano seconds.
>
> CRC32
>
> Sender side average time spent in the checksum calculation per packet
> was
> 5.3 micro seconds
>
> Recevier side average time spent in the checksum calculation per packet
> was
> 5.9 micro seconds.
>
> I believe the differences seen in the CRC32 can be attributed to how
> lucky the
> repsective application is in finding the index table (the ssh_crc32
> found in
> FreeBSD) in the processor cache. If I run the CRC comparision with just
> random
> data in a stand alone program (very unrealistic) crc32 outperforms all
> others but
> this is because the table get completely pre-fetched into cache and is
> never
> pulled from main memory... (I started here and then realized the only
> way to
> get good information is to do it in a real implementation where a lot of
> other
> code would run between crc calls).
>
> So on that note... I vote STRONGLY for Modified Adler32... i.e. same as
> regular
> adler but make the quantities added be 16 bit sums...
>
> I think this will take care of the critical problem i.e. the weakness in
> the
> SCTP checksum for small packets... Jonathan/Craig any comments or
> questions...
>
> And yess... I am working on getting things ran on a sparc box but the
> only on
> we have here is a sparc20... so the numbers definetly can NOT be
> compared to anything
> else...
>
> R
>
>
>
>
> "WENDT,JIM (HP-Roseville,ex1)" wrote:
> >
> > I think this "SCTP checksum" thread spanning IPS and TSVWG was for
> > discussion around whether or not iSCSI (running over SCTP)
> could forgo data
> > integrity checking and transport-like functionality
> (retransmission, ack,
> > etc) should SCTP provide a sufficiently strong check-code.
> > If iSCSI were willing to completely trust SCTP end-to-end
> across a network
> > fabric (including "middleboxes"), then that provides one reason
> for SCTP to
> > adopt a stronger checksum or CRC.
> > If iSCSI will still implement its own data integrity check-code
> above SCTP,
> > then SCTP needs to make an independent decision on whether its current
> > check-code is sufficiently strong for its target uses.
> > Currently, iSCSI contains a data integrity check "digest" that can be
> > negotiated end-to-end to be disabled on a per-connection basis.
> >
> > This discussion begs a few questions:
> > - Are there clearly different classes of applications (in
> regards to their
> > end-to-end data integrity strength needs)?
> > - How are these application classes' end-to-end data integrity
> needs meet in
> > the future?  Is it SCTP, IPSec, application-specific protocol, a new
> > protocol?
> > - Is there a general need for strong end-to-end data integrity
> that could be
> > provided for in a recommended generic manner?
> > - Is iSCSI unique in being an "ultra-low error rate
> application" and should
> > iSCSI then handle its own data integrity?
> > - Should SCTP strengthen its checksum to meet the needs of a
> general class
> > of data-criticial applications, and/or provide a means for
> negotiating an
> > optional stronger checksum?
> > - What is the role of network infrastructure (router/middlebox
> hardware and
> > software) in strengthening end-to-end data integrity?
> >
> > Data integrity for iSCSI over TCP is a separate issue. It is
> unlikely that
> > we will be able to evolve TCP in a timely manner to utilize a stronger
> > check-code given TCP's current wide scale deployment (although adding a
> > stronger checksum/CRC to TCP would seem to be the best solution). So,
> > something else has to be done either above or below TCP to provide the
> > required level of iSCSI data integrity. Of course, if TCP's
> data integrity
> > deficiency is impacting other data-critical applications, then it seems
> > prudent to at least consider solving the problem generically.
> >
> > Jim
> >
> > > -----Original Message-----
> > > From: julian_satran@il.ibm.com [mailto:julian_satran@il.ibm.com]
> > > Sent: Friday, April 20, 2001 1:02 AM
> > > To: Chip Sharp
> > > Cc: vince_cavanna@agilent.com; steph@cs.uchicago.edu; WENDT,JIM
> > > (HP-Roseville,ex1); ips@ece.cmu.edu; tsvwg@ietf.org;
> > > craig@aland.bbn.com; Jonathan.Wood@sun.com; xieqb@cig.mot.com;
> > > jonathan@dsg.stanford.edu; rrs@cisco.com
> > > Subject: RE: [Tsvwg] [SCTP checksum problems]
> > >
> > >
> > >
> > >
> > > Chip,
> > >
> > > CRC s are not meant to protect against malicious middle boxes
> > > - rather on
> > > boxes that strip the strong link CRCs and
> > > let the end-system rely on the weak TCP checksum.
> > >
> > > NAT boxes have good reason to recompute TCP checksums, but
> > > unless they are
> > > malicious no reason to recompute iSCSI CRCs.
> > >
> > > And against malicious boxes iSCSI has cryptographic digests
> > > as options.
> > >
> > > And I was not aware that we are discussing - in this forum -
> > > iSCSI data
> > > integrity options.
> > >
> > > Julo
> > >
> > > Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53
> > >
> > > Please respond to Chip Sharp <chsharp@cisco.com>
> > >
> > > To:   vince_cavanna@agilent.com
> > > cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com,
> > > jim_wendt@hp.com,
> > >       Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
> > >       craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
> > >       jonathan@dsg.stanford.edu, rrs@cisco.com
> > > Subject:  RE: [Tsvwg] [SCTP checksum problems]
> > >
> > >
> > >
> > >
> > > As was pointed out previously, middle box operations (such as
> > > NATs) tend to
> > > creep up the protocol stack and into applications.
> > >
> > > Take SIP for example.  It includes IP addresses in its
> > > INVITE.  In order to
> > > work across a NAT, the IP addresses it exchanges have to be
> > > replaced with
> > > the NATed address.  One way is for the NAT to reach up into
> > > the SIP INVITE
> > > and change the address.  This modifies the TCP or UDP
> > > checksum.  Now SIP
> > > could have included its own integrity check to protect
> > > against corrupted or
> > > modified TCP checksums, but all that would have happened is
> > > that NATs would
> > > have changed the SIP checksum in addition to the TCP/UDP checksum.
> > >
> > > Therefore, even if iSCSI included its own integrity check, if
> > > a middle box
> > > is going to futz with iSCSI packets it will just strip the check, do
> > > whatever it does and then recalculate the check.
> > >
> > > If this is what you want to protect against you will have to
> > > go to some
> > > type of digital signature.
> > >
> > > At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
> > > >Stephen,
> > > >
> > > >I have to admit that I do not have much direct experience with middle
> > > boxes,
> > > >BUT I did have fairly direct and recent experience with a popular NAT
> > > router
> > > >from a popular vendor that was corrupting data in a network of
> > > Macintoshes.
> > > >
> > > >Apple's TCP was unaware of any problem as was Apple's Filing
> > > Protocol and
> > > >most applications. The only applications that detected the
> > > corruption were
> > > >those that performed an integrity check of their own. Those
> > > applications
> > > >that assumed a reliable transport (and file system) were doomed to
> > > >experiencing the indirect effects of the corruption at some
> > > later time.
> > > The
> > > >corruption only happened when large amounts of data were transferred
> > > >quickly.  The router vendor fixed the problem once; then
> > > fixed it again;
> > > >then fixed it one last time before the data corruption finally
> > > >"disappeared". After several weeks of continuous operation the router
> > > >appeared to get into a mode where it was once again
> > > corrupting data. Power
> > > >cycling the router "fixed it". The story apparently has not
> > > yet ended.
> > > >
> > > >I admit I may have given too much significance to this
> > > single incident
> > > that
> > > >I have personally experienced but on the other hand I don't see the
> > > >mechanisms in place to prevent this type of problem in the
> > > future other
> > > than
> > > >the end to end integrity checks.
> > > >
> > > >Incidentally this incident change my behavior when
> > > transferring data over
> > > a
> > > >network. I will always use a compression utility; not only
> > > for reducing
> > > the
> > > >data to be transmitted but to ensure the integrity of my
> > > data is protected
> > > >end to end by the utility's CRC mechanism.
> > > >
> > > >I believe quite firmly that we DO need a mechanism to allow
> > > us to tolerate
> > > >poor implementations of middle boxes and cannot simply hope that
> > > eventually
> > > >such poor implementations will vanish, nor that we will have
> > > the luxury of
> > > >being able to select only good implementations for every
> > > component of our
> > > >storage network.
> > > >
> > > >Vince
> > > >
> > > >|-----Original Message-----
> > > >|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
> > > >|Sent: Wednesday, April 18, 2001 3:09 PM
> > > >|To: CAVANNA,VICENTE V (A-Roseville,ex1)
> > > >|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
> > > >|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
> > > >|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
> > > >|Subject: Re: [Tsvwg] [SCTP checksum problems]
> > > >|
> > > >|
> > > >|Vince,
> > > >|
> > > >|> I don't think iSCSI can be completely relieved of performing
> > > >|some data
> > > >|> integrity checking as long as there exists the possibility
> > > >|of "middle boxes"
> > > >|> opening up the transport protocol's packet and thus
> > > >|potentially invalidating
> > > >|> any reliability guarantees the transport protocol makes.
> > > >|
> > > >|Any protection provided against this failure mode will only be
> > > >|transient, so we must temper the desire to introduce such a
> > > >|requirement with reality.
> > > >|
> > > >|Middleboxes can just as easily open up to the iSCSI layer and tinker
> > > >|with the payload, as they do with other ULPs running on TCP
> > > (e.g HTTP)
> > > >|today.  Short of securing the connection, there is ALWAYS a
> > > >|possibility of a middlebox terminating and reoriginating an
> > > integrity
> > > >|check.  In case you think this is a farfetched scenario, I
> > > do get the
> > > >|impression that there is a high level of interest in `actively
> > > >|middling' iSCSI once the specs crystalize.  Who shaves the barber?
> > > >|
> > > >|An integrity check is not necessary as long as some lower layer
> > > >|provides adequate integrity guarantees.
> > > >|
> > > >|Adding an integrity check above the transport layer is based upon
> > > >|documentation of the presence of a lot of crappy network
> > > hardware and
> > > >|software and analyses of the transport integrity check (TCP
> > > checksum)
> > > >|which suggests it might not be adequately strong against some such
> > > >|observed errors.
> > > >|
> > > >|I claim that the high incidence of `broken' (corruption introducing)
> > > >|components is a result of a variety of factors which have shaped the
> > > >|development of network components thus far.  The fact that integrity
> > > >|checks are assumed to be performed in a network context
> > > substantially
> > > >|lowers the bar for implementation correctness.
> > > >|
> > > >|In a storage (or CPU) context, these types of implementation errors
> > > >|are a) more easily detectable (more fatal) b) more carefully avoided
> > > >|during implementation (because of the cost of a potential fatal
> > > >|error).  If network components magically reached the same `quality
> > > >|level' as storage and CPU components, there might be no
> > > justification
> > > >|for additional integrity checks above the transport.
> > > Similarly if the
> > > >|transport (or whatever lower layer) integrity checks are very strong
> > > >|(e.g. IPSec), there is, again, no need for a higher level integrity
> > > >|check.
> > > >|
> > > >|I am not disagreeing that we need an additional integrity check over
> > > >|TCP in the present target environment, but I do disagree that iSCSI
> > > >|will always need such a check, independently of what is running
> > > >|beneath it.
> > > >|
> > > >|Steph
> > > >|
> > >
> > >
> > > -------------------------------------------------------------------
> > > Chip Sharp                       Consulting Engineering
> > > Cisco Systems
> > > -------------------------------------------------------------------
> > >
> > >
> > >
> > >
>
> --
> Randall R. Stewart
> Systems & Solutions Engineering
> Cisco Systems Inc.
> rrs@cisco.com 815-342-5222 or 815-477-2127
>
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg
>


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 27 03:57:16 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA18431
	for <tsvwg-archive@odin.ietf.org>; Fri, 27 Apr 2001 03:57:16 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id DAA19836;
	Fri, 27 Apr 2001 03:48:34 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id DAA19767
	for <tsvwg@ns.ietf.org>; Fri, 27 Apr 2001 03:48:31 -0400 (EDT)
Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA18292
	for <tsvwg@ietf.org>; Fri, 27 Apr 2001 03:48:30 -0400 (EDT)
Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16])
	by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id AAA29856;
	Fri, 27 Apr 2001 00:43:38 -0700 (PDT)
Received: from cisco.com (ssh-sj1.cisco.com [171.68.225.134])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AEH07869 (AUTH rrs);
	Fri, 27 Apr 2001 00:43:29 -0700 (PDT)
Message-ID: <3AE9231F.59BF2BA4@cisco.com>
Date: Fri, 27 Apr 2001 02:43:27 -0500
From: Randall Stewart <rrs@cisco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
CC: Chip Sharp <chsharp@cisco.com>, ips@ece.cmu.edu,
        Craig Partridge <craig@aland.bbn.com>,
        Jonathan Stone <jonathan@dsg.stanford.edu>
Subject: Re: [Tsvwg] [SCTP checksum problems]
References: <NEBBJGDMMLHHCIKHGBEJMEODCGAA.dotis@sanlight.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

All...

After a review of the numbers I realize I made a very
large error :-< (egg on face) in my analysis of the gprof numbers....
yikes!!

Below are the updated real numbers...


I will also be re-running these on a pentium 100 and with Jonathan's
help
we will tune up both the CRC32 and the adler algorithms and adds some
more
such as fletcher etc..

Please consider these pre-liminary numbers until Jonathan and I can do
a more detailed analysis ..


New numbers inserted below :)

Thanks

R
> 
> > Jim:
> >
> > I am glad you copied me on this.. since being at the bakeoff and with
> > the
> > recent email/site problems I have.. I do not get IETF mail until next
> > week :0
> >
> > Now, some comments...
> >
> >
> > My major concern is that SCTP's checksum is weaker than TCP.What the
> > upper layers do to defend against middle boxes etc they will need to
> > do anyway. I have just ran a few numbers using the sctp_test_app in
> > the reference implementation.
> >
> > I did the following:
> >
> > Compiled the normal ref-imp with -O -pg
> >
> > started two endpoints on the same machine (freeBSD intel/sony vio
> > PCG-Z505JS), this
> > of course has my SCTP kernel patches applied ...
> >
> > Now I setup an association between two endpoints and did
> >
> > bulk:100:0:1000000
> >
> > This transfers 1 Million 100 byte packets holding ascii data from one
> > endpoint to the other.
> >
> > I then captured the gprof information for this run.
> >
> > I did the same exact test after changing the checksum to crc32 and the
> > modified
> > adler32 (16 bit sums).
> >
> > My results (not meant to show strength in catching errors but instead
> > performance
> > of a software version of the sum) are as follows:
> >
> > Adler 32...
> >
> > Sender side and Receiver side Avereage time spent in the checksum
> > routine per
> > call was 121 nano seconds.
> >
******* corrected number******
5.1 microseconds 

> > Adler 32 Modified
> >
> > Sender side and Receiver side Average time spent in the checksum routine
> > per
> > call was 90 nano seconds.

******** corrected number******
3.9 microseconds.


> >
> > CRC32
> >
> > Sender side average time spent in the checksum calculation per packet
> > was
> > 5.3 micro seconds
> >
> > Recevier side average time spent in the checksum calculation per packet
> > was
> > 5.9 micro seconds.
> >
> > I believe the differences seen in the CRC32 can be attributed to how
> > lucky the
> > repsective application is in finding the index table (the ssh_crc32
> > found in
> > FreeBSD) in the processor cache. If I run the CRC comparision with just
> > random
> > data in a stand alone program (very unrealistic) crc32 outperforms all
> > others but
> > this is because the table get completely pre-fetched into cache and is
> > never
> > pulled from main memory... (I started here and then realized the only
> > way to
> > get good information is to do it in a real implementation where a lot of
> > other
> > code would run between crc calls).
> >
> > So on that note... I vote STRONGLY for Modified Adler32... i.e. same as
> > regular
> > adler but make the quantities added be 16 bit sums...
> >
> > I think this will take care of the critical problem i.e. the weakness in
> > the
> > SCTP checksum for small packets... Jonathan/Craig any comments or
> > questions...
> >
> > And yess... I am working on getting things ran on a sparc box but the
> > only on
> > we have here is a sparc20... so the numbers definetly can NOT be
> > compared to anything
> > else...
> >
> > R
> >
> >
> >
> >
> > "WENDT,JIM (HP-Roseville,ex1)" wrote:
> > >
> > > I think this "SCTP checksum" thread spanning IPS and TSVWG was for
> > > discussion around whether or not iSCSI (running over SCTP)
> > could forgo data
> > > integrity checking and transport-like functionality
> > (retransmission, ack,
> > > etc) should SCTP provide a sufficiently strong check-code.
> > > If iSCSI were willing to completely trust SCTP end-to-end
> > across a network
> > > fabric (including "middleboxes"), then that provides one reason
> > for SCTP to
> > > adopt a stronger checksum or CRC.
> > > If iSCSI will still implement its own data integrity check-code
> > above SCTP,
> > > then SCTP needs to make an independent decision on whether its current
> > > check-code is sufficiently strong for its target uses.
> > > Currently, iSCSI contains a data integrity check "digest" that can be
> > > negotiated end-to-end to be disabled on a per-connection basis.
> > >
> > > This discussion begs a few questions:
> > > - Are there clearly different classes of applications (in
> > regards to their
> > > end-to-end data integrity strength needs)?
> > > - How are these application classes' end-to-end data integrity
> > needs meet in
> > > the future?  Is it SCTP, IPSec, application-specific protocol, a new
> > > protocol?
> > > - Is there a general need for strong end-to-end data integrity
> > that could be
> > > provided for in a recommended generic manner?
> > > - Is iSCSI unique in being an "ultra-low error rate
> > application" and should
> > > iSCSI then handle its own data integrity?
> > > - Should SCTP strengthen its checksum to meet the needs of a
> > general class
> > > of data-criticial applications, and/or provide a means for
> > negotiating an
> > > optional stronger checksum?
> > > - What is the role of network infrastructure (router/middlebox
> > hardware and
> > > software) in strengthening end-to-end data integrity?
> > >
> > > Data integrity for iSCSI over TCP is a separate issue. It is
> > unlikely that
> > > we will be able to evolve TCP in a timely manner to utilize a stronger
> > > check-code given TCP's current wide scale deployment (although adding a
> > > stronger checksum/CRC to TCP would seem to be the best solution). So,
> > > something else has to be done either above or below TCP to provide the
> > > required level of iSCSI data integrity. Of course, if TCP's
> > data integrity
> > > deficiency is impacting other data-critical applications, then it seems
> > > prudent to at least consider solving the problem generically.
> > >
> > > Jim
> > >
> > > > -----Original Message-----
> > > > From: julian_satran@il.ibm.com [mailto:julian_satran@il.ibm.com]
> > > > Sent: Friday, April 20, 2001 1:02 AM
> > > > To: Chip Sharp
> > > > Cc: vince_cavanna@agilent.com; steph@cs.uchicago.edu; WENDT,JIM
> > > > (HP-Roseville,ex1); ips@ece.cmu.edu; tsvwg@ietf.org;
> > > > craig@aland.bbn.com; Jonathan.Wood@sun.com; xieqb@cig.mot.com;
> > > > jonathan@dsg.stanford.edu; rrs@cisco.com
> > > > Subject: RE: [Tsvwg] [SCTP checksum problems]
> > > >
> > > >
> > > >
> > > >
> > > > Chip,
> > > >
> > > > CRC s are not meant to protect against malicious middle boxes
> > > > - rather on
> > > > boxes that strip the strong link CRCs and
> > > > let the end-system rely on the weak TCP checksum.
> > > >
> > > > NAT boxes have good reason to recompute TCP checksums, but
> > > > unless they are
> > > > malicious no reason to recompute iSCSI CRCs.
> > > >
> > > > And against malicious boxes iSCSI has cryptographic digests
> > > > as options.
> > > >
> > > > And I was not aware that we are discussing - in this forum -
> > > > iSCSI data
> > > > integrity options.
> > > >
> > > > Julo
> > > >
> > > > Chip Sharp <chsharp@cisco.com> on 19/04/2001 18:53:53
> > > >
> > > > Please respond to Chip Sharp <chsharp@cisco.com>
> > > >
> > > > To:   vince_cavanna@agilent.com
> > > > cc:   steph@cs.uchicago.edu, vince_cavanna@agilent.com,
> > > > jim_wendt@hp.com,
> > > >       Julian Satran/Haifa/IBM@IBMIL, ips@ece.cmu.edu, tsvwg@ietf.org,
> > > >       craig@aland.bbn.com, Jonathan.Wood@sun.com, xieqb@cig.mot.com,
> > > >       jonathan@dsg.stanford.edu, rrs@cisco.com
> > > > Subject:  RE: [Tsvwg] [SCTP checksum problems]
> > > >
> > > >
> > > >
> > > >
> > > > As was pointed out previously, middle box operations (such as
> > > > NATs) tend to
> > > > creep up the protocol stack and into applications.
> > > >
> > > > Take SIP for example.  It includes IP addresses in its
> > > > INVITE.  In order to
> > > > work across a NAT, the IP addresses it exchanges have to be
> > > > replaced with
> > > > the NATed address.  One way is for the NAT to reach up into
> > > > the SIP INVITE
> > > > and change the address.  This modifies the TCP or UDP
> > > > checksum.  Now SIP
> > > > could have included its own integrity check to protect
> > > > against corrupted or
> > > > modified TCP checksums, but all that would have happened is
> > > > that NATs would
> > > > have changed the SIP checksum in addition to the TCP/UDP checksum.
> > > >
> > > > Therefore, even if iSCSI included its own integrity check, if
> > > > a middle box
> > > > is going to futz with iSCSI packets it will just strip the check, do
> > > > whatever it does and then recalculate the check.
> > > >
> > > > If this is what you want to protect against you will have to
> > > > go to some
> > > > type of digital signature.
> > > >
> > > > At 12:22 PM 4/19/2001, vince_cavanna@agilent.com wrote:
> > > > >Stephen,
> > > > >
> > > > >I have to admit that I do not have much direct experience with middle
> > > > boxes,
> > > > >BUT I did have fairly direct and recent experience with a popular NAT
> > > > router
> > > > >from a popular vendor that was corrupting data in a network of
> > > > Macintoshes.
> > > > >
> > > > >Apple's TCP was unaware of any problem as was Apple's Filing
> > > > Protocol and
> > > > >most applications. The only applications that detected the
> > > > corruption were
> > > > >those that performed an integrity check of their own. Those
> > > > applications
> > > > >that assumed a reliable transport (and file system) were doomed to
> > > > >experiencing the indirect effects of the corruption at some
> > > > later time.
> > > > The
> > > > >corruption only happened when large amounts of data were transferred
> > > > >quickly.  The router vendor fixed the problem once; then
> > > > fixed it again;
> > > > >then fixed it one last time before the data corruption finally
> > > > >"disappeared". After several weeks of continuous operation the router
> > > > >appeared to get into a mode where it was once again
> > > > corrupting data. Power
> > > > >cycling the router "fixed it". The story apparently has not
> > > > yet ended.
> > > > >
> > > > >I admit I may have given too much significance to this
> > > > single incident
> > > > that
> > > > >I have personally experienced but on the other hand I don't see the
> > > > >mechanisms in place to prevent this type of problem in the
> > > > future other
> > > > than
> > > > >the end to end integrity checks.
> > > > >
> > > > >Incidentally this incident change my behavior when
> > > > transferring data over
> > > > a
> > > > >network. I will always use a compression utility; not only
> > > > for reducing
> > > > the
> > > > >data to be transmitted but to ensure the integrity of my
> > > > data is protected
> > > > >end to end by the utility's CRC mechanism.
> > > > >
> > > > >I believe quite firmly that we DO need a mechanism to allow
> > > > us to tolerate
> > > > >poor implementations of middle boxes and cannot simply hope that
> > > > eventually
> > > > >such poor implementations will vanish, nor that we will have
> > > > the luxury of
> > > > >being able to select only good implementations for every
> > > > component of our
> > > > >storage network.
> > > > >
> > > > >Vince
> > > > >
> > > > >|-----Original Message-----
> > > > >|From: Stephen Bailey [mailto:steph@cs.uchicago.edu]
> > > > >|Sent: Wednesday, April 18, 2001 3:09 PM
> > > > >|To: CAVANNA,VICENTE V (A-Roseville,ex1)
> > > > >|Cc: 'WENDT,JIM (HP-Roseville,ex1)'; 'julian_satran@il.ibm.com';
> > > > >|ips@ece.cmu.edu; tsvwg@ietf.org; 'Craig Partridge'; Jonathan Wood;
> > > > >|xieqb@cig.mot.com; Jonathan Stone; Randall Stewart
> > > > >|Subject: Re: [Tsvwg] [SCTP checksum problems]
> > > > >|
> > > > >|
> > > > >|Vince,
> > > > >|
> > > > >|> I don't think iSCSI can be completely relieved of performing
> > > > >|some data
> > > > >|> integrity checking as long as there exists the possibility
> > > > >|of "middle boxes"
> > > > >|> opening up the transport protocol's packet and thus
> > > > >|potentially invalidating
> > > > >|> any reliability guarantees the transport protocol makes.
> > > > >|
> > > > >|Any protection provided against this failure mode will only be
> > > > >|transient, so we must temper the desire to introduce such a
> > > > >|requirement with reality.
> > > > >|
> > > > >|Middleboxes can just as easily open up to the iSCSI layer and tinker
> > > > >|with the payload, as they do with other ULPs running on TCP
> > > > (e.g HTTP)
> > > > >|today.  Short of securing the connection, there is ALWAYS a
> > > > >|possibility of a middlebox terminating and reoriginating an
> > > > integrity
> > > > >|check.  In case you think this is a farfetched scenario, I
> > > > do get the
> > > > >|impression that there is a high level of interest in `actively
> > > > >|middling' iSCSI once the specs crystalize.  Who shaves the barber?
> > > > >|
> > > > >|An integrity check is not necessary as long as some lower layer
> > > > >|provides adequate integrity guarantees.
> > > > >|
> > > > >|Adding an integrity check above the transport layer is based upon
> > > > >|documentation of the presence of a lot of crappy network
> > > > hardware and
> > > > >|software and analyses of the transport integrity check (TCP
> > > > checksum)
> > > > >|which suggests it might not be adequately strong against some such
> > > > >|observed errors.
> > > > >|
> > > > >|I claim that the high incidence of `broken' (corruption introducing)
> > > > >|components is a result of a variety of factors which have shaped the
> > > > >|development of network components thus far.  The fact that integrity
> > > > >|checks are assumed to be performed in a network context
> > > > substantially
> > > > >|lowers the bar for implementation correctness.
> > > > >|
> > > > >|In a storage (or CPU) context, these types of implementation errors
> > > > >|are a) more easily detectable (more fatal) b) more carefully avoided
> > > > >|during implementation (because of the cost of a potential fatal
> > > > >|error).  If network components magically reached the same `quality
> > > > >|level' as storage and CPU components, there might be no
> > > > justification
> > > > >|for additional integrity checks above the transport.
> > > > Similarly if the
> > > > >|transport (or whatever lower layer) integrity checks are very strong
> > > > >|(e.g. IPSec), there is, again, no need for a higher level integrity
> > > > >|check.
> > > > >|
> > > > >|I am not disagreeing that we need an additional integrity check over
> > > > >|TCP in the present target environment, but I do disagree that iSCSI
> > > > >|will always need such a check, independently of what is running
> > > > >|beneath it.
> > > > >|
> > > > >|Steph
> > > > >|
> > > >
> > > >
> > > > -------------------------------------------------------------------
> > > > Chip Sharp                       Consulting Engineering
> > > > Cisco Systems
> > > > -------------------------------------------------------------------
> > > >
> > > >
> > > >
> > > >
> >
> > --
> > Randall R. Stewart
> > Systems & Solutions Engineering
> > Cisco Systems Inc.
> > rrs@cisco.com 815-342-5222 or 815-477-2127
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
> >

-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


From tsvwg-admin@ietf.org  Fri Apr 27 09:09:57 2001
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA27483
	for <tsvwg-archive@odin.ietf.org>; Fri, 27 Apr 2001 09:09:57 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA29740;
	Fri, 27 Apr 2001 09:01:28 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA29711
	for <tsvwg@ns.ietf.org>; Fri, 27 Apr 2001 09:01:26 -0400 (EDT)
Received: from ilsa.franken.de (ilsa.franken.de [193.175.24.42])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA27211
	for <tsvwg@ietf.org>; Fri, 27 Apr 2001 09:01:24 -0400 (EDT)
Received: by ilsa.franken.de (Smail3.2 #1)
	id m14t7ry-000VZZC; Fri, 27 Apr 2001 15:01:10 +0200 (CEST)
Received: from UNKNOWN(193.174.2.75), claiming to be "icn.siemens.de"
 via SMTP by ilsa.franken.de, id smtpdAIHhqD; Fri Apr 27 15:01:05 2001
Message-ID: <3AE96DAC.23655B49@icn.siemens.de>
Date: Fri, 27 Apr 2001 15:01:31 +0200
From: Michael =?iso-8859-1?Q?T=FCxen?= <Michael.Tuexen@icn.siemens.de>
Reply-To: Michael.Tuexen@icn.siemens.de
X-Mailer: Mozilla 4.76C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: sigtran@standards.nortelnetworks.com, "Ong, Lyndon" <LyOng@ciena.com>,
        tsvwg@ietf.org, sob@harvard.edu,
        Jean-Luc Freisse <Jean-Luc.Freisse@etsi.fr>,
        Nathalie Guinet <Nathalie.Guinet@etsi.fr>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] Report of the 3rd SCTP bakeoff
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Dear all,

please find below the report of the 3rd SCTP bakeoff.

Best regards
Michael



SCTP Bakeoff Report
04/23-27/01
ETSI, Sophia Antilopis, France

1. Introduction

The 3rd SCTP Bakeoff was held at the ETSI facilities
in Sophia Antipolis, France. Siemens supported the 
bakeoff by providing technical support for the testbed.

The following companies participated in the bakeoff:

  - ADAX
  - Cisco
  - Compaq
  - Data Connection
  - DataKinetics
  - Ericsson
  - Hewlett Packard
  - Hughes Software
  - IBM
  - Motorola
  - Nokia
  - Open SS7
  - Performance Technologies
  - RadiSys (formerly S-Link)
  - Siemens
  - Sun Microsystems
  - Telesoft Technologies
  - Toshiba
  - Ulticom

The operating systems used at the bakeoff are:
 
  - AIX (1)
  - FreeBSD (2)
  - Linux (7)
  - QNX (1)
  - Solaris (4)
  - True64 (1)
  - Windows (3)
  
Among these there where 

  - 11 user land implementations,
  -  6 kernel implementations and
  -  2 hybrid user land / kernel implementations.

2. Testing

The tests where performed in a test net which run IPv4 and
IPv6 and was able to to provide message delay, message reordering
and message loss.

The tested features are the following (the number in paratheses gives
a lower estimation of the number of successful tests between
independent implementations):

  - Association setup with multiple addresses in INIT/INIT-ACK (53)
  - Association setup with single addresses INIT/INIT-ACK (16)
  - Association setup with no addresses INIT/INIT-ACK (8)
  - Closing the association after some data transmission (40)
  - Closing the association after no data transmission (37)
  - Ordered data transfer (54)
  - Hostname parameter in INIT (0)
  - Restart of an association and some data transmission after that (23)
  - Restart of an association and closing the association after that (16)
  - Fragmentation of data (38)
  - Bundling of data (39)
  - Abort of an association (30)
  - Handling of OOTB packets (21)
  - Chunk bit handling (7)
  - Parameter bit handling (10)
  - Stale cookie (6)
  - Path MTU discovery (16)
  - ECN (2)
  - Renig (2)
  - Unordered data transfer (fragmented, bundled and normal) (3)

So the only not tested featured is the handling of the hostname
parameter. Some implementations claimed that they are able to 
handle it, but no implementation was able to send it. So it
could no be tested.

During the IPv4/IPv6 testing it was not clear how to handle
the site-local and link-local addresses. The discussion of this
showed that there are at least two ways to handle the addresses.
There will be a seperate ID describing the two solutions to initiate
a discussion of that issue.

Other real issues were not found with RFC 2960. There will be some
clarifications made which will be included in a new version of the
bakeoff draft.

3. Conclusions

All but one feature was successfully tested at this bakeoff. 

There is a need to clarify the handling of IPv6 addresses in the
association setup. A separate ID will describe the outcome of the
discussion at the bakeoff and should be used as the basis of a 
discussion of this problem in a wider scope.

No other real issues were found at this bakeoff. Some minor 
clarifications will be included in the bakeoff ID.

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
http://www1.ietf.org/mailman/listinfo/tsvwg


