Re: [MMUSIC] Hi, May I ask for your opinion on draft-zhou-mmusic-sdes-keymod-01?

"Dan Wing" <dwing@cisco.com> Thu, 19 April 2012 01:32 UTC

Return-Path: <dwing@cisco.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E566B11E80AD for <mmusic@ietfa.amsl.com>; Wed, 18 Apr 2012 18:32:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.607
X-Spam-Level:
X-Spam-Status: No, score=-109.607 tagged_above=-999 required=5 tests=[AWL=0.992, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MOiwQ+935fjX for <mmusic@ietfa.amsl.com>; Wed, 18 Apr 2012 18:32:40 -0700 (PDT)
Received: from mtv-iport-4.cisco.com (mtv-iport-4.cisco.com [173.36.130.15]) by ietfa.amsl.com (Postfix) with ESMTP id B639011E809D for <mmusic@ietf.org>; Wed, 18 Apr 2012 18:32:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=dwing@cisco.com; l=2122; q=dns/txt; s=iport; t=1334799160; x=1336008760; h=from:to:cc:references:in-reply-to:subject:date: message-id:mime-version:content-transfer-encoding; bh=lRYh/qXUFdg9F33U6udaEKU/dKFXLFwtQqN7QmTa4/0=; b=Tw0awpCrCkGP4dRNwpzUq750r4mbyP7A6aXWBs8N3AeejL+xY1PtAiYB ncAad2FVZ4sVo0g3fqjEaCUK4WRm+C49qrnEXi2LNroOr1Vj/S/kwPy4b qbUb+Ms2jy1bUJPwkgeN6IUPGeck0dCRgPFy/GOVMyI5Po4wCphyrvGgs I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhYGADZqj0+rRDoJ/2dsb2JhbABDoUiOCwGBcYEHggkBAQEECAoBFAMQPwwBAwIJDwIEAQEoBxkjCgkIAQEEEwsXh2yaWqArjRCDJQSIXIUVlk+BaYMH
X-IronPort-AV: E=Sophos;i="4.75,445,1330905600"; d="scan'208";a="41096256"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-4.cisco.com with ESMTP; 19 Apr 2012 01:32:40 +0000
Received: from dwingWS ([10.154.161.65]) by mtv-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id q3J1WeUM012419; Thu, 19 Apr 2012 01:32:40 GMT
From: Dan Wing <dwing@cisco.com>
To: zhou.sujing@zte.com.cn
References: <079c01cd1d68$05710670$10531350$@com> <OF24015959.EB99E9AE-ON482579E5.0003B462-482579E5.000465E0@zte.com.cn>
In-Reply-To: <OF24015959.EB99E9AE-ON482579E5.0003B462-482579E5.000465E0@zte.com.cn>
Date: Wed, 18 Apr 2012 18:32:40 -0700
Message-ID: <0b9d01cd1dcc$4f46db30$edd49190$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac0dxhI39cuFZOe6Tt6wNzeqOwY8iwABcwiA
Content-Language: en-us
Cc: mmusic@ietf.org
Subject: Re: [MMUSIC] Hi, May I ask for your opinion on draft-zhou-mmusic-sdes-keymod-01?
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
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: Thu, 19 Apr 2012 01:32:45 -0000

> -----Original Message-----
> From: zhou.sujing@zte.com.cn [mailto:zhou.sujing@zte.com.cn]
> Sent: Wednesday, April 18, 2012 5:48 PM
> To: Dan Wing
> Cc: mmusic@ietf.org
> Subject: Re: RE: RE: RE: Hi, May I ask for your opinion on draft-zhou-
> mmusic-sdes-keymod-01?
> 
> 
> 
> > >
> > > Generaly it is preferable the session key  between two peers  be
> > > established with contribution from both peers,otherwise we will get
> > > into trouble
> > > as  SDES now in the scenarios of re-targetting and forking.
> > > Our 01 version actually suggests to change the unidirectional key
> > > transport in SDES into a key agreement(indicated by "keymod"):
> > > offerer provides: k1
> > > answer provides: keymod value
> > > the outgoing key from offerer to answerer is derived from k1 and
> keymod
> > > value no matter in which situation.
> > > Re-targeting and forking  happen to be the scenarios that
> especially
> > > benefit from the change.
> >
> > Which involves the same number of (signaling) round-trips, right?
> 
> In my opinion, the new method does not add extra round trips, it has
> the same round trips with
> the current SDES without re-INVITE or UPDATE.
> 
> offerer-->answerer:INVITE
>        a=crypto:1 AES_CM_128_HMAC_SHA1_80
>         inline:d0RmdmcmVCspeEc3QGZiNWpVLFJhQX1cfHAwJSoj|2^20|1:32 ---
> >k1
>         keymod:rand|xor|
> offerer<--answerer:Response
>        a=crypto:1 AES_CM_128_HMAC_SHA1_32
>        inline:NzB4d1BINUAvLEw6UzF3WSJ+PSdFcGdUJShpX1Zj|2^20|1:32; ---
> >k2
>        keymod:rand|xor|WVNfX19zZW1jdGwgKCkgew==         ->keymod value
> 
> after the single round,
>     k1 and keymod value-->k1' to protect session from offerer to
> answerer
>    k2 -->  to protect session from answerer   to offerer

I now understand what you're proposing, thanks for explaining it this way.

That avoids a signaling round trip, but does require the Offerer and
Answerer support keymod.  If either of them don't, the Offerer needs to
always do a re-Invite.  So this appears a reasonable optimization to avoid
always doing a re-Invite.

-d