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

Paul Kyzivat <pkyzivat@alum.mit.edu> Tue, 25 November 2014 19:30 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 AB3D71A0367 for <mmusic@ietfa.amsl.com>; Tue, 25 Nov 2014 11:30:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.635
X-Spam-Level:
X-Spam-Status: No, score=-0.635 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, J_CHICKENPOX_15=0.6, SPF_SOFTFAIL=0.665] autolearn=no
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 xeaWHtFVoRvx for <mmusic@ietfa.amsl.com>; Tue, 25 Nov 2014 11:30:53 -0800 (PST)
Received: from resqmta-po-07v.sys.comcast.net (resqmta-po-07v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:166]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 04CE51ACD32 for <mmusic@ietf.org>; Tue, 25 Nov 2014 11:30:52 -0800 (PST)
Received: from resomta-po-04v.sys.comcast.net ([96.114.154.228]) by resqmta-po-07v.sys.comcast.net with comcast id KvWK1p00A4vw8ds01vWsve; Tue, 25 Nov 2014 19:30:52 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.151]) by resomta-po-04v.sys.comcast.net with comcast id KvWr1p00K3Ge9ey01vWrH2; Tue, 25 Nov 2014 19:30:52 +0000
Message-ID: <5474D8EB.5030209@alum.mit.edu>
Date: Tue, 25 Nov 2014 14:30:51 -0500
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Christer Holmberg <christer.holmberg@ericsson.com>, "mmusic@ietf.org" <mmusic@ietf.org>
References: <7594FB04B1934943A5C02806D1A2204B1D534E7B@ESESSMB209.ericsson.se> <E1FE4C082A89A246A11D7F32A95A17828E63BC0F@US70UWXCHMBA02.zam.alcatel-lucent.com> <7594FB04B1934943A5C02806D1A2204B1D53595D@ESESSMB209.ericsson.se> <E1FE4C082A89A246A11D7F32A95A17828E63BE81@US70UWXCHMBA02.zam.alcatel-lucent.com> <7594FB04B1934943A5C02806D1A2204B1D535B26@ESESSMB209.ericsson.se> <E1FE4C082A89A246A11D7F32A95A17828E63BF30@US70UWXCHMBA02.zam.alcatel-lucent.com> <7594FB04B1934943A5C02806D1A2204B1D535BB7@ESESSMB209.ericsson.se> <786615F3A85DF44AA2A76164A71FE1AC36940A@FR711WXCHMBA03.zeu.alcatel-lucent.com>, <5474D2D0.3010509@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B1D53663A@ESESSMB209.ericsson.se>
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1D53663A@ESESSMB209.ericsson.se>
Content-Type: text/plain; charset="windows-1256"; format="flowed"
Content-Transfer-Encoding: 8bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1416943852; bh=9bjCqnjm8LAm+cX292wei1H6AFMi8Fd7JJi0qEADXV4=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=KCZudLGTl4hOw6IY370nq5+wOST4JtTz0hzx+htNmwKjqiMiD5FSMDXrki/jHPHV9 gQyGU44CiC5P/GscDyqMoOf7/CXeA2GEo8mqUjIiX+KzJUYK7roEsqtQGQpFHkx8Sw TgD3Mo/hbqxTt5v76dwiz5ZywUUfZ3dYS+odAI7KFXxbNoKTn41mWgAryNXIsy/Jkp GQLuPDerGrfVzcnR1EpyvpEB28N8vBzpXHtadl6KTAB1Kewm59FVfePDIZiVaAfgHj IAPRDbVor93P57bnGyDLiKEdWEU69CIKpUx69UepmvaOPJALEx0vN3t/TwZPmySNmm 0Tur4IN3eJ2LA==
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/PexWyY-yBbnw44eiFw7Eqoz_ukQ
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: Tue, 25 Nov 2014 19:30:54 -0000

On 11/25/14 2:13 PM, Christer Holmberg wrote:
> Hi Paul,
>
> My question was not about multihoming, about the fact that an SCTP
> endpoint is only allowed to create a single association, which would
> mean that we could only have one SCTP usage per SDP session.

I know your question wasn't about multihoming. I brought it up because 
of an inference on my part that the restriction you reference is 
probably related to multihoming - that different addresses will be bound 
to the same association rather than to different ones. That assumes 
there is isn't any way to distinguish the differing usages and allow 
them to coexist in some sensible way.

> ...unless, "SCTP device" is bound to a specific address:port, in which
> case an SDP body could contain multiple SCTP associations - at least if
> they were un-bundled. Within a BUNDLE group, however, it would mean that
> only one SCTP association is allowed.

In a bundle group, with SCTPoDTLS, ISTM you could have multiple SCTP 
associations, each on a distinct SCTP port. I don't see any ambiguity 
there. But it will require added specification of how bundle works in 
that case. Clearly they won't be multihomed - SCTPoDTLS can't be.

	Thanks,
	Paul

