Re: [tram] Fwd: New Version Notification for draft-johnston-tram-stun-origin-03.txt

Alan Johnston <alan.b.johnston@gmail.com> Mon, 30 June 2014 18:45 UTC

Return-Path: <alan.b.johnston@gmail.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 7B33A1A063C for <tram@ietfa.amsl.com>; Mon, 30 Jun 2014 11:45:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 w0tCtYlTv12T for <tram@ietfa.amsl.com>; Mon, 30 Jun 2014 11:45:19 -0700 (PDT)
Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 926281A0601 for <tram@ietf.org>; Mon, 30 Jun 2014 11:45:18 -0700 (PDT)
Received: by mail-we0-f177.google.com with SMTP id u56so8438976wes.8 for <tram@ietf.org>; Mon, 30 Jun 2014 11:45:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=W5eIZVKRxfZAWlBcrCC7ZdmA/hoPfJJuANloZEKDRiY=; b=N8+0wfrc2sbJOTwduvd+1IKrIvht4ARWDLxuW5wfFP9js84uMbKW/uXam2SzHWEUIk KHN6QxMJIicIAZ5dK69CYB+iRx7ra9+a6qR2SISpKrBB9RS9T08/4auvzs7BrCZKlSv4 V89AiuE8+aJC5QkQZ4dqdf48c7YJLmpVEfV3D7Rvcyn/Up5sRV6t7x4ejRDVkO8wM4cQ jPiG54MVsaxih2XtMD75IXK5Uo04ICpWL2fcx47Xkz9GgDuICk2vF1xdWLN8rLhvRDH+ g+XomEka4+6GWulXDlk7oShB9XVmHsbfLXghX+VxjCu+gtVI3ctmj0kR1b857dyEfzsQ fTWw==
MIME-Version: 1.0
X-Received: by 10.180.20.15 with SMTP id j15mr31789943wie.60.1404153916081; Mon, 30 Jun 2014 11:45:16 -0700 (PDT)
Received: by 10.217.152.200 with HTTP; Mon, 30 Jun 2014 11:45:16 -0700 (PDT)
In-Reply-To: <CABkgnnV_fGAQQRk3-=VZGxbtT7jwwG2so0j+pYxZHVyJxH+EUQ@mail.gmail.com>
References: <20140628165007.32702.46107.idtracker@ietfa.amsl.com> <CAKhHsXGc_SGo1MSNXJvNL8wt51G8Hs4yOyVt6vh83RKiHpoO1Q@mail.gmail.com> <CABkgnnV_fGAQQRk3-=VZGxbtT7jwwG2so0j+pYxZHVyJxH+EUQ@mail.gmail.com>
Date: Mon, 30 Jun 2014 13:45:16 -0500
Message-ID: <CAKhHsXHRj0aMFoZcUpkV2T+-Z9=VdK4LgdchTYvE6_99k2oSxw@mail.gmail.com>
From: Alan Johnston <alan.b.johnston@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Content-Type: multipart/alternative; boundary="bcaec53f398560d4d004fd120f4b"
Archived-At: http://mailarchive.ietf.org/arch/msg/tram/UYAq6c0l5yuuRegtECgi1_wdFgI
Cc: "tram@ietf.org" <tram@ietf.org>
Subject: Re: [tram] Fwd: New Version Notification for draft-johnston-tram-stun-origin-03.txt
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: Mon, 30 Jun 2014 18:45:23 -0000

Martin,

Thanks for the feedback on the draft - see my replies below.

- Alan -


