Re: [MMUSIC] ICE-bis: pacing of ICE connectivity checks

Emil Ivov <emcho@jitsi.org> Mon, 21 October 2013 23:38 UTC

Return-Path: <emcho@sip-communicator.org>
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 06BA511E880D for <mmusic@ietfa.amsl.com>; Mon, 21 Oct 2013 16:38:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.562
X-Spam-Level:
X-Spam-Status: No, score=-2.562 tagged_above=-999 required=5 tests=[AWL=0.115, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b94Bv8inOh4m for <mmusic@ietfa.amsl.com>; Mon, 21 Oct 2013 16:37:59 -0700 (PDT)
Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by ietfa.amsl.com (Postfix) with ESMTP id 1C50211E880E for <mmusic@ietf.org>; Mon, 21 Oct 2013 16:37:52 -0700 (PDT)
Received: by mail-pa0-f41.google.com with SMTP id bj1so8872236pad.0 for <mmusic@ietf.org>; Mon, 21 Oct 2013 16:37:43 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=X1WAdJQC7cjAFEvVn/1DTKkJ+QINf+r2JP1M6N2CitE=; b=DVRDcxuaMwrmdAzSpXThEONMtL6d4mk8DU6E03BsP6F8YAuw7FHFE5jQRSNsWKiEnQ IHmBJBKP4FI0MwURsYgc/7f1lBSvvbfFHNh8s3+tySWZRa6LjvU8pR5HbYMKLfZ+L9B1 cq2+SrIKmg/b56g1MrvPqERmFa3qfoFzAqKBa7uf/rcsDHdNwK2Ys0G5E8ZfQseDSL/2 0HqkFEdYxLUN+nOn3Xi+36dgHnfmswnTA047OTyuv1uZlugcLmQUx9NjfnGr3i/XxlJY 2zlETiAElq0UFmxJZWSCa+EUesNu9MRGPx/fBdKo96kLi/pKfvYTvpEHSQxSeevq1NG4 xBJg==
X-Gm-Message-State: ALoCoQl1vWYbt9ZCzjCCAiC0/oWtf+cRZfkG/yvUi6YLaDCoNjVaggU/zisskt3q8QXcczzzPFoS
X-Received: by 10.66.147.9 with SMTP id tg9mr20482600pab.5.1382398662725; Mon, 21 Oct 2013 16:37:42 -0700 (PDT)
Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [2607:f8b0:400e:c02::22c]) by mx.google.com with ESMTPSA id 7sm28623113paf.22.2013.10.21.16.37.42 for <mmusic@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Oct 2013 16:37:42 -0700 (PDT)
Received: by mail-pd0-f172.google.com with SMTP id z10so9330671pdj.17 for <mmusic@ietf.org>; Mon, 21 Oct 2013 16:37:40 -0700 (PDT)
X-Received: by 10.66.50.131 with SMTP id c3mr19948161pao.111.1382398660564; Mon, 21 Oct 2013 16:37:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.191.163 with HTTP; Mon, 21 Oct 2013 16:37:19 -0700 (PDT)
In-Reply-To: <861759C7815040489720E3CC184F51DD1C477C0F@ESESSMB205.ericsson.se>
References: <526147C3.9040204@ericsson.com> <CAPvvaa+8osKGTNCS6RJywS9Bmf+RdbnChN=XqA9d+gLnBBAGow@mail.gmail.com> <5261704B.9090307@nostrum.com> <52627C14.8080309@jitsi.org> <1373AC9C23D80E44856F5CF6F883ACAB115574BB@xmb-rcd-x06.cisco.com> <52651780.60108@ericsson.com> <CAPvvaaL2ToQ1dxkYJbYHrLtQCFsYH7r2C=E1eYHD8KhzHsJXSA@mail.gmail.com> <861759C7815040489720E3CC184F51DD1C477C0F@ESESSMB205.ericsson.se>
From: Emil Ivov <emcho@jitsi.org>
Date: Tue, 22 Oct 2013 01:37:19 +0200
Message-ID: <CAPvvaaJnRahHZTuoG7wiNxmr5eo_sYjE8OVczS42fvWcf6C27A@mail.gmail.com>
To: Ari Keränen <ari.keranen@ericsson.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: mmusic <mmusic@ietf.org>
Subject: Re: [MMUSIC] ICE-bis: pacing of ICE connectivity checks
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
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: Mon, 21 Oct 2013 23:38:04 -0000

