Re: [rtcweb] rtcweb-transports reference to TRAM discovery

"Pal Martinsen (palmarti)" <palmarti@cisco.com> Wed, 17 December 2014 11:37 UTC

Return-Path: <palmarti@cisco.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 46C041A88CF for <rtcweb@ietfa.amsl.com>; Wed, 17 Dec 2014 03:37:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 xZi4Pg8aDYBJ for <rtcweb@ietfa.amsl.com>; Wed, 17 Dec 2014 03:37:25 -0800 (PST)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F3B41A88CC for <rtcweb@ietf.org>; Wed, 17 Dec 2014 03:37:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5412; q=dns/txt; s=iport; t=1418816245; x=1420025845; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=3L4TfO4BMu8P7pnKhdo62Cqjgjur6tg7uAkOA7Kw3TM=; b=cTKVILHSAeR208I4kiq3sN3WabyFK7OJgx9c0x4JQFc5wRwtDhdYkoWJ qGV6L4rN6/0AnYyPzInzu90o95Q6YINvfFHZVpGgKlocfDo3IKhlFukD0 EUDXGKBphnuRh2DmcyAWQmhhjuUolv642fWIC7Q8iDTsDz9QF4Xei7fh0 k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AuEHADRqkVStJV2T/2dsb2JhbABagwZSTQsEgwLCZAqFKEoCHIEDFgEBAQEBfYQMAQEBAwEBAQEgEToLBQsCAQYCEQQBAQECAiMDAgICJQsUAQgIAgQOBYgkCA2hHpxolh0BAQEBAQEBAQEBAQEBAQEBAQEBAQETBIEhjh4zB4JoLoETAQSEKwKJW4hwgQuFEosjIoNsb4FFfgEBAQ
X-IronPort-AV: E=Sophos;i="5.07,593,1413244800"; d="scan'208";a="113867629"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by mtv-iport-2.cisco.com with ESMTP; 17 Dec 2014 11:37:25 +0000
Received: from xhc-rcd-x01.cisco.com (xhc-rcd-x01.cisco.com [173.37.183.75]) by rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id sBHBbNe8027630 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 17 Dec 2014 11:37:24 GMT
Received: from xmb-rcd-x06.cisco.com ([169.254.6.155]) by xhc-rcd-x01.cisco.com ([173.37.183.75]) with mapi id 14.03.0195.001; Wed, 17 Dec 2014 05:37:23 -0600
From: "Pal Martinsen (palmarti)" <palmarti@cisco.com>
To: "Dan Wing (dwing)" <dwing@cisco.com>
Thread-Topic: [rtcweb] rtcweb-transports reference to TRAM discovery
Thread-Index: AdAYdVah0SPsel0ORrys7Zw+IDeNbwAOwVWAAAAno4AAAD+hAAATz+iAACIbVgAAA1/SgAAiPcKA
Date: Wed, 17 Dec 2014 11:37:23 +0000
Message-ID: <D922D989-5BE8-492B-8C16-0DBD55DCC27A@cisco.com>
References: <9F33F40F6F2CD847824537F3C4E37DDF1E63FB08@MCHP04MSX.global-ad.net> <CABcZeBOpX0vM9NJeKY5e+S13oKrLW3Td53qcxRkCHa2=nv=EGg@mail.gmail.com> <CANO7kWBY1MTU1A2fWo0E5Y6TQ1o+vWSz22pnWz6+5s7SFQcP-g@mail.gmail.com> <9F33F40F6F2CD847824537F3C4E37DDF1E63FD67@MCHP04MSX.global-ad.net> <FAA9B38F-1AB8-4E2C-AB02-2525402B4890@cisco.com> <CAOJ7v-3xxVa05kA0SYVYQO324AwLWGUo8f_u534fN_-De0AV4A@mail.gmail.com> <DA5613E8-DAAB-41DC-9A16-4C3D567A607B@cisco.com>
In-Reply-To: <DA5613E8-DAAB-41DC-9A16-4C3D567A607B@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.55.154.74]
Content-Type: text/plain; charset="utf-8"
Content-ID: <BB8EBCB3C219204F924FC099EE807C31@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/xp97I7afCoJ1f_D0vDjDl47uwvs
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] rtcweb-transports reference to TRAM discovery
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: Wed, 17 Dec 2014 11:37:34 -0000

