Re: [tram] Request to update STUN's IANA registration in STUNbis work

Simon Perreault <simon@per.reau.lt> Fri, 16 May 2014 18:19 UTC

Return-Path: <simon@per.reau.lt>
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 4D28B1A030D for <tram@ietfa.amsl.com>; Fri, 16 May 2014 11:19:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level:
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, SPF_HELO_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 r9j84JMZ30jJ for <tram@ietfa.amsl.com>; Fri, 16 May 2014 11:19:06 -0700 (PDT)
Received: from nomis80.org (nomis80.org [23.92.21.33]) by ietfa.amsl.com (Postfix) with ESMTP id 894A81A02EF for <tram@ietf.org>; Fri, 16 May 2014 11:19:06 -0700 (PDT)
Received: from [IPv6:2001:470:1d:bc0:3075:8c58:53ee:f195] (unknown [IPv6:2001:470:1d:bc0:3075:8c58:53ee:f195]) by nomis80.org (Postfix) with ESMTPSA id 90E7210EA6 for <tram@ietf.org>; Fri, 16 May 2014 18:20:00 +0000 (UTC)
Message-ID: <53765692.60509@per.reau.lt>
Date: Fri, 16 May 2014 14:18:58 -0400
From: Simon Perreault <simon@per.reau.lt>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: tram@ietf.org
References: <536734AA.2050006@ericsson.com> <536A0326.7040704@getjive.com>
In-Reply-To: <536A0326.7040704@getjive.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/tram/2QyG1BxCDMH6Y1yZaGeqqGSQuOs
Subject: Re: [tram] Request to update STUN's IANA registration in STUNbis work
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: Fri, 16 May 2014 18:19:08 -0000

>                     +----------------+
>                     | 127 < B < 192 -+--> forward to RTP
>                     |                |
>         packet -->  |  19 < B < 64  -+--> forward to DTLS
>                     |                |
>                     |       B < 2   -+--> forward to STUN
>                     +----------------+

Here's my reasoning...

I'm pretty sure the RFC 5764 authors looked at RFC 3489, for which B < 2 
would have been correct. The fact that draft-mcgrew-tls-srtp-00, which 
did contain the above graph, was published long before RFC 5389 was 
reinforces that hypothesis.

With RFC 5389, B < 64 would be necessary, ergo the conflict with DTLS.

I'm unable to find a justification for 19 < B < 64 --> DTLS. Can anyone 
please spell it out for me? I'm just going to assume it is correct.

Fact: There are currently no registered STUN methods which would 
actually cause STUN packets to be wrongly forwarded to DTLS by an 
implementation of RFC 5764.

Fact: B < 2 limits the number of STUN methods to 128. There are 
currently 13 methods registered. I know of no plans to register many 
STUN methods such that a limit of 128 would become problematic.

Fact: If STUN-bis restricts to 128 the range of STUN methods, current 
implementations, of either STUNv1, STUNv2, or RFC 5764, will *not* need 
to be modified. STUN-bis could split on 0-63 for IETF Review and 64-127 
for Designated Expert so that we can keep our dual registration procedures.

Opinion: The only disadvantage I can see to making this change in 
STUN-bis would be a loss of STUN method range. I think we can live with 
it. If at some point we can't live with it anymore, which I doubt will 
ever happen, then we would need to revise both RFC 5764 and STUN-bis. 
There's no need for a revision of RFC 5764 now.

Simon