Re: [Ice] draft-thatcher-ice-network-cost (was Re: STUN attribute 0xC057 - What is this?)

Peter Thatcher <pthatcher@google.com> Mon, 27 June 2016 19:35 UTC

Return-Path: <pthatcher@google.com>
X-Original-To: ice@ietfa.amsl.com
Delivered-To: ice@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A59D12D7B4 for <ice@ietfa.amsl.com>; Mon, 27 Jun 2016 12:35:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.126
X-Spam-Level:
X-Spam-Status: No, score=-4.126 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 LXu-dzyji_Ko for <ice@ietfa.amsl.com>; Mon, 27 Jun 2016 12:35:32 -0700 (PDT)
Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96EBB12D0B2 for <ice@ietf.org>; Mon, 27 Jun 2016 12:35:32 -0700 (PDT)
Received: by mail-qk0-x232.google.com with SMTP id t127so222977996qkf.1 for <ice@ietf.org>; Mon, 27 Jun 2016 12:35:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=R+839x3R9tbyMVIvBMZagljDSU0xjpDNqb3fpkWv6OE=; b=oCXvldOhqmPGPro51kOnk+4/BCoQNVcMBTiUcocBLSJePTSr6dRTrYmLMWbowzTP8e mT44ulwk0bFNIEOCgk+SYeFGywQLnmtSmAQSBDXvNwMfmz7FBSdbs7hsv+yc2q3CdySb X+R2+UpM/ENkHssUhZpRpSQsie8qo1CWRjUK0kiAVW7WRlEZ/3QUSpmNGsf6qHEuTxbE ritElXEC9hpbMpqzSpslURspbNw2ugfRAjwQGNvihJkv+zMXXLAY5Q817WUSj2fj43Zk iRv7exmmsWgXcAH8bow2HdFR+ZXeMJsbnGyZiTJIHcu9bMCnva+vIyrbsBcCXAC2VXcK SPzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=R+839x3R9tbyMVIvBMZagljDSU0xjpDNqb3fpkWv6OE=; b=AX/RfntYx91k23mAJRhDjvUTm5EuLDJrf91vndnRvlkvUjunNKnDjY/2Aera249Q6j MhHXbpDGxjSGow1pWb47nkqR5N37NKB3NGtri+ZHgMrwu2lWIuHIEblXKqaaMzZRIbB2 ruGLtfkFi5eq7xcFrOgSIyRNAdfO7uesGRtQSfvKWQWmrZW4QzhWZbKQDyHcgNt3fFpL DObSCuZmKqDyoaMXZDcT27Go4tyUQgL/cM/g2tr8iM3f1HM39rHQbG71w+Ca0A7kIZ7+ c8d/GGiYL0Y+m7WJJcOdyOiiCb6KZEpkx/uV2PrEo9jiQe0ZxpfifIyK9CJHg/m+aT38 w1eQ==
X-Gm-Message-State: ALyK8tICaiekgbceaNx8QppA/3Tt4yhXKslSAMx5by5ok/GrxvrV9wu8/RSSXyjFV3Pb/gnjxewVm1b3j/kxQ7bs
X-Received: by 10.233.239.87 with SMTP id d84mr4426034qkg.68.1467056131591; Mon, 27 Jun 2016 12:35:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.140.198 with HTTP; Mon, 27 Jun 2016 12:34:52 -0700 (PDT)
In-Reply-To: <14d29af6-91f1-e782-c64c-9dfc29e5676c@nostrum.com>
References: <C3FF0F69-2BC2-412E-A54A-97713429194D@live555.com> <14d29af6-91f1-e782-c64c-9dfc29e5676c@nostrum.com>
From: Peter Thatcher <pthatcher@google.com>
Date: Mon, 27 Jun 2016 12:34:52 -0700
Message-ID: <CAJrXDUHMgVyoNdZyK1VjYNuC4Bu4KE6ZZ0QP+vb0X3xNw8+ucQ@mail.gmail.com>
To: Adam Roach <adam@nostrum.com>
Content-Type: multipart/alternative; boundary="94eb2c0b821a97255a0536479ff3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/dsT_425CBemF7nVs7srbc9Q_07s>
Cc: Ross Finlayson <finlayson@live555.com>, ice@ietf.org
Subject: Re: [Ice] draft-thatcher-ice-network-cost (was Re: STUN attribute 0xC057 - What is this?)
X-BeenThere: ice@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Interactive Connectivity Establishment \(ICE\)" <ice.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ice>, <mailto:ice-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ice/>
List-Post: <mailto:ice@ietf.org>
List-Help: <mailto:ice-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ice>, <mailto:ice-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Jun 2016 19:35:36 -0000

On Thu, Jun 9, 2016 at 7:10 PM, Adam Roach <adam@nostrum.com> wrote:

> On 6/9/16 8:15 PM, Ross Finlayson wrote:
>
>> (Apologies in advance for the slightly off-topic question)
>>
>> I’ve found that my STUN server (in my WebRTC server implementation) often
>> receives STUN Binding Requests that contain an unknown attribute type
>> 0xC057.  This attribute is always 4-bytes long, with each of the four bytes
>> being zero.
>>
>> This unknown attribute is sent by Chrome (and Opera) browsers, but
>> apparently never by Firefox.
>>
>> According to RFC 5389 (and IANA), STUN attribute 0xC057 is unassigned,
>> but is in the 'Designated Expert’ Comprehension-Optional range.
>>
>> Does anyone know what this is?
>>
>
> Yep, it's part of the webrtc.org code:
>
>
> https://chromium.googlesource.com/external/webrtc/+/6ab3db249b075e0e820a263d54804f521e7bc24b/webrtc/p2p/base/stun.h#611
>
> It appears to have been introduced here:
>
> https://codereview.webrtc.org/1815473002

​

>
> And it seems to be described, at least at a high level, here:
>
> https://tools.ietf.org/html/draft-thatcher-ice-network-cost-00
>
> ​
Yes, that's what it is.  ​
​  It's our implementation of the draft whereby an ICE endpoint can
indicate how much it thinks a network interface will cost to use (wifi vs
cell, for example).​




> Maybe Peter will explain his draft further? I would suggest that the IANA
> section, at least, is incorrect.
>
>
​I don't know what to say other than read the draft.  It's quite short.  I
will hopefully be presenting about it at IETF 96.

You are correct that I should update the IANA section of the draft to
indicate we'll need to register a STUN attribute (instead of the temporary
0xC057).



> /a
>
> _______________________________________________
> Ice mailing list
> Ice@ietf.org
> https://www.ietf.org/mailman/listinfo/ice
>