Re: SCTP API document..

Michael Tüxen <Michael.Tuexen@lurchi.franken.de> Tue, 08 March 2011 09:07 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 EE5153A67AC for <tsvwg@core3.amsl.com>; Tue, 8 Mar 2011 01:07:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.262
X-Spam-Level:
X-Spam-Status: No, score=-2.262 tagged_above=-999 required=5 tests=[AWL=0.037, 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 9ogs-t+H6F2C for <tsvwg@core3.amsl.com>; Tue, 8 Mar 2011 01:07:28 -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 A48EC3A67F5 for <tsvwg@ietf.org>; Tue, 8 Mar 2011 01:07:27 -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 E9A8D1C0C0BD6; Tue, 8 Mar 2011 10:08:39 +0100 (CET)
Subject: Re: SCTP API document..
Mime-Version: 1.0 (Apple Message framework v1203)
Content-Type: text/plain; charset="us-ascii"
From: Michael Tüxen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <8037A893-D2A9-4C5E-96A4-E57AD7D23D49@lakerest.net>
Date: Tue, 08 Mar 2011 10:08:39 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <00B3E637-8FB5-4CB9-B046-E61C48028693@lurchi.franken.de>
References: <201103072140.p27Le5QE051998@chez.mckusick.com> <8037A893-D2A9-4C5E-96A4-E57AD7D23D49@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 09:07:29 -0000

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.

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)
> 
>