Re: [AVT] Sockets in multicast DTLS-SRTP
Romain Biehlmann <romain.biehlmann@gmail.com> Wed, 24 March 2010 08:20 UTC
Return-Path: <romain.biehlmann@gmail.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 9B32C3A686D for <avt@core3.amsl.com>; Wed, 24 Mar 2010 01:20:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.169
X-Spam-Level:
X-Spam-Status: No, score=-0.169 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
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 1jWrl6jErA-t for <avt@core3.amsl.com>; Wed, 24 Mar 2010 01:20:36 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id A88043A68BD for <avt@ietf.org>; Wed, 24 Mar 2010 01:20:13 -0700 (PDT)
Received: by wwg30 with SMTP id 30so3769740wwg.31 for <avt@ietf.org>; Wed, 24 Mar 2010 01:20:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ztDBYaJyeFCzpowBtRZD7/gmiMUIOLTmW+48g8mhpUc=; b=sYw/yNDIPJMvBeoYiFxX/5Rno3DOltMUDJsmXJsYlTbjx85CgnTWc9cC5clF5WQFgY FuJkioonnZiHexQAP2DPTf5A+bnjKkQfRFbyJkREjFuG1O5AbmbL8/XayhzjQcoI+tDx nrtawSgYeZrd8oDYVpPgogYnpU3sBqeFTh1Jc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=E5RCiv2SzOBRrptLhuRQoWgPL2Ea96pcLS+kbOPS51ruXXRKvWjQlO60bNXEOE5Z9q 6nwii9KfJCekWlZYY3zgvmqqL9XqI6BNLSJxzDkuvVoeK2sytetv7QY46cwSIuoV+kSh 46THa4nlRclqfC8PJvXsDuJIanfbknSczjlHM=
MIME-Version: 1.0
Received: by 10.216.90.84 with SMTP id d62mr3407808wef.211.1269418828177; Wed, 24 Mar 2010 01:20:28 -0700 (PDT)
In-Reply-To: <00f101cacad0$9d93fc10$1143150a@cisco.com>
References: <9a06dcf1003230527q39fc7f9bye2ca616599e95cac@mail.gmail.com> <00f101cacad0$9d93fc10$1143150a@cisco.com>
Date: Wed, 24 Mar 2010 09:20:28 +0100
Message-ID: <9a06dcf1003240120g29db1b1bxb0f0a3e719336720@mail.gmail.com>
From: Romain Biehlmann <romain.biehlmann@gmail.com>
To: Dan Wing <dwing@cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: 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: Wed, 24 Mar 2010 08:20:37 -0000
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 > >
- [AVT] Sockets in multicast DTLS-SRTP Romain Biehlmann
- Re: [AVT] Sockets in multicast DTLS-SRTP Dan Wing
- Re: [AVT] Sockets in multicast DTLS-SRTP Romain Biehlmann
- Re: [AVT] Sockets in multicast DTLS-SRTP Dan Wing
- Re: [AVT] Sockets in multicast DTLS-SRTP Flemming Andreasen
- Re: [AVT] Sockets in multicast DTLS-SRTP Dan Wing
- Re: [AVT] Sockets in multicast DTLS-SRTP Romain Biehlmann
- Re: [AVT] Sockets in multicast DTLS-SRTP Dan Wing
- Re: [AVT] Sockets in multicast DTLS-SRTP Roni Even
- Re: [AVT] Sockets in multicast DTLS-SRTP Dan Wing