Re: [Stox] Stox-media: Should XEP-176 translations have Require: ice?

Peter Saint-Andre <stpeter@stpeter.im> Tue, 25 March 2014 22:12 UTC

Return-Path: <stpeter@stpeter.im>
X-Original-To: stox@ietfa.amsl.com
Delivered-To: stox@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08F281A0236 for <stox@ietfa.amsl.com>; Tue, 25 Mar 2014 15:12:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.912
X-Spam-Level:
X-Spam-Status: No, score=-1.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 x4Kkfzb0d03Q for <stox@ietfa.amsl.com>; Tue, 25 Mar 2014 15:12:32 -0700 (PDT)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id 8D7BE1A0221 for <stox@ietf.org>; Tue, 25 Mar 2014 15:12:32 -0700 (PDT)
Received: from aither.local (unknown [24.8.129.242]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 351324010C; Tue, 25 Mar 2014 16:12:29 -0600 (MDT)
Message-ID: <5331FF4D.8010900@stpeter.im>
Date: Tue, 25 Mar 2014 16:12:29 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Jonathan Lennox <jonathan@vidyo.com>, Emil Ivov <emcho@jitsi.org>
References: <26E25338-948C-43FA-A0AE-880BD1CB49B0@vidyo.com> <532A645A.3080605@stpeter.im> <F3A5A36B-978D-4B50-8E24-A4D4AA77D370@ag-projects.com> <E95AAC63-26BF-48A9-A2D5-BEBB88B92567@vidyo.com> <5331BED1.3070202@jitsi.org> <CF55AE22-BC8C-41D2-ACDF-F36CB845A356@vidyo.com>
In-Reply-To: <CF55AE22-BC8C-41D2-ACDF-F36CB845A356@vidyo.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/stox/t7mMNXBq0w8PwnUZdsvcpjJP7gM
Cc: "stox@ietf.org" <stox@ietf.org>, Saúl Ibarra C orretgé <saul@ag-projects.com>
Subject: Re: [Stox] Stox-media: Should XEP-176 translations have Require: ice?
X-BeenThere: stox@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: SIP-TO-XMPP Working Group discussion list <stox.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stox>, <mailto:stox-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/stox/>
List-Post: <mailto:stox@ietf.org>
List-Help: <mailto:stox-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stox>, <mailto:stox-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Mar 2014 22:12:35 -0000

On 3/25/14, 12:03 PM, Jonathan Lennox wrote:
>
> On Mar 25, 2014, at 1:37 PM, Emil Ivov <emcho@jitsi.org> wrote:
>
>> On 25.03.14, 15:15, Jonathan Lennox wrote:
>>>
>>> On Mar 25, 2014, at 4:55 AM, Saúl Ibarra Corretgé
>>> <saul@ag-projects.com> wrote:
>>>>>
>>>>>
>>>>>> It occurred to me that SIP has a way of saying "do ICE, or
>>>>>> fail the call": putting a "Require: ice" SIP option tag
>>>>>> (from RFC 5768) in the SIP INVITE.
>>>>>>
>>>>>> Should we recommend this?  It clearly has the right
>>>>>> semantics, and will prevent interop failure when a non-ICE
>>>>>> SIP endpoint answers a XEP-176 Jingle call.
>>>>>
>>>>> Theoretically that makes sense.
>>>>
>>>> Agreed. Maybe a gateway could do ICE on behalf of the non-ICE
>>>> capable endpoint, so can we say this is implementation specific
>>>> and thus add a MAY to it?
>>>
>>> Right, of course.  I was talking about how you’d want to handle a
>>> signaling-only gateway.
>>
>> There's also "XEP-0177: Jingle Raw UDP Transport Method" which is
>> basically equivalent to ICE-less SIP.
>>
>> That said, I don't mind mandating ICE at all.
>
> Right, but there’s no way for a Jingle client to offer a choice
> between XEP-176 and XEP-177, whereas RFC 5245 requires that both ICE
> and fallback non-ICE be supported.

Well, an XMPP initiator would not offer the ice-udp transport method if 
the responder didn't advertise support via XMPP service discovery (i.e., 
only advertised support for raw-udp). So, in general, fallback shouldn't 
really be necessary. However, we have defined a protocol flow for it 
just in case:

http://xmpp.org/extensions/xep-0176.html#fallback

Peter