Re: [rtcweb] TURN server address via DHCP, WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11

"Karl Stahl" <> Thu, 26 September 2013 15:27 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id C888D11E80D2 for <>; Thu, 26 Sep 2013 08:27:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.089
X-Spam-Status: No, score=-2.089 tagged_above=-999 required=5 tests=[AWL=0.061, BAYES_00=-2.599, MSGID_MULTIPLE_AT=1.449, RCVD_IN_DNSWL_LOW=-1]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id oh5VAETItB0U for <>; Thu, 26 Sep 2013 08:27:22 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id C259E11E8109 for <>; Thu, 26 Sep 2013 08:27:20 -0700 (PDT)
Received: from ([]) by (Telecom3 SMTP service) with ASMTP id 201309261727165400; Thu, 26 Sep 2013 17:27:16 +0200
From: Karl Stahl <>
References: <> <> <> <> <>
In-Reply-To: <>
Date: Thu, 26 Sep 2013 17:27:16 +0200
Message-ID: <0d7a01cebacc$e20a65b0$a61f3110$@stahl>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AQHOuH4XwliCL5K4nkCG0uCnhbf1JJnWFfMAgAHIA1CAABYNkA==
Content-Language: sv
Subject: Re: [rtcweb] TURN server address via DHCP, WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 26 Sep 2013 15:27:26 -0000

Here comes the suggestion I got from my developer that would allow a network
provider to offer his TURN server for the WebRTC browser to use. This would
require NO new DHCP-options or similar, and NO OS changes (I do realize
those should be avoided if possible...).

The idea is still, that whoever is responsible for giving a device an IP
address (the network provider or a LAN administrator) can also announce a
TURN server for the WebRTC browser to use.

The suggestion is to use RFC6763 (DNS-Based Service Discovery, see chapter
11) where the network provider (the owner of the IP address) has set up a
DNS PTR record for the TURN server in the domain. 

If the device got IP, then make a query for the PTR record
Then the SRV record would return the actual address to the TURN server (and
you may find several for load balancing and failover I guess)

If the device is on a LAN, the IP to query would be the WAN
IP you get via STUN in the ICE process. But if the LAN administrator
provides a local TURN server, then he also should have blocked STUN in the
firewall, and the browser should query the device's local host address (as
in the ICE procedure) and the local LAN DNS server should answer the query
to give the local TURN server address on the LAN.

Shouldn't this work to allow network provider to offer his TURN server
"automatically and generally"?

And wouldn't this work nicely for mobile devices, whenever the device is on
a "WebRTC-ready access" (actually good for everything using ICE), whether
fixed, WiFi or 3G/4G OTT, you get also a TURN server (and the network
provider hopefully offers a prioritized pipe there as one usage of this

Not to slow down every call setup by doing this in the ICE process, I guess
this could be done when starting the browser and when the device gets a new
IP address, to have the TURN server address ready for later use.


-----Ursprungligt meddelande-----
Från: [] För
Skickat: den 26 september 2013 14:06
Ämne: Re: [rtcweb] TURN server address via DHCP, WGLC of


Cullen Jennings wrote:
> I will note that browsers have many ways to learn about HTTP proxies 
> from the network and it seems to me that using some of theses same 
> technique might also be a good way to learn about TURN servers.

I agree. I assume that in enterprises it would be the same people managing
both of these.

Is there something the IETF can or should do about this, or do we just
assume it will happen? A new DHCP option is something the IETF could easily
do, but I also doubt how usable that would be. 

rtcweb mailing list