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

Thomas Stach <thomass.stach@gmail.com> Tue, 22 May 2018 20:07 UTC

Return-Path: <thomass.stach@gmail.com>
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 1784B12D869; Tue, 22 May 2018 13:07:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 aw43alq0mIHw; Tue, 22 May 2018 13:07:46 -0700 (PDT)
Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8252129C51; Tue, 22 May 2018 13:07:45 -0700 (PDT)
Received: by mail-wm0-x22a.google.com with SMTP id a67-v6so2948620wmf.3; Tue, 22 May 2018 13:07:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=CKJ6poZnzQGsMpHEsvIXk0iy3ixnwwF/L8RqLredhxQ=; b=DY6vdk3pOmut7NEHCz3bV/5ow+dIJLw/UyQ1uFTMq2zBOii04cGR4PWht42JMb6716 6Ph6+q8wb4MEheBRwIdMSh6OptBNepBwgqYod+Mi/2CJlLWkxTJK6PFlth4ql8ULBQT4 mOOMGG1dvo7II7/qXT+kYRvzWG/Wo2yz+pNd40FAUEVksJv4zkQGs9d8MCXcCGTaVqdA H7o3HqvJ+PlpcDNl2grxmiZSPp+lERZDQirzj8Z2/EJXiW2T5uIKQ2R2iQlW46Q/1CeO Jnz3VZywxQCV8bqCbBOGB4lKoihNncgDyg0pscK0axJ83ZJcHJunPwkBZrN8QX6tNJ0s p0WA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=CKJ6poZnzQGsMpHEsvIXk0iy3ixnwwF/L8RqLredhxQ=; b=lyDEZFepHkH8CwvsNrM/ZAUTvMcdVhIhSF/rXxFkLPVnSt5il/vSCSFj9WQYdFxP2e Ae8HL7uga9BYxiLERb58uwHHrkjcbHnFdvcxZn3MoiIU5LnQkUPR/TK6dnswHcmfQo0S Q6Z0jh8CncbB8OzL6rL7DMQLFQEpVOZdcSSiPiGO/ZI4zgDm8Kx+PgDPZ7XKgELwchJM MCO4YMjsnr5FtV01RN0R94LznmNHv2UJTSyaDvOoULCp+6wxFh8AooX+DPftR+QjjXx0 g4bI9n5lQ/pI9Se4zadUlFWCSGoDY2a5CGI5hfTiEi3S+YX1RQFtLq31i/okrND/RIe1 1qiQ==
X-Gm-Message-State: ALKqPwcIOcceoTZnDM4Adwbuq00g4o0x2xTYFSpjkhnQ1TT9P85yKu76 ioxhwWJcZl4OpORJCfAVIRpyY4jhSsY=
X-Google-Smtp-Source: AB8JxZrm6ptplo5HWYtixDd6XzFd3lFRK3fGN6i/cW1/V5wxsU8jH2e40aEdxuNQzm5vs+PYTaCnOA==
X-Received: by 2002:a1c:8b88:: with SMTP id n130-v6mr2144658wmd.8.1527019663801; Tue, 22 May 2018 13:07:43 -0700 (PDT)
Received: from [192.168.2.112] ([213.90.79.148]) by smtp.googlemail.com with ESMTPSA id a69-v6sm786163wma.7.2018.05.22.13.07.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 13:07:42 -0700 (PDT)
To: Ben Campbell <ben@nostrum.com>, Flemming Andreasen <fandreas@cisco.com>
Cc: Adam Roach <adam@nostrum.com>, "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>, mmusic-chairs@ietf.org, draft-ietf-mmusic-trickle-ice-sip@ietf.org, The IESG <iesg@ietf.org>, mmusic@ietf.org
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> <D9BF2D39-0B51-4697-A5F1-5801916F543D@kuehlewind.net> <a702e5b6-c540-77f9-1f08-08d5a5e1feed@gmail.com> <b1d7c7fa-eea5-ae8a-4a10-b7d5f58d6353@nostrum.com> <0a05813f-21ac-43ba-9caa-fa4dc1000914@cisco.com> <CBA18047-8484-44D3-97A0-465D2441EE0E@nostrum.com>
From: Thomas Stach <thomass.stach@gmail.com>
Message-ID: <b7cba717-f611-b7ff-6a59-2cc1de1b117a@gmail.com>
Date: Tue, 22 May 2018 22:07:41 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CBA18047-8484-44D3-97A0-465D2441EE0E@nostrum.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/odtTgbEPU5scgod7Hkb9gGP6loA>
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: Tue, 22 May 2018 20:07:48 -0000

All,

how should I proceed here?

Would it be OK to mention the SIP retransmission behaviour in instead 
of  Mirja's RFC8085-based proposal ?

E.g. something like:

"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.
If the RTT is unknown, a Trickle ICE agent MUST NOT have
more than one INFO request pending at any one time.
In case of re-transmissions a Trickle-ICE agent needs to adhere to the default SIP
retransmission schedule resulting in intervals of 500 ms, 1 s, 2 s, 4 s, 4 s, 4 s, etc."


Mirja, would that text be ok for you?


Kind Regards
Thomas



On 2018-05-21 17:19, Ben Campbell wrote:
>
>> On May 21, 2018, at 10:14 AM, Flemming Andreasen <fandreas@cisco.com> wrote:
>>
>>
>>
>> On 5/19/18 3:49 PM, Adam Roach wrote:
>>> Sorry to jump in after this appears to have come to a conclusion, but it seems that this would be much easier to specify and to implement if it simply said that only one INFO request were allowed to be pending at any one time. This will limit cadence to exact RTT (rather than estimated RTT), and eliminate the additional language around unknown RTT handling.
>>>
>> What happens if the INFO request is lost ?
> It’s retransmitted according to normal SIP rules for SDP, as Adam mentioned in the following paragraph.  That’s going to happen one way or another, unless this draft wants to make normative changes to 3261 (I assume not).
>
> Thanks!
>
> Ben.
>
>> Thanks
>>
>> -- Flemming
>>> In particular, the language below is problematic in that, taken on its face, it contradicts SIP message retransmission handling: it says that UDP datagrams are to be sent once every 3 seconds if the RTT is unknown, while SIP requires a retransmission schedule of 0s, 500ms, 1.5s, 3.5s, etc. I really don't want implementors to read the normative behavior below as modifying the message retransmission algorithm.
>>>
>>> /a
>>>
>>> On 5/19/18 11:32 AM, Thomas Stach wrote:
>>>> Mirja,
>>>>
>>>>
>>>> On 2018-05-18 10:06, Mirja Kuehlewind (IETF) wrote:
>>>>> 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?
>>>> Yes it does. I'll use your text.
>>>>
>>>> Thanks
>>>> Thomas
>>>>> 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>> _______________________________________________
>>>> mmusic mailing list
>>>> mmusic@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/mmusic
>>>
>>> .
>>>
>>