Re: [bfcpbis] RFC 4582bis: More comments on error handling

Tom Kristensen <tomkrist@cisco.com> Tue, 26 June 2012 12:07 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 B396921F85F1 for <bfcpbis@ietfa.amsl.com>; Tue, 26 Jun 2012 05:07:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[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 LwKM+tFRbQ+q for <bfcpbis@ietfa.amsl.com>; Tue, 26 Jun 2012 05:07:41 -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 D450C21F8599 for <bfcpbis@ietf.org>; Tue, 26 Jun 2012 05:07:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=tomkrist@cisco.com; l=3040; q=dns/txt; s=iport; t=1340712461; x=1341922061; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=CY7UUIgo9nr0TkI/gHKTSJba1oRUOtef1vZuWs9ppyc=; b=bKYwJqefBI0bphs18EjnCZxepL0YxJfw/WXXH2fnSG9tFhsy/H5c1Jri WpSLWUI2UnI/zI73XmbzrlbMM1vR7rBV8AHrq7nEO8Jhu0Rad/aejvy/1 x9+6icHIJelkAgpzA1Yl39ZxeTMIBEd8g1I6ucfn60BB1G5No3FSl7gFx U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AmAFAJal6U+Q/khN/2dsb2JhbABEsliDU4EHghgBAQEDARIBJUABBQsLGAkWDwkDAgECAUUGDQEHAQEeh2QFmFegRIszhgQDlTGFVohHgWaCYYFUBg
X-IronPort-AV: E=Sophos;i="4.77,477,1336348800"; d="scan'208";a="74854415"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-2.cisco.com with ESMTP; 26 Jun 2012 12:07:37 +0000
Received: from [10.54.86.31] (dhcp-10-54-86-31.cisco.com [10.54.86.31]) by ams-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q5QC7aRN013652; Tue, 26 Jun 2012 12:07:37 GMT
Message-ID: <4FE9A608.9040000@cisco.com>
Date: Tue, 26 Jun 2012 14:07:36 +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: <C2BCA7974025BD459349BED0D06E48BB0183C6@MCHP03MSX.global-ad.net>
In-Reply-To: <C2BCA7974025BD459349BED0D06E48BB0183C6@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: Re: [bfcpbis] RFC 4582bis: More comments on error handling
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: Tue, 26 Jun 2012 12:07:41 -0000

On 06/25/2012 03:19 PM, Horvath, Ernst wrote:
> The following items are some comments on error procedures in draft-ietf-bfcpbis-rfc4582bis-03. I noticed that some of them concern text inherited from RFC4582, which should nevertheless be fixed in 4582bis.
>
> 1) Ambiguous text in 5.1:
>
> In the sentence on top of page 17: "If a BFCP entity receives a
>     message with an unsupported version field value, the receiving
>     participant MAY send an Error message with parameter value 12 to
>     indicate this",
> Shouldn't "BFCP entity" better be "Floor Control Server" and "paricipant" be "server", given that Error is a message for the server to client direction according to table 1?
>    
I agree, that is a more correct description here.

> Similarly on page 18:  "If a BFCP entity
>     receives a message with an incorrect payload length field value, the
>     receiving participant MAY send an Error message with parameter value
>     13 to indicate this".
>    
True also here.

> 2) In 5.2, 1st paragraph below table 2, the sentence
> "If an unrecognized attribute with the 'M' bit set is received, the message is rejected"
> could be expanded to
> "If a Floor Control Server receives an unrecognized attribute with the 'M' bit set the server MAY (or SHOULD/MUST?) send an Error message with parameter value 4 to indicate this",
> to be consistent with text on other error cases.
>    
Yes, this seems to be a plausible clarification on how to react in that 
case.

> 3) In 5.2.6, regarding the sentence below Figure 12:
>    "Error Code: This 8-bit field contains an error code from the
>     following table.  If an error code is not recognized by the receiver,
>     then the receiver MUST assume that an error exists, and therefore
>     that the message is processed, but the nature of the error is
>     unclear.",
> I don't understand what "the message is processed" refers to - the processing of the original message by the sender of Error or the processing of the received error message. Maybe a clearer wording can be found.
>    
I read this as meaning the original message (that triggered the Error 
back) was processed and we may add text underlining this - given this is 
the interpretation by other people as well?

> 4) In 6.2, 4th paragraph, the sentence
> "If a BFCP entity receives data that cannot be parsed, the receiving participant MAY send an Error message with parameter value 10 indicating receipt of a malformed message"
> has the same problem as indicated in comment 1) above.
>    
Will fix!

> 5) In 13, last paragraph, "with Error code 2 (Authentication Failed)" is wrong. First, code 2 means "User does not Exist" (there is no error code for "Authentication Failed"), and second, I think code 4 (Unknown Mandatory Attribute) is meant here.
>    
Indeed, I agree with you. Good catch - especially since "Authentication 
Failed" doesn't even exist.


Thanks for good comments based on what must be a thorough review of the 
draft!

-- Tom