> On 16 Dec 2014, at 20:16, Dan Wing (dwing) <dwing@cisco.com> wrote:
> 
> 
> On Dec 16, 2014, at 9:40 AM, Justin Uberti <juberti@google.com> wrote:
> 
>> Given that TURN servers can be used for STUN, is there a need to autodiscover STUN-only servers?
> 
> I am not aware of spec encouraging such implementations, and I don't know if everyone implementing WebRTC clients is going to be aware that TURN servers can provide useful information about the mapped IP address.  Perhaps it just needs a few sentences in an appropriate spec?
> 
The information is buried deep down in the TURN RFC 5766 Section 6.2. It states that the allocation success response contains a XOR-MAPPED-ADDRESS attribute. (No use of SHOULD or MUST).

It also have a nice note:
"NOTE: The XOR-MAPPED-ADDRESS attribute is included in the response
 as a convenience to the client.  TURN itself does not make use of
 this value, but clients running ICE can often need this value and
 can thus avoid having to do an extra Binding transaction with some
 STUN server to learn it.”

Stating the above in some overview document will help people deploying WebRTC understand the requirements. The text in the TUNR RFC will probably only be read by TURN developers.

More importantly what is missing is text stating that deployed WebRTC turn servers should also send appropriate responses to Binding Requests; in other words act as a STUN server. Not sure about the appropriate spec, but it can go into TURNbis or some WebRTC overview document. 

.-.
Pål-Erik



> -d
> 
> 
>> 
>> On Mon, Dec 15, 2014 at 5:23 PM, 🔓Dan Wing <dwing@cisco.com> wrote:
>> 
>> On Dec 15, 2014, at 7:56 AM, Hutton, Andrew <andrew.hutton@unify.com> wrote:
>> 
>>> +1 Also wondering why it is not appropriate?
>>>  
>>> F20 in the requirements draft states:
>>>  
>>> F20     The browser must support the use of STUN and TURN
>>>            servers that are supplied by entities other than
>>>            the web application (i.e. the network provider).
>>>  
>>> So I was thinking the need for specifying the discovery method would not be controversial.
>> 
>> Note that draft-ietf-tram-turn-server-discovery only discovers TURN servers.  If we need to discover STUN servers, too -- and I think we do -- we need that document to expand its scope or a second document.
>> 
>> I recently attended a talk where Matt Peterson presented Burning Man's network.  That network assigns RFC6598 addresses to each Burning Man "camp", and their ISP provides CGN'd addresses to Burning Man.  Each camp operates its own WiFi network, and we can all reasonably assume they are using typical consumer or SMB NAPT devices for those networks (e.g., D-Link, Linksys, Ubiquity, etc.).  To avoid tromboning camp-to-camp WebRTC traffic to their ISP's CGN, they would benefit from a STUN and a TURN server within the Burning Man network.  His presentation can be found at https://www.nanog.org/meetings/nanog62/agenda (PDF and video).
>> 
>> -d
>> 
>> 
>>>  
>>> Andy
>>>  
>>>  
>>> From: Simon Perreault [mailto:sperreault@jive.com] 
>>> Sent: 15 December 2014 15:49
>>> To: Eric Rescorla
>>> Cc: Hutton, Andrew; rtcweb@ietf.org
>>> Subject: Re: [rtcweb] rtcweb-transports reference to TRAM discovery
>>>  
>>>  
>>> On Mon, Dec 15, 2014 at 10:44 AM, Eric Rescorla <ekr@rtfm.com> wrote:
>>> I do not believe that this is an appropriate requirement
>>> 
>>> Care to say why?
>>>  
>>> Thanks,
>>> Simon
>>> _______________________________________________
>>> 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
>> 
> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb