Re: [MMUSIC] RFC 5245: ice-ufrags of length 256 vs stun maximum username length of 512 bytes

Ari Keränen <ari.keranen@ericsson.com> Sun, 03 November 2013 23:21 UTC

Return-Path: <ari.keranen@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2257511E824F for <mmusic@ietfa.amsl.com>; Sun, 3 Nov 2013 15:21:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.64
X-Spam-Level:
X-Spam-Status: No, score=-5.64 tagged_above=-999 required=5 tests=[AWL=0.309, BAYES_00=-2.599, HELO_EQ_SE=0.35, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IVSM31qWdoNu for <mmusic@ietfa.amsl.com>; Sun, 3 Nov 2013 15:21:20 -0800 (PST)
Received: from mailgw2.ericsson.se (mailgw2.ericsson.se [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id 8B1F421F9703 for <mmusic@ietf.org>; Sun, 3 Nov 2013 15:21:19 -0800 (PST)
X-AuditID: c1b4fb25-b7eff8e000000eda-af-5276da6e183d
Received: from ESESSHC011.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id 60.88.03802.E6AD6725; Mon, 4 Nov 2013 00:21:18 +0100 (CET)
Received: from mail.lmf.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.53) with Microsoft SMTP Server id 14.2.328.9; Mon, 4 Nov 2013 00:21:18 +0100
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id D8584110475; Mon, 4 Nov 2013 01:21:17 +0200 (EET)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id CF8D44EBB4; Mon, 4 Nov 2013 01:21:16 +0200 (EET)
Received: from dhcp-91d2.meeting.ietf.org (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 901CA4EB9E; Mon, 4 Nov 2013 01:21:15 +0200 (EET)
Message-ID: <5276DA6D.9040904@ericsson.com>
Date: Sun, 03 Nov 2013 15:21:17 -0800
From: Ari Keränen <ari.keranen@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>, Philipp Hancke <fippo@goodadvice.pages.de>
References: <520B299F.9060409@goodadvice.pages.de> <CABkgnnVMTjNfBQYUa5if-o4vKaxB_7NguAZJ8qiu=_mGDF9ePQ@mail.gmail.com> <alpine.DEB.2.00.1308160938080.14145@lo.psyced.org> <CABkgnnXLjAtkFk-b_4bEodJLJdbx7nbEGaSaZE_JxC4R45ZKYw@mail.gmail.com>
In-Reply-To: <CABkgnnXLjAtkFk-b_4bEodJLJdbx7nbEGaSaZE_JxC4R45ZKYw@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPLMWRmVeSWpSXmKPExsUyM+JvjW7erbIggwlXRC3evp7KbHHtzD9G i6nLH7M4MHvsnHWX3eP2xC0sHkuW/GQKYI7isklJzcksSy3St0vgyrh57SZjwTbWijM7jrM2 MK5m6WJk55AQMJFYnNDFyAlkiUlcuLeerYuRi0NI4BAjkLODBcJZzygxd8JlKGcPo0T7hS6o srWMEgsbP7GA9IM5tz8YgNi8AtoSu9b0MoHYLAIqEp0L14PZbAL2EjcnXGcHsUUFkiWeXbjO DFEvKHFy5hOwOSIC0RJzfy4HqufgYBZQl7i6OAgkLCyQLnF2dzcjxN4PjBJXW5eA9XIKBErs fLeNFcRmFrCVuDDnOguELS+x/e0cZojf1CSuntvEDHGnqsTVf68YJzCKzkKyehaS9llI2hcw Mq9iZM9NzMxJLzfaxAiMhINbfqvuYLxzTuQQozQHi5I474e3zkFCAumJJanZqakFqUXxRaU5 qcWHGJk4OKUaGOtXnLPK5lcITlWTaVzbq/dk/oSO6+//v15zyu98wcvGN3HTCxZfDjGIe9yQ qtueWFZ6JkmJy2Bv/4U7V/3mJwVlVp5+k9v4Sbos8lt1/TavkNfevMYclw6bLj8c5p3R6Rc0 r+5X/4wXF+bM/dWTv6OuY3O00O5T1Q/vL5w45SvDAp3XtbPeqSmxFGckGmoxFxUnAgDiBcDI UgIAAA==
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] RFC 5245: ice-ufrags of length 256 vs stun maximum username length of 512 bytes
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Nov 2013 23:21:34 -0000

On 8/16/13 9:13 AM, Martin Thomson wrote:
> On 16 August 2013 00:48, Philipp Hancke <fippo@goodadvice.pages.de> wrote:
>> It's probably a good idea to mention this explicitly in 5245bis or
>> draft-ietf-mmusic-ice-sip-sdp though.
>
> Mention, or just fix.
>
> I'm guessing that this has never really been tested in practice, so
> fixing is probably quite feasible.

Apparently a simple fix would be to make offered ice-ufrag max length in 
ICE-bis 255 (instead of 256).

This would even be nicely backward-compatible since the other (legacy) 
endpoint can still offer 256 chars long ufrag and we would not end up 
exceeding the max length for STUN username.


Cheers,
Ari