Re: [MMUSIC] Single SCTP usage per SDP session?

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 26 November 2014 19:00 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 41F101A038E for <mmusic@ietfa.amsl.com>; Wed, 26 Nov 2014 11:00:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_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 E71wJAIIz0pg for <mmusic@ietfa.amsl.com>; Wed, 26 Nov 2014 11:00:41 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BD6831A0166 for <mmusic@ietf.org>; Wed, 26 Nov 2014 11:00:40 -0800 (PST)
X-AuditID: c1b4fb3a-f79116d000000fec-12-547623569547
Received: from ESESSHC015.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 25.83.04076.65326745; Wed, 26 Nov 2014 20:00:38 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.126]) by ESESSHC015.ericsson.se ([153.88.183.63]) with mapi id 14.03.0195.001; Wed, 26 Nov 2014 20:00:38 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "Makaraju, Maridi Raju (Raju)" <Raju.Makaraju@alcatel-lucent.com>, Salvatore Loreto <salvatore.loreto@ericsson.com>
Thread-Topic: [MMUSIC] Single SCTP usage per SDP session?
Thread-Index: AdAIiilGRQ9HT1LDRYu/Q2dfZ4TTzAAxes8AAAUE9XD///IzAP//5OAwgABrp4D//7ZsQA==
Date: Wed, 26 Nov 2014 19:00:37 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1D539F4F@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B1D534E7B@ESESSMB209.ericsson.se> <2649C056-4D86-4448-B71F-A42954E1BF49@ericsson.com> <7594FB04B1934943A5C02806D1A2204B1D538EF9@ESESSMB209.ericsson.se> <07B6DC62-93DB-4C15-BECE-68BB70B663FB@ericsson.com> <7594FB04B1934943A5C02806D1A2204B1D5390C0@ESESSMB209.ericsson.se> <E1FE4C082A89A246A11D7F32A95A17828E63E883@US70UWXCHMBA02.zam.alcatel-lucent.com>
In-Reply-To: <E1FE4C082A89A246A11D7F32A95A17828E63E883@US70UWXCHMBA02.zam.alcatel-lucent.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.148]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDLMWRmVeSWpSXmKPExsUyM+JvjW6YclmIweMjRhZTlz9msWjYeIXV gcmj9dleVo8lS34yBTBFcdmkpOZklqUW6dslcGX03/vCVLBLp2Jnw0mWBsYnSl2MnBwSAiYS O3Y1MULYYhIX7q1n62Lk4hASOMIocX76SihnCaNEy4NVQFUcHGwCFhLd/7RBGkQEKiXOzF0E FmYWUJe4ujgIJCwMVDFvVzszRImlxJxP76HsMIkzWzvAdrEIqEqce9jJCtLKK+ArMXNVAcSm KcwSfyftYgWp4RSIlbjwqAGsnhHotu+n1jCB2MwC4hK3nsxngrhZQGLJnvPMELaoxMvH/1gh bCWJxiVPWCHqdSQW7P7EBmFrSyxb+BqsnldAUOLkzCcsExjFZiEZOwtJyywkLbOQtCxgZFnF KFqcWlycm25kpJdalJlcXJyfp5eXWrKJERg9B7f8ttrBePC54yFGAQ5GJR5eA6fSECHWxLLi ytxDjNIcLErivAvPzQsWEkhPLEnNTk0tSC2KLyrNSS0+xMjEwSnVwGiowOytEXk05dWzLJ6b VssenYz+lH9oQ5rL7KWLIx5F+MZsPtT1dlZpwHZ5M0P5d2vq1+f7dm2feHzVzqrbKuYH1IPn rv7+MDDIce3avT++fD3zzGyZYvmLr0uMf9Q+yBHsllga2Ha9xzGj8luOrY1aq8uE5IsGgv9c pRYGKZy/tnKXvkTTcRUlluKMREMt5qLiRACZ0FVFfwIAAA==
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/vlOwxN36h9qOjDptL3zGUaTdVpg
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] Single SCTP usage per SDP session?
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 26 Nov 2014 19:00:43 -0000


-----Original Message-----
From: Makaraju, Maridi Raju (Raju) [mailto:Raju.Makaraju@alcatel-lucent.com] 
Sent: 26 November 2014 17:30
To: Christer Holmberg; Salvatore Loreto
Cc: mmusic@ietf.org
Subject: RE: [MMUSIC] Single SCTP usage per SDP session?


