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

Ari Keränen <ari.keranen@ericsson.com> Mon, 04 November 2013 05:47 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 3A1ED11E82E0 for <mmusic@ietfa.amsl.com>; Sun, 3 Nov 2013 21:47:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.62
X-Spam-Level:
X-Spam-Status: No, score=-5.62 tagged_above=-999 required=5 tests=[AWL=0.329, 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 aqZct9i6m6Em for <mmusic@ietfa.amsl.com>; Sun, 3 Nov 2013 21:47:39 -0800 (PST)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id 60C0211E82D7 for <mmusic@ietf.org>; Sun, 3 Nov 2013 21:47:39 -0800 (PST)
X-AuditID: c1b4fb2d-b7f1c8e000005ceb-7c-527734f6b662
Received: from ESESSHC003.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 78.82.23787.6F437725; Mon, 4 Nov 2013 06:47:34 +0100 (CET)
Received: from mail.lmf.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.29) with Microsoft SMTP Server id 14.2.328.9; Mon, 4 Nov 2013 06:47:34 +0100
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id 472BC110475; Mon, 4 Nov 2013 07:47:34 +0200 (EET)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 480CD4EB9E; Mon, 4 Nov 2013 07:47:32 +0200 (EET)
Received: from dhcp-91d2.meeting.ietf.org (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id D6A604EB9A; Mon, 4 Nov 2013 07:47:30 +0200 (EET)
Message-ID: <527734F3.4090901@ericsson.com>
Date: Sun, 03 Nov 2013 21:47:31 -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: 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> <5276DA6D.9040904@ericsson.com> <52773432.20100@goodadvice.pages.de>
In-Reply-To: <52773432.20100@goodadvice.pages.de>
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+Jvje43k/Igg3lPDCzevp7KbHHtzD9G i6nLH7M4MHvsnHWX3eP2xC0sHkuW/GQKYI7isklJzcksSy3St0vgyph0fBtzQRdrxcPbB5kb GP8zdzFyckgImEj8mPGIDcIWk7hwbz2YLSRwiFHi1B3rLkYuIHs9o8SWbW9YIZw9jBJvPrWy QzhrGSX+P+phgXM+TFzC1MXIwcEroC0xa2U0yCgWARWJbb/bWUBsNgF7iZsTrrOD2KICyRLP LlwHO4NXQFDi5MwnYDUiAnoSG3etZQMZwywQInHhSChIWFggXeLs7m5GiOu2Mkmc/ZsLYnMK GEp8ObSbFcRmFrCVuDDnOguELS+x/e0cqC/VJK6e28QM0asqcfXfK8YJjKKzkGyehaR9FpL2 BYzMqxjZcxMzc9LLDTcxAiPh4JbfujsYT50TOcQozcGiJM774a1zkJBAemJJanZqakFqUXxR aU5q8SFGJg5OqQbGvJL0W3v820V+nzu2Y4YGc4GVnu+qBT0Lv4Tfcf3VrXbVguP+9P+pOr4n 52TcWHNGdEnHrDi9m4VX3E7Mf6Wjmb94EYPgN/9dBsYnY3jm/OSeKrviyPYZLbyJF54ZrVDP cd069xOzFZP+LWU5h1YLdu8cDptPLhOYolLW7f+cev60Y53f9gAbJZbijERDLeai4kQA6lQ4 WFICAAA=
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: Mon, 04 Nov 2013 05:47:51 -0000

On 11/3/13 9:44 PM, Philipp Hancke wrote:
>> 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.
>
> And on the other side, if an ice-bis endpoint receives a ice-ufrag of
> length 256 from a "legacy" endpoint, it can still restrict it's reply to
> 255 chars.
> This might be easier to describe as "accept 256 chars, but do not send
> more than 255 chars".

Exactly.


Cheers,
Ari