Re: [rtcweb] ICE-Mismatch and WebRTC

Emil Ivov <emcho@jitsi.org> Fri, 11 July 2014 20:23 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 1B0DF1B2D21 for <rtcweb@ietfa.amsl.com>; Fri, 11 Jul 2014 13:23:14 -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 LlXSdGzkWOBI for <rtcweb@ietfa.amsl.com>; Fri, 11 Jul 2014 13:23:12 -0700 (PDT)
Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5DC7F1A0406 for <rtcweb@ietf.org>; Fri, 11 Jul 2014 13:23:12 -0700 (PDT)
Received: by mail-we0-f178.google.com with SMTP id w61so683187wes.37 for <rtcweb@ietf.org>; Fri, 11 Jul 2014 13:23:06 -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=4HFDhJwgz633PGBAceLrMRvlBJjJf5dW7492T1aFPkQ=; b=iJgE2lkcX+N1s3shYIBCCohlDe3G+cB7LIKf4kAY1brVtO8NM2TSMEONE1hwKMCRxA NdVgt560l0FBbL/TwHwiPrPT04DMgjHCfgKeXRe8zvneT0QYDEp8SOhqITrZgaCU634J cgqbiVS4v5MY2ghNrHJkb/qTv/DaZRNLptUIzlMyZ5+aTkF3Li+1lwYcMJabNoYDIFV/ HdK2Xj0d3o6gejF0gp4kJp8OOIxr/DYdoT59QpEAal9K9YxxE3o2vlri8Utvh+HgDzIG 3er+RObDavI1SRS2SGYCp23vPVHVm8N+Eb59JIODiMWa6YvVrBwfx4I7LA7TL2e1+rnL qdnw==
X-Gm-Message-State: ALoCoQkR9mqVlTxwENzdwvvOCMmEQ0bJtqkQFXoQkVZngfQXClX9utdOItbRwebj+jH05vMKgn3B
X-Received: by 10.180.99.97 with SMTP id ep1mr7802581wib.64.1405110185380; Fri, 11 Jul 2014 13:23:05 -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 da9sm11082973wib.5.2014.07.11.13.23.04 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jul 2014 13:23:04 -0700 (PDT)
Message-ID: <53C047A4.9000706@jitsi.org>
Date: Fri, 11 Jul 2014 22:23:00 +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> <53C02268.9030109@jitsi.org> <CAOJ7v-3dbs=WO-nELsA8o9pFoTgx+D1XKPZWdX9QuNr5eQNuAQ@mail.gmail.com>
In-Reply-To: <CAOJ7v-3dbs=WO-nELsA8o9pFoTgx+D1XKPZWdX9QuNr5eQNuAQ@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/z_4pIalA__e7zxG0UfvcSsG9rdc
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 20:23:14 -0000


On 11.07.14, 20:55, Justin Uberti wrote:
> Well, it should either be MUST ignore, or MUST fail. I can go either
> way, I just want deterministic API behavior.

I'd completely agree with MUST fail.

> On Jul 11, 2014 1:44 PM, "Emil Ivov" <emcho@jitsi.org
> <mailto: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>
>         <mailto: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>
>              <mailto: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>
>              <mailto: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> <mailto:rtcweb@ietf.org
>         <mailto:rtcweb@ietf.org>>
>         https://www.ietf.org/mailman/__listinfo/rtcweb
>         <https://www.ietf.org/mailman/listinfo/rtcweb>
>
>
>
>     --
>     https://jitsi.org
>

-- 
https://jitsi.org