> 
> >>> Hopefully there are some SCTP experts in da hause that can clarify 
> >>> the
> following:
> >>>
> >>> Previously, in the SCTP-SDP discussions, we have agreed that for a 
> >>> given
> SCTP/SCTPoDTLS/DTLSoSCTP association, we will only allow a single 
> usage (e.g. a webrtc-datachannel).
> >>>
> >>> So, if one wants multiple usages, one needs to establish multiple
> associations, using multiple m- lines.
> >>>
> >>> BUT, according to RFC 4960, two SCTP endpoints MUST NOT have more 
> >>> than
> one SCTP association between them at any given time. Not exactly sure 
> why, but that is what the text says.
> >>>
> >>>      "SCTP association: A protocol relationship between SCTP endpoints,
> >>>                 composed of the two SCTP endpoints and protocol 
> >>> state
> information
> >>>                 including Verification Tags and the currently 
> >>> active set
> of
> >>>                 Transmission Sequence Numbers (TSNs), etc.  An
> association can be
> >>>                 uniquely identified by the transport addresses 
> >>> used by
> the
> >>>                 endpoints in the association.  Two SCTP endpoints 
> >>> MUST
> NOT have
> >>>                 more than one SCTP association between them at any 
> >>> given
> time."
> >>>
> >>> <Sal>
> >>> That is not a problem.
> >>> As it has also already suggested it is enough to use a different 
> >>> port
> number on one side.
> >>> </Sal>
> >>
> >> After discussing with an SCTP expert, my understanding is that it 
> >> is
> enough to have a unique 4-tuple for each SCTP association.
> >>
> >> So, that means that SDP can contain multiple m- lines describing an 
> >> SCTP
> association, as long as each use unique 4-tuples.
> >>
> >> However, afaik, that means that a BUNDLE group CANNOT contain 
> >> multiple
> SCTP associations, as they would all share the same 4-tuple.
> >>
> >>
> >>> <Sal>
> >>> note also that in
> >>> https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-dtls-encaps-06
> >>> we already have the following text that implies that is possible 
> >>> to have multiple SCTP associations between two endpoints
> >>>
> >>>  o  Multiple SCTP associations MAY be multiplexed over a single DTLS
> >>>     connection.  The SCTP port numbers are used for multiplexing and
> >>>     demultiplexing the SCTP associations carried over a single DTLS
> >>>     connection.
> >>
> >> Based on the one-SCTP-assocation-per-4-tuple assumption, isn't that 
> >> text
> wrong?
> >
> > <Sal>
> > the text is correct!
> > because it implies that different SCTP associations use different 
> > ports
> (i.e. each of them use an unique 4-tuples)
> >	-> "The SCTP port numbers are used for multiplexing and
> demultiplexing..."
> > </Sal>
> 
> Well, in case of SCTPoDTLS one could claim that the SCTP port is not 
> really part of the 4-tuple. But, if the tsvwg folks are ok to 
> multiplex multiple SCTP associations using a single UDP/TCP port, then 
> fine... I don't have any strong opinion - I just want to clarify :)
> 
> However, in the SCTP-SDP discussions in Honolulu it was agreed to only 
> allow a single SCTP association in the case of SCTPoDTLS (even if 
> draft-ietf- tsvwg-sctp-dtls-encaps allows multiple). The reason is 
> that you would otherwise have multiple m- lines with the same port 
> value (even if you don't use BUNDLE), as the port indicates the UDP/TCP port - not the SCTP port.

<Raju>
> Per my understanding, draft-ietf-tsvwg-sctp-dtls-encaps just talks about SCTP over DTLS and allowing multiple SCTP associations, which is perfectly fine.
> Then it is possible to come up with SCTP-SDP semantics to use that capability.
> One m= line allowing one SCTP over DTLS limit is fine. Using BUNDLE you can replicate same 4-tuple in multiple m= lines. Then there is only one DTLS association 
> established and multiple SCTP associations over that is possible (one per m= line).
> If BUNDLE is not used then I believe same 4-tuple on multiple m= lines are NOT possible. This is because, per my understanding, unlike TCP/native-SCTP used under non-
> ICE environments, in ICE-environments the TCP/UDP port specified is used both as client and server port for DTLS. 

Even with BUNDLE, you would have to use the same m= line port value from the beginning, which is not allowed. So, you basically would have to add the additional SCTPoDTLS m= lines once the usage of BUNDLE has been negotiated.

> I am not sure if draft-ietf-mmusic-sctp-sdp makes any distinction between use of ICE or not. I believe the semantics for port in m= line are different when ICE is used vs. ICE > is not used.
> - When ICE is used it is the client as well as the server port.
>-  When ICE is not used, the port is the server port and not the client port. For a=setup:active cases discard port 9 is used per RFC 4145, which draft-ietf-mmusic-sctp-sdp 
> refers.

Per the agreement in Honolulu, there will be no port 9 for SCTP, as the agreement was that both endpoints will initiate the SCTP association.

And, in order to prevent two separate SCTP associations to be established, the m= line port needs to indicate both the client and server port also without ICE.

Regards,

Christer