Re: [tram] Suresh Krishnan's Discuss on draft-ietf-tram-stun-path-data-03: (with DISCUSS and COMMENT)

"Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com> Thu, 21 April 2016 11:05 UTC

Return-Path: <tireddy@cisco.com>
X-Original-To: tram@ietfa.amsl.com
Delivered-To: tram@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1EAC12D8F6; Thu, 21 Apr 2016 04:05:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.517
X-Spam-Level:
X-Spam-Status: No, score=-15.517 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YWayupNBo-bx; Thu, 21 Apr 2016 04:05:12 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EE9FA12DA7D; Thu, 21 Apr 2016 04:05:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6274; q=dns/txt; s=iport; t=1461236712; x=1462446312; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=mT1yaLdJaTgBDwCujbKUh7rVWA3jfONwbdSbDsJlTVg=; b=hsTYM34tHbOG0zF0GW8vzt9DdsJHknDXppAuJjdI0Kwcrwomdb2l1b6M SjYhUy5iCyLiEp7F5vy8tPpEZXQ4NDLRrh6vLkTmfvICanjndRaIOfIt7 wpQ0A12pkmuS1Dj7yIyj/yGEtRa0bkJAt82x0K5zeGBh5IVkHWL1k8v1E g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ACAgDAshhX/40NJK1egzhTfQa5aQENgXIXC4VsAhyBEDgUAQEBAQEBAWUnhEEBAQEDAQEBASAROgsFBwQCAQgRBAEBAQICHwcCAgIlCxUICAIEAQ0FCIgaCA6uCZEXAQEBAQEBAQEBAQEBAQEBAQEBAQEBEQR8hSWES4QPEQEGLoJqglYFh3SFX4o8AYV6gnWFHYFthE2IXY8sAR4BAUKCM4E1bAGHEjZ+AQEB
X-IronPort-AV: E=Sophos;i="5.24,512,1454976000"; d="scan'208";a="94294643"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Apr 2016 11:05:10 +0000
Received: from XCH-RCD-016.cisco.com (xch-rcd-016.cisco.com [173.37.102.26]) by alln-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id u3LB5AlI012566 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 21 Apr 2016 11:05:10 GMT
Received: from xch-rcd-017.cisco.com (173.37.102.27) by XCH-RCD-016.cisco.com (173.37.102.26) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Thu, 21 Apr 2016 06:05:10 -0500
Received: from xch-rcd-017.cisco.com ([173.37.102.27]) by XCH-RCD-017.cisco.com ([173.37.102.27]) with mapi id 15.00.1104.009; Thu, 21 Apr 2016 06:05:09 -0500
From: "Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com>
To: "Pal Martinsen (palmarti)" <palmarti@cisco.com>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Thread-Topic: [tram] Suresh Krishnan's Discuss on draft-ietf-tram-stun-path-data-03: (with DISCUSS and COMMENT)
Thread-Index: AQHRm1gzFkDN9JmIfUuyYa8kEYCcCJ+UWHUA///p5DA=
Date: Thu, 21 Apr 2016 11:05:09 +0000
Message-ID: <31bcaa55d07642a899e47ad29045cc85@XCH-RCD-017.cisco.com>
References: <20160420225843.780.83631.idtracker@ietfa.amsl.com> <86EAFAE4-CB79-4E4B-8117-B7ED21B55048@cisco.com>
In-Reply-To: <86EAFAE4-CB79-4E4B-8117-B7ED21B55048@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.232.21.213]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/tram/nLLmMFfx4-H1U7A32ESkGN2TXaQ>
Cc: "draft-ietf-tram-stun-path-data@ietf.org" <draft-ietf-tram-stun-path-data@ietf.org>, Simon Perreault <sperreault@jive.com>, "tram-chairs@ietf.org" <tram-chairs@ietf.org>, The IESG <iesg@ietf.org>, tram mailing list <tram@ietf.org>
Subject: Re: [tram] Suresh Krishnan's Discuss on draft-ietf-tram-stun-path-data-03: (with DISCUSS and COMMENT)
X-BeenThere: tram@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Discussing the creation of a Turn Revised And Modernized \(TRAM\) WG, which goal is to consolidate the various initiatives to update TURN and STUN." <tram.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tram>, <mailto:tram-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tram/>
List-Post: <mailto:tram@ietf.org>
List-Help: <mailto:tram-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tram>, <mailto:tram-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2016 11:05:13 -0000

