[bfcpbis] Section 6.2 issue - Re: Comments on draft-ietf-bfcpbis-rfc4582bis-04

Tom Kristensen <tomkrist@cisco.com> Thu, 02 August 2012 17:26 UTC

Return-Path: <tomkrist@cisco.com>
X-Original-To: bfcpbis@ietfa.amsl.com
Delivered-To: bfcpbis@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0128D11E8190 for <bfcpbis@ietfa.amsl.com>; Thu, 2 Aug 2012 10:26:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.471
X-Spam-Level:
X-Spam-Status: No, score=-10.471 tagged_above=-999 required=5 tests=[AWL=0.128, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hkh5wn96lLwS for <bfcpbis@ietfa.amsl.com>; Thu, 2 Aug 2012 10:26:52 -0700 (PDT)
Received: from ams-iport-2.cisco.com (ams-iport-2.cisco.com [144.254.224.141]) by ietfa.amsl.com (Postfix) with ESMTP id 852BC11E817C for <bfcpbis@ietf.org>; Thu, 2 Aug 2012 10:26:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=tomkrist@cisco.com; l=2967; q=dns/txt; s=iport; t=1343928411; x=1345138011; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=GVdm9l3FYBChe0j16/fgil7n5dOiN/wf+OdyNMQvdIA=; b=Aj/qCPzkjzfMvSnRRZtEs62ZQ42JHZ8yPCKLVN/6jN85MkdeYea/Hhcm 5t/s6ZhEZj+zU5vjJNYXH7gJSi5zahIFN7u+BhtVx9uPmjFQx+mv2GfAS H+YmwxR/Gf73Y7jngbkteUJZEZuOqY5xP/iksGz27WrqsMXBzDAHg2jS/ w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAFq3GlCQ/khN/2dsb2JhbABFuRmBB4IgAQEBAwESASVAAQUHBCABAgkWCAcJAwIBAgE0EQYNAQUCAQEeh2UGnHKgVotKhwQDlUeFW4hMgWaCYQ
X-IronPort-AV: E=Sophos;i="4.77,702,1336348800"; d="scan'208";a="75746455"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-2.cisco.com with ESMTP; 02 Aug 2012 17:26:50 +0000
Received: from [10.55.95.85] (dhcp-10-55-95-85.cisco.com [10.55.95.85]) by ams-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q72HQnE1024569; Thu, 2 Aug 2012 17:26:49 GMT
Message-ID: <501AB859.7030009@cisco.com>
Date: Thu, 02 Aug 2012 19:26:49 +0200
From: Tom Kristensen <tomkrist@cisco.com>
Organization: Cisco
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.10
MIME-Version: 1.0
To: "Horvath, Ernst" <ernst.horvath@siemens-enterprise.com>
References: <50040E56.5000500@db.org> <C2BCA7974025BD459349BED0D06E48BB036468@MCHP03MSX.global-ad.net>
In-Reply-To: <C2BCA7974025BD459349BED0D06E48BB036468@MCHP03MSX.global-ad.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "bfcpbis@ietf.org" <bfcpbis@ietf.org>
Subject: [bfcpbis] Section 6.2 issue - Re: Comments on draft-ietf-bfcpbis-rfc4582bis-04
X-BeenThere: bfcpbis@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: BFCPBIS working group discussion list <bfcpbis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bfcpbis>, <mailto:bfcpbis-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/bfcpbis>
List-Post: <mailto:bfcpbis@ietf.org>
List-Help: <mailto:bfcpbis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bfcpbis>, <mailto:bfcpbis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Aug 2012 17:26:53 -0000

On 07/25/2012 12:16 PM, Horvath, Ernst wrote:
> Comments inline.
>
>> -----Original Message-----
>> From: bfcpbis-bounces@ietf.org
>> [mailto:bfcpbis-bounces@ietf.org] On Behalf Of Alfred E. Heggestad
>> Sent: Montag, 16. Juli 2012 14:52
[...]

>>> 6.2. Unreliable Transport
>>>
>>>
>>>     BFCP entities may elect to exchange BFCP messages using UDP
>>>     datagrams.  UDP is an unreliable transport where neither
>> delivery nor
>>>     ordering is assured.  Each BFCP UDP datagram MUST
>> contain exactly one
>>>     BFCP message.  In the event the size of a BFCP message
>> exceeds the
>>>     MTU size, the BFCP message will be fragmented at the IP layer.
>>
>> from the wording it is not clear that message fragmentation is handled
>> by BFCP itself.. it can be mis-interpreted to think that the IP layer
>> is responsible for that. perhaps we should reword this part a bit,
>> to make it explicitly clear that BFCP messages above MTU size MUST be
>> fragmented by the BFCP-layer itself.
>
> I agree. In addition a BFCP message can in theory also exceed the maximum
> length of a UDP datagram because BFCP message length is expressed in 4-octet
> word units whereas the datagram length is a simple octet count. Should we say
> "exactly one BFCP message or message segment per UDP datagram" in order to
> allow the theoretical case of a BFCP message being larger than 65,535 octets?

Yes, the wording needs to be clarified and brushed up here - according 
to the feedback here.  Stating explicitly that fragmentation is handled 
by BFCP itself is good to add.

Stating "one message/segment per datagram" explicitly will also do it 
clearer and avoid any confusion and IP layer fragmentation.

>>>     client MAY discard the message and await retransmission.  BFCP
>>>     entities receiving an Error message with value 10 SHOULD
>> acknowledge
>>>     the error and act accordingly.
>>
>> I believed that it is not possible to acknowledge an Error
>> message anymore,
>> since the ErrorAck primitive was deleted from the spec... (?)

Nice spotted, since ErrorAck is gone, so no acknowledge is needed (or 
even possible) here.

> That's right. I also think the sentence before that:
>     If the message can be parsed to the extent that it is able to discern
>     that it was a response to an outstanding request transaction, the
>     client MAY discard the message and await retransmission.
> is a problem because the server will not resend the response. Or does it mean
> that the client retransmits the request? If so, it should be stated more clearly.

My interpretation of this is that the client could discard the message 
before it's delivered to the "BFCP state machinery", i.e. the client 
will retransmit due to a missing response. However, do we need this text 
and proposed behaviour at all? Messages that cannot by fully parsed and 
interpreted is not too useful anyway...

-- Tom