Re: [rtcweb] ICE-Mismatch and WebRTC

Justin Uberti <juberti@google.com> Fri, 11 July 2014 16:08 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 C2D461B2BA1 for <rtcweb@ietfa.amsl.com>; Fri, 11 Jul 2014 09:08:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.029
X-Spam-Level:
X-Spam-Status: No, score=-2.029 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, RP_MATCHES_RCVD=-0.651, 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 rXuH-IG7l9ey for <rtcweb@ietfa.amsl.com>; Fri, 11 Jul 2014 09:08:03 -0700 (PDT)
Received: from mail-vc0-x22f.google.com (mail-vc0-x22f.google.com [IPv6:2607:f8b0:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 191B81B2B67 for <rtcweb@ietf.org>; Fri, 11 Jul 2014 09:08:02 -0700 (PDT)
Received: by mail-vc0-f175.google.com with SMTP id hy4so2459526vcb.6 for <rtcweb@ietf.org>; Fri, 11 Jul 2014 09:08:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=sjz+syDkEUbm9laF4ZmzTKequtHCKISBbAQY5DoVKDk=; b=l+Ya4clzaOxSikP5rv/A6EZ9Mh82ZeHPGt3kRTToVzJfW/sKfNyE/HqHgE0HqoUtoK JqgRzPqvIOzwNZ07NqN5S64v2uZ5P9KpIcFL05K41p0NUsvLFYc4WBaXOjjLpTgr8t+Q J9H88FoQrZwPtJRg/MI7CjVtYaJzrylOh0ATnBMBgqmT2vXkLeh5Q0padYkOZwjbb3xf E5PWSIjPCPEhB9JHWPPq9Q8lu6AngsdC2oj7jpHmIe7wLChnjsXnEwPeFqG83hC92gY5 S2et6tkUwI08yPQwBX3COZeA5pUYMkoKfExCko942E4613yq+n+Dn1k2LL0fFnurMSbz ckPQ==
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=sjz+syDkEUbm9laF4ZmzTKequtHCKISBbAQY5DoVKDk=; b=d/bdqNaNfjNXfKnGQM0kDKA9Hxx5fVhckxObQcNy/MI34UmS98Oe4v5n5bbypYgaIh HyYdhKFD08UjkIf7waDrueBZAr/VNGOgN3Voc4Kniyqex692pliJDGtUHpiGPIjlL6RM uqzgE4Uvsa1iOUqs83Qri5MNxOWC9NFO3t9uIVA0ss6Ml6VVKcHCyzLYEHNsXkgbXHAf ZFhhkB3X8Ty9zeIqNlnx6jRgSQgn9aSVXdwAGUCL0S+BBQ+ra5deyn/QELJohmx04i03 Fe8xanuHP+ryZHg15PuGdQ62nyLJnJCrDSqH+K2JDUhWbz7Rxg5ierVEtOyChT+aZSZq ewvA==
X-Gm-Message-State: ALoCoQl7xC+ODgH/XxoiuMf22eALCf4/pX9D5EFa0q+5g5fO3EOpVCZ2ToXAb/EDhKZN197buHtC
X-Received: by 10.220.175.70 with SMTP id w6mr1838755vcz.72.1405094881241; Fri, 11 Jul 2014 09:08:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.27.8 with HTTP; Fri, 11 Jul 2014 09:07:41 -0700 (PDT)
In-Reply-To: <CAPvvaa+zA_n_U_1iBC0=wRPJG4pf-SEv8Ni0fZNGPXt4Byj2Bw@mail.gmail.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>
From: Justin Uberti <juberti@google.com>
Date: Fri, 11 Jul 2014 09:07:41 -0700
Message-ID: <CAOJ7v-2-zx=V1Nc7TwKp444M19NQqdej0K4COd=V8aHpEQhXrg@mail.gmail.com>
To: Emil Ivov <emcho@jitsi.org>
Content-Type: multipart/alternative; boundary="047d7b3a93e045d29004fded2562"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/iUnl3vPPb2XBbcziYlUxjbBRhVE
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 16:08:06 -0000

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.


On Tue, Jul 8, 2014 at 1:04 PM, Emil Ivov <emcho@jitsi.org> wrote:

> 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
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>