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

Emil Ivov <emcho@jitsi.org> Sat, 19 October 2013 12:33 UTC

Return-Path: <emil@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 9474611E81C6 for <mmusic@ietfa.amsl.com>; Sat, 19 Oct 2013 05:33:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 RwmRTxujyMTj for <mmusic@ietfa.amsl.com>; Sat, 19 Oct 2013 05:33:38 -0700 (PDT)
Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by ietfa.amsl.com (Postfix) with ESMTP id 6C74A11E819E for <mmusic@ietf.org>; Sat, 19 Oct 2013 05:33:31 -0700 (PDT)
Received: by mail-wg0-f50.google.com with SMTP id n12so4836181wgh.5 for <mmusic@ietf.org>; Sat, 19 Oct 2013 05:33:30 -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:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=eSUP5wgYIF4EDcwZB50htaDgUDp2lqRoN9FeyviWIcw=; b=FNjP5Zazcd0NnRfU8W7xrt5RqiWdV4QbpbQ5McQOWqiJ/f+NwNW9Sgt78qLxLfsxF6 x2XRFRykDBPEUiigBQ5TkW6Ujpy76eqDKqQITnQtPCiZ8lMG3C/pvq8I4oc/idxCTI4c HOSYzrukMTGRh7fB6FVf9V63ITpfspiy+kHdB44J46Dvup9HsgC3F/qjdqqTBUTjDYiT GWn8HG13eI3OhsPnugrfKgpXL0Qjhjk+2Q91HaS7D6pIYQ/uHWA8zHIeQwTNN11g5/yR uMOE081uwDCmqfL1ntLMU7oxy4lCvZhXle9MGAcFEq8uGpzyUMqzHqE5LGcEws7q4VLW g2EA==
X-Gm-Message-State: ALoCoQm+wsp6/6SGTh2Wfc/0GGHze97Hwyf65mJTpvh4JQFq5b099/yU4Hugj9CJ5OVkR9e6jja2
X-Received: by 10.194.175.66 with SMTP id by2mr145526wjc.59.1382186010579; Sat, 19 Oct 2013 05:33:30 -0700 (PDT)
Received: from camionet.local (smb-rsycl-01.wifihubtelecom.net. [213.174.124.177]) by mx.google.com with ESMTPSA id jf2sm12796552wic.2.2013.10.19.05.33.29 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 19 Oct 2013 05:33:29 -0700 (PDT)
Message-ID: <52627C14.8080309@jitsi.org>
Date: Sat, 19 Oct 2013 14:33:24 +0200
From: Emil Ivov <emcho@jitsi.org>
Organization: Jitsi
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: Adam Roach <adam@nostrum.com>
References: <526147C3.9040204@ericsson.com> <CAPvvaa+8osKGTNCS6RJywS9Bmf+RdbnChN=XqA9d+gLnBBAGow@mail.gmail.com> <5261704B.9090307@nostrum.com>
In-Reply-To: <5261704B.9090307@nostrum.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Ari Keränen <ari.keranen@ericsson.com>, 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: Sat, 19 Oct 2013 12:34:04 -0000

Hey Adam,

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!?

Emil

>> and why is it that we don't need to be
>> protected against it in the case of RTP where 20ms is accepted as a
>> fine default value.
>
> Well, it's not. This is exactly why we ended up requiring ICE: it
> ensures explicit consent before you start blowing media at someone.
>
> See also http://www.ietf.org/mail-archive/web/mmusic/current/msg04589.html



-- 
https://jitsi.org