Re: [AVT] Sockets in multicast DTLS-SRTP

"Dan Wing" <dwing@cisco.com> Fri, 07 May 2010 22:54 UTC

Return-Path: <dwing@cisco.com>
X-Original-To: avt@core3.amsl.com
Delivered-To: avt@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C7E123A6977 for <avt@core3.amsl.com>; Fri, 7 May 2010 15:54:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.302
X-Spam-Level:
X-Spam-Status: No, score=-10.302 tagged_above=-999 required=5 tests=[AWL=0.297, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1zBk1wIhdosT for <avt@core3.amsl.com>; Fri, 7 May 2010 15:54:54 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id B847E3A6869 for <avt@ietf.org>; Fri, 7 May 2010 15:54:54 -0700 (PDT)
Authentication-Results: sj-iport-6.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-AV: E=Sophos;i="4.52,350,1270425600"; d="scan'208";a="526659646"
Received: from sj-core-2.cisco.com ([171.71.177.254]) by sj-iport-6.cisco.com with ESMTP; 07 May 2010 22:54:42 +0000
Received: from dwingwxp01 ([10.32.240.196]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id o47MsglV024620; Fri, 7 May 2010 22:54:42 GMT
From: Dan Wing <dwing@cisco.com>
To: 'Roni Even' <Even.roni@huawei.com>, 'Romain Biehlmann' <romain.biehlmann@gmail.com>
References: <9a06dcf1003230527q39fc7f9bye2ca616599e95cac@mail.gmail.com> <00f101cacad0$9d93fc10$1143150a@cisco.com> <9a06dcf1003240120g29db1b1bxb0f0a3e719336720@mail.gmail.com> <050801cacd12$77e2d420$1796150a@cisco.com> <043201caee37$40f2daf0$c2d890d0$%roni@huawei.com>
Date: Fri, 07 May 2010 15:54:42 -0700
Message-ID: <03f701caee38$48348060$38a66b80@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 11
Thread-Index: AcrLKt4sDzkOYw63Qz6NScUOmstpMAB5tgywCEk61QAAAFS28A==
In-Reply-To: <043201caee37$40f2daf0$c2d890d0$%roni@huawei.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Cc: 'Flemming Andreasen' <fandreas@cisco.com>, avt@ietf.org
Subject: Re: [AVT] Sockets in multicast DTLS-SRTP
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/avt>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 May 2010 22:54:55 -0000

 

> -----Original Message-----
> From: Roni Even [mailto:Even.roni@huawei.com] 
> Sent: Friday, May 07, 2010 3:47 PM
> To: 'Dan Wing'; 'Romain Biehlmann'
> Cc: 'Flemming Andreasen'; avt@ietf.org
> Subject: RE: [AVT] Sockets in multicast DTLS-SRTP
> 
> Dan,
> I am not sure I understand the issue. Are you saying that for 
> multicast
> stream you suggest to send the keys as unicast streams to 
> each participants.

No.

> I am not sure this is even possible since if the session is 
> announced using
> declarative SDP for example in the SSM (single source 
> multicast) the sender
> will not know the receivers and there is no offer answer. I 
> assumed that the
> keys will be sent in the multicast session and will probably 
> will need to be
> repeated. 

Yes; EKT does that.  But we need a way for the authorized
endpoints to learn the EKT key.  DTLS-SRTP, with the extensions
to DTLS-SRTP described in draft-ietf-avt-srtp-ekt, is a way to 
accomplish that.

> One other way if the keys are not in the declarative SDP is 
> to allow the
> receivers to ask for keys when joining the multicast group by 
> using RTCP ffedback.

EKT effectively does that.

-d


> Roni Even
> 
> > -----Original Message-----
> > From: avt-bounces@ietf.org [mailto:avt-bounces@ietf.org] On 
> Behalf Of
> > Dan Wing
> > Sent: Friday, March 26, 2010 9:31 PM
> > To: 'Romain Biehlmann'
> > Cc: 'Flemming Andreasen'; avt@ietf.org
> > Subject: Re: [AVT] Sockets in multicast DTLS-SRTP
> > 
> > Thanks for explaining the issue.  I believe we don't yet know
> > how to have SDP associate a unicast session (for DTLS-SRTP)
> > with a multicast session (for receiving the SRTP-encrypted
> > stream).  I expect there is an answer in MMUSIC's SDP
> > Capability Negotiation and/or what is being done to mix
> > unicast and multicast in draft-ietf-avt-rapid-acquisition-for-rtp,
> > or somewhere.
> > 
> > Flemming Andreasen (CC'd) will take a look at this over the
> > next week (he is editor of SDP Capability Negotiation and
> > co-author of EKT).  But at this point I believe it will
> > require additional standards work to mix unicast/multicast.
> > 
> > -d
> > 
> > 
> > > -----Original Message-----
> > > From: Romain Biehlmann [mailto:romain.biehlmann@gmail.com]
> > > Sent: Wednesday, March 24, 2010 1:20 AM
> > > To: Dan Wing
> > > Cc: avt@ietf.org
> > > Subject: Re: [AVT] Sockets in multicast DTLS-SRTP
> > >
> > > Hi,
> > >
> > > And thank you for your fast answer!
> > >
> > > I actually already planned on using KTR, which uses EKT, but got
> > stuck
> > > by this socket problem.
> > >
> > > I don't get how the data should be multiplexed in the case of a
> > > multicast session since two sockets will be opened on the clients'
> > > side (as shown on the drawing below)... Or am I completely wrong?
> > >
> > > ----------
> > > | server |---- SRTP multicast session -------------------
> > > ----------                                              |
> > >   | | |                                  ------------   |
> > >   | | |--- DTLS KTR unicast session 1 ---| client 1 |---|
> > >   | |                                    ------------   |
> > >   | |                                    ------------   |
> > >   | |----- DTLS KTR unicast session 2 ---| client 2 |---|
> > >   |                                      ------------   |
> > >   |                                      ------------   |
> > >   |------- DTLS KTR unicast session 3 ---| client 3 |---|
> > >                                          ------------
> > >
> > > Thank you very much for the time you take to read me.
> > >
> > > Romain
> > >
> > >
> > >
> > > 2010/3/23 Dan Wing <dwing@cisco.com>:
> > > >> -----Original Message-----
> > > >> From: avt-bounces@ietf.org [mailto:avt-bounces@ietf.org] On
> > > >> Behalf Of Romain Biehlmann
> > > >> Sent: Tuesday, March 23, 2010 5:27 AM
> > > >> To: avt@ietf.org
> > > >> Subject: [AVT] Sockets in multicast DTLS-SRTP
> > > >>
> > > >> Hi all,
> > > >>
> > > >> I hope my question is not too dumb, and not too
> > > >> implementation-oriented; if so, please accept my apologies
> > > and ignore
> > > >> it.
> > > >>
> > > >> In 
> http://tools.ietf.org/html/draft-ietf-avt-dtls-srtp-07 chapter
> > > >> 5.1.1, we can read the following:
> > > >> "When a user of DTLS wishes to send an RTP packet in 
> SRTP mode it
> > > >> delivers it to the DTLS implementation as an ordinary
> > > application data
> > > >> write (e.g., SSL_write())."
> > > >>
> > > >> From that, I understand that in the case of a unicast session,
> > only
> > > >> one socket is needed for the transmission of STUN, 
> SRTP and DTLS
> > > >> datagrams.
> > > >
> > > > Right, and demultiplexed as shown in
> > > > http://tools.ietf.org/html/draft-ietf-avt-dtls-srtp-07#section-
> > 5.1.2
> > > >
> > > >> I am not sure, though, to get how it should work in the
> > > case of a (one
> > > >> to many) multicast session.
> > > >
> > > > Use DTLS-SRTP with EKT.  EKT allows telling each of the 
> receivers
> > > > the same key.  The sender then sends the same multicast packet
> > > > (or if using unicast, the sender sends the same packet, unicast,
> > > > to each NNN receivers).
> > > >
> > > > EKT is http://tools.ietf.org/html/draft-ietf-avt-srtp-ekt-00
> > > >
> > > > -d
> > > >
> > > >> Isn't the server supposed to send SRTP datagrams to a broadcast
> > > >> address, whereas DTLS data must be sent directly to (unicast)
> > > >> designated clients? Is the sentence in the draft only 
> applicable
> > to
> > > >> unicast?
> > > >>
> > > >> I thank you in advance for your valuable insight.
> > > >>
> > > >> Romain
> > > >> _______________________________________________
> > > >> Audio/Video Transport Working Group
> > > >> avt@ietf.org
> > > >> https://www.ietf.org/mailman/listinfo/avt
> > > >
> > > >
> > >
> > 
> > _______________________________________________
> > Audio/Video Transport Working Group
> > avt@ietf.org
> > https://www.ietf.org/mailman/listinfo/avt
>