Re: [Ice] STUN attribute 0xC057 - What is this?

Taylor Brandstetter <deadbeef@google.com> Fri, 10 June 2016 17:19 UTC

Return-Path: <deadbeef@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 A867112D821 for <ice@ietfa.amsl.com>; Fri, 10 Jun 2016 10:19:17 -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 AHYm7HyMZIzE for <ice@ietfa.amsl.com>; Fri, 10 Jun 2016 10:19:16 -0700 (PDT)
Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com [IPv6:2607:f8b0:4002:c05::22e]) (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 EA24C12D098 for <ice@ietf.org>; Fri, 10 Jun 2016 10:19:15 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id c72so72173964ywb.1 for <ice@ietf.org>; Fri, 10 Jun 2016 10:19:15 -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=2TwTzxR7jNI7VF6yjFVwRih70/AAf3rIJGx5xOYwbRc=; b=ZO5jURFeoLN+E8dsxGF14KIbCVarjxK+u/6Q7fKfhUA9NZbl0feh6fcDGEMnPE3WZ7 BLyHGq1qQmWRskhZ+ypd2HDAjy5bGLacIiu2iroq6JURWkfqUpTCFe8nMMFsHfCOAX22 C98igEBTMojwnt+3EwkKrRATLBmMTkpCiXgrs8xJoHhQTu7kNs9y/LabtaXIX2bMlXYj enQiVvn/S8GBT+gHch1IveBmWcQ170rjmYIlq6zFuEhFeUIeWbYkuM0bhtkpMdd8Xd9v BbY2geCUtK+B2nt+hO/jxTt++ppy9QNkj50hZXtnnqafV+qH67LuCPWVwPS+5xYZCBsd 2izg==
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=2TwTzxR7jNI7VF6yjFVwRih70/AAf3rIJGx5xOYwbRc=; b=aE2Xdri4HY6eL3frEUCK7YoQqe3v1lj4SsQ7UGj6N1je+ZqVfI4+7AxRQTnMjfYDb3 qa+HNgCnbxBCyZP80o7zIh4hYPoTrQbUDnN9+D6lkuHHrTsaowGG62gCo4nbOvdQF/Zd GgByGkpAkB3GiXa9ci4kC1h9+TcTmCDPlgpFrokLAfC88b7TBZc6t4944sU6wGcx4CNS 26ulio4KimQecUfMi14XkCotFHoiugLqU9AZ+/aw4OMB7BZx5zT66Kpo4qYlIDak6ilW l/xDknp8Ff4aqR9GMMyU4mNNzKAQKU0vyhIZAKxNkPq590OkfOABvdgbIhYdNiP57YAh X6lg==
X-Gm-Message-State: ALyK8tIxchUfSTzcRlGaUrpJoMaf1sFcc6QWbIfR9oiJxmihHXg6eI31xf2ldMtJAMyjcNukfMy64fD5pDkWvOoJ
X-Received: by 10.129.89.212 with SMTP id n203mr1848423ywb.102.1465579154999; Fri, 10 Jun 2016 10:19:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.13.233.194 with HTTP; Fri, 10 Jun 2016 10:19:14 -0700 (PDT)
In-Reply-To: <C3FF0F69-2BC2-412E-A54A-97713429194D@live555.com>
References: <C3FF0F69-2BC2-412E-A54A-97713429194D@live555.com>
From: Taylor Brandstetter <deadbeef@google.com>
Date: Fri, 10 Jun 2016 10:19:14 -0700
Message-ID: <CAK35n0a6dNJng3=Ex5393fK7zn73u+oeNNwLPuW+Ven8C+Wu+w@mail.gmail.com>
To: Ross Finlayson <finlayson@live555.com>
Content-Type: multipart/alternative; boundary="001a11491644eceaef0534efbc14"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/gOAus-n6Ll3hfTfBC6zVd6_VTkE>
Cc: ice@ietf.org
Subject: Re: [Ice] 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: Fri, 10 Jun 2016 17:19:18 -0000

Not off-topic at all, actually. We're using 0xC057 for an experimental
"network cost" attribute, which is described in this draft:
https://tools.ietf.org/html/draft-thatcher-ice-network-cost-00

This is used in order to communicate an endpoint's preference for different
networks (if the endpoint is using multiple network interfaces), so that
the controlling ICE endpoint can select the preferred one based on certain
criteria. We can't just use the ICE candidate priority, because the "type
preference" part of the priority (local, stun, relay) takes precedence over
the "local preference". There are other reasons as well, which are
discussed in the draft.

On Thu, Jun 9, 2016 at 6:15 PM, Ross Finlayson <finlayson@live555.com>
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?
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
> _______________________________________________
> Ice mailing list
> Ice@ietf.org
> https://www.ietf.org/mailman/listinfo/ice
>