Re: SCTP API document..

Randall Stewart <rrs@lakerest.net> Tue, 08 March 2011 10:18 UTC

Return-Path: <rrs@lakerest.net>
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 E5AAC3A67DA for <tsvwg@core3.amsl.com>; Tue, 8 Mar 2011 02:18:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[AWL=-0.150, 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 R5UVzgo2yBwV for <tsvwg@core3.amsl.com>; Tue, 8 Mar 2011 02:18:49 -0800 (PST)
Received: from lakerest.net (unknown [IPv6:2001:240:585:2:213:d4ff:fef3:2d8d]) by core3.amsl.com (Postfix) with ESMTP id 785B93A681B for <tsvwg@ietf.org>; Tue, 8 Mar 2011 02:18:48 -0800 (PST)
Received: from [10.1.1.53] ([10.1.1.53]) (authenticated bits=0) by lakerest.net (8.14.4/8.14.3) with ESMTP id p28AJwZB058918 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 8 Mar 2011 05:19:59 -0500 (EST) (envelope-from rrs@lakerest.net)
Subject: Re: SCTP API document..
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset="iso-8859-1"
From: Randall Stewart <rrs@lakerest.net>
In-Reply-To: <00B3E637-8FB5-4CB9-B046-E61C48028693@lurchi.franken.de>
Date: Tue, 08 Mar 2011 05:19:58 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <B4D7C411-B607-4F16-9B71-DC3426C6C504@lakerest.net>
References: <201103072140.p27Le5QE051998@chez.mckusick.com> <8037A893-D2A9-4C5E-96A4-E57AD7D23D49@lakerest.net> <00B3E637-8FB5-4CB9-B046-E61C48028693@lurchi.franken.de>
To: Michael Tüxen <Michael.Tuexen@lurchi.franken.de>
X-Mailer: Apple Mail (2.1082)
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:18:50 -0000

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

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)