> -----Original Message-----
> From: Pal Martinsen (palmarti)
> Sent: Thursday, April 21, 2016 12:46 PM
> To: Suresh Krishnan
> Cc: The IESG; draft-ietf-tram-stun-path-data@ietf.org; Simon Perreault; tram
> mailing list; tram-chairs@ietf.org
> Subject: Re: [tram] Suresh Krishnan's Discuss on draft-ietf-tram-stun-path-
> data-03: (with DISCUSS and COMMENT)
> 
> 
> > On 21 Apr 2016, at 00:58, Suresh Krishnan
> <suresh.krishnan@ericsson.com> wrote:
> >
> > Suresh Krishnan has entered the following ballot position for
> > draft-ietf-tram-stun-path-data-03: Discuss
> >
> > When responding, please keep the subject line intact and reply to all
> > email addresses included in the To and CC lines. (Feel free to cut
> > this introductory paragraph, however.)
> >
> >
> > Please refer to
> > https://www.ietf.org/iesg/statement/discuss-criteria.html
> > for more information about IESG DISCUSS and COMMENT positions.
> >
> >
> > The document, along with other ballot positions, can be found here:
> > https://datatracker.ietf.org/doc/draft-ietf-tram-stun-path-data/
> >
> >
> >
> > ----------------------------------------------------------------------
> > DISCUSS:
> > ----------------------------------------------------------------------
> >
> > The RespTransCnt mechanism seems to be a bit fragile and error prone
> > possibly leading to wrong conclusions on the client (please see my
> > example below). If you agree with my assessment, it is probably useful
> > to evaluate whether the added complexity of this RespTransCnt
> > mechanism is worth it for the potentially unreliable results it produces.
> >
> > Consider the following two cases (copy paste with a monospace font for
> > better readability)
> >
> > Case 1: Upstream loss of first "re"transmission
> >
> > |  Upstream loss  |
> > |  Client  Server |
> > +-+-+-+-+-+-+-+-+-+
> > |  1         x    |
> > |                 |
> > |  2         2,1  |
> > |    2,1          |
> >
> > Case 2: Downstream loss of response to first "re"transmission with
> > re-ordering
> >
> > | Downstream loss |
> > |  Client  Server |
> > +-+-+-+-+-+-+-+-+-+
> > |  1         1,2  |
> > |    x            |
> > |  2         2,1  |
> > |    2,1          |
> >
> > How does the client differentiate between these two cases?
> >
> So the problem is that the first retransmit (second transmit) of the STUN
> request arrives before the initial transmit and the response to the initial
> request is lost downstream.
> 
> This means not able to distinguish between upstream reordering and
> downstream loss. I do not think adding complexity to solve this is worth it. 

STUN retransmissions are paced out using RTO value discussed in RFC5389 and doubled after each retransmission. It looks like a  corner case where the retransmitted packet reaches the server before the previous packet.

-Tiru

> If ICE is using this, it is still valuable information. And once (s)RTP starts flowing
> the reordering will quickly be discovered by out of orer packets.
> 
> The draft needs to clearly spell out this limitation.
> 
> My main worry now is the RTT calculation. Am I right if I assume that the
> packets usually are delayed when reorder, and not magically put in front of
> the queue? If that is the case the RTT measurement should still be ok
> 
> >
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> >
> > Section 5: IANA Considerations
> >
> > Shouldn't the range for this option be in the 0x8000-0xBFFF range
> > instead of the 0x8000-0xFFFF range as currently stated by the draft?
> 
> Yes. We want it to be part of the IETF Review comprehension-optional range.
> 
> >
> > Section 6:
> >
> > I think this requirement is backwards and needs to be reworded.
> >
> > "Unauthenticated STUN message MUST NOT include the PATH-
> CHARACTERISTIC
> > attribute in order to prevent on-path attacker from influencing
> > decision-making."
> >
> > Suggest rewording to.
> >
> > "The PATH-CHARACTERISTIC attribute MUST NOT be included in
> > unauthenticated STUN messages in order to prevent an on-path attacker
> > from influencing decision-making.”
> >
> 
> +1
> > I also agree with Alissa about the vagueness of the attribute name.
> >
> >
> +1
> 
> .-.
> Pål-Erik
> > _______________________________________________
> > tram mailing list
> > tram@ietf.org
> > https://www.ietf.org/mailman/listinfo/tram