Re: [rtcweb] ICE-Mismatch and WebRTC

Justin Uberti <juberti@google.com> Fri, 11 July 2014 18:55 UTC

Return-Path: <juberti@google.com>
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 0CABC1A039C for <rtcweb@ietfa.amsl.com>; Fri, 11 Jul 2014 11:55:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.829
X-Spam-Level:
X-Spam-Status: No, score=-0.829 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_12=0.6, J_CHICKENPOX_15=0.6, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] autolearn=no
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 Gno6BWP17jy7 for <rtcweb@ietfa.amsl.com>; Fri, 11 Jul 2014 11:55:57 -0700 (PDT)
Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [IPv6:2607:f8b0:400c:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D0081A0522 for <rtcweb@ietf.org>; Fri, 11 Jul 2014 11:55:49 -0700 (PDT)
Received: by mail-vc0-f179.google.com with SMTP id id10so2904474vcb.10 for <rtcweb@ietf.org>; Fri, 11 Jul 2014 11:55:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=68SlSH1LdBf33Zbm61JL1L1hP4sHKMiQnXZidCKzvTc=; b=aDmbvLj05zGb/nl03XgBXFjo8PY5L/8r+h5VnqXLQ0EEIY23bs3056HR+m9YZEJYUa 1WwXgL6UNsEAz2h+DKXkdMqyjRiObcEMU2cqyWjhANQ6Yqntjd6afDXC6o3wwJxdaoWg mjIjJRHRWcfO5WfAv3C1xoYHtTtwrL2k+tgNzEBtAIG0bzCUExAHsAI8DwojfacRAATL EsbtkXLJ6i0ZPcAmPl614NrcTmLqSV/N1BAqtkM/xV8JpVFopGB1ert+rh4mfevTRjcD 1qCpCsuYu+hrptostdeKhZzWnsb/p7Rizro8f0tF/b8kYYbMBKs3rSC1ps/FI89XQd/u EU6g==
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=68SlSH1LdBf33Zbm61JL1L1hP4sHKMiQnXZidCKzvTc=; b=Rbr+cDKKll+7/y5g3IqTSR+4AsLP8VJiWk/lAReL9XyOt8FBOqly9pgNRfzhfJquTa aVMS5/ncfNV4RJw2oJIOj/VM+9VR/hKcLMAbfvU2m5NzBhZzm9Ht9YD12+1ZJFwwIvQE XUr3UVX7SPaIjwbET6y2+ri3aV2j0b+Nm1bvYgbH0/3FWcqmR6lT+z27sMpSymnRva7+ giQKfWzgBpta7KORrpA9uggdppo2Nj+Vf7B/ynSqtogJFPWNXnP3uW+8IgURIstvbmIO CgPNAf6Ptnk1vcOvFcc/BoNqvsawPeT1EJ/jNvBPPFii6e4qRBrL4Kth/7B5bLdUZ2Mz wZgg==
X-Gm-Message-State: ALoCoQlXNp2qar9/0rtd0waelR/h9BDqvVI2B6YvVHhIZtCuaCOVpyHU3ygtn6FkIh4zu4fTJOX1
MIME-Version: 1.0
X-Received: by 10.220.44.20 with SMTP id y20mr824870vce.60.1405104948509; Fri, 11 Jul 2014 11:55:48 -0700 (PDT)
Received: by 10.52.27.8 with HTTP; Fri, 11 Jul 2014 11:55:46 -0700 (PDT)
Received: by 10.52.27.8 with HTTP; Fri, 11 Jul 2014 11:55:46 -0700 (PDT)
In-Reply-To: <53C02268.9030109@jitsi.org>
References: <CAD5OKxvGcq+hZ5vQLyq4OS2wHTdYiKYpm4+ntaKdqLMBu84SYw@mail.gmail.com> <53BC1D53.4080904@jitsi.org> <CAD5OKxsWEkDGTvidUGcRi2AzWjmCnqXwoQtBn7-f5PzEzrNL2A@mail.gmail.com> <CAPvvaa+zA_n_U_1iBC0=wRPJG4pf-SEv8Ni0fZNGPXt4Byj2Bw@mail.gmail.com> <CAOJ7v-2-zx=V1Nc7TwKp444M19NQqdej0K4COd=V8aHpEQhXrg@mail.gmail.com> <53C02268.9030109@jitsi.org>
Date: Fri, 11 Jul 2014 11:55:46 -0700
Message-ID: <CAOJ7v-3dbs=WO-nELsA8o9pFoTgx+D1XKPZWdX9QuNr5eQNuAQ@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
To: Emil Ivov <emcho@jitsi.org>
Content-Type: multipart/alternative; boundary="047d7b3a98d0541e6704fdef7df4"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/xBfw4pzz_frpoegdp7_mZFypO3E
Cc: 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: Fri, 11 Jul 2014 18:55:59 -0000

Well, it should either be MUST ignore, or MUST fail. I can go either way, I
just want deterministic API behavior.
On Jul 11, 2014 1:44 PM, "Emil Ivov" <emcho@jitsi.org> wrote:

> On 11.07.14, 18:07, Justin Uberti wrote:
>
>> The fact that WebRTC implementations MUST ignore the address and port in
>> the c=/m= lines will be written into JSEP, S 5.6/5.7.
>>
>
> MUST sounds unnecessarily strong here. Imagine Alice's WebRTC client sends
> offer:
>
>        ...
>        c=IN IP4 *192.168.0.1*
>        t=0 0
>        a=ice-pwd:asd88fgpdd777uzjYhagZg
>        a=ice-ufrag:8hhY
>        a=ice-options:trickle
>        m=audio 5000 RTP/AVP 0
>        a=candidate:1 1 UDP 2130706431 *192.168.0.1* 5000 typ host
>        ...
>
> and then Bob's browser gets
>
>        ...
>        c=IN IP4 *87.65.43.21*
>        t=0 0
>        a=ice-pwd:asd88fgpdd777uzjYhagZg
>        a=ice-ufrag:8hhY
>        a=ice-options:trickle
>        m=audio 2626 RTP/AVP 0
>        a=candidate:1 1 UDP 2130706431 *192.168.0.1* 5000 typ host
>        ...
>
> Don't you think Bob's browser has a pretty good reason to reject the offer
> because chances are the call would fail anyway?
>
> Emil
>
>
>> On Tue, Jul 8, 2014 at 1:04 PM, Emil Ivov <emcho@jitsi.org
>> <mailto:emcho@jitsi.org>> wrote:
>>
>>     On Tue, Jul 8, 2014 at 9:04 PM, Roman Shpount <roman@telurix.com
>>     <mailto:roman@telurix.com>> wrote:
>>      > On Tue, Jul 8, 2014 at 12:33 PM, Emil Ivov <emcho@jitsi.org
>>     <mailto: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
>>
>>     _______________________________________________
>>     rtcweb mailing list
>>     rtcweb@ietf.org <mailto:rtcweb@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/rtcweb
>>
>>
>>
> --
> https://jitsi.org
>