Re: [pntaw] More on draft-hutton-rtcweb-nat-firewall-considerations

Melinda Shore <> Tue, 24 September 2013 16:18 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id A61C321F9C05 for <>; Tue, 24 Sep 2013 09:18:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.443
X-Spam-Status: No, score=-2.443 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, SUBJECT_FUZZY_TION=0.156]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id QPUYJk8TA8X9 for <>; Tue, 24 Sep 2013 09:18:58 -0700 (PDT)
Received: from ( [IPv6:2607:f8b0:400e:c03::231]) by (Postfix) with ESMTP id 38EF421F9C0D for <>; Tue, 24 Sep 2013 09:18:58 -0700 (PDT)
Received: by with SMTP id ld10so5141768pab.8 for <>; Tue, 24 Sep 2013 09:18:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vBnzGVdhLL0mKAIQKDOt48oNtCTEC6QHDYwcuZeR7u0=; b=LV9mrNQPh2pZ728Qh00nWyhtzrQrtcp3BJQPhI903o1JpXF/WIMPZ13YOupNi6jDoa vELvMUq9zK6dfgiowZjHhJfoKmIniaSX4EopMPYEKRFXvXfrO/mOJ+Oil7nkIa7EadSi jgGKd2sKGg9xRlFCqPf4ikTBPTJQZ8odmBYu8fhG9y0mQ3YEq5n0PIu5Bq0bqhFNMdQA 8Ixr5bF+ZzBOH4LUmTvwCieHWUZDFP+Td8w09R29e5TpkO2O8T6vdSO4cvXel2QHyp23 g7D4ucoJtVihH7e6VJyEJgy2s6WGrjJjpvg4FGC+emPwoB4ZI5WKeC76iTmLMYuD0dka eWxA==
X-Received: by with SMTP id qe1mr28428232pbb.25.1380039537884; Tue, 24 Sep 2013 09:18:57 -0700 (PDT)
Received: from spandex.local ( []) by with ESMTPSA id sn4sm37315284pbc.37.1969. (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Sep 2013 09:18:56 -0700 (PDT)
Message-ID: <>
Date: Tue, 24 Sep 2013 08:18:53 -0800
From: Melinda Shore <>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: "Tirumaleswar Reddy (tireddy)" <>
References: <> <> <>
In-Reply-To: <>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "" <>
Subject: Re: [pntaw] More on draft-hutton-rtcweb-nat-firewall-considerations
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion list for practices related to proxies, NATs, TURN, and WebRTC" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 24 Sep 2013 16:18:58 -0000

On 9/24/13 1:19 AM, Tirumaleswar Reddy (tireddy) wrote:
> We had discussed in BEHAVE WG to change TURN REST API draft to use
> OAuth. With OAuth, the WebRTC client will get self-contained token with
> lifetime, session key etc in the signaling protocol which will be used
> by the TURN client to compute message integrity for the TURN request.
> TURN server will use the token to get the session key, validate the TURN
> request and also compute the message integrity for the TURN response.
> This solves the problem of not exposing long-term credentials to the
> java script.

The primary win, I think, is that  by allowing someone you trust
to say "Yes, this user is authorized to perform this action" it
provides some mitigation against the possibility of abuse by
an attacker wishing to punch holes in your firewall.  OAuth
is not, strictly speaking, an authentication mechanism, although
it may look that way to the relying party.  How the user authenticates
to the IdP is, strictly speaking, out of scope, here.

Authentication on its own is probably not sufficient.  Just because
I can prove who I am doesn't mean that I am permitted to punch
holes through the firewall, at least not in the general case,
and while I think you're likely to run into resistance if you
try to roll your own authorization token I do think that you'll
need something to be able to authorize hole-punching.

I'll reiterate that I think you need to deal with the firewall
vs. NAT distinction if you want to get this document through
IETF review, should it ever progress that far.  STUN and TURN have
not been used for creating firewall pinholes before, at least not
in the IETF.