Re: [MMUSIC] SCTP question: Where does it multiplex?

Salvatore Loreto <salvatore.loreto@ericsson.com> Sat, 01 December 2012 11:03 UTC

Return-Path: <salvatore.loreto@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 65AA721F84DC for <mmusic@ietfa.amsl.com>; Sat, 1 Dec 2012 03:03:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.649
X-Spam-Level:
X-Spam-Status: No, score=-105.649 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, HELO_EQ_SE=0.35, HTML_MESSAGE=0.001, J_CHICKENPOX_111=0.6, J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xR3QcKDXC3NA for <mmusic@ietfa.amsl.com>; Sat, 1 Dec 2012 03:03:13 -0800 (PST)
Received: from mailgw2.ericsson.se (mailgw2.ericsson.se [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id 1816421F8485 for <mmusic@ietf.org>; Sat, 1 Dec 2012 03:03:12 -0800 (PST)
X-AuditID: c1b4fb25-b7f926d00000661f-57-50b9e3efe853
Received: from esessmw0191.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id 54.88.26143.FE3E9B05; Sat, 1 Dec 2012 12:03:11 +0100 (CET)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0191.eemea.ericsson.se (153.88.115.85) with Microsoft SMTP Server id 8.3.279.1; Sat, 1 Dec 2012 12:03:10 +0100
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id E68F62420 for <mmusic@ietf.org>; Sat, 1 Dec 2012 13:03:10 +0200 (EET)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id C1F0B53D1D for <mmusic@ietf.org>; Sat, 1 Dec 2012 13:03:09 +0200 (EET)
Received: from Salvatore-Loretos-MacBook-Pro.local (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 6B46153D1C for <mmusic@ietf.org>; Sat, 1 Dec 2012 13:03:09 +0200 (EET)
Message-ID: <50B9E3ED.6010604@ericsson.com>
Date: Sat, 01 Dec 2012 13:03:09 +0200
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: mmusic@ietf.org
References: <5093A2C9.9040001@alvestrand.no>
In-Reply-To: <5093A2C9.9040001@alvestrand.no>
Content-Type: multipart/alternative; boundary="------------030003070604020701090703"
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsUyM+Jvje77xzsDDDadlbOYuvwxiwOjx5Il P5kCGKO4bFJSczLLUov07RK4MrYuW8Be8NCu4kfHROYGxln6XYycHBICJhIz+2czQ9hiEhfu rWfrYuTiEBI4yShx9u4OdghnPaPE7v7zUJkLjBIHZl9kgXAOM0rM3DWVCcI5wyjx9VAzC8gw XgFtiZ5lb8AGswioSGxbuBYsziZgJvH84RawuKhArMTWS5fZIOoFJU7OfAJWIyIgLDHj7V+w uLCArcSRpZNZQWwhAR2JbRP/gPVyCuhKfP85jQnEZhYIkzjd+oUd4gk1iavnNjFD1GtJ9J7t ZJrAKDwLyYpZSFogbFuJC3OuQ8XlJba/ncMMYetKXPg/BUV8ASPbKkb23MTMnPRyo02MwPA/ uOW36g7GO+dEDjFKc7AoifNab93jLySQnliSmp2aWpBaFF9UmpNafIiRiYNTqoHRPvhw0M9v Ku0ZzjLvnulk3V2q8ntixplaXn3xfYJTttZ/VC2b0xrw6cuH43d4Ez+/WcJXfWHljqlKorwc bmcz5O02Vcs4lb2MYNO9sO58/qcK/ood727M4NvK+u6LeIrPazHvzmtnL678tH9u7ArtcEuO lf8uGzU/TfrOL9TteqayPuXcd+lOJZbijERDLeai4kQAJyUxU00CAAA=
Subject: Re: [MMUSIC] SCTP question: Where does it multiplex?
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: Sat, 01 Dec 2012 11:03:14 -0000

Hi Harald,

sorry to be late on this
and thanks a lot for raising the question

IMO how to multiplex DTLS/SCTP traffic with te rest of the "WebRTC" 
traffic is something that belongs
to the BUNDLE discussion, and there won't be anything about how to 
bundle in this draft.
To answer your question at present I don't think there should be 
anything special for DTLS/SCTP

However, what I have in my working copy on the draft (I will publish it 
at some point next week)
and it can be interesting to you is the possibility to have multiple 
SCTP associations on top of the same
DTLS connection (for future WebRTC scenarios, or non WebRTC scenarios):

        Running SCTP over DTLS make possible to have multiple SCTP
        associations on top of the same DTLS connection; each SCTP
        association make use of a distinct port number that is mainly
    used to
        demultiplex the associations.  If the <proto> sub-field is 'DTLS/
        SCTP' the <fmt> sub-fields contain SCTP association port numbers.
        When a list of port number identifiers is given, this implies that
        all of these associations MUST run on top of the DTLS connection.
        For the payload type assignments the "a=sctpmap:" attribute
        SHOULD be used to map from a port number to a media
        encoding name that identifies the payload format transported by the
        association or the actual application protocol running on top of it.


                   m=application 54111 DTLS/SCTP 5000 5001 5002
                   c=IN IP4 79.97.215.79
                   a=sctpmap:5000 protocol=webrtc-DataChannel;streams=16
                   a=sctpmap:5001 protocol=XXX;streams=2
                   a=sctpmap:5002 protocol=YYY;streams=1


best regards
Salvatore



On 11/2/12 12:39 PM, Harald Alvestrand wrote:
> As currently specified, the DTLS/SCTP protocol is carefully specified 
> in such a way that it can ride on the same 5-tuple as an SRTP session. 
> I'd like to keep that property when we SDP-negotiate it.
>
> The proposed syntax for DTLS/SCTP seems to be
>
> m=<something, likely application> <port number> DTLS/SCTP <fmt data, 
> mostly meaningless>
>
> I see two ways to define this as a multiplex:
>
> - Give the same port number as another m= line in the same SDP session
> - Give a meaningless port number, and use the a=group:BUNDLE (of 
> whatever flavor) to give which port number it's actually multiplexed 
> together with.
>
> The best way to do this may be obvious after the BUNDLE discussion, 
> but in case there are other considerations .... are there thoughts?
>
>                Harald
>
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic
>


-- 
Salvatore Loreto, PhD
www.sloreto.com