On Tue, Oct 22, 2013 at 1:11 AM, Ari Keränen <ari.keranen@ericsson.com> wrote:
>
> On Oct 21, 2013, at 10:12 PM, Emil Ivov wrote:
>
>> I still don't get it. Why would we recommend values for different applications? We already tell applications to pace checks in accordance with expected traffic, which they supposedly can gauge better than the text in our RFC.
>>
>> A minimum value does make sense because it would basically say: "don't go below this value or you might brake the network or otherwise cause harm". That's actually useful advice.
>
> Exactly. We're not proposing (different) values for different application. The proposal is to pace checks according to the expected traffic. For RTP there is a formula, for other traffic you're on your own (come up with formula, or what ever). The "second" value is only for the cases where you don't know better and should use something conservative.

If you don't know better why wouldn't you just use RTP's 20 ms pacing
given that we've already blessed it as safe and harmless and NAT
friendly?

Emil



>
>
> Cheers,
> Ari
>
>> Now, having two such values starts being weird again, unless we have data that shoes that networks break differently depending on the UDP payload or port number or whatever.
>>
>> --sent from my mobile
>>
>> On 21 Oct 2013 14:01, "Ari Keränen" <ari.keranen@ericsson.com> wrote:
>> On 10/19/13 4:53 PM, Pal Martinsen (palmarti) wrote:
>> On Oct 19, 2013, at 05:33 AM, Emil Ivov <emcho@jitsi.org> wrote:
>> On 18.10.13, 19:30, Adam Roach wrote:
>> On 10/18/13 09:44, Emil Ivov wrote:
>> It might be worth reminding exactly what these 50ms would be
>> protecting us against
>>
>> They're protecting us against RTP arriving at a rate of 20ms per
>> packet.
>>
>> That would indeed be one of the reasons to pace checks (in addition
>> to fragile NAT boxes IIRC), however in either case, I fail to
>> realise why we need a different pacing strategy for non-RTP. This
>> is what I was asking about.
>>
>> Connectivity check hammers can still resort to RTP if the pacing
>> timer is their only problem and I don't see why shaky NATs would
>> tolerate a 20ms rate for RTP but only a 50ms for anything else.
>>
>> This entire separation sounds quite arbitrary right now. I see why
>> we would pick a value that we consider somewhat safe and secure but
>> I don't understand why we would need two!?
>>
>> I agree. No need to add more complexity. ICE should be ignorant of
>> what traffic goes through the pinholes.
>>
>> The idea would be to have one recommended value (or set of) for all kinds of traffic but with RTP you would have this "additional piece of information" (due to the knowledge of your traffic pattern and the formula to relate that to pacing) that would allow you to go below the conservative recommended value. If you would have something similar with non-RTP traffic, you could use that.
>>
>> But then for both endpoints agreeing on the value in order to have connectivity checks happening simultaneously for the same pairs, we'd probably need to do some negotiation, similar to what was done with ICE on HIP (http://tools.ietf.org/html/rfc5770#section-4.4)
>>
>>
>> Cheers,
>> Ari
>



-- 
Emil Ivov, Ph.D.                       67000 Strasbourg,
Project Lead                           France
Jitsi
emcho@jitsi.org                        PHONE: +33.1.77.62.43.30
https://jitsi.org                       FAX:   +33.1.77.62.47.31