Re: [rtcweb] ICE-Mismatch and WebRTC

Kevin Dempsey <kevindempsey70@gmail.com> Mon, 14 July 2014 09:10 UTC

Return-Path: <kevindempsey70@gmail.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 2664C1A00AD for <rtcweb@ietfa.amsl.com>; Mon, 14 Jul 2014 02:10:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level:
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 ojGb-mS1nvx1 for <rtcweb@ietfa.amsl.com>; Mon, 14 Jul 2014 02:10:13 -0700 (PDT)
Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 898A91A0051 for <rtcweb@ietf.org>; Mon, 14 Jul 2014 02:10:13 -0700 (PDT)
Received: by mail-lb0-f174.google.com with SMTP id u10so2607368lbd.19 for <rtcweb@ietf.org>; Mon, 14 Jul 2014 02:10:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ovHb/RR+078tglaBADe2DTqIuRNdPwUtHRExZ963qhk=; b=vjq9J7abQCRDy6ECMkS9KfVNXm9+Yom47yYeT+4RQGrBPR8PCkrzx/heXhTmt6Ol7w m5AjMDwyjQNIrcph/++7fculPh8f8/UTr1XHWPWdzdn//GdLAehH+j7TKI5KXlnrp6kI w+sZQUmA1iIT8lqEEg0EbkWRLpX5Ttbva6rZFV5z8n+mBMkk6uNjnzDcmEa5zIzxloKt YWloI4nA7hfdwajbb8vUx1BRUDPYhIpqaWhwdTgsikMKCdtCc9KeGWDH6J3zieFTV2LF H9WfZxH4FKpIYxqftFwMgxVf19e1Pig3sPtuQdeZ/Gphr0U3ZytLaa99Yg7x394PIsLu o5AQ==
MIME-Version: 1.0
X-Received: by 10.112.170.10 with SMTP id ai10mr410690lbc.93.1405329011765; Mon, 14 Jul 2014 02:10:11 -0700 (PDT)
Received: by 10.114.167.9 with HTTP; Mon, 14 Jul 2014 02:10:11 -0700 (PDT)
In-Reply-To: <CAPvvaaLuc3tC-cev5--7Hoi_o7OkNgS+pzEvhGEtu4_3X-Qu1w@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> <CAOJ7v-2-zx=V1Nc7TwKp444M19NQqdej0K4COd=V8aHpEQhXrg@mail.gmail.com> <53C02268.9030109@jitsi.org> <CAOJ7v-3dbs=WO-nELsA8o9pFoTgx+D1XKPZWdX9QuNr5eQNuAQ@mail.gmail.com> <53C047A4.9000706@jitsi.org> <CAD5OKxtuxE6O77j4tqdBCqa9nkkOmVg-t=Du_1jqiVX0nJC4uA@mail.gmail.com> <CAOJ7v-2sPiApHM34xxbPUt5=nb2LugQZ-mzoAYKW5qd3_t=8GA@mail.gmail.com> <CAMvTgcfqipcd0+GoRp+q6zP+ehsM2BTzhui6y7faZpLjrwzfaw@mail.gmail.com> <CAPvvaaLuc3tC-cev5--7Hoi_o7OkNgS+pzEvhGEtu4_3X-Qu1w@mail.gmail.com>
Date: Mon, 14 Jul 2014 10:10:11 +0100
Message-ID: <CAMvTgcfyK0Z1BppCQimt=-83LQ3N_qROjZZy3mUMwpVwrruvng@mail.gmail.com>
From: Kevin Dempsey <kevindempsey70@gmail.com>
To: Emil Ivov <emcho@jitsi.org>
Content-Type: multipart/alternative; boundary="001a11c25f3c89f76604fe23a822"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/rI2NOoLjtSwPAoi4UDxp0KxkoXo
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: Mon, 14 Jul 2014 09:10:15 -0000

The initial offer is sent with only host candidates and the c= line gets
mangled by Alice's gateway* to match her external IP. Alice's client then
'discovers' the external address using STUN and sends the srflx candidate
which happens to match the mangled c= line.

*an application gateway that claims to be 'SIP aware' and modifies the SDP
to match the externally visible IP address. I suppose it may also modify
the candidate line if it does a simple match/replace.


On 14 July 2014 09:56, Emil Ivov <emcho@jitsi.org> wrote:

> On Mon, Jul 14, 2014 at 10:06 AM, Kevin Dempsey
> <kevindempsey70@gmail.com> wrote:
> > In Emil's example, Bob might later receive a trickled candidate:
> > a=candidate:1 1 UDP 1130706431 *87.65.43.21* 5000 typ srflx raddr
> > 192.168.0.1 rport 5000
> > which, if it was in the initial offer, would mean there was no mismatch.
>
> How would that happen?
>
> If you are thinking of a trickle ICE capable middle box then it
> could/should simply do it all at once. What reason would it have to
> delay the extra candidate?
>
> Emil
>
> >
> > On 12 July 2014 16:28, Justin Uberti <juberti@google.com> wrote:
> >>
> >> Agreed, with a special case for the no-candidates trickle ICE situation.
> >>
> >> On Jul 11, 2014 5:20 PM, "Roman Shpount" <roman@telurix.com> wrote:
> >>>
> >>> I would agree with:
> >>>
> >>> 1. Must fail if c=/m= line IP does not match any candidate. Must also
> >>> fail if rtcp attribute does not match any RTCP candidates.
> >>>
> >>> 2. Must fail if "ice-mismatch" attribute is present same as no ICE
> >>>
> >>> 3. Port 0 in m= line to disable the line must be understood
> >>>
> >>> 4. c= line with 0.0.0.0 must fail
> >>>
> >>> Does this make sense?
> >>> _____________
> >>> Roman Shpount
> >>>
> >>>
> >>
> >> _______________________________________________
> >> rtcweb mailing list
> >> rtcweb@ietf.org
> >> https://www.ietf.org/mailman/listinfo/rtcweb
> >>
> >
> >
> > _______________________________________________
> > rtcweb mailing list
> > rtcweb@ietf.org
> > https://www.ietf.org/mailman/listinfo/rtcweb
> >
>
>
>
> --
> https://jitsi.org
>