Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245bis

Emil Ivov <emcho@jitsi.org> Wed, 23 July 2014 22:28 UTC

Return-Path: <emcho@sip-communicator.org>
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 D12F51B298E for <mmusic@ietfa.amsl.com>; Wed, 23 Jul 2014 15:28:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level:
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 KutIFx48zX7l for <mmusic@ietfa.amsl.com>; Wed, 23 Jul 2014 15:28:08 -0700 (PDT)
Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 007641A0322 for <mmusic@ietf.org>; Wed, 23 Jul 2014 15:28:07 -0700 (PDT)
Received: by mail-we0-f175.google.com with SMTP id t60so1895088wes.20 for <mmusic@ietf.org>; Wed, 23 Jul 2014 15:28:06 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=9E5UX6gXkxW8aEDVSQLSxhWYZU8GtPyGAwacWVGax/8=; b=hv1Vya1TVP6Cg19+V+Jj7XshfZ5e0+9kIHRQsY3f7yTryqqOMUAil/vBY4nu6AQBQp 78ppzJZV6xnC/C2nAKHDVqFAsfVjBlhC9wcC1aI+QIIusir9TyuG7+/DCZpJDv+iqBKA 04qWQicjiExZx2W3ahlA/LsZ917bFWu8hZ5Jn7gkkBRnSSQPNqidEcIPgVs3mV5oCkgA FYLm+oJR99gJp5Ij8VUdGqn42Pnh0ooTpo+LtEFm9fIXY1C76o3V5vhFNQ4DvZPNp2IZ uzb6l91qeyFhi3/dSbu59x9Kr0w4NrfJ8vS0Ze6r65sF+0QC6szFNOWihLot36LooGqG lRjw==
X-Gm-Message-State: ALoCoQmDYPeFs1Id4D0rqLK1E/d6jh6Y43HuudHhr+/NU57WP+mvbllNZR3G6CNHJJSDs+e+cdG/
X-Received: by 10.194.158.226 with SMTP id wx2mr6005456wjb.107.1406154486557; Wed, 23 Jul 2014 15:28:06 -0700 (PDT)
Received: from dhcp-97e2.meeting.ietf.org (dhcp-97e2.meeting.ietf.org. [31.133.151.226]) by mx.google.com with ESMTPSA id fw4sm14353763wib.19.2014.07.23.15.28.03 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jul 2014 15:28:05 -0700 (PDT)
Message-ID: <53D036F1.8070504@jitsi.org>
Date: Wed, 23 Jul 2014 18:28:01 -0400
From: Emil Ivov <emcho@jitsi.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Ari Keränen <ari.keranen@ericsson.com>
References: <53CD7C04.8070106@jitsi.org> <53CE7D0A.4030406@ericsson.com> <53CE7DDD.5030406@jitsi.org> <53CEE1A7.7070202@ericsson.com> <CAPvvaaKohXq8cZjUaQR6VvhHZ+Lkzzk2sQUn+iwSp_H1W6qaSA@mail.gmail.com> <53CFE322.5000508@ericsson.com> <53D03077.5080103@jitsi.org> <53D03578.5020301@ericsson.com>
In-Reply-To: <53D03578.5020301@ericsson.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/TEqFL0P-GiI5dfXudOTkDE7Y7xk
Cc: mmusic <mmusic@ietf.org>
Subject: Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245bis
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, 23 Jul 2014 22:28:10 -0000


