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

"Makaraju, Maridi Raju (Raju)" <Raju.Makaraju@alcatel-lucent.com> Wed, 26 November 2014 15:30 UTC

Return-Path: <Raju.Makaraju@alcatel-lucent.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 2D3331A01D6 for <mmusic@ietfa.amsl.com>; Wed, 26 Nov 2014 07:30:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] 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 G2L3MyIXWp6w for <mmusic@ietfa.amsl.com>; Wed, 26 Nov 2014 07:30:32 -0800 (PST)
Received: from smtp-fr.alcatel-lucent.com (fr-hpida-esg-02.alcatel-lucent.com [135.245.210.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 088891A0145 for <mmusic@ietf.org>; Wed, 26 Nov 2014 07:30:32 -0800 (PST)
Received: from us70uusmtp4.zam.alcatel-lucent.com (unknown [135.5.2.66]) by Websense Email Security Gateway with ESMTPS id 6AFBD3E3DE2C7; Wed, 26 Nov 2014 15:30:26 +0000 (GMT)
Received: from US70TWXCHHUB03.zam.alcatel-lucent.com (us70twxchhub03.zam.alcatel-lucent.com [135.5.2.35]) by us70uusmtp4.zam.alcatel-lucent.com (GMO) with ESMTP id sAQFUREd021557 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 26 Nov 2014 10:30:28 -0500
Received: from US70UWXCHMBA02.zam.alcatel-lucent.com ([169.254.8.56]) by US70TWXCHHUB03.zam.alcatel-lucent.com ([135.5.2.35]) with mapi id 14.03.0195.001; Wed, 26 Nov 2014 10:30:27 -0500
From: "Makaraju, Maridi Raju (Raju)" <Raju.Makaraju@alcatel-lucent.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>, Salvatore Loreto <salvatore.loreto@ericsson.com>
Thread-Topic: [MMUSIC] Single SCTP usage per SDP session?
Thread-Index: AQHQCVh2RQ9HT1LDRYu/Q2dfZ4TTzJxzCswAgAABnACAAA02gP//08kQ
Date: Wed, 26 Nov 2014 15:30:27 +0000
Message-ID: <E1FE4C082A89A246A11D7F32A95A17828E63E883@US70UWXCHMBA02.zam.alcatel-lucent.com>
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>
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1D5390C0@ESESSMB209.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.5.27.17]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/tS4VsVflxfVNNHo87s39kqA4mcU
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 15:30:34 -0000

> 
> >>> 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. 

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.

</Raju>

BR
Raju