Re: [rtcweb] ICE-Mismatch and WebRTC

Emil Ivov <emcho@jitsi.org> Tue, 08 July 2014 20:04 UTC

Return-Path: <emcho@sip-communicator.org>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C610E1A0019 for <rtcweb@ietfa.amsl.com>; Tue, 8 Jul 2014 13:04:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.979
X-Spam-Level:
X-Spam-Status: No, score=-1.979 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 BxYJU5ciMQf1 for <rtcweb@ietfa.amsl.com>; Tue, 8 Jul 2014 13:04:33 -0700 (PDT)
Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1EC7C1A000F for <rtcweb@ietf.org>; Tue, 8 Jul 2014 13:04:33 -0700 (PDT)
Received: by mail-vc0-f170.google.com with SMTP id hy10so5960870vcb.15 for <rtcweb@ietf.org>; Tue, 08 Jul 2014 13:04:32 -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; bh=8BAJleMfMmrxSKEWUZMnNnrauy19HKKA/Nk687IyCqE=; b=FibBGL7vmutKdqNLSaxapTEubhAlSLd2IxVQtN6qxPtAD1kO34EoCVVrNptHuOXMCW M5+TLqJTi40gSX+BQ5S38RttdGgUXzJ09ny67OXsQoCo9GJQmhiPDtDVxWh4m+Kktgiu GbPj4pSiNyLIJzhKk8hbcEzgf//SS8AvGeVkcVqS96PrIxY1YoiDgKTtI+v3zZRS9DQa MgKWir1UDDqd0GjsBSeivGz3+IHNwfS5lHf1Rs9mUeh6wYFzejnOACTGzxUV2Xcu0pvA 38DMrQqTlbyztMh24TDdiSKKPQix+jVeUTGTvtUSnL3sGtU43ht9x/zWp4UheiJRcjD2 iWxw==
X-Gm-Message-State: ALoCoQlzSpT0dfZw3BocacwFGW61DaxW01XlrFff7qQxqf83otTrzhRcw4C4Tfu7Q3UBZS6BvKb9
X-Received: by 10.52.113.37 with SMTP id iv5mr1610871vdb.51.1404849872252; Tue, 08 Jul 2014 13:04:32 -0700 (PDT)
Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPSA id d2sm27402645vec.16.2014.07.08.13.04.31 for <rtcweb@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Jul 2014 13:04:31 -0700 (PDT)
Received: by mail-vc0-f179.google.com with SMTP id id10so6044600vcb.10 for <rtcweb@ietf.org>; Tue, 08 Jul 2014 13:04:31 -0700 (PDT)
X-Received: by 10.58.46.34 with SMTP id s2mr2032058vem.49.1404849871722; Tue, 08 Jul 2014 13:04:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.238.75 with HTTP; Tue, 8 Jul 2014 13:04:10 -0700 (PDT)
In-Reply-To: <CAD5OKxsWEkDGTvidUGcRi2AzWjmCnqXwoQtBn7-f5PzEzrNL2A@mail.gmail.com>
References: <CAD5OKxvGcq+hZ5vQLyq4OS2wHTdYiKYpm4+ntaKdqLMBu84SYw@mail.gmail.com> <53BC1D53.4080904@jitsi.org> <CAD5OKxsWEkDGTvidUGcRi2AzWjmCnqXwoQtBn7-f5PzEzrNL2A@mail.gmail.com>
From: Emil Ivov <emcho@jitsi.org>
Date: Tue, 08 Jul 2014 22:04:10 +0200
Message-ID: <CAPvvaa+zA_n_U_1iBC0=wRPJG4pf-SEv8Ni0fZNGPXt4Byj2Bw@mail.gmail.com>
To: Roman Shpount <roman@telurix.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/uKEYvNurKwkzHhbDeAZq7G8qtSg
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] ICE-Mismatch and WebRTC
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Jul 2014 20:04:34 -0000

On Tue, Jul 8, 2014 at 9:04 PM, Roman Shpount <roman@telurix.com> wrote:
> On Tue, Jul 8, 2014 at 12:33 PM, Emil Ivov <emcho@jitsi.org> wrote:
>>
>> On 07.07.14, 21:48, Roman Shpount wrote:
>>>
>>> Is it possible to run into ICE-Mismatch with WebRTC? Should we specify
>>> that default candidate (c= and m= line based candidate) should be
>>> ignored and thus mismatch check should not be performed?
>>
>>
>> I guess running into an ICE mismatch with WebRTC is just as possible as
>> with any other ICE implementation. I suppose the only difference would be
>> that rather than falling back to 3264 semantics, WebRTC implementations will
>> rather drop the session because without ICE, they wouldn't be able to do
>> consent checks for it.
>>
>
> My point was that WebRTC would never use 3264 semantics

Indeed. This was also my point.

> and use address from
> c= and m= lines for any purpose, so why does it need to check that this
> address is correct? Would it be more sensible just ignore whatever value
> happen to be there?

With the exception of trickle ICE's use of :: (or 0.0.0.0) an ICE
mismatch indicates that there is an entity on the signalling path that
is overwriting c= line addresses and m= line ports. The idea of
dropping ICE here is that the infrastructure is likely performing
Hosted NAT Traversal and latching so insisting on ICE is likely to
lead to unexpected situations.

> Or, better yet end point can generate an error instead
> of generating a response with ice-mismatch.

Agreed. Sending an answer with ice-mismatch means downgrading to basic
3264 and that doesn't make sense for WebRTC.

Agreed.

Emil

-- 
https://jitsi.org