> Regards,
>
> Christer
>
>
> Sent from my Windows Phone
> ------------------------------------------------------------------------
> From: Paul Kyzivat <mailto:pkyzivat@alum.mit.edu>
> Sent: ‎25/‎11/‎2014 21:05
> To: mmusic@ietf.org <mailto:mmusic@ietf.org>
> Subject: Re: [MMUSIC] Single SCTP usage per SDP session?
>
> I've been trying to follow this thread, without much success. But I
> hadn't seen much said that seemed to be authoritative about SCTP until I
> got to this message. But without going to study 4960 I don't find the
> quote below to be very enlightening either.
>
> It does seem like it must be important to identify exactly what an SCTP
> endpoint is. It may well be that an SDP offerer or answerer might be
> allowed to be managing multiple SCTP endpoints.
>
> I will guess that the constraint Christer is asking about has something
> to do with multihomed SCTP associations, and the need to recognize that
> all of those are tied together. I don't know how that is expected to be
> done in SDP, if at all. I don't see any way within SDP to explicitly
> identify multiple IP address/port combinations for the same SCTP
> association. Perhaps if the c-line has a DNS name, and that can be
> resolved to multiple IP addresses?
>
> ISTM that, absent some additional bundle extensions, every SCTP m-line
> in an SDP offer/answer should be considered to be bound to a separate
> SCTP association.
>
>          Thanks,
>          Paul
>
> On 11/25/14 9:26 AM, Schwarz, Albrecht (Albrecht) wrote:
>> To SCTP (RFC 4960), - and without consideration of SCTP protocol object
>> represenation in SDP:
>>
>> RFC 4960 defines actually /(SCTP)-transport-connection-endpoints/ (using
>> OSI-BRM terminology), equated as SCTP endpoint.
>>
>> Whereas an /(SCTP)-endpoint/ usually relates to the /SCTP protocol
>> implementation/ in an open system (terminal, gateway, etc).
>>
>> An (SCTP)-endpoint is always able to /instantiate multiple
>> (SCTP)-connection-endpoint/ or /(SCTP)-transport-connection-endpoint
>> objects/ (given that the open systems provides multihomed IP host support).
>>
>> Hence, there’s a 1:N relation between (SCTP)-endpoint and
>> (SCTP)-(transport)-connection-endpoints.
>>
>> Consequently, an SDP media description ( c/m lines) indicates an
>> (SCTP)-transport-connection-endpoint object, but not an (SCTP)-endpoint.
>>
>> Fairly precise and clear in OSI-BRM terms (but you might be in trouble
>> if you equate both).
>>
>> -Albrecht
>>
>> *From:*mmusic [mailto:mmusic-bounces@ietf.org] *On Behalf Of *Christer
>> Holmberg
>> *Sent:* Dienstag, 25. November 2014 15:04
>> *To:* Makaraju, Maridi Raju (Raju); mmusic@ietf.org
>> *Subject:* Re: [MMUSIC] Single SCTP usage per SDP session?
>>
>> Hi,
>>
>> /<Christer> This was discussed in Honolulu, and the agreement was that the setup attribute will NOT be used to determine who initiates the SCTP association. Instead BOTH endpoints are supposed to trigger the initiation. The setup attribute will only be used  to determine the TLS role./
>>
>> */<Raju2>/*
>>
>> /2 use cases:/
>>
>> /1.SCTP over DTLS: For this yes, a=setup is for DTLS./
>>
>> /   The sctp port usage needs be clarified indicating it is the server port, not the client port./
>>
>> /  /
>>
>> /<Christer2> Yes./
>>
>> /  /
>>
>> /  /
>>
>> /2.Native SCTP: I believe a=setup is for SCTP association./
>>
>> /When a=setup:passive/actpass is used the sctp port usage needs to be clarified indicating it is the server port. When a=setup:active is used port must be 9 (discard port). This needs clarification as well./
>>
>> /Both sides trying to open SCTP simultaneously is probably ok because SCTP allows them to be converted into single association if there are simultaneous INITs (or INIT chunk received in ESTABLISHED state) on the same 4-tuple. This is per RFC 4960 section5.2.1<http://tools.ietf.org/html/rfc4960#section-5.2.1>  and5.2.2
> <http://tools.ietf.org/html/rfc4960#section-5.2.2>  ./
>>
>> /But the key here is same 4-tuple, which means the client must use same **server port** to initiate an outgoing association. If this is not done then, the end result will be 2 SCTP associations setup and/or one of them may be rejected and may depend on implementation./
>>
>> /So, I believe some clarifications are needed in this area./
>>
>> /  /
>>
>> /<Christer2> So, assuming we don’t use (per the agreement in Honolulu) a=setup for the SCTP association, we would need to mandate (or, at least say SHOULD) usage of the server port also to initiate an outgoing association, in order to avoid 2 SCTP associations./
>>
>> /  /
>>
>> /But, that also applies to SCTP over DTLS, doesn’t it?/
>>
>> */<Raju3>/*
>>
>> */Sorry, it actually ONLY applies to SCTP over DTLS. I misplaced the above description under “native SCTP” instead of “SCTP over DTLS”. For native SCTP, as discussed, a=setup negotiation determines which side initiates SCTP association, so the semantics are  very clear here./*
>>
>> */  /*
>>
>> /<Christer3> The idea was to not use a=setup for any “type” of SCTP, including native SCTP./
>>
>> /  /
>>
>> /Regards,/
>>
>> /  /
>>
>> /Christer/
>>
>>
>>
>> _______________________________________________
>> mmusic mailing list
>> mmusic@ietf.org
>>https://www.ietf.org/mailman/listinfo/mmusic
>>
>
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic