Re: [rtcweb] CNAMEs and multiple peer connections

Magnus Westerlund <magnus.westerlund@ericsson.com> Mon, 10 March 2014 14:42 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E24AB1A0437 for <rtcweb@ietfa.amsl.com>; Mon, 10 Mar 2014 07:42:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.851
X-Spam-Level:
X-Spam-Status: No, score=-3.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, 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 Rc8eH-a--pLx for <rtcweb@ietfa.amsl.com>; Mon, 10 Mar 2014 07:42:28 -0700 (PDT)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id 7267C1A0434 for <rtcweb@ietf.org>; Mon, 10 Mar 2014 07:42:27 -0700 (PDT)
X-AuditID: c1b4fb2d-b7f5d8e000002a7b-47-531dcf4d7b69
Received: from ESESSHC011.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 54.11.10875.D4FCD135; Mon, 10 Mar 2014 15:42:21 +0100 (CET)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.53) with Microsoft SMTP Server id 14.2.347.0; Mon, 10 Mar 2014 15:42:11 +0100
Message-ID: <531DCF44.1000203@ericsson.com>
Date: Mon, 10 Mar 2014 15:42:12 +0100
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>, Dan Wing <dwing@cisco.com>
References: <CABkgnnWGQ7GtKd33iF-RNbkeAyqKYshaPDDB=sAh5o-izKichQ@mail.gmail.com> <C702F0CB-0BBF-4A55-97A7-EC44FFAAC62B@cisco.com> <CABkgnnUaHHZqdsA5VQY9HgO-iJESOKfbhkgBqNdMYYGGMsHNuA@mail.gmail.com>
In-Reply-To: <CABkgnnUaHHZqdsA5VQY9HgO-iJESOKfbhkgBqNdMYYGGMsHNuA@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBLMWRmVeSWpSXmKPExsUyM+Jvja7vedlgg/vbZC0uXnvIZHHtzD9G i7X/2tkdmD2m/N7I6rFz1l12jyVLfjIFMEdx2aSk5mSWpRbp2yVwZcyYOp+9YK9QxdW77g2M X/m6GDk4JARMJDovxXUxcgKZYhIX7q1n62Lk4hASOMQo8eViAytIQkhgOaPE1qdCIDavgLZE Y+dxsDiLgKrE308TmEFsNgELiZs/GtlAbFGBYImdB34zQtQLSpyc+YQFxBYR8JT4sGMHmM0s oC5xZ/E5dhBbWMBK4snhAywQi48xSixZ+RdsAadAoMStFxNYIQ4Vl+hpDILo1ZOYcrWFEcKW l2jeOpsZ4k5tiYamDtYJjEKzkKyehaRlFpKWBYzMqxjZcxMzc9LLDTcxAkP34JbfujsYT50T OcQozcGiJM774a1zkJBAemJJanZqakFqUXxRaU5q8SFGJg5OqQZGdf2rhzYu3PRjv9CdN1+P thm2T5jdyeCrYhF/ruTD8vlneu6WHNrRLuw7sWbDdtNTExqqD8gtVVzFOt27ZtlvntJINcs+ q+8Lauwb/Po8t2y6wn+wt0BiWaJOitStbNFXUZJRz+bzX96S2/nY357N98LGD9c0Xxmd/S9d ueb9bRZ/n8KV0yxmKLEUZyQaajEXFScCAFiLdswrAgAA
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/szASwva-0S2AwCSo_v0dHHNIzyk
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] CNAMEs and multiple peer connections
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Mar 2014 14:42:30 -0000

On 2014-03-08 07:48, Martin Thomson wrote:
> On 7 March 2014 20:14, Dan Wing <dwing@cisco.com> wrote:
>> About half a year ago, AVTCORE published an updated recommendation
>> for CNAME as RFC7022.  Is its guidance insufficient?
> 
> Necessary, but not sufficient.  Unfortunately, the definition of a 
> "session", while sufficient for the description in 7022, is not
> quite precise enough for this use case.  The implication there is
> that it means "RTP session", which is both not at the right level of 
> granularity, and not directly actionable.

So, within a PeerConnection one have one or more RTP sessions, depending
on how one configures it. That RTP session MAY be interconnected with
other PeerConnection's RTP sessions by a middlebox.

As long as this is different end-points PCs there is little issues. The
interesting case here is if one end-point connects multiple PCs to the
same middlebox and starts seeing its own traffic due to the middlebox
not being built for this usage and the JS programmer thinks this is okay
to do.

The end-point can always detect this, as it knows all its used CNAMEs,
and can note that they are looped back to itself if this check is
implemented. If one have the same CNAME is both PC's RTP session
instances the RTP stack is more likely to detect this without code
changes as a loop.

The only reason I can see for having multiple PCs being connected to the
same middlebox would be if that makes the setup of QoS simpler, but I
think MST individual RTP sessions within the context of one PC is more
straight forward to ensure that one have unique 5-tuples per media stream.

> 
> I also note this little gem:
> 
> A longer-term persistent RTCP CNAME is sometimes useful to
> facilitate third-party monitoring, consistent with [RFC3550].

Yes, but that is clearly not suitable for WebRTC.

Cheers

Magnus Westerlund

----------------------------------------------------------------------
Services, Media and Network features, Ericsson Research EAB/TXM
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Färögatan 6                 | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------