Re: [tram] Stephen Farrell's Discuss on draft-ietf-tram-turn-third-party-authz-13: (with DISCUSS and COMMENT)

Brandon Williams <brandon.williams@akamai.com> Tue, 14 April 2015 12:37 UTC

Return-Path: <brandon.williams@akamai.com>
X-Original-To: tram@ietfa.amsl.com
Delivered-To: tram@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB14D1A0067 for <tram@ietfa.amsl.com>; Tue, 14 Apr 2015 05:37:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.611
X-Spam-Level:
X-Spam-Status: No, score=-2.611 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 EOX7t_4nWmcV for <tram@ietfa.amsl.com>; Tue, 14 Apr 2015 05:37:19 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (prod-mail-xrelay07.akamai.com [72.246.2.115]) by ietfa.amsl.com (Postfix) with ESMTP id D4D901A00A7 for <tram@ietf.org>; Tue, 14 Apr 2015 05:37:14 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 9B30447723 for <tram@ietf.org>; Tue, 14 Apr 2015 12:37:13 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id 7DF164774F for <tram@ietf.org>; Tue, 14 Apr 2015 12:37:13 +0000 (GMT)
Received: from [172.28.115.172] (unknown [172.28.115.172]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id 7A48B80047 for <tram@ietf.org>; Tue, 14 Apr 2015 12:37:13 +0000 (GMT)
Message-ID: <552D09F9.9090404@akamai.com>
Date: Tue, 14 Apr 2015 08:37:13 -0400
From: Brandon Williams <brandon.williams@akamai.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: tram@ietf.org
References: <20150410193813.20376.40907.idtracker@ietfa.amsl.com> <55282B4E.4000409@akamai.com> <913383AAA69FF945B8F946018B75898A411FFC5F@xmb-rcd-x10.cisco.com> <CABkgnnUyHTd83LWM0Lp0xOJnVp3Gt6KvrbuGkraejP7kwEJf7w@mail.gmail.com> <CALDtMrLO-kqM4LTOgKJq90swE52k0draQ110t5Q8GVfUwPFpUQ@mail.gmail.com> <913383AAA69FF945B8F946018B75898A4120D628@xmb-rcd-x10.cisco.com>
In-Reply-To: <913383AAA69FF945B8F946018B75898A4120D628@xmb-rcd-x10.cisco.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/tram/s5BHLjVNSsKhDHJXWyrHPPqW2DE>
Subject: Re: [tram] Stephen Farrell's Discuss on draft-ietf-tram-turn-third-party-authz-13: (with DISCUSS and COMMENT)
X-BeenThere: tram@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussing the creation of a Turn Revised And Modernized \(TRAM\) WG, which goal is to consolidate the various initiatives to update TURN and STUN." <tram.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tram>, <mailto:tram-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tram/>
List-Post: <mailto:tram@ietf.org>
List-Help: <mailto:tram-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tram>, <mailto:tram-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Apr 2015 12:37:22 -0000

I don't think OOB communication b/w the STUN and auth servers is a 
solution to the problem of wanting to provide additional details in the 
token. It defeats a large part of the purpose of moving to a token model 
in the first place, which was to avoid the need for these two servers to 
have to communicate directly with each other.

I agree with Martin that it would be useful to have the capability to 
communicate additional information in the token, and I don't recall that 
it was decided that the token wouldn't have this capability (unless by 
decided you mean there wasn't enough interest in the discussion). I 
don't agree that this would necessarily be bad for interoperability, 
provided that individual bits of additional information are never 
required to be present or required to be understood if they are present. 
A list of TLVs at the end of the data space would not be particularly 
difficult to support.

I don't feel strongly enough about providing such a mechanism to push 
for it, but I would be supportive if someone else does.

--Brandon

On 04/14/2015 02:02 AM, Tirumaleswar Reddy (tireddy) wrote:
>> -----Original Message-----
>> From: Oleg Moskalenko [mailto:mom040267@gmail.com]
>> Sent: Tuesday, April 14, 2015 10:57 AM
>> To: Martin Thomson
>> Cc: Tirumaleswar Reddy (tireddy); tram-chairs@ietf.org; tram@ietf.org;
>> Brandon Williams; rlb@ipv.sx; Salz, Rich; Stephen Farrell
>> (stephen.farrell@cs.tcd.ie)
>> Subject: Re: [tram] Stephen Farrell's Discuss on draft-ietf-tram-turn-third-
>> party-authz-13: (with DISCUSS and COMMENT)
>>
>> On Mon, Apr 13, 2015 at 11:17 AM, Martin Thomson
>> <martin.thomson@gmail.com> wrote:
>>>
>>> Section 4 doesn't permit any additional information to be carried in
>>> the token.  Therefore, the STUN/TURN server is unable to apply any
>>> additional policies that the authorization server might impose, such
>>> as limits on the length of the session, the number of ports allocated,
>>> or the bandwidth that is allocated.  (Or whatever we might later
>>> conceive of.)
>>
>> I believe that extra token information is a very very bad idea - it kills the
>> whole interoperability thing in the draft. If we are adding "extra"
>> information to the token, we can as well just kill the draft and tell the STUN
>> server developers "do whatever you want, secure the stuff somehow, we do
>> not care".
>
> It was discussed in the WG and decision was not to carry any extra token information so as to keep the token size small. In future an out-of-band communication mechanism b/w STUN and authorization server to exchange the token related metadata can be defined similar to the OAuth 2.0 Token Introspection method defined in https://tools.ietf.org/html/draft-ietf-oauth-introspection-07.
>
> -Tiru
> _______________________________________________
> tram mailing list
> tram@ietf.org
> https://www.ietf.org/mailman/listinfo/tram
>

-- 
Brandon Williams; Senior Principal Software Engineer
Emerging Products Engineering; Akamai Technologies Inc.