Re: [rtcweb] ICE-Mismatch and WebRTC

Emil Ivov <emcho@jitsi.org> Fri, 11 July 2014 17:44 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 664DF1A0AEE for <rtcweb@ietfa.amsl.com>; Fri, 11 Jul 2014 10:44:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.401
X-Spam-Level:
X-Spam-Status: No, score=-1.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_12=0.6, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_LOW=-0.7, 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 tO_IlxjyS9Gs for <rtcweb@ietfa.amsl.com>; Fri, 11 Jul 2014 10:44:19 -0700 (PDT)
Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D89E11A0A9D for <rtcweb@ietf.org>; Fri, 11 Jul 2014 10:44:18 -0700 (PDT)
Received: by mail-wi0-f181.google.com with SMTP id bs8so71128wib.8 for <rtcweb@ietf.org>; Fri, 11 Jul 2014 10:44:14 -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:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=fI+5YxKJhsy0vq175caEBqgOMSsJqKy1atAvfRtYSXA=; b=F/LX1HKUpGTZMq8SJhXAWSFmg0+a8amD1wXtaf7NZnVUwqWosLZIXj0zi0DfiFr9jt q80toTb7F0DqPRtmbgasds40VlisS4KWx8S1K29OiNmANpXRgAJE32zEpZcIBs4bKf12 x2+OeEJO1ndYDG0kIOrHD/snGg2OWV4MsqXSgP78OtLIJvLQP+kQKTZc+rpHOKucjli9 rSC4iYoxJZSHEWoSwNv6vCt02SvC+FyGnZHyiQPeVlmWbFUv3/ZyPwXbwu/jb2XPiN6Q cVjLg9kqiaouDhGV9XGBFba/vkEzXEE9oQzSnEhXORBAvw2NZGQe6OhICmoGgeo7WRVZ +cKQ==
X-Gm-Message-State: ALoCoQlQ6zslvEO/mn9rJY9EP1YWYZ/54yBb5+C3u3uorxcRo38AVPSJL6mJ2qwz7Em5IF7bZcM9
X-Received: by 10.194.123.105 with SMTP id lz9mr423232wjb.122.1405100653176; Fri, 11 Jul 2014 10:44:13 -0700 (PDT)
Received: from [192.168.1.23] (9.6.69.91.rev.sfr.net. [91.69.6.9]) by mx.google.com with ESMTPSA id ev9sm6447051wjc.49.2014.07.11.10.44.10 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jul 2014 10:44:12 -0700 (PDT)
Message-ID: <53C02268.9030109@jitsi.org>
Date: Fri, 11 Jul 2014 19:44:08 +0200
From: Emil Ivov <emcho@jitsi.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Justin Uberti <juberti@google.com>
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>
In-Reply-To: <CAOJ7v-2-zx=V1Nc7TwKp444M19NQqdej0K4COd=V8aHpEQhXrg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/tgTYSWxbyHtqOTBnTyivI_Tqtcg
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: Fri, 11 Jul 2014 17:44:20 -0000

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