Re: SCTP API document..

Michael Tüxen <Michael.Tuexen@lurchi.franken.de> Tue, 08 March 2011 10:46 UTC

Return-Path: <Michael.Tuexen@lurchi.franken.de>
X-Original-To: tsvwg@core3.amsl.com
Delivered-To: tsvwg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 00ACD3A6834 for <tsvwg@core3.amsl.com>; Tue, 8 Mar 2011 02:46:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.266
X-Spam-Level:
X-Spam-Status: No, score=-2.266 tagged_above=-999 required=5 tests=[AWL=0.033, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wPj3nt10aeKh for <tsvwg@core3.amsl.com>; Tue, 8 Mar 2011 02:46:42 -0800 (PST)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by core3.amsl.com (Postfix) with ESMTP id 407153A6835 for <tsvwg@ietf.org>; Tue, 8 Mar 2011 02:46:41 -0800 (PST)
Received: from [192.168.1.198] (p508FCEF7.dip.t-dialin.net [80.143.206.247]) (Authenticated sender: micmac) by mail-n.franken.de (Postfix) with ESMTP id 358761C0C0BD6; Tue, 8 Mar 2011 11:47:55 +0100 (CET)
Subject: Re: SCTP API document..
Mime-Version: 1.0 (Apple Message framework v1203)
Content-Type: text/plain; charset="iso-8859-1"
From: Michael Tüxen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <B4D7C411-B607-4F16-9B71-DC3426C6C504@lakerest.net>
Date: Tue, 08 Mar 2011 11:47:52 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <AD5FF8A6-609A-4AE3-B109-1741A712869B@lurchi.franken.de>
References: <201103072140.p27Le5QE051998@chez.mckusick.com> <8037A893-D2A9-4C5E-96A4-E57AD7D23D49@lakerest.net> <00B3E637-8FB5-4CB9-B046-E61C48028693@lurchi.franken.de> <B4D7C411-B607-4F16-9B71-DC3426C6C504@lakerest.net>
To: Randall Stewart <rrs@lakerest.net>
X-Mailer: Apple Mail (2.1203)
Cc: tsvwg IETF list <tsvwg@ietf.org>
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tsvwg>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Mar 2011 10:46:43 -0000

On Mar 8, 2011, at 11:19 AM, Randall Stewart wrote:
> 
> On Mar 8, 2011, at 4:08 AM, Michael Tüxen wrote:
> 
>> On Mar 7, 2011, at 11:34 PM, Randall Stewart wrote:
>> 
>>> All:
>>> 
>>> A bit late but Kirk did finally reply..
>>> 
>>> I answered his query about the deprecated features... I am not sure
>>> if we can do anything about the way bindx works...
>>> 
>>> The non-mention of the replacement for the deprecated interface is probably
>>> an easy fix.
>> I'll add such a sentence and we can include this in the next
>> rev (assuming there is one based on the comments we get from the IETF LC).
>> 
>> Regarding the sctp_bindx() comment: We state this in the last paragraph
>> of the sctp_bindx() section, were we state that it might be a good idea
>> to use a single address only.
> 
> Yeah, I know.. and I think thats Kirk's comment... basically it
> would be nice if you did NOT have to do that...
> 
> But I do not see an easy alternative ;-0
I think for sctp_bindx() we have to keep it. But MPTCP is
another protocol providing support for multihoming.

For binding multiple addresses they refer to sctp_bindx().
But I think sctp_bindx() should be SCTP specific, and
we possibly should define a bindx(), or whatever you
would name it, call which support SCTP and MPTCP, which
only accepts one address. This is pretty much what Kacheong
suggested years ago... I still have to send comments regarding
the MPTCP API ID...

Best regards
Michael
> 
> R
> 
> 
>> 
>> Best regards
>> Michael
>>> 
>>> R
>>> 
>>> Begin forwarded message:
>>> 
>>>> From: Kirk McKusick
>>>> Date: March 7, 2011 4:40:05 PM EST
>>>> To: Randall Stewart <rrs@lakerest.net>
>>>> Subject: Re: SCTP API document.. 
>>>> 
>>>>> From: Randall Stewart <rrs@lakerest.net>
>>>>> Subject: Re: SCTP API document.. 
>>>>> Date: Mon, 28 Feb 2011 06:00:06 -0500
>>>>> To: Kirk McKusick <mckusick@mckusick.com>
>>>>> 
>>>>> Kirk:
>>>>> 
>>>>> Your input would be appreciated... You might want to just
>>>>> scan the document.. its pretty large ;-0
>>>>> 
>>>>> http://www.ietf.org/id/draft-ietf-tsvwg-sctpsocket-26.txt
>>>>> 
>>>>> The above link is the last version.. There were some minor english
>>>>> comments just discussed on the list (Michael T prompted a few people
>>>>> as well and one of them did a detailed review)...
>>>>> 
>>>>> I understand your time crunch... it would be nice if you
>>>>> make a couple of comments though ;-)
>>>>> 
>>>>> R
>>>> 
>>>> Finally got around to looking at this document (well version 27
>>>> actually :) It was the first time that I had dived down into the
>>>> details of SCTP. You have done a good job of integrating it into
>>>> the historic sockets interface. As this was my first time looking
>>>> at SCTP I cannot be much help in finding bugs. So my comments are
>>>> limited to things that I found confusing.
>>>> 
>>>> The 6.2.1. SCTP_EVENTS option is DEPRECATED. Most of the DEPRECATED
>>>> interfaces start with a note pointing to what should be used in its
>>>> place. This interface lacks that pointer (though the replacement
>>>> does follow immediately).
>>>> 
>>>> Also, I am curious why a new standard documents already deprecated
>>>> interfaces? Is it that existing implementations have them?
>>>> 
>>>> In 9.1. sctp_bindx() if one of several addresses fails the whole
>>>> thing fails with no indication of which address caused the problem.
>>>> This is reminicent of IBM JCL days when a single mistype in a
>>>> 50-card deck caused the whole thing to be rejected with no
>>>> indication of what was wrong. The only solution was to go through
>>>> card-by-card to find the problem. That is the suggested solution 
>>>> here. One would hope that in fifty years we could do better. In
>>>> reading this interface my take was never to specify more than one
>>>> address per call.
>>>> 
>>>> 	~Kirk
>>>> 
>>> 
>>> ------------------------------
>>> Randall Stewart
>>> 803-317-4952 (cell)
>>> 
>>> 
>> 
> 
> ------------------------------
> Randall Stewart
> 803-317-4952 (cell)
> 
>