Re: [HOKEY] Change proposal for ERP-AAK - 3: Multiple CAP case support

Qin Wu <bill.wu@huawei.com> Sat, 08 October 2011 04:02 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: hokey@ietfa.amsl.com
Delivered-To: hokey@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AEBA921F84FD for <hokey@ietfa.amsl.com>; Fri, 7 Oct 2011 21:02:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.372
X-Spam-Level:
X-Spam-Status: No, score=-5.372 tagged_above=-999 required=5 tests=[AWL=0.627, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, RCVD_IN_DNSWL_MED=-4]
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 Z1tCySADTHCI for <hokey@ietfa.amsl.com>; Fri, 7 Oct 2011 21:02:10 -0700 (PDT)
Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [119.145.14.66]) by ietfa.amsl.com (Postfix) with ESMTP id EF7FB21F84BC for <hokey@ietf.org>; Fri, 7 Oct 2011 21:02:09 -0700 (PDT)
Received: from huawei.com (szxga03-in [172.24.2.9]) by szxga03-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LSQ00GGUBCYY6@szxga03-in.huawei.com> for hokey@ietf.org; Sat, 08 Oct 2011 12:05:22 +0800 (CST)
Received: from szxrg02-dlp.huawei.com ([172.24.2.119]) by szxga03-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LSQ00B3JBCYNG@szxga03-in.huawei.com> for hokey@ietf.org; Sat, 08 Oct 2011 12:05:22 +0800 (CST)
Received: from szxeml203-edg.china.huawei.com ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.1.9-GA) with ESMTP id AEC67674; Sat, 08 Oct 2011 12:05:21 +0800
Received: from SZXEML409-HUB.china.huawei.com (10.82.67.136) by szxeml203-edg.china.huawei.com (172.24.2.55) with Microsoft SMTP Server (TLS) id 14.1.270.1; Sat, 08 Oct 2011 12:05:13 +0800
Received: from w53375q (10.138.41.130) by szxeml409-hub.china.huawei.com (10.82.67.136) with Microsoft SMTP Server (TLS) id 14.1.270.1; Sat, 08 Oct 2011 12:05:13 +0800
Date: Sat, 08 Oct 2011 12:05:12 +0800
From: Qin Wu <bill.wu@huawei.com>
X-Originating-IP: [10.138.41.130]
To: Glen Zorn <glenzorn@gmail.com>
Message-id: <24B0542929914133BFFC212E52A3E6E3@china.huawei.com>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.6109
X-Mailer: Microsoft Outlook Express 6.00.2900.5931
Content-type: text/plain; charset="iso-8859-1"
Content-transfer-encoding: 7bit
X-Priority: 3
X-MSMail-priority: Normal
X-CFilter-Loop: Reflected
References: <29A088215B784663B37041D5BCD3B130@china.huawei.com> <4E8C453C.5080400@gmail.com>
Cc: hokey@ietf.org
Subject: Re: [HOKEY] Change proposal for ERP-AAK - 3: Multiple CAP case support
X-BeenThere: hokey@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: HOKEY WG Mailing List <hokey.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hokey>, <mailto:hokey-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hokey>
List-Post: <mailto:hokey@ietf.org>
List-Help: <mailto:hokey-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hokey>, <mailto:hokey-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Oct 2011 04:02:10 -0000

Hi,
----- Original Message ----- 
From: "Glen Zorn" <glenzorn@gmail.com>
To: "Qin Wu" <bill.wu@huawei.com>
Cc: <hokey@ietf.org>
Sent: Wednesday, October 05, 2011 7:53 PM
Subject: Re: [HOKEY] Change proposal for ERP-AAK - 3: Multiple CAP case support


> On 9/29/2011 4:45 PM, Qin Wu wrote:
> 
>> Hi,
>> As we discussed on the list to the draft-ietf-hokey-erp-aak-04, it is
>> not difficult to support multiple CAP(s) case.
>> However we should make sure each pMSK is calculated for each CAP using
>> different Sequence number, therefore I propose to do the
>> following change to allow two ways to avoid the same pMSK derived for
>> multiple CAP,
>> one way is
>> 
>> The multiple sequence numbers can be derived from SEQ field in the
>> message header by following +1 rule.
>> 
>> e.g., we have 3 CAP, the SEQ field is set to the value 100
>> 
>> so the pMSK for CAP A will be derived using seqence number 100.
>> 
>>     the pMSK for CAP B will be derived using sequence number 100+1
>> 
>>    the pMSK for CAP C will be derived using sequence number 100+2
>> 
>>  
> 
> OK, how does the AAA server know which CAP to send which key?

[Qin]: The simple way is that the AAA sever relies on the CAP order contained in the list of
NAS-Identifiers or CAP-Identifiers.

> 
>> 
>> The second way is directly using Sequence number field carried in the TV
>> of the message for each CAP,and mandate
>> 
>> each sequence number asscicated with each CAP must always follow that
>> CAP. Also I think if multiple Sequenced number TLV are carried for each CAP,
>> 
>> the SEQ field in the ERP/AAK message header should be set to smallest 
>> value contained in the  Sequenced number TLVs. This is more flexible way
>> comparing
>> 
>> with the first way. But I think it will be better to allow both.
> 
> I'm not sure that I understand this, would you mind explaining a little
> more?  

[Qin]: Okay, when multiple CAPs are transported to the the server using EAP-Initiate message,
we may carry multiple CAPs using CAP/NAS-Identifier in one EAP-Initiate message,
also we may carry each CAP in each of multiple EAP-Initiate message.
I don't think the second choice is good choice since it introduce multiple roundtrip.
For the first choice, when multiple CAP(s) are carried in one EAP-Initiate message,
in order to  avoid the pMSK for each CAP using the same sequence number, we 
define new TV payload, i.e.,Sequence number TV. So We can carry different Sequence number
for each CAP, put each sequencer number after each CAP/NAS-Identifier.


>Also, if both are allowed, which one would be mandatory to implement?

[Qin] It dependes on if Sequence number TV payload is mandatory TV payload, if it is,
I think the server should extract each sequence number to generate different pMSK for each CAP.
If it is not, the Sequence number TV payload are not carried in the EAP-Initiate message to the server,
the server should use SEQ field in the EAP-initiate message header to generate different sequence number for each CAP.
Does it make sense?

> ...
>