Re: [MMUSIC] Generalizing the aggressive nomination bugfix

Dan Wing <dwing@cisco.com> Wed, 12 March 2014 16:33 UTC

Return-Path: <dwing@cisco.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCCFE1A0492 for <mmusic@ietfa.amsl.com>; Wed, 12 Mar 2014 09:33:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.047
X-Spam-Level:
X-Spam-Status: No, score=-15.047 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 q1WcQs-u57iU for <mmusic@ietfa.amsl.com>; Wed, 12 Mar 2014 09:33:16 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by ietfa.amsl.com (Postfix) with ESMTP id 8A0421A0484 for <mmusic@ietf.org>; Wed, 12 Mar 2014 09:33:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11110; q=dns/txt; s=iport; t=1394641991; x=1395851591; h=mime-version:subject:from:in-reply-to:date:cc:message-id: references:to; bh=kLDy3Osskg5Ind/xByHsAjE+tIxRqtyx/tAP6h/odyM=; b=mZ3XVLlx8NSJQusYH5L0/Plqe2R7RMni8RlMGqsKsou/4Iwmzh/1ItYT 7fth9CKPo/gTE0TPUXba6f8pytBdECGKtUXGLTwUJnYS0JaXJdSen7N9K Z1E0wlFlvw3PlDrxzuBsagPgLW3upv+NdnqPhxoNXHcLqGZ2WXBdDRKlI c=;
X-IronPort-AV: E=Sophos; i="4.97,639,1389744000"; d="scan'208,217"; a="309910699"
Received: from mtv-core-2.cisco.com ([171.68.58.7]) by rcdn-iport-4.cisco.com with ESMTP; 12 Mar 2014 16:33:10 +0000
Received: from [10.21.79.5] ([10.21.79.5]) by mtv-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id s2CGX8aa021288; Wed, 12 Mar 2014 16:33:09 GMT
Content-Type: multipart/alternative; boundary="Apple-Mail=_376BF166-8ADC-4DE4-8297-704933E9C71F"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Dan Wing <dwing@cisco.com>
In-Reply-To: <68EE741D-B0CF-4029-AC67-AC7782213138@cisco.com>
Date: Wed, 12 Mar 2014 09:33:08 -0700
Message-Id: <0D158D24-AF4B-4ECC-816F-FA8EA28B0744@cisco.com>
References: <CAOJ7v-3oi-Qtsk6qiPVsAUfzEQsvgt4h6RhgfKDNUv_-47wpOA@mail.gmail.com> <BFFAE2A7-089D-452F-867E-BEF622BEFB77@cisco.com> <68EE741D-B0CF-4029-AC67-AC7782213138@cisco.com>
To: "Pal Martinsen (palmarti)" <palmarti@cisco.com>
X-Mailer: Apple Mail (2.1510)
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/tVmudf93ZGrBrxs1hO3MkVhJZs4
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] Generalizing the aggressive nomination bugfix
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Mar 2014 16:33:22 -0000

On Mar 12, 2014, at 9:25 AM, "Pal Martinsen (palmarti)" <palmarti@cisco.com> wrote:

> 
> On 12 Mar 2014, at 00:49, Dan Wing <dwing@cisco.com> wrote:
> 
>> 
>> On Mar 10, 2014, at 6:21 AM, Justin Uberti <juberti@google.com> wrote:
>> 
>>> In the WG session on Monday, Ari mentioned that the aggressive nomination bug of controller and controlled not agreeing on the candidate pair to use could be rectified by having the controlled side switch its preferred candidate pair to be the one that it received secure media on (or if not using controlled media, when the controlling side’s ICE checks finally got through).
>>> 
>>> I think there is an opportunity here to improve the overall flexibility of ICE. Currently, Regular Nomination allows the controller to have a fair amount of discretion in choosing which candidate pair it wants to pick; it could use metrics such as RTT, or perhaps one of the values mentioned in DISCUSS to make its selection, instead of using the static PRIORITY value. Aggressive Nomination, while faster in initially establishing media, does not afford this same discretion; according to 5245, S 8.1.1.2, ICE uses the highest PRIORITY candidate pair. So it would be great if there was a way to allow the controller have the same discretion for choosing the selected candidate pair, while also doing Aggressive Nomination.
>>> 
>>> I think this can easily be done using Ari’s solution in a general way. In short, any time secure media packets are received by the controlled side, it should use that candidate pair to send its own media. (Secure media is needed to prevent an attacker from tricking the controlled side into sending media to an arbitrary address.) If secure media is not used, the controller could include a new attribute, something like a new PREFERRED-CANDIDATE attribute (or perhaps an updated PRIORITY attribute, set to the max ICE priority), to tell the controlled side which candidate pair should be used.
>>> 
>>> 
> 
> If the PREFERRED-CANDIDATE attribute also had a priority associated with it, it would be possible to mach up candidate pairs that would suite both agents. Something like a simplified version of the pair priority formula. Some clever rules to make sure we always will end up with a pair with connectivity might also be needed. 

Yes, I like that.  Probably best to signal in ICE rather than in SDP, for lots of reasons, too.  That idea is similar (but not identical) to MPTCP's MP_PRIO to indicate backup/standby path, http://tools.ietf.org/html/rfc6824#section-2.5.


> 
>> That all sounds good.
>> 
>>> This would allow the controller to do periodic RTT checks, perhaps using the ICE consent mechanism, and dynamically change the media path as needed.
>>> 
>> 
>> I think we need additional signaling to switch interfaces, because each endpoint needs to participate in the decision (e.g., draft-wing-mmusic-ice-mobility).  For example, the controlling endpoint might have unmetered Internet access, whereas the other endpoint has fast metered Internet (e.g., LTE) and slower unmetered Internet (e.g., DSL) -- but if the controlling endpoint effectively ignores the ICE priorities in favor of round trip time calculations, the controlled endpoint will use LTE.  ICE priorities allows both ends to indicate their preferences.  We might need something more than ICE priorities, too, or a way to strongly say an interface is not preferred (because that interface is metered).
> 
> If we end up in a situation where connectivity can only happen if either A or B is on a metered interface, how should we decide who have to pay? (Based on link cost or salary?) :-)
> 
> It is an interesting problem to solve. 

I don't think it is solvable with protocols, except to allow both ends to have enough information to make a smarter policy decision.

-d



> 
> .-.
> Pål-Erik
> 
>> 
>> -d
>> 
>> _______________________________________________
>> mmusic mailing list
>> mmusic@ietf.org
>> https://www.ietf.org/mailman/listinfo/mmusic
>