On Mon, Jun 30, 2014 at 12:16 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> Some nits on this sentence:
>
>    For a web browser (HTTP User Agent), the contents of the ORIGIN
>    attribute is the unicode-serialization of an origin defined in
>    Section 6.1 of [RFC6454].
>
> I think that using "for a web browser" here is redundant, since the
> entire point of the document is that web browsers are the ones adding
> this (other users are going to add whatever gets them what they want).
>
> The second is that it's the UTF-8 encoding of the unicode-serialization.
>
>
This paragraph, and the two following it define what this new attribute
carries. (The other two paragraphs begin "For a SIP User Agent..." and "For
a Jabber client...")  How about if I say instead:

"If inserted by a web browser, the ORIGIN attribute contains the UTF-8
encoding of the unicode-serialization of an origin defined in Section 6.1
of [RFC6454]."



> And this sentence:
>
>    [...]  It MUST contain a
>    UTF-8 [RFC3629] encoded sequence of characters less than 268 bytes.
>    The value of 268 is chosen to be larger than the maximum 253
>    character domain name plus 8 characters for the URI scheme plus 5
>    characters for the port number.
>
> This arbitrary restriction doesn't seem like a great idea.  If the
> coding efficiency of UTF-8 is strictly better than punycode, then it's
> probably OK, but why be so strict?  Is there a strict need to limit
> this to URIs with 5-character-or-less schemes?
>
>
>
I agree we don't want to limit it to 5-character-or-less URI schemes.  The
reason this text is there is because of concerns that this attribute will
make STUN messages too big. How much extra space should we allow.  Up to
280 octets?  Or should we just point out that origin strings from RFC6454
are likely to be around 253 octets long, and using strings that are
significantly longer is NOT RECOMMENDED.


>
> On 28 June 2014 10:04, Alan Johnston <alan.b.johnston@gmail.com> wrote:
> > All,
> >
> > We have updated the STUN Origin draft.  The major changes relate to:
> >
> > 1. Adding sections on media keep-alive and SIP keep-alive usages
> > 2. Adding a section on multiple origins
> > 3. Adding a section on Implementation Status about the open source
> > implementations of the browser and STUN/TURN server that support the
> ORIGIN
> > attribute
> > 4. Clarified integrity protection of the attribute in the Security
> > Considerations section.
> >
> > These changes are based on all recent reviews and mailing list comments.
> >
> > As always, comments are most welcome!
> >
> > - Alan -
> >
> > ---------- Forwarded message ----------
> > From: <internet-drafts@ietf.org>
> > Date: Sat, Jun 28, 2014 at 11:50 AM
> > Subject: New Version Notification for
> draft-johnston-tram-stun-origin-03.txt
> > To: Kundan Singh <kundan10@gmail.com>, Alan Johnston
> > <alan.b.johnston@gmail.com>, John Yoakum <yoakum@avaya.com>, Justin
> Uberti
> > <justin@uberti.name>
> >
> >
> >
> > A new version of I-D, draft-johnston-tram-stun-origin-03.txt
> > has been successfully submitted by Alan Johnston and posted to the
> > IETF repository.
> >
> > Name:           draft-johnston-tram-stun-origin
> > Revision:       03
> > Title:          An Origin Attribute for the STUN Protocol
> > Document date:  2014-06-28
> > Group:          Individual Submission
> > Pages:          13
> > URL:
> >
> http://www.ietf.org/internet-drafts/draft-johnston-tram-stun-origin-03.txt
> > Status:
> > https://datatracker.ietf.org/doc/draft-johnston-tram-stun-origin/
> > Htmlized:
> > http://tools.ietf.org/html/draft-johnston-tram-stun-origin-03
> > Diff:
> > http://www.ietf.org/rfcdiff?url2=draft-johnston-tram-stun-origin-03
> >
> > Abstract:
> >    STUN, or Session Traversal Utilities for NAT, is a protocol used to
> >    assist other protocols traverse Network Address Translators or NATs.
> >    STUN, and STUN extensions such as TURN, or Traversal Using Relays
> >    around NAT, and ICE, Interactive Communications Establishment, have
> >    been around for many years but with WebRTC, Web Real-Time
> >    Communications, STUN and related extensions are about to see major
> >    deployments and implementation due to these protocols being
> >    implemented in browsers.  This specification defines an ORIGIN
> >    attribute for STUN that can be used in similar ways to the HTTP
> >    header field of the same name.  WebRTC browsers utilizing STUN and
> >    TURN would include this attribute which would provide servers with
> >    additional information about the STUN and TURN requests they receive.
> >    This specification defines the usage of the STUN ORIGIN attribute for
> >    web and SIP contexts.
> >
> >
> >
> >
> > Please note that it may take a couple of minutes from the time of
> submission
> > until the htmlized version and diff are available at tools.ietf.org.
> >
> > The IETF Secretariat
> >
> >
> >
> > _______________________________________________
> > tram mailing list
> > tram@ietf.org
> > https://www.ietf.org/mailman/listinfo/tram
> >
>