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

Emil Ivov <emcho@jitsi.org> Mon, 21 October 2013 19:13 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 8F78611E86EF for <mmusic@ietfa.amsl.com>; Mon, 21 Oct 2013 12:13:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.556
X-Spam-Level:
X-Spam-Status: No, score=-2.556 tagged_above=-999 required=5 tests=[AWL=0.120, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 ipPeDnEgitkK for <mmusic@ietfa.amsl.com>; Mon, 21 Oct 2013 12:13:48 -0700 (PDT)
Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by ietfa.amsl.com (Postfix) with ESMTP id 936FC11E824A for <mmusic@ietf.org>; Mon, 21 Oct 2013 12:13:00 -0700 (PDT)
Received: by mail-pb0-f50.google.com with SMTP id uo15so5957719pbc.23 for <mmusic@ietf.org>; Mon, 21 Oct 2013 12:13:00 -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:date :message-id:subject:from:to:cc:content-type; bh=HhZPIGnSHrJ/IBvKoj5cLd4bfFbZz3jxrwgW+5oBQnk=; b=g1tHbbl3gXh0AfmuIhqBu1O+dDl15zSibKw7lSWtGFDG+zbKx7rX7/sxciY5M6kFy0 K/trPhNZJvU9hzHQDW0Udeh7dcxXt/n/Xv+A9W1dIvikWomxVKzGvoF0RgWXtHSsaUsg QcfthWevEabmdPIgOCqOJ1ONZ4fLhHrOwLoWwAH+D2w9QfhTKkfs4B+EzCMmdxKO+eCZ AKaBp5wHwnebAmiyfBoV0uiB+03Zoo7J3VSXjOzBLIRrKWyHHptvc+JP5r9BAZonSVqP uMh2IH6sTeoiB/63JwijQjLFWHCI0eEZlM9C+rNS39dUPpwO8prWRFBkJBzLjYA31+bd NTNQ==
X-Gm-Message-State: ALoCoQkG4s2fZ430g3q14EtNuH1mBV3VNQ26Ve1Ev8qUstPWB1c+UjbmG9W7ZWoPnJV3pN//izx3
X-Received: by 10.68.139.168 with SMTP id qz8mr19084358pbb.1.1382382780218; Mon, 21 Oct 2013 12:13:00 -0700 (PDT)
Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [2607:f8b0:400e:c01::22c]) by mx.google.com with ESMTPSA id y5sm22594023pbs.18.2013.10.21.12.12.59 for <mmusic@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Oct 2013 12:12:59 -0700 (PDT)
Received: by mail-pb0-f44.google.com with SMTP id xa7so7445627pbc.31 for <mmusic@ietf.org>; Mon, 21 Oct 2013 12:12:59 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.68.25.170 with SMTP id d10mr19352787pbg.78.1382382779202; Mon, 21 Oct 2013 12:12:59 -0700 (PDT)
Received: by 10.66.191.163 with HTTP; Mon, 21 Oct 2013 12:12:59 -0700 (PDT)
Received: by 10.66.191.163 with HTTP; Mon, 21 Oct 2013 12:12:59 -0700 (PDT)
In-Reply-To: <52651780.60108@ericsson.com>
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>
Date: Mon, 21 Oct 2013 21:12:59 +0200
Message-ID: <CAPvvaaL2ToQ1dxkYJbYHrLtQCFsYH7r2C=E1eYHD8KhzHsJXSA@mail.gmail.com>
From: Emil Ivov <emcho@jitsi.org>
To: Ari Keränen <ari.keranen@ericsson.com>
Content-Type: multipart/alternative; boundary="bcaec520e8757fb56104e9451215"
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 19:13:52 -0000

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.

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<http://tools.ietf.org/html/rfc5770#section-4.4>
> ).
>
>
> Cheers,
> Ari
>