Re: [bfcpbis] TBD issue #3: MAY discard malformed message, not sending Error

"Charles Eckel (eckelcu)" <eckelcu@cisco.com> Thu, 15 November 2012 20:10 UTC

Return-Path: <eckelcu@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 64A6221F8694 for <bfcpbis@ietfa.amsl.com>; Thu, 15 Nov 2012 12:10:03 -0800 (PST)
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=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g0AY-8yvALwW for <bfcpbis@ietfa.amsl.com>; Thu, 15 Nov 2012 12:10:02 -0800 (PST)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by ietfa.amsl.com (Postfix) with ESMTP id CC27A21F8477 for <bfcpbis@ietf.org>; Thu, 15 Nov 2012 12:10:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3590; q=dns/txt; s=iport; t=1353010202; x=1354219802; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=P7XuatdaMtKLWLo8Br8FD5iBRlukemoG+D6B7iLafb8=; b=ISACQrxn0QxfvzT1rPcDlDlhlwc+yfi907XPBAZPXrWZY8sBTbDIrt/g r8gaal38t4vT5cCArvfArzvO5Y0YWl72t2SlXlsYIVIeXqtETrQSFTp+I 1b5lVsx+RUviK3OHWzIZ20U4NdqzDu+kqnnhQU5/flR/HYkReLdt4O4gI c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAMRLpVCtJV2a/2dsb2JhbABEwkGBCIIeAQEBBAEBAQ8BJzQLDAQCAQgRBAEBAQoUCQcnCxQJCAIEAQ0FCBqHagELnQWgAwSMMYVLYQOkVIFrgm+BWwY4
X-IronPort-AV: E=McAfee;i="5400,1158,6897"; a="139918168"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-9.cisco.com with ESMTP; 15 Nov 2012 20:10:01 +0000
Received: from xhc-rcd-x13.cisco.com (xhc-rcd-x13.cisco.com [173.37.183.87]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id qAFKA1gN020189 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 15 Nov 2012 20:10:01 GMT
Received: from xmb-aln-x08.cisco.com ([169.254.3.25]) by xhc-rcd-x13.cisco.com ([173.37.183.87]) with mapi id 14.02.0318.001; Thu, 15 Nov 2012 14:10:01 -0600
From: "Charles Eckel (eckelcu)" <eckelcu@cisco.com>
To: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>, "Tom Kristensen (tomkrist)" <tomkrist@cisco.com>
Thread-Topic: [bfcpbis] TBD issue #3: MAY discard malformed message, not sending Error
Thread-Index: AQHNwXltFHq2uSWN2065R5OmloCSOpfn2TQAgAN5NEA=
Date: Thu, 15 Nov 2012 20:10:00 +0000
Message-ID: <92B7E61ADAC1BB4F941F943788C0882812C776@xmb-aln-x08.cisco.com>
References: <50A20598.6040603@cisco.com> <50A20996.8010503@ericsson.com>
In-Reply-To: <50A20996.8010503@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [171.68.16.69]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19368.001
x-tm-as-result: No--60.574900-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: BFCPbis WG <bfcpbis@ietf.org>
Subject: Re: [bfcpbis] TBD issue #3: MAY discard malformed message, not sending Error
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, 15 Nov 2012 20:10:09 -0000

I agree that we need to do something here. The text reads:

   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 as the client will retransmit the
   message when the retransmit timer T1 specified in Section 8.3.1
   fires.

If the message is determined to be a response, then in general there will not be any retransmission, correct? I think the real question is whether or not the receiver of such a response should send its original request again in hopes of it resulting in a response that can be parsed. This seems like a bad idea as it is likely to result in receiving the same response again. This could go on indefinitely.
My preference is to remove the sentence entirely. We could and perhaps replace it with something warning against retransmitting the original request, but I don't think that is necessary and it might merely confuse matters more.

Cheers,
Charles

> -----Original Message-----
> From: bfcpbis-bounces@ietf.org [mailto:bfcpbis-bounces@ietf.org] On
> Behalf Of Gonzalo Camarillo
> Sent: Tuesday, November 13, 2012 12:49 AM
> To: Tom Kristensen (tomkrist)
> Cc: BFCPbis WG
> Subject: Re: [bfcpbis] TBD issue #3: MAY discard malformed message, not
> sending Error
> 
> Hi,
> 
> the point here is that a retransmission is, by definition, identical to
> the original message. So, if you receive a message and do nothing, when
> you receive the retransmission you will behave in an identical manner
> (i.e., you will do nothing), since the retransmission will be identical
> to the original message... and detecting an error and letting the client
> retransmit a few messages instead of reporting the error does not seem
> like a good strategy.
> 
> Cheers,
> 
> Gonzalo
> 
> On 13/11/2012 10:32 AM, Tom Kristensen wrote:
> > Minor issue, just need a decision!
> >
> > Gonzalo:
> >> The following paragraph (the second sentence in particular) needs to
> >> be clarified. The paragraph starts talking about a floor control
> >> server receiving a message and then talks about a client discarding
> >> the message. Also, why would an entity discard a message only to
> >> receive a retransmission of the *same* message later? It is not clear
> >> what the paragraph means.
> >>
> >> "If a Floor Control Server receives data that cannot be parsed, the
> >> receiving server SHOULD send an Error message with parameter value 10
> >> (Unable to parse message) indicating receipt of a malformed message.
> >> 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 as the client will retransmit the
> >> message when the retransmit timer T1 specified in Section 8.3.1
> >> fires."
> >
> > Tom:
> > | My understanding is that one might skip sending the Error message
> > | and just wait for the retransmission, that will come. However, this
> > | sort of optimization might be removed. Not needed and even
> mentioned
> > | just as a MAY.
> >
> > So again, should it stay or should it go? No problem removing the second
> > sentence, no real functional change. Or we could clarify the sentence by
> > adding that in this case no Error message is sent.
> >
> > -- Tom
> >
> 
> _______________________________________________
> bfcpbis mailing list
> bfcpbis@ietf.org
> https://www.ietf.org/mailman/listinfo/bfcpbis