From tsvwg-admin@ietf.org  Wed Jun 13 17:08: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 ESMTP id RAA01672
	for <tsvwg-archive@odin.ietf.org>; Wed, 13 Jun 2001 17:08: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 QAA02264;
	Wed, 13 Jun 2001 16:48: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 QAA02237
	for <tsvwg@ns.ietf.org>; Wed, 13 Jun 2001 16:48:08 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA01336
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 16:47:34 -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 f5DKle925274;
	Wed, 13 Jun 2001 13:47:40 -0700 (PDT)
Received: from stewart.chicago.il.us (dhcp-128-107-142-96.cisco.com [128.107.142.96])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AGO11190 (AUTH rrs);
	Wed, 13 Jun 2001 13:47:11 -0700 (PDT)
Message-ID: <3B27D14B.34A5A0B3@stewart.chicago.il.us>
Date: Wed, 13 Jun 2001 15:47:08 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Ian Rytina <ian.rytina@ericsson.com.au>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check, again
References: <KKMBNLCFKBEFMBAA@shared1-mail.whowhere.com> <3B212AED.B38A8BD5@stewart.chicago.il.us> <3B24A98F.55BEF9E8@ericsson.com.au>
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

Ian:

We can always add a digest chunk.. I have no problem with
this and we can easily have this in a seperate document.
I don't see that we need to tie it to our choices that
Lyndon presented ... i.e. 1, 2 or 3...

We COULD add a fourth catagory... but I think it best
to keep it a bit simpler...

R


Ian Rytina wrote:
> 
> On this issue, a quote from RFC2960, Section 1.3.6 Packet Validation :-
> 
> "A mandatory Verification Tag field and a 32 bit checksum field (see
> Appendix B for a description of the Adler-32 checksum) are included
> in the SCTP common header.  The Verification Tag value is chosen by
> each end of the association during association startup.  Packets
> received without the expected Verification Tag value are discarded,
> as a protection against blind masquerade attacks and against stale
> SCTP packets from a previous association.  The Adler-32 checksum
> should be set by the sender of each SCTP packet to provide additional
> protection against data corruption in the network.  The receiver of
> an SCTP packet with an invalid Adler-32 checksum silently discards
> the packet."
> 
> Since the checksum is used "to provide additional protection against
> data corruption in the network", please explain why the use of a security
> digest a separate issue. Or is this paragraph in RFC2960 incorrect ?
> 
> Randall Stewart wrote:
> 
> > Yes,
> >
> > Lets leave this whole digest chunk issue out of
> > play here... it just confuses the issue. We then
> > our down to two options....
> >
> > #1 leave things as they are - 5 in favor
> >
> > #2 change to CRC-32 - 18 in favor..
> >
> > Anything to do with digest chunks can be considered
> > seperately in say one of Dougs drafts... lets do
> > seperate threads to discuss please ... and instead
> > focus on getting consensus on this single issue
> > i.e. what (if any) to change the SCTP checksum to...
> >
> > Scott/Allison: Is this a enough of a consensus for
> > CRC-32.. if so I will make the appropriate changes
> > the draft chip and I have ready and get it submitted??
> >
> > R
> >
> > Lyndon Ong wrote:
> > >
> > > Well, we can pretty much eliminate (2).  A digest
> > > should be considered as a separate issue, I think.
> > >
> > > Cheers,
> > >
> > > Lyndon
> > > --
> > >
> > > On Fri, 08 Jun 2001 12:13:50   Randall Stewart wrote:
> > > >Douglas:
> > > >
> > > >If you would like me to open another catagory i.e.
> > > >
> > > >Wants CRC-32 OR a Digest:
> > > >
> > > >I suppose I can.. but at this point, considering the
> > > >comments on the list.. i.e. have all faded.. I
> > > >think we are going to need to ask the chairs to
> > > >look at these results and determine if we have a
> > > >rough consensus...or not...
> > > >
> > > >I don't see that any more comments
> > > >are arriving...  your postion change would make things:
> > > >
> > > >Total 1) 5
> > > >Total 2) 1
> > > >Total 3) 18
> > > >
> > > >Total Double ballots) 4
> > > >Total unspecified) 2
> > > >
> > > >I think that double ballot people should be dis-qualified...
> > > >since we need a consensus for one of the choices.. not multiple..
> > > >
> > > >We can always proceed in parrallel with a CRC/Digest chunk
> > > >and gage that seperate from changing the base sum...
> > > >
> > > >Has it stands now, it seems to me that we MAY have consensus for
> > > >CRC-32... but I must leave that to the chairs....
> > > >
> > > >Scott/Allision? Do you think that we will get any more
> > > >results?
> > > >
> > > >Chip and I have the draft for just the checksum change
> > > >ready... all we need is for you to tell us what consensus is..
> > > >or that we don't have it yet :>
> > > >
> > > >R
> > > >
> > > >Douglas Otis wrote:
> > > >>
> > > >> Randall,
> > > >>
> > > >> You can put me into the CRC-32 camp but I would like to also keep
> > > >> consideration of placement and digest open.  If this process is to be
> > > >> offloaded either in software or hardware, the number of passes through
> > > >> memory is important for performance.  Doing both a digest and packet check
> > > >> within the header will ensure two passes are always required.  I even
> > > >> suspect that with respect to encription, a very good crc is not helpful at
> > > >> that point.  Although it is not a problem that we are facing today, I wonder
> > > >> how this is to be done at 10GE.  Considerations as how often memory must be
> > > >> touched in the process may be a concern.  Also if there is a congestion
> > > >> problem causing a need for a path switch, this process now has a double duty
> > > >> of rebuilding these packets without a packet level digest which does seem
> > > >> possible.  If no header is used to allow check options, then placing the
> > > >> check at the end of the frame has advantages in that a word size pipe can
> > > >> handle two algorithms at once.
> > > >>
> > > >> Doug
> > > >>
> > > >> > Good Morning tsvwg :-)
> > > >> >
> > > >> > Coffee firmly in hand I now report once again
> > > >> > the current "straw-poll" standings on this thread :-0
> > > >> >
> > > >> > ****************************************************
> > > >> > PLEASE SOUND OFF IF YOU ARE IN THE WRONG
> > > >> > CATAGORY!!!! OR I HAVE MIS-READ YOU..
> > > >> > ***************************************************
> > > >> > Option 1 or 2:
> > > >> > --------------
> > > >> > Qiaobing Xie (wants the same or Modifed-Alder )
> > > >> >
> > > >> > Option 1 or 3:
> > > >> > --------------
> > > >> > Klaus Gradischnig (wants keep the same or CRC-32)
> > > >> >
> > > >> > Wants Others to decide/No-comment :>
> > > >> > ------------------------------------
> > > >> > Chip Sharp
> > > >> >
> > > >> >
> > > >> > No preference but wants only 1:
> > > >> > -------------------------------
> > > >> > Kacheong Poon ( wants only one sum, no options)
> > > >> >
> > > >> > Still Unsure how to classify:
> > > >> > ---------------------------------------------------
> > > >> > Ran Atkinson (wants justification for any switch)
> > > >> >
> > > >> >
> > > >> >
> > > >> > Option 1 - leave Adler-32:
> > > >> > --------------------------
> > > >> > Ian Rytina
> > > >> > Michael Tuxen
> > > >> > Shymall Prasad
> > > >> > Hanns J Schwarzbauer
> > > >> > Alf Heidermark (Since he agrees with Hanns??)
> > > >> >
> > > >> > Option 2 - Modifed Adler-32 or Fletcher-16:
> > > >> > -------------------------------------------
> > > >> > Gareth Kiely
> > > >> >
> > > >> >
> > > >> > Option 3 - CRC-32:
> > > >> > ------------------
> > > >> > Me
> > > >> > Michael Ramalho
> > > >> > Lloyd Wood
> > > >> > Jonathan Wood
> > > >> > Jim Williams
> > > >> > Stephen Bailey
> > > >> > La Monte Yarroll
> > > >> > Ivan Arias Rodriguez
> > > >> > Andreas Jungmaier
> > > >> > David Black
> > > >> > David Reed ** with preference for a MD5 Digest?
> > > >> > Douglas Otis ** with preference for a MD5 Digest?
> > > >> > David Lehmann
> > > >> > Brian Bidulock
> > > >> > Richard A. Adams
> > > >> > Robert Fairlie-Cuninghame
> > > >> > Wolfgang Schruefer
> > > >> > John Loughney
> > > >> > Laurent Glade
> > > >> >
> > > >> > ---------------------------------------------------
> > > >> >
> > > >> > Total 1) 5
> > > >> >
> > > >> > Total 2) 1
> > > >> >
> > > >> > Total 3) 19
> > > >> >
> > > >> > Total Double ballots) 3
> > > >> > Total unspecified) 2
> > > >> >
> > > >> > ---------------------------------------------------
> > > >> > Total folks commenting on: 30
> > > >> > ---------------------------------------------------
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Randall R. Stewart
> > > >> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > >> >
> > > >> > _______________________________________________
> > > >> > tsvwg mailing list
> > > >> > tsvwg@ietf.org
> > > >> > http://www1.ietf.org/mailman/listinfo/tsvwg
> > > >> >
> > > >
> > > >--
> > > >Randall R. Stewart
> > > >randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > >
> > > >_______________________________________________
> > > >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
> >
> > --
> > Randall R. Stewart
> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> >
> > _______________________________________________
> > 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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 13 17:20: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 ESMTP id RAA01913
	for <tsvwg-archive@odin.ietf.org>; Wed, 13 Jun 2001 17:20: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 RAA03083;
	Wed, 13 Jun 2001 17:03: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 RAA03016
	for <tsvwg@ns.ietf.org>; Wed, 13 Jun 2001 17:03:03 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA01613
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 17:02:29 -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 f5DL2Z907948;
	Wed, 13 Jun 2001 14:02:35 -0700 (PDT)
Received: from stewart.chicago.il.us (dhcp-128-107-142-96.cisco.com [128.107.142.96])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AGO11813 (AUTH rrs);
	Wed, 13 Jun 2001 14:02:30 -0700 (PDT)
Message-ID: <3B27D4E3.5FA7703E@stewart.chicago.il.us>
Date: Wed, 13 Jun 2001 16:02:27 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Naveen S Jain <NAVEENSJ@infy.com>
CC: Schwarzbauer Hanns Juergen <HannsJuergen.Schwarzbauer@icn.siemens.de>,
        tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check, again
References: <FA13E89D0804CB4DB5FB420B70E2C0CC16F1B3@kecmsg07.ad.infosys.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

Naveen:

As I have previously pointed out on the list. Chip Sharp and
I developed just such a draft. It is however quite in-elegant
since you must always implement BOTH algorithms. It seems
foolish to do so with almost no implemented base. Why would
we want to saddle a new protocol forever with this penalty 
of having to implement both checksum mechanisms..

At this stage we have NO reports of deployed production SCTP
and it is better, I think, to just change out to a new
sum then be saddled forever with options to negotiate a sum.

If such a thing is wanted, do a draft like Doug Otis's earlier
checksum/digest draft.. where you append a new chunk that can
be ignored... We can then discuss this seperately and then
deal with just the issue at hand.. choices 1, 2 and 3 :/

R

R


Naveen S Jain wrote:
> 
> Hi Hanns,
>         It is actually backward compatible. If the INIT does not contain
> the optional
>         parameter Checksum Type, it is assumed to be always Adler32.
> 
> Naveen
> 
> > -----Original Message-----
> > From: Schwarzbauer Hanns Juergen
> > [mailto:HannsJuergen.Schwarzbauer@icn.siemens.de]
> > Sent: Monday, June 11, 2001 6:14 PM
> > To: Naveen S Jain
> > Cc: tsvwg@ietf.org
> > Subject: RE: [Tsvwg] sctp error check, again
> >
> >
> > Hi Naveen,
> >
> > this would certainly be an option I would be happy with!
> >
> > From my point of view it's a strange argument stating that
> > the CRC calculation could be done in hardware. Certainly it
> > could, but this would prevent SCTP from providing the
> > performance as it is now on all currently available platforms
> > that do not have this piece of hardware. It seems to be an
> > argument from chip and board manufactures.
> >
> > I would like to put the additional burden, either use
> > specialized chips or suffer from performance degradation to
> > those that want to have the utmost protection against message
> > corruption and introducing the proposed negotiation would be
> > a reasonable way, albeit it is also not backwards compatible.
> >
> >
> > regards
> >
> > HannsJuergen
> > > -----Original Message-----
> > > From:       Naveen S Jain [SMTP:NAVEENSJ@infy.com]
> > > Sent:       Monday, June 11, 2001 5:53 AM
> > > To: Randall Stewart; lyndon_ong@eudoramail.com
> > > Cc: Douglas Otis; Allison Mankin; Scott Bradner; tsvwg@ietf.org
> > > Subject:    RE: [Tsvwg] sctp error check, again
> > >
> > > Hi ,
> > >     I was wondering why the checksum negotiation was left out??
> > >     We can have some kind of negotiation based on a optional packet
> > > in the
> > >     INIT.
> > >
> > >     The endpoint initiating the association can
> > >     send the optional parameter to indicate the type
> > >     of checksum to be used. If there is no optional
> > >     parameter present with CRC32 as the type , then the
> > >     association can use the existing adler-32 checksum
> > >
> > >     In case this approach is  to be followed,
> > >     we will also need a additional cause value
> > >     of type "Checksum type not supported"
> > >
> > >     That way the SCTP applications which are
> > >     taking care of data sanity and requesting for
> > >     retransmit can still use the adler-32 checksum
> > >
> > >     Where CRC 32 Is Supported:
> > >     -------- (INIT with ad32 chsum requesting CRC32) ----->
> > >     <-------- ( INIT ACK with ad32 cksum acking CRC32 request) ----
> > >     --------- ( COOKIE Echo with CRC32 cksum) ------------>
> > >     <-------- ( COOKIE Ack with CRC32 cksum ) ------------>
> > >
> > >     Where CRC32 is not supported:
> > >     -------- (INIT with ad32 chsum requesting CRC32) ----->
> > >     <-------- ( INIT ACK with ad32 cksum nacking CRC32 request) ----
> > >     --------- ( COOKIE Echo with ad32 cksum) ------------>
> > >     <-------- ( COOKIE Ack with ad32 cksum ) ------------>
> > >
> > >     There can be the following rules:
> > >
> > >     1) Only the CLient (Originator of INIT mesage) can request for
> > >            Checksum type
> > >     2) The Server ( receiver of INIT Msg) should always ACK the
> > >            Checksum type provided it can support it.
> > >        or The Server should nack it it it is unsupported
> > >
> > >     3) It the Client requests "ad32" Cksum type,the Server has to
> > >             use "ad32" cksum even if it supports the CRC32 sum.
> > >
> > >     This way, the Applications will decide what they want
> > > (preformance
> > >     or reliability).
> > >
> > >     implications:
> > >     1) SCTP should support multiple Cksums for multiple
> > >             associations (ie. one association might be using
> > >             ad32 and another might be using CRC32)
> > >     2) SCTP runing as server should support both types of Cksums
> > >
> > >     3) Default will be the adler32 cksum
> > >
> > > Thanks and regards
> > > Naveen
> > >
> > > > -----Original Message-----
> > > > From: Randall Stewart [mailto:randall@stewart.chicago.il.us]
> > > > Sent: Saturday, June 09, 2001 1:14 AM
> > > > To: lyndon_ong@eudoramail.com
> > > > Cc: Douglas Otis; Allison Mankin; Scott Bradner; tsvwg@ietf.org
> > > > Subject: Re: [Tsvwg] sctp error check, again
> > > >
> > > >
> > > > Yes,
> > > >
> > > > Lets leave this whole digest chunk issue out of
> > > > play here... it just confuses the issue. We then
> > > > our down to two options....
> > > >
> > > > #1 leave things as they are - 5 in favor
> > > >
> > > > #2 change to CRC-32 - 18 in favor..
> > > >
> > > > Anything to do with digest chunks can be considered
> > > > seperately in say one of Dougs drafts... lets do
> > > > seperate threads to discuss please ... and instead
> > > > focus on getting consensus on this single issue
> > > > i.e. what (if any) to change the SCTP checksum to...>
> > > >
> > > > Scott/Allison: Is this a enough of a consensus for
> > > > CRC-32.. if so I will make the appropriate changes
> > > > the draft chip and I have ready and get it submitted??
> > > >
> > > > R
> > > >
> > > > Lyndon Ong wrote:
> > > > >
> > > > > Well, we can pretty much eliminate (2).  A digest
> > > > > should be considered as a separate issue, I think.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Lyndon
> > > > > --
> > > > >
> > > > > On Fri, 08 Jun 2001 12:13:50   Randall Stewart wrote:
> > > > > >Douglas:
> > > > > >
> > > > > >If you would like me to open another catagory i.e.
> > > > > >
> > > > > >Wants CRC-32 OR a Digest:
> > > > > >
> > > > > >I suppose I can.. but at this point, considering the
> > > > > >comments on the list.. i.e. have all faded.. I
> > > > > >think we are going to need to ask the chairs to
> > > > > >look at these results and determine if we have a
> > > > > >rough consensus...or not...
> > > > > >
> > > > > >I don't see that any more comments
> > > > > >are arriving...  your postion change would make things:
> > > > > >
> > > > > >Total 1) 5
> > > > > >Total 2) 1
> > > > > >Total 3) 18
> > > > > >
> > > > > >Total Double ballots) 4
> > > > > >Total unspecified) 2
> > > > > >
> > > > > >I think that double ballot people should be dis-qualified...
> > > > > >since we need a consensus for one of the choices.. not
> > multiple..
> > > > > >
> > > > > >We can always proceed in parrallel with a CRC/Digest chunk
> > > > > >and gage that seperate from changing the base sum...
> > > > > >
> > > > > >Has it stands now, it seems to me that we MAY have
> > consensus for
> > > > > >CRC-32... but I must leave that to the chairs....
> > > > > >
> > > > > >Scott/Allision? Do you think that we will get any more
> > > > > >results?
> > > > > >
> > > > > >Chip and I have the draft for just the checksum change
> > > > > >ready... all we need is for you to tell us what consensus is..
> > > > > >or that we don't have it yet :>
> > > > > >
> > > > > >R
> > > > > >
> > > > > >Douglas Otis wrote:
> > > > > >>
> > > > > >> Randall,
> > > > > >>
> > > > > >> You can put me into the CRC-32 camp but I would like
> > to also keep
> > > > > >> consideration of placement and digest open.  If this
> > > > process is to be
> > > > > >> offloaded either in software or hardware, the number of
> > > > passes through
> > > > > >> memory is important for performance.  Doing both a
> > > > digest and packet check
> > > > > >> within the header will ensure two passes are always
> > > > required.  I even
> > > > > >> suspect that with respect to encription, a very good crc
> > > > is not helpful at
> > > > > >> that point.  Although it is not a problem that we are
> > > > facing today, I wonder
> > > > > >> how this is to be done at 10GE.  Considerations as how
> > > > often memory must be
> > > > > >> touched in the process may be a concern.  Also if there
> > > > is a congestion
> > > > > >> problem causing a need for a path switch, this process
> > > > now has a double duty
> > > > > >> of rebuilding these packets without a packet level
> > > > digest which does seem
> > > > > >> possible.  If no header is used to allow check options,
> > > > then placing the
> > > > > >> check at the end of the frame has advantages in that a
> > > > word size pipe can
> > > > > >> handle two algorithms at once.
> > > > > >>
> > > > > >> Doug
> > > > > >>
> > > > > >> > Good Morning tsvwg :-)
> > > > > >> >
> > > > > >> > Coffee firmly in hand I now report once again
> > > > > >> > the current "straw-poll" standings on this thread :-0
> > > > > >> >
> > > > > >> > ****************************************************
> > > > > >> > PLEASE SOUND OFF IF YOU ARE IN THE WRONG
> > > > > >> > CATAGORY!!!! OR I HAVE MIS-READ YOU..
> > > > > >> > ***************************************************
> > > > > >> > Option 1 or 2:
> > > > > >> > --------------
> > > > > >> > Qiaobing Xie (wants the same or Modifed-Alder )
> > > > > >> >
> > > > > >> > Option 1 or 3:
> > > > > >> > --------------
> > > > > >> > Klaus Gradischnig (wants keep the same or CRC-32)
> > > > > >> >
> > > > > >> > Wants Others to decide/No-comment :>
> > > > > >> > ------------------------------------
> > > > > >> > Chip Sharp
> > > > > >> >
> > > > > >> >
> > > > > >> > No preference but wants only 1:
> > > > > >> > -------------------------------
> > > > > >> > Kacheong Poon ( wants only one sum, no options)>
> > > > > >> >
> > > > > >> > Still Unsure how to classify:
> > > > > >> > ---------------------------------------------------
> > > > > >> > Ran Atkinson (wants justification for any switch)
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> > Option 1 - leave Adler-32:
> > > > > >> > --------------------------
> > > > > >> > Ian Rytina
> > > > > >> > Michael Tuxen
> > > > > >> > Shymall Prasad
> > > > > >> > Hanns J Schwarzbauer
> > > > > >> > Alf Heidermark (Since he agrees with Hanns??)
> > > > > >> >
> > > > > >> > Option 2 - Modifed Adler-32 or Fletcher-16:
> > > > > >> > -------------------------------------------
> > > > > >> > Gareth Kiely
> > > > > >> >
> > > > > >> >
> > > > > >> > Option 3 - CRC-32:
> > > > > >> > ------------------
> > > > > >> > Me
> > > > > >> > Michael Ramalho
> > > > > >> > Lloyd Wood
> > > > > >> > Jonathan Wood
> > > > > >> > Jim Williams
> > > > > >> > Stephen Bailey
> > > > > >> > La Monte Yarroll
> > > > > >> > Ivan Arias Rodriguez
> > > > > >> > Andreas Jungmaier
> > > > > >> > David Black
> > > > > >> > David Reed ** with preference for a MD5 Digest?
> > > > > >> > Douglas Otis ** with preference for a MD5 Digest?
> > > > > >> > David Lehmann
> > > > > >> > Brian Bidulock
> > > > > >> > Richard A. Adams
> > > > > >> > Robert Fairlie-Cuninghame
> > > > > >> > Wolfgang Schruefer
> > > > > >> > John Loughney
> > > > > >> > Laurent Glade
> > > > > >> >
> > > > > >> > ---------------------------------------------------
> > > > > >> >
> > > > > >> > Total 1) 5
> > > > > >> >
> > > > > >> > Total 2) 1
> > > > > >> >
> > > > > >> > Total 3) 19
> > > > > >> >
> > > > > >> > Total Double ballots) 3
> > > > > >> > Total unspecified) 2
> > > > > >> >
> > > > > >> > ---------------------------------------------------
> > > > > >> > Total folks commenting on: 30
> > > > > >> > ---------------------------------------------------
> > > > > >> >
> > > > > >> >
> > > > > >> > --
> > > > > >> > Randall R. Stewart
> > > > > >> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > > > >> >
> > > > > >> > _______________________________________________
> > > > > >> > tsvwg mailing list
> > > > > >> > tsvwg@ietf.org
> > > > > >> > http://www1.ietf.org/mailman/listinfo/tsvwg
> > > > > >> >
> > > > > >
> > > > > >--
> > > > > >Randall R. Stewart
> > > > > >randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > > > >
> > > > > >_______________________________________________
> > > > > >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
> > > >
> > > > --
> > > > Randall R. Stewart
> > > > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > >
> > > > _______________________________________________
> > > > 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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 13 17:21: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 ESMTP id RAA01947
	for <tsvwg-archive@odin.ietf.org>; Wed, 13 Jun 2001 17:21: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 QAA02560;
	Wed, 13 Jun 2001 16:58:38 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA02530
	for <tsvwg@ns.ietf.org>; Wed, 13 Jun 2001 16:58:34 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA01525
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 16:58:00 -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 f5DKw2903383;
	Wed, 13 Jun 2001 13:58:02 -0700 (PDT)
Received: from stewart.chicago.il.us (dhcp-128-107-142-96.cisco.com [128.107.142.96])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AGO11628 (AUTH rrs);
	Wed, 13 Jun 2001 13:58:02 -0700 (PDT)
Message-ID: <3B27D3D5.3C73B494@stewart.chicago.il.us>
Date: Wed, 13 Jun 2001 15:57:57 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Ian Rytina <ian.rytina@ericsson.com.au>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check, again
References: <KKMBNLCFKBEFMBAA@shared1-mail.whowhere.com> <3B212AED.B38A8BD5@stewart.chicago.il.us> <3B24AE25.3F531B98@ericsson.com.au>
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

Ian Rytina wrote:
> 
> Randy,
> 
> How on earth do you claim that this is even anywhere near
> consensus ? 

Please read a bit closer Ian, I was asking Scott and Allision
if this was consensus... I would like to get there feel on it.
I did not claim it was consensus but that we were approaching
it..


> For a start, why do you invalidate double votes or
> those that are not sure ?

I will be more than glad to count the double votes as
a vote in each catagory.. I don't really think this is
very fair... the idea was to choose 1 not choose several :)

If the WG wants to count double votes lets add a 1/2 vote for
one and a 1/2 vote for the second.... that seems fair to me
and makes it so that if you DO choose more than 1 your vote
is split...that way no one gets more than one vote :)

> Double votes are completely valid, e.g.
> 1&2 means "I want a checksum solution on the transport layer, not
> a CRC solution", 2&3 means "if there's a problem, fix it, don't care
> how". Those who have voted for "not sure" means that they need
> more information before deciding.

I don't think I have seen any not sure's. I try to put down
names and comments in all the voting I am reporting. I am not
really biased in this.. though you seem to read me this way :0
> 
> So, using your figures, not including a few that came in today, I
> could (if I wanted) say that the results were :-

At the time I sent this it included all names that had specified a
preference. I will go throught the rest of my un-read email (I have
been traveling again ...sigh..) and then I will re-tabulate with
adding the 1/2 votes in as well (with names in each catagory).

I think it is important to list WHO in any tabulation. Just throwing
out numbers does not do justice to the wg. Giving the name and then
the totals is I think better. This gives folks a chance to realize
they are being mis-counted... or change there vote for any
other reason...

> 
> For CRC-32 = 18
> Not For CRC-32 (for whatever reason) = 12
> 
> The consequence of this is clearly "no consensus = no change". So I
> could say that we move forward with no change and forget about this issue.

I don't get your numbers here.. please if you think I am wrong
point out the names in each of the catagory... I don't think you can
count votes in 2 and 1 together.. The choices are

1 2 or 3...



> 
> However, I believe that most of the "Not For"s are all reasonable people (they
> seem to be, anyway.....). Most have stated that, while we understand that
> there MAY be a theoretical problem, and we also understand why there may
> be a theoretical problem, a few acedemic papers are not enough to convince
> us to change, especially since this exact issue has been discussed before in
> the development of SCTP.

Well, whom have I listed wrong Ian? I put down as acurately as possible
the folks that have come out either way. Anyone that sees I have them
tabulated in the wrong catagory SHOULD speak up and correct it!!

> 
> I believe from some of the comments on the list that the pro-CRCers have
> shown willingness to provide more evidence - let's wait for that before falsely
> declaring consensus.
> 

Excuse me. I don't see this has a valid argument. We have quite a
bit of information from Jonathan Stone and Craig Partridge on
this. Adler-32 is weak in small messages. Douglas Otis did testing
and reported results as to how many errors he encountered...

I realize that you may not like the outcomes here.. please point
out to me who I have mis-represented and this will convince
me that we are far from consenus...

I will post an update later today and you can PLEASE comment
on which name is in the wrong catagory...


R

> Randall Stewart wrote:
> 
> > Yes,
> >
> > Lets leave this whole digest chunk issue out of
> > play here... it just confuses the issue. We then
> > our down to two options....
> >
> > #1 leave things as they are - 5 in favor
> >
> > #2 change to CRC-32 - 18 in favor..
> >
> > Anything to do with digest chunks can be considered
> > seperately in say one of Dougs drafts... lets do
> > seperate threads to discuss please ... and instead
> > focus on getting consensus on this single issue
> > i.e. what (if any) to change the SCTP checksum to...
> >
> > Scott/Allison: Is this a enough of a consensus for
> > CRC-32.. if so I will make the appropriate changes
> > the draft chip and I have ready and get it submitted??
> >
> > R
> >
> > Lyndon Ong wrote:
> > >
> > > Well, we can pretty much eliminate (2).  A digest
> > > should be considered as a separate issue, I think.
> > >
> > > Cheers,
> > >
> > > Lyndon
> > > --
> > >
> > > On Fri, 08 Jun 2001 12:13:50   Randall Stewart wrote:
> > > >Douglas:
> > > >
> > > >If you would like me to open another catagory i.e.
> > > >
> > > >Wants CRC-32 OR a Digest:
> > > >
> > > >I suppose I can.. but at this point, considering the
> > > >comments on the list.. i.e. have all faded.. I
> > > >think we are going to need to ask the chairs to
> > > >look at these results and determine if we have a
> > > >rough consensus...or not...
> > > >
> > > >I don't see that any more comments
> > > >are arriving...  your postion change would make things:
> > > >
> > > >Total 1) 5
> > > >Total 2) 1
> > > >Total 3) 18
> > > >
> > > >Total Double ballots) 4
> > > >Total unspecified) 2
> > > >
> > > >I think that double ballot people should be dis-qualified...
> > > >since we need a consensus for one of the choices.. not multiple..
> > > >
> > > >We can always proceed in parrallel with a CRC/Digest chunk
> > > >and gage that seperate from changing the base sum...
> > > >
> > > >Has it stands now, it seems to me that we MAY have consensus for
> > > >CRC-32... but I must leave that to the chairs....
> > > >
> > > >Scott/Allision? Do you think that we will get any more
> > > >results?
> > > >
> > > >Chip and I have the draft for just the checksum change
> > > >ready... all we need is for you to tell us what consensus is..
> > > >or that we don't have it yet :>
> > > >
> > > >R
> > > >
> > > >Douglas Otis wrote:
> > > >>
> > > >> Randall,
> > > >>
> > > >> You can put me into the CRC-32 camp but I would like to also keep
> > > >> consideration of placement and digest open.  If this process is to be
> > > >> offloaded either in software or hardware, the number of passes through
> > > >> memory is important for performance.  Doing both a digest and packet check
> > > >> within the header will ensure two passes are always required.  I even
> > > >> suspect that with respect to encription, a very good crc is not helpful at
> > > >> that point.  Although it is not a problem that we are facing today, I wonder
> > > >> how this is to be done at 10GE.  Considerations as how often memory must be
> > > >> touched in the process may be a concern.  Also if there is a congestion
> > > >> problem causing a need for a path switch, this process now has a double duty
> > > >> of rebuilding these packets without a packet level digest which does seem
> > > >> possible.  If no header is used to allow check options, then placing the
> > > >> check at the end of the frame has advantages in that a word size pipe can
> > > >> handle two algorithms at once.
> > > >>
> > > >> Doug
> > > >>
> > > >> > Good Morning tsvwg :-)
> > > >> >
> > > >> > Coffee firmly in hand I now report once again
> > > >> > the current "straw-poll" standings on this thread :-0
> > > >> >
> > > >> > ****************************************************
> > > >> > PLEASE SOUND OFF IF YOU ARE IN THE WRONG
> > > >> > CATAGORY!!!! OR I HAVE MIS-READ YOU..
> > > >> > ***************************************************
> > > >> > Option 1 or 2:
> > > >> > --------------
> > > >> > Qiaobing Xie (wants the same or Modifed-Alder )
> > > >> >
> > > >> > Option 1 or 3:
> > > >> > --------------
> > > >> > Klaus Gradischnig (wants keep the same or CRC-32)
> > > >> >
> > > >> > Wants Others to decide/No-comment :>
> > > >> > ------------------------------------
> > > >> > Chip Sharp
> > > >> >
> > > >> >
> > > >> > No preference but wants only 1:
> > > >> > -------------------------------
> > > >> > Kacheong Poon ( wants only one sum, no options)
> > > >> >
> > > >> > Still Unsure how to classify:
> > > >> > ---------------------------------------------------
> > > >> > Ran Atkinson (wants justification for any switch)
> > > >> >
> > > >> >
> > > >> >
> > > >> > Option 1 - leave Adler-32:
> > > >> > --------------------------
> > > >> > Ian Rytina
> > > >> > Michael Tuxen
> > > >> > Shymall Prasad
> > > >> > Hanns J Schwarzbauer
> > > >> > Alf Heidermark (Since he agrees with Hanns??)
> > > >> >
> > > >> > Option 2 - Modifed Adler-32 or Fletcher-16:
> > > >> > -------------------------------------------
> > > >> > Gareth Kiely
> > > >> >
> > > >> >
> > > >> > Option 3 - CRC-32:
> > > >> > ------------------
> > > >> > Me
> > > >> > Michael Ramalho
> > > >> > Lloyd Wood
> > > >> > Jonathan Wood
> > > >> > Jim Williams
> > > >> > Stephen Bailey
> > > >> > La Monte Yarroll
> > > >> > Ivan Arias Rodriguez
> > > >> > Andreas Jungmaier
> > > >> > David Black
> > > >> > David Reed ** with preference for a MD5 Digest?
> > > >> > Douglas Otis ** with preference for a MD5 Digest?
> > > >> > David Lehmann
> > > >> > Brian Bidulock
> > > >> > Richard A. Adams
> > > >> > Robert Fairlie-Cuninghame
> > > >> > Wolfgang Schruefer
> > > >> > John Loughney
> > > >> > Laurent Glade
> > > >> >
> > > >> > ---------------------------------------------------
> > > >> >
> > > >> > Total 1) 5
> > > >> >
> > > >> > Total 2) 1
> > > >> >
> > > >> > Total 3) 19
> > > >> >
> > > >> > Total Double ballots) 3
> > > >> > Total unspecified) 2
> > > >> >
> > > >> > ---------------------------------------------------
> > > >> > Total folks commenting on: 30
> > > >> > ---------------------------------------------------
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Randall R. Stewart
> > > >> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > >> >
> > > >> > _______________________________________________
> > > >> > tsvwg mailing list
> > > >> > tsvwg@ietf.org
> > > >> > http://www1.ietf.org/mailman/listinfo/tsvwg
> > > >> >
> > > >
> > > >--
> > > >Randall R. Stewart
> > > >randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > >
> > > >_______________________________________________
> > > >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
> >
> > --
> > Randall R. Stewart
> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> >
> > _______________________________________________
> > 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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 13 17:23:06 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 ESMTP id RAA01972
	for <tsvwg-archive@odin.ietf.org>; Wed, 13 Jun 2001 17:23:06 -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 RAA03532;
	Wed, 13 Jun 2001 17:14:38 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA03497
	for <tsvwg@ns.ietf.org>; Wed, 13 Jun 2001 17:14:35 -0400 (EDT)
Received: from netmail.alcatel.com (netmail.alcatel.com [128.251.168.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA01737
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 17:14:00 -0400 (EDT)
Received: from auds951.usa.alcatel.com (auds951.usa.alcatel.com [143.209.238.80])
	by netmail.alcatel.com (8.9.1/8.9.1) with ESMTP id QAA27197
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 16:14:01 -0500 (CDT)
Received: from usa.alcatel.com (localhost [127.0.0.1])
	by auds951.usa.alcatel.com (8.10.2/8.10.2) with ESMTP id f5DLE1p07095;
	Wed, 13 Jun 2001 16:14:01 -0500 (CDT)
Message-ID: <3B27D799.B1653366@usa.alcatel.com>
Date: Wed, 13 Jun 2001 16:14:01 -0500
From: Tom George <Tom.George@usa.alcatel.com>
Organization: Alcatel USA, Inc. 
X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] SCTP MIB question
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

In the SCTP MIB draft-ietf-sigtran-sctp-mib-03.txt, there are objects
for counting the number of times T1 and T2 expire. Why not T3?

Thanks,
tomG.

-- 
* Tom George        972-519-3168         tom.george@usa.alcatel.com   *
* PB2-1323       Intranet:  http://www.ssd.usa.alcatel.com/~tgeorge/  *
*    Alcatel USA, Inc.; 1000 Coit Rd, MS STPA; Plano TX 75075-5813    *
* I actively disclaim speaking for Alcatel USA, Inc. I do not purport *
* to advertise or represent its position,  operations, or activities. *

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


From tsvwg-admin@ietf.org  Wed Jun 13 17:28: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 ESMTP id RAA02060
	for <tsvwg-archive@odin.ietf.org>; Wed, 13 Jun 2001 17:28: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 RAA03486;
	Wed, 13 Jun 2001 17:14:30 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA03455
	for <tsvwg@ns.ietf.org>; Wed, 13 Jun 2001 17:14:28 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA01735
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 17:13:54 -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.11.3/8.9.1) with ESMTP id f5DLE2U26547;
	Wed, 13 Jun 2001 14:14:03 -0700 (PDT)
Received: from stewart.chicago.il.us (dhcp-128-107-142-96.cisco.com [128.107.142.96])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AGO12249 (AUTH rrs);
	Wed, 13 Jun 2001 14:13:56 -0700 (PDT)
Message-ID: <3B27D792.B4931E02@stewart.chicago.il.us>
Date: Wed, 13 Jun 2001 16:13:54 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Robert Snively <rsnively@brocade.com>
CC: "'Ian Rytina'" <ian.rytina@ericsson.com.au>, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check, again
References: <FFD40DB4943CD411876500508BAD027902993563@sj5-ex2.brocade.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

Bob:

The one thing that Jonathan seems to most strongly point
out is NOT to use Adler-32... which it seems to me is
not obvious in your forward..

So Jonathan recommends:

1) Moving the check to the end.
2) Picking something DIFFERENT than Adler-32, even
   a 32-bit extension to the tcp sum (which I did test
   in my cpu tests and it does the best... but the down
   side is you are dealing with something completely unknown :-o)


Bottom line is that Jonathan does not vote for our choice
number 1... i.e. don't use adler-32 is plain in his post...

R


Robert Snively wrote:
> 
> Please consider the following e-mail, which correctly states that
> not only is a checksum structure sufficient, but also that a CRC
> is not any better in the real world, as long as both are developed
> with a 32-bit check value.
> 
> Bob
> 
>> Jonathan Stone wrote:
>> 
>> 
>> If there's anything i can recommend to the tsvwg, its to pick even a
>> 32-bit extension of the TCP checksum, rather than Adler32; and to
>> think seriously about moving the error-check bits to the end.  Not to
>> help hardware, but to make whatever error-check you use more resilient
>> against errors in packet-processing engines which (once an error does
>> hit) trash the remainder of the packet.
>> 

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 13 17:46: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 ESMTP id RAA02230
	for <tsvwg-archive@odin.ietf.org>; Wed, 13 Jun 2001 17:46: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 RAA03795;
	Wed, 13 Jun 2001 17:22: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 RAA03766
	for <tsvwg@ns.ietf.org>; Wed, 13 Jun 2001 17:22:05 -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 ESMTP id RAA01900
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 17:20:32 -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.11.3/8.9.1) with ESMTP id f5DLHVk07161;
	Wed, 13 Jun 2001 14:20:28 -0700 (PDT)
Received: from stewart.chicago.il.us (dhcp-128-107-142-96.cisco.com [128.107.142.96])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AGO12374 (AUTH rrs);
	Wed, 13 Jun 2001 14:17:21 -0700 (PDT)
Message-ID: <3B27D85F.3CF1F5B6@stewart.chicago.il.us>
Date: Wed, 13 Jun 2001 16:17:19 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Ming Lin <mlin@huawei.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] refresh sctp association
References: <005001c0f3fa$8468ad00$0b1c690a@l19463.huawei.com.cn>
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

Ming:

As I have told you offline.. I don't see the value
in this. SCTP already has a restarting association
mechanism. You propose (if I understand correctly) re-inventing
this so you can escape any application level consequences
of the association restarting.. which is exactly what you
are doing when the Verfication Tag changes.

I would advise you to submit a draft so maybe others (and myself) can
get a document in hand to think on ... 

R


Ming Lin wrote:
> 
> Hi all,
> 
> I have a idea of adding a functionality to SCTP, which called "refresh".
> 
> The process is below:
> 
> The local send REFRESH message to the peer with parameters
> of  initial_TSN,a_rwnd and v_tag.
> 
> When the peer receives this message, it refresh its tx and rx buffer
> and takes action as a new association,
> without change of in/out stream number, port, ip addrees ..
> then send back REFRESH ACK message with initial_TSN, a_rwnd and v_tag.
> 
> The local sctp also takes action as above
> when it receive REFRESH ACK,
> and send back REFRESH COMPLETE message.
> 
> After refresh, the association has new initial_TSN and v_tag.
> 
> The advantages of having such functionality are:
> 1.An SCTP association of telecommunication level application may
> last for a long time.
> The longer time v_tag and initial_TSN fix, the more possible is the
> association attacked.
> So it cause security problem.
> If the users fresh association between them, the v_tag and initial_TSN will
> be changed,
> the possibility of being attacked is decreased.
> 
> 2.This functionality makes SCTP redundancy easier to implemente.
> The two SCTP processors need only backup some half-static variable of TCB,
> and after switchover the newly active processors just refresh the
> association.
> Some variables that change frequently(e.g. TSN and SSN) need not be
> backuped.
> 
> 3.An SCTP association of telecommunication level application may
> last for a long time, and during this time, the two sides of SCTP may lose
> synchronization.
> At that time, the refresh functionality is useful to keep the association.
> 
> Comments are welcome.....
> 
> Regards
> Ming Lin
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 13 18:22: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 ESMTP id SAA02663
	for <tsvwg-archive@odin.ietf.org>; Wed, 13 Jun 2001 18:22: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 SAA05338;
	Wed, 13 Jun 2001 18:08:52 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA05307
	for <tsvwg@ns.ietf.org>; Wed, 13 Jun 2001 18:08:50 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA02513
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 18:08:18 -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 f5DM8L909000
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 15:08:21 -0700 (PDT)
Received: from stewart.chicago.il.us (dhcp-128-107-142-96.cisco.com [128.107.142.96])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AGO14258 (AUTH rrs);
	Wed, 13 Jun 2001 15:08:21 -0700 (PDT)
Message-ID: <3B27E452.A81D088C@stewart.chicago.il.us>
Date: Wed, 13 Jun 2001 17:08:18 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: TSV WG list <tsvwg@ietf.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] SCTP Checksum straw poll
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

STRAW POLL UPDATE :-)


//////////////////////////////////////////////////
Note: Ian, I could find NO other comments after
your past note. Please reply to this with the
names of those I missed (if I missed some). This
could be a email problem for me... I am still on
the road...
//////////////////////////////////////////////////

PLEASE SOUND OFF IF YOU ARE IN THE WRONG
CATAGORY!!!! OR I HAVE MIS-READ YOU.. 

Double or triple ballots are now apportioned.

***************************************************



Wants Others to decide/No-comment :>
--------------
Chip Sharp 

No preference but wants only 1:
-------------------------------
Kacheong Poon ( wants only one sum, no options)

Still Unsure how to classify (Please speak up :>>):
-------------------------------
Ran Atkinson (wants justification for any switch)



Keep the same (Option 1):
-------------------------
Ian Rytina
Michael Tuxen
Shymall Prasad
Hanns J Schwarzbauer
Alf Heidermark
Klaus Gradischnig (wants keep the same or CRC-32) (.5)
Qiaobing Xie (wants the same or Modifed-Alder ) (.5)

Use Modified Adler-32 (Option 2):
---------------------------------
Gareth Kiely
Qiaobing Xie (wants the same or Modifed-Alder ) (.5)

Use CRC-32 (Option 3):
----------------------
Me
Michael Ramalho
Lloyd Wood
Jonathan Wood
Jim Williams
Stephen Bailey
La Monte Yarroll
Ivan Arias Rodriguez
Andreas Jungmaier
David Black
David Reed ** with preference for a MD5 Digest?
Douglas Otis ** with preference for a MD5 Digest?
David Lehmann
Brian Bidulock
Richard A. Adams
Robert Fairlie-Cuninghame
Wolfgang Schruefer
John Loughney
Laurent Glade 
Klaus Gradischnig (wants keep the same or CRC-32) (.5)

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

Total 1) 6

Total 2) 1.5

Total 3) 19.5

Total unspecified) 3

---------------------------------------------------
Total folks commenting on: 30
---------------------------------------------------



-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 13 22:36: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 ESMTP id WAA06495
	for <tsvwg-archive@odin.ietf.org>; Wed, 13 Jun 2001 22:36: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 WAA11977;
	Wed, 13 Jun 2001 22:17: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 WAA11949
	for <tsvwg@ns.ietf.org>; Wed, 13 Jun 2001 22:17:47 -0400 (EDT)
Received: from chmls05.mediaone.net (chmls05.mediaone.net [24.147.1.143])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA05473
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 22:17:14 -0400 (EDT)
Received: from cs.uchicago.edu (h00008649aa79.ne.mediaone.net [24.91.86.135])
	by chmls05.mediaone.net (8.11.1/8.11.1) with ESMTP id f5E2Hkx10442
	for <tsvwg@ietf.org>; Wed, 13 Jun 2001 22:17:46 -0400 (EDT)
Message-Id: <200106140217.f5E2Hkx10442@chmls05.mediaone.net>
To: tsvwg@ietf.org
Subject: Re: Fw: [Tsvwg] ULP Framing for TCP 
In-Reply-To: Message from "Jim Williams" <jim.williams@emulex.com> 
   of "Tue, 12 Jun 2001 17:06:43 EDT." <015301c0f383$95839db0$cc0e10ac@ma.emulex.com> 
References: <015301c0f383$95839db0$cc0e10ac@ma.emulex.com> 
Date: Wed, 13 Jun 2001 22:17:44 -0400
From: Stephen Bailey <steph@cs.uchicago.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

Jim[s],

> > So this ensures that the sender won't knowingly emit a segment with a
> > payload that will falsely match the key value?
> > What does the sender emit in this case?
> 
> The sender would revert to "b." in this case.  See below.

It could also send segments that are guaranteed not to fail false
positive.  A segment whose data length is shorter than the framing
header can not be mistaken for a properly framed segment.  This is an
alternative which will keep the data flowing.

Waiting for the ACKs to catch is my kind of solution to the infrequent
case (simple and brute force :^), but how do you know that the ACKs
have caught up?  What happens if a packet (or all the packets, if a
router is eating fragments?) gets lost?  Do you wait for the last ACK
or 2*MSL, whichever comes first?  In this strategy, when a packet DOES
get lost, do you then send PDUs up to an including the next one in the
stream which is larger than the new MSS, and wait for ACK to that
point?  In the case where you have a long stream of old MSS PDUs, you
will be sending them one at a time until you reach the end of what you
sent before you learned of the path MTU change.

I'm not saying this is a bad idea, I just want to make sure I
understand the behavior.

> > Is receiver framing behavior (out-of-order data placement) ever resumed
> > and what triggers it?

As long as the sender is always `trying' to send segments that begin
at a framing boundary, framing should be restored.  Specifically, the
sender must not cross a framed PDU boundary within a segment.  Given
that framed PDUs are delivered to the framing layer as a unit, there
will be no upper-layer demand to send less than a framed unit of data
so framing should be stable across such interruptions.

Steph

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


From tsvwg-admin@ietf.org  Thu Jun 14 06:36: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 ESMTP id GAA24355
	for <tsvwg-archive@odin.ietf.org>; Thu, 14 Jun 2001 06:36: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 GAA03577;
	Thu, 14 Jun 2001 06:15:12 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id GAA03547
	for <tsvwg@ns.ietf.org>; Thu, 14 Jun 2001 06:15:10 -0400 (EDT)
Received: from hoemail2.firewall.lucent.com (hoemail2.lucent.com [192.11.226.163])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA24266
	for <tsvwg@ietf.org>; Thu, 14 Jun 2001 06:14:37 -0400 (EDT)
Received: from hoemail2.firewall.lucent.com (localhost [127.0.0.1])
	by hoemail2.firewall.lucent.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f5EAFAS21569
	for <tsvwg@ietf.org>; Thu, 14 Jun 2001 06:15:10 -0400 (EDT)
Received: from uk0006exch001h.wins.lucent.com (h135-86-160-150.lucent.com [135.86.160.150])
	by hoemail2.firewall.lucent.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f5EAF9o21542
	for <tsvwg@ietf.org>; Thu, 14 Jun 2001 06:15:09 -0400 (EDT)
Received: by uk0006exch001h.uk.lucent.com with Internet Mail Service (5.5.2650.21)
	id <L9FLJB7J>; Thu, 14 Jun 2001 11:15:08 +0100
Message-ID: <17BA7A412C4FD311A4B700508B0291AE04D056F5@uk0006exch004u.uk.lucent.com>
From: "Adams, Richard Anthony (Richard)" <raadams1@lucent.com>
To: Schwarzbauer Hanns Juergen <HannsJuergen.Schwarzbauer@icn.siemens.de>,
        "'Naveen S Jain'" <NAVEENSJ@infy.com>,
        "Adams, Richard Anthony (Richard)"
	 <raadams1@lucent.com>,
        "'lyndon_ong@eudoramail.com'"
	 <lyndon_ong@eudoramail.com>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check, again
Date: Thu, 14 Jun 2001 11:15:04 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain
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

Lyndon,
you wrote:
	"Perhaps we could take another angle on it - what would be the worst
case situation?  Supposing we have some type of short message traffic, such
as signaling, that fits some worst case profile for the Adler-32 - do we
have a plausible example of when this might happen?"

	We're working on this one. But when will we have an answer... ? !!
Ultimately, to demonstrate that a problem does exist, I think that we need
measurements of the ratio of signalling messages containing errors
undetected by Adler to all signalling messages, in a representative sample
of networks. Of course, test networks will usually have very low error
rates, and to introduce artificial errors will open us to arguments that
these are NOT typical ! So, I have a fear that it will be some way down the
road before we know for sure. That is one of the reasons that I am tempted
(but so far I resist!) to go for the optional scheme - if Adler isn't OK
(for some associations and some applications in parts of a network), then
have a management-controlled use of an error scheme that is OK. Then the
"ends" of an association could be updated independently. This principle is
the one behind the "set spare bits to 0 on generation, and don't examine on
reception" statements in SS7 MTP. But it does complicate matters. 

With kind regards,
Richard A. Adams,
raadams1@lucent.com, tel : +44 1666 83 2503
fax: + 44 1666 83 2712
Lucent Tech.,
Swindon Road,
Malmesbury,
Wiltshire SN16 9NA.



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


From tsvwg-admin@ietf.org  Thu Jun 14 10:39: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 ESMTP id KAA00996
	for <tsvwg-archive@odin.ietf.org>; Thu, 14 Jun 2001 10:39: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 KAA11326;
	Thu, 14 Jun 2001 10:15: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 KAA11295
	for <tsvwg@ns.ietf.org>; Thu, 14 Jun 2001 10:15:53 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA00206
	for <tsvwg@ietf.org>; Thu, 14 Jun 2001 10:15:21 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id HAA07418;
	Thu, 14 Jun 2001 07:14:50 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <MXT2CYF5>; Thu, 14 Jun 2001 07:14:50 -0700
Message-ID: <FFD40DB4943CD411876500508BAD027902DDB6D3@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: Randall Stewart at work <randall@stewart.chicago.il.us>,
        TSV WG list
	 <tsvwg@ietf.org>
Subject: RE: [Tsvwg] SCTP Checksum straw poll
Date: Thu, 14 Jun 2001 07:14:44 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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

Put me in the "keep the same" camp please.

>  -----Original Message-----
>  From: Randall Stewart at work [mailto:randall@stewart.chicago.il.us]
>  Sent: Wednesday, June 13, 2001 3:08 PM
>  To: TSV WG list
>  Subject: [Tsvwg] SCTP Checksum straw poll
>  
>  
>  STRAW POLL UPDATE :-)
>  
>  
>  //////////////////////////////////////////////////
>  Note: Ian, I could find NO other comments after
>  your past note. Please reply to this with the
>  names of those I missed (if I missed some). This
>  could be a email problem for me... I am still on
>  the road...
>  //////////////////////////////////////////////////
>  
>  PLEASE SOUND OFF IF YOU ARE IN THE WRONG
>  CATAGORY!!!! OR I HAVE MIS-READ YOU.. 
>  
>  Double or triple ballots are now apportioned.
>  
>  ***************************************************
>  
>  
>  
>  Wants Others to decide/No-comment :>
>  --------------
>  Chip Sharp 
>  
>  No preference but wants only 1:
>  -------------------------------
>  Kacheong Poon ( wants only one sum, no options)
>  
>  Still Unsure how to classify (Please speak up :>>):
>  -------------------------------
>  Ran Atkinson (wants justification for any switch)
>  
>  
>  
>  Keep the same (Option 1):
>  -------------------------
>  Ian Rytina
>  Michael Tuxen
>  Shymall Prasad
>  Hanns J Schwarzbauer
>  Alf Heidermark
>  Klaus Gradischnig (wants keep the same or CRC-32) (.5)
>  Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
>  
>  Use Modified Adler-32 (Option 2):
>  ---------------------------------
>  Gareth Kiely
>  Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
>  
>  Use CRC-32 (Option 3):
>  ----------------------
>  Me
>  Michael Ramalho
>  Lloyd Wood
>  Jonathan Wood
>  Jim Williams
>  Stephen Bailey
>  La Monte Yarroll
>  Ivan Arias Rodriguez
>  Andreas Jungmaier
>  David Black
>  David Reed ** with preference for a MD5 Digest?
>  Douglas Otis ** with preference for a MD5 Digest?
>  David Lehmann
>  Brian Bidulock
>  Richard A. Adams
>  Robert Fairlie-Cuninghame
>  Wolfgang Schruefer
>  John Loughney
>  Laurent Glade 
>  Klaus Gradischnig (wants keep the same or CRC-32) (.5)
>  
>  ---------------------------------------------------
>  
>  Total 1) 6
>  
>  Total 2) 1.5
>  
>  Total 3) 19.5
>  
>  Total unspecified) 3
>  
>  ---------------------------------------------------
>  Total folks commenting on: 30
>  ---------------------------------------------------
>  
>  
>  
>  -- 
>  Randall R. Stewart
>  randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>  
>  _______________________________________________
>  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  Thu Jun 14 12:01: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 ESMTP id MAA03013
	for <tsvwg-archive@odin.ietf.org>; Thu, 14 Jun 2001 12:01: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 LAA15068;
	Thu, 14 Jun 2001 11:42: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 LAA15041
	for <tsvwg@ns.ietf.org>; Thu, 14 Jun 2001 11:42:35 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02498
	for <tsvwg@ietf.org>; Thu, 14 Jun 2001 11:42:02 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id IAA09280;
	Thu, 14 Jun 2001 08:41:32 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <MXT2CYWF>; Thu, 14 Jun 2001 08:41:32 -0700
Message-ID: <FFD40DB4943CD411876500508BAD027902993585@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: "'Randall Stewart at work'" <randall@stewart.chicago.il.us>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check, again
Date: Thu, 14 Jun 2001 08:41:29 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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 stand corrected.  I had not realized that the Adler-32 was
the result of keeping it the same.  I support "none of the
above", which is essentially what you have described below.
A desirable candidate would be a 32-bit checksum using the 
32 bit one's complement of the one's
complement sum of all 32 bit words, making the assumption that
any padded bytes have a value of zero.  This is essentially a
32-bit version of the TCP/IP check sum.

I believe that this would facilitate implementations that
make use of constructed packets or that require packet modification.

Bob

>  -----Original Message-----
>  From: Randall Stewart at work [mailto:randall@stewart.chicago.il.us]
>  Sent: Wednesday, June 13, 2001 2:14 PM
>  To: Robert Snively
>  Cc: 'Ian Rytina'; tsvwg@ietf.org
>  Subject: Re: [Tsvwg] sctp error check, again
>  
>  
>  Bob:
>  
>  The one thing that Jonathan seems to most strongly point
>  out is NOT to use Adler-32... which it seems to me is
>  not obvious in your forward..
>  
>  So Jonathan recommends:
>  
>  1) Moving the check to the end.
>  2) Picking something DIFFERENT than Adler-32, even
>     a 32-bit extension to the tcp sum (which I did test
>     in my cpu tests and it does the best... but the down
>     side is you are dealing with something completely unknown :-o)
>  
>  
>  Bottom line is that Jonathan does not vote for our choice
>  number 1... i.e. don't use adler-32 is plain in his post...
>  
>  R
>  
>  
>  Robert Snively wrote:
>  > 
>  > Please consider the following e-mail, which correctly states that
>  > not only is a checksum structure sufficient, but also that a CRC
>  > is not any better in the real world, as long as both are developed
>  > with a 32-bit check value.
>  > 
>  > Bob
>  > 
>  >> Jonathan Stone wrote:
>  >> 
>  >> 
>  >> If there's anything i can recommend to the tsvwg, its to 
>  pick even a
>  >> 32-bit extension of the TCP checksum, rather than Adler32; and to
>  >> think seriously about moving the error-check bits to the 
>  end.  Not to
>  >> help hardware, but to make whatever error-check you use 
>  more resilient
>  >> against errors in packet-processing engines which (once 
>  an error does
>  >> hit) trash the remainder of the packet.
>  >> 
>  
>  -- 
>  Randall R. Stewart
>  randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>  

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


From tsvwg-admin@ietf.org  Thu Jun 14 14:35: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 ESMTP id OAA07055
	for <tsvwg-archive@odin.ietf.org>; Thu, 14 Jun 2001 14:35: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 OAA20618;
	Thu, 14 Jun 2001 14:10: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 OAA20592
	for <tsvwg@ns.ietf.org>; Thu, 14 Jun 2001 14:10:11 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA06017
	for <tsvwg@ietf.org>; Thu, 14 Jun 2001 14:09:39 -0400 (EDT)
Received: (cpmta 21071 invoked from network); 14 Jun 2001 11:09:40 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.206) with SMTP; 14 Jun 2001 11:09:40 -0700
X-Sent: 14 Jun 2001 18:09:40 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Robert Snively" <rsnively@brocade.com>,
        "'Randall Stewart at work'" <randall@stewart.chicago.il.us>
Cc: <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check, again
Date: Thu, 14 Jun 2001 11:07:26 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJAEOJCIAA.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: <FFD40DB4943CD411876500508BAD027902993585@sj5-ex2.brocade.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
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

Robert,

Such a simple checksum would be extremely susceptible to bus related errors.
Why would there be a need to change the content of the SCTP packet in
transit?

Doug

> I stand corrected.  I had not realized that the Adler-32 was
> the result of keeping it the same.  I support "none of the
> above", which is essentially what you have described below.
> A desirable candidate would be a 32-bit checksum using the
> 32 bit one's complement of the one's
> complement sum of all 32 bit words, making the assumption that
> any padded bytes have a value of zero.  This is essentially a
> 32-bit version of the TCP/IP check sum.
>
> I believe that this would facilitate implementations that
> make use of constructed packets or that require packet modification.
>
> Bob
>
> >  Bob:
> >
> >  The one thing that Jonathan seems to most strongly point
> >  out is NOT to use Adler-32... which it seems to me is
> >  not obvious in your forward..
> >
> >  So Jonathan recommends:
> >
> >  1) Moving the check to the end.
> >  2) Picking something DIFFERENT than Adler-32, even
> >     a 32-bit extension to the tcp sum (which I did test
> >     in my cpu tests and it does the best... but the down
> >     side is you are dealing with something completely unknown :-o)
> >
> >
> >  Bottom line is that Jonathan does not vote for our choice
> >  number 1... i.e. don't use adler-32 is plain in his post...
> >
> >  R
> >
> >
> >  Robert Snively wrote:
> >  >
> >  > Please consider the following e-mail, which correctly states that
> >  > not only is a checksum structure sufficient, but also that a CRC
> >  > is not any better in the real world, as long as both are developed
> >  > with a 32-bit check value.
> >  >
> >  > Bob
> >  >
> >  >> Jonathan Stone wrote:
> >  >>
> >  >>
> >  >> If there's anything i can recommend to the tsvwg, its to
> >  pick even a
> >  >> 32-bit extension of the TCP checksum, rather than Adler32; and to
> >  >> think seriously about moving the error-check bits to the
> >  end.  Not to
> >  >> help hardware, but to make whatever error-check you use
> >  more resilient
> >  >> against errors in packet-processing engines which (once
> >  an error does
> >  >> hit) trash the remainder of the packet.
> >  >>
> >
> >  --
> >  Randall R. Stewart
> >  randall@stewart.chicago.il.us 815-342-5222 (cell phone)


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


From tsvwg-admin@ietf.org  Thu Jun 14 19:24: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 ESMTP id TAA11166
	for <tsvwg-archive@odin.ietf.org>; Thu, 14 Jun 2001 19: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 TAA29567;
	Thu, 14 Jun 2001 19:05: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 TAA29539
	for <tsvwg@ns.ietf.org>; Thu, 14 Jun 2001 19:05:51 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA11034
	for <tsvwg@ietf.org>; Thu, 14 Jun 2001 19:05:20 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id QAA22598;
	Thu, 14 Jun 2001 16:05:10 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <M8L8MD0B>; Thu, 14 Jun 2001 16:05:08 -0700
Message-ID: <FFD40DB4943CD411876500508BAD02790299358D@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: "'Douglas Otis'" <dotis@sanlight.net>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check, again
Date: Thu, 14 Jun 2001 16:05:06 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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

Doug,

I have seen at least one implementation that collects fragments
of information with separately developed checksums and assembles them
into packets using, not a recalculation of the overall checksum, but
manipulation of the partial checksums provided with each of the 
fragments.  Makes sense to me, and cannot be done very well with
most CRCs.  It detects all error bursts less than 32 bits long, it 
detects a bunch of other types of errors, and it rejects massive 
bursts with a worst-case failure rate of 1 in 2**32.  This is not 
half bad, and not significantly different than CRC.  The relevant 
buses range in width from 128 bits down to 1 bit, on a variety of 
bit and byte boundaries and with a variety of internal checking 
mechanisms which complement this detection capability.  As such, 
I don't really consider it "extremely susceptible to bus 
related errors".

Bob

>  -----Original Message-----
>  From: Douglas Otis [mailto:dotis@sanlight.net]
>  Sent: Thursday, June 14, 2001 11:07 AM
>  To: Robert Snively; 'Randall Stewart at work'
>  Cc: tsvwg@ietf.org
>  Subject: RE: [Tsvwg] sctp error check, again
>  
>  
>  Robert,
>  
>  Such a simple checksum would be extremely susceptible to bus 
>  related errors.
>  Why would there be a need to change the content of the SCTP packet in
>  transit?
>  
>  Doug
>  
>  > I stand corrected.  I had not realized that the Adler-32 was
>  > the result of keeping it the same.  I support "none of the
>  > above", which is essentially what you have described below.
>  > A desirable candidate would be a 32-bit checksum using the
>  > 32 bit one's complement of the one's
>  > complement sum of all 32 bit words, making the assumption that
>  > any padded bytes have a value of zero.  This is essentially a
>  > 32-bit version of the TCP/IP check sum.
>  >
>  > I believe that this would facilitate implementations that
>  > make use of constructed packets or that require packet 
>  modification.
>  >
>  > Bob
>  >
>  > >  Bob:
>  > >
>  > >  The one thing that Jonathan seems to most strongly point
>  > >  out is NOT to use Adler-32... which it seems to me is
>  > >  not obvious in your forward..
>  > >
>  > >  So Jonathan recommends:
>  > >
>  > >  1) Moving the check to the end.
>  > >  2) Picking something DIFFERENT than Adler-32, even
>  > >     a 32-bit extension to the tcp sum (which I did test
>  > >     in my cpu tests and it does the best... but the down
>  > >     side is you are dealing with something completely 
>  unknown :-o)
>  > >
>  > >
>  > >  Bottom line is that Jonathan does not vote for our choice
>  > >  number 1... i.e. don't use adler-32 is plain in his post...
>  > >
>  > >  R
>  > >
>  > >
>  > >  Robert Snively wrote:
>  > >  >
>  > >  > Please consider the following e-mail, which correctly 
>  states that
>  > >  > not only is a checksum structure sufficient, but also 
>  that a CRC
>  > >  > is not any better in the real world, as long as both 
>  are developed
>  > >  > with a 32-bit check value.
>  > >  >
>  > >  > Bob
>  > >  >
>  > >  >> Jonathan Stone wrote:
>  > >  >>
>  > >  >>
>  > >  >> If there's anything i can recommend to the tsvwg, its to
>  > >  pick even a
>  > >  >> 32-bit extension of the TCP checksum, rather than 
>  Adler32; and to
>  > >  >> think seriously about moving the error-check bits to the
>  > >  end.  Not to
>  > >  >> help hardware, but to make whatever error-check you use
>  > >  more resilient
>  > >  >> against errors in packet-processing engines which (once
>  > >  an error does
>  > >  >> hit) trash the remainder of the packet.
>  > >  >>
>  > >
>  > >  --
>  > >  Randall R. Stewart
>  > >  randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>  
>  

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


From tsvwg-admin@ietf.org  Thu Jun 14 20:22: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 ESMTP id UAA11916
	for <tsvwg-archive@odin.ietf.org>; Thu, 14 Jun 2001 20:22: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 UAA01444;
	Thu, 14 Jun 2001 20:11: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 UAA01413
	for <tsvwg@ns.ietf.org>; Thu, 14 Jun 2001 20:11:00 -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 ESMTP id UAA11752
	for <tsvwg@ietf.org>; Thu, 14 Jun 2001 20:10:27 -0400 (EDT)
Received: from littlejoy (10.0.0.32.lan.sanlight.net [10.0.0.32])
	by gateway.sanlight.org (8.11.0/8.11.0) with SMTP id f5F1Gi121158;
	Thu, 14 Jun 2001 18:16:44 -0700 (PDT)
	(envelope-from dotis@sanlight.net)
From: "Douglas Otis" <dotis@sanlight.net>
To: "Robert Snively" <rsnively@brocade.com>
Cc: <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check, again
Date: Thu, 14 Jun 2001 17:08:12 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJAEOLCIAA.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)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
In-Reply-To: <FFD40DB4943CD411876500508BAD02790299358D@sj5-ex2.brocade.com>
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

Bob,

With a 32 bit bus stuck bit (0-31) applied to the last half of the packet,
1.3% undetected errors were experienced using Fletcher-16 (a 32 bit
summation result).  This is not near 2**32 indicating a summation to be
unreliable for bus related errors.  If errors are randomly distributed, then
simple summation has a chance of approaching 2**32 but busses do not
distribute errors randomly and, in many devices, not all provide the level
of protection desired.

As SCTP is a framing protocol, I am surprised to find a suggestion for a
partial frame construction technique.  One would think that a single pass
over the entire packet preferable.  However, if partial frames are assembled
in descending order, then it should not matter what algorithm is used.

Doug

> Doug,
>
> I have seen at least one implementation that collects fragments
> of information with separately developed checksums and assembles them
> into packets using, not a recalculation of the overall checksum, but
> manipulation of the partial checksums provided with each of the
> fragments.  Makes sense to me, and cannot be done very well with
> most CRCs.  It detects all error bursts less than 32 bits long, it
> detects a bunch of other types of errors, and it rejects massive
> bursts with a worst-case failure rate of 1 in 2**32.  This is not
> half bad, and not significantly different than CRC.  The relevant
> buses range in width from 128 bits down to 1 bit, on a variety of
> bit and byte boundaries and with a variety of internal checking
> mechanisms which complement this detection capability.  As such,
> I don't really consider it "extremely susceptible to bus
> related errors".
>
> Bob
>
> >  -----Original Message-----
> >  From: Douglas Otis [mailto:dotis@sanlight.net]
> >  Sent: Thursday, June 14, 2001 11:07 AM
> >  To: Robert Snively; 'Randall Stewart at work'
> >  Cc: tsvwg@ietf.org
> >  Subject: RE: [Tsvwg] sctp error check, again
> >
> >
> >  Robert,
> >
> >  Such a simple checksum would be extremely susceptible to bus
> >  related errors.
> >  Why would there be a need to change the content of the SCTP packet in
> >  transit?
> >
> >  Doug
> >
> >  > I stand corrected.  I had not realized that the Adler-32 was
> >  > the result of keeping it the same.  I support "none of the
> >  > above", which is essentially what you have described below.
> >  > A desirable candidate would be a 32-bit checksum using the
> >  > 32 bit one's complement of the one's
> >  > complement sum of all 32 bit words, making the assumption that
> >  > any padded bytes have a value of zero.  This is essentially a
> >  > 32-bit version of the TCP/IP check sum.
> >  >
> >  > I believe that this would facilitate implementations that
> >  > make use of constructed packets or that require packet
> >  modification.
> >  >
> >  > Bob
> >  >
> >  > >  Bob:
> >  > >
> >  > >  The one thing that Jonathan seems to most strongly point
> >  > >  out is NOT to use Adler-32... which it seems to me is
> >  > >  not obvious in your forward..
> >  > >
> >  > >  So Jonathan recommends:
> >  > >
> >  > >  1) Moving the check to the end.
> >  > >  2) Picking something DIFFERENT than Adler-32, even
> >  > >     a 32-bit extension to the tcp sum (which I did test
> >  > >     in my cpu tests and it does the best... but the down
> >  > >     side is you are dealing with something completely
> >  unknown :-o)
> >  > >
> >  > >
> >  > >  Bottom line is that Jonathan does not vote for our choice
> >  > >  number 1... i.e. don't use adler-32 is plain in his post...
> >  > >
> >  > >  R
> >  > >
> >  > >
> >  > >  Robert Snively wrote:
> >  > >  >
> >  > >  > Please consider the following e-mail, which correctly
> >  states that
> >  > >  > not only is a checksum structure sufficient, but also
> >  that a CRC
> >  > >  > is not any better in the real world, as long as both
> >  are developed
> >  > >  > with a 32-bit check value.
> >  > >  >
> >  > >  > Bob
> >  > >  >
> >  > >  >> Jonathan Stone wrote:
> >  > >  >>
> >  > >  >>
> >  > >  >> If there's anything i can recommend to the tsvwg, its to
> >  > >  pick even a
> >  > >  >> 32-bit extension of the TCP checksum, rather than
> >  Adler32; and to
> >  > >  >> think seriously about moving the error-check bits to the
> >  > >  end.  Not to
> >  > >  >> help hardware, but to make whatever error-check you use
> >  > >  more resilient
> >  > >  >> against errors in packet-processing engines which (once
> >  > >  an error does
> >  > >  >> hit) trash the remainder of the packet.
> >  > >  >>
> >  > >
> >  > >  --
> >  > >  Randall R. Stewart
> >  > >  randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> >
> >
>
> _______________________________________________
> 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 Jun 15 10: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 ESMTP id KAA10777
	for <tsvwg-archive@odin.ietf.org>; Fri, 15 Jun 2001 10:42: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 KAA02833;
	Fri, 15 Jun 2001 10:32: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 KAA02807
	for <tsvwg@ns.ietf.org>; Fri, 15 Jun 2001 10:31:59 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA10464
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 10:31:25 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id HAA16136;
	Fri, 15 Jun 2001 07:31:17 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <M8L8MKAQ>; Fri, 15 Jun 2001 07:31:17 -0700
Message-ID: <FFD40DB4943CD411876500508BAD027902993590@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: "'Douglas Otis'" <dotis@sanlight.net>,
        Robert Snively
	 <rsnively@brocade.com>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check, again
Date: Fri, 15 Jun 2001 07:31:14 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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

A 32-bit bus with a stuck bit will be detected as an error 
with 100% probability using parity, which would normally be
expected on a bus having data integrity as a requirement. 
Even without parity, the stuck bit 
would also have a high probability of disrupting the header 
of the next packet, instantly flagging the bus as failing.  
In many of the other 32-bit buses (XGMII as an example), the
link CRC passes across the bus for link frame verification, which
supplements the packet verification.

While I am sure your numbers are valid, I think that ignoring
the benefits of the other checking mechanisms operating at the
same time creates unnecessary complexity and cost in the
packet verification algorithms.

Bob



>  -----Original Message-----
>  From: Douglas Otis [mailto:dotis@sanlight.net]
>  Sent: Thursday, June 14, 2001 5:08 PM
>  To: Robert Snively
>  Cc: tsvwg@ietf.org
>  Subject: RE: [Tsvwg] sctp error check, again
>  
>  
>  Bob,
>  
>  With a 32 bit bus stuck bit (0-31) applied to the last half 
>  of the packet,
>  1.3% undetected errors were experienced using Fletcher-16 (a 32 bit
>  summation result).  This is not near 2**32 indicating a 
>  summation to be
>  unreliable for bus related errors.  If errors are randomly 
>  distributed, then
>  simple summation has a chance of approaching 2**32 but busses do not
>  distribute errors randomly and, in many devices, not all 
>  provide the level
>  of protection desired.
>  
>  As SCTP is a framing protocol, I am surprised to find a 
>  suggestion for a
>  partial frame construction technique.  One would think that 
>  a single pass
>  over the entire packet preferable.  However, if partial 
>  frames are assembled
>  in descending order, then it should not matter what 
>  algorithm is used.
>  
>  Doug
>  
>  > Doug,
>  >
>  > I have seen at least one implementation that collects fragments
>  > of information with separately developed checksums and 
>  assembles them
>  > into packets using, not a recalculation of the overall 
>  checksum, but
>  > manipulation of the partial checksums provided with each of the
>  > fragments.  Makes sense to me, and cannot be done very well with
>  > most CRCs.  It detects all error bursts less than 32 bits long, it
>  > detects a bunch of other types of errors, and it rejects massive
>  > bursts with a worst-case failure rate of 1 in 2**32.  This is not
>  > half bad, and not significantly different than CRC.  The relevant
>  > buses range in width from 128 bits down to 1 bit, on a variety of
>  > bit and byte boundaries and with a variety of internal checking
>  > mechanisms which complement this detection capability.  As such,
>  > I don't really consider it "extremely susceptible to bus
>  > related errors".
>  >
>  > Bob
>  >
>  > >  -----Original Message-----
>  > >  From: Douglas Otis [mailto:dotis@sanlight.net]
>  > >  Sent: Thursday, June 14, 2001 11:07 AM
>  > >  To: Robert Snively; 'Randall Stewart at work'
>  > >  Cc: tsvwg@ietf.org
>  > >  Subject: RE: [Tsvwg] sctp error check, again
>  > >
>  > >
>  > >  Robert,
>  > >
>  > >  Such a simple checksum would be extremely susceptible to bus
>  > >  related errors.
>  > >  Why would there be a need to change the content of the 
>  SCTP packet in
>  > >  transit?
>  > >
>  > >  Doug
>  > >
>  > >  > I stand corrected.  I had not realized that the Adler-32 was
>  > >  > the result of keeping it the same.  I support "none of the
>  > >  > above", which is essentially what you have described below.
>  > >  > A desirable candidate would be a 32-bit checksum using the
>  > >  > 32 bit one's complement of the one's
>  > >  > complement sum of all 32 bit words, making the assumption that
>  > >  > any padded bytes have a value of zero.  This is essentially a
>  > >  > 32-bit version of the TCP/IP check sum.
>  > >  >
>  > >  > I believe that this would facilitate implementations that
>  > >  > make use of constructed packets or that require packet
>  > >  modification.
>  > >  >
>  > >  > Bob
>  > >  >
>  > >  > >  Bob:
>  > >  > >
>  > >  > >  The one thing that Jonathan seems to most strongly point
>  > >  > >  out is NOT to use Adler-32... which it seems to me is
>  > >  > >  not obvious in your forward..
>  > >  > >
>  > >  > >  So Jonathan recommends:
>  > >  > >
>  > >  > >  1) Moving the check to the end.
>  > >  > >  2) Picking something DIFFERENT than Adler-32, even
>  > >  > >     a 32-bit extension to the tcp sum (which I did test
>  > >  > >     in my cpu tests and it does the best... but the down
>  > >  > >     side is you are dealing with something completely
>  > >  unknown :-o)
>  > >  > >
>  > >  > >
>  > >  > >  Bottom line is that Jonathan does not vote for our choice
>  > >  > >  number 1... i.e. don't use adler-32 is plain in his post...
>  > >  > >
>  > >  > >  R
>  > >  > >
>  > >  > >
>  > >  > >  Robert Snively wrote:
>  > >  > >  >
>  > >  > >  > Please consider the following e-mail, which correctly
>  > >  states that
>  > >  > >  > not only is a checksum structure sufficient, but also
>  > >  that a CRC
>  > >  > >  > is not any better in the real world, as long as both
>  > >  are developed
>  > >  > >  > with a 32-bit check value.
>  > >  > >  >
>  > >  > >  > Bob
>  > >  > >  >
>  > >  > >  >> Jonathan Stone wrote:
>  > >  > >  >>
>  > >  > >  >>
>  > >  > >  >> If there's anything i can recommend to the tsvwg, its to
>  > >  > >  pick even a
>  > >  > >  >> 32-bit extension of the TCP checksum, rather than
>  > >  Adler32; and to
>  > >  > >  >> think seriously about moving the error-check bits to the
>  > >  > >  end.  Not to
>  > >  > >  >> help hardware, but to make whatever error-check you use
>  > >  > >  more resilient
>  > >  > >  >> against errors in packet-processing engines which (once
>  > >  > >  an error does
>  > >  > >  >> hit) trash the remainder of the packet.
>  > >  > >  >>
>  > >  > >
>  > >  > >  --
>  > >  > >  Randall R. Stewart
>  > >  > >  randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>  > >
>  > >
>  >
>  > _______________________________________________
>  > 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 Jun 15 11:35: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 ESMTP id LAA12003
	for <tsvwg-archive@odin.ietf.org>; Fri, 15 Jun 2001 11:35: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 LAA04411;
	Fri, 15 Jun 2001 11:18: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 LAA04381
	for <tsvwg@ns.ietf.org>; Fri, 15 Jun 2001 11:18:25 -0400 (EDT)
Received: from coltrane.dataconnection.com (smtp.dataconnection.com [192.91.191.4])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA11540
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 11:17:52 -0400 (EDT)
Received: by coltrane.datcon.co.uk with Internet Mail Service (5.5.2653.19)
	id <M02QFK7Q>; Fri, 15 Jun 2001 16:17:48 +0100
Message-ID: <37701240971DD31193970000F6CCB9F702855C28@duke.datcon.co.uk>
From: Mike Bartlett <MB@dataconnection.com>
To: tsvwg@ietf.org
Date: Fri, 15 Jun 2001 16:17:53 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [Tsvwg] Comments on draft-ietf-tsvwg-sctpsocket-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

Dear SCTP Sockets Mapping authors,

I have taken a look at the new SCTP Sockets Mapping draft
(draft-ietf-tsvwg-sctpsocket-00.txt) and have a number of
comments/queries/suggestions.

In this email I have listed the comments that I hope to be fairly
non-controversial.  I will send further emails for the comments which I
anticipate to require more discussion - these relate to socket closure and
use of association IDs.

Best wishes

Mike Bartlett
Voice Networking Group
Data Connection Ltd
Tel: +44 20 8366 1177
Fax: +44 20 8363 1039
Email: mb@dataconnection.com
Web: http://www.dataconnection.com

1. Sections 3.1.2 and 4.1.2 say that bind() specifies the local primary
address for the association.  I think this should read "the only address".
2. Section 3.1.4 should explicitly refer to the name of the graceful
shutdown flag (i.e. MSG_EOF)
3. CANT_START_ASOC should be CANT_START_ASSOC in section 3.3
4. Section 3.3 says "the sender will also recieve [should say receive] a
SCTP_SEND_FAILED event".  This and any similar phrases throughout the
document should add "... if requested with the SCTP_RECVSENDFAILEVNT socket
option".
5. In the last paragraph of section 3.3, should not refer to the SHUTDOWN
chunk.  I suggest wording along the following lines.
"In order to shutdown the association gracefully, the user must call
sendmsg() with no data and with the MSG_EOR flag set.  The function returns
immediately, and the success of the graceful shutdown is returned to
recvmsg() by an SCTP_ASSOC_CHANGE notification of type SHUTDOWN_COMPLETE
(see section 5.3.1.1)."
6. Section 4.1.5: cross-reference should be to 7.1.3 not 7.1.4 for
SCTP_INITMSG
7. Section 4.1.6: has an invalid cross-reference to the linger section.  It
should read 7.1.4 not 7.1.6.

8. Cross-reference in section 5.2: "See section 5.2.1 for more information".
Should this be section 3.1.2?

9. Two points on the MSG_ADDR_OVER flag:
a) The text for the MSG_ADDR_OVER flag in section 5.2.2 should presumably
say TCP rather than UDP, because for UDP sockets the destination address is
always critical.  Also the reference to sendto() seems incorrect because
that call does not have ancillary data.  I suggest that the text should read
as follows.
"This flag, for TCP-style sockets, requests the SCTP stack to override the
primary destination address with the address found with the sendmsg call." 
b) In section 4.1.8  I suggest that the first sentence of point 1) should be
modified to refer to the MSG_ADDR_OVER flag as follows.
"When sending, the msg_name field in the msghdr is not used to specify the
intended receiver.  However, if the MSG_ADDR_OVER flag is specified in the
flags (see section 5.2.2) then the sender uses this field to indicate a
different peer address if it does not want to send the message to the
primary address of the receiver." 
10. Section 5.2.2: for MSG_EOF please insert the text "on the specified
association" after "Setting this flag invokes the SCTP graceful shutdown
procedures".  This is analogous to the MSG_ABORT flag where this text is
specified.
11. section 5.2.2: Please state that sinfo_assoc_id is ignored for TCP-style
sockets.

12. Section 5.3.1.5: sse_type should be set to SCTP_SHUTDOWN_EVENT

13. Section 5.3.1.1 says "The identifier for the new association resides in
the sctp_notification structure in the cmsg_data ancillary data."  This is a
notification, not ancillary data.
14. Section 5.3.1.1 says of the SCTP_ASSOC_CHANGE notification: "Clients
(i.e. applications on which only active opens are made) can leave this
ancillary data item off".  This is a notification, not ancillary data.  [In
fact as I will argue in another email there is a big problem with this
method for turning off acceptance of incoming associations.]
15. Sections 6.1, 6.3 and 7 refer to "peeled off" sockets or sometimes just
"high bandwidth" sockets.  These terms are not used anywhere else.
Elsewhere sockets created using sctp_peeloff() are called "branched off"
sockets - please use this term here as well.
16. Sections 7 and 7.1.3 refer to "the datagram model" and "the
connnection-oriented model".  Please replace by references to UDP and TCP
sstyle sockets respectively.
17. Sections 7.1.7 and 7.1.8 refer to "integer boolean flag".  This should
simply say "integer" (since they are not boolean values).
18. Section 7.3: SCTP_REVCVDATAIOEVENT should read SCTP_RECVDATAIOEVENT
19. Section 7.3 is called "Ancillary Data Interest Options" and the first
sentence says "Applications can receive notifications of certain SCTP events
and per-message information as ancillary data with recvmsg()."  This section
actually talks about both ancillary data (the SCTP_SNDRCV structure) and
notifications (which are not ancillary data).  Please make this clearer.
The final sentence in this section "The format of the data structures for
each ancillary data item is given in section 5.2." is superfluous given that
each type of ancillary data or notification has been given an individual
cross-reference already.
20. Section 8.1: The flags field on sctp_bindx() is formed from the bitwise
OR of zero or more of the flags ADD and REMOVE.  Of course it only makes
sense if exactly one of these flags is specified (the combination "don't ADD
and don't REMOVE" makes no more sense than the combination "ADD and
REMOVE").  I suggest that these should not be bitwise flags.  Please can you
make them just two alternative values for the flag.
21. SCTP_BIND_ADD_ADDR and SCTP_BIND_REM_ADDR should read
SCTP_BINDX_ADD_ADDR and SCTP_BINDX_REM_ADDR in section 8.1.
22. Section 8.5.  I don't understand what your new call provides that
couldn't be achieved using setsockopt() and getsockopt().  None of the calls
is simultaneously reading and writing.  You can set peer address parameters
using setsockopt(SCTP_PEER_ADDR_PARAMS) or you can read them using
getsockopt(SCTP_PEER_ADDR_PARAMS).  You can retrieve peer address
information using getsockopt(SCTP_PEER_ADDR_INFO).  Why do we need a new
call which can both set and get the same information set using different
option identifiers?  Also the references to SCTP_SET_PRIMARY_ADDRS and
SCTP_SET_PEER_PRIMARY_ADDRS as values for opt have no corresponding section
later on.
23. The appendices both show the SCTP_RECVDATAIOEVNT socket option being
set/got twice.
24. How about the option of specifying a message lifetime on outgoing data?
(Section 5.2.2)  This would be analogous to the section 10.1 interface in
RFC 2960.
25. There are (obviously) numerous typos in the document.  The most common
by far is "assocation", "associaition", "assocication", "asssociation",
"associatin" etc.  Also "equivalant", "subsequent call will", "will
associates", "Some SCTP user", "delievered", "assoicated", "gesockopt",
"messaage", "boundries", "directtion".
26. Section 1: "Both TCP [TCP] and UDP [UDP] have benefited from this
standard representation and access method across many diverse platforms."
There are no references for "[TCP]" and "[UDP]" in section 11.


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


From tsvwg-admin@ietf.org  Fri Jun 15 12:40: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 ESMTP id MAA15177
	for <tsvwg-archive@odin.ietf.org>; Fri, 15 Jun 2001 12:40: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 MAA07688;
	Fri, 15 Jun 2001 12:31: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 MAA07657
	for <tsvwg@ns.ietf.org>; Fri, 15 Jun 2001 12:31:34 -0400 (EDT)
Received: from miles.dataconnection.com (smtp2.dataconnection.com [192.91.191.8])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA14352
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 12:31:00 -0400 (EDT)
Received: by miles.datcon.co.uk with Internet Mail Service (5.5.2653.19)
	id <M02N0DKW>; Fri, 15 Jun 2001 17:30:49 +0100
Message-ID: <37701240971DD31193970000F6CCB9F702855C29@duke.datcon.co.uk>
From: Mike Bartlett <MB@dataconnection.com>
To: tsvwg@ietf.org
Date: Fri, 15 Jun 2001 17:31:02 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [Tsvwg] Use of association IDs on UDP-style SCTP sockets (draft-ietf-tsvw
 g-sctpsocket-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

I have some comments on the use of association IDs on UDP-style SCTP sockets
as specified in the SCTP Sockets Mapping draft.  One of these is a real
problem (relating to the mechanism specified for refusing incoming
associations on UDP-style SCTP sockets).

These comments all relate to the fact that the SCTP_ASSOC_CHANGE
notification is the only way that the application gets to learn what the
association IDs are for the associations on its UDP-style sockets (they are
provided in the notification with sac_state=COMMUNICATION_UP).  This means
that an application which has disabled the SCTP_ASSOC_CHANGE notification,
using the SCTP_RECVASSOCEVNT socket option, can never identify an
association using an association ID.

(1) On a UDP-style socket the association ID is carried on all other
notifications (e.g. send failure), and also on SCTP_SNDRCV ancillary data,
as a means of correlating the event to an association.  The draft should
make it clear that the SCTP stack MUST also set a peer transport address in
the msg_name field returned on a recvmsg() call, so that applications which
do not receive SCTP_ASSOC_CHANGE notifications can still perform correlation
to an association.
 
For the ancillary data the msg_name should always contain the source
transport address for the data that it accompanies.  For notifications it
should contain the primary peer transport address.

(2) For certain socket options that relate to a single association (e.g.
SCTP_RTOINFO, SCTP_STATUS) the application must identify the association on
a UDP-style socket using the association ID.  Therefore it must enable
SCTP_ASSOC_CHANGE notifications.  The same applies if the application wishes
to branch off any associations on its UDP-style sockets by calling
sctp_peeloff() - it must know the association IDs, so it must  enable
SCTP_ASSOC_CHANGE notifications.  

Please make it clear in the draft that enabling SCTP_ASSOC_CHANGE
notifications is an essential pre-requisite for these operations.

(3) Sections 5.3.1.1 and 3.1.2 state that a client application which does
not want to accept incoming associations on a UDP-style socket must disable
the SCTP_ASSOC_CHANGE notification using the SCTP_RECVASSOCEVNT socket
option.  

There is a big problem with this.  As point (2) makes clear, there are
certain operations which an application can only perform an a UDP-style
socket if it has SCTP_ASSOC_CHANGE notifications turned on (and the
association ID is also useful, but not essential, for correlation purposes -
point (1)).

It seems clear to me that we need a new socket option to allow applications
to turn on/off acceptance of incoming associations on UDP sockets.  We
cannot use the suggested method of overloading the SCTP_RECVASSOCEVNT socket
option.

(4) If the change I suggest in point (3) is accepted then I also suggest
that the default setting for the SCTP_RECVASSOCEVNT socket option should be
*on* for UDP-style sockets (as it is for the SCTP_RECVDATAIOEVNT option -
section 7.3).  An application which does not receive SCTP_ASSOC_CHANGE
notifications on a UDP-style socket is at a considerable disadvantage, and
the change suggested in point (3) means that this is no longer a security
issue.

Best wishes

Mike Bartlett
Voice Networking Group
Data Connection Ltd
Tel: +44 20 8366 1177
Fax: +44 20 8363 1039
Email: mb@dataconnection.com
Web: http://www.dataconnection.com

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


From tsvwg-admin@ietf.org  Fri Jun 15 12:49: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 ESMTP id MAA15689
	for <tsvwg-archive@odin.ietf.org>; Fri, 15 Jun 2001 12:49: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 MAA08017;
	Fri, 15 Jun 2001 12:40:38 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA07985
	for <tsvwg@ns.ietf.org>; Fri, 15 Jun 2001 12:40:35 -0400 (EDT)
Received: from mg02.austin.ibm.com (mg02.austin.ibm.com [192.35.232.12])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA15160
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 12:40:02 -0400 (EDT)
Received: from austin.ibm.com (netmail2.austin.ibm.com [9.53.250.97])
	by mg02.austin.ibm.com (AIX4.3/8.9.3/8.9.3) with ESMTP id LAA23502
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 11:45:58 -0500
Received: from popmail.austin.ibm.com (popmail.austin.ibm.com [9.53.247.178])
	by austin.ibm.com (AIX4.3/8.9.3/8.9.3) with ESMTP id LAA34998
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 11:40:32 -0500
Received: from austin.ibm.com ([9.111.216.145]) by popmail.austin.ibm.com (AIX4.3/8.9.3/8.7-client1.01) with ESMTP id LAA20714 for <tsvwg@ietf.org>; Fri, 15 Jun 2001 11:40:29 -0500
Message-ID: <3B2A3A4C.979D82D1@austin.ibm.com>
Date: Fri, 15 Jun 2001 11:39:40 -0500
From: Jon Grimm <jgrimm@austin.ibm.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
References: <200106041100.HAA03050@ietf.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] draft-ietf-tsvwg-sctpsocket-00.txt: sinfo_dscp field
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

draft-ietf-tsvwg-sctpsocket-00.txt 

5.2.2 SCTP Header Information Structure (SCTP_SNDRCV)

....

sinfo_dscp: 8 bits (unsigned integer)

    This field is available to change the DSCP value in the outbound IP
    packet (hence it is used only from sendmsg()). The default value of
    this field is 0. Note only 6 bits of this byte are used, the upper 2
    bits are not part of the DS field. Any setting within these upper 2
    bits is ignored.

....



What is the expected behavior if considerations towards outbound
bundling?  Couldn't there be conflicting dscp values?



Regards,
Jon Grimm

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


From tsvwg-admin@ietf.org  Fri Jun 15 14:04: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 ESMTP id OAA20268
	for <tsvwg-archive@odin.ietf.org>; Fri, 15 Jun 2001 14:04: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 NAA10376;
	Fri, 15 Jun 2001 13:52: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 NAA10347
	for <tsvwg@ns.ietf.org>; Fri, 15 Jun 2001 13:52:48 -0400 (EDT)
Received: from e1.ny.us.ibm.com ([32.97.182.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA19495
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 13:52:16 -0400 (EDT)
From: daisyc@us.ibm.com
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.117.200.22])
	by e1.ny.us.ibm.com (8.9.3/8.9.3) with ESMTP id NAA331930
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 13:50:19 -0400
Received: from D51MTA03.pok.ibm.com (d51mta03.pok.ibm.com [9.117.200.31])
	by northrelay02.pok.ibm.com (8.11.1m3/NCO v4.96) with SMTP id f5FHkI762446
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 13:46:18 -0400
Received: by D51MTA03.pok.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id 85256A6C.00621D9E ; Fri, 15 Jun 2001 13:51:41 -0400
X-Lotus-FromDomain: IBMUS
To: tsvwg@ietf.org
Message-ID: <85256A6C.00621D76.00@D51MTA03.pok.ibm.com>
Date: Fri, 15 Jun 2001 12:51:13 -0500
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Subject: [Tsvwg] Questions regarding bind() in <draft-ietf-tsvwg-sctpsocket-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

Reading the "SCTP Sockets Mapping" draft, it seems to me that

1. the following paragraph in "3.1.2 bind()-UDP Style Syntax" should be in
"4.1.2 bind()-TCP Style Syntax".

    If a bind() or sctp_bindx() is not called prior to the connect()
    call, the system picks an ephemeral port and will choose an address
    set equivalant to binding with INADDR_ANY and IN6ADDR_ANY for IPv4
    and IPv6 socket respectively. One of those addresses will be the
    primary address for the association.  This automatically enables the
    multihoming capability of SCTP.

2. the paragraph listed above can stay in 3.1.2 except that "connect()"
should be replaced by "sendmsg()", is that right?


Thanks,
Daisy

Daisy Chang
IBM Linux Technology Center
daisyc@us.ibm.com
Tel: (512)-838-4194    T/L: 678-4194
FAX: (512)-838-1074



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


From tsvwg-admin@ietf.org  Fri Jun 15 14:38: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 ESMTP id OAA22137
	for <tsvwg-archive@odin.ietf.org>; Fri, 15 Jun 2001 14:38: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 OAA11600;
	Fri, 15 Jun 2001 14:29: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 OAA11569
	for <tsvwg@ns.ietf.org>; Fri, 15 Jun 2001 14:29:05 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA21537
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 14:28:32 -0400 (EDT)
Received: (cpmta 4590 invoked from network); 15 Jun 2001 11:28:29 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.206) with SMTP; 15 Jun 2001 11:28:29 -0700
X-Sent: 15 Jun 2001 18:28:29 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Robert Snively" <rsnively@brocade.com>
Cc: <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check, again
Date: Fri, 15 Jun 2001 11:26:10 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJEEOPCIAA.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: <FFD40DB4943CD411876500508BAD027902993590@sj5-ex2.brocade.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

Bob,

Within a larger system, the memory itself will likely be protected by ECC.
Some may consider ECC to be sufficient ignoring the physical bus.  Many
errors generated by a bus may be erratic due to a weak driver or poor
interconnect and thus not affect every operation and perhaps missed during
power-on diagnostics.  There are many smaller devices that interconnect
using busses that do not utilize error checks.  A client has no means to
determine the path of a packet or to know the quality of this path.  Faith
in these ulterior systems and the integrity of a simple checksum is
misplaced based on empirical data.  Whereas the client can determine the
transport and thus obtain a level of integrity not assured by ulterior
networking equipment.  Integrity at the transport allows a standard means of
assured communication.  The alternative is a patchwork of application level
retry and acknowledgment.

Doug

> A 32-bit bus with a stuck bit will be detected as an error
> with 100% probability using parity, which would normally be
> expected on a bus having data integrity as a requirement.
> Even without parity, the stuck bit
> would also have a high probability of disrupting the header
> of the next packet, instantly flagging the bus as failing.
> In many of the other 32-bit buses (XGMII as an example), the
> link CRC passes across the bus for link frame verification, which
> supplements the packet verification.
>
> While I am sure your numbers are valid, I think that ignoring
> the benefits of the other checking mechanisms operating at the
> same time creates unnecessary complexity and cost in the
> packet verification algorithms.
>
> Bob
>
> >  Bob,
> >
> >  With a 32 bit bus stuck bit (0-31) applied to the last half
> >  of the packet,
> >  1.3% undetected errors were experienced using Fletcher-16 (a 32 bit
> >  summation result).  This is not near 2**32 indicating a
> >  summation to be
> >  unreliable for bus related errors.  If errors are randomly
> >  distributed, then
> >  simple summation has a chance of approaching 2**32 but busses do not
> >  distribute errors randomly and, in many devices, not all
> >  provide the level
> >  of protection desired.
> >
> >  As SCTP is a framing protocol, I am surprised to find a
> >  suggestion for a
> >  partial frame construction technique.  One would think that
> >  a single pass
> >  over the entire packet preferable.  However, if partial
> >  frames are assembled
> >  in descending order, then it should not matter what
> >  algorithm is used.
> >
> >  Doug
> >
> >  > Doug,
> >  >
> >  > I have seen at least one implementation that collects fragments
> >  > of information with separately developed checksums and
> >  assembles them
> >  > into packets using, not a recalculation of the overall
> >  checksum, but
> >  > manipulation of the partial checksums provided with each of the
> >  > fragments.  Makes sense to me, and cannot be done very well with
> >  > most CRCs.  It detects all error bursts less than 32 bits long, it
> >  > detects a bunch of other types of errors, and it rejects massive
> >  > bursts with a worst-case failure rate of 1 in 2**32.  This is not
> >  > half bad, and not significantly different than CRC.  The relevant
> >  > buses range in width from 128 bits down to 1 bit, on a variety of
> >  > bit and byte boundaries and with a variety of internal checking
> >  > mechanisms which complement this detection capability.  As such,
> >  > I don't really consider it "extremely susceptible to bus
> >  > related errors".
> >  >
> >  > Bob
> >  >
> >  > >  Robert,
> >  > >
> >  > >  Such a simple checksum would be extremely susceptible to bus
> >  > >  related errors.
> >  > >  Why would there be a need to change the content of the
> >  SCTP packet in
> >  > >  transit?
> >  > >
> >  > >  Doug
> >  > >
> >  > >  > I stand corrected.  I had not realized that the Adler-32 was
> >  > >  > the result of keeping it the same.  I support "none of the
> >  > >  > above", which is essentially what you have described below.
> >  > >  > A desirable candidate would be a 32-bit checksum using the
> >  > >  > 32 bit one's complement of the one's
> >  > >  > complement sum of all 32 bit words, making the assumption that
> >  > >  > any padded bytes have a value of zero.  This is essentially a
> >  > >  > 32-bit version of the TCP/IP check sum.
> >  > >  >
> >  > >  > I believe that this would facilitate implementations that
> >  > >  > make use of constructed packets or that require packet
> >  > >  modification.
> >  > >  >
> >  > >  > Bob
> >  > >  >
> >  > >  > >  Bob:
> >  > >  > >
> >  > >  > >  The one thing that Jonathan seems to most strongly point
> >  > >  > >  out is NOT to use Adler-32... which it seems to me is
> >  > >  > >  not obvious in your forward..
> >  > >  > >
> >  > >  > >  So Jonathan recommends:
> >  > >  > >
> >  > >  > >  1) Moving the check to the end.
> >  > >  > >  2) Picking something DIFFERENT than Adler-32, even
> >  > >  > >     a 32-bit extension to the tcp sum (which I did test
> >  > >  > >     in my cpu tests and it does the best... but the down
> >  > >  > >     side is you are dealing with something completely
> >  > >  unknown :-o)
> >  > >  > >
> >  > >  > >
> >  > >  > >  Bottom line is that Jonathan does not vote for our choice
> >  > >  > >  number 1... i.e. don't use adler-32 is plain in his post...
> >  > >  > >
> >  > >  > >  R
> >  > >  > >
> >  > >  > >
> >  > >  > >  Robert Snively wrote:
> >  > >  > >  >
> >  > >  > >  > Please consider the following e-mail, which correctly
> >  > >  states that
> >  > >  > >  > not only is a checksum structure sufficient, but also
> >  > >  that a CRC
> >  > >  > >  > is not any better in the real world, as long as both
> >  > >  are developed
> >  > >  > >  > with a 32-bit check value.
> >  > >  > >  >
> >  > >  > >  > Bob
> >  > >  > >  >
> >  > >  > >  >> Jonathan Stone wrote:
> >  > >  > >  >>
> >  > >  > >  >>
> >  > >  > >  >> If there's anything i can recommend to the tsvwg, its to
> >  > >  > >  pick even a
> >  > >  > >  >> 32-bit extension of the TCP checksum, rather than
> >  > >  Adler32; and to
> >  > >  > >  >> think seriously about moving the error-check bits to the
> >  > >  > >  end.  Not to
> >  > >  > >  >> help hardware, but to make whatever error-check you use
> >  > >  > >  more resilient
> >  > >  > >  >> against errors in packet-processing engines which (once
> >  > >  > >  an error does
> >  > >  > >  >> hit) trash the remainder of the packet.
> >  > >  > >  >>
> >  > >  > >
> >  > >  > >  --
> >  > >  > >  Randall R. Stewart
> >  > >  > >  randall@stewart.chicago.il.us 815-342-5222 (cell phone)


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


From tsvwg-admin@ietf.org  Fri Jun 15 16:35:29 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 ESMTP id QAA28724
	for <tsvwg-archive@odin.ietf.org>; Fri, 15 Jun 2001 16:35:29 -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 QAA15381;
	Fri, 15 Jun 2001 16:26: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 QAA15350
	for <tsvwg@ns.ietf.org>; Fri, 15 Jun 2001 16:26:04 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA28199
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 16:25:30 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id NAA16070;
	Fri, 15 Jun 2001 13:26:00 -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 NAA21161;
	Fri, 15 Jun 2001 13:25:54 -0700 (PDT)
Message-Id: <200106152025.NAA21161@heliopolis.eng.sun.com>
Date: Fri, 15 Jun 2001 13:25:54 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] Questions regarding bind() in <draft-ietf-tsvwg-sctpsocket-00.txt>
To: tsvwg@ietf.org, daisyc@us.ibm.com
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: HbtxP7fhdzB5RJ7Rl5YvRg==
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


Agree, the text will be updated as you suggest.

Jonathan

>
>Reading the "SCTP Sockets Mapping" draft, it seems to me that
>
>1. the following paragraph in "3.1.2 bind()-UDP Style Syntax" should be in
>"4.1.2 bind()-TCP Style Syntax".
>
>    If a bind() or sctp_bindx() is not called prior to the connect()
>    call, the system picks an ephemeral port and will choose an address
>    set equivalant to binding with INADDR_ANY and IN6ADDR_ANY for IPv4
>    and IPv6 socket respectively. One of those addresses will be the
>    primary address for the association.  This automatically enables the
>    multihoming capability of SCTP.
>
>2. the paragraph listed above can stay in 3.1.2 except that "connect()"
>should be replaced by "sendmsg()", is that right?
>
>
>Thanks,
>Daisy
>
>Daisy Chang
>IBM Linux Technology Center
>daisyc@us.ibm.com
>Tel: (512)-838-4194    T/L: 678-4194
>FAX: (512)-838-1074
>
>
>
>_______________________________________________
>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 Jun 15 16: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 ESMTP id QAA28735
	for <tsvwg-archive@odin.ietf.org>; Fri, 15 Jun 2001 16: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 QAA15250;
	Fri, 15 Jun 2001 16:22: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 QAA15223
	for <tsvwg@ns.ietf.org>; Fri, 15 Jun 2001 16:22:14 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA28015
	for <tsvwg@ietf.org>; Fri, 15 Jun 2001 16:21:39 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id NAA14513;
	Fri, 15 Jun 2001 13:22:09 -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 NAA21041;
	Fri, 15 Jun 2001 13:22:09 -0700 (PDT)
Message-Id: <200106152022.NAA21041@heliopolis.eng.sun.com>
Date: Fri, 15 Jun 2001 13:22:08 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] Comments on draft-ietf-tsvwg-sctpsocket-00.txt
To: tsvwg@ietf.org, MB@dataconnection.com
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: j5YjBSe+AuKMWgqI1W7NEg==
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


Mike,

Thanks for the close read. You've saved us lots of tedious
work :)

1-7: good catches, thanks.

>
>8. Cross-reference in section 5.2: "See section 5.2.1 for more information".
>Should this be section 3.1.2?

Probably should be 5.3.1.1.

>
>9. Two points on the MSG_ADDR_OVER flag:
>a) The text for the MSG_ADDR_OVER flag in section 5.2.2 should presumably
>say TCP rather than UDP, because for UDP sockets the destination address is
>always critical.  Also the reference to sendto() seems incorrect because
>that call does not have ancillary data.  I suggest that the text should read
>as follows.
>"This flag, for TCP-style sockets, requests the SCTP stack to override the
>primary destination address with the address found with the sendmsg call." 
>b) In section 4.1.8  I suggest that the first sentence of point 1) should be
>modified to refer to the MSG_ADDR_OVER flag as follows.
>"When sending, the msg_name field in the msghdr is not used to specify the
>intended receiver.  However, if the MSG_ADDR_OVER flag is specified in the
>flags (see section 5.2.2) then the sender uses this field to indicate a
>different peer address if it does not want to send the message to the
>primary address of the receiver." 

Actually, I think the MSG_ADDR_OVER flag would be redundant for
TCP-style sockets. If the sender wants to send to the primary,
msg_name is NULL. If it wants to override the primary, it places
the alternate address in msg_name. This implies MSG_ADDR_OVER.

10-19: agree

>20. Section 8.1: The flags field on sctp_bindx() is formed from the bitwise
>OR of zero or more of the flags ADD and REMOVE.  Of course it only makes
>sense if exactly one of these flags is specified (the combination "don't ADD
>and don't REMOVE" makes no more sense than the combination "ADD and
>REMOVE").  I suggest that these should not be bitwise flags.  Please can you
>make them just two alternative values for the flag.

I believe the idea with making the flags a bitwise OR was to
make the call general enough that we could add interesting
functionality later. For example, let's say we wanted to allow
the caller a way around address scoping rules; we might add
SCTP_BINDX_BYPASS_SCOPING flag, which would act as a modifier
to the add functionality:

sctp_bindx(fd, addrs, naddrs, SCTP_BINDX_BYPASS_SCOPING | SCTP_BINDX_ADD_ADDR);

It makes the semantics much simpler if all flags are
formed with a bitwise-OR. Imagine the user confusion if
some flags were not OR'd, while others were...

Of course, you are right that it doesn't make sense to both
add and delete an address at the same time. Would you be
satisfied with some additional text saying that socket
implementations should catch and reject this?

21: ok.

>22. Section 8.5.  I don't understand what your new call provides that
>couldn't be achieved using setsockopt() and getsockopt().  None of the calls
>is simultaneously reading and writing.  You can set peer address parameters
>using setsockopt(SCTP_PEER_ADDR_PARAMS) or you can read them using
>getsockopt(SCTP_PEER_ADDR_PARAMS).  You can retrieve peer address
>information using getsockopt(SCTP_PEER_ADDR_INFO).  Why do we need a new

getsockopt() is read-only. In other words, you cannot pass an
address into getsockopt() and get back info on that address.
Of course, you could hack up getsockopt() to get it to work this
way, but I think it is much cleaner to provide a wrapper call
that allows implementors to do what works best on their platforms.

>call which can both set and get the same information set using different
>option identifiers?  Also the references to SCTP_SET_PRIMARY_ADDRS and
>SCTP_SET_PEER_PRIMARY_ADDRS as values for opt have no corresponding section
>later on.

Right - These two options can be set with setsockopt(), and
in fact last week I changed this in the upcoming -01 version of
the draft.

23: ok

>24. How about the option of specifying a message lifetime on outgoing data?
>(Section 5.2.2)  This would be analogous to the section 10.1 interface in
>RFC 2960.

If the WG agrees there is a need for this functionality, we can
add it in... I'd like to get some input on this.

25-26: ok

Jonathan


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


From tsvwg-admin@ietf.org  Sat Jun 16 11:13: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 ESMTP id LAA24591
	for <tsvwg-archive@odin.ietf.org>; Sat, 16 Jun 2001 11:13: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 LAA17163;
	Sat, 16 Jun 2001 11:03: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 LAA17134
	for <tsvwg@ns.ietf.org>; Sat, 16 Jun 2001 11:03:12 -0400 (EDT)
Received: from baqaqi.chi.il.us (rm05-24-167-185-206.ce.mediaone.net [24.167.185.206])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA24546
	for <tsvwg@ietf.org>; Sat, 16 Jun 2001 11:02:34 -0400 (EDT)
Received: from baqaqi.chi.il.us (piggy@localhost)
	by baqaqi.chi.il.us (8.11.0/8.11.0) with ESMTP id f5GF2F130762;
	Sat, 16 Jun 2001 10:02:16 -0500
Message-Id: <200106161502.f5GF2F130762@baqaqi.chi.il.us>
To: Jon Grimm <jgrimm@austin.ibm.com>
cc: tsvwg@ietf.org
From: "La Monte Henry Piggy Yarroll" <piggy@baqaqi.chi.il.us>
Subject: Re: [Tsvwg] draft-ietf-tsvwg-sctpsocket-00.txt: sinfo_dscp field 
In-reply-to: Your message of Fri, 15 Jun 2001 11:39:40 -0500.
             <3B2A3A4C.979D82D1@austin.ibm.com> 
Date: Sat, 16 Jun 2001 10:02:15 -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

Qiaobing and I had a long discussion of how to handle this.  I think
we concluded that the best thing to do is remove sinfo_dscp and leave
the DSCP bits up to the IP sockets layer.  The complexity of putting
this into the transport layer is high.

> draft-ietf-tsvwg-sctpsocket-00.txt 
> 
> 5.2.2 SCTP Header Information Structure (SCTP_SNDRCV)
> 
> ....
> 
> sinfo_dscp: 8 bits (unsigned integer)
> 
>     This field is available to change the DSCP value in the outbound IP
>     packet (hence it is used only from sendmsg()). The default value of
>     this field is 0. Note only 6 bits of this byte are used, the upper 2
>     bits are not part of the DS field. Any setting within these upper 2
>     bits is ignored.
> 
> ....
> 
> 
> 
> What is the expected behavior if considerations towards outbound
> bundling?  Couldn't there be conflicting dscp values?
> 
> 
> 
> Regards,
> Jon Grimm
> 
> _______________________________________________
> 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  Sat Jun 16 11:56: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 ESMTP id LAA24713
	for <tsvwg-archive@odin.ietf.org>; Sat, 16 Jun 2001 11:56:36 -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 LAA17833;
	Sat, 16 Jun 2001 11:39: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 LAA17805
	for <tsvwg@ns.ietf.org>; Sat, 16 Jun 2001 11:39:34 -0400 (EDT)
Received: from gnat.inet.org (inet.org [63.108.254.91] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA24637
	for <tsvwg@ietf.org>; Sat, 16 Jun 2001 11:38:59 -0400 (EDT)
Received: from mosquito.extremenetworks.com (mosquito [10.30.20.240])
	by gnat.inet.org (Postfix) with ESMTP id A0EF08266E
	for <tsvwg@ietf.org>; Sat, 16 Jun 2001 11:38:51 -0400 (EDT)
Message-Id: <5.1.0.14.2.20010616113200.00a0bec0@10.30.15.2>
X-Sender: rja@nowhere (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Sat, 16 Jun 2001 11:35:07 -0400
To: tsvwg@ietf.org
From: Ran Atkinson <rja@extremenetworks.com>
Subject: Re: [Tsvwg] draft-ietf-tsvwg-sctpsocket-00.txt: sinfo_dscp
  field 
In-Reply-To: <200106161502.f5GF2F130762@baqaqi.chi.il.us>
References: <Your message of Fri, 15 Jun 2001 11:39:40 -0500. <3B2A3A4C.979D82D1@austin.ibm.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

At 11:02 16/06/01, La Monte Henry Piggy Yarroll wrote:
>Qiaobing and I had a long discussion of how to handle this.  I think
>we concluded that the best thing to do is remove sinfo_dscp and leave
>the DSCP bits up to the IP sockets layer.  The complexity of putting
>this into the transport layer is high.

        I'm glad you all reached that conclusion.  I fully agree.

        Actually, (and not speaking strictly to this proposal), 
I'm  slightly concerned that too many individual extensions to 
the Sockets API are being developed in too many separate IETF WGs.
I rather wish the IETF community could converge the set of additions 
(from various sources) back into a wholistic draft revised 
Sockets API specification.

Ran
rja@extremenetworks.com



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


From tsvwg-admin@ietf.org  Mon Jun 18 09:33:08 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 ESMTP id JAA07175
	for <tsvwg-archive@odin.ietf.org>; Mon, 18 Jun 2001 09:33:08 -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 JAA29144;
	Mon, 18 Jun 2001 09:05: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 JAA29115
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 09:05:37 -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 ESMTP id JAA06206
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 09:05:06 -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.11.3/8.9.1) with ESMTP id f5ID5GN16112;
	Mon, 18 Jun 2001 06:05:16 -0700 (PDT)
Received: from stewart.chicago.il.us (ssh-sj1.cisco.com [171.68.225.134])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AHH04963 (AUTH rrs);
	Mon, 18 Jun 2001 06:05:07 -0700 (PDT)
Message-ID: <3B2DF540.937490A6@stewart.chicago.il.us>
Date: Mon, 18 Jun 2001 07:34:08 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Mike Bartlett <MB@dataconnection.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] Comments on draft-ietf-tsvwg-sctpsocket-00.txt
References: <37701240971DD31193970000F6CCB9F702855C28@duke.datcon.co.uk>
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

Mike:

As Jonathan said, thanks for the detailed read. We
realize we are still honing this draft and it will
get there... one quick comments... I may
have more later :-0


Mike Bartlett wrote:
> 
> 9. Two points on the MSG_ADDR_OVER flag:
> a) The text for the MSG_ADDR_OVER flag in section 5.2.2 should presumably
> say TCP rather than UDP, because for UDP sockets the destination address is
> always critical.  Also the reference to sendto() seems incorrect because
> that call does not have ancillary data.  I suggest that the text should read
> as follows.
> "This flag, for TCP-style sockets, requests the SCTP stack to override the
> primary destination address with the address found with the sendmsg call."

For a UDP socket the destination is always critical (to find the 
association) but the normal behavior of the stack should be
that you send to the primary address. No matter what address
is used to find the association. The flag is needed to override
this behavior. In fact even thought Jonathan commented that
it was redundant in TCP, I think maybe if he thinks on it
he may agree that it is needed here too. 

I don't see that the stack should ever use addresses for anything
but locating the association in the UDP side unless this flag
is set. For the TCP flag, I would think this flag would indicate,
"ok, I now have to look at this address, since normally I ignore it
 and as long as it is valid I will override the primary with it".



R
-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)


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


From tsvwg-admin@ietf.org  Mon Jun 18 11:18: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 ESMTP id LAA10085
	for <tsvwg-archive@odin.ietf.org>; Mon, 18 Jun 2001 11:18: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 LAA03980;
	Mon, 18 Jun 2001 11:06: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 LAA03949
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 11:06:48 -0400 (EDT)
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA09749
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 11:06:15 -0400 (EDT)
Received: from esealnt406.al.sw.ericsson.se (ESEALNT406.al.sw.ericsson.se [153.88.251.29])
	by penguin.wise.edt.ericsson.se (8.11.0/8.10.1/WIREfire-1.3) with SMTP id f5IF6mO24521
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 17:06:48 +0200 (MEST)
Received: FROM esealnt743.al.sw.ericsson.se BY esealnt406.al.sw.ericsson.se ; Mon Jun 18 17:06:47 2001 +0200
Received: by ESEALNT743.al.sw.ericsson.se with Internet Mail Service (5.5.2653.19)
	id <NBWT264Q>; Mon, 18 Jun 2001 17:06:46 +0200
Message-ID: <3DFC2DB418B2D211A1950008C7A4E1EA0BF13B98@eestqnt102>
From: "Javier Pastor-Balbas (ECE)" <javier.pastor-balbas@ece.ericsson.se>
To: "'Tom George'" <Tom.George@usa.alcatel.com>, tsvwg@ietf.org
Subject: RE: [Tsvwg] SCTP MIB question
Date: Mon, 18 Jun 2001 17:06:41 +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

Hi Tom, 

You can get it from the number of dat packets retransmissions per remote IP address. We think this is the important issue here.

The initialization and Shutdown phases have their own retransmission counter since these have to be treated in a different manner and they are valid for the whole association. On the other hand, T3 expiration indicates a failure per destination IP path.

BR // Maria & Javier.

> -----Original Message-----
> From: Tom George [mailto:Tom.George@usa.alcatel.com]
> Sent: Wednesday, June 13, 2001 11:14 PM
> To: tsvwg@ietf.org
> Subject: [Tsvwg] SCTP MIB question
> 
> 
> In the SCTP MIB draft-ietf-sigtran-sctp-mib-03.txt, there are objects
> for counting the number of times T1 and T2 expire. Why not T3?
> 
> Thanks,
> tomG.
> 
> -- 
> * Tom George        972-519-3168         
> tom.george@usa.alcatel.com   *
> * PB2-1323       Intranet:  
> http://www.ssd.usa.alcatel.com/~tgeorge/  *
> *    Alcatel USA, 
> Inc.; 1000 Coit Rd, MS STPA; Plano TX 75075-5813    *
> * I actively disclaim speaking for Alcatel USA, Inc. I do not 
> purport *
> * to advertise or represent its position,  operations, or 
> activities. *
> 
> _______________________________________________
> 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 Jun 18 11:19: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 ESMTP id LAA10097
	for <tsvwg-archive@odin.ietf.org>; Mon, 18 Jun 2001 11:19: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 LAA03935;
	Mon, 18 Jun 2001 11:06: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 LAA03905
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 11:06:38 -0400 (EDT)
Received: from miles.dataconnection.com (smtp2.dataconnection.com [192.91.191.8])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA09746
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 11:06:05 -0400 (EDT)
Received: by miles.datcon.co.uk with Internet Mail Service (5.5.2653.19)
	id <M02N0G53>; Mon, 18 Jun 2001 16:05:58 +0100
Message-ID: <37701240971DD31193970000F6CCB9F702855C32@duke.datcon.co.uk>
From: Mike Bartlett <MB@dataconnection.com>
To: "'Jonathan Wood'" <Jonathan.Wood@Sun.COM>, tsvwg@ietf.org,
        "'Randall Stewart'" <randall@stewart.chicago.il.us>
Date: Mon, 18 Jun 2001 16:05:58 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sockets
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 my third and last email (for the time being) following my review of
the new SCTP Sockets Mapping draft (draft-ietf-tsvwg-sctpsocket-00.txt).
This contains a major concern I have about socket closure for a TCP-style
SCTP socket.  I do not agree with the way that the API forces an application
which wants to initiate association shutdown locally (graceful or
otherwise), to use the same close() call to close down both the SCTP
association and the TCP-style socket.  I believe that an application should
be able to decouple locally-initiated association shutdown from socket
closure.

I understand that we are trying to use the TCP model here as closely as
possible, which in general is a good thing.  Additionally we have decided
not to support the TCP shutdown() call because SCTP does not support
half-close semantics.  I have two separate issues with this.
1. I believe that we still need shutdown() in order to allow an application
which has initiated graceful shutdown of the association to receive all
outstanding user data before it closes the underlying socket.  
2. There is one key difference between TCP and SCTP on non-graceful
association shutdown, namely data retrieval.  I believe that a new
abort()-type call is necessary on the API to allow the application to
decouple non-graceful association shutdown from socket closedown,
particularly so that that it can retrieve unsent/unacknowledged data.
User data (for graceful shutdown) and send-failure notifications containing
unsent/unacknowledged data (for non-graceful shutdown) can both be received
after an application shuts down an association.  If we stay with the
existing behavior then this implies that these events must be received by
the sockets application after it has made the call to close(), or not at
all.
[As a further minor point, it is not explictly stated that the SCTP status
notifications (e.g. association down) are restricted to remotely-initiated
shutdowns.  If this is intended then it should be explictly stated in the
draft.  Otherwise, if an application has requested these status
notifications, it may get them after calling close() to initiate shutdown of
the association, in addition to user data and send-failures.]
For graceful shutdowns, the default behavior is for there to be no timeout -
i.e. close() returns immediately.  For non-graceful shutdown this is the
only behavior.  The application therefore considers the TCP-style socket to
be closed and it would be strange to allow it to receive data or
notifications on the socket.  But if one endpoint cannot receive data during
association shutdown then the shutdown is not graceful by the normal SCTP
definitions.
Even if an application initiates graceful shutdown with a linger timeout
enabled, it must be able to receive these events on calls to recvmsg() [or
for the user data possibly another receive-type call] after making the call
to close() and before the call completes, which implies that the socket
would need to be non-blocking, or the application would need to be
multi-threaded.  The sentence in section 4.1.6 saying that "After an
application calls close() on a socket descriptor, no further socket
operations will suceed [should say succeed] on that descriptor" suggests
that this is not the intended behavior.  In any case the close may time out
before the graceful shutdown completes.
In short I believe that we have two choices.
1. Allow an application optionally to decouple socket closedown from
locally-initiated association shutdown, both for graceful and non-graceful
shutdown.
2. Allow an application to receive data and/or notifications after it has
made a call to close(), and possibly after the call to close() has
completed.
Of these choices I much prefer the first.  What do other people think?
Best wishes

Mike Bartlett
Voice Networking Group
Data Connection Ltd
Tel: +44 20 8366 1177
Fax: +44 20 8363 1039
Email: mb@dataconnection.com
Web: http://www.dataconnection.com




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


From tsvwg-admin@ietf.org  Mon Jun 18 11:28: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 ESMTP id LAA10296
	for <tsvwg-archive@odin.ietf.org>; Mon, 18 Jun 2001 11:28: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 LAA04342;
	Mon, 18 Jun 2001 11:18: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 LAA04315
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 11:18:29 -0400 (EDT)
Received: from coltrane.dataconnection.com (smtp.dataconnection.com [192.91.191.4])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA10067
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 11:17:57 -0400 (EDT)
Received: by coltrane.datcon.co.uk with Internet Mail Service (5.5.2653.19)
	id <M02QF3TJ>; Mon, 18 Jun 2001 16:17:57 +0100
Message-ID: <37701240971DD31193970000F6CCB9F702855C33@duke.datcon.co.uk>
From: Mike Bartlett <MB@dataconnection.com>
To: "'Jonathan Wood'" <Jonathan.Wood@Sun.COM>, tsvwg@ietf.org,
        "'Randall Stewart'" <randall@stewart.chicago.il.us>
Subject: RE: [Tsvwg] Comments on draft-ietf-tsvwg-sctpsocket-00.txt
Date: Mon, 18 Jun 2001 16:17:46 +0100
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 Jonathan

Thanks for your reply.  I have some minor follow-up points, marked with
"MB>>".

Mike

-----Original Message-----
From: Jonathan Wood [mailto:Jonathan.Wood@Sun.COM]
Sent: 15 June 2001 21:22
To: tsvwg@ietf.org; Mike Bartlett
Subject: Re: [Tsvwg] Comments on draft-ietf-tsvwg-sctpsocket-00.txt

Mike,

Thanks for the close read. You've saved us lots of tedious
work :)

MB>> You're welcome :)

<snip>

>
>9. Two points on the MSG_ADDR_OVER flag:
>a) The text for the MSG_ADDR_OVER flag in section 5.2.2 should presumably
>say TCP rather than UDP, because for UDP sockets the destination address is
>always critical.  Also the reference to sendto() seems incorrect because
>that call does not have ancillary data.  I suggest that the text should
read
>as follows.
>"This flag, for TCP-style sockets, requests the SCTP stack to override the
>primary destination address with the address found with the sendmsg call." 
>b) In section 4.1.8  I suggest that the first sentence of point 1) should
be
>modified to refer to the MSG_ADDR_OVER flag as follows.
>"When sending, the msg_name field in the msghdr is not used to specify the
>intended receiver.  However, if the MSG_ADDR_OVER flag is specified in the
>flags (see section 5.2.2) then the sender uses this field to indicate a
>different peer address if it does not want to send the message to the
>primary address of the receiver." 

Actually, I think the MSG_ADDR_OVER flag would be redundant for
TCP-style sockets. If the sender wants to send to the primary,
msg_name is NULL. If it wants to override the primary, it places
the alternate address in msg_name. This implies MSG_ADDR_OVER.

MB>> OK, this makes sense now.  
MB>> I think some more explanation would help here, along the lines
suggested in Randall's email, and as I mentioned in (b) some
cross-references for sendmsg() for UDP (and TCP if applicable) would be good
too.  Also I believe my point in (a) about the sendto() reference in 5.2.2
is still valid.  

<snip>

>20. Section 8.1: The flags field on sctp_bindx() is formed from the bitwise
>OR of zero or more of the flags ADD and REMOVE.  Of course it only makes
>sense if exactly one of these flags is specified (the combination "don't
ADD
>and don't REMOVE" makes no more sense than the combination "ADD and
>REMOVE").  I suggest that these should not be bitwise flags.  Please can
you
>make them just two alternative values for the flag.

I believe the idea with making the flags a bitwise OR was to
make the call general enough that we could add interesting
functionality later. For example, let's say we wanted to allow
the caller a way around address scoping rules; we might add
SCTP_BINDX_BYPASS_SCOPING flag, which would act as a modifier
to the add functionality:

sctp_bindx(fd, addrs, naddrs, SCTP_BINDX_BYPASS_SCOPING |
SCTP_BINDX_ADD_ADDR);

It makes the semantics much simpler if all flags are
formed with a bitwise-OR. Imagine the user confusion if
some flags were not OR'd, while others were...

Of course, you are right that it doesn't make sense to both
add and delete an address at the same time. Would you be
satisfied with some additional text saying that socket
implementations should catch and reject this?

MB>> Yes, that would work for me.  Although to be honest I think that the
main problem is that ADD and REMOVE should be separate API calls.  I can't
imagine many of the flags you might want to add would apply to both ADD and
REMOVE, and I imagine you'll end up with two disjoint sets of options.  

<snip>

>22. Section 8.5.  I don't understand what your new call provides that
>couldn't be achieved using setsockopt() and getsockopt().  None of the
calls
>is simultaneously reading and writing.  You can set peer address parameters
>using setsockopt(SCTP_PEER_ADDR_PARAMS) or you can read them using
>getsockopt(SCTP_PEER_ADDR_PARAMS).  You can retrieve peer address
>information using getsockopt(SCTP_PEER_ADDR_INFO).  Why do we need a new

getsockopt() is read-only. In other words, you cannot pass an
address into getsockopt() and get back info on that address.
Of course, you could hack up getsockopt() to get it to work this
way, but I think it is much cleaner to provide a wrapper call
that allows implementors to do what works best on their platforms.

MB>> OK, I get it now.  Thanks.

<snip>


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


From tsvwg-admin@ietf.org  Mon Jun 18 15:25: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 ESMTP id PAA17854
	for <tsvwg-archive@odin.ietf.org>; Mon, 18 Jun 2001 15:25: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 PAA13713;
	Mon, 18 Jun 2001 15:14: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 PAA13682
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 15:14:46 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17442
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 15:14:13 -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.11.3/8.9.1) with ESMTP id f5IJELx15810;
	Mon, 18 Jun 2001 12:14:22 -0700 (PDT)
Received: from stewart.chicago.il.us (ssh-sj1.cisco.com [171.68.225.134])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AHL06716 (AUTH rrs);
	Mon, 18 Jun 2001 12:14:14 -0700 (PDT)
Message-ID: <3B2E5302.3408BAD8@stewart.chicago.il.us>
Date: Mon, 18 Jun 2001 14:14:10 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
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: tsvwg@ietf.org
Subject: Re: [Tsvwg] Comments on draft-ietf-tsvwg-sctpsocket-00.txt
References: <200106181908.MAA08506@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 Wood wrote:
>
> 
> Hmm but the normal behavior now for TCP-style sockets
> is to not ignore the address if present.
> 
> I still think we get the same functionality by not
> including the flag. It's actually simpler for socket
> API callers too, since the API is simpler without
> the flag (1/2 the number of combos to consider):
> 
>                          flag set           flag unset
> 
> msg_name is NULL         send to primary    send to primary
> 
> msg_name is non-NULL     send to alternate  send to primary
> 
> vs.
> 
> msg_name is NULL         send to primary
> 
> msg_name is non-NULL     send to alternate
> 
> I suspect that if we include the flag for TCP-style
> sockets, a common programming error will be to
> include the address but then forget to set the flag.
> Let's nip this one in the bud.
> 
> Jonathan

Sounds good to me.. Having msg-name set to me is
equivalant to the flag...

R


-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 18 15:29: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 ESMTP id PAA18078
	for <tsvwg-archive@odin.ietf.org>; Mon, 18 Jun 2001 15:29: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 PAA13535;
	Mon, 18 Jun 2001 15:08:09 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA13503
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 15:08:07 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17114
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 15:07:34 -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 NAA17707;
	Mon, 18 Jun 2001 13:08:06 -0600 (MDT)
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 MAA08506;
	Mon, 18 Jun 2001 12:08:07 -0700 (PDT)
Message-Id: <200106181908.MAA08506@heliopolis.eng.sun.com>
Date: Mon, 18 Jun 2001 12:08:06 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] Comments on draft-ietf-tsvwg-sctpsocket-00.txt
To: randall@stewart.chicago.il.us, tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: AW0e02HHE7Su0H54pPdGXQ==
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

>this behavior. In fact even thought Jonathan commented that
>it was redundant in TCP, I think maybe if he thinks on it
>he may agree that it is needed here too. 
>
>I don't see that the stack should ever use addresses for anything
>but locating the association in the UDP side unless this flag

For UDP-sockets, I agree.

>is set. For the TCP flag, I would think this flag would indicate,
>"ok, I now have to look at this address, since normally I ignore it
> and as long as it is valid I will override the primary with it".
>

Hmm but the normal behavior now for TCP-style sockets
is to not ignore the address if present.

I still think we get the same functionality by not
including the flag. It's actually simpler for socket
API callers too, since the API is simpler without
the flag (1/2 the number of combos to consider):

                         flag set           flag unset

msg_name is NULL         send to primary    send to primary

msg_name is non-NULL     send to alternate  send to primary

vs.

msg_name is NULL         send to primary

msg_name is non-NULL     send to alternate

I suspect that if we include the flag for TCP-style
sockets, a common programming error will be to
include the address but then forget to set the flag.
Let's nip this one in the bud.


Jonathan


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


From tsvwg-admin@ietf.org  Mon Jun 18 18:11: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 ESMTP id SAA22364
	for <tsvwg-archive@odin.ietf.org>; Mon, 18 Jun 2001 18:11: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 RAA18116;
	Mon, 18 Jun 2001 17:47:32 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA18084
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 17:47:30 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-221.dallas.net [209.44.42.221])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21925
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 17:46:52 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id QAA07810;
	Mon, 18 Jun 2001 16:47:21 -0500
Date: Mon, 18 Jun 2001 16:47:21 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sockets
Message-ID: <20010618164721.D3813@bfgbhome>
Reply-To: bidulock@openss7.org
References: <37701240971DD31193970000F6CCB9F702855C32@duke.datcon.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <37701240971DD31193970000F6CCB9F702855C32@duke.datcon.co.uk>; from MB@dataconnection.com on Mon, Jun 18, 2001 at 04:05:58PM +0100
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Mike,

On Mon, 18 Jun 2001, Mike Bartlett wrote:

[snippage]

> 1. Allow an application optionally to decouple socket closedown from
> locally-initiated association shutdown, both for graceful and non-graceful
> shutdown.
> 2. Allow an application to receive data and/or notifications after it has
> made a call to close(), and possibly after the call to close() has
> completed.
> Of these choices I much prefer the first.  What do other people think?

I agree with (1); however, I don't believe that close() should be
completely decoupled from graceful or ungraceful shutdown.  In TCP
implementations it is common to RST a closed socket which has
outstanding data to be sent at the time that the socket is closed.
Otherwise, they could hang around forever.  The user has gone away.
Similarly, when SCTP TCP-style sockets close() if there is outstanding
data to be sent, the association should ABORT (there is no user and
the other end could keep the association alive indefinitely).  If
there is no outstanding data, SHUTDOWN should be sent and, if data
is delivered from the peer, ABORT performed (there is no user to
deliver any received data to.)  The shutdown() mechanism can easily
be adapted to perform graceful shutdown.  Although it would not act
the same as TCP's semantics, I hear that few applications really use
shutdown() anyway.

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Mon Jun 18 18:59:28 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 ESMTP id SAA23268
	for <tsvwg-archive@odin.ietf.org>; Mon, 18 Jun 2001 18:59: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 SAA19077;
	Mon, 18 Jun 2001 18:29:25 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA19048
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 18:29:23 -0400 (EDT)
Received: from exchange1.nuera.com (igate.nuera.com [204.216.240.98])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA22676
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 18:28:50 -0400 (EDT)
Received: by exchange1.nuera.com with Internet Mail Service (5.5.2650.21)
	id <LA2LKTC7>; Mon, 18 Jun 2001 15:28:56 -0700
Message-ID: <E79883AEA37FD411A58C00508BAC5F4BD728DA@exchange1.nuera.com>
From: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
To: "'bidulock@openss7.org'" <bidulock@openss7.org>, tsvwg@ietf.org
Subject: RE: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock
	ets
Date: Mon, 18 Jun 2001 15:28:47 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0F846.0A7F06B0"
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_01C0F846.0A7F06B0
Content-Type: text/plain;
	charset="iso-8859-1"


I agree Brian. Likewise, I think the fact that SCTP has no
undirectional/half closed states does not preclude the usefulness of
shutdown() to perform a graceful shutdown in a similar manner to TCP.
Preserving a similar shutdown()/close() behavior to TCP should make it a lot
more intuitive to port applications from TCP to SCTP.

I'm sure that shutdown() for TCP is used by most applications for graceful
shutdown rather than for initiating steady-state unidirectional/half-closed
TCP states in any case.

I see problems in specifying SD_RECEIVE & SD_BOTH (because the remote
application would receive acknowledgement for data that was not actually
delivered to the application) but SD_SEND can still be useful for graceful
shutdown at the application layer.

Robert.

-----Original Message-----
From:	Brian F. G. Bidulock [mailto:bidulock@openss7.org]
Sent:	Monday, June 18, 2001 10:47 PM
To:	tsvwg@ietf.org
Subject:	Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP
sockets

Mike,

On Mon, 18 Jun 2001, Mike Bartlett wrote:

[snippage]

> 1. Allow an application optionally to decouple socket closedown from
> locally-initiated association shutdown, both for graceful and non-graceful
> shutdown.
> 2. Allow an application to receive data and/or notifications after it has
> made a call to close(), and possibly after the call to close() has
> completed.
> Of these choices I much prefer the first.  What do other people think?

I agree with (1); however, I don't believe that close() should be
completely decoupled from graceful or ungraceful shutdown.  In TCP
implementations it is common to RST a closed socket which has
outstanding data to be sent at the time that the socket is closed.
Otherwise, they could hang around forever.  The user has gone away.
Similarly, when SCTP TCP-style sockets close() if there is outstanding
data to be sent, the association should ABORT (there is no user and
the other end could keep the association alive indefinitely).  If
there is no outstanding data, SHUTDOWN should be sent and, if data
is delivered from the peer, ABORT performed (there is no user to
deliver any received data to.)  The shutdown() mechanism can easily
be adapted to perform graceful shutdown.  Although it would not act
the same as TCP's semantics, I hear that few applications really use
shutdown() anyway.

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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

------_=_NextPart_001_01C0F846.0A7F06B0
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] SCTP Sockets Mapping - Closure of TCP-style SCTP =
sockets</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">I agree Brian. Likewise, I think the =
fact that SCTP has no undirectional/half closed states does not =
preclude the usefulness of shutdown() to perform a graceful shutdown in =
a similar manner to TCP. Preserving a similar shutdown()/close() =
behavior to TCP should make it a lot more intuitive to port =
applications from TCP to SCTP.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I'm sure that shutdown() for TCP is =
used by most applications for graceful shutdown rather than for =
initiating steady-state unidirectional/half-closed TCP states in any =
case.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I see problems in specifying =
SD_RECEIVE &amp; SD_BOTH (because the remote application would receive =
acknowledgement for data that was not actually delivered to the =
application) but SD_SEND can still be useful for graceful shutdown at =
the application layer.</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; Brian F. G. =
Bidulock [<A =
HREF=3D"mailto:bidulock@openss7.org">mailto:bidulock@openss7.org</A>]</F=
ONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D2 FACE=3D"Arial">Monday, June 18, 2001 10:47 PM</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">tsvwg@ietf.org</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] SCTP Sockets Mapping - =
Closure of TCP-style SCTP sockets</FONT>
</P>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">On Mon, 18 Jun 2001, Mike Bartlett =
wrote:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">[snippage]</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; 1. Allow an application =
optionally to decouple socket closedown from</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; locally-initiated association =
shutdown, both for graceful and non-graceful</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; shutdown.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; 2. Allow an application to =
receive data and/or notifications after it has</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; made a call to close(), and =
possibly after the call to close() has</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; completed.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Of these choices I much prefer =
the first.&nbsp; What do other people think?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I agree with (1); however, I don't =
believe that close() should be</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">completely decoupled from graceful or =
ungraceful shutdown.&nbsp; In TCP</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">implementations it is common to RST a =
closed socket which has</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">outstanding data to be sent at the =
time that the socket is closed.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Otherwise, they could hang around =
forever.&nbsp; The user has gone away.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Similarly, when SCTP TCP-style =
sockets close() if there is outstanding</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">data to be sent, the association =
should ABORT (there is no user and</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the other end could keep the =
association alive indefinitely).&nbsp; If</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">there is no outstanding data, =
SHUTDOWN should be sent and, if data</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">is delivered from the peer, ABORT =
performed (there is no user to</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">deliver any received data to.)&nbsp; =
The shutdown() mechanism can easily</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">be adapted to perform graceful =
shutdown.&nbsp; Although it would not act</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the same as TCP's semantics, I hear =
that few applications really use</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">shutdown() anyway.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">-- </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Brian F. G. Bidulock</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">bidulock@openss7.org</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"><A HREF=3D"http://www.openss7.org/" =
TARGET=3D"_blank">http://www.openss7.org/</A></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_01C0F846.0A7F06B0--

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


From tsvwg-admin@ietf.org  Mon Jun 18 22:48: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 ESMTP id WAA28938
	for <tsvwg-archive@odin.ietf.org>; Mon, 18 Jun 2001 22:48: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 WAA25666;
	Mon, 18 Jun 2001 22:11: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 WAA25641
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 22:11:12 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-221.dallas.net [209.44.42.221])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA27531
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 22:10:37 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id VAA11057;
	Mon, 18 Jun 2001 21:11:09 -0500
Date: Mon, 18 Jun 2001 21:11:09 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock ets
Message-ID: <20010618211109.G3813@bfgbhome>
Reply-To: bidulock@openss7.org
References: <E79883AEA37FD411A58C00508BAC5F4BD728DA@exchange1.nuera.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <E79883AEA37FD411A58C00508BAC5F4BD728DA@exchange1.nuera.com>; from rfairlie@nuera.com on Mon, Jun 18, 2001 at 03:28:47PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Robert,

Just a few more thoughts...

I agree with your comments, however, I implemented SD_RECEIVE
and SD_BOTH so that when the receiver has been shutdown, receipt
of further (non-duplicate) DATA chunks will result in an ABORT
rather than a SACK.  That way the receiving application can
really say that it doesn't want to receive any more data!  Also,
receipt of a SHUTDOWN or SHUTDOWN ack is equivalent to a
SD_RECEIVE and SD_SEND sends a SHUTDOWN.

On close() if data remains in the write queue an ABORT is sent
and the socket is closed immediately (but we could probably wait
for SO_LINGER).  If there is no data in the write queue a
SHUTDOWN is attempted, but with SD_RECEIVE set (so, if data is
received after the SHUTDOWN is sent, the association will be
aborted).  If the graceful shutdown doesn't complete within a
short period (SO_LINGER), the association is aborted.  As with
TCP, this is to keep bound sockets from hanging around using up
port numbers.

This way, if you do a close() with no data in the write queue
and with the other end having no more data to send, the close()
will result in a graceful shutdown.  If there is data
outstanding in either direction, the association will soon
abort.  So, shutdown(fd, SD_SEND) is the best way to gracefully
shutdown an association, (which is, sadly, backwards from TCP).

Perhaps not so strangely, SD_BOTH has the same semantics as
close(), but the socket still exists.  If SD_RECEIVE has the
semantics I implemented above (ABORT if data arrives), this has
exactly the same effect as close() without socket destruction.
This would be an ideal way to shutdown as socket which was about
to perform retrieval (no parallel in TCP, really).  SD_RECEIVE
is still useful, in that if DATA arrives, the association is
ABORTed and the application receives EPIPE/SIG_PIPE to indicate
the loss of connectivity.

The close() semantics of generating an ABORT and not perfoming a
graceful shutdown in these situations is ncessary so that the
peer application receives EPIPE/SIG_PIPE in the same circumstances
as TCP would provide EPIPE/SIG_PIPE.  Otherwise, an application
such as FTP could send a large amount of data into the network
before recognizing that the connection had been shut down.

The complications is partly due, not to SCTP's lack of
half-close, but because SCTP's close is reversed from that of
TCP.  When TCP sends FIN, it say "don't send me any more data".
When SCTP sends SHUTDOWN or SHUTDOWN-ACK it (quite rhetorically)
says "I'm not sending you any more data".  It still takes both
sides to shut down in SCTP and the association can be hung in
the middle by a peer who continues sending data and refuses to
send SHUTDOWN-ACK.  This leaves, in many circumstances, ABORT as
the only way to definitively shut down an association.  It is
sad that SCTP did not follow TCP's elegant mechanism, the
half-open socket byproduct of which has been studied and solved
and is already largely handled in the OOTB response.  SCTP's
creators were certainly not thinking of the socket interface
when choosing this innovation.

--Brian


On Mon, 18 Jun 2001, Fairlie-Cuninghame, Robert wrote:

> 
>    I agree Brian. Likewise, I think the fact that SCTP has no
>    undirectional/half closed states does not preclude the usefulness of
>    shutdown() to perform a graceful shutdown in a similar manner to TCP.
>    Preserving a similar shutdown()/close() behavior to TCP should make it
>    a lot more intuitive to port applications from TCP to SCTP.
>    
>    I'm sure that shutdown() for TCP is used by most applications for
>    graceful shutdown rather than for initiating steady-state
>    unidirectional/half-closed TCP states in any case.
>    
>    I see problems in specifying SD_RECEIVE & SD_BOTH (because the remote
>    application would receive acknowledgement for data that was not
>    actually delivered to the application) but SD_SEND can still be useful
>    for graceful shutdown at the application layer.
>    
>    Robert.
>    

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 19 00:00: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 ESMTP id AAA29896
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 00:00: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 XAA28137;
	Mon, 18 Jun 2001 23:44: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 XAA28107
	for <tsvwg@ns.ietf.org>; Mon, 18 Jun 2001 23:44:44 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA29701
	for <tsvwg@ietf.org>; Mon, 18 Jun 2001 23:44:12 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id UAA08542;
	Mon, 18 Jun 2001 20:44:46 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id UAA18216;
	Mon, 18 Jun 2001 20:44:45 -0700 (PDT)
Date: Mon, 18 Jun 2001 20:44:32 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sockets
To: Mike Bartlett <MB@dataconnection.com>
Cc: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <37701240971DD31193970000F6CCB9F702855C32@duke.datcon.co.uk>
Message-ID: <Roam.SIMC.2.0.6.992922272.8690.kcpoon@eng.sun.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

> 1. Allow an application optionally to decouple socket closedown from
> locally-initiated association shutdown, both for graceful and non-graceful
> shutdown.
> 2. Allow an application to receive data and/or notifications after it has
> made a call to close(), and possibly after the call to close() has
> completed.
> Of these choices I much prefer the first.  What do other people think?
> Best wishes

The current SCTP socket extension on this is closely tied to the SCTP
close semantics.  Becaues SCTP does not have the half-close semantics as
with TCP, the prefer way to implement a "close" in app protocols is to 
have both sides of the app to agree that they have finished communicating
before the shutdown can start, which is a graceful shutdown.

With TCP, shutdown(SHUT_WR) means doing the TCP half-close.  And
shutdown(SHUT_RD) does not mean much except the app cannot receive any
more...  Having the current SCTP close() semantics prevents app programmers
from assuming the TCP like semantics, which I think very few apps actually
use.  This is one reason why shutdown() is not allowed with the current
socket extension.

And in SCTP, once an endpoint receives a SHUTDOWN chunk and enters
the SHUTDOWN-PENDING state, no new data from app is allowed.  This means
that the app probably cannot do anything except closing the socket.  It
cannot send and there is nothing more to be received.  This unusual (and
assymmetric) semantics strongly suggest that app protocols should be very
careful in closing.  So unless we want to have another set of shutdown()
semantics with SCTP which is different from what TCP has, we probably should
avoid having shutdown().  Are you suggesting we come up with a different
meaning of shutdown()?

Note that doing 2 above is probably not a good idea because it simply
breaks the normal meaning of close().

Non-graceful shutdown can be done with the current socket extension by
setting SO_LINGER timeout to 0.  As mentioned above, because of the
unusal close semantics of SCTP, it seems that we should avoid having
shutdown() to minimize the confusion.  But if people really think that
we should have shutdown(), we can think about what it should mean.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Tue Jun 19 00:23: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 ESMTP id AAA00067
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 00:23: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 AAA29038;
	Tue, 19 Jun 2001 00:16: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 AAA29011
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 00:16:04 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA29992
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 00:15:33 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id VAA17045;
	Mon, 18 Jun 2001 21:16:06 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id VAA21320;
	Mon, 18 Jun 2001 21:16:06 -0700 (PDT)
Date: Mon, 18 Jun 2001 21:15:53 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sockets
To: bidulock@openss7.org
Cc: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010618164721.D3813@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.992924153.9926.kcpoon@eng.sun.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 agree with (1); however, I don't believe that close() should be
> completely decoupled from graceful or ungraceful shutdown.  In TCP
> implementations it is common to RST a closed socket which has
> outstanding data to be sent at the time that the socket is closed.

I think there are 2 issues here.  The first is if there is outstanding
data when a socket is closing.  The second is what happens after a socket
is closed, regardless of whether there is outstanding unsent data.

When there is outstanding data when a socket is closing and SO_LINGER
timeout is set to 0, the common semantics is to send a RST to the other
end.  Otherwise, TCP will continue to send the outstanding data.

After a socket is closed, TCP will send a RST out if new data comes in.
But this is done regardless of the outstanding unsent data.

> Otherwise, they could hang around forever.  The user has gone away.
> Similarly, when SCTP TCP-style sockets close() if there is outstanding
> data to be sent, the association should ABORT (there is no user and
> the other end could keep the association alive indefinitely).  If

I don't think this is a correct semantics.  If what you are saying is
that after a socket is closed and there is new data received, SCTP
should send an ABORT, this makes sense.  Sending ABORT (similar to
TCP's RST) should have nothing to do with outstanding unsent data.

> there is no outstanding data, SHUTDOWN should be sent and, if data
> is delivered from the peer, ABORT performed (there is no user to
> deliver any received data to.)  The shutdown() mechanism can easily
> be adapted to perform graceful shutdown.  Although it would not act
> the same as TCP's semantics, I hear that few applications really use
> shutdown() anyway.

The fundamental difference between TCP and SCTP's shutdown is that SCTP's
shutdown is not symmetric.  With SCTP, once a SHUTDOWN chunk is received,
no new data is accepted from the app.  With TCP, after a FIN is received,
the app still can send out new data.  That is why shutdown(SHUT_WR) is
useful with TCP.  With SCTP, it is not easy to have a reasonable, but not
unusal meaning of shutdown(). 

							K. Poon.
							kcpoon@eng.sun.com




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


From tsvwg-admin@ietf.org  Tue Jun 19 00:56: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 ESMTP id AAA00357
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 00:56: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 AAA29779;
	Tue, 19 Jun 2001 00:45: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 AAA29748
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 00:45:45 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA00260
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 00:45:14 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id VAA24290;
	Mon, 18 Jun 2001 21:45:47 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id VAA25052;
	Mon, 18 Jun 2001 21:45:47 -0700 (PDT)
Date: Mon, 18 Jun 2001 21:45:33 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock ets
To: bidulock@openss7.org
Cc: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010618211109.G3813@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.992925933.28253.kcpoon@eng.sun.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 agree with your comments, however, I implemented SD_RECEIVE
> and SD_BOTH so that when the receiver has been shutdown, receipt
> of further (non-duplicate) DATA chunks will result in an ABORT
> rather than a SACK.  That way the receiving application can
> really say that it doesn't want to receive any more data!  Also,
> receipt of a SHUTDOWN or SHUTDOWN ack is equivalent to a
> SD_RECEIVE and SD_SEND sends a SHUTDOWN.

I assume SD_RECEIVE means shutdown(SHUT_RD).  The above is a
reasonable thing to do in the stack.  But why an app wants to do
a shutdown(SHUT_RD) is questionable.  Can you suggest an example,
can be TCP or SCTP app, which this is useful?

> On close() if data remains in the write queue an ABORT is sent
> and the socket is closed immediately (but we could probably wait
> for SO_LINGER).  If there is no data in the write queue a
> SHUTDOWN is attempted, but with SD_RECEIVE set (so, if data is
> received after the SHUTDOWN is sent, the association will be
> aborted).  If the graceful shutdown doesn't complete within a
> short period (SO_LINGER), the association is aborted.  As with
> TCP, this is to keep bound sockets from hanging around using up
> port numbers.

The above is not what an app expects from a TCP socket.  As mentioned
in my previous mail, closing a socket with outstanding unsent data
should not mean an ABORT (or TCP RST).  This should only be done
when SO_LINGER interval is set to 0.  And if SO_LINGER is set to a
positive value, only the close() should return with an error.  SCTP
and TCP should continue to deliver the unsent data.

> This way, if you do a close() with no data in the write queue
> and with the other end having no more data to send, the close()
> will result in a graceful shutdown.  If there is data
> outstanding in either direction, the association will soon
> abort.  So, shutdown(fd, SD_SEND) is the best way to gracefully
> shutdown an association, (which is, sadly, backwards from TCP).

Is shutdown(SD_SEND) the same as shutdown(SHUT_WR)?  I think SHUT_WR
is defined in XPG4.  The half-close in TCP (a graceful shutdown) is
done exactly by shutdown(SHUT_WR).

> Perhaps not so strangely, SD_BOTH has the same semantics as
> close(), but the socket still exists.  If SD_RECEIVE has the
> semantics I implemented above (ABORT if data arrives), this has
> exactly the same effect as close() without socket destruction.
> This would be an ideal way to shutdown as socket which was about
> to perform retrieval (no parallel in TCP, really).  SD_RECEIVE
> is still useful, in that if DATA arrives, the association is
> ABORTed and the application receives EPIPE/SIG_PIPE to indicate
> the loss of connectivity.
> 
> The close() semantics of generating an ABORT and not perfoming a
> graceful shutdown in these situations is ncessary so that the
> peer application receives EPIPE/SIG_PIPE in the same circumstances
> as TCP would provide EPIPE/SIG_PIPE.  Otherwise, an application
> such as FTP could send a large amount of data into the network
> before recognizing that the connection had been shut down.
> 
> The complications is partly due, not to SCTP's lack of
> half-close, but because SCTP's close is reversed from that of
> TCP.  When TCP sends FIN, it say "don't send me any more data".
> When SCTP sends SHUTDOWN or SHUTDOWN-ACK it (quite rhetorically)
> says "I'm not sending you any more data".  It still takes both
> sides to shut down in SCTP and the association can be hung in
> the middle by a peer who continues sending data and refuses to
> send SHUTDOWN-ACK.  This leaves, in many circumstances, ABORT as
> the only way to definitively shut down an association.  It is
> sad that SCTP did not follow TCP's elegant mechanism, the
> half-open socket byproduct of which has been studied and solved
> and is already largely handled in the OOTB response.  SCTP's
> creators were certainly not thinking of the socket interface
> when choosing this innovation.

The above description of TCP FIN and SCTP SHUTDOWN is not quite
correct.  In TCP, sending a FIN means that one side is done with
sending data, not "don't send me any more data."  As a matter of
fact, this is how TCP half-close is done.  Sending a FIN signals
the other end that it is done with sending the request.  So the
other end can start replying.

In SCTP, sending a SHUTDOWN means 2 things.  The sender is done
with sending and the receiver should not accept new data from the
app.  So with both TCP FIN and SCTP SHUTDOWN, the sender is done
with sending data.  But it is the no new data from app in the
receiver of SHUTDOWN which makes adding a comparable meaning to
shutdown() difficult.

If people think that we should add shutdown() to the socket
extension, we can do that.  But it will not have similar meaning
as with TCP.  shutdown(SHUT_WR) can trigger a SHUTDOWN chunk.  And
the app can still receive data from the socket.  But the data
received can only be data sent by the other side before the
SHUTDOWN chunk is received.  So in a certain sense, the app cannot
know what data is to be received after shutdown(SHUT_WR) unless it
has some app level protocol to coordinate this.  The receiver of 
SHUTDOWN will get 0 as the return value of read (recv()/...) call.  
After that, the receiver should probably close() the socket.

I believe the above semantics is actually in the version 0 or 1
of the draft (before it was renamed to *-tsvwg-sctpsocket-*).  It
was removed because of the different meaning from TCP and we want
to avoid confusion from app programmers.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Tue Jun 19 02:12: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 ESMTP id CAA12114
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 02:12: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 BAA09149;
	Tue, 19 Jun 2001 01:55: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 BAA09080
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 01:55:41 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-221.dallas.net [209.44.42.221])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA03610
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 01:55:05 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id AAA13871;
	Tue, 19 Jun 2001 00:55:37 -0500
Date: Tue, 19 Jun 2001 00:55:37 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock ets
Message-ID: <20010619005537.H3813@bfgbhome>
Reply-To: bidulock@openss7.org
References: <20010618211109.G3813@bfgbhome> <Roam.SIMC.2.0.6.992925933.28253.kcpoon@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.992925933.28253.kcpoon@eng.sun.com>; from kcpoon@eng.sun.com on Mon, Jun 18, 2001 at 09:45:33PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

Well, it looks like I had the FIN thing backwards; however,....

shutdown() is not part of TCP.  It is part of the sockets
interface which is just as applicable to OSI and other protocols
as TCP.  SCTP should not change the semantics of this socket
call.  From XPG XNS 5.2 the "shutdown() function disables
subsequent send and/or receive operations on a socket".  The
effects on subsequent operations on the socket are clear.  An
attempt to perform write() or send() or sendmsg() when the
socket has been shut down for write must return EPIPE.  An
attempt to perform read() or recv() or recvmsg() when the socket
has been shut down by the peer must return 0.

I see absolutely no reason to change the semantics of the
existing API of the socket interface for SCTP.  Any change in
semantics is bound to be confusing to sockets programmers who
have taken the time to learn the existing way of doing things
(not just for TCP but for all other protocols supported by the
socket interface).  (If you hope to change XPG XNS or POSIX with
an IETF draft, I will see you at the IEEE balloting ;)

I think that efforts would be better spent determining how the
existing socket API maps onto SCTP, rather than attempting to
change the socket interface for SCTP's sake alone.

shutdown() should perform exactly as it does for other protocols
in terms of the API semantic.

If an implementation wishes to send SHUTDOWN in response to a
shutdown(SHUT_WR) that's ok.  If the peer receives a SHUTDOWN,
it COULD return EPIPE to write(), send() and sendmsg() and
signal SIG_PIPE.  What's the matter with that?  How is it
confusing in comparison to TCP?  TCP uses the same socket
semantics...

Both socket users expect EPIPE when they can't write and 0 when
they can't read data.  This will be the effect of shutdown()
(unless someone tries to modify the definition).  Portability of
programs is not acheived by altering the sockets interface for
every new protocol.

--Brian


(I still think it COULD allow the data to be written.  RFC 2960
says that "endpoint MUST NOT accept any new send request from
its SCTP user".  Yet, the document only "sketches the API which
should exist at the boundary between the SCTP and the SCTP user
layers." It is fairly slipperly to attempt to enforce a MUST on
a sketchy thing.)


On Mon, 18 Jun 2001, Kacheong Poon wrote:

[snip]
> 
> If people think that we should add shutdown() to the socket
> extension, we can do that.  But it will not have similar meaning
> as with TCP.  shutdown(SHUT_WR) can trigger a SHUTDOWN chunk.  And
> the app can still receive data from the socket.  But the data
> received can only be data sent by the other side before the
> SHUTDOWN chunk is received.  So in a certain sense, the app cannot
> know what data is to be received after shutdown(SHUT_WR) unless it
> has some app level protocol to coordinate this.  The receiver of 
> SHUTDOWN will get 0 as the return value of read (recv()/...) call.  
> After that, the receiver should probably close() the socket.
> 
> I believe the above semantics is actually in the version 0 or 1
> of the draft (before it was renamed to *-tsvwg-sctpsocket-*).  It
> was removed because of the different meaning from TCP and we want
> to avoid confusion from app programmers.
> 

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 19 02:21:06 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 ESMTP id CAA12677
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 02:21:06 -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 CAA09658;
	Tue, 19 Jun 2001 02:09: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 CAA09631
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 02:09:05 -0400 (EDT)
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA11807
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 02:08:31 -0400 (EDT)
Received: from kkb3 (kkb3-099.kk.etx.ericsson.se [130.100.99.23])
	by penguin.wise.edt.ericsson.se (8.11.0/8.10.1/WIREfire-1.3) with SMTP id f5J694O13231
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 08:09:04 +0200 (MEST)
Received: from ericsson.com.au by kkb3 (SMI-8.6/LME-2.2.6)
	id IAA21389; Tue, 19 Jun 2001 08:09:00 +0200
Message-ID: <3B2F5CFC.2157EB4C@ericsson.com.au>
Date: Tue, 19 Jun 2001 16:09:00 +0200
From: Ian Rytina <ian.rytina@ericsson.com.au>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check, again
References: <FA13E89D0804CB4DB5FB420B70E2C0CC16F1B3@kecmsg07.ad.infosys.com> <3B27D4E3.5FA7703E@stewart.chicago.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


Hi Randy,

Would it be possible to release this draft to the general population ?
I'd certainly like to have a glance at it, and I suspect some others
would as well. Either as an I-D or directly to the list would be fine by
me.

/Ian.


Randall Stewart at work wrote:

> Naveen:
>
> As I have previously pointed out on the list. Chip Sharp and
> I developed just such a draft. It is however quite in-elegant
> since you must always implement BOTH algorithms. It seems
> foolish to do so with almost no implemented base. Why would
> we want to saddle a new protocol forever with this penalty
> of having to implement both checksum mechanisms..
>
> At this stage we have NO reports of deployed production SCTP
> and it is better, I think, to just change out to a new
> sum then be saddled forever with options to negotiate a sum.
>
> If such a thing is wanted, do a draft like Doug Otis's earlier
> checksum/digest draft.. where you append a new chunk that can
> be ignored... We can then discuss this seperately and then
> deal with just the issue at hand.. choices 1, 2 and 3 :/
>
> R
>
> R
>
> Naveen S Jain wrote:
> >
> > Hi Hanns,
> >         It is actually backward compatible. If the INIT does not contain
> > the optional
> >         parameter Checksum Type, it is assumed to be always Adler32.
> >
> > Naveen
> >
> > > -----Original Message-----
> > > From: Schwarzbauer Hanns Juergen
> > > [mailto:HannsJuergen.Schwarzbauer@icn.siemens.de]
> > > Sent: Monday, June 11, 2001 6:14 PM
> > > To: Naveen S Jain
> > > Cc: tsvwg@ietf.org
> > > Subject: RE: [Tsvwg] sctp error check, again
> > >
> > >
> > > Hi Naveen,
> > >
> > > this would certainly be an option I would be happy with!
> > >
> > > From my point of view it's a strange argument stating that
> > > the CRC calculation could be done in hardware. Certainly it
> > > could, but this would prevent SCTP from providing the
> > > performance as it is now on all currently available platforms
> > > that do not have this piece of hardware. It seems to be an
> > > argument from chip and board manufactures.
> > >
> > > I would like to put the additional burden, either use
> > > specialized chips or suffer from performance degradation to
> > > those that want to have the utmost protection against message
> > > corruption and introducing the proposed negotiation would be
> > > a reasonable way, albeit it is also not backwards compatible.
> > >
> > >
> > > regards
> > >
> > > HannsJuergen
> > > > -----Original Message-----
> > > > From:       Naveen S Jain [SMTP:NAVEENSJ@infy.com]
> > > > Sent:       Monday, June 11, 2001 5:53 AM
> > > > To: Randall Stewart; lyndon_ong@eudoramail.com
> > > > Cc: Douglas Otis; Allison Mankin; Scott Bradner; tsvwg@ietf.org
> > > > Subject:    RE: [Tsvwg] sctp error check, again
> > > >
> > > > Hi ,
> > > >     I was wondering why the checksum negotiation was left out??
> > > >     We can have some kind of negotiation based on a optional packet
> > > > in the
> > > >     INIT.
> > > >
> > > >     The endpoint initiating the association can
> > > >     send the optional parameter to indicate the type
> > > >     of checksum to be used. If there is no optional
> > > >     parameter present with CRC32 as the type , then the
> > > >     association can use the existing adler-32 checksum
> > > >
> > > >     In case this approach is  to be followed,
> > > >     we will also need a additional cause value
> > > >     of type "Checksum type not supported"
> > > >
> > > >     That way the SCTP applications which are
> > > >     taking care of data sanity and requesting for
> > > >     retransmit can still use the adler-32 checksum
> > > >
> > > >     Where CRC 32 Is Supported:
> > > >     -------- (INIT with ad32 chsum requesting CRC32) ----->
> > > >     <-------- ( INIT ACK with ad32 cksum acking CRC32 request) ----
> > > >     --------- ( COOKIE Echo with CRC32 cksum) ------------>
> > > >     <-------- ( COOKIE Ack with CRC32 cksum ) ------------>
> > > >
> > > >     Where CRC32 is not supported:
> > > >     -------- (INIT with ad32 chsum requesting CRC32) ----->
> > > >     <-------- ( INIT ACK with ad32 cksum nacking CRC32 request) ----
> > > >     --------- ( COOKIE Echo with ad32 cksum) ------------>
> > > >     <-------- ( COOKIE Ack with ad32 cksum ) ------------>
> > > >
> > > >     There can be the following rules:
> > > >
> > > >     1) Only the CLient (Originator of INIT mesage) can request for
> > > >            Checksum type
> > > >     2) The Server ( receiver of INIT Msg) should always ACK the
> > > >            Checksum type provided it can support it.
> > > >        or The Server should nack it it it is unsupported
> > > >
> > > >     3) It the Client requests "ad32" Cksum type,the Server has to
> > > >             use "ad32" cksum even if it supports the CRC32 sum.
> > > >
> > > >     This way, the Applications will decide what they want
> > > > (preformance
> > > >     or reliability).
> > > >
> > > >     implications:
> > > >     1) SCTP should support multiple Cksums for multiple
> > > >             associations (ie. one association might be using
> > > >             ad32 and another might be using CRC32)
> > > >     2) SCTP runing as server should support both types of Cksums
> > > >
> > > >     3) Default will be the adler32 cksum
> > > >
> > > > Thanks and regards
> > > > Naveen
> > > >
> > > > > -----Original Message-----
> > > > > From: Randall Stewart [mailto:randall@stewart.chicago.il.us]
> > > > > Sent: Saturday, June 09, 2001 1:14 AM
> > > > > To: lyndon_ong@eudoramail.com
> > > > > Cc: Douglas Otis; Allison Mankin; Scott Bradner; tsvwg@ietf.org
> > > > > Subject: Re: [Tsvwg] sctp error check, again
> > > > >
> > > > >
> > > > > Yes,
> > > > >
> > > > > Lets leave this whole digest chunk issue out of
> > > > > play here... it just confuses the issue. We then
> > > > > our down to two options....
> > > > >
> > > > > #1 leave things as they are - 5 in favor
> > > > >
> > > > > #2 change to CRC-32 - 18 in favor..
> > > > >
> > > > > Anything to do with digest chunks can be considered
> > > > > seperately in say one of Dougs drafts... lets do
> > > > > seperate threads to discuss please ... and instead
> > > > > focus on getting consensus on this single issue
> > > > > i.e. what (if any) to change the SCTP checksum to...>
> > > > >
> > > > > Scott/Allison: Is this a enough of a consensus for
> > > > > CRC-32.. if so I will make the appropriate changes
> > > > > the draft chip and I have ready and get it submitted??
> > > > >
> > > > > R
> > > > >
> > > > > Lyndon Ong wrote:
> > > > > >
> > > > > > Well, we can pretty much eliminate (2).  A digest
> > > > > > should be considered as a separate issue, I think.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > Lyndon
> > > > > > --
> > > > > >
> > > > > > On Fri, 08 Jun 2001 12:13:50   Randall Stewart wrote:
> > > > > > >Douglas:
> > > > > > >
> > > > > > >If you would like me to open another catagory i.e.
> > > > > > >
> > > > > > >Wants CRC-32 OR a Digest:
> > > > > > >
> > > > > > >I suppose I can.. but at this point, considering the
> > > > > > >comments on the list.. i.e. have all faded.. I
> > > > > > >think we are going to need to ask the chairs to
> > > > > > >look at these results and determine if we have a
> > > > > > >rough consensus...or not...
> > > > > > >
> > > > > > >I don't see that any more comments
> > > > > > >are arriving...  your postion change would make things:
> > > > > > >
> > > > > > >Total 1) 5
> > > > > > >Total 2) 1
> > > > > > >Total 3) 18
> > > > > > >
> > > > > > >Total Double ballots) 4
> > > > > > >Total unspecified) 2
> > > > > > >
> > > > > > >I think that double ballot people should be dis-qualified...
> > > > > > >since we need a consensus for one of the choices.. not
> > > multiple..
> > > > > > >
> > > > > > >We can always proceed in parrallel with a CRC/Digest chunk
> > > > > > >and gage that seperate from changing the base sum...
> > > > > > >
> > > > > > >Has it stands now, it seems to me that we MAY have
> > > consensus for
> > > > > > >CRC-32... but I must leave that to the chairs....
> > > > > > >
> > > > > > >Scott/Allision? Do you think that we will get any more
> > > > > > >results?
> > > > > > >
> > > > > > >Chip and I have the draft for just the checksum change
> > > > > > >ready... all we need is for you to tell us what consensus is..
> > > > > > >or that we don't have it yet :>
> > > > > > >
> > > > > > >R
> > > > > > >
> > > > > > >Douglas Otis wrote:
> > > > > > >>
> > > > > > >> Randall,
> > > > > > >>
> > > > > > >> You can put me into the CRC-32 camp but I would like
> > > to also keep
> > > > > > >> consideration of placement and digest open.  If this
> > > > > process is to be
> > > > > > >> offloaded either in software or hardware, the number of
> > > > > passes through
> > > > > > >> memory is important for performance.  Doing both a
> > > > > digest and packet check
> > > > > > >> within the header will ensure two passes are always
> > > > > required.  I even
> > > > > > >> suspect that with respect to encription, a very good crc
> > > > > is not helpful at
> > > > > > >> that point.  Although it is not a problem that we are
> > > > > facing today, I wonder
> > > > > > >> how this is to be done at 10GE.  Considerations as how
> > > > > often memory must be
> > > > > > >> touched in the process may be a concern.  Also if there
> > > > > is a congestion
> > > > > > >> problem causing a need for a path switch, this process
> > > > > now has a double duty
> > > > > > >> of rebuilding these packets without a packet level
> > > > > digest which does seem
> > > > > > >> possible.  If no header is used to allow check options,
> > > > > then placing the
> > > > > > >> check at the end of the frame has advantages in that a
> > > > > word size pipe can
> > > > > > >> handle two algorithms at once.
> > > > > > >>
> > > > > > >> Doug
> > > > > > >>
> > > > > > >> > Good Morning tsvwg :-)
> > > > > > >> >
> > > > > > >> > Coffee firmly in hand I now report once again
> > > > > > >> > the current "straw-poll" standings on this thread :-0
> > > > > > >> >
> > > > > > >> > ****************************************************
> > > > > > >> > PLEASE SOUND OFF IF YOU ARE IN THE WRONG
> > > > > > >> > CATAGORY!!!! OR I HAVE MIS-READ YOU..
> > > > > > >> > ***************************************************
> > > > > > >> > Option 1 or 2:
> > > > > > >> > --------------
> > > > > > >> > Qiaobing Xie (wants the same or Modifed-Alder )
> > > > > > >> >
> > > > > > >> > Option 1 or 3:
> > > > > > >> > --------------
> > > > > > >> > Klaus Gradischnig (wants keep the same or CRC-32)
> > > > > > >> >
> > > > > > >> > Wants Others to decide/No-comment :>
> > > > > > >> > ------------------------------------
> > > > > > >> > Chip Sharp
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > No preference but wants only 1:
> > > > > > >> > -------------------------------
> > > > > > >> > Kacheong Poon ( wants only one sum, no options)>
> > > > > > >> >
> > > > > > >> > Still Unsure how to classify:
> > > > > > >> > ---------------------------------------------------
> > > > > > >> > Ran Atkinson (wants justification for any switch)
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > Option 1 - leave Adler-32:
> > > > > > >> > --------------------------
> > > > > > >> > Ian Rytina
> > > > > > >> > Michael Tuxen
> > > > > > >> > Shymall Prasad
> > > > > > >> > Hanns J Schwarzbauer
> > > > > > >> > Alf Heidermark (Since he agrees with Hanns??)
> > > > > > >> >
> > > > > > >> > Option 2 - Modifed Adler-32 or Fletcher-16:
> > > > > > >> > -------------------------------------------
> > > > > > >> > Gareth Kiely
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > Option 3 - CRC-32:
> > > > > > >> > ------------------
> > > > > > >> > Me
> > > > > > >> > Michael Ramalho
> > > > > > >> > Lloyd Wood
> > > > > > >> > Jonathan Wood
> > > > > > >> > Jim Williams
> > > > > > >> > Stephen Bailey
> > > > > > >> > La Monte Yarroll
> > > > > > >> > Ivan Arias Rodriguez
> > > > > > >> > Andreas Jungmaier
> > > > > > >> > David Black
> > > > > > >> > David Reed ** with preference for a MD5 Digest?
> > > > > > >> > Douglas Otis ** with preference for a MD5 Digest?
> > > > > > >> > David Lehmann
> > > > > > >> > Brian Bidulock
> > > > > > >> > Richard A. Adams
> > > > > > >> > Robert Fairlie-Cuninghame
> > > > > > >> > Wolfgang Schruefer
> > > > > > >> > John Loughney
> > > > > > >> > Laurent Glade
> > > > > > >> >
> > > > > > >> > ---------------------------------------------------
> > > > > > >> >
> > > > > > >> > Total 1) 5
> > > > > > >> >
> > > > > > >> > Total 2) 1
> > > > > > >> >
> > > > > > >> > Total 3) 19
> > > > > > >> >
> > > > > > >> > Total Double ballots) 3
> > > > > > >> > Total unspecified) 2
> > > > > > >> >
> > > > > > >> > ---------------------------------------------------
> > > > > > >> > Total folks commenting on: 30
> > > > > > >> > ---------------------------------------------------
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > --
> > > > > > >> > Randall R. Stewart
> > > > > > >> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > > > > >> >
> > > > > > >> > _______________________________________________
> > > > > > >> > tsvwg mailing list
> > > > > > >> > tsvwg@ietf.org
> > > > > > >> > http://www1.ietf.org/mailman/listinfo/tsvwg
> > > > > > >> >
> > > > > > >
> > > > > > >--
> > > > > > >Randall R. Stewart
> > > > > > >randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > > > > >
> > > > > > >_______________________________________________
> > > > > > >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
> > > > >
> > > > > --
> > > > > Randall R. Stewart
> > > > > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > > >
> > > > > _______________________________________________
> > > > > 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
>
> --
> Randall R. Stewart
> randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>
> _______________________________________________
> 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 Jun 19 07:28: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 ESMTP id HAA17868
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 07:28: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 HAA18683;
	Tue, 19 Jun 2001 07:03:38 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id HAA18615
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 07:03:35 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA17468
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 07:02:59 -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 f5JB36h27556;
	Tue, 19 Jun 2001 04:03:06 -0700 (PDT)
Received: from stewart.chicago.il.us (ssh-sj1.cisco.com [171.68.225.134])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AHP03387 (AUTH rrs);
	Tue, 19 Jun 2001 04:03:00 -0700 (PDT)
Message-ID: <3B2F315B.C0718260@stewart.chicago.il.us>
Date: Tue, 19 Jun 2001 06:02:51 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Ian Rytina <ian.rytina@ericsson.com.au>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check, again
References: <FA13E89D0804CB4DB5FB420B70E2C0CC16F1B3@kecmsg07.ad.infosys.com> <3B27D4E3.5FA7703E@stewart.chicago.il.us> <3B2F5CFC.2157EB4C@ericsson.com.au>
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

Ian:


I don't think that Chip or I have had any intention of putting
the draft forward. I will ask Chip what he thinks, but I don't
think either of us are in favor of it so why publish it. We
do have a draft to change the check in SCTP to 'CRC-X' ... but
of course it is incomplete until we reach a consensus :0

I think we have reached an impass in this debate. I will
repost the current stat's later today.. after which I think
we will need to ask the chairs for a call on things...

R


Ian Rytina wrote:
> 
> Hi Randy,
> 
> Would it be possible to release this draft to the general population ?
> I'd certainly like to have a glance at it, and I suspect some others
> would as well. Either as an I-D or directly to the list would be fine by
> me.
> 
> /Ian.
> 
> Randall Stewart at work wrote:
> 
> > Naveen:
> >
> > As I have previously pointed out on the list. Chip Sharp and
> > I developed just such a draft. It is however quite in-elegant
> > since you must always implement BOTH algorithms. It seems
> > foolish to do so with almost no implemented base. Why would
> > we want to saddle a new protocol forever with this penalty
> > of having to implement both checksum mechanisms..
> >
> > At this stage we have NO reports of deployed production SCTP
> > and it is better, I think, to just change out to a new
> > sum then be saddled forever with options to negotiate a sum.
> >
> > If such a thing is wanted, do a draft like Doug Otis's earlier
> > checksum/digest draft.. where you append a new chunk that can
> > be ignored... We can then discuss this seperately and then
> > deal with just the issue at hand.. choices 1, 2 and 3 :/
> >
> > R
> >
> > R
> >
> > Naveen S Jain wrote:
> > >
> > > Hi Hanns,
> > >         It is actually backward compatible. If the INIT does not contain
> > > the optional
> > >         parameter Checksum Type, it is assumed to be always Adler32.
> > >
> > > Naveen
> > >
> > > > -----Original Message-----
> > > > From: Schwarzbauer Hanns Juergen
> > > > [mailto:HannsJuergen.Schwarzbauer@icn.siemens.de]
> > > > Sent: Monday, June 11, 2001 6:14 PM
> > > > To: Naveen S Jain
> > > > Cc: tsvwg@ietf.org
> > > > Subject: RE: [Tsvwg] sctp error check, again
> > > >
> > > >
> > > > Hi Naveen,
> > > >
> > > > this would certainly be an option I would be happy with!
> > > >
> > > > From my point of view it's a strange argument stating that
> > > > the CRC calculation could be done in hardware. Certainly it
> > > > could, but this would prevent SCTP from providing the
> > > > performance as it is now on all currently available platforms
> > > > that do not have this piece of hardware. It seems to be an
> > > > argument from chip and board manufactures.
> > > >
> > > > I would like to put the additional burden, either use
> > > > specialized chips or suffer from performance degradation to
> > > > those that want to have the utmost protection against message
> > > > corruption and introducing the proposed negotiation would be
> > > > a reasonable way, albeit it is also not backwards compatible.
> > > >
> > > >
> > > > regards
> > > >
> > > > HannsJuergen
> > > > > -----Original Message-----
> > > > > From:       Naveen S Jain [SMTP:NAVEENSJ@infy.com]
> > > > > Sent:       Monday, June 11, 2001 5:53 AM
> > > > > To: Randall Stewart; lyndon_ong@eudoramail.com
> > > > > Cc: Douglas Otis; Allison Mankin; Scott Bradner; tsvwg@ietf.org
> > > > > Subject:    RE: [Tsvwg] sctp error check, again
> > > > >
> > > > > Hi ,
> > > > >     I was wondering why the checksum negotiation was left out??
> > > > >     We can have some kind of negotiation based on a optional packet
> > > > > in the
> > > > >     INIT.
> > > > >
> > > > >     The endpoint initiating the association can
> > > > >     send the optional parameter to indicate the type
> > > > >     of checksum to be used. If there is no optional
> > > > >     parameter present with CRC32 as the type , then the
> > > > >     association can use the existing adler-32 checksum
> > > > >
> > > > >     In case this approach is  to be followed,
> > > > >     we will also need a additional cause value
> > > > >     of type "Checksum type not supported"
> > > > >
> > > > >     That way the SCTP applications which are
> > > > >     taking care of data sanity and requesting for
> > > > >     retransmit can still use the adler-32 checksum
> > > > >
> > > > >     Where CRC 32 Is Supported:
> > > > >     -------- (INIT with ad32 chsum requesting CRC32) ----->
> > > > >     <-------- ( INIT ACK with ad32 cksum acking CRC32 request) ----
> > > > >     --------- ( COOKIE Echo with CRC32 cksum) ------------>
> > > > >     <-------- ( COOKIE Ack with CRC32 cksum ) ------------>
> > > > >
> > > > >     Where CRC32 is not supported:
> > > > >     -------- (INIT with ad32 chsum requesting CRC32) ----->
> > > > >     <-------- ( INIT ACK with ad32 cksum nacking CRC32 request) ----
> > > > >     --------- ( COOKIE Echo with ad32 cksum) ------------>
> > > > >     <-------- ( COOKIE Ack with ad32 cksum ) ------------>
> > > > >
> > > > >     There can be the following rules:
> > > > >
> > > > >     1) Only the CLient (Originator of INIT mesage) can request for
> > > > >            Checksum type
> > > > >     2) The Server ( receiver of INIT Msg) should always ACK the
> > > > >            Checksum type provided it can support it.
> > > > >        or The Server should nack it it it is unsupported
> > > > >
> > > > >     3) It the Client requests "ad32" Cksum type,the Server has to
> > > > >             use "ad32" cksum even if it supports the CRC32 sum.
> > > > >
> > > > >     This way, the Applications will decide what they want
> > > > > (preformance
> > > > >     or reliability).
> > > > >
> > > > >     implications:
> > > > >     1) SCTP should support multiple Cksums for multiple
> > > > >             associations (ie. one association might be using
> > > > >             ad32 and another might be using CRC32)
> > > > >     2) SCTP runing as server should support both types of Cksums
> > > > >
> > > > >     3) Default will be the adler32 cksum
> > > > >
> > > > > Thanks and regards
> > > > > Naveen
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Randall Stewart [mailto:randall@stewart.chicago.il.us]
> > > > > > Sent: Saturday, June 09, 2001 1:14 AM
> > > > > > To: lyndon_ong@eudoramail.com
> > > > > > Cc: Douglas Otis; Allison Mankin; Scott Bradner; tsvwg@ietf.org
> > > > > > Subject: Re: [Tsvwg] sctp error check, again
> > > > > >
> > > > > >
> > > > > > Yes,
> > > > > >
> > > > > > Lets leave this whole digest chunk issue out of
> > > > > > play here... it just confuses the issue. We then
> > > > > > our down to two options....
> > > > > >
> > > > > > #1 leave things as they are - 5 in favor
> > > > > >
> > > > > > #2 change to CRC-32 - 18 in favor..
> > > > > >
> > > > > > Anything to do with digest chunks can be considered
> > > > > > seperately in say one of Dougs drafts... lets do
> > > > > > seperate threads to discuss please ... and instead
> > > > > > focus on getting consensus on this single issue
> > > > > > i.e. what (if any) to change the SCTP checksum to...>
> > > > > >
> > > > > > Scott/Allison: Is this a enough of a consensus for
> > > > > > CRC-32.. if so I will make the appropriate changes
> > > > > > the draft chip and I have ready and get it submitted??
> > > > > >
> > > > > > R
> > > > > >
> > > > > > Lyndon Ong wrote:
> > > > > > >
> > > > > > > Well, we can pretty much eliminate (2).  A digest
> > > > > > > should be considered as a separate issue, I think.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > Lyndon
> > > > > > > --
> > > > > > >
> > > > > > > On Fri, 08 Jun 2001 12:13:50   Randall Stewart wrote:
> > > > > > > >Douglas:
> > > > > > > >
> > > > > > > >If you would like me to open another catagory i.e.
> > > > > > > >
> > > > > > > >Wants CRC-32 OR a Digest:
> > > > > > > >
> > > > > > > >I suppose I can.. but at this point, considering the
> > > > > > > >comments on the list.. i.e. have all faded.. I
> > > > > > > >think we are going to need to ask the chairs to
> > > > > > > >look at these results and determine if we have a
> > > > > > > >rough consensus...or not...
> > > > > > > >
> > > > > > > >I don't see that any more comments
> > > > > > > >are arriving...  your postion change would make things:
> > > > > > > >
> > > > > > > >Total 1) 5
> > > > > > > >Total 2) 1
> > > > > > > >Total 3) 18
> > > > > > > >
> > > > > > > >Total Double ballots) 4
> > > > > > > >Total unspecified) 2
> > > > > > > >
> > > > > > > >I think that double ballot people should be dis-qualified...
> > > > > > > >since we need a consensus for one of the choices.. not
> > > > multiple..
> > > > > > > >
> > > > > > > >We can always proceed in parrallel with a CRC/Digest chunk
> > > > > > > >and gage that seperate from changing the base sum...
> > > > > > > >
> > > > > > > >Has it stands now, it seems to me that we MAY have
> > > > consensus for
> > > > > > > >CRC-32... but I must leave that to the chairs....
> > > > > > > >
> > > > > > > >Scott/Allision? Do you think that we will get any more
> > > > > > > >results?
> > > > > > > >
> > > > > > > >Chip and I have the draft for just the checksum change
> > > > > > > >ready... all we need is for you to tell us what consensus is..
> > > > > > > >or that we don't have it yet :>
> > > > > > > >
> > > > > > > >R
> > > > > > > >
> > > > > > > >Douglas Otis wrote:
> > > > > > > >>
> > > > > > > >> Randall,
> > > > > > > >>
> > > > > > > >> You can put me into the CRC-32 camp but I would like
> > > > to also keep
> > > > > > > >> consideration of placement and digest open.  If this
> > > > > > process is to be
> > > > > > > >> offloaded either in software or hardware, the number of
> > > > > > passes through
> > > > > > > >> memory is important for performance.  Doing both a
> > > > > > digest and packet check
> > > > > > > >> within the header will ensure two passes are always
> > > > > > required.  I even
> > > > > > > >> suspect that with respect to encription, a very good crc
> > > > > > is not helpful at
> > > > > > > >> that point.  Although it is not a problem that we are
> > > > > > facing today, I wonder
> > > > > > > >> how this is to be done at 10GE.  Considerations as how
> > > > > > often memory must be
> > > > > > > >> touched in the process may be a concern.  Also if there
> > > > > > is a congestion
> > > > > > > >> problem causing a need for a path switch, this process
> > > > > > now has a double duty
> > > > > > > >> of rebuilding these packets without a packet level
> > > > > > digest which does seem
> > > > > > > >> possible.  If no header is used to allow check options,
> > > > > > then placing the
> > > > > > > >> check at the end of the frame has advantages in that a
> > > > > > word size pipe can
> > > > > > > >> handle two algorithms at once.
> > > > > > > >>
> > > > > > > >> Doug
> > > > > > > >>
> > > > > > > >> > Good Morning tsvwg :-)
> > > > > > > >> >
> > > > > > > >> > Coffee firmly in hand I now report once again
> > > > > > > >> > the current "straw-poll" standings on this thread :-0
> > > > > > > >> >
> > > > > > > >> > ****************************************************
> > > > > > > >> > PLEASE SOUND OFF IF YOU ARE IN THE WRONG
> > > > > > > >> > CATAGORY!!!! OR I HAVE MIS-READ YOU..
> > > > > > > >> > ***************************************************
> > > > > > > >> > Option 1 or 2:
> > > > > > > >> > --------------
> > > > > > > >> > Qiaobing Xie (wants the same or Modifed-Alder )
> > > > > > > >> >
> > > > > > > >> > Option 1 or 3:
> > > > > > > >> > --------------
> > > > > > > >> > Klaus Gradischnig (wants keep the same or CRC-32)
> > > > > > > >> >
> > > > > > > >> > Wants Others to decide/No-comment :>
> > > > > > > >> > ------------------------------------
> > > > > > > >> > Chip Sharp
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > No preference but wants only 1:
> > > > > > > >> > -------------------------------
> > > > > > > >> > Kacheong Poon ( wants only one sum, no options)>
> > > > > > > >> >
> > > > > > > >> > Still Unsure how to classify:
> > > > > > > >> > ---------------------------------------------------
> > > > > > > >> > Ran Atkinson (wants justification for any switch)
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > Option 1 - leave Adler-32:
> > > > > > > >> > --------------------------
> > > > > > > >> > Ian Rytina
> > > > > > > >> > Michael Tuxen
> > > > > > > >> > Shymall Prasad
> > > > > > > >> > Hanns J Schwarzbauer
> > > > > > > >> > Alf Heidermark (Since he agrees with Hanns??)
> > > > > > > >> >
> > > > > > > >> > Option 2 - Modifed Adler-32 or Fletcher-16:
> > > > > > > >> > -------------------------------------------
> > > > > > > >> > Gareth Kiely
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > Option 3 - CRC-32:
> > > > > > > >> > ------------------
> > > > > > > >> > Me
> > > > > > > >> > Michael Ramalho
> > > > > > > >> > Lloyd Wood
> > > > > > > >> > Jonathan Wood
> > > > > > > >> > Jim Williams
> > > > > > > >> > Stephen Bailey
> > > > > > > >> > La Monte Yarroll
> > > > > > > >> > Ivan Arias Rodriguez
> > > > > > > >> > Andreas Jungmaier
> > > > > > > >> > David Black
> > > > > > > >> > David Reed ** with preference for a MD5 Digest?
> > > > > > > >> > Douglas Otis ** with preference for a MD5 Digest?
> > > > > > > >> > David Lehmann
> > > > > > > >> > Brian Bidulock
> > > > > > > >> > Richard A. Adams
> > > > > > > >> > Robert Fairlie-Cuninghame
> > > > > > > >> > Wolfgang Schruefer
> > > > > > > >> > John Loughney
> > > > > > > >> > Laurent Glade
> > > > > > > >> >
> > > > > > > >> > ---------------------------------------------------
> > > > > > > >> >
> > > > > > > >> > Total 1) 5
> > > > > > > >> >
> > > > > > > >> > Total 2) 1
> > > > > > > >> >
> > > > > > > >> > Total 3) 19
> > > > > > > >> >
> > > > > > > >> > Total Double ballots) 3
> > > > > > > >> > Total unspecified) 2
> > > > > > > >> >
> > > > > > > >> > ---------------------------------------------------
> > > > > > > >> > Total folks commenting on: 30
> > > > > > > >> > ---------------------------------------------------
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > --
> > > > > > > >> > Randall R. Stewart
> > > > > > > >> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > > > > > >> >
> > > > > > > >> > _______________________________________________
> > > > > > > >> > tsvwg mailing list
> > > > > > > >> > tsvwg@ietf.org
> > > > > > > >> > http://www1.ietf.org/mailman/listinfo/tsvwg
> > > > > > > >> >
> > > > > > > >
> > > > > > > >--
> > > > > > > >Randall R. Stewart
> > > > > > > >randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > > > > > >
> > > > > > > >_______________________________________________
> > > > > > > >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
> > > > > >
> > > > > > --
> > > > > > Randall R. Stewart
> > > > > > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > > > > >
> > > > > > _______________________________________________
> > > > > > 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
> >
> > --
> > Randall R. Stewart
> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> >
> > _______________________________________________
> > 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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Tue Jun 19 08:14: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 ESMTP id IAA19153
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 08:14: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 IAA20611;
	Tue, 19 Jun 2001 08:05: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 IAA20585
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 08:05:08 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA18873
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 08:04:31 -0400 (EDT)
Received: from stewart.chicago.il.us (stewdel [10.1.1.3])
	by stewart.chicago.il.us (8.11.0/8.11.0) with ESMTP id f5JBx0h13554;
	Tue, 19 Jun 2001 06:59:15 -0500
Message-ID: <3B2F3EFD.352A7986@stewart.chicago.il.us>
Date: Tue, 19 Jun 2001 07:01:01 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Robert Snively <rsnively@brocade.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check, again
References: <FFD40DB4943CD411876500508BAD027902993585@sj5-ex2.brocade.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

Bob:

I have been meaning to reply to this, and in my
scan for missed names I found it again :) 

I would have supported a TCP like 32 bit checksum
as well since it did prove to ALWAYS be the fastest
to implement. The reason I did not is that it is
completely unknown and un-studied. Having gone down
the Adler-32 path (silently I might add) I just can't see
changing from Adler-32 to another checksum that has
not been studied at all :-0

R


Robert Snively wrote:
> 
> I stand corrected.  I had not realized that the Adler-32 was
> the result of keeping it the same.  I support "none of the
> above", which is essentially what you have described below.
> A desirable candidate would be a 32-bit checksum using the
> 32 bit one's complement of the one's
> complement sum of all 32 bit words, making the assumption that
> any padded bytes have a value of zero.  This is essentially a
> 32-bit version of the TCP/IP check sum.
> 
> I believe that this would facilitate implementations that
> make use of constructed packets or that require packet modification.
> 
> Bob

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)


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


From tsvwg-admin@ietf.org  Tue Jun 19 08:41: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 ESMTP id IAA19705
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 08:41: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 IAA20721;
	Tue, 19 Jun 2001 08:08: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 IAA20693
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 08:08:51 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA18918
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 08:08:13 -0400 (EDT)
Received: from stewart.chicago.il.us (stewdel [10.1.1.3])
	by stewart.chicago.il.us (8.11.0/8.11.0) with ESMTP id f5JC4Ph13576
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 07:04:36 -0500
Message-ID: <3B2F4069.2D12AB0A@stewart.chicago.il.us>
Date: Tue, 19 Jun 2001 07:07:05 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: TSV WG list <tsvwg@ietf.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] CRC-Straw Poll Update
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 tabulating some others I had missed (thanks Ian)
here is the current standings. 

Take a close look for your name and verify that
you are in the right class please (if you have
specified a preference that is).

//////////////////////////////////////////////////
PLEASE SOUND OFF IF YOU ARE IN THE WRONG
CATAGORY!!!! OR I HAVE MIS-READ YOU.. Or maybe
some that are in the 1/2 or 1/3 or 2/3 catagory
could declare for only one please... it seems
to me that in past elections double punching
a vote was not allowed :=>
//////////////////////////////////////////////////
***************************************************
Not counted/Unspecified
***************************************************
Wants Others to decide/No-comment (once bitten twice shy):>
--------------
Chip Sharp 

No preference but wants only 1:
-------------------------------
Kacheong Poon ( wants only one sum, no options)

Still Unsure how to classify (Please speak up :>>):
-------------------------------
Ran Atkinson (wants justification for any switch)

*********************************************************
Tabulated votes
*********************************************************
Keep the same (Option 1):
-------------------------
Ian Rytina
Michael Tuxen
Shymall Prasad
Hanns J Schwarzbauer
Alf Heidermark
Klaus Gradischnig (wants keep the same or CRC-32) (.5)
Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
Javier Pastor-Balbas
Robert Snively

Use Modified Adler-32 (Option 2):
---------------------------------
Gareth Kiely
Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
Lyndon Ong

Use CRC-32 (Option 3):
----------------------
Me
Michael Ramalho
Lloyd Wood
Jonathan Wood
Jim Williams
Stephen Bailey
La Monte Yarroll
Ivan Arias Rodriguez
Andreas Jungmaier
David Black
David Reed ** with preference for a MD5 Digest?
Douglas Otis ** with preference for a MD5 Digest?
David Lehmann
Brian Bidulock
Richard A. Adams
Robert Fairlie-Cuninghame
Wolfgang Schruefer
John Loughney
Laurent Glade 
Klaus Gradischnig (wants keep the same or CRC-32) (.5)

*********************************************************
Summary Totals
*********************************************************

Total 1) 8

Total 2) 2.5

Total 3) 19.5

Total unspecified) 3

---------------------------------------------------
Total folks commenting on: 33
---------------------------------------------------


R
-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Tue Jun 19 15:20: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 PAA01322
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 15:20: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 PAA05800;
	Tue, 19 Jun 2001 15:11: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 PAA05765
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 15:11:04 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA00864
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 15:10:27 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id MAA13632;
	Tue, 19 Jun 2001 12:09:53 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <NFPQMZX9>; Tue, 19 Jun 2001 12:09:52 -0700
Message-ID: <FFD40DB4943CD411876500508BAD0279029935AF@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: "'Randall Stewart'" <randall@stewart.chicago.il.us>,
        TSV WG list
	 <tsvwg@ietf.org>
Subject: RE: [Tsvwg] CRC-Straw Poll Update
Date: Tue, 19 Jun 2001 12:09:50 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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

If people are concerned about detection of marginal hardware
failures, it is only fair to point out that most CRC hardware has
multiple single points of failure, many of which do not "fail safe",
but rather give a false indication that the CRC was valid.  For that
reason, the CRC is almost always supplemented with additional 
verification mechanisms, including verification of start/end
characters, verification of various header contents, and coding
violation checks.  Stuck faults of that nature can be tested using
power-on-self-test routines, but marginal faults and faults that
occur during an extended period of operation where diagnostics 
are not run are not revealed in any consistent manner.

Bob

>  -----Original Message-----
>  From: Randall Stewart [mailto:randall@stewart.chicago.il.us]
>  Sent: Tuesday, June 19, 2001 5:07 AM
>  To: TSV WG list
>  Subject: [Tsvwg] CRC-Straw Poll Update
>  
>  
>  All:
>  
>  After tabulating some others I had missed (thanks Ian)
>  here is the current standings. 
>  
>  Take a close look for your name and verify that
>  you are in the right class please (if you have
>  specified a preference that is).
>  
>  //////////////////////////////////////////////////
>  PLEASE SOUND OFF IF YOU ARE IN THE WRONG
>  CATAGORY!!!! OR I HAVE MIS-READ YOU.. Or maybe
>  some that are in the 1/2 or 1/3 or 2/3 catagory
>  could declare for only one please... it seems
>  to me that in past elections double punching
>  a vote was not allowed :=>
>  //////////////////////////////////////////////////
>  ***************************************************
>  Not counted/Unspecified
>  ***************************************************
>  Wants Others to decide/No-comment (once bitten twice shy):>
>  --------------
>  Chip Sharp 
>  
>  No preference but wants only 1:
>  -------------------------------
>  Kacheong Poon ( wants only one sum, no options)
>  
>  Still Unsure how to classify (Please speak up :>>):
>  -------------------------------
>  Ran Atkinson (wants justification for any switch)
>  
>  *********************************************************
>  Tabulated votes
>  *********************************************************
>  Keep the same (Option 1):
>  -------------------------
>  Ian Rytina
>  Michael Tuxen
>  Shymall Prasad
>  Hanns J Schwarzbauer
>  Alf Heidermark
>  Klaus Gradischnig (wants keep the same or CRC-32) (.5)
>  Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
>  Javier Pastor-Balbas
>  Robert Snively
>  
>  Use Modified Adler-32 (Option 2):
>  ---------------------------------
>  Gareth Kiely
>  Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
>  Lyndon Ong
>  
>  Use CRC-32 (Option 3):
>  ----------------------
>  Me
>  Michael Ramalho
>  Lloyd Wood
>  Jonathan Wood
>  Jim Williams
>  Stephen Bailey
>  La Monte Yarroll
>  Ivan Arias Rodriguez
>  Andreas Jungmaier
>  David Black
>  David Reed ** with preference for a MD5 Digest?
>  Douglas Otis ** with preference for a MD5 Digest?
>  David Lehmann
>  Brian Bidulock
>  Richard A. Adams
>  Robert Fairlie-Cuninghame
>  Wolfgang Schruefer
>  John Loughney
>  Laurent Glade 
>  Klaus Gradischnig (wants keep the same or CRC-32) (.5)
>  
>  *********************************************************
>  Summary Totals
>  *********************************************************
>  
>  Total 1) 8
>  
>  Total 2) 2.5
>  
>  Total 3) 19.5
>  
>  Total unspecified) 3
>  
>  ---------------------------------------------------
>  Total folks commenting on: 33
>  ---------------------------------------------------
>  
>  
>  R
>  -- 
>  Randall R. Stewart
>  randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>  
>  _______________________________________________
>  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 Jun 19 15: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 PAA01425
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 15: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 PAA05958;
	Tue, 19 Jun 2001 15:13: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 PAA05927
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 15:13:55 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA01060
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 15:13:18 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id MAA13823;
	Tue, 19 Jun 2001 12:12:50 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <NFPQMZZY>; Tue, 19 Jun 2001 12:12:50 -0700
Message-ID: <FFD40DB4943CD411876500508BAD0279029935B0@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: "'Randall Stewart'" <randall@stewart.chicago.il.us>,
        Robert Snively
	 <rsnively@brocade.com>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check, again
Date: Tue, 19 Jun 2001 12:12:49 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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

Randall,

Maybe this is the time we should spend some cycles to investigate
the behavior of a 32-bit one's complement checksum.  If it is not
only the fastest to calculate, but also works well in hardware
and has powerful checking characteristics, it can't help but beat
CRCs for this purpose.

Bob

>  -----Original Message-----
>  From: Randall Stewart [mailto:randall@stewart.chicago.il.us]
>  Sent: Tuesday, June 19, 2001 5:01 AM
>  To: Robert Snively
>  Cc: tsvwg@ietf.org
>  Subject: Re: [Tsvwg] sctp error check, again
>  
>  
>  Bob:
>  
>  I have been meaning to reply to this, and in my
>  scan for missed names I found it again :) 
>  
>  I would have supported a TCP like 32 bit checksum
>  as well since it did prove to ALWAYS be the fastest
>  to implement. The reason I did not is that it is
>  completely unknown and un-studied. Having gone down
>  the Adler-32 path (silently I might add) I just can't see
>  changing from Adler-32 to another checksum that has
>  not been studied at all :-0
>  
>  R
>  
>  
>  Robert Snively wrote:
>  > 
>  > I stand corrected.  I had not realized that the Adler-32 was
>  > the result of keeping it the same.  I support "none of the
>  > above", which is essentially what you have described below.
>  > A desirable candidate would be a 32-bit checksum using the
>  > 32 bit one's complement of the one's
>  > complement sum of all 32 bit words, making the assumption that
>  > any padded bytes have a value of zero.  This is essentially a
>  > 32-bit version of the TCP/IP check sum.
>  > 
>  > I believe that this would facilitate implementations that
>  > make use of constructed packets or that require packet 
>  modification.
>  > 
>  > Bob
>  
>  -- 
>  Randall R. Stewart
>  randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>  
>  

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


From tsvwg-admin@ietf.org  Tue Jun 19 15:38: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 PAA01890
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 15:38: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 PAA06514;
	Tue, 19 Jun 2001 15:26: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 PAA06485
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 15:25:58 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-252.dallas.net [209.44.42.252])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA01481
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 15:25:20 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id OAA26252;
	Tue, 19 Jun 2001 14:25:49 -0500
Date: Tue, 19 Jun 2001 14:25:49 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check, again
Message-ID: <20010619142549.O3813@bfgbhome>
Reply-To: bidulock@openss7.org
References: <FFD40DB4943CD411876500508BAD0279029935B0@sj5-ex2.brocade.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <FFD40DB4943CD411876500508BAD0279029935B0@sj5-ex2.brocade.com>; from rsnively@brocade.com on Tue, Jun 19, 2001 at 12:12:49PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Robert,

3 iffs in a row: thats a lot of iffs.

On Tue, 19 Jun 2001, Robert Snively wrote:

> Randall,
> 
> Maybe this is the time we should spend some cycles to investigate
> the behavior of a 32-bit one's complement checksum.  If it is not
> only the fastest to calculate, but also works well in hardware
> and has powerful checking characteristics, it can't help but beat
> CRCs for this purpose.
> 
> Bob

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 19 20:10:05 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 UAA08477
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 20:10:05 -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 UAA17096;
	Tue, 19 Jun 2001 20:01: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 UAA17066
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 20:01:19 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA08242
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 20:00:44 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id RAA19381
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 17:01:18 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id RAA29395
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 17:01:17 -0700 (PDT)
Date: Tue, 19 Jun 2001 17:01:02 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock ets
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010619005537.H3813@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.992995262.8633.kcpoon@eng.sun.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

> shutdown() is not part of TCP.  It is part of the sockets
> interface which is just as applicable to OSI and other protocols
> as TCP.  SCTP should not change the semantics of this socket
> call.  From XPG XNS 5.2 the "shutdown() function disables
> subsequent send and/or receive operations on a socket".  The
> effects on subsequent operations on the socket are clear.  An
> attempt to perform write() or send() or sendmsg() when the
> socket has been shut down for write must return EPIPE.  An
> attempt to perform read() or recv() or recvmsg() when the socket
> has been shut down by the peer must return 0.
> 
> I see absolutely no reason to change the semantics of the
> existing API of the socket interface for SCTP.  Any change in
> semantics is bound to be confusing to sockets programmers who
> have taken the time to learn the existing way of doing things
> (not just for TCP but for all other protocols supported by the
> socket interface).  (If you hope to change XPG XNS or POSIX with
> an IETF draft, I will see you at the IEEE balloting ;)

No, this is exactly what we are trying to avoid.  For instance,
instead of playing with the bind() call (since the second param is
a pointer, we can do a lot of things with it for binding multiple
addresses), we opted for adding a new call sctp_bindx().  As I
stated previously, the major reason is to avoid giving app programmers
the impression that SCTP supports exactly what TCP does.  This is
the confusion I talked about.  We can make shutdown(*) a no-opt in
SCTP level, and just keep the socket semantics.  But then some apps
will break and the user may not be aware of it right away.  I think 
this is another way to look at the issue.

Note also that we always try to make sure that if an app wants to
be ported from TCP to SCTP and it does not need to use all SCTP's new
features, the only change needed is to replace IPPROTO_TCP with
IPPROTO_SCTP in the socket() call.  If it uses the wildcard for address
binding, the fault detection machanism is automatically enabled.  But 
because of the difference in shutdown semantics, those apps which use
shutdown() will not get the same thing as in TCP.  So we want to find 
a way to get around this.  This is why the current draft has shutdown()
disallowed.  Apps will get an error immediately.

> I think that efforts would be better spent determining how the
> existing socket API maps onto SCTP, rather than attempting to
> change the socket interface for SCTP's sake alone.
> 
> shutdown() should perform exactly as it does for other protocols
> in terms of the API semantic.
> 
> If an implementation wishes to send SHUTDOWN in response to a
> shutdown(SHUT_WR) that's ok.  If the peer receives a SHUTDOWN,
> it COULD return EPIPE to write(), send() and sendmsg() and
> signal SIG_PIPE.  What's the matter with that?  How is it
> confusing in comparison to TCP?  TCP uses the same socket
> semantics...
> 
> Both socket users expect EPIPE when they can't write and 0 when
> they can't read data.  This will be the effect of shutdown()
> (unless someone tries to modify the definition).  Portability of
> programs is not acheived by altering the sockets interface for
> every new protocol.

As I mentioned previously, we are open to adding the shutdown()
call back.  One way is to make shutdown() a no-opt in the SCTP
level.  But what you mentioned above is not quite correct.
With the current SCTP shutdown requirement, shutdown() cannot have
the same semantics as with TCP.  The reason, as stated before, is that
apps expect to be able to send() (write()/...) after recv() (read()/
...) returns 0.  We just cannot have that according to the current
spec.  That means those apps cannot be ported to SCTP without
a lot of changes (probably adding a app level protocol to signal
the end of sending instead of using SCTP for that).

More comments are welcome to decide what the right way is.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Tue Jun 19 20:22: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 UAA08691
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 20:22: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 UAA17425;
	Tue, 19 Jun 2001 20:16:26 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA17398
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 20:16:24 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA08593
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 20:15:47 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id RAA26214
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 17:16:21 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id RAA01626
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 17:16:16 -0700 (PDT)
Date: Tue, 19 Jun 2001 17:16:01 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010619005537.H3813@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.992996161.27599.kcpoon@eng.sun.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Subject: [Tsvwg] SCTP shutdown
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 want to ask one question relating to the current SCTP shutdown() socket
semantics discussion.  SCTP has the exact same 3-way handshake when an
association shutdowns as with TCP.  What is the reason behind not allowing
the same TCP half-close semantics?

From an SCTP stack implementation point of view, all implementors need
to do is to remove the check for accepting new app data and the check
to generate SHUTDOWN-ACK when all unsent data at the time of getting the
SHUTDOWN chunk is acknowledged.  When the app signals that it is done
with sending, send out the SHUTDOWN-ACK chunk.  Basically, there is
very little change.  If the app chooses to have the current shutdown
semantics, it can stop sending after the shutdown notification comes up
and signal to the SCTP stack that it is done with sending.  Then the
app will get back the current shutdown semantics even after the change.

So what is the reason of not allowing this?  If this is allowed, the
SCTP shutdown() call will have the exact same meaning as with TCP.  It
means that even those rare apps which use half-close can be ported to
use SCTP with just a protocol field change in socket() call.  And for
those apps which require the current SCTP shutdown semantics, they can
still do so.  It seems to me that it is only a matter of some wording
changes in the SCTP RFC.  Or is there a bigger problem?

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Tue Jun 19 20:33: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 UAA08950
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 20:33: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 UAA17609;
	Tue, 19 Jun 2001 20:25: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 UAA17582
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 20:25:14 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-252.dallas.net [209.44.42.252])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA08703
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 20:24:37 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id TAA30531;
	Tue, 19 Jun 2001 19:25:10 -0500
Date: Tue, 19 Jun 2001 19:25:10 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock ets
Message-ID: <20010619192510.A30445@bfgbhome>
Reply-To: bidulock@openss7.org
References: <20010619005537.H3813@bfgbhome> <Roam.SIMC.2.0.6.992995262.8633.kcpoon@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.992995262.8633.kcpoon@eng.sun.com>; from kcpoon@eng.sun.com on Tue, Jun 19, 2001 at 05:01:02PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

It is not the case that TCP apps expect to be able to do
send() after recv() returns 0.  recv() retruns 0 when the
connection is disconnected, and a TCP app cannot expect
to send() and recv() returns 0 in that case.  A TCP app
will get EPIPE/SIG_PIPE.  It is not different from the
possible SCTP case.


On Tue, 19 Jun 2001, Kacheong Poon wrote:

[snip]
> The reason, as stated before, is that
> apps expect to be able to send() (write()/...) after recv() (read()/
> ...) returns 0.  We just cannot have that according to the current
> spec.  That means those apps cannot be ported to SCTP without
> a lot of changes (probably adding a app level protocol to signal
> the end of sending instead of using SCTP for that).
> 
> More comments are welcome to decide what the right way is.
> 

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 19 20:36:08 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 UAA09025
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 20:36: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 UAA17712;
	Tue, 19 Jun 2001 20:28: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 UAA17687
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 20:28:56 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-252.dallas.net [209.44.42.252])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA08745
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 20:28:19 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id TAA30550;
	Tue, 19 Jun 2001 19:28:45 -0500
Date: Tue, 19 Jun 2001 19:28:45 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Kacheong Poon <kcpoon@eng.sun.com>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010619192845.B30445@bfgbhome>
Reply-To: bidulock@openss7.org
References: <20010619005537.H3813@bfgbhome> <Roam.SIMC.2.0.6.992996161.27599.kcpoon@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.992996161.27599.kcpoon@eng.sun.com>; from kcpoon@eng.sun.com on Tue, Jun 19, 2001 at 05:16:01PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

See the bottom of my last note to which you replied.  It outlines
the same thing and the "sketchiness" of the MUST in RFC 2960.

On Tue, 19 Jun 2001, Kacheong Poon wrote:

> I want to ask one question relating to the current SCTP shutdown() socket
> semantics discussion.  SCTP has the exact same 3-way handshake when an
> association shutdowns as with TCP.  What is the reason behind not allowing
> the same TCP half-close semantics?
> 
> >From an SCTP stack implementation point of view, all implementors need
> to do is to remove the check for accepting new app data and the check
> to generate SHUTDOWN-ACK when all unsent data at the time of getting the
> SHUTDOWN chunk is acknowledged.  When the app signals that it is done
> with sending, send out the SHUTDOWN-ACK chunk.  Basically, there is
> very little change.  If the app chooses to have the current shutdown
> semantics, it can stop sending after the shutdown notification comes up
> and signal to the SCTP stack that it is done with sending.  Then the
> app will get back the current shutdown semantics even after the change.
> 
> So what is the reason of not allowing this?  If this is allowed, the
> SCTP shutdown() call will have the exact same meaning as with TCP.  It
> means that even those rare apps which use half-close can be ported to
> use SCTP with just a protocol field change in socket() call.  And for
> those apps which require the current SCTP shutdown semantics, they can
> still do so.  It seems to me that it is only a matter of some wording
> changes in the SCTP RFC.  Or is there a bigger problem?
> 
> 							K. Poon.
> 							kcpoon@eng.sun.com

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 19 21:15: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 VAA09751
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 21:15: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 VAA19171;
	Tue, 19 Jun 2001 21:09:12 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id VAA19142
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 21:09:10 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA09604
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 21:08:34 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id SAA16482
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 18:09:08 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id SAA09586
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 18:09:07 -0700 (PDT)
Date: Tue, 19 Jun 2001 18:08:53 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] SCTP shutdown
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010619192845.B30445@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.992999333.1540.kcpoon@eng.sun.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

> See the bottom of my last note to which you replied.  It outlines
> the same thing and the "sketchiness" of the MUST in RFC 2960.

Correct me if I am wrong in understanding your note.  It seems to
me that you were suggesting the "sketchiness" of the API.  But 
actually there is more than that in the RFC.  Besides new data,
it also specifies when the SHUTDOWN-ACK chunk is sent out.  This
means that even though stack implementors want to be a little
bit "fuzzy" about accepting new data, it has to obey when the
SHUTDOWN-ACK is sent.  Otherwise, the app may break because there
can be a timing requirement in the app.

Anyway, the question I was trying to ask was the reason why SCTP
does not support the same close down semantics as TCP even when SCTP
has the same close down 3-way handshake.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Tue Jun 19 21:28: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 VAA09903
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 21:28: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 VAA19433;
	Tue, 19 Jun 2001 21:20: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 VAA19401
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 21:19:58 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA09828
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 21:19:22 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id SAA20093
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 18:19:56 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id SAA10936
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 18:19:56 -0700 (PDT)
Date: Tue, 19 Jun 2001 18:19:42 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock ets
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010619192510.A30445@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.992999982.12524.kcpoon@eng.sun.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

> It is not the case that TCP apps expect to be able to do
> send() after recv() returns 0.  recv() retruns 0 when the
> connection is disconnected, and a TCP app cannot expect
> to send() and recv() returns 0 in that case.  A TCP app
> will get EPIPE/SIG_PIPE.  It is not different from the
> possible SCTP case.

In the context of what we are discussion (use of shutdown(SHUT_WR)
to do TCP half-close), the app indeed expects to send after recv()
returns 0.  You can check the code of, say, rsh.  Note that with
TCP, recv() returning 0 does not necessarily mean that the socket 
is disconnected.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Tue Jun 19 21:42: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 VAA10983
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 21:42: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 VAA19609;
	Tue, 19 Jun 2001 21:28:25 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id VAA19581
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 21:28:23 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-252.dallas.net [209.44.42.252])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA09878
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 21:27:45 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id UAA31475;
	Tue, 19 Jun 2001 20:28:16 -0500
Date: Tue, 19 Jun 2001 20:28:16 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Kacheong Poon <kcpoon@eng.sun.com>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock ets
Message-ID: <20010619202816.A31460@bfgbhome>
Reply-To: bidulock@openss7.org
References: <20010619192510.A30445@bfgbhome> <Roam.SIMC.2.0.6.992999982.12524.kcpoon@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.992999982.12524.kcpoon@eng.sun.com>; from kcpoon@eng.sun.com on Tue, Jun 19, 2001 at 06:19:42PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

On Tue, 19 Jun 2001, Kacheong Poon wrote:

> > It is not the case that TCP apps expect to be able to do
> > send() after recv() returns 0.  recv() retruns 0 when the
> > connection is disconnected, and a TCP app cannot expect
> > to send() and recv() returns 0 in that case.  A TCP app
> > will get EPIPE/SIG_PIPE.  It is not different from the
> > possible SCTP case.
> 
> In the context of what we are discussion (use of shutdown(SHUT_WR)
> to do TCP half-close), the app indeed expects to send after recv()
> returns 0.  You can check the code of, say, rsh.  Note that with
> TCP, recv() returning 0 does not necessarily mean that the socket 
> is disconnected.

My point is that it doesn't necessarily mean that it is still
connected either.


-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 19 21:51: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 VAA11035
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 21:51:25 -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 VAA20102;
	Tue, 19 Jun 2001 21:41: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 VAA20076
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 21:41:21 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-252.dallas.net [209.44.42.252])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA10971
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 21:40:42 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id UAA31671;
	Tue, 19 Jun 2001 20:41:12 -0500
Date: Tue, 19 Jun 2001 20:41:11 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Kacheong Poon <kcpoon@eng.sun.com>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010619204111.B31460@bfgbhome>
Reply-To: bidulock@openss7.org
References: <20010619192845.B30445@bfgbhome> <Roam.SIMC.2.0.6.992999333.1540.kcpoon@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.992999333.1540.kcpoon@eng.sun.com>; from kcpoon@eng.sun.com on Tue, Jun 19, 2001 at 06:08:53PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

On Tue, 19 Jun 2001, Kacheong Poon wrote:

> > See the bottom of my last note to which you replied.  It outlines
> > the same thing and the "sketchiness" of the MUST in RFC 2960.
> 
> Correct me if I am wrong in understanding your note.  It seems to
> me that you were suggesting the "sketchiness" of the API.  But 
> actually there is more than that in the RFC.  Besides new data,
> it also specifies when the SHUTDOWN-ACK chunk is sent out.  This
> means that even though stack implementors want to be a little
> bit "fuzzy" about accepting new data, it has to obey when the
> SHUTDOWN-ACK is sent.  Otherwise, the app may break because there
> can be a timing requirement in the app.
> 
> Anyway, the question I was trying to ask was the reason why SCTP
> does not support the same close down semantics as TCP even when SCTP
> has the same close down 3-way handshake.
> 

There is no way for the sending of the SHUTDOWN to enforce this
behavior.  The SHUTDOWN sending will continue acking data with
SHUTDOWN or SHUTDOWN SACK combinations until it receives a
SHUTDOWN-ACK.  This is already identical to TCP's behavior on
the SHUT_WR side.

The receiver of the SHUTDOWN must not let the ULP send any new
data, but the interpretation of what new data constitutes is really
up to the implementation.  Data which is buffered in the socket
app could be considered queued data, resulting in the same semantic
as TCP.  It is clear that the receiver of the SHUTDOWN must not
send SHUTDOWN-ACK until all queued data is acknowledged.

The originial discussions of shutdown in SCTP were centered around
trying to avoid a half-close situation; however, SCTP was forced
to deal with the situation because of possible loss of a SHUTDOWN-ACK
message.

If the shutdown sequence is prolonged by delaying a SHUTDOWN-ACK
to acheive compatibility with TCP semantics, the restart procedures
will not be as effective.  This is because SCTP does not accept
INIT restarts while shutting down.  Nevertheless, if the peer
restarts, while an association is in this half-closed state, the
OOTB handling should close the association very rapidly.

I don't see any real technical problems with making SCTP operate
in this TCP-compatible mode.  Sounds like a useful socket option.


-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 19 22:26: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 WAA11565
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 22:26: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 VAA20429;
	Tue, 19 Jun 2001 21:52: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 VAA20400
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 21:52:46 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA11048
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 21:52:08 -0400 (EDT)
Received: (cpmta 2754 invoked from network); 19 Jun 2001 18:52:12 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.206) with SMTP; 19 Jun 2001 18:52:12 -0700
X-Sent: 20 Jun 2001 01:52:12 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Robert Snively" <rsnively@brocade.com>,
        "'Randall Stewart'" <randall@stewart.chicago.il.us>,
        "TSV WG list" <tsvwg@ietf.org>
Subject: RE: [Tsvwg] CRC-Straw Poll Update
Date: Tue, 19 Jun 2001 18:49:55 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJCEADCJAA.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: <FFD40DB4943CD411876500508BAD0279029935AF@sj5-ex2.brocade.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
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

Bob,

SCTP has a format that includes length and validation to assist such a fail
safe together with an initial all one's seed within the CRC algorithm.  From
conservative estimates of undetected errors, not based on the higher failure
rates of simple sums in the face of stuck memory bus errors or swapped
blocks, any business transaction would greatly benefit by a CRC algorithm.
Summation does not detect rather simple failures although it is indeed
faster.  What testing do you feel is needed in this area?

Doug

> If people are concerned about detection of marginal hardware
> failures, it is only fair to point out that most CRC hardware has
> multiple single points of failure, many of which do not "fail safe",
> but rather give a false indication that the CRC was valid.  For that
> reason, the CRC is almost always supplemented with additional
> verification mechanisms, including verification of start/end
> characters, verification of various header contents, and coding
> violation checks.  Stuck faults of that nature can be tested using
> power-on-self-test routines, but marginal faults and faults that
> occur during an extended period of operation where diagnostics
> are not run are not revealed in any consistent manner.
>
> Bob
>
> >  -----Original Message-----
> >  From: Randall Stewart [mailto:randall@stewart.chicago.il.us]
> >  Sent: Tuesday, June 19, 2001 5:07 AM
> >  To: TSV WG list
> >  Subject: [Tsvwg] CRC-Straw Poll Update
> >
> >
> >  All:
> >
> >  After tabulating some others I had missed (thanks Ian)
> >  here is the current standings.
> >
> >  Take a close look for your name and verify that
> >  you are in the right class please (if you have
> >  specified a preference that is).
> >
> >  //////////////////////////////////////////////////
> >  PLEASE SOUND OFF IF YOU ARE IN THE WRONG
> >  CATAGORY!!!! OR I HAVE MIS-READ YOU.. Or maybe
> >  some that are in the 1/2 or 1/3 or 2/3 catagory
> >  could declare for only one please... it seems
> >  to me that in past elections double punching
> >  a vote was not allowed :=>
> >  //////////////////////////////////////////////////
> >  ***************************************************
> >  Not counted/Unspecified
> >  ***************************************************
> >  Wants Others to decide/No-comment (once bitten twice shy):>
> >  --------------
> >  Chip Sharp
> >
> >  No preference but wants only 1:
> >  -------------------------------
> >  Kacheong Poon ( wants only one sum, no options)
> >
> >  Still Unsure how to classify (Please speak up :>>):
> >  -------------------------------
> >  Ran Atkinson (wants justification for any switch)
> >
> >  *********************************************************
> >  Tabulated votes
> >  *********************************************************
> >  Keep the same (Option 1):
> >  -------------------------
> >  Ian Rytina
> >  Michael Tuxen
> >  Shymall Prasad
> >  Hanns J Schwarzbauer
> >  Alf Heidermark
> >  Klaus Gradischnig (wants keep the same or CRC-32) (.5)
> >  Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
> >  Javier Pastor-Balbas
> >  Robert Snively
> >
> >  Use Modified Adler-32 (Option 2):
> >  ---------------------------------
> >  Gareth Kiely
> >  Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
> >  Lyndon Ong
> >
> >  Use CRC-32 (Option 3):
> >  ----------------------
> >  Me
> >  Michael Ramalho
> >  Lloyd Wood
> >  Jonathan Wood
> >  Jim Williams
> >  Stephen Bailey
> >  La Monte Yarroll
> >  Ivan Arias Rodriguez
> >  Andreas Jungmaier
> >  David Black
> >  David Reed ** with preference for a MD5 Digest?
> >  Douglas Otis ** with preference for a MD5 Digest?
> >  David Lehmann
> >  Brian Bidulock
> >  Richard A. Adams
> >  Robert Fairlie-Cuninghame
> >  Wolfgang Schruefer
> >  John Loughney
> >  Laurent Glade
> >  Klaus Gradischnig (wants keep the same or CRC-32) (.5)
> >
> >  *********************************************************
> >  Summary Totals
> >  *********************************************************
> >
> >  Total 1) 8
> >
> >  Total 2) 2.5
> >
> >  Total 3) 19.5
> >
> >  Total unspecified) 3
> >
> >  ---------------------------------------------------
> >  Total folks commenting on: 33
> >  ---------------------------------------------------
> >
> >
> >  R
> >  --
> >  Randall R. Stewart
> >  randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> >
> >  _______________________________________________
> >  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 Jun 19 22:51: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 WAA12844
	for <tsvwg-archive@odin.ietf.org>; Tue, 19 Jun 2001 22:51: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 WAA21433;
	Tue, 19 Jun 2001 22:27:30 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id WAA21364
	for <tsvwg@ns.ietf.org>; Tue, 19 Jun 2001 22:27:27 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id WAA11575
	for <tsvwg@ietf.org>; Tue, 19 Jun 2001 22:26:48 -0400 (EDT)
Received: from stewart.chicago.il.us (stewartdell [10.1.1.3])
	by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id f5K2RpB44765;
	Tue, 19 Jun 2001 21:28:06 -0500 (CDT)
	(envelope-from randall@stewart.chicago.il.us)
Message-ID: <3B30088E.2DE5B481@stewart.chicago.il.us>
Date: Tue, 19 Jun 2001 21:21:02 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@eng.sun.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
References: <Roam.SIMC.2.0.6.992999333.1540.kcpoon@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

Kacheong Poon wrote:
> 
> > See the bottom of my last note to which you replied.  It outlines
> > the same thing and the "sketchiness" of the MUST in RFC 2960.
> 
> Correct me if I am wrong in understanding your note.  It seems to
> me that you were suggesting the "sketchiness" of the API.  But
> actually there is more than that in the RFC.  Besides new data,
> it also specifies when the SHUTDOWN-ACK chunk is sent out.  This
> means that even though stack implementors want to be a little
> bit "fuzzy" about accepting new data, it has to obey when the
> SHUTDOWN-ACK is sent.  Otherwise, the app may break because there
> can be a timing requirement in the app.
> 
> Anyway, the question I was trying to ask was the reason why SCTP
> does not support the same close down semantics as TCP even when SCTP
> has the same close down 3-way handshake.
> 
Kacheong:

I would have to go back through the mail archives of sigtran to
be able to answer this. I just don't remember off the top
of my head. I do remember we discussed this and we could only
come up with one application that used this "half-close" 
feature of tcp... i.e. rsh. On top of that I don't think any
of us in sigtran ever thought that there would be a need to 
move rsh (which more fits a byte oriented transfer than
a message oriented one) to SCTP :/

Now Brian may be right in that you can NOT detect, from the
peer's side, that you are not compliant to the spec. But give
me about 5 minutes with both implementations and I can
write a test program that will show that one side is
non-compliant. Not that it ever stopped some companies ("where
do you want to go today") from putting out a non-compliant 
implementation mind you :0

Maybe I will get the ambition up to go dig through the archives
and look at the old debate... after I finish working on 
the paper work I have to get done ... sigh.. I am rather
buried right now... 

R
-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 20 08:51: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 IAA05230
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 08:51: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 IAA16548;
	Wed, 20 Jun 2001 08:20: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 IAA16519
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 08:20:30 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA04139
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 08:19:54 -0400 (EDT)
Received: from bebop.france ([129.157.174.15])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id FAA05720
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 05:20:28 -0700 (PDT)
Received: from lillen (lillen [129.157.212.23])
	by bebop.france (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id OAA22521;
	Wed, 20 Jun 2001 14:20:21 +0200 (MET DST)
Date: Wed, 20 Jun 2001 14:20:12 +0200 (CEST)
From: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Reply-To: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Subject: Re: [Tsvwg] SCTP shutdown
To: Kacheong Poon <kcpoon@eng.sun.com>
Cc: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <Roam.SIMC.2.0.6.992996161.27599.kcpoon@eng.sun.com>
Message-ID: <Roam.SIMC.2.0.6.993039612.1648.nordmark@bebop.france>
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 want to ask one question relating to the current SCTP shutdown() socket
> semantics discussion.  SCTP has the exact same 3-way handshake when an
> association shutdowns as with TCP.  What is the reason behind not allowing
> the same TCP half-close semantics?

The 3-way handshakeis not identical as far as I know.
In TCP the receiver of the FIN can send an ACK to indicate that the
FIN has been received without sending a FIN itself.
This is possible since the FIN is defined to occupy one byte in the
TCP sequence space.
There is no equivalent in SCTP.

> From an SCTP stack implementation point of view, all implementors need
> to do is to remove the check for accepting new app data and the check
> to generate SHUTDOWN-ACK when all unsent data at the time of getting the
> SHUTDOWN chunk is acknowledged.  When the app signals that it is done
> with sending, send out the SHUTDOWN-ACK chunk.  Basically, there is
> very little change.  If the app chooses to have the current shutdown
> semantics, it can stop sending after the shutdown notification comes up
> and signal to the SCTP stack that it is done with sending.  Then the
> app will get back the current shutdown semantics even after the change.
> 
> So what is the reason of not allowing this? 

For one the sender of the SHUTDOWN would time out and retransmit the shutdown 
until the SHUTDOWN-ACK is received. I haven't checked if the spec says that
it should also give up after some number of reransmits.

  Erik


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


From tsvwg-admin@ietf.org  Wed Jun 20 09:32: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 JAA06738
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 09:32: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 JAA18600;
	Wed, 20 Jun 2001 09:16: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 JAA18567
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 09:16:35 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-245.dallas.net [209.44.42.245])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA06085
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 09:15:57 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id IAA07481;
	Wed, 20 Jun 2001 08:16:29 -0500
Date: Wed, 20 Jun 2001 08:16:29 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Cc: Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010620081629.D6826@bfgbhome>
Reply-To: bidulock@openss7.org
References: <Roam.SIMC.2.0.6.992996161.27599.kcpoon@eng.sun.com> <Roam.SIMC.2.0.6.993039612.1648.nordmark@bebop.france>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.993039612.1648.nordmark@bebop.france>; from Erik.Nordmark@eng.sun.com on Wed, Jun 20, 2001 at 02:20:12PM +0200
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Erik,

On Wed, 20 Jun 2001, Erik Nordmark wrote:

> > app will get back the current shutdown semantics even after the change.
> > 
> > So what is the reason of not allowing this? 
> 
> For one the sender of the SHUTDOWN would time out and retransmit the shutdown 
> until the SHUTDOWN-ACK is received. I haven't checked if the spec says that
> it should also give up after some number of reransmits.
> 
If the receiver of the SHUTDOWN continues sending data, the SHUTDOWN
is merely resent in the same fashion as a SACK and the timer is
cancelled.  It is true that if there is a period that the SHUTDOWN
receiver has no data to send that the sender of the SHUTDOWN will
start retransmitting the SHUTDOWN, however, it would be possible to
send duplicate DATA chunks to keep the sender from going through
this behavior.

--Brian


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


From tsvwg-admin@ietf.org  Wed Jun 20 10:12: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 KAA08370
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 10:12: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 JAA19882;
	Wed, 20 Jun 2001 09:48:26 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA19854
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 09:48:25 -0400 (EDT)
Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA07421
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 09:47:48 -0400 (EDT)
Received: from mr7.exu.ericsson.se (mr7u3.ericy.com [208.237.135.122])
	by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f5KDmNa25544;
	Wed, 20 Jun 2001 08:48:24 -0500 (CDT)
Received: from newman.exu.ericsson.se (newman.exu.ericsson.se [138.85.75.179])
	by mr7.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id f5KDmN900092;
	Wed, 20 Jun 2001 08:48:23 -0500 (CDT)
Received: from b02f42.exu.ericsson.se (b02f42 [138.85.37.52]) by newman.exu.ericsson.se (8.7.5/8.7.3) with ESMTP id IAA11414; Wed, 20 Jun 2001 08:48:23 -0500 (CDT)
Received: (from eusshml@localhost)
	by b02f42.exu.ericsson.se (8.9.1/8.9.1) id IAA02753;
	Wed, 20 Jun 2001 08:48:22 -0500 (CDT)
X-Authentication-Warning: b02f42.exu.ericsson.se: eusshml set sender to shyamal.prasad@ericsson.com using -f
To: Kacheong Poon <kcpoon@eng.sun.com>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
References: <Roam.SIMC.2.0.6.992996161.27599.kcpoon@eng.sun.com>
From: Shyamal Prasad <shyamal.prasad@ericsson.com>
Date: 20 Jun 2001 08:48:22 -0500
In-Reply-To: Kacheong Poon's message of "Tue, 19 Jun 2001 17:16:01 -0700 (PDT)"
Message-ID: <yzsd77z6z4p.fsf@ericsson.com>
Lines: 18
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Canyonlands)
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


    "Kacheong" == Kacheong Poon <kcpoon@eng.sun.com> writes:

    Kacheong> I want to ask one question relating to the current SCTP
    Kacheong> shutdown() socket semantics discussion.  SCTP has the
    Kacheong> exact same 3-way handshake when an association shutdowns
    Kacheong> as with TCP.  What is the reason behind not allowing the
    Kacheong> same TCP half-close semantics?

Kacheong,

In around March last year the consensus was that the TCP half close
was not a "useful" feature to include in SCTP. We went through very
similar debates, and personally I'd love to have it in SCTP, but a
consensus is a consensus ;-)

Cheers!
Shyamal

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


From tsvwg-admin@ietf.org  Wed Jun 20 10:28: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 KAA08856
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 10:27: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 KAA20927;
	Wed, 20 Jun 2001 10:13: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 KAA20898
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 10:13:11 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA08371
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 10:12:33 -0400 (EDT)
Received: from sunmail1.Sun.COM ([129.145.1.2])
	by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id IAA16259;
	Wed, 20 Jun 2001 08:13:06 -0600 (MDT)
Received: from jurassic.eng.sun.com (jurassic.Eng.Sun.COM [129.146.81.144])
	by sunmail1.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1-Sun.COM.mod.2) with ESMTP id HAA01448;
	Wed, 20 Jun 2001 07:14:20 -0700 (PDT)
Received: from buse (buse.France.Sun.COM [129.157.212.11])
	by jurassic.eng.sun.com (8.11.4+Sun/8.11.4) with SMTP id f5KECxG831569;
	Wed, 20 Jun 2001 07:12:59 -0700 (PDT)
Date: Wed, 20 Jun 2001 16:13:04 +0200 (MEST)
From: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Reply-To: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Subject: Re: [Tsvwg] SCTP shutdown
To: bidulock@openss7.org
Cc: Erik Nordmark <Erik.Nordmark@eng.sun.com>,
        Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010620081629.D6826@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.993046384.32607.nordmark@jurassic.eng>
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


Brian,

> If the receiver of the SHUTDOWN continues sending data, the SHUTDOWN
> is merely resent in the same fashion as a SACK and the timer is
> cancelled.  It is true that if there is a period that the SHUTDOWN
> receiver has no data to send that the sender of the SHUTDOWN will
> start retransmitting the SHUTDOWN, however, it would be possible to
> send duplicate DATA chunks to keep the sender from going through
> this behavior.

You're observing that the current spec, which as far as I recall the discussion
about a year ago, was explicitly designed not to support half-open connections,
does not directly prevent an implementation that wishes to provide half-closed
semantics. I don't think that is necessarily a good thing ...

If there is really WG consensus that SCTP should (have) support(ed)
half-closed then I think in the interest of spec clarity as well
as interoperability it would make sense to carefully specify how this works 
including thinking about interoperability with the current proposed standard.

   Erik
 


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


From tsvwg-admin@ietf.org  Wed Jun 20 13:30: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 NAA15169
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 13:30: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 NAA29085;
	Wed, 20 Jun 2001 13:13:32 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA29054
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 13:13:30 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-114.dallas.net [209.44.41.114])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA14486
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 13:12:54 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id MAA14785;
	Wed, 20 Jun 2001 12:13:12 -0500
Date: Wed, 20 Jun 2001 12:13:12 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Lloyd Wood <l.wood@eim.surrey.ac.uk>
Cc: Erik Nordmark <Erik.Nordmark@eng.sun.com>,
        Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010620121312.H6826@bfgbhome>
Reply-To: bidulock@openss7.org
References: <20010620114247.G6826@bfgbhome> <Pine.GSO.4.21.0106201808330.1382-100000@phaestos.ee.surrey.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Pine.GSO.4.21.0106201808330.1382-100000@phaestos.ee.surrey.ac.uk>; from l.wood@eim.surrey.ac.uk on Wed, Jun 20, 2001 at 06:09:46PM +0100
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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,

Power failures and crashes are handled by SCTP already.
This is the normal case if the crash occurs after the
SHUTDOWN is sent but before the SHUTDOWN ACK is received.
SHUTDOWN retransmission or HEARTBEAT will be treated as
OOTB when the other end comes back up (if ICMP doesn't
drop the association anyway) and the association will
terminate.

--brian

On Wed, 20 Jun 2001, Lloyd Wood wrote:

> On Wed, 20 Jun 2001, Brian F. G. Bidulock wrote:
> 
> > I don't think that SCTP really needs half-close semantics.  I was
> > just making an observation that, although the intention was not to
> > support them, they are supported anyway.  It is not necessary to
> > send duplicate DATA packets as I describe, the SCTP sender is not
> > released from the obligation of sending HEARTBEAT to ensure RTT
> > calculation just because it has sent a SHUTDOWN.  It is the obligation
> > of the sender to send HEARTBEAT and clear error counts for the
> > destination and association should it not receive anything upon which
> > it can calculate a RTT.  This is another observation ;)
> 
> What happens in the event of power failure/crashes at one end?
> 
> L.
> 
> worried about failure modes.
> 
> <L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Wed Jun 20 13:30:08 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 NAA15173
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 13:30:08 -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 MAA27528;
	Wed, 20 Jun 2001 12:42: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 MAA27499
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 12:42:52 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-20.dallas.net [209.44.41.20])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA13404
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 12:42:16 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id LAA13199;
	Wed, 20 Jun 2001 11:42:47 -0500
Date: Wed, 20 Jun 2001 11:42:47 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Cc: Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010620114247.G6826@bfgbhome>
Reply-To: bidulock@openss7.org
References: <20010620081629.D6826@bfgbhome> <Roam.SIMC.2.0.6.993046384.32607.nordmark@jurassic.eng>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.993046384.32607.nordmark@jurassic.eng>; from Erik.Nordmark@eng.sun.com on Wed, Jun 20, 2001 at 04:13:04PM +0200
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Erik,

I don't think that SCTP really needs half-close semantics.  I was
just making an observation that, although the intention was not to
support them, they are supported anyway.  It is not necessary to
send duplicate DATA packets as I describe, the SCTP sender is not
released from the obligation of sending HEARTBEAT to ensure RTT
calculation just because it has sent a SHUTDOWN.  It is the obligation
of the sender to send HEARTBEAT and clear error counts for the
destination and association should it not receive anything upon which
it can calculate a RTT.  This is another observation ;)

If SCTP really wanted to preclude a half-close situation, the sender
of the SHUTDOWN should be required to start a timer after the expiry
of which the association should ABORT, or some such procedure which
could enforce the situation.

--Brian

On Wed, 20 Jun 2001, Erik Nordmark wrote:

> 
> Brian,
> 
> > If the receiver of the SHUTDOWN continues sending data, the SHUTDOWN
> > is merely resent in the same fashion as a SACK and the timer is
> > cancelled.  It is true that if there is a period that the SHUTDOWN
> > receiver has no data to send that the sender of the SHUTDOWN will
> > start retransmitting the SHUTDOWN, however, it would be possible to
> > send duplicate DATA chunks to keep the sender from going through
> > this behavior.
> 
> You're observing that the current spec, which as far as I recall the discussion
> about a year ago, was explicitly designed not to support half-open connections,
> does not directly prevent an implementation that wishes to provide half-closed
> semantics. I don't think that is necessarily a good thing ...
> 
> If there is really WG consensus that SCTP should (have) support(ed)
> half-closed then I think in the interest of spec clarity as well
> as interoperability it would make sense to carefully specify how this works 
> including thinking about interoperability with the current proposed standard.
> 
>    Erik
>  

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Wed Jun 20 14:10: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 OAA16584
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 14:10: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 NAA00655;
	Wed, 20 Jun 2001 13:54: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 NAA00624
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 13:54:31 -0400 (EDT)
Received: from prue.eim.surrey.ac.uk (IDENT:exim@prue.eim.surrey.ac.uk [131.227.76.5])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA15984
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 13:53:55 -0400 (EDT)
Received: from phaestos.ee.surrey.ac.uk ([131.227.88.14] ident=eep1lw)
	by prue.eim.surrey.ac.uk with esmtp (Exim 3.16 #1)
	id 15ClUS-0002kF-00; Wed, 20 Jun 2001 18:10:04 +0100
Date: Wed, 20 Jun 2001 18:09:46 +0100 (BST)
From: Lloyd Wood <l.wood@eim.surrey.ac.uk>
X-Sender: eep1lw@phaestos.ee.surrey.ac.uk
Reply-To: Lloyd Wood <L.Wood@eim.surrey.ac.uk>
To: "Brian F. G. Bidulock" <bidulock@openss7.org>
cc: Erik Nordmark <Erik.Nordmark@eng.sun.com>,
        Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
In-Reply-To: <20010620114247.G6826@bfgbhome>
Message-ID: <Pine.GSO.4.21.0106201808330.1382-100000@phaestos.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 *15ClUS-0002kF-00*TWs6Yu4trb6* 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 Wed, 20 Jun 2001, Brian F. G. Bidulock wrote:

> I don't think that SCTP really needs half-close semantics.  I was
> just making an observation that, although the intention was not to
> support them, they are supported anyway.  It is not necessary to
> send duplicate DATA packets as I describe, the SCTP sender is not
> released from the obligation of sending HEARTBEAT to ensure RTT
> calculation just because it has sent a SHUTDOWN.  It is the obligation
> of the sender to send HEARTBEAT and clear error counts for the
> destination and association should it not receive anything upon which
> it can calculate a RTT.  This is another observation ;)

What happens in the event of power failure/crashes at one end?

L.

worried about failure modes.

<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  Wed Jun 20 15:29: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 PAA19423
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 15:29: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 PAA03638;
	Wed, 20 Jun 2001 15:06: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 PAA03608
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 15:06:52 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA18571
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 15:06:14 -0400 (EDT)
Received: from stewart.chicago.il.us (stewartdell [10.1.1.3])
	by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id f5KJ2GB46495;
	Wed, 20 Jun 2001 14:02:31 -0500 (CDT)
	(envelope-from randall@stewart.chicago.il.us)
Message-ID: <3B30F197.5A9F9D14@stewart.chicago.il.us>
Date: Wed, 20 Jun 2001 13:55:19 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Lloyd Wood <L.Wood@eim.surrey.ac.uk>
CC: "Brian F. G. Bidulock" <bidulock@openss7.org>,
        Erik Nordmark <Erik.Nordmark@eng.sun.com>,
        Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
References: <Pine.GSO.4.21.0106201808330.1382-100000@phaestos.ee.surrey.ac.uk>
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

Lloyd Wood wrote:
> 
> On Wed, 20 Jun 2001, Brian F. G. Bidulock wrote:
> 
> > I don't think that SCTP really needs half-close semantics.  I was
> > just making an observation that, although the intention was not to
> > support them, they are supported anyway.  It is not necessary to
> > send duplicate DATA packets as I describe, the SCTP sender is not
> > released from the obligation of sending HEARTBEAT to ensure RTT
> > calculation just because it has sent a SHUTDOWN.  It is the obligation
> > of the sender to send HEARTBEAT and clear error counts for the
> > destination and association should it not receive anything upon which
> > it can calculate a RTT.  This is another observation ;)
> 
> What happens in the event of power failure/crashes at one end?
> 

To add to what Brian said... 

An endpoint will only allow so many heartbeats to be missed. So if
the crashing machine does not come up for a while (or it is in
California under a long rolling blackout :/) missing a threshold
number of HB's will cause the association to fail. If it does
come up, as Brian said, an ABORT will be sent back since the
restarted machine will not recognize the association.

The SHUTDOWN-ACK must show up (or some other packet) or else
the SHUTDOWN will get retransmitted to the threshold and then
the association fails..

Some implementations may also put a limit as to how long
they will await the SHUTDOWN-ACK. Hmmm I think this may
be added to the shutdown states of the reference implementation.
It sounds like a good safety valve to catch implementations
that DON'T stop accepting user data ....


R



> L.
> 
> worried about failure modes.
> 
> <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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 20 15:39: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 PAA19682
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 15:39: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 PAA04318;
	Wed, 20 Jun 2001 15:27: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 PAA04291
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 15:27:27 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-193.dallas.net [209.44.42.193])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA19311
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 15:26:50 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id OAA17590;
	Wed, 20 Jun 2001 14:26:49 -0500
Date: Wed, 20 Jun 2001 14:26:49 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Lloyd Wood <l.wood@eim.surrey.ac.uk>
Cc: Randall Stewart <randall@stewart.chicago.il.us>,
        Erik Nordmark <Erik.Nordmark@eng.sun.com>,
        Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010620142649.A17522@bfgbhome>
Reply-To: bidulock@openss7.org
References: <3B30F197.5A9F9D14@stewart.chicago.il.us> <Pine.GSO.4.21.0106202007000.1382-100000@phaestos.ee.surrey.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Pine.GSO.4.21.0106202007000.1382-100000@phaestos.ee.surrey.ac.uk>; from l.wood@eim.surrey.ac.uk on Wed, Jun 20, 2001 at 08:10:20PM +0100
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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,

We just expained that if the box goes away or crashes, SCTP
will already timeout.  Shortening this timing would be a
matter of tuning SCTP's existing protocol parameters.  A
separate timeout is not necessary.

Following along the lines of what you are saying, however,
a malicious endpoint could open a bunch of associations and
ignore SHUTDOWNs, holding may associations open with little
effort on the part of the malicious endpoint.  Possible
DoS attack, perhaps, on servers that are too brittle.

--Brian

On Wed, 20 Jun 2001, Lloyd Wood wrote:

> On Wed, 20 Jun 2001, Randall Stewart wrote:
> 
> > Some implementations may also put a limit as to how long
> > they will await the SHUTDOWN-ACK. Hmmm I think this may
> > be added to the shutdown states of the reference implementation.
> > It sounds like a good safety valve to catch implementations
> > that DON'T stop accepting user data ....
> 
> That's exactly the 'half-close' problem http servers had for TCP;
> badly-behaved clients would go away/crash, and open connections would
> build up and up and up on the webserver until the machine fell over.
> 
> timeout limits are essential here.
> 
> L.
> 
> <L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Wed Jun 20 15:51: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 PAA20230
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 15:51: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 PAA04938;
	Wed, 20 Jun 2001 15:40: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 PAA04908
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 15:40:08 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA19713
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 15:39:26 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id MAA11190
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 12:40:02 -0700 (PDT)
Received: from gamma (vpn-129-150-4-30.EBay.Sun.COM [129.150.4.30])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id MAA02699
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 12:40:00 -0700 (PDT)
Date: Wed, 20 Jun 2001 12:42:24 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP shutdown
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <3B30088E.2DE5B481@stewart.chicago.il.us>
Message-ID: <Roam.SIMC.2.0.6.993066144.20437.kcpoon@jurassic.eng.sun.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 would have to go back through the mail archives of sigtran to
> be able to answer this. I just don't remember off the top
> of my head. I do remember we discussed this and we could only
> come up with one application that used this "half-close" 
> feature of tcp... i.e. rsh. On top of that I don't think any
> of us in sigtran ever thought that there would be a need to 
> move rsh (which more fits a byte oriented transfer than
> a message oriented one) to SCTP :/

If I remember correctly about the discussion last year, it was
all about the original ungraceful shutdown.  I remember people
saying that while SCTP does not need to support the half-close
semantics of TCP, it is still better to have a graceful shutdown.
Then people came up with the current scheme.  But no one (I was
puzzled yesterday when I thought about this) asked why half-close
should not be supported given that SCTP now does what TCP does
at close down.

The current SCTP scheme is asymmetrical.  One end forces the other 
end to stop sending new data.  TCP's FIN is symmetrical in the sense
that one side only tells the other side it will stop sending new
data.  The semantics is clearly different.  The half-close behavior
"seems" to be a by-product of TCP's meaning of FIN.  So the question
is why does SCTP need such an asymmetrical shutdown?

							K. Poon.
							kcpoon@eng.sun.com




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


From tsvwg-admin@ietf.org  Wed Jun 20 16:14:06 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 QAA20932
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 16:14: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 QAA05901;
	Wed, 20 Jun 2001 16:04: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 QAA05869
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 16:04:16 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA20682
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 16:03:39 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id NAA22392
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 13:04:16 -0700 (PDT)
Received: from gamma (vpn-129-150-4-30.EBay.Sun.COM [129.150.4.30])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id NAA07685
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 13:04:15 -0700 (PDT)
Date: Wed, 20 Jun 2001 13:06:39 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP shutdown
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010619204111.B31460@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.993067599.23488.kcpoon@jurassic.eng.sun.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

> There is no way for the sending of the SHUTDOWN to enforce this
> behavior.  The SHUTDOWN sending will continue acking data with
> SHUTDOWN or SHUTDOWN SACK combinations until it receives a
> SHUTDOWN-ACK.  This is already identical to TCP's behavior on
> the SHUT_WR side.

There is no way to "enforce" the other end to do anything...  It is
outside of our control...  We are talking about protocol design
here...  If one side decides not to comply with the protocol, well...

> The receiver of the SHUTDOWN must not let the ULP send any new
> data, but the interpretation of what new data constitutes is really
> up to the implementation.  Data which is buffered in the socket
> app could be considered queued data, resulting in the same semantic
> as TCP.  It is clear that the receiver of the SHUTDOWN must not
> send SHUTDOWN-ACK until all queued data is acknowledged.

I believe this API issue should be discussed in another thread.  There
is a reason why I started a new thread to discuss the protocol issue...

I think you are actually "stretching the words" in the RFC.  What my
question is not about stretching the words.  It is very clear in
the RFC that if there is no data in the queue, a SHUTDOWN-ACK must be
sent.  I started this thread to discuss this issue, not about stretching
the words or about protocol implementation correctness enforcement...
I want to understand the rationale behind SCTP's asymmetric close down 
semantics

I agree with you that the wording in the RFC may not be precise enough.
But let's not discuss that issue in this thread.

> The originial discussions of shutdown in SCTP were centered around
> trying to avoid a half-close situation; however, SCTP was forced
> to deal with the situation because of possible loss of a SHUTDOWN-ACK
> message.

By half-close, do you mean half-open?  They are 2 different things...

> If the shutdown sequence is prolonged by delaying a SHUTDOWN-ACK
> to acheive compatibility with TCP semantics, the restart procedures
> will not be as effective.  This is because SCTP does not accept
> INIT restarts while shutting down.  Nevertheless, if the peer
> restarts, while an association is in this half-closed state, the
> OOTB handling should close the association very rapidly.

Can you explain the above effectiveness concern?  After stating that
concern, you immediately pointed out the SCTP will detect restart
rapidly...  So is your concern about something else?

> I don't see any real technical problems with making SCTP operate
> in this TCP-compatible mode.  Sounds like a useful socket option.

Again, while I happen to work with socket, there are other SCTP
APIs.  I think we should not talk about a specific API issue while
discussing the protocol...

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Wed Jun 20 16:26: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 QAA21381
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 16:26: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 QAA06096;
	Wed, 20 Jun 2001 16:11: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 QAA06065
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 16:11:47 -0400 (EDT)
Received: from imr2.ericy.com (imr2.ericy.com [12.34.240.68])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA20884
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 16:11:05 -0400 (EDT)
Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.92.15])
	by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f5KKBAR25654;
	Wed, 20 Jun 2001 15:11:10 -0500 (CDT)
Received: from newman.exu.ericsson.se (newman.exu.ericsson.se [138.85.75.179])
	by mr7.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id f5KKB6H17628;
	Wed, 20 Jun 2001 15:11:07 -0500 (CDT)
Received: from b02f42.exu.ericsson.se (b02f42 [138.85.37.52]) by newman.exu.ericsson.se (8.7.5/8.7.3) with ESMTP id PAA03382; Wed, 20 Jun 2001 15:11:06 -0500 (CDT)
Received: (from eusshml@localhost)
	by b02f42.exu.ericsson.se (8.9.1/8.9.1) id PAA03106;
	Wed, 20 Jun 2001 15:11:05 -0500 (CDT)
X-Authentication-Warning: b02f42.exu.ericsson.se: eusshml set sender to shyamal.prasad@ericsson.com using -f
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
References: <Roam.SIMC.2.0.6.993066144.20437.kcpoon@jurassic.eng.sun.com>
From: Shyamal Prasad <shyamal.prasad@ericsson.com>
Date: 20 Jun 2001 15:11:05 -0500
In-Reply-To: Kacheong Poon's message of "Wed, 20 Jun 2001 12:42:24 -0700 (PDT)"
Message-ID: <yzsy9qm6heu.fsf@ericsson.com>
Lines: 25
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Canyonlands)
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

    "Kacheong" == Kacheong Poon <kcpoon@jurassic.eng.sun.com> writes:

    Kacheong> better to have a graceful shutdown.  Then people came up
    Kacheong> with the current scheme.  But no one (I was puzzled
    Kacheong> yesterday when I thought about this) asked why
    Kacheong> half-close should not be supported given that SCTP now
    Kacheong> does what TCP does at close down.

Kacheong,

I always have wanted to quote myself, so I went and looked in the
archive ;-)

    "Shyamal" == Shyamal Prasad <shyamal.prasad@ERICSSON.COM> wrote
       Fri, 12 May 2000 14:11:52 -0500

    Shyamal> (just watch out for some hacker kid exclaiming a few
    Shyamal> years down: "What were these guys smoking?  I can't
    Shyamal> believe they never put in a half close" ;-)

It's hardly been a year, and it isn't even a hacker kid ;-)

Cheers!
Shyamal


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


From tsvwg-admin@ietf.org  Wed Jun 20 16:30: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 QAA21572
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 16:30:25 -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 QAA06233;
	Wed, 20 Jun 2001 16:16: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 QAA06205
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 16:16:32 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA21011
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 16:15:55 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id NAA27698;
	Wed, 20 Jun 2001 13:16:31 -0700 (PDT)
Received: from gamma (vpn-129-150-4-30.EBay.Sun.COM [129.150.4.30])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id NAA10111;
	Wed, 20 Jun 2001 13:16:30 -0700 (PDT)
Date: Wed, 20 Jun 2001 13:18:54 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP shutdown
To: shyamal.prasad@ericsson.com
Cc: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <yzsy9qm6heu.fsf@ericsson.com>
Message-ID: <Roam.SIMC.2.0.6.993068334.30672.kcpoon@jurassic.eng.sun.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 always have wanted to quote myself, so I went and looked in the
> archive ;-)
> 
>     "Shyamal" == Shyamal Prasad <shyamal.prasad@ERICSSON.COM> wrote
>        Fri, 12 May 2000 14:11:52 -0500
> 
>     Shyamal> (just watch out for some hacker kid exclaiming a few
>     Shyamal> years down: "What were these guys smoking?  I can't
>     Shyamal> believe they never put in a half close" ;-)
> 
> It's hardly been a year, and it isn't even a hacker kid ;-)

Hey, are you an oracle (-:

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Wed Jun 20 16:47: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 QAA22138
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 16:47: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 QAA07045;
	Wed, 20 Jun 2001 16:35: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 QAA07015
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 16:35:43 -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 QAA21725
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 16:35:05 -0400 (EDT)
Received: [from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id NAA04028 for <tsvwg@ietf.org>; Wed, 20 Jun 2001 13:35:41 -0700 (MST)]
Received: [from em.cig.mot.com ([160.44.107.36]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id NAA03037 for <tsvwg@ietf.org>; Wed, 20 Jun 2001 13:35:40 -0700 (MST)]
Received: (from piggy@localhost)
	by em.cig.mot.com (8.9.3/8.9.3) id PAA10466;
	Wed, 20 Jun 2001 15:35:40 -0500
Date: Wed, 20 Jun 2001 15:35:40 -0500
Message-Id: <200106202035.PAA10466@em.cig.mot.com>
From: "La Monte H.P. Yarroll" <piggy@em.cig.mot.com>
To: tsvwg@ietf.org
Cc: sctp-developers-list@cig.mot.com
Subject: [Tsvwg] Must SCTP data chunks be in TSN order?
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

Are SCTP DATA chunks bundled in a single packet required to be in TSN
order?  I can't find a mention of the topic in RFC 2960.  I vaguely
recall a discussion suggesting that they ought to be in ascending TSN
order, but that it is not required.

If they are NOT required to be in ascending TSN order, then we have
some bothersome extra code to write for ECN:

Appendix A:

   ECN-Echo:

   RFC 2481 details a specific bit for a receiver to send back in its
   TCP acknowledgements to notify the sender of the Congestion
   Experienced (CE) bit having arrived from the network.  For SCTP this
   same indication is made by including the ECNE chunk.  This chunk
   contains one data element, i.e. the lowest TSN associated with the IP
   datagram marked with the CE bit, and looks as follows:

In other words, we have to find the LOWEST TSN in the whole packet.

For our implementation, we don't really care WHICH TSN we get in an
incoming ECNE--we can identify the sending transport based on ANY TSN
in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
the packet (better yet would be the LAST TSN).  How immutable is this?

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


From tsvwg-admin@ietf.org  Wed Jun 20 17:16: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 RAA23187
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 17:16:25 -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 QAA07341;
	Wed, 20 Jun 2001 16:45:51 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA07316
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 16:45:50 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA22065
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 16:45:12 -0400 (EDT)
Received: from stewart.chicago.il.us (stewartdell [10.1.1.3])
	by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id f5KKj9B46723;
	Wed, 20 Jun 2001 15:45:24 -0500 (CDT)
	(envelope-from randall@stewart.chicago.il.us)
Message-ID: <3B3109B3.73D5A2B4@stewart.chicago.il.us>
Date: Wed, 20 Jun 2001 15:38:11 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Shyamal Prasad <shyamal.prasad@ericsson.com>
CC: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
References: <Roam.SIMC.2.0.6.993066144.20437.kcpoon@jurassic.eng.sun.com> <yzsy9qm6heu.fsf@ericsson.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

Shyamal Prasad wrote:
> 
>     "Kacheong" == Kacheong Poon <kcpoon@jurassic.eng.sun.com> writes:
> 
>     Kacheong> better to have a graceful shutdown.  Then people came up
>     Kacheong> with the current scheme.  But no one (I was puzzled
>     Kacheong> yesterday when I thought about this) asked why
>     Kacheong> half-close should not be supported given that SCTP now
>     Kacheong> does what TCP does at close down.
> 
> Kacheong,
> 
> I always have wanted to quote myself, so I went and looked in the
> archive ;-)
> 
>     "Shyamal" == Shyamal Prasad <shyamal.prasad@ERICSSON.COM> wrote
>        Fri, 12 May 2000 14:11:52 -0500
> 
>     Shyamal> (just watch out for some hacker kid exclaiming a few
>     Shyamal> years down: "What were these guys smoking?  I can't
>     Shyamal> believe they never put in a half close" ;-)
> 
> It's hardly been a year, and it isn't even a hacker kid ;-)
> 

Shyamal:

Maybe I am just slow today.. but I am not sure
what NOT having a 1/2 close does that is so bad.

1) If the guy is opening a bunch of connections
   and refusing to close.. by Brian's little tricks that
   violate the spec... how is this different than allowing
   a 1/2 close.

2) If your worried about an attack, what is different in
   this than just going ahead and holding up a bunc of
   open connections? Same problem right? I have tied up
   a bunch of resources...

3) If the peer does agree to close, and sends the S-A the
   session ends. If it restarts during the shutdown sequence
   its all covered... either the ABORT will clean it up OR
   the peer will send the SHUTDOWN getting no answer until
   the association fails...

I must be missing something here because I don't get it..

R



-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 20 17:49:06 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 RAA24124
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 17:49:06 -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 RAA08278;
	Wed, 20 Jun 2001 17:11:51 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA08250
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 17:11:49 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA22984
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 17:11:11 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id OAA21527
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 14:11:46 -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 OAA15982
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 14:11:41 -0700 (PDT)
Message-Id: <200106202111.OAA15982@heliopolis.eng.sun.com>
Date: Wed, 20 Jun 2001 14:11:40 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] SCTP shutdown
To: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: aFIbVn0OMXvLb/ySrZxg9A==
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

>
>I don't see any real technical problems with making SCTP operate
>in this TCP-compatible mode.  Sounds like a useful socket option.
>

Except that each data packet would generate a SACK and a
SHUTDOWN chunk. This is a really inefficient way to do
half-close. I wouldn't support this sort of functionality.

Jonathan


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


From tsvwg-admin@ietf.org  Wed Jun 20 17:50: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 RAA24176
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 17:50: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 RAA09121;
	Wed, 20 Jun 2001 17:33: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 RAA09093
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 17:33:33 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA23716
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 17:32: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 PAA28824
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 15:32:55 -0600 (MDT)
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 OAA16820
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 14:32:56 -0700 (PDT)
Message-Id: <200106202132.OAA16820@heliopolis.eng.sun.com>
Date: Wed, 20 Jun 2001 14:32:56 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sockets
To: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: 1Fn2CEd3o70klsssFm9Gkg==
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

>
>> It is not the case that TCP apps expect to be able to do
>> send() after recv() returns 0.  recv() retruns 0 when the
>> connection is disconnected, and a TCP app cannot expect
>> to send() and recv() returns 0 in that case.  A TCP app
>> will get EPIPE/SIG_PIPE.  It is not different from the
>> possible SCTP case.
>
>In the context of what we are discussion (use of shutdown(SHUT_WR)
>to do TCP half-close), the app indeed expects to send after recv()
>returns 0.  You can check the code of, say, rsh.  Note that with
>TCP, recv() returning 0 does not necessarily mean that the socket 
>is disconnected.
>
Yes, Kacheong is correct.

With the current protocol rules, I don't believe that
it is possible to get full TCP-compatibility for shutdown().
While it would be nice to have full compatibility, it would
be hard to justify changing SCTP for so little gain -
shutdown() really is seldom used functionality in TCP
sockets. (Of course, if someone could demonstrate how
half-close would be really useful, I might be swayed...)

It is also important to note that we could fairly easily
recode rsh for SCTP and get the same functionality
using streams.

I agree with Mark Bartlett that shutdown() is useful for
retrieving any remaining data and notifications. The
SCTP semantics would be exactly as defined in XPG.

The only difference is on the shutdown receiver side:
After getting an EOF on a socket, all subsequent attempts
to send will always fail with EPIPE.

Jonathan


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


From tsvwg-admin@ietf.org  Wed Jun 20 18:00: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 SAA24421
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 18:00: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 RAA09479;
	Wed, 20 Jun 2001 17:50: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 RAA09448
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 17:50:29 -0400 (EDT)
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA24141
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 17:49:51 -0400 (EDT)
Received: [from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by motgate.mot.com (motgate 2.1) with ESMTP id OAA28851 for <tsvwg@ietf.org>; Wed, 20 Jun 2001 14:50:27 -0700 (MST)]
Received: [from relay2.cig.mot.com (relay2.cig.mot.com [136.182.15.24]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id OAA19361 for <tsvwg@ietf.org>; Wed, 20 Jun 2001 14:50:27 -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 QAA09966; Wed, 20 Jun 2001 16:50:25 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id QAA02129; Wed, 20 Jun 2001 16:50:23 -0500 (CDT)
Message-Id: <200106202150.QAA02129@agevole.cig.mot.com>
Date: Wed, 20 Jun 2001 16:58:43 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>
CC: tsvwg@ietf.org, sctp-developers-list@cig.mot.com
References: <200106202035.PAA10466@em.cig.mot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
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

La Monte,

See my comments below...

"La Monte H.P. Yarroll" wrote:
> 
> Are SCTP DATA chunks bundled in a single packet required to be in TSN
> order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> recall a discussion suggesting that they ought to be in ascending TSN
> order, but that it is not required.
> 
> If they are NOT required to be in ascending TSN order, then we have
> some bothersome extra code to write for ECN:

So, you won't mind adding code to check whether TSNs are in ascending
order in *every* received packet and adding yet more code to reporting
any ordering violation?

I think the code you would need to add to enforce the new rule would be
many many times more than tracking the LOWEST TSN in your ECN
subroutine.

-Qiaobing

> 
> Appendix A:
> 
>    ECN-Echo:
> 
>    RFC 2481 details a specific bit for a receiver to send back in its
>    TCP acknowledgements to notify the sender of the Congestion
>    Experienced (CE) bit having arrived from the network.  For SCTP this
>    same indication is made by including the ECNE chunk.  This chunk
>    contains one data element, i.e. the lowest TSN associated with the IP
>    datagram marked with the CE bit, and looks as follows:
> 
> In other words, we have to find the LOWEST TSN in the whole packet.
> 
> For our implementation, we don't really care WHICH TSN we get in an
> incoming ECNE--we can identify the sending transport based on ANY TSN
> in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> the packet (better yet would be the LAST TSN).  How immutable is this?
> |                                                                             |
> |                                                                             |
> ---------------------- Mailing List commands --------------------------------
> Send the following in the body of a message to Majordomo@majordomo.cig.mot.com
> SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info list-name
> |                                                                             |
> Or you can use http://majordomo.cig.mot.com
> ------------------------------------------------------------------------------

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


From tsvwg-admin@ietf.org  Wed Jun 20 18:47: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 SAA25317
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 18:47: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 SAA10684;
	Wed, 20 Jun 2001 18:28: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 SAA10624
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 18:28:40 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA25077
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 18:28:02 -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 QAA08316
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 16:28:37 -0600 (MDT)
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 PAA18543
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 15:28:37 -0700 (PDT)
Message-Id: <200106202228.PAA18543@heliopolis.eng.sun.com>
Date: Wed, 20 Jun 2001 15:28:37 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] SCTP shutdown
To: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=ISO-8859-1
Content-MD5: /mTrHppeJKhy7KIo/ESCig==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc 
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by optimus.ietf.org id SAA10625
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 SAA10684
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id SAA25317


From RFC 2960 section 9.2 Shutdown of an Association:

   While in SHUTDOWN-SENT state, the SHUTDOWN sender MUST immediately
   respond to each received packet containing one or more DATA chunk(s)
   with a SACK, a SHUTDOWN chunk, and restart the T2-shutdown timer.
   
This generates a lot more traffic than the alternating SACK
method used when in the ESTABLISHED state.

>
>Jonathan,
>
>Well, no.  A SACK is only required with the SHUTDOWN if
>gaps or dups need to be reported.  It is clear in the
>RFC that if there are no gaps or dups there is no need
>to bundle a SACK with a SHUTDOWN.  Now, SHUTDOWN will be
>sent on each received packet, but since the sender of
>the SHUTDOWN is not sending data, these SHUTDOWNs will
>be sent no sooner that a SACK would in a bisymetrical
>flow.  The SHUTDOWN chunk is actually smaller than the
>SACK chunk and requires less processing.  It is actually
>quite efficient: it keeps the ACK clock running and
>consumes less control chunk resources to do so.
>
>--Brian
>
>
>On Wed, 20 Jun 2001, Jonathan Wood wrote:
>
>> >
>> >I don't see any real technical problems with making SCTP operate
>> >in this TCP-compatible mode.  Sounds like a useful socket option.
>> >
>> 
>> Except that each data packet would generate a SACK and a
>> SHUTDOWN chunk. This is a really inefficient way to do
>> half-close. I wouldn't support this sort of functionality.
>> 
>> Jonathan
>> 
>> 
>> _______________________________________________
>> tsvwg mailing list
>> tsvwg@ietf.org
>> http://www1.ietf.org/mailman/listinfo/tsvwg
>
>-- 
>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 Jun 20 18:47: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 SAA25339
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 18:47: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 SAA10538;
	Wed, 20 Jun 2001 18:24:19 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA10507
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 18:24:17 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-193.dallas.net [209.44.42.193])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA24995
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 18:23:39 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id RAA20370;
	Wed, 20 Jun 2001 17:24:11 -0500
Date: Wed, 20 Jun 2001 17:24:10 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010620172410.B17522@bfgbhome>
Reply-To: bidulock@openss7.org
References: <200106202111.OAA15982@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <200106202111.OAA15982@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Wed, Jun 20, 2001 at 02:11:40PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by bfgbhome.inetint.com id RAA20370
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id SAA10508
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 SAA10538
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id SAA25339

Jonathan,

Well, no.  A SACK is only required with the SHUTDOWN if
gaps or dups need to be reported.  It is clear in the
RFC that if there are no gaps or dups there is no need
to bundle a SACK with a SHUTDOWN.  Now, SHUTDOWN will be
sent on each received packet, but since the sender of
the SHUTDOWN is not sending data, these SHUTDOWNs will
be sent no sooner that a SACK would in a bisymetrical
flow.  The SHUTDOWN chunk is actually smaller than the
SACK chunk and requires less processing.  It is actually
quite efficient: it keeps the ACK clock running and
consumes less control chunk resources to do so.

--Brian


On Wed, 20 Jun 2001, Jonathan Wood wrote:

> >
> >I don't see any real technical problems with making SCTP operate
> >in this TCP-compatible mode.  Sounds like a useful socket option.
> >
> 
> Except that each data packet would generate a SACK and a
> SHUTDOWN chunk. This is a really inefficient way to do
> half-close. I wouldn't support this sort of functionality.
> 
> Jonathan
> 
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
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 Jun 20 19:08: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 TAA25845
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 19:08: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 SAA11419;
	Wed, 20 Jun 2001 18:55: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 SAA11388
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 18:55:41 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-193.dallas.net [209.44.42.193])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA25542
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 18:55:05 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id RAA20992;
	Wed, 20 Jun 2001 17:55:36 -0500
Date: Wed, 20 Jun 2001 17:55:36 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010620175536.D17522@bfgbhome>
Reply-To: bidulock@openss7.org
References: <200106202228.PAA18543@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <200106202228.PAA18543@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Wed, Jun 20, 2001 at 03:28:37PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by bfgbhome.inetint.com id RAA20992
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id SAA11389
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 SAA11419
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id TAA25845

Jonathan,

But, in contrast RFC 2960 section 6.2 Acknowledgement and
        Reception of DATA Chunks

    Note:  The SHUTDOWN chunk does not contain Gap Ack Block fields.
    Therefore, the endpoint should use a SACK instead of the SHUTDOWN
    chunk to acknowledge DATA chunks received our of order.

Also, further along in section 9.2 Shutdown of an Association:

    The rules in Section 6.3 MUST be followed to determine the proper
    timer value for T2-shutdown.  To indicate any gaps in TSN, the
    endpoint may also bundle a SACK with the SHUTDOWN chunk in the same
    SCTP packet.

So, I think your statements are hardly the last word, even
considering the RFC.  It was always the intention that a SHUTDOWN
be used instead of a SACK to acknowledge received data while in
SHUTDOWN-SENT state (otherwise, who needs the cummulative TSN field?)
The only need to send a SACK is when gaps and dups are encountered
per the citations above.

--Brian

On Wed, 20 Jun 2001, Jonathan Wood wrote:

> 
> >From RFC 2960 section 9.2 Shutdown of an Association:
> 
>    While in SHUTDOWN-SENT state, the SHUTDOWN sender MUST immediately
>    respond to each received packet containing one or more DATA chunk(s)
>    with a SACK, a SHUTDOWN chunk, and restart the T2-shutdown timer.
>    
> This generates a lot more traffic than the alternating SACK
> method used when in the ESTABLISHED state.
> 

-- 
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 Jun 20 19:15: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 TAA26021
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 19:15: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 TAA11866;
	Wed, 20 Jun 2001 19:05: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 TAA11837
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 19:05:20 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA25740
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 19:04:45 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id QAA08563
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 16:05:20 -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 QAA19423
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 16:05:19 -0700 (PDT)
Message-Id: <200106202305.QAA19423@heliopolis.eng.sun.com>
Date: Wed, 20 Jun 2001 16:05:19 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] SCTP shutdown
To: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: 45ORHZ+OrSaObv5214DFPg==
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


Hmm looks like some more clarifications for the implementors
guide draft.

However, it is clear (to me, at least) that the *intent*
of the shutdown sequence as currently defined is to complete
the shutdown as expeditiously as possible. In order to
ensure that the SHUTDOWN chunk and any SACKs are delivered
as quickly and reliably as possible, the shutdown sender will
send a SHUTDOWN and / or a SACK in response to *each* data
chunk received. Any way you cut it, data transfer becomes
less efficient once a shutdown has been sent.

Jonathan 

>
>Jonathan,
>
>But, in contrast RFC 2960 section 6.2 Acknowledgement and
>        Reception of DATA Chunks
>
>    Note:  The SHUTDOWN chunk does not contain Gap Ack Block fields.
>    Therefore, the endpoint should use a SACK instead of the SHUTDOWN
>    chunk to acknowledge DATA chunks received our of order.
>
>Also, further along in section 9.2 Shutdown of an Association:
>
>    The rules in Section 6.3 MUST be followed to determine the proper
>    timer value for T2-shutdown.  To indicate any gaps in TSN, the
>    endpoint may also bundle a SACK with the SHUTDOWN chunk in the same
>    SCTP packet.
>
>So, I think your statements are hardly the last word, even
>considering the RFC.  It was always the intention that a SHUTDOWN
>be used instead of a SACK to acknowledge received data while in
>SHUTDOWN-SENT state (otherwise, who needs the cummulative TSN field?)
>The only need to send a SACK is when gaps and dups are encountered
>per the citations above.
>
>--Brian


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


From tsvwg-admin@ietf.org  Wed Jun 20 19:17:13 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 TAA26080
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 19:17: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 TAA12044;
	Wed, 20 Jun 2001 19:08: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 TAA12014
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 19:08:19 -0400 (EDT)
Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA25809
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 19:07:44 -0400 (EDT)
Received: from mr5.exu.ericsson.se (mr5u3.ericy.com [208.237.135.124])
	by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f5KN8Ha24710;
	Wed, 20 Jun 2001 18:08:17 -0500 (CDT)
Received: from newman.exu.ericsson.se (newman.exu.ericsson.se [138.85.75.179])
	by mr5.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id f5KN8Ht05102;
	Wed, 20 Jun 2001 18:08:17 -0500 (CDT)
Received: from b02f42.exu.ericsson.se (b02f42 [138.85.37.52]) by newman.exu.ericsson.se (8.7.5/8.7.3) with ESMTP id SAA12218; Wed, 20 Jun 2001 18:08:16 -0500 (CDT)
Received: (from eusshml@localhost)
	by b02f42.exu.ericsson.se (8.9.1/8.9.1) id SAA03210;
	Wed, 20 Jun 2001 18:08:16 -0500 (CDT)
X-Authentication-Warning: b02f42.exu.ericsson.se: eusshml set sender to shyamal.prasad@ericsson.com using -f
To: Randall Stewart <randall@stewart.chicago.il.us>
Cc: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
References: <Roam.SIMC.2.0.6.993066144.20437.kcpoon@jurassic.eng.sun.com>
	<yzsy9qm6heu.fsf@ericsson.com>
	<3B3109B3.73D5A2B4@stewart.chicago.il.us>
From: Shyamal Prasad <shyamal.prasad@ericsson.com>
Date: 20 Jun 2001 18:08:16 -0500
In-Reply-To: Randall Stewart's message of "Wed, 20 Jun 2001 15:38:11 -0500"
Message-ID: <yzslmmm697j.fsf@ericsson.com>
Lines: 37
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Canyonlands)
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


    "Randall" == Randall Stewart <randall@stewart.chicago.il.us> writes:

    Randall> Maybe I am just slow today.. but I am not sure what NOT
    Randall> having a 1/2 close does that is so bad.

Randall,

No, nothing slow about your reasoning. You are correct in that not
having a 1/2 close is very acceptable. 

    Randall>  [....use cases deleted....]
    Randall> I must be missing something here because I don't get it..

You're probably not missing much, it's mostly an opinion.

The reason I like 1/2 close is that it provides a way for one end of a
connection to tell the other "I am finished with sending you any data
I have to send you" without adding any application layer messages at
all, while still having efficient communcation in the other
direction. With SCTP today, to do something like that, I would need to
invent an application level message with "EOF" type meaning.

One can argue forever about the usefulness of this feature. I just
prefer semantics that are more "complete" (have the maxium feature set
for a given cost).  Between "have half close" and "not have half
close" for the same cost I would have gone for including half
close. It's just an opinion, and IMHO it does not matter anymore: SCTP
does not support half close, it's a done deal as far as I am
concerned.

All in all, SCTP without half close does not keep me up nights or
anything...... ;-) 

Cheers!
Shyamal


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


From tsvwg-admin@ietf.org  Wed Jun 20 19:21: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 TAA26166
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 19:21:08 -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 TAA12156;
	Wed, 20 Jun 2001 19:12: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 TAA12124
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 19:11:58 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-193.dallas.net [209.44.42.193])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA25918
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 19:11:22 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id SAA21416;
	Wed, 20 Jun 2001 18:11:52 -0500
Date: Wed, 20 Jun 2001 18:11:52 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010620181152.A21006@bfgbhome>
Reply-To: bidulock@openss7.org
References: <200106202305.QAA19423@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <200106202305.QAA19423@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Wed, Jun 20, 2001 at 04:05:19PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by bfgbhome.inetint.com id SAA21416
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id TAA12125
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 TAA12156
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id TAA26166

Jonathan,

Well, thats an interpretation.  Another interpretation might
be that the sender of the SHUTDOWN might as well acknowledge
each recived data chunk because it_has_nothing_else_to_send.

--Brian

On Wed, 20 Jun 2001, Jonathan Wood wrote:

> 
> Hmm looks like some more clarifications for the implementors
> guide draft.
> 
> However, it is clear (to me, at least) that the *intent*
> of the shutdown sequence as currently defined is to complete
> the shutdown as expeditiously as possible. In order to
> ensure that the SHUTDOWN chunk and any SACKs are delivered
> as quickly and reliably as possible, the shutdown sender will
> send a SHUTDOWN and / or a SACK in response to *each* data
> chunk received. Any way you cut it, data transfer becomes
> less efficient once a shutdown has been sent.
> 
> Jonathan 
> 

-- 
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 Jun 20 21:08: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 VAA27750
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 21:08: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 UAA14489;
	Wed, 20 Jun 2001 20:45: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 UAA14458
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 20:45:14 -0400 (EDT)
Received: from prue.eim.surrey.ac.uk (IDENT:exim@prue.eim.surrey.ac.uk [131.227.76.5])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA27411
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 20:44:38 -0400 (EDT)
Received: from phaestos.ee.surrey.ac.uk ([131.227.88.14] ident=eep1lw)
	by prue.eim.surrey.ac.uk with esmtp (Exim 3.16 #1)
	id 15CnMt-0004OE-00; Wed, 20 Jun 2001 20:10:23 +0100
Date: Wed, 20 Jun 2001 20:10:20 +0100 (BST)
From: Lloyd Wood <l.wood@eim.surrey.ac.uk>
X-Sender: eep1lw@phaestos.ee.surrey.ac.uk
Reply-To: Lloyd Wood <L.Wood@eim.surrey.ac.uk>
To: Randall Stewart <randall@stewart.chicago.il.us>
cc: "Brian F. G. Bidulock" <bidulock@openss7.org>,
        Erik Nordmark <Erik.Nordmark@eng.sun.com>,
        Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
In-Reply-To: <3B30F197.5A9F9D14@stewart.chicago.il.us>
Message-ID: <Pine.GSO.4.21.0106202007000.1382-100000@phaestos.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 *15CnMt-0004OE-00*0LVs1ftA/Ys* 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 Wed, 20 Jun 2001, Randall Stewart wrote:

> Some implementations may also put a limit as to how long
> they will await the SHUTDOWN-ACK. Hmmm I think this may
> be added to the shutdown states of the reference implementation.
> It sounds like a good safety valve to catch implementations
> that DON'T stop accepting user data ....

That's exactly the 'half-close' problem http servers had for TCP;
badly-behaved clients would go away/crash, and open connections would
build up and up and up on the webserver until the machine fell over.

timeout limits are essential here.

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  Wed Jun 20 21:13: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 VAA27807
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 21:13: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 UAA14633;
	Wed, 20 Jun 2001 20:54: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 UAA14602
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 20:54:14 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA27540
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 20:53:37 -0400 (EDT)
Received: from stewart.chicago.il.us (stewartdell [10.1.1.3])
	by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id f5L0rBB47197;
	Wed, 20 Jun 2001 19:53:26 -0500 (CDT)
	(envelope-from randall@stewart.chicago.il.us)
Message-ID: <3B3143D3.CD2C57F7@stewart.chicago.il.us>
Date: Wed, 20 Jun 2001 19:46:11 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Shyamal Prasad <shyamal.prasad@ericsson.com>
CC: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
References: <Roam.SIMC.2.0.6.993066144.20437.kcpoon@jurassic.eng.sun.com>
		<yzsy9qm6heu.fsf@ericsson.com>
		<3B3109B3.73D5A2B4@stewart.chicago.il.us> <yzslmmm697j.fsf@ericsson.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

Shyamal Prasad wrote:
> 
>     "Randall" == Randall Stewart <randall@stewart.chicago.il.us> writes:
> 
>     Randall> Maybe I am just slow today.. but I am not sure what NOT
>     Randall> having a 1/2 close does that is so bad.
> 
> Randall,
> 
> No, nothing slow about your reasoning. You are correct in that not
> having a 1/2 close is very acceptable.
> 
>     Randall>  [....use cases deleted....]
>     Randall> I must be missing something here because I don't get it..
> 
> You're probably not missing much, it's mostly an opinion.
> 
> The reason I like 1/2 close is that it provides a way for one end of a
> connection to tell the other "I am finished with sending you any data
> I have to send you" without adding any application layer messages at
> all, while still having efficient communcation in the other
> direction. With SCTP today, to do something like that, I would need to
> invent an application level message with "EOF" type meaning.
> 

But I think the base level thing here is no one uses this 
wonderful feature :->

> One can argue forever about the usefulness of this feature. I just
> prefer semantics that are more "complete" (have the maxium feature set
> for a given cost).  Between "have half close" and "not have half
> close" for the same cost I would have gone for including half
> close. It's just an opinion, and IMHO it does not matter anymore: SCTP
> does not support half close, it's a done deal as far as I am
> concerned.

We might want to (down the road) formalize the "closing of the hole"
so to speak. Add an overall guard timer, say for 20 seconds or
something.. that when/if it goes off no matter if you are
getting packets or not .. you abort the association... 

Or some such other... Something to think about in idle moments
which I don't have many of right now ;/


> All in all, SCTP without half close does not keep me up nights or
> anything...... ;-)

Nor me :/
R
-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 20 21:25:58 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 VAA27910
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 21:25: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 VAA15311;
	Wed, 20 Jun 2001 21:13: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 VAA15282
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 21:13:36 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA27800
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 21:12:59 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id SAA01480
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 18:13:35 -0700 (PDT)
Received: from gamma (vpn-129-150-4-103.EBay.Sun.COM [129.150.4.103])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id SAA06938
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 18:13:35 -0700 (PDT)
Date: Wed, 20 Jun 2001 18:15:59 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP shutdown
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <Pine.GSO.4.21.0106202007000.1382-100000@phaestos.ee.surrey.ac.uk>
Message-ID: <Roam.SIMC.2.0.6.993086159.20643.kcpoon@jurassic.eng.sun.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

> That's exactly the 'half-close' problem http servers had for TCP;
> badly-behaved clients would go away/crash, and open connections would
> build up and up and up on the webserver until the machine fell over.

This is the FIN-WAIT-2 timeout many implementations have.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Wed Jun 20 22:20: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 WAA29494
	for <tsvwg-archive@odin.ietf.org>; Wed, 20 Jun 2001 22:20: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 WAA16625;
	Wed, 20 Jun 2001 22:03: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 WAA16595
	for <tsvwg@ns.ietf.org>; Wed, 20 Jun 2001 22:03:37 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id WAA29270
	for <tsvwg@ietf.org>; Wed, 20 Jun 2001 22:03:00 -0400 (EDT)
Received: (cpmta 12999 invoked from network); 20 Jun 2001 19:03:06 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.206) with SMTP; 20 Jun 2001 19:03:06 -0700
X-Sent: 21 Jun 2001 02:03:06 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Tsvwg" <tsvwg@ietf.org>, "Ips" <ips@ece.cmu.edu>
Date: Wed, 20 Jun 2001 19:00:49 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJAEANCJAA.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] CRC-32c Algorithm checking  D'oh
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,

I have made an error in the CRC algorithm presented in the SCTP digest
draft.  The reflected table returns a value that has MS and LS bytes
reflected in addition to the bits within a byte.  The error was my placement
of the results.

There is an example code that implements both the table methods and a bit by
bit method for comparison.  Here is the results with a test pattern of
"123456789".

Table CRC results: Normalized =C14960C7  Reflected =E3069283
Table CRC check: Normalized =FFFFFFFF  Reflected =FFFFFFFF
Bit CRC results: Normal =C14960C7

Doug



#define polynomial 0x1EDC6F41L

/* generated using (0x11EDC6F41)

   x^32+x^28+x^27+x^26+x^25+x^23+x^22+x^20+x^19+x^18+x^14+x^13+
   x^11+x^10+x^9+x^8+x^6+1

 */

unsigned long crctab[256] =
{
  0x00000000L, 0xF26B8303L, 0xE13B70F7L, 0x1350F3F4L,
  0xC79A971FL, 0x35F1141CL, 0x26A1E7E8L, 0xD4CA64EBL,
  0x8AD958CFL, 0x78B2DBCCL, 0x6BE22838L, 0x9989AB3BL,
  0x4D43CFD0L, 0xBF284CD3L, 0xAC78BF27L, 0x5E133C24L,
  0x105EC76FL, 0xE235446CL, 0xF165B798L, 0x030E349BL,
  0xD7C45070L, 0x25AFD373L, 0x36FF2087L, 0xC494A384L,
  0x9A879FA0L, 0x68EC1CA3L, 0x7BBCEF57L, 0x89D76C54L,
  0x5D1D08BFL, 0xAF768BBCL, 0xBC267848L, 0x4E4DFB4BL,
  0x20BD8EDEL, 0xD2D60DDDL, 0xC186FE29L, 0x33ED7D2AL,
  0xE72719C1L, 0x154C9AC2L, 0x061C6936L, 0xF477EA35L,
  0xAA64D611L, 0x580F5512L, 0x4B5FA6E6L, 0xB93425E5L,
  0x6DFE410EL, 0x9F95C20DL, 0x8CC531F9L, 0x7EAEB2FAL,
  0x30E349B1L, 0xC288CAB2L, 0xD1D83946L, 0x23B3BA45L,
  0xF779DEAEL, 0x05125DADL, 0x1642AE59L, 0xE4292D5AL,
  0xBA3A117EL, 0x4851927DL, 0x5B016189L, 0xA96AE28AL,
  0x7DA08661L, 0x8FCB0562L, 0x9C9BF696L, 0x6EF07595L,
  0x417B1DBCL, 0xB3109EBFL, 0xA0406D4BL, 0x522BEE48L,
  0x86E18AA3L, 0x748A09A0L, 0x67DAFA54L, 0x95B17957L,
  0xCBA24573L, 0x39C9C670L, 0x2A993584L, 0xD8F2B687L,
  0x0C38D26CL, 0xFE53516FL, 0xED03A29BL, 0x1F682198L,
  0x5125DAD3L, 0xA34E59D0L, 0xB01EAA24L, 0x42752927L,
  0x96BF4DCCL, 0x64D4CECFL, 0x77843D3BL, 0x85EFBE38L,
  0xDBFC821CL, 0x2997011FL, 0x3AC7F2EBL, 0xC8AC71E8L,
  0x1C661503L, 0xEE0D9600L, 0xFD5D65F4L, 0x0F36E6F7L,
  0x61C69362L, 0x93AD1061L, 0x80FDE395L, 0x72966096L,
  0xA65C047DL, 0x5437877EL, 0x4767748AL, 0xB50CF789L,
  0xEB1FCBADL, 0x197448AEL, 0x0A24BB5AL, 0xF84F3859L,
  0x2C855CB2L, 0xDEEEDFB1L, 0xCDBE2C45L, 0x3FD5AF46L,
  0x7198540DL, 0x83F3D70EL, 0x90A324FAL, 0x62C8A7F9L,
  0xB602C312L, 0x44694011L, 0x5739B3E5L, 0xA55230E6L,
  0xFB410CC2L, 0x092A8FC1L, 0x1A7A7C35L, 0xE811FF36L,
  0x3CDB9BDDL, 0xCEB018DEL, 0xDDE0EB2AL, 0x2F8B6829L,
  0x82F63B78L, 0x709DB87BL, 0x63CD4B8FL, 0x91A6C88CL,
  0x456CAC67L, 0xB7072F64L, 0xA457DC90L, 0x563C5F93L,
  0x082F63B7L, 0xFA44E0B4L, 0xE9141340L, 0x1B7F9043L,
  0xCFB5F4A8L, 0x3DDE77ABL, 0x2E8E845FL, 0xDCE5075CL,
  0x92A8FC17L, 0x60C37F14L, 0x73938CE0L, 0x81F80FE3L,
  0x55326B08L, 0xA759E80BL, 0xB4091BFFL, 0x466298FCL,
  0x1871A4D8L, 0xEA1A27DBL, 0xF94AD42FL, 0x0B21572CL,
  0xDFEB33C7L, 0x2D80B0C4L, 0x3ED04330L, 0xCCBBC033L,
  0xA24BB5A6L, 0x502036A5L, 0x4370C551L, 0xB11B4652L,
  0x65D122B9L, 0x97BAA1BAL, 0x84EA524EL, 0x7681D14DL,
  0x2892ED69L, 0xDAF96E6AL, 0xC9A99D9EL, 0x3BC21E9DL,
  0xEF087A76L, 0x1D63F975L, 0x0E330A81L, 0xFC588982L,
  0xB21572C9L, 0x407EF1CAL, 0x532E023EL, 0xA145813DL,
  0x758FE5D6L, 0x87E466D5L, 0x94B49521L, 0x66DF1622L,
  0x38CC2A06L, 0xCAA7A905L, 0xD9F75AF1L, 0x2B9CD9F2L,
  0xFF56BD19L, 0x0D3D3E1AL, 0x1E6DCDEEL, 0xEC064EEDL,
  0xC38D26C4L, 0x31E6A5C7L, 0x22B65633L, 0xD0DDD530L,
  0x0417B1DBL, 0xF67C32D8L, 0xE52CC12CL, 0x1747422FL,
  0x49547E0BL, 0xBB3FFD08L, 0xA86F0EFCL, 0x5A048DFFL,
  0x8ECEE914L, 0x7CA56A17L, 0x6FF599E3L, 0x9D9E1AE0L,
  0xD3D3E1ABL, 0x21B862A8L, 0x32E8915CL, 0xC083125FL,
  0x144976B4L, 0xE622F5B7L, 0xF5720643L, 0x07198540L,
  0x590AB964L, 0xAB613A67L, 0xB831C993L, 0x4A5A4A90L,
  0x9E902E7BL, 0x6CFBAD78L, 0x7FAB5E8CL, 0x8DC0DD8FL,
  0xE330A81AL, 0x115B2B19L, 0x020BD8EDL, 0xF0605BEEL,
  0x24AA3F05L, 0xD6C1BC06L, 0xC5914FF2L, 0x37FACCF1L,
  0x69E9F0D5L, 0x9B8273D6L, 0x88D28022L, 0x7AB90321L,
  0xAE7367CAL, 0x5C18E4C9L, 0x4F48173DL, 0xBD23943EL,
  0xF36E6F75L, 0x0105EC76L, 0x12551F82L, 0xE03E9C81L,
  0x34F4F86AL, 0xC69F7B69L, 0xD5CF889DL, 0x27A40B9EL,
  0x79B737BAL, 0x8BDCB4B9L, 0x988C474DL, 0x6AE7C44EL,
  0xBE2DA0A5L, 0x4C4623A6L, 0x5F16D052L, 0xAD7D5351L
};

#define CRC32(crc, d) (crc=(crc>>8)^crctab[(crc^(d))&0xff])

unsigned char testbuf[] =
{
  0x31,
  0x32,
  0x33,
  0x34,
  0x35,
  0x36,
  0x37,
  0x38,
  0x39,
  0x00,
  0x00,
  0x00,
  0x00,
};

unsigned int
  rb (unsigned int r)

{
  int i;
  unsigned int n = r;

  for (i = 0; i < 8; i++)
    {
      if (n & 1)
	r |= 1 << (7 - i);
      else
	r &= ~(1 << (7 - i));
      n >>= 1;
    }
  return r;
}


/* fscgen generates the digest based on Digest Designator */
/* buf[] contains the SCTP packet                         */
/* length is the packet length including padding          */

unsigned int
  tablegen (unsigned char buf[], int length)
{
  int i = 0;
  unsigned int crc = ~0;

  while (i < length)
    {
      CRC32 (crc, buf[i++]);	/* assumes digest zeroed */
    }
  crc ^= ~0;
  return (crc);
}

unsigned int
  bitgen (unsigned char buf[], int length)
{
  int i = 0;
  int j;
  unsigned char d;
  unsigned int crc = ~0;

  while (i < length)
    {
      d = buf[i++];
      for (j = 0; j < 8; j++)
	{
	  if ((crc >> 31) ^ (d & 1))
	    {
	      crc = (crc << 1) ^ polynomial;
	    }
	  else
	    {
	      crc <<= 1;
	    }
	  d >>= 1;
	}
    }
  crc ^= ~0;

  return (crc);
}


main ()
{
  unsigned int val;

  val = tablegen (testbuf, 9);

  printf ("Table CRC results: Normalized =%02X%02X%02X%02X  Reflected
=%X\n",
	  rb (val & 0xff),
	  rb ((val >> 8) & 0xff),
	  rb ((val >> 16) & 0xff),
	  rb (val >> 24),
	  val);

  val ^= ~0;
  testbuf[9] = val & 0xff;
  testbuf[10] = (val >> 8) & 0xff;
  testbuf[11] = (val >> 16) & 0xff;
  testbuf[12] = (val >> 24) & 0xff;

  val = tablegen (testbuf, 13);

  printf ("Table CRC check: Normalized =%02X%02X%02X%02X  Reflected =%X\n",
	  rb (val & 0xff),
	  rb ((val >> 8) & 0xff),
	  rb ((val >> 16) & 0xff),
	  rb (val >> 24),
	  val);

  val = bitgen (testbuf, 9);
  printf ("Bit CRC results: Normal =%X\n", val);
}


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


From tsvwg-admin@ietf.org  Thu Jun 21 05:10: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 FAA22089
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 05:10: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 EAA05869;
	Thu, 21 Jun 2001 04:54:20 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id EAA05840
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 04:54:17 -0400 (EDT)
Received: from coltrane.dataconnection.com (smtp.dataconnection.com [192.91.191.4])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA21892
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 04:53:40 -0400 (EDT)
Received: by coltrane.datcon.co.uk with Internet Mail Service (5.5.2653.19)
	id <M02QF401>; Thu, 21 Jun 2001 09:53:33 +0100
Message-ID: <37701240971DD31193970000F6CCB9F702B0B044@duke.datcon.co.uk>
From: Jon Berger <JRB@dataconnection.com>
To: Qiaobing Xie <xieqb@cig.mot.com>,
        "La Monte H.P. Yarroll"
	 <La_Monte_Yarroll-PIGGY1@email.mot.com>
Cc: tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: RE: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
Date: Thu, 21 Jun 2001 09:53:44 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
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

RFC2960 section  6.10:
"The transmitter MUST transmit DATA chunks within a SCTP packet in
increasing order of TSN."

Jon


-----Original Message-----
From: Qiaobing Xie [mailto:xieqb@cig.mot.com]
Sent: 20 June 2001 22:59
To: La Monte H.P. Yarroll
Cc: tsvwg@ietf.org; sctp-developers-list@cig.mot.com
Subject: [Tsvwg] Re: Must SCTP data chunks be in TSN order?


La Monte,

See my comments below...

"La Monte H.P. Yarroll" wrote:
> 
> Are SCTP DATA chunks bundled in a single packet required to be in TSN
> order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> recall a discussion suggesting that they ought to be in ascending TSN
> order, but that it is not required.
> 
> If they are NOT required to be in ascending TSN order, then we have
> some bothersome extra code to write for ECN:

So, you won't mind adding code to check whether TSNs are in ascending
order in *every* received packet and adding yet more code to reporting
any ordering violation?

I think the code you would need to add to enforce the new rule would be
many many times more than tracking the LOWEST TSN in your ECN
subroutine.

-Qiaobing

> 
> Appendix A:
> 
>    ECN-Echo:
> 
>    RFC 2481 details a specific bit for a receiver to send back in its
>    TCP acknowledgements to notify the sender of the Congestion
>    Experienced (CE) bit having arrived from the network.  For SCTP this
>    same indication is made by including the ECNE chunk.  This chunk
>    contains one data element, i.e. the lowest TSN associated with the IP
>    datagram marked with the CE bit, and looks as follows:
> 
> In other words, we have to find the LOWEST TSN in the whole packet.
> 
> For our implementation, we don't really care WHICH TSN we get in an
> incoming ECNE--we can identify the sending transport based on ANY TSN
> in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> the packet (better yet would be the LAST TSN).  How immutable is this?
> |
|
> |
|
> ---------------------- Mailing List commands
--------------------------------
> Send the following in the body of a message to
Majordomo@majordomo.cig.mot.com
> SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
list-name
> |
|
> Or you can use http://majordomo.cig.mot.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  Thu Jun 21 05:15: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 FAA22170
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 05:15: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 FAA06454;
	Thu, 21 Jun 2001 05:06: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 FAA06429
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 05:06:20 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id FAA22049
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 05:05:42 -0400 (EDT)
Received: from sunmail1.Sun.COM ([129.145.1.2])
	by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id DAA17397;
	Thu, 21 Jun 2001 03:06:15 -0600 (MDT)
Received: from jurassic.eng.sun.com (jurassic.Eng.Sun.COM [129.146.87.31])
	by sunmail1.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1-Sun.COM.mod.2) with ESMTP id CAA07557;
	Thu, 21 Jun 2001 02:07:30 -0700 (PDT)
Received: from buse (buse.France.Sun.COM [129.157.212.11])
	by jurassic.eng.sun.com (8.11.4+Sun/8.11.4) with SMTP id f5L967G129573;
	Thu, 21 Jun 2001 02:06:08 -0700 (PDT)
Date: Thu, 21 Jun 2001 11:06:12 +0200 (MEST)
From: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Reply-To: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Subject: Re: [Tsvwg] SCTP shutdown
To: bidulock@openss7.org
Cc: Erik Nordmark <Erik.Nordmark@eng.sun.com>,
        Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010620114247.G6826@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.993114372.31052.nordmark@jurassic.eng>
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 don't think that SCTP really needs half-close semantics.  I was
> just making an observation that, although the intention was not to
> support them, they are supported anyway. 

Since you claim that they are "supported" can you point me at the
sections in the RFC that specify what an implementation does to handle
half-closed?

I think you are saying that an implementation can be tricky and
implement non-standardized half-closed for SCTP and if it is done carefully
enough it might still interoperate with standard SCTP.
I DON'T think this is how we ensure interoperability in the IETF.
At a minimum there should be a spec on how to implement any optional
half-closed semantics in SCTP so that two vendors that both implement this
actually can interoperate.

  Erik


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


From tsvwg-admin@ietf.org  Thu Jun 21 05:56: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 FAA22581
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 05:56: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 FAA07515;
	Thu, 21 Jun 2001 05:41: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 FAA07446
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 05:41:50 -0400 (EDT)
Received: from exchange1.nuera.com (igate.nuera.com [204.216.240.98])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id FAA22477
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 05:41:08 -0400 (EDT)
Received: by exchange1.nuera.com with Internet Mail Service (5.5.2650.21)
	id <LA2LK5JC>; Thu, 21 Jun 2018 02:41:17 -0700
Message-ID: <E79883AEA37FD411A58C00508BAC5F4BD728EC@exchange1.nuera.com>
From: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
To: "'Jonathan Wood'" <Jonathan.Wood@Sun.COM>, tsvwg@ietf.org
Subject: RE: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock
	ets
Date: Thu, 21 Jun 2018 02:41:16 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01D40944.001836C0"
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_01D40944.001836C0
Content-Type: text/plain;
	charset="iso-8859-1"

Jonathan, 

shutdown() does not just provide protocol behavior it also provides
application layer behavior. I think we agree that few applications use
shutdown() to establish a steady-state half-closed TCP connection (and
therefore we are not trying to preserve this type of functionality), rather
most people use it to help in a graceful shutdown by receiving notifications
that all data has been sent/received and blocking further send/recv calls.

Robert.

-----Original Message-----
From:	Jonathan Wood [mailto:Jonathan.Wood@Sun.COM]
Sent:	Wednesday, June 20, 2001 10:33 PM
To:	tsvwg@ietf.org
Subject:	Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP
sockets

>
>> It is not the case that TCP apps expect to be able to do
>> send() after recv() returns 0.  recv() retruns 0 when the
>> connection is disconnected, and a TCP app cannot expect
>> to send() and recv() returns 0 in that case.  A TCP app
>> will get EPIPE/SIG_PIPE.  It is not different from the
>> possible SCTP case.
>
>In the context of what we are discussion (use of shutdown(SHUT_WR)
>to do TCP half-close), the app indeed expects to send after recv()
>returns 0.  You can check the code of, say, rsh.  Note that with
>TCP, recv() returning 0 does not necessarily mean that the socket 
>is disconnected.
>
Yes, Kacheong is correct.

With the current protocol rules, I don't believe that
it is possible to get full TCP-compatibility for shutdown().
While it would be nice to have full compatibility, it would
be hard to justify changing SCTP for so little gain -
shutdown() really is seldom used functionality in TCP
sockets. (Of course, if someone could demonstrate how
half-close would be really useful, I might be swayed...)

It is also important to note that we could fairly easily
recode rsh for SCTP and get the same functionality
using streams.

I agree with Mark Bartlett that shutdown() is useful for
retrieving any remaining data and notifications. The
SCTP semantics would be exactly as defined in XPG.

The only difference is on the shutdown receiver side:
After getting an EOF on a socket, all subsequent attempts
to send will always fail with EPIPE.

Jonathan


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

------_=_NextPart_001_01D40944.001836C0
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] SCTP Sockets Mapping - Closure of TCP-style SCTP =
sockets</TITLE>
</HEAD>
<BODY>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">shutdown() does not just provide =
protocol behavior it also provides application layer behavior. I think =
we agree that few applications use shutdown() to establish a =
steady-state half-closed TCP connection (and therefore we are not =
trying to preserve this type of functionality), rather most people use =
it to</FONT><I> <FONT SIZE=3D2 FACE=3D"Arial">help</FONT></I><FONT =
SIZE=3D2 FACE=3D"Arial"> in a graceful shutdown by receiving =
notifications that all data has been sent/received and blocking further =
send/recv calls.</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; Jonathan Wood =
[<A =
HREF=3D"mailto:Jonathan.Wood@Sun.COM">mailto:Jonathan.Wood@Sun.COM</A>]<=
/FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D2 FACE=3D"Arial">Wednesday, June 20, 2001 10:33 PM</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">tsvwg@ietf.org</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] SCTP Sockets Mapping - =
Closure of TCP-style SCTP sockets</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&gt; It is not the case that TCP =
apps expect to be able to do</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&gt; send() after recv() returns =
0.&nbsp; recv() retruns 0 when the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&gt; connection is disconnected, =
and a TCP app cannot expect</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&gt; to send() and recv() returns =
0 in that case.&nbsp; A TCP app</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&gt; will get =
EPIPE/SIG_PIPE.&nbsp; It is not different from the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&gt; possible SCTP case.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;In the context of what we are =
discussion (use of shutdown(SHUT_WR)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;to do TCP half-close), the app =
indeed expects to send after recv()</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;returns 0.&nbsp; You can check =
the code of, say, rsh.&nbsp; Note that with</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;TCP, recv() returning 0 does not =
necessarily mean that the socket </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;is disconnected.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Yes, Kacheong is correct.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">With the current protocol rules, I =
don't believe that</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">it is possible to get full =
TCP-compatibility for shutdown().</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">While it would be nice to have full =
compatibility, it would</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">be hard to justify changing SCTP for =
so little gain -</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">shutdown() really is seldom used =
functionality in TCP</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">sockets. (Of course, if someone could =
demonstrate how</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">half-close would be really useful, I =
might be swayed...)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">It is also important to note that we =
could fairly easily</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">recode rsh for SCTP and get the same =
functionality</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">using streams.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I agree with Mark Bartlett that =
shutdown() is useful for</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">retrieving any remaining data and =
notifications. The</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">SCTP semantics would be exactly as =
defined in XPG.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The only difference is on the shutdown =
receiver side:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">After getting an EOF on a socket, all =
subsequent attempts</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">to send will always fail with =
EPIPE.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Jonathan</FONT>
</P>
<BR>

<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_01D40944.001836C0--

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


From tsvwg-admin@ietf.org  Thu Jun 21 10:04:13 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 KAA29315
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 10:04:08 -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 JAA14893;
	Thu, 21 Jun 2001 09:49: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 JAA14862
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 09:49:40 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-216.dallas.net [209.44.42.216])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA28778
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 09:49:02 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id IAA01672;
	Thu, 21 Jun 2001 08:48:48 -0500
Date: Thu, 21 Jun 2001 08:48:48 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Cc: Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP shutdown
Message-ID: <20010621084848.A30861@bfgbhome>
Reply-To: bidulock@openss7.org
References: <20010620114247.G6826@bfgbhome> <Roam.SIMC.2.0.6.993114372.31052.nordmark@jurassic.eng>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.993114372.31052.nordmark@jurassic.eng>; from Erik.Nordmark@eng.sun.com on Thu, Jun 21, 2001 at 11:06:12AM +0200
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Erik,

I eagerly await your draft. ;)

--Brian

On Thu, 21 Jun 2001, Erik Nordmark wrote:

> 
> > I don't think that SCTP really needs half-close semantics.  I was
> > just making an observation that, although the intention was not to
> > support them, they are supported anyway. 
> 
> Since you claim that they are "supported" can you point me at the
> sections in the RFC that specify what an implementation does to handle
> half-closed?
> 
> I think you are saying that an implementation can be tricky and
> implement non-standardized half-closed for SCTP and if it is done carefully
> enough it might still interoperate with standard SCTP.
> I DON'T think this is how we ensure interoperability in the IETF.
> At a minimum there should be a spec on how to implement any optional
> half-closed semantics in SCTP so that two vendors that both implement this
> actually can interoperate.
> 
>   Erik

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Thu Jun 21 11:58: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 LAA03790
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 11:58: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 LAA27020;
	Thu, 21 Jun 2001 11:38:12 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id LAA26988
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 11:38:11 -0400 (EDT)
Received: from coltrane.dataconnection.com (smtp.dataconnection.com [192.91.191.4])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA02923
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 11:37:32 -0400 (EDT)
Received: by coltrane.datcon.co.uk with Internet Mail Service (5.5.2653.19)
	id <M02QFWDF>; Thu, 21 Jun 2001 16:37:25 +0100
Message-ID: <37701240971DD31193970000F6CCB9F702B0B08D@duke.datcon.co.uk>
From: Jon Berger <JRB@dataconnection.com>
To: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>,
        "'Jonathan Wood'"
	 <Jonathan.Wood@Sun.COM>, tsvwg@ietf.org
Subject: RE: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock
	 ets
Date: Thu, 21 Jun 2001 16:37:32 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0FA68.16A615E0"
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_01C0FA68.16A615E0
Content-Type: text/plain;
	charset="iso-8859-1"

Absolutely.
 
There are three separate issues here.
 
1) Should SCTP have a half close state?
This is more of a religious than technical point.  I personally think the
answer is no because this hasn't proved to be all that useful in the real
world.
 
2) How does the sockets API for SCTP support receipt of data in a graceful
shutdown scenario.
This is a technical issue with the currently defined API.
Support of the shutdown() primitive would help here as a way of decoupling
association shutdown from socket shutdown.
 
3) How does the sockets API for SCTP support retrieval of unsent/unacked
data in a non-graceful shutdown scenario.
This is another technical issue with the currently defined API.
Again the problem here is that the association and socket shutdown need to
be decoupled.  Support of the shutdown() primitive with another flag
indicating hard closure would also fulfill this requirement.
 
In both cases, applications that don't care about this distinction can just
use close() as currently specified.
 
 

Jon 

-----Original Message-----
From: Fairlie-Cuninghame, Robert [mailto:rfairlie@nuera.com]
Sent: 21 June 2018 10:41
To: 'Jonathan Wood'; tsvwg@ietf.org
Subject: RE: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock
ets



Jonathan, 

shutdown() does not just provide protocol behavior it also provides
application layer behavior. I think we agree that few applications use
shutdown() to establish a steady-state half-closed TCP connection (and
therefore we are not trying to preserve this type of functionality), rather
most people use it to help in a graceful shutdown by receiving notifications
that all data has been sent/received and blocking further send/recv calls.

Robert. 

BM__MailData-----Original Message----- 
From:   Jonathan Wood [ mailto:Jonathan.Wood@Sun.COM
<mailto:Jonathan.Wood@Sun.COM> ] 
Sent:   Wednesday, June 20, 2001 10:33 PM 
To:     tsvwg@ietf.org 
Subject:        Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP
sockets 

> 
>> It is not the case that TCP apps expect to be able to do 
>> send() after recv() returns 0.  recv() retruns 0 when the 
>> connection is disconnected, and a TCP app cannot expect 
>> to send() and recv() returns 0 in that case.  A TCP app 
>> will get EPIPE/SIG_PIPE.  It is not different from the 
>> possible SCTP case. 
> 
>In the context of what we are discussion (use of shutdown(SHUT_WR) 
>to do TCP half-close), the app indeed expects to send after recv() 
>returns 0.  You can check the code of, say, rsh.  Note that with 
>TCP, recv() returning 0 does not necessarily mean that the socket 
>is disconnected. 
> 
Yes, Kacheong is correct. 

With the current protocol rules, I don't believe that 
it is possible to get full TCP-compatibility for shutdown(). 
While it would be nice to have full compatibility, it would 
be hard to justify changing SCTP for so little gain - 
shutdown() really is seldom used functionality in TCP 
sockets. (Of course, if someone could demonstrate how 
half-close would be really useful, I might be swayed...) 

It is also important to note that we could fairly easily 
recode rsh for SCTP and get the same functionality 
using streams. 

I agree with Mark Bartlett that shutdown() is useful for 
retrieving any remaining data and notifications. The 
SCTP semantics would be exactly as defined in XPG. 

The only difference is on the shutdown receiver side: 
After getting an EOF on a socket, all subsequent attempts 
to send will always fail with EPIPE. 

Jonathan 


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


------_=_NextPart_001_01C0FA68.16A615E0
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: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sockets</TITLE>

<META content="MSHTML 5.00.3211.1700" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#008080 face=Arial size=2><SPAN 
class=202492215-21062001>Absolutely.</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN 
class=202492215-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN class=202492215-21062001>There 
are three separate issues here.</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN 
class=202492215-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN class=202492215-21062001>1) 
Should SCTP have a half close state?</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN class=202492215-21062001>This 
is more of a religious than technical point.&nbsp; I personally think the answer 
is no because this hasn't proved to be all that useful in the real 
world.</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN 
class=202492215-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN class=202492215-21062001>2) How 
does the sockets API for SCTP support receipt of data in a graceful shutdown 
scenario.</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN class=202492215-21062001>This 
is a technical&nbsp;issue with the currently defined API.</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN 
class=202492215-21062001>Support of the shutdown() primitive would help here as 
a way of decoupling association shutdown from socket 
shutdown.</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN class=202492215-21062001>3) How 
does the sockets API for SCTP support retrieval of unsent/unacked data in a 
non-graceful shutdown scenario.</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN class=202492215-21062001>This 
is another technical issue with the currently defined API.</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN class=202492215-21062001>Again 
the problem here is that the association and socket shutdown need to be 
decoupled.&nbsp; Support of the shutdown() primitive with another flag 
indicating hard closure would also fulfill this requirement.</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN 
class=202492215-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN class=202492215-21062001>In 
both cases, applications that don't care about this distinction can just use 
close() as currently specified.</SPAN></FONT></DIV>
<DIV><FONT color=#008080 face=Arial size=2><SPAN 
class=202492215-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<P><B><FONT face="MS Sans Serif" size=2>Jon</FONT></B> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Fairlie-Cuninghame, Robert 
  [mailto:rfairlie@nuera.com]<BR><B>Sent:</B> 21 June 2018 10:41<BR><B>To:</B> 
  'Jonathan Wood'; tsvwg@ietf.org<BR><B>Subject:</B> RE: [Tsvwg] SCTP Sockets 
  Mapping - Closure of TCP-style SCTP sock ets<BR><BR></DIV></FONT>
  <P><FONT face=Arial size=2>Jonathan, </FONT></P>
  <P><FONT face=Arial size=2>shutdown() does not just provide protocol behavior 
  it also provides application layer behavior. I think we agree that few 
  applications use shutdown() to establish a steady-state half-closed TCP 
  connection (and therefore we are not trying to preserve this type of 
  functionality), rather most people use it to</FONT><I> <FONT face=Arial 
  size=2>help</FONT></I><FONT face=Arial size=2> in a graceful shutdown by 
  receiving notifications that all data has been sent/received and blocking 
  further send/recv calls.</FONT></P>
  <P><FONT face=Arial size=2>Robert.</FONT> </P>
  <P><A name=_MailData><FONT face=Arial size=2>-----Original 
  Message-----</FONT></A> <BR><B><FONT face=Arial size=2>From:&nbsp;&nbsp; 
  Jonathan Wood [<A 
  href="mailto:Jonathan.Wood@Sun.COM">mailto:Jonathan.Wood@Sun.COM</A>]</FONT></B> 
  <BR><B><FONT face=Arial size=2>Sent:&nbsp;&nbsp;</FONT></B> <FONT face=Arial 
  size=2>Wednesday, June 20, 2001 10:33 PM</FONT> <BR><B><FONT face=Arial 
  size=2>To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT face=Arial 
  size=2>tsvwg@ietf.org</FONT> <BR><B><FONT face=Arial 
  size=2>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT 
  face=Arial size=2>Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP 
  sockets</FONT> </P>
  <P><FONT face=Arial size=2>&gt;</FONT> <BR><FONT face=Arial size=2>&gt;&gt; It 
  is not the case that TCP apps expect to be able to do</FONT> <BR><FONT 
  face=Arial size=2>&gt;&gt; send() after recv() returns 0.&nbsp; recv() retruns 
  0 when the</FONT> <BR><FONT face=Arial size=2>&gt;&gt; connection is 
  disconnected, and a TCP app cannot expect</FONT> <BR><FONT face=Arial 
  size=2>&gt;&gt; to send() and recv() returns 0 in that case.&nbsp; A TCP 
  app</FONT> <BR><FONT face=Arial size=2>&gt;&gt; will get EPIPE/SIG_PIPE.&nbsp; 
  It is not different from the</FONT> <BR><FONT face=Arial size=2>&gt;&gt; 
  possible SCTP case.</FONT> <BR><FONT face=Arial size=2>&gt;</FONT> <BR><FONT 
  face=Arial size=2>&gt;In the context of what we are discussion (use of 
  shutdown(SHUT_WR)</FONT> <BR><FONT face=Arial size=2>&gt;to do TCP 
  half-close), the app indeed expects to send after recv()</FONT> <BR><FONT 
  face=Arial size=2>&gt;returns 0.&nbsp; You can check the code of, say, 
  rsh.&nbsp; Note that with</FONT> <BR><FONT face=Arial size=2>&gt;TCP, recv() 
  returning 0 does not necessarily mean that the socket </FONT><BR><FONT 
  face=Arial size=2>&gt;is disconnected.</FONT> <BR><FONT face=Arial 
  size=2>&gt;</FONT> <BR><FONT face=Arial size=2>Yes, Kacheong is 
  correct.</FONT> </P>
  <P><FONT face=Arial size=2>With the current protocol rules, I don't believe 
  that</FONT> <BR><FONT face=Arial size=2>it is possible to get full 
  TCP-compatibility for shutdown().</FONT> <BR><FONT face=Arial size=2>While it 
  would be nice to have full compatibility, it would</FONT> <BR><FONT face=Arial 
  size=2>be hard to justify changing SCTP for so little gain -</FONT> <BR><FONT 
  face=Arial size=2>shutdown() really is seldom used functionality in TCP</FONT> 
  <BR><FONT face=Arial size=2>sockets. (Of course, if someone could demonstrate 
  how</FONT> <BR><FONT face=Arial size=2>half-close would be really useful, I 
  might be swayed...)</FONT> </P>
  <P><FONT face=Arial size=2>It is also important to note that we could fairly 
  easily</FONT> <BR><FONT face=Arial size=2>recode rsh for SCTP and get the same 
  functionality</FONT> <BR><FONT face=Arial size=2>using streams.</FONT> </P>
  <P><FONT face=Arial size=2>I agree with Mark Bartlett that shutdown() is 
  useful for</FONT> <BR><FONT face=Arial size=2>retrieving any remaining data 
  and notifications. The</FONT> <BR><FONT face=Arial size=2>SCTP semantics would 
  be exactly as defined in XPG.</FONT> </P>
  <P><FONT face=Arial size=2>The only difference is on the shutdown receiver 
  side:</FONT> <BR><FONT face=Arial size=2>After getting an EOF on a socket, all 
  subsequent attempts</FONT> <BR><FONT face=Arial size=2>to send will always 
  fail with EPIPE.</FONT> </P>
  <P><FONT face=Arial size=2>Jonathan</FONT> </P><BR>
  <P><FONT face=Arial 
  size=2>_______________________________________________</FONT> <BR><FONT 
  face=Arial size=2>tsvwg mailing list</FONT> <BR><FONT face=Arial 
  size=2>tsvwg@ietf.org</FONT> <BR><FONT face=Arial size=2><A 
  href="http://www1.ietf.org/mailman/listinfo/tsvwg" 
  target=_blank>http://www1.ietf.org/mailman/listinfo/tsvwg</A></FONT> 
</P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C0FA68.16A615E0--

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


From tsvwg-admin@ietf.org  Thu Jun 21 16:05: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 QAA16366
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 16:05:45 -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 PAA11825;
	Thu, 21 Jun 2001 15:54: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 PAA11796
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 15:54:35 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA16095
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 15:53:56 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id MAA04917
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 12:54:31 -0700 (PDT)
Received: from sloth (dsl199-239.Eng.Sun.COM [129.146.199.239])
	by heliopolis.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id MAA12706
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 12:53:59 -0700 (PDT)
Message-Id: <200106211953.MAA12706@heliopolis.eng.sun.com>
Date: Thu, 21 Jun 2001 12:54:00 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: RE: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: N0rKR4CC6Mhj79ntUrimlA==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 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

> 3) How does the sockets API for SCTP support retrieval of unsent/unacked
> data in a non-graceful shutdown scenario.
> This is another technical issue with the currently defined API.
> Again the problem here is that the association and socket shutdown need to
> be decoupled.  Support of the shutdown() primitive with another flag
> indicating hard closure would also fulfill this requirement.
>  

Alternately we could do what UDP-style sockets do for this -
Include the MSG_ABORT flag in the sndrcvinfo ancillary
data flags structure (see section 5.2.2 in the sockets draft).

Brian, you have argued forcefully against changing the semantics
of shutdown() -- how would you feel about the addition of a
flag, vs. using a flag in sendmsg()?


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


From tsvwg-admin@ietf.org  Thu Jun 21 16:43: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 QAA17326
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 16:43: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 QAA13027;
	Thu, 21 Jun 2001 16:30: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 QAA12993
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 16:30:15 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA16899
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 16:29:38 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id NAA17891
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 13:30:14 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id NAA11608
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 13:30:13 -0700 (PDT)
Date: Thu, 21 Jun 2001 13:29:57 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: RE: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <200106211953.MAA12706@heliopolis.eng.sun.com>
Message-ID: <Roam.SIMC.2.0.6.993155397.24649.kcpoon@eng.sun.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

> > 3) How does the sockets API for SCTP support retrieval of unsent/unacked
> > data in a non-graceful shutdown scenario.
> > This is another technical issue with the currently defined API.
>
> Alternately we could do what UDP-style sockets do for this -
> Include the MSG_ABORT flag in the sndrcvinfo ancillary
> data flags structure (see section 5.2.2 in the sockets draft).

I think this is safer.  It is true that shutdown() has the socket
level semantics defined.  But I don't think it is safe to introduce
a SCTP level semantics to shutdown() as most people are familiar with
the shutdown() semantics of TCP and we cannot make it work in SCTP.

							K. Poon.
							kcpoon@eng.sun.com




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


From tsvwg-admin@ietf.org  Thu Jun 21 16:44: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 QAA17344
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 16:44: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 QAA13290;
	Thu, 21 Jun 2001 16:34: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 QAA13261
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 16:34:33 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-216.dallas.net [209.44.42.216])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA17078
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 16:33:41 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id PAA08672;
	Thu, 21 Jun 2001 15:33:37 -0500
Date: Thu, 21 Jun 2001 15:33:37 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010621153337.D4697@bfgbhome>
Reply-To: bidulock@openss7.org
References: <200106211953.MAA12706@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <200106211953.MAA12706@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Thu, Jun 21, 2001 at 12:54:00PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by bfgbhome.inetint.com id PAA08672
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id QAA13262
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 QAA13290
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id QAA17344

Jonathan,

I don't want to change the API semantics (because it takes
XPG or POSIX to do that).

I frankly don't give a hoot if rsh can't be ported smoothly
to SCTP.  Aside from idle experiments, it doesn't really make
any sense to me to do so.  What I do believe is that shutdown()
can be used within the existing API to provide a mechanism
outside of close() for performing orderly shutdown of an
association without destroying the socket.  It is an apt and
suitable purpose and is used in this fashion for ISO sockets.

I would like to avoid using connectionless flags (particularly
"new" ones which are not defined in the current XPG/POSIX
specifications) on connection-oriented sockets for such a common
SCTP procedure.

IMHO. ;)

--brian

On Thu, 21 Jun 2001, Jonathan Wood wrote:

> > 3) How does the sockets API for SCTP support retrieval of unsent/unacked
> > data in a non-graceful shutdown scenario.
> > This is another technical issue with the currently defined API.
> > Again the problem here is that the association and socket shutdown need to
> > be decoupled.  Support of the shutdown() primitive with another flag
> > indicating hard closure would also fulfill this requirement.
> >  
> 
> Alternately we could do what UDP-style sockets do for this -
> Include the MSG_ABORT flag in the sndrcvinfo ancillary
> data flags structure (see section 5.2.2 in the sockets draft).
> 
> Brian, you have argued forcefully against changing the semantics
> of shutdown() -- how would you feel about the addition of a
> flag, vs. using a flag in sendmsg()?
> 
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
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 Jun 21 17:58: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 RAA18781
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 17:58: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 RAA15343;
	Thu, 21 Jun 2001 17:40: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 RAA15310
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 17:40:29 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA18491
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 17:39:51 -0400 (EDT)
Received: (cpmta 23638 invoked from network); 21 Jun 2001 14:39:57 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.206) with SMTP; 21 Jun 2001 14:39:57 -0700
X-Sent: 21 Jun 2001 21:39:57 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Tsvwg" <tsvwg@ietf.org>
Date: Thu, 21 Jun 2001 14:37:43 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJOEBACJAA.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)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] SCTP CRC algorithm correction
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,

Here is an update to the Integrity-Authentication Digest for SCTP correcting
the byte order.
ftp://ftp.sanlight.net/pub/draft-otis-sctp-digest-02.txt

The check code is at
ftp://ftp.sanlight.net/pub/crc-32cc.c

Doug


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


From tsvwg-admin@ietf.org  Thu Jun 21 18:08: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 SAA18978
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 18:08: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 RAA15748;
	Thu, 21 Jun 2001 17:56: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 RAA15723
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 17:56: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 RAA18751
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 17:56:18 -0400 (EDT)
Received: from Unknown/Local ([?.?.?.?]) by shared1-mail.whowhere.com; Thu Jun 21 14:56:15 2001
To: tsvwg@ietf.org
Date: Thu, 21 Jun 2001 14:56:15 -0700
From: "Lyndon Ong" <lyndon_ong@eudoramail.com>
Message-ID: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
Mime-Version: 1.0
X-Sent-Mail: off
Reply-To: lyndon_ong@eudoramail.com
X-Expiredinmiddle: true
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] sctp error check
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

Folks,

It's a bit worrying that we are not reaching more of a consensus, as time goes on revising the spec will have greater impact.  

The main alternatives are (1) keeping the present checksum and possibly introducing an optional CRC chunk or (2) changing to CRC.

I support Randy's view that there's no advantage to adding a negotiation process to this, compared to adding an optional CRC chunk that can be discarded by implementations not using CRC.

The issue that seems to be holding this up is disagreement on how bad the problem is with the current checksum, some folks with the view that since there is a known flaw in the Adler-32 we should not put this into a new transport protocol and some folks with the view that it hasn't been established whether the flaw has real impact.

Any suggestions on how to get past this?

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 Jun 21 18:25: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 SAA19167
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 18:25: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 SAA16647;
	Thu, 21 Jun 2001 18:19:25 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA16616
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 18:19:22 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA19085
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 18:18:44 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA09096
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 15:19:21 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id PAA08065
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 15:19:21 -0700 (PDT)
Date: Thu, 21 Jun 2001 15:19:05 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010621153337.D4697@bfgbhome>
Message-ID: <Roam.SIMC.2.0.6.993161945.2409.kcpoon@eng.sun.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 don't want to change the API semantics (because it takes
> XPG or POSIX to do that).

So there are 3 choices to do this:

1. Just have a socket level semantics for shutdown().  But it
does not do anything in the SCTP level.

2. In addition to 1, create a SCTP semantics for that.  The natural
one is for shutdown(SHUT_WR) to initiate the close down sequence,
SCTP will eventually send out the SHUTDOWN chunk.  But this is not
compatible with the TCP semantics, which should be noted in the draft.
This also precludes the use of any new flag in sendmsg() in the TCP
style socket to do similar thing.

3. In addition ot 1, use the same flag with sendmsg() as in UDP style 
socket to do the close down sequence.

Note that close() remain to have the same meaning in all choices.

I think Brian voted for 2 already.  What do other people think?  Or
is there other alternative?

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Thu Jun 21 18:51: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 SAA19540
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 18:51: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 SAA17264;
	Thu, 21 Jun 2001 18:40: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 SAA17235
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 18:40:27 -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 SAA19406
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 18:39:49 -0400 (EDT)
Received: [from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id PAA24936; Thu, 21 Jun 2001 15:40:26 -0700 (MST)]
Received: [from relay2.cig.mot.com (relay2.cig.mot.com [136.182.15.24]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id PAA04779; Thu, 21 Jun 2001 15:40:25 -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 RAA23290; Thu, 21 Jun 2001 17:39:29 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id RAA16632; Thu, 21 Jun 2001 17:39:29 -0500 (CDT)
Message-Id: <200106212239.RAA16632@agevole.cig.mot.com>
Date: Thu, 21 Jun 2001 17:47:57 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: lyndon_ong@eudoramail.com
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.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

Lyndon Ong wrote:
> 
> Folks,
> 
> It's a bit worrying that we are not reaching more of a consensus, as time goes on revising the spec will have greater impact.
> 
> The main alternatives are (1) keeping the present checksum and possibly introducing an optional CRC chunk or (2) changing to CRC.
> 
> I support Randy's view that there's no advantage to adding a negotiation process to this, compared to adding an optional CRC chunk that can be discarded by implementations not using CRC.
> 
> The issue that seems to be holding this up is disagreement on how bad the problem is with the current checksum, some folks with the view that since there is a known flaw in the Adler-32 we should not put this into a new transport protocol and some folks with the view that it hasn't been established whether the flaw has real impact.
> 
> Any suggestions on how to get past this?

Can we say that the "burden of proof" is on the side who wants to change
the "status quo" :-)

-Qiaobing

> 
> 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  Thu Jun 21 19:02: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 TAA19784
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 19:02: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 SAA17479;
	Thu, 21 Jun 2001 18:52: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 SAA17452
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 18:52:12 -0400 (EDT)
Received: from motgate3.mot.com (motgate3.mot.com [144.189.100.103])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA19589
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 18:51:36 -0400 (EDT)
Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate3.mot.com (motgate3 2.1) with ESMTP id PAA21319 for <tsvwg@ietf.org>; Thu, 21 Jun 2001 15:45:26 -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 PAA11607 for <tsvwg@ietf.org>; Thu, 21 Jun 2001 15:52:10 -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 RAA24209; Thu, 21 Jun 2001 17:52:09 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id RAA16746; Thu, 21 Jun 2001 17:52:07 -0500 (CDT)
Message-Id: <200106212252.RAA16746@agevole.cig.mot.com>
Date: Thu, 21 Jun 2001 18:00:35 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jon Berger <JRB@dataconnection.com>
CC: Qiaobing Xie <Qiaobing_Xie-QXIE1@email.mot.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
References: <37701240971DD31193970000F6CCB9F702B0B044@duke.datcon.co.uk>
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

Hmmm, a surprise to me. This must have been an addition from the final
stage during the RFC editing.

Now, is there any implementation enforcing this "MUST" on the receiver
side? Or is every receiver just processing the arrived packets with
total trust that its peer data sender always puts TSNs in order?

I'd think a "SHOULD" here is better. 

If we want to keep the "MUST", then we need to clarify what the receiver
should do if a packet showed up with a bad TSN order.

-Qiaobing 

Jon Berger wrote:
> 
> RFC2960 section  6.10:
> "The transmitter MUST transmit DATA chunks within a SCTP packet in
> increasing order of TSN."
> 
> Jon
> 
> -----Original Message-----
> From: Qiaobing Xie [mailto:xieqb@cig.mot.com]
> Sent: 20 June 2001 22:59
> To: La Monte H.P. Yarroll
> Cc: tsvwg@ietf.org; sctp-developers-list@cig.mot.com
> Subject: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
> 
> La Monte,
> 
> See my comments below...
> 
> "La Monte H.P. Yarroll" wrote:
> >
> > Are SCTP DATA chunks bundled in a single packet required to be in TSN
> > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> > recall a discussion suggesting that they ought to be in ascending TSN
> > order, but that it is not required.
> >
> > If they are NOT required to be in ascending TSN order, then we have
> > some bothersome extra code to write for ECN:
> 
> So, you won't mind adding code to check whether TSNs are in ascending
> order in *every* received packet and adding yet more code to reporting
> any ordering violation?
> 
> I think the code you would need to add to enforce the new rule would be
> many many times more than tracking the LOWEST TSN in your ECN
> subroutine.
> 
> -Qiaobing
> 
> >
> > Appendix A:
> >
> >    ECN-Echo:
> >
> >    RFC 2481 details a specific bit for a receiver to send back in its
> >    TCP acknowledgements to notify the sender of the Congestion
> >    Experienced (CE) bit having arrived from the network.  For SCTP this
> >    same indication is made by including the ECNE chunk.  This chunk
> >    contains one data element, i.e. the lowest TSN associated with the IP
> >    datagram marked with the CE bit, and looks as follows:
> >
> > In other words, we have to find the LOWEST TSN in the whole packet.
> >
> > For our implementation, we don't really care WHICH TSN we get in an
> > incoming ECNE--we can identify the sending transport based on ANY TSN
> > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > the packet (better yet would be the LAST TSN).  How immutable is this?
> > |
> |
> > |
> |
> > ---------------------- Mailing List commands
> --------------------------------
> > Send the following in the body of a message to
> Majordomo@majordomo.cig.mot.com
> > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
> list-name
> > |
> |
> > Or you can use http://majordomo.cig.mot.com
> >
> ----------------------------------------------------------------------------
> --
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg
> |                                                                             |
> |                                                                             |
> ---------------------- Mailing List commands --------------------------------
> Send the following in the body of a message to Majordomo@majordomo.cig.mot.com
> SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info list-name
> |                                                                             |
> Or you can use http://majordomo.cig.mot.com
> ------------------------------------------------------------------------------

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


From tsvwg-admin@ietf.org  Thu Jun 21 19:27: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 TAA20176
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 19:27: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 TAA18329;
	Thu, 21 Jun 2001 19:18:30 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id TAA18298
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 19:18:28 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-216.dallas.net [209.44.42.216])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA20053
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 19:17:50 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id SAA10884;
	Thu, 21 Jun 2001 18:18:20 -0500
Date: Thu, 21 Jun 2001 18:18:20 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Kacheong Poon <kcpoon@eng.sun.com>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010621181820.F4697@bfgbhome>
Reply-To: bidulock@openss7.org
References: <20010621153337.D4697@bfgbhome> <Roam.SIMC.2.0.6.993161945.2409.kcpoon@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.993161945.2409.kcpoon@eng.sun.com>; from kcpoon@eng.sun.com on Thu, Jun 21, 2001 at 03:19:05PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by bfgbhome.inetint.com id SAA10884
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id TAA18299
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 TAA18329
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id TAA20176

Kacheong,

Yah... I suppose I voted for 2, but I don't mind a flag
provided it can be added to the sockets interface standards.

--Brian

On Thu, 21 Jun 2001, Kacheong Poon wrote:

> > I don't want to change the API semantics (because it takes
> > XPG or POSIX to do that).
> 
> So there are 3 choices to do this:
> 
> 1. Just have a socket level semantics for shutdown().  But it
> does not do anything in the SCTP level.
> 
> 2. In addition to 1, create a SCTP semantics for that.  The natural
> one is for shutdown(SHUT_WR) to initiate the close down sequence,
> SCTP will eventually send out the SHUTDOWN chunk.  But this is not
> compatible with the TCP semantics, which should be noted in the draft.
> This also precludes the use of any new flag in sendmsg() in the TCP
> style socket to do similar thing.
> 
> 3. In addition ot 1, use the same flag with sendmsg() as in UDP style 
> socket to do the close down sequence.
> 
> Note that close() remain to have the same meaning in all choices.
> 
> I think Brian voted for 2 already.  What do other people think?  Or
> is there other alternative?
> 
> 							K. Poon.
> 							kcpoon@eng.sun.com
> 
> 
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
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 Jun 21 19:28: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 TAA20204
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 19:28: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 TAA18241;
	Thu, 21 Jun 2001 19:16:30 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id TAA18217
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 19:16:28 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-42-216.dallas.net [209.44.42.216])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA20029
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 19:15:49 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id SAA10871;
	Thu, 21 Jun 2001 18:16:22 -0500
Date: Thu, 21 Jun 2001 18:16:22 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
Message-ID: <20010621181622.E4697@bfgbhome>
Reply-To: bidulock@openss7.org
References: <37701240971DD31193970000F6CCB9F702B0B044@duke.datcon.co.uk> <200106212252.RAA16746@agevole.cig.mot.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <200106212252.RAA16746@agevole.cig.mot.com>; from xieqb@cig.mot.com on Thu, Jun 21, 2001 at 06:00:35PM -0500
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Qiaobing,

On Thu, 21 Jun 2001, Qiaobing Xie wrote:

> Hmmm, a surprise to me. This must have been an addition from the final
> stage during the RFC editing.
> 
> Now, is there any implementation enforcing this "MUST" on the receiver
> side? Or is every receiver just processing the arrived packets with
> total trust that its peer data sender always puts TSNs in order?
> 
> I'd think a "SHOULD" here is better. 
> 
> If we want to keep the "MUST", then we need to clarify what the receiver
> should do if a packet showed up with a bad TSN order.

IMHO it doesn't make too much sense, and might even take more
work, to send them out of order).  As to what to do if they come
out of order: for interoperability sake, the implementation
"SHOULD NOT" rely on the fact that TSNs arrive in order.

I think that we are just talking about order within the SCTP
message here.  SCTP processing is such that it must handle TSNs
in different orders *between* SCTP messages.  It is not difficult
to make an implementation which can also handle them *within*
SCTP messages without additional processing effort.  If you cache
the last TSN received and expect to walk the out_of_order/gap
queue starting at the last cached point but fall back to scanning
from the beginning of the queue, out of order TSNs within an SCTP
message would just cause more fallbacks.

This does not address the original problem of middle boxes which
want to expect TSNs in increasing order within a message.  In that
case, perhaps leaving the "MUST" would be better.  Let the endpoint
take the more relaxed behavior.

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Thu Jun 21 19:28:29 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 TAA20216
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 19:28:29 -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 TAA18179;
	Thu, 21 Jun 2001 19:15:19 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id TAA18151
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 19:15:17 -0400 (EDT)
Received: from motgate2.mot.com (motgate2.mot.com [136.182.1.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA20018
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 19:14:39 -0400 (EDT)
Received: [from pobox2.mot.com (pobox2.mot.com [136.182.15.8]) by motgate2.mot.com (motgate2 2.1) with ESMTP id QAA07058; Thu, 21 Jun 2001 16:15:15 -0700 (MST)]
Received: [from em.cig.mot.com ([160.44.107.36]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id QAA07760; Thu, 21 Jun 2001 16:15:15 -0700 (MST)]
Received: (from piggy@localhost)
	by em.cig.mot.com (8.9.3/8.9.3) id SAA14863;
	Thu, 21 Jun 2001 18:15:14 -0500
From: "La Monte H.P. Yarroll" <piggy@em.cig.mot.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Thu, 21 Jun 2001 18:15:14 -0500 (CDT)
To: Qiaobing Xie <Qiaobing_Xie-QXIE1@email.mot.com>
Cc: Jon Berger <JRB@dataconnection.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
In-Reply-To: <200106212252.RAA16746@agevole.cig.mot.com>
References: <37701240971DD31193970000F6CCB9F702B0B044@duke.datcon.co.uk>
	<200106212252.RAA16746@agevole.cig.mot.com>
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-ID: <15154.32206.816494.671506@theor.em.cig.mot.com>
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

Our implementation is fully Postelian--we can process TSN's in any
order but we (now) put them in outbound packets in TSN order.

We WILL blithely assume that the first data chunk in a packet has the
lowest TSN and report that in an ECNE.  If a (nonconformant) peer
implementation violates the assumption on TSN ordering, it is
responsible for figuring out what the TSN in the ECNE means.

Qiaobing Xie writes:
 > Hmmm, a surprise to me. This must have been an addition from the final
 > stage during the RFC editing.
 > 
 > Now, is there any implementation enforcing this "MUST" on the receiver
 > side? Or is every receiver just processing the arrived packets with
 > total trust that its peer data sender always puts TSNs in order?
 > 
 > I'd think a "SHOULD" here is better. 
 > 
 > If we want to keep the "MUST", then we need to clarify what the receiver
 > should do if a packet showed up with a bad TSN order.
 > 
 > -Qiaobing 
 > 
 > Jon Berger wrote:
 > > 
 > > RFC2960 section  6.10:
 > > "The transmitter MUST transmit DATA chunks within a SCTP packet in
 > > increasing order of TSN."
 > > 
 > > Jon
 > > 
 > > -----Original Message-----
 > > From: Qiaobing Xie [mailto:xieqb@cig.mot.com]
 > > Sent: 20 June 2001 22:59
 > > To: La Monte H.P. Yarroll
 > > Cc: tsvwg@ietf.org; sctp-developers-list@cig.mot.com
 > > Subject: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
 > > 
 > > La Monte,
 > > 
 > > See my comments below...
 > > 
 > > "La Monte H.P. Yarroll" wrote:
 > > >
 > > > Are SCTP DATA chunks bundled in a single packet required to be in TSN
 > > > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
 > > > recall a discussion suggesting that they ought to be in ascending TSN
 > > > order, but that it is not required.
 > > >
 > > > If they are NOT required to be in ascending TSN order, then we have
 > > > some bothersome extra code to write for ECN:
 > > 
 > > So, you won't mind adding code to check whether TSNs are in ascending
 > > order in *every* received packet and adding yet more code to reporting
 > > any ordering violation?
 > > 
 > > I think the code you would need to add to enforce the new rule would be
 > > many many times more than tracking the LOWEST TSN in your ECN
 > > subroutine.
 > > 
 > > -Qiaobing
 > > 
 > > >
 > > > Appendix A:
 > > >
 > > >    ECN-Echo:
 > > >
 > > >    RFC 2481 details a specific bit for a receiver to send back in its
 > > >    TCP acknowledgements to notify the sender of the Congestion
 > > >    Experienced (CE) bit having arrived from the network.  For SCTP this
 > > >    same indication is made by including the ECNE chunk.  This chunk
 > > >    contains one data element, i.e. the lowest TSN associated with the IP
 > > >    datagram marked with the CE bit, and looks as follows:
 > > >
 > > > In other words, we have to find the LOWEST TSN in the whole packet.
 > > >
 > > > For our implementation, we don't really care WHICH TSN we get in an
 > > > incoming ECNE--we can identify the sending transport based on ANY TSN
 > > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
 > > > the packet (better yet would be the LAST TSN).  How immutable is this?
 > > > |
 > > |
 > > > |
 > > |
 > > > ---------------------- Mailing List commands
 > > --------------------------------
 > > > Send the following in the body of a message to
 > > Majordomo@majordomo.cig.mot.com
 > > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
 > > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
 > > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
 > > list-name
 > > > |
 > > |
 > > > Or you can use http://majordomo.cig.mot.com
 > > >
 > > ----------------------------------------------------------------------------
 > > --
 > > 
 > > _______________________________________________
 > > tsvwg mailing list
 > > tsvwg@ietf.org
 > > http://www1.ietf.org/mailman/listinfo/tsvwg
 > > |                                                                             |
 > > |                                                                             |
 > > ---------------------- Mailing List commands --------------------------------
 > > Send the following in the body of a message to Majordomo@majordomo.cig.mot.com
 > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
 > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
 > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info list-name
 > > |                                                                             |
 > > Or you can use http://majordomo.cig.mot.com
 > > ------------------------------------------------------------------------------

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


From tsvwg-admin@ietf.org  Thu Jun 21 19:30: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 TAA20269
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 19:30: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 TAA18600;
	Thu, 21 Jun 2001 19:25: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 TAA18530
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 19:25:00 -0400 (EDT)
Received: from motgate2.mot.com (motgate2.mot.com [136.182.1.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA20162
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 19:24:23 -0400 (EDT)
Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate2.mot.com (motgate2 2.1) with ESMTP id QAA12396; Thu, 21 Jun 2001 16:24:59 -0700 (MST)]
Received: [from relay1.cig.mot.com (relay1.cig.mot.com [136.182.15.23]) by mothost.mot.com (MOT-mothost 2.0) with ESMTP id QAA14146; Thu, 21 Jun 2001 16:24:59 -0700 (MST)]
Received: from agevole.cig.mot.com (agevole [136.182.3.251]) by relay1.cig.mot.com (8.8.8+Sun/SCERG-RELAY-1.11b) with ESMTP id SAA22943; Thu, 21 Jun 2001 18:24:57 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id SAA17023; Thu, 21 Jun 2001 18:24:56 -0500 (CDT)
Message-Id: <200106212324.SAA17023@agevole.cig.mot.com>
Date: Thu, 21 Jun 2001 18:33:24 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>
CC: Qiaobing Xie <Qiaobing_Xie-QXIE1@email.mot.com>,
        Jon Berger <JRB@dataconnection.com>, tsvwg@ietf.org,
        sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
References: <37701240971DD31193970000F6CCB9F702B0B044@duke.datcon.co.uk>
		<200106212252.RAA16746@agevole.cig.mot.com> <15154.32206.816494.671506@theor.em.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

"La Monte H.P. Yarroll" wrote:
> 
> Our implementation is fully Postelian--we can process TSN's in any
> order but we (now) put them in outbound packets in TSN order.

I would guess that most of the implementions will do it this way because
it makes a lot of sense. But this implies a "SHOULD" interpretation to
the spec.

-Qiaobing

> 
> We WILL blithely assume that the first data chunk in a packet has the
> lowest TSN and report that in an ECNE.  If a (nonconformant) peer
> implementation violates the assumption on TSN ordering, it is
> responsible for figuring out what the TSN in the ECNE means.
> 
> Qiaobing Xie writes:
>  > Hmmm, a surprise to me. This must have been an addition from the final
>  > stage during the RFC editing.
>  >
>  > Now, is there any implementation enforcing this "MUST" on the receiver
>  > side? Or is every receiver just processing the arrived packets with
>  > total trust that its peer data sender always puts TSNs in order?
>  >
>  > I'd think a "SHOULD" here is better.
>  >
>  > If we want to keep the "MUST", then we need to clarify what the receiver
>  > should do if a packet showed up with a bad TSN order.
>  >
>  > -Qiaobing
>  >
>  > Jon Berger wrote:
>  > >
>  > > RFC2960 section  6.10:
>  > > "The transmitter MUST transmit DATA chunks within a SCTP packet in
>  > > increasing order of TSN."
>  > >
>  > > Jon
>  > >
>  > > -----Original Message-----
>  > > From: Qiaobing Xie [mailto:xieqb@cig.mot.com]
>  > > Sent: 20 June 2001 22:59
>  > > To: La Monte H.P. Yarroll
>  > > Cc: tsvwg@ietf.org; sctp-developers-list@cig.mot.com
>  > > Subject: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
>  > >
>  > > La Monte,
>  > >
>  > > See my comments below...
>  > >
>  > > "La Monte H.P. Yarroll" wrote:
>  > > >
>  > > > Are SCTP DATA chunks bundled in a single packet required to be in TSN
>  > > > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
>  > > > recall a discussion suggesting that they ought to be in ascending TSN
>  > > > order, but that it is not required.
>  > > >
>  > > > If they are NOT required to be in ascending TSN order, then we have
>  > > > some bothersome extra code to write for ECN:
>  > >
>  > > So, you won't mind adding code to check whether TSNs are in ascending
>  > > order in *every* received packet and adding yet more code to reporting
>  > > any ordering violation?
>  > >
>  > > I think the code you would need to add to enforce the new rule would be
>  > > many many times more than tracking the LOWEST TSN in your ECN
>  > > subroutine.
>  > >
>  > > -Qiaobing
>  > >
>  > > >
>  > > > Appendix A:
>  > > >
>  > > >    ECN-Echo:
>  > > >
>  > > >    RFC 2481 details a specific bit for a receiver to send back in its
>  > > >    TCP acknowledgements to notify the sender of the Congestion
>  > > >    Experienced (CE) bit having arrived from the network.  For SCTP this
>  > > >    same indication is made by including the ECNE chunk.  This chunk
>  > > >    contains one data element, i.e. the lowest TSN associated with the IP
>  > > >    datagram marked with the CE bit, and looks as follows:
>  > > >
>  > > > In other words, we have to find the LOWEST TSN in the whole packet.
>  > > >
>  > > > For our implementation, we don't really care WHICH TSN we get in an
>  > > > incoming ECNE--we can identify the sending transport based on ANY TSN
>  > > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
>  > > > the packet (better yet would be the LAST TSN).  How immutable is this?
>  > > > |
>  > > |
>  > > > |
>  > > |
>  > > > ---------------------- Mailing List commands
>  > > --------------------------------
>  > > > Send the following in the body of a message to
>  > > Majordomo@majordomo.cig.mot.com
>  > > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
>  > > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
>  > > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
>  > > list-name
>  > > > |
>  > > |
>  > > > Or you can use http://majordomo.cig.mot.com
>  > > >
>  > > ----------------------------------------------------------------------------
>  > > --
>  > >
>  > > _______________________________________________
>  > > tsvwg mailing list
>  > > tsvwg@ietf.org
>  > > http://www1.ietf.org/mailman/listinfo/tsvwg
>  > > |                                                                             |
>  > > |                                                                             |
>  > > ---------------------- Mailing List commands --------------------------------
>  > > Send the following in the body of a message to Majordomo@majordomo.cig.mot.com
>  > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
>  > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
>  > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info list-name
>  > > |                                                                             |
>  > > Or you can use http://majordomo.cig.mot.com
>  > > ------------------------------------------------------------------------------

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


From tsvwg-admin@ietf.org  Thu Jun 21 19:54: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 TAA20619
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 19:54: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 TAA19288;
	Thu, 21 Jun 2001 19:42: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 TAA19258
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 19:41:59 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA20505
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 19:41:22 -0400 (EDT)
Received: (cpmta 20359 invoked from network); 21 Jun 2001 16:41:27 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.206) with SMTP; 21 Jun 2001 16:41:27 -0700
X-Sent: 21 Jun 2001 23:41:27 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: <lyndon_ong@eudoramail.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Thu, 21 Jun 2001 16:39:18 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJOEBCCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
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,

From my reading of the consensus, CRC has been decided.

Perhaps the next issue becomes how:
A) Modified Common Header and Digest Chunk at the beginning (akin to my
proposal).
B) Same Common Header where the Checksum is Null or reserved if Digest Chunk
is present.
C) Modified Common Header with Digest alone placed at the end of the packet.
D) Same Common Header where the Checksum is replaced with CRC.


The digest chunk and modified common header that I proposed would easily
allow:
1) No checking
2) Simple checking
3) CRC-32

The overhead would entail the added word containing the chunk type, digest
type, and length.  As this chunk would always be placed first within the
packet, its processing could switch based on digest type.  No negotiations.
This initial chunk type could also act as a future means of identifying
differences to make up for a lack of any reserved fields.  This digest list
could be shortened to just:
1) No checking
2) CRC-32

I do not think the amount of the code found in these options would be a
burden to have two included however but would forestall debate as to which
simple scheme to use.

Adding a digest chunk and still keeping a simple checking will burden the
CRC implementation with an extra word of overhead.  Even if the normal
checksum location was nulled if a digest chunk was present at the beginning
of the packet, an additional overhead of two words is added with an
identical amount of checking.  This added overhead could only be justified
if to support legacy.  Perhaps in the event of a digest chunk at the
beginning rather than just nulling the checksum, this could be defined as a
reserved field for future options.

If highly confident in a single error scheme, then placing this check at the
end of the packet has advantages with respect to processing.

Doug




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


From tsvwg-admin@ietf.org  Thu Jun 21 20:10: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 UAA20893
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:10: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 UAA20222;
	Thu, 21 Jun 2001 20:03: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 UAA19987
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:40 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20719
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:03 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:07 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:03 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.221] by hotmail.com (3.2) with ESMTP id MHotMailBCEEAC3E00C9400421C4CF2EC1DD107918; Mon Jun 11 17:24:57 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc02.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 17:23:47 -0700
Message-ID: <45c401c0faae$b54deb50$0e03ca0a@cp98suwbm02>
Content-Transfer-Encoding: 7bit
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BMF8G10317; Mon, 11 Jun 2001 15:15:08 -0700 (PDT)
Received: from chmls20.mediaone.net (chmls20.mediaone.net [24.147.1.156]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BMEnG10285 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 15:14:53 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from portege.reed.com (h00c002f43945.ne.mediaone.net [65.96.226.125]) by chmls20.mediaone.net (8.11.1/8.11.1) with ESMTP id f5BMEV601764; Mon, 11 Jun 2001 18:14:32 -0400 (EDT)
X-Mailer: QUALCOMM Windows Eudora Version 5.1
To: <naderv@msn.com>
From: "David P. Reed" <dpreed@reed.com>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything  else?
Cc: "Craig Partridge" <craig@aland.bbn.com>,
        "Jonathan Stone" <jonathan@DSG.Stanford.EDU>, <tsvwg@ietf.org>,
        "end2end" <end2end-interest@postel.org>,
        <jonathan@Gregorio.Stanford.EDU>
In-Reply-To: <200106112211.PAA22986@Gregorio.Stanford.EDU>
References: <Your message of "Mon, 11 Jun 2001 17:42:06 EDT." <5.1.0.14.2.20010611172743.04607430@mail.reed.com>
MIME-Version: 1.0
Content-Type: text/plain;	format=flowed;	charset="us-ascii"
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:03 -0700
X-OriginalArrivalTime: 12 Jun 2001 00:23:47.0296 (UTC) FILETIME=[F2455600:01C0F2D5]
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

Not to belabor this, but just passing the check-function test is not
sufficient.  It must also pass a variety of other tests to be accepted in
the context of a protocol (correct sequence number, correct address, ...).

So the simple combinatoric argument  you sketch below doesn't quite
work.  You can't synthesize just any datagram that passes the checksum.  It
also has to meet the other constraints.

At 03:02 PM 6/11/01 -0700, Jonathan Stone wrote:
>In message <5.1.0.14.2.20010611172743.04607430@mail.reed.com>,
>"David P. Reed" writes:
>
>
> >At 04:48 PM 6/11/01 -0400, Craig Partridge wrote:
> >>I think you've missed the point.  In a prior note, you suggested a line of
> >>thinking of assume an adversary.  Implicitly, that's an error model.
>
> >When you are trying to think through what kinds of errors software and
> >hardware design flaws might introduce, it helps to classify them by
> >computational complexity - it takes resources to screw stuff up in a
> >complicated way.
>
>*Almost*.  I think what you are reaching for here is more the
>Kolmorogov-Chaitin information in the errors.  But even
>that isn't quite right, for error detection.
>
>The problem is that for error-detection, what counts as
>``complicated'' is determined by the error-detection function.  Look
>at the 16-bit deletions we caught on a LAN at Stanford.  They have a
>*very* complicated description, if we have to describe them as
>error polynomials. If we are allowed to describe them as a deletion,
>they have very short descriptions.
>
>Problem is that this very short description doesn't tell you
>how "complex" the error appears to your error-check function.
>And that's what you care about.
>
>
>
> >The computational complexity needed to screw up cryptographic hash is known
> >to be high,
>
>Not quite. what's beleived to be computationally intractrable about
>one-way hashes is coming up with a message which matches some
>pre-specified hash; or a pair of inputs which collide on the same
>hash. It doesn't say that coming up with M1:H1 such that H1 == H(M1)
>is fiendishly hard; your argument about MD5 was, after all, that this
>was not much worse than CRCs to compute in software, right?
>
>We can extend this to shard-secret cryptographic systems, but it
>seems to me that your motivation for doing so is not detectinge errors
>(per se) at all.
>
>
> > whereas there are computationally simple functions that can
> >screw up  simple checksums.
>
>It really doesn't matter.  Over the space of all possible errors,
>they both do as well, given equivalent numbers of `bits'.
>
>
>If you are trying to argue that, *in pracrtice*, errors with higher
>Kolmorogov-Chaitin information are less likely than errors with low
>information....  well, we both know what white-noise looks like, right?

- David
--------------------------------------------
WWW Page: http://www.reed.com/dpr.html



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


From tsvwg-admin@ietf.org  Thu Jun 21 20:12: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 UAA20974
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:12: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 UAA20202;
	Thu, 21 Jun 2001 20:03: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 UAA19970
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:39 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20716
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:02 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:07 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:03 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.223] by hotmail.com (3.2) with ESMTP id MHotMailBCEEA8D8005F400421BBCF2EC1DF05F10; Mon Jun 11 17:10:00 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc04.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 17:07:55 -0700
Message-ID: <45be01c0faae$b51e28c0$0e03ca0a@cp98suwbm02>
Content-Transfer-Encoding: 7bit
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BLj8G05475; Mon, 11 Jun 2001 14:45:08 -0700 (PDT)
Received: from chmls06.mediaone.net (chmls06.mediaone.net [24.147.1.144]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BLgfG05040 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 14:42:41 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from portege.reed.com (h00c002f43945.ne.mediaone.net [65.96.226.125]) by chmls06.mediaone.net (8.11.1/8.11.1) with ESMTP id f5BLgN801667; Mon, 11 Jun 2001 17:42:23 -0400 (EDT)
X-Mailer: QUALCOMM Windows Eudora Version 5.1
To: <naderv@msn.com>
From: "David P. Reed" <dpreed@reed.com>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything  else?
Cc: "Jonathan Stone" <jonathan@DSG.Stanford.EDU>,
        "Craig Partridge" <craig@aland.bbn.com>, <tsvwg@ietf.org>,
        "end2end" <end2end-interest@postel.org>
In-Reply-To: <200106112048.f5BKmpF07926@aland.bbn.com>
References: <Your message of "Mon, 11 Jun 2001 14:53:47 EDT." <5.1.0.14.2.20010611143202.0462bec0@mail.reed.com>
MIME-Version: 1.0
Content-Type: text/plain;	format=flowed;	charset="us-ascii"
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:03 -0700
X-OriginalArrivalTime: 12 Jun 2001 00:07:55.0178 (UTC) FILETIME=[BAC3A8A0:01C0F2D3]
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

At 04:48 PM 6/11/01 -0400, Craig Partridge wrote:
>I think you've missed the point.  In a prior note, you suggested a line of
>thinking of assume an adversary.  Implicitly, that's an error model.

You're right, it's a model.  But there are advantages in not forcing the
model to be statistical.  Instead you can bound, say, the adversary's
computational complexity - which is what you do when thinking about a
cryptographic adversary, since inversion of one-way functions is blocked by
computational complexity considerations.

When you are trying to think through what kinds of errors software and
hardware design flaws might introduce, it helps to classify them by
computational complexity - it takes resources to screw stuff up in a
complicated way.

The computational complexity needed to screw up cryptographic hash is known
to be high, whereas there are computationally simple functions that can
screw up  simple checksums.





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


From tsvwg-admin@ietf.org  Thu Jun 21 20:13:05 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 UAA20999
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:13:01 -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 UAA20284;
	Thu, 21 Jun 2001 20:04: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 UAA20020
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:42 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20723
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:04 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:08 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:04 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.223] by hotmail.com (3.2) with ESMTP id MHotMailBCEEB028000A40042049CF2EC1DF06224; Mon Jun 11 17:41:27 2001
Message-ID: <45cd01c0faae$b5957ba0$0e03ca0a@cp98suwbm02>
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc04.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 17:40:09 -0700
X-Mailer: Microsoft CDO for Windows 2000
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BM59G09093; Mon, 11 Jun 2001 15:05:09 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from Gregorio.Stanford.EDU (IDENT:root@Gregorio.Stanford.EDU [171.64.66.243]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BM2ZG08481 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 15:02:35 -0700 (PDT)
Received: from Pescadero.DSG.Stanford.EDU (Pescadero.DSG.Stanford.EDU [171.64.79.21]) by Gregorio.Stanford.EDU (8.9.3/8.9.1) with ESMTP id PAA22986; Mon, 11 Jun 2001 15:11:01 -0700
To: <naderv@msn.com>
Cc: "Craig Partridge" <craig@aland.bbn.com>,
        "Jonathan Stone" <jonathan@DSG.Stanford.EDU>, <tsvwg@ietf.org>,
        "end2end" <end2end-interest@postel.org>,
        <jonathan@Gregorio.Stanford.EDU>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
In-Reply-To: Your message of "Mon, 11 Jun 2001 17:42:06 EDT."             <5.1.0.14.2.20010611172743.04607430@mail.reed.com>
From: "Jonathan Stone" <jonathan@DSG.Stanford.EDU>
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:04 -0700
X-OriginalArrivalTime: 12 Jun 2001 00:40:09.0663 (UTC) FILETIME=[3BCEA4F0:01C0F2D8]
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 <5.1.0.14.2.20010611172743.04607430@mail.reed.com>,
"David P. Reed" writes:


>At 04:48 PM 6/11/01 -0400, Craig Partridge wrote:
>>I think you've missed the point.  In a prior note, you suggested a line of
>>thinking of assume an adversary.  Implicitly, that's an error model.

>When you are trying to think through what kinds of errors software and
>hardware design flaws might introduce, it helps to classify them by
>computational complexity - it takes resources to screw stuff up in a
>complicated way.

*Almost*.  I think what you are reaching for here is more the
Kolmorogov-Chaitin information in the errors.  But even
that isn't quite right, for error detection.

The problem is that for error-detection, what counts as
``complicated'' is determined by the error-detection function.  Look
at the 16-bit deletions we caught on a LAN at Stanford.  They have a
*very* complicated description, if we have to describe them as
error polynomials. If we are allowed to describe them as a deletion,
they have very short descriptions.

Problem is that this very short description doesn't tell you
how "complex" the error appears to your error-check function.
And that's what you care about.



>The computational complexity needed to screw up cryptographic hash is known
>to be high,

Not quite. what's beleived to be computationally intractrable about
one-way hashes is coming up with a message which matches some
pre-specified hash; or a pair of inputs which collide on the same
hash. It doesn't say that coming up with M1:H1 such that H1 == H(M1)
is fiendishly hard; your argument about MD5 was, after all, that this
was not much worse than CRCs to compute in software, right?

We can extend this to shard-secret cryptographic systems, but it
seems to me that your motivation for doing so is not detectinge errors
(per se) at all.


> whereas there are computationally simple functions that can
>screw up  simple checksums.

It really doesn't matter.  Over the space of all possible errors,
they both do as well, given equivalent numbers of `bits'.


If you are trying to argue that, *in pracrtice*, errors with higher
Kolmorogov-Chaitin information are less likely than errors with low
information....  well, we both know what white-noise looks like, right?


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


From tsvwg-admin@ietf.org  Thu Jun 21 20:13:08 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 UAA21001
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:13: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 UAA20249;
	Thu, 21 Jun 2001 20:03: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 UAA20001
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:41 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20721
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:04 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:07 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:04 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.225] by hotmail.com (3.2) with ESMTP id MHotMailBCEEAD8500064004204DCF2EC1E1101215; Mon Jun 11 17:30:04 2001
Message-ID: <45c701c0faae$b565b910$0e03ca0a@cp98suwbm02>
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc06.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 17:26:14 -0700
X-Mailer: Microsoft CDO for Windows 2000
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BNA8G17479; Mon, 11 Jun 2001 16:10:08 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from Gregorio.Stanford.EDU (IDENT:root@Gregorio.Stanford.EDU [171.64.66.243]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BN6tG17016 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 16:06:55 -0700 (PDT)
Received: from Pescadero.DSG.Stanford.EDU (Pescadero.DSG.Stanford.EDU [171.64.79.21]) by Gregorio.Stanford.EDU (8.9.3/8.9.1) with ESMTP id QAA23203; Mon, 11 Jun 2001 16:15:20 -0700
To: <naderv@msn.com>
Cc: "Craig Partridge" <craig@aland.bbn.com>, <tsvwg@ietf.org>,
        "end2end" <end2end-interest@postel.org>, <jonathan@DSG.Stanford.EDU>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
In-Reply-To: Your message of "Mon, 11 Jun 2001 18:14:19 EDT."             <5.1.0.14.2.20010611181116.046205a0@mail.reed.com>
From: "Jonathan Stone" <jonathan@DSG.Stanford.EDU>
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:04 -0700
X-OriginalArrivalTime: 12 Jun 2001 00:26:14.0742 (UTC) FILETIME=[4A27CF60:01C0F2D6]
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 <5.1.0.14.2.20010611181116.046205a0@mail.reed.com>,
"David P. Reed" writes:


>Not to belabor this, but just passing the check-function test is not
>sufficient.  It must also pass a variety of other tests to be accepted in
>the context of a protocol (correct sequence number, correct address, ...).
>
>So the simple combinatoric argument  you sketch below doesn't quite
>work.  You can't synthesize just any datagram that passes the checksum.  It
>also has to meet the other constraints.

Oh, sure Thanks for pointing it out; I never meant it to be taken
that literally.  (In fact the next chapter of my dissertation talks
about this; I went through it in gory detail in in the ATM simulations
I did with Michael Greenwald, Jim Hughes, and Craig Partridge.)

You can interpret the result as applying to a check over just the
payload.  Or you an apply the result to all the bits at a give layer,
by sitting down and counting how many bits of information are check by
the syntactic check at a given layer.  Provided the ``check'' is a
function, not a relation, the proof still holds. (And yes, I did the
work to show how to extend it to a relation, though I didn't address
the specific example of TCP's window.)

The insight that we really cannot rank error-check functions _in
vacuo_, without reference to some error model[*]
(in the sense I use the phrase) is still valid.

[*] Or with reference to some input distribution, if you
buy the information-maximization story.





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


From tsvwg-admin@ietf.org  Thu Jun 21 20:13: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 UAA21013
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:13:08 -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 UAA20326;
	Thu, 21 Jun 2001 20:04: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 UAA20029
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:43 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20726
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:05 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:08 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:04 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.225] by hotmail.com (3.2) with ESMTP id MHotMailBCEEB1FA001C40042048CF2EC1E112080; Mon Jun 11 17:48:59 2001
Message-ID: <45d001c0faae$b5ad4960$0e03ca0a@cp98suwbm02>
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc06.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 17:47:52 -0700
X-Mailer: Microsoft CDO for Windows 2000
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BNUAG19816; Mon, 11 Jun 2001 16:30:10 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from Gregorio.Stanford.EDU (IDENT:root@Gregorio.Stanford.EDU [171.64.66.243]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BNQ2G19360 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 16:26:02 -0700 (PDT)
Received: from Pescadero.DSG.Stanford.EDU (Pescadero.DSG.Stanford.EDU [171.64.79.21]) by Gregorio.Stanford.EDU (8.9.3/8.9.1) with ESMTP id QAA23262; Mon, 11 Jun 2001 16:34:32 -0700
To: <naderv@msn.com>
Cc: <tsvwg@ietf.org>, <end2end-interest@postel.org>,
        <jonathan@Gregorio.Stanford.EDU>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
In-Reply-To: Your message of "Mon, 11 Jun 2001 18:00:27 CDT."             <OE594HIv6EybqfAj81E0000f5ae@hotmail.com>
From: "Jonathan Stone" <jonathan@DSG.Stanford.EDU>
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:04 -0700
X-OriginalArrivalTime: 12 Jun 2001 00:47:52.0742 (UTC) FILETIME=[4FD2E460:01C0F2D9]
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 <OE594HIv6EybqfAj81E0000f5ae@hotmail.com>,

"Christopher Forsythe" writes:

>The information that is being stated seems to be all about either hardware,
>or software checksumming. The pro of hardware checksumming, as stated in
>earlier messages, is to speed up the total time of processes. The con (as
>stated earlier) is that once placed into the hardware, it cannot be fixed
>easily if broken.
>
>Software checksumming seems to have the exact opposite effect. It doesn't
>seem to affect hardware performance. But it can be fixed if the software
>doesn't seem to be working properly.
>
>The question is.... why couldn't the two be combined?

Not to speak for David Reed or Vern Schryver, but that isn't how I see it.

What I've been trying to say is that after spending person-years
analyzing traces of damaged packets, the best model I have is that
errors at the IP or TCP/UDP/SCTP layers aren't due to line noise.
They're primarily due to memory glitches in packet-buffer memory, or
to glitches in the packet-transfer engines which move packets between
packet-buffer memory (including end-host source and sink buffers) and
the MAC/PHY-layer hardware.

I'm not worried about bugs in the outboard checksuming hardware per se.
The issue is that once the checksum computation is moved outboard,
it covers less of the end-to-end path --- and it misses part of the
path which (according to the absurldy tiny data samples which are all
we have) is an important source of packet-level errors: the path
between end-host memory and the end-host NIC.


Yes, there are good market drivers to use outboard checksumming.
What I'd ask for is a knob toy turn outboard checksums off or on,
and that the knob be off by default. That way, after an undetected error
has pervasively curdled your filesystem *and* your recent backups, you
have no-one to blame but the guy who turned the knob on.



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


From tsvwg-admin@ietf.org  Thu Jun 21 20:13: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 UAA21034
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:13: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 UAA19989;
	Thu, 21 Jun 2001 20:03: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 UAA19934
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:37 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20710
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:00 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:06 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:02 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.220] by hotmail.com (3.2) with ESMTP id MHotMailBCEE9E2F004C400421BFCF2EC1DC12FF8; Mon Jun 11 16:24:37 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc01.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 16:23:28 -0700
Message-ID: <45a901c0faae$b479ab60$0e03ca0a@cp98suwbm02>
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BKtLG28392; Mon, 11 Jun 2001 13:55:21 -0700 (PDT)
Received: from c007.snv.cp.net (c007-h008.c007.snv.cp.net [209.228.33.214]) by boreas.isi.edu (8.11.2/8.11.2) with SMTP id f5BKoKG27638 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 13:50:20 -0700 (PDT)
Received: (cpmta 28043 invoked from network); 11 Jun 2001 12:00:39 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)  by smtp.telocity.com (209.228.33.214) with SMTP; 11 Jun 2001 12:00:39 -0700
X-Sent: 11 Jun 2001 19:00:39 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: <naderv@msn.com>
Cc: <tsvwg@ietf.org>, "end2end" <end2end-interest@postel.org>
Subject: RE: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
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: <200106090024.f590OtP69779@aland.bbn.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:02 -0700
X-OriginalArrivalTime: 11 Jun 2001 23:23:28.0921 (UTC) FILETIME=[858D2090:01C0F2CD]
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

Craig,

Adding to that, if errors were only due to random noise, then a summation
would be okay.  If the errors are not random and are the result of a weak
bus driver as example, then these errors will find a considerable weakness
in a summation that has the same patterns as the errors.  Hardware related
errors may not be random in nature, so any assumption that errors are random
becomes incorrect in these cases.  The source of random errors on the serial
line is prevented by CRC, so remaining errors move more into the area of
hardware related.

Doug

> In message
> <4.3.2.7.2.20010608171151.0e9bfcf0@mira-sjc5-9.cisco.com>, "Michael
> A. Ramalho" writes:
>
> >I know of no other easily proven statement for
> >bit "stuckedness" for Alder (or even other statistical
> >or frequency based checking/detection algorithms).
>
> The TCP checksum catches all error patterns that are 15-bits longer or
> less and all but one 16-bit long error.  If you did the TCP checksum as
> a 32-bit checksum (32-bit adds instead of 16) you'd have the same
> property.  If single bit errors are the error pattern, CRC is overkill.
>
> Key point here is we need an error model that is realistic to determine
> what checksum to use.
>
> [Side point -- Jonathan apologies if this steals your thunder -- but
> Jonathan has a nice little proof that, if all error patterns are equally
> likely, that a checksum that just includes a fixed size constant to each
> packet is just as effective as any stronger check -- the moral here is, if
> you don't know the error pattern, you don't know which checksum
> to choose].
>
> Craig
>
> _______________________________________________
> 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  Thu Jun 21 20:13: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 UAA21047
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:13: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 UAA20051;
	Thu, 21 Jun 2001 20:03: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 UAA19939
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:38 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20712
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:01 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:06 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:02 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.222] by hotmail.com (3.2) with ESMTP id MHotMailBCEEA037005C400421BBCF2EC1DE08EC1; Mon Jun 11 16:33:12 2001
Message-ID: <45af01c0faae$b4a48bf0$0e03ca0a@cp98suwbm02>
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc03.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 16:31:56 -0700
X-Mailer: Microsoft CDO for Windows 2000
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BKt8G28364; Mon, 11 Jun 2001 13:55:08 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from aland.bbn.com (aland.bbn.com [204.162.9.10]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BKoCG27629 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 13:50:12 -0700 (PDT)
Received: from aland.bbn.com (localhost [127.0.0.1]) by aland.bbn.com (8.11.3/8.11.3) with ESMTP id f5BKmpF07926; Mon, 11 Jun 2001 16:48:51 -0400 (EDT)
To: <naderv@msn.com>
Cc: "Jonathan Stone" <jonathan@DSG.Stanford.EDU>,
        "Craig Partridge" <craig@aland.bbn.com>, <tsvwg@ietf.org>,
        "end2end" <end2end-interest@postel.org>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
In-Reply-To: Your message of "Mon, 11 Jun 2001 14:53:47 EDT."             <5.1.0.14.2.20010611143202.0462bec0@mail.reed.com>
From: "Craig Partridge" <craig@aland.bbn.com>
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:02 -0700
X-OriginalArrivalTime: 11 Jun 2001 23:31:56.0492 (UTC) FILETIME=[B41650C0:01C0F2CE]
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 <5.1.0.14.2.20010611143202.0462bec0@mail.reed.com>, "David P. Reed"
writes:

>>Third, is that I wonder if you took in the result from my dissertation
>>which Craig reported a couple of days ago?  Over the space of all
>>possible errors, md5 detects the exact same fraction of errors as MD4,
>>or as a 128-bit CRC, or a 128-bit sum, or even a 128-bit constant.
>>Given that, what is the *error-detection* rationale for using MD5--
>>as opposed (per the earlier disscussion) chooisng a cheaper function,
>>which gives us the same Shannon information?
>
>I did, but it does not make sense.  Detecting the same fraction is not the
>same as having a good probability of detecting the errors that happen in
>fact.  The constant function is particularly bad on this front.  But by
>using a keyed class of cryptographically based functions, you increase the
>potential set of errors that will be detected eventually if they are repeated.

I think you've missed the point.  In a prior note, you suggested a line of
thinking of assume an adversary.  Implicitly, that's an error model.

So what if traffic doesn't match that error model -- that is to say, errors
are not ones an adversary would pick -- then the checksum chosen is the
wrong one.

Craig


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


From tsvwg-admin@ietf.org  Thu Jun 21 20:13: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 UAA21059
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:13:27 -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 UAA20362;
	Thu, 21 Jun 2001 20:04: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 UAA20035
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:43 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20728
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:06 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:08 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:04 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.220] by hotmail.com (3.2) with ESMTP id MHotMailBCEEB31900B140042162CF2EC1DC0AE30; Mon Jun 11 17:53:45 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc01.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 17:52:39 -0700
Message-ID: <45d301c0faae$b5c9d210$0e03ca0a@cp98suwbm02>
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BNj8G21464; Mon, 11 Jun 2001 16:45:08 -0700 (PDT)
Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206]) by boreas.isi.edu (8.11.2/8.11.2) with SMTP id f5BNhpG21393 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 16:43:51 -0700 (PDT)
Received: (cpmta 20818 invoked from network); 11 Jun 2001 16:43:44 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)  by smtp.telocity.com (209.228.33.206) with SMTP; 11 Jun 2001 16:43:44 -0700
X-Sent: 11 Jun 2001 23:43:44 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: <naderv@msn.com>
Cc: <tsvwg@ietf.org>, "end2end" <end2end-interest@postel.org>
Subject: RE: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
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.4133.2400
In-Reply-To: <200106112156.OAA22915@Gregorio.Stanford.EDU>
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:04 -0700
X-OriginalArrivalTime: 12 Jun 2001 00:52:39.0968 (UTC) FILETIME=[FB061A00:01C0F2D9]
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,

You can't be suggesting a simple summation is worth using in the face of
router memory errors.  You have detected these in the wild and noted their
positions within a 32 word.  You have statistics that indicate there are
more bits in error than others suggesting there may be a weak bus driver
being seen.  From the simple tests that I have run, a simple summation is
extremely weak in this area.  A CRC still does well even when the entire
packet is corrupted including the CRC itself.  There is no need for the CRC
to be affected to improve the performance of the algorithm.  I can say that
Fletcher-16 2^n should be avoided altogether due to this extremely weak
memory bus performance.  It is no where near 2^32 in preformance.  It is
closer to 2^6.  The only reason for placing a mandatory chunk at the end of
the packet would be to ensure against truncation which a good check should
catch.  If there is only one checksum type allowed, then placing this at the
end of the packet has the advantage of minimizing the potential passes this
packet needs in preparation.  Adler-32 suffers the Fletcher problem if the
packet is small or mostly zero.

Doug


> To: Craig Partridge; David P. Reed
> Cc: tsvwg@ietf.org; end2end
> Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything
> else?
>
> In message <200106112048.f5BKmpF07926@aland.bbn.com>Craig Partridge writes
> >
> >In message <5.1.0.14.2.20010611143202.0462bec0@mail.reed.com>,
> "David P. Reed"
> >
> >writes:
>
>
>
> >I think you've missed the point.  In a prior note, you suggested
> a line of
> >thinking of assume an adversary.  Implicitly, that's an error model.
> >
> >So what if traffic doesn't match that error model -- that is to
> say, errors
> >are not ones an adversary would pick -- then the checksum chosen is the
> >wrong one.
>
> Craig,
>
> To be fair, there are several points kicking around here, and being
> made to (or intended for) different audiences.  The tsvwg folks are
> under time pressure to (re-)decide on a check function.  The e2e
> folks can take a longer, or at least a middle-vision, view.
>
> The way I'd put it to the tsvwg folks choosing a checksum is this:
> if you start appealing to catching all but 1 in 2^32 errors (or
> more accurately, 1 in 65521^2), then you have fallen into a fallacy.
>
> You have just conflated a purely combinatoric result, about the ratio
> of sizes of the domain and range of the error-check function, with a
> probabilistic statement about how likely *in practice* you are to
> catch errors.  What should give you a serious wake-up call,is to hear
> that even the constant function -- some constant 32-bit integer-- will
> catch the same fraction of all errors.  There's no grounds for
> labelling *any* function (in the mathematical sense) as stronger than
> another, unless we know something about the distribution of the
> errors, or how well some particular function does against some
> particular distribution.    CRCs are not any stronger  than
> checksums, *unless* we happen to know that the distribution of
> acutal errors tends to favour low Hamming-weight errors.
> (the data I and Craig have, is that it doesn't.)
>
>
> The point to Dave Reed is that the combinatoric argument is very
> general and applies to any function, whether the constant function, or
> a cryptographic hash, or a shared-secret key, provided we define
> "error check bits" to properly measure the fraction of bit
> combinations which are accepted, versus those which are
> rejected.
>
>
> One further thing I've mentioned in email is that I recently
> re-analyzed the captured error datasets which I and Craig and Vern
> gathered, and I did find one pattern which could be exploited here.
>
> The pattern is that the errors we found can be broadly characterized
> into two classes: either single-bit or short, low-hamming weight
> errors; or as errors where some prefix of the packet is bad; the
> packet is subjected to an error; and the error continues all the way
> to the end of the packet. The ratio of errored bits within that
> damaged `tail' of packet is very close to 0.5.
>
> That suggests an error model where we model packet-level errors as due
> to either signle-bit errors, memory-readout errors which affect a
> single word or cache line; or due to `stateful' errors in the
> hardware/software finite-state engines which move packets between
> packet- buffer memory, and the hardware which implements some specific
> media layer. (think of errors due to an under-run in a hardware FIFO,
> or a bad bit in a DMA pointer register.)
>
> There's two things to take away from that.  The first is that the
> errors we've acutally observed, in the only study of in-the-wildn
> packet-level errors I know of, the errors are so heavy that, on
> average, they affect more than R bits, for any R that's a plausible
> error-check. That says we're only going to catch errors stochastically.
> The second is that, since the errors seem to be stateful, putting the
> error-cheeck information at the end of the packet rather than in a
> fixed header field doesn't hurt, and (for the reasons we analyzed to
> death in our 98 ToN paper) will acutally help, for the kinds of
> nonuniform data we find in filesystems.
>
> If there's anything i can recommend to the tsvwg, its to pick even a
> 32-bit extension of the TCP checksum, rather than Adler32; and to
> think seriously about moving the error-check bits to the end.  Not to
> help hardware, but to make whatever error-check you use more resilient
> against errors in packet-processing engines which (once an error does
> hit) trash the remainder of the packet.
>
>
> _______________________________________________
> 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  Thu Jun 21 20:13: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 UAA21083
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:13: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 UAA20124;
	Thu, 21 Jun 2001 20:03: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 UAA19947
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:39 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20714
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:02 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:06 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:03 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.220] by hotmail.com (3.2) with ESMTP id MHotMailBCEEA18B001A4004204ACF2EC1DC08730; Mon Jun 11 16:38:57 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc01.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 16:37:40 -0700
Message-ID: <45b201c0faae$b4becab0$0e03ca0a@cp98suwbm02>
Content-Transfer-Encoding: 7bit
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BLjKG05525; Mon, 11 Jun 2001 14:45:20 -0700 (PDT)
Received: from chmls06.mediaone.net (chmls06.mediaone.net [24.147.1.144]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BLgiG05051 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 14:42:45 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from portege.reed.com (h00c002f43945.ne.mediaone.net [65.96.226.125]) by chmls06.mediaone.net (8.11.1/8.11.1) with ESMTP id f5BLgK801635; Mon, 11 Jun 2001 17:42:20 -0400 (EDT)
X-Mailer: QUALCOMM Windows Eudora Version 5.1
To: <naderv@msn.com>
From: "David P. Reed" <dpreed@reed.com>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything  else?
Cc: "Jonathan Stone" <jonathan@DSG.Stanford.EDU>,
        "Craig Partridge" <craig@aland.bbn.com>,
        "Dennis Ferguson" <dennis@juniper.net>,
        "Michael A. Ramalho" <mramalho@cisco.com>, <tsvwg@ietf.org>,
        "end2end" <end2end-interest@postel.org>,
        <jonathan@Gregorio.Stanford.EDU>
In-Reply-To: <200106112008.NAA22617@Gregorio.Stanford.EDU>
References: <Your message of "Mon, 11 Jun 2001 14:53:47 EDT." <5.1.0.14.2.20010611143202.0462bec0@mail.reed.com>
MIME-Version: 1.0
Content-Type: text/plain;	format=flowed;	charset="us-ascii"
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:03 -0700
X-OriginalArrivalTime: 11 Jun 2001 23:37:40.0875 (UTC) FILETIME=[815AFDB0:01C0F2CF]
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

At 01:00 PM 6/11/01 -0700, Jonathan Stone wrote:
>But outboard checksumming is source of additional uncaught errors:
>errors which would be caught by a software implementation of
>a checksum but not by an outboard implementation of the same checksum,
>because the actual cause of the error was between the hardware checksum
>and the in-memory buffer..
>
>You and Vern seem to be assuming that is a rare case. The data I have
>indicates that, amonsgt the end-hosts we could directly monitor and
>caught sending errored packets, it is a common case.

I think I was being too subtle.  Of course outboard checksumming is not a
good design for detecting errors.  But in today's market for network
hardware, reliability has very little effect on purchasing
decisions.  Price and performance matter more.  So outboard checksumming,
or no checksumming at all, is going to happen if it boosts performance for
a small price.  (The first part of this paraagraph may not agree with
Vernon's point of view, but I've always  viewed the checksum as a check
from the point that the source process creates the data to the point that
the target process receives it.  What I was agreeing with was his statement
that outboard checksumming is the certain result, driven by market forces).

If you could accelerate checksumming with inboard or outboard hardware
assist on the data as presented at the application-protocol interface, that
would be a better design than outboard checksum insertion into datagrams in
a NIC card.  Thus it isn't whether the checksum is done in hardware or
software, but when the checksum is calculated and checked relative to the
steps involved in processing the packets in the protocol.

We can talk offline about blind vs. malicious adversaries and error
models.  I would point out that there are many kinds of blind adversaries.

- David
--------------------------------------------
WWW Page: http://www.reed.com/dpr.html



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


From tsvwg-admin@ietf.org  Thu Jun 21 20:28:01 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 UAA21597
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:27: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 UAA21608;
	Thu, 21 Jun 2001 20:18: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 UAA21577
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:18:01 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA21234
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:17:23 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id RAA22382
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 17:17:59 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id RAA03478
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 17:17:59 -0700 (PDT)
Date: Thu, 21 Jun 2001 17:17:44 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: RE: [Tsvwg] sctp error check
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <NEBBJGDMMLHHCIKHGBEJOEBCCJAA.dotis@sanlight.net>
Message-ID: <Roam.SIMC.2.0.6.993169064.26283.kcpoon@eng.sun.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

> From my reading of the consensus, CRC has been decided.

While I don't think that we have a consensus, but I believe adding
a Digest chunk is the wrong thing to do.  If you want to have a
better check, use IPsec.  If your app wants to have a special digest
capability, add it to your app protocol.  The transport is the last
place for this.  SCTP is extensible does not mean that it has to be
bloated.  And it should not be the place to add all the things that
any apps want.  This is a no no.

And whatever the integrity checking algorithm the WG picks at last,
this has nothing to do with the Digest chunk.  They should be separated.
And IMHO, adding the Digest chunk is the wrong thing.  People will
then ask for compression chunk, encryption chunk, whatever app useful
chunk...  This WG should very carefully consider a request of adding any 
new chucks, especially at this point of SCTP development.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Thu Jun 21 20:35: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 UAA21904
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:35: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 UAA22222;
	Thu, 21 Jun 2001 20:30: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 UAA22191
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:30:13 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h013.c007.snv.cp.net [209.228.33.220])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA21679
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:29:36 -0400 (EDT)
Received: (cpmta 237 invoked from network); 21 Jun 2001 17:29:42 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.220) with SMTP; 21 Jun 2001 17:29:42 -0700
X-Sent: 22 Jun 2001 00:29:42 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: <tsvwg@ietf.org>
Subject: RE: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everythingelse?
Date: Thu, 21 Jun 2001 17:27:33 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJMEBFCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <45d601c0faae$b5e410d0$0e03ca0a@cp98suwbm02>
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

cpimssmtpoa01.msn.com,

What is the deal with 11 10 day old postings?

Doug


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


From tsvwg-admin@ietf.org  Thu Jun 21 20:41: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 UAA22095
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:41: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 UAA22752;
	Thu, 21 Jun 2001 20:33: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 UAA22684
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:33:03 -0400 (EDT)
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA21812
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:32:25 -0400 (EDT)
Received: from kkb3 (kkb3-098.kk.etx.ericsson.se [130.100.98.23])
	by penguin.wise.edt.ericsson.se (8.11.0/8.10.1/WIREfire-1.3) with SMTP id f5M0X0O17289
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 02:33:01 +0200 (MEST)
Received: from ericsson.com.au by kkb3 (SMI-8.6/LME-2.2.6)
	id CAA12899; Fri, 22 Jun 2001 02:32:55 +0200
Message-ID: <3B329239.621A5AD1@ericsson.com.au>
Date: Fri, 22 Jun 2001 10:32:57 +1000
From: Ian Rytina <ian.rytina@ericsson.com.au>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com> <200106212239.RAA16632@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



Qiaobing Xie wrote:

> Lyndon Ong wrote:
> >
> > Folks,
> >
> > It's a bit worrying that we are not reaching more of a consensus, as time goes on revising the spec will have greater impact.
> >
> > The main alternatives are (1) keeping the present checksum and possibly introducing an optional CRC chunk or (2) changing to CRC.
> >
> > I support Randy's view that there's no advantage to adding a negotiation process to this, compared to adding an optional CRC chunk that can be discarded by implementations not using CRC.
> >
> > The issue that seems to be holding this up is disagreement on how bad the problem is with the current checksum, some folks with the view that since there is a known flaw in the Adler-32 we should not put this into a new transport protocol and some folks with the view that it hasn't been established whether the flaw has real impact.
> >
> > Any suggestions on how to get past this?
>
> Can we say that the "burden of proof" is on the side who wants to change
> the "status quo" :-)
>
> -Qiaobing

Absolutely agree. I see from Craig's (11/06) and Jonathon's (12/06)
postings that they are making attempts to do this.

/Ian


>
> >
> > Lyndon
> >


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


From tsvwg-admin@ietf.org  Thu Jun 21 20:52: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 UAA22397
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 20:52: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 UAA23254;
	Thu, 21 Jun 2001 20:41: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 UAA23223
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:41:16 -0400 (EDT)
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA22053
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:40:38 -0400 (EDT)
Received: from kkb3 (kkb3-098.kk.etx.ericsson.se [130.100.98.23])
	by penguin.wise.edt.ericsson.se (8.11.0/8.10.1/WIREfire-1.3) with SMTP id f5M0fEO17793
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 02:41:14 +0200 (MEST)
Received: from ericsson.com.au by kkb3 (SMI-8.6/LME-2.2.6)
	id CAA12931; Fri, 22 Jun 2001 02:41:10 +0200
Message-ID: <3B329426.1453FD0C@ericsson.com.au>
Date: Fri, 22 Jun 2001 10:41:11 +1000
From: Ian Rytina <ian.rytina@ericsson.com.au>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <NEBBJGDMMLHHCIKHGBEJOEBCCJAA.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



Douglas Otis wrote:

> Lyndon,
>
> >From my reading of the consensus, CRC has been decided.
>

You must have a different understanding of the meaning of "consensus"
than I have. I thought Lyndon's summary was spot-on.

/Ian


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


From tsvwg-admin@ietf.org  Thu Jun 21 20:58: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 UAA22569
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 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 UAA20614;
	Thu, 21 Jun 2001 20:04:26 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA20081
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:46 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20736
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:08 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:15 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:11 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.224] by hotmail.com (3.2) with ESMTP id MHotMailBCEF6F0700B340042047CF2EC1E00DEA5; Tue Jun 12 07:15:40 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc05.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Tue, 12 Jun 2001 07:17:15 -0700
Message-ID: <465b01c0faae$b9e7bec0$0e03ca0a@cp98suwbm02>
Content-Transfer-Encoding: 7bit
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5CD0CG14417; Tue, 12 Jun 2001 06:00:12 -0700 (PDT)
Received: from chmls05.mediaone.net (chmls05.mediaone.net [24.147.1.143]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5CCoQG13267 for <end2end-interest@postel.org>; Tue, 12 Jun 2001 05:50:27 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from portege.reed.com (h00c002f43945.ne.mediaone.net [65.96.226.125]) by chmls05.mediaone.net (8.11.1/8.11.1) with ESMTP id f5CClZx06776; Tue, 12 Jun 2001 08:47:35 -0400 (EDT)
X-Mailer: QUALCOMM Windows Eudora Version 5.1
To: <naderv@msn.com>
From: "David P. Reed" <dpreed@reed.com>
Subject: RE: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything  else?
Cc: <tsvwg@ietf.org>, "end2end" <end2end-interest@postel.org>
In-Reply-To: <F66A04C29AD9034A8205949AD0C9010418BE55@win-msg-02.wingroup .windeploy.ntdev.microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;	format=flowed;	charset="us-ascii"
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:11 -0700
X-OriginalArrivalTime: 12 Jun 2001 14:17:15.0920 (UTC) FILETIME=[61BBC900:01C0F34A]
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

At 06:57 PM 6/11/01 -0700, Christian Huitema wrote:
>What is at stake here is whether we want a safety belt or an alarm bell.

I would argue that the current TCP isn't a very good alarm bell, because it
doesn't detect too-smart-for-their-own-good, friendly "adversaries" (such
as NATs that recompute the entire checksum correctly after making serious
changes to the contents) that inadvertently weaken the detection.
  Note that, if you really follow the e2e argument, this
>is OK: the only way to be certain that the back-up went well is by
>computing a strong checksum over the whole volume, not by trusting TCP.

Indeed.  But then the IETF ought to spread the gospel to the folks who are
responsible for FTP and SMTP, for example.  These poor souls typically
believe that TCP provides a *reliable* stream, where the word reliable is
implicitly defined as *perfect*.

>In fact, it is all a matter of probabilities and arbitrations. The
>transmission system should be good enough that the backup is OK most of
>the time, so that the e2e checksum (volume) only fails rarely, so that
>the cost of correction is acceptable...

I assume you mean by transmitting the whole file again.

- David
--------------------------------------------
WWW Page: http://www.reed.com/dpr.html



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


From tsvwg-admin@ietf.org  Thu Jun 21 21:00: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 VAA22630
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 21:00: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 UAA20537;
	Thu, 21 Jun 2001 20:04: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 UAA20101
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:47 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20740
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:09 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:17 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:13 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.223] by hotmail.com (3.2) with ESMTP id MHotMailBCEF8654003B400421C4CF2EC1DF058E8; Tue Jun 12 08:55:03 2001
Message-ID: <468901c0faae$bb167ac0$0e03ca0a@cp98suwbm02>
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc04.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Tue, 12 Jun 2001 08:54:25 -0700
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5CEZIG27019; Tue, 12 Jun 2001 07:35:18 -0700 (PDT)
X-Mailer: Microsoft CDO for Windows 2000
Received: from rip.psg.com (exim@rip.psg.com [147.28.0.39]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5CEUBG26140 for <end2end-interest@postel.org>; Tue, 12 Jun 2001 07:30:11 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from randy by rip.psg.com with local (Exim 3.16 #1) id 159p9d-0005Ri-00; Tue, 12 Jun 2001 07:28:25 -0700
From: "Randy Bush" <randy@psg.com>
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: <naderv@msn.com>
Cc: "David P. Reed" <dpreed@reed.com>,
        "Christian Huitema" <huitema@windows.microsoft.com>,
        "Douglas Otis" <dotis@sanlight.net>,
        "Jonathan Stone" <jonathan@DSG.Stanford.EDU>,
        "Craig Partridge" <craig@aland.bbn.com>, <tsvwg@ietf.org>,
        "end2end" <end2end-interest@postel.org>
Subject: RE: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything  else?
References: <F66A04C29AD9034A8205949AD0C9010418BE55@win-msg-02.wingroup .windeploy.ntdev.microsoft.com><3.0.6.32.20010612153752.00909530@elet.polimi.it>
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:13 -0700
X-OriginalArrivalTime: 12 Jun 2001 15:54:25.0281 (UTC) FILETIME=[F44DAF10:01C0F357]
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

> please remove my name from this mailing list.

*NEVER* send requests to be added to or removed from a mailing list to the
address used to send messages to recipients of the list.  It annoys them,
and they can't handle your request.

If you don't remember how you subscribed to the list originally, or someone
just gave you the list address, try:

1) <listname>-request

  Many lists provide such a mailbox for list "administrivia", as this type
  of request is called.

  If the list address is newbies@no.such.host, try sending your request to:

      newbies-request@no.such.host

2) Automated list manager

  Many lists are managed by automated list managers.  If <listname>-request
  doesn't work, try sending the message "help" to each of the above
  addresses.

  If the list address is newbies@no.such.host, try sending to:

      listserv@no.such.host
      lserv@no.such.host
      majordomo@no.such.host

3) Postmaster

  As a last resort, you can write to the postmaster on the list system
  and ask how to get your request processed.

  If the list address is newbies@no.such.host, try sending to:

      postmaster@no.such.host

Good luck!

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


From tsvwg-admin@ietf.org  Thu Jun 21 21:03: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 VAA22740
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 21:03: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 UAA23850;
	Thu, 21 Jun 2001 20:54:51 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA23817
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:54:49 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h008.c007.snv.cp.net [209.228.33.214])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA22456
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:54:12 -0400 (EDT)
Received: (cpmta 11597 invoked from network); 21 Jun 2001 17:54:11 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.214) with SMTP; 21 Jun 2001 17:54:11 -0700
X-Sent: 22 Jun 2001 00:54:11 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Kacheong Poon" <kcpoon@eng.sun.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Thu, 21 Jun 2001 17:52:02 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJIEBGCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <Roam.SIMC.2.0.6.993169064.26283.kcpoon@eng.sun.com>
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

Kacheong,

I am not sure how you have arrived at that conclusion.  A simple problem
with adding checking at the application is that there will never be a
standard method for doing so and hence no standards.  I doubt that CRC will
be allowed as a security digest?  Allowing extensibility is not a bad thing
if such extensions find use by many and not a few.  Already there are those
wishing for no checking as well as those wishing for better. To allow a
standard means of communication together with integrity flexibility, a
digest chunk does this well at the transport.  The alternative is a plethora
of variations of acknowledgement and retry within applications on top of
identical code within the transport.

I did not rule out not using a digest however.  I would assume you would
vote for D when the time comes.

Perhaps the next issue becomes how:
A) Modified Common Header and Digest Chunk at the beginning.
B) Same Common Header where the Checksum is Null or reserved if Digest Chunk
is present.
C) Modified Common Header with Digest alone placed at the end of the packet.
D) Same Common Header where the Checksum is replaced with CRC.

Doug



> > From my reading of the consensus, CRC has been decided.
>
> While I don't think that we have a consensus, but I believe adding
> a Digest chunk is the wrong thing to do.  If you want to have a
> better check, use IPsec.  If your app wants to have a special digest
> capability, add it to your app protocol.  The transport is the last
> place for this.  SCTP is extensible does not mean that it has to be
> bloated.  And it should not be the place to add all the things that
> any apps want.  This is a no no.
>
> And whatever the integrity checking algorithm the WG picks at last,
> this has nothing to do with the Digest chunk.  They should be separated.
> And IMHO, adding the Digest chunk is the wrong thing.  People will
> then ask for compression chunk, encryption chunk, whatever app useful
> chunk...  This WG should very carefully consider a request of adding any
> new chucks, especially at this point of SCTP development.
>
> 							K. Poon.
> 							kcpoon@eng.sun.com
>


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


From tsvwg-admin@ietf.org  Thu Jun 21 21:22: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 VAA23096
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 21:22: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 VAA24596;
	Thu, 21 Jun 2001 21:12: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 VAA24567
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 21:12:08 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA22896
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 21:11:30 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id SAA08402
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 18:12:06 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id SAA12561
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 18:12:06 -0700 (PDT)
Date: Thu, 21 Jun 2001 18:11:51 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: RE: [Tsvwg] sctp error check
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <NEBBJGDMMLHHCIKHGBEJIEBGCJAA.dotis@sanlight.net>
Message-ID: <Roam.SIMC.2.0.6.993172311.31501.kcpoon@eng.sun.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 am not sure how you have arrived at that conclusion.  A simple problem
> with adding checking at the application is that there will never be a
> standard method for doing so and hence no standards.  I doubt that CRC will

Different apps require different things.  Standardisation for the sack of
standardisation is the wrong thing to do.  How do we know what future
apps want?  As a matter of fact, standardize this at the transport level
is very wrong.  It seems that you are trying to force every apps to adopt
the same scheme...

> be allowed as a security digest?  Allowing extensibility is not a bad thing

Are you saying that we should throw away IPsec?

> if such extensions find use by many and not a few.  Already there are those
> wishing for no checking as well as those wishing for better. To allow a
> standard means of communication together with integrity flexibility, a
> digest chunk does this well at the transport.  The alternative is a plethora
> of variations of acknowledgement and retry within applications on top of
> identical code within the transport.

So is your design decision based on the fact that apps should be very
simple and everything should be done by the transport?  SCTP is a 
transport protocol, not an architecture...

> I did not rule out not using a digest however.  I would assume you would
> vote for D when the time comes.
> 
> Perhaps the next issue becomes how:
> A) Modified Common Header and Digest Chunk at the beginning.
> B) Same Common Header where the Checksum is Null or reserved if Digest Chunk
> is present.
> C) Modified Common Header with Digest alone placed at the end of the packet.
> D) Same Common Header where the Checksum is replaced with CRC.

Why D?  I still don't see a consensus here in the WG.  BTW, I don't believe
I have seen any mails in the list about coupling the decision of the
integrity check with digest chunk except yours.  Correct me on this if I 
missed some mails.  So the above choices are definitely the choices from
this WG.  No one will vote on them.

							K. Poon.
							kcpoon@eng.sun.com





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


From tsvwg-admin@ietf.org  Thu Jun 21 21:39: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 VAA24377
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 21:39: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 UAA20590;
	Thu, 21 Jun 2001 20:04:25 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA20091
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:46 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20738
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:09 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:15 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:12 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.220] by hotmail.com (3.2) with ESMTP id MHotMailBCEF78F4004440042161CF2EC1DC08BF10; Tue Jun 12 07:58:01 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc01.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Tue, 12 Jun 2001 07:57:27 -0700
Message-ID: <466901c0faae$ba4e21b0$0e03ca0a@cp98suwbm02>
Content-Transfer-Encoding: 7bit
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5CDZ7G18530; Tue, 12 Jun 2001 06:35:07 -0700 (PDT)
Received: from Morgana.Elet.PoliMi.IT (root@morgana.elet.polimi.it [131.175.120.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5CDWiG18347 for <end2end-interest@postel.org>; Tue, 12 Jun 2001 06:32:45 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from host lap_fra and sender lap-fra.elet.polimi.it [131.175.16.40]; by mail relay Morgana.Elet.PoliMi.IT (Sendmail Ver. 8.x.x / 2 Nov. 1998); with protocol SMTP and identifier PAA07896; on date and time Tue, 12 Jun 2001 15:30:19 +0200 (MET DST).
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
To: <naderv@msn.com>
From: "Luigi Fratta" <fratta@elet.polimi.it>
Subject: RE: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything  else?
Cc: <tsvwg@ietf.org>, "end2end" <end2end-interest@postel.org>
In-Reply-To: <5.1.0.14.2.20010612083845.04610670@mail.reed.com>
References: <F66A04C29AD9034A8205949AD0C9010418BE55@win-msg-02.wingroup .windeploy.ntdev.microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:12 -0700
X-OriginalArrivalTime: 12 Jun 2001 14:57:27.0661 (UTC) FILETIME=[FF3E41D0:01C0F34F]
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

please remove my name from this mailing list.
Thanks

lf

At 08.47 12/06/01 -0400, David P. Reed wrote:
>At 06:57 PM 6/11/01 -0700, Christian Huitema wrote:
>>What is at stake here is whether we want a safety belt or an alarm bell.
>
>I would argue that the current TCP isn't a very good alarm bell, because it
>doesn't detect too-smart-for-their-own-good, friendly "adversaries" (such
>as NATs that recompute the entire checksum correctly after making serious
>changes to the contents) that inadvertently weaken the detection.
>  Note that, if you really follow the e2e argument, this
>>is OK: the only way to be certain that the back-up went well is by
>>computing a strong checksum over the whole volume, not by trusting TCP.
>
>Indeed.  But then the IETF ought to spread the gospel to the folks who are
>responsible for FTP and SMTP, for example.  These poor souls typically
>believe that TCP provides a *reliable* stream, where the word reliable is
>implicitly defined as *perfect*.
>
>>In fact, it is all a matter of probabilities and arbitrations. The
>>transmission system should be good enough that the backup is OK most of
>>the time, so that the e2e checksum (volume) only fails rarely, so that
>>the cost of correction is acceptable...
>
>I assume you mean by transmitting the whole file again.
>
>- David
>--------------------------------------------
>WWW Page: http://www.reed.com/dpr.html
>
>
Prof. Luigi Fratta
Dipartimento di Elettronica e Informazione
Politecnico di Milano
Piazza Leonardo da Vinci, 32
20133  MILANO
Tel.+39-02-2399-3578   Fax.+39-02-2399-3413
email.  fratta@elet.polimi.it

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


From tsvwg-admin@ietf.org  Thu Jun 21 21:57: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 VAA24629
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 21:57: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 UAA20624;
	Thu, 21 Jun 2001 20:04: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 UAA20113
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:48 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20742
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:10 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:19 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:15 -0700
Received: from [207.46.193.220] by hotmail.com (3.2) with ESMTP id MHotMailBCEF9929007F4004204ACF2EC1DC0DDC10; Tue Jun 12 10:15:26 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc01.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Tue, 12 Jun 2001 10:14:54 -0700
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5CGAAG13524; Tue, 12 Jun 2001 09:10:10 -0700 (PDT)
Message-ID: <46a901c0faae$bc1cc730$0e03ca0a@cp98suwbm02>
Received: from mail2.microsoft.com (mail2.microsoft.com [131.107.3.124]) by boreas.isi.edu (8.11.2/8.11.2) with SMTP id f5CG7wG12987 for <end2end-interest@postel.org>; Tue, 12 Jun 2001 09:07:58 -0700 (PDT)
X-Mailer: Microsoft CDO for Windows 2000
Received: from 157.54.9.104 by mail2.microsoft.com (InterScan E-Mail VirusWall NT); Tue, 12 Jun 2001 09:07:51 -0700 (Pacific Daylight Time)
Received: from red-imc-01.redmond.corp.microsoft.com ([157.54.9.102]) by inet-imc-02.redmond.corp.microsoft.com with Microsoft SMTPSVC(5.0.2195.2883); Tue, 12 Jun 2001 09:07:36 -0700
Received: from win-imc-01.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.39]) by red-imc-01.redmond.corp.microsoft.com with Microsoft SMTPSVC(5.0.2195.2883); Tue, 12 Jun 2001 09:06:55 -0700
Received: from win-msg-02.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.134]) by win-imc-01.wingroup.windeploy.ntdev.microsoft.com with Microsoft SMTPSVC(5.0.2195.2966); Tue, 12 Jun 2001 09:05:39 -0700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Subject: RE: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
Thread-Topic: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
Thread-Index: AcDzQy8ChsPXftR+TaOVsXXWmRRQgAAFd1Ig
From: "Christian Huitema" <huitema@windows.microsoft.com>
To: <naderv@msn.com>
Cc: <tsvwg@ietf.org>, "end2end" <end2end-interest@postel.org>
X-OriginalArrivalTime: 12 Jun 2001 16:05:39.0046 (UTC) FILETIME=[85E61060:01C0F359]
Content-Transfer-Encoding: 7bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boreas.isi.edu id f5CG7wG12987
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:15 -0700
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

> From: David P. Reed [mailto:dpreed@reed.com]
>
> >What is at stake here is whether we want a safety belt or an alarm
bell.
>
> I would argue that the current TCP isn't a very good alarm bell,
because
> it
> doesn't detect too-smart-for-their-own-good, friendly "adversaries"
(such
> as NATs that recompute the entire checksum correctly after making
serious
> changes to the contents) that inadvertently weaken the detection.
>   Note that, if you really follow the e2e argument, this
> >is OK: the only way to be certain that the back-up went well is by
> >computing a strong checksum over the whole volume, not by trusting
TCP.
>
> Indeed.  But then the IETF ought to spread the gospel to the folks who
are
> responsible for FTP and SMTP, for example.  These poor souls typically
> believe that TCP provides a *reliable* stream, where the word reliable
is
> implicitly defined as *perfect*.

As Vernon pointed out, this is exactly what SSL/TLS gives you: a strong
checksum on top of TCP. It is actually commonly used in the
"continuously running applications" that Julo mentioned in his message.
I would expect these applications to do something smart when the SSL/TLS
checksum fails.

> >In fact, it is all a matter of probabilities and arbitrations. The
> >transmission system should be good enough that the backup is OK most
of
> >the time, so that the e2e checksum (volume) only fails rarely, so
that
> >the cost of correction is acceptable...
>
> I assume you mean by transmitting the whole file again.

That, or some form of divide and conquer. It is again a matter of
probabilities and arbitrations, whether or not you want to "optimize the
error cases."

-- Christian Huitema

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


From tsvwg-admin@ietf.org  Thu Jun 21 22:08: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 WAA24790
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 22:08: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 UAA20472;
	Thu, 21 Jun 2001 20:04: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 UAA20063
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:45 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20732
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:07 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:08 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:05 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.222] by hotmail.com (3.2) with ESMTP id MHotMailBCEEB4D9004640042047CF2EC1DE0DF91; Mon Jun 11 18:01:14 2001
Message-ID: <45d901c0faae$b5fe4f90$0e03ca0a@cp98suwbm02>
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc03.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 18:02:54 -0700
X-Mailer: Microsoft CDO for Windows 2000
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BK58G20802; Mon, 11 Jun 2001 13:05:08 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from Gregorio.Stanford.EDU (IDENT:root@Gregorio.Stanford.EDU [171.64.66.243]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BK0XG19960 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 13:00:33 -0700 (PDT)
Received: from Pescadero.DSG.Stanford.EDU (Pescadero.DSG.Stanford.EDU [171.64.79.21]) by Gregorio.Stanford.EDU (8.9.3/8.9.1) with ESMTP id NAA22617; Mon, 11 Jun 2001 13:08:55 -0700
To: <naderv@msn.com>
Cc: "Jonathan Stone" <jonathan@DSG.Stanford.EDU>,
        "Craig Partridge" <craig@aland.bbn.com>,
        "Dennis Ferguson" <dennis@juniper.net>,
        "Michael A. Ramalho" <mramalho@cisco.com>, <tsvwg@ietf.org>,
        "end2end" <end2end-interest@postel.org>,
        <jonathan@Gregorio.Stanford.EDU>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
In-Reply-To: Your message of "Mon, 11 Jun 2001 14:53:47 EDT."             <5.1.0.14.2.20010611143202.0462bec0@mail.reed.com>
From: "Jonathan Stone" <jonathan@DSG.Stanford.EDU>
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:05 -0700
X-OriginalArrivalTime: 12 Jun 2001 01:02:54.0834 (UTC) FILETIME=[69833520:01C0F2DB]
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 <5.1.0.14.2.20010611143202.0462bec0@mail.reed.com>
"David P. Reed" writes:


>At 11:22 AM 6/11/01 -0700, Jonathan Stone wrote:

[...]


>I think I side with Vernon Schryver (as I understand his
>point).  Checksumming is going to be done in outboard boxes even if it is
>cheap,

Yes, it will be done there. Yes, it is a cheap hardware speedup.

But outboard checksumming is source of additional uncaught errors:
errors which would be caught by a software implementation of
a checksum but not by an outboard implementation of the same checksum,
because the actual cause of the error was between the hardware checksum
and the in-memory buffer..

You and Vern seem to be assuming that is a rare case. The data I have
indicates that, amonsgt the end-hosts we could directly monitor and
caught sending errored packets, it is a common case.

For the end-hosts we could directly observe, the conditonal
probabillity of an error damaging a packet between the end-host's
computation of IP checksum and CRC computation, given that an error
happens at all, was significant.

Whether that is an artifact of the local environement or a general
observation, I can't say.


>I did, but it does not make sense.  Detecting the same fraction is not the
>same as having a good probability of detecting the errors that happen in
>fact.  The constant function is particularly bad on this front.

Then I failed to get the point across.  The proof Craig mentioned is
*not* saying that all functions are equvalent in practice.  It says
that if we have no information about the acutal, empirical
distribution of errors, we have no basis at all for saying that some
function is stronger than another. How, then, can we rank or compare
checksums, given we dont know a lot about the acutal distribution of
errors (and that the link-level models are clearly inapplicable?)


The approach I took was that, in the absence of information about what
kinds of errors happen now, (or in the future seeing as the Internet
is not statistically stationary), we should use error-check functions
which minimise the worst-case damage which a blind, uninformed
adversary can do.  The constant function is weak on that score,
because the adversary might choose never to hit the constant check
bits. (Even though, across all possible errors, the constant function
is just as good as any other).

That' a minimax argument: assume there's some error process, with some
distribution of acutal errors; but the error process is not smart
enough to damage bits and recompute a valid checksum.  Under those
conditions, how do we minimize the worst-case or expected rate of
undetected errors?

That's where I argue for maxmizing the Shannon information content of
the error-check bits. That minimizes the likelihood that a `blind'
error process will manage to stumble into doing errors which manage to
duplicate the error-check function we are acutally using.

Unless we know a lot more about the distribution of acutal,
in-the-wild errors, I dont think any better metric of error-check
functions is possible.  The good news for you is that cryptographic
functions do well on that metric.


>But by
>using a keyed class of cryptographically based functions, you increase the
>potential set of errors that will be detected eventually if they are repeated.


I dont follow this at all. From what think I understand, I beleive I
can construct a counter-example, if you let me count the key size
as part of the check bits. Can we maybe take this one off-line?



>>Last, a question. I've suggested an adversary models with `blind'
>>adversaries which can't exploit the structure of an error-check
>>function. You proposed informed, intelligent, malicious adversaries --
>>an intruder model which suggests cryptographic approaches.
>>We already have protocols which address those latter models.
>
>But they aren't standard.  If they were standardly used, we wouldn't need
>checksums.


But are they standardly needed, enough so to force the cost onto all
packets, from all hosts?

[...]



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


From tsvwg-admin@ietf.org  Thu Jun 21 22:11: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 WAA24875
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 22:11: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 UAA20432;
	Thu, 21 Jun 2001 20:04: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 UAA20054
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:45 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20730
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:06 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:08 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:04 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.225] by hotmail.com (3.2) with ESMTP id MHotMailBCEEB38800AD400421BBCF2EC1E110124; Mon Jun 11 17:55:42 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc06.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 17:54:37 -0700
Message-ID: <45d601c0faae$b5e410d0$0e03ca0a@cp98suwbm02>
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BLZ7G04086; Mon, 11 Jun 2001 14:35:07 -0700 (PDT)
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5BLYeG04018 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 14:34:40 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com with Novell_GroupWise; Mon, 11 Jun 2001 15:34:06 -0600
X-Mailer: Novell GroupWise Internet Agent 6.0
From: "Hilarie Orman" <HORMAN@volera.com>
To: <naderv@msn.com>
Cc: <tsvwg@ietf.org>, <end2end-interest@postel.org>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everythingelse?
MIME-Version: 1.0
Content-Type: text/plain;	charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boreas.isi.edu id f5BLYfG04019
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:04 -0700
X-OriginalArrivalTime: 12 Jun 2001 00:54:37.0476 (UTC) FILETIME=[41106640:01C0F2DA]
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

The fact that something was introduced as a short-term solution isn't
a strong argument against it being a long-term solution.  The world
doesn't always correspond to an inventor's viewpoint.

In the cases of NAT, firewalls, and transparent caches, you get
a huge increase in scalability.  This isn't merely "selling well", it's
also scaling well.  It is an engineering reality worthy of notice.

HTTP caches are an interesting case.  Unlike many other applications,
a large and important subset of the application semantics can be
interpreted and satisfied by intermediaries.  The fact that some get it
wrong and need to be fixed isn't an end-to-end argument at all; lots of
web servers make application layer mistakes and need fixing.

When the application semantics satisfy certain non-stateful
criteria, the transport addressing can be satisfied by "anycast",
and the end-to-end advice, important as it is in other cases,
just doesn't apply.

Hilarie

>>> "David P. Reed" <dpreed@reed.com> 06/11/01 11:47AM >>>
At 01:13 PM 6/11/01 -0400, Melinda Shore wrote:


>I'm going to assume that by "application messages" you mean
>"anything after the transport header."

Not exactly.  That's a network definition based on some assumption of the
"wire format".  The "transport header" is not visible to the application at
all, and has no role in the application semantics.  What I mean is that the
network protocol (say TCP or SCTP or whatever) has a specification, which
says that what data comes in goes out a specified other end unchanged (with
a certain level of assurance).

>   Anyway, to some extent
>it's already the case that there's an implicit rejection
>mechanism, in that some things already fail when certain kinds
>of middleboxes are introduced (firewalls break session-oriented
>protocols, NATs break integrity protection).

This is good?  When introduced, firewalls were justified as a short-term,
temporary patch because UNIX and other systems hadn't developed proper
security and authentication (see Cheswick and Bellovin's book for a very
clear statement that firewalls were a pragmatic shortstop, not the "right
answer").  Also when introduced, the NAT concept was proposed as a
short-term, temporary solution to a scarcity of 32-bit host IDs.  See the
original NAT RFCs.

I understand the pragmatic need, short-term  (being up to one's a** in
alligators is a tough position).  But they have never been good protocol
design approaches, and they don't achieve the function ascribed to them
  And worse, they make the semantics of the lower net layers horrendously
complex and difficult to change.  And then Checkpoint "invented" "stateful
inspection" and network administrators started to inject their own personal
"intelligence" into applications they knew nothing about.

Just because something "sells well" doesn't mean it is good design.

>Operators often
>don't want to make network topology known to applications, and
>it's difficult to find agreement, in practice, that transport-
>layer middleboxes should be detectable by applications.

If I can detect a transport layer middlebox because it tampers with packet
contents (inserting HTTP headers, spoofing web servers from "transparent"
caches that are out of date, ...) then the only way you are going to stop
me from detecting it is  to make it illegal to look at what happens to a
packet.

That kind of attitude (the idea that a network operator is supposed to be
able to interfere in end-to-end communications at will) seems like the
attitude of a company that doesn't fear losing business (gov't sanctioned
monopoly carriers and PTT's come to mind).





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


From tsvwg-admin@ietf.org  Thu Jun 21 22:23:06 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 WAA25120
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 22:23:06 -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 UAA20644;
	Thu, 21 Jun 2001 20:04: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 UAA20129
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:50 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20744
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:11 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:22 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:18 -0700
Content-Class: urn:content-classes:message
Received: from [207.46.193.221] by hotmail.com (3.2) with ESMTP id MHotMailBCEFBD1B009F4004204ECF2EC1DD0BFA14; Tue Jun 12 12:49:07 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc02.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Tue, 12 Jun 2001 12:50:42 -0700
Message-ID: <46e101c0faae$be116b40$0e03ca0a@cp98suwbm02>
Content-Transfer-Encoding: 7bit
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5CIU8G12163; Tue, 12 Jun 2001 11:30:08 -0700 (PDT)
Received: from red.juniper.net (red.juniper.net [207.17.136.137]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5CISAG11744 for <end2end-interest@postel.org>; Tue, 12 Jun 2001 11:28:10 -0700 (PDT)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Received: from juniper.net (wawa.juniper.net [172.17.20.55]) by red.juniper.net (8.9.3/8.9.3) with ESMTP id LAA07071; Tue, 12 Jun 2001 11:26:58 -0700 (PDT)
X-Mailer: exmh version 2.0.2 2/24/98
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: lists/end2end
To: <naderv@msn.com>
Cc: "Craig Partridge" <craig@aland.bbn.com>,
        "Michael A. Ramalho" <mramalho@cisco.com>, <tsvwg@ietf.org>,
        "end2end" <end2end-interest@postel.org>
Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
In-Reply-To: Your message of "Mon, 11 Jun 2001 09:14:10 EDT."             <5.1.0.14.2.20010611090754.04614010@mail.reed.com>
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
From: "Dennis Ferguson" <dennis@juniper.net>
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:18 -0700
X-OriginalArrivalTime: 12 Jun 2001 19:50:42.0591 (UTC) FILETIME=[F6A382F0:01C0F378]
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

> At 04:52 PM 6/10/01 -0700, Dennis Ferguson wrote:
> >Choices which are really good under some sets of circumstances are really
> >bad under others.  For link-by-link protection from transmission errors we
> >have the luxury of crafting the error detection to match the characteristics
> >of the link, and even of changing it if the original choice is proven wrong,
> >but end-to-end checksums are long-lived and are supposed to be able to treat
> >the network stuff in between the ends as an ever-changing black box.  I
> >have no idea how you design for this.
>
> The traditional way to deal with this kind of non-statistical uncertainty
> is pretty straightforward.  What you do is assume that the error process is
> an *adversary* that knows everything about the protocol that can be known,
> and who *wins* the game if they can corrupt the data with a high enough
> probability.
>
> The result of this thinking is that cryptographic message authentication is
> the appropriate answer.  A "key" chosen out of sight of the adversary, at
> random, is used to select from a range of functional transformations which
> are diverse enough so that without knowledge of the key, one cannot
> transform the datagram into an acceptable one.
>
> For this, you don't need an "error model".

Actually what you seem to be doing is changing the problem from error
detection to something that is a bit different.  If we maintain focus
on the error detection problem, however, it is still the case that you've
suggested a solution for end-to-end error detection which I shouldn't
have precluded, that being "brute force".

If MD5 is a good example, then the two properties which make a good
cryptographic checksum seem to be

(1) they carry around a lot of bits in the packet, more than we're
    usually willing to spend for error detection, and

(2) the computation of the checksum has a certain irreducible complexity
    (to avoid brute force attack even with custom hardare), and the
    algorithm is analytically opague.

There is no reason to expect a cryptographic checksum to be any better
at detecting (unintentional) errors of any particular nature than any
other checksum occupying the same number of bits in the packet, in fact
it is reasonable to suspect it is worse at some things since for a
cryptographic checksum this is only a secondary property.  The real
reason you can get by without an "error model" (which you couldn't use
anyway because of (2) above) is that whether the 128-bit cryptographic
checksum fails to detect 1 in 2**130 of the errors which occur, or only
1 in 2**110, doesn't really matter much since both of those are really
small fractions.  The primary property that makes MD5 a good error
detection algorithm is sufficient brute force to make one comfortable
that it should always be strong enough.

So while (2) is, in fact, usually considered an undesirable property for
an error detection algorithm, (1) is always good if you have the luxury
of ignoring cost and MD5 uses enough bits that everything else matters
less.  Since error detection is usually considered an unfortunately
necessary overhead we usually try hard to do more with less, but if
you are willing to throw packet bits and compute cycles at it you can
always be assured of getting satisfactory performance even if it isn't
optimal for error detection in any theoretical sense.

With respect to the later arguments about computation cost and moving
checksums off-board, however, in a strange way I think you've been arguing
the wrong side of that dispute with Craig since the nature of MD5 might
actually decrease the probability that moving the checksum to off-board
hardware would be desirable.  MD5 is computationally complex (see (2))
but looks good despite this when you compare it to other things in CPU
benchmarks since it requires what current CPUs are good at; it does a lot
of computing per memory reference.  Off-board silicon is usually pretty
crappy compared to the way CPUs are designed, you get speed from this
compared to a CPU only on problems where the computation is fundamentally
bit-diddling (e.g. a CRC), or a datapath problem,  or a problem where
you can find a lot of things to compute in parallel.  MD5 really wants
a high clock rate and fast math, which general-purpose CPUs are still
king-of-the-hill at providing, so the bang-for-the-buck of moving it
off-board is probably minimized.

In any case, I was wrong.  If cost is no object you can always design
an acceptable end-to-end error check.

Dennis Ferguson

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


From tsvwg-admin@ietf.org  Thu Jun 21 22:25: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 WAA25173
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 22:25: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 UAA20502;
	Thu, 21 Jun 2001 20:04: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 UAA20070
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 20:03:46 -0400 (EDT)
Received: from cpimssmtpoa01.msn.com ([207.46.193.226])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA20734
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 20:03:08 -0400 (EDT)
Received: from cp98suwbm02 ([10.202.3.14]) by cpimssmtpoa01.msn.com with Microsoft SMTPSVC(5.0.2195.3225);
	 Thu, 21 Jun 2001 17:03:09 -0700
Received: from mail pickup service by cp98suwbm02 with Microsoft SMTPSVC;
	 Thu, 21 Jun 2001 17:03:05 -0700
Received: from [207.46.193.225] by hotmail.com (3.2) with ESMTP id MHotMailBCEED2A300684004204ECF2EC1E107E514; Mon Jun 11 20:08:33 2001
Received: from boreas.isi.edu ([128.9.160.161]) by cpimssmtpc06.msn.com with Microsoft SMTPSVC(5.0.2195.3225); Mon, 11 Jun 2001 20:10:02 -0700
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f5C2F7G07895; Mon, 11 Jun 2001 19:15:08 -0700 (PDT)
Message-ID: <45e201c0faae$b64d0bd0$0e03ca0a@cp98suwbm02>
Received: from mail3.microsoft.com (mail3.microsoft.com [131.107.3.123]) by boreas.isi.edu (8.11.2/8.11.2) with SMTP id f5C1xiG06275 for <end2end-interest@postel.org>; Mon, 11 Jun 2001 18:59:45 -0700 (PDT)
X-Mailer: Microsoft CDO for Windows 2000
Received: from 157.54.9.108 by mail3.microsoft.com (InterScan E-Mail VirusWall NT); Mon, 11 Jun 2001 18:57:13 -0700 (Pacific Daylight Time)
Received: from red-imc-01.redmond.corp.microsoft.com ([157.54.9.102]) by inet-imc-05.redmond.corp.microsoft.com with Microsoft SMTPSVC(5.0.2195.2883); Mon, 11 Jun 2001 18:58:54 -0700
Received: from win-imc-01.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.39]) by red-imc-01.redmond.corp.microsoft.com with Microsoft SMTPSVC(5.0.2195.2883); Mon, 11 Jun 2001 18:58:50 -0700
Received: from win-msg-02.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.134]) by win-imc-01.wingroup.windeploy.ntdev.microsoft.com with Microsoft SMTPSVC(5.0.2195.2966); Mon, 11 Jun 2001 18:57:35 -0700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Subject: RE: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
Thread-Topic: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything else?
Thread-Index: AcDy1QRvD7pf0UFBSGS5PP2fOnNXSgADRN8Q
From: "Christian Huitema" <huitema@windows.microsoft.com>
To: <naderv@msn.com>
Cc: <tsvwg@ietf.org>, "end2end" <end2end-interest@postel.org>
X-OriginalArrivalTime: 12 Jun 2001 01:57:35.0835 (UTC) FILETIME=[0D243AB0:01C0F2E3]
Content-Transfer-Encoding: 7bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boreas.isi.edu id f5C1xjG06276
X-BeenThere: end2end-interest@postel.org
X-Mailman-Version: 2.0.1
Precedence: bulk
list-help: <mailto:end2end-interest-request@postel.org?subject=help>
List-Archive: <http://www.postel.org/pipermail/end2end-interest/>
Date: Thu, 21 Jun 2001 17:03:05 -0700
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

What is at stake here is whether we want a safety belt or an alarm bell.
The current TCP checksum is the latter. It will detect "most" errors
with a good probability, which is enough to detect a faulty board. It
will not provide sufficient protection for guaranteeing a complete
absence of glitches in the 5 terabyte backup of a multinational
commercial bank. Note that, if you really follow the e2e argument, this
is OK: the only way to be certain that the back-up went well is by
computing a strong checksum over the whole volume, not by trusting TCP.
In fact, it is all a matter of probabilities and arbitrations. The
transmission system should be good enough that the backup is OK most of
the time, so that the e2e checksum (volume) only fails rarely, so that
the cost of correction is acceptable...

-- Christian Huitema

> -----Original Message-----
> From: Douglas Otis [mailto:dotis@sanlight.net]
> Sent: Monday, June 11, 2001 4:41 PM
> To: Jonathan Stone; Craig Partridge; David P. Reed
> Cc: tsvwg@ietf.org; end2end
> Subject: RE: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs everything
> else?
>
> Jonathan,
>
> You can't be suggesting a simple summation is worth using in the face
of
> router memory errors.  You have detected these in the wild and noted
their
> positions within a 32 word.  You have statistics that indicate there
are
> more bits in error than others suggesting there may be a weak bus
driver
> being seen.  From the simple tests that I have run, a simple summation
is
> extremely weak in this area.  A CRC still does well even when the
entire
> packet is corrupted including the CRC itself.  There is no need for
the
> CRC
> to be affected to improve the performance of the algorithm.  I can say
> that
> Fletcher-16 2^n should be avoided altogether due to this extremely
weak
> memory bus performance.  It is no where near 2^32 in preformance.  It
is
> closer to 2^6.  The only reason for placing a mandatory chunk at the
end
> of
> the packet would be to ensure against truncation which a good check
should
> catch.  If there is only one checksum type allowed, then placing this
at
> the
> end of the packet has the advantage of minimizing the potential passes
> this
> packet needs in preparation.  Adler-32 suffers the Fletcher problem if
the
> packet is small or mostly zero.
>
> Doug
>
>
> > To: Craig Partridge; David P. Reed
> > Cc: tsvwg@ietf.org; end2end
> > Subject: Re: [e2e] Re: [Tsvwg] Really End-to-end or CRC vs
everything
> > else?
> >
> > In message <200106112048.f5BKmpF07926@aland.bbn.com>Craig Partridge
> writes
> > >
> > >In message <5.1.0.14.2.20010611143202.0462bec0@mail.reed.com>,
> > "David P. Reed"
> > >
> > >writes:
> >
> >
> >
> > >I think you've missed the point.  In a prior note, you suggested
> > a line of
> > >thinking of assume an adversary.  Implicitly, that's an error
model.
> > >
> > >So what if traffic doesn't match that error model -- that is to
> > say, errors
> > >are not ones an adversary would pick -- then the checksum chosen is
the
> > >wrong one.
> >
> > Craig,
> >
> > To be fair, there are several points kicking around here, and being
> > made to (or intended for) different audiences.  The tsvwg folks are
> > under time pressure to (re-)decide on a check function.  The e2e
> > folks can take a longer, or at least a middle-vision, view.
> >
> > The way I'd put it to the tsvwg folks choosing a checksum is this:
> > if you start appealing to catching all but 1 in 2^32 errors (or
> > more accurately, 1 in 65521^2), then you have fallen into a fallacy.
> >
> > You have just conflated a purely combinatoric result, about the
ratio
> > of sizes of the domain and range of the error-check function, with a
> > probabilistic statement about how likely *in practice* you are to
> > catch errors.  What should give you a serious wake-up call,is to
hear
> > that even the constant function -- some constant 32-bit integer--
will
> > catch the same fraction of all errors.  There's no grounds for
> > labelling *any* function (in the mathematical sense) as stronger
than
> > another, unless we know something about the distribution of the
> > errors, or how well some particular function does against some
> > particular distribution.    CRCs are not any stronger  than
> > checksums, *unless* we happen to know that the distribution of
> > acutal errors tends to favour low Hamming-weight errors.
> > (the data I and Craig have, is that it doesn't.)
> >
> >
> > The point to Dave Reed is that the combinatoric argument is very
> > general and applies to any function, whether the constant function,
or
> > a cryptographic hash, or a shared-secret key, provided we define
> > "error check bits" to properly measure the fraction of bit
> > combinations which are accepted, versus those which are
> > rejected.
> >
> >
> > One further thing I've mentioned in email is that I recently
> > re-analyzed the captured error datasets which I and Craig and Vern
> > gathered, and I did find one pattern which could be exploited here.
> >
> > The pattern is that the errors we found can be broadly characterized
> > into two classes: either single-bit or short, low-hamming weight
> > errors; or as errors where some prefix of the packet is bad; the
> > packet is subjected to an error; and the error continues all the way
> > to the end of the packet. The ratio of errored bits within that
> > damaged `tail' of packet is very close to 0.5.
> >
> > That suggests an error model where we model packet-level errors as
due
> > to either signle-bit errors, memory-readout errors which affect a
> > single word or cache line; or due to `stateful' errors in the
> > hardware/software finite-state engines which move packets between
> > packet- buffer memory, and the hardware which implements some
specific
> > media layer. (think of errors due to an under-run in a hardware
FIFO,
> > or a bad bit in a DMA pointer register.)
> >
> > There's two things to take away from that.  The first is that the
> > errors we've acutally observed, in the only study of in-the-wildn
> > packet-level errors I know of, the errors are so heavy that, on
> > average, they affect more than R bits, for any R that's a plausible
> > error-check. That says we're only going to catch errors
stochastically.
> > The second is that, since the errors seem to be stateful, putting
the
> > error-cheeck information at the end of the packet rather than in a
> > fixed header field doesn't hurt, and (for the reasons we analyzed to
> > death in our 98 ToN paper) will acutally help, for the kinds of
> > nonuniform data we find in filesystems.
> >
> > If there's anything i can recommend to the tsvwg, its to pick even a
> > 32-bit extension of the TCP checksum, rather than Adler32; and to
> > think seriously about moving the error-check bits to the end.  Not
to
> > help hardware, but to make whatever error-check you use more
resilient
> > against errors in packet-processing engines which (once an error
does
> > hit) trash the remainder of the packet.
> >
> >
> > _______________________________________________
> > 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  Thu Jun 21 22:31: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 WAA25687
	for <tsvwg-archive@odin.ietf.org>; Thu, 21 Jun 2001 22:31: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 WAA26976;
	Thu, 21 Jun 2001 22:20: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 WAA26948
	for <tsvwg@ns.ietf.org>; Thu, 21 Jun 2001 22:20:35 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h012.c007.snv.cp.net [209.228.33.219])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id WAA25051
	for <tsvwg@ietf.org>; Thu, 21 Jun 2001 22:19:56 -0400 (EDT)
Received: (cpmta 25641 invoked from network); 21 Jun 2001 19:20:02 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.219) with SMTP; 21 Jun 2001 19:20:02 -0700
X-Sent: 22 Jun 2001 02:20:02 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Kacheong Poon" <kcpoon@eng.sun.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Thu, 21 Jun 2001 19:17:52 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJMEBICJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <Roam.SIMC.2.0.6.993172311.31501.kcpoon@eng.sun.com>
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

Kacheong,

A reliable transport takes on the responsibility of moving data between
systems.  The transport itself provides the standards for doing so.
Applications do not need to concern themselves with the details of this
transport function if the application can trust the transport to perform.  A
level of integrity is not a wide open issue.  If you think it should be only
one level, fine.  UDP supports two.  Such a single level includes both
option C & D.  If so, then this level should satisfy widely or there is no
standard means of communication beyond an unsatisfactory level of integrity.
Only the transport can provide this level of standardization.
Standardization is not bad and it can be only one level.  If you worry about
future requirements, then it would seem you are arguing for a chunk for such
extensibility but that is not the case.  I am only suggesting that
applications use the transport without duplicating their own layer of check
acknowledgement and retries.  You suggested that if you want integrity, use
IPSec or the like.  These do not support CRC as a digest and add a fair
amount of complexity many would wish to avoid if it is just for integrity.
That does not conclude what should be used for SCTP either.

Error checking is not something foreign to the transport.  Yes, I added
choices that included my proposal.  I also attempted to add a range of
choices that were not.  I was attempting to get the ball rolling as how to
incorporate CRC.  If I missed some methods, please indicate how you would
wish to see it done.  The choice D would be a minimalist approach and
perhaps the most obvious.  If limited to a single solution, I would prefer C
myself.  I tried to give a run down of pros and cons to get people thinking
about the trade-offs.  If you feel you wish to still debate the merits of
various algorithms, that too is your option.  I am not trying to dictate nor
limit the choices.  To make it clear, I changed to the term CRC rather than
Digest.

How would you wish to incorporate CRC?

A) Modified Common Header and CRC Chunk at the beginning.
   (Extensible.)
B) Same Common Header where the Checksum is Null or reserved if
   CRC Chunk is present.
   (Supports legacy with additional word overhead.)
C) Modified Common Header with CRC alone placed at the end
   of the packet.
   (Reduces the number of passes for processing.)
D) Same Common Header where the Checksum is replaced with CRC.
   (Small amount of language changed in the specification.)
E) Continue discussion on algorithms. :(
   (Stalls any decision.)
F)?

Doug


> > I am not sure how you have arrived at that conclusion.  A simple problem
> > with adding checking at the application is that there will never be a
> > standard method for doing so and hence no standards.  I doubt
> that CRC will
>
> Different apps require different things.  Standardisation for the sack of
> standardisation is the wrong thing to do.  How do we know what future
> apps want?  As a matter of fact, standardize this at the transport level
> is very wrong.  It seems that you are trying to force every apps to adopt
> the same scheme...
>
> > be allowed as a security digest?  Allowing extensibility is not
> a bad thing
>
> Are you saying that we should throw away IPsec?
>
> > if such extensions find use by many and not a few.  Already
> there are those
> > wishing for no checking as well as those wishing for better. To allow a
> > standard means of communication together with integrity flexibility, a
> > digest chunk does this well at the transport.  The alternative
> is a plethora
> > of variations of acknowledgement and retry within applications on top of
> > identical code within the transport.
>
> So is your design decision based on the fact that apps should be very
> simple and everything should be done by the transport?  SCTP is a
> transport protocol, not an architecture...
>
> > I did not rule out not using a digest however.  I would assume you would
> > vote for D when the time comes.
> >
> > Perhaps the next issue becomes how:
> > A) Modified Common Header and Digest Chunk at the beginning.
> > B) Same Common Header where the Checksum is Null or reserved if
> Digest Chunk
> > is present.
> > C) Modified Common Header with Digest alone placed at the end
> of the packet.
> > D) Same Common Header where the Checksum is replaced with CRC.
>
> Why D?  I still don't see a consensus here in the WG.  BTW, I
> don't believe
> I have seen any mails in the list about coupling the decision of the
> integrity check with digest chunk except yours.  Correct me on this if I
> missed some mails.  So the above choices are definitely the choices from
> this WG.  No one will vote on them.
>
> 							K. Poon.
> 							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Fri Jun 22 04:24: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 EAA14571
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 04:23: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 EAA13748;
	Fri, 22 Jun 2001 04:13: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 EAA13724
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 04:13:22 -0400 (EDT)
Received: from coltrane.dataconnection.com (smtp.dataconnection.com [192.91.191.4])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA14472
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 04:12:46 -0400 (EDT)
Received: by coltrane.datcon.co.uk with Internet Mail Service (5.5.2653.19)
	id <M02QFX6J>; Fri, 22 Jun 2001 09:12:51 +0100
Message-ID: <37701240971DD31193970000F6CCB9F702B0B0B1@duke.datcon.co.uk>
From: Jon Berger <JRB@dataconnection.com>
To: Qiaobing Xie <xieqb@cig.mot.com>
Cc: Qiaobing Xie <Qiaobing_Xie-QXIE1@email.mot.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: RE: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
Date: Fri, 22 Jun 2001 09:12:39 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
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 the receiver can do what they like (ABORT, ignore, do what they think
the peer wanted) because the sender is not obeying the protocol.  If there
is no reason to allow a sender to send in a bizarre order, why place
additional cost on the receiver?

I think the MUST should stay.

Jon


-----Original Message-----
From: Qiaobing Xie [mailto:xieqb@cig.mot.com]
Sent: 22 June 2001 00:01
To: Jon Berger
Cc: Qiaobing Xie; La Monte H.P. Yarroll; tsvwg@ietf.org;
sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?


Hmmm, a surprise to me. This must have been an addition from the final
stage during the RFC editing.

Now, is there any implementation enforcing this "MUST" on the receiver
side? Or is every receiver just processing the arrived packets with
total trust that its peer data sender always puts TSNs in order?

I'd think a "SHOULD" here is better. 

If we want to keep the "MUST", then we need to clarify what the receiver
should do if a packet showed up with a bad TSN order.

-Qiaobing 

Jon Berger wrote:
> 
> RFC2960 section  6.10:
> "The transmitter MUST transmit DATA chunks within a SCTP packet in
> increasing order of TSN."
> 
> Jon
> 
> -----Original Message-----
> From: Qiaobing Xie [mailto:xieqb@cig.mot.com]
> Sent: 20 June 2001 22:59
> To: La Monte H.P. Yarroll
> Cc: tsvwg@ietf.org; sctp-developers-list@cig.mot.com
> Subject: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
> 
> La Monte,
> 
> See my comments below...
> 
> "La Monte H.P. Yarroll" wrote:
> >
> > Are SCTP DATA chunks bundled in a single packet required to be in TSN
> > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> > recall a discussion suggesting that they ought to be in ascending TSN
> > order, but that it is not required.
> >
> > If they are NOT required to be in ascending TSN order, then we have
> > some bothersome extra code to write for ECN:
> 
> So, you won't mind adding code to check whether TSNs are in ascending
> order in *every* received packet and adding yet more code to reporting
> any ordering violation?
> 
> I think the code you would need to add to enforce the new rule would be
> many many times more than tracking the LOWEST TSN in your ECN
> subroutine.
> 
> -Qiaobing
> 
> >
> > Appendix A:
> >
> >    ECN-Echo:
> >
> >    RFC 2481 details a specific bit for a receiver to send back in its
> >    TCP acknowledgements to notify the sender of the Congestion
> >    Experienced (CE) bit having arrived from the network.  For SCTP this
> >    same indication is made by including the ECNE chunk.  This chunk
> >    contains one data element, i.e. the lowest TSN associated with the IP
> >    datagram marked with the CE bit, and looks as follows:
> >
> > In other words, we have to find the LOWEST TSN in the whole packet.
> >
> > For our implementation, we don't really care WHICH TSN we get in an
> > incoming ECNE--we can identify the sending transport based on ANY TSN
> > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > the packet (better yet would be the LAST TSN).  How immutable is this?
> > |
> |
> > |
> |
> > ---------------------- Mailing List commands
> --------------------------------
> > Send the following in the body of a message to
> Majordomo@majordomo.cig.mot.com
> > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
> list-name
> > |
> |
> > Or you can use http://majordomo.cig.mot.com
> >
>
----------------------------------------------------------------------------
> --
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg
> |
|
> |
|
> ---------------------- Mailing List commands
--------------------------------
> Send the following in the body of a message to
Majordomo@majordomo.cig.mot.com
> SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
list-name
> |
|
> Or you can use http://majordomo.cig.mot.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 Jun 22 12: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 MAA29581
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 12: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 MAA28480;
	Fri, 22 Jun 2001 12:24: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 MAA28453
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 12:24:31 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA29155
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 12:23:53 -0400 (EDT)
Received: from stewart.chicago.il.us (stewartdell [10.1.1.3])
	by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id f5MGKCB50935;
	Fri, 22 Jun 2001 11:20:27 -0500 (CDT)
	(envelope-from randall@stewart.chicago.il.us)
Message-ID: <3B336E85.C092435C@stewart.chicago.il.us>
Date: Fri, 22 Jun 2001 11:12:53 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Qiaobing Xie <xieqb@cig.mot.com>
CC: lyndon_ong@eudoramail.com, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com> <200106212239.RAA16632@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

Qiaobing Xie wrote:
> 
> Lyndon Ong wrote:
> >
> > Folks,
> >
> > It's a bit worrying that we are not reaching more of a consensus, as time goes on revising the spec will have greater impact.
> >
> > The main alternatives are (1) keeping the present checksum and possibly introducing an optional CRC chunk or (2) changing to CRC.
> >
> > I support Randy's view that there's no advantage to adding a negotiation process to this, compared to adding an optional CRC chunk that can be discarded by implementations not using CRC.
> >
> > The issue that seems to be holding this up is disagreement on how bad the problem is with the current checksum, some folks with the view that since there is a known flaw in the Adler-32 we should not put this into a new transport protocol and some folks with the view that it hasn't been established whether the flaw has real impact.
> >
> > Any suggestions on how to get past this?
> 
> Can we say that the "burden of proof" is on the side who wants to change
> the "status quo" :-)
> 

Some would say a mathmatical proof like Jonathan and Craig have offered
is enough.. After all, I CAN prove that if I jump off the top of
the sears tower, the law of gravity will most likely be my demise.
I don't want to test this...

I think the proof is there if you are willing to open your eyes.
So what this comes down to is not a "burden of proof" but instead
what is "proof". Do we need to fall off a cliff before there
is a problem?

Lyndon, what is your preference.. in the last summary did I
have you in the right class?

R

> -Qiaobing
> 
> >
> > 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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Fri Jun 22 12:37: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 MAA29623
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 12:37: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 MAA28552;
	Fri, 22 Jun 2001 12:28: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 MAA28525
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 12:28:19 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA29328
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 12:27:42 -0400 (EDT)
Received: from stewart.chicago.il.us (stewartdell [10.1.1.3])
	by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id f5MGUcB50950;
	Fri, 22 Jun 2001 11:30:54 -0500 (CDT)
	(envelope-from randall@stewart.chicago.il.us)
Message-ID: <3B3370F7.6EB87EC7@stewart.chicago.il.us>
Date: Fri, 22 Jun 2001 11:23:19 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@eng.sun.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <Roam.SIMC.2.0.6.993169064.26283.kcpoon@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

Kacheong Poon wrote:
> 
> > From my reading of the consensus, CRC has been decided.
> 
> While I don't think that we have a consensus, but I believe adding
> a Digest chunk is the wrong thing to do.  If you want to have a
> better check, use IPsec.  If your app wants to have a special digest
> capability, add it to your app protocol.  The transport is the last
> place for this.  SCTP is extensible does not mean that it has to be
> bloated.  And it should not be the place to add all the things that
> any apps want.  This is a no no.
> 

I agree with you Kacheong :) No way do we have ANY consensus to
add a digest chunk. This can be a seperate draft... I also do
not think we have reached consensus on CRC anything...

R


-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Fri Jun 22 12:38: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 MAA29644
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 12:38: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 MAA28943;
	Fri, 22 Jun 2001 12:31: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 MAA28871
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 12:31:32 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA29423
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 12:30:54 -0400 (EDT)
Received: from stewart.chicago.il.us (stewartdell [10.1.1.3])
	by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id f5MGMiB50939;
	Fri, 22 Jun 2001 11:22:59 -0500 (CDT)
	(envelope-from randall@stewart.chicago.il.us)
Message-ID: <3B336F1D.333622D2@stewart.chicago.il.us>
Date: Fri, 22 Jun 2001 11:15:25 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Qiaobing Xie <xieqb@cig.mot.com>
CC: Jon Berger <JRB@dataconnection.com>,
        Qiaobing Xie <Qiaobing_Xie-QXIE1@email.mot.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
References: <37701240971DD31193970000F6CCB9F702B0B044@duke.datcon.co.uk> <200106212252.RAA16746@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

Qiaobing:

The enforcment of this is VERY VERY easy, if you want to
enforce it.

Every time you look at the next TSN in a sctp packet, verify
that it is larger than the last one I just processed. If it
is not.. stop processing the rest of the sctp packet.

This will NOT kill the association, but instead it will
degrade performance of the sender.

A simple enforcment, that requires NO messages state
or otherwise..

I think this item should be left as is..

R

Qiaobing Xie wrote:
> 
> Hmmm, a surprise to me. This must have been an addition from the final
> stage during the RFC editing.
> 
> Now, is there any implementation enforcing this "MUST" on the receiver
> side? Or is every receiver just processing the arrived packets with
> total trust that its peer data sender always puts TSNs in order?
> 
> I'd think a "SHOULD" here is better.
> 
> If we want to keep the "MUST", then we need to clarify what the receiver
> should do if a packet showed up with a bad TSN order.
> 
> -Qiaobing
> 
> Jon Berger wrote:
> >
> > RFC2960 section  6.10:
> > "The transmitter MUST transmit DATA chunks within a SCTP packet in
> > increasing order of TSN."
> >
> > Jon
> >
> > -----Original Message-----
> > From: Qiaobing Xie [mailto:xieqb@cig.mot.com]
> > Sent: 20 June 2001 22:59
> > To: La Monte H.P. Yarroll
> > Cc: tsvwg@ietf.org; sctp-developers-list@cig.mot.com
> > Subject: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
> >
> > La Monte,
> >
> > See my comments below...
> >
> > "La Monte H.P. Yarroll" wrote:
> > >
> > > Are SCTP DATA chunks bundled in a single packet required to be in TSN
> > > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> > > recall a discussion suggesting that they ought to be in ascending TSN
> > > order, but that it is not required.
> > >
> > > If they are NOT required to be in ascending TSN order, then we have
> > > some bothersome extra code to write for ECN:
> >
> > So, you won't mind adding code to check whether TSNs are in ascending
> > order in *every* received packet and adding yet more code to reporting
> > any ordering violation?
> >
> > I think the code you would need to add to enforce the new rule would be
> > many many times more than tracking the LOWEST TSN in your ECN
> > subroutine.
> >
> > -Qiaobing
> >
> > >
> > > Appendix A:
> > >
> > >    ECN-Echo:
> > >
> > >    RFC 2481 details a specific bit for a receiver to send back in its
> > >    TCP acknowledgements to notify the sender of the Congestion
> > >    Experienced (CE) bit having arrived from the network.  For SCTP this
> > >    same indication is made by including the ECNE chunk.  This chunk
> > >    contains one data element, i.e. the lowest TSN associated with the IP
> > >    datagram marked with the CE bit, and looks as follows:
> > >
> > > In other words, we have to find the LOWEST TSN in the whole packet.
> > >
> > > For our implementation, we don't really care WHICH TSN we get in an
> > > incoming ECNE--we can identify the sending transport based on ANY TSN
> > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > > the packet (better yet would be the LAST TSN).  How immutable is this?
> > > |
> > |
> > > |
> > |
> > > ---------------------- Mailing List commands
> > --------------------------------
> > > Send the following in the body of a message to
> > Majordomo@majordomo.cig.mot.com
> > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
> > list-name
> > > |
> > |
> > > Or you can use http://majordomo.cig.mot.com
> > >
> > ----------------------------------------------------------------------------
> > --
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
> > |                                                                             |
> > |                                                                             |
> > ---------------------- Mailing List commands --------------------------------
> > Send the following in the body of a message to Majordomo@majordomo.cig.mot.com
> > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info list-name
> > |                                                                             |
> > Or you can use http://majordomo.cig.mot.com
> > ------------------------------------------------------------------------------
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Fri Jun 22 12:41: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 MAA29732
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 12:41: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 MAA28901;
	Fri, 22 Jun 2001 12:31: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 MAA28873
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 12:31:32 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA29422
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 12:30:54 -0400 (EDT)
Received: from stewart.chicago.il.us (stewartdell [10.1.1.3])
	by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id f5MGWbB50954;
	Fri, 22 Jun 2001 11:32:52 -0500 (CDT)
	(envelope-from randall@stewart.chicago.il.us)
Message-ID: <3B33716E.B9EB4A28@stewart.chicago.il.us>
Date: Fri, 22 Jun 2001 11:25:18 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Douglas Otis <dotis@sanlight.net>
CC: Kacheong Poon <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <NEBBJGDMMLHHCIKHGBEJIEBGCJAA.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

Doug:

The only one that I can tell has talked about something
other than (D) below is you. I think other things
can be looked at seperately from (D). If you want
to propose a "digest-chunk" draft. Thats cool, lets
just do it seperate from the change of CRC i.e. D...

R

Douglas Otis wrote:
> 
> Kacheong,
> 
> I am not sure how you have arrived at that conclusion.  A simple problem
> with adding checking at the application is that there will never be a
> standard method for doing so and hence no standards.  I doubt that CRC will
> be allowed as a security digest?  Allowing extensibility is not a bad thing
> if such extensions find use by many and not a few.  Already there are those
> wishing for no checking as well as those wishing for better. To allow a
> standard means of communication together with integrity flexibility, a
> digest chunk does this well at the transport.  The alternative is a plethora
> of variations of acknowledgement and retry within applications on top of
> identical code within the transport.
> 
> I did not rule out not using a digest however.  I would assume you would
> vote for D when the time comes.
> 
> Perhaps the next issue becomes how:
> A) Modified Common Header and Digest Chunk at the beginning.
> B) Same Common Header where the Checksum is Null or reserved if Digest Chunk
> is present.
> C) Modified Common Header with Digest alone placed at the end of the packet.
> D) Same Common Header where the Checksum is replaced with CRC.
> 
> Doug
> 
> > > From my reading of the consensus, CRC has been decided.
> >
> > While I don't think that we have a consensus, but I believe adding
> > a Digest chunk is the wrong thing to do.  If you want to have a
> > better check, use IPsec.  If your app wants to have a special digest
> > capability, add it to your app protocol.  The transport is the last
> > place for this.  SCTP is extensible does not mean that it has to be
> > bloated.  And it should not be the place to add all the things that
> > any apps want.  This is a no no.
> >
> > And whatever the integrity checking algorithm the WG picks at last,
> > this has nothing to do with the Digest chunk.  They should be separated.
> > And IMHO, adding the Digest chunk is the wrong thing.  People will
> > then ask for compression chunk, encryption chunk, whatever app useful
> > chunk...  This WG should very carefully consider a request of adding any
> > new chucks, especially at this point of SCTP development.
> >
> >                                                       K. Poon.
> >                                                       kcpoon@eng.sun.com
> >
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Fri Jun 22 12:50: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 MAA29970
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 12:50: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 MAA29171;
	Fri, 22 Jun 2001 12:37: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 MAA29142
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 12:37:54 -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 MAA29610
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 12:37:19 -0400 (EDT)
Received: from sj-msg-av-2.cisco.com (sj-msg-av-2.cisco.com [171.69.24.12])
	by sj-msg-core-4.cisco.com (8.11.3/8.9.1) with ESMTP id f5MGbON20939;
	Fri, 22 Jun 2001 09:37:24 -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 f5MGbGZ04732;
	Fri, 22 Jun 2001 09:37:16 -0700 (PDT)
Received: from CHSHARP-W2K1.cisco.com (rtp-vpn-263.cisco.com [10.82.193.7]) by mailman.cisco.com (8.9.3/CISCO.SERVER.1.2) with ESMTP id JAA01589; Fri, 22 Jun 2001 09:37:14 -0700 (PDT)
Message-Id: <4.3.2.7.2.20010622123200.00b62c40@dogwood.cisco.com>
X-Sender: chsharp@dogwood.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Fri, 22 Jun 2001 12:36:51 -0400
To: Qiaobing Xie <xieqb@cig.mot.com>
From: Chip Sharp <chsharp@cisco.com>
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
Cc: "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
In-Reply-To: <200106202150.QAA02129@agevole.cig.mot.com>
References: <200106202035.PAA10466@em.cig.mot.com>
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

A MUST requirement on the transmitter doesn't automatically imply a MUST 
requirement on the receiver.

There is no requirement in the spec for the receiver to report an ordering 
violation.

For ECN, what would be the implication of reporting a higher TSN in the ECNE?

Chip

At 05:58 PM 6/20/2001, Qiaobing Xie wrote:
>La Monte,
>
>See my comments below...
>
>"La Monte H.P. Yarroll" wrote:
> >
> > Are SCTP DATA chunks bundled in a single packet required to be in TSN
> > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> > recall a discussion suggesting that they ought to be in ascending TSN
> > order, but that it is not required.
> >
> > If they are NOT required to be in ascending TSN order, then we have
> > some bothersome extra code to write for ECN:
>
>So, you won't mind adding code to check whether TSNs are in ascending
>order in *every* received packet and adding yet more code to reporting
>any ordering violation?
>
>I think the code you would need to add to enforce the new rule would be
>many many times more than tracking the LOWEST TSN in your ECN
>subroutine.
>
>-Qiaobing
>
> >
> > Appendix A:
> >
> >    ECN-Echo:
> >
> >    RFC 2481 details a specific bit for a receiver to send back in its
> >    TCP acknowledgements to notify the sender of the Congestion
> >    Experienced (CE) bit having arrived from the network.  For SCTP this
> >    same indication is made by including the ECNE chunk.  This chunk
> >    contains one data element, i.e. the lowest TSN associated with the IP
> >    datagram marked with the CE bit, and looks as follows:
> >
> > In other words, we have to find the LOWEST TSN in the whole packet.
> >
> > For our implementation, we don't really care WHICH TSN we get in an
> > incoming ECNE--we can identify the sending transport based on ANY TSN
> > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > the packet (better yet would be the LAST TSN).  How immutable is this?
> > 
> |                                                                             |
> > 
> |                                                                             |
> > ---------------------- Mailing List commands 
> --------------------------------
> > Send the following in the body of a message to 
> Majordomo@majordomo.cig.mot.com
> > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info 
> list-name
> > 
> |                                                                             |
> > Or you can use http://majordomo.cig.mot.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 Jun 22 13:10: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 NAA00657
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 13:10:35 -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 NAA29929;
	Fri, 22 Jun 2001 13:00: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 NAA29900
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 13:00:29 -0400 (EDT)
Received: from motgate4.mot.com (motgate4.mot.com [144.189.100.102])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA00248
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 12:59:53 -0400 (EDT)
Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate4.mot.com (motgate4 2.1) with ESMTP id KAA11096; Fri, 22 Jun 2001 10:00:24 -0700 (MST)]
Received: [from relay1.cig.mot.com (relay1.cig.mot.com [136.182.15.23]) by mothost.mot.com (MOT-mothost 2.0) with ESMTP id KAA18450; Fri, 22 Jun 2001 10:00:24 -0700 (MST)]
Received: from agevole.cig.mot.com (agevole [136.182.3.251]) by relay1.cig.mot.com (8.8.8+Sun/SCERG-RELAY-1.11b) with ESMTP id MAA22991; Fri, 22 Jun 2001 12:00:17 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id MAA27047; Fri, 22 Jun 2001 12:00:14 -0500 (CDT)
Message-Id: <200106221700.MAA27047@agevole.cig.mot.com>
Date: Fri, 22 Jun 2001 12:08:30 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Randall Stewart <randall@stewart.chicago.il.us>
CC: Qiaobing Xie <Qiaobing_Xie-QXIE1@email.mot.com>,
        Jon Berger <JRB@dataconnection.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
References: <37701240971DD31193970000F6CCB9F702B0B044@duke.datcon.co.uk> <200106212252.RAA16746@agevole.cig.mot.com> <3B336F1D.333622D2@stewart.chicago.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

Jon Berger wrote:
> 
> Well the receiver can do what they like (ABORT, ignore, do what they think
> the peer wanted) because the sender is not obeying the protocol.  If there
> is no reason to allow a sender to send in a bizarre order, why place
> additional cost on the receiver?
> 

I highly suspect any serious implementation will take the route of
aborting the association, unless it has no interest in achieving good
inter-operability. The reason is that, there is nothing preventing the
receiver from continuing the conversation. It is not an unrecoverable
situation. Not even close to one.

Randall Stewart wrote:
...
> Every time you look at the next TSN in a sctp packet, verify
> that it is larger than the last one I just processed. If it
> is not.. stop processing the rest of the sctp packet.
> 
> This will NOT kill the association, but instead it will
> degrade performance of the sender.

This is a much more constructive way of handling the ordering violation
by the sender and an elegant one as well. I wonder whether we should
capture this in the Implementor's Guide, or in a later BCP.

-Qiaobing

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


From tsvwg-admin@ietf.org  Fri Jun 22 13:31: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 NAA01371
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 13:31: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 NAA00322;
	Fri, 22 Jun 2001 13:17:52 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA00290
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 13:17:50 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA00920
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 13:17:13 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id KAA19580;
	Fri, 22 Jun 2001 10:17:11 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <NFPQ3NXA>; Fri, 22 Jun 2001 10:17:10 -0700
Message-ID: <FFD40DB4943CD411876500508BAD0279029935C0@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: "'Douglas Otis'" <dotis@sanlight.net>, TSV WG list <tsvwg@ietf.org>
Subject: RE: [Tsvwg] CRC-Straw Poll Update
Date: Fri, 22 Jun 2001 10:17:08 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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

My point is that CRC in the transport layer does not make
a transport layer reliable in the presence of bad 
hardware and software design.  Conversely, a simple
and fast transport layer checking mechanism together with
anything approaching good design practices provides 
transport layer reliability that is very excellent.

Data integrity that is desired to be better than 
something like one undetected error in 10**20 bytes +/-
some 2 or 3 orders of magnitude requires 
application specific checking mechanisms to be applied 
at the application end-point.  Therefore, the costs and complexity
implicit in a transport layer that strives for better reliability
than that threshold are probably ill spent.

Bob


>  -----Original Message-----
>  From: Douglas Otis [mailto:dotis@sanlight.net]
>  Sent: Tuesday, June 19, 2001 6:50 PM
>  To: Robert Snively; 'Randall Stewart'; TSV WG list
>  Subject: RE: [Tsvwg] CRC-Straw Poll Update
>  
>  
>  Bob,
>  
>  SCTP has a format that includes length and validation to 
>  assist such a fail
>  safe together with an initial all one's seed within the CRC 
>  algorithm.  From
>  conservative estimates of undetected errors, not based on 
>  the higher failure
>  rates of simple sums in the face of stuck memory bus errors 
>  or swapped
>  blocks, any business transaction would greatly benefit by a 
>  CRC algorithm.
>  Summation does not detect rather simple failures although it 
>  is indeed
>  faster.  What testing do you feel is needed in this area?
>  
>  Doug
>  
>  > If people are concerned about detection of marginal hardware
>  > failures, it is only fair to point out that most CRC hardware has
>  > multiple single points of failure, many of which do not 
>  "fail safe",
>  > but rather give a false indication that the CRC was valid. 
>   For that
>  > reason, the CRC is almost always supplemented with additional
>  > verification mechanisms, including verification of start/end
>  > characters, verification of various header contents, and coding
>  > violation checks.  Stuck faults of that nature can be tested using
>  > power-on-self-test routines, but marginal faults and faults that
>  > occur during an extended period of operation where diagnostics
>  > are not run are not revealed in any consistent manner.
>  >
>  > Bob
>  >
>  > >  -----Original Message-----
>  > >  From: Randall Stewart [mailto:randall@stewart.chicago.il.us]
>  > >  Sent: Tuesday, June 19, 2001 5:07 AM
>  > >  To: TSV WG list
>  > >  Subject: [Tsvwg] CRC-Straw Poll Update
>  > >
>  > >
>  > >  All:
>  > >
>  > >  After tabulating some others I had missed (thanks Ian)
>  > >  here is the current standings.
>  > >
>  > >  Take a close look for your name and verify that
>  > >  you are in the right class please (if you have
>  > >  specified a preference that is).
>  > >
>  > >  //////////////////////////////////////////////////
>  > >  PLEASE SOUND OFF IF YOU ARE IN THE WRONG
>  > >  CATAGORY!!!! OR I HAVE MIS-READ YOU.. Or maybe
>  > >  some that are in the 1/2 or 1/3 or 2/3 catagory
>  > >  could declare for only one please... it seems
>  > >  to me that in past elections double punching
>  > >  a vote was not allowed :=>
>  > >  //////////////////////////////////////////////////
>  > >  ***************************************************
>  > >  Not counted/Unspecified
>  > >  ***************************************************
>  > >  Wants Others to decide/No-comment (once bitten twice shy):>
>  > >  --------------
>  > >  Chip Sharp
>  > >
>  > >  No preference but wants only 1:
>  > >  -------------------------------
>  > >  Kacheong Poon ( wants only one sum, no options)
>  > >
>  > >  Still Unsure how to classify (Please speak up :>>):
>  > >  -------------------------------
>  > >  Ran Atkinson (wants justification for any switch)
>  > >
>  > >  *********************************************************
>  > >  Tabulated votes
>  > >  *********************************************************
>  > >  Keep the same (Option 1):
>  > >  -------------------------
>  > >  Ian Rytina
>  > >  Michael Tuxen
>  > >  Shymall Prasad
>  > >  Hanns J Schwarzbauer
>  > >  Alf Heidermark
>  > >  Klaus Gradischnig (wants keep the same or CRC-32) (.5)
>  > >  Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
>  > >  Javier Pastor-Balbas
>  > >  Robert Snively
>  > >
>  > >  Use Modified Adler-32 (Option 2):
>  > >  ---------------------------------
>  > >  Gareth Kiely
>  > >  Qiaobing Xie (wants the same or Modifed-Alder ) (.5)
>  > >  Lyndon Ong
>  > >
>  > >  Use CRC-32 (Option 3):
>  > >  ----------------------
>  > >  Me
>  > >  Michael Ramalho
>  > >  Lloyd Wood
>  > >  Jonathan Wood
>  > >  Jim Williams
>  > >  Stephen Bailey
>  > >  La Monte Yarroll
>  > >  Ivan Arias Rodriguez
>  > >  Andreas Jungmaier
>  > >  David Black
>  > >  David Reed ** with preference for a MD5 Digest?
>  > >  Douglas Otis ** with preference for a MD5 Digest?
>  > >  David Lehmann
>  > >  Brian Bidulock
>  > >  Richard A. Adams
>  > >  Robert Fairlie-Cuninghame
>  > >  Wolfgang Schruefer
>  > >  John Loughney
>  > >  Laurent Glade
>  > >  Klaus Gradischnig (wants keep the same or CRC-32) (.5)
>  > >
>  > >  *********************************************************
>  > >  Summary Totals
>  > >  *********************************************************
>  > >
>  > >  Total 1) 8
>  > >
>  > >  Total 2) 2.5
>  > >
>  > >  Total 3) 19.5
>  > >
>  > >  Total unspecified) 3
>  > >
>  > >  ---------------------------------------------------
>  > >  Total folks commenting on: 33
>  > >  ---------------------------------------------------
>  > >
>  > >
>  > >  R
>  > >  --
>  > >  Randall R. Stewart
>  > >  randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>  > >
>  > >  _______________________________________________
>  > >  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  Fri Jun 22 14:06: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 OAA02644
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 14:06: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 NAA01208;
	Fri, 22 Jun 2001 13:47:32 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA01178
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 13:47:30 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h013.c007.snv.cp.net [209.228.33.220])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA01852
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 13:46:55 -0400 (EDT)
Received: (cpmta 10606 invoked from network); 22 Jun 2001 10:47:00 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.220) with SMTP; 22 Jun 2001 10:47:00 -0700
X-Sent: 22 Jun 2001 17:47:00 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Randall Stewart" <randall@stewart.chicago.il.us>
Cc: "Kacheong Poon" <kcpoon@eng.sun.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Fri, 22 Jun 2001 10:44:45 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJMEBLCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
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)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
In-Reply-To: <3B33716E.B9EB4A28@stewart.chicago.il.us>
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

Randall,

What can be done to move this discussion forward if plurality is not enough?
In the past there have been problems with swapped blocks within an ATM
interface that I suspect haunts DSL in some form thwarting a simple
summation.  The shift to ECC from parity also increases the risks of bus
related errors also thwarting simple summation.  Adler-32 for small packets
is the same as simple summation.  CRC for small packets becomes much
stronger however.
I understand a CRC polynomial with greater code separation affords improved
protection for jumbo frames as well.  The general syndrome randomness of CRC
affords protection for most hardware failure especially those exhibiting a
pattern where summations are weak.  For packets randomly changed, the
differences between summation and CRC diminish but those areas where there
may be random disturbance, such as serial links, are also very likely to use
CRC at these links.  This moves the transport into the realm of detecting
mostly hardware related errors.

I am less concerned about errors that happen due to bad code or hardware at
the end points.  Problems at these locations can be dealt with by the client
through certification.  My greater concern is handling problems that are
outside the control of the client.  I would hate to think business
transaction will need to accommodate weak links using non-standard
application level checks, acknowledgments are retries.  This added
complexity will place IP at a disadvantage to those transports that offer
integrity.

I can draw up another draft that moves the CRC field to the end of the
packet rather than within the Common Header.  That may be something that
will find acceptance.  In the meantime, ignore the digest draft.

Doug

> Doug:
>
> The only one that I can tell has talked about something
> other than (D) below is you. I think other things
> can be looked at seperately from (D). If you want
> to propose a "digest-chunk" draft. Thats cool, lets
> just do it seperate from the change of CRC i.e. D...
>
> R
>
> Douglas Otis wrote:
> >
> > Kacheong,
> >
> > I am not sure how you have arrived at that conclusion.  A simple problem
> > with adding checking at the application is that there will never be a
> > standard method for doing so and hence no standards.  I doubt
> that CRC will
> > be allowed as a security digest?  Allowing extensibility is not
> a bad thing
> > if such extensions find use by many and not a few.  Already
> there are those
> > wishing for no checking as well as those wishing for better. To allow a
> > standard means of communication together with integrity flexibility, a
> > digest chunk does this well at the transport.  The alternative
> is a plethora
> > of variations of acknowledgement and retry within applications on top of
> > identical code within the transport.
> >
> > I did not rule out not using a digest however.  I would assume you would
> > vote for D when the time comes.
> >
> > Perhaps the next issue becomes how:
> > A) Modified Common Header and Digest Chunk at the beginning.
> > B) Same Common Header where the Checksum is Null or reserved if
> Digest Chunk
> > is present.
> > C) Modified Common Header with Digest alone placed at the end
> of the packet.
> > D) Same Common Header where the Checksum is replaced with CRC.
> >
> > Doug
> >
> > > > From my reading of the consensus, CRC has been decided.
> > >
> > > While I don't think that we have a consensus, but I believe adding
> > > a Digest chunk is the wrong thing to do.  If you want to have a
> > > better check, use IPsec.  If your app wants to have a special digest
> > > capability, add it to your app protocol.  The transport is the last
> > > place for this.  SCTP is extensible does not mean that it has to be
> > > bloated.  And it should not be the place to add all the things that
> > > any apps want.  This is a no no.
> > >
> > > And whatever the integrity checking algorithm the WG picks at last,
> > > this has nothing to do with the Digest chunk.  They should be
> separated.
> > > And IMHO, adding the Digest chunk is the wrong thing.  People will
> > > then ask for compression chunk, encryption chunk, whatever app useful
> > > chunk...  This WG should very carefully consider a request of
> adding any
> > > new chucks, especially at this point of SCTP development.
> > >
> > >                                                       K. Poon.
> > >
> kcpoon@eng.sun.com
> > >
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
>
> --
> Randall R. Stewart
> randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>
> _______________________________________________
> 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 Jun 22 14:20: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 OAA03137
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 14:20: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 OAA02010;
	Fri, 22 Jun 2001 14:03: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 OAA01938
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 14:02:57 -0400 (EDT)
Received: from stewart.chicago.il.us (user196.64.37.247.dsli.com [64.37.247.196] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA02415
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 14:02:21 -0400 (EDT)
Received: from stewart.chicago.il.us (stewartdell [10.1.1.3])
	by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id f5MHoDB51094;
	Fri, 22 Jun 2001 12:50:29 -0500 (CDT)
	(envelope-from randall@stewart.chicago.il.us)
Message-ID: <3B33839E.9B1D7F07@stewart.chicago.il.us>
Date: Fri, 22 Jun 2001 12:42:54 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Chip Sharp <chsharp@cisco.com>
CC: Qiaobing Xie <xieqb@cig.mot.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
References: <200106202035.PAA10466@em.cig.mot.com> <4.3.2.7.2.20010622123200.00b62c40@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

The only penalty I can think of is that the receiver
may think that two seperate packets marked may
be seperate congestion events (rather doubtful but
it could happen). If so, the sender (who did not
order the chunks) is penalized... i.e. it ends
up having to reduce its cwnd twice...

R

Chip Sharp wrote:
> 
> A MUST requirement on the transmitter doesn't automatically imply a MUST
> requirement on the receiver.
> 
> There is no requirement in the spec for the receiver to report an ordering
> violation.
> 
> For ECN, what would be the implication of reporting a higher TSN in the ECNE?
> 
> Chip
> 
> At 05:58 PM 6/20/2001, Qiaobing Xie wrote:
> >La Monte,
> >
> >See my comments below...
> >
> >"La Monte H.P. Yarroll" wrote:
> > >
> > > Are SCTP DATA chunks bundled in a single packet required to be in TSN
> > > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> > > recall a discussion suggesting that they ought to be in ascending TSN
> > > order, but that it is not required.
> > >
> > > If they are NOT required to be in ascending TSN order, then we have
> > > some bothersome extra code to write for ECN:
> >
> >So, you won't mind adding code to check whether TSNs are in ascending
> >order in *every* received packet and adding yet more code to reporting
> >any ordering violation?
> >
> >I think the code you would need to add to enforce the new rule would be
> >many many times more than tracking the LOWEST TSN in your ECN
> >subroutine.
> >
> >-Qiaobing
> >
> > >
> > > Appendix A:
> > >
> > >    ECN-Echo:
> > >
> > >    RFC 2481 details a specific bit for a receiver to send back in its
> > >    TCP acknowledgements to notify the sender of the Congestion
> > >    Experienced (CE) bit having arrived from the network.  For SCTP this
> > >    same indication is made by including the ECNE chunk.  This chunk
> > >    contains one data element, i.e. the lowest TSN associated with the IP
> > >    datagram marked with the CE bit, and looks as follows:
> > >
> > > In other words, we have to find the LOWEST TSN in the whole packet.
> > >
> > > For our implementation, we don't really care WHICH TSN we get in an
> > > incoming ECNE--we can identify the sending transport based on ANY TSN
> > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > > the packet (better yet would be the LAST TSN).  How immutable is this?
> > >
> > |                                                                             |
> > >
> > |                                                                             |
> > > ---------------------- Mailing List commands
> > --------------------------------
> > > Send the following in the body of a message to
> > Majordomo@majordomo.cig.mot.com
> > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
> > list-name
> > >
> > |                                                                             |
> > > Or you can use http://majordomo.cig.mot.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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Fri Jun 22 14:22: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 OAA03285
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 14:22: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 OAA02178;
	Fri, 22 Jun 2001 14:06:32 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA02150
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 14:06:30 -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 OAA02610
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 14:05:54 -0400 (EDT)
Received: [from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id LAA04576; Fri, 22 Jun 2001 11:06:30 -0700 (MST)]
Received: [from relay2.cig.mot.com (relay2.cig.mot.com [136.182.15.24]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id LAA20789; Fri, 22 Jun 2001 11:06:30 -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 NAA02835; Fri, 22 Jun 2001 13:06:27 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id NAA27661; Fri, 22 Jun 2001 13:06:26 -0500 (CDT)
Message-Id: <200106221806.NAA27661@agevole.cig.mot.com>
Date: Fri, 22 Jun 2001 13:14:42 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Robert Snively <rsnively@brocade.com>
CC: "'Douglas Otis'" <dotis@sanlight.net>, TSV WG list <tsvwg@ietf.org>
Subject: Re: [Tsvwg] CRC-Straw Poll Update
References: <FFD40DB4943CD411876500508BAD0279029935C0@sj5-ex2.brocade.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

Totally agreed. This is what I have been trying to tell the group.

-Qiaobing

Robert Snively wrote:
> 
> My point is that CRC in the transport layer does not make
> a transport layer reliable in the presence of bad
> hardware and software design.  Conversely, a simple
> and fast transport layer checking mechanism together with
> anything approaching good design practices provides
> transport layer reliability that is very excellent.
> 
> Data integrity that is desired to be better than
> something like one undetected error in 10**20 bytes +/-
> some 2 or 3 orders of magnitude requires
> application specific checking mechanisms to be applied
> at the application end-point.  Therefore, the costs and complexity
> implicit in a transport layer that strives for better reliability
> than that threshold are probably ill spent.
> 
> Bob
>

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


From tsvwg-admin@ietf.org  Fri Jun 22 14:42: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 OAA04185
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 14:42: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 OAA02751;
	Fri, 22 Jun 2001 14:27: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 OAA02722
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 14:27:16 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h013.c007.snv.cp.net [209.228.33.220])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA03410
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 14:26:40 -0400 (EDT)
Received: (cpmta 2442 invoked from network); 22 Jun 2001 11:20:05 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.220) with SMTP; 22 Jun 2001 11:20:05 -0700
X-Sent: 22 Jun 2001 18:20:05 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Robert Snively" <rsnively@brocade.com>, "TSV WG list" <tsvwg@ietf.org>
Subject: RE: [Tsvwg] SCTP error check
Date: Fri, 22 Jun 2001 11:17:51 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJCEBNCJAA.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)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
In-Reply-To: <FFD40DB4943CD411876500508BAD0279029935C0@sj5-ex2.brocade.com>
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

Robert,

You can not determine the hardware path of your data.  Should your data
enter a router outside your control that has a weak memory bus bit as
example, then summation protection is not near a level of assurance that a
company or individual will likely view as acceptable.  As a client, you may
not approve of the design practice used to make an XYZ component that
perhaps depends on ECC rather than a bus wide parity but these component
selections are not within your control.  Based on studies, reality does not
offer the ability to make assumptions about designs.  CRC within the
transport does offer assurances of being able to detect rather simple
hardware failures found in the path of the data, summations does not.  I
assume you would select software and hardware at your site that conforms to
your expectations.  CRC within the transport is not intended to protect
individuals making poor acquisitions of bad hardware or software.  It is
intended to provide protection when there is ulterior equipment that is
exhibiting a failure.  I can not see modifying thousands of applications to
include non-standard check acknowledgment and retry as being more cost
effective to using a reliable transport.  A weak error check in the face of
a simple hardware failure is ill conceived.

Doug


> My point is that CRC in the transport layer does not make
> a transport layer reliable in the presence of bad
> hardware and software design.  Conversely, a simple
> and fast transport layer checking mechanism together with
> anything approaching good design practices provides
> transport layer reliability that is very excellent.
>
> Data integrity that is desired to be better than
> something like one undetected error in 10**20 bytes +/-
> some 2 or 3 orders of magnitude requires
> application specific checking mechanisms to be applied
> at the application end-point.  Therefore, the costs and complexity
> implicit in a transport layer that strives for better reliability
> than that threshold are probably ill spent.
>
> Bob


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


From tsvwg-admin@ietf.org  Fri Jun 22 15:14:29 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 PAA05525
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 15:14:29 -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 OAA03637;
	Fri, 22 Jun 2001 14:53: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 OAA03604
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 14:53:10 -0400 (EDT)
Received: from mg03.austin.ibm.com (mg03.austin.ibm.com [192.35.232.20])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA04637
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 14:52:33 -0400 (EDT)
Received: from austin.ibm.com (netmail1.austin.ibm.com [9.53.250.96])
	by mg03.austin.ibm.com (AIX4.3/8.9.3/8.9.3) with ESMTP id NAA13320;
	Fri, 22 Jun 2001 13:53:22 -0500
Received: from popmail.austin.ibm.com (popmail.austin.ibm.com [9.53.247.178])
	by austin.ibm.com (AIX4.3/8.9.3/8.9.3) with ESMTP id NAA40656;
	Fri, 22 Jun 2001 13:52:29 -0500
Received: from austin.ibm.com ([9.111.216.145]) by popmail.austin.ibm.com (AIX4.3/8.9.3/8.7-client1.01) with ESMTP id NAA20246; Fri, 22 Jun 2001 13:52:28 -0500
Message-ID: <3B339369.C05CC628@austin.ibm.com>
Date: Fri, 22 Jun 2001 13:50:17 -0500
From: Jon Grimm <jgrimm@austin.ibm.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.5 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Randall Stewart <randall@stewart.chicago.il.us>
CC: Chip Sharp <chsharp@cisco.com>, Qiaobing Xie <xieqb@cig.mot.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
References: <200106202035.PAA10466@em.cig.mot.com> <4.3.2.7.2.20010622123200.00b62c40@dogwood.cisco.com> <3B33839E.9B1D7F07@stewart.chicago.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

This seems true for the case where the mis-reporting of the ECNE
LowestTSN by caused by out-of-order TSNs in a packet.  I believe La
Monte also mentioned:

> For our implementation, we don't really care WHICH TSN we get in an
> incoming ECNE--we can identify the sending transport based on ANY TSN
> in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> the packet (better yet would be the LAST TSN).  How immutable is this?


If the LAST TSN where chosen for a sender that actually ordered its TSNs
per spec., it would seem that the sender could then be artificially
penalized.   

Regards,
Jon Grimm



Randall Stewart wrote:
> 
> The only penalty I can think of is that the receiver
> may think that two seperate packets marked may
> be seperate congestion events (rather doubtful but
> it could happen). If so, the sender (who did not
> order the chunks) is penalized... i.e. it ends
> up having to reduce its cwnd twice...
> 
> R
> 
> Chip Sharp wrote:
> >
> > A MUST requirement on the transmitter doesn't automatically imply a MUST
> > requirement on the receiver.
> >
> > There is no requirement in the spec for the receiver to report an ordering
> > violation.
> >
> > For ECN, what would be the implication of reporting a higher TSN in the ECNE?
> >
> > Chip
> >
> > At 05:58 PM 6/20/2001, Qiaobing Xie wrote:
> > >La Monte,
> > >
> > >See my comments below...
> > >
> > >"La Monte H.P. Yarroll" wrote:
> > > >
> > > > Are SCTP DATA chunks bundled in a single packet required to be in TSN
> > > > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> > > > recall a discussion suggesting that they ought to be in ascending TSN
> > > > order, but that it is not required.
> > > >
> > > > If they are NOT required to be in ascending TSN order, then we have
> > > > some bothersome extra code to write for ECN:
> > >
> > >So, you won't mind adding code to check whether TSNs are in ascending
> > >order in *every* received packet and adding yet more code to reporting
> > >any ordering violation?
> > >
> > >I think the code you would need to add to enforce the new rule would be
> > >many many times more than tracking the LOWEST TSN in your ECN
> > >subroutine.
> > >
> > >-Qiaobing
> > >
> > > >
> > > > Appendix A:
> > > >
> > > >    ECN-Echo:
> > > >
> > > >    RFC 2481 details a specific bit for a receiver to send back in its
> > > >    TCP acknowledgements to notify the sender of the Congestion
> > > >    Experienced (CE) bit having arrived from the network.  For SCTP this
> > > >    same indication is made by including the ECNE chunk.  This chunk
> > > >    contains one data element, i.e. the lowest TSN associated with the IP
> > > >    datagram marked with the CE bit, and looks as follows:
> > > >
> > > > In other words, we have to find the LOWEST TSN in the whole packet.
> > > >
> > > > For our implementation, we don't really care WHICH TSN we get in an
> > > > incoming ECNE--we can identify the sending transport based on ANY TSN
> > > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > > > the packet (better yet would be the LAST TSN).  How immutable is this?
> > > >
> > > |                                                                             |
> > > >
> > > |                                                                             |
> > > > ---------------------- Mailing List commands
> > > --------------------------------
> > > > Send the following in the body of a message to
> > > Majordomo@majordomo.cig.mot.com
> > > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> > > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> > > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
> > > list-name
> > > >
> > > |                                                                             |
> > > > Or you can use http://majordomo.cig.mot.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
> 
> --
> Randall R. Stewart
> randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> |                                                                             |
> |                                                                             |
> ---------------------- Mailing List commands --------------------------------
> Send the following in the body of a message to Majordomo@majordomo.cig.mot.com
> SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info list-name
> |                                                                             |
> Or you can use http://majordomo.cig.mot.com
> ------------------------------------------------------------------------------

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


From tsvwg-admin@ietf.org  Fri Jun 22 15:43: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 PAA06975
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 15:43: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 PAA04676;
	Fri, 22 Jun 2001 15:25: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 PAA04652
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 15:25:22 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA06011
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 15:24:47 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id MAA00624
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 12:25:22 -0700 (PDT)
Received: from sloth (dsl199-239.Eng.Sun.COM [129.146.199.239])
	by heliopolis.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id MAA10240
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 12:25:10 -0700 (PDT)
Message-Id: <200106221925.MAA10240@heliopolis.eng.sun.com>
Date: Fri, 22 Jun 2001 12:25:10 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
To: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: Vhuv69RLo1moyfs7vtOtYg==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc 
Subject: [Tsvwg] sctpsocket: Returning unsent messages
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 am unsure as to whether or not returning unsent messages
after a shutdown/abort is actually useful, mostly because I
am unclear on exactly what problem this is trying to solve.

The only problem I think of that this might try to solve
is to enable the sender to know which messages never "made
it", so it could, for example, try to resend them to a
different server.

However, this problem is not solved by returning unsent
messages, since messages that may have been sent may not
have been delivered, and even messages that the peer
has acknowleged may not have been delivered to or accepted
by the application at the other end. In other words, the
set of all unsent messages does not necessarily comprise
the set of all messages that were not delivered to the peer
application.

I would like some more information from the WG on exactly
what problem(s) returning unsent messages is trying to
solve, and how it is expected to solve them. If it turns out
that this functionality is indeed not useful, I propose we
drop it from the SCTP sockets extensions draft.

(I am not suggesting, however, that we remove the SCTP_SEND_FAILED
 notification for errors like bad stream ID, etc.)

Jonathan


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


From tsvwg-admin@ietf.org  Fri Jun 22 15:47: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 PAA07177
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 15:47: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 PAA05228;
	Fri, 22 Jun 2001 15:35: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 PAA05197
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 15:35:53 -0400 (EDT)
Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA06616
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 15:35:18 -0400 (EDT)
Received: from long-home (user-vcaurcf.dsl.mindspring.com [216.175.109.143])
	by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id MAA21970;
	Fri, 22 Jun 2001 12:35:10 -0700 (PDT)
Message-Id: <4.2.2.20010622122523.00a9e230@eudoramail.com>
X-Sender: lyndon_ong@eudoramail.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 
Date: Fri, 22 Jun 2001 12:35:18 -0700
To: Randall Stewart <randall@stewart.chicago.il.us>,
        Qiaobing Xie <xieqb@cig.mot.com>
From: Lyndon Ong <lyndon_ong@eudoramail.com>
Subject: Re: [Tsvwg] sctp error check
Cc: tsvwg@ietf.org
In-Reply-To: <3B336E85.C092435C@stewart.chicago.il.us>
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
 <200106212239.RAA16632@agevole.cig.mot.com>
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

Randy,

Maybe I'm being stubborn, but I still like my original alternative (2) of 
using a modified Adler with the optional CRC chunk.  To me that rectifies 
the main concern that people have with the original Adler with a fairly 
minor change, and at the same time it allows applications like iSCSI to add 
a more rigorous error check at the transport layer.

Unfortunately, most people seem to prefer to either not change at all, or 
change completely.

Lyndon

At 11:12 AM 6/22/2001 -0500, Randall Stewart wrote:
>Qiaobing Xie wrote:
> >
> > Lyndon Ong wrote:
> > >
> > > Folks,
> > >
> > > It's a bit worrying that we are not reaching more of a consensus, as 
> time goes on revising the spec will have greater impact.
> > >
> > > The main alternatives are (1) keeping the present checksum and 
> possibly introducing an optional CRC chunk or (2) changing to CRC.
> > >
> > > I support Randy's view that there's no advantage to adding a 
> negotiation process to this, compared to adding an optional CRC chunk 
> that can be discarded by implementations not using CRC.
> > >
> > > The issue that seems to be holding this up is disagreement on how bad 
> the problem is with the current checksum, some folks with the view that 
> since there is a known flaw in the Adler-32 we should not put this into a 
> new transport protocol and some folks with the view that it hasn't been 
> established whether the flaw has real impact.
> > >
> > > Any suggestions on how to get past this?
> >
> > Can we say that the "burden of proof" is on the side who wants to change
> > the "status quo" :-)
> >
>
>Some would say a mathmatical proof like Jonathan and Craig have offered
>is enough.. After all, I CAN prove that if I jump off the top of
>the sears tower, the law of gravity will most likely be my demise.
>I don't want to test this...
>
>I think the proof is there if you are willing to open your eyes.
>So what this comes down to is not a "burden of proof" but instead
>what is "proof". Do we need to fall off a cliff before there
>is a problem?
>
>Lyndon, what is your preference.. in the last summary did I
>have you in the right class?
>
>R
>
> > -Qiaobing
> >
> > >
> > > 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
>
>--
>Randall R. Stewart
>randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>
>_______________________________________________
>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 Jun 22 16:26: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 QAA08830
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 16:26:36 -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 QAA06139;
	Fri, 22 Jun 2001 16:08:25 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA06108
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 16:08:24 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA08046
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 16:07:48 -0400 (EDT)
Received: from mira-sjc5-9.cisco.com (mira-sjc5-9.cisco.com [171.71.163.32])
	by sj-msg-core-1.cisco.com (8.11.3/8.9.1) with ESMTP id f5MK7th26130;
	Fri, 22 Jun 2001 13:07:55 -0700 (PDT)
Received: from MRAMALHO-W2K1.cisco.com (sjc-vpn-440.cisco.com [10.21.65.184])
	by mira-sjc5-9.cisco.com (Mirapoint)
	with ESMTP id AAK92312;
	Fri, 22 Jun 2001 13:07:53 -0700 (PDT)
Message-Id: <4.3.2.7.2.20010622155628.05a50ee0@mira-sjc5-9.cisco.com>
X-Sender: mramalho@mira-sjc5-9.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Fri, 22 Jun 2001 16:07:14 -0400
To: Qiaobing Xie <xieqb@cig.mot.com>, Robert Snively <rsnively@brocade.com>
From: "Michael A. Ramalho" <mramalho@cisco.com>
Subject: Re: [Tsvwg] CRC-Straw Poll Update
Cc: "'Douglas Otis'" <dotis@sanlight.net>, TSV WG list <tsvwg@ietf.org>
In-Reply-To: <200106221806.NAA27661@agevole.cig.mot.com>
References: <FFD40DB4943CD411876500508BAD0279029935C0@sj5-ex2.brocade.com>
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

All,

Darn it ... I agree with these comments but .... we are talking
about no additional bandwidth ..... and trivial computation
over the non-CRC32 proposals.

CRC-32 will catch 100% of the stuck at faults (assuming the
CRC is received correctly and the machine word length
is <= 32) ... which is *a* predominant error characteristic
that we would like to catch with near certainty.

I agree with the comments on the need for an application level
checksum if you need more assurance than the transport provides.

I think previous email discussed the complexity of the different
proposals in a software environment.

We all know that CRC's in general can be trivially computed
on the fly with hardware (32 flip flops and a few XORs, for the
case here). Can the same be said for Alder ... or would you
require a "dumb ALU" hardware for all the additions? If so .. the
hardware complexity of the non-CRC methods are at a
disadvantage in high-speed, hardware environments. Should
this issue be weighed as well? I happen to think that SCTP
could be used on high-speed hosts (web servers) eventually.

Still thinking that the small complexity (in a software
environment) for CRC-32 is worth it.

Michael Ramalho

As we know CRC's can be trivially computed with
At 01:14 PM 6/22/2001 -0500, Qiaobing Xie wrote:
>Totally agreed. This is what I have been trying to tell the group.
>
>-Qiaobing
>
>Robert Snively wrote:
> >
> > My point is that CRC in the transport layer does not make
> > a transport layer reliable in the presence of bad
> > hardware and software design.  Conversely, a simple
> > and fast transport layer checking mechanism together with
> > anything approaching good design practices provides
> > transport layer reliability that is very excellent.
> >
> > Data integrity that is desired to be better than
> > something like one undetected error in 10**20 bytes +/-
> > some 2 or 3 orders of magnitude requires
> > application specific checking mechanisms to be applied
> > at the application end-point.  Therefore, the costs and complexity
> > implicit in a transport layer that strives for better reliability
> > than that threshold are probably ill spent.
> >
> > Bob
> >
>
>_______________________________________________
>tsvwg mailing list
>tsvwg@ietf.org
>http://www1.ietf.org/mailman/listinfo/tsvwg


Michael A. Ramalho, Ph.D.
Office email: mramalho@cisco.com
Personal email: mar42@cornell.edu
Office: +1.732.449.5762
Cell: +1.732.809.0188


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


From tsvwg-admin@ietf.org  Fri Jun 22 18:53: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 SAA14113
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 18:53: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 SAA09639;
	Fri, 22 Jun 2001 18:27: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 SAA09610
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 18:27:22 -0400 (EDT)
Received: from motgate3.mot.com (motgate3.mot.com [144.189.100.103])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA13572
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 18:26:38 -0400 (EDT)
Received: [from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by motgate3.mot.com (motgate3 2.1) with ESMTP id PAA28771; Fri, 22 Jun 2001 15:20:22 -0700 (MST)]
Received: [from em.cig.mot.com ([160.44.107.36]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id PAA15670; Fri, 22 Jun 2001 15:27:09 -0700 (MST)]
Received: (from piggy@localhost)
	by em.cig.mot.com (8.9.3/8.9.3) id RAA18478;
	Fri, 22 Jun 2001 17:27:08 -0500
From: "La Monte H.P. Yarroll" <piggy@em.cig.mot.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Fri, 22 Jun 2001 17:27:08 -0500 (CDT)
To: Chip Sharp <chsharp@cisco.com>
Cc: Qiaobing Xie <xieqb@cig.mot.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
In-Reply-To: <4.3.2.7.2.20010622123200.00b62c40@dogwood.cisco.com>
References: <200106202035.PAA10466@em.cig.mot.com>
	<200106202150.QAA02129@agevole.cig.mot.com>
	<4.3.2.7.2.20010622123200.00b62c40@dogwood.cisco.com>
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-ID: <15155.50113.567928.612318@theor.em.cig.mot.com>
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

I could imagine a really poor implementation being unable to identify
the transport associated with the higher TSN and thus failing to apply 
the congestion control changes to the right transport.

If I'd noticed this 4 months ago, I would have suggested that we drop
the TSN ordering requirement AND allow the ECNE to report ANY TSN from
the affected packet.

Neither of these is severe changes, but we are pretty late in the game 
for this sort of thing.  For our implementation these two changes
would eliminate 20 lines of code and about 8 bytes of storage per
chunk...  Not a big deal--just a little crufty inelegance.

Chip Sharp writes:
 > A MUST requirement on the transmitter doesn't automatically imply a MUST 
 > requirement on the receiver.
 > 
 > There is no requirement in the spec for the receiver to report an ordering 
 > violation.
 > 
 > For ECN, what would be the implication of reporting a higher TSN in
 > the ECNE? 
 > 
 > Chip
 > 
 > At 05:58 PM 6/20/2001, Qiaobing Xie wrote:
 > >La Monte,
 > >
 > >See my comments below...
 > >
 > >"La Monte H.P. Yarroll" wrote:
 > > >
 > > > Are SCTP DATA chunks bundled in a single packet required to be in TSN
 > > > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
 > > > recall a discussion suggesting that they ought to be in ascending TSN
 > > > order, but that it is not required.
 > > >
 > > > If they are NOT required to be in ascending TSN order, then we have
 > > > some bothersome extra code to write for ECN:
 > >
 > >So, you won't mind adding code to check whether TSNs are in ascending
 > >order in *every* received packet and adding yet more code to reporting
 > >any ordering violation?
 > >
 > >I think the code you would need to add to enforce the new rule would be
 > >many many times more than tracking the LOWEST TSN in your ECN
 > >subroutine.
 > >
 > >-Qiaobing
 > >
 > > >
 > > > Appendix A:
 > > >
 > > >    ECN-Echo:
 > > >
 > > >    RFC 2481 details a specific bit for a receiver to send back in its
 > > >    TCP acknowledgements to notify the sender of the Congestion
 > > >    Experienced (CE) bit having arrived from the network.  For SCTP this
 > > >    same indication is made by including the ECNE chunk.  This chunk
 > > >    contains one data element, i.e. the lowest TSN associated with the IP
 > > >    datagram marked with the CE bit, and looks as follows:
 > > >
 > > > In other words, we have to find the LOWEST TSN in the whole packet.
 > > >
 > > > For our implementation, we don't really care WHICH TSN we get in an
 > > > incoming ECNE--we can identify the sending transport based on ANY TSN
 > > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
 > > > the packet (better yet would be the LAST TSN).  How immutable is this?
 > > > 
 > > |                                                                             |
 > > > 
 > > |                                                                             |
 > > > ---------------------- Mailing List commands 
 > > --------------------------------
 > > > Send the following in the body of a message to 
 > > Majordomo@majordomo.cig.mot.com
 > > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
 > > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
 > > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info 
 > > list-name
 > > > 
 > > |                                                                             |
 > > > Or you can use http://majordomo.cig.mot.com
 > > > 
 > > ------------------------------------------------------------------------------
 > >
 > >_______________________________________________
 > >tsvwg mailing list
 > >tsvwg@ietf.org
 > >http://www1.ietf.org/mailman/listinfo/tsvwg
 > 
 > |									      |
 > |									      |
 > ---------------------- Mailing List commands --------------------------------
 > Send the following in the body of a message to Majordomo@majordomo.cig.mot.com
 > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
 > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
 > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info list-name
 > |                                                                             |
 > Or you can use http://majordomo.cig.mot.com
 > ------------------------------------------------------------------------------

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


From tsvwg-admin@ietf.org  Fri Jun 22 20:05:13 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 UAA16454
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 20:05:08 -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 TAA10906;
	Fri, 22 Jun 2001 19:25: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 TAA10874
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 19:25:32 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA14904
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 19:24:57 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id QAA14302;
	Fri, 22 Jun 2001 16:24:53 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 22 Jun 2001 23:25:33 UT
Received: from wopr.eng.ascend.com (wopr.eng.ascend.com [206.65.212.178])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id QAA24727;
	Fri, 22 Jun 2001 16:25:09 -0700 (PDT)
Received: from grigri.eng.ascend.com (grigri.eng.ascend.com [135.140.53.45])
	by wopr.eng.ascend.com (8.9.1/8.9.1) with ESMTP id QAA28122;
	Fri, 22 Jun 2001 16:25:32 -0700 (PDT)
Received: from lucent.com by grigri.eng.ascend.com (8.8.8+Sun/SMI-SVR4)
	id QAA16824; Fri, 22 Jun 2001 16:25:08 -0700 (PDT)
Message-ID: <3B33D42B.CC7ABDFE@lucent.com>
Date: Fri, 22 Jun 2001 16:26:35 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <200106221925.MAA10240@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

Some implementations of M2UA on the MGC will want to
retrieve the unsent messages from a failed SCTP association
and resend them on an alternate link when doing changeover.

Of course, some messages will be dropped when doing this,
but not as many as if retrieval of unsent messages was
not available.

MTP requires that the number of dropped messages be as 
low as possible, not that it be zero.

Jonathan Wood wrote:
> 
> I am unsure as to whether or not returning unsent messages
> after a shutdown/abort is actually useful, mostly because I
> am unclear on exactly what problem this is trying to solve.
> 
> The only problem I think of that this might try to solve
> is to enable the sender to know which messages never "made
> it", so it could, for example, try to resend them to a
> different server.
> 
> However, this problem is not solved by returning unsent
> messages, since messages that may have been sent may not
> have been delivered, and even messages that the peer
> has acknowleged may not have been delivered to or accepted
> by the application at the other end. In other words, the
> set of all unsent messages does not necessarily comprise
> the set of all messages that were not delivered to the peer
> application.
> 
> I would like some more information from the WG on exactly
> what problem(s) returning unsent messages is trying to
> solve, and how it is expected to solve them. If it turns out
> that this functionality is indeed not useful, I propose we
> drop it from the SCTP sockets extensions draft.
> 
> (I am not suggesting, however, that we remove the SCTP_SEND_FAILED
>  notification for errors like bad stream ID, etc.)
> 
> Jonathan

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


From tsvwg-admin@ietf.org  Fri Jun 22 20:22: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 UAA16656
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 20:22: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 UAA11893;
	Fri, 22 Jun 2001 20:06:41 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA11862
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 20:06:40 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA16466
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 20:06:04 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id RAA28081
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 17:06:40 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id RAA28752
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 17:06:40 -0700 (PDT)
Date: Fri, 22 Jun 2001 17:06:24 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: RE: [Tsvwg] sctp error check
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <NEBBJGDMMLHHCIKHGBEJMEBICJAA.dotis@sanlight.net>
Message-ID: <Roam.SIMC.2.0.6.993254784.15865.kcpoon@eng.sun.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

> A reliable transport takes on the responsibility of moving data between
> systems.  The transport itself provides the standards for doing so.

No, it is not a standard.  There are more than 1 transport protocol.  Apps
can use TCP, for example, as their transport.  Different transports provide
different things.  That's why we need to have more than 1.

> Applications do not need to concern themselves with the details of this
> transport function if the application can trust the transport to perform.  A

The above statement suggests that everything should be put into the
transport.  This is obviously the wrong thing to do.  As this has been
pointed out many times but you still don't want to believe is that if
a "claimed to be reliable" app believes that transport provides all the
reliability, it is not a reliable app.  I don't want to rehash this anymore...

> level of integrity is not a wide open issue.  If you think it should be only
> one level, fine.  UDP supports two.  Such a single level includes both

That's exactly why this has to be done in the app level!  Different apps
want different things.  I think all of us believe this.  It is wrong
to put this in the transport...  There cannot be a standard!

> option C & D.  If so, then this level should satisfy widely or there is no
> standard means of communication beyond an unsatisfactory level of integrity.
> Only the transport can provide this level of standardization.
> Standardization is not bad and it can be only one level.  If you worry about
> future requirements, then it would seem you are arguing for a chunk for such
> extensibility but that is not the case.  I am only suggesting that
> applications use the transport without duplicating their own layer of check
> acknowledgement and retries.  You suggested that if you want integrity, use

No checking is duplicated!  App A won't duplicate app B's effort if they
require different checking methods.  On the other hand, if we put it in the
transport, both app A and app B need to duplicate the effort in the 
transport because they are not satisified with what the tranport provides!
It is exactly the other way around.

> IPSec or the like.  These do not support CRC as a digest and add a fair
> amount of complexity many would wish to avoid if it is just for integrity.
> That does not conclude what should be used for SCTP either.
>
> Error checking is not something foreign to the transport.  Yes, I added
> choices that included my proposal.  I also attempted to add a range of
> choices that were not.  I was attempting to get the ball rolling as how to
> incorporate CRC.  If I missed some methods, please indicate how you would
> wish to see it done.  The choice D would be a minimalist approach and
> perhaps the most obvious.  If limited to a single solution, I would prefer C
> myself.  I tried to give a run down of pros and cons to get people thinking
> about the trade-offs.  If you feel you wish to still debate the merits of
> various algorithms, that too is your option.  I am not trying to dictate nor
> limit the choices.  To make it clear, I changed to the term CRC rather than
> Digest.
> 
> How would you wish to incorporate CRC?

As a lot of people have said, the WG has not yet picked CRC is the integrity
checking algorithm for SCTP.  Why do you keep on insisting that it is
already chosen?

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Fri Jun 22 20:29: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 UAA16757
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 20:29:06 -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 UAA12081;
	Fri, 22 Jun 2001 20:14: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 UAA12014
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 20:14:04 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA16579
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 20:13:28 -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 SAA26670;
	Fri, 22 Jun 2001 18:14:03 -0600 (MDT)
Received: from sloth (dsl199-239.Eng.Sun.COM [129.146.199.239])
	by heliopolis.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id RAA18730;
	Fri, 22 Jun 2001 17:14:03 -0700 (PDT)
Message-Id: <200106230014.RAA18730@heliopolis.eng.sun.com>
Date: Fri, 22 Jun 2001 17:14:03 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: jheitz@lucent.com
Cc: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: 6iPfx47VJKdnrmlZkjx31g==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 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


OK, I see.

So my next question is: do we only want to return
1. unsent messages only
2. unsent and sent-but-not-ack'd messages
3. unsent and sent-but-not-ack'd and sent-and-SACK'd messages

3 will get you everything in the transmit queue.

It seems to me that since the problem to be solved is to
optimize changeover, 3 would be the best. Thoughts?

In any case, no matter what we choose, I need to add
some text to the draft explaining that there is no
guarantee that the returned messages comprise the set of
all messages not received by the peer application. If
apps need this, they need to add their own mechanisms.

Jonathan

> 
> Some implementations of M2UA on the MGC will want to
> retrieve the unsent messages from a failed SCTP association
> and resend them on an alternate link when doing changeover.
> 
> Of course, some messages will be dropped when doing this,
> but not as many as if retrieval of unsent messages was
> not available.
> 
> MTP requires that the number of dropped messages be as 
> low as possible, not that it be zero.
> 
> Jonathan Wood wrote:
> > 
> > I am unsure as to whether or not returning unsent messages
> > after a shutdown/abort is actually useful, mostly because I
> > am unclear on exactly what problem this is trying to solve.
> > 
> > The only problem I think of that this might try to solve
> > is to enable the sender to know which messages never "made
> > it", so it could, for example, try to resend them to a
> > different server.
> > 
> > However, this problem is not solved by returning unsent
> > messages, since messages that may have been sent may not
> > have been delivered, and even messages that the peer
> > has acknowleged may not have been delivered to or accepted
> > by the application at the other end. In other words, the
> > set of all unsent messages does not necessarily comprise
> > the set of all messages that were not delivered to the peer
> > application.
> > 
> > I would like some more information from the WG on exactly
> > what problem(s) returning unsent messages is trying to
> > solve, and how it is expected to solve them. If it turns out
> > that this functionality is indeed not useful, I propose we
> > drop it from the SCTP sockets extensions draft.
> > 
> > (I am not suggesting, however, that we remove the SCTP_SEND_FAILED
> >  notification for errors like bad stream ID, etc.)
> > 
> > Jonathan


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


From tsvwg-admin@ietf.org  Fri Jun 22 21:01: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 VAA17311
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 21:01: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 UAA12778;
	Fri, 22 Jun 2001 20:38: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 UAA12751
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 20:38:51 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA16900
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 20:38:15 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id RAA09984
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 17:38:52 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id RAA02351
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 17:38:51 -0700 (PDT)
Date: Fri, 22 Jun 2001 17:38:36 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <3B33D42B.CC7ABDFE@lucent.com>
Message-ID: <Roam.SIMC.2.0.6.993256716.5002.kcpoon@eng.sun.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

> Some implementations of M2UA on the MGC will want to
> retrieve the unsent messages from a failed SCTP association
> and resend them on an alternate link when doing changeover.
> 
> Of course, some messages will be dropped when doing this,
> but not as many as if retrieval of unsent messages was
> not available.
> 
> MTP requires that the number of dropped messages be as 
> low as possible, not that it be zero.

Note that it is not just drop, there can be duplicate too.  The
other end may have received the message but the ack never gets
back.  So I believe the app must have some form of duplicate
detection mechanism.  Does it also mean that when the changeover
happens, the app can tell the other end exactly what to resend 
instead of relying on SCTP?  If some messages are not available,
it still knows exactly how many are missing.

I think the issue here is if we want to do the extra effort to
provide an unreliable error reporting mechanism to the apps.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Fri Jun 22 21:34: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 VAA18038
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 21:34: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 VAA13429;
	Fri, 22 Jun 2001 21:06:52 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id VAA13404
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 21:06:50 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA17379
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 21:06:14 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id SAA17108
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 18:06:10 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 23 Jun 2001 01:06:50 UT
Received: from jheitz-dsl-77.ascend.com (jheitz-dsl-77.ascend.com [134.112.160.77])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id SAA04079
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 18:06:25 -0700 (PDT)
Received: from lucent.com (localhost [127.0.0.1])
	by jheitz-dsl-77.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id SAA24726
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 18:06:11 -0700 (PDT)
Message-ID: <3B33EB83.9C62D08E@lucent.com>
Date: Fri, 22 Jun 2001 18:06:11 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.5.1 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <200106230014.RAA18730@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

Duplicating messages is 1000 times worse than dropping
messages. M2UA wants to retrieve just those messages that
are in the transmit queue and have never been sent. It
does not want to retrieve the messages in the retransmission
buffer, because there is a risk that those messages may
have actually arrived, in which case they would be
duplicated after retrieval.

To make the distinction, rfc2960 has:

N) Receive unsent message

and

O) Receive unacknowledged message.

Kacheong Poon wrote:
> 
> > Some implementations of M2UA on the MGC will want to
> > retrieve the unsent messages from a failed SCTP association
> > and resend them on an alternate link when doing changeover.
> >
> > Of course, some messages will be dropped when doing this,
> > but not as many as if retrieval of unsent messages was
> > not available.
> >
> > MTP requires that the number of dropped messages be as
> > low as possible, not that it be zero.
> 
> Note that it is not just drop, there can be duplicate too.  The
> other end may have received the message but the ack never gets
> back.  So I believe the app must have some form of duplicate
> detection mechanism.  Does it also mean that when the changeover
> happens, the app can tell the other end exactly what to resend
> instead of relying on SCTP?  If some messages are not available,
> it still knows exactly how many are missing.
> 
> I think the issue here is if we want to do the extra effort to
> provide an unreliable error reporting mechanism to the apps.
> 
>                                                         K. Poon.
>                                                         kcpoon@eng.sun.com


Jonathan Wood wrote:
> 
> OK, I see.
> 
> So my next question is: do we only want to return
> 1. unsent messages only
> 2. unsent and sent-but-not-ack'd messages
> 3. unsent and sent-but-not-ack'd and sent-and-SACK'd messages
> 
> 3 will get you everything in the transmit queue.
> 
> It seems to me that since the problem to be solved is to
> optimize changeover, 3 would be the best. Thoughts?
> 
> In any case, no matter what we choose, I need to add
> some text to the draft explaining that there is no
> guarantee that the returned messages comprise the set of
> all messages not received by the peer application. If
> apps need this, they need to add their own mechanisms.
> 
> Jonathan
> 
> >
> > Some implementations of M2UA on the MGC will want to
> > retrieve the unsent messages from a failed SCTP association
> > and resend them on an alternate link when doing changeover.
> >
> > Of course, some messages will be dropped when doing this,
> > but not as many as if retrieval of unsent messages was
> > not available.
> >
> > MTP requires that the number of dropped messages be as
> > low as possible, not that it be zero.
> >
> > Jonathan Wood wrote:
> > >
> > > I am unsure as to whether or not returning unsent messages
> > > after a shutdown/abort is actually useful, mostly because I
> > > am unclear on exactly what problem this is trying to solve.
> > >
> > > The only problem I think of that this might try to solve
> > > is to enable the sender to know which messages never "made
> > > it", so it could, for example, try to resend them to a
> > > different server.
> > >
> > > However, this problem is not solved by returning unsent
> > > messages, since messages that may have been sent may not
> > > have been delivered, and even messages that the peer
> > > has acknowleged may not have been delivered to or accepted
> > > by the application at the other end. In other words, the
> > > set of all unsent messages does not necessarily comprise
> > > the set of all messages that were not delivered to the peer
> > > application.
> > >
> > > I would like some more information from the WG on exactly
> > > what problem(s) returning unsent messages is trying to
> > > solve, and how it is expected to solve them. If it turns out
> > > that this functionality is indeed not useful, I propose we
> > > drop it from the SCTP sockets extensions draft.
> > >
> > > (I am not suggesting, however, that we remove the SCTP_SEND_FAILED
> > >  notification for errors like bad stream ID, etc.)
> > >
> > > Jonathan

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


From tsvwg-admin@ietf.org  Fri Jun 22 21:59: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 VAA18952
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 21:59: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 VAA14343;
	Fri, 22 Jun 2001 21:47: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 VAA14316
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 21:47:44 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA18838
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 21:47:08 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id SAA02618
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 18:47:45 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id SAA09245
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 18:47:44 -0700 (PDT)
Date: Fri, 22 Jun 2001 18:47:28 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <3B33EB83.9C62D08E@lucent.com>
Message-ID: <Roam.SIMC.2.0.6.993260848.20496.kcpoon@eng.sun.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

> Duplicating messages is 1000 times worse than dropping
> messages. M2UA wants to retrieve just those messages that
> are in the transmit queue and have never been sent. It
> does not want to retrieve the messages in the retransmission
> buffer, because there is a risk that those messages may
> have actually arrived, in which case they would be
> duplicated after retrieval.
> 
> To make the distinction, rfc2960 has:
> 
> N) Receive unsent message
> 
> and
> 
> O) Receive unacknowledged message.

So it seems to me that there is no use for receiving unack'ed
message because of the ambiguity.  Note that we do not want
to add things to the socket API which is of no use.

BTW, does it also mean that M2UA has no internal mechanism
to tell how many messages are missing?

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Fri Jun 22 23:02: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 XAA20573
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 23:02: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 WAA15847;
	Fri, 22 Jun 2001 22:52: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 WAA15814
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 22:52:03 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id WAA20482
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 22:51:28 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id TAA19022;
	Fri, 22 Jun 2001 19:51:23 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 23 Jun 2001 02:52:03 UT
Received: from jheitz-dsl-77.ascend.com (jheitz-dsl-77.ascend.com [134.112.160.77])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id TAA09196;
	Fri, 22 Jun 2001 19:51:39 -0700 (PDT)
Received: from lucent.com (localhost [127.0.0.1])
	by jheitz-dsl-77.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id TAA24804;
	Fri, 22 Jun 2001 19:51:24 -0700 (PDT)
Message-ID: <3B34042C.68C1F3F8@lucent.com>
Date: Fri, 22 Jun 2001 19:51:24 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.5.1 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@eng.sun.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <Roam.SIMC.2.0.6.993260848.20496.kcpoon@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

Kacheong Poon wrote:
> 
> > Duplicating messages is 1000 times worse than dropping
> > messages. M2UA wants to retrieve just those messages that
> > are in the transmit queue and have never been sent. It
> > does not want to retrieve the messages in the retransmission
> > buffer, because there is a risk that those messages may
> > have actually arrived, in which case they would be
> > duplicated after retrieval.
> >
> > To make the distinction, rfc2960 has:
> >
> > N) Receive unsent message
> >
> > and
> >
> > O) Receive unacknowledged message.
> 
> So it seems to me that there is no use for receiving unack'ed
> message because of the ambiguity.  Note that we do not want
> to add things to the socket API which is of no use.
> 
> BTW, does it also mean that M2UA has no internal mechanism
> to tell how many messages are missing?
> 

A part of the MTP changeover procedure queries the remote
end over an alternate link about which messages have been 
received on the failed link. The local MTP can use this 
information to retrieve the correct messages from the
retransmission buffer. 

In the case of M2UA, this is done
at the SG, so is of no use if the SCTP association is down.

However, M2PA does use the changeover information and will
retrieve unacknowledged messages. See 4.2.6 of M2PA-02
for more info.

>                                                         K. Poon.
>                                                         kcpoon@eng.sun.com
>

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


From tsvwg-admin@ietf.org  Fri Jun 22 23:41:01 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 XAA21420
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 23:41: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 XAA16461;
	Fri, 22 Jun 2001 23:20: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 XAA16432
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 23:20:00 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id XAA20849
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 23:19:25 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id UAA19490
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 20:19:22 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 23 Jun 2001 03:20:02 UT
Received: from jheitz-dsl-77.ascend.com (jheitz-dsl-77.ascend.com [134.112.160.77])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id UAA10895
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 20:19:38 -0700 (PDT)
Received: from lucent.com (localhost [127.0.0.1])
	by jheitz-dsl-77.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id UAA24836
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 20:19:23 -0700 (PDT)
Message-ID: <3B340ABB.8D2445F0@lucent.com>
Date: Fri, 22 Jun 2001 20:19:23 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.5.1 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
		 <200106212239.RAA16632@agevole.cig.mot.com> <3B336E85.C092435C@stewart.chicago.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

The impasse remains. zzzzz.

Another idea:

Sacrifice the high bit of the Verification Tag.
If it's 0, then Checksum is Adler32
If it's 1, then Checksum is CRC32

Simple. No extra chunk. No negotiation.
31 bits should be enough for the Verification Tag.

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


From tsvwg-admin@ietf.org  Fri Jun 22 23:51: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 XAA21561
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 23:51: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 XAA16516;
	Fri, 22 Jun 2001 23:21: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 XAA16486
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 23:21:52 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-129.dallas.net [209.44.41.129])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id XAA20890
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 23:21:14 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id WAA01710;
	Fri, 22 Jun 2001 22:21:34 -0500
Date: Fri, 22 Jun 2001 22:21:34 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org, SIGTRAN@STANDARDS.NORTELNETWORKS.COM
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
Message-ID: <20010622222134.A1188@bfgbhome>
Reply-To: bidulock@openss7.org
References: <200106230014.RAA18730@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <200106230014.RAA18730@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Fri, Jun 22, 2001 at 05:14:03PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by bfgbhome.inetint.com id WAA01710
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id XAA16487
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 XAA16516
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id XAA21561

Jonathan,

The M2UA drafts do not require the retrieval mechanism.  In fact,
the current draft does not even require SCTP as a transport.  The
current M2UA draft does not make any recommendations concerning SCTP
retrieval.  AFAIK it does not even mention it.

You are correct in that one solution to the issue is an application
level ack.  Just such a mechanism is inherent in the MTP3
specification and has been proposed for M2UA.  An application level
ack is the only mechanism which wil allow an M2UA system to meet
Q.782 conformance tests (at MTP Level 3).

SCTP retrieval, on the other hand, is part of the current M2PA
draft.  Your concerns regarding messages which are unacknowledged at
the sender, but received and delivered to the receiving app, are an
issue in M2PA.  Using SCTP retrieval alone, again, would cause
failure of Q.782 test cases which require no message loss during
changeover.  (Discarding when communication exists between peers via
an alternative path is unacceptable.)

This situation with M2PA led me to ask whether an SCTP
implementation could be made to withold a Cumulative Ack, yet Sack
TSNs which are contiguous with the cummulative ack point.  Randall
fairly responded that this "trick" might not be treated well by some
applications.  It surely would not advance the goal of
interoperability.

In disussions with Tom George and others, I believe that it is clear
that M2PA's best way of resolving this issue is to provide an M2PA
application level ack outside of SCTP.  Just such an application
level ack has been proposed and I believe will be advanced into the
next M2PA draft.

Because an application level ack is required for both M2PA and M2UA,
which are the lower level UAs in the SIGTRAN SS7 suite, the only UAs
which might benefit from the SCTP retrieval are M3UA and SUA.

In the case of M3UA and SUA, Jacob's superlatives are correct.  When
M3UA fails over between redundant ASPs, it is far better for the
M3UA to discard messages than risk duplication.  To increase the
ability of M3UA to meet the stringent requirements set out in Q.706
for message loss, mis-sequencing and duplication, an application
level ack was proposed but has not been adopted.  M3UA does not
require SCTP retrieval, does not recommend SCTP retrieval, and AFAIK
does not even mention it.  This is largely, I believe, because the
responsibility of synchronization between ASPs during changeover is
placed on an unspecified ASP to ASP state synchronization mechanism.
Because of that, it really wouldn't matter then which messages are
sent in duplicate to an alternate ASP: it is the alternate ASPs
responsibility to perform the atomic state synchronization with its
peers and know which messages have been processed and which have
not, detect duplicates, and maintain synchronization.

What applies to M3UA also applies to SUA, in that redundant ASPs are
tasked with the same peer state synchronization.

Therefore, if one was to use the SCTP retrieval mechanism in M3UA or
SUA failovers to avoid message loss from SG to ASP, the retrieval
mechanism should provide the complete set of messages as you suggest
in (3); in other words, every message that the SCTP transmitter
still has at its disposal to retrieve.  This would allow an
implementation to minimize message loss in M3UA and SUA, with the
responsibility placed on the ASP to know which messages had been
processed by a peer.

A forward Correlation Id proposal has already be advanced to the
M3UA draft which will provide the ASPs with a mechanism for
identifying specific DATA messages between them and allow them to
perform this processing.

It is reasonable to assume that SUA will eventually take this approach
in support of the Broadcast mode for ASPs.

With all that said, I think it is a fair statement to warn the user
of the SCTP retrieval mechanism in the draft that some messages
retrieved may have already been accepted by the peer app.  It also
makes sense that, if retrieved messages are passed as ancillary data
in recvmsg, that the retrieved data be marked with the assigned SSN
(if any) and whether the DATA chunks was from your categories (1),
(2) and (3) with an attribute in the ancillary data.  Retrieval
without these attributes would surely only be tailored to one of
three classes of users, so I would advise against retreival using
read() or recvmsg() (returned as would be normal received data).

--Brian


On Fri, 22 Jun 2001, Jonathan Wood wrote:
 
> 
> OK, I see.
> 
> So my next question is: do we only want to return
> 1. unsent messages only
> 2. unsent and sent-but-not-ack'd messages
> 3. unsent and sent-but-not-ack'd and sent-and-SACK'd messages
> 
> 3 will get you everything in the transmit queue.
> 
> It seems to me that since the problem to be solved is to
> optimize changeover, 3 would be the best. Thoughts?
> 
> In any case, no matter what we choose, I need to add
> some text to the draft explaining that there is no
> guarantee that the returned messages comprise the set of
> all messages not received by the peer application. If
> apps need this, they need to add their own mechanisms.
> 
> Jonathan
> 
> > 
> > Some implementations of M2UA on the MGC will want to
> > retrieve the unsent messages from a failed SCTP association
> > and resend them on an alternate link when doing changeover.
> > 
> > Of course, some messages will be dropped when doing this,
> > but not as many as if retrieval of unsent messages was
> > not available.
> > 
> > MTP requires that the number of dropped messages be as 
> > low as possible, not that it be zero.
> > 
> > Jonathan Wood wrote:
> > > 
> > > I am unsure as to whether or not returning unsent messages
> > > after a shutdown/abort is actually useful, mostly because I
> > > am unclear on exactly what problem this is trying to solve.
> > > 
> > > The only problem I think of that this might try to solve
> > > is to enable the sender to know which messages never "made
> > > it", so it could, for example, try to resend them to a
> > > different server.
> > > 
> > > However, this problem is not solved by returning unsent
> > > messages, since messages that may have been sent may not
> > > have been delivered, and even messages that the peer
> > > has acknowleged may not have been delivered to or accepted
> > > by the application at the other end. In other words, the
> > > set of all unsent messages does not necessarily comprise
> > > the set of all messages that were not delivered to the peer
> > > application.
> > > 
> > > I would like some more information from the WG on exactly
> > > what problem(s) returning unsent messages is trying to
> > > solve, and how it is expected to solve them. If it turns out
> > > that this functionality is indeed not useful, I propose we
> > > drop it from the SCTP sockets extensions draft.
> > > 
> > > (I am not suggesting, however, that we remove the SCTP_SEND_FAILED
> > >  notification for errors like bad stream ID, etc.)
> > > 
> > > Jonathan
> 
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
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  Fri Jun 22 23:59:05 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 XAA21655
	for <tsvwg-archive@odin.ietf.org>; Fri, 22 Jun 2001 23:59: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 XAA17204;
	Fri, 22 Jun 2001 23:47:41 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id XAA17171
	for <tsvwg@ns.ietf.org>; Fri, 22 Jun 2001 23:47:39 -0400 (EDT)
Received: from bfgbhome.inetint.com (IDENT:root@tnt-dal-129.dallas.net [209.44.41.129])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id XAA21526
	for <tsvwg@ietf.org>; Fri, 22 Jun 2001 23:47:02 -0400 (EDT)
Received: (from brian@localhost)
	by bfgbhome.inetint.com (8.9.3/8.9.3) id WAA02020;
	Fri, 22 Jun 2001 22:47:36 -0500
Date: Fri, 22 Jun 2001 22:47:36 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Kacheong Poon <kcpoon@eng.sun.com>
Cc: tsvwg@ietf.org, SIGTRAN@STANDARDS.NORTELNETWORKS.COM
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
Message-ID: <20010622224736.B1188@bfgbhome>
Reply-To: bidulock@openss7.org
References: <3B33EB83.9C62D08E@lucent.com> <Roam.SIMC.2.0.6.993260848.20496.kcpoon@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Roam.SIMC.2.0.6.993260848.20496.kcpoon@eng.sun.com>; from kcpoon@eng.sun.com on Fri, Jun 22, 2001 at 06:47:28PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

On Fri, 22 Jun 2001, Kacheong Poon wrote:
> 
> So it seems to me that there is no use for receiving unack'ed
> message because of the ambiguity.  Note that we do not want
> to add things to the socket API which is of no use.
> 
> BTW, does it also mean that M2UA has no internal mechanism
> to tell how many messages are missing?
> 

As per my previous comments on this thread, the ambiguity is
resolved at the ASPs in M3UA using ASP-to-ASP state synchronization.
It is resolved in M2UA and M2PA using the proposed application level
ack (which is also required for SS7 compliance for M2UA and M2PA).
The use of SCTP retrieval in the current M2PA draft has been shown
to be inadequate: expect M2PA-03 to provide a mechanism for an
application level ack in its stead.

The mechanism could still be useful to an M3UA or SUA implementation
which wants to reduce message loss due to failover in Override and
Loadshare modes as described in my other note.

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Sat Jun 23 08:27: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 IAA10094
	for <tsvwg-archive@odin.ietf.org>; Sat, 23 Jun 2001 08:27: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 IAA06717;
	Sat, 23 Jun 2001 08:04:17 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA06685
	for <tsvwg@ns.ietf.org>; Sat, 23 Jun 2001 08:04:15 -0400 (EDT)
Received: from baqaqi.chi.il.us (rm05-24-167-185-206.ce.mediaone.net [24.167.185.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA09690
	for <tsvwg@ietf.org>; Sat, 23 Jun 2001 08:03:30 -0400 (EDT)
Received: from baqaqi.chi.il.us (piggy@localhost)
	by baqaqi.chi.il.us (8.11.0/8.11.0) with ESMTP id f5NC2rg23741;
	Sat, 23 Jun 2001 07:02:53 -0500
Message-Id: <200106231202.f5NC2rg23741@baqaqi.chi.il.us>
To: Mike Bartlett <MB@dataconnection.com>
cc: tsvwg@ietf.org, Jonathan.Wood@Sun.COM, randall@stewart.chicago.il.us
From: "La Monte Henry Piggy Yarroll" <piggy@baqaqi.chi.il.us>
Subject: Re: [Tsvwg] Use of association IDs on UDP-style SCTP sockets (draft-ietf-tsvw g-sctpsocket-00.txt) 
In-reply-to: Your message of Fri, 15 Jun 2001 17:31:02 +0100.
             <37701240971DD31193970000F6CCB9F702855C29@duke.datcon.co.uk> 
Date: Sat, 23 Jun 2001 07:02:52 -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

Jonathan Wood directed me to your messages.  Thanks very much for your
detailed analysis.  More comments follow, including ones directed at
Jonathan and Randy.

Mike Bartlett <MB@dataconnection.com> writes:
> I have some comments on the use of association IDs on UDP-style SCTP sockets
> as specified in the SCTP Sockets Mapping draft.  One of these is a real
> problem (relating to the mechanism specified for refusing incoming
> associations on UDP-style SCTP sockets).
> 
> These comments all relate to the fact that the SCTP_ASSOC_CHANGE
> notification is the only way that the application gets to learn what the
> association IDs are for the associations on its UDP-style sockets (they are
> provided in the notification with sac_state=COMMUNICATION_UP).  This means
> that an application which has disabled the SCTP_ASSOC_CHANGE notification,
> using the SCTP_RECVASSOCEVNT socket option, can never identify an
> association using an association ID.
> 
> (1) On a UDP-style socket the association ID is carried on all other
> notifications (e.g. send failure), and also on SCTP_SNDRCV ancillary data,
> as a means of correlating the event to an association.  The draft should
> make it clear that the SCTP stack MUST also set a peer transport address in
> the msg_name field returned on a recvmsg() call, so that applications which
> do not receive SCTP_ASSOC_CHANGE notifications can still perform correlation
> to an association.

I have to agree.

> For the ancillary data the msg_name should always contain the source
> transport address for the data that it accompanies.  For notifications it
> should contain the primary peer transport address.

These are the reasonable addresses to use.  If this were a standards
track draft rather than informational, I'd say the ancillary data
msg_name MUST contain the source transport address for the data it
accompanies, and the notifications SHOULD contain the primary peer
transport address.

> (2) For certain socket options that relate to a single association (e.g.
> SCTP_RTOINFO, SCTP_STATUS) the application must identify the association on
> a UDP-style socket using the association ID.  Therefore it must enable
> SCTP_ASSOC_CHANGE notifications.  The same applies if the application wishes
> to branch off any associations on its UDP-style sockets by calling
> sctp_peeloff() - it must know the association IDs, so it must  enable
> SCTP_ASSOC_CHANGE notifications.  
> 
> Please make it clear in the draft that enabling SCTP_ASSOC_CHANGE
> notifications is an essential pre-requisite for these operations.

This is a very good idea.  Jonathan, do you want me to compose text or
do you want to?

> (3) Sections 5.3.1.1 and 3.1.2 state that a client application which does
> not want to accept incoming associations on a UDP-style socket must disable
> the SCTP_ASSOC_CHANGE notification using the SCTP_RECVASSOCEVNT socket
> option.  
> 
> There is a big problem with this.  As point (2) makes clear, there are
> certain operations which an application can only perform an a UDP-style
> socket if it has SCTP_ASSOC_CHANGE notifications turned on (and the
> association ID is also useful, but not essential, for correlation purposes -
> point (1)).
> 
> It seems clear to me that we need a new socket option to allow applications
> to turn on/off acceptance of incoming associations on UDP sockets.  We
> cannot use the suggested method of overloading the SCTP_RECVASSOCEVNT socket
> option.

This makes sense to me.  Randy, what do you think?  I remember that we
had quite a lengthy discussion of controling incoming associations...

> (4) If the change I suggest in point (3) is accepted then I also suggest
> that the default setting for the SCTP_RECVASSOCEVNT socket option should be
> *on* for UDP-style sockets (as it is for the SCTP_RECVDATAIOEVNT option -
> section 7.3).  An application which does not receive SCTP_ASSOC_CHANGE
> notifications on a UDP-style socket is at a considerable disadvantage, and
> the change suggested in point (3) means that this is no longer a security
> issue.

This is my strong preference even in the absense of (3), though I
remember why we decided for the current default--some of the authors
were concerned about unwanted associations arriving during application
startup before the option could be turned off.  Suggestion (3)
addresses that concern.

> Best wishes
> 
> Mike Bartlett
> Voice Networking Group
> Data Connection Ltd
> Tel: +44 20 8366 1177
> Fax: +44 20 8363 1039
> Email: mb@dataconnection.com
> Web: http://www.dataconnection.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  Sat Jun 23 10:42: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 KAA11717
	for <tsvwg-archive@odin.ietf.org>; Sat, 23 Jun 2001 10:42: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 KAA10861;
	Sat, 23 Jun 2001 10:25: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 KAA10792
	for <tsvwg@ns.ietf.org>; Sat, 23 Jun 2001 10:25:53 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h012.c007.snv.cp.net [209.228.33.219])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA11539
	for <tsvwg@ietf.org>; Sat, 23 Jun 2001 10:25:14 -0400 (EDT)
Received: (cpmta 20119 invoked from network); 23 Jun 2001 07:25:21 -0700
Received: from unknown (HELO littlejoy) (64.130.130.105)
  by smtp.telocity.com (209.228.33.219) with SMTP; 23 Jun 2001 07:25:21 -0700
X-Sent: 23 Jun 2001 14:25:21 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Kacheong Poon" <kcpoon@eng.sun.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Sat, 23 Jun 2001 07:23:13 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJOECCCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <Roam.SIMC.2.0.6.993254784.15865.kcpoon@eng.sun.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

Kacheong,

> > A reliable transport takes on the responsibility of moving data between
> > systems.  The transport itself provides the standards for doing so.
>
> No, it is not a standard.  There are more than 1 transport protocol.  Apps
> can use TCP, for example, as their transport.  Different transports
> provide different things.  That's why we need to have more than 1.

How many similar versions of SCTP should there be?  There is a trade-off
between options and introducing a new protocol as well as similar
considerations in the level of error checking employed.  Some applications
would be fine with unchecked packets, others with one in so many million
packets containing an undetected error, while others expect this undetected
error rate to be a rare event in a life time.  The difference in algorithms
and related processing to obtain the latter turns out to be small to allow
SCTP to server a greater range of applications beyond the original PSTN.

> > Applications do not need to concern themselves with the details of this
> > transport function if the application can trust the transport
> > to perform.
>
> The above statement suggests that everything should be put into the
> transport.  This is obviously the wrong thing to do.  As this has been
> pointed out many times but you still don't want to believe is that if
> a "claimed to be reliable" app believes that transport provides all the
> reliability, it is not a reliable app.  I don't want to rehash
> this anymore...

To extend your logic, then no error checking should be placed within the
transport and all error checks should be left to the application.  You would
be outraged if the transport required your application to implement error
checking acknowledgment and retries.  This outrage would be based on the
increased resources required together with the commensurate reduction in
performance due to greatly increased latency.  Added to this, the time to
get this working in the market place will be extended by this error checking
aspect of the transport moved into thousands of applications.  In a
competitive market place, transports that provide the needed level of
integrity will replace those that don't because there will not be a suitable
solution that places error checking into the applications.  Greater
performance and conformity will always be found with integrity provided by
the transport.  No philosophy will change that.

> > level of integrity is not a wide open issue.  If you think it
> > should be only one level, fine.  UDP supports two.
>
> That's exactly why this has to be done in the app level!  Different apps
> want different things.  I think all of us believe this.  It is wrong
> to put this in the transport...  There cannot be a standard!

Here is an example of the integrity level being an option within the
transport.  If you are arguing against an integrity level option, then
should there be either no error checking or the higher level of error
checking?  Are you saying that TCP or SCTP are not standards used for
communication?  Are you saying there can be no level of error checking
within the transport?  Are you saying that your application has been
satisfied and you are being recalcitrant by arguing against standards?  I do
not understand your statement.

> > If so, then this level should satisfy widely or there
> > is no standard means of communication beyond an
> > unsatisfactory level of integrity.  Only the transport
> > can provide this level of standardization.
> > Standardization is not bad and it can be only one level.
> > If you worry about future requirements, then it would
> > seem you are arguing for a chunk for such extensibility
> > but that is not the case.  I am only suggesting that
> > applications use the transport without duplicating their
> > own layer of check acknowledgement and retries.  You
> > suggested that if you want integrity, use
>
> No checking is duplicated!  App A won't duplicate app B's effort
> if they require different checking methods.  On the other hand,
> if we put it in the transport, both app A and app B need to
> duplicate the effort in the transport because they are not
> satisified with what the tranport provides! It is exactly the
> other way around.

It is fantastic to suggest that error checking in the application is not
duplicating error checking already being done in the transport.  A great
deal of the work done by the transport is related to ensuring data is
retained at the source pending satisfactory reception based on completion of
transport error checks.  There is a small difference in overall processing
between mediocre and excellent error checking in the transport.  An
excellent level will allow applications to not replicate the error checking
done in the transport.  There can be no standard method of error checking
within the application as the market place will demand this checking be done
in the transport for performance and conformity.  In preventing either the
transport integrity option or not employing the higher level of checking,
there will need for yet another transport to satisfy the market place.

> > IPSec or the like.  These do not support CRC as a digest and add a fair
> > amount of complexity many would wish to avoid if it is just for
> > integrity. That does not conclude what should be used for SCTP either.
> >
> > Error checking is not something foreign to the transport.  Yes, I added
> > choices that included my proposal.  I also attempted to add a range of
> > choices that were not.  I was attempting to get the ball rolling as how
> > to incorporate CRC.  If I missed some methods, please indicate how
> > you would wish to see it done.  The choice D would be a minimalist
> > approach and perhaps the most obvious.  If limited to a single solution,
> > I would prefer C myself.  I tried to give a run down of pros and cons to
> > get people thinking about the trade-offs.  If you feel you wish to still
> > debate the merits of various algorithms, that too is your option.  I am
> > not trying to dictate nor limit the choices.  To make it clear, I
> > changed to the term CRC rather than Digest.
> >
> > How would you wish to incorporate CRC?
>
> As a lot of people have said, the WG has not yet picked CRC is
> the integrity checking algorithm for SCTP.  Why do you keep on
> insisting that it is already chosen?

I am not the one to indicate when CRC has been decided.  I have noted a much
greater level of support for CRC over other types of error checking.  I
wanted to explore a few options open when making this change.  Forgive my
attempts at exploring these additional considerations if premature but it
has been informative based on the few reactions.  Thank you for your input.

Doug

> 							K. Poon.
> 							kcpoon@eng.sun.com


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


From tsvwg-admin@ietf.org  Sat Jun 23 10:49: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 KAA11756
	for <tsvwg-archive@odin.ietf.org>; Sat, 23 Jun 2001 10:49: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 KAA11307;
	Sat, 23 Jun 2001 10:32: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 KAA11276
	for <tsvwg@ns.ietf.org>; Sat, 23 Jun 2001 10:32:20 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h008.c007.snv.cp.net [209.228.33.214])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA11625
	for <tsvwg@ietf.org>; Sat, 23 Jun 2001 10:31:38 -0400 (EDT)
Received: (cpmta 26650 invoked from network); 23 Jun 2001 07:31:45 -0700
Received: from unknown (HELO littlejoy) (64.130.130.105)
  by smtp.telocity.com (209.228.33.214) with SMTP; 23 Jun 2001 07:31:45 -0700
X-Sent: 23 Jun 2001 14:31:45 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Jacob Heitz" <jheitz@lucent.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Sat, 23 Jun 2001 07:29:37 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJKECDCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <3B340ABB.8D2445F0@lucent.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

Jacob,

Can you explain what you see as an impasse.  It is not from the lack of
support unless unanimity is a requirement.  I would be happy to see just CRC
used.  If to support legacy Adler-32, then a CRC chunk placed at the
beginning of the packet below the common header would make more sense.

Doug

> The impasse remains. zzzzz.
>
> Another idea:
>
> Sacrifice the high bit of the Verification Tag.
> If it's 0, then Checksum is Adler32
> If it's 1, then Checksum is CRC32
>
> Simple. No extra chunk. No negotiation.
> 31 bits should be enough for the Verification Tag.
>
> _______________________________________________
> 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  Sat Jun 23 14:04: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 OAA14557
	for <tsvwg-archive@odin.ietf.org>; Sat, 23 Jun 2001 14:04: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 NAA16781;
	Sat, 23 Jun 2001 13:50: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 NAA16751
	for <tsvwg@ns.ietf.org>; Sat, 23 Jun 2001 13:50:33 -0400 (EDT)
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA14297
	for <tsvwg@ietf.org>; Sat, 23 Jun 2001 13:49:54 -0400 (EDT)
From: Ivan.Arias-Rodriguez@nokia.com
Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])
	by mgw-x3.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5NHomI15394
	for <tsvwg@ietf.org>; Sat, 23 Jun 2001 20:50:48 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir03nok.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T545374b2ccac158f2313e2@esvir03nok.nokia.com>;
 Sat, 23 Jun 2001 20:50:09 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1B2T50>; Sat, 23 Jun 2001 20:50:09 +0300
Message-ID: <7238A5BA4C7C7F4DA40EC7525B364BA4047130@esebe002.NOE.Nokia.com>
To: dotis@sanlight.net, jheitz@lucent.com, tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Sat, 23 Jun 2001 20:50:05 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id NAA16752
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 NAA16781
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id OAA14557

	Hi all!

> > Another idea:
> >
> > Sacrifice the high bit of the Verification Tag.
> > If it's 0, then Checksum is Adler32
> > If it's 1, then Checksum is CRC32
> >
> > Simple. No extra chunk. No negotiation.
> > 31 bits should be enough for the Verification Tag.

	I remember that Randall already proposed something like this at the
early stage of this discussion. I'm in the "use CRC" side, but I like this
approach Jacob is pushing again to the arena...

	We don't even have to sacrifice the high bit of the checksum.
Another idea comes to my mind, which is for example placing that "checksum
selection bit" in the Verification Tag... Let's say that the sender tells to
the receiver if it is using Adler-32 (or maybe better modified Adler-32, or
any other "soft" checksum) using a Verification tag with its first (or last)
bit set to 0 for example, and it announces the use of CRC setting it to 1...

	The Verification Tag would continue being 32 bits long, and it would
make the same work it is doing now, the only difference is that it carries
extra information... The selection of the Verification Tag would be as easy
as doing it exactly as before, and then set the lowest bit to 0 or 1... One
more line of code that is executed only once in the (hopefully long) life of
the association... :-)

	Moreover, we could move the checksum to the end of the datagram... I
think this is a good idea, not only for the reasons that have been already
stated, but also because you don't even have to save the value of the
checksum, set it to 0 and then calculate it and compare... just calculate
the checksum and compare it with the last word of the received datagram...
but this is another issue.

	These changes would imply one more line of code to be executed and
few extra code to be added to be able to calculate both Adler and CRC. You
just check the, let's say bit number 64 of the incoming chunk, and depending
on its value, go to one or other branch of your code and calculate one or
the other... The main problem I see with this is that maybe someone could
see it as "inelegant"... :-/ Special offer: no negotiation, no extra
checksum chunk, almost no extra processing, multiple checksum possibility...
now for sale! ;-)

	We could even use more than one bit, so more checksums can be
chosen, for example two bits and so we could include Adler-32, modified
Adler-32, TCP-32 and CRC-32... Hopefully this will make happy to people like
me wanting to use CRC, and people who wish no change or using modified
Adler-32, TCP checksum or whatever... But I don't want to divide votes even
more, this is being a long discussion and I have a Master Thesis to do! ;-)

	BR Iván Arias Rodríguez

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


From tsvwg-admin@ietf.org  Sat Jun 23 14:17: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 OAA14733
	for <tsvwg-archive@odin.ietf.org>; Sat, 23 Jun 2001 14: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 OAA17562;
	Sat, 23 Jun 2001 14:01:41 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA17531
	for <tsvwg@ns.ietf.org>; Sat, 23 Jun 2001 14:01:39 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA14509
	for <tsvwg@ietf.org>; Sat, 23 Jun 2001 14:01:00 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id LAA02873;
	Sat, 23 Jun 2001 11:00:58 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 23 Jun 2001 18:01:36 UT
Received: from wopr.eng.ascend.com (wopr.eng.ascend.com [206.65.212.178])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id LAA13110;
	Sat, 23 Jun 2001 11:01:10 -0700 (PDT)
Received: from grigri.eng.ascend.com (grigri.eng.ascend.com [135.140.53.45])
	by wopr.eng.ascend.com (8.9.1/8.9.1) with ESMTP id LAA19954;
	Sat, 23 Jun 2001 11:01:35 -0700 (PDT)
Received: from lucent.com by grigri.eng.ascend.com (8.8.8+Sun/SMI-SVR4)
	id LAA16242; Sat, 23 Jun 2001 11:01:09 -0700 (PDT)
Message-ID: <3B34D9BF.58F18DED@lucent.com>
Date: Sat, 23 Jun 2001 11:02:39 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Ivan.Arias-Rodriguez@nokia.com
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <7238A5BA4C7C7F4DA40EC7525B364BA4047130@esebe002.NOE.Nokia.com>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by drawbridge.ascend.com id LAA02873
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id OAA17532
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 OAA17562
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id OAA14733

Ivan.Arias-Rodriguez@nokia.com wrote:
> 
>         Hi all!
> 
> > > Another idea:
> > >
> > > Sacrifice the high bit of the Verification Tag.
> > > If it's 0, then Checksum is Adler32
> > > If it's 1, then Checksum is CRC32
> > >
> > > Simple. No extra chunk. No negotiation.
> > > 31 bits should be enough for the Verification Tag.
> 
>         I remember that Randall already proposed something like this at the
> early stage of this discussion. I'm in the "use CRC" side, but I like this
> approach Jacob is pushing again to the arena...
> 
>         We don't even have to sacrifice the high bit of the checksum.
> Another idea comes to my mind, which is for example placing that "checksum
> selection bit" in the Verification Tag... Let's say that the sender tells to
> the receiver if it is using Adler-32 (or maybe better modified Adler-32, or
> any other "soft" checksum) using a Verification tag with its first (or last)
> bit set to 0 for example, and it announces the use of CRC setting it to 1...

I did say to use high bit of VT, not high bit of checksum,
didn't I ?

> 
>         The Verification Tag would continue being 32 bits long, and it would
> make the same work it is doing now, the only difference is that it carries
> extra information... The selection of the Verification Tag would be as easy
> as doing it exactly as before, and then set the lowest bit to 0 or 1... One
> more line of code that is executed only once in the (hopefully long) life of
> the association... :-)
> 
>         Moreover, we could move the checksum to the end of the datagram... I
> think this is a good idea, not only for the reasons that have been already
> stated, but also because you don't even have to save the value of the
> checksum, set it to 0 and then calculate it and compare... just calculate
> the checksum and compare it with the last word of the received datagram...
> but this is another issue.
> 
>         These changes would imply one more line of code to be executed and
> few extra code to be added to be able to calculate both Adler and CRC. You
> just check the, let's say bit number 64 of the incoming chunk, and depending
> on its value, go to one or other branch of your code and calculate one or
> the other... The main problem I see with this is that maybe someone could
> see it as "inelegant"... :-/ Special offer: no negotiation, no extra
> checksum chunk, almost no extra processing, multiple checksum possibility...
> now for sale! ;-)
> 
>         We could even use more than one bit, so more checksums can be
> chosen, for example two bits and so we could include Adler-32, modified

I was hoping nobody would say that. Bugger.

> Adler-32, TCP-32 and CRC-32... Hopefully this will make happy to people like
> me wanting to use CRC, and people who wish no change or using modified
> Adler-32, TCP checksum or whatever... But I don't want to divide votes even
> more, this is being a long discussion and I have a Master Thesis to do! ;-)
> 
>         BR Iván Arias Rodríguez

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


From tsvwg-admin@ietf.org  Sat Jun 23 14:33: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 OAA15009
	for <tsvwg-archive@odin.ietf.org>; Sat, 23 Jun 2001 14:33: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 OAA18039;
	Sat, 23 Jun 2001 14:18: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 OAA18006
	for <tsvwg@ns.ietf.org>; Sat, 23 Jun 2001 14:18:47 -0400 (EDT)
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA14744
	for <tsvwg@ietf.org>; Sat, 23 Jun 2001 14:18:08 -0400 (EDT)
From: Ivan.Arias-Rodriguez@nokia.com
Received: from esvir02nok.nokia.com (esvir02nokt.ntc.nokia.com [172.21.143.34])
	by mgw-x2.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5NIJ0313498
	for <tsvwg@ietf.org>; Sat, 23 Jun 2001 21:19:00 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir02nok.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T54538ea4cdac158f22077@esvir02nok.nokia.com>;
 Sat, 23 Jun 2001 21:18:30 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1B2T6H>; Sat, 23 Jun 2001 21:18:30 +0300
Message-ID: <7238A5BA4C7C7F4DA40EC7525B364BA4047131@esebe002.NOE.Nokia.com>
To: jheitz@lucent.com
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Sat, 23 Jun 2001 21:18:29 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id OAA18007
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 OAA18039
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id OAA15009

> I did say to use high bit of VT, not high bit of checksum,
> didn't I ?

	Ooops! You are right, I just read what I wanted... :-/ So we agree
100% then, I really like your idea :-)

> >         We could even use more than one bit, so more 
> checksums can be
> > chosen, for example two bits and so we could include 
> Adler-32, modified
> 
> I was hoping nobody would say that. Bugger.

	The Spanish translation of "bugger" that I read in my dictionary is
quite "interesting", I imagine you didn't wanted to say the first meaning
that appears there... :-> I wonder how didn't I manage to learn that word
before :-)

	I don't really think we need more than two options, (modified)
Adler-32 or CRC-32, that's enough.

	BR Iván Arias Rodríguez

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


From tsvwg-admin@ietf.org  Sat Jun 23 14:49: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 OAA15242
	for <tsvwg-archive@odin.ietf.org>; Sat, 23 Jun 2001 14:49:42 -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 OAA18874;
	Sat, 23 Jun 2001 14:35: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 OAA18849
	for <tsvwg@ns.ietf.org>; Sat, 23 Jun 2001 14:35:47 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA15038
	for <tsvwg@ietf.org>; Sat, 23 Jun 2001 14:35:08 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id LAA03328;
	Sat, 23 Jun 2001 11:35:07 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 23 Jun 2001 18:35:45 UT
Received: from wopr.eng.ascend.com (wopr.eng.ascend.com [206.65.212.178])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id LAA14450;
	Sat, 23 Jun 2001 11:35:19 -0700 (PDT)
Received: from grigri.eng.ascend.com (grigri.eng.ascend.com [135.140.53.45])
	by wopr.eng.ascend.com (8.9.1/8.9.1) with ESMTP id LAA20609;
	Sat, 23 Jun 2001 11:35:45 -0700 (PDT)
Received: from lucent.com by grigri.eng.ascend.com (8.8.8+Sun/SMI-SVR4)
	id LAA16959; Sat, 23 Jun 2001 11:35:19 -0700 (PDT)
Message-ID: <3B34E1C1.1638EA1C@lucent.com>
Date: Sat, 23 Jun 2001 11:36:49 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Ivan.Arias-Rodriguez@nokia.com
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <7238A5BA4C7C7F4DA40EC7525B364BA4047131@esebe002.NOE.Nokia.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

> >
> > I was hoping nobody would say that. Bugger.
> 
>         The Spanish translation of "bugger" that I read in my dictionary is
> quite "interesting", I imagine you didn't wanted to say the first meaning
> that appears there... :-> I wonder how didn't I manage to learn that word
> before :-)

It is an exclamation of annoyance, like "damn it".
I meant it in a light hearted way. The dictionary translation looks
quite offensive. Sorry.

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


From tsvwg-admin@ietf.org  Sun Jun 24 16:07: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 QAA15395
	for <tsvwg-archive@odin.ietf.org>; Sun, 24 Jun 2001 16:07: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 PAA28343;
	Sun, 24 Jun 2001 15:51:51 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA28317
	for <tsvwg@ns.ietf.org>; Sun, 24 Jun 2001 15:51:49 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h008.c007.snv.cp.net [209.228.33.214])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA15065
	for <tsvwg@ietf.org>; Sun, 24 Jun 2001 15:51:11 -0400 (EDT)
Received: (cpmta 12703 invoked from network); 24 Jun 2001 12:51:17 -0700
Received: from dsl-64-130-130-105.telocity.com (HELO littlejoy) (64.130.130.105)
  by smtp.telocity.com (209.228.33.214) with SMTP; 24 Jun 2001 12:51:17 -0700
X-Sent: 24 Jun 2001 19:51:17 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Jacob Heitz" <jheitz@lucent.com>, <Ivan.Arias-Rodriguez@nokia.com>
Cc: <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Sun, 24 Jun 2001 12:49:10 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJOECFCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <3B34E1C1.1638EA1C@lucent.com>
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

Jacob,

Although stealing a few bits away from the verification tag is not as
extensible as a chunk with respect allowing a variation in length, but two
bits encoded would provide four options.  These four options might encode
as:

0) No Error Check
1) Simple Error Check
2) CRC Error Check
3) Reserved

Although this offers options that appear as an anathema, doing so with a
leading chunk of a known type also allows preservation of prior code and
opens the entire checksum field for future options.  That would be double
bugger for those left to defend this standard.  The few option flags used
and the few remaining in TCP have been seen as a means of innovation for
those wishing change and frustration for those keeping their finger in the
dyke.  Perhaps to reduce the number of bits and to improve processing of the
packet, when a special chunk is included, the lower bits of the now unused
checksum could then indicate the overall length of the packet.  This would
improve the integrity of error checking in that it would preclude undetected
truncation.

If a system was composed of 128 128-Mbit memory chips for total of 2GB of
memory or 16 chips per side on 4 sticks.  If this system were used as a
router or firewall, it is possible that staging overwrites the MAC, IP
header and ports in a damaged packet or, if not, this error becomes limited
to a population of 1 out of a thousand the clients.  It would then be
possible for parsing to detect a damaged packet that would hopefully be done
prior to acknowledgement where perhaps 25% of those damaged remains
undetected if in the less dynamic upper bits.  If one of these chips had a
weak driver causing half of either ones or zeros to be incorrectly asserted
perhaps depending on the data pattern and once up to temperature, a
Fletcher-16 error check as example could miss 1% of these errors.  Such a
system would still provided good performance but introduce an undetected
error once every 50,000 packets if using these simple error checks for these
unfortunate clients.

There would be few indications that there was even a problem as most packets
would be fine.  The link error rate could be negligible and the software and
other related system hardware could be perfect.  Injected format errors will
make the transport less robust as parsing is likely beyond acknowledgement.

Doug

> > > I was hoping nobody would say that. Bugger.
> >
> >         The Spanish translation of "bugger" that I read in my
> dictionary is
> > quite "interesting", I imagine you didn't wanted to say the
> first meaning
> > that appears there... :-> I wonder how didn't I manage to learn
> that word
> > before :-)
>
> It is an exclamation of annoyance, like "damn it".
> I meant it in a light hearted way. The dictionary translation looks
> quite offensive. Sorry.


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


From tsvwg-admin@ietf.org  Sun Jun 24 16:23: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 QAA15643
	for <tsvwg-archive@odin.ietf.org>; Sun, 24 Jun 2001 16:23: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 QAA28934;
	Sun, 24 Jun 2001 16:14: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 QAA28904
	for <tsvwg@ns.ietf.org>; Sun, 24 Jun 2001 16:14:34 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA15504
	for <tsvwg@ietf.org>; Sun, 24 Jun 2001 16:13:55 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id NAA22279;
	Sun, 24 Jun 2001 13:13:53 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 24 Jun 2001 20:14:32 UT
Received: from wopr.eng.ascend.com (wopr.eng.ascend.com [206.65.212.178])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id NAA00905;
	Sun, 24 Jun 2001 13:14:03 -0700 (PDT)
Received: from grigri.eng.ascend.com (grigri.eng.ascend.com [135.140.53.45])
	by wopr.eng.ascend.com (8.9.1/8.9.1) with ESMTP id NAA11382;
	Sun, 24 Jun 2001 13:14:32 -0700 (PDT)
Received: from lucent.com by grigri.eng.ascend.com (8.8.8+Sun/SMI-SVR4)
	id NAA18958; Sun, 24 Jun 2001 13:14:03 -0700 (PDT)
Message-ID: <3B364A68.56A93994@lucent.com>
Date: Sun, 24 Jun 2001 13:15:36 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Douglas Otis <dotis@sanlight.net>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <NEBBJGDMMLHHCIKHGBEJOECFCJAA.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

The reason I was hoping nobody would suggest more bits
was simply that it would drag the discussion on and
I see no need for more bits. I really have no other
objection to using two bits.

What I see as the impasse is that there are those that
walk in the lands of Randall's cliffs and others that
walk the city streets where the largest cliff is a kerb
and do not want to carry the parachute.

These two peoples will never agree. If one or two bits
in the VT will settle it, then that's great.

Douglas Otis wrote:
> 
> Jacob,
> 
> Although stealing a few bits away from the verification tag is not as
> extensible as a chunk with respect allowing a variation in length, but two
> bits encoded would provide four options.  These four options might encode
> as:
> 
> 0) No Error Check
> 1) Simple Error Check
> 2) CRC Error Check
> 3) Reserved
> 
> Although this offers options that appear as an anathema, doing so with a
> leading chunk of a known type also allows preservation of prior code and
> opens the entire checksum field for future options.  That would be double
> bugger for those left to defend this standard.  The few option flags used
> and the few remaining in TCP have been seen as a means of innovation for
> those wishing change and frustration for those keeping their finger in the
> dyke.  Perhaps to reduce the number of bits and to improve processing of the
> packet, when a special chunk is included, the lower bits of the now unused
> checksum could then indicate the overall length of the packet.  This would
> improve the integrity of error checking in that it would preclude undetected
> truncation.
> 
> If a system was composed of 128 128-Mbit memory chips for total of 2GB of
> memory or 16 chips per side on 4 sticks.  If this system were used as a
> router or firewall, it is possible that staging overwrites the MAC, IP
> header and ports in a damaged packet or, if not, this error becomes limited
> to a population of 1 out of a thousand the clients.  It would then be
> possible for parsing to detect a damaged packet that would hopefully be done
> prior to acknowledgement where perhaps 25% of those damaged remains
> undetected if in the less dynamic upper bits.  If one of these chips had a
> weak driver causing half of either ones or zeros to be incorrectly asserted
> perhaps depending on the data pattern and once up to temperature, a
> Fletcher-16 error check as example could miss 1% of these errors.  Such a
> system would still provided good performance but introduce an undetected
> error once every 50,000 packets if using these simple error checks for these
> unfortunate clients.
> 
> There would be few indications that there was even a problem as most packets
> would be fine.  The link error rate could be negligible and the software and
> other related system hardware could be perfect.  Injected format errors will
> make the transport less robust as parsing is likely beyond acknowledgement.
> 
> Doug
> 
> > > > I was hoping nobody would say that. Bugger.
> > >
> > >         The Spanish translation of "bugger" that I read in my
> > dictionary is
> > > quite "interesting", I imagine you didn't wanted to say the
> > first meaning
> > > that appears there... :-> I wonder how didn't I manage to learn
> > that word
> > > before :-)
> >
> > It is an exclamation of annoyance, like "damn it".
> > I meant it in a light hearted way. The dictionary translation looks
> > quite offensive. Sorry.

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


From tsvwg-admin@ietf.org  Mon Jun 25 02:59: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 CAA06541
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 02:59: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 CAA19325;
	Mon, 25 Jun 2001 02:41: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 CAA19296
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 02:41:56 -0400 (EDT)
Received: from beamer.mchh.siemens.de (beamer.mchh.siemens.de [194.138.158.163])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA05228
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 02:41:16 -0400 (EDT)
Received: from moody.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.226])
	by beamer.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id IAA25364;
	Mon, 25 Jun 2001 08:41:52 +0200 (MET DST)
Received: from mchh274e.demchh201e.icn.siemens.de ([139.21.200.84])
	by moody.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id IAA14840;
	Mon, 25 Jun 2001 08:41:52 +0200 (MET DST)
Received: by MCHH274E with Internet Mail Service (5.5.2653.19)
	id <KH6ZPVBY>; Mon, 25 Jun 2001 08:41:51 +0200
Message-ID: <F92978223B01D311ACFF0008C71EE19D015DF498@MCHH225E>
From: Tuexen Michael <Michael.Tuexen@icn.siemens.de>
To: "'Douglas Otis'" <dotis@sanlight.net>, Jacob Heitz <jheitz@lucent.com>,
        Ivan.Arias-Rodriguez@nokia.com
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 08:41:41 +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

Dear all,

when you say 'stealing away' do you mean:

1. The highest order two bits describe the checksum for the packet
2. The other 30 bits are the verification tag

This would imply that you could change the checksum algorithm on
a per packet base. Is this really needed?

The other possibility is

1. The highest order two bits describe the checksum for the packet
2. All 32 bits are the verification tag

This would imply that you have to use the same checksum algorithm
for all packets of an association.

Thanks for clarification.

Best regards
Michael

Michael Tuexen    Tel.:   +49 89 722 47210
Siemens AG        Fax:    +49 89 722 48212
ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de

> -----Original Message-----
> From:	Douglas Otis [SMTP:dotis@sanlight.net]
> Sent:	Sunday, June 24, 2001 9:49 PM
> To:	Jacob Heitz; Ivan.Arias-Rodriguez@nokia.com
> Cc:	tsvwg@ietf.org
> Subject:	RE: [Tsvwg] sctp error check
> 
> Jacob,
> 
> Although stealing a few bits away from the verification tag is not as
> extensible as a chunk with respect allowing a variation in length, but two
> bits encoded would provide four options.  These four options might encode
> as:
> 
> 0) No Error Check
> 1) Simple Error Check
> 2) CRC Error Check
> 3) Reserved
> 
> Although this offers options that appear as an anathema, doing so with a
> leading chunk of a known type also allows preservation of prior code and
> opens the entire checksum field for future options.  That would be double
> bugger for those left to defend this standard.  The few option flags used
> and the few remaining in TCP have been seen as a means of innovation for
> those wishing change and frustration for those keeping their finger in the
> dyke.  Perhaps to reduce the number of bits and to improve processing of the
> packet, when a special chunk is included, the lower bits of the now unused
> checksum could then indicate the overall length of the packet.  This would
> improve the integrity of error checking in that it would preclude undetected
> truncation.
> 
> If a system was composed of 128 128-Mbit memory chips for total of 2GB of
> memory or 16 chips per side on 4 sticks.  If this system were used as a
> router or firewall, it is possible that staging overwrites the MAC, IP
> header and ports in a damaged packet or, if not, this error becomes limited
> to a population of 1 out of a thousand the clients.  It would then be
> possible for parsing to detect a damaged packet that would hopefully be done
> prior to acknowledgement where perhaps 25% of those damaged remains
> undetected if in the less dynamic upper bits.  If one of these chips had a
> weak driver causing half of either ones or zeros to be incorrectly asserted
> perhaps depending on the data pattern and once up to temperature, a
> Fletcher-16 error check as example could miss 1% of these errors.  Such a
> system would still provided good performance but introduce an undetected
> error once every 50,000 packets if using these simple error checks for these
> unfortunate clients.
> 
> There would be few indications that there was even a problem as most packets
> would be fine.  The link error rate could be negligible and the software and
> other related system hardware could be perfect.  Injected format errors will
> make the transport less robust as parsing is likely beyond acknowledgement.
> 
> Doug
> 
> > > > I was hoping nobody would say that. Bugger.
> > >
> > >         The Spanish translation of "bugger" that I read in my
> > dictionary is
> > > quite "interesting", I imagine you didn't wanted to say the
> > first meaning
> > > that appears there... :-> I wonder how didn't I manage to learn
> > that word
> > > before :-)
> >
> > It is an exclamation of annoyance, like "damn it".
> > I meant it in a light hearted way. The dictionary translation looks
> > quite offensive. Sorry.
> 
> 
> _______________________________________________> 
> 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 Jun 25 03:06: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 DAA07019
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 03:06: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 CAA19548;
	Mon, 25 Jun 2001 02:52:52 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id CAA19520
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 02:52:50 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h011.c007.snv.cp.net [209.228.33.217])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA05981
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 02:52:11 -0400 (EDT)
Received: (cpmta 26931 invoked from network); 24 Jun 2001 23:52:19 -0700
Received: from dsl-64-130-130-105.telocity.com (HELO littlejoy) (64.130.130.105)
  by smtp.telocity.com (209.228.33.217) with SMTP; 24 Jun 2001 23:52:19 -0700
X-Sent: 25 Jun 2001 06:52:19 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Tuexen Michael" <Michael.Tuexen@icn.siemens.de>,
        "Jacob Heitz" <jheitz@lucent.com>, <Ivan.Arias-Rodriguez@nokia.com>
Cc: <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Sun, 24 Jun 2001 23:50:12 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJAECHCJAA.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: <F92978223B01D311ACFF0008C71EE19D015DF498@MCHH225E>
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

Michael,

Both cases would be reasonable in my view.  Whether the Validation Tag
overlaid these integrity options or not should not impact performance as it
could mean a simple switch that can easily operate on a per packet basis.
This overlay would not allow detection of prior versions.  Such may involve
some initialization.  A chunk approach would not.  I find the chunk an
attractive concept as it is highly extensible.  This extensibility is a
double edge sword but one that will keep SCTP on the cutting edge so to
speak.

Doug

> Dear all,
>
> when you say 'stealing away' do you mean:
>
> 1. The highest order two bits describe the checksum for the packet
> 2. The other 30 bits are the verification tag
>
> This would imply that you could change the checksum algorithm on
> a per packet base. Is this really needed?
>
> The other possibility is
>
> 1. The highest order two bits describe the checksum for the packet
> 2. All 32 bits are the verification tag
>
> This would imply that you have to use the same checksum algorithm
> for all packets of an association.
>
> Thanks for clarification.
>
> Best regards
> Michael
>
> Michael Tuexen    Tel.:   +49 89 722 47210
> Siemens AG        Fax:    +49 89 722 48212
> ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de
>
> > -----Original Message-----
> > From:	Douglas Otis [SMTP:dotis@sanlight.net]
> > Sent:	Sunday, June 24, 2001 9:49 PM
> > To:	Jacob Heitz; Ivan.Arias-Rodriguez@nokia.com
> > Cc:	tsvwg@ietf.org
> > Subject:	RE: [Tsvwg] sctp error check
> >
> > Jacob,
> >
> > Although stealing a few bits away from the verification tag is not as
> > extensible as a chunk with respect allowing a variation in
> length, but two
> > bits encoded would provide four options.  These four options
> might encode
> > as:
> >
> > 0) No Error Check
> > 1) Simple Error Check
> > 2) CRC Error Check
> > 3) Reserved
> >
> > Although this offers options that appear as an anathema, doing so with a
> > leading chunk of a known type also allows preservation of prior code and
> > opens the entire checksum field for future options.  That would
> be double
> > bugger for those left to defend this standard.  The few option
> flags used
> > and the few remaining in TCP have been seen as a means of innovation for
> > those wishing change and frustration for those keeping their
> finger in the
> > dyke.  Perhaps to reduce the number of bits and to improve
> processing of the
> > packet, when a special chunk is included, the lower bits of the
> now unused
> > checksum could then indicate the overall length of the packet.
> This would
> > improve the integrity of error checking in that it would
> preclude undetected
> > truncation.
> >
> > If a system was composed of 128 128-Mbit memory chips for total
> of 2GB of
> > memory or 16 chips per side on 4 sticks.  If this system were used as a
> > router or firewall, it is possible that staging overwrites the MAC, IP
> > header and ports in a damaged packet or, if not, this error
> becomes limited
> > to a population of 1 out of a thousand the clients.  It would then be
> > possible for parsing to detect a damaged packet that would
> hopefully be done
> > prior to acknowledgement where perhaps 25% of those damaged remains
> > undetected if in the less dynamic upper bits.  If one of these
> chips had a
> > weak driver causing half of either ones or zeros to be
> incorrectly asserted
> > perhaps depending on the data pattern and once up to temperature, a
> > Fletcher-16 error check as example could miss 1% of these
> errors.  Such a
> > system would still provided good performance but introduce an undetected
> > error once every 50,000 packets if using these simple error
> checks for these
> > unfortunate clients.
> >
> > There would be few indications that there was even a problem as
> most packets
> > would be fine.  The link error rate could be negligible and the
> software and
> > other related system hardware could be perfect.  Injected
> format errors will
> > make the transport less robust as parsing is likely beyond
> acknowledgement.
> >
> > Doug
> >
> > > > > I was hoping nobody would say that. Bugger.
> > > >
> > > >         The Spanish translation of "bugger" that I read in my
> > > dictionary is
> > > > quite "interesting", I imagine you didn't wanted to say the
> > > first meaning
> > > > that appears there... :-> I wonder how didn't I manage to learn
> > > that word
> > > > before :-)
> > >
> > > It is an exclamation of annoyance, like "damn it".
> > > I meant it in a light hearted way. The dictionary translation looks
> > > quite offensive. Sorry.
> >
> >
> > _______________________________________________>
> > 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 Jun 25 03:25: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 DAA07983
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 03:25: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 DAA22341;
	Mon, 25 Jun 2001 03:05: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 DAA22313
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 03:05:40 -0400 (EDT)
Received: from beamer.mchh.siemens.de (beamer.mchh.siemens.de [194.138.158.163])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA06936
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 03:04:58 -0400 (EDT)
Received: from blues.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.227])
	by beamer.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id JAA28821;
	Mon, 25 Jun 2001 09:05:35 +0200 (MET DST)
Received: from mchh247e.demchh201e.icn.siemens.de ([139.21.200.57])
	by blues.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id JAA23731;
	Mon, 25 Jun 2001 09:05:34 +0200 (MET DST)
Received: by MCHH247E with Internet Mail Service (5.5.2653.19)
	id <KH60TQMA>; Mon, 25 Jun 2001 09:05:34 +0200
Message-ID: <F92978223B01D311ACFF0008C71EE19D015DF499@MCHH225E>
From: Tuexen Michael <Michael.Tuexen@icn.siemens.de>
To: "'Jacob Heitz'" <jheitz@lucent.com>,
        Tuexen Michael
	 <Michael.Tuexen@icn.siemens.de>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 09:05:25 +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

Dear all,

this describes my feeling...

As I do not see the usage of a per packet change you can use
the INIT/INIT-ACK for setting the checksum algorithm. You could
use a parameter in the INIT/INIT-ACK and can require that this
parameter is the first one. This would mean that you know where
this information is without scanning the whole packet. Please note
that I'm NOT suggesting negotiation here.

Best regards
Michael

Michael Tuexen    Tel.:   +49 89 722 47210
Siemens AG        Fax:    +49 89 722 48212
ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de

> -----Original Message-----
> From:	Jacob Heitz [SMTP:jheitz@lucent.com]
> Sent:	Monday, June 25, 2001 9:00 AM
> To:	Tuexen Michael
> Cc:	tsvwg@ietf.org
> Subject:	Re: [Tsvwg] sctp error check
> 
> This is what I was afraid of. It's degenerating into a
> heap of good ideas again. Just think, soon we will steal
> 16 bits off the VT for options. Oooh, maybe some for
> header compression, surely SCTP could use some of that.
> Aaaaargh!!!
> 
> Tuexen Michael wrote:
> > 
> > Dear all,
> > 
> > when you say 'stealing away' do you mean:
> > 
> > 1. The highest order two bits describe the checksum for the packet
> > 2. The other 30 bits are the verification tag
> > 
> > This would imply that you could change the checksum algorithm on
> > a per packet base. Is this really needed?
> > 
> > The other possibility is
> > 
> > 1. The highest order two bits describe the checksum for the packet
> > 2. All 32 bits are the verification tag
> > 
> > This would imply that you have to use the same checksum algorithm
> > for all packets of an association.
> > 
> > Thanks for clarification.
> > 
> > Best regards
> > Michael
> > 
> > Michael Tuexen    Tel.:   +49 89 722 47210
> > Siemens AG        Fax:    +49 89 722 48212
> > ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de
> > 
> > > -----Original Message-----
> > > From: Douglas Otis [SMTP:dotis@sanlight.net]
> > > Sent: Sunday, June 24, 2001 9:49 PM
> > > To:   Jacob Heitz; Ivan.Arias-Rodriguez@nokia.com
> > > Cc:   tsvwg@ietf.org
> > > Subject:      RE: [Tsvwg] sctp error check
> > >
> > > Jacob,
> > >
> > > Although stealing a few bits away from the verification tag is not as
> > > extensible as a chunk with respect allowing a variation in length, but two
> > > bits encoded would provide four options.  These four options might encode
> > > as:
> > >
> > > 0) No Error Check
> > > 1) Simple Error Check
> > > 2) CRC Error Check
> > > 3) Reserved
> > >
> > > Although this offers options that appear as an anathema, doing so with a
> > > leading chunk of a known type also allows preservation of prior code and
> > > opens the entire checksum field for future options.  That would be double
> > > bugger for those left to defend this standard.  The few option flags used
> > > and the few remaining in TCP have been seen as a means of innovation for
> > > those wishing change and frustration for those keeping their finger in the
> > > dyke.  Perhaps to reduce the number of bits and to improve processing of the
> > > packet, when a special chunk is included, the lower bits of the now unused
> > > checksum could then indicate the overall length of the packet.  This would
> > > improve the integrity of error checking in that it would preclude undetected
> > > truncation.
> > >
> > > If a system was composed of 128 128-Mbit memory chips for total of 2GB of
> > > memory or 16 chips per side on 4 sticks.  If this system were used as a
> > > router or firewall, it is possible that staging overwrites the MAC, IP
> > > header and ports in a damaged packet or, if not, this error becomes limited
> > > to a population of 1 out of a thousand the clients.  It would then be
> > > possible for parsing to detect a damaged packet that would hopefully be done
> > > prior to acknowledgement where perhaps 25% of those damaged remains
> > > undetected if in the less dynamic upper bits.  If one of these chips had a> 
> > > weak driver causing half of either ones or zeros to be incorrectly asserted
> > > perhaps depending on the data pattern and once up to temperature, a
> > > Fletcher-16 error check as example could miss 1% of these errors.  Such a
> > > system would still provided good performance but introduce an undetected
> > > error once every 50,000 packets if using these simple error checks for these
> > > unfortunate clients.
> > >
> > > There would be few indications that there was even a problem as most packets
> > > would be fine.  The link error rate could be negligible and the software and
> > > other related system hardware could be perfect.  Injected format errors will
> > > make the transport less robust as parsing is likely beyond acknowledgement.
> > >
> > > Doug
> > >
> > > > > > I was hoping nobody would say that. Bugger.
> > > > >
> > > > >         The Spanish translation of "bugger" that I read in my
> > > > dictionary is
> > > > > quite "interesting", I imagine you didn't wanted to say the
> > > > first meaning
> > > > > that appears there... :-> I wonder how didn't I manage to learn
> > > > that word
> > > > > before :-)
> > > >
> > > > It is an exclamation of annoyance, like "damn it".
> > > > I meant it in a light hearted way. The dictionary translation looks
> > > > quite offensive. Sorry.
> > >
> > >
> > > _______________________________________________>
> > > 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 Jun 25 03:43: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 DAA08286
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 03:43: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 CAA21744;
	Mon, 25 Jun 2001 02:59:20 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id CAA21706
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 02:59:18 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA06494
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 02:58:38 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id XAA05247;
	Sun, 24 Jun 2001 23:58:36 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 25 Jun 2001 06:59:15 UT
Received: from wopr.eng.ascend.com (wopr.eng.ascend.com [206.65.212.178])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id XAA26151;
	Sun, 24 Jun 2001 23:58:47 -0700 (PDT)
Received: from grigri.eng.ascend.com (grigri.eng.ascend.com [135.140.53.45])
	by wopr.eng.ascend.com (8.9.1/8.9.1) with ESMTP id XAA21351;
	Sun, 24 Jun 2001 23:59:15 -0700 (PDT)
Received: from lucent.com by grigri.eng.ascend.com (8.8.8+Sun/SMI-SVR4)
	id XAA01649; Sun, 24 Jun 2001 23:58:46 -0700 (PDT)
Message-ID: <3B36E183.FA7EACBB@lucent.com>
Date: Mon, 25 Jun 2001 00:00:19 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Tuexen Michael <Michael.Tuexen@icn.siemens.de>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <F92978223B01D311ACFF0008C71EE19D015DF498@MCHH225E>
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

This is what I was afraid of. It's degenerating into a
heap of good ideas again. Just think, soon we will steal
16 bits off the VT for options. Oooh, maybe some for
header compression, surely SCTP could use some of that.
Aaaaargh!!!

Tuexen Michael wrote:
> 
> Dear all,
> 
> when you say 'stealing away' do you mean:
> 
> 1. The highest order two bits describe the checksum for the packet
> 2. The other 30 bits are the verification tag
> 
> This would imply that you could change the checksum algorithm on
> a per packet base. Is this really needed?
> 
> The other possibility is
> 
> 1. The highest order two bits describe the checksum for the packet
> 2. All 32 bits are the verification tag
> 
> This would imply that you have to use the same checksum algorithm
> for all packets of an association.
> 
> Thanks for clarification.
> 
> Best regards
> Michael
> 
> Michael Tuexen    Tel.:   +49 89 722 47210
> Siemens AG        Fax:    +49 89 722 48212
> ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de
> 
> > -----Original Message-----
> > From: Douglas Otis [SMTP:dotis@sanlight.net]
> > Sent: Sunday, June 24, 2001 9:49 PM
> > To:   Jacob Heitz; Ivan.Arias-Rodriguez@nokia.com
> > Cc:   tsvwg@ietf.org
> > Subject:      RE: [Tsvwg] sctp error check
> >
> > Jacob,
> >
> > Although stealing a few bits away from the verification tag is not as
> > extensible as a chunk with respect allowing a variation in length, but two
> > bits encoded would provide four options.  These four options might encode
> > as:
> >
> > 0) No Error Check
> > 1) Simple Error Check
> > 2) CRC Error Check
> > 3) Reserved
> >
> > Although this offers options that appear as an anathema, doing so with a
> > leading chunk of a known type also allows preservation of prior code and
> > opens the entire checksum field for future options.  That would be double
> > bugger for those left to defend this standard.  The few option flags used
> > and the few remaining in TCP have been seen as a means of innovation for
> > those wishing change and frustration for those keeping their finger in the
> > dyke.  Perhaps to reduce the number of bits and to improve processing of the
> > packet, when a special chunk is included, the lower bits of the now unused
> > checksum could then indicate the overall length of the packet.  This would
> > improve the integrity of error checking in that it would preclude undetected
> > truncation.
> >
> > If a system was composed of 128 128-Mbit memory chips for total of 2GB of
> > memory or 16 chips per side on 4 sticks.  If this system were used as a
> > router or firewall, it is possible that staging overwrites the MAC, IP
> > header and ports in a damaged packet or, if not, this error becomes limited
> > to a population of 1 out of a thousand the clients.  It would then be
> > possible for parsing to detect a damaged packet that would hopefully be done
> > prior to acknowledgement where perhaps 25% of those damaged remains
> > undetected if in the less dynamic upper bits.  If one of these chips had a
> > weak driver causing half of either ones or zeros to be incorrectly asserted
> > perhaps depending on the data pattern and once up to temperature, a
> > Fletcher-16 error check as example could miss 1% of these errors.  Such a
> > system would still provided good performance but introduce an undetected
> > error once every 50,000 packets if using these simple error checks for these
> > unfortunate clients.
> >
> > There would be few indications that there was even a problem as most packets
> > would be fine.  The link error rate could be negligible and the software and
> > other related system hardware could be perfect.  Injected format errors will
> > make the transport less robust as parsing is likely beyond acknowledgement.
> >
> > Doug
> >
> > > > > I was hoping nobody would say that. Bugger.
> > > >
> > > >         The Spanish translation of "bugger" that I read in my
> > > dictionary is
> > > > quite "interesting", I imagine you didn't wanted to say the
> > > first meaning
> > > > that appears there... :-> I wonder how didn't I manage to learn
> > > that word
> > > > before :-)
> > >
> > > It is an exclamation of annoyance, like "damn it".
> > > I meant it in a light hearted way. The dictionary translation looks
> > > quite offensive. Sorry.
> >
> >
> > _______________________________________________>
> > 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 Jun 25 06:14: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 GAA09766
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 06:14: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 FAA28667;
	Mon, 25 Jun 2001 05:53: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 FAA28638
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 05:53:41 -0400 (EDT)
Received: from exchange1.nuera.com (igate.nuera.com [204.216.240.98])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id FAA09634
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 05:53:00 -0400 (EDT)
Received: by exchange1.nuera.com with Internet Mail Service (5.5.2650.21)
	id <LA2LLBJ6>; Mon, 25 Jun 2001 02:52:53 -0700
Message-ID: <E79883AEA37FD411A58C00508BAC5F4BD728F6@exchange1.nuera.com>
From: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
To: "'Jonathan Wood'" <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctpsocket: Returning unsent messages
Date: Mon, 25 Jun 2001 02:52:49 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0FD5C.983B3710"
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_01C0FD5C.983B3710
Content-Type: text/plain;
	charset="iso-8859-1"

Jonathan,

I just want to make sure that this feature discussion is being argued
independently of the graceful shutdown() discussion we were having last
week. Retrieval of unsent messages is an SCTP extension to the Socket API
where the former is trying to provide a similar behavior to the existing TCP
Socket API behavior.

Robert.

-----Original Message-----
From:	Jonathan Wood [mailto:Jonathan.Wood@Sun.COM]
Sent:	Saturday, June 23, 2001 1:14 AM
To:	jheitz@lucent.com
Cc:	tsvwg@ietf.org
Subject:	Re: [Tsvwg] sctpsocket: Returning unsent messages


OK, I see.

So my next question is: do we only want to return
1. unsent messages only
2. unsent and sent-but-not-ack'd messages
3. unsent and sent-but-not-ack'd and sent-and-SACK'd messages

3 will get you everything in the transmit queue.

It seems to me that since the problem to be solved is to
optimize changeover, 3 would be the best. Thoughts?

In any case, no matter what we choose, I need to add
some text to the draft explaining that there is no
guarantee that the returned messages comprise the set of
all messages not received by the peer application. If
apps need this, they need to add their own mechanisms.

Jonathan

> 
> Some implementations of M2UA on the MGC will want to
> retrieve the unsent messages from a failed SCTP association
> and resend them on an alternate link when doing changeover.
> 
> Of course, some messages will be dropped when doing this,
> but not as many as if retrieval of unsent messages was
> not available.
> 
> MTP requires that the number of dropped messages be as 
> low as possible, not that it be zero.
> 
> Jonathan Wood wrote:
> > 
> > I am unsure as to whether or not returning unsent messages
> > after a shutdown/abort is actually useful, mostly because I
> > am unclear on exactly what problem this is trying to solve.
> > 
> > The only problem I think of that this might try to solve
> > is to enable the sender to know which messages never "made
> > it", so it could, for example, try to resend them to a
> > different server.
> > 
> > However, this problem is not solved by returning unsent
> > messages, since messages that may have been sent may not
> > have been delivered, and even messages that the peer
> > has acknowleged may not have been delivered to or accepted
> > by the application at the other end. In other words, the
> > set of all unsent messages does not necessarily comprise
> > the set of all messages that were not delivered to the peer
> > application.
> > 
> > I would like some more information from the WG on exactly
> > what problem(s) returning unsent messages is trying to
> > solve, and how it is expected to solve them. If it turns out
> > that this functionality is indeed not useful, I propose we
> > drop it from the SCTP sockets extensions draft.
> > 
> > (I am not suggesting, however, that we remove the SCTP_SEND_FAILED
> >  notification for errors like bad stream ID, etc.)
> > 
> > Jonathan


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

------_=_NextPart_001_01C0FD5C.983B3710
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] sctpsocket: Returning unsent messages</TITLE>
</HEAD>
<BODY>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">I just want to make sure that this =
feature discussion is being argued independently of the graceful =
shutdown() discussion we were having last week. Retrieval of unsent =
messages is an SCTP extension to the Socket API where the former is =
trying to provide a similar behavior to the existing TCP Socket API =
behavior.</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; Jonathan Wood =
[<A =
HREF=3D"mailto:Jonathan.Wood@Sun.COM">mailto:Jonathan.Wood@Sun.COM</A>]<=
/FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D2 FACE=3D"Arial">Saturday, June 23, 2001 1:14 AM</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">jheitz@lucent.com</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">tsvwg@ietf.org</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] sctpsocket: Returning =
unsent messages</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">OK, I see.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">So my next question is: do we only =
want to return</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">1. unsent messages only</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">2. unsent and sent-but-not-ack'd =
messages</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">3. unsent and sent-but-not-ack'd and =
sent-and-SACK'd messages</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">3 will get you everything in the =
transmit queue.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">It seems to me that since the problem =
to be solved is to</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">optimize changeover, 3 would be the =
best. Thoughts?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">In any case, no matter what we choose, =
I need to add</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">some text to the draft explaining =
that there is no</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">guarantee that the returned messages =
comprise the set of</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">all messages not received by the peer =
application. If</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">apps need this, they need to add =
their own mechanisms.</FONT>
</P>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Some implementations of M2UA on =
the MGC will want to</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; retrieve the unsent messages =
from a failed SCTP association</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; and resend them on an alternate =
link when doing changeover.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Of course, some messages will be =
dropped when doing this,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; but not as many as if retrieval =
of unsent messages was</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; not available.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; MTP requires that the number of =
dropped messages be as </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; low as possible, not that it be =
zero.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Jonathan Wood wrote:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; I am unsure as to whether =
or not returning unsent messages</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; after a shutdown/abort is =
actually useful, mostly because I</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; am unclear on exactly what =
problem this is trying to solve.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; The only problem I think of =
that this might try to solve</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; is to enable the sender to =
know which messages never &quot;made</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; it&quot;, so it could, for =
example, try to resend them to a</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; different server.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; However, this problem is =
not solved by returning unsent</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; messages, since messages =
that may have been sent may not</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; have been delivered, and =
even messages that the peer</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; has acknowleged may not =
have been delivered to or accepted</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; by the application at the =
other end. In other words, the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; set of all unsent messages =
does not necessarily comprise</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; the set of all messages =
that were not delivered to the peer</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; application.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; I would like some more =
information from the WG on exactly</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; what problem(s) returning =
unsent messages is trying to</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; solve, and how it is =
expected to solve them. If it turns out</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; that this functionality is =
indeed not useful, I propose we</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; drop it from the SCTP =
sockets extensions draft.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; (I am not suggesting, =
however, that we remove the SCTP_SEND_FAILED</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt;&nbsp; notification for =
errors like bad stream ID, etc.)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; Jonathan</FONT>
</P>
<BR>

<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_01C0FD5C.983B3710--

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


From tsvwg-admin@ietf.org  Mon Jun 25 06:14: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 GAA09779
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 06:14: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 FAA28467;
	Mon, 25 Jun 2001 05:46: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 FAA28400
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 05:46:15 -0400 (EDT)
Received: from exchange1.nuera.com (igate.nuera.com [204.216.240.98])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id FAA09579
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 05:45:31 -0400 (EDT)
Received: by exchange1.nuera.com with Internet Mail Service (5.5.2650.21)
	id <LA2LLBJV>; Mon, 25 Jun 2001 02:45:23 -0700
Message-ID: <E79883AEA37FD411A58C00508BAC5F4BD728F5@exchange1.nuera.com>
From: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
To: "'Tuexen Michael'" <Michael.Tuexen@icn.siemens.de>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 02:45:19 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0FD5B.8BE62160"
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_01C0FD5B.8BE62160
Content-Type: text/plain;
	charset="iso-8859-1"

Michael,

I really don't like any scheme where the checksum is declared in the
INIT/INIT-ACK. It means you must lookup the association tables before being
able to verify the checksum on a packet. That is a real pain for design IMO

I still believe we should only have one baseline check algorithm for SCTP -
having multiple schemes just tempts laziness on the part of implementers,
leading to interoperability problems - something we don't want for SCTP. 

My vote is still for CRC32 - I don't think that anyone can claim that a
simple summation (no wrapping) for small packets is acceptable. A better
checksum mousetrap (better than TCP and without Adler-32's problems) would
be my first preference but I can't see any concensus being possible on which
(well-known) checksum to use. 

I still think that CRC is the correct choice given that a) we need to move
this forward now and it is the closest thing we have to a consensus and b) a
CRC will at least meet everyone's error requirements for the transport layer
(not necessary end-to-end); c) the performance hit for CRC is not that huge
and d) it is actually much easier to implement in hardware.

We need people to have confidence in SCTP for it to be widely deployed - IMO
this will be hampered if people know that it has a potentially weak checksum
or there are interoperablity problems or it is too difficult to have
hardware-assisted protocol stacks.

Robert.

-----Original Message-----
From:	Tuexen Michael [mailto:Michael.Tuexen@icn.siemens.de]
Sent:	Monday, June 25, 2001 8:05 AM
To:	'Jacob Heitz'; Tuexen Michael
Cc:	tsvwg@ietf.org
Subject:	RE: [Tsvwg] sctp error check

Dear all,

this describes my feeling...

As I do not see the usage of a per packet change you can use
the INIT/INIT-ACK for setting the checksum algorithm. You could
use a parameter in the INIT/INIT-ACK and can require that this
parameter is the first one. This would mean that you know where
this information is without scanning the whole packet. Please note
that I'm NOT suggesting negotiation here.

Best regards
Michael

Michael Tuexen    Tel.:   +49 89 722 47210
Siemens AG        Fax:    +49 89 722 48212
ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de

> -----Original Message-----
> From:	Jacob Heitz [SMTP:jheitz@lucent.com]
> Sent:	Monday, June 25, 2001 9:00 AM
> To:	Tuexen Michael
> Cc:	tsvwg@ietf.org
> Subject:	Re: [Tsvwg] sctp error check
> 
> This is what I was afraid of. It's degenerating into a
> heap of good ideas again. Just think, soon we will steal
> 16 bits off the VT for options. Oooh, maybe some for
> header compression, surely SCTP could use some of that.
> Aaaaargh!!!
> 
> Tuexen Michael wrote:
> > 
> > Dear all,
> > 
> > when you say 'stealing away' do you mean:
> > 
> > 1. The highest order two bits describe the checksum for the packet
> > 2. The other 30 bits are the verification tag
> > 
> > This would imply that you could change the checksum algorithm on
> > a per packet base. Is this really needed?
> > 
> > The other possibility is
> > 
> > 1. The highest order two bits describe the checksum for the packet
> > 2. All 32 bits are the verification tag
> > 
> > This would imply that you have to use the same checksum algorithm
> > for all packets of an association.
> > 
> > Thanks for clarification.
> > 
> > Best regards
> > Michael
> > 
> > Michael Tuexen    Tel.:   +49 89 722 47210
> > Siemens AG        Fax:    +49 89 722 48212
> > ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de
> > 
> > > -----Original Message-----
> > > From: Douglas Otis [SMTP:dotis@sanlight.net]
> > > Sent: Sunday, June 24, 2001 9:49 PM
> > > To:   Jacob Heitz; Ivan.Arias-Rodriguez@nokia.com
> > > Cc:   tsvwg@ietf.org
> > > Subject:      RE: [Tsvwg] sctp error check
> > >
> > > Jacob,
> > >
> > > Although stealing a few bits away from the verification tag is not as
> > > extensible as a chunk with respect allowing a variation in length, but
two
> > > bits encoded would provide four options.  These four options might
encode
> > > as:
> > >
> > > 0) No Error Check
> > > 1) Simple Error Check
> > > 2) CRC Error Check
> > > 3) Reserved
> > >
> > > Although this offers options that appear as an anathema, doing so with
a
> > > leading chunk of a known type also allows preservation of prior code
and
> > > opens the entire checksum field for future options.  That would be
double
> > > bugger for those left to defend this standard.  The few option flags
used
> > > and the few remaining in TCP have been seen as a means of innovation
for
> > > those wishing change and frustration for those keeping their finger in
the
> > > dyke.  Perhaps to reduce the number of bits and to improve processing
of the
> > > packet, when a special chunk is included, the lower bits of the now
unused
> > > checksum could then indicate the overall length of the packet.  This
would
> > > improve the integrity of error checking in that it would preclude
undetected
> > > truncation.
> > >
> > > If a system was composed of 128 128-Mbit memory chips for total of 2GB
of
> > > memory or 16 chips per side on 4 sticks.  If this system were used as
a
> > > router or firewall, it is possible that staging overwrites the MAC, IP
> > > header and ports in a damaged packet or, if not, this error becomes
limited
> > > to a population of 1 out of a thousand the clients.  It would then be
> > > possible for parsing to detect a damaged packet that would hopefully
be done
> > > prior to acknowledgement where perhaps 25% of those damaged remains
> > > undetected if in the less dynamic upper bits.  If one of these chips
had a> 
> > > weak driver causing half of either ones or zeros to be incorrectly
asserted
> > > perhaps depending on the data pattern and once up to temperature, a
> > > Fletcher-16 error check as example could miss 1% of these errors.
Such a
> > > system would still provided good performance but introduce an
undetected
> > > error once every 50,000 packets if using these simple error checks for
these
> > > unfortunate clients.
> > >
> > > There would be few indications that there was even a problem as most
packets
> > > would be fine.  The link error rate could be negligible and the
software and
> > > other related system hardware could be perfect.  Injected format
errors will
> > > make the transport less robust as parsing is likely beyond
acknowledgement.
> > >
> > > Doug
> > >
> > > > > > I was hoping nobody would say that. Bugger.
> > > > >
> > > > >         The Spanish translation of "bugger" that I read in my
> > > > dictionary is
> > > > > quite "interesting", I imagine you didn't wanted to say the
> > > > first meaning
> > > > > that appears there... :-> I wonder how didn't I manage to learn
> > > > that word
> > > > > before :-)
> > > >
> > > > It is an exclamation of annoyance, like "damn it".
> > > > I meant it in a light hearted way. The dictionary translation looks
> > > > quite offensive. Sorry.
> > >
> > >
> > > _______________________________________________>
> > > 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

------_=_NextPart_001_01C0FD5B.8BE62160
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] sctp error check</TITLE>
</HEAD>
<BODY>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">I really don't like any scheme where =
the checksum is declared in the INIT/INIT-ACK. It means you must lookup =
the association tables before being able to verify the checksum on a =
packet. That is a real pain for design IMO</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I still believe we should only have =
one baseline check algorithm for SCTP - having multiple schemes just =
tempts laziness on the part of implementers, leading to =
interoperability problems - something we don't want for SCTP. =
</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">My vote is still for CRC32 - I don't =
think that anyone can claim that a simple summation (no wrapping) for =
small packets is acceptable. A</FONT><I> <FONT SIZE=3D2 =
FACE=3D"Arial">better</FONT></I><FONT SIZE=3D2 FACE=3D"Arial"> checksum =
mousetrap (better than TCP and without Adler-32's problems) would be my =
first preference but I can't see any concensus being possible on which =
(well-known) checksum to use. </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I still think that CRC is the correct =
choice given that a) we need to move this forward now and it is the =
closest thing we have to a consensus and b) a CRC will at least meet =
everyone's error requirements for the transport layer (not necessary =
end-to-end); c) the performance hit for CRC is not that huge and d) it =
is actually much easier to implement in hardware.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">We need people to have confidence in =
SCTP for it to be widely deployed - IMO this will be hampered if people =
know that it has a potentially weak checksum or there are =
interoperablity problems or it is too difficult to have =
hardware-assisted protocol stacks.</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; Tuexen Michael =
[<A =
HREF=3D"mailto:Michael.Tuexen@icn.siemens.de">mailto:Michael.Tuexen@icn.=
siemens.de</A>]</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D2 FACE=3D"Arial">Monday, June 25, 2001 8:05 AM</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">'Jacob Heitz'; Tuexen Michael</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">tsvwg@ietf.org</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] sctp error check</FONT>
</P>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">this describes my feeling...</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">As I do not see the usage of a per =
packet change you can use</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the INIT/INIT-ACK for setting the =
checksum algorithm. You could</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">use a parameter in the INIT/INIT-ACK =
and can require that this</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">parameter is the first one. This =
would mean that you know where</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">this information is without scanning =
the whole packet. Please note</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">that I'm NOT suggesting negotiation =
here.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Best regards</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Michael</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Michael Tuexen&nbsp;&nbsp;&nbsp; =
Tel.:&nbsp;&nbsp; +49 89 722 47210</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Siemens AG&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; Fax:&nbsp;&nbsp;&nbsp; +49 89 722 48212</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ICN WN CS SE 5&nbsp;&nbsp;&nbsp; =
E-mail: Michael.Tuexen@icn.siemens.de</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; From: Jacob Heitz =
[SMTP:jheitz@lucent.com]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Sent: Monday, June 25, 2001 9:00 =
AM</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; To:&nbsp;&nbsp; Tuexen =
Michael</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Cc:&nbsp;&nbsp; =
tsvwg@ietf.org</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; =
Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Re: [Tsvwg] sctp error =
check</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; This is what I was afraid of. =
It's degenerating into a</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; heap of good ideas again. Just =
think, soon we will steal</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; 16 bits off the VT for options. =
Oooh, maybe some for</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; header compression, surely SCTP =
could use some of that.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Aaaaargh!!!</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Tuexen Michael wrote:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; Dear all,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; when you say 'stealing =
away' do you mean:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; 1. The highest order two =
bits describe the checksum for the packet</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; 2. The other 30 bits are =
the verification tag</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; This would imply that you =
could change the checksum algorithm on</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; a per packet base. Is this =
really needed?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; The other possibility =
is</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; 1. The highest order two =
bits describe the checksum for the packet</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; 2. All 32 bits are the =
verification tag</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; This would imply that you =
have to use the same checksum algorithm</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; for all packets of an =
association.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; Thanks for =
clarification.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; Best regards</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; Michael</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; Michael =
Tuexen&nbsp;&nbsp;&nbsp; Tel.:&nbsp;&nbsp; +49 89 722 47210</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; Siemens =
AG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax:&nbsp;&nbsp;&nbsp; +49 =
89 722 48212</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; ICN WN CS SE =
5&nbsp;&nbsp;&nbsp; E-mail: Michael.Tuexen@icn.siemens.de</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; -----Original =
Message-----</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; From: Douglas Otis =
[SMTP:dotis@sanlight.net]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Sent: Sunday, June 24, =
2001 9:49 PM</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; To:&nbsp;&nbsp; Jacob =
Heitz; Ivan.Arias-Rodriguez@nokia.com</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Cc:&nbsp;&nbsp; =
tsvwg@ietf.org</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RE: [Tsvwg] sctp error =
check</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Jacob,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Although stealing a =
few bits away from the verification tag is not as</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; extensible as a chunk =
with respect allowing a variation in length, but two</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; bits encoded would =
provide four options.&nbsp; These four options might encode</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; as:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; 0) No Error =
Check</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; 1) Simple Error =
Check</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; 2) CRC Error =
Check</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; 3) Reserved</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Although this offers =
options that appear as an anathema, doing so with a</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; leading chunk of a =
known type also allows preservation of prior code and</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; opens the entire =
checksum field for future options.&nbsp; That would be double</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; bugger for those left =
to defend this standard.&nbsp; The few option flags used</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; and the few remaining =
in TCP have been seen as a means of innovation for</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; those wishing change =
and frustration for those keeping their finger in the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; dyke.&nbsp; Perhaps to =
reduce the number of bits and to improve processing of the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; packet, when a special =
chunk is included, the lower bits of the now unused</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; checksum could then =
indicate the overall length of the packet.&nbsp; This would</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; improve the integrity =
of error checking in that it would preclude undetected</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; truncation.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; If a system was =
composed of 128 128-Mbit memory chips for total of 2GB of</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; memory or 16 chips per =
side on 4 sticks.&nbsp; If this system were used as a</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; router or firewall, it =
is possible that staging overwrites the MAC, IP</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; header and ports in a =
damaged packet or, if not, this error becomes limited</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; to a population of 1 =
out of a thousand the clients.&nbsp; It would then be</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; possible for parsing =
to detect a damaged packet that would hopefully be done</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; prior to =
acknowledgement where perhaps 25% of those damaged remains</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; undetected if in the =
less dynamic upper bits.&nbsp; If one of these chips had a&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; weak driver causing =
half of either ones or zeros to be incorrectly asserted</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; perhaps depending on =
the data pattern and once up to temperature, a</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Fletcher-16 error =
check as example could miss 1% of these errors.&nbsp; Such a</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; system would still =
provided good performance but introduce an undetected</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; error once every =
50,000 packets if using these simple error checks for these</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; unfortunate =
clients.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; There would be few =
indications that there was even a problem as most packets</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; would be fine.&nbsp; =
The link error rate could be negligible and the software and</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; other related system =
hardware could be perfect.&nbsp; Injected format errors will</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; make the transport =
less robust as parsing is likely beyond acknowledgement.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Doug</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; &gt; &gt; I was =
hoping nobody would say that. Bugger.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The Spanish =
translation of &quot;bugger&quot; that I read in my</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; dictionary =
is</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; &gt; quite =
&quot;interesting&quot;, I imagine you didn't wanted to say the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; first =
meaning</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; &gt; that appears =
there... :-&gt; I wonder how didn't I manage to learn</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; that word</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; &gt; before =
:-)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; It is an =
exclamation of annoyance, like &quot;damn it&quot;.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; I meant it in a =
light hearted way. The dictionary translation looks</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; quite offensive. =
Sorry.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
_______________________________________________&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; tsvwg mailing =
list</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; tsvwg@ietf.org</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; <A =
HREF=3D"http://www1.ietf.org/mailman/listinfo/tsvwg" =
TARGET=3D"_blank">http://www1.ietf.org/mailman/listinfo/tsvwg</A></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_01C0FD5B.8BE62160--

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


From tsvwg-admin@ietf.org  Mon Jun 25 08:38: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 IAA13302
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 08:38: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 HAA01901;
	Mon, 25 Jun 2001 07:33: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 HAA01872
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 07:33:08 -0400 (EDT)
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA10985
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 07:32:28 -0400 (EDT)
From: Ivan.Arias-Rodriguez@nokia.com
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5PBW9920995
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 14:32:09 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T545c6823a3ac158f210ef@esvir01nok.ntc.nokia.com>;
 Mon, 25 Jun 2001 14:33:01 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1BJH9D>; Mon, 25 Jun 2001 14:33:03 +0300
Message-ID: <7238A5BA4C7C7F4DA40EC7525B364BA4047132@esebe002.NOE.Nokia.com>
To: rfairlie@nuera.com, Michael.Tuexen@icn.siemens.de
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 14:32:55 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id HAA01873
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 HAA01901
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id IAA13302

	Dear all,

	I think that Jacob's proposal is quite a good chance to finish this
discussion. From my point of view it has the next advantages:

	1.- You can have both Adler-32 checksum and CRC-32, so there are no
worries about which one should be used, both are possible. I don't think we
need more than this, we then would have a "hard and strong" checksum when
using CRC-32 (at least harder when done by software), used for "important"
associations (banks transactions, telephony signaling, medical information,
and who knows what else; and a "quick and less strong" checksum when using
Adler-32, more likely form HTML and the like.
	2.- Even though you use one bit from the Verification Tag, the VT
still has the same use as before. You are not going to change the checksum
scheme during the association, so the VT will always remain the same, and
you can still use the 32 bits of the VT to check the validity of an incoming
datagram.
	3.- The extra information to choose between Adler-32 and CRC-32 is
in the header, so you don't have to keep any memory about which algorithm is
your peer using, you see it as soon as you take a look to bit number 64. No
negotiation at all, nor state keeping or anything. You already know which
algorithm to use for validating the datagram since the very first one (the
one that contains the INIT) of an association.

	And disadvantages:

	1.- It is truth that depending on which checksum you use you already
fix a bit (leaving a "randomness" of "only" 31 bits. But I don't think this
as a big problem.
	2.- When using CRC-32, it won't be backwards compatible.
	3.- You need to provide additional code for CRC-32. Since the code
length won't be more than few lines, I don't see this as a big deal either.
On the other hand, having this since the beginning eliminates
interoperability problems.
	4.- The extra computation cost would be only setting the last bit of
the VT after choosing it (once in the whole life of the association), and a
comparison "if 0 then" for every incoming chunk. This is almost nothing.
	5.- The Verification Tag would carry extra information (I'm not that
sure this is a disadvantage). You can see that last bit of the VT as being
part of it or not...


	Comments? Thank you!

	BR Iván Arias Rodríguez

	PS: If the people don't like this at all, I'm still in the CRC-32
side...

-----Original Message-----
From: ext Fairlie-Cuninghame, Robert [mailto:rfairlie@nuera.com]
Sent: 25. June 2001 12:45
To: 'Tuexen Michael'
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check


Michael, 
I really don't like any scheme where the checksum is declared in the
INIT/INIT-ACK. It means you must lookup the association tables before being
able to verify the checksum on a packet. That is a real pain for design IMO
I still believe we should only have one baseline check algorithm for SCTP -
having multiple schemes just tempts laziness on the part of implementers,
leading to interoperability problems - something we don't want for SCTP. 
My vote is still for CRC32 - I don't think that anyone can claim that a
simple summation (no wrapping) for small packets is acceptable. A better
checksum mousetrap (better than TCP and without Adler-32's problems) would
be my first preference but I can't see any concensus being possible on which
(well-known) checksum to use. 
I still think that CRC is the correct choice given that a) we need to move
this forward now and it is the closest thing we have to a consensus and b) a
CRC will at least meet everyone's error requirements for the transport layer
(not necessary end-to-end); c) the performance hit for CRC is not that huge
and d) it is actually much easier to implement in hardware.
We need people to have confidence in SCTP for it to be widely deployed - IMO
this will be hampered if people know that it has a potentially weak checksum
or there are interoperablity problems or it is too difficult to have
hardware-assisted protocol stacks.
Robert. 

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


From tsvwg-admin@ietf.org  Mon Jun 25 10:47: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 KAA16969
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 10:47: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 KAA08206;
	Mon, 25 Jun 2001 10:27: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 KAA08176
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 10:27:27 -0400 (EDT)
Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA16437
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 10:26: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.11.3/8.9.1) with ESMTP id f5PEPEH09059;
	Mon, 25 Jun 2001 07:25:15 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIQ02851 (AUTH rrs);
	Mon, 25 Jun 2001 07:26:47 -0700 (PDT)
Message-ID: <3B3745EB.EA8D1B15@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 09:08:43 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Lyndon Ong <lyndon_ong@eudoramail.com>
CC: Qiaobing Xie <xieqb@cig.mot.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
	 <200106212239.RAA16632@agevole.cig.mot.com> <4.2.2.20010622122523.00a9e230@eudoramail.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

Lyndon:

A question/Commnet..

Lyndon Ong wrote:
> 
> Randy,
> 
> Maybe I'm being stubborn, but I still like my original alternative (2) of
> using a modified Adler with the optional CRC chunk.  To me that rectifies
> the main concern that people have with the original Adler with a fairly
> minor change, and at the same time it allows applications like iSCSI to add
> a more rigorous error check at the transport layer.
> 
> Unfortunately, most people seem to prefer to either not change at all, or
> change completely.


How is selecting (2) NOT a change completely? You are not keeping
Adler-32,
Modified Adler-32 is still a selection of a different sum! It makes
no difference if you pick (2) or (3)... you are still making a
COMPLETE change...


I have NEVER had any problem with an optional CRC chunk. But this is
NOT something for the base spec... I see this more has something for
an extension draft, seperate from anything we do (2) or (3)....


R

> 
> Lyndon
> 
> At 11:12 AM 6/22/2001 -0500, Randall Stewart wrote:
> >Qiaobing Xie wrote:
> > >
> > > Lyndon Ong wrote:
> > > >
> > > > Folks,
> > > >
> > > > It's a bit worrying that we are not reaching more of a consensus, as
> > time goes on revising the spec will have greater impact.
> > > >
> > > > The main alternatives are (1) keeping the present checksum and
> > possibly introducing an optional CRC chunk or (2) changing to CRC.
> > > >
> > > > I support Randy's view that there's no advantage to adding a
> > negotiation process to this, compared to adding an optional CRC chunk
> > that can be discarded by implementations not using CRC.
> > > >
> > > > The issue that seems to be holding this up is disagreement on how bad
> > the problem is with the current checksum, some folks with the view that
> > since there is a known flaw in the Adler-32 we should not put this into a
> > new transport protocol and some folks with the view that it hasn't been
> > established whether the flaw has real impact.
> > > >
> > > > Any suggestions on how to get past this?
> > >
> > > Can we say that the "burden of proof" is on the side who wants to change
> > > the "status quo" :-)
> > >
> >
> >Some would say a mathmatical proof like Jonathan and Craig have offered
> >is enough.. After all, I CAN prove that if I jump off the top of
> >the sears tower, the law of gravity will most likely be my demise.
> >I don't want to test this...
> >
> >I think the proof is there if you are willing to open your eyes.
> >So what this comes down to is not a "burden of proof" but instead
> >what is "proof". Do we need to fall off a cliff before there
> >is a problem?
> >
> >Lyndon, what is your preference.. in the last summary did I
> >have you in the right class?
> >
> >R
> >
> > > -Qiaobing
> > >
> > > >
> > > > 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
> >
> >--
> >Randall R. Stewart
> >randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> >
> >_______________________________________________
> >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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)



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


From tsvwg-admin@ietf.org  Mon Jun 25 10:51: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 KAA17019
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 10:51: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 KAA08815;
	Mon, 25 Jun 2001 10:35: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 KAA08785
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 10:35:18 -0400 (EDT)
Received: from gnat.inet.org (inet.org [63.108.254.91] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA16640
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 10:34:40 -0400 (EDT)
Received: from mosquito.inet.org (rja-laptop [10.30.34.139])
	by gnat.inet.org (Postfix) with ESMTP
	id 0C3398266E; Mon, 25 Jun 2001 10:34:22 -0400 (EDT)
Message-Id: <5.1.0.14.2.20010625102756.00a1ca00@10.30.15.2>
X-Sender: rja@10.30.15.2
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 25 Jun 2001 10:30:26 -0400
To: Ivan.Arias-Rodriguez@nokia.com
From: RJ Atkinson <rja@inet.org>
Subject: RE: [Tsvwg] sctp error check
Cc: tsvwg@ietf.org
In-Reply-To: <7238A5BA4C7C7F4DA40EC7525B364BA4047132@esebe002.NOE.Nokia.
 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

At 07:32 25/06/01, Ivan.Arias-Rodriguez@nokia.com wrote:
>        1.- You can have both Adler-32 checksum and CRC-32, so there are no
>worries about which one should be used, both are possible. I don't think we
>need more than this, we then would have a "hard and strong" checksum when
>using CRC-32 (at least harder when done by software), used for "important"
>associations (banks transactions, telephony signaling, medical information,
>and who knows what else; and a "quick and less strong" checksum when using
>Adler-32, more likely form HTML and the like.

        I believe there was stronger consensus that SCTP must not
have more than one checksum than on any other aspect of this
discussion.  So I think the above proposal decreases what little
consensus exists...

        In practice, IETF protocols with more options are 
MUCH less interoperable than those with fewer options.  Having
options on checksums has been an interoperability nightmare with UDP 
for over a decade now in the field.  Please do NOT repeat this 
sort of option in SCTP as we know options relating to checksums 
is a very bad idea.

Ran
rja@inet.org


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


From tsvwg-admin@ietf.org  Mon Jun 25 10:54:08 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 KAA17101
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 10:54: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 KAA08601;
	Mon, 25 Jun 2001 10:32: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 KAA08575
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 10:32:20 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA16529
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 10:31:41 -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 f5PEQmh17194;
	Mon, 25 Jun 2001 07:26:48 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIQ02848 (AUTH rrs);
	Mon, 25 Jun 2001 07:26:41 -0700 (PDT)
Message-ID: <3B3744B9.81041C70@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 09:03:37 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Jon Grimm <jgrimm@austin.ibm.com>
CC: Chip Sharp <chsharp@cisco.com>, Qiaobing Xie <xieqb@cig.mot.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
References: <200106202035.PAA10466@em.cig.mot.com> <4.3.2.7.2.20010622123200.00b62c40@dogwood.cisco.com> <3B33839E.9B1D7F07@stewart.chicago.il.us> <3B339369.C05CC628@austin.ibm.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

Jon:

This is my whole point.. I don't think you understood who
I meant by recevier :-)

The guy that does NOT order his TSN's will suffer the
penalty... so whats the problem with this... You DON'T
follow the spec and you get penalized... You DO follow
the spec and thinks work properly..

I think this is a GOOD thing :>

R

Jon Grimm wrote:
> 
> This seems true for the case where the mis-reporting of the ECNE
> LowestTSN by caused by out-of-order TSNs in a packet.  I believe La
> Monte also mentioned:
> 
> > For our implementation, we don't really care WHICH TSN we get in an
> > incoming ECNE--we can identify the sending transport based on ANY TSN
> > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > the packet (better yet would be the LAST TSN).  How immutable is this?
> 
> If the LAST TSN where chosen for a sender that actually ordered its TSNs
> per spec., it would seem that the sender could then be artificially
> penalized.
> 
> Regards,
> Jon Grimm
> 
> Randall Stewart wrote:
> >
> > The only penalty I can think of is that the receiver
> > may think that two seperate packets marked may
> > be seperate congestion events (rather doubtful but
> > it could happen). If so, the sender (who did not
> > order the chunks) is penalized... i.e. it ends
> > up having to reduce its cwnd twice...
> >
> > R
> >
> > Chip Sharp wrote:
> > >
> > > A MUST requirement on the transmitter doesn't automatically imply a MUST
> > > requirement on the receiver.
> > >
> > > There is no requirement in the spec for the receiver to report an ordering
> > > violation.
> > >
> > > For ECN, what would be the implication of reporting a higher TSN in the ECNE?
> > >
> > > Chip
> > >
> > > At 05:58 PM 6/20/2001, Qiaobing Xie wrote:
> > > >La Monte,
> > > >
> > > >See my comments below...
> > > >
> > > >"La Monte H.P. Yarroll" wrote:
> > > > >
> > > > > Are SCTP DATA chunks bundled in a single packet required to be in TSN
> > > > > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> > > > > recall a discussion suggesting that they ought to be in ascending TSN
> > > > > order, but that it is not required.
> > > > >
> > > > > If they are NOT required to be in ascending TSN order, then we have
> > > > > some bothersome extra code to write for ECN:
> > > >
> > > >So, you won't mind adding code to check whether TSNs are in ascending
> > > >order in *every* received packet and adding yet more code to reporting
> > > >any ordering violation?
> > > >
> > > >I think the code you would need to add to enforce the new rule would be
> > > >many many times more than tracking the LOWEST TSN in your ECN
> > > >subroutine.
> > > >
> > > >-Qiaobing
> > > >
> > > > >
> > > > > Appendix A:
> > > > >
> > > > >    ECN-Echo:
> > > > >
> > > > >    RFC 2481 details a specific bit for a receiver to send back in its
> > > > >    TCP acknowledgements to notify the sender of the Congestion
> > > > >    Experienced (CE) bit having arrived from the network.  For SCTP this
> > > > >    same indication is made by including the ECNE chunk.  This chunk
> > > > >    contains one data element, i.e. the lowest TSN associated with the IP
> > > > >    datagram marked with the CE bit, and looks as follows:
> > > > >
> > > > > In other words, we have to find the LOWEST TSN in the whole packet.
> > > > >
> > > > > For our implementation, we don't really care WHICH TSN we get in an
> > > > > incoming ECNE--we can identify the sending transport based on ANY TSN
> > > > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > > > > the packet (better yet would be the LAST TSN).  How immutable is this?
> > > > >
> > > > |                                                                             |
> > > > >
> > > > |                                                                             |
> > > > > ---------------------- Mailing List commands
> > > > --------------------------------
> > > > > Send the following in the body of a message to
> > > > Majordomo@majordomo.cig.mot.com
> > > > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> > > > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> > > > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
> > > > list-name
> > > > >
> > > > |                                                                             |
> > > > > Or you can use http://majordomo.cig.mot.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
> >
> > --
> > Randall R. Stewart
> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > |                                                                             |
> > |                                                                             |
> > ---------------------- Mailing List commands --------------------------------
> > Send the following in the body of a message to Majordomo@majordomo.cig.mot.com
> > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
> > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
> > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info list-name
> > |                                                                             |
> > Or you can use http://majordomo.cig.mot.com
> > ------------------------------------------------------------------------------
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)



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


From tsvwg-admin@ietf.org  Mon Jun 25 11:06: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 LAA17481
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 11:06: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 KAA09438;
	Mon, 25 Jun 2001 10:53:38 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id KAA09399
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 10:53:35 -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 KAA17055
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 10:52:51 -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.11.3/8.9.1) with ESMTP id f5PEr7N01568;
	Mon, 25 Jun 2001 07:53:07 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIQ03287 (AUTH rrs);
	Mon, 25 Jun 2001 07:52:57 -0700 (PDT)
Message-ID: <3B375047.3DBB77EB@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 09:52:55 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Jacob Heitz <jheitz@lucent.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
			 <200106212239.RAA16632@agevole.cig.mot.com> <3B336E85.C092435C@stewart.chicago.il.us> <3B340ABB.8D2445F0@lucent.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

Jacob:

I STRONGLY object to any such thing. If we take this
approach we WEAKEN a KEY defense by removing one bit
of randomness from SCTP. 

This would be a CATASTROPHIC mistake in my mind..

R

Jacob Heitz wrote:
> 
> The impasse remains. zzzzz.
> 
> Another idea:
> 
> Sacrifice the high bit of the Verification Tag.
> If it's 0, then Checksum is Adler32
> If it's 1, then Checksum is CRC32
> 
> Simple. No extra chunk. No negotiation.
> 31 bits should be enough for the Verification Tag.
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 11:19: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 LAA17919
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 11:19: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 LAA10150;
	Mon, 25 Jun 2001 11:03: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 LAA10121
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 11:03:32 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA17363
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 11:02:53 -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.11.3/8.9.1) with ESMTP id f5PF39x00718;
	Mon, 25 Jun 2001 08:03:09 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIQ03507 (AUTH rrs);
	Mon, 25 Jun 2001 08:02:58 -0700 (PDT)
Message-ID: <3B37529F.4113AA0D@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 10:02:55 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Ivan.Arias-Rodriguez@nokia.com
CC: dotis@sanlight.net, jheitz@lucent.com, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <7238A5BA4C7C7F4DA40EC7525B364BA4047130@esebe002.NOE.Nokia.com>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by sj-msg-core-2.cisco.com id f5PF39x00718
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id LAA10122
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 LAA10150
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id LAA17919

Ivan.Arias-Rodriguez@nokia.com wrote:
> 
>         Hi all!
> 
> > > Another idea:
> > >
> > > Sacrifice the high bit of the Verification Tag.
> > > If it's 0, then Checksum is Adler32
> > > If it's 1, then Checksum is CRC32
> > >
> > > Simple. No extra chunk. No negotiation.
> > > 31 bits should be enough for the Verification Tag.
> 
>         I remember that Randall already proposed something like this at the
> early stage of this discussion. I'm in the "use CRC" side, but I like this
> approach Jacob is pushing again to the arena...
> 

I think if you look back you will see my proposal was to 
sacrifise a bit from the CRC itself... not the V-TAG. I object
to messing with the V-TAG!

>         We don't even have to sacrifice the high bit of the checksum.
> Another idea comes to my mind, which is for example placing that "checksum
> selection bit" in the Verification Tag... Let's say that the sender tells to
> the receiver if it is using Adler-32 (or maybe better modified Adler-32, or
> any other "soft" checksum) using a Verification tag with its first (or last)
> bit set to 0 for example, and it announces the use of CRC setting it to 1...
> 

NO you have now lowered the bar on the V-T tag guessing game and
thus weakend the whole protocol. I could NEVER support this it
would be a BAD mistake. Lets instead weaken the checksum itself
NOT the V-T!!! (if one wants to go this route .. not I).


>         The Verification Tag would continue being 32 bits long, and it would
> make the same work it is doing now, the only difference is that it carries
> extra information... The selection of the Verification Tag would be as easy
> as doing it exactly as before, and then set the lowest bit to 0 or 1... One
> more line of code that is executed only once in the (hopefully long) life of
> the association... :-)
> 

No what you now have is a 31-bit verification tag and a flag. Thus
a weaker V-Tag. I DONT like this idea. We depend on the strength
of the V-Tag in Add-ip ... you are just expanding the scope of
the problem... This is a BAD thing!!

>         Moreover, we could move the checksum to the end of the datagram... I
> think this is a good idea, not only for the reasons that have been already
> stated, but also because you don't even have to save the value of the
> checksum, set it to 0 and then calculate it and compare... just calculate
> the checksum and compare it with the last word of the received datagram...
> but this is another issue.
> 

The whole idea here was to NOT change the format much. If you take
this approach why not make the current checksum field into flag
bits! Then attach your trailing c-sum and the bits up front can
tell you all you want to send... I DONT LIKE THIS either but it
is FAR better then your weaker 31-bit VT..

>         These changes would imply one more line of code to be executed and
> few extra code to be added to be able to calculate both Adler and CRC. You
> just check the, let's say bit number 64 of the incoming chunk, and depending
> on its value, go to one or other branch of your code and calculate one or
> the other... The main problem I see with this is that maybe someone could
> see it as "inelegant"... :-/ Special offer: no negotiation, no extra
> checksum chunk, almost no extra processing, multiple checksum possibility...
> now for sale! ;-)
> 
>         We could even use more than one bit, so more checksums can be
> chosen, for example two bits and so we could include Adler-32, modified
> Adler-32, TCP-32 and CRC-32... Hopefully this will make happy to people like
> me wanting to use CRC, and people who wish no change or using modified
> Adler-32, TCP checksum or whatever... But I don't want to divide votes even
> more, this is being a long discussion and I have a Master Thesis to do! ;-)
> 
>         BR Iván Arias Rodríguez
> 

I am begining to  move into Ian's camp I am afraid... I have not
much more stomach for these changes everyone seems to be proposing.

I will have to think on this... maybe I should move to Missouri as
well!!


R


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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 11:19: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 LAA17952
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 11:19: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 LAA10028;
	Mon, 25 Jun 2001 11:02: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 LAA10001
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 11:02:03 -0400 (EDT)
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA17290
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 11:01:20 -0400 (EDT)
From: Ivan.Arias-Rodriguez@nokia.com
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5PF12911923
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 18:01:02 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T545d2743adac158f210ef@esvir01nok.ntc.nokia.com>;
 Mon, 25 Jun 2001 18:01:47 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1BJP24>; Mon, 25 Jun 2001 18:01:49 +0300
Message-ID: <7238A5BA4C7C7F4DA40EC7525B364BA4047135@esebe002.NOE.Nokia.com>
To: rja@inet.org
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 18:01:37 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id LAA10002
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 LAA10028
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id LAA17952

	Dear Ran,

>         I believe there was stronger consensus that SCTP must not
> have more than one checksum than on any other aspect of this
> discussion.  So I think the above proposal decreases what little
> consensus exists...
> 
>         In practice, IETF protocols with more options are 
> MUCH less interoperable than those with fewer options.  Having
> options on checksums has been an interoperability nightmare with UDP 
> for over a decade now in the field.  Please do NOT repeat this 
> sort of option in SCTP as we know options relating to checksums 
> is a very bad idea.

	I understand your concerns. But, as far as I know, the
interoperability problems occur when something is optional. This proposal is
not something optional, nor negotiable, it is just a different way of
processing the SCTP packet upon its reception... I don't want either to add
any optional parameter in the INIT/INIT ACK chunks, or having another extra
chunk carrying another checksum... well, "I don't want" means that I just
think that there are better approaches...

	This is not an option at all. It is not even something you have to
keep some memory about. Actually it is kind of a flag (if not completely) in
the datagram header... It would be something maybe even less problematic
than adding the necessary code to receive a SACK with unordered gaps (which
is allowed) and figure out which are the TSNs that should be fast
retransmitted, for example...

	I think we are stopped at some point of the discussion because
people prefer Adler-32 or CRC-32 (or something else). This would give you
the possibility of using one or the other. But in any case, I'm not going to
push anybody... actually after about two months of discussion I think that I
don't care that much which one is used... sick...

	BR Iván Arias Rodríguez

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


From tsvwg-admin@ietf.org  Mon Jun 25 11:27: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 LAA18212
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 11:27: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 KAA09321;
	Mon, 25 Jun 2001 10:52:09 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id KAA09258
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 10:52:05 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA17014
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 10:51:22 -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.11.3/8.9.1) with ESMTP id f5PEpbx22963;
	Mon, 25 Jun 2001 07:51:37 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIQ03262 (AUTH rrs);
	Mon, 25 Jun 2001 07:51:26 -0700 (PDT)
Message-ID: <3B374FEB.91AF815B@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 09:51:24 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: "La Monte H.P. Yarroll" <piggy@em.cig.mot.com>
CC: Chip Sharp <chsharp@cisco.com>, Qiaobing Xie <xieqb@cig.mot.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
References: <200106202035.PAA10466@em.cig.mot.com>
		<200106202150.QAA02129@agevole.cig.mot.com>
		<4.3.2.7.2.20010622123200.00b62c40@dogwood.cisco.com> <15155.50113.567928.612318@theor.em.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

"La Monte H.P. Yarroll" wrote:
> 
> I could imagine a really poor implementation being unable to identify
> the transport associated with the higher TSN and thus failing to apply
> the congestion control changes to the right transport.
> 

Huh? I think you are talking about a BUGGY implementation NOT a
really poor one. After all part of implementing SCTP is dealing
with the multi-homing. From what I read you are saying above you could
just as easily claim the same terms for packet loss as well.. what is to
stop a "really poor implementation" from claiming the congestion
signal (a loss event) is unable to identify the transport associated
with the lost TSN?

Same issue...


Sorry La Monte.. I can't buy this argument.. 


R

> If I'd noticed this 4 months ago, I would have suggested that we drop
> the TSN ordering requirement AND allow the ECNE to report ANY TSN from
> the affected packet.
> 
> Neither of these is severe changes, but we are pretty late in the game
> for this sort of thing.  For our implementation these two changes
> would eliminate 20 lines of code and about 8 bytes of storage per
> chunk...  Not a big deal--just a little crufty inelegance.
> 
> Chip Sharp writes:
>  > A MUST requirement on the transmitter doesn't automatically imply a MUST
>  > requirement on the receiver.
>  >
>  > There is no requirement in the spec for the receiver to report an ordering
>  > violation.
>  >
>  > For ECN, what would be the implication of reporting a higher TSN in
>  > the ECNE?
>  >
>  > Chip
>  >
>  > At 05:58 PM 6/20/2001, Qiaobing Xie wrote:
>  > >La Monte,
>  > >
>  > >See my comments below...
>  > >
>  > >"La Monte H.P. Yarroll" wrote:
>  > > >
>  > > > Are SCTP DATA chunks bundled in a single packet required to be in TSN
>  > > > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
>  > > > recall a discussion suggesting that they ought to be in ascending TSN
>  > > > order, but that it is not required.
>  > > >
>  > > > If they are NOT required to be in ascending TSN order, then we have
>  > > > some bothersome extra code to write for ECN:
>  > >
>  > >So, you won't mind adding code to check whether TSNs are in ascending
>  > >order in *every* received packet and adding yet more code to reporting
>  > >any ordering violation?
>  > >
>  > >I think the code you would need to add to enforce the new rule would be
>  > >many many times more than tracking the LOWEST TSN in your ECN
>  > >subroutine.
>  > >
>  > >-Qiaobing
>  > >
>  > > >
>  > > > Appendix A:
>  > > >
>  > > >    ECN-Echo:
>  > > >
>  > > >    RFC 2481 details a specific bit for a receiver to send back in its
>  > > >    TCP acknowledgements to notify the sender of the Congestion
>  > > >    Experienced (CE) bit having arrived from the network.  For SCTP this
>  > > >    same indication is made by including the ECNE chunk.  This chunk
>  > > >    contains one data element, i.e. the lowest TSN associated with the IP
>  > > >    datagram marked with the CE bit, and looks as follows:
>  > > >
>  > > > In other words, we have to find the LOWEST TSN in the whole packet.
>  > > >
>  > > > For our implementation, we don't really care WHICH TSN we get in an
>  > > > incoming ECNE--we can identify the sending transport based on ANY TSN
>  > > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
>  > > > the packet (better yet would be the LAST TSN).  How immutable is this?
>  > > >
>  > > |                                                                             |
>  > > >
>  > > |                                                                             |
>  > > > ---------------------- Mailing List commands
>  > > --------------------------------
>  > > > Send the following in the body of a message to
>  > > Majordomo@majordomo.cig.mot.com
>  > > > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
>  > > > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
>  > > > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info
>  > > list-name
>  > > >
>  > > |                                                                             |
>  > > > Or you can use http://majordomo.cig.mot.com
>  > > >
>  > > ------------------------------------------------------------------------------
>  > >
>  > >_______________________________________________
>  > >tsvwg mailing list
>  > >tsvwg@ietf.org
>  > >http://www1.ietf.org/mailman/listinfo/tsvwg
>  >
>  > |                                                                          |
>  > |                                                                          |
>  > ---------------------- Mailing List commands --------------------------------
>  > Send the following in the body of a message to Majordomo@majordomo.cig.mot.com
>  > SUBSCRIBE TO LIST    : subscribe list-name   | LIST OF LISTS   : lists
>  > UNSUBSCRIBE TO LIST  : unsubscribe list-name | RETRIEVE HELP   : help
>  > WHO ON ON THE LIST   : who list-name         | GET DESCRIPTION : info list-name
>  > |                                                                             |
>  > Or you can use http://majordomo.cig.mot.com
>  > ------------------------------------------------------------------------------
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 11:31: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 LAA18364
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 11:31:27 -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 LAA10846;
	Mon, 25 Jun 2001 11:20: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 LAA10817
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 11:20:21 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA17951
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 11:19:40 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id IAA24227;
	Mon, 25 Jun 2001 08:19:14 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 25 Jun 2001 15:19:52 UT
Received: from jheitz-dsl-77.ascend.com (jheitz-dsl-77.ascend.com [134.112.160.77])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id IAA11674;
	Mon, 25 Jun 2001 08:19:21 -0700 (PDT)
Received: from lucent.com (localhost [127.0.0.1])
	by jheitz-dsl-77.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id IAA27739;
	Mon, 25 Jun 2001 08:19:02 -0700 (PDT)
Message-ID: <3B375666.10A96A2@lucent.com>
Date: Mon, 25 Jun 2001 08:19:02 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.5.1 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: Randall Stewart <randall@stewart.chicago.il.us>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
	 <200106212239.RAA16632@agevole.cig.mot.com>
	 <3B336E85.C092435C@stewart.chicago.il.us> <3B340ABB.8D2445F0@lucent.com> <3B375047.3DBB77EB@stewart.chicago.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

How many bits do you REALLY need for the V-Tag and why ?
Why is 32 the right number ? Why not maybe 33 ? or 64 ?
or 24 ?

Randall Stewart wrote:
> 
> Jacob:
> 
> I STRONGLY object to any such thing. If we take this
> approach we WEAKEN a KEY defense by removing one bit
> of randomness from SCTP.
> 
> This would be a CATASTROPHIC mistake in my mind..
> 
> R
> 
> Jacob Heitz wrote:
> >
> > The impasse remains. zzzzz.
> >
> > Another idea:
> >
> > Sacrifice the high bit of the Verification Tag.
> > If it's 0, then Checksum is Adler32
> > If it's 1, then Checksum is CRC32
> >
> > Simple. No extra chunk. No negotiation.
> > 31 bits should be enough for the Verification Tag.

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


From tsvwg-admin@ietf.org  Mon Jun 25 11:36: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 LAA18486
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 11:36: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 LAA11106;
	Mon, 25 Jun 2001 11:26: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 LAA11078
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 11:26:26 -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 LAA18172
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 11:25:47 -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.11.3/8.9.1) with ESMTP id f5PERBN12408;
	Mon, 25 Jun 2001 07:27:12 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIQ02858 (AUTH rrs);
	Mon, 25 Jun 2001 07:26:57 -0700 (PDT)
Message-ID: <3B374A14.2CDA714B@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 09:26:28 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: La Monte Henry Piggy Yarroll <piggy@baqaqi.chi.il.us>
CC: Mike Bartlett <MB@dataconnection.com>, tsvwg@ietf.org,
        Jonathan.Wood@Sun.COM
Subject: Re: [Tsvwg] Use of association IDs on UDP-style SCTP sockets 
 (draft-ietf-tsvw g-sctpsocket-00.txt)
References: <200106231202.f5NC2rg23741@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

La Monte:

Thanks for digging this out.. I was going to go back
and find it in the archive and reply :)

some comments ...

La Monte Henry Piggy Yarroll wrote:
> 
> Jonathan Wood directed me to your messages.  Thanks very much for your
> detailed analysis.  More comments follow, including ones directed at
> Jonathan and Randy.
> 
> Mike Bartlett <MB@dataconnection.com> writes:
> > I have some comments on the use of association IDs on UDP-style SCTP sockets
> > as specified in the SCTP Sockets Mapping draft.  One of these is a real
> > problem (relating to the mechanism specified for refusing incoming
> > associations on UDP-style SCTP sockets).
> >
> > These comments all relate to the fact that the SCTP_ASSOC_CHANGE
> > notification is the only way that the application gets to learn what the
> > association IDs are for the associations on its UDP-style sockets (they are
> > provided in the notification with sac_state=COMMUNICATION_UP).  This means
> > that an application which has disabled the SCTP_ASSOC_CHANGE notification,
> > using the SCTP_RECVASSOCEVNT socket option, can never identify an
> > association using an association ID.
> >
> > (1) On a UDP-style socket the association ID is carried on all other
> > notifications (e.g. send failure), and also on SCTP_SNDRCV ancillary data,
> > as a means of correlating the event to an association.  The draft should
> > make it clear that the SCTP stack MUST also set a peer transport address in
> > the msg_name field returned on a recvmsg() call, so that applications which
> > do not receive SCTP_ASSOC_CHANGE notifications can still perform correlation
> > to an association.
> 
> I have to agree.

me too..

> 
> > For the ancillary data the msg_name should always contain the source
> > transport address for the data that it accompanies.  For notifications it
> > should contain the primary peer transport address.
> 
> These are the reasonable addresses to use.  If this were a standards
> track draft rather than informational, I'd say the ancillary data
> msg_name MUST contain the source transport address for the data it
> accompanies, and the notifications SHOULD contain the primary peer
> transport address.
> 

I agree :)

> > (2) For certain socket options that relate to a single association (e.g.
> > SCTP_RTOINFO, SCTP_STATUS) the application must identify the association on
> > a UDP-style socket using the association ID.  Therefore it must enable
> > SCTP_ASSOC_CHANGE notifications.  The same applies if the application wishes
> > to branch off any associations on its UDP-style sockets by calling
> > sctp_peeloff() - it must know the association IDs, so it must  enable
> > SCTP_ASSOC_CHANGE notifications.
> >
> > Please make it clear in the draft that enabling SCTP_ASSOC_CHANGE
> > notifications is an essential pre-requisite for these operations.
> 
> This is a very good idea.  Jonathan, do you want me to compose text or
> do you want to?
> 


I think Jonathan already checked his earlier changes back into the cvs
tree ... so
why don't you make the changes...

> > (3) Sections 5.3.1.1 and 3.1.2 state that a client application which does
> > not want to accept incoming associations on a UDP-style socket must disable
> > the SCTP_ASSOC_CHANGE notification using the SCTP_RECVASSOCEVNT socket
> > option.
> >
> > There is a big problem with this.  As point (2) makes clear, there are
> > certain operations which an application can only perform an a UDP-style
> > socket if it has SCTP_ASSOC_CHANGE notifications turned on (and the
> > association ID is also useful, but not essential, for correlation purposes -
> > point (1)).
> >
> > It seems clear to me that we need a new socket option to allow applications
> > to turn on/off acceptance of incoming associations on UDP sockets.  We
> > cannot use the suggested method of overloading the SCTP_RECVASSOCEVNT socket
> > option.
> 
> This makes sense to me.  Randy, what do you think?  I remember that we
> had quite a lengthy discussion of controling incoming associations...
> 

If I remember right, we did the combined GET EVENTS/GET ASSOC's
automatically
has a convience. It seems right to me to have a:

SCTP_RECVASSOCEVNT
and a
SCTP_INBOUNDASSOC

option...

> > (4) If the change I suggest in point (3) is accepted then I also suggest
> > that the default setting for the SCTP_RECVASSOCEVNT socket option should be
> > *on* for UDP-style sockets (as it is for the SCTP_RECVDATAIOEVNT option -
> > section 7.3).  An application which does not receive SCTP_ASSOC_CHANGE
> > notifications on a UDP-style socket is at a considerable disadvantage, and
> > the change suggested in point (3) means that this is no longer a security
> > issue.
> 
> This is my strong preference even in the absense of (3), though I
> remember why we decided for the current default--some of the authors
> were concerned about unwanted associations arriving during application
> startup before the option could be turned off.  Suggestion (3)
> addresses that concern.
> 

I concur 100%. Since we have the assoc_id a udp style socket really
NEEDS this information. I don't think asoc events should ever
be off for this style... Accepting of associatioins is a seperate
item. Having them as seperate options makes it easy.. You always
get assoc events by default... you do not get assoc's if you
do not enable them...

R

> > Best wishes
> >
> > Mike Bartlett
> > Voice Networking Group
> > Data Connection Ltd
> > Tel: +44 20 8366 1177
> > Fax: +44 20 8363 1039
> > Email: mb@dataconnection.com
> > Web: http://www.dataconnection.com
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)


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


From tsvwg-admin@ietf.org  Mon Jun 25 11:42: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 LAA18692
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 11:42: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 LAA10313;
	Mon, 25 Jun 2001 11:07: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 LAA10284
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 11:07:30 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA17501
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 11:06:50 -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 f5PF73h12126;
	Mon, 25 Jun 2001 08:07:03 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIQ03614 (AUTH rrs);
	Mon, 25 Jun 2001 08:06:55 -0700 (PDT)
Message-ID: <3B37538D.207E9E6D@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 10:06:53 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Tuexen Michael <Michael.Tuexen@icn.siemens.de>
CC: "'Jacob Heitz'" <jheitz@lucent.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <F92978223B01D311ACFF0008C71EE19D015DF499@MCHH225E>
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

I think I will go find the draft Chip and I wrote
on this... 

This whole thing sickens me... I would much prefer
such a negotiation method then weakening the whole
SCTP V-Tag. 

I am even more strongly leaning into Ian's camp...

Tuexen Michael wrote:
> 
> Dear all,
> 
> this describes my feeling...
> 
> As I do not see the usage of a per packet change you can use
> the INIT/INIT-ACK for setting the checksum algorithm. You could
> use a parameter in the INIT/INIT-ACK and can require that this
> parameter is the first one. This would mean that you know where
> this information is without scanning the whole packet. Please note
> that I'm NOT suggesting negotiation here.
> 
> Best regards
> Michael
> 
> Michael Tuexen    Tel.:   +49 89 722 47210
> Siemens AG        Fax:    +49 89 722 48212
> ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de
> 
> > -----Original Message-----
> > From: Jacob Heitz [SMTP:jheitz@lucent.com]
> > Sent: Monday, June 25, 2001 9:00 AM
> > To:   Tuexen Michael
> > Cc:   tsvwg@ietf.org
> > Subject:      Re: [Tsvwg] sctp error check
> >
> > This is what I was afraid of. It's degenerating into a
> > heap of good ideas again. Just think, soon we will steal
> > 16 bits off the VT for options. Oooh, maybe some for
> > header compression, surely SCTP could use some of that.
> > Aaaaargh!!!
> >
> > Tuexen Michael wrote:
> > >
> > > Dear all,
> > >
> > > when you say 'stealing away' do you mean:
> > >
> > > 1. The highest order two bits describe the checksum for the packet
> > > 2. The other 30 bits are the verification tag
> > >
> > > This would imply that you could change the checksum algorithm on
> > > a per packet base. Is this really needed?
> > >
> > > The other possibility is
> > >
> > > 1. The highest order two bits describe the checksum for the packet
> > > 2. All 32 bits are the verification tag
> > >
> > > This would imply that you have to use the same checksum algorithm
> > > for all packets of an association.
> > >
> > > Thanks for clarification.
> > >
> > > Best regards
> > > Michael
> > >
> > > Michael Tuexen    Tel.:   +49 89 722 47210
> > > Siemens AG        Fax:    +49 89 722 48212
> > > ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de
> > >
> > > > -----Original Message-----
> > > > From: Douglas Otis [SMTP:dotis@sanlight.net]
> > > > Sent: Sunday, June 24, 2001 9:49 PM
> > > > To:   Jacob Heitz; Ivan.Arias-Rodriguez@nokia.com
> > > > Cc:   tsvwg@ietf.org
> > > > Subject:      RE: [Tsvwg] sctp error check
> > > >
> > > > Jacob,
> > > >
> > > > Although stealing a few bits away from the verification tag is not as
> > > > extensible as a chunk with respect allowing a variation in length, but two
> > > > bits encoded would provide four options.  These four options might encode
> > > > as:
> > > >
> > > > 0) No Error Check
> > > > 1) Simple Error Check
> > > > 2) CRC Error Check
> > > > 3) Reserved
> > > >
> > > > Although this offers options that appear as an anathema, doing so with a
> > > > leading chunk of a known type also allows preservation of prior code and
> > > > opens the entire checksum field for future options.  That would be double
> > > > bugger for those left to defend this standard.  The few option flags used
> > > > and the few remaining in TCP have been seen as a means of innovation for
> > > > those wishing change and frustration for those keeping their finger in the
> > > > dyke.  Perhaps to reduce the number of bits and to improve processing of the
> > > > packet, when a special chunk is included, the lower bits of the now unused
> > > > checksum could then indicate the overall length of the packet.  This would
> > > > improve the integrity of error checking in that it would preclude undetected
> > > > truncation.
> > > >
> > > > If a system was composed of 128 128-Mbit memory chips for total of 2GB of
> > > > memory or 16 chips per side on 4 sticks.  If this system were used as a
> > > > router or firewall, it is possible that staging overwrites the MAC, IP
> > > > header and ports in a damaged packet or, if not, this error becomes limited
> > > > to a population of 1 out of a thousand the clients.  It would then be
> > > > possible for parsing to detect a damaged packet that would hopefully be done
> > > > prior to acknowledgement where perhaps 25% of those damaged remains
> > > > undetected if in the less dynamic upper bits.  If one of these chips had a>
> > > > weak driver causing half of either ones or zeros to be incorrectly asserted
> > > > perhaps depending on the data pattern and once up to temperature, a
> > > > Fletcher-16 error check as example could miss 1% of these errors.  Such a
> > > > system would still provided good performance but introduce an undetected
> > > > error once every 50,000 packets if using these simple error checks for these
> > > > unfortunate clients.
> > > >
> > > > There would be few indications that there was even a problem as most packets
> > > > would be fine.  The link error rate could be negligible and the software and
> > > > other related system hardware could be perfect.  Injected format errors will
> > > > make the transport less robust as parsing is likely beyond acknowledgement.
> > > >
> > > > Doug
> > > >
> > > > > > > I was hoping nobody would say that. Bugger.
> > > > > >
> > > > > >         The Spanish translation of "bugger" that I read in my
> > > > > dictionary is
> > > > > > quite "interesting", I imagine you didn't wanted to say the
> > > > > first meaning
> > > > > > that appears there... :-> I wonder how didn't I manage to learn
> > > > > that word
> > > > > > before :-)
> > > > >
> > > > > It is an exclamation of annoyance, like "damn it".
> > > > > I meant it in a light hearted way. The dictionary translation looks
> > > > > quite offensive. Sorry.
> > > >
> > > >
> > > > _______________________________________________>
> > > > 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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 11:48: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 LAA18897
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 11:48: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 LAA11156;
	Mon, 25 Jun 2001 11:27: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 LAA11130
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 11:26:58 -0400 (EDT)
Received: from gnat.inet.org (inet.org [63.108.254.91] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA18175
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 11:26:18 -0400 (EDT)
Received: from mosquito.inet.org (rja-laptop [10.30.34.139])
	by gnat.inet.org (Postfix) with ESMTP
	id 3355A8266E; Mon, 25 Jun 2001 11:26:26 -0400 (EDT)
Message-Id: <5.1.0.14.2.20010625111851.00a251f0@10.30.15.2>
X-Sender: rja@10.30.15.2
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 25 Jun 2001 11:22:31 -0400
To: Ivan.Arias-Rodriguez@nokia.com
From: RJ Atkinson <rja@inet.org>
Subject: RE: [Tsvwg] sctp error check
Cc: tsvwg@ietf.org
In-Reply-To: <7238A5BA4C7C7F4DA40EC7525B364BA4047135@esebe002.NOE.Nokia.
 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

At 11:01 25/06/01, Ivan.Arias-Rodriguez@nokia.com wrote:
>        I understand your concerns. But, as far as I know, the
>interoperability problems occur when something is optional. 

        Not strictly speaking.  UDP checksums are an example of 
something that isn't supposed to be optional, yet is an 
interoperability nightmare in practice in a different transport-layer
protocol

>This proposal is
>not something optional, nor negotiable, it is just a different way of
>processing the SCTP packet upon its reception... 

        However the proposal will have the same interoperability
issues around it that have occurred with other IETF protocols
in the past.  

>        I think we are stopped at some point of the discussion because
>people prefer Adler-32 or CRC-32 (or something else). This would give you
>the possibility of using one or the other. But in any case, I'm not going to
>push anybody... actually after about two months of discussion I think that I
>don't care that much which one is used... sick...

        I'm much more concerned that we pick precisely one checksum,
with no new complexity, than which one we pick.

        That noted, and given the known reality of middleboxes that
modify checksums in the middle of the network, I haven't seen the
crisp justification for a change.  I'd really still like to see
that.  But if we are going to change, pick one and keep the implementation
approach quite simple.  I see your proposal as increasing complexity
unduly.

Ran
rja@inet.org


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


From tsvwg-admin@ietf.org  Mon Jun 25 12:19: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 MAA19885
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:19:01 -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 MAA13043;
	Mon, 25 Jun 2001 12:03: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 MAA13011
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:03:44 -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 MAA19460
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:03:04 -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.11.3/8.9.1) with ESMTP id f5PG3LN20746;
	Mon, 25 Jun 2001 09:03:21 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIT00057 (AUTH rrs);
	Mon, 25 Jun 2001 09:03:11 -0700 (PDT)
Message-ID: <3B3760BD.36312656@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 11:03:09 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Jacob Heitz <jheitz@lucent.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
		 <200106212239.RAA16632@agevole.cig.mot.com>
		 <3B336E85.C092435C@stewart.chicago.il.us> <3B340ABB.8D2445F0@lucent.com> <3B375047.3DBB77EB@stewart.chicago.il.us> <3B375666.10A96A2@lucent.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

Jacob:

The V-Tag provides a number of nice things. One most notable
in my mind is the protection against blind attacks. Now if
you weaken this you open yourself more and more to blind
attack.

I can much more ask the same question of the CRC. Why not
put the TCP checksum in, and put the upper 16 bits of
the current field has flags. Then you get:

A) Current EXACT protection that TCP offers by default.
B) Ability to have all the flags you want to turn on
   - trailing checksums
   - checksum chunks
   - alternate checksums
   

Make the upper bit of the flags turn on a 31-bit CRC :)
or anything your heart desires.. but DO NOT mess with the
V-TAG. You are spreading the proposed problem that Jonathan
and Craig have put forward into other areas of the protocol.
Something I can NOT support...

Has I said.. I am almost now leaning into the why should
we change camp... I understand the mathmatical issue. And
I have no problem with just adopting CRC-32. But if we are
going to open up the whole protocol to change.. Forget it
I drop into the (1) camp.. real fast!

R

Jacob Heitz wrote:
> 
> How many bits do you REALLY need for the V-Tag and why ?
> Why is 32 the right number ? Why not maybe 33 ? or 64 ?
> or 24 ?
> 
> Randall Stewart wrote:
> >
> > Jacob:
> >
> > I STRONGLY object to any such thing. If we take this
> > approach we WEAKEN a KEY defense by removing one bit
> > of randomness from SCTP.
> >
> > This would be a CATASTROPHIC mistake in my mind..
> >
> > R
> >
> > Jacob Heitz wrote:
> > >
> > > The impasse remains. zzzzz.
> > >
> > > Another idea:
> > >
> > > Sacrifice the high bit of the Verification Tag.
> > > If it's 0, then Checksum is Adler32
> > > If it's 1, then Checksum is CRC32
> > >
> > > Simple. No extra chunk. No negotiation.
> > > 31 bits should be enough for the Verification Tag.
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 12:20: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 MAA19955
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:20:42 -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 MAA12919;
	Mon, 25 Jun 2001 12:01:20 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA12891
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:01:18 -0400 (EDT)
Received: from mg03.austin.ibm.com (mg03.austin.ibm.com [192.35.232.20])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA19420
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:00:39 -0400 (EDT)
Received: from austin.ibm.com (netmail1.austin.ibm.com [9.53.250.96])
	by mg03.austin.ibm.com (AIX4.3/8.9.3/8.9.3) with ESMTP id LAA90936;
	Mon, 25 Jun 2001 11:01:25 -0500
Received: from popmail.austin.ibm.com (popmail.austin.ibm.com [9.53.247.178])
	by austin.ibm.com (AIX4.3/8.9.3/8.9.3) with ESMTP id LAA29674;
	Mon, 25 Jun 2001 11:00:34 -0500
Received: from austin.ibm.com ([9.111.216.145]) by popmail.austin.ibm.com (AIX4.3/8.9.3/8.7-client1.01) with ESMTP id LAA28960; Mon, 25 Jun 2001 11:00:33 -0500
Message-ID: <3B375F7B.A4271D22@austin.ibm.com>
Date: Mon, 25 Jun 2001 10:57:47 -0500
From: Jon Grimm <jgrimm@austin.ibm.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.5 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Randall Stewart <randall@stewart.chicago.il.us>
CC: Chip Sharp <chsharp@cisco.com>, Qiaobing Xie <xieqb@cig.mot.com>,
        "La Monte H.P. Yarroll" <La_Monte_Yarroll-PIGGY1@email.mot.com>,
        tsvwg@ietf.org, sctp-developers-list@cig.mot.com
Subject: Re: [Tsvwg] Re: Must SCTP data chunks be in TSN order?
References: <200106202035.PAA10466@em.cig.mot.com> <4.3.2.7.2.20010622123200.00b62c40@dogwood.cisco.com> <3B33839E.9B1D7F07@stewart.chicago.il.us> <3B339369.C05CC628@austin.ibm.com> <3B3744B9.81041C70@stewart.chicago.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

Randy, 
	Hmmmm....   I was not actually discussing the scenario where someone
misorders their TSNs.  I agree with your conclusion for that scenario.  
Instead I was trying to work through what would happen if the sender was
ordering their TSNs, but the receiver was instead sending the Highest
(last) TSN in the packet with the ECNE.   
	
	Maybe this second scenario is a non-issue.   The sender (receiving the
ECNE chunk) will (likely) still be able to find the correct congested
path.  Additionally, in your Ref. implementation, you seem to save away
the last assigned TSN (lastCWR_TSN) at the time process the ECNE
request.  Upon receipt of the next ECNE chunk, you compare this
saved-away value with the Lowest_TSN field in the new ECNE as a general
indicator of a "new" congestion event.   This would seem to remain safe
from a receiver not sending the "lowest" TSN in the ECNE.  

	I was trying to extend your arguments to this second scenario that the
sender may end up getting penalized for the receiver's non-compliance to
"lowest" TSN in the ECNE.   

	Must the ECNE contain the Lowest TSN?  The worst that I could see
happening is that some implementations (though not likely) may see this
as a new congestion event.          
  
	Does "lowest" TSN matter in the ECNE or could it be any TSN?
 
Regards,
Jon Grimm
   

Randall Stewart wrote:
> 
> Jon:
> 
> This is my whole point.. I don't think you understood who
> I meant by recevier :-)
> 
> The guy that does NOT order his TSN's will suffer the
> penalty... so whats the problem with this... You DON'T
> follow the spec and you get penalized... You DO follow
> the spec and thinks work properly..
> 
> I think this is a GOOD thing :>
> 
> R
> 
> Jon Grimm wrote:
> >
> > This seems true for the case where the mis-reporting of the ECNE
> > LowestTSN by caused by out-of-order TSNs in a packet.  I believe La
> > Monte also mentioned:
> >
> > > For our implementation, we don't really care WHICH TSN we get in an
> > > incoming ECNE--we can identify the sending transport based on ANY TSN
> > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > > the packet (better yet would be the LAST TSN).  How immutable is this?
> >
> > If the LAST TSN where chosen for a sender that actually ordered its TSNs
> > per spec., it would seem that the sender could then be artificially
> > penalized.
> >
> > Regards,
> > Jon Grimm
> >
> > Randall Stewart wrote:
> > >
> > > The only penalty I can think of is that the receiver
> > > may think that two seperate packets marked may
> > > be seperate congestion events (rather doubtful but
> > > it could happen). If so, the sender (who did not
> > > order the chunks) is penalized... i.e. it ends
> > > up having to reduce its cwnd twice...
> > >
> > > R
> > >
> > > Chip Sharp wrote:
> > > >
> > > > A MUST requirement on the transmitter doesn't automatically imply a MUST
> > > > requirement on the receiver.
> > > >
> > > > There is no requirement in the spec for the receiver to report an ordering
> > > > violation.
> > > >
> > > > For ECN, what would be the implication of reporting a higher TSN in the ECNE?
> > > >
> > > > Chip
> > > >
> > > > At 05:58 PM 6/20/2001, Qiaobing Xie wrote:
> > > > >La Monte,
> > > > >
> > > > >See my comments below...
> > > > >
> > > > >"La Monte H.P. Yarroll" wrote:
> > > > > >
> > > > > > Are SCTP DATA chunks bundled in a single packet required to be in TSN
> > > > > > order?  I can't find a mention of the topic in RFC 2960.  I vaguely
> > > > > > recall a discussion suggesting that they ought to be in ascending TSN
> > > > > > order, but that it is not required.
> > > > > >
> > > > > > If they are NOT required to be in ascending TSN order, then we have
> > > > > > some bothersome extra code to write for ECN:
> > > > >
> > > > >So, you won't mind adding code to check whether TSNs are in ascending
> > > > >order in *every* received packet and adding yet more code to reporting
> > > > >any ordering violation?
> > > > >
> > > > >I think the code you would need to add to enforce the new rule would be
> > > > >many many times more than tracking the LOWEST TSN in your ECN
> > > > >subroutine.
> > > > >
> > > > >-Qiaobing
> > > > >
> > > > > >
> > > > > > Appendix A:
> > > > > >
> > > > > >    ECN-Echo:
> > > > > >
> > > > > >    RFC 2481 details a specific bit for a receiver to send back in its
> > > > > >    TCP acknowledgements to notify the sender of the Congestion
> > > > > >    Experienced (CE) bit having arrived from the network.  For SCTP this
> > > > > >    same indication is made by including the ECNE chunk.  This chunk
> > > > > >    contains one data element, i.e. the lowest TSN associated with the IP
> > > > > >    datagram marked with the CE bit, and looks as follows:
> > > > > >
> > > > > > In other words, we have to find the LOWEST TSN in the whole packet.
> > > > > >
> > > > > > For our implementation, we don't really care WHICH TSN we get in an
> > > > > > incoming ECNE--we can identify the sending transport based on ANY TSN
> > > > > > in the chunk.  What we'd LIKE to do is just report the FIRST TSN in
> > > > > > the packet (better yet would be the LAST TSN).  How immutable is this?
> > > > > >
> > > > > |                                                                             |
> > > > > >
> > > > > |                                                                             |

> --
> Randall R. Stewart
> randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 12:20: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 MAA19969
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:20: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 MAA13506;
	Mon, 25 Jun 2001 12:11:38 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA13475
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:11: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 MAA19666
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:10:56 -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.11.3/8.9.1) with ESMTP id f5PGBDN26991;
	Mon, 25 Jun 2001 09:11:13 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIT00273 (AUTH rrs);
	Mon, 25 Jun 2001 09:11:01 -0700 (PDT)
Message-ID: <3B376292.EB85A5D1@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 11:10:58 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: RJ Atkinson <rja@inet.org>
CC: Ivan.Arias-Rodriguez@nokia.com, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <5.1.0.14.2.20010625111851.00a251f0@10.30.15.2>
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

RJ Atkinson wrote:
> 
> At 11:01 25/06/01, Ivan.Arias-Rodriguez@nokia.com wrote:
> >        I understand your concerns. But, as far as I know, the
> >interoperability problems occur when something is optional.
> 
>         Not strictly speaking.  UDP checksums are an example of
> something that isn't supposed to be optional, yet is an
> interoperability nightmare in practice in a different transport-layer
> protocol
> 
> >This proposal is
> >not something optional, nor negotiable, it is just a different way of
> >processing the SCTP packet upon its reception...
> 
>         However the proposal will have the same interoperability
> issues around it that have occurred with other IETF protocols
> in the past.
> 
> >        I think we are stopped at some point of the discussion because
> >people prefer Adler-32 or CRC-32 (or something else). This would give you
> >the possibility of using one or the other. But in any case, I'm not going to
> >push anybody... actually after about two months of discussion I think that I
> >don't care that much which one is used... sick...
> 
>         I'm much more concerned that we pick precisely one checksum,
> with no new complexity, than which one we pick.
> 
>         That noted, and given the known reality of middleboxes that
> modify checksums in the middle of the network, I haven't seen the
> crisp justification for a change.  I'd really still like to see
> that.  But if we are going to change, pick one and keep the implementation
> approach quite simple.  I see your proposal as increasing complexity
> unduly.
> 
I agree 100% and I think even worse we are spreading the problem
into other areas of the protocol by weakening other elements ..i.e.
the 32 bit V-tag to try to solve a problem that can be done so
by just reaching a consensus.

I feel the ONLY strong consensus we had (note I use the
past tense here) was to make a decision
that picks only ONE c-sum and does not change ANY of the
current format. 

R


-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 12:24: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 MAA20035
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:24: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 MAA13280;
	Mon, 25 Jun 2001 12:08: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 MAA13251
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:08:51 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA19577
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:08:11 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id JAA27408;
	Mon, 25 Jun 2001 09:07:45 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 25 Jun 2001 16:08:24 UT
Received: from jheitz-dsl-77.ascend.com (jheitz-dsl-77.ascend.com [134.112.160.77])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id JAA26039;
	Mon, 25 Jun 2001 09:07:53 -0700 (PDT)
Received: from lucent.com (localhost [127.0.0.1])
	by jheitz-dsl-77.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id JAA27799;
	Mon, 25 Jun 2001 09:07:34 -0700 (PDT)
Message-ID: <3B3761C6.BBFFA1C0@lucent.com>
Date: Mon, 25 Jun 2001 09:07:34 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.5.1 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: Randall Stewart <randall@stewart.chicago.il.us>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
	 <200106212239.RAA16632@agevole.cig.mot.com>
	 <3B336E85.C092435C@stewart.chicago.il.us> <3B340ABB.8D2445F0@lucent.com>
	 <3B375047.3DBB77EB@stewart.chicago.il.us> <3B375666.10A96A2@lucent.com> <3B3760BD.36312656@stewart.chicago.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

So, how many bits do you need ?

Randall Stewart wrote:
> 
> Jacob:
> 
> The V-Tag provides a number of nice things. One most notable
> in my mind is the protection against blind attacks. Now if
> you weaken this you open yourself more and more to blind
> attack.
> 
> I can much more ask the same question of the CRC. Why not
> put the TCP checksum in, and put the upper 16 bits of
> the current field has flags. Then you get:
> 
> A) Current EXACT protection that TCP offers by default.
> B) Ability to have all the flags you want to turn on
>    - trailing checksums
>    - checksum chunks
>    - alternate checksums
> 
> 
> Make the upper bit of the flags turn on a 31-bit CRC :)
> or anything your heart desires.. but DO NOT mess with the
> V-TAG. You are spreading the proposed problem that Jonathan
> and Craig have put forward into other areas of the protocol.
> Something I can NOT support...
> 
> Has I said.. I am almost now leaning into the why should
> we change camp... I understand the mathmatical issue. And
> I have no problem with just adopting CRC-32. But if we are
> going to open up the whole protocol to change.. Forget it
> I drop into the (1) camp.. real fast!
> 
> R
> 
> Jacob Heitz wrote:
> >
> > How many bits do you REALLY need for the V-Tag and why ?
> > Why is 32 the right number ? Why not maybe 33 ? or 64 ?
> > or 24 ?
> >
> > Randall Stewart wrote:
> > >
> > > Jacob:
> > >
> > > I STRONGLY object to any such thing. If we take this
> > > approach we WEAKEN a KEY defense by removing one bit
> > > of randomness from SCTP.
> > >
> > > This would be a CATASTROPHIC mistake in my mind..
> > >
> > > R
> > >
> > > Jacob Heitz wrote:
> > > >
> > > > The impasse remains. zzzzz.
> > > >
> > > > Another idea:
> > > >
> > > > Sacrifice the high bit of the Verification Tag.
> > > > If it's 0, then Checksum is Adler32
> > > > If it's 1, then Checksum is CRC32
> > > >
> > > > Simple. No extra chunk. No negotiation.
> > > > 31 bits should be enough for the Verification Tag.

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


From tsvwg-admin@ietf.org  Mon Jun 25 12:26: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 MAA20082
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:26: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 MAA13349;
	Mon, 25 Jun 2001 12:09:30 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA13323
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:09:29 -0400 (EDT)
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA19586
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:08:47 -0400 (EDT)
From: Ivan.Arias-Rodriguez@nokia.com
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5PG8S900293
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 19:08:29 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T545d6527faac158f210ef@esvir01nok.ntc.nokia.com>;
 Mon, 25 Jun 2001 19:09:23 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1BJQJN>; Mon, 25 Jun 2001 19:09:25 +0300
Message-ID: <7238A5BA4C7C7F4DA40EC7525B364BA4047137@esebe002.NOE.Nokia.com>
To: L.Wood@eim.surrey.ac.uk, rja@inet.org
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 19:09:16 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id MAA13324
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 MAA13349
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id MAA20082

> Imagine supporting the choice of two checksums, with different
> computational cost. The middlebox will always prefer to advertise and
> rewrite packets to use the less computationally-expensive checksum, in
> order to boost its performance.

	Well, actually the case we are discussing wouldn't allow this...
Being part of the VT makes that a change would make the receiver to drop the
packet... If you are saying that the routers would discard first the most
computationally-expensive packets, then it is another issue...

	BR Iván Arias Rodríguez

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


From tsvwg-admin@ietf.org  Mon Jun 25 12:39: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 MAA20685
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:39: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 MAA13788;
	Mon, 25 Jun 2001 12:17:17 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA13760
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:17:15 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA19808
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:16:34 -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 f5PGGmh05012;
	Mon, 25 Jun 2001 09:16:48 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIT00453 (AUTH rrs);
	Mon, 25 Jun 2001 09:16:41 -0700 (PDT)
Message-ID: <3B3763E6.5EE144C@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 11:16:39 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Jacob Heitz <jheitz@lucent.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
		 <200106212239.RAA16632@agevole.cig.mot.com>
		 <3B336E85.C092435C@stewart.chicago.il.us> <3B340ABB.8D2445F0@lucent.com>
		 <3B375047.3DBB77EB@stewart.chicago.il.us> <3B375666.10A96A2@lucent.com> <3B3760BD.36312656@stewart.chicago.il.us> <3B3761C6.BBFFA1C0@lucent.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

Jacob:

I think this issue was answered way back... 32 bits... 
just have a look at RFC2960 :)

Please do NOT try to solve a problem with the CRC by
messing with the other fields...

The one and ONLY concensus that we used to have was
that the existing format and useages remain the same
EXCEPT the CRC field. I can NOT see messing with other
fields... this just spread the chaos around and makes
things worse NOT better.

If you want to sacrifise a bit do it from the CRC field
itself don't mess with the V-Tag or other fields !!

R


Jacob Heitz wrote:
> 
> So, how many bits do you need ?
> 
> Randall Stewart wrote:
> >
> > Jacob:
> >
> > The V-Tag provides a number of nice things. One most notable
> > in my mind is the protection against blind attacks. Now if
> > you weaken this you open yourself more and more to blind
> > attack.
> >
> > I can much more ask the same question of the CRC. Why not
> > put the TCP checksum in, and put the upper 16 bits of
> > the current field has flags. Then you get:
> >
> > A) Current EXACT protection that TCP offers by default.
> > B) Ability to have all the flags you want to turn on
> >    - trailing checksums
> >    - checksum chunks
> >    - alternate checksums
> >
> >
> > Make the upper bit of the flags turn on a 31-bit CRC :)
> > or anything your heart desires.. but DO NOT mess with the
> > V-TAG. You are spreading the proposed problem that Jonathan
> > and Craig have put forward into other areas of the protocol.
> > Something I can NOT support...
> >
> > Has I said.. I am almost now leaning into the why should
> > we change camp... I understand the mathmatical issue. And
> > I have no problem with just adopting CRC-32. But if we are
> > going to open up the whole protocol to change.. Forget it
> > I drop into the (1) camp.. real fast!
> >
> > R
> >
> > Jacob Heitz wrote:
> > >
> > > How many bits do you REALLY need for the V-Tag and why ?
> > > Why is 32 the right number ? Why not maybe 33 ? or 64 ?
> > > or 24 ?
> > >
> > > Randall Stewart wrote:
> > > >
> > > > Jacob:
> > > >
> > > > I STRONGLY object to any such thing. If we take this
> > > > approach we WEAKEN a KEY defense by removing one bit
> > > > of randomness from SCTP.
> > > >
> > > > This would be a CATASTROPHIC mistake in my mind..
> > > >
> > > > R
> > > >
> > > > Jacob Heitz wrote:
> > > > >
> > > > > The impasse remains. zzzzz.
> > > > >
> > > > > Another idea:
> > > > >
> > > > > Sacrifice the high bit of the Verification Tag.
> > > > > If it's 0, then Checksum is Adler32
> > > > > If it's 1, then Checksum is CRC32
> > > > >
> > > > > Simple. No extra chunk. No negotiation.
> > > > > 31 bits should be enough for the Verification Tag.

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 12:44: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 MAA20823
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:44: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 MAA14257;
	Mon, 25 Jun 2001 12:28: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 MAA14229
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:28:02 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA20120
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:27:22 -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 f5PGRah12779;
	Mon, 25 Jun 2001 09:27:36 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-71.cisco.com [171.68.181.200])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIT00792 (AUTH rrs);
	Mon, 25 Jun 2001 09:27:28 -0700 (PDT)
Message-ID: <3B37666D.58C6F378@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 11:27:26 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Ivan.Arias-Rodriguez@nokia.com
CC: L.Wood@eim.surrey.ac.uk, rja@inet.org, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <7238A5BA4C7C7F4DA40EC7525B364BA4047137@esebe002.NOE.Nokia.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

Ivan.Arias-Rodriguez@nokia.com wrote:
> 
> > Imagine supporting the choice of two checksums, with different
> > computational cost. The middlebox will always prefer to advertise and
> > rewrite packets to use the less computationally-expensive checksum, in
> > order to boost its performance.
> 
>         Well, actually the case we are discussing wouldn't allow this...
> Being part of the VT makes that a change would make the receiver to drop the
> packet... If you are saying that the routers would discard first the most
> computationally-expensive packets, then it is another issue...

If the middle box can re-write anything it wants.. why can it
not rewrite this bit in the tag area.. remember you are in
effect changing the meaning of the V-Tag. It is a 31 bit value
with your proposal (that I MUCH object to). And besides, the
middle box would also change the Initial-tag as well... remember
it would tweak with anything it wants!

R

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 12:53: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 MAA21098
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:53: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 MAA15121;
	Mon, 25 Jun 2001 12:42:26 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA15093
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:42:24 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA20753
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:41:46 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id JAA29127;
	Mon, 25 Jun 2001 09:40:11 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 25 Jun 2001 16:40:50 UT
Received: from jheitz-dsl-77.ascend.com (jheitz-dsl-77.ascend.com [134.112.160.77])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id JAA04869;
	Mon, 25 Jun 2001 09:40:18 -0700 (PDT)
Received: from lucent.com (localhost [127.0.0.1])
	by jheitz-dsl-77.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id JAA27823;
	Mon, 25 Jun 2001 09:39:59 -0700 (PDT)
Message-ID: <3B37695F.3421F605@lucent.com>
Date: Mon, 25 Jun 2001 09:39:59 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.5.1 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: Randall Stewart <randall@stewart.chicago.il.us>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
	 <200106212239.RAA16632@agevole.cig.mot.com>
	 <3B336E85.C092435C@stewart.chicago.il.us> <3B340ABB.8D2445F0@lucent.com>
	 <3B375047.3DBB77EB@stewart.chicago.il.us> <3B375666.10A96A2@lucent.com>
	 <3B3760BD.36312656@stewart.chicago.il.us> <3B3761C6.BBFFA1C0@lucent.com> <3B3763E6.5EE144C@stewart.chicago.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

I see nothing in RFC2960 that discusses the reason
for 32 bits.

Randall Stewart wrote:
> 
> Jacob:
> 
> I think this issue was answered way back... 32 bits...
> just have a look at RFC2960 :)
> 
> Please do NOT try to solve a problem with the CRC by
> messing with the other fields...
> 
> The one and ONLY concensus that we used to have was
> that the existing format and useages remain the same
> EXCEPT the CRC field. I can NOT see messing with other
> fields... this just spread the chaos around and makes
> things worse NOT better.
> 
> If you want to sacrifise a bit do it from the CRC field
> itself don't mess with the V-Tag or other fields !!
> 
> R
> 
> Jacob Heitz wrote:
> >
> > So, how many bits do you need ?
> >
> > Randall Stewart wrote:
> > >
> > > Jacob:
> > >
> > > The V-Tag provides a number of nice things. One most notable
> > > in my mind is the protection against blind attacks. Now if
> > > you weaken this you open yourself more and more to blind
> > > attack.
> > >
> > > I can much more ask the same question of the CRC. Why not
> > > put the TCP checksum in, and put the upper 16 bits of
> > > the current field has flags. Then you get:
> > >
> > > A) Current EXACT protection that TCP offers by default.
> > > B) Ability to have all the flags you want to turn on
> > >    - trailing checksums
> > >    - checksum chunks
> > >    - alternate checksums
> > >
> > >
> > > Make the upper bit of the flags turn on a 31-bit CRC :)
> > > or anything your heart desires.. but DO NOT mess with the
> > > V-TAG. You are spreading the proposed problem that Jonathan
> > > and Craig have put forward into other areas of the protocol.
> > > Something I can NOT support...
> > >
> > > Has I said.. I am almost now leaning into the why should
> > > we change camp... I understand the mathmatical issue. And
> > > I have no problem with just adopting CRC-32. But if we are
> > > going to open up the whole protocol to change.. Forget it
> > > I drop into the (1) camp.. real fast!
> > >
> > > R
> > >
> > > Jacob Heitz wrote:
> > > >
> > > > How many bits do you REALLY need for the V-Tag and why ?
> > > > Why is 32 the right number ? Why not maybe 33 ? or 64 ?
> > > > or 24 ?
> > > >
> > > > Randall Stewart wrote:
> > > > >
> > > > > Jacob:
> > > > >
> > > > > I STRONGLY object to any such thing. If we take this
> > > > > approach we WEAKEN a KEY defense by removing one bit
> > > > > of randomness from SCTP.
> > > > >
> > > > > This would be a CATASTROPHIC mistake in my mind..
> > > > >
> > > > > R
> > > > >
> > > > > Jacob Heitz wrote:
> > > > > >
> > > > > > The impasse remains. zzzzz.
> > > > > >
> > > > > > Another idea:
> > > > > >
> > > > > > Sacrifice the high bit of the Verification Tag.
> > > > > > If it's 0, then Checksum is Adler32
> > > > > > If it's 1, then Checksum is CRC32
> > > > > >
> > > > > > Simple. No extra chunk. No negotiation.
> > > > > > 31 bits should be enough for the Verification Tag.
> 
> --
> Randall R. Stewart
> randall@stewart.chicago.il.us 815-342-5222 (cell phone)

-- 
// Jacob Heitz Tel:510-747-2917 Ext:72917 Home:510-888-9429

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


From tsvwg-admin@ietf.org  Mon Jun 25 12:58:06 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 MAA21221
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:58:06 -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 MAA14880;
	Mon, 25 Jun 2001 12:36: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 MAA14850
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:36:37 -0400 (EDT)
Received: from prue.eim.surrey.ac.uk (IDENT:exim@prue.eim.surrey.ac.uk [131.227.76.5])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA20541
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:35:56 -0400 (EDT)
Received: from phaestos.ee.surrey.ac.uk ([131.227.88.14] ident=eep1lw)
	by prue.eim.surrey.ac.uk with esmtp (Exim 3.16 #1)
	id 15EYlh-0006PC-00; Mon, 25 Jun 2001 16:59:17 +0100
Date: Mon, 25 Jun 2001 16:59:15 +0100 (BST)
From: Lloyd Wood <l.wood@eim.surrey.ac.uk>
X-Sender: eep1lw@phaestos.ee.surrey.ac.uk
Reply-To: Lloyd Wood <L.Wood@eim.surrey.ac.uk>
To: RJ Atkinson <rja@inet.org>
cc: Ivan.Arias-Rodriguez@nokia.com, tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
In-Reply-To: <5.1.0.14.2.20010625111851.00a251f0@10.30.15.2>
Message-ID: <Pine.GSO.4.21.0106251654360.16337-100000@phaestos.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 *15EYlh-0006PC-00*GH2ebWhxiI2* 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, 25 Jun 2001, RJ Atkinson wrote:

>         That noted, and given the known reality of middleboxes that
> modify checksums in the middle of the network, I haven't seen the
> crisp justification for a change. 

Imagine supporting the choice of two checksums, with different
computational cost. The middlebox will always prefer to advertise and
rewrite packets to use the less computationally-expensive checksum, in
order to boost its performance.

Another good argument for a single checksum, I think. There are no
good arguments for multiple optional checksums at the same layer...

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  Mon Jun 25 13:34: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 NAA22015
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 13:33: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 MAA15769;
	Mon, 25 Jun 2001 12:57:41 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA15739
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 12:57:39 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h012.c007.snv.cp.net [209.228.33.219])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA21201
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 12:57:01 -0400 (EDT)
Received: (cpmta 17683 invoked from network); 25 Jun 2001 09:57:08 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.219) with SMTP; 25 Jun 2001 09:57:08 -0700
X-Sent: 25 Jun 2001 16:57:08 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Lloyd Wood" <L.Wood@eim.surrey.ac.uk>, "RJ Atkinson" <rja@inet.org>
Cc: <Ivan.Arias-Rodriguez@nokia.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 09:55:01 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJMECLCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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.0106251654360.16337-100000@phaestos.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

R & All,

I would be happy with just CRC-32 in the checksum field (where ever it is
placed).

Doug

> On Mon, 25 Jun 2001, RJ Atkinson wrote:
>
> >         That noted, and given the known reality of middleboxes that
> > modify checksums in the middle of the network, I haven't seen the
> > crisp justification for a change.
>
> Imagine supporting the choice of two checksums, with different
> computational cost. The middlebox will always prefer to advertise and
> rewrite packets to use the less computationally-expensive checksum, in
> order to boost its performance.
>
> Another good argument for a single checksum, I think. There are no
> good arguments for multiple optional checksums at the same layer...
>
> 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
>


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


From tsvwg-admin@ietf.org  Mon Jun 25 13:47: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 NAA22369
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 13:47: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 NAA17598;
	Mon, 25 Jun 2001 13: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 NAA17568
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 13:36:41 -0400 (EDT)
Received: from prue.eim.surrey.ac.uk (IDENT:exim@prue.eim.surrey.ac.uk [131.227.76.5])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA22079
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 13:36:02 -0400 (EDT)
Received: from phaestos.ee.surrey.ac.uk ([131.227.88.14] ident=eep1lw)
	by prue.eim.surrey.ac.uk with esmtp (Exim 3.16 #1)
	id 15EZNd-00077m-00; Mon, 25 Jun 2001 17:38:29 +0100
Date: Mon, 25 Jun 2001 17:38:26 +0100 (BST)
From: Lloyd Wood <l.wood@eim.surrey.ac.uk>
X-Sender: eep1lw@phaestos.ee.surrey.ac.uk
Reply-To: Lloyd Wood <L.Wood@eim.surrey.ac.uk>
To: Ivan.Arias-Rodriguez@nokia.com
cc: rja@inet.org, tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
In-Reply-To: <7238A5BA4C7C7F4DA40EC7525B364BA4047137@esebe002.NOE.Nokia.com>
Message-ID: <Pine.GSO.4.21.0106251720170.16337-100000@phaestos.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 *15EZNd-00077m-00*tTfD958dt2c* 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, 25 Jun 2001 Ivan.Arias-Rodriguez@nokia.com wrote:

> > Imagine supporting the choice of two checksums, with different
> > computational cost. The middlebox will always prefer to advertise and
> > rewrite packets to use the less computationally-expensive checksum, in
> > order to boost its performance.
> 
> 	Well, actually the case we are discussing wouldn't allow this...
> Being part of the VT makes that a change would make the receiver to drop the
> packet... If you are saying that the routers would discard first the most
> computationally-expensive packets, then it is another issue...

Using a bit taken from the VT field != being part of the VT.

You want to overload a bit of the verification tag and provide an
explicit association between verification tag no (high bit - range;
low bit: even/odd) and checksum type? And completely rewrite the way
the verification tag must be assigned as a result?

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  Mon Jun 25 13:47: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 NAA22400
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 13:47: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 NAA17426;
	Mon, 25 Jun 2001 13:32: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 NAA17352
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 13:32:48 -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 NAA21985
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 13:32:09 -0400 (EDT)
Received: from Unknown/Local ([?.?.?.?]) by shared1-mail.whowhere.com; Mon Jun 25 10:32:03 2001
To: "Randall Stewart" <randall@stewart.chicago.il.us>,
        "Jacob Heitz" <jheitz@lucent.com>
Date: Mon, 25 Jun 2001 10:32:03 -0700
From: "Lyndon Ong" <lyndon_ong@eudoramail.com>
Message-ID: <NIOEMEFDFGJIBCAA@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
Subject: Re: [Tsvwg] sctp error check
X-Sender-Ip: 63.96.78.21
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

Folks,

I think we're kind of barking up the wrong tree in this
discussion, changing the VTag from 32 bits to 31 is a
method for negotiating between different error checks
and we have been trying to avoid this.  Having two 
required error checks is complexity that many folks on
the list have been objecting to.

Can we refocus back to the Adler/CRC discussion?

Cheers,

Lyndon 
--

On Mon, 25 Jun 2001 09:39:59   Jacob Heitz wrote:
>I see nothing in RFC2960 that discusses the reason
>for 32 bits.
>
>Randall Stewart wrote:
>> 
>> Jacob:
>> 
>> I think this issue was answered way back... 32 bits...
>> just have a look at RFC2960 :)
>> 
>> Please do NOT try to solve a problem with the CRC by
>> messing with the other fields...
>> 
>> The one and ONLY concensus that we used to have was
>> that the existing format and useages remain the same
>> EXCEPT the CRC field. I can NOT see messing with other
>> fields... this just spread the chaos around and makes
>> things worse NOT better.
>> 
>> If you want to sacrifise a bit do it from the CRC field
>> itself don't mess with the V-Tag or other fields !!
>> 
>> R
>> 
>> Jacob Heitz wrote:
>> >
>> > So, how many bits do you need ?
>> >
>> > Randall Stewart wrote:
>> > >
>> > > Jacob:
>> > >
>> > > The V-Tag provides a number of nice things. One most notable
>> > > in my mind is the protection against blind attacks. Now if
>> > > you weaken this you open yourself more and more to blind
>> > > attack.
>> > >
>> > > I can much more ask the same question of the CRC. Why not
>> > > put the TCP checksum in, and put the upper 16 bits of
>> > > the current field has flags. Then you get:
>> > >
>> > > A) Current EXACT protection that TCP offers by default.
>> > > B) Ability to have all the flags you want to turn on
>> > >    - trailing checksums
>> > >    - checksum chunks
>> > >    - alternate checksums
>> > >
>> > >
>> > > Make the upper bit of the flags turn on a 31-bit CRC :)
>> > > or anything your heart desires.. but DO NOT mess with the
>> > > V-TAG. You are spreading the proposed problem that Jonathan
>> > > and Craig have put forward into other areas of the protocol.
>> > > Something I can NOT support...
>> > >
>> > > Has I said.. I am almost now leaning into the why should
>> > > we change camp... I understand the mathmatical issue. And
>> > > I have no problem with just adopting CRC-32. But if we are
>> > > going to open up the whole protocol to change.. Forget it
>> > > I drop into the (1) camp.. real fast!
>> > >
>> > > R
>> > >
>> > > Jacob Heitz wrote:
>> > > >
>> > > > How many bits do you REALLY need for the V-Tag and why ?
>> > > > Why is 32 the right number ? Why not maybe 33 ? or 64 ?
>> > > > or 24 ?
>> > > >
>> > > > Randall Stewart wrote:
>> > > > >
>> > > > > Jacob:
>> > > > >
>> > > > > I STRONGLY object to any such thing. If we take this
>> > > > > approach we WEAKEN a KEY defense by removing one bit
>> > > > > of randomness from SCTP.
>> > > > >
>> > > > > This would be a CATASTROPHIC mistake in my mind..
>> > > > >
>> > > > > R
>> > > > >
>> > > > > Jacob Heitz wrote:
>> > > > > >
>> > > > > > The impasse remains. zzzzz.
>> > > > > >
>> > > > > > Another idea:
>> > > > > >
>> > > > > > Sacrifice the high bit of the Verification Tag.
>> > > > > > If it's 0, then Checksum is Adler32
>> > > > > > If it's 1, then Checksum is CRC32
>> > > > > >
>> > > > > > Simple. No extra chunk. No negotiation.
>> > > > > > 31 bits should be enough for the Verification Tag.
>> 
>> --
>> Randall R. Stewart
>> randall@stewart.chicago.il.us 815-342-5222 (cell phone)
>
>-- 
>// Jacob Heitz Tel:510-747-2917 Ext:72917 Home:510-888-9429
>
>_______________________________________________
>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  Mon Jun 25 13:49: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 NAA22422
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 13:49: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 NAA17003;
	Mon, 25 Jun 2001 13:28: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 NAA16974
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 13:28:34 -0400 (EDT)
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA21816
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 13:27:54 -0400 (EDT)
Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate.mot.com (motgate 2.1) with ESMTP id KAA01219 for <tsvwg@ietf.org>; Mon, 25 Jun 2001 10:28:32 -0700 (MST)]
Received: [from relay1.cig.mot.com (relay1.cig.mot.com [136.182.15.23]) by mothost.mot.com (MOT-mothost 2.0) with ESMTP id KAA08116 for <tsvwg@ietf.org>; Mon, 25 Jun 2001 10:28:32 -0700 (MST)]
Received: from agevole.cig.mot.com (agevole [136.182.3.251]) by relay1.cig.mot.com (8.8.8+Sun/SCERG-RELAY-1.11b) with ESMTP id MAA14551; Mon, 25 Jun 2001 12:28:31 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id MAA09274; Mon, 25 Jun 2001 12:28:31 -0500 (CDT)
Message-Id: <200106251728.MAA09274@agevole.cig.mot.com>
Date: Mon, 25 Jun 2001 12:37:07 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jacob Heitz <jheitz@lucent.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <KFPGMOOINHNFACAA@shared1-mail.whowhere.com>
			 <200106212239.RAA16632@agevole.cig.mot.com> <3B336E85.C092435C@stewart.chicago.il.us> <3B340ABB.8D2445F0@lucent.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

Jacob Heitz wrote:
> 
> The impasse remains. zzzzz.
> 
> Another idea:
> 
> Sacrifice the high bit of the Verification Tag.
> If it's 0, then Checksum is Adler32
> If it's 1, then Checksum is CRC32
> 
> Simple. No extra chunk. No negotiation.
> 31 bits should be enough for the Verification Tag.

The problem for this is, you still need to implement both. Otherwise,
you end up either completely unprotected or not interoperable with ~half
of the world.

I think the problem is not "how to support multiple checks". 

-Qiaobing

> 
> _______________________________________________
> 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 Jun 25 14:05: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 OAA22893
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 14:05: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 NAA18150;
	Mon, 25 Jun 2001 13:51: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 NAA18121
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 13:51:40 -0400 (EDT)
Received: from chuckie.dgms.com (chuckie.dgms.com [38.150.156.4])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA22508
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 13:51:01 -0400 (EDT)
Received: from ulticom.com (pc-lehmann.dgms.com [172.25.5.104])
	by chuckie.dgms.com (8.9.3/8.9.3) with ESMTP id NAA04081
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 13:51:36 -0400 (EDT)
Message-ID: <3B377A27.C14B58B1@ulticom.com>
Date: Mon, 25 Jun 2001 13:51:35 -0400
From: David Lehmann <lehmann@ulticom.com>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <5.1.0.14.2.20010625111851.00a251f0@10.30.15.2> <3B376292.EB85A5D1@stewart.chicago.il.us>
Content-Type: multipart/mixed;
 boundary="------------8CCAFCDC589F288288BDB821"
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.
--------------8CCAFCDC589F288288BDB821
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



Randall Stewart wrote:
> I feel the ONLY strong consensus we had (note I use the
> past tense here) was to make a decision
> that picks only ONE c-sum and does not change ANY of the
> current format.

Hear, hear.

-David
--------------8CCAFCDC589F288288BDB821
Content-Type: text/x-vcard; charset=us-ascii;
 name="lehmann.vcf"
Content-Description: Card for David Lehmann
Content-Disposition: attachment;
 filename="lehmann.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Lehmann;David
tel;work:856-787-2729
x-mozilla-html:FALSE
url:www.ulticom.com
org:<IMG SRC="http://www.ulticom.com/images/ulticom_logoNS.gif">;Software Engineering
adr:;;1020 Briggs Road;Mt. Laurel;NJ;08054;USA
version:2.1
email;internet:lehmann@ulticom.com
title:AOL/Yahoo IM: davidULCM
fn:David Lehmann
end:vcard

--------------8CCAFCDC589F288288BDB821--


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


From tsvwg-admin@ietf.org  Mon Jun 25 14:05: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 OAA22937
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 14:05: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 NAA18038;
	Mon, 25 Jun 2001 13:48: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 NAA18009
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 13:48:16 -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 NAA22393
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 13:47:36 -0400 (EDT)
Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id KAA03867; Mon, 25 Jun 2001 10:48:14 -0700 (MST)]
Received: [from relay1.cig.mot.com (relay1.cig.mot.com [136.182.15.23]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id KAA07598; Mon, 25 Jun 2001 10:48:14 -0700 (MST)]
Received: from agevole.cig.mot.com (agevole [136.182.3.251]) by relay1.cig.mot.com (8.8.8+Sun/SCERG-RELAY-1.11b) with ESMTP id MAA16378; Mon, 25 Jun 2001 12:48:10 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id MAA09720; Mon, 25 Jun 2001 12:48:10 -0500 (CDT)
Message-Id: <200106251748.MAA09720@agevole.cig.mot.com>
Date: Mon, 25 Jun 2001 12:56:47 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Ivan.Arias-Rodriguez@nokia.com
CC: dotis@sanlight.net, jheitz@lucent.com, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <7238A5BA4C7C7F4DA40EC7525B364BA4047130@esebe002.NOE.Nokia.com>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by ftpbox.mot.com id KAA03867
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id NAA18010
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 NAA18038
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id OAA22937

Ivan.Arias-Rodriguez@nokia.com wrote:
....
>         We could even use more than one bit, so more checksums can be
> chosen, for example two bits and so we could include Adler-32, modified
> Adler-32, TCP-32 and CRC-32... Hopefully this will make happy to people like
> me wanting to use CRC, and people who wish no change or using modified
> Adler-32, TCP checksum or whatever... But I don't want to divide votes even
> more, this is being a long discussion and I have a Master Thesis to do! ;-)

I think I have to say this once again :)

**The problem is NOT HOW TO support multiple checksums** 

If this were the focus of discussion, we would have finished this whole
thread a long time ago.

I think we already have had a clear consensus against multiple checksums
and have been focusing on the issue of picking which one for a while
(see Lyndon's email on 6/6).

-Qiaobing

> 
>         BR Iván Arias Rodríguez
> 
> _______________________________________________
> 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 Jun 25 14:12: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 OAA23037
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 14:12: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 OAA18706;
	Mon, 25 Jun 2001 14:01: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 OAA18674
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 14:01:22 -0400 (EDT)
Received: from motgate2.mot.com (motgate2.mot.com [136.182.1.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA22759
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 14:00:43 -0400 (EDT)
Received: [from pobox2.mot.com (pobox2.mot.com [136.182.15.8]) by motgate2.mot.com (motgate2 2.1) with ESMTP id LAA13839; Mon, 25 Jun 2001 11:01:21 -0700 (MST)]
Received: [from relay2.cig.mot.com (relay2.cig.mot.com [136.182.15.24]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id LAA00039; Mon, 25 Jun 2001 11:01:19 -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 NAA25137; Mon, 25 Jun 2001 13:01:16 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id NAA09849; Mon, 25 Jun 2001 13:01:15 -0500 (CDT)
Message-Id: <200106251801.NAA09849@agevole.cig.mot.com>
Date: Mon, 25 Jun 2001 13:09:51 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jacob Heitz <jheitz@lucent.com>
CC: Douglas Otis <dotis@sanlight.net>, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctp error check
References: <NEBBJGDMMLHHCIKHGBEJOECFCJAA.dotis@sanlight.net> <3B364A68.56A93994@lucent.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

Jacob Heitz wrote:
> 
> The reason I was hoping nobody would suggest more bits
> was simply that it would drag the discussion on and
> I see no need for more bits. I really have no other
> objection to using two bits.
> 
> What I see as the impasse is that there are those that
> walk in the lands of Randall's cliffs and others that
> walk the city streets where the largest cliff is a kerb
> and do not want to carry the parachute.
> 
> These two peoples will never agree. If one or two bits
> in the VT will settle it, then that's great.
> 

Jacob,

As a matter of fact, I don't even see this as an impasse. 

Rather, this is just a common case of "no enough consensus and/or
justification to change a status quo." Until that consensus or
justification of change can be formed (in 2 months, or 2 decades)
nothing is broken and nothing will need to be fixed.

-Qiaobing

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


From tsvwg-admin@ietf.org  Mon Jun 25 14:35: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 OAA23520
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 14:35: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 OAA19635;
	Mon, 25 Jun 2001 14:22: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 OAA19603
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 14:22:43 -0400 (EDT)
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA23258
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 14:22:04 -0400 (EDT)
From: Ivan.Arias-Rodriguez@nokia.com
Received: from esvir02nok.nokia.com (esvir02nokt.ntc.nokia.com [172.21.143.34])
	by mgw-x2.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5PIMu328015
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 21:22:56 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir02nok.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T545dde871aac158f22077@esvir02nok.nokia.com>;
 Mon, 25 Jun 2001 21:21:57 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1BJRD5>; Mon, 25 Jun 2001 21:21:57 +0300
Message-ID: <7238A5BA4C7C7F4DA40EC7525B364BA4047139@esebe002.NOE.Nokia.com>
To: randall@stewart.chicago.il.us, xieqb@cig.mot.com, jheitz@lucent.com
Cc: L.Wood@eim.surrey.ac.uk, rja@inet.org, tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 21:21:49 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id OAA19605
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 OAA19635
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id OAA23520

randall@stewart.chicago.il.us wrote:
> 
> > > Imagine supporting the choice of two checksums, with different
> > > computational cost. The middlebox will always prefer to 
> advertise and
> > > rewrite packets to use the less computationally-expensive 
> checksum, in
> > > order to boost its performance.
> > 
> >         Well, actually the case we are discussing wouldn't 
> allow this...
> > Being part of the VT makes that a change would make the 
> receiver to drop the
> > packet... If you are saying that the routers would discard 
> first the most
> > computationally-expensive packets, then it is another issue...
> 
> If the middle box can re-write anything it wants.. why can it
> not rewrite this bit in the tag area.. remember you are in
> effect changing the meaning of the V-Tag. It is a 31 bit value
> with your proposal (that I MUCH object to). And besides, the
> middle box would also change the Initial-tag as well... remember
> it would tweak with anything it wants!

	Well... in that case you would receive an INIT ACK with the wrong
tag and then you would discard it... I was meaning overloading the use of
one bit of the VT but still counting the 32 bits as part of the VT... so if
you modify it to be able to modify the checksum, the VT would be
different...

xieqb@cig.mot.com wrote:
> 
> > Sacrifice the high bit of the Verification Tag.
> > If it's 0, then Checksum is Adler32
> > If it's 1, then Checksum is CRC32
> > 
> > Simple. No extra chunk. No negotiation.
> > 31 bits should be enough for the Verification Tag.
> 
> The problem for this is, you still need to implement both. Otherwise,
> you end up either completely unprotected or not interoperable 
> with ~half
> of the world.

	Unless you specify it from the beginning... Then of course you will
have to implement both of them (which would mean just some more lines added
to your program...). On the other hand, it means that people expecting to
put CRC on hardware will also need to provide Adler-32 (in software?) as
well... You could always choose the checksum you use but not the one you
receive, so you should only expect that you are going to use your
"preferred" algorithm only in the ones you send... :-/

	But anyway, I think that it is quite clear that people didn't like
it, so... :´-(

	BR Iván Arias Rodríguez

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


From tsvwg-admin@ietf.org  Mon Jun 25 14:55: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 OAA24073
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 14:55: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 OAA20520;
	Mon, 25 Jun 2001 14:43: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 OAA20489
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 14:43:42 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA23747
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 14:43:02 -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 MAA04400;
	Mon, 25 Jun 2001 12:43:39 -0600 (MDT)
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 LAA22593;
	Mon, 25 Jun 2001 11:43:39 -0700 (PDT)
Message-Id: <200106251843.LAA22593@heliopolis.eng.sun.com>
Date: Mon, 25 Jun 2001 11:43:39 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@sun.com>
Reply-To: Jonathan Wood <Jonathan.Wood@sun.com>
Subject: Re: [Tsvwg] Use of association IDs on UDP-style SCTP sockets  (draft-ietf-tsvw g-sctpsocket-00.txt)
To: piggy@baqaqi.chi.il.us, randall@stewart.chicago.il.us
Cc: MB@dataconnection.com, tsvwg@ietf.org, Jonathan.Wood@sun.com
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: +gE2e3fLG5jlFIHkMP+2yA==
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

>> This is a very good idea.  Jonathan, do you want me to compose text or
>> do you want to?
>> 
>
>
>I think Jonathan already checked his earlier changes back into the cvs
>tree ... so
>why don't you make the changes...

I concur with Randy :)

>> >
>> > It seems clear to me that we need a new socket option to allow applications
>> > to turn on/off acceptance of incoming associations on UDP sockets.  We
>> > cannot use the suggested method of overloading the SCTP_RECVASSOCEVNT 
socket
>> > option.
>> 
>> This makes sense to me.  Randy, what do you think?  I remember that we
>> had quite a lengthy discussion of controling incoming associations...
>> 
>
>If I remember right, we did the combined GET EVENTS/GET ASSOC's
>automatically
>has a convience. It seems right to me to have a:
>
>SCTP_RECVASSOCEVNT
>and a
>SCTP_INBOUNDASSOC
>
>option...
>

Just one small point: SCTP_INBOUNDASSOC sounds an awful
lot like listen()...


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


From tsvwg-admin@ietf.org  Mon Jun 25 16:49: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 QAA26656
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 16:49: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 QAA24285;
	Mon, 25 Jun 2001 16:27: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 QAA24256
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 16:27:35 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA26169
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 16:26:54 -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.11.3/8.9.1) with ESMTP id f5PKRAx27775;
	Mon, 25 Jun 2001 13:27:10 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-6-83.cisco.com [10.21.58.84])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIU04908 (AUTH rrs);
	Mon, 25 Jun 2001 13:27:00 -0700 (PDT)
Message-ID: <3B379E92.38226957@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 15:26:58 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
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: piggy@baqaqi.chi.il.us, MB@dataconnection.com, tsvwg@ietf.org
Subject: Re: [Tsvwg] Use of association IDs on UDP-style SCTP sockets  
 (draft-ietf-tsvw g-sctpsocket-00.txt)
References: <200106251843.LAA22593@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 Wood wrote:

> 
> Just one small point: SCTP_INBOUNDASSOC sounds an awful
> lot like listen()...
> 

Oh, GAK... you are right... el.yucko...

Of course I did not want to have to turn it on to
begin with :) I would have prefered to always get
associations in no matter what... but of course that
was another hot debate we compromised our way out of :-0

Of course even if we have such an ugly thing, I still do
not have to do accept()'s which is something I object to
much more strongly.. and the main thing I want to
get away from..

Calling it a listen() I think would be confusing...since
when you do a listen() you normally think in terms
of needing to do some number of accept()'s in combination
with this...

If you added listen() to the udp model, it would not
have accepts in combination with it...  


I guess we could just call it listen().. I would not
object.... the more I think on it... but it may
be confusing to a programmer to do a listen and no
accepts...


Jonathan what do you think... will it not confuse
people to have something you did a listen on but
no accept()?



R



-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 17:17: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 RAA27374
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 17:17: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 RAA25931;
	Mon, 25 Jun 2001 17:05: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 RAA25900
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 17:05:01 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA27045
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 17:04:22 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id OAA07007;
	Mon, 25 Jun 2001 14:04:27 -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 OAA27245;
	Mon, 25 Jun 2001 14:01:32 -0700 (PDT)
Message-Id: <200106252101.OAA27245@heliopolis.eng.sun.com>
Date: Mon, 25 Jun 2001 14:01:32 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] Use of association IDs on UDP-style SCTP sockets   (draft-ietf-tsvw g-sctpsocket-00.txt)
To: randall@stewart.chicago.il.us
Cc: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: Akrs3wAi4waLmvsyOxic2g==
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

>Of course even if we have such an ugly thing, I still do
>not have to do accept()'s which is something I object to
>much more strongly.. and the main thing I want to
>get away from..

Right.

>Jonathan what do you think... will it not confuse
>people to have something you did a listen on but
>no accept()?
>

I think it's a bit more intuitive to call listen()...
If someone gets confused by this, then chances are
they don't understand the UDP-style sockets programming
model, and will soon encounter much greater trouble.

Also, if accept() returns something like EOPNOTSUPP on a
UDP-style socket, a confused programmer will quickly have
the path to greater trouble blocked off.

j


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


From tsvwg-admin@ietf.org  Mon Jun 25 17:33: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 RAA27660
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 17:33: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 RAA26042;
	Mon, 25 Jun 2001 17:08: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 RAA26013
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 17:08:13 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA27090
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 17:07:34 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id OAA05115
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 14:08:11 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id OAA15548
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 14:08:10 -0700 (PDT)
Date: Mon, 25 Jun 2001 14:07:52 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: RE: [Tsvwg] sctp error check
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <NEBBJGDMMLHHCIKHGBEJOECCCJAA.dotis@sanlight.net>
Message-ID: <Roam.SIMC.2.0.6.993503272.22500.kcpoon@eng.sun.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

> How many similar versions of SCTP should there be?  There is a trade-off
> between options and introducing a new protocol as well as similar
> considerations in the level of error checking employed.  Some applications
> would be fine with unchecked packets, others with one in so many million
> packets containing an undetected error, while others expect this undetected
> error rate to be a rare event in a life time.  The difference in algorithms
> and related processing to obtain the latter turns out to be small to allow
> SCTP to server a greater range of applications beyond the original PSTN.

There is UDP if an app does not require reliability.  There is TCP
if an app does not require some of the features of SCTP.  No one here
on the list ever mentioned that SCTP was only for sigtran...  I don't
know where you get that idea...

I think your idea has been rehashed many times.  It seems that we have
a fundamental disagreement on the undertanding of how protocold should
be designed.  Having options in a transport protocol causes a lot of
interoperability problems without many benefits.  This is my opinion.
It is apparant that you think the other way.  But I believe many people
on this list whom have actually implemented/maintained a transport
protocol think that your idea is not a good idea.  Well, this is my
opinion.

> To extend your logic, then no error checking should be placed within the
> transport and all error checks should be left to the application.  You would
> be outraged if the transport required your application to implement error
> checking acknowledgment and retries.  This outrage would be based on the
> increased resources required together with the commensurate reduction in
> performance due to greatly increased latency.  Added to this, the time to
> get this working in the market place will be extended by this error checking
> aspect of the transport moved into thousands of applications.  In a
> competitive market place, transports that provide the needed level of
> integrity will replace those that don't because there will not be a suitable
> solution that places error checking into the applications.  Greater
> performance and conformity will always be found with integrity provided by
> the transport.  No philosophy will change that.

I don't understand how you can extend my statement in my previous 
mail in the above way...  The above is definitely not how a transport
protocol should be designed.  There are only a certain set of features
a transport should provide to its user.  Having more does not do any good
except a lot of problems in the real world.  There can never be a complete
set of features that a transport can provide to its user.  It keeps on
evolving.  The best practise is to provide a minimum set so that most of
the requirements can be met.  If an app requires an extra feature, do it
itself.  It is perfectly fine.  Keeping adding features to a transport
will make sure that the transport will never take off as an experiemental
ground.  Is this what you really want?

As I have pointed out many many times and you still do not believe is
that if you call your app reliable and all it does is to rely on the
reliability of the transport, then you are just lying.  You don't need
to rehash your argument.  I think we are just going in circle...

> Here is an example of the integrity level being an option within the
> transport.  If you are arguing against an integrity level option, then
> should there be either no error checking or the higher level of error
> checking?  Are you saying that TCP or SCTP are not standards used for
> communication?  Are you saying there can be no level of error checking
> within the transport?  Are you saying that your application has been
> satisfied and you are being recalcitrant by arguing against standards?  I do
> not understand your statement.

I don't understand your logic about non and all.  There is always something
in the middle.  Your logic is always that algorithm X should be the ultimate
integrity checking method, regardless of any implementation or other
issues.  What I keep on saying is that there cannot be an ultimate checking
method.  And to have multiple methods will create an nightmare that no
one will want to get into.  TCP has been working fine for so many years.
And you are claiming that it does not provide any integrity at all.  I
don't think most people on this list agree with you on this.  And if we
can have a better integrity checking algorithm is SCTP, it is fine.  But
claiming that X must be needed to fit all requirements, it is just a
plain lie.  I think this is what you are trying to suggest to people.
And then you suggest that SCTP should have an option of different algorithm.
I believe what you are trying to creat is a lot of future problems when SCTP
is deployed.  

> It is fantastic to suggest that error checking in the application is not
> duplicating error checking already being done in the transport.  A great
> deal of the work done by the transport is related to ensuring data is
> retained at the source pending satisfactory reception based on completion of
> transport error checks.  There is a small difference in overall processing
> between mediocre and excellent error checking in the transport.  An
> excellent level will allow applications to not replicate the error checking
> done in the transport.  There can be no standard method of error checking
> within the application as the market place will demand this checking be done
> in the transport for performance and conformity.  In preventing either the
> transport integrity option or not employing the higher level of checking,
> there will need for yet another transport to satisfy the market place.

Is it hard to understand that different apps require different things?
Can you prove that all apps require only one method of integrity checking?
If you cannot prove that, please do not repeat the same argument again
and again.  Show us the proof and we can see if your proof is correct
or not.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Mon Jun 25 17:33: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 RAA27674
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 17:33: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 RAA26257;
	Mon, 25 Jun 2001 17:11: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 RAA26225
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 17:11:01 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA27196
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 17:10:22 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id OAA06762
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 14:11:02 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id OAA16245
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 14:11:01 -0700 (PDT)
Date: Mon, 25 Jun 2001 14:10:43 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] sctp error check
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <3B340ABB.8D2445F0@lucent.com>
Message-ID: <Roam.SIMC.2.0.6.993503443.18646.kcpoon@eng.sun.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

> Another idea:
> 
> Sacrifice the high bit of the Verification Tag.
> If it's 0, then Checksum is Adler32
> If it's 1, then Checksum is CRC32
> 
> Simple. No extra chunk. No negotiation.
> 31 bits should be enough for the Verification Tag.

Can people state their rationale behind having more than 1 checkings
in SCTP?  I really think that we should state the problem before
jumping in a solution.  I guess I am very slow, but I still don't see
the problem at all that leads us to decide that we should have more
than 1 algorithms.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Mon Jun 25 18:24: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 SAA28547
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 18:24: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 SAA28466;
	Mon, 25 Jun 2001 18:10: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 SAA28441
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 18:10:22 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA28252
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 18:09: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.11.3/8.9.1) with ESMTP id f5PM9vx11730;
	Mon, 25 Jun 2001 15:09:57 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-76.cisco.com [171.68.181.205])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIU08715 (AUTH rrs);
	Mon, 25 Jun 2001 15:09:44 -0700 (PDT)
Message-ID: <3B37B6A1.9BA46741@stewart.chicago.il.us>
Date: Mon, 25 Jun 2001 17:09:37 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
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: tsvwg@ietf.org
Subject: Re: [Tsvwg] Use of association IDs on UDP-style SCTP sockets   
 (draft-ietf-tsvw g-sctpsocket-00.txt)
References: <200106252101.OAA27245@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 Wood wrote:
> 
> >Of course even if we have such an ugly thing, I still do
> >not have to do accept()'s which is something I object to
> >much more strongly.. and the main thing I want to
> >get away from..
> 
> Right.
> 
> >Jonathan what do you think... will it not confuse
> >people to have something you did a listen on but
> >no accept()?
> >
> 
> I think it's a bit more intuitive to call listen()...
> If someone gets confused by this, then chances are
> they don't understand the UDP-style sockets programming
> model, and will soon encounter much greater trouble.
> 
> Also, if accept() returns something like EOPNOTSUPP on a
> UDP-style socket, a confused programmer will quickly have
> the path to greater trouble blocked off.
> 
> j
Ok,

good point... La Monte.. lets go ahead and not add it
has a sockopt but instead let us go with listen() for
the udp model.

And of course ye ole EOPNOTSUPP is a path unto greater understanding :)

R
-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Mon Jun 25 18:42: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 SAA28815
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 18:42: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 SAA29294;
	Mon, 25 Jun 2001 18:30: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 SAA29266
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 18:30:48 -0400 (EDT)
Received: from exchange1.nuera.com (igate.nuera.com [204.216.240.98])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA28628
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 18:30:08 -0400 (EDT)
Received: by exchange1.nuera.com with Internet Mail Service (5.5.2650.21)
	id <LA2LLDQ8>; Mon, 25 Jun 2001 15:14:03 -0700
Message-ID: <E79883AEA37FD411A58C00508BAC5F4BD72906@exchange1.nuera.com>
From: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
To: "'Kacheong Poon'" <kcpoon@eng.sun.com>, tsvwg@ietf.org
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 15:13:59 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0FDC4.22317DA0"
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_01C0FDC4.22317DA0
Content-Type: text/plain;
	charset="iso-8859-1"

Kacheong,

I thought the only (subjective) consensus we'd reached was that we will only
be having one baseline check algorithm. If so continuing then continuing
this discussion is just drawing focus away from deciding on Randy's straw
poll options! 

It's not like this is a new idea. The suggestions and rationales have
already been brought up on the list. Likewise, we are not trying to rewrite
the SCTP protocol we are trying to make a minimal impact change (or decide
if a change is necessary) to fix a weakness in the current checksum
algorithm for small packets. We need to focus on the three options put
forward by Randall.

Someone please correct me if you think I am out-of-order on this point. 

Robert.

-----Original Message-----
From:	Kacheong Poon [mailto:kcpoon@eng.sun.com]
Sent:	Monday, June 25, 2001 10:11 PM
To:	tsvwg@ietf.org
Subject:	Re: [Tsvwg] sctp error check

> Another idea:
> 
> Sacrifice the high bit of the Verification Tag.
> If it's 0, then Checksum is Adler32
> If it's 1, then Checksum is CRC32
> 
> Simple. No extra chunk. No negotiation.
> 31 bits should be enough for the Verification Tag.

Can people state their rationale behind having more than 1 checkings
in SCTP?  I really think that we should state the problem before
jumping in a solution.  I guess I am very slow, but I still don't see
the problem at all that leads us to decide that we should have more
than 1 algorithms.

							K. Poon.
							kcpoon@eng.sun.com



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

------_=_NextPart_001_01C0FDC4.22317DA0
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] sctp error check</TITLE>
</HEAD>
<BODY>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">I thought the only (subjective) =
consensus we'd reached was that we will only be having one baseline =
check algorithm. If so continuing then continuing this discussion is =
just drawing focus away from deciding on Randy's straw poll options! =
</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">It's not like this is a new idea. The =
suggestions and rationales have already been brought up on the list. =
Likewise, we are not trying to rewrite the SCTP protocol we are trying =
to make a minimal impact change (or decide if a change is necessary) to =
fix a weakness in the current checksum algorithm for small packets. We =
need to focus on the three options put forward by Randall.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Someone please correct me if you think =
I am out-of-order on this point. </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; Kacheong Poon =
[<A =
HREF=3D"mailto:kcpoon@eng.sun.com">mailto:kcpoon@eng.sun.com</A>]</FONT>=
</B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D2 FACE=3D"Arial">Monday, June 25, 2001 10:11 PM</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">tsvwg@ietf.org</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] sctp error check</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; Another idea:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Sacrifice the high bit of the =
Verification Tag.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; If it's 0, then Checksum is =
Adler32</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; If it's 1, then Checksum is =
CRC32</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Simple. No extra chunk. No =
negotiation.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; 31 bits should be enough for the =
Verification Tag.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Can people state their rationale =
behind having more than 1 checkings</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in SCTP?&nbsp; I really think that we =
should state the problem before</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">jumping in a solution.&nbsp; I guess =
I am very slow, but I still don't see</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the problem at all that leads us to =
decide that we should have more</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">than 1 algorithms.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">K. Poon.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">kcpoon@eng.sun.com</FONT>
</P>
<BR>
<BR>

<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_01C0FDC4.22317DA0--

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


From tsvwg-admin@ietf.org  Mon Jun 25 19:10: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 TAA29280
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 19:10: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 SAA29694;
	Mon, 25 Jun 2001 18:46:26 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA29666
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 18:46:24 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA28858
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 18:45:43 -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 QAA21543
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 16:46:20 -0600 (MDT)
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 PAA00413
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 15:46:17 -0700 (PDT)
Message-Id: <200106252246.PAA00413@heliopolis.eng.sun.com>
Date: Mon, 25 Jun 2001 15:46:17 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: RE: [Tsvwg] sctpsocket: Returning unsent messages
To: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: FzjtGLbstXvWDDbqszLxVg==
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

>
>I just want to make sure that this feature discussion is being argued
>independently of the graceful shutdown() discussion we were having last
>week. Retrieval of unsent messages is an SCTP extension to the Socket API
>where the former is trying to provide a similar behavior to the existing TCP
>Socket API behavior.
>

Robert,

Yes, it is independant of the graceful shutdown() discussion.
It is related, however, to the issue of non-graceful shutdowns.
If unsent retrieval was not necessary, I was going to make
the argument that close(linger = 0) would suffice for non-
graceful shutdowns.

However, it looks like it may be useful to retrieve unsent
messages after aborting an association, so we still need
a mechanism for this. I'll continue this conversation in
the shutdown() thread.

Jonathan


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


From tsvwg-admin@ietf.org  Mon Jun 25 19:19: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 TAA29475
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 19:19: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 SAA29912;
	Mon, 25 Jun 2001 18:55: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 SAA29845
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 18:55:20 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA28998
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 18:54:42 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id PAA28193;
	Mon, 25 Jun 2001 15:55:06 -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 PAA00578;
	Mon, 25 Jun 2001 15:55:05 -0700 (PDT)
Message-Id: <200106252255.PAA00578@heliopolis.eng.sun.com>
Date: Mon, 25 Jun 2001 15:55:05 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: tsvwg@ietf.org, SIGTRAN@STANDARDS.NORTELNETWORKS.COM
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: wls5kYd1b5Sx2K80zBI5Vg==
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

>
>With all that said, I think it is a fair statement to warn the user
>of the SCTP retrieval mechanism in the draft that some messages
>retrieved may have already been accepted by the peer app.  It also
>makes sense that, if retrieved messages are passed as ancillary data
>in recvmsg, that the retrieved data be marked with the assigned SSN
>(if any) and whether the DATA chunks was from your categories (1),
>(2) and (3) with an attribute in the ancillary data.  Retrieval

Brian,

I like this idea. Since I've just snipped lots of text,
I'll recap:

When an association closes (gracefully or non-gracefully),
and the caller has enabled SCTP_SEND_FAILED events, the contents
of the SCTP transmit queue will be returned to the caller. Section
5.3.1.4 defines the following flags for each returned message:

    SCTP_DATA_INQUEUE - When this flag is indicated the
                        data was never attempted to be
                        sent. I.e. it was never assigned
                        a TSN and sent onto the wire.

    SCTP_DATA_INTMIT  - When this flag is indicated the
                        data WAS assigned a TSN and sent
                        at least once but never acknowleged.

[ what does INTMIT stand for? ]

We should also add a third flag:

    SCTP_DATA_SACKED  - When this flag is indicated the
                        data WAS assigned a TSN and sent
                        at least once and was acknowleged
                        in a gap report, but the cumulative
                        TSN never passed it.

Sound OK?

Jonathan


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


From tsvwg-admin@ietf.org  Mon Jun 25 20:44:05 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 UAA00914
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 20:44:05 -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 UAA02607;
	Mon, 25 Jun 2001 20:15: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 UAA02578
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 20:15:40 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA00469
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 20:15:01 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id RAA20412
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 17:15:08 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <NFPQPNF9>; Mon, 25 Jun 2001 17:15:08 -0700
Message-ID: <FFD40DB4943CD411876500508BAD0279029935D1@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: TSV WG list <tsvwg@ietf.org>
Subject:  [Tsvwg] Another view of the SCTP error check problem
Date: Mon, 25 Jun 2001 17:15:07 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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

Let's run it backwards.  These numbers have not been
cross-checked, so I may be an order of magnitude off 
here and there, but the principle seems clear.

I have a goal of less than one undetected error per
million years.  There are pi * (10**7) seconds per year,
so I can tolerate one error per 3 * (10**13) seconds.
At 10 Gbits = 1.2 GBytes, that means that I can tolerate 
roughly one undetected error in 3.6 * (10**22) bytes.  

Now let us assume that we are running on hardware that
creates the nastiest case identified by Partridge and
Stone, which showed one undetected error on TCP/IP per
16 million packets.  Since undetected packets are passed
with a probability of approximately 1 in 2**16 
(or 1.5 * (10**-5)), that means that roughly one packet in
250 has an error.  The largest packet is likely to be 
an Ethernet packet of about 1500 bytes, which means that
roughly one significant error per 3.7 * (10**5) bytes
occurs, or 3,200 failures per second occur.

So that leaves the following questions:

1) How do we get from here (1 error / 3.7*(10**5) bytes)
   to where we want to be (1 error / 3.6 * (10**22) bytes)?

2) What good is a 32-bit check of any kind (which reduces
   the failure rate by roughly 1 / 2**32 or 2.3 * (10**-10))
   going to do?  That only gets us to one error in 
   1.6 * (10**15 bytes), some 7 orders of magnitude worse
   than we need to achieve.  I am pretty sure a CRC does not
   catch 100% of stuck faults unless they effect only
   a certain number of bits, preferably closely spaced.

3) If it takes 1 msec of latency in recovery every time an
   an error is detected, that means for every second of
   transfer, you will be spending 3.2 seconds in failure
   recovery, and I bet that 1 msec is a low number.  The
   problem with error recovery is that it is not dependent
   on link speed, but rather on round-trip link latency. How
   many people will want a 10 Gbit network that only runs
   2.4 Gbits?

Some of the answers are pretty obvious.  

1) Any product that you have some chance of selling in
   an enterprise environment will have an error rate through
   all hops some seven orders of magnitude better than an 
   ungroomed campus internet link.  

2) Checking will be required at lower levels to achieve that
   improvement, not so much to correct errors, but to isolate
   devices and links that need to be replaced because they
   are throwing too many errors.  That checking
   will be included both in the links and in the boxes.

3) Any application that really cares won't trust even those
   probabilities and will provide additional verification at the
   application level, principally to identify suspect
   links and systems that have failed to perform their checks
   correctly.

Once you have accepted the three answers above, why is
CRC any better than a TCP-like 32-bit sum?

p.s. 
   At 10 Gbits, CRCs are typically calculated 32 or 64 bits
   wide, which makes them a smidgeon more expensive than
   32 register spaces and a few XORs.  Of course, 32 or 64 bit
   adder/accumulators are not free either, but at least they
   handle padding a bit more cleanly. 


 

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


From tsvwg-admin@ietf.org  Mon Jun 25 20:59: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 UAA01126
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 20:59: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 UAA03649;
	Mon, 25 Jun 2001 20:37: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 UAA03620
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 20:37:44 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h011.c007.snv.cp.net [209.228.33.217])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA00831
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 20:37:05 -0400 (EDT)
Received: (cpmta 19409 invoked from network); 25 Jun 2001 17:37:12 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.217) with SMTP; 25 Jun 2001 17:37:12 -0700
X-Sent: 26 Jun 2001 00:37:12 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Kacheong Poon" <kcpoon@eng.sun.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] sctp error check
Date: Mon, 25 Jun 2001 17:35:04 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJGEDACJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <Roam.SIMC.2.0.6.993503272.22500.kcpoon@eng.sun.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

Kacheong,

> > How many similar versions of SCTP should there be?  There is a trade-off
> > between options and introducing a new protocol as well as similar
> > considerations in the level of error checking employed.  Some
> > applications would be fine with unchecked packets, others with one in so
> > many million packets containing an undetected error, while others expect
> > this undetected error rate to be a rare event in a life time.  The
> > difference in algorithms and related processing to obtain the latter
> > turns out to be small to allow SCTP to server a greater range of
> > applications beyond the original PSTN.
>
> There is UDP if an app does not require reliability.  There is TCP
> if an app does not require some of the features of SCTP.  No one here
> on the list ever mentioned that SCTP was only for sigtran...  I don't
> know where you get that idea...
>
> I think your idea has been rehashed many times.  It seems that we have
> a fundamental disagreement on the undertanding of how protocold should
> be designed.  Having options in a transport protocol causes a lot of
> interoperability problems without many benefits.  This is my opinion.
> It is apparant that you think the other way.  But I believe many people
> on this list whom have actually implemented/maintained a transport
> protocol think that your idea is not a good idea.  Well, this is my
> opinion.

We are not discussing protocol design but rather a level of integrity that
would meet a broad range of applications to avoid either the transport
options that cause consternation, or multiple transports and thwart
acceptance.  The ideal solution would be to adopt a suitable level of
integrity.  My suggestion of transport options was to appease those that may
object to a small increment in effort required to employ CRC.  In my view,
even if the data does not require this level of integrity, the transport
itself does or expect parsing errors.

> > To extend your logic, then no error checking should be placed within the
> > transport and all error checks should be left to the  application.  You
> > would be outraged if the transport required your application to
> > implement error checking acknowledgment and retries.  This outrage would
> > be based on the increased resources required together with the
> > commensurate reduction in performance due to greatly increased latency.
> > Added to this, the time to get this working in the market place will be
> > extended by this error checking aspect of the transport moved into
> > thousands of applications.  In a competitive market place, transports
> > that provide the needed level of integrity will replace those that don't
> > because there will not be a suitable solution that places error checking
> > into the applications.  Greater performance and conformity will always
be
> > found with integrity provided by the transport.  No philosophy will
> > change that.
>
> I don't understand how you can extend my statement in my previous
> mail in the above way...  The above is definitely not how a transport
> protocol should be designed.  There are only a certain set of features
> a transport should provide to its user.  Having more does not do any good
> except a lot of problems in the real world.  There can never be a complete
> set of features that a transport can provide to its user.  It keeps on
> evolving.  The best practise is to provide a minimum set so that most of
> the requirements can be met.  If an app requires an extra feature, do it
> itself.  It is perfectly fine.  Keeping adding features to a transport
> will make sure that the transport will never take off as an experiemental
> ground.  Is this what you really want?
>
> As I have pointed out many many times and you still do not believe is
> that if you call your app reliable and all it does is to rely on the
> reliability of the transport, then you are just lying.  You don't need
> to rehash your argument.  I think we are just going in circle...

We are not discussing a new feature but rather the level of integrity the
transport is able to obtain.  This level of integrity would be bestowed upon
applications that make use of the transport.  Unless you wish a significant
level of reengineering, applications depend on this level of integrity.
There have been defensive measures taken in some cases to detect those
errors not detected by TCP as when using FTP as example.  These measures are
not standardized and are sporadically applied.  Your only point is you do
not think that the transport should make the effort to ensure anything but a
mediocre level of integrity.  If the application did require better, then
expect everyone writing applications to get into the business of designing
transports to incorporate their own error check acknowledgments and retries.
Is that anyway to design a transport?  I say no.

> > Here is an example of the integrity level being an option within the
> > transport.  If you are arguing against an integrity level option, then
> > should there be either no error checking or the higher level of error
> > checking?  Are you saying that TCP or SCTP are not standards used for
> > communication?  Are you saying there can be no level of error checking
> > within the transport?  Are you saying that your application has been
> > satisfied and you are being recalcitrant by arguing against
> > standards?  I do not understand your statement.
>
> I don't understand your logic about non and all.  There is always
> something in the middle.  Your logic is always that algorithm X
> should be the ultimate integrity checking method, regardless of
> any implementation or other issues.  What I keep on saying is that
> there cannot be an ultimate checking method.  And to have multiple
> methods will create an nightmare that no one will want to get into.
> TCP has been working fine for so many years. And you are claiming
> that it does not provide any integrity at all.  I don't think most
> people on this list agree with you on this.  And if we can have a
> better integrity checking algorithm is SCTP, it is fine.  But
> claiming that X must be needed to fit all requirements, it is just a
> plain lie.  I think this is what you are trying to suggest to people.
> And then you suggest that SCTP should have an option of different
> algorithm. I believe what you are trying to creat is a lot of future
> problems when SCTP is deployed.

You are repeating your opinion that a low grade error check should be okay.
At the time TCP was created, the ability to do much better was limited.
Today's processors are capable of a higher level of sophistication and have
greatly outpaced memory.  I personally find corrupt files on a regular basis
using my home DSL.  In some respects, this is water under the bridge for
TCP.  As the data rates increase, the need to rely even more heavily on the
error checking will increase nor would I conclude that TCP is the gold
standard for error checking.  To suggest that an error is the fault of the
application and not lax checking is disingenuous with the difficulty imposed
by moving this responsibility into the application.  Only in the extreme
cases should this be required.

> > It is fantastic to suggest that error checking in the application is not
> > duplicating error checking already being done in the transport.  A great
> > deal of the work done by the transport is related to ensuring data is
> > retained at the source pending satisfactory reception based on
> > completion of transport error checks.  There is a small difference in
> > overall processing between mediocre and excellent error checking in the
> > transport.  An excellent level will allow applications to not replicate
> > the error checking done in the transport.  There can be no standard
> > method of error checking within the application as the market place will
> > demand this checking be done in the transport for performance and
> > conformity.  In preventing either the transport integrity option or not
> > employing the higher level of  checking, there will need for yet another
> > transport to satisfy the market place.
>
> Is it hard to understand that different apps require different things?

Is it hard to understand that it is not practical to set standards where the
application is made responsible for the integrity of transport?  If you
understand that point, it becomes important to then provide integrity within
the transport suitable  for these applications.  Thinking that the transport
can be lax in checking does not help in that much of the hardware is out of
the control of the client where errors may occur within ulterior equipment.

> Can you prove that all apps require only one method of integrity checking?

Those much better at this than I have concluded that a particular CRC-32
polynomial provides an adequate level of protection suitable for storage.
There are papers describing their reasoning on this subject if you are
interested.  At this level of integrity, you would be pressed to find
applications that require better.  I am sure you can think of rare
exceptions that may require additional checks.  Today, storage is fully
handled successfully in hardware so it can be done at a low CPU overhead.  I
am confident that hardware and software can be certified to provide a level
of assurance that would indeed allow the transport to bear this
responsibility.  It is done today for storage, so why should IP be
different?

> If you cannot prove that, please do not repeat the same argument again
> and again.  Show us the proof and we can see if your proof is correct
> or not.

I have demonstrated the weakness of simple summations.  Beyond technical
papers presented on this subject supporting CRC and test cases pointing to
weakness with alternatives, what more do you wish?  Can you prove that other
solutions are better?

Doug

> 							K. Poon.
> 							kcpoon@eng.sun.com


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


From tsvwg-admin@ietf.org  Mon Jun 25 21:07: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 VAA01286
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 21:07: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 UAA03948;
	Mon, 25 Jun 2001 20:45: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 UAA03920
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 20:45:54 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA00932
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 20:45:15 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id RAA02632
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 17:45:53 -0700 (PDT)
Received: from sloth (dsl199-239.Eng.Sun.COM [129.146.199.239])
	by heliopolis.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id RAA03469
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 17:45:52 -0700 (PDT)
Message-Id: <200106260045.RAA03469@heliopolis.eng.sun.com>
Date: Mon, 25 Jun 2001 17:45:52 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: 7t5pBp+FVCiBq+lLMPxiUg==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 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

> 
> So there are 3 choices to do this:
> 
> 1. Just have a socket level semantics for shutdown().  But it
> does not do anything in the SCTP level.
> 
> 2. In addition to 1, create a SCTP semantics for that.  The natural
> one is for shutdown(SHUT_WR) to initiate the close down sequence,
> SCTP will eventually send out the SHUTDOWN chunk.  But this is not
> compatible with the TCP semantics, which should be noted in the draft.
> This also precludes the use of any new flag in sendmsg() in the TCP
> style socket to do similar thing.
> 
> 3. In addition ot 1, use the same flag with sendmsg() as in UDP style 
> socket to do the close down sequence.
> 
> Note that close() remain to have the same meaning in all choices.
> 
> I think Brian voted for 2 already.  What do other people think?  Or
> is there other alternative?
> 

I think 2 is the way to go.

In addition, we need a way to abort an association and still
leave an open socket descriptor. shutdown() cannot be twisted
to fill this requirement, so I propose including a MSG_ABORT
flag in sendmsg(), just as UDP-style sockets do now.

Jonathan


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


From tsvwg-admin@ietf.org  Mon Jun 25 23:28: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 XAA05679
	for <tsvwg-archive@odin.ietf.org>; Mon, 25 Jun 2001 23:28: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 XAA08537;
	Mon, 25 Jun 2001 23:14:32 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id XAA08508
	for <tsvwg@ns.ietf.org>; Mon, 25 Jun 2001 23:14:30 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id XAA05483
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 23:13:48 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id UAB12119;
	Mon, 25 Jun 2001 20:14:25 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id UAA22869;
	Mon, 25 Jun 2001 20:14:24 -0700 (PDT)
Date: Mon, 25 Jun 2001 20:14:06 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: tsvwg@ietf.org
Cc: SIGTRAN@STANDARDS.NORTELNETWORKS.COM
In-Reply-To: "Your message with ID" <200106252255.PAA00578@heliopolis.eng.sun.com>
Message-ID: <Roam.SIMC.2.0.6.993525246.14944.kcpoon@eng.sun.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

> When an association closes (gracefully or non-gracefully),
> and the caller has enabled SCTP_SEND_FAILED events, the contents
> of the SCTP transmit queue will be returned to the caller. Section
> 5.3.1.4 defines the following flags for each returned message:
> 
>     SCTP_DATA_INQUEUE - When this flag is indicated the
>                         data was never attempted to be
>                         sent. I.e. it was never assigned
>                         a TSN and sent onto the wire.

Now looking at it, it seems that it is simpler to just say "the data
has never been sent."  "Attempted to be sent" can be confusing.  And
SCTP_DATA_INQUEUE may be confusing as data should be in the transmit 
queue whether it has been sent or not.  Maybe we should change it
to SCTP_DATA_UNSENT?

>     SCTP_DATA_INTMIT  - When this flag is indicated the
>                         data WAS assigned a TSN and sent
>                         at least once but never acknowleged.
> 
> [ what does INTMIT stand for? ]

We proabably want to avoid using TSN in the API draft because apps
do not need to care about TSN.  In section 7.3, TSN is also mentioned.
I think we should remove that.

> We should also add a third flag:
> 
>     SCTP_DATA_SACKED  - When this flag is indicated the
>                         data WAS assigned a TSN and sent
>                         at least once and was acknowleged
>                         in a gap report, but the cumulative
>                         TSN never passed it.

Maybe Brian or other people familiar with the sigtran protocols
can comment on this.  Do we really need to separate the sack'ed
but not cumulatively ack'ed case?  The reason I ask is that the
receiver is free to discard sack'ed but not cumulatively ack'ed
data chunks.  And I believe it is better not talk about TSN in
the API draft.  It seems to me that making this distinction is
not that useful.  I maybe wrong.  I suggest we should include them
both as SCTP_DATA_SENT?  This has a easier to understand semantics 
for app programmers without the need to understand SCTP fully.

							K. Poon.
							kcpoon@eng.sun.com




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


From tsvwg-admin@ietf.org  Tue Jun 26 01:14:08 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 BAA08516
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 01:14:08 -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 AAA11442;
	Tue, 26 Jun 2001 00:51: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 AAA11413
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 00:51:40 -0400 (EDT)
Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.121.12])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id AAA07620
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 00:50:58 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust181.tnt1.roswell.nm.da.uu.net [63.29.146.181])
	by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id VAA18342;
	Mon, 25 Jun 2001 21:51:33 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5Q4lps21422;
	Mon, 25 Jun 2001 23:47:51 -0500
Date: Mon, 25 Jun 2001 23:47:51 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010625234751.C4437@piglet>
Reply-To: bidulock@openss7.org
References: <200106260045.RAA03469@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200106260045.RAA03469@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Mon, Jun 25, 2001 at 05:45:52PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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,

What is the need for this?  I just can't think of why
an application would want to abort an association and
leave a the socket open...

--Brian

On Mon, 25 Jun 2001, Jonathan Wood wrote:
> 
> In addition, we need a way to abort an association and still
> leave an open socket descriptor. shutdown() cannot be twisted
> to fill this requirement, so I propose including a MSG_ABORT
> flag in sendmsg(), just as UDP-style sockets do now.
> 

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 26 01:17: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 BAA08828
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 01:17: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 BAA14296;
	Tue, 26 Jun 2001 01:06: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 BAA14247
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 01:06:47 -0400 (EDT)
Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA07929
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 01:06:04 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust247.tnt1.roswell.nm.da.uu.net [63.29.146.247])
	by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id WAA11871;
	Mon, 25 Jun 2001 22:06:34 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5Q53PF21905;
	Tue, 26 Jun 2001 00:03:25 -0500
Date: Tue, 26 Jun 2001 00:03:25 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org, SIGTRAN@STANDARDS.NORTELNETWORKS.COM
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
Message-ID: <20010626000325.D4437@piglet>
Reply-To: bidulock@openss7.org
References: <200106252255.PAA00578@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200106252255.PAA00578@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Mon, Jun 25, 2001 at 03:55:05PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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,

On Mon, 25 Jun 2001, Jonathan Wood wrote:

> >
> >With all that said, I think it is a fair statement to warn the user
> >of the SCTP retrieval mechanism in the draft that some messages
> >retrieved may have already been accepted by the peer app.  It also
> >makes sense that, if retrieved messages are passed as ancillary data
> >in recvmsg, that the retrieved data be marked with the assigned SSN
> >(if any) and whether the DATA chunks was from your categories (1),
> >(2) and (3) with an attribute in the ancillary data.  Retrieval
> 
> Brian,
> 
> I like this idea. Since I've just snipped lots of text,
> I'll recap:
> 
> When an association closes (gracefully or non-gracefully),
> and the caller has enabled SCTP_SEND_FAILED events, the contents
> of the SCTP transmit queue will be returned to the caller. Section
> 5.3.1.4 defines the following flags for each returned message:
> 
>     SCTP_DATA_INQUEUE - When this flag is indicated the
>                         data was never attempted to be
>                         sent. I.e. it was never assigned
>                         a TSN and sent onto the wire.
> 
>     SCTP_DATA_INTMIT  - When this flag is indicated the
>                         data WAS assigned a TSN and sent
>                         at least once but never acknowleged.
> 
> [ what does INTMIT stand for? ]
> 
> We should also add a third flag:
> 
>     SCTP_DATA_SACKED  - When this flag is indicated the
>                         data WAS assigned a TSN and sent
>                         at least once and was acknowleged
>                         in a gap report, but the cumulative
>                         TSN never passed it.
> 
> Sound OK?
> 
> Jonathan
> 

Well, that would indicate the three situations; however, I don't totally
agree with section 5.3.1.4 anyway.  There isn't much point for an
ssf_type when there is a type in the cmsg structure.  There isn't much
point for a ssf_length field when there is already a length in the
cmsg structure which spans the entire ancillary data.  No point for
an ssf_error field (which has no defined values).  UNIX error codes
should suffice.  The ssf_data field is heavily underdefined.  Does this
contain the data sent by the user?  What part of it?  The part that
was sent in a fragment and absorbed in the sendmsg call?  The part
that was sent and acknowledged after SCTP fragmented it?  The part
that was sent by SCTP after SCTP unfragmented it?  An entire MTU
of data?  The entire data (TSDU)? (could be big).  What about truncation
of cmsg data on recvmsg?

I agree with the principle, but the syntax and semantics needs a lot
of work.

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 26 01:33: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 BAA10040
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 01:33: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 BAA20353;
	Tue, 26 Jun 2001 01:24: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 BAA20320
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 01:24:13 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA09288
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 01:23:35 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id WAA26383;
	Mon, 25 Jun 2001 22:24:13 -0700 (PDT)
Received: from sloth (dsl199-239.Eng.Sun.COM [129.146.199.239])
	by heliopolis.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id WAA06877;
	Mon, 25 Jun 2001 22:24:12 -0700 (PDT)
Message-Id: <200106260524.WAA06877@heliopolis.eng.sun.com>
Date: Mon, 25 Jun 2001 22:24:12 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: bidulock@openss7.org
Cc: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: F46CAovhF85smkCePMKCZA==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 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


Retrieving unsent data.

It seems to me that we need this to make unsent retrieval
complete.

I'm not crazy about it, however, so if you could convince
me that it really isn't useful, I'd be happy...

> Jonathan,
> 
> What is the need for this?  I just can't think of why
> an application would want to abort an association and
> leave a the socket open...
> 
> --Brian
> 
> On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > 
> > In addition, we need a way to abort an association and still
> > leave an open socket descriptor. shutdown() cannot be twisted
> > to fill this requirement, so I propose including a MSG_ABORT
> > flag in sendmsg(), just as UDP-style sockets do now.
> > 
> 
> -- 
> Brian F. G. Bidulock
> bidulock@openss7.org
> http://www.openss7.org/


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


From tsvwg-admin@ietf.org  Tue Jun 26 01:34:13 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 BAA10084
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 01:34: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 BAA20185;
	Tue, 26 Jun 2001 01:20: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 BAA20156
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 01:20:15 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA08976
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 01:19:37 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id WAA00258
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 22:19:36 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 26 Jun 2001 05:20:16 UT
Received: from jheitz-dsl-77.ascend.com (jheitz-dsl-77.ascend.com [134.112.160.77])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id WAA02518
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 22:19:44 -0700 (PDT)
Received: from lucent.com (localhost [127.0.0.1])
	by jheitz-dsl-77.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id WAA28354
	for <tsvwg@ietf.org>; Mon, 25 Jun 2001 22:19:23 -0700 (PDT)
Message-ID: <3B381B5B.4C9AD8F3@lucent.com>
Date: Mon, 25 Jun 2001 22:19:23 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.5.1 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <200106260045.RAA03469@heliopolis.eng.sun.com> <20010625234751.C4437@piglet>
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

"Brian F. G. Bidulock" wrote:
> 
> Jonathan,
> 
> What is the need for this?  I just can't think of why
> an application would want to abort an association and
> leave a the socket open...

To retrieve unsent and unacked messages.

> 
> --Brian
> 
> On Mon, 25 Jun 2001, Jonathan Wood wrote:
> >
> > In addition, we need a way to abort an association and still
> > leave an open socket descriptor. shutdown() cannot be twisted
> > to fill this requirement, so I propose including a MSG_ABORT
> > flag in sendmsg(), just as UDP-style sockets do now.
> >
> 
> --
> Brian F. G. Bidulock
> bidulock@openss7.org
> http://www.openss7.org/
> 
> _______________________________________________
> 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 Jun 26 01:40: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 BAA10360
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 01:40: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 BAA20607;
	Tue, 26 Jun 2001 01:29:41 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id BAA20573
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 01:29:39 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA09692
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 01:29:01 -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 XAA22925;
	Mon, 25 Jun 2001 23:29:35 -0600 (MDT)
Received: from sloth (dsl199-239.Eng.Sun.COM [129.146.199.239])
	by heliopolis.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id WAA06902;
	Mon, 25 Jun 2001 22:29:35 -0700 (PDT)
Message-Id: <200106260529.WAA06902@heliopolis.eng.sun.com>
Date: Mon, 25 Jun 2001 22:29:35 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: bidulock@openss7.org
Cc: tsvwg@ietf.org, SIGTRAN@STANDARDS.NORTELNETWORKS.COM
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: kZ+HQWwG9+5JtyZ+8V36Rg==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 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


Actually, unsent retrieval is no longer via ancillary data. The
latest TSVWG draft has the right semantics and is considerably
better WRT to the problems you've pointed out (although there
is still room for tightening it up, I'll admit).

There are still a few places that we missed in the cleanup, and
it's still referred to as ancillary data, but these should be
all fixed in the -01 version, to appear soon. Mike Bartlett
pointed out a number of these.

> 
> Well, that would indicate the three situations; however, I don't totally
> agree with section 5.3.1.4 anyway.  There isn't much point for an
> ssf_type when there is a type in the cmsg structure.  There isn't much
> point for a ssf_length field when there is already a length in the
> cmsg structure which spans the entire ancillary data.  No point for
> an ssf_error field (which has no defined values).  UNIX error codes
> should suffice.  The ssf_data field is heavily underdefined.  Does this
> contain the data sent by the user?  What part of it?  The part that
> was sent in a fragment and absorbed in the sendmsg call?  The part
> that was sent and acknowledged after SCTP fragmented it?  The part
> that was sent by SCTP after SCTP unfragmented it?  An entire MTU
> of data?  The entire data (TSDU)? (could be big).  What about truncation
> of cmsg data on recvmsg?
> 
> I agree with the principle, but the syntax and semantics needs a lot
> of work.
> 


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


From tsvwg-admin@ietf.org  Tue Jun 26 02:29:29 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 CAA21069
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 02:29:29 -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 CAA22267;
	Tue, 26 Jun 2001 02:13: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 CAA22238
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 02:13:55 -0400 (EDT)
Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA19758
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 02:13:11 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust172.tnt1.roswell.nm.da.uu.net [63.29.146.172])
	by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA19485;
	Mon, 25 Jun 2001 23:13:32 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5Q6CaY24134;
	Tue, 26 Jun 2001 01:12:36 -0500
Date: Tue, 26 Jun 2001 01:12:36 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: sigtran@standards.nortelnetworks.com
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
Message-ID: <20010626011236.F4437@piglet>
Reply-To: bidulock@openss7.org
References: <LYRIS-1825-7145-2001.06.26-01.30.05--bidulock#OPENSS7.ORG@lyris.nortelnetworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <LYRIS-1825-7145-2001.06.26-01.30.05--bidulock#OPENSS7.ORG@lyris.nortelnetworks.com>; from Jonathan.Wood@Sun.COM on Mon, Jun 25, 2001 at 10:29:35PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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,

I will eagerly await the new draft.

--brian

Jonathan Wood wrote:                          (Mon, 25 Jun 2001 22:29:35)
> 
> Actually, unsent retrieval is no longer via ancillary data. The
> latest TSVWG draft has the right semantics and is considerably
> better WRT to the problems you've pointed out (although there
> is still room for tightening it up, I'll admit).
> 
> There are still a few places that we missed in the cleanup, and
> it's still referred to as ancillary data, but these should be
> all fixed in the -01 version, to appear soon. Mike Bartlett
> pointed out a number of these.
> 
> > 
> > Well, that would indicate the three situations; however, I don't totally
> > agree with section 5.3.1.4 anyway.  There isn't much point for an
> > ssf_type when there is a type in the cmsg structure.  There isn't much
> > point for a ssf_length field when there is already a length in the
> > cmsg structure which spans the entire ancillary data.  No point for
> > an ssf_error field (which has no defined values).  UNIX error codes
> > should suffice.  The ssf_data field is heavily underdefined.  Does this
> > contain the data sent by the user?  What part of it?  The part that
> > was sent in a fragment and absorbed in the sendmsg call?  The part
> > that was sent and acknowledged after SCTP fragmented it?  The part
> > that was sent by SCTP after SCTP unfragmented it?  An entire MTU
> > of data?  The entire data (TSDU)? (could be big).  What about truncation
> > of cmsg data on recvmsg?
> > 
> > I agree with the principle, but the syntax and semantics needs a lot
> > of work.
> > 
> 

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 26 02:29: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 CAA21097
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 02:29: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 CAA22472;
	Tue, 26 Jun 2001 02:16: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 CAA22400
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 02:16:53 -0400 (EDT)
Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA20001
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 02:16:07 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust172.tnt1.roswell.nm.da.uu.net [63.29.146.172])
	by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA28011;
	Mon, 25 Jun 2001 23:16:41 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5Q6FjX24153;
	Tue, 26 Jun 2001 01:15:45 -0500
Date: Tue, 26 Jun 2001 01:15:45 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010626011545.G4437@piglet>
Reply-To: bidulock@openss7.org
References: <200106260524.WAA06877@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200106260524.WAA06877@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Mon, Jun 25, 2001 at 10:24:12PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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,

Why not do an orderly shutdown to retrieve unsent
data?  I don't see where abort is more useful than
orderly shutdown before retrieval.  SSCOP even allows
retrieval *while* shutting down.

--Brian

On Mon, 25 Jun 2001, Jonathan Wood wrote:

> 
> Retrieving unsent data.
> 
> It seems to me that we need this to make unsent retrieval
> complete.
> 
> I'm not crazy about it, however, so if you could convince
> me that it really isn't useful, I'd be happy...
> 
> > Jonathan,
> > 
> > What is the need for this?  I just can't think of why
> > an application would want to abort an association and
> > leave a the socket open...
> > 
> > --Brian
> > 
> > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > 
> > > In addition, we need a way to abort an association and still
> > > leave an open socket descriptor. shutdown() cannot be twisted
> > > to fill this requirement, so I propose including a MSG_ABORT
> > > flag in sendmsg(), just as UDP-style sockets do now.
> > > 

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Tue Jun 26 07:14: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 HAA27773
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 07:14: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 HAA03083;
	Tue, 26 Jun 2001 07:02: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 HAA03054
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 07:02:22 -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 HAA27119;
	Tue, 26 Jun 2001 07:01:42 -0400 (EDT)
Message-Id: <200106261101.HAA27119@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: Tue, 26 Jun 2001 07:01:42 -0400
Subject: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-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.


	Title		: TLS over SCTP
	Author(s)	: M. Tuexen, A. Jungmaier
	Filename	: draft-tuexen-tsvwg-tls-over-sctp-00.txt
	Pages		: 6
	Date		: 25-Jun-01
	
This document describes the usage of the Transport Layer Security (TLS)
protocol, as defined in [RFC2246], over the Stream Control Transmission
Protocol (SCTP), as defined in [RFC2960].

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-tuexen-tsvwg-tls-over-sctp-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-tuexen-tsvwg-tls-over-sctp-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-tuexen-tsvwg-tls-over-sctp-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:	<20010625095508.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-tuexen-tsvwg-tls-over-sctp-00.txt

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

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

--OtherAccess--

--NextPart--



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


From tsvwg-admin@ietf.org  Tue Jun 26 09:44: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 JAA05200
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 09:44: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 JAA07358;
	Tue, 26 Jun 2001 09:22: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 JAA07327
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 09:22:13 -0400 (EDT)
Received: from mail.eecis.udel.edu (louie.udel.edu [128.175.2.33])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA02929
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 09:21:32 -0400 (EDT)
Received: from ren.eecis.udel.edu by mail.eecis.udel.edu id aa04730;
          26 Jun 2001 09:21 EDT
Date: Tue, 26 Jun 2001 09:21:47 -0400 (EDT)
From: Janardhan Iyengar <iyengar@mail.eecis.udel.edu>
To: tsvwg@ietf.org
MMDF-Warning:  Parse error in original version of preceding line at mail.eecis.udel.edu
cc: "Paul D. Amer" <amer@mail.eecis.udel.edu>,
        "Armando L. Caro Jr." <acaro@mail.eecis.udel.edu>,
        "Dr. Phill Conrad" <conrad@joda.cis.temple.edu>
Message-ID: <Pine.GSO.4.31.0106260917480.11231-100000@ren.eecis.udel.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Tsvwg] SCTP congestion control
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 all,

At UDel, we have observed the following during our bug-tests of the SCTP
module for ns-2. Consider an instance where cwnd is not a multiple of MTU
(assume fixed MTU), and the application messages are large enough to fill
up the max SCTP packet size (1 MTU). Also suppose that the sender is in
Congestion Avoidance mode.

According to section 7.2.2 (bullet 3):
"   o  When partial_bytes_acked is equal to or greater than cwnd and
       before the arrival of the SACK the sender had cwnd or more bytes
       of data outstanding (i.e., before arrival of the SACK, flightsize
       was greater than or equal to cwnd), increase cwnd by MTU, and
       reset partial_bytes_acked to (partial_bytes_acked - cwnd). "

With our parameters, the flightsize will never become greater than or
equal to cwnd. This causes cwnd to not increase at all, but
partial_bytes_acked is constantly increasing with SACK'd bytes.

regards,
jana

-----------------------------------------------------------------------
"The future belongs to those who believe in the beauty of their dreams"
						    - Eleanor Roosevelt
-----------------------------------------------------------------------
Janardhan R. Iyengar				   iyengar@cis.udel.edu
University of Delaware		       http://www.cis.udel.edu/~iyengar
-----------------------------------------------------------------------







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


From tsvwg-admin@ietf.org  Tue Jun 26 10:08: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 KAA08659
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 10:08:27 -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 JAA08998;
	Tue, 26 Jun 2001 09:56: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 JAA08965
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 09:56:07 -0400 (EDT)
Received: from mxbh4.isus.emc.com (mxbh4.isus.emc.com [128.221.10.33])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA06725
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 09:55:26 -0400 (EDT)
From: Black_David@emc.com
Received: by mxbh4.isus.emc.com with Internet Mail Service (5.5.2653.19)
	id <M137JV0G>; Tue, 26 Jun 2001 09:55:35 -0400
Message-ID: <277DD60FB639D511AC0400B0D068B71E070958@corpmx14.us.dg.com>
To: rsnively@brocade.com, tsvwg@ietf.org
Subject: RE: [Tsvwg] Another view of the SCTP error check problem
Date: Tue, 26 Jun 2001 09:52:22 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
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

> Some of the answers are pretty obvious.  
> 
> 1) Any product that you have some chance of selling in
>    an enterprise environment will have an error rate through
>    all hops some seven orders of magnitude better than an 
>    ungroomed campus internet link.  
> 
> 2) Checking will be required at lower levels to achieve that
>    improvement, not so much to correct errors, but to isolate
>    devices and links that need to be replaced because they
>    are throwing too many errors.  That checking
>    will be included both in the links and in the boxes.
> 
> 3) Any application that really cares won't trust even those
>    probabilities and will provide additional verification at the
>    application level, principally to identify suspect
>    links and systems that have failed to perform their checks
>    correctly.
> 
> Once you have accepted the three answers above, why is
> CRC any better than a TCP-like 32-bit sum?

Unfortunately, all three answers are debatable and probably wrong:

(1) We care about environments other than the enterprise environment.
(2) Not all links can be relied upon to have that level of error detection.
(3) Application level checks should be a last resort for two reasons.
	a) The transport's retransmit algorithm is better engineered and
		more efficient - it should be the primary retransmit
algorithm,
		and leads to better network behavior when it is.
	b) If the transport can be relied upon to have a sufficient level of
		error detection underlying its retransmit, applications can
be
		significantly simpler.  If the response to the check failing
		can be designed under a worst-case assumption that the
		check will essentially never fail, then simple brute-force
		mechanisms (e.g., close the connection, try again) are ok,
		and lousy performance is acceptable.  Otherwise the
		response to a failed check has to be designed under a
		common-case assumption that its performance matters,
		and the result can be significantly more complex.

Beyond this, we know that the existing Adler-32 checksum
is broken for short packets, and there's an overwhelming
need for the fix to this to be permanent.  I would suggest
that this need for permanence significantly outweighs
the risk/costs of a CRC being overkill - based on the
respective track records of CRCs and checksums, a CRC
is the obvious choice to make sure that we never
have to revisit this issue again.  The computational
overhead argument against CRCs has been refuted on
this list, so I fail to see any compelling technical
objection to use of CRCs that remains.

IMHO, we can put a CRC in now and put this problem behind
us, or continue to debate the merits of various forms of
checksums to SCTP's detriment.

--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
---------------------------------------------------


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


From tsvwg-admin@ietf.org  Tue Jun 26 10:26: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 KAA11581
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 10:26: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 KAA09821;
	Tue, 26 Jun 2001 10:09: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 KAA09793
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 10:09:22 -0400 (EDT)
Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA08701
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 10:08:40 -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.11.3/8.9.1) with ESMTP id f5QDxFH21327;
	Tue, 26 Jun 2001 07:03:25 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-66.cisco.com [171.68.181.195])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIX00137 (AUTH rrs);
	Tue, 26 Jun 2001 07:00:48 -0700 (PDT)
Message-ID: <3B38958D.E7CF8C1B@stewart.chicago.il.us>
Date: Tue, 26 Jun 2001 09:00:45 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
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: tsvwg@ietf.org, SIGTRAN@STANDARDS.NORTELNETWORKS.COM
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <200106252255.PAA00578@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 Wood wrote:
> 
> >
> >With all that said, I think it is a fair statement to warn the user
> >of the SCTP retrieval mechanism in the draft that some messages
> >retrieved may have already been accepted by the peer app.  It also
> >makes sense that, if retrieved messages are passed as ancillary data
> >in recvmsg, that the retrieved data be marked with the assigned SSN
> >(if any) and whether the DATA chunks was from your categories (1),
> >(2) and (3) with an attribute in the ancillary data.  Retrieval
> 
> Brian,
> 
> I like this idea. Since I've just snipped lots of text,
> I'll recap:
> 
> When an association closes (gracefully or non-gracefully),
> and the caller has enabled SCTP_SEND_FAILED events, the contents
> of the SCTP transmit queue will be returned to the caller. Section
> 5.3.1.4 defines the following flags for each returned message:
> 
>     SCTP_DATA_INQUEUE - When this flag is indicated the
>                         data was never attempted to be
>                         sent. I.e. it was never assigned
>                         a TSN and sent onto the wire.
> 
>     SCTP_DATA_INTMIT  - When this flag is indicated the
>                         data WAS assigned a TSN and sent
>                         at least once but never acknowleged.
> 
> [ what does INTMIT stand for? ]
> 

I did not invent the term, La Monte was it you? But I would
guess it is IN TMIT or "in the process of being transmitted" 

At least that was my guess when I read it :-)

> We should also add a third flag:
> 
>     SCTP_DATA_SACKED  - When this flag is indicated the
>                         data WAS assigned a TSN and sent
>                         at least once and was acknowleged
>                         in a gap report, but the cumulative
>                         TSN never passed it.
> 
> Sound OK?

I like it!


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

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Tue Jun 26 10:26: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 KAA11595
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 10:26: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 KAA09957;
	Tue, 26 Jun 2001 10:10: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 KAA09934
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 10:10:47 -0400 (EDT)
Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA08931
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 10:10:06 -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.11.3/8.9.1) with ESMTP id f5QE43H23731;
	Tue, 26 Jun 2001 07:04:54 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-66.cisco.com [171.68.181.195])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIX00209 (AUTH rrs);
	Tue, 26 Jun 2001 07:05:36 -0700 (PDT)
Message-ID: <3B3896AD.6F89CD99@stewart.chicago.il.us>
Date: Tue, 26 Jun 2001 09:05:33 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
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: bidulock@openss7.org, tsvwg@ietf.org, SIGTRAN@STANDARDS.NORTELNETWORKS.COM
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <200106260529.WAA06902@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:

Yes, I was going to point this out... a lot of these
messages are NOT in ancillary data. The reason
being that, as you illustrated earlier, ancillary data
does not do well with variable length structures.

I had noticed in a hurried read of -00 last week that
we missed a few places where the ancillary data t

Rerm
was left hanging.. We need to go carefully through
the draft and emphasis where and where not the structures
show up as ancillary data...

We will definetly get this one fixed in the next pass though :)


Jonathan Wood wrote:
> 
> Actually, unsent retrieval is no longer via ancillary data. The
> latest TSVWG draft has the right semantics and is considerably
> better WRT to the problems you've pointed out (although there
> is still room for tightening it up, I'll admit).
> 
> There are still a few places that we missed in the cleanup, and
> it's still referred to as ancillary data, but these should be
> all fixed in the -01 version, to appear soon. Mike Bartlett
> pointed out a number of these.
> 
> >
> > Well, that would indicate the three situations; however, I don't totally
> > agree with section 5.3.1.4 anyway.  There isn't much point for an
> > ssf_type when there is a type in the cmsg structure.  There isn't much
> > point for a ssf_length field when there is already a length in the
> > cmsg structure which spans the entire ancillary data.  No point for
> > an ssf_error field (which has no defined values).  UNIX error codes
> > should suffice.  The ssf_data field is heavily underdefined.  Does this
> > contain the data sent by the user?  What part of it?  The part that
> > was sent in a fragment and absorbed in the sendmsg call?  The part
> > that was sent and acknowledged after SCTP fragmented it?  The part
> > that was sent by SCTP after SCTP unfragmented it?  An entire MTU
> > of data?  The entire data (TSDU)? (could be big).  What about truncation
> > of cmsg data on recvmsg?
> >
> > I agree with the principle, but the syntax and semantics needs a lot
> > of work.
> >
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Tue Jun 26 10:42: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 KAA14448
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 10:42: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 KAA10528;
	Tue, 26 Jun 2001 10:24: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 KAA10494
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 10:24:48 -0400 (EDT)
Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA11194
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 10:24:06 -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.11.3/8.9.1) with ESMTP id f5QELGH01637;
	Tue, 26 Jun 2001 07:21:48 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-66.cisco.com [171.68.181.195])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIX00494 (AUTH rrs);
	Tue, 26 Jun 2001 07:22:49 -0700 (PDT)
Message-ID: <3B389AB6.2EEEEBE7@stewart.chicago.il.us>
Date: Tue, 26 Jun 2001 09:22:46 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Janardhan Iyengar <iyengar@mail.eecis.udel.edu>
CC: tsvwg@ietf.org, "Paul D. Amer" <amer@mail.eecis.udel.edu>,
        "Armando L. Caro Jr." <acaro@mail.eecis.udel.edu>,
        "Dr. Phill Conrad" <conrad@joda.cis.temple.edu>
Subject: Re: [Tsvwg] SCTP congestion control
References: <Pine.GSO.4.31.0106260917480.11231-100000@ren.eecis.udel.edu>
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

Janardhan:

There is a subtle point you missed in RFC2960. It has been
clearified in both the bakeoff draft AND in the implementors
guide. It is:

At 6.1 item B)
"
   B) At any given time, the sender MUST NOT transmit new data to a
      given transport address if it has cwnd or more bytes of data
      outstanding to that transport address.
"

Now lets consider an example:

cwnd = 3300
MTU = 1500
Flightsize = 0
Each packet to send is 1500 bytes.

Send 1--->

cwnd = 3300
MTU = 1500
FS = 1500

Send packet 2---->

cwnd = 3300
MTU = 1500
FS = 3000

Now We come to send the third packet.

Do we have cwnd or MORE bytes outstanding? No we have 3000 and cwnd
is 3300... so we ARE allowed to send the 1500 bytes of data. soo

cwnd = 3300
MTU = 1500
FS = 4500

This is a very subtle point that I think if you read the impl-guide
draft AND the bakeoff draft you will get highlighted a bit more.
In fact I would advise you to do a real close read of the impl-guide
draft since these may effect what you have been doing in ns2..

Thanks for your hard work on ns2 we are all anxiously awaiting
its release :)

R



Janardhan Iyengar wrote:
> 
> Hi all,
> 
> At UDel, we have observed the following during our bug-tests of the SCTP
> module for ns-2. Consider an instance where cwnd is not a multiple of MTU
> (assume fixed MTU), and the application messages are large enough to fill
> up the max SCTP packet size (1 MTU). Also suppose that the sender is in
> Congestion Avoidance mode.
> 
> According to section 7.2.2 (bullet 3):
> "   o  When partial_bytes_acked is equal to or greater than cwnd and
>        before the arrival of the SACK the sender had cwnd or more bytes
>        of data outstanding (i.e., before arrival of the SACK, flightsize
>        was greater than or equal to cwnd), increase cwnd by MTU, and
>        reset partial_bytes_acked to (partial_bytes_acked - cwnd). "
> 
> With our parameters, the flightsize will never become greater than or
> equal to cwnd. This causes cwnd to not increase at all, but
> partial_bytes_acked is constantly increasing with SACK'd bytes.
> 
> regards,
> jana
> 
> -----------------------------------------------------------------------
> "The future belongs to those who believe in the beauty of their dreams"
>                                                     - Eleanor Roosevelt
> -----------------------------------------------------------------------
> Janardhan R. Iyengar                               iyengar@cis.udel.edu
> University of Delaware                 http://www.cis.udel.edu/~iyengar
> -----------------------------------------------------------------------
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Tue Jun 26 11:25: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 LAA20906
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 11:25: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 KAA11323;
	Tue, 26 Jun 2001 10:38: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 KAA11296
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 10:38:02 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA13452
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 10:37:20 -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 f5QEbXh18689;
	Tue, 26 Jun 2001 07:37:33 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-66.cisco.com [171.68.181.195])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIX00798 (AUTH rrs);
	Tue, 26 Jun 2001 07:37:26 -0700 (PDT)
Message-ID: <3B389E23.CDD7293F@stewart.chicago.il.us>
Date: Tue, 26 Jun 2001 09:37:23 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Jon Berger <JRB@dataconnection.com>
CC: "Tsvwg (E-mail)" <tsvwg@ietf.org>
References: <37701240971DD31193970000F6CCB9F702B0B296@duke.datcon.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] Re: draft-ietf-tsvwg-addip-sctp-01
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

Jon Berger wrote:
> 
> I have a few comments on the ASCONF draft.
> 
> 1) Section 3.1.1 and 3.1.2
> Titles should say Address/Stream.
> 
good catch, we missed that one :0

> 2) Section 4
> What happens if a stream number is not mentioned in the SFLR?  I assume it
> is unlimited.
> 

Good point, we need to add this. The implied assumption is
that if you don't mention a stream it stays the same as
it last was... we will get this in the next pass for clearity :) 
We will try to get these in to the 4.5 section next pass ...

> 3) Section 4
> No mention is made of what happens if a streams limit is reduced below the
> current amount of outstanding data on that stream.  I assume this data is
> unaffected.

Good catch... yep you are correct and we will add it in to the
4.5 section next pass as well :)

> 
> 4) Section 4.1
> B1 should say "path error counter".

I think we should say "destination address error count" or what
ever we called it in RFC2960.. can't remember...

AND

we need to also mention incrementing the association error counter
as well. 

We will get this in the next pass too :)

> 
> 5) Section 4.1.1 R6
> What if the ASCONF is smaller than the corresponding ASCONF-ACK and the ACK
> is bigger than PMTU.  I assume you just rely on IP fragmentation in this
> case.

Yes, I think we have to. I would hope this would not. It should
be a rare enough event that IP fragmentation will have to do...

We probably need to add a bit on this as well.


> 
> 6) Section 4.1.1 last para and 4.3 D3
> I don't like saying that either the whole draft is supported or none of it
> is.  It seems perfectly reasonable to support either the flow limiting or
> the ip address manipulation but not both.  A subset of the flow limiting
> would also seem reasonable (not many ULPs are likely to require all types of
> flow limiting).
> 

Hmm, maybe this is not clear enough. 

First: for section 4.1.1. we are discussing the ASCONF chunk. If the
peer sends back a "I don't understand the ASCONF chunk", how would
ANY of the add-ip or flow limit features be supported? 

Second: Maybe 4.3 D3) should be broken in to seperate rules or
sub points for each one. I was attempting to say that

if you send a ADD---->

and the peer says

<------I don't understand ADD

Then you CAN'T send another ADD...

But you COULD send a S-Flow request... for example...

So maybe seperate bullet points would make this clearer...

R

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Tue Jun 26 11:45: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 LAA22942
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 11:45: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 LAA13428;
	Tue, 26 Jun 2001 11:21: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 LAA13395
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 11:21:13 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA20155
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 11:20:33 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id IAA17741;
	Tue, 26 Jun 2001 08:20:32 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 26 Jun 2001 15:21:11 UT
Received: from jheitz-dsl-77.ascend.com (jheitz-dsl-77.ascend.com [134.112.160.77])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id IAA26074;
	Tue, 26 Jun 2001 08:15:39 -0700 (PDT)
Received: from lucent.com (localhost [127.0.0.1])
	by jheitz-dsl-77.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id IAA28817;
	Tue, 26 Jun 2001 08:15:18 -0700 (PDT)
Message-ID: <3B38A706.AEC7352F@lucent.com>
Date: Tue, 26 Jun 2001 08:15:18 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.5.1 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: Jonathan Wood <Jonathan.Wood@Sun.COM>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <200106260524.WAA06877@heliopolis.eng.sun.com> <20010626011545.G4437@piglet>
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

Please allow retrieval after abort.

"Brian F. G. Bidulock" wrote:
> 
> Jonathan,
> 
> Why not do an orderly shutdown to retrieve unsent
> data?  I don't see where abort is more useful than
> orderly shutdown before retrieval.  SSCOP even allows
> retrieval *while* shutting down.
> 
> --Brian
> 
> On Mon, 25 Jun 2001, Jonathan Wood wrote:
> 
> >
> > Retrieving unsent data.
> >
> > It seems to me that we need this to make unsent retrieval
> > complete.
> >
> > I'm not crazy about it, however, so if you could convince
> > me that it really isn't useful, I'd be happy...
> >
> > > Jonathan,
> > >
> > > What is the need for this?  I just can't think of why
> > > an application would want to abort an association and
> > > leave a the socket open...
> > >
> > > --Brian
> > >
> > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > >
> > > > In addition, we need a way to abort an association and still
> > > > leave an open socket descriptor. shutdown() cannot be twisted
> > > > to fill this requirement, so I propose including a MSG_ABORT
> > > > flag in sendmsg(), just as UDP-style sockets do now.

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


From tsvwg-admin@ietf.org  Tue Jun 26 12:45: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 MAA25869
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 12:44: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 MAA16564;
	Tue, 26 Jun 2001 12:28: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 MAA16533
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 12:28:35 -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 MAA25002
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 12:27:54 -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.11.3/8.9.1) with ESMTP id f5QGS7N19369;
	Tue, 26 Jun 2001 09:28:10 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-6-152.cisco.com [10.21.58.153])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AIZ00822 (AUTH rrs);
	Tue, 26 Jun 2001 09:27:57 -0700 (PDT)
Message-ID: <3B38B805.F7041951@stewart.chicago.il.us>
Date: Tue, 26 Jun 2001 11:27:49 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Jacob Heitz <jheitz@lucent.com>
CC: Jonathan Wood <Jonathan.Wood@Sun.COM>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <200106260524.WAA06877@heliopolis.eng.sun.com> <20010626011545.G4437@piglet> <3B38A706.AEC7352F@lucent.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

Jacob:

I feel we WILL put this in (if it is not already there).. I
think if you allow data retrieval you MUST have a complete
implementation of it...

R


Jacob Heitz wrote:
> 
> Please allow retrieval after abort.
> 
> "Brian F. G. Bidulock" wrote:
> >
> > Jonathan,
> >
> > Why not do an orderly shutdown to retrieve unsent
> > data?  I don't see where abort is more useful than
> > orderly shutdown before retrieval.  SSCOP even allows
> > retrieval *while* shutting down.
> >
> > --Brian
> >
> > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> >
> > >
> > > Retrieving unsent data.
> > >
> > > It seems to me that we need this to make unsent retrieval
> > > complete.
> > >
> > > I'm not crazy about it, however, so if you could convince
> > > me that it really isn't useful, I'd be happy...
> > >
> > > > Jonathan,
> > > >
> > > > What is the need for this?  I just can't think of why
> > > > an application would want to abort an association and
> > > > leave a the socket open...
> > > >
> > > > --Brian
> > > >
> > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > > >
> > > > > In addition, we need a way to abort an association and still
> > > > > leave an open socket descriptor. shutdown() cannot be twisted
> > > > > to fill this requirement, so I propose including a MSG_ABORT
> > > > > flag in sendmsg(), just as UDP-style sockets do now.
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Tue Jun 26 12:52: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 MAA26309
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 12:52: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 MAA17065;
	Tue, 26 Jun 2001 12:36:38 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA17039
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 12:36:36 -0400 (EDT)
Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA25427
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 12:35:57 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust222.tnt1.roswell.nm.da.uu.net [63.29.146.222])
	by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id JAA25737;
	Tue, 26 Jun 2001 09:36:30 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5QGVUH12578;
	Tue, 26 Jun 2001 11:31:30 -0500
Date: Tue, 26 Jun 2001 11:31:30 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jacob Heitz <jheitz@lucent.com>
Cc: Jonathan Wood <Jonathan.Wood@Sun.COM>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010626113130.C26714@piglet>
Reply-To: bidulock@openss7.org
References: <200106260524.WAA06877@heliopolis.eng.sun.com> <20010626011545.G4437@piglet> <3B38A706.AEC7352F@lucent.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B38A706.AEC7352F@lucent.com>; from jheitz@lucent.com on Tue, Jun 26, 2001 at 08:15:18AM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by avocet.mail.pas.earthlink.net id JAA25737
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id MAA17040
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 MAA17065
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id MAA26309

Jacob,

Why?

On Tue, 26 Jun 2001, Jacob Heitz wrote:

> Please allow retrieval after abort.
> 
> "Brian F. G. Bidulock" wrote:
> > 
> > Jonathan,
> > 
> > Why not do an orderly shutdown to retrieve unsent
> > data?  I don't see where abort is more useful than
> > orderly shutdown before retrieval.  SSCOP even allows
> > retrieval *while* shutting down.
> > 
> > --Brian
> > 
> > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > 
> > >
> > > Retrieving unsent data.
> > >
> > > It seems to me that we need this to make unsent retrieval
> > > complete.
> > >
> > > I'm not crazy about it, however, so if you could convince
> > > me that it really isn't useful, I'd be happy...
> > >
> > > > Jonathan,
> > > >
> > > > What is the need for this?  I just can't think of why
> > > > an application would want to abort an association and
> > > > leave a the socket open...
> > > >
> > > > --Brian
> > > >
> > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > > >
> > > > > In addition, we need a way to abort an association and still
> > > > > leave an open socket descriptor. shutdown() cannot be twisted
> > > > > to fill this requirement, so I propose including a MSG_ABORT
> > > > > flag in sendmsg(), just as UDP-style sockets do now.
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
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  Tue Jun 26 13:10:08 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 NAA27280
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 13:10:08 -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 MAA17753;
	Tue, 26 Jun 2001 12:56: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 MAA17722
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 12:56:41 -0400 (EDT)
Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA26497
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 12:56:02 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust43.tnt1.roswell.nm.da.uu.net [63.29.146.43])
	by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id JAA26431;
	Tue, 26 Jun 2001 09:56:36 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5QGt4I13469;
	Tue, 26 Jun 2001 11:55:04 -0500
Date: Tue, 26 Jun 2001 11:55:04 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Randall Stewart <randall@stewart.chicago.il.us>
Cc: Jacob Heitz <jheitz@lucent.com>, Jonathan Wood <Jonathan.Wood@Sun.COM>,
        tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010626115504.D26714@piglet>
Reply-To: bidulock@openss7.org
References: <200106260524.WAA06877@heliopolis.eng.sun.com> <20010626011545.G4437@piglet> <3B38A706.AEC7352F@lucent.com> <3B38B805.F7041951@stewart.chicago.il.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B38B805.F7041951@stewart.chicago.il.us>; from randall@stewart.chicago.il.us on Tue, Jun 26, 2001 at 11:27:49AM -0500
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by hawk.mail.pas.earthlink.net id JAA26431
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id MAA17723
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 MAA17753
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id NAA27280

Randall,

Then retrieval *during* abort or shutdown should
also be added to complete the implementation. 
This would permit operation at least equivalent to 
SSCOP.  I can hardly wait to see how that is
shoe-horned into the sockets API.  I don't believe
that the sockets API even provides a mechanism for
reseting a TCP connection under user whim.

--Brian

On Tue, 26 Jun 2001, Randall Stewart wrote:

> Jacob:
> 
> I feel we WILL put this in (if it is not already there).. I
> think if you allow data retrieval you MUST have a complete
> implementation of it...
> 
> R
> 
> 
> Jacob Heitz wrote:
> > 
> > Please allow retrieval after abort.
> > 
> > "Brian F. G. Bidulock" wrote:
> > >
> > > Jonathan,
> > >
> > > Why not do an orderly shutdown to retrieve unsent
> > > data?  I don't see where abort is more useful than
> > > orderly shutdown before retrieval.  SSCOP even allows
> > > retrieval *while* shutting down.
> > >
> > > --Brian
> > >
> > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > >
> > > >
> > > > Retrieving unsent data.
> > > >
> > > > It seems to me that we need this to make unsent retrieval
> > > > complete.
> > > >
> > > > I'm not crazy about it, however, so if you could convince
> > > > me that it really isn't useful, I'd be happy...
> > > >
> > > > > Jonathan,
> > > > >
> > > > > What is the need for this?  I just can't think of why
> > > > > an application would want to abort an association and
> > > > > leave a the socket open...
> > > > >
> > > > > --Brian
> > > > >
> > > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > > > >
> > > > > > In addition, we need a way to abort an association and still
> > > > > > leave an open socket descriptor. shutdown() cannot be twisted
> > > > > > to fill this requirement, so I propose including a MSG_ABORT
> > > > > > flag in sendmsg(), just as UDP-style sockets do now.
> > 
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> -- 
> Randall R. Stewart
> randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
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  Tue Jun 26 14:00: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 OAA01183
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 14:00:27 -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 NAA19444;
	Tue, 26 Jun 2001 13:35: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 NAA19417
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 13:35:45 -0400 (EDT)
Received: from NEXUS.replicants.org.uk (pc-62-30-167-16-ca.blueyonder.co.uk [62.30.167.16])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA29045
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 13:34:57 -0400 (EDT)
Received: from mail pickup service by NEXUS.replicants.org.uk with Microsoft SMTPSVC;
	 Tue, 26 Jun 2001 18:39:15 +0100
X-From_: ietf-123-owner@loki.ietf.org Tue Jun 26 14:16:44 2001
Envelope-to: david@REPLICANTS.FREESERVE.CO.UK
Delivery-date: Tue, 26 Jun 2001 14:16:44 +0100
Received: from [132.151.1.177] (helo=loki.ietf.org)	by imailg2.svr.pol.co.uk with esmtp (Exim 3.13 #0)	id 15Eshq-0004en-00; Tue, 26 Jun 2001 14:16:39 +0100
Received: (from adm@localhost)	by loki.ietf.org (8.9.1b+Sun/8.9.1) id HAA18943	for ietf-123-outbound.10@ietf.org; Tue, 26 Jun 2001 07:55:02 -0400 (EDT)
Received: from ietf.org (odin.ietf.org [10.27.2.28])	by loki.ietf.org (8.9.1b+Sun/8.9.1) with ESMTP id HAA18546	for <all-ietf@loki.ietf.org>; Tue, 26 Jun 2001 07:01:43 -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 HAA27119;	Tue, 26 Jun 2001 07:01:42 -0400 (EDT)
Message-Id: <200106261101.HAA27119@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: Tue, 26 Jun 2001 07:01:42 -0400
X-OriginalArrivalTime: 26 Jun 2001 17:39:15.0992 (UTC) FILETIME=[EBA48180:01C0FE66]
Subject: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-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.


	Title		: TLS over SCTP
	Author(s)	: M. Tuexen, A. Jungmaier
	Filename	: draft-tuexen-tsvwg-tls-over-sctp-00.txt
	Pages		: 6
	Date		: 25-Jun-01
	
This document describes the usage of the Transport Layer Security (TLS)
protocol, as defined in [RFC2246], over the Stream Control Transmission
Protocol (SCTP), as defined in [RFC2960].

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-tuexen-tsvwg-tls-over-sctp-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-tuexen-tsvwg-tls-over-sctp-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-tuexen-tsvwg-tls-over-sctp-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:	<20010625095508.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-tuexen-tsvwg-tls-over-sctp-00.txt

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

Con
--OtherAccess--
--NextPart--

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


From tsvwg-admin@ietf.org  Tue Jun 26 14:32:28 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 OAA02273
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 14:32:27 -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 OAA21070;
	Tue, 26 Jun 2001 14:18: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 OAA21016
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 14:18:11 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA01716
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 14:17:31 -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.11.3/8.9.1) with ESMTP id f5QIHkx21611
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 11:17:46 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-6-182.cisco.com [10.21.58.183])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJA01717 (AUTH rrs);
	Tue, 26 Jun 2001 11:17:38 -0700 (PDT)
Message-ID: <3B38C570.D32B660A@stewart.chicago.il.us>
Date: Tue, 26 Jun 2001 12:25:04 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: TSV WG list <tsvwg@ietf.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] SCTP implementors guide
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:

I know we have been rather consumed with the checksum
issues. So many of you may not have had a chance to look
in detail at this document. It is rooted in the bake-off
drafts and the checksum and ipv6 stuff is not present
in this document. An IPv6 draft (about 3 pages) should
be coming out shortly, I am still awaiting my co-authors
comments/updates :)

Now surely some of you have had a chance to look at this
draft and I KNOW that you all can't be in agreement
with this one :) 

I would urge you to send comments after reviewing the
document.

Thanks

R
-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)



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


From tsvwg-admin@ietf.org  Tue Jun 26 15:05: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 PAA03935
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 15:05: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 OAA22422;
	Tue, 26 Jun 2001 14:47: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 OAA22391
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 14:47:20 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA02669
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 14:46:40 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA15326
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 11:47:19 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id LAA13192
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 11:47:18 -0700 (PDT)
Date: Tue, 26 Jun 2001 11:47:00 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010626115504.D26714@piglet>
Message-ID: <Roam.SIMC.2.0.6.993581220.13328.kcpoon@eng.sun.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

> Then retrieval *during* abort or shutdown should
> also be added to complete the implementation. 
> This would permit operation at least equivalent to 
> SSCOP.  I can hardly wait to see how that is
> shoe-horned into the sockets API.  I don't believe
> that the sockets API even provides a mechanism for
> reseting a TCP connection under user whim.

Brian, can you explain what you meant by "during" abort or
shutdown?  After the app uses sendmsg() to abort the association,
it is considered done in the local host.  SCTP stack will send
the ABORT immediately.  The proposed change is to allow the
app to retrieve unsent data.  Suppose the app uses shutdown(SHUT_WR)
to shutdown an association.  The proposed change is to allow the
app to continue to receive data.  Is your "during" related to the
app level protocol?

BTW, to reset a TCP connection, just set SO_LINGER value to 0
and then do a close().  The connection will be reset immediately.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Tue Jun 26 16:09: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 QAA10766
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 16:09: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 PAA24396;
	Tue, 26 Jun 2001 15:40:38 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA24367
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 15:40:36 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h015.c007.snv.cp.net [209.228.33.222])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA07208
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 15:39:55 -0400 (EDT)
Received: (cpmta 4885 invoked from network); 26 Jun 2001 12:40:03 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.222) with SMTP; 26 Jun 2001 12:40:03 -0700
X-Sent: 26 Jun 2001 19:40:03 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: <Black_David@emc.com>, <rsnively@brocade.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] Another view of the SCTP error check problem
Date: Tue, 26 Jun 2001 12:37:57 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJEEDGCJAA.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
In-Reply-To: <277DD60FB639D511AC0400B0D068B71E070958@corpmx14.us.dg.com>
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 and Bob,

If you look at the amount of data that will exist over the use of a product
where standards are hoped to remain over the next 15 years as a practical
measure.  If a 10 Gbit/second network were run over this duration at a 50%
average load in full-duplex, then operation for 473 million seconds totals
590 x 10^15 bytes.  The oft quoted Stone and Partridge paper "When The CRC
and TCP Checksum Disagree" indicates the raw error rate is between 1 in
11,000 - 32,000 of which a third was an ACK of FIN error.  This would
indicate that 36 x 10^12 to 12 x 10^12 errors will occur during this
interval.  If you trust that the majority of these errors are randomly
distributed, then CRC-32 should catch all of these errors over this
duration.  But as this paper indicates as much as 10% of these errors are
massive.  This would mean that a CRC-32 in the face of a massive error may
miss a few of these errors where the transport or application parsing will
likely detect them instead.  A checksum that can fail to detect 1% of these
errors if due to a bus or block related failure will not give any warning to
allow corrective action such as complaints to the provider or modification
of equipment.  If only .01% of these massive errors were related to bus or
block type of failure, then as much as 12 million undetected errors will
occur.  To answer Bob's question, what is the difference, 12,000,000 to 100.
This difference will allow the time to respond to a problem as David
indicates.  Bob's scheme does not where the mean time to an undetected error
would be on the order of 55 days versus 39 seconds.  Although not perfect, a
CRC-32 clearly provides the time to get a problem corrected whereas the
simple checksum does not.

Doug

> > Some of the answers are pretty obvious.
> >
> > 1) Any product that you have some chance of selling in
> >    an enterprise environment will have an error rate through
> >    all hops some seven orders of magnitude better than an
> >    ungroomed campus internet link.
> >
> > 2) Checking will be required at lower levels to achieve that
> >    improvement, not so much to correct errors, but to isolate
> >    devices and links that need to be replaced because they
> >    are throwing too many errors.  That checking
> >    will be included both in the links and in the boxes.
> >
> > 3) Any application that really cares won't trust even those
> >    probabilities and will provide additional verification at the
> >    application level, principally to identify suspect
> >    links and systems that have failed to perform their checks
> >    correctly.
> >
> > Once you have accepted the three answers above, why is
> > CRC any better than a TCP-like 32-bit sum?
>
> Unfortunately, all three answers are debatable and probably wrong:
>
> (1) We care about environments other than the enterprise environment.
> (2) Not all links can be relied upon to have that level of error
> detection.
> (3) Application level checks should be a last resort for two reasons.
> 	a) The transport's retransmit algorithm is better engineered and
> 		more efficient - it should be the primary retransmit
> algorithm,
> 		and leads to better network behavior when it is.
> 	b) If the transport can be relied upon to have a sufficient level of
> 		error detection underlying its retransmit, applications can
> be
> 		significantly simpler.  If the response to the check failing
> 		can be designed under a worst-case assumption that the
> 		check will essentially never fail, then simple brute-force
> 		mechanisms (e.g., close the connection, try again) are ok,
> 		and lousy performance is acceptable.  Otherwise the
> 		response to a failed check has to be designed under a
> 		common-case assumption that its performance matters,
> 		and the result can be significantly more complex.
>
> Beyond this, we know that the existing Adler-32 checksum
> is broken for short packets, and there's an overwhelming
> need for the fix to this to be permanent.  I would suggest
> that this need for permanence significantly outweighs
> the risk/costs of a CRC being overkill - based on the
> respective track records of CRCs and checksums, a CRC
> is the obvious choice to make sure that we never
> have to revisit this issue again.  The computational
> overhead argument against CRCs has been refuted on
> this list, so I fail to see any compelling technical
> objection to use of CRCs that remains.
>
> IMHO, we can put a CRC in now and put this problem behind
> us, or continue to debate the merits of various forms of
> checksums to SCTP's detriment.
>
> --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
> ---------------------------------------------------
>
>
> _______________________________________________
> 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 Jun 26 17:58: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 RAA25413
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 17:58: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 RAA28598;
	Tue, 26 Jun 2001 17:38: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 RAA28567
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 17:38:47 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA22539
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 17:38:04 -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 PAA04264;
	Tue, 26 Jun 2001 15:38:42 -0600 (MDT)
Received: from sloth (dsl199-239.Eng.Sun.COM [129.146.199.239])
	by heliopolis.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id OAA26536;
	Tue, 26 Jun 2001 14:38:42 -0700 (PDT)
Message-Id: <200106262138.OAA26536@heliopolis.eng.sun.com>
Date: Tue, 26 Jun 2001 14:38:42 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: 0OpwrcvqhaKe0dqWzQ+DZA==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 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

> 
> > When an association closes (gracefully or non-gracefully),
> > and the caller has enabled SCTP_SEND_FAILED events, the contents
> > of the SCTP transmit queue will be returned to the caller. Section
> > 5.3.1.4 defines the following flags for each returned message:
> > 
> >     SCTP_DATA_INQUEUE - When this flag is indicated the
> >                         data was never attempted to be
> >                         sent. I.e. it was never assigned
> >                         a TSN and sent onto the wire.
> 
> Now looking at it, it seems that it is simpler to just say "the data
> has never been sent."  "Attempted to be sent" can be confusing.  And
> SCTP_DATA_INQUEUE may be confusing as data should be in the transmit 
> queue whether it has been sent or not.  Maybe we should change it
> to SCTP_DATA_UNSENT?

I find this clearer.

[snip]

> > We should also add a third flag:
> > 
> >     SCTP_DATA_SACKED  - When this flag is indicated the
> >                         data WAS assigned a TSN and sent
> >                         at least once and was acknowleged
> >                         in a gap report, but the cumulative
> >                         TSN never passed it.
> 
> Maybe Brian or other people familiar with the sigtran protocols
> can comment on this.  Do we really need to separate the sack'ed
> but not cumulatively ack'ed case?  The reason I ask is that the
> receiver is free to discard sack'ed but not cumulatively ack'ed
> data chunks.  And I believe it is better not talk about TSN in
> the API draft.  It seems to me that making this distinction is
> not that useful.  I maybe wrong.  I suggest we should include them
> both as SCTP_DATA_SENT?  This has a easier to understand semantics 
> for app programmers without the need to understand SCTP fully.
> 

I admit the difference is slim. The only reason I suggested it
was the maybe apps we haven't thought of yet might actually
find it useful.

Jonathan, easily swayed on this one.



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


From tsvwg-admin@ietf.org  Tue Jun 26 18:22: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 SAA29197
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 18:22: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 SAA29456;
	Tue, 26 Jun 2001 18:04:17 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA29431
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 18:04:11 -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 SAA26108
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 18:03:31 -0400 (EDT)
Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id PAA29476; Tue, 26 Jun 2001 15:04:10 -0700 (MST)]
Received: [from relay1.cig.mot.com (relay1.cig.mot.com [136.182.15.23]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id PAA29997; Tue, 26 Jun 2001 15:04:10 -0700 (MST)]
Received: from agevole.cig.mot.com (agevole [136.182.3.251]) by relay1.cig.mot.com (8.8.8+Sun/SCERG-RELAY-1.11b) with ESMTP id RAA22720; Tue, 26 Jun 2001 17:04:08 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id RAA26870; Tue, 26 Jun 2001 17:04:07 -0500 (CDT)
Message-Id: <200106262204.RAA26870@agevole.cig.mot.com>
Date: Tue, 26 Jun 2001 16:41:30 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: bidulock@openss7.org
CC: Jacob Heitz <jheitz@lucent.com>, Jonathan Wood <Jonathan.Wood@Sun.COM>,
        tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <200106260524.WAA06877@heliopolis.eng.sun.com> <20010626011545.G4437@piglet> <3B38A706.AEC7352F@lucent.com> <20010626113130.C26714@piglet>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by ftpbox.mot.com id PAA29476
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id SAA29432
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 SAA29456
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id SAA29197

Jacob and Jonathan,

Yes, why you want to do this?

I can see the usefulness of data retrieval in the case that the peer
**unexpected** goes away (either crashed or becoming unreachable). In
such a case, the local endpoint will first see a COMMUNICATION-LOST
notification from the stack and then will do a data retrieval. This
makes a lot of sense.

But it becomes less clear to me why you want to do an Abort primitive
call down to the the stack and then retrieve the data. This situation is
totally under your control and thus completely avoidable. This is like
you regret what you have pushed down the stack and want to get it back
(like recalling an email). Should we make the API to support this kind
of "regrettable" behavior?

-Qiaobing

"Brian F. G. Bidulock" wrote:
> 
> Jacob,
> 
> Why?
> 
> On Tue, 26 Jun 2001, Jacob Heitz wrote:
> 
> > Please allow retrieval after abort.
> >
> > "Brian F. G. Bidulock" wrote:
> > >
> > > Jonathan,
> > >
> > > Why not do an orderly shutdown to retrieve unsent
> > > data?  I don't see where abort is more useful than
> > > orderly shutdown before retrieval.  SSCOP even allows
> > > retrieval *while* shutting down.
> > >
> > > --Brian
> > >
> > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > >
> > > >
> > > > Retrieving unsent data.
> > > >
> > > > It seems to me that we need this to make unsent retrieval
> > > > complete.
> > > >
> > > > I'm not crazy about it, however, so if you could convince
> > > > me that it really isn't useful, I'd be happy...
> > > >
> > > > > Jonathan,
> > > > >
> > > > > What is the need for this?  I just can't think of why
> > > > > an application would want to abort an association and
> > > > > leave a the socket open...
> > > > >
> > > > > --Brian
> > > > >
> > > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > > > >
> > > > > > In addition, we need a way to abort an association and still
> > > > > > leave an open socket descriptor. shutdown() cannot be twisted
> > > > > > to fill this requirement, so I propose including a MSG_ABORT
> > > > > > flag in sendmsg(), just as UDP-style sockets do now.
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> --
> 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


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


From tsvwg-admin@ietf.org  Tue Jun 26 18:32: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 SAA00918
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 18:32: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 SAA00247;
	Tue, 26 Jun 2001 18:23: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 SAA00215
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 18:23:16 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA29180
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 18:22:35 -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.11.3/8.9.1) with ESMTP id f5QMMpx03795;
	Tue, 26 Jun 2001 15:22:51 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-20.cisco.com [171.68.181.149])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJB00741 (AUTH rrs);
	Tue, 26 Jun 2001 15:22:23 -0700 (PDT)
Message-ID: <3B390B1C.B8297498@stewart.chicago.il.us>
Date: Tue, 26 Jun 2001 17:22:20 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
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: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <200106262138.OAA26536@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 Wood wrote:
> 
> >
> > > When an association closes (gracefully or non-gracefully),
> > > and the caller has enabled SCTP_SEND_FAILED events, the contents
> > > of the SCTP transmit queue will be returned to the caller. Section
> > > 5.3.1.4 defines the following flags for each returned message:
> > >
> > >     SCTP_DATA_INQUEUE - When this flag is indicated the
> > >                         data was never attempted to be
> > >                         sent. I.e. it was never assigned
> > >                         a TSN and sent onto the wire.
> >
> > Now looking at it, it seems that it is simpler to just say "the data
> > has never been sent."  "Attempted to be sent" can be confusing.  And
> > SCTP_DATA_INQUEUE may be confusing as data should be in the transmit
> > queue whether it has been sent or not.  Maybe we should change it
> > to SCTP_DATA_UNSENT?
> 
> I find this clearer.
> 

I too find this much crisper... 

> [snip]
> 
> > > We should also add a third flag:
> > >
> > >     SCTP_DATA_SACKED  - When this flag is indicated the
> > >                         data WAS assigned a TSN and sent
> > >                         at least once and was acknowleged
> > >                         in a gap report, but the cumulative
> > >                         TSN never passed it.
> >
> > Maybe Brian or other people familiar with the sigtran protocols
> > can comment on this.  Do we really need to separate the sack'ed
> > but not cumulatively ack'ed case?  The reason I ask is that the
> > receiver is free to discard sack'ed but not cumulatively ack'ed
> > data chunks.  And I believe it is better not talk about TSN in
> > the API draft.  It seems to me that making this distinction is
> > not that useful.  I maybe wrong.  I suggest we should include them
> > both as SCTP_DATA_SENT?  This has a easier to understand semantics
> > for app programmers without the need to understand SCTP fully.
> >
> 
> I admit the difference is slim. The only reason I suggested it
> was the maybe apps we haven't thought of yet might actually
> find it useful.
> 
> Jonathan, easily swayed on this one.
> 

I see no reason NOT to add the SACKED as well. The information is
there, you are already passing up chunk status.. why not
have it passed up as well.

R
-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Tue Jun 26 18:43: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 SAA02546
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 18:43: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 SAA29972;
	Tue, 26 Jun 2001 18:16:12 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA29906
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 18:16:08 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA28144
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 18:15:26 -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 QAA02773;
	Tue, 26 Jun 2001 16:16:04 -0600 (MDT)
Received: from sloth (dsl199-239.Eng.Sun.COM [129.146.199.239])
	by heliopolis.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id PAA27519;
	Tue, 26 Jun 2001 15:16:04 -0700 (PDT)
Message-Id: <200106262216.PAA27519@heliopolis.eng.sun.com>
Date: Tue, 26 Jun 2001 15:16:04 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: xieqb@cig.mot.com
Cc: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=ISO-8859-1
Content-MD5: xjHTqVmizRoITD8reABG3g==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc 
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by optimus.ietf.org id SAA29907
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 SAA29972
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id SAA02546


It's always hard to predict how apps will use a general
API, so answering this question is hard.

The only scenario I can think of now is if you don't
want to wait for a graceful shutdown attempt to time
out before trying another server. Remember that if the
peer is not responding, it could take minutes before
a shutdown attempt finally times out.

The main reason I proposed this was for completeness.
We can gracefully shutdown a connection with either close()
or shutdown(), and retrieve data after the latter. We can
abort an association with close(linger = 0), but there is
no matching interface to retrieve data.

Jonathan

> 
> Jacob and Jonathan,
> 
> Yes, why you want to do this?
> 
> I can see the usefulness of data retrieval in the case that the peer
> **unexpected** goes away (either crashed or becoming unreachable). In
> such a case, the local endpoint will first see a COMMUNICATION-LOST
> notification from the stack and then will do a data retrieval. This
> makes a lot of sense.
> 
> But it becomes less clear to me why you want to do an Abort primitive
> call down to the the stack and then retrieve the data. This situation is
> totally under your control and thus completely avoidable. This is like
> you regret what you have pushed down the stack and want to get it back
> (like recalling an email). Should we make the API to support this kind
> of "regrettable" behavior?
> 
> -Qiaobing
> 
> "Brian F. G. Bidulock" wrote:
> > 
> > Jacob,
> > 
> > Why?
> > 
> > On Tue, 26 Jun 2001, Jacob Heitz wrote:
> > 
> > > Please allow retrieval after abort.
> > >
> > > "Brian F. G. Bidulock" wrote:
> > > >
> > > > Jonathan,
> > > >
> > > > Why not do an orderly shutdown to retrieve unsent
> > > > data?  I don't see where abort is more useful than
> > > > orderly shutdown before retrieval.  SSCOP even allows
> > > > retrieval *while* shutting down.
> > > >
> > > > --Brian
> > > >
> > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > >
> > > > >
> > > > > Retrieving unsent data.
> > > > >
> > > > > It seems to me that we need this to make unsent retrieval
> > > > > complete.
> > > > >
> > > > > I'm not crazy about it, however, so if you could convince
> > > > > me that it really isn't useful, I'd be happy...
> > > > >
> > > > > > Jonathan,
> > > > > >
> > > > > > What is the need for this?  I just can't think of why
> > > > > > an application would want to abort an association and
> > > > > > leave a the socket open...
> > > > > >
> > > > > > --Brian
> > > > > >
> > > > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > > > > >
> > > > > > > In addition, we need a way to abort an association and still
> > > > > > > leave an open socket descriptor. shutdown() cannot be twisted
> > > > > > > to fill this requirement, so I propose including a MSG_ABORT
> > > > > > > flag in sendmsg(), just as UDP-style sockets do now.
> > >
> > > _______________________________________________
> > > tsvwg mailing list
> > > tsvwg@ietf.org
> > > http://www1.ietf.org/mailman/listinfo/tsvwg
> > 
> > --
> > 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
> 


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


From tsvwg-admin@ietf.org  Tue Jun 26 18:43: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 SAA02556
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 18:43: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 SAA29686;
	Tue, 26 Jun 2001 18:10: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 SAA29660
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 18:10:46 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA27213
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 18:10:05 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id PAA16370;
	Tue, 26 Jun 2001 15:09:50 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <NFPQP0JB>; Tue, 26 Jun 2001 15:09:11 -0700
Message-ID: <FFD40DB4943CD411876500508BAD0279029935D8@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: "'Black_David@emc.com'" <Black_David@emc.com>,
        Robert Snively
	 <rsnively@brocade.com>, tsvwg@ietf.org
Subject: RE: [Tsvwg] Another view of the SCTP error check problem
Date: Tue, 26 Jun 2001 15:09:03 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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

David,

My point is that even with CRC, you are some seven orders of
magnitude from a suitable reliability environment for
enterprise storage applications.  You will be depending
on some combination of lower level checks and higher level
checks to achieve your goals.  SCTP, with CRC or with
a decent sum check, will not meet the requirements.

In iSCSI you have recognized that problem and provided additional
checking at the higher level.

Bob

>  -----Original Message-----
>  From: Black_David@emc.com [mailto:Black_David@emc.com]
>  Sent: Tuesday, June 26, 2001 6:52 AM
>  To: rsnively@brocade.com; tsvwg@ietf.org
>  Subject: RE: [Tsvwg] Another view of the SCTP error check problem
>  
>  
>  > Some of the answers are pretty obvious.  
>  > 
>  > 1) Any product that you have some chance of selling in
>  >    an enterprise environment will have an error rate through
>  >    all hops some seven orders of magnitude better than an 
>  >    ungroomed campus internet link.  
>  > 
>  > 2) Checking will be required at lower levels to achieve that
>  >    improvement, not so much to correct errors, but to isolate
>  >    devices and links that need to be replaced because they
>  >    are throwing too many errors.  That checking
>  >    will be included both in the links and in the boxes.
>  > 
>  > 3) Any application that really cares won't trust even those
>  >    probabilities and will provide additional verification at the
>  >    application level, principally to identify suspect
>  >    links and systems that have failed to perform their checks
>  >    correctly.
>  > 
>  > Once you have accepted the three answers above, why is
>  > CRC any better than a TCP-like 32-bit sum?
>  
>  Unfortunately, all three answers are debatable and probably wrong:
>  
>  (1) We care about environments other than the enterprise environment.
>  (2) Not all links can be relied upon to have that level of 
>  error detection.
>  (3) Application level checks should be a last resort for two reasons.
>  	a) The transport's retransmit algorithm is better engineered and
>  		more efficient - it should be the primary retransmit
>  algorithm,
>  		and leads to better network behavior when it is.
>  	b) If the transport can be relied upon to have a 
>  sufficient level of
>  		error detection underlying its retransmit, 
>  applications can
>  be
>  		significantly simpler.  If the response to the 
>  check failing
>  		can be designed under a worst-case assumption that the
>  		check will essentially never fail, then simple 
>  brute-force
>  		mechanisms (e.g., close the connection, try 
>  again) are ok,
>  		and lousy performance is acceptable.  Otherwise the
>  		response to a failed check has to be designed under a
>  		common-case assumption that its performance matters,
>  		and the result can be significantly more complex.
>  
>  Beyond this, we know that the existing Adler-32 checksum
>  is broken for short packets, and there's an overwhelming
>  need for the fix to this to be permanent.  I would suggest
>  that this need for permanence significantly outweighs
>  the risk/costs of a CRC being overkill - based on the
>  respective track records of CRCs and checksums, a CRC
>  is the obvious choice to make sure that we never
>  have to revisit this issue again.  The computational
>  overhead argument against CRCs has been refuted on
>  this list, so I fail to see any compelling technical
>  objection to use of CRCs that remains.
>  
>  IMHO, we can put a CRC in now and put this problem behind
>  us, or continue to debate the merits of various forms of
>  checksums to SCTP's detriment.
>  
>  --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
>  ---------------------------------------------------
>  
>  

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


From tsvwg-admin@ietf.org  Tue Jun 26 18:54: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 SAA04704
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 18:54: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 SAA00981;
	Tue, 26 Jun 2001 18: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 SAA00954
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 18:36:42 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA01339
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 18:36:01 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA15956;
	Tue, 26 Jun 2001 15:36:41 -0700 (PDT)
Received: from shield (shield.EBay.Sun.COM [129.150.113.84])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id PAA04082;
	Tue, 26 Jun 2001 15:36:40 -0700 (PDT)
Date: Tue, 26 Jun 2001 15:36:23 -0700 (PDT)
From: Kacheong Poon <kcpoon@eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@eng.sun.com>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: sigtran@standards.nortelnetworks.com, tsvwg@ietf.org
In-Reply-To: "Your message with ID" <LYRIS-2249-7413-2001.06.26-18.24.28--Kacheong.Poon#ENG.SUN.COM@lyris.nortelnetworks.com>
Message-ID: <Roam.SIMC.2.0.6.993594983.18407.kcpoon@eng.sun.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

> > > Maybe Brian or other people familiar with the sigtran protocols
> > > can comment on this.  Do we really need to separate the sack'ed
> > > but not cumulatively ack'ed case?  The reason I ask is that the
> > > receiver is free to discard sack'ed but not cumulatively ack'ed
> > > data chunks.  And I believe it is better not talk about TSN in
> > > the API draft.  It seems to me that making this distinction is
> > > not that useful.  I maybe wrong.  I suggest we should include them
> > > both as SCTP_DATA_SENT?  This has a easier to understand semantics
> > > for app programmers without the need to understand SCTP fully.
> > >
> > 
> > I admit the difference is slim. The only reason I suggested it
> > was the maybe apps we haven't thought of yet might actually
> > find it useful.
> > 
> > Jonathan, easily swayed on this one.
> > 
> 
> I see no reason NOT to add the SACKED as well. The information is
> there, you are already passing up chunk status.. why not
> have it passed up as well.

The main reason I think is that it is a good idea not to expose protocol
details to apps if possible.  And as I pointed out previously, something
sack'ed really does not mean much.  Data can be discarded or data
may not be able to be delivered to the app because of ordering issue.
So this is kind of ambiguous.  Brian and other have pointed out that
there is an app level control to deal with this ambiguity if an app 
chooses to do this retrieval.  I don't see why we need to complicate
the API for the little ambiguous info.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Tue Jun 26 20:54: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 UAA29763
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 20:54: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 UAA04245;
	Tue, 26 Jun 2001 20:30:09 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id UAA04207
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 20:30:07 -0400 (EDT)
Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA23882
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 20:29:27 -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.11.3/8.9.1) with ESMTP id f5R0RwH00574;
	Tue, 26 Jun 2001 17:27:59 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-107.cisco.com [171.68.181.236])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJC03470 (AUTH rrs);
	Tue, 26 Jun 2001 17:29:31 -0700 (PDT)
Message-ID: <3B3928E8.55735497@stewart.chicago.il.us>
Date: Tue, 26 Jun 2001 19:29:28 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
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: bidulock@openss7.org, Jacob Heitz <jheitz@lucent.com>,
        Jonathan Wood <Jonathan.Wood@Sun.COM>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <200106260524.WAA06877@heliopolis.eng.sun.com> <20010626011545.G4437@piglet> <3B38A706.AEC7352F@lucent.com> <20010626113130.C26714@piglet> <200106262204.RAA26870@agevole.cig.mot.com>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by sj-msg-core-3.cisco.com id f5R0RwH00574
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id UAA04208
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 UAA04245
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id UAA29763

Hmmm,

I was thinking on the case where you receive
the abort.. but I guess it is really the case you
illustrate..  which is already covered..

R

Qiaobing Xie wrote:
> 
> Jacob and Jonathan,
> 
> Yes, why you want to do this?
> 
> I can see the usefulness of data retrieval in the case that the peer
> **unexpected** goes away (either crashed or becoming unreachable). In
> such a case, the local endpoint will first see a COMMUNICATION-LOST
> notification from the stack and then will do a data retrieval. This
> makes a lot of sense.
> 
> But it becomes less clear to me why you want to do an Abort primitive
> call down to the the stack and then retrieve the data. This situation is
> totally under your control and thus completely avoidable. This is like
> you regret what you have pushed down the stack and want to get it back
> (like recalling an email). Should we make the API to support this kind
> of "regrettable" behavior?
> 
> -Qiaobing
> 
> "Brian F. G. Bidulock" wrote:
> >
> > Jacob,
> >
> > Why?
> >
> > On Tue, 26 Jun 2001, Jacob Heitz wrote:
> >
> > > Please allow retrieval after abort.
> > >
> > > "Brian F. G. Bidulock" wrote:
> > > >
> > > > Jonathan,
> > > >
> > > > Why not do an orderly shutdown to retrieve unsent
> > > > data?  I don't see where abort is more useful than
> > > > orderly shutdown before retrieval.  SSCOP even allows
> > > > retrieval *while* shutting down.
> > > >
> > > > --Brian
> > > >
> > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > >
> > > > >
> > > > > Retrieving unsent data.
> > > > >
> > > > > It seems to me that we need this to make unsent retrieval
> > > > > complete.
> > > > >
> > > > > I'm not crazy about it, however, so if you could convince
> > > > > me that it really isn't useful, I'd be happy...
> > > > >
> > > > > > Jonathan,
> > > > > >
> > > > > > What is the need for this?  I just can't think of why
> > > > > > an application would want to abort an association and
> > > > > > leave a the socket open...
> > > > > >
> > > > > > --Brian
> > > > > >
> > > > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > > > > >
> > > > > > > In addition, we need a way to abort an association and still
> > > > > > > leave an open socket descriptor. shutdown() cannot be twisted
> > > > > > > to fill this requirement, so I propose including a MSG_ABORT
> > > > > > > flag in sendmsg(), just as UDP-style sockets do now.
> > >
> > > _______________________________________________
> > > tsvwg mailing list
> > > tsvwg@ietf.org
> > > http://www1.ietf.org/mailman/listinfo/tsvwg
> >
> > --
> > 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
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Tue Jun 26 22:34: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 WAA03437
	for <tsvwg-archive@odin.ietf.org>; Tue, 26 Jun 2001 22:34: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 WAA07498;
	Tue, 26 Jun 2001 22:16: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 WAA07470
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 22:16:40 -0400 (EDT)
Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id WAA25942
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 22:15:59 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust129.tnt1.las-cruces.nm.da.uu.net [63.30.40.129])
	by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id TAA19949;
	Tue, 26 Jun 2001 19:16:35 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5R2AUB19007;
	Tue, 26 Jun 2001 21:10:30 -0500
Date: Tue, 26 Jun 2001 21:10:30 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Kacheong Poon <kcpoon@eng.sun.com>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
Message-ID: <20010626211030.A14708@piglet>
Reply-To: bidulock@openss7.org
References: <LYRIS-2249-7413-2001.06.26-18.24.28--Kacheong.Poon#ENG.SUN.COM@lyris.nortelnetworks.com> <Roam.SIMC.2.0.6.993594983.18407.kcpoon@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <Roam.SIMC.2.0.6.993594983.18407.kcpoon@eng.sun.com>; from kcpoon@eng.sun.com on Tue, Jun 26, 2001 at 03:36:23PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

Kacheong Poon wrote:                          (Tue, 26 Jun 2001 15:36:23)
> > > > Maybe Brian or other people familiar with the sigtran protocols
> > > > can comment on this.  Do we really need to separate the sack'ed
> > > > but not cumulatively ack'ed case?  The reason I ask is that the
> > > > receiver is free to discard sack'ed but not cumulatively ack'ed
> > > > data chunks.  And I believe it is better not talk about TSN in
> > > > the API draft.  It seems to me that making this distinction is
> > > > not that useful.  I maybe wrong.  I suggest we should include them
> > > > both as SCTP_DATA_SENT?  This has a easier to understand semantics
> > > > for app programmers without the need to understand SCTP fully.
> > > >
> > > 
> > > I admit the difference is slim. The only reason I suggested it
> > > was the maybe apps we haven't thought of yet might actually
> > > find it useful.
> > > 
> > > Jonathan, easily swayed on this one.
> > > 
> > 
> > I see no reason NOT to add the SACKED as well. The information is
> > there, you are already passing up chunk status.. why not
> > have it passed up as well.
> 
> The main reason I think is that it is a good idea not to expose protocol
> details to apps if possible.  And as I pointed out previously, something
> sack'ed really does not mean much.  Data can be discarded or data
> may not be able to be delivered to the app because of ordering issue.
> So this is kind of ambiguous.  Brian and other have pointed out that
> there is an app level control to deal with this ambiguity if an app 
> chooses to do this retrieval.  I don't see why we need to complicate
> the API for the little ambiguous info.

Well its a little late to start stopping the exposing protocol details.

It may, unfortunately, be necessary for some application to know which
messages may have been delivered to the user on the other side.  With
multiple streams the only way to determine this at present is to check
which sacked messages contain contiguous SSNs for the streams in question.
Also, an application may want to do retrieval for some streams but not
for others.  I don't know how to provide this information across a
socket API without exposing some SCTP protocol details.

--Brian

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Wed Jun 27 00:05: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 AAA08426
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 00:05:27 -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 XAA09792;
	Tue, 26 Jun 2001 23:51: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 XAA09763
	for <tsvwg@ns.ietf.org>; Tue, 26 Jun 2001 23:51:34 -0400 (EDT)
Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id XAA02165
	for <tsvwg@ietf.org>; Tue, 26 Jun 2001 23:50:52 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust157.tnt2.las-cruces.nm.da.uu.net [63.38.196.157])
	by snipe.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id UAA06033;
	Tue, 26 Jun 2001 20:51:25 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5R3jv721942;
	Tue, 26 Jun 2001 22:45:57 -0500
Date: Tue, 26 Jun 2001 22:45:57 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Kacheong Poon <kcpoon@eng.sun.com>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010626224557.B14708@piglet>
Reply-To: bidulock@openss7.org
References: <20010626115504.D26714@piglet> <Roam.SIMC.2.0.6.993581220.13328.kcpoon@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <Roam.SIMC.2.0.6.993581220.13328.kcpoon@eng.sun.com>; from kcpoon@eng.sun.com on Tue, Jun 26, 2001 at 11:47:00AM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

On Tue, 26 Jun 2001, Kacheong Poon wrote:

> > Then retrieval *during* abort or shutdown should
> > also be added to complete the implementation. 
> > This would permit operation at least equivalent to 
> > SSCOP.  I can hardly wait to see how that is
> > shoe-horned into the sockets API.  I don't believe
> > that the sockets API even provides a mechanism for
> > reseting a TCP connection under user whim.
> 
> Brian, can you explain what you meant by "during" abort or
> shutdown?  After the app uses sendmsg() to abort the association,
> it is considered done in the local host.  SCTP stack will send
> the ABORT immediately.  The proposed change is to allow the
> app to retrieve unsent data.  Suppose the app uses shutdown(SHUT_WR)
> to shutdown an association.  The proposed change is to allow the
> app to continue to receive data.  Is your "during" related to the
> app level protocol?
> 
> BTW, to reset a TCP connection, just set SO_LINGER value to 0
> and then do a close().  The connection will be reset immediately.
> 

Well, SSCOP (which is used for MTP3b) which has retrieval built into
the protocol and an orderly shutdown, allows retrieval after sending
a disconnect command (END) but before receiving a disconnect
acknowledgement (ENDAK).  This is roughly equivalent to allowing
retrieval after SCTP sends SHUTDOWN but before it receives SHUTDOWN
ACK.

I think that it could make sense to allow the app to request the
delivery of messages after shutdown(fd, SHUT_WR), but not actually
deliver them up until after SCTP has sent SHUTDOWN or SHUTDOWN-ACK.
Then there may be no need to try to do this ABORT thing to retrieve
messages quickly.

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Wed Jun 27 00:20: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 AAA15139
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 00:20: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 AAA10273;
	Wed, 27 Jun 2001 00:01: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 AAA10242
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 00:01:43 -0400 (EDT)
Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id AAA06389
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 00:01:02 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust173.tnt2.las-cruces.nm.da.uu.net [63.38.196.173])
	by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id VAA29811;
	Tue, 26 Jun 2001 21:01:36 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5R3wg222248;
	Tue, 26 Jun 2001 22:58:42 -0500
Date: Tue, 26 Jun 2001 22:58:42 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: xieqb@cig.mot.com, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010626225842.C14708@piglet>
Reply-To: bidulock@openss7.org
References: <200106262216.PAA27519@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200106262216.PAA27519@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Tue, Jun 26, 2001 at 03:16:04PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by gull.mail.pas.earthlink.net id VAA29811
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id AAA10243
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 AAA10273
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id AAA15139

Jonathan,

I would make sense to permit retrieval once SCTP has sent
SHUTDOWN or even once shutdown(fd, SHUT_WR) has been
performed and not wait until shutdown completes.  ABORTing
an association under user control is fairly brutal and
may expose too much protocol specific behavior to the
application.  close() with linger=0 is fairly specific
app behavior: it says "I'm going away now and don't wait
around".

Because retrieval is so SS7 related, I can't imagine what
other application other than SIGTRAN UAs would want to
use retrieval.  Within SS7, (as evidenced by SSCOP), there
is no case where the SSCF aborts a connection and then
performs retrieval.  The connection can only abort due
to an error detected by SSCOP or on receipt of an error
PDU from the peer.  Otherwise, the SSCF performs an
orderly shutdown and then goes about retrieving messages.

Would you say that SSCOP is not complete?

--Brian

On Tue, 26 Jun 2001, Jonathan Wood wrote:

> 
> It's always hard to predict how apps will use a general
> API, so answering this question is hard.
> 
> The only scenario I can think of now is if you don't
> want to wait for a graceful shutdown attempt to time
> out before trying another server. Remember that if the
> peer is not responding, it could take minutes before
> a shutdown attempt finally times out.
> 
> The main reason I proposed this was for completeness.
> We can gracefully shutdown a connection with either close()
> or shutdown(), and retrieve data after the latter. We can
> abort an association with close(linger = 0), but there is
> no matching interface to retrieve data.
> 
> Jonathan
> 
> > 
> > Jacob and Jonathan,
> > 
> > Yes, why you want to do this?
> > 
> > I can see the usefulness of data retrieval in the case that the peer
> > **unexpected** goes away (either crashed or becoming unreachable). In
> > such a case, the local endpoint will first see a COMMUNICATION-LOST
> > notification from the stack and then will do a data retrieval. This
> > makes a lot of sense.
> > 
> > But it becomes less clear to me why you want to do an Abort primitive
> > call down to the the stack and then retrieve the data. This situation is
> > totally under your control and thus completely avoidable. This is like
> > you regret what you have pushed down the stack and want to get it back
> > (like recalling an email). Should we make the API to support this kind
> > of "regrettable" behavior?
> > 
> > -Qiaobing
> > 
> > "Brian F. G. Bidulock" wrote:
> > > 
> > > Jacob,
> > > 
> > > Why?
> > > 
> > > On Tue, 26 Jun 2001, Jacob Heitz wrote:
> > > 
> > > > Please allow retrieval after abort.
> > > >
> > > > "Brian F. G. Bidulock" wrote:
> > > > >
> > > > > Jonathan,
> > > > >
> > > > > Why not do an orderly shutdown to retrieve unsent
> > > > > data?  I don't see where abort is more useful than
> > > > > orderly shutdown before retrieval.  SSCOP even allows
> > > > > retrieval *while* shutting down.
> > > > >
> > > > > --Brian
> > > > >
> > > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > > >
> > > > > >
> > > > > > Retrieving unsent data.
> > > > > >
> > > > > > It seems to me that we need this to make unsent retrieval
> > > > > > complete.
> > > > > >
> > > > > > I'm not crazy about it, however, so if you could convince
> > > > > > me that it really isn't useful, I'd be happy...
> > > > > >
> > > > > > > Jonathan,
> > > > > > >
> > > > > > > What is the need for this?  I just can't think of why
> > > > > > > an application would want to abort an association and
> > > > > > > leave a the socket open...
> > > > > > >
> > > > > > > --Brian
> > > > > > >
> > > > > > > On Mon, 25 Jun 2001, Jonathan Wood wrote:
> > > > > > > >
> > > > > > > > In addition, we need a way to abort an association and still
> > > > > > > > leave an open socket descriptor. shutdown() cannot be twisted
> > > > > > > > to fill this requirement, so I propose including a MSG_ABORT
> > > > > > > > flag in sendmsg(), just as UDP-style sockets do now.
> > > >
> > > > _______________________________________________
> > > > tsvwg mailing list
> > > > tsvwg@ietf.org
> > > > http://www1.ietf.org/mailman/listinfo/tsvwg
> > > 
> > > --
> > > 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
> > 
> 
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
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 Jun 27 04:03: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 EAA16430
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 04:03:42 -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 DAA24649;
	Wed, 27 Jun 2001 03:32: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 DAA24582
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 03:32:15 -0400 (EDT)
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA28529
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 03:31:34 -0400 (EDT)
From: john.loughney@nokia.com
Received: from esvir02nok.nokia.com (esvir02nokt.ntc.nokia.com [172.21.143.34])
	by mgw-x2.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5R7WS305473
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 10:32:29 +0300 (EET DST)
Received: from esebh25nok.ntc.nokia.com (unverified) by esvir02nok.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T5465d85a87ac158f22077@esvir02nok.nokia.com> for <tsvwg@ietf.org>;
 Wed, 27 Jun 2001 10:32:10 +0300
Received: by esebh25nok with Internet Mail Service (5.5.2652.78)
	id <MV1LZ8W0>; Wed, 27 Jun 2001 10:32:10 +0300
Message-ID: <01D91AFB08B6D211BFD00008C7EABAE10680B1BF@eseis04nok>
To: tsvwg@ietf.org
Date: Wed, 27 Jun 2001 10:32:07 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
	charset="iso-2022-jp"
Subject: [Tsvwg] IPv6 scope & SCTP (FW from IPNGWG: summary of discussions about t
 he semantics of sin6_scope_id)
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 all,

This mail comes from the IPNGWG.  I think that this is quite relevant to
the IPv6 discussions with respect to SCTP.  It is possible that IPv6
addresses escape their scope in INIT & INIT-ACK messages.  Therefore,
I imagine that most implementations will need to examine the sin6_scope_id
in order to make sure that any recieved addresses are correct in scope.

I favor option B listed below. It would be good to get some comments on
this.

best regards,
John

> -----Original Message-----
> From: jinmei@isl.rdc.toshiba.co.jp 
> [mailto:jinmei@isl.rdc.toshiba.co.jp]
> 
> Sent: June 26, 2001 21:08
> To: ipng@sunroof.eng.sun.com
> Subject: summary of discussions about the semantics of sin6_scope_id
> 
> 
> The following is a summary of discussions about the semantics of
> sin6_scope_id (aka flat 32 vs 4+28 split issue) we have had in the API
> list.  Since some of key members of this issue are (accidentally) not
> on the list, I think this list is the best place to get a consensus.
> 
> Please note that the text below is not the conclusion, but just a
> memo.  I'd like to hear from others about the issues on this list
> based on the memo, discuss further if necessary, and try to get a
> consensus hopefully in a week or so.  Then the result will (probably)
> be in the next revision of the scope architecture draft.
> 
> In the following memo, I'll first show you definitions of the
> semantics, which will fall into 3 categories.  I'll then describe (a
> summary of) opinions about each definition that I've heard in the
> discussions.  I tried to be fair when describing them, but if I was
> wrong on some points or I missed something, please point it out.
> 
> DEFINITIONS
> 
> We have seen 3 definitions of semantics.  I call them
> (A) the flat 32
> (B) the strict 4+28 split
> (C) the flexible 4+28 split
> respectively.
> 
> (A) The flat 32 uses the whole space (i.e. 32 bits) per scope.  The
> uniqueness of IDs are only ensured in a single scope.
> 
> Both (B) and (C) embed a scope type (4 bits) into the ID space.  IDs
> in a particular scope is specified by the remaining 28 bits.  And the
> 28-bit ID for a particular zone must also be unique in the scope.
> We can choose the 28-bit ID for a particular zone in any way, but
> Francis showed a concrete example: the interface index of a particular
> interface that belongs to the zone.  I'll use this definition in the
> following examples, with the smallest interface index in the zone as
> the particular one.
> 
> The only difference between (B) and (C) is about the usage.  In "the
> strict strip",
> - if an ID is given with a (non-unspecified) address, the ID must be
>   in the same scope type as the address in any context (including in a
>   sockaddr_in6 structure).
> - even if the accompanying address is unspecified, we do not allow a
>   non-zero ID for specifying a particular (or any) zone of a 
> particular
>   scope type.
> 
> "The flexible split", on the other hand, does not have any such
> restriction; we allow any combination of a (scoped) address and a zone
> ID, provided that the scope type of the ID is equal to or smaller than
> the scope type of the address.
> 
> Examples.
> 
> The following topology is described in the scope architecture draft.
> 
>       --------------------------------------------------------------- 
>      | a node                                                         | 
>      |                                                                | 
>      |                                                                | 
>      |                                                                  | 
>      |                                                                | 
>      |                                                                | 
>      |  /--------------------site1--------------------\  /--site2--\  | 
>      |                                                                  | 
>      |  /--link1--\ /--------link2--------\ /--link3--\  /--link4--\  | 
>      |                                                                | 
>      |  /--intf1--\ /--intf2--\ /--intf3--\ /--intf4--\  /--intf5--\  | 
>       --------------------------------------------------------------- 
>              :           |           |           |           | 
>              :           |           |           |           | 
>              :           |           |           |           | 
>          (imaginary    =================      a point-       a 
>           loopback        an Ethernet         to-point     tunnel 
>             link)                               link 
> 
> A) Using the "flat 32", the zone indices are as follows:
> 
>   ID(intf1) = 1, ID(intf2) = 2, ..., ID(intf5) = 5
>   ID(link1) = 1, ID(link2) = 2, ..., ID(link4) = 4
>   ID(site1) = 1, ID(site2) = 2
> 
> where ID(x) means the zone identifier for the zone "x".
> 
> B&C) Using the strict/flexible 4+28 split, the zone indices are
> 
>   ID(intf1) = 0x10000001, ID(intf2) = 0x10000002, ..., 
> ID(intf5) = 0x10000005
>   ID(link1) = 0x20000001, ID(link2) = 0x20000002,
>       ID(link3) = 0x20000004, ID(link4) = 0x20000005
>   ID(site1) = 0x50000001, ID(site2) = 0x50000005
> 
> (assuming scope types like the "scop" field for multicast addresses.)
> 
> And, if we take (B), the strict 4+28 split, then
>   if we have a sockaddr_in6 structure, whose sin6_addr member is
>   "fec0::1234", then its sin6_scope_id must be in the site scope, like
>   0x50000001.
>   if we have a sockaddr_in6 structure, whose sin6_addr member is
>   in6addr_any, then its sin6_scope_id must be 0.
> 
> If we take (C), the flexible split, then
>   if we have a sockaddr_in6 structure, whose sin6_addr member is
>   "fec0::1234", then the scope type of its sin6_scope_id can be any
>   scope which is equal to or smaller than the site scope.
>   if we have a sockaddr_in6 structure, whose sin6_addr member is
>   in6addr_any, the the sin6_scope_id is in any type of scope.
> 
> Example usages of the flexibility are:
> 
>   1) binding to "any interface in a given scope zone".  This 
> would mean,
>      when sa.sin6_addr = unspecified, and sa.sin6_scope_id = 
> 0x50000001,
>      then bind(&sa) specifies the kernel to accept any packet 
> arrived at
>      the interface which belongs to the site zone 1.
>   2) when sa.sin6_addr = fec0::1234, and sa.sin6_scope_id =
>      0x20000002, then sendto(&sa) specifies the kernel to send the
>      corresponding packet to one of the interfaces in the link zone 2.
>   3) allow IPV6_MULTICAST_IF (and IPV6_JOIN_GROUP) to use a scope
>      id rather than just an ifindex, to let the stack choose the
>      best interface in a given scope zone, similar to passing
>      0 today.  
> 
> OPINIONS
> 
> Opinions from those who support A (including Steve and I):
> 
> A-1 It provides backward compatibility to existing 
> implementations that
>     use interface indices as link indices, assuming one-to-one mapping
>     between interfaces and links.
> A-2 There is no chance of misusages such as specifying a site zone ID
>     for a link-local address.
> A-3 Since the IDs are typically specified with a (non-unspecified)
>     address, like in the sockaddr_in6 structure, and the accompanying
>     address itself provides the appropriate scope type, the strict
>     split does not have much merit.  We'd rather keep it "simple" to
>     avoid misconfiguration described in A-2.
> A-4 The flexible split would make comparison of two scoped addresses
>     (in a same scope type) more complicated; we may have a
>     chance to compare {sin6_addr = fec0::1234, sin6_scope_id =
>     0x50000001} and {sin6_addr = fec0::1234, sin6_scope_id = 
> 0x20000002}
>     which may or may not specify a same single node, and we can't just
>     compare the scope ID part by a "simple" operator '='.
> A-5 It would be the most readable, especially when we use 
> digit integers
>     for IDs, as specified in the current scope architecture draft.
>     (e.g. recall the fact that 0x50000001 = 1342177281).  Even if we
>     allow hex integers or a dotted notation like 5.1, the flat ID
>     would still be the most readable, and we'll see some situations
>     that we want to type the ID itself, not an alias name of the ID,
>     in some configuration files or something.
> A-6 We've never seen realistic examples of the flexibility that the
>     flexible split would provide.  On the other hand, we will see (or
>     even have seen) some situations where we just want to disambigute
>     scoped addresses (with the same scope type of the address).  We
>     should implement the "advanced" flexibility in a kind of advanced
>     API, not using a part of the basic API; sin6_scope_id.
> 
> (Note: I'm probably biased, and might not be fair, in this section.  I
> have to say that some people pointed out that some of the points were
> just a matter of taste, and some points did not provide much
> difference.  Also, please make additions in the items below, and
> corrections to the items above.)
> 
> Opinions from those who support B (including Francis and Vlad - please
> add if I miss anyone):
> 
> B-1 It provides global uniqueness.
> B-2 It provides zone IDs by themselves.
> B-3 It has no possible conflict with the interface index space.
> B-4 As for the readability, we should change the current definition,
>     so that hex integers or the dotted notation would be allowed.
> B-5 It can provide the backward compatibility described in 
> A-2 above and
>     the readability in A-5, by specifying that the scope type 0 means
>     the same scope type of the corresponding address (assuming a non
>     unspecified address is given).
> B-6 the flexibility that the flexible split would provide is a "too
>     much" or "too clever" stuff, and should not be in the basic API
>     (basically the same argument as A-6 above)
> 
> Opinions from those who support C (including Dave and Markku - please
> add if I miss anyone):
> 
> C-1: the same benefits as B-1 to B-3 are applied to C.
> C-2: the same argument as B-4 as for the readability.
> C-3: the example usages described in "Example usages of the
>      flexibility" above really benefits of this approach.
> C-4: we should not add API knobs to implement the flexibility, because
>      it would confuse the users.
> 
> 					JINMEI, Tatuya
> 					Communication Platform Lab.
> 					Corporate R&D Center, 
> Toshiba Corp.
> 					jinmei@isl.rdc.toshiba.co.jp
> --------------------------------------------------------------------
> IETF IPng Working Group Mailing List
> IPng Home Page:                      http://playground.sun.com/ipng
> FTP archive:                      ftp://playground.sun.com/pub/ipng
> Direct all administrative requests to majordomo@sunroof.eng.sun.com
> --------------------------------------------------------------------
> 

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


From tsvwg-admin@ietf.org  Wed Jun 27 06:20: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 GAA28584
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 06:20: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 FAA00239;
	Wed, 27 Jun 2001 05:56: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 FAA00206
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 05:56:07 -0400 (EDT)
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id FAA13464
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 05:55:26 -0400 (EDT)
From: Ivan.Arias-Rodriguez@nokia.com
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5R9tA901903
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 12:55:10 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T54665c144bac158f210ef@esvir01nok.ntc.nokia.com>;
 Wed, 27 Jun 2001 12:56:03 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1BKW3J>; Wed, 27 Jun 2001 12:56:03 +0300
Message-ID: <7238A5BA4C7C7F4DA40EC7525B364BA404713E@esebe002.NOE.Nokia.com>
To: bidulock@openss7.org, kcpoon@eng.sun.com
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] sctpsocket: Returning unsent messages
Date: Wed, 27 Jun 2001 12:55:54 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id FAA00207
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 FAA00239
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id GAA28584

> > > I see no reason NOT to add the SACKED as well. The information is
> > > there, you are already passing up chunk status.. why not
> > > have it passed up as well.
> > 
> > The main reason I think is that it is a good idea not to 
> expose protocol
> > details to apps if possible.  And as I pointed out 
> previously, something
> > sack'ed really does not mean much.  Data can be discarded or data
> > may not be able to be delivered to the app because of 
> ordering issue.
> > So this is kind of ambiguous.  Brian and other have pointed out that
> > there is an app level control to deal with this ambiguity if an app 
> > chooses to do this retrieval.  I don't see why we need to complicate
> > the API for the little ambiguous info.
> 
> Well its a little late to start stopping the exposing 
> protocol details.
> 
> It may, unfortunately, be necessary for some application to know which
> messages may have been delivered to the user on the other side.  With
> multiple streams the only way to determine this at present is to check
> which sacked messages contain contiguous SSNs for the streams 
> in question.
> Also, an application may want to do retrieval for some streams but not
> for others.  I don't know how to provide this information across a
> socket API without exposing some SCTP protocol details.

	I think that's the main difference... First of all, you only keep
the acknowledged chunks that have been SACKED (the others have been erased
already). But I guess that it could be a better (and somewhat more
complicated) information to give not just if the TSN has been SACKED, or
not, but if it has been delivered to the peer (unless the peer specifically
refused it), as Brian says, depending on its SSN.

	For me there isn't that big difference between not acknowledged TSNs
and acknowledged TSNs that are ordered but couldn't be passed to the peer's
upper user because not all the TSNs of its SSN arrived, or any other
previous SSN wasn't delivered for this same reason... of course, on a per
stream basis.

	BR Iván Arias Rodríguez

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


From tsvwg-admin@ietf.org  Wed Jun 27 06:23:29 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 GAA00199
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 06:23:29 -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 GAA00970;
	Wed, 27 Jun 2001 06:12: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 GAA00938
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 06:12:29 -0400 (EDT)
Received: from beamer.mchh.siemens.de (beamer.mchh.siemens.de [194.138.158.163])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA22754
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 06:11:47 -0400 (EDT)
Received: from moody.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.226])
	by beamer.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id MAA02570;
	Wed, 27 Jun 2001 12:12:25 +0200 (MET DST)
Received: from mchh273e.demchh201e.icn.siemens.de ([139.21.200.83])
	by moody.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id MAA09634;
	Wed, 27 Jun 2001 12:12:24 +0200 (MET DST)
Received: by MCHH273E with Internet Mail Service (5.5.2653.19)
	id <JWJ24N25>; Wed, 27 Jun 2001 12:12:24 +0200
Message-ID: <F92978223B01D311ACFF0008C71EE19D015DF4A2@MCHH225E>
From: Tuexen Michael <Michael.Tuexen@icn.siemens.de>
To: "'Fairlie-Cuninghame, Robert'" <rfairlie@nuera.com>,
        Tuexen Michael
	 <Michael.Tuexen@icn.siemens.de>,
        "'ajung@exp-math.uni-essen.de'"
	 <ajung@exp-math.uni-essen.de>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
Date: Wed, 27 Jun 2001 12:12:22 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
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

Dear Robert,

SCTP provides the support of the multiple streams to avoid head of line blocking. We thought that this feature should also be available to the
(TLS/SCTP)-user.

We also wanted to keep TLS as it is. TLS needs a guaranteed and in sequence
delivery service from its lower layer. This service is provided by a stream,
but NOT by an assocaition. So a connection maps to a bi directional stream.

We also thought about having only one connection for an association (with
multiple streams) but this needs some changes/adaptions of TLS. So we decided
to use the simpler solution unless we see the need for the more complex one.

Best regards
Michael

Michael Tuexen    Tel.:   +49 89 722 47210
Siemens AG        Fax:    +49 89 722 48212
ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de

> -----Original Message-----
> From:	Fairlie-Cuninghame, Robert [SMTP:rfairlie@nuera.com]
> Sent:	Wednesday, June 27, 2001 12:03 PM
> To:	'Michael.Tuexen@icn.siemens.de'; 'ajung@exp-math.uni-essen.de'
> Cc:	tsvwg@ietf.org
> Subject:	RE: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
> 
> Hi Michael & Andreas, 
> 
> Why was the decision made to map each TLS connection  to an SCTP stream to a rather than an SCTP association? To me this would seem to be the natural overlay of TLS onto SCTP. I'm not very familiar with the workings of TLS, is there a technical problem in doing this ? 
> 
> Regards, 
> 
> Robert. 
> 
> -----Original Message----- 
> From:   Internet-Drafts@ietf.org [ <mailto:Internet-Drafts@ietf.org>] 
> Sent:   Tuesday, June 26, 2001 12:02 PM 
> Cc:     tsvwg@ietf.org 
> Subject:        [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt 
> 
>  << Message:  >> A New Internet-Draft is available from the on-line Internet-Drafts directories. 
> 
> 
>         Title           : TLS over SCTP 
>         Author(s)       : M. Tuexen, A. Jungmaier 
>         Filename        : draft-tuexen-tsvwg-tls-over-sctp-00.txt 
>         Pages           : 6 
>         Date            : 25-Jun-01 
>         
> This document describes the usage of the Transport Layer Security (TLS) 
> protocol, as defined in [RFC2246], over the Stream Control Transmission 
> Protocol (SCTP), as defined in [RFC2960]. 
> 
> A URL for this Internet-Draft is: 
> <http://www.ietf.org/internet-drafts/draft-tuexen-tsvwg-tls-over-sctp-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-tuexen-tsvwg-tls-over-sctp-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-tuexen-tsvwg-tls-over-sctp-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. 
> 

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


From tsvwg-admin@ietf.org  Wed Jun 27 06:24: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 GAA00687
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 06:24: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 GAA00662;
	Wed, 27 Jun 2001 06:03: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 GAA00631
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 06:03:21 -0400 (EDT)
Received: from exchange1.nuera.com (igate.nuera.com [204.216.240.98])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA16923
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 06:02:35 -0400 (EDT)
Received: by exchange1.nuera.com with Internet Mail Service (5.5.2650.21)
	id <LA2LLHZ1>; Wed, 27 Jun 2001 03:02:45 -0700
Message-ID: <E79883AEA37FD411A58C00508BAC5F4BD72909@exchange1.nuera.com>
From: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
To: "'Michael.Tuexen@icn.siemens.de'" <Michael.Tuexen@icn.siemens.de>,
        "'ajung@exp-math.uni-essen.de'" <ajung@exp-math.uni-essen.de>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
Date: Wed, 27 Jun 2001 03:02:43 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0FEF0.4EC84DD0"
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_01C0FEF0.4EC84DD0
Content-Type: text/plain;
	charset="iso-8859-1"

Hi Michael & Andreas,

Why was the decision made to map each TLS connection  to an SCTP stream to a
rather than an SCTP association? To me this would seem to be the natural
overlay of TLS onto SCTP. I'm not very familiar with the workings of TLS, is
there a technical problem in doing this ? 

Regards,

Robert.

-----Original Message-----
From:	Internet-Drafts@ietf.org [mailto:Internet-Drafts@ietf.org]
Sent:	Tuesday, June 26, 2001 12:02 PM
Cc:	tsvwg@ietf.org
Subject:	[Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt

 << Message:  >> A New Internet-Draft is available from the on-line
Internet-Drafts directories.


	Title		: TLS over SCTP
	Author(s)	: M. Tuexen, A. Jungmaier
	Filename	: draft-tuexen-tsvwg-tls-over-sctp-00.txt
	Pages		: 6
	Date		: 25-Jun-01
	
This document describes the usage of the Transport Layer Security (TLS)
protocol, as defined in [RFC2246], over the Stream Control Transmission
Protocol (SCTP), as defined in [RFC2960].

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-tuexen-tsvwg-tls-over-sctp-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-tuexen-tsvwg-tls-over-sctp-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-tuexen-tsvwg-tls-over-sctp-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_001_01C0FEF0.4EC84DD0
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] I-D =
ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi Michael &amp; Andreas,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Why was the decision made to map =
each</FONT> <FONT SIZE=3D2 FACE=3D"Arial">TLS =
connection</FONT>&nbsp;<FONT SIZE=3D2 FACE=3D"Arial"> to an SCTP stream =
to a rather than an SCTP association? To me this would seem to be the =
natural overlay of TLS onto SCTP. I'm not very familiar with the =
workings of TLS, is there a technical problem in doing this ? =
</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Regards,</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; =
Internet-Drafts@ietf.org [<A =
HREF=3D"mailto:Internet-Drafts@ietf.org">mailto:Internet-Drafts@ietf.org=
</A>]</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D2 FACE=3D"Arial">Tuesday, June 26, 2001 12:02 PM</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">tsvwg@ietf.org</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">[Tsvwg] I-D =
ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&lt;&lt; Message:&nbsp; =
&gt;&gt;</FONT> <FONT SIZE=3D2 FACE=3D"Arial">A New Internet-Draft is =
available from the on-line Internet-Drafts directories.</FONT>
</P>
<BR>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">Title&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : TLS over SCTP</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">Author(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : M. =
Tuexen, A. Jungmaier</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">Filename&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : =
draft-tuexen-tsvwg-tls-over-sctp-00.txt</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">Pages&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 6</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">Date&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 25-Jun-01</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR><FONT SIZE=3D2 FACE=3D"Arial">This document describes the usage of =
the Transport Layer Security (TLS)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">protocol, as defined in [RFC2246], =
over the Stream Control Transmission</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Protocol (SCTP), as defined in =
[RFC2960].</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">A URL for this Internet-Draft =
is:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"><A =
HREF=3D"http://www.ietf.org/internet-drafts/draft-tuexen-tsvwg-tls-over-=
sctp-00.txt" =
TARGET=3D"_blank">http://www.ietf.org/internet-drafts/draft-tuexen-tsvwg=
-tls-over-sctp-00.txt</A></FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Internet-Drafts are also available by =
anonymous FTP. Login with the username</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&quot;anonymous&quot; and a password =
of your e-mail address. After logging in,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">type &quot;cd internet-drafts&quot; =
and then</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&quot;get =
draft-tuexen-tsvwg-tls-over-sctp-00.txt&quot;.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">A list of Internet-Drafts directories =
can be found in</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"><A =
HREF=3D"http://www.ietf.org/shadow.html" =
TARGET=3D"_blank">http://www.ietf.org/shadow.html</A> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">or <A =
HREF=3D"ftp://ftp.ietf.org/ietf/1shadow-sites.txt" =
TARGET=3D"_blank">ftp://ftp.ietf.org/ietf/1shadow-sites.txt</A></FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Internet-Drafts can also be obtained =
by e-mail.</FONT>
</P>

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

</BODY>
</HTML>
------_=_NextPart_001_01C0FEF0.4EC84DD0--

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


From tsvwg-admin@ietf.org  Wed Jun 27 07:19: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 HAA07167
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 07:19: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 HAA03426;
	Wed, 27 Jun 2001 07:11: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 HAA03401
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 07:11:12 -0400 (EDT)
Received: from exchange1.nuera.com (igate.nuera.com [204.216.240.98])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA01138
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 07:10:31 -0400 (EDT)
Received: by exchange1.nuera.com with Internet Mail Service (5.5.2650.21)
	id <LA2LLH6D>; Wed, 27 Jun 2001 04:10:39 -0700
Message-ID: <E79883AEA37FD411A58C00508BAC5F4BD7290B@exchange1.nuera.com>
From: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>
To: "'Tuexen Michael'" <Michael.Tuexen@icn.siemens.de>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
Date: Wed, 27 Jun 2001 04:10:38 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0FEF9.CBC63410"
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_01C0FEF9.CBC63410
Content-Type: text/plain;
	charset="iso-8859-1"

Hi Michael,

I guessed as much - shame. What if the application asserts the unordered
delivery flag in a particular datagram (or the stream is configured for
U-SCTP)? At the very least I think this should be mentioned/disallowed in
the draft.

Cheers,

Robert.

-----Original Message-----
From:	Tuexen Michael [mailto:Michael.Tuexen@icn.siemens.de]
Sent:	Wednesday, June 27, 2001 11:12 AM
To:	'Fairlie-Cuninghame, Robert'; Tuexen Michael;
'ajung@exp-math.uni-essen.de'
Cc:	tsvwg@ietf.org
Subject:	RE: [Tsvwg] I-D
ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt

Dear Robert,

SCTP provides the support of the multiple streams to avoid head of line
blocking. We thought that this feature should also be available to the
(TLS/SCTP)-user.

We also wanted to keep TLS as it is. TLS needs a guaranteed and in sequence
delivery service from its lower layer. This service is provided by a stream,
but NOT by an assocaition. So a connection maps to a bi directional stream.

We also thought about having only one connection for an association (with
multiple streams) but this needs some changes/adaptions of TLS. So we
decided
to use the simpler solution unless we see the need for the more complex one.

Best regards
Michael

Michael Tuexen    Tel.:   +49 89 722 47210
Siemens AG        Fax:    +49 89 722 48212
ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de

> -----Original Message-----
> From:	Fairlie-Cuninghame, Robert [SMTP:rfairlie@nuera.com]
> Sent:	Wednesday, June 27, 2001 12:03 PM
> To:	'Michael.Tuexen@icn.siemens.de'; 'ajung@exp-math.uni-essen.de'
> Cc:	tsvwg@ietf.org
> Subject:	RE: [Tsvwg] I-D
ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
> 
> Hi Michael & Andreas, 
> 
> Why was the decision made to map each TLS connection  to an SCTP stream to
a rather than an SCTP association? To me this would seem to be the natural
overlay of TLS onto SCTP. I'm not very familiar with the workings of TLS, is
there a technical problem in doing this ? 
> 
> Regards, 
> 
> Robert. 
> 


------_=_NextPart_001_01C0FEF9.CBC63410
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] I-D =
ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt</TITLE>
</HEAD>
<BODY>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">I guessed as much - shame. What if the =
application asserts the unordered delivery flag in a particular =
datagram (or</FONT> <FONT SIZE=3D2 FACE=3D"Arial">the stream is =
configured for U-SCTP</FONT><FONT SIZE=3D2 FACE=3D"Arial">)? At the =
very least I think this should be mentioned/disallowed in the =
draft.</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; Tuexen Michael =
[<A =
HREF=3D"mailto:Michael.Tuexen@icn.siemens.de">mailto:Michael.Tuexen@icn.=
siemens.de</A>]</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D2 FACE=3D"Arial">Wednesday, June 27, 2001 11:12 AM</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">'Fairlie-Cuninghame, Robert'; Tuexen Michael; =
'ajung@exp-math.uni-essen.de'</FONT>
<BR><B><FONT SIZE=3D2 =
FACE=3D"Arial">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">tsvwg@ietf.org</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] I-D =
ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt</FONT>
</P>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">SCTP provides the support of the =
multiple streams to avoid head of line blocking. We thought that this =
feature should also be available to the</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">(TLS/SCTP)-user.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">We also wanted to keep TLS as it is. =
TLS needs a guaranteed and in sequence</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">delivery service from its lower =
layer. This service is provided by a stream,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">but NOT by an assocaition. So a =
connection maps to a bi directional stream.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">We also thought about having only one =
connection for an association (with</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">multiple streams) but this needs some =
changes/adaptions of TLS. So we decided</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">to use the simpler solution unless we =
see the need for the more complex one.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Best regards</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Michael</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Michael Tuexen&nbsp;&nbsp;&nbsp; =
Tel.:&nbsp;&nbsp; +49 89 722 47210</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Siemens =
AG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax:&nbsp;&nbsp;&nbsp; +49 =
89 722 48212</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ICN WN CS SE 5&nbsp;&nbsp;&nbsp; =
E-mail: Michael.Tuexen@icn.siemens.de</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; From: Fairlie-Cuninghame, Robert =
[SMTP:rfairlie@nuera.com]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Sent: Wednesday, June 27, 2001 =
12:03 PM</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; To:&nbsp;&nbsp; =
'Michael.Tuexen@icn.siemens.de'; 'ajung@exp-math.uni-essen.de'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Cc:&nbsp;&nbsp; =
tsvwg@ietf.org</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; =
Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RE: [Tsvwg] I-D =
ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Hi Michael &amp; Andreas, =
</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Why was the decision made to map =
each TLS connection&nbsp; to an SCTP stream to a rather than an SCTP =
association? To me this would seem to be the natural overlay of TLS =
onto SCTP. I'm not very familiar with the workings of TLS, is there a =
technical problem in doing this ? </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Regards, </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Robert. </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0FEF9.CBC63410--

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


From tsvwg-admin@ietf.org  Wed Jun 27 07: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 HAA28194
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 07:53: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 HAA04326;
	Wed, 27 Jun 2001 07:34: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 HAA04293
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 07:34:44 -0400 (EDT)
Received: from gorilla.mchh.siemens.de (gorilla.mchh.siemens.de [194.138.158.18])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA15747
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 07:34:02 -0400 (EDT)
Received: from blues.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.227])
	by gorilla.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id NAA19054;
	Wed, 27 Jun 2001 13:34:38 +0200 (MET DST)
Received: from mchh246e.demchh201e.icn.siemens.de ([139.21.200.56])
	by blues.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id NAA09617;
	Wed, 27 Jun 2001 13:34:39 +0200 (MET DST)
Received: by MCHH246E with Internet Mail Service (5.5.2653.19)
	id <KGR6WFSH>; Wed, 27 Jun 2001 13:34:39 +0200
Message-ID: <F92978223B01D311ACFF0008C71EE19D015DF4A6@MCHH225E>
From: Tuexen Michael <Michael.Tuexen@icn.siemens.de>
To: "'Fairlie-Cuninghame, Robert'" <rfairlie@nuera.com>
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
Date: Wed, 27 Jun 2001 13:34:38 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
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

Dear Robert,

we do not support TLS/U-SCTP, therefore it is not mentioned there. Furthermore we
assume that a bi-directional is used by TLS only! So the TLS user is not able
to transmit user message on a stream used by TLS without using TLS.

Since TLS does not provide unordered delivery it will not make use of this feature
in SCPT. But we can state this explicitly in the next version of the draft.

There was also a suggestion (by Qiaobing) saying that we should not require
the in/outbound stream number to be the same. We could restrict the usage of
bi-directional streams for TLS to min(instreamsA, outstreamsA, instreamsB, instreamsB).
The higher streams could be used uni-directional (without TLS) and even in the 
sense of U-SCTP.
On the pro side of this solution is the greater flexibility. On the cons we have TLS
users which access the the association via the TLS API and directly via the SCTP-API.
This brings up the need for some rules: We must make sure that there is no user message
marked for unordered delivery inflight on a bi-directional stream before we start using
it for TLS. The simplest way to do this is to disallow it at all on these streams. 

Best regards
Michael

Michael Tuexen    Tel.:   +49 89 722 47210
Siemens AG        Fax:    +49 89 722 48212
ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de

> -----Original Message-----
> From:	Fairlie-Cuninghame, Robert [SMTP:rfairlie@nuera.com]
> Sent:	Wednesday, June 27, 2001 1:11 PM
> To:	'Tuexen Michael'
> Cc:	tsvwg@ietf.org
> Subject:	RE: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
> 
> Hi Michael, 
> 
> I guessed as much - shame. What if the application asserts the unordered delivery flag in a particular datagram (or the stream is configured for U-SCTP)? At the very least I think this should be mentioned/disallowed in the draft.
> 
> Cheers, 
> 
> Robert. 
> 
> -----Original Message----- 
> From:   Tuexen Michael [ <mailto:Michael.Tuexen@icn.siemens.de>] 
> Sent:   Wednesday, June 27, 2001 11:12 AM 
> To:     'Fairlie-Cuninghame, Robert'; Tuexen Michael; 'ajung@exp-math.uni-essen.de' 
> Cc:     tsvwg@ietf.org 
> Subject:        RE: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt 
> 
> Dear Robert, 
> 
> SCTP provides the support of the multiple streams to avoid head of line blocking. We thought that this feature should also be available to the
> 
> (TLS/SCTP)-user. 
> 
> We also wanted to keep TLS as it is. TLS needs a guaranteed and in sequence 
> delivery service from its lower layer. This service is provided by a stream, 
> but NOT by an assocaition. So a connection maps to a bi directional stream. 
> 
> We also thought about having only one connection for an association (with 
> multiple streams) but this needs some changes/adaptions of TLS. So we decided 
> to use the simpler solution unless we see the need for the more complex one. 
> 
> Best regards 
> Michael 
> 
> Michael Tuexen    Tel.:   +49 89 722 47210 
> Siemens AG        Fax:    +49 89 722 48212 
> ICN WN CS SE 5    E-mail: Michael.Tuexen@icn.siemens.de 
> 
> > -----Original Message----- 
> > From: Fairlie-Cuninghame, Robert [SMTP:rfairlie@nuera.com] 
> > Sent: Wednesday, June 27, 2001 12:03 PM 
> > To:   'Michael.Tuexen@icn.siemens.de'; 'ajung@exp-math.uni-essen.de' 
> > Cc:   tsvwg@ietf.org 
> > Subject:      RE: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt 
> > 
> > Hi Michael & Andreas, 
> > 
> > Why was the decision made to map each TLS connection  to an SCTP stream to a rather than an SCTP association? To me this would seem to be the natural overlay of TLS onto SCTP. I'm not very familiar with the workings of TLS, is there a technical problem in doing this ? 
> 
> > 
> > Regards, 
> > 
> > Robert. 
> > 
> 
> 

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


From tsvwg-admin@ietf.org  Wed Jun 27 09:42: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 JAA08367
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 09:42: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 JAA08344;
	Wed, 27 Jun 2001 09:30: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 JAA08270
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 09:30:10 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA29319
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 09:29:29 -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 f5RDTih10843;
	Wed, 27 Jun 2001 06:29:44 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-9.cisco.com [171.68.181.138])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJD04315 (AUTH rrs);
	Wed, 27 Jun 2001 06:29:35 -0700 (PDT)
Message-ID: <3B39DFBB.F7AF1A58@stewart.chicago.il.us>
Date: Wed, 27 Jun 2001 08:29:32 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: john.loughney@nokia.com
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] IPv6 scope & SCTP (FW from IPNGWG: summary of discussions 
 about the semantics of sin6_scope_id)
References: <01D91AFB08B6D211BFD00008C7EABAE10680B1BF@eseis04nok>
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

John:

Steve Deering and I will be releasing a scoping draft
sometime later this week. Steve is currently doing
some minor tweaks he wants incorporated and we should
have it out by Friday... Hopefully this will address
these issues..

R


john.loughney@nokia.com wrote:
> 
> Hi all,
> 
> This mail comes from the IPNGWG.  I think that this is quite relevant to
> the IPv6 discussions with respect to SCTP.  It is possible that IPv6
> addresses escape their scope in INIT & INIT-ACK messages.  Therefore,
> I imagine that most implementations will need to examine the sin6_scope_id
> in order to make sure that any recieved addresses are correct in scope.
> 
> I favor option B listed below. It would be good to get some comments on
> this.
> 
> best regards,
> John
> 
> > -----Original Message-----
> > From: jinmei@isl.rdc.toshiba.co.jp
> > [mailto:jinmei@isl.rdc.toshiba.co.jp]
> >
> > Sent: June 26, 2001 21:08
> > To: ipng@sunroof.eng.sun.com
> > Subject: summary of discussions about the semantics of sin6_scope_id
> >
> >
> > The following is a summary of discussions about the semantics of
> > sin6_scope_id (aka flat 32 vs 4+28 split issue) we have had in the API
> > list.  Since some of key members of this issue are (accidentally) not
> > on the list, I think this list is the best place to get a consensus.
> >
> > Please note that the text below is not the conclusion, but just a
> > memo.  I'd like to hear from others about the issues on this list
> > based on the memo, discuss further if necessary, and try to get a
> > consensus hopefully in a week or so.  Then the result will (probably)
> > be in the next revision of the scope architecture draft.
> >
> > In the following memo, I'll first show you definitions of the
> > semantics, which will fall into 3 categories.  I'll then describe (a
> > summary of) opinions about each definition that I've heard in the
> > discussions.  I tried to be fair when describing them, but if I was
> > wrong on some points or I missed something, please point it out.
> >
> > DEFINITIONS
> >
> > We have seen 3 definitions of semantics.  I call them
> > (A) the flat 32
> > (B) the strict 4+28 split
> > (C) the flexible 4+28 split
> > respectively.
> >
> > (A) The flat 32 uses the whole space (i.e. 32 bits) per scope.  The
> > uniqueness of IDs are only ensured in a single scope.
> >
> > Both (B) and (C) embed a scope type (4 bits) into the ID space.  IDs
> > in a particular scope is specified by the remaining 28 bits.  And the
> > 28-bit ID for a particular zone must also be unique in the scope.
> > We can choose the 28-bit ID for a particular zone in any way, but
> > Francis showed a concrete example: the interface index of a particular
> > interface that belongs to the zone.  I'll use this definition in the
> > following examples, with the smallest interface index in the zone as
> > the particular one.
> >
> > The only difference between (B) and (C) is about the usage.  In "the
> > strict strip",
> > - if an ID is given with a (non-unspecified) address, the ID must be
> >   in the same scope type as the address in any context (including in a
> >   sockaddr_in6 structure).
> > - even if the accompanying address is unspecified, we do not allow a
> >   non-zero ID for specifying a particular (or any) zone of a
> > particular
> >   scope type.
> >
> > "The flexible split", on the other hand, does not have any such
> > restriction; we allow any combination of a (scoped) address and a zone
> > ID, provided that the scope type of the ID is equal to or smaller than
> > the scope type of the address.
> >
> > Examples.
> >
> > The following topology is described in the scope architecture draft.
> >
> >       ---------------------------------------------------------------
> >      | a node                                                         |
> >      |                                                                |
> >      |                                                                |
> >      |                                                                  |
> >      |                                                                |
> >      |                                                                |
> >      |  /--------------------site1--------------------\  /--site2--\  |
> >      |                                                                  |
> >      |  /--link1--\ /--------link2--------\ /--link3--\  /--link4--\  |
> >      |                                                                |
> >      |  /--intf1--\ /--intf2--\ /--intf3--\ /--intf4--\  /--intf5--\  |
> >       ---------------------------------------------------------------
> >              :           |           |           |           |
> >              :           |           |           |           |
> >              :           |           |           |           |
> >          (imaginary    =================      a point-       a
> >           loopback        an Ethernet         to-point     tunnel
> >             link)                               link
> >
> > A) Using the "flat 32", the zone indices are as follows:
> >
> >   ID(intf1) = 1, ID(intf2) = 2, ..., ID(intf5) = 5
> >   ID(link1) = 1, ID(link2) = 2, ..., ID(link4) = 4
> >   ID(site1) = 1, ID(site2) = 2
> >
> > where ID(x) means the zone identifier for the zone "x".
> >
> > B&C) Using the strict/flexible 4+28 split, the zone indices are
> >
> >   ID(intf1) = 0x10000001, ID(intf2) = 0x10000002, ...,
> > ID(intf5) = 0x10000005
> >   ID(link1) = 0x20000001, ID(link2) = 0x20000002,
> >       ID(link3) = 0x20000004, ID(link4) = 0x20000005
> >   ID(site1) = 0x50000001, ID(site2) = 0x50000005
> >
> > (assuming scope types like the "scop" field for multicast addresses.)
> >
> > And, if we take (B), the strict 4+28 split, then
> >   if we have a sockaddr_in6 structure, whose sin6_addr member is
> >   "fec0::1234", then its sin6_scope_id must be in the site scope, like
> >   0x50000001.
> >   if we have a sockaddr_in6 structure, whose sin6_addr member is
> >   in6addr_any, then its sin6_scope_id must be 0.
> >
> > If we take (C), the flexible split, then
> >   if we have a sockaddr_in6 structure, whose sin6_addr member is
> >   "fec0::1234", then the scope type of its sin6_scope_id can be any
> >   scope which is equal to or smaller than the site scope.
> >   if we have a sockaddr_in6 structure, whose sin6_addr member is
> >   in6addr_any, the the sin6_scope_id is in any type of scope.
> >
> > Example usages of the flexibility are:
> >
> >   1) binding to "any interface in a given scope zone".  This
> > would mean,
> >      when sa.sin6_addr = unspecified, and sa.sin6_scope_id =
> > 0x50000001,
> >      then bind(&sa) specifies the kernel to accept any packet
> > arrived at
> >      the interface which belongs to the site zone 1.
> >   2) when sa.sin6_addr = fec0::1234, and sa.sin6_scope_id =
> >      0x20000002, then sendto(&sa) specifies the kernel to send the
> >      corresponding packet to one of the interfaces in the link zone 2.
> >   3) allow IPV6_MULTICAST_IF (and IPV6_JOIN_GROUP) to use a scope
> >      id rather than just an ifindex, to let the stack choose the
> >      best interface in a given scope zone, similar to passing
> >      0 today.
> >
> > OPINIONS
> >
> > Opinions from those who support A (including Steve and I):
> >
> > A-1 It provides backward compatibility to existing
> > implementations that
> >     use interface indices as link indices, assuming one-to-one mapping
> >     between interfaces and links.
> > A-2 There is no chance of misusages such as specifying a site zone ID
> >     for a link-local address.
> > A-3 Since the IDs are typically specified with a (non-unspecified)
> >     address, like in the sockaddr_in6 structure, and the accompanying
> >     address itself provides the appropriate scope type, the strict
> >     split does not have much merit.  We'd rather keep it "simple" to
> >     avoid misconfiguration described in A-2.
> > A-4 The flexible split would make comparison of two scoped addresses
> >     (in a same scope type) more complicated; we may have a
> >     chance to compare {sin6_addr = fec0::1234, sin6_scope_id =
> >     0x50000001} and {sin6_addr = fec0::1234, sin6_scope_id =
> > 0x20000002}
> >     which may or may not specify a same single node, and we can't just
> >     compare the scope ID part by a "simple" operator '='.
> > A-5 It would be the most readable, especially when we use
> > digit integers
> >     for IDs, as specified in the current scope architecture draft.
> >     (e.g. recall the fact that 0x50000001 = 1342177281).  Even if we
> >     allow hex integers or a dotted notation like 5.1, the flat ID
> >     would still be the most readable, and we'll see some situations
> >     that we want to type the ID itself, not an alias name of the ID,
> >     in some configuration files or something.
> > A-6 We've never seen realistic examples of the flexibility that the
> >     flexible split would provide.  On the other hand, we will see (or
> >     even have seen) some situations where we just want to disambigute
> >     scoped addresses (with the same scope type of the address).  We
> >     should implement the "advanced" flexibility in a kind of advanced
> >     API, not using a part of the basic API; sin6_scope_id.
> >
> > (Note: I'm probably biased, and might not be fair, in this section.  I
> > have to say that some people pointed out that some of the points were
> > just a matter of taste, and some points did not provide much
> > difference.  Also, please make additions in the items below, and
> > corrections to the items above.)
> >
> > Opinions from those who support B (including Francis and Vlad - please
> > add if I miss anyone):
> >
> > B-1 It provides global uniqueness.
> > B-2 It provides zone IDs by themselves.
> > B-3 It has no possible conflict with the interface index space.
> > B-4 As for the readability, we should change the current definition,
> >     so that hex integers or the dotted notation would be allowed.
> > B-5 It can provide the backward compatibility described in
> > A-2 above and
> >     the readability in A-5, by specifying that the scope type 0 means
> >     the same scope type of the corresponding address (assuming a non
> >     unspecified address is given).
> > B-6 the flexibility that the flexible split would provide is a "too
> >     much" or "too clever" stuff, and should not be in the basic API
> >     (basically the same argument as A-6 above)
> >
> > Opinions from those who support C (including Dave and Markku - please
> > add if I miss anyone):
> >
> > C-1: the same benefits as B-1 to B-3 are applied to C.
> > C-2: the same argument as B-4 as for the readability.
> > C-3: the example usages described in "Example usages of the
> >      flexibility" above really benefits of this approach.
> > C-4: we should not add API knobs to implement the flexibility, because
> >      it would confuse the users.
> >
> >                                       JINMEI, Tatuya
> >                                       Communication Platform Lab.
> >                                       Corporate R&D Center,
> > Toshiba Corp.
> >                                       jinmei@isl.rdc.toshiba.co.jp
> > --------------------------------------------------------------------
> > IETF IPng Working Group Mailing List
> > IPng Home Page:                      http://playground.sun.com/ipng
> > FTP archive:                      ftp://playground.sun.com/pub/ipng
> > Direct all administrative requests to majordomo@sunroof.eng.sun.com
> > --------------------------------------------------------------------
> >
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 27 09:50: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 JAA13325
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 09:50: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 JAA08767;
	Wed, 27 Jun 2001 09:37:26 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA08740
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 09:37:24 -0400 (EDT)
Received: from mail.eecis.udel.edu (louie.udel.edu [128.175.2.33])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA04312
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 09:36:44 -0400 (EDT)
Received: from ren.eecis.udel.edu by mail.eecis.udel.edu id aa00763;
          27 Jun 2001 09:37 EDT
Date: Wed, 27 Jun 2001 09:37:03 -0400 (EDT)
From: Janardhan Iyengar <iyengar@mail.eecis.udel.edu>
To: tsvwg@ietf.org
MMDF-Warning:  Parse error in original version of preceding line at mail.eecis.udel.edu
cc: "Paul D. Amer" <amer@mail.eecis.udel.edu>,
        "Armando L. Caro Jr." <acaro@mail.eecis.udel.edu>
Message-ID: <Pine.GSO.4.31.0106270920350.876-100000@ren.eecis.udel.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Tsvwg] SCTP Implementor's Guide
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 all,

Section 2.8 (Fast Retransmit issues), new text for section 7.2.4 of
RFC2960:
"   5) Mark the DATA chunk(s) as being fast retransmitted and thus
       ineligible for a subsequent fast retransmit until after the
       T3-rxt timer expires.
"

Should a sender have *any* fast retranmits after a timeout? If so, there
needs to be a mechanism for determining which TSNs being SACK'd were sent
prior to the timeout rtx and which ones were sent afterwards. Only those
which were sent aftewards, should be counted towards the fast rtx trigger.

We feel that the text should read as follows:
"   5) Mark the DATA chunk(s) as being fast retransmitted and thus
       ineligible for a subsequent fast retransmit.
"

Regards,
Jana and Armando

-----------------------------------------------------------------------
"The future belongs to those who believe in the beauty of their dreams"
						    - Eleanor Roosevelt
-----------------------------------------------------------------------
Janardhan R. Iyengar				   iyengar@cis.udel.edu
University of Delaware		       http://www.cis.udel.edu/~iyengar
-----------------------------------------------------------------------


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


From tsvwg-admin@ietf.org  Wed Jun 27 11:15: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 LAA22918
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 11:15: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 KAA12063;
	Wed, 27 Jun 2001 10:58: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 KAA12032
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 10:58:56 -0400 (EDT)
Received: from irmgard.exp-math.uni-essen.de (irmgard.exp-math.uni-essen.de [132.252.150.18])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA14491
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 10:58:13 -0400 (EDT)
Received: from biene.exp-math.uni-essen.de (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 QAA21364;
	Wed, 27 Jun 2001 16:58:49 +0200
Received: from biene.exp-math.uni-essen.de (localhost.localdomain [127.0.0.1])
	by biene.exp-math.uni-essen.de (Postfix) with SMTP
	id 19837BC04; Wed, 27 Jun 2001 16:59:17 -0400 (EDT)
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andreas Jungmaier <ajung@exp-math.uni-essen.de>
Organization: University of Essen, Germany
To: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>,
        "'Tuexen Michael'" <Michael.Tuexen@icn.siemens.de>
Subject: Re: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
Date: Wed, 27 Jun 2001 16:59:10 -0400
X-Mailer: KMail [version 1.2]
Cc: tsvwg@ietf.org
References: <E79883AEA37FD411A58C00508BAC5F4BD7290B@exchange1.nuera.com>
In-Reply-To: <E79883AEA37FD411A58C00508BAC5F4BD7290B@exchange1.nuera.com>
MIME-Version: 1.0
Message-Id: <01062716591002.25742@biene.exp-math.uni-essen.de>
Content-Transfer-Encoding: 8bit
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

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

On Wednesday, 27. June 2001 07:10, Fairlie-Cuninghame, Robert wrote:
> Hi Michael,
>
> I guessed as much - shame. What if the application asserts the unordered
> delivery flag in a particular datagram (or the stream is configured for
> U-SCTP)? At the very least I think this should be mentioned/disallowed in
> the draft.
>

It is exactly as Michael put it: 
the user of SCTP in that case is TLS, which does not have provisions
for unreliable data transmission.

Regards,

- -- 

Andreas Jungmaier

- ----------------------------------------------------------------------------
 \|/ _____ \|/    Andreas Jungmaier, Dipl.-Ing. 
 "@'/ , . \`@"    University of Essen           ajung@exp-math.uni-essen.de
 /_| \___/ |__\   -> Computer Networking        Tel. : +49 (0201) 183-7636
    \___U_/          Technology Group <-
- ----------------------------------------------------------------------------
PGP Public Key and Fingerprint: see http://www.exp-math.uni-essen.de/~ajung
- ----------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7Okked2Uw+xBvGUIRAo90AJ4juSaYran5gVP6cp7UvRwVdhAAcQCbBnbE
ROH9BFPRYtdK5egnJ9hBi7Q=
=Um3l
-----END PGP SIGNATURE-----

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


From tsvwg-admin@ietf.org  Wed Jun 27 11:22:58 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 LAA28034
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 11:22: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 LAA12704;
	Wed, 27 Jun 2001 11:07: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 LAA12675
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 11:07:00 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA17021
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 11:06:19 -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.11.3/8.9.1) with ESMTP id f5RF6Mx29847;
	Wed, 27 Jun 2001 08:06:22 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-9.cisco.com [171.68.181.138])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJD05699 (AUTH rrs);
	Wed, 27 Jun 2001 08:06:11 -0700 (PDT)
Message-ID: <3B39F65E.A07823C2@stewart.chicago.il.us>
Date: Wed, 27 Jun 2001 10:06:06 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Janardhan Iyengar <iyengar@mail.eecis.udel.edu>,
        Mark Allman <mallman@grc.nasa.gov>, Sally Floyd <floyd@aciri.org>
CC: tsvwg@ietf.org, "Paul D. Amer" <amer@mail.eecis.udel.edu>,
        "Armando L. Caro Jr." <acaro@mail.eecis.udel.edu>
Subject: Re: [Tsvwg] SCTP Implementor's Guide
References: <Pine.GSO.4.31.0106270920350.876-100000@ren.eecis.udel.edu>
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

Janardhan:

I don't beleive this is strictly how things work in TCP and I
don't see why things are not eligible for fast retransmit
after a timeout.

If you consider:

----FR(TSNx)---->
..
..
..
---Time-Out---
---All outstanding marked for retran---
so we end up

---Re-Tran(TSNx)---->
<plus possibly others>

At this point we have now reach the same state as before. All
of our scores are now 0. We have obviously lost our ack-clock
and we allow very little out. Probably our TSNx and no more
than a few others depending on how big TSNx is. Since we did
FR TSNx it is probably the smallest TSN... it may be capable
of being bundled... 

Now once I send these again and start to get an Ack-Clock, all
the scores are reset to 0. So I am now waiting for a 4 missing
reports to occur.

I see nothing wrong with this... Maybe a further clearification

such as..

"   5) Mark the DATA chunk(s) as being fast retransmitted and thus
       ineligible for a subsequent fast retransmit until after the
       T3-rxt timer expires. Note all missing reports for any 
       chunks that were outstanding at the time of retransmission
       MUST be reset to 0 so that four additional missing reports
       will be necessary before a fast retransmit will occur.
"

Also I believe you will find in Mark Allman and Ethan Blanton draft:
draft-allman-tcp-sack-04.txt

A section under transmission time-out that illustrates that the
scoreboard is purged but new SACK's arriving do continue to use
information gained during the slow-start period following a RTO 
event (At least if I have read it correctly :>)

What do you think Mark/Sally? Should new SACK's coming in after
a RTO be used to count a segment towards a subsequent FR?

R



Janardhan Iyengar wrote:
> 
> Hi all,
> 
> Section 2.8 (Fast Retransmit issues), new text for section 7.2.4 of
> RFC2960:
> "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
>        ineligible for a subsequent fast retransmit until after the
>        T3-rxt timer expires.
> "
> 
> Should a sender have *any* fast retranmits after a timeout? If so, there
> needs to be a mechanism for determining which TSNs being SACK'd were sent
> prior to the timeout rtx and which ones were sent afterwards. Only those
> which were sent aftewards, should be counted towards the fast rtx trigger.
> 
> We feel that the text should read as follows:
> "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
>        ineligible for a subsequent fast retransmit.
> "
> 
> Regards,
> Jana and Armando
> 
> -----------------------------------------------------------------------
> "The future belongs to those who believe in the beauty of their dreams"
>                                                     - Eleanor Roosevelt
> -----------------------------------------------------------------------
> Janardhan R. Iyengar                               iyengar@cis.udel.edu
> University of Delaware                 http://www.cis.udel.edu/~iyengar
> -----------------------------------------------------------------------
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 27 12:22: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 MAA07810
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 12:22: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 MAA16482;
	Wed, 27 Jun 2001 12:08: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 MAA16453
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 12:08:21 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA27906
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 12:07:39 -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 f5RFxJh26927;
	Wed, 27 Jun 2001 08:59:19 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-9.cisco.com [171.68.181.138])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJD06937 (AUTH rrs);
	Wed, 27 Jun 2001 08:59:11 -0700 (PDT)
Message-ID: <3B3A02CB.327C6153@stewart.chicago.il.us>
Date: Wed, 27 Jun 2001 10:59:07 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Andreas Jungmaier <ajung@exp-math.uni-essen.de>
CC: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>,
        "'Tuexen Michael'" <Michael.Tuexen@icn.siemens.de>, tsvwg@ietf.org
Subject: Re: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
References: <E79883AEA37FD411A58C00508BAC5F4BD7290B@exchange1.nuera.com> <01062716591002.25742@biene.exp-math.uni-essen.de>
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

Andreas Jungmaier wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday, 27. June 2001 07:10, Fairlie-Cuninghame, Robert wrote:
> > Hi Michael,
> >
> > I guessed as much - shame. What if the application asserts the unordered
> > delivery flag in a particular datagram (or the stream is configured for
> > U-SCTP)? At the very least I think this should be mentioned/disallowed in
> > the draft.
> >
> 
> It is exactly as Michael put it:
> the user of SCTP in that case is TLS, which does not have provisions
> for unreliable data transmission.
> 

Or un-ordered which I think was the point.. NOT u-sctp but

SCTP with the U bit set :)

R


> Regards,
> 
> - --
> 
> Andreas Jungmaier
> 
> - ----------------------------------------------------------------------------
>  \|/ _____ \|/    Andreas Jungmaier, Dipl.-Ing.
>  "@'/ , . \`@"    University of Essen           ajung@exp-math.uni-essen.de
>  /_| \___/ |__\   -> Computer Networking        Tel. : +49 (0201) 183-7636
>     \___U_/          Technology Group <-
> - ----------------------------------------------------------------------------
> PGP Public Key and Fingerprint: see http://www.exp-math.uni-essen.de/~ajung
> - ----------------------------------------------------------------------------
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.5 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE7Okked2Uw+xBvGUIRAo90AJ4juSaYran5gVP6cp7UvRwVdhAAcQCbBnbE
> ROH9BFPRYtdK5egnJ9hBi7Q=
> =Um3l
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 27 12:50: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 MAA21108
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 12:50: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 MAA17903;
	Wed, 27 Jun 2001 12:35: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 MAA17876
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 12:35:13 -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 MAA13781
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 12:34:33 -0400 (EDT)
Received: [from pobox2.mot.com (pobox2.mot.com [136.182.15.8]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id JAA19290; Wed, 27 Jun 2001 09:35:12 -0700 (MST)]
Received: [from relay2.cig.mot.com (relay2.cig.mot.com [136.182.15.24]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id JAA21674; Wed, 27 Jun 2001 09:35:12 -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 LAA19314; Wed, 27 Jun 2001 11:35:09 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id LAA07556; Wed, 27 Jun 2001 11:35:09 -0500 (CDT)
Message-Id: <200106271635.LAA07556@agevole.cig.mot.com>
Date: Wed, 27 Jun 2001 11:43:56 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Andreas Jungmaier <ajung@exp-math.uni-essen.de>
CC: "Fairlie-Cuninghame, Robert" <rfairlie@nuera.com>,
        "'Tuexen Michael'" <Michael.Tuexen@icn.siemens.de>, tsvwg@ietf.org
Subject: Re: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
References: <E79883AEA37FD411A58C00508BAC5F4BD7290B@exchange1.nuera.com> <01062716591002.25742@biene.exp-math.uni-essen.de>
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

> the user of SCTP in that case is TLS, which does not have provisions
> for unreliable data transmission.

If un-ordered and/or un-reliable data transfer is the focal point of the
application, then IPsec, instead of TLS, should be considered.

TLS has no difficulty dealing with SCTP multi-homing (if used as
proposed in the tls-over-sctp draft), but won't support un-ordered and
un-reliable data operation. While IPsec has full support to both
un-ordered and un-reliable features, it does interact with SCTP
multi-homing and is a little tricky to setup (see
draft-ietf-ipsec-sctp-00.txt).

-Qiaobing

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


From tsvwg-admin@ietf.org  Wed Jun 27 13:18: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 NAA25162
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 13:18: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 NAA19304;
	Wed, 27 Jun 2001 13:03: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 NAA19277
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 13:03:18 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h015.c007.snv.cp.net [209.228.33.222])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA24377
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 13:02:38 -0400 (EDT)
Received: (cpmta 873 invoked from network); 27 Jun 2001 10:02:47 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.222) with SMTP; 27 Jun 2001 10:02:47 -0700
X-Sent: 27 Jun 2001 17:02:47 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "RJ Atkinson" <rja@inet.org>
Cc: "Tsvwg" <tsvwg@ietf.org>
Subject: RE: [Tsvwg] middle box adulteration.
Date: Wed, 27 Jun 2001 10:00:40 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJEEDNCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <NEBBJGDMMLHHCIKHGBEJMECLCJAA.dotis@sanlight.net>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
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

Ran,

In response to your concern about middle boxes, a reason that a middle box
is likely to alter the SCTP packet would be to change a local port if acting
as a NAT in preventing port collisions.  Perhaps adding a one's-complement
entry of the port numbers where both of these values are excluded from the
error checking would make life in the middle box simpler and allow the
remainder with the error check to be seen end to end.  Although perhaps too
simple, the Verification Tag would also help excuded possible port errors.

 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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |      Source Port Number       |    Destination Port Number    |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |     ~Source Port Number       |   ~Destination Port Number    |
>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<
 |                        Verification Tag                       |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                          Packet Check                         |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


To continue the CRC theme however it could also be:
 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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |      Source Port Number       |    Destination Port Number    |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                           Port Check                          |
>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<
 |                        Verification Tag                       |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                          Packet Check                         |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Doug


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


From tsvwg-admin@ietf.org  Wed Jun 27 13:42: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 NAA08871
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 13:42: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 NAA19196;
	Wed, 27 Jun 2001 13:02: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 NAA19167
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 13:02:29 -0400 (EDT)
Received: from irmgard.exp-math.uni-essen.de (irmgard.exp-math.uni-essen.de [132.252.150.18])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA24325
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 13:01:46 -0400 (EDT)
Received: from biene.exp-math.uni-essen.de (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 TAA28850;
	Wed, 27 Jun 2001 19:02:24 +0200
Received: from biene.exp-math.uni-essen.de (localhost.localdomain [127.0.0.1])
	by biene.exp-math.uni-essen.de (Postfix) with SMTP
	id 7E1ABBC04; Wed, 27 Jun 2001 19:02:51 -0400 (EDT)
Content-Type: text/plain;
  charset="iso-8859-1"
From: Andreas Jungmaier <ajung@exp-math.uni-essen.de>
Organization: University of Essen, Germany
To: Randall Stewart at work <randall@stewart.chicago.il.us>
Subject: Re: [Tsvwg] I-D ACTION:draft-tuexen-tsvwg-tls-over-sctp-00.txt
Date: Wed, 27 Jun 2001 19:02:49 -0400
X-Mailer: KMail [version 1.2]
Cc: tsvwg@ietf.org
References: <E79883AEA37FD411A58C00508BAC5F4BD7290B@exchange1.nuera.com> <01062716591002.25742@biene.exp-math.uni-essen.de> <3B3A02CB.327C6153@stewart.chicago.il.us>
In-Reply-To: <3B3A02CB.327C6153@stewart.chicago.il.us>
MIME-Version: 1.0
Message-Id: <01062719024905.25742@biene.exp-math.uni-essen.de>
Content-Transfer-Encoding: 8bit
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

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

On Wednesday, 27. June 2001 11:59, Randall Stewart at work wrote:
>
> Or un-ordered which I think was the point.. NOT u-sctp but
>
> SCTP with the U bit set :)
>

Yep, you got me there, that is what I actually meant ;-)
"The user of SCTP in this case is TLS, which does not have provisions
 for _unordered_ data transmission."

Regards,

- -- 

Andreas Jungmaier

- ----------------------------------------------------------------------------
 \|/ _____ \|/    Andreas Jungmaier, Dipl.-Ing. 
 "@'/ , . \`@"    University of Essen           ajung@exp-math.uni-essen.de
 /_| \___/ |__\   -> Computer Networking        Tel. : +49 (0201) 183-7636
    \___U_/          Technology Group <-
- ----------------------------------------------------------------------------
PGP Public Key and Fingerprint: see http://www.exp-math.uni-essen.de/~ajung
- ----------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7OmYad2Uw+xBvGUIRAsQBAJ4tEZkcfbQneCRXLGwThoKb7APwwACfeLG6
v5YlumvBw1BIPL6Gba2jJt4=
=6X5E
-----END PGP SIGNATURE-----

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


From tsvwg-admin@ietf.org  Wed Jun 27 14:20: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 OAA04706
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 14:20: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 OAA21688;
	Wed, 27 Jun 2001 14:00: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 OAA21659
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 14:00:56 -0400 (EDT)
Received: from gnat.inet.org (inet.org [63.108.254.91] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA20966
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 14:00:14 -0400 (EDT)
Received: from mosquito.inet.org (mosquito [10.30.20.240])
	by gnat.inet.org (Postfix) with ESMTP
	id 1F80B8266E; Wed, 27 Jun 2001 14:00:18 -0400 (EDT)
Message-Id: <5.1.0.14.2.20010627135344.01e8d2a0@10.30.15.2>
X-Sender: rja@10.30.15.2
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 27 Jun 2001 13:56:19 -0400
To: "Douglas Otis" <dotis@sanlight.net>
From: RJ Atkinson <rja@inet.org>
Subject: RE: [Tsvwg] middle box adulteration.
Cc: "Tsvwg" <tsvwg@ietf.org>
In-Reply-To: <NEBBJGDMMLHHCIKHGBEJEEDNCJAA.dotis@sanlight.net>
References: <NEBBJGDMMLHHCIKHGBEJMECLCJAA.dotis@sanlight.net>
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

At 13:00 27/06/01, Douglas Otis wrote:
>Ran,
>
>In response to your concern about middle boxes, a reason that a middle box
>is likely to alter the SCTP packet would be to change a local port if acting
>as a NAT in preventing port collisions.  

Actually, there are a variety of reasons that different kinds
of middle boxes change different parts of the packet.  I agree
that NAT/PAT is a common one.

>Perhaps adding a one's-complement
>entry of the port numbers where both of these values are excluded from the
>error checking would make life in the middle box simpler and allow the
>remainder with the error check to be seen end to end.  Although perhaps too
>simple, the Verification Tag would also help excuded possible port errors.

This does not help the middle-box situation, because it doesn't
handle all kinds of middle-boxes.  Also, it means that a critical
part of the SCTP header isn't as well protected as it would be
normally.

Really no kidding, the bottom line is that applications that need
particularly strong integrity need to provide it themselves in the 
application layer on the user data that requires such integrity.
I wish this weren't so, but reality is what it is.

Cheers,

Ran
rja@inet.org


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


From tsvwg-admin@ietf.org  Wed Jun 27 14:24: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 OAA06862
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 14:24: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 NAA21198;
	Wed, 27 Jun 2001 13:56: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 NAA21162
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 13:56:02 -0400 (EDT)
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA17357
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 13:55:21 -0400 (EDT)
From: Ivan.Arias-Rodriguez@nokia.com
Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])
	by mgw-x3.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5RHuJI02869
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 20:56:19 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir03nok.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T5468133820ac158f2313e2@esvir03nok.nokia.com>;
 Wed, 27 Jun 2001 20:55:42 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1BLC3K>; Wed, 27 Jun 2001 20:55:42 +0300
Message-ID: <7238A5BA4C7C7F4DA40EC7525B364BA4047146@esebe002.NOE.Nokia.com>
To: randall@stewart.chicago.il.us, iyengar@mail.eecis.udel.edu,
        mallman@grc.nasa.gov, floyd@aciri.org
Cc: tsvwg@ietf.org, amer@mail.eecis.udel.edu, acaro@mail.eecis.udel.edu
Subject: RE: [Tsvwg] SCTP Implementor's Guide
Date: Wed, 27 Jun 2001 20:55:40 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id NAA21166
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 NAA21198
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id OAA06862

	Hi all!

	See some comments below...

> Janardhan:
> 
> I don't beleive this is strictly how things work in TCP and I
> don't see why things are not eligible for fast retransmit
> after a timeout.
> 
> If you consider:
> 
> ----FR(TSNx)---->
> ..
> ..
> ..
> ---Time-Out---
> ---All outstanding marked for retran---
> so we end up
> 
> ---Re-Tran(TSNx)---->
> <plus possibly others>
> 
> At this point we have now reach the same state as before. All

	Well, not exactly... You have to take into account that there are
several SACK coming back from the peer by the time you make the
retransmission... Also, you must note that some of the DATA chunks you are
going to mark for retransmissions are in "early flight" to the destination
and is likely that they will arrive to the destination... So, you are not
exactly as before, I would say things are quite different...

	The point is that both those SACK coming back, and the SACK that
will be originated by the DATA chunks that are going to the peer, sent
before the timeout but not yet arrived to the receiver, will originate the
same gap as the one that previously originated the fast retransmission...

	I happen to be sitting next to Janardhan and he explained me exactly
what the problem is, showing me the NS2 graphs that made him reach to that
conclusion... The point is that once you loose a packet and you start
receiving SACKs with gaps, if you fast retransmit a chunk and then you have
a timeout, it is really likely that the addition of SACK in the way back to
the sender, and those DATA chunks sent before the timeout that could
originate the same "whole" in the receiver's buffer, will be bigger than 4,
and so, it is quite probable that you will fast retransmit the chunk again
upon the arrival of the fourth SACK chunk after the time out...

	As we see it, one TSN acknowledged in a Gap ACK Block should trigger
the fast retransmission counter of one TSN not acknowledged by that SACK
chunk *only* if we can be sure that the partial acknowledgement received was
originated by a TSN that was undoubtedly sent after that TSN... Uf... this
seems hard to say, but the idea is not that hard... An example might help...

	Imagine that the cumulative TSN ACK point is 14, and by the time we
have the time out, TSNs from 16 to 21 has been acknowledged, and imagine as
well that TSNs from 22 to 26 are in flight (we haven't received any
acknowledgement about them)... In this situation, if we have a timeout and
then we resend TSNs 14 and 22-26 and maybe we also send some new one, we
will receive the SACKs originated by the original transmission of chunks
22-26, containing a gap that excludes TSN 14, so once we receive the first 4
SACKs (originated by the first transmission of chunks 22-25) we will fast
retransmit again TSN 14...

	The idea is having some memory about that the last TSN sent before
the timeout was 26, and so, when SACK chunks come not acknowledging anything
newer than TSN 26, we shouldn't increment the FR counter... Once we have
sent new chunks again whose TSN is newer than 26, if we receive a SACK that
includes any gap that is acknowledging TSN 26 or newer in any of its Gap ACK
Blocks, we should start incrementing the gap counters of the TSNs not
acknowledged so far...

	Thanks for your time!

	BR Iván Arias Rodríguez

> of our scores are now 0. We have obviously lost our ack-clock
> and we allow very little out. Probably our TSNx and no more
> than a few others depending on how big TSNx is. Since we did
> FR TSNx it is probably the smallest TSN... it may be capable
> of being bundled... 
> 
> Now once I send these again and start to get an Ack-Clock, all
> the scores are reset to 0. So I am now waiting for a 4 missing
> reports to occur.
> 
> I see nothing wrong with this... Maybe a further clearification
> 
> such as..
> 
> "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
>        ineligible for a subsequent fast retransmit until after the
>        T3-rxt timer expires. Note all missing reports for any 
>        chunks that were outstanding at the time of retransmission
>        MUST be reset to 0 so that four additional missing reports
>        will be necessary before a fast retransmit will occur.
> "
> 
> Also I believe you will find in Mark Allman and Ethan Blanton draft:
> draft-allman-tcp-sack-04.txt
> 
> A section under transmission time-out that illustrates that the
> scoreboard is purged but new SACK's arriving do continue to use
> information gained during the slow-start period following a RTO 
> event (At least if I have read it correctly :>)
> 
> What do you think Mark/Sally? Should new SACK's coming in after
> a RTO be used to count a segment towards a subsequent FR?
> 
> R
> 
> 
> 
> Janardhan Iyengar wrote:
> > 
> > Hi all,
> > 
> > Section 2.8 (Fast Retransmit issues), new text for section 7.2.4 of
> > RFC2960:
> > "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
> >        ineligible for a subsequent fast retransmit until after the
> >        T3-rxt timer expires.
> > "
> > 
> > Should a sender have *any* fast retranmits after a timeout? 
> If so, there
> > needs to be a mechanism for determining which TSNs being 
> SACK'd were sent
> > prior to the timeout rtx and which ones were sent 
> afterwards. Only those
> > which were sent aftewards, should be counted towards the 
> fast rtx trigger.
> > 
> > We feel that the text should read as follows:
> > "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
> >        ineligible for a subsequent fast retransmit.
> > "
> > 
> > Regards,
> > Jana and Armando
> > 
> > 
> --------------------------------------------------------------
> ---------
> > "The future belongs to those who believe in the beauty of 
> their dreams"
> >                                                     - 
> Eleanor Roosevelt
> > 
> --------------------------------------------------------------
> ---------
> > Janardhan R. Iyengar                               
> iyengar@cis.udel.edu
> > University of Delaware                 
http://www.cis.udel.edu/~iyengar
> -----------------------------------------------------------------------
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

_______________________________________________
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  Wed Jun 27 14:55: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 OAA21628
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 14:55: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 OAA22275;
	Wed, 27 Jun 2001 14:12: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 OAA22244
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 14:12:55 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h012.c007.snv.cp.net [209.228.33.219])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA29255
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 14:12:14 -0400 (EDT)
Received: (cpmta 23914 invoked from network); 27 Jun 2001 11:12:24 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.219) with SMTP; 27 Jun 2001 11:12:24 -0700
X-Sent: 27 Jun 2001 18:12:24 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "RJ Atkinson" <rja@inet.org>
Cc: "Tsvwg" <tsvwg@ietf.org>
Subject: RE: [Tsvwg] middle box adulteration.
Date: Wed, 27 Jun 2001 11:10:19 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJEEDOCJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <5.1.0.14.2.20010627135344.01e8d2a0@10.30.15.2>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
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

Ran,

You will note that if there was a concern about the level of integrity for
port assignments, it too could use CRC in such a case it would be iron-clad.
If adding a separate check for ports would eliminate 90+% of these concerns
about middle boxes, would that not be a good thing?  Things like NATs are
also likely owned by the client and thus somewhat under their control.  What
other middle box function is likely?

Doug

> At 13:00 27/06/01, Douglas Otis wrote:
> >Ran,
> >
> >In response to your concern about middle boxes, a reason that a
> middle box
> >is likely to alter the SCTP packet would be to change a local
> port if acting
> >as a NAT in preventing port collisions.
>
> Actually, there are a variety of reasons that different kinds
> of middle boxes change different parts of the packet.  I agree
> that NAT/PAT is a common one.
>
> >Perhaps adding a one's-complement
> >entry of the port numbers where both of these values are
> excluded from the
> >error checking would make life in the middle box simpler and allow the
> >remainder with the error check to be seen end to end.  Although
> perhaps too
> >simple, the Verification Tag would also help excuded possible
> port errors.
>
> This does not help the middle-box situation, because it doesn't
> handle all kinds of middle-boxes.  Also, it means that a critical
> part of the SCTP header isn't as well protected as it would be
> normally.
>
> Really no kidding, the bottom line is that applications that need
> particularly strong integrity need to provide it themselves in the
> application layer on the user data that requires such integrity.
> I wish this weren't so, but reality is what it is.
>
> Cheers,
>
> Ran
> rja@inet.org


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


From tsvwg-admin@ietf.org  Wed Jun 27 15: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 PAA03369
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 15:12:27 -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 OAA23643;
	Wed, 27 Jun 2001 14:47: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 OAA23618
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 14:47:55 -0400 (EDT)
Received: from gnat.inet.org (inet.org [63.108.254.91] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA16244
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 14:47:13 -0400 (EDT)
Received: from mosquito.inet.org (mosquito [10.30.20.240])
	by gnat.inet.org (Postfix) with ESMTP
	id 8E9F38266E; Wed, 27 Jun 2001 14:47:23 -0400 (EDT)
Message-Id: <5.1.0.14.2.20010627144018.01ec1e10@10.30.15.2>
X-Sender: rja@10.30.15.2
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 27 Jun 2001 14:43:24 -0400
To: "Douglas Otis" <dotis@sanlight.net>
From: RJ Atkinson <rja@inet.org>
Subject: RE: [Tsvwg] middle box adulteration.
Cc: "Tsvwg" <tsvwg@ietf.org>
In-Reply-To: <NEBBJGDMMLHHCIKHGBEJEEDOCJAA.dotis@sanlight.net>
References: <5.1.0.14.2.20010627135344.01e8d2a0@10.30.15.2>
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

At 14:10 27/06/01, Douglas Otis wrote:
>Things like NATs are
>also likely owned by the client and thus somewhat under their control.  

        Sadly this if often not the case.  Often there are NATs
in the middle or on the far end.  Some NATs are forced on users
by some (few) operators, where the operator runs the NAT and
users might not have a choice.

>What other middle box function is likely?

        Various boxes that intercept, modify the data contents,
and then resend the packet are not uncommon today with TCP
and UDP.  It is extremely likely that such will also exist
for SCTP shortly, probably munging telephony apps' data as well.
One could imagine an operator who intercepted all such traffic
running through their network to ensure that voice calls went
via the operator's official voice gateway and didn't go elsewhere.

        Note that I might not like any of the above.  I'm just
noting that they are likely to exist, given the history with
TCP and UDP to date.

Ran
rja@inet.org


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


From tsvwg-admin@ietf.org  Wed Jun 27 16: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 QAA09974
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 16:31: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 PAA26084;
	Wed, 27 Jun 2001 15:58: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 PAA26056
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 15:58:19 -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 PAA18280
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 15:57:38 -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.11.3/8.9.1) with ESMTP id f5RJvdN17584;
	Wed, 27 Jun 2001 12:57:39 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-6-170.cisco.com [10.21.58.171])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJE00075 (AUTH rrs);
	Wed, 27 Jun 2001 12:57:27 -0700 (PDT)
Message-ID: <3B3A3AA2.F90F3199@stewart.chicago.il.us>
Date: Wed, 27 Jun 2001 14:57:22 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Ivan.Arias-Rodriguez@nokia.com
CC: iyengar@mail.eecis.udel.edu, mallman@grc.nasa.gov, floyd@aciri.org,
        tsvwg@ietf.org, amer@mail.eecis.udel.edu, acaro@mail.eecis.udel.edu
Subject: Re: [Tsvwg] SCTP Implementor's Guide
References: <7238A5BA4C7C7F4DA40EC7525B364BA4047146@esebe002.NOE.Nokia.com>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by sj-msg-core-4.cisco.com id f5RJvdN17584
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id PAA26057
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 PAA26084
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id QAA09974

Ivan:

Just a couple of quick statements:

A) I just finished downloading ghostview... I did not
   have it on my laptop :< so I was unable to read
   the .ps Janardhan sent... I should be able to real
   soon now :>

B) The current guide just follows what was stated on
   the lists earlier AND what was in Mark's draft. If this
   is wrong I have no problems in forever not FR'ing the chunk
   (which is what Janardhan proposed).

C) I think your proposal is a bit different then Janardhan's i.e.
   saving a state variable 'Sack.At.Tx3' and then not stroking
   FR counters if no GapAck Block shows greater than this
   value. This sorta runs parrallel to our FR draft we are working
   on :) We may want to put Janardhan's proposal in the implementors
   guide and then add this to the FR document...


Now that my download is done I go to look with ghostview at
Janardhan's graphs :->

R

Ivan.Arias-Rodriguez@nokia.com wrote:
> 
>         Hi all!
> 
>         See some comments below...
> 
> > Janardhan:
> >
> > I don't beleive this is strictly how things work in TCP and I
> > don't see why things are not eligible for fast retransmit
> > after a timeout.
> >
> > If you consider:
> >
> > ----FR(TSNx)---->
> > ..
> > ..
> > ..
> > ---Time-Out---
> > ---All outstanding marked for retran---
> > so we end up
> >
> > ---Re-Tran(TSNx)---->
> > <plus possibly others>
> >
> > At this point we have now reach the same state as before. All
> 
>         Well, not exactly... You have to take into account that there are
> several SACK coming back from the peer by the time you make the
> retransmission... Also, you must note that some of the DATA chunks you are
> going to mark for retransmissions are in "early flight" to the destination
> and is likely that they will arrive to the destination... So, you are not
> exactly as before, I would say things are quite different...
> 
>         The point is that both those SACK coming back, and the SACK that
> will be originated by the DATA chunks that are going to the peer, sent
> before the timeout but not yet arrived to the receiver, will originate the
> same gap as the one that previously originated the fast retransmission...
> 
>         I happen to be sitting next to Janardhan and he explained me exactly
> what the problem is, showing me the NS2 graphs that made him reach to that
> conclusion... The point is that once you loose a packet and you start
> receiving SACKs with gaps, if you fast retransmit a chunk and then you have
> a timeout, it is really likely that the addition of SACK in the way back to
> the sender, and those DATA chunks sent before the timeout that could
> originate the same "whole" in the receiver's buffer, will be bigger than 4,
> and so, it is quite probable that you will fast retransmit the chunk again
> upon the arrival of the fourth SACK chunk after the time out...
> 
>         As we see it, one TSN acknowledged in a Gap ACK Block should trigger
> the fast retransmission counter of one TSN not acknowledged by that SACK
> chunk *only* if we can be sure that the partial acknowledgement received was
> originated by a TSN that was undoubtedly sent after that TSN... Uf... this
> seems hard to say, but the idea is not that hard... An example might help...
> 
>         Imagine that the cumulative TSN ACK point is 14, and by the time we
> have the time out, TSNs from 16 to 21 has been acknowledged, and imagine as
> well that TSNs from 22 to 26 are in flight (we haven't received any
> acknowledgement about them)... In this situation, if we have a timeout and
> then we resend TSNs 14 and 22-26 and maybe we also send some new one, we
> will receive the SACKs originated by the original transmission of chunks
> 22-26, containing a gap that excludes TSN 14, so once we receive the first 4
> SACKs (originated by the first transmission of chunks 22-25) we will fast
> retransmit again TSN 14...
> 
>         The idea is having some memory about that the last TSN sent before
> the timeout was 26, and so, when SACK chunks come not acknowledging anything
> newer than TSN 26, we shouldn't increment the FR counter... Once we have
> sent new chunks again whose TSN is newer than 26, if we receive a SACK that
> includes any gap that is acknowledging TSN 26 or newer in any of its Gap ACK
> Blocks, we should start incrementing the gap counters of the TSNs not
> acknowledged so far...
> 
>         Thanks for your time!
> 
>         BR Iván Arias Rodríguez
> 
> > of our scores are now 0. We have obviously lost our ack-clock
> > and we allow very little out. Probably our TSNx and no more
> > than a few others depending on how big TSNx is. Since we did
> > FR TSNx it is probably the smallest TSN... it may be capable
> > of being bundled...
> >
> > Now once I send these again and start to get an Ack-Clock, all
> > the scores are reset to 0. So I am now waiting for a 4 missing
> > reports to occur.
> >
> > I see nothing wrong with this... Maybe a further clearification
> >
> > such as..
> >
> > "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
> >        ineligible for a subsequent fast retransmit until after the
> >        T3-rxt timer expires. Note all missing reports for any
> >        chunks that were outstanding at the time of retransmission
> >        MUST be reset to 0 so that four additional missing reports
> >        will be necessary before a fast retransmit will occur.
> > "
> >
> > Also I believe you will find in Mark Allman and Ethan Blanton draft:
> > draft-allman-tcp-sack-04.txt
> >
> > A section under transmission time-out that illustrates that the
> > scoreboard is purged but new SACK's arriving do continue to use
> > information gained during the slow-start period following a RTO
> > event (At least if I have read it correctly :>)
> >
> > What do you think Mark/Sally? Should new SACK's coming in after
> > a RTO be used to count a segment towards a subsequent FR?
> >
> > R
> >
> >
> >
> > Janardhan Iyengar wrote:
> > >
> > > Hi all,
> > >
> > > Section 2.8 (Fast Retransmit issues), new text for section 7.2.4 of
> > > RFC2960:
> > > "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
> > >        ineligible for a subsequent fast retransmit until after the
> > >        T3-rxt timer expires.
> > > "
> > >
> > > Should a sender have *any* fast retranmits after a timeout?
> > If so, there
> > > needs to be a mechanism for determining which TSNs being
> > SACK'd were sent
> > > prior to the timeout rtx and which ones were sent
> > afterwards. Only those
> > > which were sent aftewards, should be counted towards the
> > fast rtx trigger.
> > >
> > > We feel that the text should read as follows:
> > > "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
> > >        ineligible for a subsequent fast retransmit.
> > > "
> > >
> > > Regards,
> > > Jana and Armando
> > >
> > >
> > --------------------------------------------------------------
> > ---------
> > > "The future belongs to those who believe in the beauty of
> > their dreams"
> > >                                                     -
> > Eleanor Roosevelt
> > >
> > --------------------------------------------------------------
> > ---------
> > > Janardhan R. Iyengar
> > iyengar@cis.udel.edu
> > > University of Delaware
> http://www.cis.udel.edu/~iyengar
> > -----------------------------------------------------------------------
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> --
> Randall R. Stewart
> randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 27 16:41:28 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 QAA16240
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 16:41: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 QAA26741;
	Wed, 27 Jun 2001 16:12: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 QAA26670
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 16:12:24 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA26416
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 16:11:42 -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.11.3/8.9.1) with ESMTP id f5RKBcx07771;
	Wed, 27 Jun 2001 13:11:38 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-6-170.cisco.com [10.21.58.171])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJF00444 (AUTH rrs);
	Wed, 27 Jun 2001 13:11:27 -0700 (PDT)
Message-ID: <3B3A3DEA.AEDAB3E@stewart.chicago.il.us>
Date: Wed, 27 Jun 2001 15:11:22 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Ivan.Arias-Rodriguez@nokia.com
CC: iyengar@mail.eecis.udel.edu, mallman@grc.nasa.gov, floyd@aciri.org,
        tsvwg@ietf.org, amer@mail.eecis.udel.edu, acaro@mail.eecis.udel.edu
Subject: Re: [Tsvwg] SCTP Implementor's Guide
References: <7238A5BA4C7C7F4DA40EC7525B364BA4047146@esebe002.NOE.Nokia.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

Ivan:

After having a chance to look at the graphs...  I think
I agree.. lets only allow 1 FR... as Janardhan proposes.
Then we can address the other proposal of yours in
the document we are working on...


> > Janardhan Iyengar wrote:
> > >
> > > Hi all,
> > >
> > > Section 2.8 (Fast Retransmit issues), new text for section 7.2.4 of
> > > RFC2960:
> > > "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
> > >        ineligible for a subsequent fast retransmit until after the
> > >        T3-rxt timer expires.
> > > "
> > >
> > > Should a sender have *any* fast retranmits after a timeout?
> > If so, there
> > > needs to be a mechanism for determining which TSNs being
> > SACK'd were sent
> > > prior to the timeout rtx and which ones were sent
> > afterwards. Only those
> > > which were sent aftewards, should be counted towards the
> > fast rtx trigger.
> > >
> > > We feel that the text should read as follows:
> > > "   5) Mark the DATA chunk(s) as being fast retransmitted and thus
> > >        ineligible for a subsequent fast retransmit.
> > > "
> > >
> > > Regards,
> > > Jana and Armando
> > >


R

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Wed Jun 27 18:15:13 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 SAA20678
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 18:15: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 RAA00221;
	Wed, 27 Jun 2001 17:56:32 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA00189
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 17:56:31 -0400 (EDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA07208
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 17:55:49 -0400 (EDT)
Received: from heliopolis.eng.sun.com ([152.70.1.39])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id OAA28029;
	Wed, 27 Jun 2001 14:56:30 -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 OAA25610;
	Wed, 27 Jun 2001 14:56:29 -0700 (PDT)
Message-Id: <200106272156.OAA25610@heliopolis.eng.sun.com>
Date: Wed, 27 Jun 2001 14:56:29 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: bidulock@openss7.org
Cc: tsvwg@ietf.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: ZNZFdt17gS3ejMmF2GSyKQ==
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


Recall that SCTP will not send a SHUTDOWN until all outstanding
data has been ACK's by the peer. So the only way you can get
unsent data when trying to do an orderly shutdown is if the
peer stops responding and the connection times out.

Jonathan
 
>
>I think that it could make sense to allow the app to request the
>delivery of messages after shutdown(fd, SHUT_WR), but not actually
>deliver them up until after SCTP has sent SHUTDOWN or SHUTDOWN-ACK.
>Then there may be no need to try to do this ABORT thing to retrieve
>messages quickly.
>


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


From tsvwg-admin@ietf.org  Wed Jun 27 18:42: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 SAA09290
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 18:42: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 SAA01240;
	Wed, 27 Jun 2001 18:23: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 SAA01212
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 18:23:27 -0400 (EDT)
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA25875
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 18:22:44 -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 QAA10349;
	Wed, 27 Jun 2001 16:22:57 -0600 (MDT)
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 PAA26719;
	Wed, 27 Jun 2001 15:22:58 -0700 (PDT)
Message-Id: <200106272222.PAA26719@heliopolis.eng.sun.com>
Date: Wed, 27 Jun 2001 15:22:58 -0700 (PDT)
From: Jonathan Wood <Jonathan.Wood@Sun.COM>
Reply-To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Subject: Re: [Tsvwg] SCTP implementors guide
To: tsvwg@ietf.org, randall@stewart.chicago.il.us
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: D3XdKQ1vQNrItR6dgbKhYg==
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


A discussion between Brian and myself brought up the issue
that rfc2960 is not consistant on what must be done when a
peer sends data chunks after a SHUTDOWN has been sent. In
section 9.2 it says that you MUST send a SACK and SHUTDOWN in
response to each packet containing data chunks.

In section 6.2 and 9.2 it is implied that you don't need to send
a SACK with the SHUTDOWN.

This could be cleaned up so there is no chance of confusion
in the future.

Jonathan

>
>Dear All:
>
>I know we have been rather consumed with the checksum
>issues. So many of you may not have had a chance to look
>in detail at this document. It is rooted in the bake-off
>drafts and the checksum and ipv6 stuff is not present
>in this document. An IPv6 draft (about 3 pages) should
>be coming out shortly, I am still awaiting my co-authors
>comments/updates :)
>
>Now surely some of you have had a chance to look at this
>draft and I KNOW that you all can't be in agreement
>with this one :) 
>
>I would urge you to send comments after reviewing the
>document.
>
>Thanks
>


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


From tsvwg-admin@ietf.org  Wed Jun 27 19:42: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 TAA17296
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 19:42: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 TAA03288;
	Wed, 27 Jun 2001 19:27: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 TAA03258
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 19:27:52 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h011.c007.snv.cp.net [209.228.33.217])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA06952
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 19:27:12 -0400 (EDT)
Received: (cpmta 17866 invoked from network); 27 Jun 2001 16:27:21 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.217) with SMTP; 27 Jun 2001 16:27:21 -0700
X-Sent: 27 Jun 2001 23:27:21 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "RJ Atkinson" <rja@inet.org>
Cc: "Tsvwg" <tsvwg@ietf.org>
Subject: RE: [Tsvwg] middle box adulteration.
Date: Wed, 27 Jun 2001 16:25:16 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJCEEACJAA.dotis@sanlight.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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: <5.1.0.14.2.20010627144018.01ec1e10@10.30.15.2>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
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

Ran,

Application Specific Gateways (ALGs) for SCTP would be new and hopefully new
SCTP specific applications will consider limitations of NATs which creates
the impetus for most ALGs.  This may be optimistic but even those altered
packets are typically done only on a few of the packets if one excludes port
alteration which then limits exposure.  Creating a separate port check field
would afford a significant improvement in providing an end to end check if
such middle boxes where NATs make the greatest population are of concern.

Yes, there will be ALGs as you suggest that will create havoc, but if these
are reaching into the application data, even end to end protections created
by these applications are subject to the same changes.  As a practical
approach, removing 90+% of those situations that may corrupt the data should
merit consideration.

Doug


> At 14:10 27/06/01, Douglas Otis wrote:
> >Things like NATs are
> >also likely owned by the client and thus somewhat under their control.
>
>         Sadly this if often not the case.  Often there are NATs
> in the middle or on the far end.  Some NATs are forced on users
> by some (few) operators, where the operator runs the NAT and
> users might not have a choice.
>
> >What other middle box function is likely?
>
>         Various boxes that intercept, modify the data contents,
> and then resend the packet are not uncommon today with TCP
> and UDP.  It is extremely likely that such will also exist
> for SCTP shortly, probably munging telephony apps' data as well.
> One could imagine an operator who intercepted all such traffic
> running through their network to ensure that voice calls went
> via the operator's official voice gateway and didn't go elsewhere.
>
>         Note that I might not like any of the above.  I'm just
> noting that they are likely to exist, given the history with
> TCP and UDP to date.
>
> Ran
> rja@inet.org


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


From tsvwg-admin@ietf.org  Wed Jun 27 23:18: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 XAA19258
	for <tsvwg-archive@odin.ietf.org>; Wed, 27 Jun 2001 23:18: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 XAA10121;
	Wed, 27 Jun 2001 23:06: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 XAA10090
	for <tsvwg@ns.ietf.org>; Wed, 27 Jun 2001 23:06:28 -0400 (EDT)
Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id XAA10736
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 23:05:46 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust176.tnt6.tucson.az.da.uu.net [63.11.147.176])
	by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id UAA01689;
	Wed, 27 Jun 2001 20:06:21 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5S35L123327;
	Wed, 27 Jun 2001 22:05:21 -0500
Date: Wed, 27 Jun 2001 22:05:21 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jonathan Wood <Jonathan.Wood@Sun.COM>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010627220521.A23134@piglet>
Reply-To: bidulock@openss7.org
References: <200106272156.OAA25610@heliopolis.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200106272156.OAA25610@heliopolis.eng.sun.com>; from Jonathan.Wood@Sun.COM on Wed, Jun 27, 2001 at 02:56:29PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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,

No problem.  If there are messages in queue that are holding
back a SHUTDOWN when retrieval is requested, retrieve them
and send a SHUTDOWN immediately (the user has called them 
back, they are no longer in queue, and there is no pending
data).

On Wed, 27 Jun 2001, Jonathan Wood wrote:

> 
> Recall that SCTP will not send a SHUTDOWN until all outstanding
> data has been ACK's by the peer. So the only way you can get
> unsent data when trying to do an orderly shutdown is if the
> peer stops responding and the connection times out.
> 
> Jonathan
>  
> >
> >I think that it could make sense to allow the app to request the
> >delivery of messages after shutdown(fd, SHUT_WR), but not actually
> >deliver them up until after SCTP has sent SHUTDOWN or SHUTDOWN-ACK.
> >Then there may be no need to try to do this ABORT thing to retrieve
> >messages quickly.
> >

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Thu Jun 28 01:04: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 BAA22643
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 01:04: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 AAA12869;
	Thu, 28 Jun 2001 00:34: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 AAA12838
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 00:34:41 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id AAA22389
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 00:34:01 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id VAA28135
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 21:34:39 -0700 (PDT)
Received: from gamma (vpn-129-150-4-93.EBay.Sun.COM [129.150.4.93])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id VAA12439
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 21:34:39 -0700 (PDT)
Date: Wed, 27 Jun 2001 21:37:08 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010626211030.A14708@piglet>
Message-ID: <Roam.SIMC.2.0.6.993703028.3520.kcpoon@jurassic.eng.sun.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

> Well its a little late to start stopping the exposing protocol details.

It's never late (-:

> It may, unfortunately, be necessary for some application to know which
> messages may have been delivered to the user on the other side.  With
> multiple streams the only way to determine this at present is to check
> which sacked messages contain contiguous SSNs for the streams in question.
> Also, an application may want to do retrieval for some streams but not
> for others.  I don't know how to provide this information across a
> socket API without exposing some SCTP protocol details.

Such apps need to have their own protocols.  This is impossible for
SCTP to tell them which messages have been delivered.  Even a message
is sack'ed and in the correct order of its stream, it does not mean that
it is delivered.  All data reported by SCTP as sent can be potentially 
delivered to the other side.  The apps have to be prepared for this and
it will be written down in the draft, although personally I won't
recommend using it.  I still don't see the reason why telling the apps the
incorrect and complicated info can really help them.  If the apps make use 
of this API feature, it has to have its own protocol, regardless of whether
the API exposes the SCTP sack info...

							K. Poon.
							kcpoon@eng.sun.com




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


From tsvwg-admin@ietf.org  Thu Jun 28 01:07: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 BAA22794
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 01:07: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 AAA13242;
	Thu, 28 Jun 2001 00:50: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 AAA13213
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 00:50:53 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id AAA22507
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 00:50:14 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id VAA02476
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 21:50:54 -0700 (PDT)
Received: from gamma (vpn-129-150-4-93.EBay.Sun.COM [129.150.4.93])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id VAA14131
	for <tsvwg@ietf.org>; Wed, 27 Jun 2001 21:50:54 -0700 (PDT)
Date: Wed, 27 Jun 2001 21:53:20 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <20010626224557.B14708@piglet>
Message-ID: <Roam.SIMC.2.0.6.993704000.9963.kcpoon@jurassic.eng.sun.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

> Well, SSCOP (which is used for MTP3b) which has retrieval built into
> the protocol and an orderly shutdown, allows retrieval after sending
> a disconnect command (END) but before receiving a disconnect
> acknowledgement (ENDAK).  This is roughly equivalent to allowing
> retrieval after SCTP sends SHUTDOWN but before it receives SHUTDOWN
> ACK.

Brian, can you explain more?  What is the semantics of retrieval of
data after a disconnect command?  Does it mean that if there are unsent
messages, they are returned to the app and will not be sent?  In the
case of SCTP, if SHUTDOWN is sent, all messages must have been sent.
It seems to me that the equivalent is after shutdown(SHUT_WR) is 
called, the app wants to stop sending the unsent data and retrieve
them back if the SHUTDOWN has not been sent yet.  Is this correct?  
But I don't know how it can be done in the current API...  And I don't
see the need for this.  So maybe Brian can explain more about the 
rationale for SSCOP doing that.  And if the API does not support it, is 
there a problem?  This interaction sounds really strange to me...

On the side line, does our phone system really do this kind of thing now?

> I think that it could make sense to allow the app to request the
> delivery of messages after shutdown(fd, SHUT_WR), but not actually
> deliver them up until after SCTP has sent SHUTDOWN or SHUTDOWN-ACK.
> Then there may be no need to try to do this ABORT thing to retrieve
> messages quickly.

The reason for the abort is that the socket API (not just our extension)
does not have a notion of taking back what has been sent.  The best
we can extend that is if there is a failure, return the data in the
queue.  I think we really need to be careful to understand the real
need of this interaction before we come up with a solution...

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Thu Jun 28 02:25: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 CAA04773
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 02:25: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 CAA23611;
	Thu, 28 Jun 2001 02:14:08 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id CAA23584
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 02:14:06 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA03980
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 02:13:26 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id XAA27631;
	Wed, 27 Jun 2001 23:14:05 -0700 (PDT)
Received: from gamma (vpn-129-150-4-93.EBay.Sun.COM [129.150.4.93])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id XAA21723;
	Wed, 27 Jun 2001 23:14:05 -0700 (PDT)
Date: Wed, 27 Jun 2001 23:16:35 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP Implementor's Guide
To: tsvwg@ietf.org
Cc: mallman@grc.nasa.gov, floyd@aciri.org
In-Reply-To: "Your message with ID" <3B39F65E.A07823C2@stewart.chicago.il.us>
Message-ID: <Roam.SIMC.2.0.6.993708995.9110.kcpoon@jurassic.eng.sun.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 don't beleive this is strictly how things work in TCP and I
> don't see why things are not eligible for fast retransmit
> after a timeout.

So let's think in terms of how TCP works for the moment.

> If you consider:
> 
> ----FR(TSNx)---->
> ..
> ..
> ..
> ---Time-Out---
> ---All outstanding marked for retran---
> so we end up
> 
> ---Re-Tran(TSNx)---->
> <plus possibly others>
> 
> At this point we have now reach the same state as before. All
> of our scores are now 0. We have obviously lost our ack-clock
> and we allow very little out. Probably our TSNx and no more
> than a few others depending on how big TSNx is. Since we did
> FR TSNx it is probably the smallest TSN... it may be capable
> of being bundled... 

Assume that TSNx is the first fast retranmitted chunk.  Note that
with SACK, it is possible to fast retransmit several chunks during
the fast retransmit phase.  Since timeout happens, it means that
the fast retransmitted TSNx is also dropped.  Here I make the
assumption that RTO is sufficient for the fast retransmitted TSNx
to get to the other side and the cumulative ACK to come back without
a timeout.  

So Janardhan's question is during the slow start after the timeout,
what should be sent out?  TSNx has to be sent out for sure.  How
about other fast retansmitted chunks during the fast retransmit
phase?  The issue here is that those other fast retransmitted chunks
can also be dropped.  If they are not dropped, the cumulative ACK
triggered by the retransmitted TSNx after the timeout should have
covered everything, as they are sent before the timeout happens.
Here I make another assumption that packets are not re-ordered.

It seems to me that the correct behavior is after getting the
cumulative ACK, SCTP immediately retransmits the next TSN as it
is probably also lost.  Note the interesting part that before the
cumulative ACK for TSNx arrives, new SACK chunks can keep coming
because they are triggered by either the fast retransmitted chunks
or newly sent chunks during the fast retransmit phase.  What should
SCTP do with them?

It seems to me that the correct conservative behavior is to record
the SACK gaps, but do not do any fast retransmit during the slow
start after timeout phase.  This is the phase which starts at the 
timeout and ends when all the data chunks sent (including those newly
sent data chunk during fast retransmit phase) before the timeout
has been cumulatively ack'ed.  If I remember correctly, Sally has
a short note on this phase when she investigated the false fast
retransmit behavior of Reno. 

The reason for noting those SACK gaps is that during the slow start 
after timeout phase, even though we can be pretty sure that the 
chunk right after the cumulatively ack'ed chunk (TSNy) is also lost, 
but if SCTP is allowed by cwnd to send more than one chunk, should it
also send the chunks (TSNy + 1, TSNy + 2, ...).  I believe the SACK
gaps received after the timeout can help in this case.  SCTP can
use the info to decide whether TSNy + 1 and subsequent chunks should
be retransmitted.

The reason not to do fast retransmit during the slow start after
timeout phase is just for simplicity.  Note that by using the above
behavior, fast retransmit during the slow start after timeout phase
is useful only if the retransmitted chunk during this phase are
also lost.  Since SCTP is already in slow start mode, more drops
mean that the network is really congested.  I guess the most network
friendly behavior is to timeout, instead of using yet another fast
retransmit to avoid that.

So I am still firmly believe that the SCTP retransmission behavior
should be exactly the same as TCP.  I really don't see the need to
have yet another behavior as the default.  Note that people can
still investigate what a better behavior is.  But this is probably
research issue and does not need to put down in a draft at this
moment.  When the research becomes mature enough, implementors will
adopt them.

Sally and Mark, any comments?

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Thu Jun 28 02:27: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 CAA04963
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 02:27: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 CAA23561;
	Thu, 28 Jun 2001 02:12: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 CAA23529
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 02:12:50 -0400 (EDT)
Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA03876
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 02:12:10 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust176.tnt6.tucson.az.da.uu.net [63.11.147.176])
	by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA28452;
	Wed, 27 Jun 2001 23:12:45 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5S6BkU25291;
	Thu, 28 Jun 2001 01:11:46 -0500
Date: Thu, 28 Jun 2001 01:11:46 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Cc: tsvwg@ietf.org, SIGTRAN@STANDARDS.NORTELNETWORKS.COM
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
Message-ID: <20010628011146.B23134@piglet>
Reply-To: bidulock@openss7.org
References: <20010626211030.A14708@piglet> <Roam.SIMC.2.0.6.993703028.3520.kcpoon@jurassic.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <Roam.SIMC.2.0.6.993703028.3520.kcpoon@jurassic.eng.sun.com>; from kcpoon@jurassic.eng.sun.com on Wed, Jun 27, 2001 at 09:37:08PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

I agree with you 100%.  Such apps should have their own protocols.
I would like to see all apps (and UAs) have their own app-to-app
acknowledgements and handling of aborted associations to avoid
message loss or mis-sequencing across multiple associations.

However, current proposals for acknowledgement elements in M3UA have
not been adopted and have been poorly received.  M3UA may likely
have a Broadcast mode added which provides the protocol necessary to
avoid these complications of retrieval.  However, for the other two
modes: Override and Loadshare, there are still problems.  Without
the simple mechanisms allowed by an application level ack (which has
currently been rejected as "over-kill"), M3UA in Override or
Loadshare mode might have to determine which messages were
"possibly" delivered to the peer M3UA so that it can discard them to
avoid duplication (at the cost of message loss).  In determining
whether messages where "possibly" delivered, information concerning
whether the messages were gap-SACKed or not could be useful to the
implementation in determining which messages are best to discard
and which are best to transmit via another route or ASP.

I agree with you that the cleanest way to support this is to have
an application level ack and I have tried to persuade M3UA to
include this (my pesuasion skills are not very good ;).

All of the UAs are in the same boat.  Some are considering my
proposals for an application level ack to avoid the ambiguities
inherent in SCTP retrieval.

The best approach, I believe would be to remove retrieval from the
API altogether.  It is not needed by "normal" applications (like
HTTP) which provide their own acknowledgements at the application
level.  This might disuade the SIGTRAN UAs from attempting to abuse
the interface and require them to produce protocols which meet
their specific needs rather than trying to paint them all with the
same brush with one mechanism in SCTP.

--Brian


On Wed, 27 Jun 2001, Kacheong Poon wrote:

> > Well its a little late to start stopping the exposing protocol details.
> 
> It's never late (-:
> 
> > It may, unfortunately, be necessary for some application to know which
> > messages may have been delivered to the user on the other side.  With
> > multiple streams the only way to determine this at present is to check
> > which sacked messages contain contiguous SSNs for the streams in question.
> > Also, an application may want to do retrieval for some streams but not
> > for others.  I don't know how to provide this information across a
> > socket API without exposing some SCTP protocol details.
> 
> Such apps need to have their own protocols.  This is impossible for
> SCTP to tell them which messages have been delivered.  Even a message
> is sack'ed and in the correct order of its stream, it does not mean that
> it is delivered.  All data reported by SCTP as sent can be potentially 
> delivered to the other side.  The apps have to be prepared for this and
> it will be written down in the draft, although personally I won't
> recommend using it.  I still don't see the reason why telling the apps the
> incorrect and complicated info can really help them.  If the apps make use 
> of this API feature, it has to have its own protocol, regardless of whether
> the API exposes the SCTP sack info...
> 

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Thu Jun 28 02:40: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 CAA05794
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 02:40: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 CAA23977;
	Thu, 28 Jun 2001 02:25: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 CAA23946
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 02:25:48 -0400 (EDT)
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA04752
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 02:25:07 -0400 (EDT)
From: john.loughney@nokia.com
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5S6Oo926309
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 09:24:50 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T546ac1ec98ac158f210ef@esvir01nok.ntc.nokia.com>;
 Thu, 28 Jun 2001 09:25:46 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1BLHN9>; Thu, 28 Jun 2001 09:25:46 +0300
Message-ID: <01D91AFB08B6D211BFD00008C7EABAE10680B1DA@eseis04nok>
To: randall@stewart.chicago.il.us
Cc: tsvwg@ietf.org
Subject: RE: [Tsvwg] IPv6 scope & SCTP (FW from IPNGWG: summary of discuss
	ions  about the semantics of sin6_scope_id)
Date: Thu, 28 Jun 2001 09:25:43 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
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 Randy,

> Steve Deering and I will be releasing a scoping draft
> sometime later this week. Steve is currently doing
> some minor tweaks he wants incorporated and we should
> have it out by Friday... Hopefully this will address
> these issues..

One thing to note is that some of this is up for
discussion in IPNGWG and it might be nice to see if
the discussion has any special impact on SCTP.

Anyhow, good to see that you are on the ball.

John

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


From tsvwg-admin@ietf.org  Thu Jun 28 02:52: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 CAA06485
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 02:52: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 CAA23934;
	Thu, 28 Jun 2001 02:25: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 CAA23904
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 02:25:44 -0400 (EDT)
Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA04745
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 02:25:03 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust176.tnt6.tucson.az.da.uu.net [63.11.147.176])
	by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA06458;
	Wed, 27 Jun 2001 23:25:41 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5S6OiH25435;
	Thu, 28 Jun 2001 01:24:44 -0500
Date: Thu, 28 Jun 2001 01:24:43 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Cc: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010628012443.C23134@piglet>
Reply-To: bidulock@openss7.org
References: <20010626224557.B14708@piglet> <Roam.SIMC.2.0.6.993704000.9963.kcpoon@jurassic.eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <Roam.SIMC.2.0.6.993704000.9963.kcpoon@jurassic.eng.sun.com>; from kcpoon@jurassic.eng.sun.com on Wed, Jun 27, 2001 at 09:53:20PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Kacheong,

On Wed, 27 Jun 2001, Kacheong Poon wrote:

> > Well, SSCOP (which is used for MTP3b) which has retrieval built into
> > the protocol and an orderly shutdown, allows retrieval after sending
> > a disconnect command (END) but before receiving a disconnect
> > acknowledgement (ENDAK).  This is roughly equivalent to allowing
> > retrieval after SCTP sends SHUTDOWN but before it receives SHUTDOWN
> > ACK.
> 
> Brian, can you explain more?  What is the semantics of retrieval of
> data after a disconnect command?  Does it mean that if there are unsent
> messages, they are returned to the app and will not be sent?  In the
> case of SCTP, if SHUTDOWN is sent, all messages must have been sent.
> It seems to me that the equivalent is after shutdown(SHUT_WR) is 
> called, the app wants to stop sending the unsent data and retrieve
> them back if the SHUTDOWN has not been sent yet.  Is this correct?  
> But I don't know how it can be done in the current API...  And I don't
> see the need for this.  So maybe Brian can explain more about the 
> rationale for SSCOP doing that.  And if the API does not support it, is 
> there a problem?  This interaction sounds really strange to me...

I might be dragging you a little off topic...  SSCOP, like ISO transport
and network protocols does not have a distinction between orderly and
abortive release.  Release stops sending messages (abortive), but expects
an confirmation if possible (orderly).

> 
> On the side line, does our phone system really do this kind of thing now?

Yes.  See, for example, Q.2140.

> 
> > I think that it could make sense to allow the app to request the
> > delivery of messages after shutdown(fd, SHUT_WR), but not actually
> > deliver them up until after SCTP has sent SHUTDOWN or SHUTDOWN-ACK.
> > Then there may be no need to try to do this ABORT thing to retrieve
> > messages quickly.
> 
> The reason for the abort is that the socket API (not just our extension)
> does not have a notion of taking back what has been sent.  The best
> we can extend that is if there is a failure, return the data in the
> queue.  I think we really need to be careful to understand the real
> need of this interaction before we come up with a solution...

Well, the API is being extended to "take back" what was sent after
the ABORT.  What is the difference in doing it as the SHUTDOWN is
sent, or as a precondition to sending a SHUTDOWN?

A more fundamental difference here is that SCTP's ACK's are for
its own use only and SCTP provides no support for application level
acknowledgements.  SSCOP does.  ISO/NSD does.  SS7 does.  Therefore,
I believe it should be the application's responsibility to provide
its own protocol for acknowledgements and perform its own buffering.
This is what normal TCP applications do today.

Drop retrieval from the API altogether.  It is something that the
API was never intended to perform because of the lack of support
for acknolwedged data transfer (where in the ISO sense, acknowledged
data transfer is user-to-user acknolwedgement).  The XTI supported
this, but sockets does not.

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Thu Jun 28 03:02: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 DAA07472
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 03:02: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 CAA25078;
	Thu, 28 Jun 2001 02:50: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 CAA25046
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 02:50:13 -0400 (EDT)
Received: from mail.eecis.udel.edu (louie.udel.edu [128.175.2.33])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA06289
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 02:49:32 -0400 (EDT)
Received: from ren.eecis.udel.edu by mail.eecis.udel.edu id aa17497;
          28 Jun 2001 02:49 EDT
Date: Thu, 28 Jun 2001 02:49:21 -0400 (EDT)
From: "Armando L. Caro Jr." <acaro@mail.eecis.udel.edu>
To: Ivan.Arias-Rodriguez@nokia.com
MMDF-Warning:  Parse error in original version of preceding line at mail.eecis.udel.edu
cc: tsvwg@ietf.org
MMDF-Warning:  Parse error in original version of preceding line at mail.eecis.udel.edu
Subject: RE: [Tsvwg] SCTP Implementor's Guide
In-Reply-To: <7238A5BA4C7C7F4DA40EC7525B364BA4047146@esebe002.NOE.Nokia.com>
Message-ID: <Pine.GSO.4.31.0106280246360.8484-100000@ren.eecis.udel.edu>
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, 27 Jun 2001 Ivan.Arias-Rodriguez@nokia.com wrote:

> 	The idea is having some memory about that the last TSN sent before
> the timeout was 26, and so, when SACK chunks come not acknowledging anything
> newer than TSN 26, we shouldn't increment the FR counter... Once we have
> sent new chunks again whose TSN is newer than 26, if we receive a SACK that
> includes any gap that is acknowledging TSN 26 or newer in any of its Gap ACK
> Blocks, we should start incrementing the gap counters of the TSNs not
> acknowledged so far...

Yes, I like this idea. I am just wondering if such a case would ever be
needed/possible...

-----------------------------------------------------------------------
Armando L. Caro Jr.                                  acaro@cis.udel.edu
University of Delaware                   http://www.cis.udel.edu/~acaro
-----------------------------------------------------------------------


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


From tsvwg-admin@ietf.org  Thu Jun 28 03:04: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 DAA07604
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 03:04: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 CAA25229;
	Thu, 28 Jun 2001 02:53: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 CAA25196
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 02:53:17 -0400 (EDT)
Received: from mail.eecis.udel.edu (louie.udel.edu [128.175.2.33])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA06519
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 02:52:37 -0400 (EDT)
Received: from ren.eecis.udel.edu by mail.eecis.udel.edu id aa17599;
          28 Jun 2001 02:53 EDT
Date: Thu, 28 Jun 2001 02:52:55 -0400 (EDT)
From: "Armando L. Caro Jr." <acaro@mail.eecis.udel.edu>
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
cc: tsvwg@ietf.org
MMDF-Warning:  Parse error in original version of preceding line at mail.eecis.udel.edu
Subject: Re: [Tsvwg] SCTP Implementor's Guide
In-Reply-To: <Roam.SIMC.2.0.6.993708995.9110.kcpoon@jurassic.eng.sun.com>
Message-ID: <Pine.GSO.4.31.0106280249340.8484-100000@ren.eecis.udel.edu>
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, 27 Jun 2001, Kacheong Poon wrote:

> So Janardhan's question is during the slow start after the timeout,
> what should be sent out?  TSNx has to be sent out for sure.  How
> about other fast retansmitted chunks during the fast retransmit
> phase?  The issue here is that those other fast retransmitted chunks
> can also be dropped.  If they are not dropped, the cumulative ACK
> triggered by the retransmitted TSNx after the timeout should have
> covered everything, as they are sent before the timeout happens.
> Here I make another assumption that packets are not re-ordered.

I think you misunderstood his/our question. Should a fast rtx be allowed
on TSNx after a timeout has already occurred on TSNx?

Now, you have brought a point which I haven't thought about... I need to
think some more before replying though.

-----------------------------------------------------------------------
Armando L. Caro Jr.                                  acaro@cis.udel.edu
University of Delaware                   http://www.cis.udel.edu/~acaro
-----------------------------------------------------------------------


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


From tsvwg-admin@ietf.org  Thu Jun 28 03:16: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 DAA08387
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 03:16: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 DAA25857;
	Thu, 28 Jun 2001 03:03: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 DAA25830
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 03:03:26 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA07463
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 03:02:45 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id AAA13265;
	Thu, 28 Jun 2001 00:03:23 -0700 (PDT)
Received: from gamma (vpn-129-150-4-93.EBay.Sun.COM [129.150.4.93])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id AAA26735;
	Thu, 28 Jun 2001 00:03:23 -0700 (PDT)
Date: Thu, 28 Jun 2001 00:05:51 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP Implementor's Guide
To: tsvwg@ietf.org
Cc: "Armando L. Caro Jr." <acaro@mail.eecis.udel.edu>
In-Reply-To: "Your message with ID" <Pine.GSO.4.31.0106280249340.8484-100000@ren.eecis.udel.edu>
Message-ID: <Roam.SIMC.2.0.6.993711951.27354.kcpoon@jurassic.eng.sun.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 think you misunderstood his/our question. Should a fast rtx be allowed
> on TSNx after a timeout has already occurred on TSNx?

Maybe I mis-stated your question.  Hmm, I think my previous mail included
the case you asked about.  During the slow start after timeout phase, SCTP
should not do fast retransmit.  Does this answer your question?

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Thu Jun 28 06:38: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 GAA10383
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 06:38: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 GAA03117;
	Thu, 28 Jun 2001 06:18: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 GAA03085
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 06:18:41 -0400 (EDT)
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA10234
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 06:18:00 -0400 (EDT)
Received: from madrid.ericsson.se (madrid.es.eu.ericsson.se [164.48.87.150])
	by penguin.wise.edt.ericsson.se (8.11.0/8.10.1/WIREfire-1.3) with SMTP id f5SAIXO21294;
	Thu, 28 Jun 2001 12:18:33 +0200 (MEST)
Received: from tormenta.es.eu.ericsson.se by madrid.ericsson.se (SMI-8.6/SMI-SVR4)
	id MAA17409; Thu, 28 Jun 2001 12:18:22 +0200
From: emeaaal@madrid.es.eu.ericsson.se (Antonio Alonso Alarcon EEM/TL/NA TU-148 Tlf.3085)
Received: (from emeaaal@localhost)
	by tormenta.es.eu.ericsson.se (8.8.8+Sun/8.8.8/client-1.0) id MAA20169;
	Thu, 28 Jun 2001 12:18:22 +0200 (MET DST)
Date: Thu, 28 Jun 2001 12:18:22 +0200 (MET DST)
Message-Id: <200106281018.MAA20169@tormenta.es.eu.ericsson.se>
To: sigtran@lyris.nortelnetworks.com, sigtran@standards.nortelnetworks.com
Cc: tsvwg@ietf.org
X-Sun-Charset: US-ASCII
Subject: [Tsvwg] RE: Definition of "endpoints"
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 !

   This is almost true. But take into account that, in a multihomed host
(for example, with 2 different IP adresses defined: IP_1 and IP_2) you
could have, in the same port (say port X), two different SCTP endpoints,
one in <port X, IP_1> and other in <port X, IP_2>.

Antonio 

 
> An SCTP endpoint can use multiple IP addresses that the host owns, but it
> must use the same port number.
> That is to say, it is the Port Number that identifies the specific endpoint
> in one host.
> 
> Le Yanqun 
> 
> -----Original Message-----
> From: ext Brian F. G. Bidulock [mailto:bidulock@openss7.org]
> Sent: Thursday, June 28, 2001 2:30 PM
> To: sigtran
> Cc: sigtran@nortelnetworks.com
> Subject: Re: Definition of "endpoints"
> 
> 
> Greg,
> 
> I think that you'll find that the definition of endpoint includes
> port number, and, as such, is a rather trivial statement that the
> cardinality of associations can only be determined by the uniqueness
> of endpoints.
> 
> --Brian
> 
> Kendall, Greg wrote:                          (Wed, 27 Jun 2001 15:57:30)
> >
> > I think I've misunderstood the following line in rfc2960, p12
> > 
> > "Two SCTP endpoints MUST NOT have more than one SCTP association between
> > them at any given time."
> > 
> > I think that because it seem pretty clear that the m2pa draft (ver 02) is
> > talking about what I would have considered 2 associations between an
> > endpoint (in 4.1.2 Link Alignment).  However, this goes away if an
> > "endpoint" is defined in terms of an IP address.  Is this the correct
> > interpretation?
> > 
> 
> -- 
> Brian F. G. Bidulock
> bidulock@openss7.org
> http://www.openss7.org/
> 
> 
> ---
> You are currently subscribed to sigtran as: Yanqun.Le@nokia.com
> To unsubscribe send a blank email to
> leave-sigtran-2008O@lyris.nortelnetworks.com
> 
> 
> ---
> You are currently subscribed to sigtran as: emeaaal@MADRID.ES.EU.ERICSSON.SE
> To unsubscribe send a blank email to leave-sigtran-2008O@lyris.nortelnetworks.com
> 


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


From tsvwg-admin@ietf.org  Thu Jun 28 09:45: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 JAA10752
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 09:45: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 JAA10020;
	Thu, 28 Jun 2001 09:33: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 JAA09953
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 09:33:03 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA02513
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 09:32:20 -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.11.3/8.9.1) with ESMTP id f5SDWdx11559;
	Thu, 28 Jun 2001 06:32:39 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-39.cisco.com [171.68.181.168])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJJ02803 (AUTH rrs);
	Thu, 28 Jun 2001 06:32:28 -0700 (PDT)
Message-ID: <3B3B31E7.81DB8E08@stewart.chicago.il.us>
Date: Thu, 28 Jun 2001 08:32:24 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
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: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP implementors guide
References: <200106272222.PAA26719@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:

Thanks for the ping/reminder.. I saw the discussion I will
put it on my to-do list and get this comment (with the
other one yesterday on FR) spun into the guide and
out by Friday... I start a 2 week vacation Saturday
so I will ship whatever comments are in by Friday..

R

Jonathan Wood wrote:
> 
> A discussion between Brian and myself brought up the issue
> that rfc2960 is not consistant on what must be done when a
> peer sends data chunks after a SHUTDOWN has been sent. In
> section 9.2 it says that you MUST send a SACK and SHUTDOWN in
> response to each packet containing data chunks.
> 
> In section 6.2 and 9.2 it is implied that you don't need to send
> a SACK with the SHUTDOWN.
> 
> This could be cleaned up so there is no chance of confusion
> in the future.
> 
> Jonathan
> 
> >
> >Dear All:
> >
> >I know we have been rather consumed with the checksum
> >issues. So many of you may not have had a chance to look
> >in detail at this document. It is rooted in the bake-off
> >drafts and the checksum and ipv6 stuff is not present
> >in this document. An IPv6 draft (about 3 pages) should
> >be coming out shortly, I am still awaiting my co-authors
> >comments/updates :)
> >
> >Now surely some of you have had a chance to look at this
> >draft and I KNOW that you all can't be in agreement
> >with this one :)
> >
> >I would urge you to send comments after reviewing the
> >document.
> >
> >Thanks
> >
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Thu Jun 28 09:48:01 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 JAA12221
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 09:48:01 -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 JAA10226;
	Thu, 28 Jun 2001 09:38:25 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA10198
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 09:38:23 -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 JAA04329
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 09:37:40 -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.11.3/8.9.1) with ESMTP id f5SDbwN05507;
	Thu, 28 Jun 2001 06:37:58 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-39.cisco.com [171.68.181.168])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJJ02860 (AUTH rrs);
	Thu, 28 Jun 2001 06:37:49 -0700 (PDT)
Message-ID: <3B3B3328.8CDF1593@stewart.chicago.il.us>
Date: Thu, 28 Jun 2001 08:37:45 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: john.loughney@nokia.com
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] IPv6 scope & SCTP (FW from IPNGWG: summary of discussions  
 about the semantics of sin6_scope_id)
References: <01D91AFB08B6D211BFD00008C7EABAE10680B1DA@eseis04nok>
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

John:

I think the purpose of the draft is to get discussion
going on the NG list... even thought the draft
will be targeted at tsvwg... I think it will be
more or less discussed on both lists :)

Oh boy, a change from c-sum issues :)

R


john.loughney@nokia.com wrote:
> 
> Hi Randy,
> 
> > Steve Deering and I will be releasing a scoping draft
> > sometime later this week. Steve is currently doing
> > some minor tweaks he wants incorporated and we should
> > have it out by Friday... Hopefully this will address
> > these issues..
> 
> One thing to note is that some of this is up for
> discussion in IPNGWG and it might be nice to see if
> the discussion has any special impact on SCTP.
> 
> Anyhow, good to see that you are on the ball.
> 
> John

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Thu Jun 28 10:29: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 KAA11611
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 10: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 KAA11479;
	Thu, 28 Jun 2001 10:03: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 KAA11448
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 10:03:41 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id KAA22730
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 10:02:58 -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.11.3/8.9.1) with ESMTP id f5SE3Hx27391;
	Thu, 28 Jun 2001 07:03:17 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-39.cisco.com [171.68.181.168])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJJ03163 (AUTH rrs);
	Thu, 28 Jun 2001 07:03:06 -0700 (PDT)
Message-ID: <3B3B3916.4224C8F5@stewart.chicago.il.us>
Date: Thu, 28 Jun 2001 09:03:02 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <Roam.SIMC.2.0.6.993703028.3520.kcpoon@jurassic.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

Kacheong/Brian:

I do not agree :) 

I am not sure I need the details of if it was 

SACK'd vs transmitted vs not-ever-transmitted.

But I can envision an application using if it was

transmitted versus not-ever-sent.

Imagine a application DOES implement a protocol to
find out, with its peer, if certian messages have
been sent. This sequence is long and costly and 
requires multiple messages, database searches etc on
the remote peer. And we may be on some aux link where
you want to minimise traffic too..

Now if I have 100 messages in queue, and only 5 were
ever assigned a TSN and sent... If I know that I can
save a tremendous amount of overhead on those 95 messages
that were never sent... I KNOW they were not sent this is
very useful information.. The other 5 .. no matter if they
were SACK'ed or not will need to have the audit procedures
run on them...

I think retrieval is a very good thing and does not cost
much to implement. I do want it to stay in the API. 

R



Kacheong Poon wrote:
> 
> > Well its a little late to start stopping the exposing protocol details.
> 
> It's never late (-:
> 
> > It may, unfortunately, be necessary for some application to know which
> > messages may have been delivered to the user on the other side.  With
> > multiple streams the only way to determine this at present is to check
> > which sacked messages contain contiguous SSNs for the streams in question.
> > Also, an application may want to do retrieval for some streams but not
> > for others.  I don't know how to provide this information across a
> > socket API without exposing some SCTP protocol details.
> 
> Such apps need to have their own protocols.  This is impossible for
> SCTP to tell them which messages have been delivered.  Even a message
> is sack'ed and in the correct order of its stream, it does not mean that
> it is delivered.  All data reported by SCTP as sent can be potentially
> delivered to the other side.  The apps have to be prepared for this and
> it will be written down in the draft, although personally I won't
> recommend using it.  I still don't see the reason why telling the apps the
> incorrect and complicated info can really help them.  If the apps make use
> of this API feature, it has to have its own protocol, regardless of whether
> the API exposes the SCTP sack info...
> 
>                                                         K. Poon.
>                                                         kcpoon@eng.sun.com
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Thu Jun 28 11:22:58 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 LAA19074
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 11:22: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 LAA14303;
	Thu, 28 Jun 2001 11:10:25 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id LAA14274
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 11:10:23 -0400 (EDT)
Received: from pelican.tk.uni-linz.ac.at (root@pelican.tk.uni-linz.ac.at [140.78.188.41])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA09966;
	Thu, 28 Jun 2001 11:09:39 -0400 (EDT)
Received: from olibaer (olibaer.tk.uni-linz.ac.at [140.78.92.45])
	by pelican.tk.uni-linz.ac.at (8.9.1a/8.9.1) with SMTP id RAA19524;
	Thu, 28 Jun 2001 17:10:08 +0200 (MET DST)
From: Michael Welzl <michael@tk.uni-linz.ac.at>
Reply-To: <michael@tk.uni-linz.ac.at>
To: <ietf@ietf.org>, <end2end-interest@isi.edu>, <tsvwg@ietf.org>
Cc: "'Scott Bradner'" <sob@harvard.edu>,
        "'Jon Crowcroft'" <J.Crowcroft@cs.ucl.ac.uk>, <mjh@aciri.org>
Date: Thu, 28 Jun 2001 17:20:23 +0200
Message-ID: <A17BDB85B175D311804E00E07D02A21D276541@conan.tk.uni-linz.ac.at>
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 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400
Importance: Normal
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] pre-BOF discussion
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 everyone,

I would like to start a discussion to gauge interest in possibly having
a BOF (note that nothing has been decided yet - but starting with
a mailing list and a web site seems to be a good idea) at the London IETF
meeting.

The topic is "ABR to the Internet" - in fact, it's "ABR Explicit Rate
Feedback related mechanisms for the Internet". To quote from the web site:

The goal: A generic approach to ... 
- identify relevant information 
- propose a new protocol and/or changes to existing protocols 
- propose ways to use specific information (endpoint behaviour)
  to achieve a certain QoS gain 
Don't think of it as strictly ABR-like (requiring per flow state).
Think of it as ECN with a finer granularity. 

Let us see if we can find enough common ground to justify a BOF request.
To join the discussion, subscribe to the mailing list at:
http://www.tk.uni-linz.ac.at/~michael/abr-internet/
You will find about anything you need at this web site.

Kind regards,
Michael Welzl
----------------------------------------------------------------------
Dipl.-Ing. Michael Welzl     Researcher
Telecooperation Group        Dpt. of Computer Science
University of Linz           Altenberger Str. 69, A-4040 Linz, Austria
Phone: +43/732/2468-9264     Fax: +43/732/2468-9829
ICQ # 38201212               http://www.tk.uni-linz.ac.at/~michael/


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


From tsvwg-admin@ietf.org  Thu Jun 28 12:45: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 MAA18719
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 12:45: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 MAA18249;
	Thu, 28 Jun 2001 12:20:41 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id MAA18218
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 12:20:39 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA00161
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 12:19:56 -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.11.3/8.9.1) with ESMTP id f5SGKEx23793;
	Thu, 28 Jun 2001 09:20:14 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-3-215.cisco.com [171.68.180.216])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJK01640 (AUTH rrs);
	Thu, 28 Jun 2001 09:20:01 -0700 (PDT)
Message-ID: <3B3B3EAD.2A9C51F@stewart.chicago.il.us>
Date: Thu, 28 Jun 2001 09:26:53 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
CC: tsvwg@ietf.org, mallman@grc.nasa.gov, floyd@aciri.org
Subject: Re: [Tsvwg] SCTP Implementor's Guide
References: <Roam.SIMC.2.0.6.993708995.9110.kcpoon@jurassic.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

Kacheong Poon wrote:
> 
> > I don't beleive this is strictly how things work in TCP and I
> > don't see why things are not eligible for fast retransmit
> > after a timeout.
> 
> So let's think in terms of how TCP works for the moment.
> 

Your insights are helpful here :)


> > If you consider:
> >
> > ----FR(TSNx)---->
> > ..
> > ..
> > ..
> > ---Time-Out---
> > ---All outstanding marked for retran---
> > so we end up
> >
> > ---Re-Tran(TSNx)---->
> > <plus possibly others>
> >
> > At this point we have now reach the same state as before. All
> > of our scores are now 0. We have obviously lost our ack-clock
> > and we allow very little out. Probably our TSNx and no more
> > than a few others depending on how big TSNx is. Since we did
> > FR TSNx it is probably the smallest TSN... it may be capable
> > of being bundled...
> 
> Assume that TSNx is the first fast retranmitted chunk.  Note that
> with SACK, it is possible to fast retransmit several chunks during
> the fast retransmit phase.  Since timeout happens, it means that
> the fast retransmitted TSNx is also dropped.  Here I make the
> assumption that RTO is sufficient for the fast retransmitted TSNx
> to get to the other side and the cumulative ACK to come back without
> a timeout.
> 

Yes, in Janardhan's NS2 simulation graph TSNx was dropped multiple
time, first time, second (fr'd) time, and then I think on the
third retranmit it made it through...


> So Janardhan's question is during the slow start after the timeout,
> what should be sent out?  TSNx has to be sent out for sure.  How
> about other fast retansmitted chunks during the fast retransmit
> phase?  The issue here is that those other fast retransmitted chunks
> can also be dropped.  If they are not dropped, the cumulative ACK
> triggered by the retransmitted TSNx after the timeout should have
> covered everything, as they are sent before the timeout happens.
> Here I make another assumption that packets are not re-ordered.

Here, we know TSNx is sent, but as to if TSNy -- on up is sent
is unclear. They will ALL get marked for retransmission. But only
one packet is actually sent. So if TSNx can fit together with TSNy
then it would get retransmitted.. otherwise it would only be
sent when the SACK arrived for TSNx. Which would then cause
TSNy go out (and possibly other bundled chunks).

> 
> It seems to me that the correct behavior is after getting the
> cumulative ACK, SCTP immediately retransmits the next TSN as it
> is probably also lost.  Note the interesting part that before the
> cumulative ACK for TSNx arrives, new SACK chunks can keep coming
> because they are triggered by either the fast retransmitted chunks
> or newly sent chunks during the fast retransmit phase.  What should
> SCTP do with them?

Yes, it would send TSNy when the SACK for TSNx arrives.. Assuming
that both were marked during the timeout...

> 
> It seems to me that the correct conservative behavior is to record
> the SACK gaps, but do not do any fast retransmit during the slow
> start after timeout phase.  This is the phase which starts at the
> timeout and ends when all the data chunks sent (including those newly
> sent data chunk during fast retransmit phase) before the timeout
> has been cumulatively ack'ed.  If I remember correctly, Sally has
> a short note on this phase when she investigated the false fast
> retransmit behavior of Reno.

So what we really need to do here, is to record the highest TSN
when the timeout occurs that is "missing" and NOT do any scoring
for FR until after that chunk shows up in the Cum-Ack so we know
we are past the time-out cycle .. so to speak.. is this correct?

This WOULD mean (if I interpret you correctly) that you DO NOT
FR a TSN more than once... since once you hit a Time-out you would
NOT FR anything until you get the Cum-Ack past the timeout point.



> 
> The reason for noting those SACK gaps is that during the slow start
> after timeout phase, even though we can be pretty sure that the
> chunk right after the cumulatively ack'ed chunk (TSNy) is also lost,
> but if SCTP is allowed by cwnd to send more than one chunk, should it
> also send the chunks (TSNy + 1, TSNy + 2, ...).  I believe the SACK
> gaps received after the timeout can help in this case.  SCTP can
> use the info to decide whether TSNy + 1 and subsequent chunks should
> be retransmitted.
> 

Well, currently if the time-out happens all chunks pending TSNy, TSNy+1,
TSNy+2 would be marked for retransmission. Only one packet is sent
out say with TSNx so has the SACK's arrive no matter what they will
let more data out presumably those marked to retransmit, unless of
course the SACK ack's them :>


> The reason not to do fast retransmit during the slow start after
> timeout phase is just for simplicity.  Note that by using the above
> behavior, fast retransmit during the slow start after timeout phase
> is useful only if the retransmitted chunk during this phase are
> also lost.  Since SCTP is already in slow start mode, more drops
> mean that the network is really congested.  I guess the most network
> friendly behavior is to timeout, instead of using yet another fast
> retransmit to avoid that.
> 

But all those chunks that were pending (when the time-out occured) WOULD
all be marked for retransmit. So if one prohibited FR until the cum-ack
passes the highest point when the time-out occured you would have the
above behavior.. with no need to look at the gap ack reports to count
missing reports for FR behavior.


> So I am still firmly believe that the SCTP retransmission behavior
> should be exactly the same as TCP.  I really don't see the need to
> have yet another behavior as the default.  Note that people can
> still investigate what a better behavior is.  But this is probably
> research issue and does not need to put down in a draft at this
> moment.  When the research becomes mature enough, implementors will
> adopt them.

I think you are saying SCTP retransmission behavior
should be exactly the same as TCP+SACK? 



R

> 
> Sally and Mark, any comments?
> 
>                                                         K. Poon.
>                                                         kcpoon@eng.sun.com
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)



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


From tsvwg-admin@ietf.org  Thu Jun 28 13:19: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 NAA10608
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 13:19: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 MAA19649;
	Thu, 28 Jun 2001 12:53: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 MAA19624
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 12:53:03 -0400 (EDT)
Received: from motgate2.mot.com (motgate2.mot.com [136.182.1.10])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA23443
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 12:52:22 -0400 (EDT)
Received: [from pobox2.mot.com (pobox2.mot.com [136.182.15.8]) by motgate2.mot.com (motgate2 2.1) with ESMTP id JAA12188; Thu, 28 Jun 2001 09:53:02 -0700 (MST)]
Received: [from relay1.cig.mot.com (relay1.cig.mot.com [136.182.15.23]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id JAA29626; Thu, 28 Jun 2001 09:53:01 -0700 (MST)]
Received: from agevole.cig.mot.com (agevole [136.182.3.251]) by relay1.cig.mot.com (8.8.8+Sun/SCERG-RELAY-1.11b) with ESMTP id LAA04751; Thu, 28 Jun 2001 11:53:00 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id LAA20990; Thu, 28 Jun 2001 11:52:59 -0500 (CDT)
Message-Id: <200106281652.LAA20990@agevole.cig.mot.com>
Date: Thu, 28 Jun 2001 11:52:44 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <Roam.SIMC.2.0.6.993704000.9963.kcpoon@jurassic.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

Kacheong Poon wrote:
...
> The reason for the abort is that the socket API (not just our extension)
> does not have a notion of taking back what has been sent.  The best
> we can extend that is if there is a failure, return the data in the
> queue.  I think we really need to be careful to understand the real
> need of this interaction before we come up with a solution...

I tend to agree with you. To me, the only sensible scenarios for doing
data retrieval are: 

1) when there is an unexpected communication failure, i.e., the sender
gets a COMUUNICATION_LOST notification while doing data transfer; and 

2) a message with limited lifetime expired at the sender (btw, I cann't
find this message TTL support in the latest socket API draft. what
happened?).

I am still not convinced we need to support data retrieval following a
controlled shutdown or abort call.

-Qiaobing

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


From tsvwg-admin@ietf.org  Thu Jun 28 13:28: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 NAA17017
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 13:28:36 -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 NAA20826;
	Thu, 28 Jun 2001 13:16: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 NAA20795
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 13:16:43 -0400 (EDT)
Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA07756
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:16:01 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust98.tnt4.tucson.az.da.uu.net [63.11.145.98])
	by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA25131;
	Thu, 28 Jun 2001 10:16:35 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5SHBUP15576;
	Thu, 28 Jun 2001 12:11:30 -0500
Date: Thu, 28 Jun 2001 12:11:30 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Randall Stewart at work <randall@stewart.chicago.il.us>
Cc: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
Message-ID: <20010628121130.E23134@piglet>
Reply-To: bidulock@openss7.org
References: <Roam.SIMC.2.0.6.993703028.3520.kcpoon@jurassic.eng.sun.com> <3B3B3916.4224C8F5@stewart.chicago.il.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B3B3916.4224C8F5@stewart.chicago.il.us>; from randall@stewart.chicago.il.us on Thu, Jun 28, 2001 at 09:03:02AM -0500
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by avocet.mail.pas.earthlink.net id KAA25131
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id NAA20796
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 NAA20826
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id NAA17017

Randall,

The chance of abuse by SIGTRAN UAs is very high.  Consider
that SSCOP, NSD and SS7 L2 all provide application level
acks.  Unlike SCTP, these protocols do not require ACKs
for RTT calculations, so the sent messages are only acked
once they have been delivered to the ULP.

These protocols use the sequence number for communication
between each end for coordinated retrieval and retransmission
on an altenate path.  They do not require database lookups
or any heavy mechanisms.  The mechanism is built into the
acknowledgement procedure.  (Again, the ack is only sent
once the message has been delivered to the peer app.)

When the communication fails abruptly, the sender has in
its retransmission buffers messages which may have been
already delivered to the peer app, but for which the
ack has been lost.  It is a simple matter that if the
peer apps can communicate by other means, that they indicate
to each other the sequence number of the last message
successsfuly delivered to the app.  The sender strikes
these messages from its retransmit buffer before retrieval
and resends these messages on an alternative path.

SCTP cannot provide this mechanism on its own unless we
get into the gap-acking mechanism we discussed a while ago.
SCTP acknowledges and clears from the sender's retransmission
buffer messages which may not have been delivered to ULP.
For the retrieval mechanism to work, the sender cannot strike
the messages until they have been successfully received
by the peer application (rather than just SCTP).

It is fairly straightforward for the sending app to number
all messages which are subject to retrieval and have the
receiving app acknowledge messages actually received at
the app by message number.  This effectively moves the
retrieval process above the SCTP-ULP interface line.

Attempting to use the SCTP retrieval process at the application
level will result in the possibility that messages need be
marked for retransmission on the new application path which
have already been struck by SCTP.  To avoid this message
loss the application will have to buffer messages in a 
retransmission buffer anyway and performing the ack mechanism
at the application is trivial.

Some other applications of SCTP might want retrieval; however,
the SS7 SIGTRAN UAs will not be able to use it.  Can anyone
think of an application other than SIGTRAN UAs which will
want retrieval and what the semantics of that retrieval will
be?

--Brian

On Thu, 28 Jun 2001, Randall Stewart at work wrote:
> Kacheong/Brian:
> 
> I do not agree :) 
> 
> I am not sure I need the details of if it was 
> SACK'd vs transmitted vs not-ever-transmitted.
> 
> But I can envision an application using if it was
> transmitted versus not-ever-sent.
> 
> Imagine a application DOES implement a protocol to
> find out, with its peer, if certian messages have
> been sent. This sequence is long and costly and 
> requires multiple messages, database searches etc on
> the remote peer. And we may be on some aux link where
> you want to minimise traffic too..
> 
> Now if I have 100 messages in queue, and only 5 were
> ever assigned a TSN and sent... If I know that I can
> save a tremendous amount of overhead on those 95 messages
> that were never sent... I KNOW they were not sent this is
> very useful information.. The other 5 .. no matter if they
> were SACK'ed or not will need to have the audit procedures
> run on them...
> 
> I think retrieval is a very good thing and does not cost
> much to implement. I do want it to stay in the API. 
> 
> R
> 
> 
> 
> Kacheong Poon wrote:
> > 
> > > Well its a little late to start stopping the exposing protocol details.
> > 
> > It's never late (-:
> > 
> > > It may, unfortunately, be necessary for some application to know which
> > > messages may have been delivered to the user on the other side.  With
> > > multiple streams the only way to determine this at present is to check
> > > which sacked messages contain contiguous SSNs for the streams in question.
> > > Also, an application may want to do retrieval for some streams but not
> > > for others.  I don't know how to provide this information across a
> > > socket API without exposing some SCTP protocol details.
> > 
> > Such apps need to have their own protocols.  This is impossible for
> > SCTP to tell them which messages have been delivered.  Even a message
> > is sack'ed and in the correct order of its stream, it does not mean that
> > it is delivered.  All data reported by SCTP as sent can be potentially
> > delivered to the other side.  The apps have to be prepared for this and
> > it will be written down in the draft, although personally I won't
> > recommend using it.  I still don't see the reason why telling the apps the
> > incorrect and complicated info can really help them.  If the apps make use
> > of this API feature, it has to have its own protocol, regardless of whether
> > the API exposes the SCTP sack info...
> > 
> >                                                         K. Poon.
> >                                                         kcpoon@eng.sun.com
> > 
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> -- 
> Randall R. Stewart
> randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
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 Jun 28 13:34: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 NAA21284
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 13:34: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 NAA20867;
	Thu, 28 Jun 2001 13:16: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 NAA20803
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 13:16:44 -0400 (EDT)
Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA07782
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:16:03 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust98.tnt4.tucson.az.da.uu.net [63.11.145.98])
	by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA08667;
	Thu, 28 Jun 2001 10:16:38 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5SHFYb15663;
	Thu, 28 Jun 2001 12:15:34 -0500
Date: Thu, 28 Jun 2001 12:15:34 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Qiaobing Xie <xieqb@cig.mot.com>
Cc: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010628121534.F23134@piglet>
Reply-To: bidulock@openss7.org
References: <Roam.SIMC.2.0.6.993704000.9963.kcpoon@jurassic.eng.sun.com> <200106281652.LAA20990@agevole.cig.mot.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200106281652.LAA20990@agevole.cig.mot.com>; from xieqb@cig.mot.com on Thu, Jun 28, 2001 at 11:52:44AM -0500
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Qiaobing,

SS7 (and SSCOP) shuts down links under user control and still
performs retrieval.  This is because the application may detect
peer application errors and deem the connection unusable, but
still wants to retrieve undelivered messages and send them to
another server.  Can you provide an example of an application
other than SIGTRAN UAs which would want this mechanism?

--Brian

On Thu, 28 Jun 2001, Qiaobing Xie wrote:

> Kacheong Poon wrote:
> ...
> > The reason for the abort is that the socket API (not just our extension)
> > does not have a notion of taking back what has been sent.  The best
> > we can extend that is if there is a failure, return the data in the
> > queue.  I think we really need to be careful to understand the real
> > need of this interaction before we come up with a solution...
> 
> I tend to agree with you. To me, the only sensible scenarios for doing
> data retrieval are: 
> 
> 1) when there is an unexpected communication failure, i.e., the sender
> gets a COMUUNICATION_LOST notification while doing data transfer; and 
> 
> 2) a message with limited lifetime expired at the sender (btw, I cann't
> find this message TTL support in the latest socket API draft. what
> happened?).
> 
> I am still not convinced we need to support data retrieval following a
> controlled shutdown or abort call.
> 

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Thu Jun 28 13:44: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 NAA28396
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 13:44: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 NAA21070;
	Thu, 28 Jun 2001 13:20: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 NAA21037
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 13:20:52 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA10897
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:20:10 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id KAA27163;
	Thu, 28 Jun 2001 10:19:25 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 28 Jun 2001 17:20:05 UT
Received: from jheitz-dsl-77.ascend.com (jheitz-dsl-77.ascend.com [134.112.160.77])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id KAA23799;
	Thu, 28 Jun 2001 10:19:25 -0700 (PDT)
Received: from lucent.com (localhost [127.0.0.1])
	by jheitz-dsl-77.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id KAA01074;
	Thu, 28 Jun 2001 10:19:01 -0700 (PDT)
Message-ID: <3B3B6705.125D9AD@lucent.com>
Date: Thu, 28 Jun 2001 10:19:01 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.5.1 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: Qiaobing Xie <xieqb@cig.mot.com>
CC: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <Roam.SIMC.2.0.6.993704000.9963.kcpoon@jurassic.eng.sun.com> <200106281652.LAA20990@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

The scenario I want to cover is when the SCTP user decides
"this association has become unsuitable for whatever reason
and some of the remaining transmit buffer should be put
on an avian carrier". When that occurs, this SCTP user wants
to shut that association down or abort it and retrieve as
quickly as possible.

Qiaobing Xie wrote:
> 
> Kacheong Poon wrote:
> ...
> > The reason for the abort is that the socket API (not just our extension)
> > does not have a notion of taking back what has been sent.  The best
> > we can extend that is if there is a failure, return the data in the
> > queue.  I think we really need to be careful to understand the real
> > need of this interaction before we come up with a solution...
> 
> I tend to agree with you. To me, the only sensible scenarios for doing
> data retrieval are:
> 
> 1) when there is an unexpected communication failure, i.e., the sender
> gets a COMUUNICATION_LOST notification while doing data transfer; and
> 
> 2) a message with limited lifetime expired at the sender (btw, I cann't
> find this message TTL support in the latest socket API draft. what
> happened?).
> 
> I am still not convinced we need to support data retrieval following a
> controlled shutdown or abort call.
> 
> -Qiaobing
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
// Jacob Heitz Tel:510-747-2917 Ext:72917 Home:510-888-9429

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


From tsvwg-admin@ietf.org  Thu Jun 28 14:00: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 OAA10341
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 14:00:25 -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 NAA20655;
	Thu, 28 Jun 2001 13:12: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 NAA20626
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 13:12:09 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA04178
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:11:27 -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.11.3/8.9.1) with ESMTP id f5SHBix05345;
	Thu, 28 Jun 2001 10:11:44 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-3-215.cisco.com [171.68.180.216])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJK03500 (AUTH rrs);
	Thu, 28 Jun 2001 10:11:35 -0700 (PDT)
Message-ID: <3B3B6542.9CCDEBAB@stewart.chicago.il.us>
Date: Thu, 28 Jun 2001 12:11:30 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
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: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <Roam.SIMC.2.0.6.993704000.9963.kcpoon@jurassic.eng.sun.com> <200106281652.LAA20990@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

Qiaobing:

Comments below..

Qiaobing Xie wrote:
> 
> Kacheong Poon wrote:
> ...
> > The reason for the abort is that the socket API (not just our extension)
> > does not have a notion of taking back what has been sent.  The best
> > we can extend that is if there is a failure, return the data in the
> > queue.  I think we really need to be careful to understand the real
> > need of this interaction before we come up with a solution...
> 
> I tend to agree with you. To me, the only sensible scenarios for doing
> data retrieval are:
> 
> 1) when there is an unexpected communication failure, i.e., the sender
> gets a COMUUNICATION_LOST notification while doing data transfer; and
> 
> 2) a message with limited lifetime expired at the sender (btw, I cann't
> find this message TTL support in the latest socket API draft. what
> happened?).

Hmm... I thought we had this one in there as well.. but it looks
like we missed it :-0

> 
> I am still not convinced we need to support data retrieval following a
> controlled shutdown or abort call.
> 

I agree with the above.. i.e. data retrieval makes no sense to the
guy that initiated a shutdown.. or for that matter got all his
data through during a graceful shutdown from the other end.

Where it does make sense is when I get a Comm lost...

And in these situations it IS valuable to know if the data
chunk was ever sent or NOT sent at all... 


R
-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Thu Jun 28 15:07: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 PAA27933
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 15:07: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 OAA25398;
	Thu, 28 Jun 2001 14:54: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 OAA25327
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 14:54:22 -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 OAA18175
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 14:53:39 -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.11.3/8.9.1) with ESMTP id f5SIrtN20905;
	Thu, 28 Jun 2001 11:53:55 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-79.cisco.com [171.68.181.208])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJN01231 (AUTH rrs);
	Thu, 28 Jun 2001 11:53:44 -0700 (PDT)
Message-ID: <3B3B7D34.3BC2271E@stewart.chicago.il.us>
Date: Thu, 28 Jun 2001 13:53:40 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Jacob Heitz <jheitz@lucent.com>
CC: Qiaobing Xie <xieqb@cig.mot.com>,
        Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <Roam.SIMC.2.0.6.993704000.9963.kcpoon@jurassic.eng.sun.com> <200106281652.LAA20990@agevole.cig.mot.com> <3B3B6705.125D9AD@lucent.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

Jacob:

It seems to me that once you put in the mechanism, it SHOULD
report after a COMM-Failure any packets still inqueue.

It should not matter if you caused the abort or the peer
died and caused the abort... 

If you have subscribed to the "retriveal" type mechanism
you get up the data in queue.

As I noted earlier, for ASAP, this is an important feature
that is very usefull... we need to keep all those pigeons
happy :)

R

Jacob Heitz wrote:
> 
> The scenario I want to cover is when the SCTP user decides
> "this association has become unsuitable for whatever reason
> and some of the remaining transmit buffer should be put
> on an avian carrier". When that occurs, this SCTP user wants
> to shut that association down or abort it and retrieve as
> quickly as possible.
> 
> Qiaobing Xie wrote:
> >
> > Kacheong Poon wrote:
> > ...
> > > The reason for the abort is that the socket API (not just our extension)
> > > does not have a notion of taking back what has been sent.  The best
> > > we can extend that is if there is a failure, return the data in the
> > > queue.  I think we really need to be careful to understand the real
> > > need of this interaction before we come up with a solution...
> >
> > I tend to agree with you. To me, the only sensible scenarios for doing
> > data retrieval are:
> >
> > 1) when there is an unexpected communication failure, i.e., the sender
> > gets a COMUUNICATION_LOST notification while doing data transfer; and
> >
> > 2) a message with limited lifetime expired at the sender (btw, I cann't
> > find this message TTL support in the latest socket API draft. what
> > happened?).
> >
> > I am still not convinced we need to support data retrieval following a
> > controlled shutdown or abort call.
> >
> > -Qiaobing
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> --
> // Jacob Heitz Tel:510-747-2917 Ext:72917 Home:510-888-9429
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Thu Jun 28 15:20: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 PAA06684
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 15:20: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 OAA25125;
	Thu, 28 Jun 2001 14:49: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 OAA25096
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 14:49:14 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA14015
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 14:48:32 -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 f5SImlh25938;
	Thu, 28 Jun 2001 11:48:47 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-79.cisco.com [171.68.181.208])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJN01039 (AUTH rrs);
	Thu, 28 Jun 2001 11:48:40 -0700 (PDT)
Message-ID: <3B3B7BFE.FD2C4506@stewart.chicago.il.us>
Date: Thu, 28 Jun 2001 13:48:31 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
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: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <Roam.SIMC.2.0.6.993703028.3520.kcpoon@jurassic.eng.sun.com> <3B3B3916.4224C8F5@stewart.chicago.il.us> <20010628121130.E23134@piglet>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by sj-msg-core-1.cisco.com id f5SImlh25938
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id OAA25098
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 OAA25125
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id PAA06684

Brian:

When I said DB applications I was hinting at applications
beyond sigtran. Let me illustrate an application or
more correctly a session layer that uses this feature.

When our RSERPOOL/ASAP implementation sends it
populates the context field with the send flags.

If the peer dies, the data is bounced up to the
ASAP layer since it enables this retrieval flags.

The context is consulted to see if the send allows
re-routing the packets to a alternate peer.

If so, the ASAP layer re-selects an alternate peer
and retransmits the data to it.

The retrieval mechanism is quite useful in this case and
is needed by the session layer namely ASAP.

The whole reason I added the context field in was for
this very reason :) You will note it IS in RFC2960.

Now I realize you are coming from a SS7 layer world, but there
ARE other applications for this data... and knowing the
difference as to if it HAS been sent OR HAS NEVER been
sent is also a nice added bonus of the API proposal..

R



"Brian F. G. Bidulock" wrote:
> 
> Randall,
> 
> The chance of abuse by SIGTRAN UAs is very high.  Consider
> that SSCOP, NSD and SS7 L2 all provide application level
> acks.  Unlike SCTP, these protocols do not require ACKs
> for RTT calculations, so the sent messages are only acked
> once they have been delivered to the ULP.
> 
> These protocols use the sequence number for communication
> between each end for coordinated retrieval and retransmission
> on an altenate path.  They do not require database lookups
> or any heavy mechanisms.  The mechanism is built into the
> acknowledgement procedure.  (Again, the ack is only sent
> once the message has been delivered to the peer app.)
> 
> When the communication fails abruptly, the sender has in
> its retransmission buffers messages which may have been
> already delivered to the peer app, but for which the
> ack has been lost.  It is a simple matter that if the
> peer apps can communicate by other means, that they indicate
> to each other the sequence number of the last message
> successsfuly delivered to the app.  The sender strikes
> these messages from its retransmit buffer before retrieval
> and resends these messages on an alternative path.
> 
> SCTP cannot provide this mechanism on its own unless we
> get into the gap-acking mechanism we discussed a while ago.
> SCTP acknowledges and clears from the sender's retransmission
> buffer messages which may not have been delivered to ULP.
> For the retrieval mechanism to work, the sender cannot strike
> the messages until they have been successfully received
> by the peer application (rather than just SCTP).
> 
> It is fairly straightforward for the sending app to number
> all messages which are subject to retrieval and have the
> receiving app acknowledge messages actually received at
> the app by message number.  This effectively moves the
> retrieval process above the SCTP-ULP interface line.
> 
> Attempting to use the SCTP retrieval process at the application
> level will result in the possibility that messages need be
> marked for retransmission on the new application path which
> have already been struck by SCTP.  To avoid this message
> loss the application will have to buffer messages in a
> retransmission buffer anyway and performing the ack mechanism
> at the application is trivial.
> 
> Some other applications of SCTP might want retrieval; however,
> the SS7 SIGTRAN UAs will not be able to use it.  Can anyone
> think of an application other than SIGTRAN UAs which will
> want retrieval and what the semantics of that retrieval will
> be?
> 
> --Brian
> 
> On Thu, 28 Jun 2001, Randall Stewart at work wrote:
> > Kacheong/Brian:
> >
> > I do not agree :)
> >
> > I am not sure I need the details of if it was
> > SACK'd vs transmitted vs not-ever-transmitted.
> >
> > But I can envision an application using if it was
> > transmitted versus not-ever-sent.
> >
> > Imagine a application DOES implement a protocol to
> > find out, with its peer, if certian messages have
> > been sent. This sequence is long and costly and
> > requires multiple messages, database searches etc on
> > the remote peer. And we may be on some aux link where
> > you want to minimise traffic too..
> >
> > Now if I have 100 messages in queue, and only 5 were
> > ever assigned a TSN and sent... If I know that I can
> > save a tremendous amount of overhead on those 95 messages
> > that were never sent... I KNOW they were not sent this is
> > very useful information.. The other 5 .. no matter if they
> > were SACK'ed or not will need to have the audit procedures
> > run on them...
> >
> > I think retrieval is a very good thing and does not cost
> > much to implement. I do want it to stay in the API.
> >
> > R
> >
> >
> >
> > Kacheong Poon wrote:
> > >
> > > > Well its a little late to start stopping the exposing protocol details.
> > >
> > > It's never late (-:
> > >
> > > > It may, unfortunately, be necessary for some application to know which
> > > > messages may have been delivered to the user on the other side.  With
> > > > multiple streams the only way to determine this at present is to check
> > > > which sacked messages contain contiguous SSNs for the streams in question.
> > > > Also, an application may want to do retrieval for some streams but not
> > > > for others.  I don't know how to provide this information across a
> > > > socket API without exposing some SCTP protocol details.
> > >
> > > Such apps need to have their own protocols.  This is impossible for
> > > SCTP to tell them which messages have been delivered.  Even a message
> > > is sack'ed and in the correct order of its stream, it does not mean that
> > > it is delivered.  All data reported by SCTP as sent can be potentially
> > > delivered to the other side.  The apps have to be prepared for this and
> > > it will be written down in the draft, although personally I won't
> > > recommend using it.  I still don't see the reason why telling the apps the
> > > incorrect and complicated info can really help them.  If the apps make use
> > > of this API feature, it has to have its own protocol, regardless of whether
> > > the API exposes the SCTP sack info...
> > >
> > >                                                         K. Poon.
> > >                                                         kcpoon@eng.sun.com
> > >
> > > _______________________________________________
> > > tsvwg mailing list
> > > tsvwg@ietf.org
> > > http://www1.ietf.org/mailman/listinfo/tsvwg
> >
> > --
> > Randall R. Stewart
> > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > http://www1.ietf.org/mailman/listinfo/tsvwg
> 
> --
> 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
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Thu Jun 28 15:59: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 PAA04399
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 15: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 PAA27245;
	Thu, 28 Jun 2001 15:44: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 PAA27214
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 15:44:13 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA23251
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 15:43:29 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id MAA05176
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 12:44:09 -0700 (PDT)
Received: from gamma (vpn-129-150-4-63.EBay.Sun.COM [129.150.4.63])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id MAA22310
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 12:44:09 -0700 (PDT)
Date: Thu, 28 Jun 2001 12:46:33 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <3B3B3916.4224C8F5@stewart.chicago.il.us>
Message-ID: <Roam.SIMC.2.0.6.993757593.29724.kcpoon@jurassic.eng.sun.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 do not agree :) 
> 
> I am not sure I need the details of if it was 
> 
> SACK'd vs transmitted vs not-ever-transmitted.

Hmm, Randy, I think you misread the flow of the discussion.  We 
were discussing whether we should distinguish sent and sack'ed from
sent but not sack'ed data...  And then we were discussing what the
meaning of retrieving data for a normal shutdown...  We were not
discussing whether we need to put in the mechanism to retrieve data
for a send failure case...  The mechanism is already there.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Thu Jun 28 16:43: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 QAA05293
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 16:43: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 QAA28166;
	Thu, 28 Jun 2001 16:19:09 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA28137
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 16:19:08 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA17666
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 16:18:25 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id NAA23312
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:19:06 -0700 (PDT)
Received: from gamma (vpn-129-150-4-63.EBay.Sun.COM [129.150.4.63])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id NAA29729
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:19:06 -0700 (PDT)
Date: Thu, 28 Jun 2001 13:21:35 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <3B3B6705.125D9AD@lucent.com>
Message-ID: <Roam.SIMC.2.0.6.993759695.3761.kcpoon@jurassic.eng.sun.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

> The scenario I want to cover is when the SCTP user decides
> "this association has become unsuitable for whatever reason
> and some of the remaining transmit buffer should be put
> on an avian carrier". When that occurs, this SCTP user wants
> to shut that association down or abort it and retrieve as
> quickly as possible.

Jacob, correct me if I misunderstood the above.  You are asking to
end an association while SCTP still thinks that it is OK.  It
sounds to me like an abort.  And then you want to retrieve the 
data in the queue (sent and unsent).  The main difference from
the current proposed API is that it is an user induced failure,
not a failure in SCTP.  Thus it is not covered.

Before we think about how to add this to the API, can other 
people comment on this use?  I think we need more input.  Please
let us know if you know of an app or you have an app, or you plan
to have app which needs exactly this behavior, an user induced 
failure and retrieval of data.

							K. Poon.
							kcpoon@eng.sun.com




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


From tsvwg-admin@ietf.org  Thu Jun 28 16:43: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 QAA05557
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 16:43: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 QAA28891;
	Thu, 28 Jun 2001 16:34:17 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA28860
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 16:34:15 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA28125
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 16:33:31 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id NAA01118
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:34:12 -0700 (PDT)
Received: from gamma (vpn-129-150-4-63.EBay.Sun.COM [129.150.4.63])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id NAA02771
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:34:11 -0700 (PDT)
Date: Thu, 28 Jun 2001 13:36:41 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <3B3B7BFE.FD2C4506@stewart.chicago.il.us>
Message-ID: <Roam.SIMC.2.0.6.993760601.429.kcpoon@jurassic.eng.sun.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

> When our RSERPOOL/ASAP implementation sends it
> populates the context field with the send flags.
> 
> If the peer dies, the data is bounced up to the
> ASAP layer since it enables this retrieval flags.
> 
> The context is consulted to see if the send allows
> re-routing the packets to a alternate peer.
> 
> If so, the ASAP layer re-selects an alternate peer
> and retransmits the data to it.
> 
> The retrieval mechanism is quite useful in this case and
> is needed by the session layer namely ASAP.

Randy, can you say more about this?  So does the context
indicate whether the message can be duplicated?   And I
believe the retrieval is done after SCTP gives up.  The 
reason I ask is to find out if ASAP needs only unsent
messages.  I think this is the whole point of the current
discussion.  What is useful and what is not useful?  And
do we need to expose SCTP's SACK info?  To me, I think
only unsent messages is useful.  If the app has a duplicate
protection mechanism, then sent messages may be useful.
And I don't see the need to distinguish sack'ed and not
sack'ed messages.  Then Jacob proposed to include an user
induced failure behavior.

							K. Poon.
							kcpoon@eng.sun.com




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


From tsvwg-admin@ietf.org  Thu Jun 28 16:52: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 QAA11537
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 16:52: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 QAA28274;
	Thu, 28 Jun 2001 16:23:41 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA28245
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 16:23:39 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA20777
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 16:22:56 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id NAA25566
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:23:38 -0700 (PDT)
Received: from gamma (vpn-129-150-4-63.EBay.Sun.COM [129.150.4.63])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id NAA00662
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 13:23:37 -0700 (PDT)
Date: Thu, 28 Jun 2001 13:26:07 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
To: tsvwg@ietf.org
In-Reply-To: "Your message with ID" <3B3B7D34.3BC2271E@stewart.chicago.il.us>
Message-ID: <Roam.SIMC.2.0.6.993759967.23840.kcpoon@jurassic.eng.sun.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

> It seems to me that once you put in the mechanism, it SHOULD
> report after a COMM-Failure any packets still inqueue.
> 
> It should not matter if you caused the abort or the peer
> died and caused the abort... 

Randy, actually there is a difference.  An user abort has the
added semantics of flushing data in the queue.  Why does an
app abort an association while SCTP still thinks it is fine?
Here comes the flush semantics as the app gives up...  So I
think we should ask people if this is needed and why.  Maybe
Jacob can fill us in about the background and an example.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Thu Jun 28 17:32: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 RAA04355
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 17:32: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 RAA00157;
	Thu, 28 Jun 2001 17:13: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 RAA00123
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 17:13:19 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA25234
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 17:12:36 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id OAA21075;
	Thu, 28 Jun 2001 14:13:16 -0700 (PDT)
Received: from gamma (vpn-129-150-4-63.EBay.Sun.COM [129.150.4.63])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id OAA11488;
	Thu, 28 Jun 2001 14:13:16 -0700 (PDT)
Date: Thu, 28 Jun 2001 14:15:45 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP Implementor's Guide
To: tsvwg@ietf.org
cc: mallman@grc.nasa.gov, floyd@aciri.org
In-Reply-To: "Your message with ID" <3B3B3EAD.2A9C51F@stewart.chicago.il.us>
Message-ID: <Roam.SIMC.2.0.6.993762945.23779.kcpoon@jurassic.eng.sun.com>
Content-Type: text
X-Sun-Text-Type: 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

> Yes, in Janardhan's NS2 simulation graph TSNx was dropped multiple
> time, first time, second (fr'd) time, and then I think on the
> third retranmit it made it through...

So what is their simulation?  Maybe they can show the list what they've
done.

> Here, we know TSNx is sent, but as to if TSNy -- on up is sent
> is unclear. They will ALL get marked for retransmission. But only
> one packet is actually sent. So if TSNx can fit together with TSNy
> then it would get retransmitted.. otherwise it would only be
> sent when the SACK arrived for TSNx. Which would then cause
> TSNy go out (and possibly other bundled chunks).

The reason I did not include the bundling issue in my previous mail
is that I believe SCTP stack normally does not re-bundle chunks.
So if an IP packet contains 5 chunks, and is lost, all chunks are
lost.  This suggests strongly that when SCTP times out, all 5 chunks
should be retransmitted together.  This is my preference.  But other 
implementations may want to just retransmit the first not cumulatively
ack'ed chunk.  In reading my previous mail, one can view that a data 
chunk consuming a TSN actually occupies the whole IP packet.  Or a TSN
is actually a list of TSNs in one IP packet which is dropped.

> Yes, it would send TSNy when the SACK for TSNx arrives.. Assuming
> that both were marked during the timeout...

This is one thing that I believe we should clear up.  What is meant
by marked for retransmission after a timeout?  And I suggest we
tighten up the use of SACK and cumulative ACK.  I believe what you
meant above is cumulative ACK for TSNx arrives.  TSNx, in the context
of our discussion, is the smallest TSN not cumulatively ack'ed.  So
it won't be sack'ed as the cumulative ACK should go up.  If I mis-
understood this, correct me.

What I suggest, which is what TCP does, is when a timeout happens,
SCTP goes into the slow start after timeout phase.  The SACK info
is purged at the timeout.  And all chunks not cumulatively ack'ed
are marked for retransmission.  Subsequent SACK info received because
of those fast retransmitted chunks and newly sent chunks during fast
retransmit phase will be recorded.  And when SCTP needs to decide what
to retransmit during this phase, use the SACK info appropriately.
And during this slow start after timeout phase, do not do fast
retransmit again.  This is a conservative suggestion.

> So what we really need to do here, is to record the highest TSN
> when the timeout occurs that is "missing" and NOT do any scoring
> for FR until after that chunk shows up in the Cum-Ack so we know
> we are past the time-out cycle .. so to speak.. is this correct?
> 
> This WOULD mean (if I interpret you correctly) that you DO NOT
> FR a TSN more than once... since once you hit a Time-out you would
> NOT FR anything until you get the Cum-Ack past the timeout point.

The above is correct.  And the reasons not to do fast retransmit
during slow start after timeout phase were stated in my previous mail.
This is conservative and simple (-:  If we believe that timeouts do
not happen often if SCTP is friendly to the network, then when one
does happen, the network is in pretty bad shape, SCTP should be
more conservative.  Fast retransmit is a way to avoid timeout and
yet be network friendly.  So if a fast retransmitted packet or 
retransmitted packet during this phase is again dropped, I think SCTP
should be very conservative and not do fast retransmit again.

> Well, currently if the time-out happens all chunks pending TSNy, TSNy+1,
> TSNy+2 would be marked for retransmission. Only one packet is sent
> out say with TSNx so has the SACK's arrive no matter what they will
> let more data out presumably those marked to retransmit, unless of
> course the SACK ack's them :>

Agree.

> But all those chunks that were pending (when the time-out occured) WOULD
> all be marked for retransmit. So if one prohibited FR until the cum-ack
> passes the highest point when the time-out occured you would have the
> above behavior.. with no need to look at the gap ack reports to count
> missing reports for FR behavior.

Yes, The SACK info (gap ack report) is used in the slow start after 
timeout phase as the guideline on what to retransmit, not for fast
retransmit as it is not done during this phase.

> I think you are saying SCTP retransmission behavior
> should be exactly the same as TCP+SACK? 

Well, I believe nowadays every TCP stack has SACK...  So I consider TCP
has SACK builtin already (-:

							K. Poon.
							kcpoon@eng.sun.com


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


From tsvwg-admin@ietf.org  Thu Jun 28 18:12: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 SAA24002
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 18:12: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 RAA01245;
	Thu, 28 Jun 2001 17:48: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 RAA01216
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 17:48:02 -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 RAA07853
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 17:47:18 -0400 (EDT)
Received: [from pobox2.mot.com (pobox2.mot.com [136.182.15.8]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id OAA05483; Thu, 28 Jun 2001 14:47:54 -0700 (MST)]
Received: [from relay2.cig.mot.com (relay2.cig.mot.com [136.182.15.24]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id OAA03554; Thu, 28 Jun 2001 14:47:52 -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 QAA23480; Thu, 28 Jun 2001 16:47:51 -0500 (CDT)
Received: from cig.mot.com (d50-38cc.cig.mot.com [160.47.56.204]) by agevole.cig.mot.com (8.7.5 Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id QAA24101; Thu, 28 Jun 2001 16:47:51 -0500 (CDT)
Message-Id: <200106282147.QAA24101@agevole.cig.mot.com>
Date: Thu, 28 Jun 2001 16:47:34 -0500
From: Qiaobing Xie <xieqb@cig.mot.com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
CC: tsvwg@ietf.org, mallman@grc.nasa.gov, floyd@aciri.org
Subject: Re: [Tsvwg] SCTP Implementor's Guide
References: <Roam.SIMC.2.0.6.993762945.23779.kcpoon@jurassic.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

Kacheong Poon wrote:
...
> The reason I did not include the bundling issue in my previous mail
> is that I believe SCTP stack normally does not re-bundle chunks.
> So if an IP packet contains 5 chunks, and is lost, all chunks are
> lost.  This suggests strongly that when SCTP times out, all 5 chunks
> should be retransmitted together.

This assumption is very questionable, due to the fact that at the time
of retransmission either or both the cwnd and PMTU can change
dramatically (especially the cwnd since the retran very likely will be
sent to a different dest address).

-Qiaobing

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


From tsvwg-admin@ietf.org  Thu Jun 28 18:51: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 SAA21618
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 18:51:01 -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 SAA02487;
	Thu, 28 Jun 2001 18:25:51 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176])
	by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id SAA02459
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 18:25:49 -0400 (EDT)
Received: from saturn.sun.com (saturn.Sun.COM [192.9.25.2])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA03076
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 18:25:06 -0400 (EDT)
Received: from ebaymail1.EBay.Sun.COM ([129.150.111.99])
	by saturn.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA29222;
	Thu, 28 Jun 2001 15:25:23 -0700 (PDT)
Received: from gamma (vpn-129-150-4-63.EBay.Sun.COM [129.150.4.63])
	by ebaymail1.EBay.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id PAA28336;
	Thu, 28 Jun 2001 15:25:22 -0700 (PDT)
Date: Thu, 28 Jun 2001 15:27:52 -0700 (PDT)
From: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Reply-To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
Subject: Re: [Tsvwg] SCTP Implementor's Guide
To: tsvwg@ietf.org
Cc: mallman@grc.nasa.gov, floyd@aciri.org
In-Reply-To: "Your message with ID" <200106282147.QAA24101@agevole.cig.mot.com>
Message-ID: <Roam.SIMC.2.0.6.993767272.2189.kcpoon@jurassic.eng.sun.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

> This assumption is very questionable, due to the fact that at the time
> of retransmission either or both the cwnd and PMTU can change
> dramatically (especially the cwnd since the retran very likely will be
> sent to a different dest address).

For cwnd, I consider a good implementation to increase it my PMTU
size, not by bytes.  This is a little more efficient because chunks
can be bundled in the largest possible way.  The only change is the
way to do accounting.  The rate of increasing cwnd per RTT is the same.
And SCTP won't break up chunks unnecessarily to fit cwnd.  This is the
same for TCP, cwnd is increased by MSS size.

Even if PMTU changes (say because it is sent to a different dst), the 
method outlined in my previous mail will still work.  It is just an outline,
I don't see any problem in working out the details...  For example, an
implementation may choose the most conservative way of only sending one data
chunk after the timeout.  This may be good because SCTP does not really
know where the congestion is.  It may well be very close to sender and
regardless of which dst address SCTP uses, it will get hit.

							K. Poon.
							kcpoon@eng.sun.com



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


From tsvwg-admin@ietf.org  Thu Jun 28 19:10: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 TAA05261
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 19:10: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 SAA03197;
	Thu, 28 Jun 2001 18:44: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 SAA03166
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 18:44:53 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA16757
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 18:44:10 -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 f5SMiQh13438;
	Thu, 28 Jun 2001 15:44:26 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-89.cisco.com [171.68.181.218])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJN09728 (AUTH rrs);
	Thu, 28 Jun 2001 15:44:20 -0700 (PDT)
Message-ID: <3B3BB33F.98628AA8@stewart.chicago.il.us>
Date: Thu, 28 Jun 2001 17:44:16 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <Roam.SIMC.2.0.6.993757593.29724.kcpoon@jurassic.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

Kacheong Poon wrote:
> 
> > I do not agree :)
> >
> > I am not sure I need the details of if it was
> >
> > SACK'd vs transmitted vs not-ever-transmitted.
> 
> Hmm, Randy, I think you misread the flow of the discussion.  We
> were discussing whether we should distinguish sent and sack'ed from
> sent but not sack'ed data...  And then we were discussing what the
> meaning of retrieving data for a normal shutdown...  We were not
> discussing whether we need to put in the mechanism to retrieve data
> for a send failure case...  The mechanism is already there.
> 

My impression from Brian's comments is that he would
like the mechanism removed... I don't really think I care
if we do not get back up the SACK'd but not past the cum-ack
point... We could indicate these but I think we are talking
corner cases here...

The general mechanism, as it is currently laid out, is I
think valuable.. 

R

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Thu Jun 28 19:30: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 TAA16718
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 19:30: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 SAA03451;
	Thu, 28 Jun 2001 18:51: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 SAA03426
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 18:51:49 -0400 (EDT)
Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA21685
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 18:51:07 -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.11.3/8.9.1) with ESMTP id f5SMpOx03502;
	Thu, 28 Jun 2001 15:51:24 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-4-89.cisco.com [171.68.181.218])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJN09938 (AUTH rrs);
	Thu, 28 Jun 2001 15:51:13 -0700 (PDT)
Message-ID: <3B3BB4DC.4DEF895D@stewart.chicago.il.us>
Date: Thu, 28 Jun 2001 17:51:09 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <Roam.SIMC.2.0.6.993760601.429.kcpoon@jurassic.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

Kacheong Poon wrote:
> 
> > When our RSERPOOL/ASAP implementation sends it
> > populates the context field with the send flags.
> >
> > If the peer dies, the data is bounced up to the
> > ASAP layer since it enables this retrieval flags.
> >
> > The context is consulted to see if the send allows
> > re-routing the packets to a alternate peer.
> >
> > If so, the ASAP layer re-selects an alternate peer
> > and retransmits the data to it.
> >
> > The retrieval mechanism is quite useful in this case and
> > is needed by the session layer namely ASAP.
> 
> Randy, can you say more about this?  So does the context
> indicate whether the message can be duplicated?   And I

Yes, the context was used to handle how I would react
to the "failed data". It was the applications control
flag if you will that told ASAP what was proper handling..

> believe the retrieval is done after SCTP gives up.  The
> reason I ask is to find out if ASAP needs only unsent
> messages.  I think this is the whole point of the current
> discussion. 

I definetly got off track from some of Brian's comments.
ASAP right now does NOT tell the difference between
any of the classes..

i.e. 
1) UNSENT, 
2) SENT and NOT ACKED and 
3) SACKed but no CUM-ACK past.

Reason being in the original work we did with this, which used
an old old old version of SCTP, there was NO distinction between
1 <-> 2, every thing was just tosed up... and as far as
the distinction between 2 <-> 3, the old version did not
have this distinction i.e. once it was SACK'd it could not
be revoked...

Now, I can see the value of knowing the difference betweein
1 <-> 2...

Having 3 returned seems moot to me and it could just as
likely be reported as a case 2... since it still requires
audits.. for example with the remote end..


>             What is useful and what is not useful?  And
> do we need to expose SCTP's SACK info?  To me, I think
> only unsent messages is useful.  If the app has a duplicate
> protection mechanism, then sent messages may be useful.

I think only 1 and 2 are useful.. and I would classify
any messages in catagory 3, if I gave them to the
app at all as a catagory 2 as well... they still need
to be audited...

> And I don't see the need to distinguish sack'ed and not
> sack'ed messages.  Then Jacob proposed to include an user
> induced failure behavior.

Not sure on Jacob's proposal... I want to think on it
more..

R

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Thu Jun 28 20:30: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 UAA28692
	for <tsvwg-archive@odin.ietf.org>; Thu, 28 Jun 2001 20:30: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 UAA05931;
	Thu, 28 Jun 2001 20:14: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 UAA05907
	for <tsvwg@ns.ietf.org>; Thu, 28 Jun 2001 20:14:25 -0400 (EDT)
Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id UAA16700
	for <tsvwg@ietf.org>; Thu, 28 Jun 2001 20:13:44 -0400 (EDT)
Received: from fw-ext.ascend.com (fw-ext [198.4.92.5])
	by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id RAA17494;
	Thu, 28 Jun 2001 17:13:44 -0700 (PDT)
Received: from russet.ascend.com by fw-ext.ascend.com
          via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 29 Jun 2001 00:14:24 UT
Received: from wopr.eng.ascend.com (wopr.eng.ascend.com [206.65.212.178])
	by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id RAA14000;
	Thu, 28 Jun 2001 17:13:45 -0700 (PDT)
Received: from grigri.eng.ascend.com (grigri.eng.ascend.com [135.140.53.45])
	by wopr.eng.ascend.com (8.9.1/8.9.1) with ESMTP id RAA23234;
	Thu, 28 Jun 2001 17:14:24 -0700 (PDT)
Received: from lucent.com by grigri.eng.ascend.com (8.8.8+Sun/SMI-SVR4)
	id RAA02243; Thu, 28 Jun 2001 17:13:44 -0700 (PDT)
Message-ID: <3B3BC8A2.9CE0D4AB@lucent.com>
Date: Thu, 28 Jun 2001 17:15:30 -0700
From: Jacob Heitz <jheitz@lucent.com>
Organization: Lucent Technologies, Internetworking Systems, Software Engineering, 
 Alameda
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Kacheong Poon <kcpoon@jurassic.eng.sun.com>
CC: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
References: <Roam.SIMC.2.0.6.993759967.23840.kcpoon@jurassic.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

M2PA requires it.
MTP3 can send M2PA a "Stop" request followed by
a "Retrieve BSNT" request and then a "Retrieve"
request.

When M2PA gets "Stop", it aborts the SCTP association.
Then MTP3 will ask it to retrieve.

MTP3 will do this sequence if it receives a changeover
order for the M2PA link from an alternate link.

Kacheong Poon wrote:
> 
> > It seems to me that once you put in the mechanism, it SHOULD
> > report after a COMM-Failure any packets still inqueue.
> >
> > It should not matter if you caused the abort or the peer
> > died and caused the abort...
> 
> Randy, actually there is a difference.  An user abort has the
> added semantics of flushing data in the queue.  Why does an
> app abort an association while SCTP still thinks it is fine?
> Here comes the flush semantics as the app gives up...  So I
> think we should ask people if this is needed and why.  Maybe
> Jacob can fill us in about the background and an example.
> 
>                                                         K. Poon.
>                                                         kcpoon@eng.sun.com

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


From tsvwg-admin@ietf.org  Fri Jun 29 02:05: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 CAA24958
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 02:05: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 BAA23781;
	Fri, 29 Jun 2001 01:51: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 BAA23750
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 01:51:54 -0400 (EDT)
Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id BAA13714
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 01:51:13 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust88.tnt1.sedona.az.da.uu.net [63.11.160.88])
	by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id WAA05587;
	Thu, 28 Jun 2001 22:51:49 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5T5knR29046;
	Fri, 29 Jun 2001 00:46:49 -0500
Date: Fri, 29 Jun 2001 00:46:49 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Jacob Heitz <jheitz@lucent.com>
Cc: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Sockets Mapping - Closure of TCP-style SCTP sock  ets
Message-ID: <20010629004649.B18926@piglet>
Reply-To: bidulock@openss7.org
References: <Roam.SIMC.2.0.6.993759967.23840.kcpoon@jurassic.eng.sun.com> <3B3BC8A2.9CE0D4AB@lucent.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B3BC8A2.9CE0D4AB@lucent.com>; from jheitz@lucent.com on Thu, Jun 28, 2001 at 05:15:30PM -0700
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
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

Jacob,

I don't believe that the next version of the M2PA
draft will require it.

-Brian

On Thu, 28 Jun 2001, Jacob Heitz wrote:

> M2PA requires it.
> MTP3 can send M2PA a "Stop" request followed by
> a "Retrieve BSNT" request and then a "Retrieve"
> request.
> 
> When M2PA gets "Stop", it aborts the SCTP association.
> Then MTP3 will ask it to retrieve.
> 
> MTP3 will do this sequence if it receives a changeover
> order for the M2PA link from an alternate link.
> 
> Kacheong Poon wrote:
> > 
> > > It seems to me that once you put in the mechanism, it SHOULD
> > > report after a COMM-Failure any packets still inqueue.
> > >
> > > It should not matter if you caused the abort or the peer
> > > died and caused the abort...
> > 
> > Randy, actually there is a difference.  An user abort has the
> > added semantics of flushing data in the queue.  Why does an
> > app abort an association while SCTP still thinks it is fine?
> > Here comes the flush semantics as the app gives up...  So I
> > think we should ask people if this is needed and why.  Maybe
> > Jacob can fill us in about the background and an example.
> > 

-- 
Brian F. G. Bidulock
bidulock@openss7.org
http://www.openss7.org/

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


From tsvwg-admin@ietf.org  Fri Jun 29 02:40: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 CAA25365
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 02:40: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 CAA24708;
	Fri, 29 Jun 2001 02:16: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 CAA24682
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 02:16:47 -0400 (EDT)
Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA05626
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 02:16:06 -0400 (EDT)
Received: from piglet.pigworks.dallas.net (1Cust251.tnt1.sedona.az.da.uu.net [63.11.160.251])
	by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA16355;
	Thu, 28 Jun 2001 23:16:42 -0700 (PDT)
Received: (from brian@localhost)
	by piglet.pigworks.dallas.net (8.11.0/8.11.0) id f5T6E8f29866;
	Fri, 29 Jun 2001 01:14:08 -0500
Date: Fri, 29 Jun 2001 01:14:07 -0500
From: "Brian F. G. Bidulock" <bidulock@openss7.org>
To: Randall Stewart at work <randall@stewart.chicago.il.us>
Cc: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
Message-ID: <20010629011407.D18926@piglet>
Reply-To: bidulock@openss7.org
References: <Roam.SIMC.2.0.6.993703028.3520.kcpoon@jurassic.eng.sun.com> <3B3B3916.4224C8F5@stewart.chicago.il.us> <20010628121130.E23134@piglet> <3B3B7BFE.FD2C4506@stewart.chicago.il.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B3B7BFE.FD2C4506@stewart.chicago.il.us>; from randall@stewart.chicago.il.us on Thu, Jun 28, 2001 at 01:48:31PM -0500
Organization: http://www.openss7.org/
Dsn-Notification-To: <bidulock@openss7.org>
X-MIME-Autoconverted: from 8bit to quoted-printable by gull.mail.pas.earthlink.net id XAA16355
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id CAA24683
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 CAA24708
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id CAA25365

Randall,

I suspected as much.  How does the RSERPOOL/ASAP implementation
handle the ambiguity of messages which were transmitted but not
acknolwedged by the SCTP peer and the ambiguity of messages which
were acknowledged by SCTP but not delivered to the ASAP peer?

For example, one ASAP peer is sending messages to another.  The
receiving ASAP peer dies (presumably taking the process with it and
"closing" the SCTP socket).  How do you handle the messages which
are possibly lost in the dying peer's socket receive queue when it
died?  These messages were potentially acked to the sending SCTP but
were never delivered to the ULP.  How does the sender handle
messages which were transmitted but not acked?  How is it to know
which messages were actually received by the other side (but the
acks were lost)?

How does the sender distinguish between communication loss and peer
crash?  It is possible that communication was merely lost and that
messages were in the process of being acked for which the acks were
not received due to the communication loss?  How does the sending
ASAP know which messages were received by the other side in this
case?

So of the cases following cases, hows does the sending ASAP know
which messages to send to the alternate ASAP?

(1) Unsent messages (this one's obvious)

(2) Sent but unacknowledged messages (how does the sending ASAP know
    that these messages were not received and processed by the
    peer?)

(3) Sent but gap-acked messages (how does the sending ASAP know
    whether these were processed or lost?)

(4) Sent and cum-acked messages (how does the sending ASAP know
    whether these were processed or lost?)

I don't see how the ASAP case is so different...  Could you explain
how it deals with these ambiguities without the assistance of an
application level ack?

--Brian


On Thu, 28 Jun 2001, Randall Stewart at work wrote:

> Brian:
> 
> When I said DB applications I was hinting at applications
> beyond sigtran. Let me illustrate an application or
> more correctly a session layer that uses this feature.
> 
> When our RSERPOOL/ASAP implementation sends it
> populates the context field with the send flags.
> 
> If the peer dies, the data is bounced up to the
> ASAP layer since it enables this retrieval flags.
> 
> The context is consulted to see if the send allows
> re-routing the packets to a alternate peer.
> 
> If so, the ASAP layer re-selects an alternate peer
> and retransmits the data to it.
> 
> The retrieval mechanism is quite useful in this case and
> is needed by the session layer namely ASAP.
> 
> The whole reason I added the context field in was for
> this very reason :) You will note it IS in RFC2960.
> 
> Now I realize you are coming from a SS7 layer world, but there
> ARE other applications for this data... and knowing the
> difference as to if it HAS been sent OR HAS NEVER been
> sent is also a nice added bonus of the API proposal..
> 
> 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


From tsvwg-admin@ietf.org  Fri Jun 29 02:48: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 CAA00550
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 02:48: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 CAA25503;
	Fri, 29 Jun 2001 02:39: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 CAA25477
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 02:39:56 -0400 (EDT)
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA24215;
	Fri, 29 Jun 2001 02:39:13 -0400 (EDT)
From: john.loughney@nokia.com
Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])
	by mgw-x3.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5T6eEI07344;
	Fri, 29 Jun 2001 09:40:14 +0300 (EET DST)
Received: from esebh24nok.ntc.nokia.com (unverified) by esvir03nok.nokia.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T546ff520f3ac158f2313e2@esvir03nok.nokia.com>;
 Fri, 29 Jun 2001 09:39:48 +0300
Received: by esebh24nok with Internet Mail Service (5.5.2652.78)
	id <MV1BMBPW>; Fri, 29 Jun 2001 09:39:48 +0300
Message-ID: <01D91AFB08B6D211BFD00008C7EABAE10680B206@eseis04nok>
To: michael@tk.uni-linz.ac.at, ietf@ietf.org, end2end-interest@isi.edu,
        tsvwg@ietf.org
Cc: sob@harvard.edu, J.Crowcroft@cs.ucl.ac.uk, mjh@aciri.org
Subject: RE: [Tsvwg] pre-BOF discussion
Date: Fri, 29 Jun 2001 09:39:45 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
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 Michael,

> I would like to start a discussion to gauge interest in 
> possibly having a BOF (note that nothing has been decided yet - 
> but starting with a mailing list and a web site seems to be a 
> good idea) at the London IETF meeting.
> 
> The topic is "ABR to the Internet" - in fact, it's "ABR Explicit Rate
> Feedback related mechanisms for the Internet". To quote from 
> the web site:
> 
> The goal: A generic approach to ... 
> - identify relevant information 
> - propose a new protocol and/or changes to existing protocols 
> - propose ways to use specific information (endpoint behaviour)
>   to achieve a certain QoS gain 
> Don't think of it as strictly ABR-like (requiring per flow state).
> Think of it as ECN with a finer granularity. 

This sounds like it could be part of the Next Steps in Signaling
work, that has been proposed as a working group.  I haven't
heard of any progress in that area.  Perhaps Allison M. is
putting something together for that.

br,
John

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


From tsvwg-admin@ietf.org  Fri Jun 29 03:17: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 DAA20295
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 03:17: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 CAA26078;
	Fri, 29 Jun 2001 02:56: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 CAA26045
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 02:56:55 -0400 (EDT)
Received: from pelican.tk.uni-linz.ac.at (root@pelican.tk.uni-linz.ac.at [140.78.188.41])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA06211;
	Fri, 29 Jun 2001 02:56:12 -0400 (EDT)
Received: from olibaer (olibaer.tk.uni-linz.ac.at [140.78.92.45])
	by pelican.tk.uni-linz.ac.at (8.9.1a/8.9.1) with SMTP id IAA22017;
	Fri, 29 Jun 2001 08:56:49 +0200 (MET DST)
From: Michael Welzl <michael@tk.uni-linz.ac.at>
Reply-To: <michael@tk.uni-linz.ac.at>
To: <john.loughney@nokia.com>, <ietf@ietf.org>, <end2end-interest@isi.edu>,
        <tsvwg@ietf.org>
Cc: <abr-internet@tk.uni-linz.ac.at>, <siglite@cs.columbia.edu>
Subject: RE: [Tsvwg] pre-BOF discussion
Date: Fri, 29 Jun 2001 09:07:06 +0200
Message-ID: <A17BDB85B175D311804E00E07D02A21D27654F@conan.tk.uni-linz.ac.at>
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 8.5, Build 4.71.2173.0
In-Reply-To: <A17BDB85B175D311804E00E07D02A21D385F37@conan.tk.uni-linz.ac.at>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400
Importance: Normal
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,

I did not CC the other private mail addresses ... please don't, we
don't want to bother all of them with the discussion. Also, please
move all related discussion to the abr-internet list:
http://www.tk.uni-linz.ac.at/~michael/abr-internet/

If you MUST reach a broader audience, I figure including
end2end-interest may be okay - but I would suggest that this is
the last e-mail on ABR-Internet that is going to the tsvwg group
and ietf@ietf.org
(and siglite sure is an exception for this very mail  :)  )


> This sounds like it could be part of the Next Steps in Signaling
> work, that has been proposed as a working group.  I haven't
> heard of any progress in that area.  Perhaps Allison M. is
> putting something together for that.

Actually, that's what I thought when the siglite discussion started.
I mentioned my current work on Explicit Rate signaling at the siglite
list last January but the reaction was scarce. I got the feeling that
what they are actually looking for is not just generic signaling but
signaling for resource reservation.

If I'm wrong - great! In this case, sigliters, please take a look at
the above URL   ;-)
I'd be more than willing to join you!

Cheers,
Michael


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


From tsvwg-admin@ietf.org  Fri Jun 29 09:00: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 IAA12949
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 08:59: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 IAA07928;
	Fri, 29 Jun 2001 08:38: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 IAA07860
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 08:38:35 -0400 (EDT)
Received: from hoemail2.firewall.lucent.com (hoemail2.lucent.com [192.11.226.163])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA02080
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 08:37:51 -0400 (EDT)
Received: from hoemail2.firewall.lucent.com (localhost [127.0.0.1])
	by hoemail2.firewall.lucent.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f5TCcWM02777
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 08:38:32 -0400 (EDT)
Received: from uk0006exch001h.wins.lucent.com (h135-86-160-150.lucent.com [135.86.160.150])
	by hoemail2.firewall.lucent.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f5TCcVU02759
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 08:38:32 -0400 (EDT)
Received: by uk0006exch001h.uk.lucent.com with Internet Mail Service (5.5.2650.21)
	id <L9FLVKB8>; Fri, 29 Jun 2001 13:38:30 +0100
Message-ID: <17BA7A412C4FD311A4B700508B0291AE04D0572D@uk0006exch004u.uk.lucent.com>
From: "Adams, Richard Anthony (Richard)" <raadams1@lucent.com>
To: TSV WG list <tsvwg@ietf.org>
Subject: RE: [Tsvwg] Another view of the SCTP error check problem
Date: Fri, 29 Jun 2001 13:38:29 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
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

Alternatively...
Robert Snively wrote:

> I have a goal of less than one undetected error per
> million years.  There are pi * (10**7) seconds per year,
> so I can tolerate one error per 3 * (10**13) seconds.
> At 10 Gbits = 1.2 GBytes, that means that I can tolerate 
> roughly one undetected error in 3.6 * (10**22) bytes. 
[RAA] Why this strict ? Surely one error per SCTP lifetime would be good
enough ?
Anyway, taking the SS7 SCTP requirements, which is one undetected error per
10**10 messages (or 10**9 for ANSI), at a SIF length for narrow band MTP of
272 octets, we have a requirement of 1 undetected error in ~3 * 10**12 (or
10**11) bytes. [raa]
>  
> 
> Now let us assume that we are running on hardware that
> creates the nastiest case identified by Partridge and
> Stone, which showed one undetected error on TCP/IP per
> 16 million packets.  Since undetected packets are passed
> with a probability of approximately 1 in 2**16 
> (or 1.5 * (10**-5)), that means that roughly one packet in
> 250 has an error.  The largest packet is likely to be 
> an Ethernet packet of about 1500 bytes, which means that
> roughly one significant error per 3.7 * (10**5) bytes
> occurs, or 3,200 failures per second occur.
	[RAA] In our SS7 case, we would have 1 significant error per ~7.4 *
10**4 bytes. [raa]
> So that leaves the following questions:
> 
> 1) How do we get from here (1 error / 3.7*(10**5) bytes)
>    to where we want to be (1 error / 3.6 * (10**22) bytes)?
> 
> 2) What good is a 32-bit check of any kind (which reduces
>    the failure rate by roughly 1 / 2**32 or 2.3 * (10**-10))
>    going to do?  That only gets us to one error in 
>    1.6 * (10**15 bytes), some 7 orders of magnitude worse
>    than we need to achieve.  I am pretty sure a CRC does not
>    catch 100% of stuck faults unless they effect only
>    a certain number of bits, preferably closely spaced.
	[RAA] Supposing that the 32 bit check *does* reduce the failure rate
by 2.3 * 10**-10,
	 (which I believe rules out Adler 32), this gives SS7 a rate of 1
byte in 3.2 * 10**14 with a significant error. The requirement is 1 byte in
~3 * 10**12 (at its strictest, based on the MTP service offered to its
users).  So we are up 2 orders of magnitude. [raa]
> 3) If it takes 1 msec of latency in recovery every time an
>    an error is detected, that means for every second of
>    transfer, you will be spending 3.2 seconds in failure
>    recovery, and I bet that 1 msec is a low number.  The
>    problem with error recovery is that it is not dependent
>    on link speed, but rather on round-trip link latency. How
>    many people will want a 10 Gbit network that only runs
>    2.4 Gbits?
	[RAA] This isn't a requirement as such on how good we want error
detection to be, but how good we want the signalling path to be. [raa]
> Some of the answers are pretty obvious.  
> 
> 1) Any product that you have some chance of selling in
>    an enterprise environment will have an error rate through
>    all hops some seven orders of magnitude better than an 
>    ungroomed campus internet link.  
> 
> 2) Checking will be required at lower levels to achieve that
>    improvement, not so much to correct errors, but to isolate
>    devices and links that need to be replaced because they
>    are throwing too many errors.  That checking
>    will be included both in the links and in the boxes.
> 
> 3) Any application that really cares won't trust even those
>    probabilities and will provide additional verification at the
>    application level, principally to identify suspect
>    links and systems that have failed to perform their checks
>    correctly.
> 
> Once you have accepted the three answers above, why is
> CRC any better than a TCP-like 32-bit sum?
[RAA] As long as it lets through no more than 1 in 2**32 errors, for the
networks we want to use SCTP over, and for the packets we want to send in
those networks, a 32 bit check sum would be good enough. But Adler 32 isn't,
so the SCTP checksum should change. And the properties of CRC 32 are good
enough. [raa] 

With kind regards,
Richard A. Adams,
raadams1@lucent.com, tel : +44 1666 83 2503
fax: + 44 1666 83 2712
Lucent Tech.,
Swindon Road,
Malmesbury,
Wiltshire SN16 9NA.



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


From tsvwg-admin@ietf.org  Fri Jun 29 09:40: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 JAA11030
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 09:40:42 -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 JAA09795;
	Fri, 29 Jun 2001 09:30: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 JAA09762
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 09:30:41 -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 JAA04138
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 09:29:58 -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.11.3/8.9.1) with ESMTP id f5TDUHr06585;
	Fri, 29 Jun 2001 06:30:17 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-6-250.cisco.com [10.21.58.251])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJU02600 (AUTH rrs);
	Fri, 29 Jun 2001 06:30:06 -0700 (PDT)
Message-ID: <3B3C82D9.B7D26528@stewart.chicago.il.us>
Date: Fri, 29 Jun 2001 08:30:01 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
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: Kacheong Poon <kcpoon@jurassic.eng.sun.com>, tsvwg@ietf.org
Subject: Re: [Tsvwg] sctpsocket: Returning unsent messages
References: <Roam.SIMC.2.0.6.993703028.3520.kcpoon@jurassic.eng.sun.com> <3B3B3916.4224C8F5@stewart.chicago.il.us> <20010628121130.E23134@piglet> <3B3B7BFE.FD2C4506@stewart.chicago.il.us> <20010629011407.D18926@piglet>
Content-Type: text/plain; charset=iso-8859-1
X-MIME-Autoconverted: from 8bit to quoted-printable by sj-msg-core-4.cisco.com id f5TDUHr06585
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id JAA09763
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 JAA09795
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id JAA11030

Brian:

As I stated earlier.. we did not have a seperation as
we are now putting in the API. As such you either
had to retransmit all the messages or pull them
up to the application. 

The applications themselves i.e. the servers had
to do state sharing outside of rserpool...it is out
of scope of rserpool and we had several mechanisms to
do this.

It really depended on the application as to how this
was handled. Some apps wanted the data and then did
educated things on resubmitting. Others just had
ASAP resend to a peer server... the peer server
would then do its needed audits etc.

I see having the seperation as a good thing i.e. I can
now give the application client more choices...

oh.. by the way I don't think many of our apps used
application level ack's..  a couple yes.. but most
did not need it.. Of course it was not an SS7 network
we were running either :>

R


"Brian F. G. Bidulock" wrote:
> 
> Randall,
> 
> I suspected as much.  How does the RSERPOOL/ASAP implementation
> handle the ambiguity of messages which were transmitted but not
> acknolwedged by the SCTP peer and the ambiguity of messages which
> were acknowledged by SCTP but not delivered to the ASAP peer?
> 
> For example, one ASAP peer is sending messages to another.  The
> receiving ASAP peer dies (presumably taking the process with it and
> "closing" the SCTP socket).  How do you handle the messages which
> are possibly lost in the dying peer's socket receive queue when it
> died?  These messages were potentially acked to the sending SCTP but
> were never delivered to the ULP.  How does the sender handle
> messages which were transmitted but not acked?  How is it to know
> which messages were actually received by the other side (but the
> acks were lost)?
> 
> How does the sender distinguish between communication loss and peer
> crash?  It is possible that communication was merely lost and that
> messages were in the process of being acked for which the acks were
> not received due to the communication loss?  How does the sending
> ASAP know which messages were received by the other side in this
> case?
> 
> So of the cases following cases, hows does the sending ASAP know
> which messages to send to the alternate ASAP?
> 
> (1) Unsent messages (this one's obvious)
> 
> (2) Sent but unacknowledged messages (how does the sending ASAP know
>     that these messages were not received and processed by the
>     peer?)
> 
> (3) Sent but gap-acked messages (how does the sending ASAP know
>     whether these were processed or lost?)
> 
> (4) Sent and cum-acked messages (how does the sending ASAP know
>     whether these were processed or lost?)
> 
> I don't see how the ASAP case is so different...  Could you explain
> how it deals with these ambiguities without the assistance of an
> application level ack?
> 
> --Brian
> 
> On Thu, 28 Jun 2001, Randall Stewart at work wrote:
> 
> > Brian:
> >
> > When I said DB applications I was hinting at applications
> > beyond sigtran. Let me illustrate an application or
> > more correctly a session layer that uses this feature.
> >
> > When our RSERPOOL/ASAP implementation sends it
> > populates the context field with the send flags.
> >
> > If the peer dies, the data is bounced up to the
> > ASAP layer since it enables this retrieval flags.
> >
> > The context is consulted to see if the send allows
> > re-routing the packets to a alternate peer.
> >
> > If so, the ASAP layer re-selects an alternate peer
> > and retransmits the data to it.
> >
> > The retrieval mechanism is quite useful in this case and
> > is needed by the session layer namely ASAP.
> >
> > The whole reason I added the context field in was for
> > this very reason :) You will note it IS in RFC2960.
> >
> > Now I realize you are coming from a SS7 layer world, but there
> > ARE other applications for this data... and knowing the
> > difference as to if it HAS been sent OR HAS NEVER been
> > sent is also a nice added bonus of the API proposal..
> >
> > 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
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Fri Jun 29 13:46:06 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 NAA20642
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 13:46:01 -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 NAA18777;
	Fri, 29 Jun 2001 13:28: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 NAA18746
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 13:28:13 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA19991
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 13:27:30 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id KAA24545;
	Fri, 29 Jun 2001 10:27:40 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <N5DQTX5Q>; Fri, 29 Jun 2001 10:27:40 -0700
Message-ID: <FFD40DB4943CD411876500508BAD0279029935F0@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: "'Adams, Richard Anthony (Richard)'" <raadams1@lucent.com>,
        TSV WG list <tsvwg@ietf.org>
Subject: RE: [Tsvwg] Another view of the SCTP error check problem
Date: Fri, 29 Jun 2001 10:27:39 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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

My assumption has been that what you are really after is 
a transport mechanism that will allow iSCSI and other framed
activity typical of storage interfaces to be carried with
a minimum of higher level checking.  Storage is not satisfied
with any undetected errors, since they are revealed as
undetected data integrity failures in the returned data.
Such failures can have undetermined and perhaps catastrophic
effects to applications.

If you say that you are guaranteeing 1 undetected error in 10**11 
or 1 error in 10**14 bytes, storage folk will say that is all very 
nice, now send me the name of a real storage transport.  Alternatively,
the storage folk will say that they will do the checking themselves and
TCP will do very nicely as a transport mechanism.  That is the
path that iSCSI is presently taking.

If merely meeting the SS7 error numbers is your goal, then what 
I have said is not relevant and may safely be ignored.

Bob Snively                        e-mail:    rsnively@brocade.com
Brocade Communications Systems     phone:  408 487 8135
1745 Technology Drive
San Jose, CA 95110


>  -----Original Message-----
>  From: Adams, Richard Anthony (Richard) [mailto:raadams1@lucent.com]
>  Sent: Friday, June 29, 2001 5:38 AM
>  To: TSV WG list
>  Subject: RE: [Tsvwg] Another view of the SCTP error check problem
>  
>  
>  Alternatively...
>  Robert Snively wrote:
>  
>  > I have a goal of less than one undetected error per
>  > million years.  There are pi * (10**7) seconds per year,
>  > so I can tolerate one error per 3 * (10**13) seconds.
>  > At 10 Gbits = 1.2 GBytes, that means that I can tolerate 
>  > roughly one undetected error in 3.6 * (10**22) bytes. 
>  [RAA] Why this strict ? Surely one error per SCTP lifetime 
>  would be good
>  enough ?
>  Anyway, taking the SS7 SCTP requirements, which is one 
>  undetected error per
>  10**10 messages (or 10**9 for ANSI), at a SIF length for 
>  narrow band MTP of
>  272 octets, we have a requirement of 1 undetected error in 
>  ~3 * 10**12 (or
>  10**11) bytes. [raa]

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


From tsvwg-admin@ietf.org  Fri Jun 29 14:08:11 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 OAA21473
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 14:08: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 NAA19521;
	Fri, 29 Jun 2001 13:43: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 NAA19494
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 13:43:33 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA20501
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 13:42:50 -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 f5THh5h19442;
	Fri, 29 Jun 2001 10:43:05 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-3-245.cisco.com [171.68.180.246])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJW02990 (AUTH rrs);
	Fri, 29 Jun 2001 10:42:56 -0700 (PDT)
Message-ID: <3B3CBE15.7AEAD138@stewart.chicago.il.us>
Date: Fri, 29 Jun 2001 12:42:45 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Robert Snively <rsnively@brocade.com>
CC: "'Adams, Richard Anthony (Richard)'" <raadams1@lucent.com>,
        TSV WG list <tsvwg@ietf.org>
Subject: Re: [Tsvwg] Another view of the SCTP error check problem
References: <FFD40DB4943CD411876500508BAD0279029935F0@sj5-ex2.brocade.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

Robert:

SS7 is the original requirments that we were attempting
to meet with SCTP. Now SCTP's scope has broadened by
a bit :) But I think it is safe to say we do need to
meet these minimum requirments... It looks to me that Richard
has shown that Adler-32 can NOT meet these requirements which
may then change Ian's mind :)

Ian, what do you say to Richards numbers.. maybe he can
supply more details if your still not conviced that there
is a problem :>

R


Robert Snively wrote:
> 
> My assumption has been that what you are really after is
> a transport mechanism that will allow iSCSI and other framed
> activity typical of storage interfaces to be carried with
> a minimum of higher level checking.  Storage is not satisfied
> with any undetected errors, since they are revealed as
> undetected data integrity failures in the returned data.
> Such failures can have undetermined and perhaps catastrophic
> effects to applications.
> 
> If you say that you are guaranteeing 1 undetected error in 10**11
> or 1 error in 10**14 bytes, storage folk will say that is all very
> nice, now send me the name of a real storage transport.  Alternatively,
> the storage folk will say that they will do the checking themselves and
> TCP will do very nicely as a transport mechanism.  That is the
> path that iSCSI is presently taking.
> 
> If merely meeting the SS7 error numbers is your goal, then what
> I have said is not relevant and may safely be ignored.
> 
> Bob Snively                        e-mail:    rsnively@brocade.com
> Brocade Communications Systems     phone:  408 487 8135
> 1745 Technology Drive
> San Jose, CA 95110
> 
> >  -----Original Message-----
> >  From: Adams, Richard Anthony (Richard) [mailto:raadams1@lucent.com]
> >  Sent: Friday, June 29, 2001 5:38 AM
> >  To: TSV WG list
> >  Subject: RE: [Tsvwg] Another view of the SCTP error check problem
> >
> >
> >  Alternatively...
> >  Robert Snively wrote:
> >
> >  > I have a goal of less than one undetected error per
> >  > million years.  There are pi * (10**7) seconds per year,
> >  > so I can tolerate one error per 3 * (10**13) seconds.
> >  > At 10 Gbits = 1.2 GBytes, that means that I can tolerate
> >  > roughly one undetected error in 3.6 * (10**22) bytes.
> >  [RAA] Why this strict ? Surely one error per SCTP lifetime
> >  would be good
> >  enough ?
> >  Anyway, taking the SS7 SCTP requirements, which is one
> >  undetected error per
> >  10**10 messages (or 10**9 for ANSI), at a SIF length for
> >  narrow band MTP of
> >  272 octets, we have a requirement of 1 undetected error in
> >  ~3 * 10**12 (or
> >  10**11) bytes. [raa]
> 
> _______________________________________________
> tsvwg mailing list
> tsvwg@ietf.org
> http://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Fri Jun 29 14:44: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 OAA22614
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 14:44: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 OAA21545;
	Fri, 29 Jun 2001 14:31: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 OAA21513
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 14:31:33 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA22244
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 14:30:49 -0400 (EDT)
Received: (cpmta 2531 invoked from network); 29 Jun 2001 11:30:59 -0700
Received: from adsl-63-202-160-80.dsl.snfc21.pacbell.net (HELO littlejoy) (63.202.160.80)
  by smtp.telocity.com (209.228.33.206) with SMTP; 29 Jun 2001 11:30:59 -0700
X-Sent: 29 Jun 2001 18:30:59 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: "Robert Snively" <rsnively@brocade.com>,
        "'Adams, Richard Anthony \(Richard\)'" <raadams1@lucent.com>,
        "TSV WG list" <tsvwg@ietf.org>
Subject: RE: [Tsvwg] Another view of the SCTP error check problem
Date: Fri, 29 Jun 2001 11:28:53 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJKEENCJAA.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
In-Reply-To: <FFD40DB4943CD411876500508BAD0279029935F0@sj5-ex2.brocade.com>
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

Bob,

Even if you view any transport as needing additional error checking, if you
examine the iSCSI protocol you will discovery a messy situation involved in
attempting to recover for the transport.  Due the relative weakness of this
transport summation scheme that fails at a far higher rate than the 2^n size
of the summation, when used over the Internet an additional application
mechanism may be invoked many times a day at 10 GE.  If the transport is
protected by CRC-32, then for the Internet this additional mechanism may be
invoked at a yearly rate where this lower rate allows simpler schemes
without a notable reduction in performance.  An alternative to using the
Internet could be a proactively maintained network however where the lower
failure rate also allows this scheme to be practical.

How are you expecting to recover from an error missed by the transport when
using FCIP as example?

Doug


> My assumption has been that what you are really after is
> a transport mechanism that will allow iSCSI and other framed
> activity typical of storage interfaces to be carried with
> a minimum of higher level checking.  Storage is not satisfied
> with any undetected errors, since they are revealed as
> undetected data integrity failures in the returned data.
> Such failures can have undetermined and perhaps catastrophic
> effects to applications.
>
> If you say that you are guaranteeing 1 undetected error in 10**11
> or 1 error in 10**14 bytes, storage folk will say that is all very
> nice, now send me the name of a real storage transport.  Alternatively,
> the storage folk will say that they will do the checking themselves and
> TCP will do very nicely as a transport mechanism.  That is the
> path that iSCSI is presently taking.
>
> If merely meeting the SS7 error numbers is your goal, then what
> I have said is not relevant and may safely be ignored.
>
> Bob Snively                        e-mail:    rsnively@brocade.com
> Brocade Communications Systems     phone:  408 487 8135
> 1745 Technology Drive
> San Jose, CA 95110
>
>
> >  -----Original Message-----
> >  From: Adams, Richard Anthony (Richard) [mailto:raadams1@lucent.com]
> >  Sent: Friday, June 29, 2001 5:38 AM
> >  To: TSV WG list
> >  Subject: RE: [Tsvwg] Another view of the SCTP error check problem
> >
> >
> >  Alternatively...
> >  Robert Snively wrote:
> >
> >  > I have a goal of less than one undetected error per
> >  > million years.  There are pi * (10**7) seconds per year,
> >  > so I can tolerate one error per 3 * (10**13) seconds.
> >  > At 10 Gbits = 1.2 GBytes, that means that I can tolerate
> >  > roughly one undetected error in 3.6 * (10**22) bytes.
> >  [RAA] Why this strict ? Surely one error per SCTP lifetime
> >  would be good
> >  enough ?
> >  Anyway, taking the SS7 SCTP requirements, which is one
> >  undetected error per
> >  10**10 messages (or 10**9 for ANSI), at a SIF length for
> >  narrow band MTP of
> >  272 octets, we have a requirement of 1 undetected error in
> >  ~3 * 10**12 (or
> >  10**11) bytes. [raa]
>
> _______________________________________________
> 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 Jun 29 15:20: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 PAA23624
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 15:20:27 -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 OAA22196;
	Fri, 29 Jun 2001 14:58: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 OAA22163
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 14:58:46 -0400 (EDT)
Received: from mail.brocade.com (asbestos.brocade.com [63.121.140.244])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA22940
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 14:57:59 -0400 (EDT)
Received: from hq-ex-c2.brocade.com (hq-ex-c2 [192.168.126.35])
	by mail.brocade.com (8.8.8+Sun/8.8.8) with ESMTP id LAA02608;
	Fri, 29 Jun 2001 11:57:54 -0700 (PDT)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <N5DQT5J5>; Fri, 29 Jun 2001 11:57:54 -0700
Message-ID: <FFD40DB4943CD411876500508BAD0279029935F1@sj5-ex2.brocade.com>
From: Robert Snively <rsnively@brocade.com>
To: "'Douglas Otis'" <dotis@sanlight.net>,
        Robert Snively
	 <rsnively@brocade.com>,
        "'Adams, Richard Anthony (Richard)'"
	 <raadams1@lucent.com>,
        TSV WG list <tsvwg@ietf.org>
Subject: RE: [Tsvwg] Another view of the SCTP error check problem
Date: Fri, 29 Jun 2001 11:57:53 -0700
X-Mailer: Internet Mail Service (5.5.2653.19)
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


Doug,

While it is clear that the iSCSI recovery stack would be
exercised less often with an SCTP plus CRC transport than with a TCP
plus 16-bit Check Sum transport, the number of errors will
be the same.  None of these transport mechanisms support ECC and
all use similar retransmission mechanisms. I am 
assuming that the transport layer recovery
algorithms are about as expensive as the application
layer recovery, so the impact on performance is approximately
the same in both cases.  The difference in detection is
on the order of 10**5 when comparing CRC with a 16 bit check sum
and 10**0 when comparing CRC with a mathematically correct
32-bit check sum.

So, if you want to run real storage applications, you will be
grooming the network to find links with moderate or low
error rates and that have checking at lower levels.  Of course
read-only storage containing video data or web data probably
won't require that, but independent storage providers carrying
customer data bases surely will.

FCIP, FC, and FCP provide several levels of high order checking, 
so that realitively bad TCP links will still be able to provide data
that is accurate.  However, the TCP performance of such links will
quickly encourage the improvement of the error rates.
FCIP is also a rather special purpose link in a Fibre Channel
SAN, so the majority of the data will flow over
Fibre Channel hops with data integrity better than that promised by
WAN environments.



>  
>  Even if you view any transport as needing additional error 
>  checking, if you
>  examine the iSCSI protocol you will discovery a messy 
>  situation involved in
>  attempting to recover for the transport.  Due the relative 
>  weakness of this
>  transport summation scheme that fails at a far higher rate 
>  than the 2^n size
>  of the summation, when used over the Internet an additional 
>  application
>  mechanism may be invoked many times a day at 10 GE.  If the 
>  transport is
>  protected by CRC-32, then for the Internet this additional 
>  mechanism may be
>  invoked at a yearly rate where this lower rate allows simpler schemes
>  without a notable reduction in performance.  An alternative 
>  to using the
>  Internet could be a proactively maintained network however 
>  where the lower
>  failure rate also allows this scheme to be practical.
>  
>  How are you expecting to recover from an error missed by the 
>  transport when
>  using FCIP as example?
>  
>  Doug
>  
>  
>  > My assumption has been that what you are really after is
>  > a transport mechanism that will allow iSCSI and other framed
>  > activity typical of storage interfaces to be carried with
>  > a minimum of higher level checking.  Storage is not satisfied
>  > with any undetected errors, since they are revealed as
>  > undetected data integrity failures in the returned data.
>  > Such failures can have undetermined and perhaps catastrophic
>  > effects to applications.
>  >
>  > If you say that you are guaranteeing 1 undetected error in 10**11
>  > or 1 error in 10**14 bytes, storage folk will say that is all very
>  > nice, now send me the name of a real storage transport.  
>  Alternatively,
>  > the storage folk will say that they will do the checking 
>  themselves and
>  > TCP will do very nicely as a transport mechanism.  That is the
>  > path that iSCSI is presently taking.
>  >
>  > If merely meeting the SS7 error numbers is your goal, then what
>  > I have said is not relevant and may safely be ignored.
>  >
>  > Bob Snively                        e-mail:    rsnively@brocade.com
>  > Brocade Communications Systems     phone:  408 487 8135
>  > 1745 Technology Drive
>  > San Jose, CA 95110
>  >
>  >
>  > >  -----Original Message-----
>  > >  From: Adams, Richard Anthony (Richard) 
>  [mailto:raadams1@lucent.com]
>  > >  Sent: Friday, June 29, 2001 5:38 AM
>  > >  To: TSV WG list
>  > >  Subject: RE: [Tsvwg] Another view of the SCTP error 
>  check problem
>  > >
>  > >
>  > >  Alternatively...
>  > >  Robert Snively wrote:
>  > >
>  > >  > I have a goal of less than one undetected error per
>  > >  > million years.  There are pi * (10**7) seconds per year,
>  > >  > so I can tolerate one error per 3 * (10**13) seconds.
>  > >  > At 10 Gbits = 1.2 GBytes, that means that I can tolerate
>  > >  > roughly one undetected error in 3.6 * (10**22) bytes.
>  > >  [RAA] Why this strict ? Surely one error per SCTP lifetime
>  > >  would be good
>  > >  enough ?
>  > >  Anyway, taking the SS7 SCTP requirements, which is one
>  > >  undetected error per
>  > >  10**10 messages (or 10**9 for ANSI), at a SIF length for
>  > >  narrow band MTP of
>  > >  272 octets, we have a requirement of 1 undetected error in
>  > >  ~3 * 10**12 (or
>  > >  10**11) bytes. [raa]
>  >
>  > _______________________________________________
>  > 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 Jun 29 17:40: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 RAA25831
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 17:40: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 RAA26450;
	Fri, 29 Jun 2001 17:15: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 RAA26423
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 17:15:53 -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 RAA25438
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 17:15:10 -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.11.3/8.9.1) with ESMTP id f5TLFRr04721;
	Fri, 29 Jun 2001 14:15:29 -0700 (PDT)
Received: from stewart.chicago.il.us (sj-dial-6-206.cisco.com [10.21.58.207])
	by mira-sjc5-2.cisco.com (Mirapoint)
	with ESMTP id AJZ01310 (AUTH rrs);
	Fri, 29 Jun 2001 14:15:17 -0700 (PDT)
Message-ID: <3B3CEFDC.5D43631A@stewart.chicago.il.us>
Date: Fri, 29 Jun 2001 16:15:08 -0500
From: Randall Stewart at work <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: IPNG <ipng@sunroof.eng.sun.com>, TSV WG list <tsvwg@ietf.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Tsvwg] SCTP and address scoping
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:

I have just released to the drafts editor:

draft-stewart-tsvwg-sctpipv6-txt.00

It should be showing up soon :>

Now this still is NOT totally complete.. Steve Deering
still had some text to add, but I ran out of time
considering my vacation and the upcoming drafts
cut off .. sorry Steve :< 

So I am going to, so to speak, submit and run :)

I am sure I will return to a nice long discussion
thread to find amongst the email barage while I am
gone for the next few weeks :)

Please take a moment and read this document it is only
a few pages (3) and it would be helpful if all you NG'ers
could put some input into the document to make sure we
have covered all the bases..

The concept here, for those of you that may have missed
some of this talk a few months ago is that in SCTP
the INIT/INIT-ACK (similar to SYN/SYN-ACK in TCP) carries
with it lists of addresses IPv4 AND IPv6. This gives
the peers multi-homing in the association. But there is
a slight rub with address scoping in IPv6... i.e. which
addresses do you include when?

This draft discusses this issue and I kindly ask for
all of your input..

Thanks
R
-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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


From tsvwg-admin@ietf.org  Fri Jun 29 20:09: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 UAA27889
	for <tsvwg-archive@odin.ietf.org>; Fri, 29 Jun 2001 20:09: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 TAA01296;
	Fri, 29 Jun 2001 19:45: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 TAA01253
	for <tsvwg@ns.ietf.org>; Fri, 29 Jun 2001 19:45:32 -0400 (EDT)
Received: from maho3msx2.isus.emc.com (maho3msx2.isus.emc.com [128.221.11.32])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA27483
	for <tsvwg@ietf.org>; Fri, 29 Jun 2001 19:44:50 -0400 (EDT)
From: Black_David@emc.com
Received: by maho3msx2.isus.emc.com with Internet Mail Service (5.5.2653.19)
	id <MK4NMXZF>; Fri, 29 Jun 2001 19:44:27 -0400
Message-ID: <277DD60FB639D511AC0400B0D068B71E070979@corpmx14.us.dg.com>
To: rsnively@brocade.com, tsvwg@ietf.org
Subject: RE: [Tsvwg] Another view of the SCTP error check problem
Date: Fri, 29 Jun 2001 19:41:09 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
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

> While it is clear that the iSCSI recovery stack would be
> exercised less often with an SCTP plus CRC transport than with a TCP
> plus 16-bit Check Sum transport, the number of errors will
> be the same.  None of these transport mechanisms support ECC and
> all use similar retransmission mechanisms.
> I am  assuming that the transport layer recovery
> algorithms are about as expensive as the application
> layer recovery, so the impact on performance is approximately
> the same in both cases.

That's a bad assumption when the application is SCSI.  SCSI level
recovery is horrendously expensive by comparison to a TCP
or SCTP retransmit.  FCIP will discard the corrupt frame and
leaves SCSI to pick up the pieces (assuming that the
application is SCSI over FCP over FCIP) - this will almost
always be much slower than a TCP or SCTP retransmit.

--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
---------------------------------------------------


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


From tsvwg-admin@ietf.org  Sat Jun 30 20:16: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 UAA26899
	for <tsvwg-archive@odin.ietf.org>; Sat, 30 Jun 2001 20:16: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 TAA12633;
	Sat, 30 Jun 2001 19:52: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 TAA12602
	for <tsvwg@ns.ietf.org>; Sat, 30 Jun 2001 19:52:54 -0400 (EDT)
Received: from c007.snv.cp.net (c007-h012.c007.snv.cp.net [209.228.33.219])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA26715
	for <tsvwg@ietf.org>; Sat, 30 Jun 2001 19:52:12 -0400 (EDT)
Received: (cpmta 8373 invoked from network); 30 Jun 2001 16:52:15 -0700
Received: from unknown (HELO littlejoy) (64.130.130.105)
  by smtp.telocity.com (209.228.33.219) with SMTP; 30 Jun 2001 16:52:15 -0700
X-Sent: 30 Jun 2001 23:52:15 GMT
From: "Douglas Otis" <dotis@sanlight.net>
To: <Black_David@emc.com>, <rsnively@brocade.com>, <tsvwg@ietf.org>
Subject: RE: [Tsvwg] Another view of the SCTP error check problem
Date: Sat, 30 Jun 2001 16:50:11 -0700
Message-ID: <NEBBJGDMMLHHCIKHGBEJEEFECJAA.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: <277DD60FB639D511AC0400B0D068B71E070979@corpmx14.us.dg.com>
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,

Unless there is some method of restoring synchronization, the recovery
becomes more than just a dropped FCIP encapsulated frame if synchronizing on
known corrupt data.  FCIP does not use CRC based headers to allow
restoration that may be required many times a day and thus cause the loss of
state between connections and the subsequent dropping of all potentially
outstanding frames.  Considering the level of impact this problem could
exhibit together with overstating the level of protection afford by the
summation, albeit small, only furthers the potential difficulty, and greatly
overlooks the benefits offered by the transport being robust.

Doug

> > While it is clear that the iSCSI recovery stack would be
> > exercised less often with an SCTP plus CRC transport than with a TCP
> > plus 16-bit Check Sum transport, the number of errors will
> > be the same.  None of these transport mechanisms support ECC and
> > all use similar retransmission mechanisms.
> > I am  assuming that the transport layer recovery
> > algorithms are about as expensive as the application
> > layer recovery, so the impact on performance is approximately
> > the same in both cases.
>
> That's a bad assumption when the application is SCSI.  SCSI level
> recovery is horrendously expensive by comparison to a TCP
> or SCTP retransmit.  FCIP will discard the corrupt frame and
> leaves SCSI to pick up the pieces (assuming that the
> application is SCSI over FCP over FCIP) - this will almost
> always be much slower than a TCP or SCTP retransmit.
>
> --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
> ---------------------------------------------------
>
>
> _______________________________________________
> 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


