Re: [MMUSIC] Mirja Kühlewind's Discuss on draft-ietf-mmusic-trickle-ice-sip-14: (with DISCUSS and COMMENT)

"Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net> Fri, 18 May 2018 08:06 UTC

Return-Path: <ietf@kuehlewind.net>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B42612751F for <mmusic@ietfa.amsl.com>; Fri, 18 May 2018 01:06:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 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_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); domainkeys=pass (1024-bit key) header.from=ietf@kuehlewind.net header.d=kuehlewind.net
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 JrwlfWY7nhyM for <mmusic@ietfa.amsl.com>; Fri, 18 May 2018 01:06:46 -0700 (PDT)
Received: from kuehlewind.net (kuehlewind.net [83.169.45.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB2CA127275 for <mmusic@ietf.org>; Fri, 18 May 2018 01:06:45 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net; b=SqEannvDMYU5k9bHK3iFMSxo2V2XldOFcMj8IE+mLxPF8u7c8RJ3JsB1FDvtBVcrn9w1qTNLGpVFqQnXgDeTIpVj96KN/XnzA8mVbo3KLy2obtLR25rH5uM65rbBEmNh8obotV0Jjs6xaCVODliRH4a0DTuBNXsGceacgUbQ1ZE=; h=Received:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:X-PPP-Message-ID:X-PPP-Vhost;
Received: (qmail 15459 invoked from network); 18 May 2018 10:06:44 +0200
Received: from mue-88-130-61-208.dsl.tropolys.de (HELO ?192.168.178.24?) (88.130.61.208) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 18 May 2018 10:06:44 +0200
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
From: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
In-Reply-To: <fb95e318-50b3-fb42-f94a-c78e124af651@gmail.com>
Date: Fri, 18 May 2018 10:06:53 +0200
Cc: Flemming Andreasen <fandreas@cisco.com>, mmusic-chairs@ietf.org, draft-ietf-mmusic-trickle-ice-sip@ietf.org, The IESG <iesg@ietf.org>, mmusic@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <D9BF2D39-0B51-4697-A5F1-5801916F543D@kuehlewind.net>
References: <152276622276.14060.4683526444260158304.idtracker@ietfa.amsl.com> <d87ca5f9-3b36-d71e-667b-1396ea8a7ee9@gmail.com> <7CED4E17-86D2-407D-AF36-89C075121E9D@kuehlewind.net> <6ce0a44f-cca8-2105-73f5-75689dd8c611@gmail.com> <1A91DAFC-8022-4B11-92F0-E6B7644A7218@kuehlewind.net> <de37b547-e278-4fa5-b28e-70298a414843@gmail.com> <4A9014B4-102A-4894-BA41-1DA49A662D8B@kuehlewind.net> <fb95e318-50b3-fb42-f94a-c78e124af651@gmail.com>
To: Thomas Stach <thomass.stach@gmail.com>
X-Mailer: Apple Mail (2.3445.6.18)
X-PPP-Message-ID: <20180518080644.15450.24291@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/h51HJQ4c4CbAfrwEKs_C7H0RsBU>
Subject: Re: [MMUSIC] Mirja Kühlewind's Discuss on draft-ietf-mmusic-trickle-ice-sip-14: (with DISCUSS and COMMENT)
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 18 May 2018 08:06:52 -0000

One more proposal to give a clear recommendation:

Implementors MUST aggregate ICE candidates in
case that UDP is used as transport protocol.
It is RECOMMENDED that Trickle ICE implementations
implement a way to estimate the round-trip time (RTT)
and send only one INFO request per estimated RTT. 
As recommend by [RFC8085] Trickle ICE implementations SHOULD NOT send UDP datagrams more often than one every 3 seconds if the RTT is unknown.

Does that work for you?

Mirja



> Am 14.05.2018 um 20:39 schrieb Thomas Stach <thomass.stach@gmail.com>:
> 
> Mirja,
> 
> you are right it is not super clear.
> 
> The MUST was only intended for the aggregation of the candidates into one datagram.
> 
> Closer to this intention is probably:
> 
> Implementors MUST aggregate ICE candidates in
> case that UDP is used as transport protocol.
> It is RECOMMENDED that Trickle ICE implementations
> implement a way to estimate the round-trip time (RTT)
> and send only one INFO request per estimated RTT,
> since [RFC8085] advises that application don't send UDP datagrams
> more often than one every 3 seconds if the RTT is unknown.
> 
> Kind Regards
> 
> Thomas
> 
> 
> 
> 
> On 2018-05-14 11:24, Mirja Kuehlewind (IETF) wrote:
>> Works for me.
>> 
>> I not sure the wording is super clear though, just to double check:
>> You say basically "Implementors MUST […] send only one INFO request per estimated round-trip time (RTT).“ And the you say „RECOMMENDED […] to estimate RTT“. However if you have the first MUST, I guess you also must estimate the RTT…? Or is it also recommended to ICE to send only every 3 seconds if RTT is unknown?
>> 
>> Mirja
>> 
>> 
>> 
>>> Am 13.05.2018 um 18:27 schrieb Thomas Stach <thomass.stach@gmail.com>:
>>> 
>>> Mirja,
>>> 
>>> sorry for the loong delay in responding.
>>> 
>>> Based on your recommendation I'd re-write section 10.9 as follows
>>> 
>>> 10.9.  Rate of INFO Requests
>>> 
>>>    Given that IP addresses may be gathered rapidly a Trickle ICE Agent
>>>    with many network interfaces might create a high rate of INFO
>>>    requests if every newly detected candidate is trickled individually
>>>    without aggregation.
>>> 
>>>    Implementors MUST aggregate ICE candidates in
>>>    case that UDP is used as transport protocol and send only one INFO
>>>    request per estimated round-trip time (RTT). It is RECOMMENDED that
>>>    Trickle ICE implementations also implement a way to estimate RTT,
>>>    since [RFC8085] advises that application don't send UDP datagrams
>>>    more often than one every 3 seconds if the RTT is unknown.
>>> 
>>>    If the INFO requests are sent on top of TCP, which is probably the
>>>    standard way, this is not an issue for the network anymore, but it
>>>    can remain one for SIP proxies and other intermediaries forwarding
>>>    the SIP INFO messages.  Also, an endpoint may not be able to tell
>>>    that it has congestion controlled transport all the way, such that
>>>    the recommendations for UDP remain valid also in case of TCP.
>>> 
>>> Would that be aceptable?
>>> 
>>> Kind Regards
>>> Thomas
>>> 
>>> 
>>> On 2018-04-13 17:06, Mirja Kuehlewind (IETF) wrote:
>>>> Hi again!
>>>> 
>>>> I actually looked up the recommendation in RFC8085 section 3.1.3 which says:
>>>> 
>>>> "A second case of applications cannot maintain an RTT estimate for
>>>>        a destination, because the destination does not send return
>>>>        traffic.  Such applications SHOULD NOT send more than one UDP
>>>>        datagram every 3 seconds and SHOULD use an even less aggressive
>>>>        rate when possible."
>>>> 
>>>> 
>>>>> Am 08.04.2018 um 20:57 schrieb Thomas Stach <thomass.stach@gmail.com>
>>>>> :
>>>>> 
>>>>> In general, it is RECOMMENDED that a Trickle ICE Agent sends only one INFO request per RTT.
>>>>> A quarantine period of 100ms would be on the safe side, but lower values might be fine as well
>>>>> if the typically deployment scenario assumes a shorter RT.“
>>>>> 
>>>> So a recommendation of 100ms is probably not appropriate here. Inline with RFC8085 it would be 3 seconds. Thus it probably makes sense to strongly recommend to implement a way to estimate RTT. Please also add a reference to RFC8085.
>>>> 
>>>> Sorry for my late input. I should have double checked with RFC8085 earlier. I hope this can still be addressed appropriately.
>>>> 
>>>> Mirja
>>>> 
>>>> 
>>>> 
>