On 23.07.14, 18:21, Ari Keränen wrote:
> On 7/23/14 6:00 PM, Emil Ivov wrote:
>>
>>
>> On 23.07.14, 12:30, Ari Keränen wrote:
>>> On 7/22/14 7:12 PM, Emil Ivov wrote:
>>>>
>>>> On 22 Jul 2014 6:11 PM, "Ari Keränen" <ari.keranen@ericsson.com
>>>> <mailto:ari.keranen@ericsson.com>> wrote:
>>>>  >
>>>>  > On 7/22/14 11:06 AM, Emil Ivov wrote:
>>>>  >>
>>>>  >> On 22.07.14, 11:02, Ari Keränen wrote:
>>>>  >>>
>>>>  >>> Hi,
>>>>  >>>
>>>>  >>> On 7/21/14 4:45 PM, Emil Ivov wrote:
>>>>  >>>>
>>>>  >>>> In London we mentioned the option of adding a new attribute that,
>>>> during
>>>>  >>>> aggressive nomination, the controlling agent can use to notify
>>>> its
>>>> peer
>>>>  >>>> that ICE processing is over and no more changes are going to be
>>>>  >>>> attempted. This way controlled agents will no they can now
>>>> release
>>>>  >>>> resources.
>>>>  >>>>
>>>>  >>>> This could either be a new attribute (e.g.,
>>>> USE-CANDIDATE-CONFIRMED) or,
>>>>  >>>> as Justin suggested in an off-list discussion, we could have the
>>>>  >>>> controlling agent send a second USE-CANDIDATE once aggressive
>>>> nomination
>>>>  >>>> converges.
>>>>  >>>
>>>>  >>>
>>>>  >>> Did you consider using the updated offer to indicate that you're
>>>> really
>>>>  >>> done? This would require that you always send it (i.e., a slight
>>>>  >>> modification to 5245), but that's something that has been already
>>>>  >>> proposed to be updated for other purposes.
>>>>  >>
>>>>  >>
>>>>  >> The point is to have all that information without involving
>>>> signalling,
>>>>  >> as is the case with regular nomination.
>>>>  >>
>>>>  >> Let me ask the question the other way. Is there any reason not
>>>> to do
>>>> this?
>>>>  >
>>>>  >
>>>>  > Just the usual: are the benefits higher than the added complexity.
>>>> Here, depending how it's done, the added complexity should be fairly
>>>> low
>>>> though.
>>>>
>>>> The complexity of having to handle that over signalling and the need to
>>>> implement it on every sig protocol that ever dares to use ICE is
>>>> arguably much higher than that of an extra attribute
>>>
>>> Actually I meant the complexity of implementing something like this, and
>>> why to do/not to do this (in any way).
>>
>> Yes, so did I. We are talking about the "complexity" of adding one ICE
>> attribute as opposed to intertwining the states of ICE and signalling
>> and making them dependent on each other.
>>
>>>>  > For the benefits, currently with SIP you are allowed to release the
>>>> not selected candidate resources after 3 seconds from concluding ICE
>>>> (http://tools.ietf.org/html/rfc5245#section-8.3.1).
>>>>
>>>> And that is the whole point because currently with aggressive
>>>> nomination
>>>> you simply don't know exactly when ICE has concluded.
>>>
>>> So if you assume aggressive ICE has concluded after you've got your
>>> first USE-CANDIDATE checks done (as the text currently says), and you
>>> stop doing keep-alives on all except the selected candidate pair and let
>>> your relayed and reflexive candidates die away. You still have some time
>>> to switch between the candidates since the candidates are still alive
>>> for at least some (tens of?) seconds. Isn't that OK?
>>
>> If I assume ICE has concluded after my *first* USE-CANDIDATE and let
>> everything die away then, with aggressive nomination, how am I ever
>> going to get a second?
>
> It takes a while before your server reflexive and relayed candidates die
> out so you have some time to get more checks through. Of course you
> shouldn't close the local sockets immediately. However, if you want to
> do that considerably (> tens of second) later, and perhaps multiple
> times, it may get more complicated (something like mobility with ICE).

These are exactly the kinds of hacks that implementations try to do 
today. Magic timers and proprietary logic. This is exactly what I was 
hoping we could remove by replicating the same feature in aggressive 
that we already have for regular nomination. As Justin put it:  giving a 
way to the controlling agent to communicate it's selection to the 
controlled.

It simply doesn't make sense not to have it and it would simplify things 
a lot so the argument "it would add complexity" doesn't really hold.

Emil

-- 
https://jitsi.org