Re: [rtcweb] RFC 5245 interpretation (Re: Requiring ICE for RTC calls)

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 27 September 2011 15:18 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55F9A21F8B13 for <rtcweb@ietfa.amsl.com>; Tue, 27 Sep 2011 08:18:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.698
X-Spam-Level:
X-Spam-Status: No, score=-5.698 tagged_above=-999 required=5 tests=[AWL=-0.766, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, SARE_HTML_USL_OBFU=1.666]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BBbeWuQTSztV for <rtcweb@ietfa.amsl.com>; Tue, 27 Sep 2011 08:18:04 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by ietfa.amsl.com (Postfix) with ESMTP id DC61021F8DEE for <rtcweb@ietf.org>; Tue, 27 Sep 2011 08:18:03 -0700 (PDT)
X-AuditID: c1b4fb39-b7bfdae000005125-a8-4e81e9d00313
Received: from esessmw0197.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 4C.A5.20773.0D9E18E4; Tue, 27 Sep 2011 17:20:48 +0200 (CEST)
Received: from ESESSCMS0356.eemea.ericsson.se ([169.254.1.250]) by esessmw0197.eemea.ericsson.se ([153.88.115.87]) with mapi; Tue, 27 Sep 2011 17:20:38 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>, Harald Alvestrand <harald@alvestrand.no>
Date: Tue, 27 Sep 2011 17:20:37 +0200
Thread-Topic: [rtcweb] RFC 5245 interpretation (Re: Requiring ICE for RTC calls)
Thread-Index: Acx9Jwt3HG9q88SrSzKIKQVNnduBbwAATJ/A
Message-ID: <7F2072F1E0DE894DA4B517B93C6A05852233FFBC40@ESESSCMS0356.eemea.ericsson.se>
References: <CAD5OKxtNjmWBz92bRuxka7e-BUpTPgVUvr3ahJGpmZ-U5nuPbQ@mail.gmail.com> <CAD6AjGSmz5T_F+SK2EoBQm6T-iRKp7dd4j8ZAF5JKdbbyomZQA@mail.gmail.com> <CALiegfmO54HC+g9L_DYn4jtXAAbLEvS++qxKa6TNrLDREs9SeA@mail.gmail.com> <4E80984A.903@skype.net> <CALiegfmyvTb57WVooKryS-ubfcg+w5gZ+zfO1zzBLn3609AzaA@mail.gmail.com> <4E809EE6.2050702@skype.net> <2E239D6FCD033C4BAF15F386A979BF510F1087@sonusinmail02.sonusnet.com> <CAD5OKxviJaGvA-0AW=sAxSYm8hL+t8Xgr+4Ma+QBL0HWmZf_6g@mail.gmail.com> <4E8185FC.8000906@alvestrand.no> <CAD5OKxsE98yrpoRhuzSgXdwQCE_3BGZH3a-=nH7_4+3xUHZR4Q@mail.gmail.com>
In-Reply-To: <CAD5OKxsE98yrpoRhuzSgXdwQCE_3BGZH3a-=nH7_4+3xUHZR4Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_7F2072F1E0DE894DA4B517B93C6A05852233FFBC40ESESSCMS0356e_"
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] RFC 5245 interpretation (Re: Requiring ICE for RTC calls)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: Tue, 27 Sep 2011 15:18:05 -0000

Hi,

I don't think the question is about changing the ICE spec.

You are correct in that ICE as such allows establishment of sessions with non-ICE peers, but I don't think anyone is questioning that.

The question is whether we shall specify that the browser must use "Require:ICE" (speaking in SIP terms :), in order to fulful some security requirement.

So, in my opinion we shall focus on the requirement, and whether we need to mandate the usage of some mechanism (ICE or something else) in order to solve that requirement.

...or whether the requirement should be dropped or relaxed.

Regards,

Christer




________________________________
From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf Of Roman Shpount
Sent: 27. syyskuuta 2011 18:06
To: Harald Alvestrand
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] RFC 5245 interpretation (Re: Requiring ICE for RTC calls)

Let's see:

4.1.4. Choosing Default Candidates

A candidate is said to be default if it would be the target of media
from a non-ICE peer; that target is called the DEFAULT DESTINATION.
If the default candidates are not selected by the ICE algorithm when
communicating with an ICE-aware peer, an updated offer/answer will be
required after ICE processing completes in order to "fix up" the SDP
so that the default destination for media matches the candidates
selected by ICE. If ICE happens to select the default candidates, no
updated offer/answer is required.

An agent MUST choose a set of candidates, one for each component of
each in-use media stream, to be default.

5.1. Verifying ICE Support

If this condition is not met, the agent MUST process the SDP based on
normal RFC 3264 procedures, without using any of the ICE mechanisms
described in the remainder of this specification...

6.1. Verifying ICE Support

The logic at the offerer is identical to that of the answerer as described in Section 5.1, with the exception that an offerer would not ever generate a=ice-mismatch attributes in an SDP.

My interpretation of this always was that ICE enabled end point MUST generate an offer that will be understood by a non-ICE end point, properly process on offer from a non-ICE enabled end point, and properly process an answer from a non-ICE end point. So if we want RTC to be ICE complaint we should be able to communicate with non-ICE end points, or define a new specification.
_____________
Roman Shpount


On Tue, Sep 27, 2011 at 4:14 AM, Harald Alvestrand <harald@alvestrand.no<mailto:harald@alvestrand.no>> wrote:
On 09/26/11 20:48, Roman Shpount wrote:
You can determine that end point is not behind symmetric NAT using older STUN specification and list discovered IP as a default contact address in SDP, if you are not behind NAT, you can list the relayed address of the TURN server as the default address. If you do this, together with the offer that lists ICE candidates, you would be able to traverse NAT and communicate with non-ICE end points.

I think discussion in this thread is not whether ICE needs to be supported or implemented. I would say that ICE without a doubt should be supported. It is about changing ICE specification as it stands right now, and force the RTC end point only to communicate with end points that respond with ICE compliant answer and complete ICE hand shake. This is actually against the ICE specification as it is defined in RFC 5245, where answerer actually can refuse to support ICE but still establish a call.
Roman,

Which part of RFC 5245 are you referring to with this statement?

Please describe the sections you think will be invoked when an SDP OFFER contains ICE candidates, the answerer does not want to use ICE, what the OFFER and ANSWER would look like, and which section of RFC 5245 is invoked when processing the ANSWER.

Details are good.

               Harald

_______________________________________________
rtcweb mailing list
rtcweb@ietf.org<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb