From owner-aaa-wg@merit.edu  Wed Oct  1 06:13:43 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA06571
	for <aaa-archive@lists.ietf.org>; Wed, 1 Oct 2003 06:13:42 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 015FD9122C; Wed,  1 Oct 2003 06:13:36 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id CB6949122D; Wed,  1 Oct 2003 06:13:35 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id B31359122C
	for <aaa-wg@trapdoor.merit.edu>; Wed,  1 Oct 2003 06:13:34 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 989CB5DE32; Wed,  1 Oct 2003 06:13:34 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [193.180.251.49])
	by segue.merit.edu (Postfix) with ESMTP id CF0945DE2F
	for <aaa-wg@merit.edu>; Wed,  1 Oct 2003 06:13:33 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by albatross-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h91ADVlN005642
	for <aaa-wg@merit.edu>; Wed, 1 Oct 2003 12:13:31 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <T6YH9PLG>; Wed, 1 Oct 2003 12:14:42 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843BB8@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: aaa-wg@merit.edu
Subject: [AAA-WG]: CCA: Abnormal-Termination-Reason AVP replaced by Termination-Caus
	e AVP 
Date: Wed, 1 Oct 2003 12:12:57 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Submitter name: Harri Hakala
Submitter email address: harri.hakala@ericsson.com
Date first submitted: October 1, 2003
Reference: 
Document: CCA-00
Comment type: T
Priority: 2
Section: 3.1, 5.1, 7.1, 9.5
Rationale/Explanation of issue:

The Diameter Base protocol contains a Termination-Cause AVP that can be used to 
indicate the reason why the session was terminated. The Abnormal-Termination-Reason
AVP was introduced in the Credit Control Application for the same purpose and can 
be removed as redundant AVP. The Abnormal-Termination-Reason AVP should be replaced
by the Termination-Cause AVP in Credit-Control-Request message.

Proposed change:

Section 3.1
Replace Abnormal-Termination-Reason with Termination-Cause.

Section 5.1
Remove.

Section 7.1
Replace Abnormal-Termination-Reason with Termination-Cause.

Section 9.5
Remove.

Best Regards.............Harri


From owner-aaa-wg@merit.edu  Wed Oct  1 16:44:47 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA03856
	for <aaa-archive@lists.ietf.org>; Wed, 1 Oct 2003 16:44:47 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 07C7C91243; Wed,  1 Oct 2003 16:44:40 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id C792591268; Wed,  1 Oct 2003 16:44:39 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 92E6991243
	for <aaa-wg@trapdoor.merit.edu>; Wed,  1 Oct 2003 16:44:38 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 807175DE48; Wed,  1 Oct 2003 16:44:38 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from hotmail.com (sea1-dav40.sea1.hotmail.com [207.68.162.97])
	by segue.merit.edu (Postfix) with ESMTP id 3FDB85DE40
	for <aaa-wg@merit.edu>; Wed,  1 Oct 2003 16:44:38 -0400 (EDT)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Wed, 1 Oct 2003 12:28:24 -0700
Received: from 202.134.200.4 by sea1-dav40.sea1.hotmail.com with DAV;
	Tue, 30 Sep 2003 07:17:56 +0000
X-Originating-IP: [202.134.200.4]
X-Originating-Email: [sunderjsingh@hotmail.com]
From: "Sunderjeet Singh" <sunderjsingh@hotmail.com>
To: <aaa-wg@merit.edu>
References: <DADF50F5EC506B41A0F375ABEB320636A8B53C@esebe023.ntc.nokia.com>
Subject: [AAA-WG]: Duplicate Message Removal
Date: Tue, 30 Sep 2003 12:47:06 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Message-ID: <Sea1-DAV40Q1xFqoPYz00003501@hotmail.com>
X-OriginalArrivalTime: 01 Oct 2003 19:28:24.0179 (UTC) FILETIME=[2E49CC30:01C38852]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi,

How End-to-End identifier helps detecting duplicates ?

In the RFC, it has been mentioned to keep a window of atleast 4minutes
before reusing the random number for last 12bits of E-to-E id (higher ones
being set to time at reboot). It means one could filter the duplicates till
4minutes of time, after which any duplicate cannot be pointed as it will be
treated as a fresh request/response. Am i correct in understanding ?

TIA

regards

Sunderjeet


From owner-aaa-wg@merit.edu  Thu Oct  2 08:51:20 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA16676
	for <aaa-archive@lists.ietf.org>; Thu, 2 Oct 2003 08:51:19 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 58A0491277; Thu,  2 Oct 2003 08:51:12 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 2C6E591278; Thu,  2 Oct 2003 08:51:12 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id D58E091277
	for <aaa-wg@trapdoor.merit.edu>; Thu,  2 Oct 2003 08:51:10 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id C3ECB5DE25; Thu,  2 Oct 2003 08:51:10 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id 0BE1B5DE08
	for <aaa-wg@merit.edu>; Thu,  2 Oct 2003 08:51:10 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h92Cp8N1028742
	for <aaa-wg@merit.edu>; Thu, 2 Oct 2003 14:51:08 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <T6Y22M4H>; Thu, 2 Oct 2003 14:52:22 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF03E061DF@esealnt630.al.sw.ericsson.se>
From: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
To: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Date: Thu, 2 Oct 2003 14:50:38 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Separation of sent and received bytes in CCA
Submitter name: Leena Mattila
Submitter email address: leena.mattila@ericsson.com
Date first submitted: October 2, 2003
Reference: 
Document: CCA-00
Comment type: T
Priority: 2
Section: 5.x, 5.15, 5.17, 5.26, 9.x
Rationale/Explanation of issue:

In the current Credit Control Application it is not possible 
to measure the sent and received bytes separately. However, 
for some services the direction of the measured data volume 
can play an important role in billing, and thus there should 
be a possiblity to make a distinction between the sent and 
received bytes.

Proposed change:

ADD Section:
5.x Volume-Direction AVP  
     
   The Volume-Direction AVP (AVP Code TBD) is of type Enumerated and
   indicates in which direction the units of type volume are counted. 

       INPUT                                                   0  
       When the Volume-Direction AVP is set to INPUT the Unit-Value AVP
       contains the bytes received from the user.

       OUTPUT                                                  1 
       When the Volume-Direction AVP is set to OUTPUT the Unit-Value AVP
       contains the bytes sent to the user. 

Section 5.15
FROM:
   If the Unit-Type AVP is set to volume in the 
Credit-Control-Answer or
   AA Answer command, the Unit-Value AVP specifies the 
granted volume in
   bytes.

TO:
   If the Unit-Type AVP is set to volume in the 
Credit-Control-Answer or
   AA Answer command, the Unit-Value AVP specifies the 
granted volume in
   bytes, optionally detailed with direction information (sent or
   received bytes). If no direction information is included, the
   Unit-Value AVP contains the total volume.

FROM:
   It has the following ABNF grammar:  
         
             <Granted-Service-Unit>::=< AVP Header: TBD >  
                                          { Unit-Type }  
                                          { Unit-Value }  
                                          [ Currency-Code ]

TO:
   It has the following ABNF grammar: 
     
             <Granted-Service-Unit>::=< AVP Header: TBD > 
                                          { Unit-Type } 
                                          { Unit-Value } 
                                          [ Currency-Code ]
                                          [ Volume-Direction ]

Section 5.17
FROM:
   If the Unit-type AVP is set to volume in the Credit-Control-Request
   command, the Unit-Value AVP specifies the requested volume 
in bytes.

TO:
   If the Unit-type AVP is set to volume in the Credit-Control-Request
   command, the Unit-Value AVP specifies the requested volume 
in bytes,
   optionally detailed with direction information (sent or received
   bytes). If no direction information is included, the Unit-Value AVP
   contains the total volume.

FROM:
   It has the following ABNF grammar:  
        
             <Requested-Service-Unit>::=< AVP Header: TBD >  
                                      { Unit-Type }  
                                      { Unit-Value }  
                                      [ Currency-Code ]
TO:
   It has the following ABNF grammar:  
        
             <Requested-Service-Unit>::=< AVP Header: TBD >  
                                      { Unit-Type }  
                                      { Unit-Value }  
                                      [ Currency-Code ]
                                      [ Volume-Direction ]

Section 5.26
FROM:
   If the Unit-Type AVP is set to volume in the Credit-Control-Request
   command, the Unit-Value AVP specifies the used volume in bytes.

TO:
   If the Unit-type AVP is set to volume in the Credit-Control-Request
   command, the Unit-Value AVP specifies the used volume in bytes,
   optionally detailed with direction information (sent or received
   bytes). If no direction information is included, the Unit-Value AVP
   contains the total volume.

FROM:
   It has the following ABNF grammar:  
                 <Used-Service-Unit>::=< AVP Header: TBD >  
                                       { Unit-Type }  
                                       { Unit-Value }  
                                       [ Currency-Code ]

TO:
   It has the following ABNF grammar:  
                 <Used-Service-Unit>::=< AVP Header: TBD >  
                                       { Unit-Type }  
                                       { Unit-Value }  
                                       [ Currency-Code ]
                                       [ Volume-Direction ]

ADD Section:
9.x Volume-Direction AVP  
        
   As defined in Section 5.x, the Volume-Direction AVP (AVP Code 
   TBD) defines the values 0-1. All remaining values are available for 
   assignment via Designated Expert [IANA].  

Best Regards,
Leena Mattila


From owner-aaa-wg@merit.edu  Fri Oct  3 07:41:28 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA01792
	for <aaa-archive@lists.ietf.org>; Fri, 3 Oct 2003 07:41:28 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id A4B469122E; Fri,  3 Oct 2003 07:41:22 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 7699791232; Fri,  3 Oct 2003 07:41:22 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 3FC2D9122E
	for <aaa-wg@trapdoor.merit.edu>; Fri,  3 Oct 2003 07:41:21 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 1A0BA5DE8E; Fri,  3 Oct 2003 07:41:21 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [193.180.251.49])
	by segue.merit.edu (Postfix) with ESMTP id 7FB215DE8D
	for <aaa-wg@merit.edu>; Fri,  3 Oct 2003 07:41:20 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by albatross-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h93BfJlN003866
	for <aaa-wg@merit.edu>; Fri, 3 Oct 2003 13:41:19 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <T6Y2P8RS>; Fri, 3 Oct 2003 13:42:37 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843BC5@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: [AAA-WG]: CCA: Rating Input
Date: Fri, 3 Oct 2003 13:40:54 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Submitter name: Harri Hakala
Submitter email address: harri.hakala@ericsson.com
Date first submitted: October 3, 2003
Reference: 
Document: CCA-00
Comment type: T/E
Priority: 2
Section: 4
Rationale/Explanation of issue:

There have two ways to provide rating input to the CC server,
either by including them in the Service-Parameter-Info AVP or by re-using AVPs from other 
standard/vendor specific Diameter applications (NASREQ, Mobile IP).
The CCA only describes the first option but not the other. Some rating
functionality is discussed here and there in the draft but a general
principles are not addressed in the draft.

Proposed change:

ADD:

4.x Rating Input

There SHOULD be an agreement between the service providers of the credit control
client and the credit control server in order to know who shall handle the billing 
of which services, which chargeable services are available when roaming etc. Part of 
this process has to cover also the agreed rating input.

There are two ways for providing rating input to the credit control server, either by
including them in the Service-Parameter-Info AVP or by re-using AVPs from other Diameter
applications. The general principle for sending rating parameters is that the service
SHOULD re-use existing AVPs, if the service can use AVPs defined by some Diameter application.
The Service-Parameter-Info AVP SHOULD be used when the service is not using any other Diameter
application or can't re-use any AVPs.

The service specific rating input AVPs or the contents of the Service-Parameter-Info AVP are
not within the scope of this document and SHOULD be defined in another Diameter application,
standards written by other standardization bodies, or service specific documentation. 

Within a credit control request, setting the "M" bit implies that a
rating server or the credit control server itself SHOULD understand the AVP in order to rate 
the service. However, since different service providers may apply different rating policies a
mandatory input parameter for one server might be irrelevant for another. Therefore, if the AVP
is not relevant to the rating process, when the AVP is included within a credit-control request,
it can be ignored, even if the "M" bit is set.

In case a rating input required for rating process is missing from the Credit control 
request, the Credit control answer MUST contain error code DIAMETER_RATING_FAILED. A CCR message 
with this error MUST contain one or more Failed-AVP AVPs containing the missing AVPs that caused
the failure.


Best regards..........Harri



From owner-aaa-wg@merit.edu  Fri Oct  3 10:41:22 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA10283
	for <aaa-archive@lists.ietf.org>; Fri, 3 Oct 2003 10:41:22 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 171AC912E7; Fri,  3 Oct 2003 10:41:17 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id D8928912E8; Fri,  3 Oct 2003 10:41:16 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id A4416912E7
	for <aaa-wg@trapdoor.merit.edu>; Fri,  3 Oct 2003 10:41:15 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 93ABC5DE9D; Fri,  3 Oct 2003 10:41:15 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id D08945DE95
	for <aaa-wg@merit.edu>; Fri,  3 Oct 2003 10:41:14 -0400 (EDT)
Received: from kolumbus.fi (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id 5A1C46A902; Fri,  3 Oct 2003 17:40:58 +0300 (EEST)
Message-ID: <3F7D8997.7010607@kolumbus.fi>
Date: Fri, 03 Oct 2003 17:37:11 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: Re: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
References: <F8EFC4B4A8C016428BC1F589296D4FBF03E061DF@esealnt630.al.sw.ericsson.se>
In-Reply-To: <F8EFC4B4A8C016428BC1F589296D4FBF03E061DF@esealnt630.al.sw.ericsson.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

Leena Mattila (TU/LMF) wrote:
> Separation of sent and received bytes in CCA
> Submitter name: Leena Mattila
> Submitter email address: leena.mattila@ericsson.com
> Date first submitted: October 2, 2003
> Reference: 
> Document: CCA-00
> Comment type: T
> Priority: 2
> Section: 5.x, 5.15, 5.17, 5.26, 9.x
> Rationale/Explanation of issue:
> 
> In the current Credit Control Application it is not possible 
> to measure the sent and received bytes separately. However, 
> for some services the direction of the measured data volume 
> can play an important role in billing, and thus there should 
> be a possiblity to make a distinction between the sent and 
> received bytes.

I agree that this is a requirement.

> Proposed change:
> 
> ADD Section:
> 5.x Volume-Direction AVP  
>      
>    The Volume-Direction AVP (AVP Code TBD) is of type Enumerated and
>    indicates in which direction the units of type volume are counted. 
> 
>        INPUT                                                   0  
>        When the Volume-Direction AVP is set to INPUT the Unit-Value AVP
>        contains the bytes received from the user.
> 
>        OUTPUT                                                  1 
>        When the Volume-Direction AVP is set to OUTPUT the Unit-Value AVP
>        contains the bytes sent to the user. 
> 
> Section 5.15
> FROM:
>    If the Unit-Type AVP is set to volume in the 
> Credit-Control-Answer or
>    AA Answer command, the Unit-Value AVP specifies the 
> granted volume in
>    bytes.
> 
> TO:
>    If the Unit-Type AVP is set to volume in the 
> Credit-Control-Answer or
>    AA Answer command, the Unit-Value AVP specifies the 
> granted volume in
>    bytes, optionally detailed with direction information (sent or
>    received bytes). If no direction information is included, the
>    Unit-Value AVP contains the total volume.

Hmm... would the protocol be simpler if you always included the
direction (you can set the limits to be the same, of course).
Question: do you also want to measure TOTAL bytes sent? This
gets complicated fast, but

     Sent-Bytes-Limit
     Rcvd-Bytes-Limit
     Total-Bytes-Limit

might do the job in a simpler fashion.

> FROM:
>    It has the following ABNF grammar:  
>          
>              <Granted-Service-Unit>::=< AVP Header: TBD >  
>                                           { Unit-Type }  
>                                           { Unit-Value }  
>                                           [ Currency-Code ]
> 
> TO:
>    It has the following ABNF grammar: 
>      
>              <Granted-Service-Unit>::=< AVP Header: TBD > 
>                                           { Unit-Type } 
>                                           { Unit-Value } 
>                                           [ Currency-Code ]
>                                           [ Volume-Direction ]
> 
> Section 5.17
> FROM:
>    If the Unit-type AVP is set to volume in the Credit-Control-Request
>    command, the Unit-Value AVP specifies the requested volume 
> in bytes.
> 
> TO:
>    If the Unit-type AVP is set to volume in the Credit-Control-Request
>    command, the Unit-Value AVP specifies the requested volume 
> in bytes,
>    optionally detailed with direction information (sent or received
>    bytes). If no direction information is included, the Unit-Value AVP
>    contains the total volume.
> 
> FROM:
>    It has the following ABNF grammar:  
>         
>              <Requested-Service-Unit>::=< AVP Header: TBD >  
>                                       { Unit-Type }  
>                                       { Unit-Value }  
>                                       [ Currency-Code ]
> TO:
>    It has the following ABNF grammar:  
>         
>              <Requested-Service-Unit>::=< AVP Header: TBD >  
>                                       { Unit-Type }  
>                                       { Unit-Value }  
>                                       [ Currency-Code ]
>                                       [ Volume-Direction ]
> 
> Section 5.26
> FROM:
>    If the Unit-Type AVP is set to volume in the Credit-Control-Request
>    command, the Unit-Value AVP specifies the used volume in bytes.
> 
> TO:
>    If the Unit-type AVP is set to volume in the Credit-Control-Request
>    command, the Unit-Value AVP specifies the used volume in bytes,
>    optionally detailed with direction information (sent or received
>    bytes). If no direction information is included, the Unit-Value AVP
>    contains the total volume.
> 
> FROM:
>    It has the following ABNF grammar:  
>                  <Used-Service-Unit>::=< AVP Header: TBD >  
>                                        { Unit-Type }  
>                                        { Unit-Value }  
>                                        [ Currency-Code ]
> 
> TO:
>    It has the following ABNF grammar:  
>                  <Used-Service-Unit>::=< AVP Header: TBD >  
>                                        { Unit-Type }  
>                                        { Unit-Value }  
>                                        [ Currency-Code ]
>                                        [ Volume-Direction ]
> 
> ADD Section:
> 9.x Volume-Direction AVP  
>         
>    As defined in Section 5.x, the Volume-Direction AVP (AVP Code 
>    TBD) defines the values 0-1. All remaining values are available for 
>    assignment via Designated Expert [IANA].  

Or 2=total?
> 

--Jari



From owner-aaa-wg@merit.edu  Fri Oct  3 10:46:24 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA10515
	for <aaa-archive@lists.ietf.org>; Fri, 3 Oct 2003 10:46:24 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 62AE1912E8; Fri,  3 Oct 2003 10:46:08 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 2DC27912EE; Fri,  3 Oct 2003 10:46:08 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 8AC87912E8
	for <aaa-wg@trapdoor.merit.edu>; Fri,  3 Oct 2003 10:46:06 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 7022E5DE76; Fri,  3 Oct 2003 10:46:06 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id 3646C5DE73
	for <aaa-wg@merit.edu>; Fri,  3 Oct 2003 10:46:06 -0400 (EDT)
Received: from kolumbus.fi (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id 660086A903; Fri,  3 Oct 2003 17:46:05 +0300 (EEST)
Message-ID: <3F7D8ACA.7080506@kolumbus.fi>
Date: Fri, 03 Oct 2003 17:42:18 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: Re: [AAA-WG]: CCA: Rating Input
References: <F8EFC4B4A8C016428BC1F589296D4FBF04843BC5@esealnt630.al.sw.ericsson.se>
In-Reply-To: <F8EFC4B4A8C016428BC1F589296D4FBF04843BC5@esealnt630.al.sw.ericsson.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

Harri Hakala (TU/LMF) wrote:
> Submitter name: Harri Hakala
> Submitter email address: harri.hakala@ericsson.com
> Date first submitted: October 3, 2003
> Reference: 
> Document: CCA-00
> Comment type: T/E
> Priority: 2
> Section: 4
> Rationale/Explanation of issue:
> 
> There have two ways to provide rating input to the CC server,
> either by including them in the Service-Parameter-Info AVP or by re-using AVPs from other 
> standard/vendor specific Diameter applications (NASREQ, Mobile IP).
> The CCA only describes the first option but not the other. Some rating
> functionality is discussed here and there in the draft but a general
> principles are not addressed in the draft.

Yes, this needs to be addressed.

> 4.x Rating Input
> 
> There SHOULD be an agreement between the service providers of the credit control
> client and the credit control server in order to know who shall handle the billing 
> of which services, which chargeable services are available when roaming etc. Part of 
> this process has to cover also the agreed rating input.
> 
> There are two ways for providing rating input to the credit control server, either by
> including them in the Service-Parameter-Info AVP or by re-using AVPs from other Diameter
> applications. The general principle for sending rating parameters is that the service
> SHOULD re-use existing AVPs, if the service can use AVPs defined by some Diameter application.
> The Service-Parameter-Info AVP SHOULD be used when the service is not using any other Diameter
> application or can't re-use any AVPs.

Can you clarify why it would not be appropriate to just require new AVPs
to be defined whenever they are needed?

--Jari



From owner-aaa-wg@merit.edu  Sat Oct  4 16:57:02 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA14338
	for <aaa-archive@lists.ietf.org>; Sat, 4 Oct 2003 16:57:01 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 2AE4591203; Sat,  4 Oct 2003 16:56:55 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id EAE4F91209; Sat,  4 Oct 2003 16:56:54 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id EED9F91203
	for <aaa-wg@trapdoor.merit.edu>; Sat,  4 Oct 2003 16:56:53 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id DA72C5DF02; Sat,  4 Oct 2003 16:56:53 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from c000.snv.cp.net (h001.c000.snv.cp.net [209.228.32.65])
	by segue.merit.edu (Postfix) with SMTP id 3FD9C5DD9B
	for <aaa-wg@merit.edu>; Sat,  4 Oct 2003 16:56:53 -0400 (EDT)
Received: (cpmta 22146 invoked from network); 4 Oct 2003 13:56:51 -0700
Received: from 66.30.125.93 (HELO h000094929690.mitton.com)
  by smtp.mitton.com (209.228.32.65) with SMTP; 4 Oct 2003 13:56:51 -0700
X-Sent: 4 Oct 2003 20:56:51 GMT
Message-Id: <5.2.1.1.2.20031004161431.031e1ec0@getmail.mitton.com>
X-Sender: david@getmail.mitton.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
Date: Sat, 04 Oct 2003 16:44:56 -0400
To: <john.loughney@nokia.com>, <aaa-wg@merit.edu>
From: David Mitton <david@mitton.com>
Subject: Re: [AAA-WG]: Conflict between NASREQ & EAP AVP values
In-Reply-To: <DADF50F5EC506B41A0F375ABEB320636A8B53D@esebe023.ntc.nokia.
 com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

On 9/29/2003 01:55 PM +0300, john.loughney@nokia.com wrote:
>Hi all,
>
>It seems that NASREQ & EAP have allocated the same AVP codes:
>
>NASREQ:
>    Tunneling                    401
>    CHAP-Auth                    402
>
>
>EAP:
>    Accounting-EAP-Auth-Method AVP       AVP Code 401
>    EAP-Payload AVP                      AVP Code 402
>
>My suggestion is that NASREQ keeps those values, and EAP marks its AVPs
>as TBD.
>
>John

Umm... yes, NASREQ draft 11 renumbered the remaining NASREQ unique AVPs 
into a contiguous range overlapping the original EAP space, when it shed 
all of the EAP and Key Distribution AVPs, leaving it's original assignments 
looking like swiss cheese.

I think this is what was implemented:

NAS-Filter-Rule 400 = same
Tunnelling 403 => 401
CHAP-Auth, -Ident, -Response, -Algorithm 409-412 => 402-405


The EAP authors were notified at the time (2/19/03), as a new version was 
pending.
And there was discussion on the AAA-Editors list prior. (circa 2/5/03)

Dave. 




From owner-aaa-wg@merit.edu  Sat Oct  4 17:23:04 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA15126
	for <aaa-archive@lists.ietf.org>; Sat, 4 Oct 2003 17:23:03 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id D31969120D; Sat,  4 Oct 2003 17:22:57 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id A4FD99123A; Sat,  4 Oct 2003 17:22:57 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 9CD719120D
	for <aaa-wg@trapdoor.merit.edu>; Sat,  4 Oct 2003 17:22:56 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 8570D5DEFB; Sat,  4 Oct 2003 17:22:56 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from c000.snv.cp.net (h000.c000.snv.cp.net [209.228.32.64])
	by segue.merit.edu (Postfix) with SMTP id 043645DD8F
	for <aaa-wg@merit.edu>; Sat,  4 Oct 2003 17:22:56 -0400 (EDT)
Received: (cpmta 6492 invoked from network); 4 Oct 2003 14:22:54 -0700
Received: from 66.30.125.93 (HELO h000094929690.mitton.com)
  by smtp.mitton.com (209.228.32.64) with SMTP; 4 Oct 2003 14:22:54 -0700
X-Sent: 4 Oct 2003 21:22:54 GMT
Message-Id: <5.2.1.1.2.20031004171729.02db8390@getmail.mitton.com>
X-Sender: david@getmail.mitton.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
Date: Sat, 04 Oct 2003 17:19:15 -0400
To: Jari Arkko <jari.arkko@kolumbus.fi>, Pasi.Eronen@nokia.com
From: David Mitton <david@mitton.com>
Subject: Re: [AAA-WG]: Re: Issue 424: Record-Route AVP in Responses
Cc: aboba@internaut.com, aaa-wg@merit.edu
In-Reply-To: <3F79A6C1.8060103@kolumbus.fi>
References: <052E0C61B69C3741AFA5FE88ACC775A6010C3828@esebe023.ntc.nokia.com>
 <052E0C61B69C3741AFA5FE88ACC775A6010C3828@esebe023.ntc.nokia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

On 9/30/2003 06:52 PM +0300, Jari Arkko wrote:
><snip>...

I've edited these changes in to 13c, but will pass editing against the 
Identities issue until we work it out.

Dave.

>>Updates for NASREQ -13b:
>>o  Section 9.2: Remove the following list item:
>>    "4. Route-Record AVPs (in the proper order)"
>>o  Section 9.2: Remove the following bullet:
>>    "The Route-Record AVPs MUST be added to the Diameter message, in
>>    the same order they were present in the request.  The gateway's
>>    position in the forwarding should be properly recorded."
>>o  Section 9.2: Replace the bullet
>>    "The response's Origin-Host information is created from the    FQDN 
>> of the source IP address of the RADIUS message."
>>    with
>>    "The response's Origin-Host information is created from the FQDN
>>    of the source IP address of the RADIUS message. The same FQDN
>>    is also stored to a Route-Record AVP."
>>o  Section 10.1: Update AVP occurrence table to specify that
>>    AAA message can have zero or more Route-Record AVPs.
>
>Ok.
>
>>A couple of related editorials/typos:
>>o  Section 9.3.3: Replace
>>    "...lookup on the source address and NAS-IP-Address
>>    attributes..."
>>    with
>>    "...lookup on the source address and NAS-IPv6-Address attribute..."
>>o  Section 9.3.3: Add to end of last paragraph
>>
>>    "...other action is taken."
>>    (seems this was chopped off at some point)
>
>Ok.
>
>--Jari
>
>
>
>




From owner-aaa-wg@merit.edu  Sat Oct  4 17:46:54 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA15478
	for <aaa-archive@lists.ietf.org>; Sat, 4 Oct 2003 17:46:54 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id ED85491240; Sat,  4 Oct 2003 17:46:51 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id C30FC91242; Sat,  4 Oct 2003 17:46:50 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 7473991240
	for <aaa-wg@trapdoor.merit.edu>; Sat,  4 Oct 2003 17:46:25 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 5D7B25DD8F; Sat,  4 Oct 2003 17:46:25 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from c000.snv.cp.net (h000.c000.snv.cp.net [209.228.32.64])
	by segue.merit.edu (Postfix) with SMTP id 00A455DE29
	for <aaa-wg@merit.edu>; Sat,  4 Oct 2003 17:46:24 -0400 (EDT)
Received: (cpmta 24397 invoked from network); 4 Oct 2003 14:46:23 -0700
Received: from 66.30.125.93 (HELO h000094929690.mitton.com)
  by smtp.mitton.com (209.228.32.64) with SMTP; 4 Oct 2003 14:46:23 -0700
X-Sent: 4 Oct 2003 21:46:23 GMT
Message-Id: <5.2.1.1.2.20031004173514.02dbbec0@mail.comcast.net>
X-Sender: david@getmail.mitton.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
Date: Sat, 04 Oct 2003 17:38:59 -0400
To: aaa-wg@merit.edu
From: David Mitton <david@mitton.com>
Subject: [AAA-WG]: Draft Nasreq 13c going forward
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

I've posted Nasreq draft 13c and will submit this for publication as #13.

http://www.circularnetworks.com/draft-ietf-aaa-diameter-nasreq-13c.txt

We can try to work out the routing nits while in IESG review.

Dave.




From owner-aaa-wg@merit.edu  Sat Oct  4 23:28:53 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA23120
	for <aaa-archive@lists.ietf.org>; Sat, 4 Oct 2003 23:28:53 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id B005F91261; Sat,  4 Oct 2003 23:27:07 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 6FCEC912D1; Sat,  4 Oct 2003 23:27:07 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id C684591261
	for <aaa-wg@trapdoor.merit.edu>; Sat,  4 Oct 2003 23:27:03 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id B4AE15DF29; Sat,  4 Oct 2003 23:27:03 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from c000.snv.cp.net (h008.c000.snv.cp.net [209.228.32.72])
	by segue.merit.edu (Postfix) with SMTP id 1889D5DF21
	for <aaa-wg@merit.edu>; Sat,  4 Oct 2003 23:27:03 -0400 (EDT)
Received: (cpmta 15389 invoked from network); 4 Oct 2003 20:27:01 -0700
Received: from 66.30.125.93 (HELO h000094929690.mitton.com)
  by smtp.mitton.com (209.228.32.72) with SMTP; 4 Oct 2003 20:27:01 -0700
X-Sent: 5 Oct 2003 03:27:01 GMT
Message-Id: <5.2.1.1.2.20031004232300.03188420@getmail.mitton.com>
X-Sender: david@getmail.mitton.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
Date: Sat, 04 Oct 2003 23:26:22 -0400
To: <john.loughney@nokia.com>, <aaa-wg@merit.edu>
From: David Mitton <david@mitton.com>
Subject: Re: [AAA-WG]: Another NASREQ nit  RE: Issue 428
In-Reply-To: <DADF50F5EC506B41A0F375ABEB320636A8B53C@esebe023.ntc.nokia.
 com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

On 9/29/2003 01:34 PM +0300, john.loughney@nokia.com wrote:
>Hi,
>
>Section 4.10:
>
>4.10.  Termination-Action AVP
>
>    The Termination-Action AVP is of type Enumerated and indicates what
>    action the NAS should take when the specified service is completed.
>    This AVP SHOULD only be present in authorization responses. The
>    following values are supported as listed in [RADIUSTypes]:
>
>-> Missing AVP code.
>
>John

Okay, I figured it out:

This edit would be okay (for draft 12), except that by accepting Pasi's 
issue #423,
the Termination-Action AVP is now gone.

Dave. 




From owner-aaa-wg@merit.edu  Mon Oct  6 02:08:35 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA15491
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 02:08:34 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id D111E9128C; Mon,  6 Oct 2003 02:08:28 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id A4B5791294; Mon,  6 Oct 2003 02:08:28 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 19ED49128C
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 02:08:25 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id DAF415DDDC; Mon,  6 Oct 2003 02:08:25 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [193.180.251.49])
	by segue.merit.edu (Postfix) with ESMTP id 499E15DDDB
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 02:08:25 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by albatross-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9668NlN028197;
	Mon, 6 Oct 2003 08:08:23 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <T6Y20CPM>; Mon, 6 Oct 2003 08:09:51 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF03E061EC@esealnt630.al.sw.ericsson.se>
From: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
To: "'Jari Arkko'" <jari.arkko@kolumbus.fi>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: RE: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Date: Mon, 6 Oct 2003 08:07:49 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Jari,

thanks for feedback. Answers inline.

/Leena

> > TO:
> >    If the Unit-Type AVP is set to volume in the 
> > Credit-Control-Answer or
> >    AA Answer command, the Unit-Value AVP specifies the 
> > granted volume in
> >    bytes, optionally detailed with direction information (sent or
> >    received bytes). If no direction information is included, the
> >    Unit-Value AVP contains the total volume.
> 
> Hmm... would the protocol be simpler if you always included the
> direction (you can set the limits to be the same, of course).

I don't have a strong opinion about this but can't one use default values when some AVP is missing? When direction is missing it means direction-independent, i.e. total. The reason why I did not specify "total" separately was that "total" is not a direction in a similar manner as in or out. Also MIP and NASREQ only include Accounting-Input-Octets and Accounting-Output-Octets, not Accounting-Total-Octets.

> Question: do you also want to measure TOTAL bytes sent?

Answer: Yes. The absence of direction means total.

> This gets complicated fast, but
> 
>      Sent-Bytes-Limit
>      Rcvd-Bytes-Limit
>      Total-Bytes-Limit
> 
> might do the job in a simpler fashion.
> 
I don't immediately see how this would make it simpler. We have now a quite general way of requesting, granting and reporting different unit types using a grouped structure, e.g.
              <Granted-Service-Unit>::=< AVP Header: TBD > 
                                           { Unit-Type } 
                                           { Unit-Value } 
                                           [ Currency-Code ]
                                           [ Volume-Direction ]
If one wants to request, grant or report both the sent, received and total units in the same message then the grouped AVP can be repeated in the message. Having own AVPs for Sent-Bytes-Limits etc would mean that there would be a special handling, and special AVPs, just for the unit type Volume, leading to more complicated solution, in my opinion.
Besides, does one really need to report sent, received and total at the same time? I think transfer of redundant (total-bytes) information should be avoided since one can derive total bytes from the sent and received bytes. Omission of direction information would be valid for cases where direction makes no difference, i.e. in that case there would only be total (i.e. volume with no direction), but no sent or received bytes separately. 


From owner-aaa-wg@merit.edu  Mon Oct  6 04:09:36 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA21359
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 04:09:36 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id C893A91224; Mon,  6 Oct 2003 04:09:31 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 946829129D; Mon,  6 Oct 2003 04:09:31 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 6198591224
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 04:09:30 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 3E6305DDF9; Mon,  6 Oct 2003 04:09:30 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id 522C75DDF4
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 04:09:29 -0400 (EDT)
Received: from esvir04nok.ntc.nokia.com (esvir04nokt.ntc.nokia.com [172.21.143.36])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.6) with ESMTP id h9689Rt24722
	for <aaa-wg@merit.edu>; Mon, 6 Oct 2003 11:09:27 +0300 (EET DST)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir04nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T651d7f19f4ac158f24077@esvir04nok.ntc.nokia.com>;
 Mon, 6 Oct 2003 11:09:25 +0300
Received: from esebh005.NOE.Nokia.com ([172.21.138.86]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Mon, 6 Oct 2003 11:09:16 +0300
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh005.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Mon, 6 Oct 2003 11:09:15 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Date: Mon, 6 Oct 2003 11:09:15 +0300
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D018B02AF@esebe016.ntc.nokia.com>
Thread-Topic: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Thread-Index: AcOL0FGEmkW3wYf4Se6SBkKtz0rpZwADJHFQ
From: <marco.stura@nokia.com>
To: <leena.mattila@ericsson.com>, <jari.arkko@kolumbus.fi>
Cc: <aaa-wg@merit.edu>
X-OriginalArrivalTime: 06 Oct 2003 08:09:15.0922 (UTC) FILETIME=[227FF720:01C38BE1]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

> I don't immediately see how this would make it simpler. We=20
> have now a quite general way of requesting, granting and=20
> reporting different unit types using a grouped structure, e.g.
>               <Granted-Service-Unit>::=3D< AVP Header: TBD >=20
>                                            { Unit-Type }=20
>                                            { Unit-Value }=20
>                                            [ Currency-Code ]
>                                            [ Volume-Direction ]

I don't think there is need to grant volume units per direction, I think =
it
would be quite complex (rather mission impossible) for a server to =
estimate=20
how much a user can receive and how much a user can send.  It is much
simpler to always grant the total amount of data volume a user is =
allowed
to consume. If e.g. only the downlink cost, then the server would just
deduct the downlink traffic from the user's account. So, I would keep
the GSU AVP as it is in the current draft. Same apply for the
Requested-service-Unit AVP. But it is important to get the details in =
the report.

One other possible alternative in the report is that, when volume based =
credit control=20
is applied, we always report all the NAS' available information.=20
In the Used-Service-Unit AVP we would always include total, Sent-Bytes =
and Received-Bytes,
and we could use the NASREQ defined accounting AVP. For instance

<Used-Service-Unit>::=3D< AVP Header: TBD > =20
                                       { Unit-Type } =20
                                       { Unit-Value } --> this is the =
total=20
                                       [ Currency-Code ]
                                       [ Accounting-Input-Octets ]
                                       [ Accounting-Output-Octets ]

Or we could define two new AVPs (CC-Input-Octets and CC-Output-Octets) =
if the use of=20
the two mentioned NASREQ AVP is not seen appropriate.
We would need to change the definition of unit-type Volume from bytes to =
Octets.

What do you think?

Marco


From owner-aaa-wg@merit.edu  Mon Oct  6 05:05:30 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA22679
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 05:05:25 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 8983C91229; Mon,  6 Oct 2003 05:05:16 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 4F4969129D; Mon,  6 Oct 2003 05:05:16 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 8A9D291229
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 05:05:14 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 6B1A85DDDE; Mon,  6 Oct 2003 05:05:14 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [193.180.251.49])
	by segue.merit.edu (Postfix) with ESMTP id DD6DF5DDD0
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 05:05:13 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by albatross-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9695AlN023154;
	Mon, 6 Oct 2003 11:05:10 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <T6YJA47K>; Mon, 6 Oct 2003 11:06:39 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843BCB@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'Jari Arkko'" <jari.arkko@kolumbus.fi>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Mon, 6 Oct 2003 11:04:38 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

> Can you clarify why it would not be appropriate to just 
> require new AVPs
> to be defined whenever they are needed?

I thought that there may be existing application servers, which already support 
some other data format for accounting data, e.g. ASN.1. If these servers 
do not use any other Diameter application, it may be simpler to re-use 
existing data format (embedded in the Service Parameter Info AVP) for 
credit control as well. By using SPI one can also avoid CCA protocol 
updates, when new services and rating input will be introduced.

On the other hand the Service-Parameter-Info is also an AVP and by using 
*AVP we can also avoid CCA updates, so after all do we really need SPI AVP?

Regards.........Harri

> -----Original Message-----
> From: Jari Arkko [mailto:jari.arkko@kolumbus.fi]
> Sent: 3. lokakuuta 2003 17:42
> To: Harri Hakala (TU/LMF)
> Cc: 'aaa-wg@merit.edu'
> Subject: Re: [AAA-WG]: CCA: Rating Input
> 
> 
> Harri Hakala (TU/LMF) wrote:
> > Submitter name: Harri Hakala
> > Submitter email address: harri.hakala@ericsson.com
> > Date first submitted: October 3, 2003
> > Reference: 
> > Document: CCA-00
> > Comment type: T/E
> > Priority: 2
> > Section: 4
> > Rationale/Explanation of issue:
> > 
> > There have two ways to provide rating input to the CC server,
> > either by including them in the Service-Parameter-Info AVP 
> or by re-using AVPs from other 
> > standard/vendor specific Diameter applications (NASREQ, Mobile IP).
> > The CCA only describes the first option but not the other. 
> Some rating
> > functionality is discussed here and there in the draft but a general
> > principles are not addressed in the draft.
> 
> Yes, this needs to be addressed.
> 
> > 4.x Rating Input
> > 
> > There SHOULD be an agreement between the service providers 
> of the credit control
> > client and the credit control server in order to know who 
> shall handle the billing 
> > of which services, which chargeable services are available 
> when roaming etc. Part of 
> > this process has to cover also the agreed rating input.
> > 
> > There are two ways for providing rating input to the credit 
> control server, either by
> > including them in the Service-Parameter-Info AVP or by 
> re-using AVPs from other Diameter
> > applications. The general principle for sending rating 
> parameters is that the service
> > SHOULD re-use existing AVPs, if the service can use AVPs 
> defined by some Diameter application.
> > The Service-Parameter-Info AVP SHOULD be used when the 
> service is not using any other Diameter
> > application or can't re-use any AVPs.
> 
> Can you clarify why it would not be appropriate to just 
> require new AVPs
> to be defined whenever they are needed?
> 
> --Jari
> 


From owner-aaa-wg@merit.edu  Mon Oct  6 07:44:08 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA25834
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 07:44:08 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 82EB491258; Mon,  6 Oct 2003 07:43:58 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 509919125F; Mon,  6 Oct 2003 07:43:58 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 4489391258
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 07:43:57 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 268975DE67; Mon,  6 Oct 2003 07:43:57 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id B4B9F5DE5A
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 07:43:56 -0400 (EDT)
Received: from piuha.net (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id BCF636A909; Mon,  6 Oct 2003 14:43:55 +0300 (EEST)
Message-ID: <3F81547C.9090904@kolumbus.fi>
Date: Mon, 06 Oct 2003 14:39:40 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: Re: [AAA-WG]: CCA: Rating Input
References: <F8EFC4B4A8C016428BC1F589296D4FBF04843BCB@esealnt630.al.sw.ericsson.se>
In-Reply-To: <F8EFC4B4A8C016428BC1F589296D4FBF04843BCB@esealnt630.al.sw.ericsson.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

Harri Hakala (TU/LMF) wrote:
>>Can you clarify why it would not be appropriate to just 
>>require new AVPs
>>to be defined whenever they are needed?
> 
> 
> I thought that there may be existing application servers, which already support 
> some other data format for accounting data, e.g. ASN.1. If these servers 
> do not use any other Diameter application, it may be simpler to re-use 
> existing data format (embedded in the Service Parameter Info AVP) for 
> credit control as well. By using SPI one can also avoid CCA protocol 

Such an AVP might be useful, yes, maybe even more generally
than in CCA.

> updates, when new services and rating input will be introduced.
> 
> On the other hand the Service-Parameter-Info is also an AVP and by using 
> *AVP we can also avoid CCA updates, so after all do we really need SPI AVP?

Well, you need *some* AVP to carry the information. I think you had
SHOULD for using existing AVPs, which I think is fine. *AVP is right
too. In addition, you may need the other info carrier AVP. But I'd
be happier if we could say something about its contents, e.g. at least
that it is always in ASN.1 BER form or something like that.

--Jari




From owner-aaa-wg@merit.edu  Mon Oct  6 07:44:31 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA25861
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 07:44:31 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 8CEA49125F; Mon,  6 Oct 2003 07:44:02 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 5A96B91292; Mon,  6 Oct 2003 07:44:02 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 6B7E89125F
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 07:44:00 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 5A6565DE67; Mon,  6 Oct 2003 07:44:00 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id 1C4075DE5A
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 07:44:00 -0400 (EDT)
Received: from piuha.net (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id A80676A907; Mon,  6 Oct 2003 14:43:53 +0300 (EEST)
Message-ID: <3F814980.5040707@kolumbus.fi>
Date: Mon, 06 Oct 2003 13:52:48 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: Re: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
References: <F8EFC4B4A8C016428BC1F589296D4FBF03E061EC@esealnt630.al.sw.ericsson.se>
In-Reply-To: <F8EFC4B4A8C016428BC1F589296D4FBF03E061EC@esealnt630.al.sw.ericsson.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

Leena Mattila (TU/LMF) wrote:
,
>>This gets complicated fast, but
>>
>>     Sent-Bytes-Limit
>>     Rcvd-Bytes-Limit
>>     Total-Bytes-Limit
>>
>>might do the job in a simpler fashion.
>>
> 
> I don't immediately see how this would make it simpler. We have now a quite general way of requesting, granting and reporting different unit types using a grouped structure, e.g.
>               <Granted-Service-Unit>::=< AVP Header: TBD > 
>                                            { Unit-Type } 
>                                            { Unit-Value } 
>                                            [ Currency-Code ]
>                                            [ Volume-Direction ]
> If one wants to request, grant or report both the sent, received and total units in the same message then the grouped AVP can be repeated in the message. Having own AVPs for Sent-Bytes-Limits etc would mean that there would be a special handling, and special AVPs, just for the unit type Volume, leading to more complicated solution, in my opinion.

Ok, I see that the different AVPs would not be good. [Still, having the "direction"
AVP always present might make things simpler, no need for default values, no
default handling code in decoders etc.]

> Besides, does one really need to report sent, received and total at the same time? I think transfer of redundant (total-bytes) information should be avoided since one can derive total bytes from the sent and received bytes. Omission of direction information would be valid for cases where direction makes no difference, i.e. in that case there would only be total (i.e. volume with no direction), but no sent or received bytes separately. 

In reporting usage, this would be duplicate information. But when you grant the
user some amount of service, this might not be. You could grant 100 Kb in OR
100 Kb out OR 100 Kb total, first limit to exceed being the signifant one.

--Jari




From owner-aaa-wg@merit.edu  Mon Oct  6 07:44:56 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA25908
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 07:44:55 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 9E36A9128B; Mon,  6 Oct 2003 07:44:04 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 6BC2A912A5; Mon,  6 Oct 2003 07:44:04 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 281A59128B
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 07:44:01 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 0F9235DE67; Mon,  6 Oct 2003 07:44:01 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id C4CED5DE5A
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 07:44:00 -0400 (EDT)
Received: from piuha.net (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id 1E7A36A908; Mon,  6 Oct 2003 14:43:55 +0300 (EEST)
Message-ID: <3F814FE9.1020501@kolumbus.fi>
Date: Mon, 06 Oct 2003 14:20:09 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: marco.stura@nokia.com
Cc: leena.mattila@ericsson.com, aaa-wg@merit.edu
Subject: Re: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
References: <142DC466081D9B409AAD1DDCA4B21E1D018B02AF@esebe016.ntc.nokia.com>
In-Reply-To: <142DC466081D9B409AAD1DDCA4B21E1D018B02AF@esebe016.ntc.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

marco.stura@nokia.com wrote:

> I don't think there is need to grant volume units per direction, I think it
> would be quite complex (rather mission impossible) for a server to estimate 
> how much a user can receive and how much a user can send.  It is much
> simpler to always grant the total amount of data volume a user is allowed

Hmm... wouldn't the same estimation problems apply to all of the above
cases?

> to consume. If e.g. only the downlink cost, then the server would just
> deduct the downlink traffic from the user's account. So, I would keep
> the GSU AVP as it is in the current draft. Same apply for the
> Requested-service-Unit AVP. But it is important to get the details in the report.
> 
> One other possible alternative in the report is that, when volume based credit control 
> is applied, we always report all the NAS' available information. 
> In the Used-Service-Unit AVP we would always include total, Sent-Bytes and Received-Bytes,
> and we could use the NASREQ defined accounting AVP. For instance
> 
> <Used-Service-Unit>::=< AVP Header: TBD >  
>                                        { Unit-Type }  
>                                        { Unit-Value } --> this is the total 
>                                        [ Currency-Code ]
>                                        [ Accounting-Input-Octets ]
>                                        [ Accounting-Output-Octets ]
> 
> Or we could define two new AVPs (CC-Input-Octets and CC-Output-Octets) if the use of 
> the two mentioned NASREQ AVP is not seen appropriate.
> We would need to change the definition of unit-type Volume from bytes to Octets.

When reporting usage, it seems that the total is a sum of input and output;
in other messages this may not be the case.

Here's how I see the situation: Currently, in RADIUS/DIAMETER we are primarily
reporting i/o byte and packet counts. If I understand correctly, the CCA
extends this by making it possible to also set per-session limits to
various amounts of "service" you are getting. One approach in doing this
would be to follow the existing RADIUS/DIAMETER model, i.e. to provide the
i/o byte/packet counts also in the other direction. But I would agree with
you that it would be insufficient. On the other hand, I wouldn't like to
have total counts in CCA and i/o counts in the other specs. So here's
what we could do:

- Define 6 counters:
   o Input, output, total X
   o Bytes, Packets
- Total counters need not be reported, but can be sent from
   the server as granted limits
- Not sure how to organize these as AVPs, whether to reuse
   old AVPs or make CCA specific AVPs.

--Jari




From owner-aaa-wg@merit.edu  Mon Oct  6 08:01:17 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA26375
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 08:01:16 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 1379991292; Mon,  6 Oct 2003 08:00:25 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 91D60912A5; Mon,  6 Oct 2003 08:00:24 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 7810D91292
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 08:00:22 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 609065DD94; Mon,  6 Oct 2003 08:00:21 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id ED73A5DD91
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 08:00:20 -0400 (EDT)
Received: from kolumbus.fi (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id 067C16A907; Mon,  6 Oct 2003 15:00:20 +0300 (EEST)
Message-ID: <3F81586C.4020801@kolumbus.fi>
Date: Mon, 06 Oct 2003 14:56:28 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
Cc: aaa-wg@merit.edu
Subject: Re: [AAA-WG]: CCA: Abnormal-Termination-Reason AVP replaced by Termination-Caus
 e AVP
References: <F8EFC4B4A8C016428BC1F589296D4FBF04843BB8@esealnt630.al.sw.ericsson.se>
In-Reply-To: <F8EFC4B4A8C016428BC1F589296D4FBF04843BB8@esealnt630.al.sw.ericsson.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

Harri Hakala (TU/LMF) wrote:
> Submitter name: Harri Hakala
> Submitter email address: harri.hakala@ericsson.com
> Date first submitted: October 1, 2003
> Reference: 
> Document: CCA-00
> Comment type: T
> Priority: 2
> Section: 3.1, 5.1, 7.1, 9.5
> Rationale/Explanation of issue:
> 
> The Diameter Base protocol contains a Termination-Cause AVP that can be used to 
> indicate the reason why the session was terminated. The Abnormal-Termination-Reason
> AVP was introduced in the Credit Control Application for the same purpose and can 
> be removed as redundant AVP. The Abnormal-Termination-Reason AVP should be replaced
> by the Termination-Cause AVP in Credit-Control-Request message.

Agree.

--Jari





From owner-aaa-wg@merit.edu  Mon Oct  6 09:28:51 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA29343
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 09:28:51 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 7BCA1912A5; Mon,  6 Oct 2003 09:28:46 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 4B5CA912A9; Mon,  6 Oct 2003 09:28:46 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 291AE912A5
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 09:28:45 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 0DFC25DDF8; Mon,  6 Oct 2003 09:28:45 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id 4368B5DDEE
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 09:28:44 -0400 (EDT)
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.6) with ESMTP id h96DSh623996
	for <aaa-wg@merit.edu>; Mon, 6 Oct 2003 16:28:43 +0300 (EET DST)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T651ea36a37ac158f21083@esvir01nok.ntc.nokia.com>;
 Mon, 6 Oct 2003 16:28:42 +0300
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Mon, 6 Oct 2003 16:28:42 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Date: Mon, 6 Oct 2003 16:28:42 +0300
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D018B02B3@esebe016.ntc.nokia.com>
Thread-Topic: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Thread-Index: AcOL/yB6t3YnBznZTCy9rduMoBnHpAADURew
From: <marco.stura@nokia.com>
To: <jari.arkko@kolumbus.fi>
Cc: <leena.mattila@ericsson.com>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 06 Oct 2003 13:28:42.0854 (UTC) FILETIME=[C2E1B060:01C38C0D]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi Jari,

> > I don't think there is need to grant volume units per=20
> direction, I think it
> > would be quite complex (rather mission impossible) for a=20
> server to estimate=20
> > how much a user can receive and how much a user can send. =20
> It is much
> > simpler to always grant the total amount of data volume a=20
> user is allowed
>=20
> Hmm... wouldn't the same estimation problems apply to all of the above
> cases?

Well, I may agree with you and in general is better to not exclude
a priori the possibility of granting amount of data sent and amount
of data received. Fine.

> - Define 6 counters:
>    o Input, output, total X
>    o Bytes, Packets
> - Total counters need not be reported, but can be sent from
>    the server as granted limits

Sounds good, but I'm not sure we need Bytes and Packets.
Would Input/Output octets be enough? I guess so.

BR
Marco


From owner-aaa-wg@merit.edu  Mon Oct  6 09:46:01 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA00077
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 09:46:01 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 08783912A9; Mon,  6 Oct 2003 09:45:19 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 82178912CD; Mon,  6 Oct 2003 09:45:18 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 70B1B912A9
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 09:45:16 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 1AF835DD93; Mon,  6 Oct 2003 09:45:16 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id 8674A5DD91
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 09:45:15 -0400 (EDT)
Received: from kolumbus.fi (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id 9A5156A907; Mon,  6 Oct 2003 16:45:14 +0300 (EEST)
Message-ID: <3F817103.6090004@kolumbus.fi>
Date: Mon, 06 Oct 2003 16:41:23 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: marco.stura@nokia.com
Cc: leena.mattila@ericsson.com, aaa-wg@merit.edu
Subject: Re: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
References: <142DC466081D9B409AAD1DDCA4B21E1D018B02B3@esebe016.ntc.nokia.com>
In-Reply-To: <142DC466081D9B409AAD1DDCA4B21E1D018B02B3@esebe016.ntc.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

marco.stura@nokia.com wrote:

> Sounds good, but I'm not sure we need Bytes and Packets.
> Would Input/Output octets be enough? I guess so.

I do not see an immediate need for CCA based on packets, I
agree with you on that.

But I just proposed them to keep the basic RADIUS/DIAMETER NASREQ
roughly in lin in terms of what they measure.

--Jari




From owner-aaa-wg@merit.edu  Mon Oct  6 09:52:37 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA00387
	for <aaa-archive@lists.ietf.org>; Mon, 6 Oct 2003 09:52:37 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 5CE0F912CD; Mon,  6 Oct 2003 09:52:32 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 304B6912CF; Mon,  6 Oct 2003 09:52:32 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id F2303912CD
	for <aaa-wg@trapdoor.merit.edu>; Mon,  6 Oct 2003 09:52:30 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id E1CEE5DD93; Mon,  6 Oct 2003 09:52:30 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id 324F75DD97
	for <aaa-wg@merit.edu>; Mon,  6 Oct 2003 09:52:30 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h96DqRN1023379;
	Mon, 6 Oct 2003 15:52:27 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <T6YJDLDW>; Mon, 6 Oct 2003 15:53:56 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843BD3@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'Jari Arkko'" <jari.arkko@kolumbus.fi>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Mon, 6 Oct 2003 15:51:53 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Jari,

> > I thought that there may be existing application servers, 
> which already support 
> > some other data format for accounting data, e.g. ASN.1. If 
> these servers 
> > do not use any other Diameter application, it may be 
> simpler to re-use 
> > existing data format (embedded in the Service Parameter 
> Info AVP) for 
> > credit control as well. By using SPI one can also avoid CCA 
> protocol 
> 
> Such an AVP might be useful, yes, maybe even more generally
> than in CCA.

OK. We will keep the SPI AVP.

> Well, you need *some* AVP to carry the information. I think you had
> SHOULD for using existing AVPs, which I think is fine. *AVP is right
> too. In addition, you may need the other info carrier AVP. But I'd
> be happier if we could say something about its contents, e.g. at least
> that it is always in ASN.1 BER form or something like that.

It is rather difficult to say something exact about its content, e.g. that
it is ASN.1 BER format, since the content is really service specific.

Would this be better:

There are two ways for providing rating input to the credit control server, either by
using AVPs or by including them in the Service-Parameter-Info AVP. The general principle
for sending rating parameters is that the service SHOULD re-use existing AVPs, if the 
service can use AVPs defined by some Diameter application. Alternatively new AVPs can be
defined if the existing AVPs can not be re-used. The Service-Parameter-Info AVP MAY be used 
for instance when service already supports other data format (e.g. ASN.1 BER) for accounting
data and it doesn't support any other Diameter application. Then existing accounting data
encoding can be used for credit control as well. In this case the rating input is embedded
in the Service-Parameter-Info AVP as defined in the section 5.18 Service-Parameter-Info AVP.

Regards..........Harri



From owner-aaa-wg@merit.edu  Tue Oct  7 02:05:52 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA13767
	for <aaa-archive@lists.ietf.org>; Tue, 7 Oct 2003 02:05:52 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 6AA1891368; Tue,  7 Oct 2003 02:05:05 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 3980591369; Tue,  7 Oct 2003 02:05:05 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id DA99691368
	for <aaa-wg@trapdoor.merit.edu>; Tue,  7 Oct 2003 02:04:57 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id BCD105DD9F; Tue,  7 Oct 2003 02:04:57 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id 0AEC45DDC2
	for <aaa-wg@merit.edu>; Tue,  7 Oct 2003 02:04:57 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9764tN1003229;
	Tue, 7 Oct 2003 08:04:55 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <T6YJ2MF4>; Tue, 7 Oct 2003 08:06:27 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF03E061FE@esealnt630.al.sw.ericsson.se>
From: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
To: "'Jari Arkko'" <jari.arkko@kolumbus.fi>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>,
        "'marco.stura@nokia.com'" <marco.stura@nokia.com>
Subject: RE: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Date: Tue, 7 Oct 2003 08:04:26 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

> 
> Ok, I see that the different AVPs would not be good.

As a mixture of general and specific AVPs, no. But after thinking this over and taking into account your discussion in the other thread about keeping CCA in line with RADIUS/DIAMETER NASREQ, maybe the general definition should be abandoned and the units should be defined as follows instead:
<XXX-Service-Unit>::=< AVP Header: TBD > 
                         [ CC-Time ] 
                         [ CC-Money ] (grouped, consists of monetary amount and currency code)
                         [ CC-Total-Octets ]
                         [ CC-Input-Octets ]
                         [ CC-Output-Octets ]
                         [ CC-Service-Specific-Units ]
                         *AVP
where XXX stands for Used, Requested or Granted.
The existing Unit-Type and Unit-Value AVPs become thus obsolete.
In practise this would contain exactly the same unit types that we have defined this far. The advantage of the above definition is that if one uses two (or more) unit types at the same time, e.g. CC-Input-Octets and CC-Output-Octets and CC-Time, one does not need to repeat the XXX-Service-Unit AVPs several times, giving less overhead in the message. Also the processing in the receiving end will be simpler.
 
> [Still, having the "direction"
> AVP always present might make things simpler, no need for 
> default values, no
> default handling code in decoders etc.]
> 
Ok, agreed. If we keep the general approach I can add an explicit direction value for TOTAL if that makes things simpler.

/Leena


From owner-aaa-wg@merit.edu  Tue Oct  7 02:19:52 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA20459
	for <aaa-archive@lists.ietf.org>; Tue, 7 Oct 2003 02:19:52 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id F321291269; Tue,  7 Oct 2003 02:19:46 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id C0D0791328; Tue,  7 Oct 2003 02:19:45 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 8C25891269
	for <aaa-wg@trapdoor.merit.edu>; Tue,  7 Oct 2003 02:19:44 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 6F7105DDC1; Tue,  7 Oct 2003 02:19:44 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from hotmail.com (sea1-dav32.sea1.hotmail.com [207.68.162.89])
	by segue.merit.edu (Postfix) with ESMTP id 2D0555DDAB
	for <aaa-wg@merit.edu>; Tue,  7 Oct 2003 02:19:44 -0400 (EDT)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Mon, 6 Oct 2003 23:19:43 -0700
Received: from 202.134.200.4 by sea1-dav32.sea1.hotmail.com with DAV;
	Tue, 07 Oct 2003 06:19:43 +0000
X-Originating-IP: [202.134.200.4]
X-Originating-Email: [sunderjsingh@hotmail.com]
From: "Sunderjeet Singh" <sunderjsingh@hotmail.com>
To: <aaa-wg@merit.edu>
Subject: [AAA-WG]: Editing Mistake in draft 10
Date: Tue, 7 Oct 2003 11:49:01 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0090_01C38CC9.0029A430"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Message-ID: <Sea1-DAV32pZd8CRDqa00002f69@hotmail.com>
X-OriginalArrivalTime: 07 Oct 2003 06:19:43.0726 (UTC) FILETIME=[FF9430E0:01C38C9A]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This is a multi-part message in MIME format.

------=_NextPart_000_0090_01C38CC9.0029A430
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

There is an editing mistake in Draft 10 of Diameter protocol. Section 3 =
mentions low order 3 bits (0,1,2) in the command flag of diameter header =
as 'R', 'P', 'E' whereas section 11.2.2 makes them high order bits =
(8,7,6).=20

regards

Sunderjeet

------=_NextPart_000_0090_01C38CC9.0029A430
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3700.6699" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>There is an editing mistake in Draft 10 =
of Diameter=20
protocol. Section 3 mentions low order 3 bits (0,1,2) in the command =
flag of=20
diameter header as 'R', 'P', 'E' whereas section<FONT size=3D2> 11.2.2 =
makes them=20
high order bits (8,7,6). </FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>regards</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Sunderjeet</FONT></DIV></BODY></HTML>

------=_NextPart_000_0090_01C38CC9.0029A430--


From owner-aaa-wg@merit.edu  Tue Oct  7 07:43:42 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA27681
	for <aaa-archive@lists.ietf.org>; Tue, 7 Oct 2003 07:43:42 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 8B3CA9126F; Tue,  7 Oct 2003 07:43:35 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 5AFA291271; Tue,  7 Oct 2003 07:43:35 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 46C5D9126F
	for <aaa-wg@trapdoor.merit.edu>; Tue,  7 Oct 2003 07:43:34 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 3491F5DE35; Tue,  7 Oct 2003 07:43:34 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id CC2FA5DE32
	for <aaa-wg@merit.edu>; Tue,  7 Oct 2003 07:43:33 -0400 (EDT)
Received: from kolumbus.fi (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id 0C7BC6A906; Tue,  7 Oct 2003 14:43:33 +0300 (EEST)
Message-ID: <3F82A5FD.8080702@kolumbus.fi>
Date: Tue, 07 Oct 2003 14:39:41 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Sunderjeet Singh <sunderjsingh@hotmail.com>
Cc: aaa-wg@merit.edu
Subject: Re: [AAA-WG]: Editing Mistake in draft 10
References: <Sea1-DAV32pZd8CRDqa00002f69@hotmail.com>
In-Reply-To: <Sea1-DAV32pZd8CRDqa00002f69@hotmail.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

Sunderjeet Singh wrote:
> Hi,
>  
> There is an editing mistake in Draft 10 of Diameter protocol. Section 3 

Your information source is a bit outdated. See
http://www.ietf.org/rfc/rfc3588.txt

> mentions low order 3 bits (0,1,2) in the command flag of diameter header 
> as 'R', 'P', 'E' whereas section 11.2.2 makes them high order bits (8,7,6).

RFC 3588 lists both as bits 0/1/2/3.

here has been one addition of a new flag, the T flag, in the interim.

--Jari





From owner-aaa-wg@merit.edu  Tue Oct  7 08:54:24 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA29524
	for <aaa-archive@lists.ietf.org>; Tue, 7 Oct 2003 08:54:24 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 8BA2391333; Tue,  7 Oct 2003 08:54:20 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 56C7A91338; Tue,  7 Oct 2003 08:54:20 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 0224E91333
	for <aaa-wg@trapdoor.merit.edu>; Tue,  7 Oct 2003 08:54:18 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id E50F35DE32; Tue,  7 Oct 2003 08:54:18 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from hotmail.com (sea1-dav40.sea1.hotmail.com [207.68.162.97])
	by segue.merit.edu (Postfix) with ESMTP id A44175DE2F
	for <aaa-wg@merit.edu>; Tue,  7 Oct 2003 08:54:18 -0400 (EDT)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Tue, 7 Oct 2003 05:54:18 -0700
Received: from 202.134.200.4 by sea1-dav40.sea1.hotmail.com with DAV;
	Tue, 07 Oct 2003 12:54:17 +0000
X-Originating-IP: [202.134.200.4]
X-Originating-Email: [sunderjsingh@hotmail.com]
From: "Sunderjeet Singh" <sunderjsingh@hotmail.com>
To: "Jari Arkko" <jari.arkko@kolumbus.fi>
Cc: <aaa-wg@merit.edu>
References: <Sea1-DAV32pZd8CRDqa00002f69@hotmail.com> <3F82A5FD.8080702@kolumbus.fi>
Subject: Re: [AAA-WG]: Editing Mistake in draft 10
Date: Tue, 7 Oct 2003 18:23:16 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Message-ID: <Sea1-DAV408keTBEbEX00003549@hotmail.com>
X-OriginalArrivalTime: 07 Oct 2003 12:54:18.0131 (UTC) FILETIME=[1E9FB630:01C38CD2]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

I am following the RFC only. I came across the error while going through the
draft. Just thought i might update the group for the same.

thanx

sunderjeet

----- Original Message -----
From: "Jari Arkko" <jari.arkko@kolumbus.fi>
To: "Sunderjeet Singh" <sunderjsingh@hotmail.com>
Cc: <aaa-wg@merit.edu>
Sent: Tuesday, October 07, 2003 6:39 AM
Subject: Re: [AAA-WG]: Editing Mistake in draft 10


> Sunderjeet Singh wrote:
> > Hi,
> >
> > There is an editing mistake in Draft 10 of Diameter protocol. Section 3
>
> Your information source is a bit outdated. See
> http://www.ietf.org/rfc/rfc3588.txt
>
> > mentions low order 3 bits (0,1,2) in the command flag of diameter header
> > as 'R', 'P', 'E' whereas section 11.2.2 makes them high order bits
(8,7,6).
>
> RFC 3588 lists both as bits 0/1/2/3.
>
> here has been one addition of a new flag, the T flag, in the interim.
>
> --Jari
>
>
>
>


From owner-aaa-wg@merit.edu  Tue Oct  7 11:55:03 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA09326
	for <aaa-archive@lists.ietf.org>; Tue, 7 Oct 2003 11:55:02 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 4759C91278; Tue,  7 Oct 2003 11:54:58 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id E043291279; Tue,  7 Oct 2003 11:54:57 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 1024391278
	for <aaa-wg@trapdoor.merit.edu>; Tue,  7 Oct 2003 11:54:55 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id EF3665DE23; Tue,  7 Oct 2003 11:54:54 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id 8C7EA5DDAB
	for <aaa-wg@merit.edu>; Tue,  7 Oct 2003 11:54:54 -0400 (EDT)
Received: from kolumbus.fi (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id C9B5E6A906; Tue,  7 Oct 2003 18:54:52 +0300 (EEST)
Message-ID: <3F82E0E4.5020703@kolumbus.fi>
Date: Tue, 07 Oct 2003 18:51:00 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>,
        "'marco.stura@nokia.com'" <marco.stura@nokia.com>
Subject: Re: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
References: <F8EFC4B4A8C016428BC1F589296D4FBF03E061FE@esealnt630.al.sw.ericsson.se>
In-Reply-To: <F8EFC4B4A8C016428BC1F589296D4FBF03E061FE@esealnt630.al.sw.ericsson.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

Leena Mattila (TU/LMF) wrote:

> As a mixture of general and specific AVPs, no. But after thinking this over and taking into account your discussion in the other thread about keeping CCA in line with RADIUS/DIAMETER NASREQ, maybe the general definition should be abandoned and the units should be defined as follows instead:
> <XXX-Service-Unit>::=< AVP Header: TBD > 
>                          [ CC-Time ] 
>                          [ CC-Money ] (grouped, consists of monetary amount and currency code)
>                          [ CC-Total-Octets ]
>                          [ CC-Input-Octets ]
>                          [ CC-Output-Octets ]
>                          [ CC-Service-Specific-Units ]
>                          *AVP
> where XXX stands for Used, Requested or Granted.

This would work for me.

--Jari





From owner-aaa-wg@merit.edu  Wed Oct  8 01:39:42 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA05713
	for <aaa-archive@lists.ietf.org>; Wed, 8 Oct 2003 01:39:41 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 41C40912A4; Wed,  8 Oct 2003 01:39:36 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 11591912AB; Wed,  8 Oct 2003 01:39:35 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id C8D2A912A4
	for <aaa-wg@trapdoor.merit.edu>; Wed,  8 Oct 2003 01:39:34 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id B305A5DE2B; Wed,  8 Oct 2003 01:39:34 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id DECD55DE23
	for <aaa-wg@merit.edu>; Wed,  8 Oct 2003 01:39:33 -0400 (EDT)
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.6) with ESMTP id h985dV625419
	for <aaa-wg@merit.edu>; Wed, 8 Oct 2003 08:39:31 +0300 (EET DST)
Received: from esebh004.NOE.Nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T652742918dac158f21083@esvir01nok.ntc.nokia.com>;
 Wed, 8 Oct 2003 08:39:30 +0300
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh004.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Wed, 8 Oct 2003 08:39:30 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Date: Wed, 8 Oct 2003 08:39:30 +0300
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D015C7F8A@esebe016.ntc.nokia.com>
Thread-Topic: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Thread-Index: AcOM61lp0EddwBlzSUat8Y0MNmZJ5gAcx4zw
From: <marco.stura@nokia.com>
To: <jari.arkko@kolumbus.fi>, <leena.mattila@ericsson.com>
Cc: <aaa-wg@merit.edu>
X-OriginalArrivalTime: 08 Oct 2003 05:39:30.0902 (UTC) FILETIME=[8BD63760:01C38D5E]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

> > <XXX-Service-Unit>::=3D< AVP Header: TBD >=20
> >                          [ CC-Time ]=20
> >                          [ CC-Money ] (grouped, consists of=20
> monetary amount and currency code)
> >                          [ CC-Total-Octets ]
> >                          [ CC-Input-Octets ]
> >                          [ CC-Output-Octets ]
> >                          [ CC-Service-Specific-Units ]
> >                          *AVP
> > where XXX stands for Used, Requested or Granted.
>=20
> This would work for me.

Agree.

Marco

> -----Original Message-----
> From: ext Jari Arkko [mailto:jari.arkko@kolumbus.fi]
> Sent: 07 October, 2003 18:51
> To: Leena Mattila (TU/LMF)
> Cc: 'aaa-wg@merit.edu'; Stura Marco (NET/Helsinki)
> Subject: Re: [AAA-WG]: CCA: Separation of sent and received=20
> bytes in CCA
>=20
>=20
> Leena Mattila (TU/LMF) wrote:
>=20
> > As a mixture of general and specific AVPs, no. But after=20
> thinking this over and taking into account your discussion in=20
> the other thread about keeping CCA in line with=20
> RADIUS/DIAMETER NASREQ, maybe the general definition should=20
> be abandoned and the units should be defined as follows instead:
> > <XXX-Service-Unit>::=3D< AVP Header: TBD >=20
> >                          [ CC-Time ]=20
> >                          [ CC-Money ] (grouped, consists of=20
> monetary amount and currency code)
> >                          [ CC-Total-Octets ]
> >                          [ CC-Input-Octets ]
> >                          [ CC-Output-Octets ]
> >                          [ CC-Service-Specific-Units ]
> >                          *AVP
> > where XXX stands for Used, Requested or Granted.
>=20
> This would work for me.
>=20
> --Jari
>=20
>=20
>=20
>=20


From owner-aaa-wg@merit.edu  Wed Oct  8 17:04:25 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA09202
	for <aaa-archive@lists.ietf.org>; Wed, 8 Oct 2003 17:04:24 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 11F81912E6; Wed,  8 Oct 2003 17:03:55 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 49A26912E4; Wed,  8 Oct 2003 17:03:53 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id E2D88912E8
	for <aaa-wg@trapdoor.merit.edu>; Wed,  8 Oct 2003 17:03:45 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id B5CE65DE57; Wed,  8 Oct 2003 17:03:45 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from palrel12.hp.com (palrel12.hp.com [156.153.255.237])
	by segue.merit.edu (Postfix) with ESMTP id 3468A5DE33
	for <aaa-wg@merit.edu>; Wed,  8 Oct 2003 17:03:45 -0400 (EDT)
Received: from xparelay1.ptp.hp.com (xparelay1.ptp.hp.com [15.1.28.62])
	by palrel12.hp.com (Postfix) with ESMTP
	id 66D791C01FDC; Wed,  8 Oct 2003 14:03:36 -0700 (PDT)
Received: from xpabh2.ptp.hp.com (xpabh2.ptp.hp.com [15.1.28.61])
	by xparelay1.ptp.hp.com (Postfix) with ESMTP
	id 583C11004BA5; Wed,  8 Oct 2003 14:03:36 -0700 (PDT)
Received: by xpabh2.ptp.hp.com with Internet Mail Service (5.5.2655.55)
	id <4QW5MM2T>; Wed, 8 Oct 2003 14:03:36 -0700
Message-ID: <1D3D2C371FCBD947A7897FABBD3533A502960370@xsun01.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Harri Hakala (TU/LMF)'" <harri.hakala@ericsson.com>,
        "'Jari Arkko'" <jari.arkko@kolumbus.fi>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Wed, 8 Oct 2003 14:03:28 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi,

  I am a bit puzzled by the SPI proposal here.
 
  It seems to me that Diameter defines an extensible information model
and means of encoding data into Diameter messages via AVP's.

  Having an escape hatch called SPI which says that effectively opaque
information can be sent seems to me to be something to be strongly
discouraged.

  Transformation of some information payload, whether it be ASN.1
encoded, or XML or something else is best done prior to sending
that information in a Diameter payload.  I.e. make the information
explicit as well defined AVP's that have some specific semantic
meaning.

  To get to the SPI, the application is already going to have
to tear apart lots of other well defined AVP's in the process and
interpret them.

  Maintain the separation of concern, and the explicitness of
the Diameter Information model!

Regards,

  Jeff Meyer

> -----Original Message-----
> From: owner-aaa-wg@merit.edu 
> [mailto:owner-aaa-wg@merit.edu]On Behalf Of
> Harri Hakala (TU/LMF)
> Sent: Monday, October 06, 2003 6:52 AM
> To: 'Jari Arkko'
> Cc: 'aaa-wg@merit.edu'
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> Hi Jari,
> 
> > > I thought that there may be existing application servers, 
> > which already support 
> > > some other data format for accounting data, e.g. ASN.1. If 
> > these servers 
> > > do not use any other Diameter application, it may be 
> > simpler to re-use 
> > > existing data format (embedded in the Service Parameter 
> > Info AVP) for 
> > > credit control as well. By using SPI one can also avoid CCA 
> > protocol 
> > 
> > Such an AVP might be useful, yes, maybe even more generally
> > than in CCA.
> 
> OK. We will keep the SPI AVP.
> 
> > Well, you need *some* AVP to carry the information. I think you had
> > SHOULD for using existing AVPs, which I think is fine. *AVP is right
> > too. In addition, you may need the other info carrier AVP. But I'd
> > be happier if we could say something about its contents, 
> e.g. at least
> > that it is always in ASN.1 BER form or something like that.
> 
> It is rather difficult to say something exact about its 
> content, e.g. that
> it is ASN.1 BER format, since the content is really service specific.
> 
> Would this be better:
> 
> There are two ways for providing rating input to the credit 
> control server, either by
> using AVPs or by including them in the Service-Parameter-Info 
> AVP. The general principle
> for sending rating parameters is that the service SHOULD 
> re-use existing AVPs, if the 
> service can use AVPs defined by some Diameter application. 
> Alternatively new AVPs can be
> defined if the existing AVPs can not be re-used. The 
> Service-Parameter-Info AVP MAY be used 
> for instance when service already supports other data format 
> (e.g. ASN.1 BER) for accounting
> data and it doesn't support any other Diameter application. 
> Then existing accounting data
> encoding can be used for credit control as well. In this case 
> the rating input is embedded
> in the Service-Parameter-Info AVP as defined in the section 
> 5.18 Service-Parameter-Info AVP.
> 
> Regards..........Harri
> 


From owner-aaa-wg@merit.edu  Thu Oct  9 02:45:46 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA08884
	for <aaa-archive@lists.ietf.org>; Thu, 9 Oct 2003 02:45:46 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 137ED912AF; Thu,  9 Oct 2003 02:45:24 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id F26A9912B9; Thu,  9 Oct 2003 02:45:19 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 7143D912AF
	for <aaa-wg@trapdoor.merit.edu>; Thu,  9 Oct 2003 02:45:16 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id A75CA5DDEB; Thu,  9 Oct 2003 02:45:15 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id 9916D5DDD3
	for <aaa-wg@merit.edu>; Thu,  9 Oct 2003 02:45:14 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h996jB42006507;
	Thu, 9 Oct 2003 08:45:12 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <43DHKMY0>; Thu, 9 Oct 2003 08:45:18 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843BEB@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'MEYER,JEFFREY D (HP-Cupertino,ex1)'" <jeff.meyer2@hp.com>,
        "'Jari Arkko'" <jari.arkko@kolumbus.fi>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Thu, 9 Oct 2003 08:44:38 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Jeff,

I understand your concern and your arguments are valid as well.

The idea behind the SPI was that it is an alternative  way to transfer
rating input to credit control system. The controlling AVPs defined by 
CCA are generic enough for different services, but very often the rating input
varies to service to service.

If new AVPs are needed for rating to new service, then CC server must be 
also updated every time when new AVPs are introduced. The credit control 
system can contain separate rating engine(s) and these rating AVPs are actually 
destined to them. The SPI can be used to carry rating parameters to
the server, which can then transparently pass its content to rating system.

Regards.......Harri

> -----Original Message-----
> From: MEYER,JEFFREY D (HP-Cupertino,ex1) [mailto:jeff.meyer2@hp.com]
> Sent: 9. lokakuuta 2003 0:03
> To: Harri Hakala (TU/LMF); 'Jari Arkko'
> Cc: 'aaa-wg@merit.edu'
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> Hi,
> 
>   I am a bit puzzled by the SPI proposal here.
>  
>   It seems to me that Diameter defines an extensible information model
> and means of encoding data into Diameter messages via AVP's.
> 
>   Having an escape hatch called SPI which says that effectively opaque
> information can be sent seems to me to be something to be strongly
> discouraged.
> 
>   Transformation of some information payload, whether it be ASN.1
> encoded, or XML or something else is best done prior to sending
> that information in a Diameter payload.  I.e. make the information
> explicit as well defined AVP's that have some specific semantic
> meaning.
> 
>   To get to the SPI, the application is already going to have
> to tear apart lots of other well defined AVP's in the process and
> interpret them.
> 
>   Maintain the separation of concern, and the explicitness of
> the Diameter Information model!
> 
> Regards,
> 
>   Jeff Meyer
> 
> > -----Original Message-----
> > From: owner-aaa-wg@merit.edu 
> > [mailto:owner-aaa-wg@merit.edu]On Behalf Of
> > Harri Hakala (TU/LMF)
> > Sent: Monday, October 06, 2003 6:52 AM
> > To: 'Jari Arkko'
> > Cc: 'aaa-wg@merit.edu'
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> > 
> > 
> > Hi Jari,
> > 
> > > > I thought that there may be existing application servers, 
> > > which already support 
> > > > some other data format for accounting data, e.g. ASN.1. If 
> > > these servers 
> > > > do not use any other Diameter application, it may be 
> > > simpler to re-use 
> > > > existing data format (embedded in the Service Parameter 
> > > Info AVP) for 
> > > > credit control as well. By using SPI one can also avoid CCA 
> > > protocol 
> > > 
> > > Such an AVP might be useful, yes, maybe even more generally
> > > than in CCA.
> > 
> > OK. We will keep the SPI AVP.
> > 
> > > Well, you need *some* AVP to carry the information. I 
> think you had
> > > SHOULD for using existing AVPs, which I think is fine. 
> *AVP is right
> > > too. In addition, you may need the other info carrier AVP. But I'd
> > > be happier if we could say something about its contents, 
> > e.g. at least
> > > that it is always in ASN.1 BER form or something like that.
> > 
> > It is rather difficult to say something exact about its 
> > content, e.g. that
> > it is ASN.1 BER format, since the content is really service 
> specific.
> > 
> > Would this be better:
> > 
> > There are two ways for providing rating input to the credit 
> > control server, either by
> > using AVPs or by including them in the Service-Parameter-Info 
> > AVP. The general principle
> > for sending rating parameters is that the service SHOULD 
> > re-use existing AVPs, if the 
> > service can use AVPs defined by some Diameter application. 
> > Alternatively new AVPs can be
> > defined if the existing AVPs can not be re-used. The 
> > Service-Parameter-Info AVP MAY be used 
> > for instance when service already supports other data format 
> > (e.g. ASN.1 BER) for accounting
> > data and it doesn't support any other Diameter application. 
> > Then existing accounting data
> > encoding can be used for credit control as well. In this case 
> > the rating input is embedded
> > in the Service-Parameter-Info AVP as defined in the section 
> > 5.18 Service-Parameter-Info AVP.
> > 
> > Regards..........Harri
> > 
> 


From owner-aaa-wg@merit.edu  Thu Oct  9 02:56:25 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA09226
	for <aaa-archive@lists.ietf.org>; Thu, 9 Oct 2003 02:56:24 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id DF01D912BC; Thu,  9 Oct 2003 02:56:18 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id AC7A8912E8; Thu,  9 Oct 2003 02:56:18 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 557BC912BC
	for <aaa-wg@trapdoor.merit.edu>; Thu,  9 Oct 2003 02:56:17 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 4541F5DE58; Thu,  9 Oct 2003 02:56:17 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id 481D35DE57
	for <aaa-wg@merit.edu>; Thu,  9 Oct 2003 02:56:16 -0400 (EDT)
Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.6) with ESMTP id h996uFt08093
	for <aaa-wg@merit.edu>; Thu, 9 Oct 2003 09:56:15 +0300 (EET DST)
Received: from esebh001.NOE.Nokia.com (unverified) by esvir03nok.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T652caf2e8bac158f23077@esvir03nok.nokia.com>;
 Thu, 9 Oct 2003 09:56:15 +0300
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Thu, 9 Oct 2003 09:56:13 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Thu, 9 Oct 2003 09:56:12 +0300
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D018B02C0@esebe016.ntc.nokia.com>
Thread-Topic: [AAA-WG]: CCA: Rating Input
Thread-Index: AcOOMQSmTAv8eG5IT4+ta5iTwGhnnAAAEN4w
From: <marco.stura@nokia.com>
To: <harri.hakala@ericsson.com>
Cc: <aaa-wg@merit.edu>, <jeff.meyer2@hp.com>, <jari.arkko@kolumbus.fi>
X-OriginalArrivalTime: 09 Oct 2003 06:56:13.0329 (UTC) FILETIME=[6D829810:01C38E32]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi Harri,

The SPI can be used to carry rating parameters to
> the server, which can then transparently pass its content to=20
> rating system.

The SPI currently have the M bit set. According to the base,
if the server receives an AVP with M bit set and it doen't
understand the AVP it must reject the request with appropriate
Result-Code in the answer.
According to your explanation it seems the SPI is transparent
to the server, should then have the M bit cleared?

Another question is, what happen if the backhand rating server
does not understand the content of this AVP? Would it notify
somehow the CC server that would then send and error answer
with Resul-Code DIAMETER_RATING_FAILED?

Br
Marco =20

> -----Original Message-----
> From: ext Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> Sent: 09 October, 2003 09:45
> To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'; 'Jari Arkko'
> Cc: 'aaa-wg@merit.edu'
> Subject: RE: [AAA-WG]: CCA: Rating Input
>=20
>=20
> Hi Jeff,
>=20
> I understand your concern and your arguments are valid as well.
>=20
> The idea behind the SPI was that it is an alternative  way to transfer
> rating input to credit control system. The controlling AVPs=20
> defined by=20
> CCA are generic enough for different services, but very often=20
> the rating input
> varies to service to service.
>=20
> If new AVPs are needed for rating to new service, then CC=20
> server must be=20
> also updated every time when new AVPs are introduced. The=20
> credit control=20
> system can contain separate rating engine(s) and these rating=20
> AVPs are actually=20
> destined to them. The SPI can be used to carry rating parameters to
> the server, which can then transparently pass its content to=20
> rating system.
>=20
> Regards.......Harri
>=20
> > -----Original Message-----
> > From: MEYER,JEFFREY D (HP-Cupertino,ex1) [mailto:jeff.meyer2@hp.com]
> > Sent: 9. lokakuuta 2003 0:03
> > To: Harri Hakala (TU/LMF); 'Jari Arkko'
> > Cc: 'aaa-wg@merit.edu'
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> >=20
> >=20
> > Hi,
> >=20
> >   I am a bit puzzled by the SPI proposal here.
> > =20
> >   It seems to me that Diameter defines an extensible=20
> information model
> > and means of encoding data into Diameter messages via AVP's.
> >=20
> >   Having an escape hatch called SPI which says that=20
> effectively opaque
> > information can be sent seems to me to be something to be strongly
> > discouraged.
> >=20
> >   Transformation of some information payload, whether it be ASN.1
> > encoded, or XML or something else is best done prior to sending
> > that information in a Diameter payload.  I.e. make the information
> > explicit as well defined AVP's that have some specific semantic
> > meaning.
> >=20
> >   To get to the SPI, the application is already going to have
> > to tear apart lots of other well defined AVP's in the process and
> > interpret them.
> >=20
> >   Maintain the separation of concern, and the explicitness of
> > the Diameter Information model!
> >=20
> > Regards,
> >=20
> >   Jeff Meyer
> >=20
> > > -----Original Message-----
> > > From: owner-aaa-wg@merit.edu=20
> > > [mailto:owner-aaa-wg@merit.edu]On Behalf Of
> > > Harri Hakala (TU/LMF)
> > > Sent: Monday, October 06, 2003 6:52 AM
> > > To: 'Jari Arkko'
> > > Cc: 'aaa-wg@merit.edu'
> > > Subject: RE: [AAA-WG]: CCA: Rating Input
> > >=20
> > >=20
> > > Hi Jari,
> > >=20
> > > > > I thought that there may be existing application servers,=20
> > > > which already support=20
> > > > > some other data format for accounting data, e.g. ASN.1. If=20
> > > > these servers=20
> > > > > do not use any other Diameter application, it may be=20
> > > > simpler to re-use=20
> > > > > existing data format (embedded in the Service Parameter=20
> > > > Info AVP) for=20
> > > > > credit control as well. By using SPI one can also avoid CCA=20
> > > > protocol=20
> > > >=20
> > > > Such an AVP might be useful, yes, maybe even more generally
> > > > than in CCA.
> > >=20
> > > OK. We will keep the SPI AVP.
> > >=20
> > > > Well, you need *some* AVP to carry the information. I=20
> > think you had
> > > > SHOULD for using existing AVPs, which I think is fine.=20
> > *AVP is right
> > > > too. In addition, you may need the other info carrier=20
> AVP. But I'd
> > > > be happier if we could say something about its contents,=20
> > > e.g. at least
> > > > that it is always in ASN.1 BER form or something like that.
> > >=20
> > > It is rather difficult to say something exact about its=20
> > > content, e.g. that
> > > it is ASN.1 BER format, since the content is really service=20
> > specific.
> > >=20
> > > Would this be better:
> > >=20
> > > There are two ways for providing rating input to the credit=20
> > > control server, either by
> > > using AVPs or by including them in the Service-Parameter-Info=20
> > > AVP. The general principle
> > > for sending rating parameters is that the service SHOULD=20
> > > re-use existing AVPs, if the=20
> > > service can use AVPs defined by some Diameter application.=20
> > > Alternatively new AVPs can be
> > > defined if the existing AVPs can not be re-used. The=20
> > > Service-Parameter-Info AVP MAY be used=20
> > > for instance when service already supports other data format=20
> > > (e.g. ASN.1 BER) for accounting
> > > data and it doesn't support any other Diameter application.=20
> > > Then existing accounting data
> > > encoding can be used for credit control as well. In this case=20
> > > the rating input is embedded
> > > in the Service-Parameter-Info AVP as defined in the section=20
> > > 5.18 Service-Parameter-Info AVP.
> > >=20
> > > Regards..........Harri
> > >=20
> >=20
>=20


From owner-aaa-wg@merit.edu  Thu Oct  9 03:13:45 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA09621
	for <aaa-archive@lists.ietf.org>; Thu, 9 Oct 2003 03:13:45 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 3CEE2912FE; Thu,  9 Oct 2003 03:11:48 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 98FF891302; Thu,  9 Oct 2003 03:11:47 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 965B0912FE
	for <aaa-wg@trapdoor.merit.edu>; Thu,  9 Oct 2003 03:11:40 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 746935DE63; Thu,  9 Oct 2003 03:11:40 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id A2F755DE54
	for <aaa-wg@merit.edu>; Thu,  9 Oct 2003 03:11:39 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h997Ba42014457;
	Thu, 9 Oct 2003 09:11:37 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <43DHK4Z9>; Thu, 9 Oct 2003 09:11:43 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843BEC@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'marco.stura@nokia.com'" <marco.stura@nokia.com>
Cc: aaa-wg@merit.edu, jeff.meyer2@hp.com, jari.arkko@kolumbus.fi
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Thu, 9 Oct 2003 09:11:04 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Marco,

> According to your explanation it seems the SPI is transparent
> to the server, should then have the M bit cleared?
Yes.

> Would it notify
> somehow the CC server that would then send and error answer
> with Resul-Code DIAMETER_RATING_FAILED?
Right as well.

Regards.......Harri

> -----Original Message-----
> From: marco.stura@nokia.com [mailto:marco.stura@nokia.com]
> Sent: 9. lokakuuta 2003 9:56
> To: Harri Hakala (TU/LMF)
> Cc: aaa-wg@merit.edu; jeff.meyer2@hp.com; jari.arkko@kolumbus.fi
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> Hi Harri,
> 
> The SPI can be used to carry rating parameters to
> > the server, which can then transparently pass its content to 
> > rating system.
> 
> The SPI currently have the M bit set. According to the base,
> if the server receives an AVP with M bit set and it doen't
> understand the AVP it must reject the request with appropriate
> Result-Code in the answer.
> According to your explanation it seems the SPI is transparent
> to the server, should then have the M bit cleared?
> 
> Another question is, what happen if the backhand rating server
> does not understand the content of this AVP? Would it notify
> somehow the CC server that would then send and error answer
> with Resul-Code DIAMETER_RATING_FAILED?
> 
> Br
> Marco  


From owner-aaa-wg@merit.edu  Thu Oct  9 03:53:55 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA10273
	for <aaa-archive@lists.ietf.org>; Thu, 9 Oct 2003 03:53:55 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id DF51F912F3; Thu,  9 Oct 2003 03:53:49 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id ACADA912F4; Thu,  9 Oct 2003 03:53:49 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 61FD5912F3
	for <aaa-wg@trapdoor.merit.edu>; Thu,  9 Oct 2003 03:53:48 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 437C25DE66; Thu,  9 Oct 2003 03:53:48 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [193.180.251.49])
	by segue.merit.edu (Postfix) with ESMTP id C1D895DE65
	for <aaa-wg@merit.edu>; Thu,  9 Oct 2003 03:53:47 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by albatross-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h997rklN015288;
	Thu, 9 Oct 2003 09:53:46 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <43DHLAMN>; Thu, 9 Oct 2003 09:53:52 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF03E0621F@esealnt630.al.sw.ericsson.se>
From: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
To: "'marco.stura@nokia.com'" <marco.stura@nokia.com>, jari.arkko@kolumbus.fi
Cc: aaa-wg@merit.edu
Subject: RE: [AAA-WG]: CCA: Separation of sent and received bytes in CCA
Date: Thu, 9 Oct 2003 09:53:15 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

OK, I'll post an update to the issue shortly.

/Leena

> -----Original Message-----
> From: marco.stura@nokia.com [mailto:marco.stura@nokia.com]
> Sent: 8. lokakuuta 2003 8:40
> To: jari.arkko@kolumbus.fi; Leena Mattila (TU/LMF)
> Cc: aaa-wg@merit.edu
> Subject: RE: [AAA-WG]: CCA: Separation of sent and received 
> bytes in CCA
> 
> 
> > > <XXX-Service-Unit>::=< AVP Header: TBD > 
> > >                          [ CC-Time ] 
> > >                          [ CC-Money ] (grouped, consists of 
> > monetary amount and currency code)
> > >                          [ CC-Total-Octets ]
> > >                          [ CC-Input-Octets ]
> > >                          [ CC-Output-Octets ]
> > >                          [ CC-Service-Specific-Units ]
> > >                          *AVP
> > > where XXX stands for Used, Requested or Granted.
> > 
> > This would work for me.
> 
> Agree.
> 
> Marco
> 
> > -----Original Message-----
> > From: ext Jari Arkko [mailto:jari.arkko@kolumbus.fi]
> > Sent: 07 October, 2003 18:51
> > To: Leena Mattila (TU/LMF)
> > Cc: 'aaa-wg@merit.edu'; Stura Marco (NET/Helsinki)
> > Subject: Re: [AAA-WG]: CCA: Separation of sent and received 
> > bytes in CCA
> > 
> > 
> > Leena Mattila (TU/LMF) wrote:
> > 
> > > As a mixture of general and specific AVPs, no. But after 
> > thinking this over and taking into account your discussion in 
> > the other thread about keeping CCA in line with 
> > RADIUS/DIAMETER NASREQ, maybe the general definition should 
> > be abandoned and the units should be defined as follows instead:
> > > <XXX-Service-Unit>::=< AVP Header: TBD > 
> > >                          [ CC-Time ] 
> > >                          [ CC-Money ] (grouped, consists of 
> > monetary amount and currency code)
> > >                          [ CC-Total-Octets ]
> > >                          [ CC-Input-Octets ]
> > >                          [ CC-Output-Octets ]
> > >                          [ CC-Service-Specific-Units ]
> > >                          *AVP
> > > where XXX stands for Used, Requested or Granted.
> > 
> > This would work for me.
> > 
> > --Jari
> > 
> > 
> > 
> > 
> 


From owner-aaa-wg@merit.edu  Thu Oct  9 08:49:41 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA17866
	for <aaa-archive@lists.ietf.org>; Thu, 9 Oct 2003 08:49:40 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 2375891300; Thu,  9 Oct 2003 08:49:27 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id E8CD5912FF; Thu,  9 Oct 2003 08:49:26 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 8972891302
	for <aaa-wg@trapdoor.merit.edu>; Thu,  9 Oct 2003 08:49:22 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 6B0185DEEF; Thu,  9 Oct 2003 08:49:22 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id C47955DECD
	for <aaa-wg@merit.edu>; Thu,  9 Oct 2003 08:49:21 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h99CnG42000162;
	Thu, 9 Oct 2003 14:49:20 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <43DHNYFB>; Thu, 9 Oct 2003 14:49:23 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF03E06227@esealnt630.al.sw.ericsson.se>
From: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
To: aaa-wg@merit.edu
Cc: jari.arkko@kolumbus.fi, "'marco.stura@nokia.com'" <marco.stura@nokia.com>
Subject: Re: [AAA-WG]: CCA: Separation of sent and received bytes in CCA R
	ev 2
Date: Thu, 9 Oct 2003 14:48:38 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

An updated proposal for the Separation of sent and received bytes in CCA:

ADD:
Section 5.x CC-Input-Octets AVP: 

   The CC-Input-Octets AVP (AVP Code TBD) is of type Unsigned64,
   and contains the number of requested, granted or used octets
   that can be/have been received from the end user.

ADD:
Section 5.x CC-Money AVP: 

   The CC-Money AVP (AVP Code TBD) is of type Grouped, and specifies
   the monetary amount in the given currency. The Currency-Code AVP
   SHOULD be included. It has the following ABNF grammar:  
         
      CC-Money ::= < AVP Header: TBD >  
                   { Unit-Value }  
                   [ Currency-Code ]

ADD:
Section 5.x CC-Output-Octets AVP: 

   The CC-Output-Octets AVP (AVP Code TBD) is of type Unsigned64,
   and contains the number of requested, granted or used octets
   that can be/have been sent to the end user.

ADD:
Section 5.x CC-Service-Specific-Units AVP: 

   The CC-Service-Specific-Units AVP (AVP Code TBD) is of type
   OctetString, and specifies the number of service specific units
   (e.g. number of events, points) given in a selected service.

ADD:
Section 5.x CC-Time AVP: 

   The CC-Time AVP (AVP Code TBD) is of type Unsigned32, and indicates
   the length of the requested, granted or used time in seconds.

ADD:
Section 5.x CC-Total-Octets AVP: 

   The CC-Total-Octets AVP (AVP Code TBD) is of type Unsigned64,
   and contains the total number of requested, granted or used
   octets regardless of the direction (sent or received).

Section 5.15 Granted-Service-Unit AVP  

FROM:
   Granted-Service-Unit AVP (AVP Code TBD) is of type Grouped and 
   contains the amount of units that the Diameter credit-control client 
   can provide to the end user until the service must be released or the 
   new Credit-Control-Request must be sent. The Unit-Value AVP contains 
   the granted units and the Unit-Type AVP defines the type of the unit.  
        
   If the Unit-Type AVP is set to time in the Credit-Control-Answer or 
   AA Answer command, the Unit Value AVP specifies the granted time in 
   seconds.  
    
   If the Unit-Type AVP is set to volume in the Credit-Control-Answer or 
   AA Answer command, the Unit-Value AVP specifies the granted volume in 
   bytes.    
            
   If the Unit-Type AVP is set to service specific in the Credit-
   Control-Answer command or AA Answer, the Unit-Value AVP specifies the 
   granted number of service specific units (e.g. number of events, 
   points) given in a selected service.   
            
   If the Unit-Type AVP is set to money in the Credit-Control-Answer or 
   AA answer command, the Unit-Value AVP specifies the granted monetary 
   amount in the given currency. If the unit type is money, a Currency-
   Code AVP SHOULD be included.   
    
   It has the following ABNF grammar:  
         
             <Granted-Service-Unit>::=< AVP Header: TBD >  
                                          { Unit-Type }  
                                          { Unit-Value }  
                                          [ Currency-Code ]

TO:
   Granted-Service-Unit AVP (AVP Code TBD) is of type Grouped and 
   contains the amount of units that the Diameter credit-control client 
   can provide to the end user until the service must be released or the 
   new Credit-Control-Request must be sent. A client is not required to 
   implement all of the unit types, and must treat unknown or unsupported 
   unit types in the answer message as an incorrect CCA answer. In that case
   the client shall terminate credit control session and indicate in the
   Termination-Cause AVP reason DIAMETER_BAD_ANSWER.

   It has the following ABNF grammar:  
         
      Granted-Service-Unit ::= < AVP Header: TBD >  
                               [ CC-Time ]
                               [ CC-Money ]  
                               [ CC-Total-Octets ]
                               [ CC-Input-Octets ]
                               [ CC-Output-Octets ]
                               [ CC-Service-Specific-Units ]

Section 5.17 Requested-Service-Unit AVP:  

FROM:
   The Requested-Service-Unit AVP (AVP Code TBD) is of type Grouped and 
   contains the amount of requested units specified by the Diameter 
   credit-control client. The included Unit-Value AVP contains the 
   requested Unit-Value and the Unit-Type AVP defines the type of the 
   unit. A server is not required to implement all of the unit types, 
   and must treat unknown or unsupported unit types as invalid AVP 
   values.  
        
   If the Unit Type AVP is set to time in the Credit-Control-Request 
   command, the Unit-Value AVP specifies the requested time in seconds.  
     
   If the Unit-type AVP is set to volume in the Credit-Control-Request 
   command, the Unit-Value AVP specifies the requested volume in bytes.  
     
   If the Unit-type AVP is set to service specific in the Credit-
   Control-Request command, the Unit-Value AVP specifies the requested 
   number of service specific units (e.g. number of events) given in a 
   selected service.  
     
   If the Unit-Type AVP is set to money in the Credit-Control-Request 
   command, the Unit-Value AVP specifies the monetary amount in the 
   given currency. If the unit type is money, a Currency-Code AVP SHOULD 
   be included.  
        
   It has the following ABNF grammar:  
        
             <Requested-Service-Unit>::=< AVP Header: TBD >  
                                      { Unit-Type }  
                                      { Unit-Value }  
                                      [ Currency-Code ]

TO:
   The Requested-Service-Unit AVP (AVP Code TBD) is of type Grouped and 
   contains the amount of requested units specified by the Diameter 
   credit-control client. A server is not required to implement all of
   the unit types, and must treat unknown or unsupported unit types as
   invalid AVPs.

   It has the following ABNF grammar:  
        
      Requested-Service-Unit ::= < AVP Header: TBD >
                                 [ CC-Time ]
                                 [ CC-Money ]  
                                 [ CC-Total-Octets ]
                                 [ CC-Input-Octets ]
                                 [ CC-Output-Octets ]
                                 [ CC-Service-Specific-Units ]
Section 5.24 Unit-Type AVP:

REMOVE.

Section 5.25 Unit-Value AVP:

FROM:
   Unit-Value AVP is of type Grouped (AVP Code TBD). The value can be 
   time in seconds, volume in bytes, number of service specific units or 
   monetary amount depending on the given unit type.   

TO:
   Unit-Value AVP is of type Grouped (AVP Code TBD) and specifies the
   units as decimal value.

Section 5.26 Used-Service-Unit AVP  

FROM:
   The Used-Service-Unit AVP is of type Grouped AVP (AVP Code TBD) and 
   contains the amount of used units measured from the point when the 
   service became active or, in case of interim interrogations are used 
   during the session, from the point when the previous measurement 
   ended. The included Unit-Type AVP defines the type of the unit and 
   the Unit-Value AVP contains the used amount.   
     
   If the Unit Type AVP is set to time in the Credit-Control-Request 
   command, the Unit-Value AVP specifies the used time in seconds.  
        
   If the Unit-Type AVP is set to volume in the Credit-Control-Request 
   command, the Unit-Value AVP specifies the used volume in bytes.   
     
   If the Unit-type AVP is set to service specific in the Credit-
   Control-Request command, the Unit-Value AVP specifies the used number 
   of service specific units (e.g. number of events) given in a selected 
   service.  
     
   If the Unit-Type AVP is set to money in the Credit-Control-Request 
   command, the Unit-Value AVP specifies the used monetary amount in the 
   given currency. If the unit type is money, a Currency-Code AVP SHOULD 
   be included.  
    
   It has the following ABNF grammar:
                 <Used-Service-Unit>::=< AVP Header: TBD >  
                                       { Unit-Type }  
                                       { Unit-Value }  
                                       [ Currency-Code ]

TO:
   The Used-Service-Unit AVP is of type Grouped AVP (AVP Code TBD) and 
   contains the amount of used units measured from the point when the 
   service became active or, in case of interim interrogations are used 
   during the session, from the point when the previous measurement 
   ended.

   It has the following ABNF grammar:

      Used-Service-Unit ::= < AVP Header: TBD >  
                            [ CC-Time ]
                            [ CC-Money ]  
                            [ CC-Total-Octets ]
                            [ CC-Input-Octets ]
                            [ CC-Output-Octets ]
                            [ CC-Service-Specific-Units ]

Section 5.27 Value-Digits AVP  

FROM:
   The Value-Digits AVP is of type Unsigned64 (AVP code TBD) and 
   contains the number of seconds, volume in bytes, number of service 
   specific units or monetary amount depending on the given Unit-Type 
   AVP.  

TO:
   The Value-Digits AVP is of type Unsigned64 (AVP code TBD) and 
   contains the significant digits of the number.  

Section 8.1 Initial RADIUS Access-Request:

FROM:
      - If the Granted-Service-Unit AVP with the Unit-Type Time or the 
        Validity-Time AVP is returned by the credit control server, 
        then the smallest value should be included in the RADIUS VSA 
        Duration-Quota.
      - If the Granted-Service-Unit AVP with the Unit-Type Volume is 
        returned by the credit-control server, then the volume should 
        be included in the RADIUS VSA Volume-Quota.
TO:
      - If the Granted-Service-Unit AVP including the CC-Time AVP or
        the Validity-Time AVP is returned by the credit control server, 
        then the smallest value should be included in the RADIUS VSA 
        Duration-Quota.
      - If the Granted-Service-Unit AVP including the CC-Total-Octets
        AVP is returned by the credit-control server, then the volume
        should be included in the RADIUS VSA Volume-Quota.

Section 8.2 Subsequent RADIUS Access-Request message:

FROM:
     - If the RADIUS Access-Request message contains the RADIUS VSA 
       Volume-Quota, the value shall be included in the Used-Service-
       Unit AVP and Unit-Type shall be set to Volume.
     - If the RADIUS Access-Request message contains RADIUS VSA Time-
       Quota, the value shall be included in the Used-Service-Unit AVP 
       and the Unit-Type shall be set to Time.
TO:
     - If the RADIUS Access-Request message contains the RADIUS VSA 
       Volume-Quota, the value shall be included in the CC-Total-
       Octets AVP within the Used-Service-Unit AVP.
     - If the RADIUS Access-Request message contains RADIUS VSA Time-
       Quota, the value shall be included in the CC-Time AVP within
       the Used-Service-Unit AVP.

FROM:
     - If RADIUS VSA Volume-Quota, the value shall be included in the 
       Used-Service-Unit AVP and Unit-Type shall be set to Volume. 
     - If RADIUS VSA Time-Quota, the value shall be included in the 
       Used-Service-Unit AVP and the Unit-Type shall be set to Time.
TO:
     - If RADIUS VSA Volume-Quota is present, the value shall be
       included in the Used-Service-Unit AVP as CC-Total-Octets. 
     - If RADIUS VSA Time-Quota is present, the value shall be included
       in the Used-Service-Unit AVP as CC-Time.

Section 9.12 Unit-Type AVP: 
        
REMOVE.

/Leena
> -----Original Message-----
> From: Jari Arkko [mailto:jari.arkko@kolumbus.fi]
> Sent: 7. lokakuuta 2003 18:51
> To: Leena Mattila (TU/LMF)
> Cc: 'aaa-wg@merit.edu'; 'marco.stura@nokia.com'
> Subject: Re: [AAA-WG]: CCA: Separation of sent and received 
> bytes in CCA
> 
> 
> Leena Mattila (TU/LMF) wrote:
> 
> > As a mixture of general and specific AVPs, no. But after 
> thinking this over and taking into account your discussion in 
> the other thread about keeping CCA in line with 
> RADIUS/DIAMETER NASREQ, maybe the general definition should 
> be abandoned and the units should be defined as follows instead:
> > <XXX-Service-Unit>::=< AVP Header: TBD > 
> >                          [ CC-Time ] 
> >                          [ CC-Money ] (grouped, consists of 
> monetary amount and currency code)
> >                          [ CC-Total-Octets ]
> >                          [ CC-Input-Octets ]
> >                          [ CC-Output-Octets ]
> >                          [ CC-Service-Specific-Units ]
> >                          *AVP
> > where XXX stands for Used, Requested or Granted.
> 
> This would work for me.
> 
> --Jari


From owner-aaa-wg@merit.edu  Thu Oct  9 10:58:54 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA23371
	for <aaa-archive@lists.ietf.org>; Thu, 9 Oct 2003 10:58:53 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id A467A91206; Thu,  9 Oct 2003 10:58:47 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 764C691214; Thu,  9 Oct 2003 10:58:47 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 0084691206
	for <aaa-wg@trapdoor.merit.edu>; Thu,  9 Oct 2003 10:58:45 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id D44925E096; Thu,  9 Oct 2003 10:58:45 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from palrel12.hp.com (palrel12.hp.com [156.153.255.237])
	by segue.merit.edu (Postfix) with ESMTP id 4A3BE5DE41
	for <aaa-wg@merit.edu>; Thu,  9 Oct 2003 10:58:45 -0400 (EDT)
Received: from xparelay1.ptp.hp.com (xparelay1.ptp.hp.com [15.1.28.62])
	by palrel12.hp.com (Postfix) with ESMTP
	id 5E2561C0081A; Thu,  9 Oct 2003 07:58:40 -0700 (PDT)
Received: from xpabh2.ptp.hp.com (xpabh2.ptp.hp.com [15.1.28.61])
	by xparelay1.ptp.hp.com (Postfix) with ESMTP
	id 4DC051004BAE; Thu,  9 Oct 2003 07:58:40 -0700 (PDT)
Received: by xpabh2.ptp.hp.com with Internet Mail Service (5.5.2655.55)
	id <4QW5PPB9>; Thu, 9 Oct 2003 07:58:40 -0700
Message-ID: <1D3D2C371FCBD947A7897FABBD3533A50296037D@xsun01.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Harri Hakala (TU/LMF)'" <harri.hakala@ericsson.com>,
        "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>,
        "'Jari Arkko'" <jari.arkko@kolumbus.fi>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Thu, 9 Oct 2003 07:58:31 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Harri,

  Thanks for the response.  It seems like the idea is simply
pushing the problem someplace else.

  I.e. a CC server can be written to flexibly recognize a 
growing set of AVP's and operate on them intelligently.  I 
speak from experience here.

  Alternatively something behind the CC server may or may
not flexibly grow to accomodate some mystery content hidden
in a SPI.

  What defining characteristics distinguish between a SPI which
is valid and understood by a system from one which is not?
If two clients of the CC using different SPI information talk to the
same CC how are their SPI's distinguished?  How 'bout when the third
is added?

-- Jeff

> -----Original Message-----
> From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> Sent: Wednesday, October 08, 2003 11:45 PM
> To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'; 'Jari Arkko'
> Cc: 'aaa-wg@merit.edu'
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> Hi Jeff,
> 
> I understand your concern and your arguments are valid as well.
> 
> The idea behind the SPI was that it is an alternative  way to transfer
> rating input to credit control system. The controlling AVPs 
> defined by 
> CCA are generic enough for different services, but very often 
> the rating input
> varies to service to service.
> 
> If new AVPs are needed for rating to new service, then CC 
> server must be 
> also updated every time when new AVPs are introduced. The 
> credit control 
> system can contain separate rating engine(s) and these rating 
> AVPs are actually 
> destined to them. The SPI can be used to carry rating parameters to
> the server, which can then transparently pass its content to 
> rating system.
> 
> Regards.......Harri
> 
> > -----Original Message-----
> > From: MEYER,JEFFREY D (HP-Cupertino,ex1) [mailto:jeff.meyer2@hp.com]
> > Sent: 9. lokakuuta 2003 0:03
> > To: Harri Hakala (TU/LMF); 'Jari Arkko'
> > Cc: 'aaa-wg@merit.edu'
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> > 
> > 
> > Hi,
> > 
> >   I am a bit puzzled by the SPI proposal here.
> >  
> >   It seems to me that Diameter defines an extensible 
> information model
> > and means of encoding data into Diameter messages via AVP's.
> > 
> >   Having an escape hatch called SPI which says that 
> effectively opaque
> > information can be sent seems to me to be something to be strongly
> > discouraged.
> > 
> >   Transformation of some information payload, whether it be ASN.1
> > encoded, or XML or something else is best done prior to sending
> > that information in a Diameter payload.  I.e. make the information
> > explicit as well defined AVP's that have some specific semantic
> > meaning.
> > 
> >   To get to the SPI, the application is already going to have
> > to tear apart lots of other well defined AVP's in the process and
> > interpret them.
> > 
> >   Maintain the separation of concern, and the explicitness of
> > the Diameter Information model!
> > 
> > Regards,
> > 
> >   Jeff Meyer
> > 
> > > -----Original Message-----
> > > From: owner-aaa-wg@merit.edu 
> > > [mailto:owner-aaa-wg@merit.edu]On Behalf Of
> > > Harri Hakala (TU/LMF)
> > > Sent: Monday, October 06, 2003 6:52 AM
> > > To: 'Jari Arkko'
> > > Cc: 'aaa-wg@merit.edu'
> > > Subject: RE: [AAA-WG]: CCA: Rating Input
> > > 
> > > 
> > > Hi Jari,
> > > 
> > > > > I thought that there may be existing application servers, 
> > > > which already support 
> > > > > some other data format for accounting data, e.g. ASN.1. If 
> > > > these servers 
> > > > > do not use any other Diameter application, it may be 
> > > > simpler to re-use 
> > > > > existing data format (embedded in the Service Parameter 
> > > > Info AVP) for 
> > > > > credit control as well. By using SPI one can also avoid CCA 
> > > > protocol 
> > > > 
> > > > Such an AVP might be useful, yes, maybe even more generally
> > > > than in CCA.
> > > 
> > > OK. We will keep the SPI AVP.
> > > 
> > > > Well, you need *some* AVP to carry the information. I 
> > think you had
> > > > SHOULD for using existing AVPs, which I think is fine. 
> > *AVP is right
> > > > too. In addition, you may need the other info carrier 
> AVP. But I'd
> > > > be happier if we could say something about its contents, 
> > > e.g. at least
> > > > that it is always in ASN.1 BER form or something like that.
> > > 
> > > It is rather difficult to say something exact about its 
> > > content, e.g. that
> > > it is ASN.1 BER format, since the content is really service 
> > specific.
> > > 
> > > Would this be better:
> > > 
> > > There are two ways for providing rating input to the credit 
> > > control server, either by
> > > using AVPs or by including them in the Service-Parameter-Info 
> > > AVP. The general principle
> > > for sending rating parameters is that the service SHOULD 
> > > re-use existing AVPs, if the 
> > > service can use AVPs defined by some Diameter application. 
> > > Alternatively new AVPs can be
> > > defined if the existing AVPs can not be re-used. The 
> > > Service-Parameter-Info AVP MAY be used 
> > > for instance when service already supports other data format 
> > > (e.g. ASN.1 BER) for accounting
> > > data and it doesn't support any other Diameter application. 
> > > Then existing accounting data
> > > encoding can be used for credit control as well. In this case 
> > > the rating input is embedded
> > > in the Service-Parameter-Info AVP as defined in the section 
> > > 5.18 Service-Parameter-Info AVP.
> > > 
> > > Regards..........Harri
> > > 
> > 
> 


From owner-aaa-wg@merit.edu  Fri Oct 10 02:51:59 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA11055
	for <aaa-archive@lists.ietf.org>; Fri, 10 Oct 2003 02:51:58 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 473AF9125D; Fri, 10 Oct 2003 02:51:48 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 16E269125E; Fri, 10 Oct 2003 02:51:48 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id C21A99125D
	for <aaa-wg@trapdoor.merit.edu>; Fri, 10 Oct 2003 02:51:46 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id A49425DDF4; Fri, 10 Oct 2003 02:51:46 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id 275255DDDD
	for <aaa-wg@merit.edu>; Fri, 10 Oct 2003 02:51:46 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9A6pb42023356;
	Fri, 10 Oct 2003 08:51:37 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <43DH41FG>; Fri, 10 Oct 2003 08:51:47 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843BFA@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'MEYER,JEFFREY D (HP-Cupertino,ex1)'" <jeff.meyer2@hp.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>,
        "'Jari Arkko'" <jari.arkko@kolumbus.fi>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Fri, 10 Oct 2003 08:51:06 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Jeff,

The purpose is not to move the problem one place to other.
The idea is to minimize updates in the existing systems.

There are existing application servers, which transfer
accounting data in some other format than AVP to a backend
rating server via Accounting Server. The contents of this
accounting data may be specified in standards written by other
standardization body. In this case it may be attractive try to
re-use existing data format & backend rating server logic
for credit control as well. 

It is also self-evident when a new service is introduced, one cannot
avoid the updates of rating engine or client, but the updates in
CC server can be avoided.  

What comes to distinguish SPIs between services, I think that it
will not be a realistic case that someone just adds a client in the
network without knowing anything about the server. There must be an 
agreement between the client and the server in order to know who shall 
handle the billing of which services, which chargeable services are 
available when roaming, what rating input shall be used for rating of
services etc.

We have also stated in CCA draft that the service specific rating input AVPs 
or the contents of the Service-Parameter-Info AVP are not within 
the scope of CCA document and SHOULD be defined in another 
Diameter application, standards written by other standardization 
bodies, or service specific documentation. 

Regards.....Harri

> -----Original Message-----
> From: MEYER,JEFFREY D (HP-Cupertino,ex1) [mailto:jeff.meyer2@hp.com]
> Sent: 9. lokakuuta 2003 17:59
> To: Harri Hakala (TU/LMF); MEYER,JEFFREY D (HP-Cupertino,ex1); 'Jari
> Arkko'
> Cc: 'aaa-wg@merit.edu'
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> Harri,
> 
>   Thanks for the response.  It seems like the idea is simply
> pushing the problem someplace else.
> 
>   I.e. a CC server can be written to flexibly recognize a 
> growing set of AVP's and operate on them intelligently.  I 
> speak from experience here.
> 
>   Alternatively something behind the CC server may or may
> not flexibly grow to accomodate some mystery content hidden
> in a SPI.
> 
>   What defining characteristics distinguish between a SPI which
> is valid and understood by a system from one which is not?
> If two clients of the CC using different SPI information talk to the
> same CC how are their SPI's distinguished?  How 'bout when the third
> is added?
> 
> -- Jeff
> 
 


From aaa-admin@ietf.org  Fri Oct 10 06:35:35 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA18027
	for <aaa-archive@lists.ietf.org>; Fri, 10 Oct 2003 06:35:35 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A7ubw-0007Dp-SA; Fri, 10 Oct 2003 06:35:04 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A7ubc-0007CK-Sg
	for aaa@optimus.ietf.org; Fri, 10 Oct 2003 06:34:44 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA17987
	for <aaa@ietf.org>; Fri, 10 Oct 2003 06:34:34 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 1A7ubY-0006ET-00
	for aaa@ietf.org; Fri, 10 Oct 2003 06:34:40 -0400
Received: from h76n2fls307o1038.telia.com ([81.227.241.76] helo=81.227.241.76)
	by ietf-mx with smtp (Exim 4.12)
	id 1A7ubW-0006E5-00
	for aaa@ietf.org; Fri, 10 Oct 2003 06:34:39 -0400
Date: Fri, 10 Oct 2003 18:55:34 -0500
From: 239835@hotmail.com
X-Mailer: Web Mail 5.0.11-9
Reply-To: 239835@earthlink.net
Organization: 2069593948
X-Priority: 3 (Normal)
To: aaa@ietf.org
MIME-Version: 1.0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-Id: <E1A7ubW-0006E5-00@ietf-mx>
Content-Transfer-Encoding: 8bit
Subject: [Aaa] Online Pharmacy    239835
Sender: aaa-admin@ietf.org
Errors-To: aaa-admin@ietf.org
X-BeenThere: aaa@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=unsubscribe>
List-Id: Authentication, Authorization and Accounting <aaa.ietf.org>
List-Post: <mailto:aaa@ietf.org>
List-Help: <mailto:aaa-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit

<HTML>
<BODY>
<head>
<title>Wholesale Prescription Medications!</title>
</head>
<P ALIGN=CENTER><FONT  SIZE=2 PTSIZE=10 FAMILY="SANSSERIF" FACE="Arial" LANG="0">
</FONT><FONT  COLOR="#ff0000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=5 PTSIZE=18 FAMILY="SANSSERIF" FACE="Arial"
LANG="0"><B>Wholesale Prescription Medications!</FONT><FONT  COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=3 PTSIZE=12 FAMILY="SANSSERIF" FACE="Arial" LANG="0"><BR>
</FONT><FONT  COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=4 PTSIZE=14 FAMILY="SANSSERIF" FACE="Arial"
LANG="0">OUR DOCTORS WILL WRITE YOU<BR>
A PRESCRIPTION FOR FREE!</FONT><FONT  COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=3 PTSIZE=12 FAMILY="SANSSERIF" FACE="Arial" LANG="0"><BR>
</FONT><FONT  COLOR="#000099" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=5 PTSIZE=18 FAMILY="SANSSERIF" FACE="Arial"
LANG="0">Get Your Prescription Meds Online</FONT><FONT  COLOR="#000000"
BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=3 PTSIZE=12
FAMILY="SANSSERIF" FACE="Arial" LANG="0"></B><br><font color="#FFFFFF" size="1">
239835
        
7CD45277-73864AC7-269CA50F-67619413-1836C307
        
23349467
</font><br>
<B>Meds like: </B>Phentermine, Adipex, Soma, Fioricet, Ultram,<BR>
Celebrex, Viagra, Valtrex, Zyban, and many, many others.<br><font color="#FFFFFF" size="1">
239835
         
48316CCA-3BF9796D-7D1958E-45A7C082-7DB55AEC
 
1508581904
</font><br>
<B>Meds for: </B>Weight Loss, Pain Relief, Muscle Pain Relief, Women's Health, Men's<BR>
Health, Impotence, Allergy Relief, Heartburn Relief, Migraine Relief and MORE!<br><font color="#FFFFFF" size="1">
239835
    
1602BCC9-4E4ED138-32336387-59B3A603-47DD87A8
             
583147897
</font><br>
<B>No Prior Prescription Required - Lowest Prices Possible<BR>
</B>Upon Approval, <B>Our US Licensed Doctors will<BR>
Prescribe Your Medication For Free</B><BR>
And Have the Medication <B>Shipped Overnight To Your Door.</B><br><font color="#FFFFFF" size="1">
239835
   
6B5220CC-16FC8FF5-66A1BE4E-687D6CC2-3C64509
 
1349121677
</font><br>
<B>You'll get the absolute best value and service on the Internet.<BR>
</B><br><font color="#FFFFFF" size="1">
239835
     
2C840873-BBEF10A-770F2E9B-77069B9C-EEA9E93
       
480894162
</font><br>
</FONT><FONT  COLOR="#0000ff" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=5 PTSIZE=18 FAMILY="SANSSERIF" FACE="Arial"
LANG="0"><B><A HREF=http://www.theaskaus.biz/vpr6364/>Find Out How Here!</A></B></FONT><FONT  COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=3 PTSIZE=12 FAMILY="SANSSERIF" FACE="Arial" LANG="0"></B>
</FONT><br><font color="#FFFFFF" size="1">
239835
          
401DFEDD-187433D0-64CA4C3-6632DCCD-247B7260
       
1615969144
</font><br>
</BODY>
</HTML>



_______________________________________________
Aaa mailing list
Aaa@ietf.org
https://www1.ietf.org/mailman/listinfo/aaa


From exim@www1.ietf.org  Fri Oct 10 06:35:37 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA18042
	for <aaa-archive@odin.ietf.org>; Fri, 10 Oct 2003 06:35:37 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A7uc8-0007FO-IB
	for aaa-archive@odin.ietf.org; Fri, 10 Oct 2003 06:35:17 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h9AAZGH0027857
	for aaa-archive@odin.ietf.org; Fri, 10 Oct 2003 06:35:16 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A7uc8-0007FE-Cw
	for aaa-web-archive@optimus.ietf.org; Fri, 10 Oct 2003 06:35:16 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA18015
	for <aaa-web-archive@ietf.org>; Fri, 10 Oct 2003 06:35:06 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 1A7uc4-0006Fw-00
	for aaa-web-archive@ietf.org; Fri, 10 Oct 2003 06:35:12 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 1A7uc3-0006Fr-00
	for aaa-web-archive@ietf.org; Fri, 10 Oct 2003 06:35:11 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A7ubw-0007Dp-SA; Fri, 10 Oct 2003 06:35:04 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A7ubc-0007CK-Sg
	for aaa@optimus.ietf.org; Fri, 10 Oct 2003 06:34:44 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA17987
	for <aaa@ietf.org>; Fri, 10 Oct 2003 06:34:34 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 1A7ubY-0006ET-00
	for aaa@ietf.org; Fri, 10 Oct 2003 06:34:40 -0400
Received: from h76n2fls307o1038.telia.com ([81.227.241.76] helo=81.227.241.76)
	by ietf-mx with smtp (Exim 4.12)
	id 1A7ubW-0006E5-00
	for aaa@ietf.org; Fri, 10 Oct 2003 06:34:39 -0400
Date: Fri, 10 Oct 2003 18:55:34 -0500
From: 239835@hotmail.com
X-Mailer: Web Mail 5.0.11-9
Reply-To: 239835@earthlink.net
Organization: 2069593948
X-Priority: 3 (Normal)
To: aaa@ietf.org
MIME-Version: 1.0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-Id: <E1A7ubW-0006E5-00@ietf-mx>
Content-Transfer-Encoding: 8bit
Subject: [Aaa] Online Pharmacy    239835
Sender: aaa-admin@ietf.org
Errors-To: aaa-admin@ietf.org
X-BeenThere: aaa@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=unsubscribe>
List-Id: Authentication, Authorization and Accounting <aaa.ietf.org>
List-Post: <mailto:aaa@ietf.org>
List-Help: <mailto:aaa-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

<HTML>
<BODY>
<head>
<title>Wholesale Prescription Medications!</title>
</head>
<P ALIGN=CENTER><FONT  SIZE=2 PTSIZE=10 FAMILY="SANSSERIF" FACE="Arial" LANG="0">
</FONT><FONT  COLOR="#ff0000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=5 PTSIZE=18 FAMILY="SANSSERIF" FACE="Arial"
LANG="0"><B>Wholesale Prescription Medications!</FONT><FONT  COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=3 PTSIZE=12 FAMILY="SANSSERIF" FACE="Arial" LANG="0"><BR>
</FONT><FONT  COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=4 PTSIZE=14 FAMILY="SANSSERIF" FACE="Arial"
LANG="0">OUR DOCTORS WILL WRITE YOU<BR>
A PRESCRIPTION FOR FREE!</FONT><FONT  COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=3 PTSIZE=12 FAMILY="SANSSERIF" FACE="Arial" LANG="0"><BR>
</FONT><FONT  COLOR="#000099" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=5 PTSIZE=18 FAMILY="SANSSERIF" FACE="Arial"
LANG="0">Get Your Prescription Meds Online</FONT><FONT  COLOR="#000000"
BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=3 PTSIZE=12
FAMILY="SANSSERIF" FACE="Arial" LANG="0"></B><br><font color="#FFFFFF" size="1">
239835
        
7CD45277-73864AC7-269CA50F-67619413-1836C307
        
23349467
</font><br>
<B>Meds like: </B>Phentermine, Adipex, Soma, Fioricet, Ultram,<BR>
Celebrex, Viagra, Valtrex, Zyban, and many, many others.<br><font color="#FFFFFF" size="1">
239835
         
48316CCA-3BF9796D-7D1958E-45A7C082-7DB55AEC
 
1508581904
</font><br>
<B>Meds for: </B>Weight Loss, Pain Relief, Muscle Pain Relief, Women's Health, Men's<BR>
Health, Impotence, Allergy Relief, Heartburn Relief, Migraine Relief and MORE!<br><font color="#FFFFFF" size="1">
239835
    
1602BCC9-4E4ED138-32336387-59B3A603-47DD87A8
             
583147897
</font><br>
<B>No Prior Prescription Required - Lowest Prices Possible<BR>
</B>Upon Approval, <B>Our US Licensed Doctors will<BR>
Prescribe Your Medication For Free</B><BR>
And Have the Medication <B>Shipped Overnight To Your Door.</B><br><font color="#FFFFFF" size="1">
239835
   
6B5220CC-16FC8FF5-66A1BE4E-687D6CC2-3C64509
 
1349121677
</font><br>
<B>You'll get the absolute best value and service on the Internet.<BR>
</B><br><font color="#FFFFFF" size="1">
239835
     
2C840873-BBEF10A-770F2E9B-77069B9C-EEA9E93
       
480894162
</font><br>
</FONT><FONT  COLOR="#0000ff" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=5 PTSIZE=18 FAMILY="SANSSERIF" FACE="Arial"
LANG="0"><B><A HREF=http://www.theaskaus.biz/vpr6364/>Find Out How Here!</A></B></FONT><FONT  COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=3 PTSIZE=12 FAMILY="SANSSERIF" FACE="Arial" LANG="0"></B>
</FONT><br><font color="#FFFFFF" size="1">
239835
          
401DFEDD-187433D0-64CA4C3-6632DCCD-247B7260
       
1615969144
</font><br>
</BODY>
</HTML>



_______________________________________________
Aaa mailing list
Aaa@ietf.org
https://www1.ietf.org/mailman/listinfo/aaa



From owner-aaa-wg@merit.edu  Fri Oct 10 11:08:27 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02518
	for <aaa-archive@lists.ietf.org>; Fri, 10 Oct 2003 11:08:26 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 0C8B79132A; Fri, 10 Oct 2003 11:08:20 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id C7C4491331; Fri, 10 Oct 2003 11:08:19 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 085869132A
	for <aaa-wg@trapdoor.merit.edu>; Fri, 10 Oct 2003 11:07:55 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id E501A5DE0A; Fri, 10 Oct 2003 11:07:55 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from atlrel8.hp.com (atlrel8.hp.com [156.153.255.206])
	by segue.merit.edu (Postfix) with ESMTP id 8A9225DDF2
	for <aaa-wg@merit.edu>; Fri, 10 Oct 2003 11:07:55 -0400 (EDT)
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com [15.45.89.191])
	by atlrel8.hp.com (Postfix) with ESMTP
	id 78D0C1C01D42; Fri, 10 Oct 2003 11:07:54 -0400 (EDT)
Received: from xatlbh3.atl.hp.com (xatlbh3.atl.hp.com [15.45.89.188])
	by xatlrelay2.atl.hp.com (Postfix) with ESMTP
	id E32721C00A5F; Fri, 10 Oct 2003 11:07:36 -0400 (EDT)
Received: by xatlbh3.atl.hp.com with Internet Mail Service (5.5.2655.55)
	id <42JSC5N5>; Fri, 10 Oct 2003 11:07:36 -0400
Message-ID: <1D3D2C371FCBD947A7897FABBD3533A502960388@xsun01.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Harri Hakala (TU/LMF)'" <harri.hakala@ericsson.com>,
        "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>,
        "'Jari Arkko'" <jari.arkko@kolumbus.fi>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Fri, 10 Oct 2003 11:07:25 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Harri,

  One of the roles in the CC server is to effectively
route inbound requests to appropriate functions such as rating and
balance management.

  As you state:

| What comes to distinguish SPIs between services, I think that it
| will not be a realistic case that someone just adds a client in the
| network without knowing anything about the server. There must be an 
| agreement between the client and the server in order to know who shall 
| handle the billing of which services, which chargeable services are 
| available when roaming, what rating input shall be used for rating of
| services etc.

  I agree that some clients when added will require changes on the
backend system, but if some clients can be added without requiring
changes on the backend, this would make operational aspects simpler.

  What I hear you saying is that there would be some mapping 
activity in the CC server based on either other AVP's or other 
properties of the inbound request (address?) which would then direct 
the SPI (and other AVPs) to some system which can consume it.

  Presumably then whenever a new client using a new SPI type is
added, then the CC server needs to be reconfigured to identify
whatever special combination of properties help it guide the SPI
to its new destination.

  It seems to me that this approach introduces ambiguity.  I.e. the 
distinguishing AVP's and properties may incorrectly lead me to assume 
that a SPI is of type A when it is really of type B.


  If there is some concrete use case out there which might 
illuminate this that would help me better understand if there
really is no alternative.

  If it really is deemed a critical feature, I would recommend
addressing the downside of the use of SPI's (e.g. ambiguity,
inconsistent handling, additional burden on CC server to route,
etc.) in the draft itself.  I.e. discourage its use before it
becomes a lazy shortcut which impedes interoperability.


Regards,

  Jeff Meyer


> -----Original Message-----
> From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> Sent: Thursday, October 09, 2003 11:51 PM
> To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'
> Cc: 'aaa-wg@merit.edu'; 'Jari Arkko'
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> Hi Jeff,
> 
> The purpose is not to move the problem one place to other.
> The idea is to minimize updates in the existing systems.
> 
> There are existing application servers, which transfer
> accounting data in some other format than AVP to a backend
> rating server via Accounting Server. The contents of this
> accounting data may be specified in standards written by other
> standardization body. In this case it may be attractive try to
> re-use existing data format & backend rating server logic
> for credit control as well. 
> 
> It is also self-evident when a new service is introduced, one cannot
> avoid the updates of rating engine or client, but the updates in
> CC server can be avoided.  
> 
> What comes to distinguish SPIs between services, I think that it
> will not be a realistic case that someone just adds a client in the
> network without knowing anything about the server. There must be an 
> agreement between the client and the server in order to know 
> who shall 
> handle the billing of which services, which chargeable services are 
> available when roaming, what rating input shall be used for rating of
> services etc.
> 
> We have also stated in CCA draft that the service specific 
> rating input AVPs 
> or the contents of the Service-Parameter-Info AVP are not within 
> the scope of CCA document and SHOULD be defined in another 
> Diameter application, standards written by other standardization 
> bodies, or service specific documentation. 
> 
> Regards.....Harri
> 
> > -----Original Message-----
> > From: MEYER,JEFFREY D (HP-Cupertino,ex1) [mailto:jeff.meyer2@hp.com]
> > Sent: 9. lokakuuta 2003 17:59
> > To: Harri Hakala (TU/LMF); MEYER,JEFFREY D (HP-Cupertino,ex1); 'Jari
> > Arkko'
> > Cc: 'aaa-wg@merit.edu'
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> > 
> > 
> > Harri,
> > 
> >   Thanks for the response.  It seems like the idea is simply
> > pushing the problem someplace else.
> > 
> >   I.e. a CC server can be written to flexibly recognize a 
> > growing set of AVP's and operate on them intelligently.  I 
> > speak from experience here.
> > 
> >   Alternatively something behind the CC server may or may
> > not flexibly grow to accomodate some mystery content hidden
> > in a SPI.
> > 
> >   What defining characteristics distinguish between a SPI which
> > is valid and understood by a system from one which is not?
> > If two clients of the CC using different SPI information talk to the
> > same CC how are their SPI's distinguished?  How 'bout when the third
> > is added?
> > 
> > -- Jeff
> > 
>  
> 


From owner-aaa-wg@merit.edu  Mon Oct 13 05:03:20 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA27363
	for <aaa-archive@lists.ietf.org>; Mon, 13 Oct 2003 05:03:20 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id B006D9128B; Mon, 13 Oct 2003 05:02:14 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 87B169128F; Mon, 13 Oct 2003 05:02:14 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 5B4C39128B
	for <aaa-wg@trapdoor.merit.edu>; Mon, 13 Oct 2003 05:02:13 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 428AB5DD97; Mon, 13 Oct 2003 05:02:13 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id 98C215DD90
	for <aaa-wg@merit.edu>; Mon, 13 Oct 2003 05:02:12 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9D90V42002114;
	Mon, 13 Oct 2003 11:00:31 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <43D2NL7R>; Mon, 13 Oct 2003 11:00:53 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843C08@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'MEYER,JEFFREY D (HP-Cupertino,ex1)'" <jeff.meyer2@hp.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Mon, 13 Oct 2003 10:58:04 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Jeff,

>   What I hear you saying is that there would be some mapping 
> activity in the CC server based on either other AVP's or other 
> properties of the inbound request (address?) which would then direct 
> the SPI (and other AVPs) to some system which can consume it.
> 
>   Presumably then whenever a new client using a new SPI type is
> added, then the CC server needs to be reconfigured to identify
> whatever special combination of properties help it guide the SPI
> to its new destination.

The SPI is just a container of rating input, which the server can
transparently pass to the rating system. I don't think that some extra 
mapping activity is needed.

>   If it really is deemed a critical feature, I would recommend
> addressing the downside of the use of SPI's (e.g. ambiguity,
> inconsistent handling, additional burden on CC server to route,
> etc.) in the draft itself.  I.e. discourage its use before it
> becomes a lazy shortcut which impedes interoperability.

It is not a critical feature, I just thought that it can be an alternative
way (in addition to *AVP) to send rating input. But if that cause major 
problem or violate the Diameter Information model, of course we can skip it.

Regards........Harri


From owner-aaa-wg@merit.edu  Mon Oct 13 14:38:55 2003
Received: from trapdoor.merit.edu (trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA19498
	for <aaa-archive@lists.ietf.org>; Mon, 13 Oct 2003 14:38:54 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 77A28912CD; Mon, 13 Oct 2003 14:36:34 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 4AF1F912C9; Mon, 13 Oct 2003 14:36:34 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id A8CC8912A4
	for <aaa-wg@trapdoor.merit.edu>; Mon, 13 Oct 2003 14:36:29 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 922D25DDD2; Mon, 13 Oct 2003 14:36:29 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from palrel12.hp.com (palrel12.hp.com [156.153.255.237])
	by segue.merit.edu (Postfix) with ESMTP id 327BB5DD8E
	for <aaa-wg@merit.edu>; Mon, 13 Oct 2003 14:36:29 -0400 (EDT)
Received: from xparelay1.ptp.hp.com (xparelay1.ptp.hp.com [15.1.28.62])
	by palrel12.hp.com (Postfix) with ESMTP
	id 13B9C1C01D5F; Mon, 13 Oct 2003 11:36:25 -0700 (PDT)
Received: from xpabh2.ptp.hp.com (xpabh2.ptp.hp.com [15.1.28.61])
	by xparelay1.ptp.hp.com (Postfix) with ESMTP
	id 027F51004B99; Mon, 13 Oct 2003 11:36:25 -0700 (PDT)
Received: by xpabh2.ptp.hp.com with Internet Mail Service (5.5.2655.55)
	id <4WAGT97M>; Mon, 13 Oct 2003 11:36:24 -0700
Message-ID: <1D3D2C371FCBD947A7897FABBD3533A50296039C@xsun01.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Harri Hakala (TU/LMF)'" <harri.hakala@ericsson.com>,
        "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Mon, 13 Oct 2003 11:36:17 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Harri,

  I don't see a problem with SPI in addition to AVP* as long as 
its use is discouraged in favor of adding AVP's.  SPI's don't violate
the information model, but due to their opaque nature, they limit
what one can explicitly determine from the Info Model.  I would
argue that more explicit is better.

  Perhaps the following wording:

   "The SPI enables legacy rating information to be passed in its
  original encoded form.  CC Application developers SHOULD restrict
  its use to situations where legacy applications are being ported
  to Diameter CC.  New applications SHOULD favor the use of explicitly
  defined AVP's, to simplify interoperability."


Regards,

  Jeff Meyer

-----Original Message-----
From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
Sent: Monday, October 13, 2003 1:58 AM
To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'
Cc: 'aaa-wg@merit.edu'
Subject: RE: [AAA-WG]: CCA: Rating Input


Hi Jeff,

>   What I hear you saying is that there would be some mapping 
> activity in the CC server based on either other AVP's or other 
> properties of the inbound request (address?) which would then direct 
> the SPI (and other AVPs) to some system which can consume it.
> 
>   Presumably then whenever a new client using a new SPI type is
> added, then the CC server needs to be reconfigured to identify
> whatever special combination of properties help it guide the SPI
> to its new destination.

The SPI is just a container of rating input, which the server can
transparently pass to the rating system. I don't think that some extra 
mapping activity is needed.

>   If it really is deemed a critical feature, I would recommend
> addressing the downside of the use of SPI's (e.g. ambiguity,
> inconsistent handling, additional burden on CC server to route,
> etc.) in the draft itself.  I.e. discourage its use before it
> becomes a lazy shortcut which impedes interoperability.

It is not a critical feature, I just thought that it can be an alternative
way (in addition to *AVP) to send rating input. But if that cause major 
problem or violate the Diameter Information model, of course we can skip it.

Regards........Harri


From owner-aaa-wg@merit.edu  Tue Oct 14 02:15:00 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA26588
	for <aaa-archive@lists.ietf.org>; Tue, 14 Oct 2003 02:15:00 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id CE52F91217; Tue, 14 Oct 2003 02:14:35 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 9C27591232; Tue, 14 Oct 2003 02:14:35 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 3083191217
	for <aaa-wg@trapdoor.merit.edu>; Tue, 14 Oct 2003 02:14:34 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 200075DE94; Tue, 14 Oct 2003 02:14:34 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [193.180.251.49])
	by segue.merit.edu (Postfix) with ESMTP id 4F8095DE7A
	for <aaa-wg@merit.edu>; Tue, 14 Oct 2003 02:14:33 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by albatross-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9E6EMlN014379;
	Tue, 14 Oct 2003 08:14:26 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <45JP93W4>; Tue, 14 Oct 2003 08:14:48 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843C0B@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'MEYER,JEFFREY D (HP-Cupertino,ex1)'" <jeff.meyer2@hp.com>
Cc: "'aaa-wg@merit.edu'" <aaa-wg@merit.edu>
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Tue, 14 Oct 2003 08:13:42 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Jeff,

>   Perhaps the following wording:
> 
>    "The SPI enables legacy rating information to be passed in its
>   original encoded form.  CC Application developers SHOULD restrict
>   its use to situations where legacy applications are being ported
>   to Diameter CC.  New applications SHOULD favor the use of explicitly
>   defined AVP's, to simplify interoperability."

Thank you for your feedback.
Your proposal sounds good.

Regards.....Harri

> -----Original Message-----
> From: MEYER,JEFFREY D (HP-Cupertino,ex1) [mailto:jeff.meyer2@hp.com]
> Sent: 13. lokakuuta 2003 21:36
> To: Harri Hakala (TU/LMF); MEYER,JEFFREY D (HP-Cupertino,ex1)
> Cc: 'aaa-wg@merit.edu'
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> Harri,
> 
>   I don't see a problem with SPI in addition to AVP* as long as 
> its use is discouraged in favor of adding AVP's.  SPI's don't violate
> the information model, but due to their opaque nature, they limit
> what one can explicitly determine from the Info Model.  I would
> argue that more explicit is better.
> 
>   Perhaps the following wording:
> 
>    "The SPI enables legacy rating information to be passed in its
>   original encoded form.  CC Application developers SHOULD restrict
>   its use to situations where legacy applications are being ported
>   to Diameter CC.  New applications SHOULD favor the use of explicitly
>   defined AVP's, to simplify interoperability."
> 
> 
> Regards,
> 
>   Jeff Meyer
> 
> -----Original Message-----
> From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> Sent: Monday, October 13, 2003 1:58 AM
> To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'
> Cc: 'aaa-wg@merit.edu'
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> Hi Jeff,
> 
> >   What I hear you saying is that there would be some mapping 
> > activity in the CC server based on either other AVP's or other 
> > properties of the inbound request (address?) which would 
> then direct 
> > the SPI (and other AVPs) to some system which can consume it.
> > 
> >   Presumably then whenever a new client using a new SPI type is
> > added, then the CC server needs to be reconfigured to identify
> > whatever special combination of properties help it guide the SPI
> > to its new destination.
> 
> The SPI is just a container of rating input, which the server can
> transparently pass to the rating system. I don't think that 
> some extra 
> mapping activity is needed.
> 
> >   If it really is deemed a critical feature, I would recommend
> > addressing the downside of the use of SPI's (e.g. ambiguity,
> > inconsistent handling, additional burden on CC server to route,
> > etc.) in the draft itself.  I.e. discourage its use before it
> > becomes a lazy shortcut which impedes interoperability.
> 
> It is not a critical feature, I just thought that it can be 
> an alternative
> way (in addition to *AVP) to send rating input. But if that 
> cause major 
> problem or violate the Diameter Information model, of course 
> we can skip it.
> 
> Regards........Harri
> 


From owner-aaa-wg@merit.edu  Tue Oct 14 19:12:44 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA08982
	for <aaa-archive@lists.ietf.org>; Tue, 14 Oct 2003 19:12:44 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 1E3E99121A; Tue, 14 Oct 2003 19:12:40 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id E43F191263; Tue, 14 Oct 2003 19:12:39 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id B17AF9121A
	for <aaa-wg@trapdoor.merit.edu>; Tue, 14 Oct 2003 19:12:38 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 97C8F5E08C; Tue, 14 Oct 2003 19:12:38 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id 85A065DF9A
	for <aaa-wg@merit.edu>; Tue, 14 Oct 2003 19:12:37 -0400 (EDT)
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9ENBbd05539
	for <aaa-wg@merit.edu>; Wed, 15 Oct 2003 02:11:37 +0300 (EET DST)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T6549ebf4faac158f21081@esvir01nok.ntc.nokia.com> for <aaa-wg@merit.edu>;
 Wed, 15 Oct 2003 02:11:37 +0300
Received: from esebh005.NOE.Nokia.com ([172.21.138.86]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Wed, 15 Oct 2003 02:11:37 +0300
Received: from esebe011.NOE.Nokia.com ([172.21.138.50]) by esebh005.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Wed, 15 Oct 2003 02:11:37 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe011.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Wed, 15 Oct 2003 02:11:36 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: [AAA-WG]: Issue: Use Framed-MTU instead of EAP-MTU AVP?
Date: Wed, 15 Oct 2003 02:11:36 +0300
Message-ID: <052E0C61B69C3741AFA5FE88ACC775A6010C384E@esebe023.ntc.nokia.com>
Thread-Topic: Issue: Use Framed-MTU instead of EAP-MTU AVP?
Thread-Index: AcOSqINxlLJ/jGsDTYqGif43gLPCDQ==
From: <Pasi.Eronen@nokia.com>
To: <aaa-wg@merit.edu>
X-OriginalArrivalTime: 14 Oct 2003 23:11:36.0947 (UTC) FILETIME=[845EC430:01C392A8]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Use Framed-MTU instead of EAP-MTU AVP?
Submitter name: Pasi Eronen
Submitter email address: pasi.eronen@nokia.com
Date first submitted: October 14, 2003
Reference:=20
Document: EAP-02
Comment type: T
Priority: 1
Section: various
Rationale/Explanation of issue:

I proposed adding EAP-MTU AVP to version -02, but now I've come
to think that actually this is not absolutely necessary, and=20
complicates RADIUS translation. Any other opinions? (I'm OK
with either choice)=20

Requested change:

To simplify things, remove the EAP-MTU AVP. Instead of it, use
Framed-MTU as described in RFC3579 (and borrow some text from
there).

Best regards,
Pasi


From aaa-admin@ietf.org  Wed Oct 15 03:06:34 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA17706
	for <aaa-archive@lists.ietf.org>; Wed, 15 Oct 2003 03:06:34 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A9fjP-0006bu-JS; Wed, 15 Oct 2003 03:06:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A9fic-0006RW-Du
	for aaa@optimus.ietf.org; Wed, 15 Oct 2003 03:05:14 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA17639
	for <aaa@ietf.org>; Wed, 15 Oct 2003 03:05:05 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 1A9fiY-0000Bi-00
	for aaa@ietf.org; Wed, 15 Oct 2003 03:05:10 -0400
Received: from [68.185.169.244] (helo=68.185.169.244)
	by ietf-mx with smtp (Exim 4.12)
	id 1A9fiV-0000BR-00
	for aaa@ietf.org; Wed, 15 Oct 2003 03:05:08 -0400
Date: Wed, 15 Oct 2003 02:06:47 -0500
From: 239919@bigfoot.com
X-Mailer: Internet Mail Service (5.5.2653.19)
Reply-To: 239919@aol.com
Organization: 1577522712
X-Priority: 3 (Normal)
To: aaa@ietf.org
MIME-Version: 1.0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-Id: <E1A9fiV-0000BR-00@ietf-mx>
Content-Transfer-Encoding: 8bit
Subject: [Aaa] Automatically Blocking Spam 239919
Sender: aaa-admin@ietf.org
Errors-To: aaa-admin@ietf.org
X-BeenThere: aaa@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=unsubscribe>
List-Id: Authentication, Authorization and Accounting <aaa.ietf.org>
List-Post: <mailto:aaa@ietf.org>
List-Help: <mailto:aaa-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit

<html>
<head>
<title>
</title>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
</head>
<body>
<table width=600 border=0 cellspacing=0 cellpadding=0 align=center><tr><td><font face=verdana size=2><b><font face=Verdana color=#006633 size=4>Spam Remedy</font>&nbsp;&nbsp;&nbsp;<font size=2>(3.17</font><font size=2>Mb)</font><br><hr color=#236801 size=1><font size=2>Description:</font></b> <br> <br> <b><i>The powerful, effective and intelligent anti-spam tool.<br> It automatically cleans spam messages out of your mailbox before you receive or read them. </i></b><br> <br> <font size=3 color=#006633><b>Features:</b></font><br> </font><ul><font face=verdana size=2><li><b><font size=2>Automatically Blocking Spam</font></b><br> Spam Remedy automatically checks your mail boxes and filters unwanted, dangerous, or offensive mail messages to save your time from manually detecting and organizing mail messages. For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
          
355FCE25-4853C364-2CFF669C-4CE751B4-4EB1708B
              
2106157502
</font> <li><b><font size=2>Effectively Spam Detecting</font></b><br> A complex Aritificial Intelligence algorithm has been used in Spam Remedy product to detecting legitimate mail messages and spam messages,the technique has more precision than other filter-based and keyword-based anti-spam technologies . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
        
4CD0F31A-5BB2F9C6-47E01E46-66621528-675CDE3F
      
488795071
</font> <li><b><font size=2>Be Sure You Get Your Right Mail Messages</font></b><br> Spam Remedy doesn't confirm a spam message by a single keyword in mail content. It examines the entire message - source, headers and mail content to confirm whether it is a spam message . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
            
4E32E62A-62D4FD89-45FC0427-387C8CA4-1070D035
                
488463139
</font> <li><b><font size=2>Supports Multiple Email Types and Almost All Email Clients</font></b><br> Spam Remedy supports POP3, Hotmail/MSN, IMAP4 and MAPI email accounts,Directly works with almost all email clients(Outlook Express, Becky Mail,Foxmail,Outlook, The bat!, Eudora etc.), espacially includes support for web-based Hotmail/MSN email clients. Nothing you need to change to your email clients . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
     
3BE8D473-41EA1AF4-E0BE8CF-792A35B7-63E304DC
                
1220141373
</font> <li><b><font size=2>Easy to use</font></b><br> You don't need to set any complex filter rules, just add your email accounts to Spam Remedy and then it works . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
               
14C5F837-7CF770C9-52EE0862-75B947DA-4797A2A3
 
1363307328
</font> <li><b><font size=2>Friends List and Rejecting List</font></b><br> With Friends List and Rejecting List, you have the chance to decide who are never blocked or directly treat their mail messages as spam . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
       
4E10D4CB-3AA7A62-57D5D03C-19228986-36D98748
            
1013924957
</font><br><br> <li><b><font size=2>Keep your inbox clean</font></b><br> Spam Remedy places all intercepted spam messages to its interval mail database so that your inbox remains uncluttered and free of spam.If for some reason a legitimate email is flagged as spam, you can easily recover in multiple ways</li> . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
 
63389EF4-7BA7AECA-4156A289-26B4884-2D74C89F
             
1744695534
</font></font></ul><div align=center><font face=Verdana size=4><b><a href=http://nagsoft.biz/remedy/adv237/>DOWNLOAD NOW!</a></b></font></div></td></tr></table><font color="#FFFFFF" size="1">
239919
 
70BA2AAC-138707D6-905BEC5-7609D9BD-579E3363
   
505498836
</font>
</body>
</html>


_______________________________________________
Aaa mailing list
Aaa@ietf.org
https://www1.ietf.org/mailman/listinfo/aaa


From exim@www1.ietf.org  Wed Oct 15 03:06:36 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA17721
	for <aaa-archive@odin.ietf.org>; Wed, 15 Oct 2003 03:06:36 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A9fja-0006dP-VW
	for aaa-archive@odin.ietf.org; Wed, 15 Oct 2003 03:06:15 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h9F76EXV025504
	for aaa-archive@odin.ietf.org; Wed, 15 Oct 2003 03:06:14 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A9fja-0006dH-MX
	for aaa-web-archive@optimus.ietf.org; Wed, 15 Oct 2003 03:06:14 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA17687
	for <aaa-web-archive@ietf.org>; Wed, 15 Oct 2003 03:06:05 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 1A9fjW-0000CY-00
	for aaa-web-archive@ietf.org; Wed, 15 Oct 2003 03:06:10 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 1A9fjW-0000CU-00
	for aaa-web-archive@ietf.org; Wed, 15 Oct 2003 03:06:10 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A9fjP-0006bu-JS; Wed, 15 Oct 2003 03:06:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1A9fic-0006RW-Du
	for aaa@optimus.ietf.org; Wed, 15 Oct 2003 03:05:14 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA17639
	for <aaa@ietf.org>; Wed, 15 Oct 2003 03:05:05 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 1A9fiY-0000Bi-00
	for aaa@ietf.org; Wed, 15 Oct 2003 03:05:10 -0400
Received: from [68.185.169.244] (helo=68.185.169.244)
	by ietf-mx with smtp (Exim 4.12)
	id 1A9fiV-0000BR-00
	for aaa@ietf.org; Wed, 15 Oct 2003 03:05:08 -0400
Date: Wed, 15 Oct 2003 02:06:47 -0500
From: 239919@bigfoot.com
X-Mailer: Internet Mail Service (5.5.2653.19)
Reply-To: 239919@aol.com
Organization: 1577522712
X-Priority: 3 (Normal)
To: aaa@ietf.org
MIME-Version: 1.0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-Id: <E1A9fiV-0000BR-00@ietf-mx>
Content-Transfer-Encoding: 8bit
Subject: [Aaa] Automatically Blocking Spam 239919
Sender: aaa-admin@ietf.org
Errors-To: aaa-admin@ietf.org
X-BeenThere: aaa@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=unsubscribe>
List-Id: Authentication, Authorization and Accounting <aaa.ietf.org>
List-Post: <mailto:aaa@ietf.org>
List-Help: <mailto:aaa-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

<html>
<head>
<title>
</title>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
</head>
<body>
<table width=600 border=0 cellspacing=0 cellpadding=0 align=center><tr><td><font face=verdana size=2><b><font face=Verdana color=#006633 size=4>Spam Remedy</font>&nbsp;&nbsp;&nbsp;<font size=2>(3.17</font><font size=2>Mb)</font><br><hr color=#236801 size=1><font size=2>Description:</font></b> <br> <br> <b><i>The powerful, effective and intelligent anti-spam tool.<br> It automatically cleans spam messages out of your mailbox before you receive or read them. </i></b><br> <br> <font size=3 color=#006633><b>Features:</b></font><br> </font><ul><font face=verdana size=2><li><b><font size=2>Automatically Blocking Spam</font></b><br> Spam Remedy automatically checks your mail boxes and filters unwanted, dangerous, or offensive mail messages to save your time from manually detecting and organizing mail messages. For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
          
355FCE25-4853C364-2CFF669C-4CE751B4-4EB1708B
              
2106157502
</font> <li><b><font size=2>Effectively Spam Detecting</font></b><br> A complex Aritificial Intelligence algorithm has been used in Spam Remedy product to detecting legitimate mail messages and spam messages,the technique has more precision than other filter-based and keyword-based anti-spam technologies . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
        
4CD0F31A-5BB2F9C6-47E01E46-66621528-675CDE3F
      
488795071
</font> <li><b><font size=2>Be Sure You Get Your Right Mail Messages</font></b><br> Spam Remedy doesn't confirm a spam message by a single keyword in mail content. It examines the entire message - source, headers and mail content to confirm whether it is a spam message . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
            
4E32E62A-62D4FD89-45FC0427-387C8CA4-1070D035
                
488463139
</font> <li><b><font size=2>Supports Multiple Email Types and Almost All Email Clients</font></b><br> Spam Remedy supports POP3, Hotmail/MSN, IMAP4 and MAPI email accounts,Directly works with almost all email clients(Outlook Express, Becky Mail,Foxmail,Outlook, The bat!, Eudora etc.), espacially includes support for web-based Hotmail/MSN email clients. Nothing you need to change to your email clients . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
     
3BE8D473-41EA1AF4-E0BE8CF-792A35B7-63E304DC
                
1220141373
</font> <li><b><font size=2>Easy to use</font></b><br> You don't need to set any complex filter rules, just add your email accounts to Spam Remedy and then it works . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
               
14C5F837-7CF770C9-52EE0862-75B947DA-4797A2A3
 
1363307328
</font> <li><b><font size=2>Friends List and Rejecting List</font></b><br> With Friends List and Rejecting List, you have the chance to decide who are never blocked or directly treat their mail messages as spam . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
       
4E10D4CB-3AA7A62-57D5D03C-19228986-36D98748
            
1013924957
</font><br><br> <li><b><font size=2>Keep your inbox clean</font></b><br> Spam Remedy places all intercepted spam messages to its interval mail database so that your inbox remains uncluttered and free of spam.If for some reason a legitimate email is flagged as spam, you can easily recover in multiple ways</li> . For more information <a href=http://nagsoft.biz/remedy/adv237/>click here</a><font color="#FFFFFF" size="1">
239919
 
63389EF4-7BA7AECA-4156A289-26B4884-2D74C89F
             
1744695534
</font></font></ul><div align=center><font face=Verdana size=4><b><a href=http://nagsoft.biz/remedy/adv237/>DOWNLOAD NOW!</a></b></font></div></td></tr></table><font color="#FFFFFF" size="1">
239919
 
70BA2AAC-138707D6-905BEC5-7609D9BD-579E3363
   
505498836
</font>
</body>
</html>


_______________________________________________
Aaa mailing list
Aaa@ietf.org
https://www1.ietf.org/mailman/listinfo/aaa



From owner-aaa-wg@merit.edu  Wed Oct 15 08:38:32 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA27390
	for <aaa-archive@lists.ietf.org>; Wed, 15 Oct 2003 08:38:31 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 242F19124B; Wed, 15 Oct 2003 08:38:24 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id E40909124A; Wed, 15 Oct 2003 08:38:23 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 8370B9124B
	for <aaa-wg@trapdoor.merit.edu>; Wed, 15 Oct 2003 08:38:15 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 673AA5DDA9; Wed, 15 Oct 2003 08:38:15 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id 74FBA5DD9C
	for <aaa-wg@merit.edu>; Wed, 15 Oct 2003 08:38:14 -0400 (EDT)
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9FCcDd03209
	for <aaa-wg@merit.edu>; Wed, 15 Oct 2003 15:38:13 +0300 (EET DST)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T654cce6b6cac158f21081@esvir01nok.ntc.nokia.com> for <aaa-wg@merit.edu>;
 Wed, 15 Oct 2003 15:38:13 +0300
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Wed, 15 Oct 2003 15:38:13 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: [AAA-WG]: issue: Multiple services credit control in a single CC session (Diameter CCA)
Date: Wed, 15 Oct 2003 15:38:12 +0300
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D015C7FF9@esebe016.ntc.nokia.com>
Thread-Topic: issue: Multiple services credit control in a single CC session (Diameter CCA)
Thread-Index: AcOTGTKtpw0sMX3YR/GlPckWq+aRvA==
From: <marco.stura@nokia.com>
To: <aaa-wg@merit.edu>
X-OriginalArrivalTime: 15 Oct 2003 12:38:13.0156 (UTC) FILETIME=[32C23640:01C39319]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Multiple services credit control in a single CC session (Diameter CCA)
Submitter name: Marco Stura
Submitter email address: marco.stura@nokia.com
Date first submitted: October 15, 2003
Reference:=20
Document: draft-ietf-aaa-diameter-cc-00
Comment type: T
Priority: 2
Section: various
Rationale/Explanation of issue:

There may be service elements in certain service environments that =
provide multiple services, or
just credit control for multiple services, within the same authorization =
session to an end user.=20
For each of those services the price may be different requiring =
differentiated credit control per service.
With the current draft such a service element would need to open =
multiple credit control sessions
(or sub-sessions) resulting in increased signaling load  and resource =
usage in both the CC-client=20
and in the CC-server.

I propose to address the support of multiple services credit control in =
a single CC session
in the Diameter CCA. This means that credit authorization can be =
requested for multiple
services, or a group of services, within a single =
Credit-Control-Request. Multiple quotas associated
to the relevant service, or group of services, will be returned in the =
corresponding Credit-Control-
Answer in order to enable differentiated credit control per service.

The proposal takes already into account the new structure for the =
Granted-Service-Unit,=20
Requested-Service-Unit and Used-Service-Unit AVPs agreed in the past =
weeks in AAA mailing
list.

Proposed changes:

Section 4, fourth paragraph
Change
FROM:
	There are certain applications that require multiple credit control=20
	sub-sessions. Such applications would send messages with a constant=20
	Session-Id AVP, but a different CC-Sub-Session-Id AVP. If several=20
	credit sub-sessions will be used, all sub-sessions MUST be closed=20
	separately before the closing the main session to be able to report=20
	used units per sub-session. The absence of this AVP implies no sub-
	sessions are in use.

TO:
	There are certain applications that require multiple credit control=20
	sub-sessions. Such applications would send messages with a constant=20
	Session-Id AVP, but a different CC-Sub-Session-Id AVP. If several=20
	credit sub-sessions will be used, all sub-sessions MUST be closed=20
	separately before the closing the main session to be able to report=20
	used units per sub-session. The absence of this AVP implies no sub-
	sessions are in use.=20

	When multiple services are used within one user session and each =
service or group of services are subject to different cost, making use =
of credit control sub-sessions will result in increased signaling load =
and resources usage in both the credit control client and the credit =
control server. For instance, during one network access session the end =
user may use several http-services subject to different access cost. To =
optimally support these scenarios, the credit control application =
enables for multiple services credit control in a single credit control =
session. It is possible to request and allocate multiple quotas as a =
credit pool that is shared between multiple services. The services can =
be further grouped into rating groups in order to achieve even further =
aggregation of credit allocation.
	It is also possible to request and allocate multiple quotas on a per =
service basis. The mechanism is illustrated in Appendix A (Flow xxx).

Section 4.1.1, fifth paragraph
Change
FROM:
	However there MUST be maximum one instance of the same unit type in one
	Answer message.

TO:
	There MUST be maximum one instance of the same unit type in one
	Answer message. In case multiple quotas are conveyed to the credit =
control client, there MUST be maximum one instance of the same unit type =
associated to a Service-Identifier, or set of Service-Identifiers, or =
associated to a Rating-Group.


ADD Service-Identifier and Rating-Group AVPs to section 5.17

	The Service-Identifier and the Rating-Group AVPs are used to request =
units for a given service(s) or rating group when the service element =
supports credit control for multiple services in one credit control =
session.=20
	If both the AVPs are present, the Rating-Group AVP indicates the rating =
group to which the service(s) specified by the Service-Identifier(s) =
belongs. If only the Rating-Group-Id AVP is present, this is a credit =
authorization request for all the services that belongs to the specified =
rating group.

	A server not implementing the Service-Identifier and the Rating-Group =
must treat them as invalid AVPs.

	 Requested-Service-Unit ::=3D < AVP Header: TBD >=20
	                            [ CC-Time ]=20
	                            [ CC-Money ]
	                            [ CC-Total-Octets ]
	                            [ CC-Input-Octets ]
	                            [ CC-Output-Octets ]
	                            [ CC-Service-Specific-Units ]
	                           *[ Service-Identifier ]
	                            [ Rating-Group ]



ADD Service-Identifier and Rating-group AVPs to section 5.15

	The Service-Identifier and the Rating-Group AVPs are used to associate =
the granted units to a given service or rating group.
	In case both the Service-Identifier and the Rating-Group AVPs are =
included, the target of the granted units is(are) always the service(s) =
indicated by the value of the Service-Identifier AVP.

	 Granted-Service-Unit ::=3D < AVP Header: TBD >=20
	                          [ CC-Time ]=20
	                          [ CC-Money ]
	                          [ CC-Total-Octets ]
	                          [ CC-Input-Octets ]
	                          [ CC-Output-Octets ]
	                          [ CC-Service-Specific-Units ]
	                         *[ Service-Identifier ]
	                          [ Rating-Group ]


ADD Service-Identifier and Rating-Group AVPs to section 5.26

	The Service-Identifier and the Rating-Group AVPs are used to associate =
the used units to a given service or rating group.
	When granted service units are associated to a service or rating group, =
the credit control client MUST report the corresponding used service =
units. If the granted units are associated to a rating group, the units =
used by each of the Service-Identifier belonging to that rating group =
SHOULD be reported if this information is available to the credit =
control client. Therefore, multiple instances of the Used-Service-Unit =
AVP MAY be present in a request, each associated to the relevant =
Rating-Group-Id and to the identifier of the service (i.e. =
Service-Identifier) that consumed some of the granted units.

	    Used-Service-Unit ::=3D < AVP Header: TBD >=20
	                          [ CC-Time ]=20
	                          [ CC-Money ]
	                          [ CC-Total-Octets ]
	                          [ CC-Input-Octets ]
	                          [ CC-Output-Octets ]
	                          [ CC-Service-Specific-Units ]
	                         *[ Service-Identifier ]
	                          [ Rating-Group ]

5.x Rating-Group AVP

	The Rating-Group AVP is of type Unsigned32 (AVP Code TBD) and contains =
the identifier of a rating group. All the services subject to the same =
rating type are part of the same rating group. This is an identifier =
allocated by the home service provider and MUST be unique within the =
home service provider domain.

	A usage example of this AVP is illustrated in Appendix A (Flow xxx).


5.y Service-Identifier AVP

	The Service-Identifier AVP is of type UTF8String (AVP Code TBD) and =
contains a unique identifier of a given service. This is an identifier =
allocated by the service provider and MUST uniquely identify a given =
service (e.g. Service 1@example.com).

	A usage example of this AVP is illustrated in Appendix A (Flow xxx).

ADD the Flow xxx to Appendix A

Flow xxx

	The Diameter Credit Control Application defines the Rating-Group and =
Service-Identifier AVPs that can be used to support credit control for =
multiple services in a single credit control session for service =
elements that have such capabilities. The flow example hereafter =
illustrates the usage of these AVPs.

	It is assumed that the Service-Identifiers and the Rating-Groups are =
locally configured in the Service Element or provisioned by another =
entity than the credit control server.

	The credit control client may request credit authorization either for =
all the possible configured Rating-Groups in one single request, onwards =
named all-in-one mode, or for a single Rating-Group upon an external =
triggering event, onwards named on-demand mode. The on-demand mode can =
be used as well to request individual credit resource limit for each =
service.
   In this example only the all-in-one mode is shown.

	A single credit reservation is kept for the credit control session to =
simplify the account management tasks. The credit control server =
reserves an amount of credit from the user's account and performs rating =
for all the requested Rating-Groups and Service-Identifiers against the =
reserved credit.
	For instance, assume a Credit-Control-Request is received with =
Rating-Group-Id 1 and 2. The credit control server queries the rating =
server that answers with the following rating parameters: Rating-Group 1 =
costs $1/Mbyte and Rating-Group 2 costs $1/minute. The credit control =
server reserves $20 from the user's account; this gives 20Mbytes for =
Rating-Group 1 and 20minutes for Rating-Group 2.

	The calculated quotas are conveyed to the credit control client in the =
CCA message, each quota associated with the appropriate Rating-Group or =
Service-Identifier. At this point the credit control client just need to =
track the fraction of reserved credit used by the corresponding service =
or Rating-Group, when the sum of the fractions reaches 100% the credit =
control client sends an intermediate interrogation since the whole =
amount of reserved credit is consumed.
	If the credit control client initializes a counter C for each of the =
received quota Q (C1 for Q1, C2 for Q2 ... Cn for Qn), the intermediate =
interrogation will be sent when sum(C1/Q1 + C1/Q2 + ... + Cn/Qn)>=3D 1.=20
	Continuing the example, say the end user uses 10 Mbytes from =
Rating-Group 1 and 10minutes from Rating-Group 2. This means that =
Rating-Group 1 consumed 50% of the reservation and Rating-Group 2 =
consumed the remaining 50%. 0.5 + 0.5 >=3D1, so the credit control =
client sends an intermediate interrogation to report the used units and =
request new ones.

	                 Service Element
	 End-User         (CC client)                                 CC Server
	   |(1)User logon      |                                         |
	   |------------------>|(2)CCR(initial,Requested-Units(Rating-Group 1),
	   |                   |        Requested-Units(Rating-Group 2)) |
	   |                   |---------------------------------------->|
	   |                   |(3)CCA(Granted-Units(Rating-Group 1,     |
	   |                   |                     Total-Octets))      |
	   |                   |       Granted-Units(Rating-Group 2,     |
	   |                   |                     Time))              |
	   |                   |<----------------------------------------|
	   :                   :                                         :
	   |(4)Service-Request (Service 1)                               |
	   |------------------>|                                         |
	   :                   :                                         :
	   |(5)Service-Request (Service 2)                               |
	   |------------------>|                                         |
	   :                   :                                         :
	   |                   |(6)CCR(update, Used-Units(Input-Octets,  |
	   |                   |                          Output-Octets, |
	   |                   |                          Service-Id 1,  |
	   |                   |                          Rating-Group 1),
	   |                   |               Used-Units(Time,          |
	   |                   |                          Service-Id 2,  |
	   |                   |                          Rating-Group 2),
	   |                   |               Requested-Units(Rating-G.1),
	   |                   |               Requested-Units(Rating-G.2))
	   |                   |---------------------------------------->|
	   |                   |(7)CCA(Granted-Units(Rating-Group 1,     |
	   |                   |                     Total-Octets),      |
	   |                   |       Granted-Units(Rating-Group 2,     |
	   |                   |                      Time))             |
	   |                   |<----------------------------------------|
	   :                   :                                         :
	   |(8)Service-Request (Service 3)                               |
	   |------------------>|                                         |
	   :                   :                                         :
	   |(9) User logoff    |                                         |
	   |------------------>|(10)CCR(term, Used-Units(Input-Octets,   |
	   |                   |                         Output-Octets,  |
	   |                   |                         Service-Id 1,   |
	   |                   |                         Rating-Group 1),|
	   |                   |              Used-Units(Input-Octets,   |
	   |                   |                         Output-Octets,  |
	   |                   |                         Service-Id 3,   |
	   |                   |                         Rating-Group 1),|
	   |                   |              Used-Units(Time,           |
	   |                   |                         Service-Id 2,   |
	   |                   |                         Rating-Group 2),|
	   |                   |---------------------------------------->|
	   |                   |(11)CCA(term)                            |
	   |                   |<----------------------------------------|

	   Figure A.xxx: Credit Control for Multiple Services in One Credit=20
	                 Control Session, flow example

	 =20
	The user logs onto the network (1). The Service Element sends a =
Diameter Credit-Control-Request with CC-Request-Type set to =
INITIAL_REQUEST to the Diameter credit-control server to perform credit =
authorization for multiple rating groups and to establish a credit =
control session (2). In this message credit authorization is requested =
for Rating-Group 1 and Rating-Group 2 by including two instances of the =
Requested-Service-Unit AVP. The Diameter credit-control server checks =
the end user's account balance, based on the Rating-Group information =
rates the request and reserves credit from the end user's account. =
Multiple quotas are returned to the Service Element, each associated =
with the relevant Rating-Group (3). The user uses service 1 and service =
2 (4, 5). The service 1 belongs to Rating-Group 1 and is volume based =
charged, the service 2 belongs to Rating-Group 2 and is time based =
charged. When the user has consumed the allotted credit, the Service =
Element sends a Diameter Credit-Control-Request with CC-Request-Type set =
to UPDATE_REQUEST to the credit control server (6). This message =
contains the units consumed by each of the used services in the =
Used-Service-Unit AVPs and two instances of the Requested-Service-Unit =
AVP to request credit re-authorization for the two Rating-Groups. The =
used units are associated with the relevant Service-Identifier and =
Rating-Group.=20
	The Diameter credit-control server debits the used units from the end =
user's account and reserves a new amount of credit that is returned in =
form of multiple quotas to the Service Element in the Diameter =
Credit-Control-Answer (7). Each quota is associated with the relevant =
Rating-Group. In addition to service 1 and service 2, the user now =
starts using service 3 (8). Service 3 belongs to Rating-Group 1 and is =
charged based on volume. The end user logs off from the network (9). To =
debit the used units from the end user's account and to stop the credit =
control session, the Service Element sends a Diameter =
Credit-Control-Request with CC-Request-Type set to TERMINATION_REQUEST =
to the credit control server (10). =20
	This message contains the units consumed by each of the used services =
in the Used-Service-Unit AVPs. The used units are associated with the =
relevant Service-Identifier and Rating-Group. The Diameter =
credit-control server debits the used units to the user's account and =
acknowledges the session termination by sending a Diameter =
Credit-Control-Answer to the Service Element (11).



From owner-aaa-wg@merit.edu  Sun Oct 19 12:27:24 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA12020
	for <aaa-archive@lists.ietf.org>; Sun, 19 Oct 2003 12:27:23 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 8C1FE91217; Sun, 19 Oct 2003 12:27:19 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 6023891221; Sun, 19 Oct 2003 12:27:19 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 807C791217
	for <aaa-wg@trapdoor.merit.edu>; Sun, 19 Oct 2003 12:27:18 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 6CB035DE44; Sun, 19 Oct 2003 12:27:18 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from internaut.com (h-66-167-171-107.STTNWAHO.covad.net [66.167.171.107])
	by segue.merit.edu (Postfix) with ESMTP id 9E3055DE3F
	for <aaa-wg@merit.edu>; Sun, 19 Oct 2003 12:27:17 -0400 (EDT)
Received: from localhost (aboba@localhost)
	by internaut.com (8.10.2/8.10.2) with ESMTP id h9JFpJj07878
	for <aaa-wg@merit.edu>; Sun, 19 Oct 2003 08:51:19 -0700
Date: Sun, 19 Oct 2003 08:51:19 -0700 (PDT)
From: Bernard Aboba <aboba@internaut.com>
To: aaa-wg@merit.edu
Subject: [AAA-WG]: Call for agenda items
Message-ID: <Pine.LNX.4.56.0310190850420.7853@internaut.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

If you have an agenda item for the AAA WG meeting at IETF 58, please send
it to David, John and myself.


From owner-aaa-wg@merit.edu  Mon Oct 20 06:41:56 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA20498
	for <aaa-archive@lists.ietf.org>; Mon, 20 Oct 2003 06:41:56 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 2037C91207; Mon, 20 Oct 2003 06:41:49 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id E45039121A; Mon, 20 Oct 2003 06:41:48 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 55D7591207
	for <aaa-wg@trapdoor.merit.edu>; Mon, 20 Oct 2003 06:41:33 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 3941B5DE4B; Mon, 20 Oct 2003 06:41:33 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id 6E3765DDAB
	for <aaa-wg@merit.edu>; Mon, 20 Oct 2003 06:40:24 -0400 (EDT)
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9KAeMd17375
	for <aaa-wg@merit.edu>; Mon, 20 Oct 2003 13:40:22 +0300 (EET DST)
Received: from esebh003.NOE.Nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T6566223d6aac158f21082@esvir01nok.ntc.nokia.com>;
 Mon, 20 Oct 2003 13:40:16 +0300
Received: from esebe017.NOE.Nokia.com ([172.21.138.56]) by esebh003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Mon, 20 Oct 2003 13:40:16 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe017.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Mon, 20 Oct 2003 13:34:19 +0300
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: CCA: Rating Input
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Date: Mon, 20 Oct 2003 13:33:23 +0300
Message-ID: <DADF50F5EC506B41A0F375ABEB320636A8B730@esebe023.ntc.nokia.com>
Thread-Topic: [AAA-WG]: CCA: Rating Input
Thread-Index: AcOSGqrBOjWid965QUevqH4Y9cN4dAE2uBEw
From: <john.loughney@nokia.com>
To: <harri.hakala@ericsson.com>, <jeff.meyer2@hp.com>
Cc: <aaa-wg@merit.edu>
X-OriginalArrivalTime: 20 Oct 2003 10:34:19.0587 (UTC) FILETIME=[B8125930:01C396F5]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi all,

I have added Jeff's text to the AVP def.

thanks,
JOhn

> -----Original Message-----
> From: ext Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> Sent: 14 October, 2003 09:14
> To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'
> Cc: 'aaa-wg@merit.edu'
> Subject: RE: [AAA-WG]: CCA: Rating Input
>=20
>=20
> Hi Jeff,
>=20
> >   Perhaps the following wording:
> >=20
> >    "The SPI enables legacy rating information to be passed in its
> >   original encoded form.  CC Application developers SHOULD restrict
> >   its use to situations where legacy applications are being ported
> >   to Diameter CC.  New applications SHOULD favor the use of=20
> explicitly
> >   defined AVP's, to simplify interoperability."
>=20
> Thank you for your feedback.
> Your proposal sounds good.
>=20
> Regards.....Harri
>=20
> > -----Original Message-----
> > From: MEYER,JEFFREY D (HP-Cupertino,ex1) [mailto:jeff.meyer2@hp.com]
> > Sent: 13. lokakuuta 2003 21:36
> > To: Harri Hakala (TU/LMF); MEYER,JEFFREY D (HP-Cupertino,ex1)
> > Cc: 'aaa-wg@merit.edu'
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> >=20
> >=20
> > Harri,
> >=20
> >   I don't see a problem with SPI in addition to AVP* as long as=20
> > its use is discouraged in favor of adding AVP's.  SPI's=20
> don't violate
> > the information model, but due to their opaque nature, they limit
> > what one can explicitly determine from the Info Model.  I would
> > argue that more explicit is better.
> >=20
> >   Perhaps the following wording:
> >=20
> >    "The SPI enables legacy rating information to be passed in its
> >   original encoded form.  CC Application developers SHOULD restrict
> >   its use to situations where legacy applications are being ported
> >   to Diameter CC.  New applications SHOULD favor the use of=20
> explicitly
> >   defined AVP's, to simplify interoperability."
> >=20
> >=20
> > Regards,
> >=20
> >   Jeff Meyer
> >=20
> > -----Original Message-----
> > From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> > Sent: Monday, October 13, 2003 1:58 AM
> > To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'
> > Cc: 'aaa-wg@merit.edu'
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> >=20
> >=20
> > Hi Jeff,
> >=20
> > >   What I hear you saying is that there would be some mapping=20
> > > activity in the CC server based on either other AVP's or other=20
> > > properties of the inbound request (address?) which would=20
> > then direct=20
> > > the SPI (and other AVPs) to some system which can consume it.
> > >=20
> > >   Presumably then whenever a new client using a new SPI type is
> > > added, then the CC server needs to be reconfigured to identify
> > > whatever special combination of properties help it guide the SPI
> > > to its new destination.
> >=20
> > The SPI is just a container of rating input, which the server can
> > transparently pass to the rating system. I don't think that=20
> > some extra=20
> > mapping activity is needed.
> >=20
> > >   If it really is deemed a critical feature, I would recommend
> > > addressing the downside of the use of SPI's (e.g. ambiguity,
> > > inconsistent handling, additional burden on CC server to route,
> > > etc.) in the draft itself.  I.e. discourage its use before it
> > > becomes a lazy shortcut which impedes interoperability.
> >=20
> > It is not a critical feature, I just thought that it can be=20
> > an alternative
> > way (in addition to *AVP) to send rating input. But if that=20
> > cause major=20
> > problem or violate the Diameter Information model, of course=20
> > we can skip it.
> >=20
> > Regards........Harri
> >=20
>=20


From owner-aaa-wg@merit.edu  Mon Oct 20 06:47:02 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA20603
	for <aaa-archive@lists.ietf.org>; Mon, 20 Oct 2003 06:47:01 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id C51419121A; Mon, 20 Oct 2003 06:46:53 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 383FC9121F; Mon, 20 Oct 2003 06:46:34 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 2F1FD9121A
	for <aaa-wg@trapdoor.merit.edu>; Mon, 20 Oct 2003 06:46:31 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 1C9B95DDE1; Mon, 20 Oct 2003 06:46:31 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from eagle.ericsson.se (eagle.ericsson.se [193.180.251.53])
	by segue.merit.edu (Postfix) with ESMTP id 8B7CC5DDC6
	for <aaa-wg@merit.edu>; Mon, 20 Oct 2003 06:46:30 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by eagle.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9KAkSoq029878;
	Mon, 20 Oct 2003 12:46:28 +0200
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <45JRV4M9>; Mon, 20 Oct 2003 12:47:17 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF03E06272@esealnt630.al.sw.ericsson.se>
From: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
To: "'john.loughney@nokia.com'" <john.loughney@nokia.com>
Cc: aaa-wg@merit.edu, "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>,
        jeff.meyer2@hp.com
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Mon, 20 Oct 2003 12:45:39 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi John,

if I remember correctly the original proposal was to add a new section in the draft discussing how to handle rating input
http://www.merit.edu/mail.archives/aaa-wg/msg05106.html
Wouldn't this addition belong to this section as well?

BR,
Leena

> -----Original Message-----
> From: john.loughney@nokia.com [mailto:john.loughney@nokia.com]
> Sent: 20. lokakuuta 2003 13:33
> To: Harri Hakala (TU/LMF); jeff.meyer2@hp.com
> Cc: aaa-wg@merit.edu
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> Hi all,
> 
> I have added Jeff's text to the AVP def.
> 
> thanks,
> JOhn
> 
> > -----Original Message-----
> > From: ext Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> > Sent: 14 October, 2003 09:14
> > To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'
> > Cc: 'aaa-wg@merit.edu'
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> > 
> > 
> > Hi Jeff,
> > 
> > >   Perhaps the following wording:
> > > 
> > >    "The SPI enables legacy rating information to be passed in its
> > >   original encoded form.  CC Application developers 
> SHOULD restrict
> > >   its use to situations where legacy applications are being ported
> > >   to Diameter CC.  New applications SHOULD favor the use of 
> > explicitly
> > >   defined AVP's, to simplify interoperability."
> > 
> > Thank you for your feedback.
> > Your proposal sounds good.
> > 
> > Regards.....Harri
> > 
> > > -----Original Message-----
> > > From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
> [mailto:jeff.meyer2@hp.com]
> > > Sent: 13. lokakuuta 2003 21:36
> > > To: Harri Hakala (TU/LMF); MEYER,JEFFREY D (HP-Cupertino,ex1)
> > > Cc: 'aaa-wg@merit.edu'
> > > Subject: RE: [AAA-WG]: CCA: Rating Input
> > > 
> > > 
> > > Harri,
> > > 
> > >   I don't see a problem with SPI in addition to AVP* as long as 
> > > its use is discouraged in favor of adding AVP's.  SPI's 
> > don't violate
> > > the information model, but due to their opaque nature, they limit
> > > what one can explicitly determine from the Info Model.  I would
> > > argue that more explicit is better.
> > > 
> > >   Perhaps the following wording:
> > > 
> > >    "The SPI enables legacy rating information to be passed in its
> > >   original encoded form.  CC Application developers 
> SHOULD restrict
> > >   its use to situations where legacy applications are being ported
> > >   to Diameter CC.  New applications SHOULD favor the use of 
> > explicitly
> > >   defined AVP's, to simplify interoperability."
> > > 
> > > 
> > > Regards,
> > > 
> > >   Jeff Meyer
> > > 
> > > -----Original Message-----
> > > From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> > > Sent: Monday, October 13, 2003 1:58 AM
> > > To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'
> > > Cc: 'aaa-wg@merit.edu'
> > > Subject: RE: [AAA-WG]: CCA: Rating Input
> > > 
> > > 
> > > Hi Jeff,
> > > 
> > > >   What I hear you saying is that there would be some mapping 
> > > > activity in the CC server based on either other AVP's or other 
> > > > properties of the inbound request (address?) which would 
> > > then direct 
> > > > the SPI (and other AVPs) to some system which can consume it.
> > > > 
> > > >   Presumably then whenever a new client using a new SPI type is
> > > > added, then the CC server needs to be reconfigured to identify
> > > > whatever special combination of properties help it guide the SPI
> > > > to its new destination.
> > > 
> > > The SPI is just a container of rating input, which the server can
> > > transparently pass to the rating system. I don't think that 
> > > some extra 
> > > mapping activity is needed.
> > > 
> > > >   If it really is deemed a critical feature, I would recommend
> > > > addressing the downside of the use of SPI's (e.g. ambiguity,
> > > > inconsistent handling, additional burden on CC server to route,
> > > > etc.) in the draft itself.  I.e. discourage its use before it
> > > > becomes a lazy shortcut which impedes interoperability.
> > > 
> > > It is not a critical feature, I just thought that it can be 
> > > an alternative
> > > way (in addition to *AVP) to send rating input. But if that 
> > > cause major 
> > > problem or violate the Diameter Information model, of course 
> > > we can skip it.
> > > 
> > > Regards........Harri
> > > 
> > 
> 


From owner-aaa-wg@merit.edu  Mon Oct 20 06:59:18 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA20870
	for <aaa-archive@lists.ietf.org>; Mon, 20 Oct 2003 06:59:17 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 15E4E91220; Mon, 20 Oct 2003 06:59:11 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id C948391225; Mon, 20 Oct 2003 06:59:10 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 8219E91220
	for <aaa-wg@trapdoor.merit.edu>; Mon, 20 Oct 2003 06:59:09 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 728F05DE55; Mon, 20 Oct 2003 06:59:09 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id DD0385DDC1
	for <aaa-wg@merit.edu>; Mon, 20 Oct 2003 06:58:42 -0400 (EDT)
Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9KAwfX16998
	for <aaa-wg@merit.edu>; Mon, 20 Oct 2003 13:58:41 +0300 (EET DST)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir03nok.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T656633180aac158f23077@esvir03nok.nokia.com>;
 Mon, 20 Oct 2003 13:58:41 +0300
Received: from esebe002.NOE.Nokia.com ([172.21.138.17]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Mon, 20 Oct 2003 13:58:41 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Mon, 20 Oct 2003 13:58:40 +0300
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: CCA: Rating Input
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Date: Mon, 20 Oct 2003 13:58:40 +0300
Message-ID: <DADF50F5EC506B41A0F375ABEB320636A8B733@esebe023.ntc.nokia.com>
Thread-Topic: [AAA-WG]: CCA: Rating Input
Thread-Index: AcOW95blAX25+aFxTiaT7vwmjqAqjAAAYCEw
From: <john.loughney@nokia.com>
To: <leena.mattila@ericsson.com>
Cc: <aaa-wg@merit.edu>, <harri.hakala@ericsson.com>, <jeff.meyer2@hp.com>
X-OriginalArrivalTime: 20 Oct 2003 10:58:40.0878 (UTC) FILETIME=[1F11A8E0:01C396F9]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

You are correct, I have added it to the correct place.

> -----Original Message-----
> From: ext Leena Mattila (TU/LMF) [mailto:leena.mattila@ericsson.com]
> Sent: 20 October, 2003 13:46
> To: Loughney John (NRC/Helsinki)
> Cc: aaa-wg@merit.edu; Harri Hakala (TU/LMF); jeff.meyer2@hp.com
> Subject: RE: [AAA-WG]: CCA: Rating Input
>=20
>=20
> Hi John,
>=20
> if I remember correctly the original proposal was to add a=20
> new section in the draft discussing how to handle rating input
> http://www.merit.edu/mail.archives/aaa-wg/msg05106.html
> Wouldn't this addition belong to this section as well?
>=20
> BR,
> Leena
>=20
> > -----Original Message-----
> > From: john.loughney@nokia.com [mailto:john.loughney@nokia.com]
> > Sent: 20. lokakuuta 2003 13:33
> > To: Harri Hakala (TU/LMF); jeff.meyer2@hp.com
> > Cc: aaa-wg@merit.edu
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> >=20
> >=20
> > Hi all,
> >=20
> > I have added Jeff's text to the AVP def.
> >=20
> > thanks,
> > JOhn
> >=20
> > > -----Original Message-----
> > > From: ext Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> > > Sent: 14 October, 2003 09:14
> > > To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'
> > > Cc: 'aaa-wg@merit.edu'
> > > Subject: RE: [AAA-WG]: CCA: Rating Input
> > >=20
> > >=20
> > > Hi Jeff,
> > >=20
> > > >   Perhaps the following wording:
> > > >=20
> > > >    "The SPI enables legacy rating information to be=20
> passed in its
> > > >   original encoded form.  CC Application developers=20
> > SHOULD restrict
> > > >   its use to situations where legacy applications are=20
> being ported
> > > >   to Diameter CC.  New applications SHOULD favor the use of=20
> > > explicitly
> > > >   defined AVP's, to simplify interoperability."
> > >=20
> > > Thank you for your feedback.
> > > Your proposal sounds good.
> > >=20
> > > Regards.....Harri
> > >=20
> > > > -----Original Message-----
> > > > From: MEYER,JEFFREY D (HP-Cupertino,ex1)=20
> > [mailto:jeff.meyer2@hp.com]
> > > > Sent: 13. lokakuuta 2003 21:36
> > > > To: Harri Hakala (TU/LMF); MEYER,JEFFREY D (HP-Cupertino,ex1)
> > > > Cc: 'aaa-wg@merit.edu'
> > > > Subject: RE: [AAA-WG]: CCA: Rating Input
> > > >=20
> > > >=20
> > > > Harri,
> > > >=20
> > > >   I don't see a problem with SPI in addition to AVP* as long as=20
> > > > its use is discouraged in favor of adding AVP's.  SPI's=20
> > > don't violate
> > > > the information model, but due to their opaque nature,=20
> they limit
> > > > what one can explicitly determine from the Info Model.  I would
> > > > argue that more explicit is better.
> > > >=20
> > > >   Perhaps the following wording:
> > > >=20
> > > >    "The SPI enables legacy rating information to be=20
> passed in its
> > > >   original encoded form.  CC Application developers=20
> > SHOULD restrict
> > > >   its use to situations where legacy applications are=20
> being ported
> > > >   to Diameter CC.  New applications SHOULD favor the use of=20
> > > explicitly
> > > >   defined AVP's, to simplify interoperability."
> > > >=20
> > > >=20
> > > > Regards,
> > > >=20
> > > >   Jeff Meyer
> > > >=20
> > > > -----Original Message-----
> > > > From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]
> > > > Sent: Monday, October 13, 2003 1:58 AM
> > > > To: 'MEYER,JEFFREY D (HP-Cupertino,ex1)'
> > > > Cc: 'aaa-wg@merit.edu'
> > > > Subject: RE: [AAA-WG]: CCA: Rating Input
> > > >=20
> > > >=20
> > > > Hi Jeff,
> > > >=20
> > > > >   What I hear you saying is that there would be some mapping=20
> > > > > activity in the CC server based on either other AVP's=20
> or other=20
> > > > > properties of the inbound request (address?) which would=20
> > > > then direct=20
> > > > > the SPI (and other AVPs) to some system which can consume it.
> > > > >=20
> > > > >   Presumably then whenever a new client using a new=20
> SPI type is
> > > > > added, then the CC server needs to be reconfigured to identify
> > > > > whatever special combination of properties help it=20
> guide the SPI
> > > > > to its new destination.
> > > >=20
> > > > The SPI is just a container of rating input, which the=20
> server can
> > > > transparently pass to the rating system. I don't think that=20
> > > > some extra=20
> > > > mapping activity is needed.
> > > >=20
> > > > >   If it really is deemed a critical feature, I would recommend
> > > > > addressing the downside of the use of SPI's (e.g. ambiguity,
> > > > > inconsistent handling, additional burden on CC server=20
> to route,
> > > > > etc.) in the draft itself.  I.e. discourage its use before it
> > > > > becomes a lazy shortcut which impedes interoperability.
> > > >=20
> > > > It is not a critical feature, I just thought that it can be=20
> > > > an alternative
> > > > way (in addition to *AVP) to send rating input. But if that=20
> > > > cause major=20
> > > > problem or violate the Diameter Information model, of course=20
> > > > we can skip it.
> > > >=20
> > > > Regards........Harri
> > > >=20
> > >=20
> >=20
>=20


From owner-aaa-wg@merit.edu  Mon Oct 20 07:23:03 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA21687
	for <aaa-archive@lists.ietf.org>; Mon, 20 Oct 2003 07:23:03 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 3C5DF91226; Mon, 20 Oct 2003 07:22:54 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 0432E91228; Mon, 20 Oct 2003 07:22:53 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 55CF891226
	for <aaa-wg@trapdoor.merit.edu>; Mon, 20 Oct 2003 07:22:52 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 373A25DDD2; Mon, 20 Oct 2003 07:22:52 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id EF74D5DDB6
	for <aaa-wg@merit.edu>; Mon, 20 Oct 2003 07:19:39 -0400 (EDT)
Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9KBJOX14094
	for <aaa-wg@merit.edu>; Mon, 20 Oct 2003 14:19:24 +0300 (EET DST)
Received: from esebh001.NOE.Nokia.com (unverified) by esvir03nok.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T6566460e88ac158f23077@esvir03nok.nokia.com>;
 Mon, 20 Oct 2003 14:19:24 +0300
Received: from esebe012.NOE.Nokia.com ([172.21.138.51]) by esebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Mon, 20 Oct 2003 14:19:24 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe012.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Mon, 20 Oct 2003 14:19:24 +0300
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: CCA: Separation of sent and received bytes in CCA Rev 2
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Date: Mon, 20 Oct 2003 14:19:23 +0300
Message-ID: <DADF50F5EC506B41A0F375ABEB320636A8B734@esebe023.ntc.nokia.com>
Thread-Topic: [AAA-WG]: CCA: Separation of sent and received bytes in CCA Rev 2
Thread-Index: AcOOY/xatlB99CR+Qd+Di7ZrmCtaDAImAFuQ
From: <john.loughney@nokia.com>
To: <leena.mattila@ericsson.com>, <aaa-wg@merit.edu>
Cc: <jari.arkko@kolumbus.fi>, <marco.stura@nokia.com>
X-OriginalArrivalTime: 20 Oct 2003 11:19:24.0206 (UTC) FILETIME=[042674E0:01C396FC]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi Leena,

Changes made.

John

> -----Original Message-----
> From: ext Leena Mattila (TU/LMF) [mailto:leena.mattila@ericsson.com]
> Sent: 09 October, 2003 15:49
> To: aaa-wg@merit.edu
> Cc: jari.arkko@kolumbus.fi; Stura Marco (NET/Helsinki)
> Subject: Re: [AAA-WG]: CCA: Separation of sent and received=20
> bytes in CCA
> Rev 2
>=20
>=20
> An updated proposal for the Separation of sent and received=20
> bytes in CCA:
>=20
> ADD:
> Section 5.x CC-Input-Octets AVP:=20
>=20
>    The CC-Input-Octets AVP (AVP Code TBD) is of type Unsigned64,
>    and contains the number of requested, granted or used octets
>    that can be/have been received from the end user.
>=20
> ADD:
> Section 5.x CC-Money AVP:=20
>=20
>    The CC-Money AVP (AVP Code TBD) is of type Grouped, and specifies
>    the monetary amount in the given currency. The Currency-Code AVP
>    SHOULD be included. It has the following ABNF grammar: =20
>         =20
>       CC-Money ::=3D < AVP Header: TBD > =20
>                    { Unit-Value } =20
>                    [ Currency-Code ]
>=20
> ADD:
> Section 5.x CC-Output-Octets AVP:=20
>=20
>    The CC-Output-Octets AVP (AVP Code TBD) is of type Unsigned64,
>    and contains the number of requested, granted or used octets
>    that can be/have been sent to the end user.
>=20
> ADD:
> Section 5.x CC-Service-Specific-Units AVP:=20
>=20
>    The CC-Service-Specific-Units AVP (AVP Code TBD) is of type
>    OctetString, and specifies the number of service specific units
>    (e.g. number of events, points) given in a selected service.
>=20
> ADD:
> Section 5.x CC-Time AVP:=20
>=20
>    The CC-Time AVP (AVP Code TBD) is of type Unsigned32, and indicates
>    the length of the requested, granted or used time in seconds.
>=20
> ADD:
> Section 5.x CC-Total-Octets AVP:=20
>=20
>    The CC-Total-Octets AVP (AVP Code TBD) is of type Unsigned64,
>    and contains the total number of requested, granted or used
>    octets regardless of the direction (sent or received).
>=20
> Section 5.15 Granted-Service-Unit AVP =20
>=20
> FROM:
>    Granted-Service-Unit AVP (AVP Code TBD) is of type Grouped and=20
>    contains the amount of units that the Diameter=20
> credit-control client=20
>    can provide to the end user until the service must be=20
> released or the=20
>    new Credit-Control-Request must be sent. The Unit-Value=20
> AVP contains=20
>    the granted units and the Unit-Type AVP defines the type=20
> of the unit. =20
>        =20
>    If the Unit-Type AVP is set to time in the=20
> Credit-Control-Answer or=20
>    AA Answer command, the Unit Value AVP specifies the=20
> granted time in=20
>    seconds. =20
>    =20
>    If the Unit-Type AVP is set to volume in the=20
> Credit-Control-Answer or=20
>    AA Answer command, the Unit-Value AVP specifies the=20
> granted volume in=20
>    bytes.   =20
>            =20
>    If the Unit-Type AVP is set to service specific in the Credit-
>    Control-Answer command or AA Answer, the Unit-Value AVP=20
> specifies the=20
>    granted number of service specific units (e.g. number of events,=20
>    points) given in a selected service.  =20
>            =20
>    If the Unit-Type AVP is set to money in the=20
> Credit-Control-Answer or=20
>    AA answer command, the Unit-Value AVP specifies the=20
> granted monetary=20
>    amount in the given currency. If the unit type is money, a=20
> Currency-
>    Code AVP SHOULD be included.  =20
>    =20
>    It has the following ABNF grammar: =20
>         =20
>              <Granted-Service-Unit>::=3D< AVP Header: TBD > =20
>                                           { Unit-Type } =20
>                                           { Unit-Value } =20
>                                           [ Currency-Code ]
>=20
> TO:
>    Granted-Service-Unit AVP (AVP Code TBD) is of type Grouped and=20
>    contains the amount of units that the Diameter=20
> credit-control client=20
>    can provide to the end user until the service must be=20
> released or the=20
>    new Credit-Control-Request must be sent. A client is not=20
> required to=20
>    implement all of the unit types, and must treat unknown or=20
> unsupported=20
>    unit types in the answer message as an incorrect CCA=20
> answer. In that case
>    the client shall terminate credit control session and=20
> indicate in the
>    Termination-Cause AVP reason DIAMETER_BAD_ANSWER.
>=20
>    It has the following ABNF grammar: =20
>         =20
>       Granted-Service-Unit ::=3D < AVP Header: TBD > =20
>                                [ CC-Time ]
>                                [ CC-Money ] =20
>                                [ CC-Total-Octets ]
>                                [ CC-Input-Octets ]
>                                [ CC-Output-Octets ]
>                                [ CC-Service-Specific-Units ]
>=20
> Section 5.17 Requested-Service-Unit AVP: =20
>=20
> FROM:
>    The Requested-Service-Unit AVP (AVP Code TBD) is of type=20
> Grouped and=20
>    contains the amount of requested units specified by the Diameter=20
>    credit-control client. The included Unit-Value AVP contains the=20
>    requested Unit-Value and the Unit-Type AVP defines the type of the=20
>    unit. A server is not required to implement all of the unit types,=20
>    and must treat unknown or unsupported unit types as invalid AVP=20
>    values. =20
>        =20
>    If the Unit Type AVP is set to time in the Credit-Control-Request=20
>    command, the Unit-Value AVP specifies the requested time=20
> in seconds. =20
>     =20
>    If the Unit-type AVP is set to volume in the=20
> Credit-Control-Request=20
>    command, the Unit-Value AVP specifies the requested volume=20
> in bytes. =20
>     =20
>    If the Unit-type AVP is set to service specific in the Credit-
>    Control-Request command, the Unit-Value AVP specifies the=20
> requested=20
>    number of service specific units (e.g. number of events)=20
> given in a=20
>    selected service. =20
>     =20
>    If the Unit-Type AVP is set to money in the Credit-Control-Request=20
>    command, the Unit-Value AVP specifies the monetary amount in the=20
>    given currency. If the unit type is money, a Currency-Code=20
> AVP SHOULD=20
>    be included. =20
>        =20
>    It has the following ABNF grammar: =20
>        =20
>              <Requested-Service-Unit>::=3D< AVP Header: TBD > =20
>                                       { Unit-Type } =20
>                                       { Unit-Value } =20
>                                       [ Currency-Code ]
>=20
> TO:
>    The Requested-Service-Unit AVP (AVP Code TBD) is of type=20
> Grouped and=20
>    contains the amount of requested units specified by the Diameter=20
>    credit-control client. A server is not required to implement all of
>    the unit types, and must treat unknown or unsupported unit types as
>    invalid AVPs.
>=20
>    It has the following ABNF grammar: =20
>        =20
>       Requested-Service-Unit ::=3D < AVP Header: TBD >
>                                  [ CC-Time ]
>                                  [ CC-Money ] =20
>                                  [ CC-Total-Octets ]
>                                  [ CC-Input-Octets ]
>                                  [ CC-Output-Octets ]
>                                  [ CC-Service-Specific-Units ]
> Section 5.24 Unit-Type AVP:
>=20
> REMOVE.
>=20
> Section 5.25 Unit-Value AVP:
>=20
> FROM:
>    Unit-Value AVP is of type Grouped (AVP Code TBD). The value can be=20
>    time in seconds, volume in bytes, number of service=20
> specific units or=20
>    monetary amount depending on the given unit type.  =20
>=20
> TO:
>    Unit-Value AVP is of type Grouped (AVP Code TBD) and specifies the
>    units as decimal value.
>=20
> Section 5.26 Used-Service-Unit AVP =20
>=20
> FROM:
>    The Used-Service-Unit AVP is of type Grouped AVP (AVP Code=20
> TBD) and=20
>    contains the amount of used units measured from the point when the=20
>    service became active or, in case of interim=20
> interrogations are used=20
>    during the session, from the point when the previous measurement=20
>    ended. The included Unit-Type AVP defines the type of the unit and=20
>    the Unit-Value AVP contains the used amount.  =20
>     =20
>    If the Unit Type AVP is set to time in the Credit-Control-Request=20
>    command, the Unit-Value AVP specifies the used time in seconds. =20
>        =20
>    If the Unit-Type AVP is set to volume in the=20
> Credit-Control-Request=20
>    command, the Unit-Value AVP specifies the used volume in bytes.  =20
>     =20
>    If the Unit-type AVP is set to service specific in the Credit-
>    Control-Request command, the Unit-Value AVP specifies the=20
> used number=20
>    of service specific units (e.g. number of events) given in=20
> a selected=20
>    service. =20
>     =20
>    If the Unit-Type AVP is set to money in the Credit-Control-Request=20
>    command, the Unit-Value AVP specifies the used monetary=20
> amount in the=20
>    given currency. If the unit type is money, a Currency-Code=20
> AVP SHOULD=20
>    be included. =20
>    =20
>    It has the following ABNF grammar:
>                  <Used-Service-Unit>::=3D< AVP Header: TBD > =20
>                                        { Unit-Type } =20
>                                        { Unit-Value } =20
>                                        [ Currency-Code ]
>=20
> TO:
>    The Used-Service-Unit AVP is of type Grouped AVP (AVP Code=20
> TBD) and=20
>    contains the amount of used units measured from the point when the=20
>    service became active or, in case of interim=20
> interrogations are used=20
>    during the session, from the point when the previous measurement=20
>    ended.
>=20
>    It has the following ABNF grammar:
>=20
>       Used-Service-Unit ::=3D < AVP Header: TBD > =20
>                             [ CC-Time ]
>                             [ CC-Money ] =20
>                             [ CC-Total-Octets ]
>                             [ CC-Input-Octets ]
>                             [ CC-Output-Octets ]
>                             [ CC-Service-Specific-Units ]
>=20
> Section 5.27 Value-Digits AVP =20
>=20
> FROM:
>    The Value-Digits AVP is of type Unsigned64 (AVP code TBD) and=20
>    contains the number of seconds, volume in bytes, number of service=20
>    specific units or monetary amount depending on the given Unit-Type=20
>    AVP. =20
>=20
> TO:
>    The Value-Digits AVP is of type Unsigned64 (AVP code TBD) and=20
>    contains the significant digits of the number. =20
>=20
> Section 8.1 Initial RADIUS Access-Request:
>=20
> FROM:
>       - If the Granted-Service-Unit AVP with the Unit-Type=20
> Time or the=20
>         Validity-Time AVP is returned by the credit control server,=20
>         then the smallest value should be included in the RADIUS VSA=20
>         Duration-Quota.
>       - If the Granted-Service-Unit AVP with the Unit-Type Volume is=20
>         returned by the credit-control server, then the volume should=20
>         be included in the RADIUS VSA Volume-Quota.
> TO:
>       - If the Granted-Service-Unit AVP including the CC-Time AVP or
>         the Validity-Time AVP is returned by the credit=20
> control server,=20
>         then the smallest value should be included in the RADIUS VSA=20
>         Duration-Quota.
>       - If the Granted-Service-Unit AVP including the CC-Total-Octets
>         AVP is returned by the credit-control server, then the volume
>         should be included in the RADIUS VSA Volume-Quota.
>=20
> Section 8.2 Subsequent RADIUS Access-Request message:
>=20
> FROM:
>      - If the RADIUS Access-Request message contains the RADIUS VSA=20
>        Volume-Quota, the value shall be included in the Used-Service-
>        Unit AVP and Unit-Type shall be set to Volume.
>      - If the RADIUS Access-Request message contains RADIUS VSA Time-
>        Quota, the value shall be included in the=20
> Used-Service-Unit AVP=20
>        and the Unit-Type shall be set to Time.
> TO:
>      - If the RADIUS Access-Request message contains the RADIUS VSA=20
>        Volume-Quota, the value shall be included in the CC-Total-
>        Octets AVP within the Used-Service-Unit AVP.
>      - If the RADIUS Access-Request message contains RADIUS VSA Time-
>        Quota, the value shall be included in the CC-Time AVP within
>        the Used-Service-Unit AVP.
>=20
> FROM:
>      - If RADIUS VSA Volume-Quota, the value shall be included in the=20
>        Used-Service-Unit AVP and Unit-Type shall be set to Volume.=20
>      - If RADIUS VSA Time-Quota, the value shall be included in the=20
>        Used-Service-Unit AVP and the Unit-Type shall be set to Time.
> TO:
>      - If RADIUS VSA Volume-Quota is present, the value shall be
>        included in the Used-Service-Unit AVP as CC-Total-Octets.=20
>      - If RADIUS VSA Time-Quota is present, the value shall=20
> be included
>        in the Used-Service-Unit AVP as CC-Time.
>=20
> Section 9.12 Unit-Type AVP:=20
>        =20
> REMOVE.
>=20
> /Leena
> > -----Original Message-----
> > From: Jari Arkko [mailto:jari.arkko@kolumbus.fi]
> > Sent: 7. lokakuuta 2003 18:51
> > To: Leena Mattila (TU/LMF)
> > Cc: 'aaa-wg@merit.edu'; 'marco.stura@nokia.com'
> > Subject: Re: [AAA-WG]: CCA: Separation of sent and received=20
> > bytes in CCA
> >=20
> >=20
> > Leena Mattila (TU/LMF) wrote:
> >=20
> > > As a mixture of general and specific AVPs, no. But after=20
> > thinking this over and taking into account your discussion in=20
> > the other thread about keeping CCA in line with=20
> > RADIUS/DIAMETER NASREQ, maybe the general definition should=20
> > be abandoned and the units should be defined as follows instead:
> > > <XXX-Service-Unit>::=3D< AVP Header: TBD >=20
> > >                          [ CC-Time ]=20
> > >                          [ CC-Money ] (grouped, consists of=20
> > monetary amount and currency code)
> > >                          [ CC-Total-Octets ]
> > >                          [ CC-Input-Octets ]
> > >                          [ CC-Output-Octets ]
> > >                          [ CC-Service-Specific-Units ]
> > >                          *AVP
> > > where XXX stands for Used, Requested or Granted.
> >=20
> > This would work for me.
> >=20
> > --Jari
>=20


From owner-aaa-wg@merit.edu  Mon Oct 20 07:58:21 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA22591
	for <aaa-archive@lists.ietf.org>; Mon, 20 Oct 2003 07:58:20 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 8E8D891228; Mon, 20 Oct 2003 07:58:14 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 5871E9122A; Mon, 20 Oct 2003 07:58:14 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 8FA2A91228
	for <aaa-wg@trapdoor.merit.edu>; Mon, 20 Oct 2003 07:58:12 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 7E2605DE4B; Mon, 20 Oct 2003 07:58:12 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id 7E0955DDAB
	for <aaa-wg@merit.edu>; Mon, 20 Oct 2003 07:56:43 -0400 (EDT)
Received: from esvir04nok.ntc.nokia.com (esvir04nokt.ntc.nokia.com [172.21.143.36])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9KBsCX25898
	for <aaa-wg@merit.edu>; Mon, 20 Oct 2003 14:54:12 +0300 (EET DST)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir04nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T656665e993ac158f24076@esvir04nok.ntc.nokia.com> for <aaa-wg@merit.edu>;
 Mon, 20 Oct 2003 14:54:11 +0300
Received: from esebe019.NOE.Nokia.com ([172.21.138.58]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Mon, 20 Oct 2003 14:54:10 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe019.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Mon, 20 Oct 2003 14:54:10 +0300
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: issue: Multiple services credit control in a single CC session (Diameter CCA)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Date: Mon, 20 Oct 2003 14:54:10 +0300
Message-ID: <DADF50F5EC506B41A0F375ABEB320636A8B73A@esebe023.ntc.nokia.com>
Thread-Topic: issue: Multiple services credit control in a single CC session (Diameter CCA)
Thread-Index: AcOTGTKtpw0sMX3YR/GlPckWq+aRvAD56SaQ
From: <john.loughney@nokia.com>
To: <marco.stura@nokia.com>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 20 Oct 2003 11:54:10.0838 (UTC) FILETIME=[DFE13B60:01C39700]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Thanks Marco, I've udpated the draft accordingly.

thanks,
John

> -----Original Message-----
> From: ext [mailto:marco.stura@nokia.com]
> Sent: 15 October, 2003 15:38
> To: aaa-wg@merit.edu
> Subject: [AAA-WG]: issue: Multiple services credit control in a single
> CC session (Diameter CCA)
>=20
>=20
> Multiple services credit control in a single CC session (Diameter CCA)
> Submitter name: Marco Stura
> Submitter email address: marco.stura@nokia.com
> Date first submitted: October 15, 2003
> Reference:=20
> Document: draft-ietf-aaa-diameter-cc-00
> Comment type: T
> Priority: 2
> Section: various
> Rationale/Explanation of issue:
>=20
> There may be service elements in certain service environments=20
> that provide multiple services, or
> just credit control for multiple services, within the same=20
> authorization session to an end user.=20
> For each of those services the price may be different=20
> requiring differentiated credit control per service.
> With the current draft such a service element would need to=20
> open multiple credit control sessions
> (or sub-sessions) resulting in increased signaling load  and=20
> resource usage in both the CC-client=20
> and in the CC-server.
>=20
> I propose to address the support of multiple services credit=20
> control in a single CC session
> in the Diameter CCA. This means that credit authorization can=20
> be requested for multiple
> services, or a group of services, within a single=20
> Credit-Control-Request. Multiple quotas associated
> to the relevant service, or group of services, will be=20
> returned in the corresponding Credit-Control-
> Answer in order to enable differentiated credit control per service.
>=20
> The proposal takes already into account the new structure for=20
> the Granted-Service-Unit,=20
> Requested-Service-Unit and Used-Service-Unit AVPs agreed in=20
> the past weeks in AAA mailing
> list.
>=20
> Proposed changes:
>=20
> Section 4, fourth paragraph
> Change
> FROM:
> 	There are certain applications that require multiple=20
> credit control=20
> 	sub-sessions. Such applications would send messages=20
> with a constant=20
> 	Session-Id AVP, but a different CC-Sub-Session-Id AVP.=20
> If several=20
> 	credit sub-sessions will be used, all sub-sessions MUST=20
> be closed=20
> 	separately before the closing the main session to be=20
> able to report=20
> 	used units per sub-session. The absence of this AVP=20
> implies no sub-
> 	sessions are in use.
>=20
> TO:
> 	There are certain applications that require multiple=20
> credit control=20
> 	sub-sessions. Such applications would send messages=20
> with a constant=20
> 	Session-Id AVP, but a different CC-Sub-Session-Id AVP.=20
> If several=20
> 	credit sub-sessions will be used, all sub-sessions MUST=20
> be closed=20
> 	separately before the closing the main session to be=20
> able to report=20
> 	used units per sub-session. The absence of this AVP=20
> implies no sub-
> 	sessions are in use.=20
>=20
> 	When multiple services are used within one user session=20
> and each service or group of services are subject to=20
> different cost, making use of credit control sub-sessions=20
> will result in increased signaling load and resources usage=20
> in both the credit control client and the credit control=20
> server. For instance, during one network access session the=20
> end user may use several http-services subject to different=20
> access cost. To optimally support these scenarios, the credit=20
> control application enables for multiple services credit=20
> control in a single credit control session. It is possible to=20
> request and allocate multiple quotas as a credit pool that is=20
> shared between multiple services. The services can be further=20
> grouped into rating groups in order to achieve even further=20
> aggregation of credit allocation.
> 	It is also possible to request and allocate multiple=20
> quotas on a per service basis. The mechanism is illustrated=20
> in Appendix A (Flow xxx).
>=20
> Section 4.1.1, fifth paragraph
> Change
> FROM:
> 	However there MUST be maximum one instance of the same=20
> unit type in one
> 	Answer message.
>=20
> TO:
> 	There MUST be maximum one instance of the same unit type in one
> 	Answer message. In case multiple quotas are conveyed to=20
> the credit control client, there MUST be maximum one instance=20
> of the same unit type associated to a Service-Identifier, or=20
> set of Service-Identifiers, or associated to a Rating-Group.
>=20
>=20
> ADD Service-Identifier and Rating-Group AVPs to section 5.17
>=20
> 	The Service-Identifier and the Rating-Group AVPs are=20
> used to request units for a given service(s) or rating group=20
> when the service element supports credit control for multiple=20
> services in one credit control session.=20
> 	If both the AVPs are present, the Rating-Group AVP=20
> indicates the rating group to which the service(s) specified=20
> by the Service-Identifier(s) belongs. If only the=20
> Rating-Group-Id AVP is present, this is a credit=20
> authorization request for all the services that belongs to=20
> the specified rating group.
>=20
> 	A server not implementing the Service-Identifier and=20
> the Rating-Group must treat them as invalid AVPs.
>=20
> 	 Requested-Service-Unit ::=3D < AVP Header: TBD >=20
> 	                            [ CC-Time ]=20
> 	                            [ CC-Money ]
> 	                            [ CC-Total-Octets ]
> 	                            [ CC-Input-Octets ]
> 	                            [ CC-Output-Octets ]
> 	                            [ CC-Service-Specific-Units ]
> 	                           *[ Service-Identifier ]
> 	                            [ Rating-Group ]
>=20
>=20
>=20
> ADD Service-Identifier and Rating-group AVPs to section 5.15
>=20
> 	The Service-Identifier and the Rating-Group AVPs are=20
> used to associate the granted units to a given service or=20
> rating group.
> 	In case both the Service-Identifier and the=20
> Rating-Group AVPs are included, the target of the granted=20
> units is(are) always the service(s) indicated by the value of=20
> the Service-Identifier AVP.
>=20
> 	 Granted-Service-Unit ::=3D < AVP Header: TBD >=20
> 	                          [ CC-Time ]=20
> 	                          [ CC-Money ]
> 	                          [ CC-Total-Octets ]
> 	                          [ CC-Input-Octets ]
> 	                          [ CC-Output-Octets ]
> 	                          [ CC-Service-Specific-Units ]
> 	                         *[ Service-Identifier ]
> 	                          [ Rating-Group ]
>=20
>=20
> ADD Service-Identifier and Rating-Group AVPs to section 5.26
>=20
> 	The Service-Identifier and the Rating-Group AVPs are=20
> used to associate the used units to a given service or rating group.
> 	When granted service units are associated to a service=20
> or rating group, the credit control client MUST report the=20
> corresponding used service units. If the granted units are=20
> associated to a rating group, the units used by each of the=20
> Service-Identifier belonging to that rating group SHOULD be=20
> reported if this information is available to the credit=20
> control client. Therefore, multiple instances of the=20
> Used-Service-Unit AVP MAY be present in a request, each=20
> associated to the relevant Rating-Group-Id and to the=20
> identifier of the service (i.e. Service-Identifier) that=20
> consumed some of the granted units.
>=20
> 	    Used-Service-Unit ::=3D < AVP Header: TBD >=20
> 	                          [ CC-Time ]=20
> 	                          [ CC-Money ]
> 	                          [ CC-Total-Octets ]
> 	                          [ CC-Input-Octets ]
> 	                          [ CC-Output-Octets ]
> 	                          [ CC-Service-Specific-Units ]
> 	                         *[ Service-Identifier ]
> 	                          [ Rating-Group ]
>=20
> 5.x Rating-Group AVP
>=20
> 	The Rating-Group AVP is of type Unsigned32 (AVP Code=20
> TBD) and contains the identifier of a rating group. All the=20
> services subject to the same rating type are part of the same=20
> rating group. This is an identifier allocated by the home=20
> service provider and MUST be unique within the home service=20
> provider domain.
>=20
> 	A usage example of this AVP is illustrated in Appendix=20
> A (Flow xxx).
>=20
>=20
> 5.y Service-Identifier AVP
>=20
> 	The Service-Identifier AVP is of type UTF8String (AVP=20
> Code TBD) and contains a unique identifier of a given=20
> service. This is an identifier allocated by the service=20
> provider and MUST uniquely identify a given service (e.g.=20
> Service 1@example.com).
>=20
> 	A usage example of this AVP is illustrated in Appendix=20
> A (Flow xxx).
>=20
> ADD the Flow xxx to Appendix A
>=20
> Flow xxx
>=20
> 	The Diameter Credit Control Application defines the=20
> Rating-Group and Service-Identifier AVPs that can be used to=20
> support credit control for multiple services in a single=20
> credit control session for service elements that have such=20
> capabilities. The flow example hereafter illustrates the=20
> usage of these AVPs.
>=20
> 	It is assumed that the Service-Identifiers and the=20
> Rating-Groups are locally configured in the Service Element=20
> or provisioned by another entity than the credit control server.
>=20
> 	The credit control client may request credit=20
> authorization either for all the possible configured=20
> Rating-Groups in one single request, onwards named all-in-one=20
> mode, or for a single Rating-Group upon an external=20
> triggering event, onwards named on-demand mode. The on-demand=20
> mode can be used as well to request individual credit=20
> resource limit for each service.
>    In this example only the all-in-one mode is shown.
>=20
> 	A single credit reservation is kept for the credit=20
> control session to simplify the account management tasks. The=20
> credit control server reserves an amount of credit from the=20
> user's account and performs rating for all the requested=20
> Rating-Groups and Service-Identifiers against the reserved credit.
> 	For instance, assume a Credit-Control-Request is=20
> received with Rating-Group-Id 1 and 2. The credit control=20
> server queries the rating server that answers with the=20
> following rating parameters: Rating-Group 1 costs $1/Mbyte=20
> and Rating-Group 2 costs $1/minute. The credit control server=20
> reserves $20 from the user's account; this gives 20Mbytes for=20
> Rating-Group 1 and 20minutes for Rating-Group 2.
>=20
> 	The calculated quotas are conveyed to the credit=20
> control client in the CCA message, each quota associated with=20
> the appropriate Rating-Group or Service-Identifier. At this=20
> point the credit control client just need to track the=20
> fraction of reserved credit used by the corresponding service=20
> or Rating-Group, when the sum of the fractions reaches 100%=20
> the credit control client sends an intermediate interrogation=20
> since the whole amount of reserved credit is consumed.
> 	If the credit control client initializes a counter C=20
> for each of the received quota Q (C1 for Q1, C2 for Q2 ... Cn=20
> for Qn), the intermediate interrogation will be sent when=20
> sum(C1/Q1 + C1/Q2 + ... + Cn/Qn)>=3D 1.=20
> 	Continuing the example, say the end user uses 10 Mbytes=20
> from Rating-Group 1 and 10minutes from Rating-Group 2. This=20
> means that Rating-Group 1 consumed 50% of the reservation and=20
> Rating-Group 2 consumed the remaining 50%. 0.5 + 0.5 >=3D1, so=20
> the credit control client sends an intermediate interrogation=20
> to report the used units and request new ones.
>=20
> 	                 Service Element
> 	 End-User         (CC client)                          =20
>       CC Server
> 	   |(1)User logon      |                               =20
>          |
> 	  =20
> |------------------>|(2)CCR(initial,Requested-Units(Rating-Group 1),
> 	   |                   |       =20
> Requested-Units(Rating-Group 2)) |
> 	   |                  =20
> |---------------------------------------->|
> 	   |                  =20
> |(3)CCA(Granted-Units(Rating-Group 1,     |
> 	   |                   |                    =20
> Total-Octets))      |
> 	   |                   |      =20
> Granted-Units(Rating-Group 2,     |
> 	   |                   |                     Time))    =20
>          |
> 	   |                  =20
> |<----------------------------------------|
> 	   :                   :                               =20
>          :
> 	   |(4)Service-Request (Service 1)                     =20
>          |
> 	   |------------------>|                               =20
>          |
> 	   :                   :                               =20
>          :
> 	   |(5)Service-Request (Service 2)                     =20
>          |
> 	   |------------------>|                               =20
>          |
> 	   :                   :                               =20
>          :
> 	   |                   |(6)CCR(update,=20
> Used-Units(Input-Octets,  |
> 	   |                   |                         =20
> Output-Octets, |
> 	   |                   |                         =20
> Service-Id 1,  |
> 	   |                   |                         =20
> Rating-Group 1),
> 	   |                   |               Used-Units(Time,=20
>          |
> 	   |                   |                         =20
> Service-Id 2,  |
> 	   |                   |                         =20
> Rating-Group 2),
> 	   |                   |              =20
> Requested-Units(Rating-G.1),
> 	   |                   |              =20
> Requested-Units(Rating-G.2))
> 	   |                  =20
> |---------------------------------------->|
> 	   |                  =20
> |(7)CCA(Granted-Units(Rating-Group 1,     |
> 	   |                   |                    =20
> Total-Octets),      |
> 	   |                   |      =20
> Granted-Units(Rating-Group 2,     |
> 	   |                   |                      Time))   =20
>          |
> 	   |                  =20
> |<----------------------------------------|
> 	   :                   :                               =20
>          :
> 	   |(8)Service-Request (Service 3)                     =20
>          |
> 	   |------------------>|                               =20
>          |
> 	   :                   :                               =20
>          :
> 	   |(9) User logoff    |                               =20
>          |
> 	   |------------------>|(10)CCR(term,=20
> Used-Units(Input-Octets,   |
> 	   |                   |                        =20
> Output-Octets,  |
> 	   |                   |                        =20
> Service-Id 1,   |
> 	   |                   |                        =20
> Rating-Group 1),|
> 	   |                   |             =20
> Used-Units(Input-Octets,   |
> 	   |                   |                        =20
> Output-Octets,  |
> 	   |                   |                        =20
> Service-Id 3,   |
> 	   |                   |                        =20
> Rating-Group 1),|
> 	   |                   |              Used-Units(Time, =20
>          |
> 	   |                   |                        =20
> Service-Id 2,   |
> 	   |                   |                        =20
> Rating-Group 2),|
> 	   |                  =20
> |---------------------------------------->|
> 	   |                   |(11)CCA(term)                  =20
>          |
> 	   |                  =20
> |<----------------------------------------|
>=20
> 	   Figure A.xxx: Credit Control for Multiple Services=20
> in One Credit=20
> 	                 Control Session, flow example
>=20
> 	 =20
> 	The user logs onto the network (1). The Service Element=20
> sends a Diameter Credit-Control-Request with CC-Request-Type=20
> set to INITIAL_REQUEST to the Diameter credit-control server=20
> to perform credit authorization for multiple rating groups=20
> and to establish a credit control session (2). In this=20
> message credit authorization is requested for Rating-Group 1=20
> and Rating-Group 2 by including two instances of the=20
> Requested-Service-Unit AVP. The Diameter credit-control=20
> server checks the end user's account balance, based on the=20
> Rating-Group information rates the request and reserves=20
> credit from the end user's account. Multiple quotas are=20
> returned to the Service Element, each associated with the=20
> relevant Rating-Group (3). The user uses service 1 and=20
> service 2 (4, 5). The service 1 belongs to Rating-Group 1 and=20
> is volume based charged, the service 2 belongs to=20
> Rating-Group 2 and is time based charged. When the user has=20
> consumed the allotted credit, the Service Element sends a=20
> Diameter Credit-Control-Request with CC-Request-Type set to=20
> UPDATE_REQUEST to the credit control server (6). This message=20
> contains the units consumed by each of the used services in=20
> the Used-Service-Unit AVPs and two instances of the=20
> Requested-Service-Unit AVP to request credit re-authorization=20
> for the two Rating-Groups. The used units are associated with=20
> the relevant Service-Identifier and Rating-Group.=20
> 	The Diameter credit-control server debits the used=20
> units from the end user's account and reserves a new amount=20
> of credit that is returned in form of multiple quotas to the=20
> Service Element in the Diameter Credit-Control-Answer (7).=20
> Each quota is associated with the relevant Rating-Group. In=20
> addition to service 1 and service 2, the user now starts=20
> using service 3 (8). Service 3 belongs to Rating-Group 1 and=20
> is charged based on volume. The end user logs off from the=20
> network (9). To debit the used units from the end user's=20
> account and to stop the credit control session, the Service=20
> Element sends a Diameter Credit-Control-Request with=20
> CC-Request-Type set to TERMINATION_REQUEST to the credit=20
> control server (10). =20
> 	This message contains the units consumed by each of the=20
> used services in the Used-Service-Unit AVPs. The used units=20
> are associated with the relevant Service-Identifier and=20
> Rating-Group. The Diameter credit-control server debits the=20
> used units to the user's account and acknowledges the session=20
> termination by sending a Diameter Credit-Control-Answer to=20
> the Service Element (11).
>=20
>=20


From owner-aaa-wg@merit.edu  Tue Oct 21 01:58:45 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA24417
	for <aaa-archive@lists.ietf.org>; Tue, 21 Oct 2003 01:58:44 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 6DC7291222; Tue, 21 Oct 2003 01:58:40 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 45D1391233; Tue, 21 Oct 2003 01:58:40 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 08CE491222
	for <aaa-wg@trapdoor.merit.edu>; Tue, 21 Oct 2003 01:58:39 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id E520E5DE93; Tue, 21 Oct 2003 01:58:38 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [193.180.251.49])
	by segue.merit.edu (Postfix) with ESMTP id 6C58E5DE91
	for <aaa-wg@merit.edu>; Tue, 21 Oct 2003 01:58:38 -0400 (EDT)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by albatross-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9L5wRI2000053;
	Tue, 21 Oct 2003 07:58:28 +0200 (MEST)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <45JR89MP>; Tue, 21 Oct 2003 07:59:19 +0200
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843C34@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'john.loughney@nokia.com'" <john.loughney@nokia.com>,
        "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>,
        jeff.meyer2@hp.com
Cc: aaa-wg@merit.edu
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Tue, 21 Oct 2003 07:57:45 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi,

It may be good to merge Jeff's text into the second paragraph in the Rating input
section, where is described the ways to send rating input to the credit control server.
How about following formulation:
"There are two ways for providing rating input to the credit control server, either by
using AVPs or by including them in the Service-Parameter-Info AVP. The general principle
for sending rating parameters is that the service SHOULD re-use existing AVPs, if the 
service can use AVPs defined by some Diameter application. Alternatively new AVPs can be
defined if the existing AVPs can not be re-used. The Service-Parameter-Info AVP MAY be used 
to pass legacy rating information in its original encoded form (e.g. ASN.1 BER). In that
case the rating input is embedded in the Service-Parameter-Info AVP as defined in the
section 5.18 Service-Parameter-Info AVP. New applications SHOULD favor the use of explicitly
defined AVP's, to simplify interoperability."

Regards........Harri

> -----Original Message-----
> From: john.loughney@nokia.com [mailto:john.loughney@nokia.com]
> Sent: 20. lokakuuta 2003 13:59
> To: Leena Mattila (TU/LMF)
> Cc: aaa-wg@merit.edu; Harri Hakala (TU/LMF); jeff.meyer2@hp.com
> Subject: RE: [AAA-WG]: CCA: Rating Input
> 
> 
> You are correct, I have added it to the correct place.
> 
> > -----Original Message-----
> > From: ext Leena Mattila (TU/LMF) [mailto:leena.mattila@ericsson.com]
> > Sent: 20 October, 2003 13:46
> > To: Loughney John (NRC/Helsinki)
> > Cc: aaa-wg@merit.edu; Harri Hakala (TU/LMF); jeff.meyer2@hp.com
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> > 
> > 
> > Hi John,
> > 
> > if I remember correctly the original proposal was to add a 
> > new section in the draft discussing how to handle rating input
> > http://www.merit.edu/mail.archives/aaa-wg/msg05106.html
> > Wouldn't this addition belong to this section as well?
> > 
> > BR,
> > Leena
> > 
> > > -----Original Message-----
> > > From: john.loughney@nokia.com [mailto:john.loughney@nokia.com]
> > > Sent: 20. lokakuuta 2003 13:33
> > > To: Harri Hakala (TU/LMF); jeff.meyer2@hp.com
> > > Cc: aaa-wg@merit.edu
> > > Subject: RE: [AAA-WG]: CCA: Rating Input
> > > 
> > > 
> > > Hi all,
> > > 
> > > I have added Jeff's text to the AVP def.
> > > 
> > > thanks,
> > > JOhn
> > > 


From owner-aaa-wg@merit.edu  Wed Oct 22 10:09:47 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA10306
	for <aaa-archive@lists.ietf.org>; Wed, 22 Oct 2003 10:09:47 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id EB48791230; Wed, 22 Oct 2003 10:09:41 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id B516891241; Wed, 22 Oct 2003 10:09:40 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id AC08B91230
	for <aaa-wg@trapdoor.merit.edu>; Wed, 22 Oct 2003 10:09:37 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 944FF5DE1B; Wed, 22 Oct 2003 10:09:37 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id BFA6C5DE07
	for <aaa-wg@merit.edu>; Wed, 22 Oct 2003 10:09:36 -0400 (EDT)
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9ME9Zw25354
	for <aaa-wg@merit.edu>; Wed, 22 Oct 2003 17:09:35 +0300 (EET DST)
Received: from esebh004.NOE.Nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T65712e92ebac158f21082@esvir01nok.ntc.nokia.com> for <aaa-wg@merit.edu>;
 Wed, 22 Oct 2003 17:09:34 +0300
Received: from esebh005.NOE.Nokia.com ([172.21.138.86]) by esebh004.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Wed, 22 Oct 2003 17:09:34 +0300
Received: from esebe013.NOE.Nokia.com ([172.21.138.52]) by esebh005.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Wed, 22 Oct 2003 17:09:34 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe013.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Wed, 22 Oct 2003 17:09:34 +0300
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Subject: [AAA-WG]: Issue: Updated security considerations for Diameter EAP
Date: Wed, 22 Oct 2003 17:09:34 +0300
Message-ID: <052E0C61B69C3741AFA5FE88ACC775A6010C385B@esebe023.ntc.nokia.com>
Thread-Topic: Issue: Updated security considerations for Diameter EAP
Thread-Index: AcOYph6VzDIvGTpiRd+bRbbxyPb1Dg==
From: <Pasi.Eronen@nokia.com>
To: <aaa-wg@merit.edu>
X-OriginalArrivalTime: 22 Oct 2003 14:09:34.0381 (UTC) FILETIME=[1EB705D0:01C398A6]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Updated security considerations for Diameter EAP
Submitter name: Pasi Eronen
Submitter email address: pasi.eronen@nokia.com
Date first submitted: October 22, 2003
Reference:=20
Document: EAP-02
Comment type: T/E
Priority: 1
Section: 8
Rationale/Explanation of issue:

The current security considerations section has a lot of text that
doesn't really belong there (e.g. about certificates and
authorization), and some text unnecessarily duplicating issues that
are already well presented in 2284bis and the new EAP key management
framework document.

Suggested change: Replace section 8 with the following text.

8. Security Considerations

8.1 Overview

   Diameter peer-to-peer connections can be protected with IPsec or TLS.
   These mechanisms are believed to provide sufficient protection under
   the normal Internet threat model--that is, assuming the authorized
   nodes engaging in the protocol have not been compromised, but the
   attacker has complete control over the communication channels between
   them.  This includes eavesdropping, message modification, insertion,
   man-in-the-middle and replay attacks.  The details and related
   security considerations are discussed in [BASE].

   In addition to authentication provided by IPsec or TLS, authorization
   is also required.  Authorization here means the act of determining if
   a Diameter message received from an authenticated Diameter peer
   should be accepted (and not authorization of users requesting network
   access from a NAS).  In other words, when a Diameter server receives
   a Diameter-EAP-Request, it has to decide if the client is authorized
   to act as a NAS for the specific user, service type, and so on.
   Correspondingly, when a NAS contacts a server to send a
   Diameter-EAP-Request, it has to determine whether the server is
   authorized to act as home server for the realm in question.

   Authorization can involve local Access Control Lists (ACLs),
   information contained in certificates, or some other means.  See
   [BASE] for more discussion and related security considerations.

   The hop-by-hop security mechanisms (IPsec and TLS) combined with
   proper authorization provide good protection against "outside"
   attackers (denial-of-service is, of course, possible).  The remaining
   part of this section deals with attacks by nodes that have been
   properly authorized (to function as a NAS, Diameter agent, or
   Diameter server) but abuse their authorization or have been
   compromised.  In general, it is not possible to completely protect
   against attacks by compromised nodes, but this section offers some
   advice that can be used to limit the extent of the damage.

   Attacks involving eavesdropping or modification of EAP messages are
   beyond the scope of these document. See [RFC2284bis] for discussion
   of these security considerations (including method negotation,
   dictionary attacks, and privacy issues). While these attacks can be
   carried out by an attacker between the client and the NAS,
   compromised NASes and Diameter agents are naturally also in a good
   position to modify and eavesdrop the EAP messages.

   Similarly, attacks involving whatever link layer protocol is used
   between the client and the NAS, such as PPP or IEEE 802.11, are
   beyond the scope of this document.

8.2 AVP editing

   Diameter agents can modify, insert, and delete AVPs. Diameter agents
   are usually meant to modify AVPs, and the protocol in general cannot
   distinguish well-intentioned and malicious modifications (see
   [RFC2607] for more discussion). Similarly, a compromised NAS or
   server can naturally include different set of AVPs than expected.

   The question is thus "what can an attacker who compromises an
   authorized NAS, agent, or server do using Diameter EAP messages?"
   Some of the consequences are rather obvious--for instance, a Diameter
   agent can give access to unauthorized users by changing the
   Result-Code to DIAMETER_SUCCESS. Other consequences are less obvious,
   and are discussed below (authentication method negotiation attacks
   are discussed in the next section).

   By including suitable AVPs in an AA-Answer/Diameter-EAP-Answer
   messages an attacker (depending on implementation and configuration
   details) may be able to:

   o  Give unauthorized users access, or deny access to authorized users
      (Result-Code).

   o  Give attacker a login session to a host otherwise protected by
      firewalls, or redirect an authorized user's login session to a
      host controlled by the attacker (Login-Host).

   o  Route an authorized user's traffic through a host controlled by
      the attacker (various tunneling AVPs).

   o  Redirect an authorized user's DNS requests to a malicious DNS
      server (various vendor-specific AVPs).

   o  Modify routing tables at the NAS and thus redirect packets
      destined for someone else (Framed-Route, Framed-Routing).

   o  Remove packet filters and other restrictions for user (Filter,
      Callback, various vendor-specific AVPs).

   o  Cause the NAS to call some number, possibly expensive toll number
      controlled by the attacker (callback AVPs)

   o  Execute Command Line Interface (CLI) commands on the NAS (various
      vendor-specific attributes).

   By modifying an AA-Request/Diameter-EAP-Request, an attacker may be
   able to:

   o  Change NAS-Identifier/NAS-Port/Origin-Host (or something) so that
      a valid user appears to be accessing the network from a different
      NAS than in reality.

   o  Modify Calling-Station-ID (either to hide the true value, gain
      access, or frame someone else).

   o  Modify password change messages (some vendor-specific attributes)

   o  Modify usage information in accounting messages.

   o  Modify contents of Class/State AVPs?

   Some of these attacks can be prevented if the NAS or server can be
   configured not to accept some particular AVPs, or accepting them only
   from some nodes.

8.3 Negotiation attacks

   This section deals with attacks where the NAS, any Diameter agents,
   or Diameter server attempts to cause the authenticating user to
   choose some authentication method other than EAP, such as PAP or CHAP
   (negotiation attacks within EAP are discussed in [RFC2284bis],
   Section 7.8).

   The vulnerability can be mitigated via implementation of
   per-connection policy on the part of the authenticating peer, and
   per-peer policy on the part of the Diameter server.  For the
   authenticating peer, authentication policy should be set on a
   per-connection basis.

   With per-connection policy, an authenticating peer will only attempt
   to negotiate EAP for a session in which EAP support is expected.  As
   a result, there is a presumption that an authenticating peer
   selecting EAP requires that level of security. If it cannot be
   provided, it is likely that there is some kind of misconfiguration,
   or even that the authenticating peer is contacting the wrong server.
   In this case, the authenticating peer simply disconnects.

   Similarly, with a per-user policy, the home server will not accept
   authentication methods other than EAP for users for which EAP support
   is expected.

   For a NAS, it may not be possible to determine whether a peer is
   required to authenticate with EAP until the peer's identity is known.
   For example, for shared-uses NASes it is possible for one reseller to
   implement EAP while another does not.  Alternatively, some peer might
   be authenticated locally by the NAS while other peers are
   authenticated via Diameter.  In such cases, if any peers of the NAS
   MUST do EAP, then the NAS MUST attempt to negotiate EAP for every
   session.  This avoids forcing a peer to support more than one
   authentication type, which could weaken security.

8.4 Session key distribution

   Since there are currently no end-to-end (NAS-to-home server) security
   mechanisms specified for Diameter, any agents that process
   Diameter-EAP-Answer messages can see the contents of the
   EAP-Session-Key AVP.  For this reason, this specification strongly
   recommends avoiding Diameter agents when they cannot be trusted to
   keep the keys secret.

   In environments where agents are present, several factors should be
   considered when deciding whether the agents that are authorized (and
   considered "trustworthy enough") to grant access to users and specify
   various authorization and tunneling AVPs are also "trustworthy
   enough" to handle the session keys.  These factors include (but are
   not limited to) the type of access provided (e.g., public Internet or
   corporate internet), security level of the agents, and the
   possibilities for attacking user's traffic after it has been
   decrypted by the NAS.

   Note that the keys communicated in Diameter messages are usually
   short-term session keys (or short-term master keys that are used to
   derive session keys).  To actually cause any damage, those session
   keys must end with some malicious party; that party must be able to
   eavesdrop, modify, or insert traffic between the user and the NAS
   during the lifetime of those keys (e.g., in 802.11i the attacker must
   also eavesdrop the "four-way handshake"); and that eavesdropping or
   modification must cause some damage.

8.5 Privacy issues

   Diameter messages can contain AVPs that can be used to identify the
   user (e.g., User-Name) and approximate location of the user (e.g.
   Origin-Host for WLAN access points, Calling-Station-Id for fixed
   phone lines).  Thus, any Diameter nodes that process the messages may
   be able to determine the geographic location of users.

   Note that in many cases, the user identity is also sent in clear
   inside EAP-Payload AVPs, and it may be possible to eavesdrop this
   between the user and the NAS.

   This can mitigated somewhat by using EAP methods that provide
   identity protection (see [RFC2284bis], Section 7.3), and using
   Session-Id or pseudonyms for accounting.

8.6 Note about EAP and impersonation

   If the EAP method used does not provide mutual authentication,
   obviously anyone can impersonate as the network to the user.  Even
   when EAP mutual authentication is used, it occurs between the user
   and the Diameter home server. See  for an extensive discussion about
   the details and their implications.

   However, one issue is worth pointing out here. As described in
   [EAPKey], the current EAP architecture does not allow the home server
   to restrict what service parameters or identities (such as SSID or
   BSSID in 802.11 wireless LANs) are advertised by the NAS to the
   client. That is, a compromised NAS can change its BSSID or SSID, thus
   appearing to offer a different service than intended.  Even if these
   parameters are included in Diameter-EAP-Request messages, the NAS can
   tell different values to the client.

   Thus, the possession of the session keys by the NAS proves that the
   user is talking to *some* authorized NAS, but a compromised NAS can
   lie about its exact identity. See [EAPKey] for discussion how
   individual EAP methods can provide authentication of NAS service
   parameters and identities.

   Note that the usefulness of such authentication may be rather limited
   in many environments. For instance, in wireless LANs the user does
   not usually securely know the identity (such as BSSID) of the "right"
   access point--it's simply picked from a beacon message that has the
   correct SSID and good signal strength (something that's easy to
   spoof). Thus, simply authenticating the identity may not allow the
   user to distinguish the "right" access point from all other ones.


Best regards,
Pasi


From owner-aaa-wg@merit.edu  Wed Oct 22 14:43:44 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA21458
	for <aaa-archive@lists.ietf.org>; Wed, 22 Oct 2003 14:43:44 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id E8B289126B; Wed, 22 Oct 2003 14:43:39 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id B86779126C; Wed, 22 Oct 2003 14:43:39 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id C0A149126B
	for <aaa-wg@trapdoor.merit.edu>; Wed, 22 Oct 2003 14:43:38 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id AC3D75DE21; Wed, 22 Oct 2003 14:43:38 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from internaut.com (h-66-167-171-107.STTNWAHO.covad.net [66.167.171.107])
	by segue.merit.edu (Postfix) with ESMTP id 0CF925DE1B
	for <aaa-wg@merit.edu>; Wed, 22 Oct 2003 14:43:38 -0400 (EDT)
Received: from localhost (aboba@localhost)
	by internaut.com (8.10.2/8.10.2) with ESMTP id h9MI7Nq05445
	for <aaa-wg@merit.edu>; Wed, 22 Oct 2003 11:07:23 -0700
Date: Wed, 22 Oct 2003 11:07:23 -0700 (PDT)
From: Bernard Aboba <aboba@internaut.com>
To: aaa-wg@merit.edu
Subject: [AAA-WG]: Preliminary Agenda for IETF 58
Message-ID: <Pine.LNX.4.56.0310221102060.3043@internaut.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Comments welcome.
------------------------------------------------------
Authentication, Authorization and Accounting WG (aaa)

Thursday, November 13, 2003
1300-1500
================================


CHAIRS: Bernard Aboba <aboba@internaut.com>
        David Mitton <david@mitton.com>
        John Loughney <john.loughney@nokia.com>

AGENDA:

Preliminaries (10 minutes)
   Bluesheets
   Minutes
   Agenda Bashing
   Document Status

Diameter NASREQ (15 minutes), David Mitton
http://www.ietf.org/internet-drafts/draft-ietf-aaa-diameter-nasreq-13.txt

Diameter EAP (15 minutes), Pasi Eronen
http://www.ietf.org/internet-drafts/draft-ietf-aaa-eap-03.txt

Diameter Credit Control Application (15 minutes), John Loughney
http://www.ietf.org/internet-drafts/draft-ietf-aaa-diameter-cc-01.txt

Diameter SIP Application (15 minutes), M. Garcia-Martin
http://www.ietf.org/internet-drafts/draft-ietf-aaa-diameter-sip-app-00.txt

Roadmap (15 minutes) WG Chairs and ADs


From owner-aaa-wg@merit.edu  Wed Oct 22 20:40:40 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA11201
	for <aaa-archive@lists.ietf.org>; Wed, 22 Oct 2003 20:40:40 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 7B07A91274; Wed, 22 Oct 2003 20:40:35 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 4298391277; Wed, 22 Oct 2003 20:40:35 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id E5AA991274
	for <aaa-wg@trapdoor.merit.edu>; Wed, 22 Oct 2003 20:40:33 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id D5DFF5DDB8; Wed, 22 Oct 2003 20:40:33 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id 15FFD5DD94
	for <aaa-wg@merit.edu>; Wed, 22 Oct 2003 20:40:33 -0400 (EDT)
Received: from esvir04nok.ntc.nokia.com (esvir04nokt.ntc.nokia.com [172.21.143.36])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9N0eWI18366
	for <aaa-wg@merit.edu>; Thu, 23 Oct 2003 03:40:32 +0300 (EET DST)
Received: from esebh004.NOE.Nokia.com (unverified) by esvir04nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T6573703f48ac158f24c0e@esvir04nok.ntc.nokia.com>;
 Thu, 23 Oct 2003 03:40:32 +0300
Received: from esebh005.NOE.Nokia.com ([172.21.138.86]) by esebh004.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Thu, 23 Oct 2003 03:40:31 +0300
Received: from esebe003.NOE.Nokia.com ([172.21.138.39]) by esebh005.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Thu, 23 Oct 2003 03:40:31 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Thu, 23 Oct 2003 03:40:31 +0300
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Subject: RE: [AAA-WG]: CCA: Rating Input
Date: Thu, 23 Oct 2003 03:40:30 +0300
Message-ID: <DADF50F5EC506B41A0F375ABEB320636BF6BE8@esebe023.ntc.nokia.com>
Thread-Topic: [AAA-WG]: CCA: Rating Input
Thread-Index: AcOXmJN/rxKN9fj1RAWQwfABR2oHFgBWuiOA
From: <john.loughney@nokia.com>
To: <harri.hakala@ericsson.com>, <leena.mattila@ericsson.com>,
        <jeff.meyer2@hp.com>
Cc: <aaa-wg@merit.edu>
X-OriginalArrivalTime: 23 Oct 2003 00:40:31.0426 (UTC) FILETIME=[4345AA20:01C398FE]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi Harri,

Thanks for the text, I've updated the draft.

John

> -----Original Message-----
> From: owner-aaa-wg@merit.edu=20
> [mailto:owner-aaa-wg@merit.edu]On Behalf Of
> ext Harri Hakala (TU/LMF)
> Sent: 21 October, 2003 08:58
> To: Loughney John (NRC/Helsinki); Leena Mattila (TU/LMF);
> jeff.meyer2@hp.com
> Cc: aaa-wg@merit.edu
> Subject: RE: [AAA-WG]: CCA: Rating Input
>=20
>=20
> Hi,
>=20
> It may be good to merge Jeff's text into the second paragraph=20
> in the Rating input
> section, where is described the ways to send rating input to=20
> the credit control server.
> How about following formulation:
> "There are two ways for providing rating input to the credit=20
> control server, either by
> using AVPs or by including them in the Service-Parameter-Info=20
> AVP. The general principle
> for sending rating parameters is that the service SHOULD=20
> re-use existing AVPs, if the=20
> service can use AVPs defined by some Diameter application.=20
> Alternatively new AVPs can be
> defined if the existing AVPs can not be re-used. The=20
> Service-Parameter-Info AVP MAY be used=20
> to pass legacy rating information in its original encoded=20
> form (e.g. ASN.1 BER). In that
> case the rating input is embedded in the=20
> Service-Parameter-Info AVP as defined in the
> section 5.18 Service-Parameter-Info AVP. New applications=20
> SHOULD favor the use of explicitly
> defined AVP's, to simplify interoperability."
>=20
> Regards........Harri
>=20
> > -----Original Message-----
> > From: john.loughney@nokia.com [mailto:john.loughney@nokia.com]
> > Sent: 20. lokakuuta 2003 13:59
> > To: Leena Mattila (TU/LMF)
> > Cc: aaa-wg@merit.edu; Harri Hakala (TU/LMF); jeff.meyer2@hp.com
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> >=20
> >=20
> > You are correct, I have added it to the correct place.
> >=20
> > > -----Original Message-----
> > > From: ext Leena Mattila (TU/LMF)=20
[mailto:leena.mattila@ericsson.com]
> > Sent: 20 October, 2003 13:46
> > To: Loughney John (NRC/Helsinki)
> > Cc: aaa-wg@merit.edu; Harri Hakala (TU/LMF); jeff.meyer2@hp.com
> > Subject: RE: [AAA-WG]: CCA: Rating Input
> >=20
> >=20
> > Hi John,
> >=20
> > if I remember correctly the original proposal was to add a=20
> > new section in the draft discussing how to handle rating input
> > http://www.merit.edu/mail.archives/aaa-wg/msg05106.html
> > Wouldn't this addition belong to this section as well?
> >=20
> > BR,
> > Leena
> >=20
> > > -----Original Message-----
> > > From: john.loughney@nokia.com [mailto:john.loughney@nokia.com]
> > > Sent: 20. lokakuuta 2003 13:33
> > > To: Harri Hakala (TU/LMF); jeff.meyer2@hp.com
> > > Cc: aaa-wg@merit.edu
> > > Subject: RE: [AAA-WG]: CCA: Rating Input
> > >=20
> > >=20
> > > Hi all,
> > >=20
> > > I have added Jeff's text to the AVP def.
> > >=20
> > > thanks,
> > > JOhn
> > >=20


From owner-aaa-wg@merit.edu  Thu Oct 23 00:17:54 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA18190
	for <aaa-archive@lists.ietf.org>; Thu, 23 Oct 2003 00:17:53 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 6F70A9128C; Thu, 23 Oct 2003 00:17:49 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 3CE1591294; Thu, 23 Oct 2003 00:17:49 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 624D89128C
	for <aaa-wg@trapdoor.merit.edu>; Thu, 23 Oct 2003 00:17:47 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 4E8895DDBA; Thu, 23 Oct 2003 00:17:47 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id 588865DD96
	for <aaa-wg@merit.edu>; Thu, 23 Oct 2003 00:17:46 -0400 (EDT)
Received: from esvir05nok.ntc.nokia.com (esvir05nokt.ntc.nokia.com [172.21.143.37])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9N4HjI22990
	for <aaa-wg@merit.edu>; Thu, 23 Oct 2003 07:17:45 +0300 (EET DST)
Received: from esebh004.NOE.Nokia.com (unverified) by esvir05nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T65743710a0ac158f251d8@esvir05nok.ntc.nokia.com> for <aaa-wg@merit.edu>;
 Thu, 23 Oct 2003 07:17:42 +0300
Received: from esebh005.NOE.Nokia.com ([172.21.138.86]) by esebh004.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Thu, 23 Oct 2003 07:17:41 +0300
Received: from esebe019.NOE.Nokia.com ([172.21.138.58]) by esebh005.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Thu, 23 Oct 2003 07:17:41 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe019.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Thu, 23 Oct 2003 07:17:41 +0300
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Subject: RE: [AAA-WG]: issue: Multiple services credit control in a single CC session (Diameter CCA)
Date: Thu, 23 Oct 2003 07:17:40 +0300
Message-ID: <DADF50F5EC506B41A0F375ABEB320636BF6BF2@esebe023.ntc.nokia.com>
Thread-Topic: issue: Multiple services credit control in a single CC session (Diameter CCA)
Thread-Index: AcOTGTKtpw0sMX3YR/GlPckWq+aRvAD22DSA
From: <john.loughney@nokia.com>
To: <marco.stura@nokia.com>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 23 Oct 2003 04:17:41.0459 (UTC) FILETIME=[99C6EA30:01C3991C]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi Marco,

I have made the changes.

John

> -----Original Message-----
> From: ext [mailto:marco.stura@nokia.com]
> Sent: 15 October, 2003 15:38
> To: aaa-wg@merit.edu
> Subject: [AAA-WG]: issue: Multiple services credit control in a single
> CC session (Diameter CCA)
>=20
>=20
> Multiple services credit control in a single CC session (Diameter CCA)
> Submitter name: Marco Stura
> Submitter email address: marco.stura@nokia.com
> Date first submitted: October 15, 2003
> Reference:=20
> Document: draft-ietf-aaa-diameter-cc-00
> Comment type: T
> Priority: 2
> Section: various
> Rationale/Explanation of issue:
>=20
> There may be service elements in certain service environments=20
> that provide multiple services, or
> just credit control for multiple services, within the same=20
> authorization session to an end user.=20
> For each of those services the price may be different=20
> requiring differentiated credit control per service.
> With the current draft such a service element would need to=20
> open multiple credit control sessions
> (or sub-sessions) resulting in increased signaling load  and=20
> resource usage in both the CC-client=20
> and in the CC-server.
>=20
> I propose to address the support of multiple services credit=20
> control in a single CC session
> in the Diameter CCA. This means that credit authorization can=20
> be requested for multiple
> services, or a group of services, within a single=20
> Credit-Control-Request. Multiple quotas associated
> to the relevant service, or group of services, will be=20
> returned in the corresponding Credit-Control-
> Answer in order to enable differentiated credit control per service.
>=20
> The proposal takes already into account the new structure for=20
> the Granted-Service-Unit,=20
> Requested-Service-Unit and Used-Service-Unit AVPs agreed in=20
> the past weeks in AAA mailing
> list.
>=20
> Proposed changes:
>=20
> Section 4, fourth paragraph
> Change
> FROM:
> 	There are certain applications that require multiple=20
> credit control=20
> 	sub-sessions. Such applications would send messages=20
> with a constant=20
> 	Session-Id AVP, but a different CC-Sub-Session-Id AVP.=20
> If several=20
> 	credit sub-sessions will be used, all sub-sessions MUST=20
> be closed=20
> 	separately before the closing the main session to be=20
> able to report=20
> 	used units per sub-session. The absence of this AVP=20
> implies no sub-
> 	sessions are in use.
>=20
> TO:
> 	There are certain applications that require multiple=20
> credit control=20
> 	sub-sessions. Such applications would send messages=20
> with a constant=20
> 	Session-Id AVP, but a different CC-Sub-Session-Id AVP.=20
> If several=20
> 	credit sub-sessions will be used, all sub-sessions MUST=20
> be closed=20
> 	separately before the closing the main session to be=20
> able to report=20
> 	used units per sub-session. The absence of this AVP=20
> implies no sub-
> 	sessions are in use.=20
>=20
> 	When multiple services are used within one user session=20
> and each service or group of services are subject to=20
> different cost, making use of credit control sub-sessions=20
> will result in increased signaling load and resources usage=20
> in both the credit control client and the credit control=20
> server. For instance, during one network access session the=20
> end user may use several http-services subject to different=20
> access cost. To optimally support these scenarios, the credit=20
> control application enables for multiple services credit=20
> control in a single credit control session. It is possible to=20
> request and allocate multiple quotas as a credit pool that is=20
> shared between multiple services. The services can be further=20
> grouped into rating groups in order to achieve even further=20
> aggregation of credit allocation.
> 	It is also possible to request and allocate multiple=20
> quotas on a per service basis. The mechanism is illustrated=20
> in Appendix A (Flow xxx).
>=20
> Section 4.1.1, fifth paragraph
> Change
> FROM:
> 	However there MUST be maximum one instance of the same=20
> unit type in one
> 	Answer message.
>=20
> TO:
> 	There MUST be maximum one instance of the same unit type in one
> 	Answer message. In case multiple quotas are conveyed to=20
> the credit control client, there MUST be maximum one instance=20
> of the same unit type associated to a Service-Identifier, or=20
> set of Service-Identifiers, or associated to a Rating-Group.
>=20
>=20
> ADD Service-Identifier and Rating-Group AVPs to section 5.17
>=20
> 	The Service-Identifier and the Rating-Group AVPs are=20
> used to request units for a given service(s) or rating group=20
> when the service element supports credit control for multiple=20
> services in one credit control session.=20
> 	If both the AVPs are present, the Rating-Group AVP=20
> indicates the rating group to which the service(s) specified=20
> by the Service-Identifier(s) belongs. If only the=20
> Rating-Group-Id AVP is present, this is a credit=20
> authorization request for all the services that belongs to=20
> the specified rating group.
>=20
> 	A server not implementing the Service-Identifier and=20
> the Rating-Group must treat them as invalid AVPs.
>=20
> 	 Requested-Service-Unit ::=3D < AVP Header: TBD >=20
> 	                            [ CC-Time ]=20
> 	                            [ CC-Money ]
> 	                            [ CC-Total-Octets ]
> 	                            [ CC-Input-Octets ]
> 	                            [ CC-Output-Octets ]
> 	                            [ CC-Service-Specific-Units ]
> 	                           *[ Service-Identifier ]
> 	                            [ Rating-Group ]
>=20
>=20
>=20
> ADD Service-Identifier and Rating-group AVPs to section 5.15
>=20
> 	The Service-Identifier and the Rating-Group AVPs are=20
> used to associate the granted units to a given service or=20
> rating group.
> 	In case both the Service-Identifier and the=20
> Rating-Group AVPs are included, the target of the granted=20
> units is(are) always the service(s) indicated by the value of=20
> the Service-Identifier AVP.
>=20
> 	 Granted-Service-Unit ::=3D < AVP Header: TBD >=20
> 	                          [ CC-Time ]=20
> 	                          [ CC-Money ]
> 	                          [ CC-Total-Octets ]
> 	                          [ CC-Input-Octets ]
> 	                          [ CC-Output-Octets ]
> 	                          [ CC-Service-Specific-Units ]
> 	                         *[ Service-Identifier ]
> 	                          [ Rating-Group ]
>=20
>=20
> ADD Service-Identifier and Rating-Group AVPs to section 5.26
>=20
> 	The Service-Identifier and the Rating-Group AVPs are=20
> used to associate the used units to a given service or rating group.
> 	When granted service units are associated to a service=20
> or rating group, the credit control client MUST report the=20
> corresponding used service units. If the granted units are=20
> associated to a rating group, the units used by each of the=20
> Service-Identifier belonging to that rating group SHOULD be=20
> reported if this information is available to the credit=20
> control client. Therefore, multiple instances of the=20
> Used-Service-Unit AVP MAY be present in a request, each=20
> associated to the relevant Rating-Group-Id and to the=20
> identifier of the service (i.e. Service-Identifier) that=20
> consumed some of the granted units.
>=20
> 	    Used-Service-Unit ::=3D < AVP Header: TBD >=20
> 	                          [ CC-Time ]=20
> 	                          [ CC-Money ]
> 	                          [ CC-Total-Octets ]
> 	                          [ CC-Input-Octets ]
> 	                          [ CC-Output-Octets ]
> 	                          [ CC-Service-Specific-Units ]
> 	                         *[ Service-Identifier ]
> 	                          [ Rating-Group ]
>=20
> 5.x Rating-Group AVP
>=20
> 	The Rating-Group AVP is of type Unsigned32 (AVP Code=20
> TBD) and contains the identifier of a rating group. All the=20
> services subject to the same rating type are part of the same=20
> rating group. This is an identifier allocated by the home=20
> service provider and MUST be unique within the home service=20
> provider domain.
>=20
> 	A usage example of this AVP is illustrated in Appendix=20
> A (Flow xxx).
>=20
>=20
> 5.y Service-Identifier AVP
>=20
> 	The Service-Identifier AVP is of type UTF8String (AVP=20
> Code TBD) and contains a unique identifier of a given=20
> service. This is an identifier allocated by the service=20
> provider and MUST uniquely identify a given service (e.g.=20
> Service 1@example.com).
>=20
> 	A usage example of this AVP is illustrated in Appendix=20
> A (Flow xxx).
>=20
> ADD the Flow xxx to Appendix A
>=20
> Flow xxx
>=20
> 	The Diameter Credit Control Application defines the=20
> Rating-Group and Service-Identifier AVPs that can be used to=20
> support credit control for multiple services in a single=20
> credit control session for service elements that have such=20
> capabilities. The flow example hereafter illustrates the=20
> usage of these AVPs.
>=20
> 	It is assumed that the Service-Identifiers and the=20
> Rating-Groups are locally configured in the Service Element=20
> or provisioned by another entity than the credit control server.
>=20
> 	The credit control client may request credit=20
> authorization either for all the possible configured=20
> Rating-Groups in one single request, onwards named all-in-one=20
> mode, or for a single Rating-Group upon an external=20
> triggering event, onwards named on-demand mode. The on-demand=20
> mode can be used as well to request individual credit=20
> resource limit for each service.
>    In this example only the all-in-one mode is shown.
>=20
> 	A single credit reservation is kept for the credit=20
> control session to simplify the account management tasks. The=20
> credit control server reserves an amount of credit from the=20
> user's account and performs rating for all the requested=20
> Rating-Groups and Service-Identifiers against the reserved credit.
> 	For instance, assume a Credit-Control-Request is=20
> received with Rating-Group-Id 1 and 2. The credit control=20
> server queries the rating server that answers with the=20
> following rating parameters: Rating-Group 1 costs $1/Mbyte=20
> and Rating-Group 2 costs $1/minute. The credit control server=20
> reserves $20 from the user's account; this gives 20Mbytes for=20
> Rating-Group 1 and 20minutes for Rating-Group 2.
>=20
> 	The calculated quotas are conveyed to the credit=20
> control client in the CCA message, each quota associated with=20
> the appropriate Rating-Group or Service-Identifier. At this=20
> point the credit control client just need to track the=20
> fraction of reserved credit used by the corresponding service=20
> or Rating-Group, when the sum of the fractions reaches 100%=20
> the credit control client sends an intermediate interrogation=20
> since the whole amount of reserved credit is consumed.
> 	If the credit control client initializes a counter C=20
> for each of the received quota Q (C1 for Q1, C2 for Q2 ... Cn=20
> for Qn), the intermediate interrogation will be sent when=20
> sum(C1/Q1 + C1/Q2 + ... + Cn/Qn)>=3D 1.=20
> 	Continuing the example, say the end user uses 10 Mbytes=20
> from Rating-Group 1 and 10minutes from Rating-Group 2. This=20
> means that Rating-Group 1 consumed 50% of the reservation and=20
> Rating-Group 2 consumed the remaining 50%. 0.5 + 0.5 >=3D1, so=20
> the credit control client sends an intermediate interrogation=20
> to report the used units and request new ones.
>=20
> 	                 Service Element
> 	 End-User         (CC client)                          =20
>       CC Server
> 	   |(1)User logon      |                               =20
>          |
> 	  =20
> |------------------>|(2)CCR(initial,Requested-Units(Rating-Group 1),
> 	   |                   |       =20
> Requested-Units(Rating-Group 2)) |
> 	   |                  =20
> |---------------------------------------->|
> 	   |                  =20
> |(3)CCA(Granted-Units(Rating-Group 1,     |
> 	   |                   |                    =20
> Total-Octets))      |
> 	   |                   |      =20
> Granted-Units(Rating-Group 2,     |
> 	   |                   |                     Time))    =20
>          |
> 	   |                  =20
> |<----------------------------------------|
> 	   :                   :                               =20
>          :
> 	   |(4)Service-Request (Service 1)                     =20
>          |
> 	   |------------------>|                               =20
>          |
> 	   :                   :                               =20
>          :
> 	   |(5)Service-Request (Service 2)                     =20
>          |
> 	   |------------------>|                               =20
>          |
> 	   :                   :                               =20
>          :
> 	   |                   |(6)CCR(update,=20
> Used-Units(Input-Octets,  |
> 	   |                   |                         =20
> Output-Octets, |
> 	   |                   |                         =20
> Service-Id 1,  |
> 	   |                   |                         =20
> Rating-Group 1),
> 	   |                   |               Used-Units(Time,=20
>          |
> 	   |                   |                         =20
> Service-Id 2,  |
> 	   |                   |                         =20
> Rating-Group 2),
> 	   |                   |              =20
> Requested-Units(Rating-G.1),
> 	   |                   |              =20
> Requested-Units(Rating-G.2))
> 	   |                  =20
> |---------------------------------------->|
> 	   |                  =20
> |(7)CCA(Granted-Units(Rating-Group 1,     |
> 	   |                   |                    =20
> Total-Octets),      |
> 	   |                   |      =20
> Granted-Units(Rating-Group 2,     |
> 	   |                   |                      Time))   =20
>          |
> 	   |                  =20
> |<----------------------------------------|
> 	   :                   :                               =20
>          :
> 	   |(8)Service-Request (Service 3)                     =20
>          |
> 	   |------------------>|                               =20
>          |
> 	   :                   :                               =20
>          :
> 	   |(9) User logoff    |                               =20
>          |
> 	   |------------------>|(10)CCR(term,=20
> Used-Units(Input-Octets,   |
> 	   |                   |                        =20
> Output-Octets,  |
> 	   |                   |                        =20
> Service-Id 1,   |
> 	   |                   |                        =20
> Rating-Group 1),|
> 	   |                   |             =20
> Used-Units(Input-Octets,   |
> 	   |                   |                        =20
> Output-Octets,  |
> 	   |                   |                        =20
> Service-Id 3,   |
> 	   |                   |                        =20
> Rating-Group 1),|
> 	   |                   |              Used-Units(Time, =20
>          |
> 	   |                   |                        =20
> Service-Id 2,   |
> 	   |                   |                        =20
> Rating-Group 2),|
> 	   |                  =20
> |---------------------------------------->|
> 	   |                   |(11)CCA(term)                  =20
>          |
> 	   |                  =20
> |<----------------------------------------|
>=20
> 	   Figure A.xxx: Credit Control for Multiple Services=20
> in One Credit=20
> 	                 Control Session, flow example
>=20
> 	 =20
> 	The user logs onto the network (1). The Service Element=20
> sends a Diameter Credit-Control-Request with CC-Request-Type=20
> set to INITIAL_REQUEST to the Diameter credit-control server=20
> to perform credit authorization for multiple rating groups=20
> and to establish a credit control session (2). In this=20
> message credit authorization is requested for Rating-Group 1=20
> and Rating-Group 2 by including two instances of the=20
> Requested-Service-Unit AVP. The Diameter credit-control=20
> server checks the end user's account balance, based on the=20
> Rating-Group information rates the request and reserves=20
> credit from the end user's account. Multiple quotas are=20
> returned to the Service Element, each associated with the=20
> relevant Rating-Group (3). The user uses service 1 and=20
> service 2 (4, 5). The service 1 belongs to Rating-Group 1 and=20
> is volume based charged, the service 2 belongs to=20
> Rating-Group 2 and is time based charged. When the user has=20
> consumed the allotted credit, the Service Element sends a=20
> Diameter Credit-Control-Request with CC-Request-Type set to=20
> UPDATE_REQUEST to the credit control server (6). This message=20
> contains the units consumed by each of the used services in=20
> the Used-Service-Unit AVPs and two instances of the=20
> Requested-Service-Unit AVP to request credit re-authorization=20
> for the two Rating-Groups. The used units are associated with=20
> the relevant Service-Identifier and Rating-Group.=20
> 	The Diameter credit-control server debits the used=20
> units from the end user's account and reserves a new amount=20
> of credit that is returned in form of multiple quotas to the=20
> Service Element in the Diameter Credit-Control-Answer (7).=20
> Each quota is associated with the relevant Rating-Group. In=20
> addition to service 1 and service 2, the user now starts=20
> using service 3 (8). Service 3 belongs to Rating-Group 1 and=20
> is charged based on volume. The end user logs off from the=20
> network (9). To debit the used units from the end user's=20
> account and to stop the credit control session, the Service=20
> Element sends a Diameter Credit-Control-Request with=20
> CC-Request-Type set to TERMINATION_REQUEST to the credit=20
> control server (10). =20
> 	This message contains the units consumed by each of the=20
> used services in the Used-Service-Unit AVPs. The used units=20
> are associated with the relevant Service-Identifier and=20
> Rating-Group. The Diameter credit-control server debits the=20
> used units to the user's account and acknowledges the session=20
> termination by sending a Diameter Credit-Control-Answer to=20
> the Service Element (11).
>=20
>=20


From owner-aaa-wg@merit.edu  Thu Oct 23 09:08:31 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA17037
	for <aaa-archive@lists.ietf.org>; Thu, 23 Oct 2003 09:08:30 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 6325F91252; Thu, 23 Oct 2003 09:08:25 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 34E4391272; Thu, 23 Oct 2003 09:08:25 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 127F191252
	for <aaa-wg@trapdoor.merit.edu>; Thu, 23 Oct 2003 09:08:24 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id E685B5DDD2; Thu, 23 Oct 2003 09:08:23 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id E32FF5DD93
	for <aaa-wg@merit.edu>; Thu, 23 Oct 2003 09:08:22 -0400 (EDT)
Received: from esvir05nok.ntc.nokia.com (esvir05nokt.ntc.nokia.com [172.21.143.37])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9ND8LI26171
	for <aaa-wg@merit.edu>; Thu, 23 Oct 2003 16:08:21 +0300 (EET DST)
Received: from esebh003.NOE.Nokia.com (unverified) by esvir05nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T65761cdfbeac158f250bc@esvir05nok.ntc.nokia.com> for <aaa-wg@merit.edu>;
 Thu, 23 Oct 2003 16:08:20 +0300
Received: from esebe012.NOE.Nokia.com ([172.21.138.51]) by esebh003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Thu, 23 Oct 2003 16:08:20 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe012.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Thu, 23 Oct 2003 16:08:20 +0300
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Subject: [AAA-WG]: Diameter CCA Updated Security Considerations
Date: Thu, 23 Oct 2003 16:08:20 +0300
Message-ID: <DADF50F5EC506B41A0F375ABEB320636D44AA4@esebe023.ntc.nokia.com>
Thread-Topic: [AAA-WG]: Re: Issue 424: Record-Route AVP in Responses
Thread-Index: AcOKvbscrW8c9larRV+bo5O5gg02oQOpyxQA
From: <john.loughney@nokia.com>
To: <aaa-wg@merit.edu>
X-OriginalArrivalTime: 23 Oct 2003 13:08:20.0199 (UTC) FILETIME=[BB251770:01C39966]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi all,

We've updated the Diameter CCA Security Section. Comments welcome.

John

9. Security Consideration

The Diameter base protocol [DIAMBASE] assumes that each Diameter =
implementation uses underlying security, i.e. IPsec or TLS. These =
mechanisms are believed to provide sufficient protection under the =
normal Internet threat model - that is, assuming the authorized nodes =
engaging in the protocol have not been compromised, but the attacker has =
complete control over the communication channels between them. This =
includes eavesdropping, message modification, insertion, =
man-in-the-middle and replay attacks. Note also that this application =
includes a mechanism for application layer replay protection by the =
means of Session-ID from [DIAMBASE], and CC-Request-Number specified in =
this document. The Diameter credit control application is often used =
within one domain and there may be just single hop between the peers. In =
these environments the use of TLS or IPsec is sufficient. The details of =
TLS and IPsec related security considerations are discussed in the  =
[DIAMBASE].

Because this application handles monetary transactions (directly or =
indirectly) this kind of application increases the interest for various =
security attacks. Therefore extra attention should be paid to the =
authentication of the client and the server, as well as the possible =
proxy and relay agents. In addition to this, authorization of the client =
shall be emphasised, i.e. that the client is allowed to perform credit =
control for a certain user.=20

Another kind threat is malicious modification, injection or deletion of =
AVPs or complete credit control messages. The credit control messages =
contain sensitive billing related information (such as subscription Id, =
granted units, used units, cost information) whose malicious =
modification can have economical consequences. Sometimes simply delaying =
the credit control messages can cause disturbances in the credit control =
client or server.

Even without any modification to the messages an adversary can invite a =
security threat by eavesdropping, because the transactions contain =
private information about the user. Also by monitoring the credit =
control messages one can collect information about credit control =
server's billing models and business relationships.=20

When third party relays or proxy are involved, the hop-by-hop security =
does not necessarily provide sufficient protection for Diameter user =
session. Diameter messages, such as CCR and CCA, containing sensitive =
AVPs are NOT RECOMMENDED to be sent via untrusted Diameter proxy agents =
since there are no assurance that third party proxies will not modify =
the credit control commands or AVP values.  Section 9.1 describes a =
scenario how to make the situation a single hop if the security =
requirements demands that.

9.1 Direct connection with redirects

A Diameter Credit control agent cannot always know whether agents =
between it and the end user's Diameter credit control server are =
reliable. In this case the Diameter Credit control agent doesn't have a =
routing entry in its Diameter Routing Table for the realm of the Credit =
Control Server in the end user's home domain. The Diameter Credit =
control agent can have a default route configured to a local Redirect =
agent and it re-directs the CCR message to the redirect agent. The local =
Redirect agent then returns a redirect notification (Result-code 3006, =
DIAMETER_REDIRECT_INDICATION) to the Credit control agent, as well =
Diameter Credit control Server(s) information (Redirect-Host AVP) and =
information (Redirect-Host-Usage AVP) how to the routing entry resulting =
from the Redirect-Host is to be used. The Diameter credit control agent =
then forwards the CCR message directly to one of the hosts identified by =
the CCA message from the redirect agent. If the value of the =
Redirect-Host-Usage AVP is unequal than zero all following messages are =
sent to the host specified in the Redirect-Host AVP until the time =
specified by the Redirect-Max-Cache-Time AVP is expired.


From owner-aaa-wg@merit.edu  Thu Oct 23 10:20:11 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA24872
	for <aaa-archive@lists.ietf.org>; Thu, 23 Oct 2003 10:20:10 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 03148912B5; Thu, 23 Oct 2003 10:20:03 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 5DCD0912B7; Thu, 23 Oct 2003 10:20:01 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 273D2912B5
	for <aaa-wg@trapdoor.merit.edu>; Thu, 23 Oct 2003 10:20:00 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 0DBD85DE06; Thu, 23 Oct 2003 10:20:00 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id 207F65DDCD
	for <aaa-wg@merit.edu>; Thu, 23 Oct 2003 10:19:59 -0400 (EDT)
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9NEJwI24659
	for <aaa-wg@merit.edu>; Thu, 23 Oct 2003 17:19:58 +0300 (EET DST)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T65765e7016ac158f21082@esvir01nok.ntc.nokia.com> for <aaa-wg@merit.edu>;
 Thu, 23 Oct 2003 17:19:57 +0300
Received: from esebh005.NOE.Nokia.com ([172.21.138.86]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Thu, 23 Oct 2003 17:19:57 +0300
Received: from esebe009.NOE.Nokia.com ([172.21.138.41]) by esebh005.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Thu, 23 Oct 2003 17:19:57 +0300
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebe009.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Thu, 23 Oct 2003 17:19:56 +0300
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Subject: [AAA-WG]: CCA IANA Values
Date: Thu, 23 Oct 2003 17:19:56 +0300
Message-ID: <DADF50F5EC506B41A0F375ABEB320636D44AA5@esebe023.ntc.nokia.com>
Thread-Topic: CCA IANA Values
Thread-Index: AcOZcLmPWJ/iTB+jRG2ZlM3Pee9EMw==
From: <john.loughney@nokia.com>
To: <aaa-wg@merit.edu>
X-OriginalArrivalTime: 23 Oct 2003 14:19:56.0990 (UTC) FILETIME=[BC3B5DE0:01C39970]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi all,

If noone objects, I am going to assign in the current open range values =
for The Diameter Credit Control Application.  There is 1 pair of =
commands:

 Credit-Control-Request        CCR        272      3.1
 Credit-Control-Answer         CCA        272      3.2

1 Application ID:

 Diameter Credit Control 	4

A number of AVPs, starting from a value of 411.

Thanks,
John


From owner-aaa-wg@merit.edu  Fri Oct 24 16:48:34 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA29074
	for <aaa-archive@lists.ietf.org>; Fri, 24 Oct 2003 16:48:34 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix)
	id 7D56791221; Fri, 24 Oct 2003 16:48:02 -0400 (EDT)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 4113D912D3; Fri, 24 Oct 2003 16:48:02 -0400 (EDT)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 3B6E291221
	for <aaa-wg@trapdoor.merit.edu>; Fri, 24 Oct 2003 16:48:00 -0400 (EDT)
Received: by segue.merit.edu (Postfix)
	id 239765DE44; Fri, 24 Oct 2003 16:48:00 -0400 (EDT)
Delivered-To: aaa-wg@merit.edu
Received: from zsc3s004.nortelnetworks.com (h65s138a81n47.user.nortelnetworks.com [47.81.138.65])
	by segue.merit.edu (Postfix) with ESMTP id 8597F5DE35
	for <aaa-wg@merit.edu>; Fri, 24 Oct 2003 16:47:59 -0400 (EDT)
Received: from zrc2s0jx.nortelnetworks.com (zrc2s0jx.nortelnetworks.com [47.103.122.112])
	by zsc3s004.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h9OKljN16296;
	Fri, 24 Oct 2003 13:47:45 -0700 (PDT)
Received: from zrc2c011.us.nortel.com (zrc2c011.us.nortel.com [47.103.120.51])
	by zrc2s0jx.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h9OKlhr27462;
	Fri, 24 Oct 2003 15:47:43 -0500 (CDT)
Received: by zrc2c011.us.nortel.com with Internet Mail Service (5.5.2653.19)
	id <VRPJ73W2>; Fri, 24 Oct 2003 15:47:43 -0500
Message-ID: <161AA64DA85DFC4BA4D2EB5629B597535E88EB@zrc2c012.us.nortel.com>
From: "Christopher Richards" <crich@nortelnetworks.com>
To: aaa-wg@merit.edu
Cc: Harri.Hakala@ericsson.fi, Leena.Mattila@ericsson.fi,
        juha-pekka.koskinen@nokia.com, john.loughney@nokia.com,
        Benni.Alexander@nokia.com, patrik.teppo@po.org
Subject: [AAA-WG]: Diam CC questions
Date: Fri, 24 Oct 2003 15:47:41 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39A70.11553A9E"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C39A70.11553A9E
Content-Type: text/plain

Hello All,

I have a couple of questions regarding the Diameter Credit Control draft.

In clause 2 and 4.2, the document discusses the capability to combine credit
authorisation with service specific authorisation and authentication. (Note:
on page 20, clause 4.1.1 seems mis-numbered)

2. Architecture Models
[snip]
   In servive environments such as the Network Access Server (NAS) and 
   Mobile IP, it is a requirement to perform the first interrogation as 
   part of the authorization/authentication process for the sake of 
   protocol efficiency. Further credit authorizations after the first 
   interrogation took place are performed with credit control commands 
   defined in this specification. Implementations of credit-control 
   client operating in the mentioned environments SHOULD support this 
   method. In case the credit-control server and AAA server are separate 
   physical entities the service element send the request messages to 
   the AAA server, which then issue an appropriate request or proxy the 
   received request forward to the credit-control server. 
    
   In other service environments, such as the 3GPP network and some SIP 
   scenario, there is a substantial decoupling between 
   registration/access to the network and the actual service request 
   (i.e. the authentication/authorization is executed once at 
   registration/access to the network and is not executed for every 
   service event requested by the subscriber). In such environments it 
   is more appropriate to perform the first interrogation after the user 
   has been authenticated and authorized. The first interrogation as 
   well as intermediate and final interrogations is executed with credit 
   control commands defined in this specification. Implementations of 
   credit-control client operating in 3GPP environment SHOULD support 
   this method. In 3GPP environment the service element sends the 
   request message directly to the credit-control server. 
     
4.2 Authorization Messages for First Interrogation 
    
   In the second approach, the Diameter credit-control client in the 
   service element MUST actively contribute with the 
   authorization/authentication client in the construction of the AA 
   request by adding appropriate credit control AVPs. 
[snip]

I'm not sure that the assumption regarding different service environments
for MIP and 3GPP is true. At best this is an opinion which may or may not be
correct. Personally, I do not think that there will be a simple distinction
like this. Would it be best to remove this - if for no reason other brevity?

My main question: Is there an overriding technical reason why Diameter
credit-control AVPs are added to a AA request and not the other way around
when the initial AAA interrogation is made? I.e. Would it not be a cleaner
solution to add AA AVPs to the Diameter credit-control client request. In
this way, there is no "leakage" of the Diameter credit-control application
into existing AA applications. Instead, the AA applications actually can be
used to enhance the Diameter CC capabilities.

If there is no technical reason, then I would like to propose that either:-
(a) Replacing the existing text with text that states AA AVPs are added to
Diameter credit-control requests.
(b) Adding text that states AA AVPs are added to Diameter credit-control
requests as a third option for the combining of the initial AAA request.


On a different subject: Multi-quotas and Used-Service-Units &
Granted-Service-Unit structure.

The inclusion of trigger/action/trigger-value and cause fields within the
Granted-Service-Unit structure.

A Granted-Service-Unit is really the permission to use a resource until some
limit is reached or some other session properties change. The permission may
be granted only for the consumption of a particular resource or category of
resource.

The current draft has most of these attributes already defined for the
Granted-Service-Unit. However, it seems to be missing the ability to
instruct the CC client what actions to take in the event of certain session
events. I propose the addition of Triggers, trigger-actions and
trigger-values for the Granted-Service-Unit AVP.

Triggers are such things as: Time changes or changes to the QoS
characteristics of a session or a change in user location (for 3GPP) or
quota usage threshold or quota idle time.

Associated with these triggers are actions that should be taken upon the
trigger. Examples of actions could include: re-authorise quota, return quota
and block further traffic.

Some trigger/actions require a trigger value. For example, the "Idle quota"
trigger, may have an action of "return quota" and a trigger value of "600
seconds". In other words, if this quota has not been used for 600 seconds,
return it to the Diameter CC server.

	 Trigger ::= < AVP Header: TBD >
	             { Trigger-Id }
	             { Trigger-Action }
	             [ Trigger-Value ]

	 Granted-Service-Unit ::= < AVP Header: TBD > 
	                          { Cause-Id }
	                          [ CC-Time ] 
	                          [ CC-Money ]
	                          [ CC-Total-Octets ]
	                          [ CC-Input-Octets ]
	                          [ CC-Output-Octets ]
	                          [ CC-Service-Specific-Units ]
	                         *[ Service-Identifier ]
	                          [ Rating-Group ]
	                         *[ Trigger ]

Cause fields are used in each Used-Service-Unit and Granted-Service-Unit AVP
response. E.g. When a client returns a quota to the server, the cause field
is used to indicate why the quota is being returned. In a
Granted-Service-Unit AVP response, the server indicates if the
Granted-Service-Unit is successfully requested and if not, why.

	 Cause-Id ::= < AVP Header: TBD >
	              { Cause-Value }

E.g.

	    Used-Service-Unit ::= < AVP Header: TBD > 
                                { Cause-Value }
	                          [ CC-Time ] 
	                          [ CC-Money ]
	                          [ CC-Total-Octets ]
	                          [ CC-Input-Octets ]
	                          [ CC-Output-Octets ]
	                          [ CC-Service-Specific-Units ]
	                         *[ Service-Identifier ]
	                          [ Rating-Group ]

For example, in the Used-Service-Units AVP, the cause may be set to "return
of idle quota". The Diameter CC server, would then know not to return any
more Granted-Service-Unit AVP for this Service-Identifier.  

In the Granted-Service-Unit, the cause may indicate that the request was
denied due to "too many Granted-Service-Units in use". The client could then
take action to return idle Granted-Service-Unit quotas. 


Please let me know your thoughts and suggestions regarding these proposals.
If you agree I will prepare a formal change.

Cheers,
Chris Richards.

Shasta Wireless Development
Nortel Networks

Telephone:
+1 972 684 3281
ESN 444 3281


------_=_NextPart_001_01C39A70.11553A9E
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2656.31">
<TITLE>[AAA-WG]: Diam CC questions</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hello All,</FONT>
</P>

<P><FONT SIZE=3D2>I have a couple of questions regarding the Diameter =
Credit Control draft.</FONT>
</P>

<P><FONT SIZE=3D2>In clause 2 and 4.2, the document discusses the =
capability to combine credit authorisation with service specific =
authorisation and authentication. (Note: on page 20, clause 4.1.1 seems =
mis-numbered)</FONT></P>

<P><FONT SIZE=3D2>2. Architecture Models</FONT>
<BR><FONT SIZE=3D2>[snip]</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; In servive environments such as the =
Network Access Server (NAS) and </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; Mobile IP, it is a requirement to =
perform the first interrogation as </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; part of the =
authorization/authentication process for the sake of </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; protocol efficiency. Further credit =
authorizations after the first </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; interrogation took place are performed =
with credit control commands </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; defined in this specification. =
Implementations of credit-control </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; client operating in the mentioned =
environments SHOULD support this </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; method. In case the credit-control =
server and AAA server are separate </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; physical entities the service element =
send the request messages to </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; the AAA server, which then issue an =
appropriate request or proxy the </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; received request forward to the =
credit-control server. </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; In other service environments, such as =
the 3GPP network and some SIP </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; scenario, there is a substantial =
decoupling between </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; registration/access to the network and =
the actual service request </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; (i.e. the authentication/authorization =
is executed once at </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; registration/access to the network and =
is not executed for every </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; service event requested by the =
subscriber). In such environments it </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; is more appropriate to perform the =
first interrogation after the user </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; has been authenticated and authorized. =
The first interrogation as </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; well as intermediate and final =
interrogations is executed with credit </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; control commands defined in this =
specification. Implementations of </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; credit-control client operating in 3GPP =
environment SHOULD support </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; this method. In 3GPP environment the =
service element sends the </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; request message directly to the =
credit-control server. </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>4.2 Authorization Messages for First Interrogation =
</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; In the second approach, the Diameter =
credit-control client in the </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; service element MUST actively =
contribute with the </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; authorization/authentication client in =
the construction of the AA </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; request by adding appropriate credit =
control AVPs. </FONT>
<BR><FONT SIZE=3D2>[snip]</FONT>
</P>

<P><FONT SIZE=3D2>I'm not sure that the assumption regarding different =
service environments for MIP and 3GPP is true. At best this is an =
opinion which may or may not be correct. Personally, I do not think =
that there will be a simple distinction like this. Would it be best to =
remove this - if for no reason other brevity?</FONT></P>

<P><FONT SIZE=3D2>My main question: Is there an overriding technical =
reason why Diameter credit-control AVPs are added to a AA request and =
not the other way around when the initial AAA interrogation is made? =
I.e. Would it not be a cleaner solution to add AA AVPs to the Diameter =
credit-control client request. In this way, there is no =
&quot;leakage&quot; of the Diameter credit-control application into =
existing AA applications. Instead, the AA applications actually can be =
used to enhance the Diameter CC capabilities.</FONT></P>

<P><FONT SIZE=3D2>If there is no technical reason, then I would like to =
propose that either:-</FONT>
<BR><FONT SIZE=3D2>(a) Replacing the existing text with text that =
states AA AVPs are added to Diameter credit-control requests.</FONT>
<BR><FONT SIZE=3D2>(b) Adding text that states AA AVPs are added to =
Diameter credit-control requests as a third option for the combining of =
the initial AAA request.</FONT></P>
<BR>

<P><FONT SIZE=3D2>On a different subject: Multi-quotas and =
Used-Service-Units &amp; Granted-Service-Unit structure.</FONT>
</P>

<P><FONT SIZE=3D2>The inclusion of trigger/action/trigger-value and =
cause fields within the Granted-Service-Unit structure.</FONT>
</P>

<P><FONT SIZE=3D2>A Granted-Service-Unit is really the permission to =
use a resource until some limit is reached or some other session =
properties change. The permission may be granted only for the =
consumption of a particular resource or category of =
resource.</FONT></P>

<P><FONT SIZE=3D2>The current draft has most of these attributes =
already defined for the Granted-Service-Unit. However, it seems to be =
missing the ability to instruct the CC client what actions to take in =
the event of certain session events. I propose the addition of =
Triggers, trigger-actions and trigger-values for the =
Granted-Service-Unit AVP.</FONT></P>

<P><FONT SIZE=3D2>Triggers are such things as: Time changes or changes =
to the QoS characteristics of a session or a change in user location =
(for 3GPP) or quota usage threshold or quota idle time.</FONT></P>

<P><FONT SIZE=3D2>Associated with these triggers are actions that =
should be taken upon the trigger. Examples of actions could include: =
re-authorise quota, return quota and block further traffic.</FONT></P>

<P><FONT SIZE=3D2>Some trigger/actions require a trigger value. For =
example, the &quot;Idle quota&quot; trigger, may have an action of =
&quot;return quota&quot; and a trigger value of &quot;600 =
seconds&quot;. In other words, if this quota has not been used for 600 =
seconds, return it to the Diameter CC server.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT SIZE=3D2> =
Trigger ::=3D &lt; AVP Header: TBD &gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; { Trigger-Id }</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; { Trigger-Action }</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; [ Trigger-Value ]</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT SIZE=3D2> =
Granted-Service-Unit ::=3D &lt; AVP Header: TBD &gt; </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; { Cause-Id }</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Time ] </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Money ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Total-Octets ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Input-Octets ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Output-Octets ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Service-Specific-Units ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; *[ Service-Identifier ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ Rating-Group ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; *[ Trigger ]</FONT>
</P>

<P><FONT SIZE=3D2>Cause fields are used in each Used-Service-Unit and =
Granted-Service-Unit AVP response. E.g. When a client returns a quota =
to the server, the cause field is used to indicate why the quota is =
being returned. In a Granted-Service-Unit AVP response, the server =
indicates if the Granted-Service-Unit is successfully requested and if =
not, why.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT SIZE=3D2> =
Cause-Id ::=3D &lt; AVP Header: TBD &gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; { Cause-Value }</FONT>
</P>

<P><FONT SIZE=3D2>E.g.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp; Used-Service-Unit ::=3D &lt; AVP Header: =
TBD &gt; </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { Cause-Value =
}</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Time ] </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Money ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Total-Octets ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Input-Octets ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Output-Octets ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ CC-Service-Specific-Units ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; *[ Service-Identifier ]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; [ Rating-Group ]</FONT>
</P>

<P><FONT SIZE=3D2>For example, in the Used-Service-Units AVP, the cause =
may be set to &quot;return of idle quota&quot;. The Diameter CC server, =
would then know not to return any more Granted-Service-Unit AVP for =
this Service-Identifier.&nbsp; </FONT></P>

<P><FONT SIZE=3D2>In the Granted-Service-Unit, the cause may indicate =
that the request was denied due to &quot;too many Granted-Service-Units =
in use&quot;. The client could then take action to return idle =
Granted-Service-Unit quotas. </FONT></P>
<BR>

<P><FONT SIZE=3D2>Please let me know your thoughts and suggestions =
regarding these proposals. If you agree I will prepare a formal =
change.</FONT></P>

<P><FONT SIZE=3D2>Cheers,</FONT>
<BR><FONT SIZE=3D2>Chris Richards.</FONT>
</P>

<P><FONT SIZE=3D2>Shasta Wireless Development</FONT>
<BR><FONT SIZE=3D2>Nortel Networks</FONT>
</P>

<P><FONT SIZE=3D2>Telephone:</FONT>
<BR><FONT SIZE=3D2>+1 972 684 3281</FONT>
<BR><FONT SIZE=3D2>ESN 444 3281</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C39A70.11553A9E--


From owner-aaa-wg@merit.edu  Mon Oct 27 02:08:19 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA24113
	for <aaa-archive@lists.ietf.org>; Mon, 27 Oct 2003 02:08:18 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id D02D49122A; Mon, 27 Oct 2003 02:08:14 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id A20959122B; Mon, 27 Oct 2003 02:08:14 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 417DF9122A
	for <aaa-wg@trapdoor.merit.edu>; Mon, 27 Oct 2003 02:08:11 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id C46BE5DEC7; Mon, 27 Oct 2003 02:08:11 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [193.180.251.49])
	by segue.merit.edu (Postfix) with ESMTP id 9F1BB5DDE6
	for <aaa-wg@merit.edu>; Mon, 27 Oct 2003 02:08:10 -0500 (EST)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by albatross-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9R788I2029749;
	Mon, 27 Oct 2003 08:08:09 +0100 (MET)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <VWVQGBH2>; Mon, 27 Oct 2003 08:08:08 +0100
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843C5D@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'Christopher Richards'" <crich@nortelnetworks.com>, aaa-wg@merit.edu
Cc: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>,
        juha-pekka.koskinen@nokia.com, john.loughney@nokia.com,
        Benni.Alexander@nokia.com,
        "Patrik Teppo (KA/EAB)" <patrik.teppo@ericsson.com>,
        "'marco.stura@nokia.com'" <marco.stura@nokia.com>
Subject: RE: [AAA-WG]: Diam CC questions
Date: Mon, 27 Oct 2003 08:07:19 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39C58.F5AD6CA7"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C39C58.F5AD6CA7
Content-Type: text/plain;
	charset="ISO-8859-1"

Hi Christopher,
 
Thank you for your comments and suggestions.
For a start answers to your first questions.
 
I'm not sure that the assumption regarding different service environments for MIP and 3GPP is true. At best this is an opinion which may or may not be correct. Personally, I do not think that there will be a simple distinction like this. Would it be best to remove this - if for no reason other brevity?
I think that you are right. The CCA-01 version should fix this.
My main question: Is there an overriding technical reason why Diameter credit-control AVPs are added to  AA request and not the other way around when the initial AAA interrogation is made? I.e. Would it not be a cleaner solution to add AA AVPs to the Diameter credit-control client request. In this way, there is no "leakage" of the Diameter credit-control application into existing AA applications. Instead, the AA applications actually can be used to enhance the Diameter CC capabilities.

If there is no technical reason, then I would like to propose that either:- 
(a) Replacing the existing text with text that states AA AVPs are added to Diameter credit-control requests. 
(b) Adding text that states AA AVPs are added to Diameter credit-control requests as a third option for the combining of the initial AAA request.
The principle is to use the credit control messages only for credit authorization. The authentication and authorization is largely service specific that is why different Diameter applications have been required for authentication & authorization. I assume that it is not desired to use credit control messages also for service specific authentication and authorization, especially when the client doesn't necessarily know whether the user is 'prepaid' user prior to sending the CCR message. In circumstances where majority of the users are still 'postpaid' users, this may lead to situations where the initial credit control messages would be mostly used for authentication and service authorization.

Regards.........Harri

-----Original Message-----
From: Christopher Richards [mailto:crich@nortelnetworks.com]
Sent: 24. lokakuuta 2003 23:48
To: aaa-wg@merit.edu
Cc: Harri Hakala (TU/LMF); Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com; john.loughney@nokia.com; Benni.Alexander@nokia.com; patrik.teppo@po.org
Subject: [AAA-WG]: Diam CC questions



Hello All, 

I have a couple of questions regarding the Diameter Credit Control draft. 

In clause 2 and 4.2, the document discusses the capability to combine credit authorisation with service specific authorisation and authentication. (Note: on page 20, clause 4.1.1 seems mis-numbered)

2. Architecture Models 
[snip] 
   In servive environments such as the Network Access Server (NAS) and 
   Mobile IP, it is a requirement to perform the first interrogation as 
   part of the authorization/authentication process for the sake of 
   protocol efficiency. Further credit authorizations after the first 
   interrogation took place are performed with credit control commands 
   defined in this specification. Implementations of credit-control 
   client operating in the mentioned environments SHOULD support this 
   method. In case the credit-control server and AAA server are separate 
   physical entities the service element send the request messages to 
   the AAA server, which then issue an appropriate request or proxy the 
   received request forward to the credit-control server. 
    
   In other service environments, such as the 3GPP network and some SIP 
   scenario, there is a substantial decoupling between 
   registration/access to the network and the actual service request 
   (i.e. the authentication/authorization is executed once at 
   registration/access to the network and is not executed for every 
   service event requested by the subscriber). In such environments it 
   is more appropriate to perform the first interrogation after the user 
   has been authenticated and authorized. The first interrogation as 
   well as intermediate and final interrogations is executed with credit 
   control commands defined in this specification. Implementations of 
   credit-control client operating in 3GPP environment SHOULD support 
   this method. In 3GPP environment the service element sends the 
   request message directly to the credit-control server. 
     
4.2 Authorization Messages for First Interrogation 
    
   In the second approach, the Diameter credit-control client in the 
   service element MUST actively contribute with the 
   authorization/authentication client in the construction of the AA 
   request by adding appropriate credit control AVPs. 
[snip] 

I'm not sure that the assumption regarding different service environments for MIP and 3GPP is true. At best this is an opinion which may or may not be correct. Personally, I do not think that there will be a simple distinction like this. Would it be best to remove this - if for no reason other brevity?

My main question: Is there an overriding technical reason why Diameter credit-control AVPs are added to a AA request and not the other way around when the initial AAA interrogation is made? I.e. Would it not be a cleaner solution to add AA AVPs to the Diameter credit-control client request. In this way, there is no "leakage" of the Diameter credit-control application into existing AA applications. Instead, the AA applications actually can be used to enhance the Diameter CC capabilities.

If there is no technical reason, then I would like to propose that either:- 
(a) Replacing the existing text with text that states AA AVPs are added to Diameter credit-control requests. 
(b) Adding text that states AA AVPs are added to Diameter credit-control requests as a third option for the combining of the initial AAA request.


On a different subject: Multi-quotas and Used-Service-Units & Granted-Service-Unit structure. 

The inclusion of trigger/action/trigger-value and cause fields within the Granted-Service-Unit structure. 

A Granted-Service-Unit is really the permission to use a resource until some limit is reached or some other session properties change. The permission may be granted only for the consumption of a particular resource or category of resource.

The current draft has most of these attributes already defined for the Granted-Service-Unit. However, it seems to be missing the ability to instruct the CC client what actions to take in the event of certain session events. I propose the addition of Triggers, trigger-actions and trigger-values for the Granted-Service-Unit AVP.

Triggers are such things as: Time changes or changes to the QoS characteristics of a session or a change in user location (for 3GPP) or quota usage threshold or quota idle time.

Associated with these triggers are actions that should be taken upon the trigger. Examples of actions could include: re-authorise quota, return quota and block further traffic.

Some trigger/actions require a trigger value. For example, the "Idle quota" trigger, may have an action of "return quota" and a trigger value of "600 seconds". In other words, if this quota has not been used for 600 seconds, return it to the Diameter CC server.

         Trigger ::= < AVP Header: TBD > 
                     { Trigger-Id } 
                     { Trigger-Action } 
                     [ Trigger-Value ] 

         Granted-Service-Unit ::= < AVP Header: TBD > 
                                  { Cause-Id } 
                                  [ CC-Time ] 
                                  [ CC-Money ] 
                                  [ CC-Total-Octets ] 
                                  [ CC-Input-Octets ] 
                                  [ CC-Output-Octets ] 
                                  [ CC-Service-Specific-Units ] 
                                 *[ Service-Identifier ] 
                                  [ Rating-Group ] 
                                 *[ Trigger ] 

Cause fields are used in each Used-Service-Unit and Granted-Service-Unit AVP response. E.g. When a client returns a quota to the server, the cause field is used to indicate why the quota is being returned. In a Granted-Service-Unit AVP response, the server indicates if the Granted-Service-Unit is successfully requested and if not, why.

         Cause-Id ::= < AVP Header: TBD > 
                      { Cause-Value } 

E.g. 

            Used-Service-Unit ::= < AVP Header: TBD > 
                                { Cause-Value } 
                                  [ CC-Time ] 
                                  [ CC-Money ] 
                                  [ CC-Total-Octets ] 
                                  [ CC-Input-Octets ] 
                                  [ CC-Output-Octets ] 
                                  [ CC-Service-Specific-Units ] 
                                 *[ Service-Identifier ] 
                                  [ Rating-Group ] 

For example, in the Used-Service-Units AVP, the cause may be set to "return of idle quota". The Diameter CC server, would then know not to return any more Granted-Service-Unit AVP for this Service-Identifier.  

In the Granted-Service-Unit, the cause may indicate that the request was denied due to "too many Granted-Service-Units in use". The client could then take action to return idle Granted-Service-Unit quotas. 


Please let me know your thoughts and suggestions regarding these proposals. If you agree I will prepare a formal change.

Cheers, 
Chris Richards. 

Shasta Wireless Development 
Nortel Networks 

Telephone: 
+1 972 684 3281 
ESN 444 3281 


------_=_NextPart_001_01C39C58.F5AD6CA7
Content-Type: text/html;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DISO-8859-1">
<TITLE>[AAA-WG]: Diam CC questions</TITLE>

<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY>
<DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D296263014-26102003>Hi Christopher,</SPAN></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D296263014-26102003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D296263014-26102003>Thank you for your comments and =
suggestions.<BR>For a=20
start&nbsp;answer<SPAN class=3D032144606-27102003>s&nbsp;</SPAN><SPAN=20
class=3D032144606-27102003>to </SPAN>you<SPAN =
class=3D032144606-27102003><FONT=20
face=3DArial><FONT face=3D"Courier =
New">r</FONT>&nbsp;</FONT></SPAN>first=20
questions.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D296263014-26102003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN class=3D296263014-26102003>I'm not sure that =
the=20
assumption regarding different service environments for MIP and 3GPP is =
true. At=20
best this is an opinion which may or may not be correct. Personally, I =
do not=20
think that there will be a simple distinction like this. Would it be =
best to=20
remove this - if for no reason other brevity?</SPAN></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D296263014-26102003>I think that you are right. The CCA-01=20
version&nbsp;should fix this.</SPAN></FONT></DIV>
<DIV><FONT size=3D+0><SPAN class=3D296263014-26102003>
<P><FONT size=3D2>My main question: Is there an overriding technical =
reason why=20
Diameter credit-control AVPs are added to&nbsp; AA request and not the =
other way=20
around when the initial AAA interrogation is made? I.e. Would it not be =
a=20
cleaner solution to add AA AVPs to the Diameter credit-control client =
request.=20
In this way, there is no "leakage" of the Diameter credit-control =
application=20
into existing AA applications. Instead, the AA applications actually =
can be used=20
to enhance the Diameter CC capabilities.</FONT></P>
<P><FONT size=3D2>If there is no technical reason, then I would like to =
propose=20
that either:- <BR>(a) Replacing the existing text with text that states =
AA AVPs=20
are added to Diameter credit-control requests. <BR>(b) Adding text that =
states=20
AA AVPs are added to Diameter credit-control requests as a third option =
for the=20
combining of the initial AAA request.<BR></FONT><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D296263014-26102003><FONT face=3D"Courier =
New">The principle is=20
to use the c<SPAN class=3D296263014-26102003><SPAN =
class=3D296263014-26102003>redit=20
control&nbsp;messages only&nbsp;for credit authorization.=20
</SPAN></SPAN></FONT></SPAN><SPAN class=3D296263014-26102003><SPAN=20
class=3D296263014-26102003><FONT face=3D"Courier New"><SPAN=20
class=3D296263014-26102003><FONT face=3D"Courier New">The =
authentication and=20
authorization is largely&nbsp;service specific that is why different =
Diameter=20
applications have&nbsp;been required for authentication &amp; =
authorization.=20
I&nbsp;assume that it is not desired&nbsp;to use&nbsp;credit control =
messages=20
also&nbsp;<SPAN class=3D032144606-27102003>for<FONT face=3D"Courier =
New">=20
</SPAN>service specific authentication and authorization, especially =
when the=20
client doesn't necessarily know whether the user is 'prepaid' user =
prior to=20
sending the CCR message. In <SPAN lang=3DEN-US=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><FONT=20
color=3D#000000><FONT color=3D#0000ff>circumstances</FONT> </FONT>where =

</SPAN>majority of the users are still 'postpaid' users, this may=20
lead&nbsp;<SPAN class=3D032144606-27102003><FONT face=3DArial><FONT=20
face=3D"Courier New">to</FONT>&nbsp;</FONT></SPAN>situations where the =
initial=20
credit control messages&nbsp;<SPAN class=3D032144606-27102003><FONT=20
face=3DArial><FONT face=3D"Courier New">would =
be</FONT>&nbsp;</FONT></SPAN>mostly=20
used</FONT></SPAN></FONT></SPAN></SPAN></FONT></FONT></FONT><FONT=20
face=3D"Courier New"><SPAN class=3D296263014-26102003><SPAN=20
class=3D296263014-26102003><FONT face=3D"Courier New"><SPAN=20
class=3D296263014-26102003><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2>&nbsp;for=20
authentication and service=20
authorization.</FONT></SPAN></FONT></SPAN></SPAN></FONT></P>
<P><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D296263014-26102003><FONT size=3D2><SPAN =
class=3D296263014-26102003><FONT=20
size=3D2><FONT face=3D"Courier New"><SPAN=20
class=3D296263014-26102003>Regards.........Harri</SPAN></FONT></FONT></S=
PAN></FONT></SPAN></FONT></P></SPAN></FONT></DIV></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Christopher =
Richards=20
  [mailto:crich@nortelnetworks.com]<BR><B>Sent:</B> 24. lokakuuta 2003=20
  23:48<BR><B>To:</B> aaa-wg@merit.edu<BR><B>Cc:</B> Harri Hakala =
(TU/LMF);=20
  Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com;=20
  john.loughney@nokia.com; Benni.Alexander@nokia.com;=20
  patrik.teppo@po.org<BR><B>Subject:</B> [AAA-WG]: Diam CC=20
  questions<BR><BR></FONT></DIV>
  <P><FONT size=3D2>Hello All,</FONT> </P>
  <P><FONT size=3D2>I have a couple of questions regarding the Diameter =
Credit=20
  Control draft.</FONT> </P>
  <P><FONT size=3D2>In clause 2 and 4.2, the document discusses the =
capability to=20
  combine credit authorisation with service specific authorisation and=20
  authentication. (Note: on page 20, clause 4.1.1 seems =
mis-numbered)</FONT></P>
  <P><FONT size=3D2>2. Architecture Models</FONT> <BR><FONT =
size=3D2>[snip]</FONT>=20
  <BR><FONT size=3D2>&nbsp;&nbsp; In servive environments such as the =
Network=20
  Access Server (NAS) and </FONT><BR><FONT size=3D2>&nbsp;&nbsp; Mobile =
IP, it is=20
  a requirement to perform the first interrogation as </FONT><BR><FONT=20
  size=3D2>&nbsp;&nbsp; part of the authorization/authentication =
process for the=20
  sake of </FONT><BR><FONT size=3D2>&nbsp;&nbsp; protocol efficiency. =
Further=20
  credit authorizations after the first </FONT><BR><FONT =
size=3D2>&nbsp;&nbsp;=20
  interrogation took place are performed with credit control commands=20
  </FONT><BR><FONT size=3D2>&nbsp;&nbsp; defined in this specification. =

  Implementations of credit-control </FONT><BR><FONT =
size=3D2>&nbsp;&nbsp; client=20
  operating in the mentioned environments SHOULD support this =
</FONT><BR><FONT=20
  size=3D2>&nbsp;&nbsp; method. In case the credit-control server and =
AAA server=20
  are separate </FONT><BR><FONT size=3D2>&nbsp;&nbsp; physical entities =
the=20
  service element send the request messages to </FONT><BR><FONT=20
  size=3D2>&nbsp;&nbsp; the AAA server, which then issue an appropriate =
request or=20
  proxy the </FONT><BR><FONT size=3D2>&nbsp;&nbsp; received request =
forward to the=20
  credit-control server. </FONT><BR><FONT size=3D2>&nbsp;&nbsp;&nbsp;=20
  </FONT><BR><FONT size=3D2>&nbsp;&nbsp; In other service environments, =
such as=20
  the 3GPP network and some SIP </FONT><BR><FONT size=3D2>&nbsp;&nbsp; =
scenario,=20
  there is a substantial decoupling between </FONT><BR><FONT =
size=3D2>&nbsp;&nbsp;=20
  registration/access to the network and the actual service request=20
  </FONT><BR><FONT size=3D2>&nbsp;&nbsp; (i.e. the =
authentication/authorization is=20
  executed once at </FONT><BR><FONT size=3D2>&nbsp;&nbsp; =
registration/access to=20
  the network and is not executed for every </FONT><BR><FONT =
size=3D2>&nbsp;&nbsp;=20
  service event requested by the subscriber). In such environments it=20
  </FONT><BR><FONT size=3D2>&nbsp;&nbsp; is more appropriate to perform =
the first=20
  interrogation after the user </FONT><BR><FONT size=3D2>&nbsp;&nbsp; =
has been=20
  authenticated and authorized. The first interrogation as =
</FONT><BR><FONT=20
  size=3D2>&nbsp;&nbsp; well as intermediate and final interrogations =
is executed=20
  with credit </FONT><BR><FONT size=3D2>&nbsp;&nbsp; control commands =
defined in=20
  this specification. Implementations of </FONT><BR><FONT =
size=3D2>&nbsp;&nbsp;=20
  credit-control client operating in 3GPP environment SHOULD support=20
  </FONT><BR><FONT size=3D2>&nbsp;&nbsp; this method. In 3GPP =
environment the=20
  service element sends the </FONT><BR><FONT size=3D2>&nbsp;&nbsp; =
request message=20
  directly to the credit-control server. </FONT><BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT size=3D2>4.2 =
Authorization=20
  Messages for First Interrogation </FONT><BR><FONT =
size=3D2>&nbsp;&nbsp;&nbsp;=20
  </FONT><BR><FONT size=3D2>&nbsp;&nbsp; In the second approach, the =
Diameter=20
  credit-control client in the </FONT><BR><FONT size=3D2>&nbsp;&nbsp; =
service=20
  element MUST actively contribute with the </FONT><BR><FONT =
size=3D2>&nbsp;&nbsp;=20
  authorization/authentication client in the construction of the AA=20
  </FONT><BR><FONT size=3D2>&nbsp;&nbsp; request by adding appropriate =
credit=20
  control AVPs. </FONT><BR><FONT size=3D2>[snip]</FONT> </P>
  <P><FONT size=3D2>I'm not sure that the assumption regarding =
different service=20
  environments for MIP and 3GPP is true. At best this is an opinion =
which may or=20
  may not be correct. Personally, I do not think that there will be a =
simple=20
  distinction like this. Would it be best to remove this - if for no =
reason=20
  other brevity?</FONT></P>
  <P><FONT size=3D2>My main question: Is there an overriding technical =
reason why=20
  Diameter credit-control AVPs are added to a AA request and not the =
other way=20
  around when the initial AAA interrogation is made? I.e. Would it not =
be a=20
  cleaner solution to add AA AVPs to the Diameter credit-control client =
request.=20
  In this way, there is no "leakage" of the Diameter credit-control =
application=20
  into existing AA applications. Instead, the AA applications actually =
can be=20
  used to enhance the Diameter CC capabilities.</FONT></P>
  <P><FONT size=3D2>If there is no technical reason, then I would like =
to propose=20
  that either:-</FONT> <BR><FONT size=3D2>(a) Replacing the existing =
text with=20
  text that states AA AVPs are added to Diameter credit-control =
requests.</FONT>=20
  <BR><FONT size=3D2>(b) Adding text that states AA AVPs are added to =
Diameter=20
  credit-control requests as a third option for the combining of the =
initial AAA=20
  request.</FONT></P><BR>
  <P><FONT size=3D2>On a different subject: Multi-quotas and =
Used-Service-Units=20
  &amp; Granted-Service-Unit structure.</FONT> </P>
  <P><FONT size=3D2>The inclusion of trigger/action/trigger-value and =
cause fields=20
  within the Granted-Service-Unit structure.</FONT> </P>
  <P><FONT size=3D2>A Granted-Service-Unit is really the permission to =
use a=20
  resource until some limit is reached or some other session properties =
change.=20
  The permission may be granted only for the consumption of a =
particular=20
  resource or category of resource.</FONT></P>
  <P><FONT size=3D2>The current draft has most of these attributes =
already defined=20
  for the Granted-Service-Unit. However, it seems to be missing the =
ability to=20
  instruct the CC client what actions to take in the event of certain =
session=20
  events. I propose the addition of Triggers, trigger-actions and =
trigger-values=20
  for the Granted-Service-Unit AVP.</FONT></P>
  <P><FONT size=3D2>Triggers are such things as: Time changes or =
changes to the=20
  QoS characteristics of a session or a change in user location (for =
3GPP) or=20
  quota usage threshold or quota idle time.</FONT></P>
  <P><FONT size=3D2>Associated with these triggers are actions that =
should be=20
  taken upon the trigger. Examples of actions could include: =
re-authorise quota,=20
  return quota and block further traffic.</FONT></P>
  <P><FONT size=3D2>Some trigger/actions require a trigger value. For =
example, the=20
  "Idle quota" trigger, may have an action of "return quota" and a trigg=
er value=20
  of "600 seconds". In other words, if this quota has not been used for =
600=20
  seconds, return it to the Diameter CC server.</FONT></P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT size=3D2> =
Trigger ::=3D=20
  &lt; AVP Header: TBD &gt;</FONT>=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
  { Trigger-Id }</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
  { Trigger-Action }</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
  [ Trigger-Value ]</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT size=3D2>=20
  Granted-Service-Unit ::=3D &lt; AVP Header: TBD &gt;=20
  </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  { Cause-Id }</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Time ] </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Money ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Total-Octets ]</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Input-Octets ]</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Output-Octets ]</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Service-Specific-Units ]</FONT>=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
  *[ Service-Identifier ]</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ Rating-Group ]</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
  *[ Trigger ]</FONT> </P>
  <P><FONT size=3D2>Cause fields are used in each Used-Service-Unit and =

  Granted-Service-Unit AVP response. E.g. When a client returns a quota =
to the=20
  server, the cause field is used to indicate why the quota is being =
returned.=20
  In a Granted-Service-Unit AVP response, the server indicates if the=20
  Granted-Service-Unit is successfully requested and if not, =
why.</FONT></P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT size=3D2> =
Cause-Id ::=3D=20
  &lt; AVP Header: TBD &gt;</FONT>=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  { Cause-Value }</FONT> </P>
  <P><FONT size=3D2>E.g.</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
size=3D2>&nbsp;&nbsp;&nbsp;=20
  Used-Service-Unit ::=3D &lt; AVP Header: TBD &gt; </FONT><BR><FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  { Cause-Value }</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Time ] </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Money ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Total-Octets ]</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Input-Octets ]</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Output-Octets ]</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ CC-Service-Specific-Units ]</FONT>=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
  *[ Service-Identifier ]</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  [ Rating-Group ]</FONT> </P>
  <P><FONT size=3D2>For example, in the Used-Service-Units AVP, the =
cause may be=20
  set to "return of idle quota". The Diameter CC server, would then =
know not to=20
  return any more Granted-Service-Unit AVP for this =
Service-Identifier.&nbsp;=20
  </FONT></P>
  <P><FONT size=3D2>In the Granted-Service-Unit, the cause may indicate =
that the=20
  request was denied due to "too many Granted-Service-Units in use". =
The client=20
  could then take action to return idle Granted-Service-Unit quotas.=20
  </FONT></P><BR>
  <P><FONT size=3D2>Please let me know your thoughts and suggestions =
regarding=20
  these proposals. If you agree I will prepare a formal =
change.</FONT></P>
  <P><FONT size=3D2>Cheers,</FONT> <BR><FONT size=3D2>Chris =
Richards.</FONT> </P>
  <P><FONT size=3D2>Shasta Wireless Development</FONT> <BR><FONT =
size=3D2>Nortel=20
  Networks</FONT> </P>
  <P><FONT size=3D2>Telephone:</FONT> <BR><FONT size=3D2>+1 972 684 =
3281</FONT>=20
  <BR><FONT size=3D2>ESN 444 3281</FONT> =
</P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C39C58.F5AD6CA7--


From owner-aaa-wg@merit.edu  Mon Oct 27 07:37:21 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA09929
	for <aaa-archive@lists.ietf.org>; Mon, 27 Oct 2003 07:37:20 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id 0D3D691235; Mon, 27 Oct 2003 07:37:16 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id CD2F491236; Mon, 27 Oct 2003 07:37:15 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 94DE491235
	for <aaa-wg@trapdoor.merit.edu>; Mon, 27 Oct 2003 07:37:13 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 7DEEA5DEA6; Mon, 27 Oct 2003 07:37:13 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id 191F25DDD5
	for <aaa-wg@merit.edu>; Mon, 27 Oct 2003 07:37:09 -0500 (EST)
Received: from esvir05nok.ntc.nokia.com (esvir05nokt.ntc.nokia.com [172.21.143.37])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9RCb7I05551
	for <aaa-wg@merit.edu>; Mon, 27 Oct 2003 14:37:07 +0200 (EET)
Received: from esebh003.NOE.Nokia.com (unverified) by esvir05nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T658a62ca4cac158f25a39@esvir05nok.ntc.nokia.com>;
 Mon, 27 Oct 2003 14:37:07 +0200
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Mon, 27 Oct 2003 14:37:06 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39C87.07CC6138"
Subject: RE: [AAA-WG]: Diam CC questions
Date: Mon, 27 Oct 2003 14:37:06 +0200
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D018B030C@esebe016.ntc.nokia.com>
Thread-Topic: [AAA-WG]: Diam CC questions
Thread-Index: AcOacD6iM5CujcttSl69tljUBdA2+ACEtV2g
From: <marco.stura@nokia.com>
To: <crich@nortelnetworks.com>
Cc: <Harri.Hakala@ericsson.fi>, <Leena.Mattila@ericsson.fi>,
        <juha-pekka.koskinen@nokia.com>, <john.loughney@nokia.com>,
        <Benni.Alexander@nokia.com>, <patrik.teppo@po.org>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 27 Oct 2003 12:37:06.0975 (UTC) FILETIME=[0844CAF0:01C39C87]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This is a multi-part message in MIME format.

------_=_NextPart_001_01C39C87.07CC6138
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Christopher,
=20
thank you for your valuable comments. =20
=20
Harri already gave some answer to some of your questions, I try to =
address the others.=20
=20
I think you have some good point here,  my comments in line.
=20
Regards
Marco=20
=20
P.S.: In general I would suggest you review the draft 01, that should =
soon appear in the IETF database, and continue the discussion based on =
this new version of the credit control application. Let me know if you =
want the draft 01 immediately, in that case I 'll send the document =
directly to you. Hope this is fine with you.
=20
=20
>On a different subject: Multi-quotas and Used-Service-Units & =
Granted-Service-Unit structure.=20
=20
 [MSt]: I guess you refer to  enhancing  the issue I posted last week, =
right?  Or at least to the multiple quotas in general.=20

>The inclusion of trigger/action/trigger-value and cause fields within =
the Granted-Service-Unit structure.=20

>A Granted-Service-Unit is really the permission to use a resource until =
some limit is reached or
> some other session  properties change. The permission may be granted =
only for the consumption of a particular resource=20
>or category of resource.

[MSt]: The CC server grant permission to use resources according to the =
funds available in the user account. If the server determines that usage =
of certain resource or category of resource need not to be granted it =
won't return quota associated to it.

>The current draft has most of these attributes already defined for the =
Granted-Service-Unit. However, it seems to be missing=20
>the ability to instruct the CC client what actions to take in the event =
of certain session events. I propose the addition of=20
>Triggers, trigger-actions and trigger-values for the =
Granted-Service-Unit AVP.
=20
>Triggers are such things as: Time changes or changes to the QoS =
characteristics of a session or a change in user location
> (for 3GPP) or quota usage threshold or quota idle time.
=20
>Associated with these triggers are actions that should be taken upon =
the trigger. Examples of actions could include: re-
>authorise quota, return quota and block further traffic.
=20
>Some trigger/actions require a trigger value. For example, the "Idle =
quota" trigger, may have an action of "return quota"=20
>and  a trigger value of "600 seconds". In other words, if this quota =
has not been used for 600 seconds, return it to the=20
>Diameter CC server.
=20
Trigger ::=3D < AVP Header: TBD >=20
                     { Trigger-Id }=20
                     { Trigger-Action }=20
                     [ Trigger-Value ]=20

         Granted-Service-Unit ::=3D < AVP Header: TBD >=20
                                  { Cause-Id }=20
                                  [ CC-Time ]=20
                                  [ CC-Money ]=20
                                  [ CC-Total-Octets ]=20
                                  [ CC-Input-Octets ]=20
                                  [ CC-Output-Octets ]=20
                                  [ CC-Service-Specific-Units ]=20
                                 *[ Service-Identifier ]=20
                                  [ Rating-Group ]=20
                                 *[ Trigger ]=20

[MSt]: this feature concerning the QoS changes or other mid-session =
events is already supported. The assumption is that, if mid-session =
events occur, the granted quota(s) is(are) not valid anymore and the =
credit control client need to perform credit re-authorization to the CC =
server, this is visible in the state machine as well as in section 4. I =
would not introduce any separate action: the client should send a CCR =
(update) when such events occur. Concerning the quota idle time we have =
defined the Validity-time that is used exactly for that purpose (i.e. =
return quota if not consumed within Validity-Time). Validity-time =
applies to the whole credit reservation, that is the asset to control. =
When thinking to multi-quotas, a single credit reservation is kept for =
the credit control session and rating for all the requested =
Rating-Groups and Service-Identifiers is performed against the reserved =
credit (of course according to the cost of a given service or rating =
group). Many of the issues you listed are already covered in the current =
draft.

BTW, We have stated that 'a change in rating condition' may trigger a =
spontaneous update but this has been left totally for the client =
implementation to decide what kind of change should be regarded =
important from rating point of view. So, guidance from the CC server =
should be allowed as well and you have a point here.  Why not to defne =
the Trigger AVP (maybe in somewhat simpler format) in the CCA message =
level instead of embedding that in the GSU AVP?

 Also, I agree with you that at least one of the things you listed is =
not well covered yet , and you have another good point here as well . =
I'm thinking to the time changes. While QoS changes and location changes =
occur according to some sort of statistic model, thus a huge storm of =
CCR messages due to such events is not likely to happen, the time change =
case may occur for all the active subscribers at the same time. But I'm =
not sure the Trigger AVP you propose cover my concern related to time =
changes, it seems the CC client would potentially generate a huge storm =
of CCR. I think tariff changes can be handled by including tariff-change =
time in the CCA (but would not treat this as 'trigger') and by reporting =
used units twice (before and after t-ch, for that we would need a new =
avp in the USU). =20

>Cause fields are used in each Used-Service-Unit and =
Granted-Service-Unit AVP response. E.g. When a client returns=20
>quota to the server, the cause field is used to indicate why the quota =
is being returned. In a Granted-Service-Unit AVP
> response, the server indicates if the Granted-Service-Unit is =
successfully requested and if not, why.

         Cause-Id ::=3D < AVP Header: TBD >=20
                      { Cause-Value }=20

[MSt]: I think diameter result codes should be used instead of tailored =
cause-id avp. There are few  cases  why the client would perform credit =
re-authorization, but the reason is always "credit re-authorization":
=20
1- The credit reservation has been consumed. This is determined by the =
fact that no units are in possession of the CC client anymore (example =
for  multiple  quotas can be found in my issue at Flow xxx).
=20
2- Mid-session event has occured. The CCR message would include the =
mid-session event to be rated, the non-consumed reservation will be =
returned to the user's account. The CC server can determine  the =
mid-session event from the rating AVPs.
=20
3- Validity-Time expires. The CC server is in control of this parameter, =
it can determine whether the Validity-Time has expired and what to do =
next.
=20
>For example, in the Used-Service-Units AVP, the cause may be set to =
"return of idle quota". The Diameter CC server,=20
>would then know not to return any more Granted-Service-Unit AVP for =
this Service-Identifier.=20
=20
>In the Granted-Service-Unit, the cause may indicate that the request =
was denied due to "too many Granted-Service-Units in
> use". The client could then take action to return idle =
Granted-Service-Unit quotas.=20
=20
 [MSt]:  If the client terminates the end-user service and the CC =
session, it would include the Termination-Cause AVP indicating the  =
reason. If the CC server determines some error in the CCR message, it =
would return an appropriate Result-Code AVP value.   In the multi-quota =
case, I don't see needs to determine credit re-authorization upon a =
single G-S-U since the asset to control is always the whole credit =
reservation.



>Please let me know your thoughts and suggestions regarding these =
proposals. If you agree I will prepare a formal change.=20

 [MSt]: I think it would be nice to address the following issues: =
tariff- time  changes in both the single quota and  the multiple quotas =
cases;  guidance from the CC server concerning the mid-session events.
=20
As I say, I'm not sure your current proposal is perfectly tailored to =
solve these issues. I would see those as separate issues to be  =
addressed with different AVPs. Perhaps you could define an AVP for the =
CC-ReAuth-Trigger and some other mechanism for the tariff-time-change?  =
It would be great if you can help find a solution to these issues.=20

------_=_NextPart_001_01C39C87.07CC6138
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>[AAA-WG]: Diam CC questions</TITLE>

<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2>Hi=20
Christopher,</FONT></SPAN></DIV>
<DIV><SPAN class=3D208201407-27102003><FONT =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2>thank you for your =
valuable=20
comments.<SPAN class=3D859480812-27102003>&nbsp;</SPAN><SPAN=20
class=3D859480812-27102003>&nbsp;</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2><SPAN=20
class=3D859480812-27102003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2><SPAN=20
class=3D859480812-27102003>Harri already&nbsp;gave some answer to some=20
of&nbsp;your questions, I try to address&nbsp;the=20
others.</SPAN></FONT></SPAN><SPAN class=3D208201407-27102003><FONT =
size=3D2><SPAN=20
class=3D859480812-27102003>&nbsp;</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D208201407-27102003><FONT =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2><SPAN=20
class=3D859480812-27102003>I think you have&nbsp;some good&nbsp;point=20
here,&nbsp;&nbsp;m</SPAN>y comments in line.</FONT></SPAN></DIV>
<DIV><SPAN class=3D208201407-27102003><FONT =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D208201407-27102003><FONT =
size=3D2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2>Marco<SPAN=20
class=3D859480812-27102003>&nbsp;</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2><SPAN=20
class=3D859480812-27102003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2><SPAN=20
class=3D859480812-27102003>P.S.: In general I would suggest you review =
the draft=20
01, that should soon appear in the IETF database, and continue the =
discussion=20
based on this new version of the credit control application. Let me know =
if you=20
want the draft 01 immediately, in that case I 'll send the document =
directly to=20
you. Hope this is fine with you.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2><SPAN=20
class=3D859480812-27102003>&nbsp;</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D208201407-27102003><SPAN =
class=3D208201407-27102003><FONT=20
size=3D2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2><SPAN=20
class=3D208201407-27102003>&gt;</SPAN>On a different subject: =
Multi-quotas and=20
Used-Service-Units &amp; Granted-Service-Unit structure. =
</FONT></SPAN></DIV>
<DIV><SPAN class=3D208201407-27102003><FONT =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D208201407-27102003><FONT size=3D2><SPAN=20
class=3D859480812-27102003>&nbsp;[MSt]:&nbsp;</SPAN>I guess you refer=20
to&nbsp;<SPAN class=3D859480812-27102003>&nbsp;enhancing =
&nbsp;</SPAN>the issue I=20
posted last week, right?<SPAN class=3D859480812-27102003>&nbsp; Or at =
least to the=20
multiple quotas in general.&nbsp;</SPAN></FONT></DIV>
<DIV>
<P><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>The =
inclusion of=20
trigger/action/trigger-value and cause fields within the =
Granted-Service-Unit=20
structure. </FONT></P></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>A=20
Granted-Service-Unit is really the permission to use a resource until =
some limit=20
is reached or</FONT></DIV>
<DIV><FONT size=3D2><SPAN=20
class=3D208201407-27102003>&gt;</SPAN>&nbsp;some&nbsp;other&nbsp;session&=
nbsp;<SPAN=20
class=3D208201407-27102003>&nbsp;</SPAN>properties change. The =
permission may be=20
granted only for the consumption of a particular resource </FONT></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>or =
category of=20
resource.</FONT></DIV>
<DIV>
<P><SPAN class=3D208201407-27102003><FONT size=3D2>[MSt]: The CC server =
grant=20
permission to use resources according to the funds available in the user =

account. If the server determines that usage of certain resource or =
category of=20
resource need not to be granted it won't return quota associated to=20
it.</FONT></SPAN></P></DIV>
<DIV><SPAN class=3D208201407-27102003></SPAN><FONT size=3D2><SPAN=20
class=3D208201407-27102003>&gt;</SPAN>The current draft has most of =
these=20
attributes already defined for the Granted-Service-Unit. However, it =
seems to be=20
missing </FONT></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>the =
ability to=20
instruct the CC client what actions to take in the event of certain =
session=20
events. I propose the addition o<SPAN class=3D208201407-27102003>f=20
</SPAN></FONT></DIV>
<DIV><SPAN class=3D208201407-27102003></SPAN><FONT size=3D2><SPAN=20
class=3D208201407-27102003>&gt;</SPAN>Triggers, trigger-actions and =
trigger-values=20
for the Granted-Service-Unit AVP.</FONT></DIV>
<DIV><SPAN class=3D208201407-27102003><FONT =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>Triggers =
are such=20
things as: Time changes or changes to the QoS characteristics of a =
session or a=20
change in user location</FONT></DIV>
<DIV><FONT size=3D2><SPAN =
class=3D208201407-27102003>&gt;</SPAN>&nbsp;(for 3GPP) or=20
quota usage threshold or quota idle time.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN =
class=3D208201407-27102003>&gt;</SPAN>Associated with=20
these triggers are actions that should be taken upon the trigger. =
Examples of=20
actions could include: re-</FONT></DIV>
<DIV><FONT size=3D2><SPAN =
class=3D208201407-27102003>&gt;</SPAN>authorise quota,=20
return quota and block further traffic.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>Some =
trigger/actions=20
require a trigger value. For example, the "Idle quota" trigger, may have =
an=20
action of "return quota" </FONT></DIV>
<DIV><FONT size=3D2><SPAN =
class=3D208201407-27102003>&gt;</SPAN>and&nbsp;<SPAN=20
class=3D208201407-27102003>&nbsp;</SPAN>a trigger value of "600 =
seconds". In other=20
words, if this quota has not been used for 600 seconds, return it to the =

</FONT></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>Diameter =
CC=20
server.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Trigger ::=3D &lt; AVP Header: TBD &gt;=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
{=20
Trigger-Id } <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
{=20
Trigger-Action } <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
[=20
Trigger-Value ] </FONT>
<P><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Granted-Service-Unit ::=3D &lt; AVP Header: TBD &gt;=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
{ Cause-Id } <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
[ CC-Time ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
[ CC-Money ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
[ CC-Total-Octets ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
[ CC-Input-Octets ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
[ CC-Output-Octets ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
[ CC-Service-Specific-Units ] =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
*[ Service-Identifier ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
[ Rating-Group ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
*[ Trigger ] </FONT></P></DIV>
<DIV>
<P><SPAN class=3D208201407-27102003><FONT size=3D2>[MSt]: this feature =
concerning=20
the QoS changes or other mid-session events is already supported. The =
assumption=20
is that, if mid-session events occur, the granted quota(s) is(are) not =
valid=20
anymore and the credit control client need to perform credit =
re-authorization to=20
the CC server, this is visible in the state machine as well as in =
section 4.=20
<SPAN class=3D208201407-27102003><SPAN =
class=3D361093007-27102003>I&nbsp;would not=20
introduce any separate action: the client&nbsp;should send a CCR =
(update) when=20
such events occur. Con</SPAN></SPAN>cerning the quota idle time we have =
defined=20
the Validity-time that is used exactly for that purpose (i.e. return =
quota if=20
not consumed within Validity-Time). Validity-time applies to the whole =
credit=20
reservation, that is the asset to control. When thinking to =
multi-quotas, a=20
single credit reservation is kept for the credit control session and =
rating for=20
all the requested Rating-Groups and Service-Identifiers is performed =
against the=20
reserved credit (of course according to the cost of a given service or =
rating=20
group).&nbsp;Many of the issues you listed are already covered in the =
current=20
draft.</FONT></SPAN></P>
<P><SPAN class=3D208201407-27102003><FONT size=3D2>BTW, We have stated =
that 'a=20
change in rating condition' may&nbsp;trigger a spontaneous update but =
this has=20
been left totally for the client implementation to decide =
what&nbsp;kind&nbsp;of=20
change&nbsp;should be regarded important from rating point of=20
view.&nbsp;So,&nbsp;guidance from the CC server should be allowed as =
well and=20
you have a point here.&nbsp;<SPAN class=3D859480812-27102003>&nbsp;Why =
not to=20
defne the Trigger AVP (maybe in somewhat simpler format) in the CCA =
message=20
level instead of embedding that in the GSU AVP?</SPAN></FONT></SPAN></P>
<P><FONT size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D859480812-27102003>&nbsp;</SPAN></SPAN><SPAN=20
class=3D208201407-27102003></SPAN><SPAN class=3D208201407-27102003>Also, =
I agree=20
with you that at least one of the&nbsp;things you listed is not well =
covered=20
yet<SPAN class=3D859480812-27102003>&nbsp;, and you have another good =
point here=20
as well&nbsp;</SPAN>. I'm thinking to the time changes. While QoS =
changes and=20
location changes occur according to some sort of statistic model, thus a =
huge=20
storm of CCR messages due to such events is not likely to happen, the =
time=20
change case may occur for all the active subscribers at the same time. =
But I'm=20
not sure&nbsp;the Trigger AVP you propose cover my concern related to =
time=20
changes, it seems the CC client would potentially generate a huge storm =
of CCR.=20
I think tariff changes can be handled by&nbsp;including tariff-change =
time in=20
the CCA (but would not&nbsp;treat this as 'trigger') and =
by&nbsp;reporting used=20
units twice (before and after&nbsp;t-ch,&nbsp;for that we&nbsp;would =
need=20
a&nbsp;new avp in the USU).</SPAN>&nbsp; </FONT></P></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>Cause =
fields are=20
used in each Used-Service-Unit and Granted-Service-Unit AVP response. =
E.g. When=20
a client returns </FONT></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>quota to =
the server,=20
the cause field is used to indicate why the quota is being returned. In =
a=20
Granted-Service-Unit AVP</FONT></DIV>
<DIV><FONT size=3D2><SPAN =
class=3D208201407-27102003>&gt;</SPAN>&nbsp;response, the=20
server indicates if the Granted-Service-Unit is successfully requested =
and if=20
not, why.</FONT></DIV>
<DIV>
<P><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Cause-Id ::=3D=20
&lt; AVP Header: TBD &gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; {=20
Cause-Value } </FONT></P></DIV>
<DIV><FONT face=3DArial color=3D#0000ff><SPAN =
class=3D208201407-27102003><SPAN=20
class=3D361093007-27102003><FONT size=3D2>[MSt]: I think diameter result =
codes=20
should be used instead of tailored cause-id avp.<FONT face=3D"Times New =
Roman"=20
color=3D#000000>&nbsp;<FONT face=3DArial color=3D#0000ff>There are =
few&nbsp;<SPAN=20
class=3D859480812-27102003>&nbsp;cases&nbsp;</SPAN> why the client would =
perform=20
credit re-authorization, but the reason is always "credit=20
re-authorization":</FONT></FONT></FONT></SPAN></SPAN></FONT></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D361093007-27102003></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D208201407-27102003><SPAN =
class=3D361093007-27102003><FONT=20
size=3D2>1- The credit reservation has been consumed. This is determined =
by the=20
fact that no units are in possession of the CC client anymore (example=20
for&nbsp;<SPAN class=3D859480812-27102003>&nbsp;multiple=20
&nbsp;</SPAN>quotas&nbsp;can be found in my issue at Flow=20
xxx).</FONT></SPAN></SPAN></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D361093007-27102003></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D361093007-27102003>2- Mid-session event has occured. The CCR =
message would=20
include the mid-session event to be rated, the non-consumed reservation =
will be=20
returned to the user's account. The CC server can determine&nbsp; the=20
mid-session event from the rating AVPs.</SPAN></SPAN></FONT></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D361093007-27102003></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D361093007-27102003>3- Validity-Time expires. The CC server is in =
control=20
of this parameter, it can determine whether the Validity-Time has =
expired and=20
what to do next.</SPAN></SPAN></FONT></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D361093007-27102003></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>For =
example, in the=20
Used-Service-Units AVP, the cause may be set to "return of idle quota". =
The=20
Diameter CC server, </FONT></DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>would =
then know not=20
to return any more Granted-Service-Unit AVP for this=20
Service-Identifier.&nbsp;</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>In the=20
Granted-Service-Unit, the cause may indicate that the request was denied =
due to=20
"too many Granted-Service-Units in</FONT></DIV>
<DIV><FONT size=3D2><SPAN =
class=3D208201407-27102003>&gt;</SPAN>&nbsp;use". The=20
client could then take action to return idle Granted-Service-Unit =
quotas.=20
</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D361093007-27102003><SPAN class=3D859480812-27102003>&nbsp;[MSt]: =

&nbsp;</SPAN>If the client terminates the end-user service and the CC =
session,=20
it would include the Termination-Cause AVP indicating the<SPAN=20
class=3D859480812-27102003>&nbsp;&nbsp;</SPAN></SPAN></SPAN><SPAN=20
class=3D208201407-27102003><SPAN class=3D361093007-27102003>reason. If =
the CC server=20
determines some error in the CCR message, it would return an appropriate =

Result-Code AVP value.<SPAN class=3D859480812-27102003>&nbsp;=20
&nbsp;</SPAN></SPAN></SPAN><SPAN class=3D208201407-27102003><SPAN=20
class=3D361093007-27102003>In the multi-quota case, I don't see needs to =
determine=20
credit re-authorization upon a single G-S-U since the asset to control =
is always=20
the whole credit reservation.</SPAN></SPAN></FONT></DIV></DIV>
<DIV><FONT size=3D2><BR></FONT></DIV>
<P><FONT size=3D2><SPAN class=3D208201407-27102003>&gt;</SPAN>Please let =
me know=20
your thoughts and suggestions regarding these proposals. If you agree I =
will=20
prepare a formal change.<SPAN =
class=3D208201407-27102003>&nbsp;</SPAN></FONT></P>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D859480812-27102003>&nbsp;[MSt]:&nbsp;</SPAN>I think it would be =
nice to=20
address the following issues: tariff-<SPAN =
class=3D859480812-27102003>&nbsp;time=20
&nbsp;</SPAN>changes in&nbsp;both the single quota and&nbsp;<SPAN=20
class=3D859480812-27102003>&nbsp;the multiple=20
quotas&nbsp;</SPAN>cases;&nbsp;</SPAN><SPAN=20
class=3D208201407-27102003>&nbsp;guidance from the CC server concerning =
the=20
mid-session events.</SPAN></FONT></DIV>
<DIV><FONT size=3D2><SPAN =
class=3D208201407-27102003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN class=3D208201407-27102003>As I say, I'm not =
sure your=20
current proposal is perfectly tailored to&nbsp;<SPAN=20
class=3D859480812-27102003>solve </SPAN>these issues. I would see those =
as=20
separate issues to be<SPAN class=3D859480812-27102003>&nbsp; =
</SPAN></SPAN><SPAN=20
class=3D208201407-27102003>addressed with different AVPs. Perhaps you =
could define=20
an AVP for the&nbsp;<SPAN=20
class=3D859480812-27102003>CC-ReAuth-Trigger&nbsp;</SPAN>and some other =
mechanism=20
for the tariff-time-change?<SPAN class=3D859480812-27102003>&nbsp; It =
would be=20
great if you can help&nbsp;find a solution&nbsp;to these=20
issues.</SPAN></SPAN><SPAN class=3D208201407-27102003><SPAN=20
class=3D859480812-27102003>&nbsp;</SPAN></SPAN></FONT></SPAN></DIV></FONT=
></DIV></BODY></HTML>

------_=_NextPart_001_01C39C87.07CC6138--


From owner-aaa-wg@merit.edu  Tue Oct 28 04:22:44 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA11375
	for <aaa-archive@lists.ietf.org>; Tue, 28 Oct 2003 04:22:44 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id E29D891267; Tue, 28 Oct 2003 04:22:41 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id E31829126A; Tue, 28 Oct 2003 04:22:38 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 5C6BE91267
	for <aaa-wg@trapdoor.merit.edu>; Tue, 28 Oct 2003 04:22:37 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id DD0505DEFA; Tue, 28 Oct 2003 04:22:36 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from mailsweep01.vodafone.ie (unknown [213.233.159.70])
	by segue.merit.edu (Postfix) with ESMTP id 1CAEF5DEEA
	for <aaa-wg@merit.edu>; Tue, 28 Oct 2003 04:22:36 -0500 (EST)
Received: from eircellnotes5.eircell.ie (unverified) by mailsweep01.vodafone.ie
 (Content Technologies SMTPRS 4.2.10) with ESMTP id <T658e6c3c4a0aa2af460b4@mailsweep01.vodafone.ie> for <aaa-wg@merit.edu>;
 Tue, 28 Oct 2003 09:25:54 +0000
To: aaa-wg@merit.edu
Subject: [AAA-WG]: Question on RFC 3588 Timestamp.
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 5.0.10  March 22, 2002
Message-ID: <OFE354FD43.6FA20FCF-ON80256DCD.003196F0-80256DCD.00337E7E@eircell.ie>
From: John.Prudhoe@vodafone.ie
Date: Tue, 28 Oct 2003 09:22:32 +0000
X-MIMETrack: Serialize by Router on Notes5/Vodafone(Release 5.0.10 |March 22, 2002) at
 10/28/2003 09:22:33 AM,
	Serialize complete at 10/28/2003 09:22:33 AM
Content-Type: multipart/alternative; boundary="=_alternative 00337E7D80256DCD_="
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This is a multipart message in MIME format.
--=_alternative 00337E7D80256DCD_=
Content-Type: text/plain; charset="us-ascii"

Hi,

On p115 of RFC 3588 (section 8.21) it states that the event timestamp AVP 
uses seconds since January 1, 1900 00:00 UTC.  Can I safely assume that 
1900 is a typo for 1970?

Regards,

John.

******************************************************************************

The content of this e-mail may be privileged and/or confidential.
If you are not the addressee indicated in this message 
(or responsible for delivery of the message to such person), 
you may not copy or deliver this message to anyone. In such 
case, you should destroy this message and kindly notify the 
sender and postmaster@vodafone.ie by reply email.  Please
note that in such circumstances any review, dissemination, 
disclosure, alteration, printing, copying or further transmission
of this e-mail and/or any file transmitted with it is prohibited 
and may be unlawful. Please advise us immediately if you or
your employer do not consent to Internet email for messages 
of this kind.  The opinions, conclusions and other information 
in this message are of the author and shall be understood as 
neither given nor endorsed by Vodafone Ireland Limited 
unless it is otherwise indicated by an authorised representative 
independent of this message.  Internet e-mail is
transmitted over the public internet over which Vodafone 
Ireland Limited has no control.  As such, there is no guarantee that 
(i) this e-mail will be delivered within a reasonable time or at all
(ii) this e-mail comes from the purported sender 
(iii) this e-mail has not been intercepted by a third party 
(iv) the contents of this e-mail are unaltered from the time of
transmission.  The presence of this footnote indicates that this 
message (including its attachments) has been processed by an 
automated anti-virus system; however it is the responsibility of 
the recipient to ensure that the message (and attachments) 
are safe and authorised for use in their environment.
Vodafone Ireland Ltd Directors: Peter Bamford Chairman (UK), 
Pauline Best (UK), Paul Donovan Chief Executive (UK), 
Gerry Fahy, Dermot Griffin, David Boorman, David Smithwhite(UK).
Registered in Ireland at MountainView, Leopardstown, Dublin 18. 
Number 326967 VAT Reg No. IE6346967G

******************************************************************************


--=_alternative 00337E7D80256DCD_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="Arial">Hi,</font>
<br>
<br><font size=2 face="Arial">On p115 of RFC 3588 (section 8.21) it states that the event timestamp AVP uses seconds since January 1, 1900 00:00 UTC. &nbsp;Can I safely assume that 1900 is a typo for 1970?</font>
<br>
<br><font size=2 face="Arial">Regards,</font>
<br>
<br><font size=2 face="Arial">John.</font><CODE><FONT SIZE=3><BR>
<BR>
******************************************************************************<BR>
<BR>
The content of this e-mail may be privileged and/or confidential.<BR>
If you are not the addressee indicated in this message <BR>
(or responsible for delivery of the message to such person), <BR>
you may not copy or deliver this message to anyone. In such <BR>
case, you should destroy this message and kindly notify the <BR>
sender and postmaster@vodafone.ie by reply email.  Please<BR>
note that in such circumstances any review, dissemination, <BR>
disclosure, alteration, printing, copying or further transmission<BR>
of this e-mail and/or any file transmitted with it is prohibited <BR>
and may be unlawful. Please advise us immediately if you or<BR>
your employer do not consent to Internet email for messages <BR>
of this kind.  The opinions, conclusions and other information <BR>
in this message are of the author and shall be understood as <BR>
neither given nor endorsed by Vodafone Ireland Limited <BR>
unless it is otherwise indicated by an authorised representative <BR>
independent of this message.  Internet e-mail is<BR>
transmitted over the public internet over which Vodafone <BR>
Ireland Limited has no control.  As such, there is no guarantee that <BR>
(i) this e-mail will be delivered within a reasonable time or at all<BR>
(ii) this e-mail comes from the purported sender <BR>
(iii) this e-mail has not been intercepted by a third party <BR>
(iv) the contents of this e-mail are unaltered from the time of<BR>
transmission.  The presence of this footnote indicates that this <BR>
message (including its attachments) has been processed by an <BR>
automated anti-virus system; however it is the responsibility of <BR>
the recipient to ensure that the message (and attachments) <BR>
are safe and authorised for use in their environment.<BR>
Vodafone Ireland Ltd Directors: Peter Bamford Chairman (UK), <BR>
Pauline Best (UK), Paul Donovan Chief Executive (UK), <BR>
Gerry Fahy, Dermot Griffin, David Boorman, David Smithwhite(UK).<BR>
Registered in Ireland at MountainView, Leopardstown, Dublin 18. <BR>
Number 326967 VAT Reg No. IE6346967G<BR>
<BR>
******************************************************************************<BR>
</FONT></CODE>

--=_alternative 00337E7D80256DCD_=--


From owner-aaa-wg@merit.edu  Tue Oct 28 05:13:04 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA13685
	for <aaa-archive@lists.ietf.org>; Tue, 28 Oct 2003 05:13:04 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id BE5559126A; Tue, 28 Oct 2003 05:13:01 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 8E0BE9126C; Tue, 28 Oct 2003 05:13:01 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 2AB0C9126A
	for <aaa-wg@trapdoor.merit.edu>; Tue, 28 Oct 2003 05:13:00 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 14A285DF03; Tue, 28 Oct 2003 05:13:00 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id 0465C5DF0E
	for <aaa-wg@merit.edu>; Tue, 28 Oct 2003 05:12:59 -0500 (EST)
Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9SACvI18155
	for <aaa-wg@merit.edu>; Tue, 28 Oct 2003 12:12:57 +0200 (EET)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir01nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T658f052888ac158f21083@esvir01nok.ntc.nokia.com>;
 Tue, 28 Oct 2003 12:12:56 +0200
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Tue, 28 Oct 2003 12:12:57 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: Question on RFC 3588 Timestamp.
Date: Tue, 28 Oct 2003 12:12:56 +0200
Message-ID: <052E0C61B69C3741AFA5FE88ACC775A6010C386A@esebe023.ntc.nokia.com>
Thread-Topic: [AAA-WG]: Question on RFC 3588 Timestamp.
Thread-Index: AcOdNRiEDZtu7BYjReGmpArF4/5rngABoMjQ
From: <Pasi.Eronen@nokia.com>
To: <John.Prudhoe@vodafone.ie>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 28 Oct 2003 10:12:57.0333 (UTC) FILETIME=[0F17EA50:01C39D3C]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

John Prudhoe wrote:
>
> Hi,=20
>
> On p115 of RFC 3588 (section 8.21) it states that the event
> timestamp AVP uses seconds since January 1, 1900 00:00 UTC. =20
> Can I safely assume that 1900 is a typo for 1970?

No, it's not a typo; it really is 1900 (the same format
is also used in NTP).

Best regards,
Pasi


From owner-aaa-wg@merit.edu  Tue Oct 28 08:50:14 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA20158
	for <aaa-archive@lists.ietf.org>; Tue, 28 Oct 2003 08:50:14 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id EA79491270; Tue, 28 Oct 2003 08:50:12 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id B212191271; Tue, 28 Oct 2003 08:50:12 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id A600391270
	for <aaa-wg@trapdoor.merit.edu>; Tue, 28 Oct 2003 08:50:11 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 9103B5DDBC; Tue, 28 Oct 2003 08:50:11 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from p2.piuha.net (p2.piuha.net [131.160.192.2])
	by segue.merit.edu (Postfix) with ESMTP id 7AF185DE2B
	for <aaa-wg@merit.edu>; Tue, 28 Oct 2003 08:50:10 -0500 (EST)
Received: from kolumbus.fi (p4.piuha.net [131.160.192.4])
	by p2.piuha.net (Postfix) with ESMTP
	id EC4AD6A909; Tue, 28 Oct 2003 15:49:53 +0200 (EET)
Message-ID: <3F9E7308.70900@kolumbus.fi>
Date: Tue, 28 Oct 2003 15:45:44 +0200
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: john.loughney@nokia.com
Cc: aaa-wg@merit.edu
Subject: Re: [AAA-WG]: Diameter CCA Updated Security Considerations
References: <DADF50F5EC506B41A0F375ABEB320636D44AA4@esebe023.ntc.nokia.com>
In-Reply-To: <DADF50F5EC506B41A0F375ABEB320636D44AA4@esebe023.ntc.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: 7bit

john.loughney@nokia.com wrote:
> Hi all,
> 
> We've updated the Diameter CCA Security Section. Comments welcome.
> 
> John
> 
> 9. Security Consideration
> 
> The Diameter base protocol [DIAMBASE] assumes that each Diameter implementation uses underlying security, i.e. IPsec or TLS. These mechanisms are believed to provide sufficient protection under the normal Internet threat model - that is, assuming the authorized nodes engaging in the protocol have not been compromised, but the attacker has complete control over the communication channels between them. This includes eavesdropping, message modification, insertion, man-in-the-middle and replay attacks. Note also that this application includes a mechanism for application layer replay protection by the means of Session-ID from [DIAMBASE], and CC-Request-Number specified in this document. The Diameter credit control application is often used within one domain and there may be just single hop between the peers. In these environments the use of TLS or IPsec is sufficient. The details of TLS and IPsec related security considerations are discussed in the  [DIAMBASE].
> 
> Because this application handles monetary transactions (directly or indirectly) this kind of application increases the interest for various security attacks. Therefore extra attention should be paid to the authentication of the client and the server, as well as the possible proxy and relay agents. In addition to this, authorization of the client shall be emphasised, i.e. that the client is allowed to perform credit control for a certain user. 

Hmm... what does "attention to authentication mean"? That you don't
forget to do it in TLS ;-) ? Perhaps you meant "... all parties communicating
with each other must be authenticated, including, for instance, TLS client-side
authentication."?

Regarding authorization, you might say that the specific means of authorization
are outside the scope of this specification but can be, for instance, manual
configuration.

> Another kind threat is malicious modification, injection or deletion of AVPs or complete credit control messages. The credit control messages contain sensitive billing related information (such as subscription Id, granted units, used units, cost information) whose malicious modification can have economical consequences. Sometimes simply delaying the credit control messages can cause disturbances in the credit control client or server.
> 
> Even without any modification to the messages an adversary can invite a security threat by eavesdropping, because the transactions contain private information about the user. Also by monitoring the credit control messages one can collect information about credit control server's billing models and business relationships. 
> 
> When third party relays or proxy are involved, the hop-by-hop security does not necessarily provide sufficient protection for Diameter user session. Diameter messages, such as CCR and CCA, containing sensitive AVPs are NOT RECOMMENDED to be sent via untrusted Diameter proxy agents since there are no assurance that third party proxies will not modify the credit control commands or AVP values.  Section 9.1 describes a scenario how to make the situation a single hop if the security requirements demands that.

I think NOT RECOMMENDED may be a bit too strong. How about
"may be inappropriate in some cases", or something shorter
to that effect?

> 9.1 Direct connection with redirects
> 
> A Diameter Credit control agent cannot always know whether agents between it and the end user's Diameter credit control server are reliable. In this case the Diameter Credit control agent doesn't have a routing entry in its Diameter Routing Table for the realm of the Credit Control Server in the end user's home domain. The Diameter Credit control agent can have a default route configured to a local Redirect agent and it re-directs the CCR message to the redirect agent. The local Redirect agent then returns a redirect notification (Result-code 3006, DIAMETER_REDIRECT_INDICATION) to the Credit control agent, as well Diameter Credit control Server(s) information (Redirect-Host AVP) and information (Redirect-Host-Usage AVP) how to the routing entry resulting from the Redirect-Host is to be used. The Diameter credit control agent then forwards the CCR message directly to one of the hosts identified by the CCA message from the redirect agent. If the value of the Redirect-Host-Usa
ge AVP is unequal than zero all following messages are sent to the host specified in the Redirect-Host AVP until the time specified by the Redirect-Max-Cache-Time AVP is expired.

Ok, but there are some authz issues even with redirects. Might make sense
to add a non-normative reference to Diameter EAP for a discussion of these,
or copy some text from there (though its in the process of being updated, you
could talk to Pasi about it).

--Jari



From owner-aaa-wg@merit.edu  Tue Oct 28 11:08:00 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA03971
	for <aaa-archive@lists.ietf.org>; Tue, 28 Oct 2003 11:07:59 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id B97B291272; Tue, 28 Oct 2003 11:07:57 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 8520E91274; Tue, 28 Oct 2003 11:07:57 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 916A691272
	for <aaa-wg@trapdoor.merit.edu>; Tue, 28 Oct 2003 11:07:56 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 7F6E15DEA5; Tue, 28 Oct 2003 11:07:56 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from internaut.com (h-66-167-171-107.STTNWAHO.covad.net [66.167.171.107])
	by segue.merit.edu (Postfix) with ESMTP id C6A5A5DD96
	for <aaa-wg@merit.edu>; Tue, 28 Oct 2003 11:07:55 -0500 (EST)
Received: from localhost (aboba@localhost)
	by internaut.com (8.10.2/8.10.2) with ESMTP id h9SFVA130028
	for <aaa-wg@merit.edu>; Tue, 28 Oct 2003 07:31:10 -0800
Date: Tue, 28 Oct 2003 07:31:10 -0800 (PST)
From: Bernard Aboba <aboba@internaut.com>
To: aaa-wg@merit.edu
Subject: [AAA-WG]: AAA WG Agenda for IETF 58 -- Take Two
Message-ID: <Pine.LNX.4.56.0310280727310.27675@internaut.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Authentication, Authorization and Accounting WG (aaa)

Thursday, November 13, 2003
1300-1500
================================

CHAIRS: Bernard Aboba <aboba@internaut.com>
        David Mitton <david@mitton.com>
        John Loughney <john.loughney@nokia.com>

AGENDA:

Preliminaries (10 minutes)
   Bluesheets
   Minutes
   Agenda Bashing
   Document Status

Diameter NASREQ (15 minutes), David Mitton
http://www.ietf.org/internet-drafts/draft-ietf-aaa-diameter-nasreq-13.txt

Diameter EAP (15 minutes), Pasi Eronen
http://www.ietf.org/internet-drafts/draft-ietf-aaa-eap-03.txt

Diameter MIPv4 (15 minutes), Tom Hiller
http://www.ietf.org/internet-drafts/draft-ietf-aaa-diameter-mobileip-15.txt

Diameter Credit Control Application (15 minutes), John Loughney
http://www.ietf.org/internet-drafts/draft-ietf-aaa-diameter-cc-01.txt

Diameter SIP Application (15 minutes), M. Garcia-Martin
http://www.ietf.org/internet-drafts/draft-ietf-aaa-diameter-sip-app-00.txt

Roadmap (15 minutes) WG Chairs and ADs


From owner-aaa-wg@merit.edu  Wed Oct 29 01:34:12 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA27508
	for <aaa-archive@lists.ietf.org>; Wed, 29 Oct 2003 01:34:11 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id 1FA6991264; Wed, 29 Oct 2003 01:33:49 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id DAC7E91268; Wed, 29 Oct 2003 01:33:48 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 37D2791264
	for <aaa-wg@trapdoor.merit.edu>; Wed, 29 Oct 2003 01:33:47 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 18E365DE32; Wed, 29 Oct 2003 01:33:47 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id 7C2CA5DD97
	for <aaa-wg@merit.edu>; Wed, 29 Oct 2003 01:33:46 -0500 (EST)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9T6XiSs005762;
	Wed, 29 Oct 2003 07:33:44 +0100 (MET)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2655.55)
	id <VXCBNS5Y>; Wed, 29 Oct 2003 07:33:52 +0100
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843C7B@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'Jari Arkko'" <jari.arkko@kolumbus.fi>, john.loughney@nokia.com
Cc: aaa-wg@merit.edu
Subject: RE: [AAA-WG]: Diameter CCA Updated Security Considerations
Date: Wed, 29 Oct 2003 07:32:50 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="ISO-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Jari,

Thank you for your feedback and suggestions.

> > Because this application handles monetary transactions 
> (directly or indirectly) this kind of application increases 
> the interest for various security attacks. Therefore extra 
> attention should be paid to the authentication of the client 
> and the server, as well as the possible proxy and relay 
> agents. In addition to this, authorization of the client 
> shall be emphasised, i.e. that the client is allowed to 
> perform credit control for a certain user. 
> 
> Hmm... what does "attention to authentication mean"? That you don't
> forget to do it in TLS ;-) ? Perhaps you meant "... all 
> parties communicating
> with each other must be authenticated, including, for 
> instance, TLS client-side
> authentication."?

Yes, that was the intention. 
Your proposal sounds fine, thanks.

> Regarding authorization, you might say that the specific 
> means of authorization
> are outside the scope of this specification but can be, for 
> instance, manual
> configuration.

OK. 

> > When third party relays or proxy are involved, the 
> hop-by-hop security does not necessarily provide sufficient 
> protection for Diameter user session. Diameter messages, such 
> as CCR and CCA, containing sensitive AVPs are NOT RECOMMENDED 
> to be sent via untrusted Diameter proxy agents since there 
> are no assurance that third party proxies will not modify the 
> credit control commands or AVP values.  Section 9.1 describes 
> a scenario how to make the situation a single hop if the 
> security requirements demands that.
> 
> I think NOT RECOMMENDED may be a bit too strong. How about
> "may be inappropriate in some cases", or something shorter
> to that effect?

OK, as well.

> > A Diameter Credit control agent cannot always know whether 
> agents between it and the end user's Diameter credit control 
> server are reliable. In this case the Diameter Credit control 
> agent doesn't have a routing entry in its Diameter Routing 
> Table for the realm of the Credit Control Server in the end 
> user's home domain. The Diameter Credit control agent can 
> have a default route configured to a local Redirect agent and 
> it re-directs the CCR message to the redirect agent. The 
> local Redirect agent then returns a redirect notification 
> (Result-code 3006, DIAMETER_REDIRECT_INDICATION) to the 
> Credit control agent, as well Diameter Credit control 
> Server(s) information (Redirect-Host AVP) and information 
> (Redirect-Host-Usage AVP) how to the routing entry resulting 
> from the Redirect-Host is to be used. The Diameter credit 
> control agent then forwards the CCR message directly to one 
> of the hosts identified by the CCA message from the redirect 
> agent. If the value of the Redirect-Host-Usa
> ge AVP is unequal than zero all following messages are sent 
> to the host specified in the Redirect-Host AVP until the time 
> specified by the Redirect-Max-Cache-Time AVP is expired.
> 
> Ok, but there are some authz issues even with redirects. 
> Might make sense
> to add a non-normative reference to Diameter EAP for a 
> discussion of these,
> or copy some text from there (though its in the process of 
> being updated, you
> could talk to Pasi about it).

I prefer a non-normative reference to Diameter EAP.
The text in the Diameter EAP is very valid for several Diameter applications, 
actually lot of that text should be in some general AAA document, where diameter 
applications could make reference, instead of a repeating same text.
But no problem to point the Diameter EAP.

Regards........Harri

> 


From aaa-admin@ietf.org  Fri Oct 31 02:01:35 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA04091
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 02:01:35 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1AFTHJ-0002sq-Uj; Fri, 31 Oct 2003 02:01:01 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1AFTH0-0002r7-I8
	for aaa@optimus.ietf.org; Fri, 31 Oct 2003 02:00:42 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA02924
	for <aaa@ietf.org>; Fri, 31 Oct 2003 02:00:29 -0500 (EST)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 1AFTGw-0002ZP-00
	for aaa@ietf.org; Fri, 31 Oct 2003 02:00:38 -0500
Received: from [24.202.214.175] (helo=24.202.214.175)
	by ietf-mx with smtp (Exim 4.12)
	id 1AFTGv-0002ZL-00
	for aaa@ietf.org; Fri, 31 Oct 2003 02:00:37 -0500
Date: Fri, 31 Oct 2003 01:51:44 -0500
From: 240230@earthlink.net
X-Mailer: The Bat! (v1.49)
Reply-To: 240230@earthlink.net
Organization: 1933878210
X-Priority: 3 (Normal)
To: aaa@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-Id: <E1AFTGv-0002ZL-00@ietf-mx>
Content-Transfer-Encoding: 8bit
Subject: [Aaa] The 30 Hour Wonder!       2142483504
Sender: aaa-admin@ietf.org
Errors-To: aaa-admin@ietf.org
X-BeenThere: aaa@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=unsubscribe>
List-Id: Authentication, Authorization and Accounting <aaa.ietf.org>
List-Post: <mailto:aaa@ietf.org>
List-Help: <mailto:aaa-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit

Cyalus comes in smaller doses and produces fewer side effects. 
Cyalus also works much faster than Sildenafil-based medications. 
In clinical trials, the majority of men who took the drug were able to 
engage in sexual intercourse within 30 minutes or less. 
The studies also indicated that Cyalus stays in the system 
for up to 30 hours. That's 26 hours longer than the traditional 
Sildenafil-based medications treatment. 

Test results showed that out of 700 participants at least 88 percent of men experienced improvement with their erections. 

More info http://www.hostvy.com/


















    
4E314FEF-2373A3E-929EBF5-4EF86C46-7D705AF5
           
455377A4-EA06D6C-761BB6C7-436C88AD-2AF8AB7F
   
1988DF92-44FE9392-72E7D162-52A1A9D6-30E59F71
     



_______________________________________________
Aaa mailing list
Aaa@ietf.org
https://www1.ietf.org/mailman/listinfo/aaa


From exim@www1.ietf.org  Fri Oct 31 02:01:38 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA04154
	for <aaa-archive@odin.ietf.org>; Fri, 31 Oct 2003 02:01:38 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1AFTHb-0002uJ-LR
	for aaa-archive@odin.ietf.org; Fri, 31 Oct 2003 02:01:19 -0500
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h9V71JNU011168
	for aaa-archive@odin.ietf.org; Fri, 31 Oct 2003 02:01:19 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1AFTHa-0002u3-LF
	for aaa-web-archive@optimus.ietf.org; Fri, 31 Oct 2003 02:01:18 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA03572
	for <aaa-web-archive@ietf.org>; Fri, 31 Oct 2003 02:01:05 -0500 (EST)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 1AFTHW-0002Zv-00
	for aaa-web-archive@ietf.org; Fri, 31 Oct 2003 02:01:14 -0500
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 1AFTHW-0002Zr-00
	for aaa-web-archive@ietf.org; Fri, 31 Oct 2003 02:01:14 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1AFTHJ-0002sq-Uj; Fri, 31 Oct 2003 02:01:01 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1AFTH0-0002r7-I8
	for aaa@optimus.ietf.org; Fri, 31 Oct 2003 02:00:42 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA02924
	for <aaa@ietf.org>; Fri, 31 Oct 2003 02:00:29 -0500 (EST)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 1AFTGw-0002ZP-00
	for aaa@ietf.org; Fri, 31 Oct 2003 02:00:38 -0500
Received: from [24.202.214.175] (helo=24.202.214.175)
	by ietf-mx with smtp (Exim 4.12)
	id 1AFTGv-0002ZL-00
	for aaa@ietf.org; Fri, 31 Oct 2003 02:00:37 -0500
Date: Fri, 31 Oct 2003 01:51:44 -0500
From: 240230@earthlink.net
X-Mailer: The Bat! (v1.49)
Reply-To: 240230@earthlink.net
Organization: 1933878210
X-Priority: 3 (Normal)
To: aaa@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-Id: <E1AFTGv-0002ZL-00@ietf-mx>
Content-Transfer-Encoding: 8bit
Subject: [Aaa] The 30 Hour Wonder!       2142483504
Sender: aaa-admin@ietf.org
Errors-To: aaa-admin@ietf.org
X-BeenThere: aaa@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=unsubscribe>
List-Id: Authentication, Authorization and Accounting <aaa.ietf.org>
List-Post: <mailto:aaa@ietf.org>
List-Help: <mailto:aaa-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/aaa>,
	<mailto:aaa-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

Cyalus comes in smaller doses and produces fewer side effects. 
Cyalus also works much faster than Sildenafil-based medications. 
In clinical trials, the majority of men who took the drug were able to 
engage in sexual intercourse within 30 minutes or less. 
The studies also indicated that Cyalus stays in the system 
for up to 30 hours. That's 26 hours longer than the traditional 
Sildenafil-based medications treatment. 

Test results showed that out of 700 participants at least 88 percent of men experienced improvement with their erections. 

More info http://www.hostvy.com/


















    
4E314FEF-2373A3E-929EBF5-4EF86C46-7D705AF5
           
455377A4-EA06D6C-761BB6C7-436C88AD-2AF8AB7F
   
1988DF92-44FE9392-72E7D162-52A1A9D6-30E59F71
     



_______________________________________________
Aaa mailing list
Aaa@ietf.org
https://www1.ietf.org/mailman/listinfo/aaa



From owner-aaa-wg@merit.edu  Fri Oct 31 11:20:04 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA05586
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:20:03 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id A6896912EA; Fri, 31 Oct 2003 06:34:42 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 6DCB8912EC; Fri, 31 Oct 2003 06:34:42 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 29311912EA
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 06:34:41 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 128C05DDCF; Fri, 31 Oct 2003 06:34:41 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from albatross-ext.wise.edt.ericsson.se (albatross-ext.wise.edt.ericsson.se [193.180.251.49])
	by segue.merit.edu (Postfix) with ESMTP id 5D8105DDB2
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 06:34:40 -0500 (EST)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by albatross-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9VBYZI2026462;
	Fri, 31 Oct 2003 12:34:35 +0100 (MET)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2657.72)
	id <V637W8BL>; Fri, 31 Oct 2003 12:34:42 +0100
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF04843C8C@esealnt630.al.sw.ericsson.se>
From: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>
To: "'Christopher Richards'" <crich@nortelnetworks.com>,
        "'Mark Grayson (mgrayson)'" <mgrayson@cisco.com>, aaa-wg@merit.edu,
        marco.stura@nokia.com
Cc: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>,
        juha-pekka.koskinen@nokia.com, john.loughney@nokia.com,
        Benni.Alexander@nokia.com,
        "Patrik Teppo (KA/EAB)" <patrik.teppo@ericsson.com>
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Fri, 31 Oct 2003 12:33:41 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Christopher,

>Mixing applications is already described in the Diam CC draft (Adding DCC AVPs to the AA messages). 
>I'm only proposing the >logical mirror of the existing mixing.
>To me, it seems cleaner than impacting an already existing protocol with new features. Better to build
>existing features & functionality into the new protocol.

We have defined a scenario, as you said, where the initial credit control request is performed as
part of the authentication/authorization for the sake of protocol efficiency. After the initial request, 
following credit control requests are done with credit control messages, likewise following 
(re-)authentication & authorization requests are done with AA messages.

It is true that some credit control specific AVPs (e.g. Requested-Service-Unit or some Rating Input AVPs)
may be added to initial service specific AA message, but I assume that *[AVP] notation makes this possible
without any major impact to the existing protocols. But also vice versa approach, i.e. AA AVPs added to the
CCR message causes some impacts to existing AA implementations, since then AA servers shall support initial
authentication and authorisation with the CCR message.


Regards........Harri


From owner-aaa-wg@merit.edu  Fri Oct 31 11:20:30 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA05623
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:20:30 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id 4C304912CE; Thu, 30 Oct 2003 19:41:50 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 158A4912CF; Thu, 30 Oct 2003 19:41:49 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 36E23912CE
	for <aaa-wg@trapdoor.merit.edu>; Thu, 30 Oct 2003 19:41:48 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 229885DE83; Thu, 30 Oct 2003 19:41:48 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.74.5])
	by segue.merit.edu (Postfix) with ESMTP id 4D58F5DDF5
	for <aaa-wg@merit.edu>; Thu, 30 Oct 2003 19:41:47 -0500 (EST)
Received: from cisco.com (144.254.74.60)
  by ams-iport-1.cisco.com with ESMTP; 31 Oct 2003 01:39:38 +0100
Received: from xbe-ams-312.cisco.com (localhost [127.0.0.1])
	by ams-msg-core-1.cisco.com (8.12.2/8.12.6) with ESMTP id h9V0fbrR005643;
	Fri, 31 Oct 2003 01:41:38 +0100 (MET)
Received: from xbe-ams-313.cisco.com ([144.254.228.203]) by xbe-ams-312.cisco.com with Microsoft SMTPSVC(5.0.2195.5329);
	 Fri, 31 Oct 2003 01:41:45 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6410.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Fri, 31 Oct 2003 01:41:44 +0100
Message-ID: <D9298622A8FB3349A0D509F9D5F0561E02CA8F4F@xbe-ams-313.cisco.com>
Thread-Topic: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Thread-Index: AcOfQpRjEup2dG+DSeyE1b9eP3zKAAABDuHg
From: "Mark Grayson (mgrayson)" <mgrayson@cisco.com>
To: "Christopher Richards" <crich@nortelnetworks.com>,
        "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>,
        <aaa-wg@merit.edu>
Cc: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>,
        <juha-pekka.koskinen@nokia.com>, <john.loughney@nokia.com>,
        <Benni.Alexander@nokia.com>,
        "Patrik Teppo (KA/EAB)" <patrik.teppo@ericsson.com>,
        <marco.stura@nokia.com>
X-OriginalArrivalTime: 31 Oct 2003 00:41:45.0564 (UTC) FILETIME=[C2C439C0:01C39F47]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Christopher

as I understand, RFC 3588 explicitly differentiates between new
accounting applications and authentication applications. Therefore I
would not be in favour of mixing the two, otherwise we will end up
overloading DCC with NASREQ issues, EAP issues and the like.

Cheers,
Mark
-----Original Message-----
From: Christopher Richards [mailto:crich@nortelnetworks.com]=20
Sent: 31 October 2003 00:04
To: 'Harri Hakala (TU/LMF)'; aaa-wg@merit.edu
Cc: Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com;
john.loughney@nokia.com; Benni.Alexander@nokia.com; Patrik Teppo
(KA/EAB); 'marco.stura@nokia.com'
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)


Thank you Harri for your response.

I would like to propose modifications to allow the Diameter CC client to
include AA authentication and authorisation parameters in the initial
CCR.

In fact, the existing figure 1 (page 9) has exactly this scenario.

Whether a AA server is fitted out with a CC client or a CC server has
the capability to perform AA functions is fairly arbitrary. I could
argue that in the case where a subscriber has a centralized account, it
makes sense that the same function performing the credit control also
performs the authentication & authorisation (session / access control).=20

From a technical point of view - I would say that it is better to try to
not impact any existing interfaces (AA) by adding new AVPs and
functionality. Instead, build the functionality existing in existing
protocols into the new one. I.e. Have Diameter CC application perform AA
roles.

The beauty of this is that is more easily enables a merging of both pre-
and post-paid services in the future - removing the artificial
separation of pre-paid and post-paid accounts. And brings 3GPP and 3GPP2
closer together.=20

At the very least, the option should be allowed and described in the
document.

I propose changing the text on page 17 from:-

    Two different approaches are defined for the first interrogation to=20
    suit properly in all the possible architectures. The first approach=20
    uses credit-control messages after user's authorization and=20
    authentication took place. The second approach uses service specific

    authorization messages to perform the first interrogation during the

    user's authorization/authentication phase, and credit-control=20
    messages for the intermediate and the final interrogations.=20
    In case an implementation of the credit-control client supports both

    the methods, it SHOULD be configurable what method to use.=20

to:-

    Three different approaches are defined for the first interrogation
to=20
    suit properly in all the possible architectures. The first approach=20
    uses credit-control messages after user's authorization and=20
    authentication took place. The second approach uses service specific

    authorization messages to perform the first interrogation during the

    user's authorization/authentication phase, and credit-control=20
    messages for the intermediate and the final interrogations.=20
    The third approach uses AA specific AVPs in the initial Diameter
Credit
    Control Request message.
    In case an implementation of the credit-control client supports two
or
    more of the methods, it SHOULD be configurable what method to use.=20


Add sub clause 5.1.3:-=20

 5.1.3 Authorization In First Credit Control Interrogation=20
    =20
    The Diameter credit-control client in the service element MAY
    include the authorization/authentication functionality in=20
    the construction of the CC request by adding appropriate AA
    AVPs to the CCR message. The credit-control client MUST add
    the AA AVPs to indicate authorization/authentication is requested.
    The Diameter CC server determines whether or not=20
    subscriber authentication / authorization is required. Subscriber
    authorization/authentication MAY be performed by the CC server
    or may be forwarded to the home AA server as necessary.      =20
         =20
    The following diagram illustrates the use of authorization /=20
    authentication AVPs in the first Credit Control Request. The=20
    parallel accounting stream is not shown in the figure.=20
    =20
    End-User        Service Element        CC Server           AAA
Server=20
                     (CC Client)                        =20
       | Service Request   | CC Request (AA AVPs)                    |=20
       |------------------>|------------------->|                    |=20
       |                   |                    | AAR (Initial, AA AVPs)

       |                   |                    |------------------->|=20
       |                   |                    |    AAA (AA AVPs)   |
       |                   |                    |<-------------------|=20
       |                   | CC Answer(Granted-Units, AA AVPs)       |=20
       | Service Delivery  |<-------------------|                    |=20
       |<----------------->|                    |                    |=20
       |         :         |                    |                    |=20
       |         :         |                    |                    |=20
       |         :         |                    |                    |=20
       |                   |                    |                    |=20
       |                   | CCR(Update,Used-Units)                  |=20
       |                   |------------------->|=20
       |                   |                    |=20
       |                   |                    | =20
       |                   |  CCA(Granted-Units)|
       |                   |<-------------------|                    =20
       |         :         |                    |                    =20
       |         :         |                    |                   =20
       | End of Service    |                    |                    =20
       |------------------>| CCR(Termination,Used-Units)            =20
       |                   |------------------->|=20
       |                   |                    |
       |                   |                    |               =20
       |                   |                CCA |
       |                   |<-------------------|              =20
    =20
                 Figure 5: Protocol example with use of the CCR
             messages for the first authorization interrogation.=20
                                      =20
     =20
 5.2 Intermediate Interrogation =20

Please let me know if this is OK.

Cheers,=20
Chris.=20
Shasta Wireless Development=20
Nortel Networks=20
Telephone:=20
+1 972 684 3281=20
ESN 444 3281=20
-----Original Message-----
From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com]=20
Sent: Monday, October 27, 2003 1:07 AM
To: Richards, Christopher [RICH2:2Q40:EXCH]; aaa-wg@merit.edu
Cc: Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com;
john.loughney@nokia.com; Benni.Alexander@nokia.com; Patrik Teppo
(KA/EAB); 'marco.stura@nokia.com'
Subject: RE: [AAA-WG]: Diam CC questions


Hi Christopher,

Thank you for your comments and suggestions.
For a start answers to your first questions.

I'm not sure that the assumption regarding different service
environments for MIP and 3GPP is true. At best this is an opinion which
may or may not be correct. Personally, I do not think that there will be
a simple distinction like this. Would it be best to remove this - if for
no reason other brevity?
I think that you are right. The CCA-01 version should fix this.
My main question: Is there an overriding technical reason why Diameter
credit-control AVPs are added to  AA request and not the other way
around when the initial AAA interrogation is made? I.e. Would it not be
a cleaner solution to add AA AVPs to the Diameter credit-control client
request. In this way, there is no "leakage" of the Diameter
credit-control application into existing AA applications. Instead, the
AA applications actually can be used to enhance the Diameter CC
capabilities.
If there is no technical reason, then I would like to propose that
either:-=20
(a) Replacing the existing text with text that states AA AVPs are added
to Diameter credit-control requests.=20
(b) Adding text that states AA AVPs are added to Diameter credit-control
requests as a third option for the combining of the initial AAA request.
The principle is to use the credit control messages only for credit
authorization. The authentication and authorization is largely service
specific that is why different Diameter applications have been required
for authentication & authorization. I assume that it is not desired to
use credit control messages also for service specific authentication and
authorization, especially when the client doesn't necessarily know
whether the user is 'prepaid' user prior to sending the CCR message. In
circumstances where majority of the users are still 'postpaid' users,
this may lead to situations where the initial credit control messages
would be mostly used for authentication and service authorization.
Regards.........Harri
-----Original Message-----
From: Christopher Richards [mailto:crich@nortelnetworks.com]
Sent: 24. lokakuuta 2003 23:48
To: aaa-wg@merit.edu
Cc: Harri Hakala (TU/LMF); Leena Mattila (TU/LMF);
juha-pekka.koskinen@nokia.com; john.loughney@nokia.com;
Benni.Alexander@nokia.com; patrik.teppo@po.org
Subject: [AAA-WG]: Diam CC questions


Hello All,=20
I have a couple of questions regarding the Diameter Credit Control
draft.=20
In clause 2 and 4.2, the document discusses the capability to combine
credit authorisation with service specific authorisation and
authentication. (Note: on page 20, clause 4.1.1 seems mis-numbered)
2. Architecture Models=20
[snip]=20
   In servive environments such as the Network Access Server (NAS) and=20
   Mobile IP, it is a requirement to perform the first interrogation as=20
   part of the authorization/authentication process for the sake of=20
   protocol efficiency. Further credit authorizations after the first=20
   interrogation took place are performed with credit control commands=20
   defined in this specification. Implementations of credit-control=20
   client operating in the mentioned environments SHOULD support this=20
   method. In case the credit-control server and AAA server are separate

   physical entities the service element send the request messages to=20
   the AAA server, which then issue an appropriate request or proxy the=20
   received request forward to the credit-control server.=20
   =20
   In other service environments, such as the 3GPP network and some SIP=20
   scenario, there is a substantial decoupling between=20
   registration/access to the network and the actual service request=20
   (i.e. the authentication/authorization is executed once at=20
   registration/access to the network and is not executed for every=20
   service event requested by the subscriber). In such environments it=20
   is more appropriate to perform the first interrogation after the user

   has been authenticated and authorized. The first interrogation as=20
   well as intermediate and final interrogations is executed with credit

   control commands defined in this specification. Implementations of=20
   credit-control client operating in 3GPP environment SHOULD support=20
   this method. In 3GPP environment the service element sends the=20
   request message directly to the credit-control server.=20
    =20
4.2 Authorization Messages for First Interrogation=20
   =20
   In the second approach, the Diameter credit-control client in the=20
   service element MUST actively contribute with the=20
   authorization/authentication client in the construction of the AA=20
   request by adding appropriate credit control AVPs.=20
[snip]=20
I'm not sure that the assumption regarding different service
environments for MIP and 3GPP is true. At best this is an opinion which
may or may not be correct. Personally, I do not think that there will be
a simple distinction like this. Would it be best to remove this - if for
no reason other brevity?
My main question: Is there an overriding technical reason why Diameter
credit-control AVPs are added to a AA request and not the other way
around when the initial AAA interrogation is made? I.e. Would it not be
a cleaner solution to add AA AVPs to the Diameter credit-control client
request. In this way, there is no "leakage" of the Diameter
credit-control application into existing AA applications. Instead, the
AA applications actually can be used to enhance the Diameter CC
capabilities.
If there is no technical reason, then I would like to propose that
either:-=20
(a) Replacing the existing text with text that states AA AVPs are added
to Diameter credit-control requests.=20
(b) Adding text that states AA AVPs are added to Diameter credit-control
requests as a third option for the combining of the initial AAA request.


On a different subject: Multi-quotas and Used-Service-Units &
Granted-Service-Unit structure.=20
The inclusion of trigger/action/trigger-value and cause fields within
the Granted-Service-Unit structure.=20
A Granted-Service-Unit is really the permission to use a resource until
some limit is reached or some other session properties change. The
permission may be granted only for the consumption of a particular
resource or category of resource.
The current draft has most of these attributes already defined for the
Granted-Service-Unit. However, it seems to be missing the ability to
instruct the CC client what actions to take in the event of certain
session events. I propose the addition of Triggers, trigger-actions and
trigger-values for the Granted-Service-Unit AVP.
Triggers are such things as: Time changes or changes to the QoS
characteristics of a session or a change in user location (for 3GPP) or
quota usage threshold or quota idle time.
Associated with these triggers are actions that should be taken upon the
trigger. Examples of actions could include: re-authorise quota, return
quota and block further traffic.
Some trigger/actions require a trigger value. For example, the "Idle
quota" trigger, may have an action of "return quota" and a trigger value
of "600 seconds". In other words, if this quota has not been used for
600 seconds, return it to the Diameter CC server.
         Trigger ::=3D < AVP Header: TBD >=20
                     { Trigger-Id }=20
                     { Trigger-Action }=20
                     [ Trigger-Value ]=20
         Granted-Service-Unit ::=3D < AVP Header: TBD >=20
                                  { Cause-Id }=20
                                  [ CC-Time ]=20
                                  [ CC-Money ]=20
                                  [ CC-Total-Octets ]=20
                                  [ CC-Input-Octets ]=20
                                  [ CC-Output-Octets ]=20
                                  [ CC-Service-Specific-Units ]=20
                                 *[ Service-Identifier ]=20
                                  [ Rating-Group ]=20
                                 *[ Trigger ]=20
Cause fields are used in each Used-Service-Unit and Granted-Service-Unit
AVP response. E.g. When a client returns a quota to the server, the
cause field is used to indicate why the quota is being returned. In a
Granted-Service-Unit AVP response, the server indicates if the
Granted-Service-Unit is successfully requested and if not, why.
         Cause-Id ::=3D < AVP Header: TBD >=20
                      { Cause-Value }=20
E.g.=20
            Used-Service-Unit ::=3D < AVP Header: TBD >=20
                                { Cause-Value }=20
                                  [ CC-Time ]=20
                                  [ CC-Money ]=20
                                  [ CC-Total-Octets ]=20
                                  [ CC-Input-Octets ]=20
                                  [ CC-Output-Octets ]=20
                                  [ CC-Service-Specific-Units ]=20
                                 *[ Service-Identifier ]=20
                                  [ Rating-Group ]=20
For example, in the Used-Service-Units AVP, the cause may be set to
"return of idle quota". The Diameter CC server, would then know not to
return any more Granted-Service-Unit AVP for this Service-Identifier. =20
In the Granted-Service-Unit, the cause may indicate that the request was
denied due to "too many Granted-Service-Units in use". The client could
then take action to return idle Granted-Service-Unit quotas.=20


Please let me know your thoughts and suggestions regarding these
proposals. If you agree I will prepare a formal change.
Cheers,=20
Chris Richards.=20
Shasta Wireless Development=20
Nortel Networks=20
Telephone:=20
+1 972 684 3281=20
ESN 444 3281=20


From owner-aaa-wg@merit.edu  Fri Oct 31 11:25:27 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA05892
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:25:27 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id 940E7912F0; Fri, 31 Oct 2003 09:54:05 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 5F689912F3; Fri, 31 Oct 2003 09:54:05 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id D8155912F0
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 09:54:03 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id BFE055DE27; Fri, 31 Oct 2003 09:54:03 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from zrc2s0jx.nortelnetworks.com (zrc2s0jx.nortelnetworks.com [47.103.122.112])
	by segue.merit.edu (Postfix) with ESMTP id 3856E5DDE4
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 09:54:03 -0500 (EST)
Received: from zrc2c011.us.nortel.com (zrc2c011.us.nortel.com [47.103.120.51])
	by zrc2s0jx.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h9VErUN15204;
	Fri, 31 Oct 2003 08:53:30 -0600 (CST)
Received: by zrc2c011.us.nortel.com with Internet Mail Service (5.5.2653.19)
	id <VRPJ0A89>; Fri, 31 Oct 2003 08:53:30 -0600
Message-ID: <161AA64DA85DFC4BA4D2EB5629B597535E8959@zrc2c012.us.nortel.com>
From: "Christopher Richards" <crich@nortelnetworks.com>
To: "'Harri Hakala (TU/LMF)'" <harri.hakala@ericsson.com>,
        "'Mark Grayson (mgrayson)'" <mgrayson@cisco.com>, aaa-wg@merit.edu,
        marco.stura@nokia.com
Cc: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>,
        juha-pekka.koskinen@nokia.com, john.loughney@nokia.com,
        Benni.Alexander@nokia.com,
        "Patrik Teppo (KA/EAB)" <patrik.teppo@ericsson.com>
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Fri, 31 Oct 2003 08:53:29 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39FBE.BF422894"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C39FBE.BF422894
Content-Type: text/plain


-----Original Message-----
From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com] 
Sent: Friday, October 31, 2003 5:34 AM
To: Richards, Christopher [RICH2:2Q40:EXCH]; 'Mark Grayson (mgrayson)';
aaa-wg@merit.edu; marco.stura@nokia.com
Cc: Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com;
john.loughney@nokia.com; Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB)
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)


Hi Christopher,

>Mixing applications is already described in the Diam CC draft (Adding 
>DCC AVPs to the AA messages).
>I'm only proposing the >logical mirror of the existing mixing.
>To me, it seems cleaner than impacting an already existing protocol with
new features. Better to build
>existing features & functionality into the new protocol.

We have defined a scenario, as you said, where the initial credit control
request is performed as part of the authentication/authorization for the
sake of protocol efficiency. After the initial request, 
following credit control requests are done with credit control messages,
likewise following 
(re-)authentication & authorization requests are done with AA messages.

It is true that some credit control specific AVPs (e.g.
Requested-Service-Unit or some Rating Input AVPs) may be added to initial
service specific AA message, but I assume that *[AVP] notation makes this
possible without any major impact to the existing protocols. But also vice
versa approach, i.e. AA AVPs added to the CCR message causes some impacts to
existing AA implementations, since then AA servers shall support initial
authentication and authorisation with the CCR message.

[Chris Richards] Great. Since the mechanisms for one approach are described,
it makes sense to describe the mirror approach - just for consistency and
clarity. It is still completely up to vendors/implementers to choose which
mechanism to provide. What we're aiming for is a good, flexible and
efficient protocol definition that can accommodate future requirements.

Cheers, Chris.


Regards........Harri

------_=_NextPart_001_01C39FBE.BF422894
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2656.31">
<TITLE>RE: [AAA-WG]: Diam CC (AA interrogation in initial CC =
request)</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Harri Hakala (TU/LMF) [<A =
HREF=3D"mailto:harri.hakala@ericsson.com">mailto:harri.hakala@ericsson.c=
om</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Friday, October 31, 2003 5:34 AM</FONT>
<BR><FONT SIZE=3D2>To: Richards, Christopher [RICH2:2Q40:EXCH]; 'Mark =
Grayson (mgrayson)'; aaa-wg@merit.edu; marco.stura@nokia.com</FONT>
<BR><FONT SIZE=3D2>Cc: Leena Mattila (TU/LMF); =
juha-pekka.koskinen@nokia.com; john.loughney@nokia.com; =
Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB)</FONT></P>

<P><FONT SIZE=3D2>Subject: RE: [AAA-WG]: Diam CC (AA interrogation in =
initial CC request)</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi Christopher,</FONT>
</P>

<P><FONT SIZE=3D2>&gt;Mixing applications is already described in the =
Diam CC draft (Adding </FONT>
<BR><FONT SIZE=3D2>&gt;DCC AVPs to the AA messages).</FONT>
<BR><FONT SIZE=3D2>&gt;I'm only proposing the &gt;logical mirror of the =
existing mixing.</FONT>
<BR><FONT SIZE=3D2>&gt;To me, it seems cleaner than impacting an =
already existing protocol with new features. Better to build</FONT>
<BR><FONT SIZE=3D2>&gt;existing features &amp; functionality into the =
new protocol.</FONT>
</P>

<P><FONT SIZE=3D2>We have defined a scenario, as you said, where the =
initial credit control request is performed as part of the =
authentication/authorization for the sake of protocol efficiency. After =
the initial request, </FONT></P>

<P><FONT SIZE=3D2>following credit control requests are done with =
credit control messages, likewise following </FONT>
<BR><FONT SIZE=3D2>(re-)authentication &amp; authorization requests are =
done with AA messages.</FONT>
</P>

<P><FONT SIZE=3D2>It is true that some credit control specific AVPs =
(e.g. Requested-Service-Unit or some Rating Input AVPs) may be added to =
initial service specific AA message, but I assume that *[AVP] notation =
makes this possible without any major impact to the existing protocols. =
But also vice versa approach, i.e. AA AVPs added to the CCR message =
causes some impacts to existing AA implementations, since then AA =
servers shall support initial authentication and authorisation with the =
CCR message.</FONT></P>

<P><FONT SIZE=3D2>[Chris Richards] Great. Since the mechanisms for one =
approach are described, it makes sense to describe the mirror approach =
- just for consistency and clarity. It is still completely up to =
vendors/implementers to choose which mechanism to provide. What we're =
aiming for is a good, flexible and efficient protocol definition that =
can accommodate future requirements.</FONT></P>

<P><FONT SIZE=3D2>Cheers, Chris.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Regards........Harri</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C39FBE.BF422894--


From owner-aaa-wg@merit.edu  Fri Oct 31 11:30:00 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06183
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:29:59 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id BDF98912D0; Thu, 30 Oct 2003 19:58:45 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 6B723912D3; Thu, 30 Oct 2003 19:58:45 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id B7C6E912D0
	for <aaa-wg@trapdoor.merit.edu>; Thu, 30 Oct 2003 19:58:41 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 9B4165DEB1; Thu, 30 Oct 2003 19:58:41 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from zrc2s0jx.nortelnetworks.com (zrc2s0jx.nortelnetworks.com [47.103.122.112])
	by segue.merit.edu (Postfix) with ESMTP id A942F5DEB0
	for <aaa-wg@merit.edu>; Thu, 30 Oct 2003 19:58:40 -0500 (EST)
Received: from zrc2c011.us.nortel.com (zrc2c011.us.nortel.com [47.103.120.51])
	by zrc2s0jx.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h9V0wIL27018;
	Thu, 30 Oct 2003 18:58:18 -0600 (CST)
Received: by zrc2c011.us.nortel.com with Internet Mail Service (5.5.2653.19)
	id <VRPJ986M>; Thu, 30 Oct 2003 18:58:19 -0600
Message-ID: <161AA64DA85DFC4BA4D2EB5629B597535E8953@zrc2c012.us.nortel.com>
From: "Christopher Richards" <crich@nortelnetworks.com>
To: "'Mark Grayson (mgrayson)'" <mgrayson@cisco.com>,
        "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>, aaa-wg@merit.edu
Cc: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>,
        juha-pekka.koskinen@nokia.com, john.loughney@nokia.com,
        Benni.Alexander@nokia.com,
        "Patrik Teppo (KA/EAB)" <patrik.teppo@ericsson.com>,
        marco.stura@nokia.com
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Thu, 30 Oct 2003 18:58:17 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39F4A.11EB5EA0"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C39F4A.11EB5EA0
Content-Type: text/plain

Hi Mark,

Credit control really is in both realms - accounting and
authorisation/authentication. 

Mixing applications is already described in the Diam CC draft (Adding DCC
AVPs to the AA messages). I'm only proposing the logical mirror of the
existing mixing.

To me, it seems cleaner than impacting an already existing protocol with new
features. Better to build existing features & functionality into the new
protocol.

Cheers,
Chris.

-----Original Message-----
From: Mark Grayson (mgrayson) [mailto:mgrayson@cisco.com] 
Sent: Thursday, October 30, 2003 6:42 PM
To: Richards, Christopher [RICH2:2Q40:EXCH]; Harri Hakala (TU/LMF);
aaa-wg@merit.edu
Cc: Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com;
john.loughney@nokia.com; Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB);
marco.stura@nokia.com
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)


Christopher

as I understand, RFC 3588 explicitly differentiates between new accounting
applications and authentication applications. Therefore I would not be in
favour of mixing the two, otherwise we will end up overloading DCC with
NASREQ issues, EAP issues and the like.

Cheers,
Mark
-----Original Message-----
From: Christopher Richards [mailto:crich@nortelnetworks.com] 
Sent: 31 October 2003 00:04
To: 'Harri Hakala (TU/LMF)'; aaa-wg@merit.edu
Cc: Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com;
john.loughney@nokia.com; Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB);
'marco.stura@nokia.com'
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)


Thank you Harri for your response.

I would like to propose modifications to allow the Diameter CC client to
include AA authentication and authorisation parameters in the initial CCR.

In fact, the existing figure 1 (page 9) has exactly this scenario.

Whether a AA server is fitted out with a CC client or a CC server has the
capability to perform AA functions is fairly arbitrary. I could argue that
in the case where a subscriber has a centralized account, it makes sense
that the same function performing the credit control also performs the
authentication & authorisation (session / access control). 

From a technical point of view - I would say that it is better to try to not
impact any existing interfaces (AA) by adding new AVPs and functionality.
Instead, build the functionality existing in existing protocols into the new
one. I.e. Have Diameter CC application perform AA roles.

The beauty of this is that is more easily enables a merging of both pre- and
post-paid services in the future - removing the artificial separation of
pre-paid and post-paid accounts. And brings 3GPP and 3GPP2 closer together. 

At the very least, the option should be allowed and described in the
document.

I propose changing the text on page 17 from:-

    Two different approaches are defined for the first interrogation to 
    suit properly in all the possible architectures. The first approach 
    uses credit-control messages after user's authorization and 
    authentication took place. The second approach uses service specific

    authorization messages to perform the first interrogation during the

    user's authorization/authentication phase, and credit-control 
    messages for the intermediate and the final interrogations. 
    In case an implementation of the credit-control client supports both

    the methods, it SHOULD be configurable what method to use. 

to:-

    Three different approaches are defined for the first interrogation to 
    suit properly in all the possible architectures. The first approach 
    uses credit-control messages after user's authorization and 
    authentication took place. The second approach uses service specific

    authorization messages to perform the first interrogation during the

    user's authorization/authentication phase, and credit-control 
    messages for the intermediate and the final interrogations. 
    The third approach uses AA specific AVPs in the initial Diameter Credit
    Control Request message.
    In case an implementation of the credit-control client supports two or
    more of the methods, it SHOULD be configurable what method to use. 


Add sub clause 5.1.3:- 

 5.1.3 Authorization In First Credit Control Interrogation 
     
    The Diameter credit-control client in the service element MAY
    include the authorization/authentication functionality in 
    the construction of the CC request by adding appropriate AA
    AVPs to the CCR message. The credit-control client MUST add
    the AA AVPs to indicate authorization/authentication is requested.
    The Diameter CC server determines whether or not 
    subscriber authentication / authorization is required. Subscriber
    authorization/authentication MAY be performed by the CC server
    or may be forwarded to the home AA server as necessary.       
          
    The following diagram illustrates the use of authorization / 
    authentication AVPs in the first Credit Control Request. The 
    parallel accounting stream is not shown in the figure. 
     
    End-User        Service Element        CC Server           AAA
Server 
                     (CC Client)                         
       | Service Request   | CC Request (AA AVPs)                    | 
       |------------------>|------------------->|                    | 
       |                   |                    | AAR (Initial, AA AVPs)

       |                   |                    |------------------->| 
       |                   |                    |    AAA (AA AVPs)   |
       |                   |                    |<-------------------| 
       |                   | CC Answer(Granted-Units, AA AVPs)       | 
       | Service Delivery  |<-------------------|                    | 
       |<----------------->|                    |                    | 
       |         :         |                    |                    | 
       |         :         |                    |                    | 
       |         :         |                    |                    | 
       |                   |                    |                    | 
       |                   | CCR(Update,Used-Units)                  | 
       |                   |------------------->| 
       |                   |                    | 
       |                   |                    |  
       |                   |  CCA(Granted-Units)|
       |                   |<-------------------|                     
       |         :         |                    |                     
       |         :         |                    |                    
       | End of Service    |                    |                     
       |------------------>| CCR(Termination,Used-Units)             
       |                   |------------------->| 
       |                   |                    |
       |                   |                    |                
       |                   |                CCA |
       |                   |<-------------------|               
     
                 Figure 5: Protocol example with use of the CCR
             messages for the first authorization interrogation. 
                                       
      
 5.2 Intermediate Interrogation  

Please let me know if this is OK.

Cheers, 
Chris. 
Shasta Wireless Development 
Nortel Networks 
Telephone: 
+1 972 684 3281
ESN 444 3281 
-----Original Message-----
From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com] 
Sent: Monday, October 27, 2003 1:07 AM
To: Richards, Christopher [RICH2:2Q40:EXCH]; aaa-wg@merit.edu
Cc: Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com;
john.loughney@nokia.com; Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB);
'marco.stura@nokia.com'
Subject: RE: [AAA-WG]: Diam CC questions


Hi Christopher,

Thank you for your comments and suggestions.
For a start answers to your first questions.

I'm not sure that the assumption regarding different service environments
for MIP and 3GPP is true. At best this is an opinion which may or may not be
correct. Personally, I do not think that there will be a simple distinction
like this. Would it be best to remove this - if for no reason other brevity?
I think that you are right. The CCA-01 version should fix this. My main
question: Is there an overriding technical reason why Diameter
credit-control AVPs are added to  AA request and not the other way around
when the initial AAA interrogation is made? I.e. Would it not be a cleaner
solution to add AA AVPs to the Diameter credit-control client request. In
this way, there is no "leakage" of the Diameter credit-control application
into existing AA applications. Instead, the AA applications actually can be
used to enhance the Diameter CC capabilities. If there is no technical
reason, then I would like to propose that
either:- 
(a) Replacing the existing text with text that states AA AVPs are added to
Diameter credit-control requests. 
(b) Adding text that states AA AVPs are added to Diameter credit-control
requests as a third option for the combining of the initial AAA request. The
principle is to use the credit control messages only for credit
authorization. The authentication and authorization is largely service
specific that is why different Diameter applications have been required for
authentication & authorization. I assume that it is not desired to use
credit control messages also for service specific authentication and
authorization, especially when the client doesn't necessarily know whether
the user is 'prepaid' user prior to sending the CCR message. In
circumstances where majority of the users are still 'postpaid' users, this
may lead to situations where the initial credit control messages would be
mostly used for authentication and service authorization.
Regards.........Harri -----Original Message-----
From: Christopher Richards [mailto:crich@nortelnetworks.com]
Sent: 24. lokakuuta 2003 23:48
To: aaa-wg@merit.edu
Cc: Harri Hakala (TU/LMF); Leena Mattila (TU/LMF);
juha-pekka.koskinen@nokia.com; john.loughney@nokia.com;
Benni.Alexander@nokia.com; patrik.teppo@po.org
Subject: [AAA-WG]: Diam CC questions


Hello All, 
I have a couple of questions regarding the Diameter Credit Control draft. 
In clause 2 and 4.2, the document discusses the capability to combine credit
authorisation with service specific authorisation and authentication. (Note:
on page 20, clause 4.1.1 seems mis-numbered) 2. Architecture Models 
[snip] 
   In servive environments such as the Network Access Server (NAS) and 
   Mobile IP, it is a requirement to perform the first interrogation as 
   part of the authorization/authentication process for the sake of 
   protocol efficiency. Further credit authorizations after the first 
   interrogation took place are performed with credit control commands 
   defined in this specification. Implementations of credit-control 
   client operating in the mentioned environments SHOULD support this 
   method. In case the credit-control server and AAA server are separate

   physical entities the service element send the request messages to 
   the AAA server, which then issue an appropriate request or proxy the 
   received request forward to the credit-control server. 
    
   In other service environments, such as the 3GPP network and some SIP 
   scenario, there is a substantial decoupling between 
   registration/access to the network and the actual service request 
   (i.e. the authentication/authorization is executed once at 
   registration/access to the network and is not executed for every 
   service event requested by the subscriber). In such environments it 
   is more appropriate to perform the first interrogation after the user

   has been authenticated and authorized. The first interrogation as 
   well as intermediate and final interrogations is executed with credit

   control commands defined in this specification. Implementations of 
   credit-control client operating in 3GPP environment SHOULD support 
   this method. In 3GPP environment the service element sends the 
   request message directly to the credit-control server. 
     
4.2 Authorization Messages for First Interrogation 
    
   In the second approach, the Diameter credit-control client in the 
   service element MUST actively contribute with the 
   authorization/authentication client in the construction of the AA 
   request by adding appropriate credit control AVPs. 
[snip] 
I'm not sure that the assumption regarding different service environments
for MIP and 3GPP is true. At best this is an opinion which may or may not be
correct. Personally, I do not think that there will be a simple distinction
like this. Would it be best to remove this - if for no reason other brevity?
My main question: Is there an overriding technical reason why Diameter
credit-control AVPs are added to a AA request and not the other way around
when the initial AAA interrogation is made? I.e. Would it not be a cleaner
solution to add AA AVPs to the Diameter credit-control client request. In
this way, there is no "leakage" of the Diameter credit-control application
into existing AA applications. Instead, the AA applications actually can be
used to enhance the Diameter CC capabilities. If there is no technical
reason, then I would like to propose that
either:- 
(a) Replacing the existing text with text that states AA AVPs are added to
Diameter credit-control requests. 
(b) Adding text that states AA AVPs are added to Diameter credit-control
requests as a third option for the combining of the initial AAA request.


On a different subject: Multi-quotas and Used-Service-Units &
Granted-Service-Unit structure. 
The inclusion of trigger/action/trigger-value and cause fields within the
Granted-Service-Unit structure. 
A Granted-Service-Unit is really the permission to use a resource until some
limit is reached or some other session properties change. The permission may
be granted only for the consumption of a particular resource or category of
resource. The current draft has most of these attributes already defined for
the Granted-Service-Unit. However, it seems to be missing the ability to
instruct the CC client what actions to take in the event of certain session
events. I propose the addition of Triggers, trigger-actions and
trigger-values for the Granted-Service-Unit AVP. Triggers are such things
as: Time changes or changes to the QoS characteristics of a session or a
change in user location (for 3GPP) or quota usage threshold or quota idle
time. Associated with these triggers are actions that should be taken upon
the trigger. Examples of actions could include: re-authorise quota, return
quota and block further traffic. Some trigger/actions require a trigger
value. For example, the "Idle quota" trigger, may have an action of "return
quota" and a trigger value of "600 seconds". In other words, if this quota
has not been used for 600 seconds, return it to the Diameter CC server.
         Trigger ::= < AVP Header: TBD > 
                     { Trigger-Id } 
                     { Trigger-Action } 
                     [ Trigger-Value ] 
         Granted-Service-Unit ::= < AVP Header: TBD > 
                                  { Cause-Id } 
                                  [ CC-Time ] 
                                  [ CC-Money ] 
                                  [ CC-Total-Octets ] 
                                  [ CC-Input-Octets ] 
                                  [ CC-Output-Octets ] 
                                  [ CC-Service-Specific-Units ] 
                                 *[ Service-Identifier ] 
                                  [ Rating-Group ] 
                                 *[ Trigger ] 
Cause fields are used in each Used-Service-Unit and Granted-Service-Unit AVP
response. E.g. When a client returns a quota to the server, the cause field
is used to indicate why the quota is being returned. In a
Granted-Service-Unit AVP response, the server indicates if the
Granted-Service-Unit is successfully requested and if not, why.
         Cause-Id ::= < AVP Header: TBD > 
                      { Cause-Value } 
E.g. 
            Used-Service-Unit ::= < AVP Header: TBD > 
                                { Cause-Value } 
                                  [ CC-Time ] 
                                  [ CC-Money ] 
                                  [ CC-Total-Octets ] 
                                  [ CC-Input-Octets ] 
                                  [ CC-Output-Octets ] 
                                  [ CC-Service-Specific-Units ] 
                                 *[ Service-Identifier ] 
                                  [ Rating-Group ] 
For example, in the Used-Service-Units AVP, the cause may be set to "return
of idle quota". The Diameter CC server, would then know not to return any
more Granted-Service-Unit AVP for this Service-Identifier.  
In the Granted-Service-Unit, the cause may indicate that the request was
denied due to "too many Granted-Service-Units in use". The client could then
take action to return idle Granted-Service-Unit quotas. 


Please let me know your thoughts and suggestions regarding these proposals.
If you agree I will prepare a formal change. Cheers, 
Chris Richards. 
Shasta Wireless Development 
Nortel Networks 
Telephone: 
+1 972 684 3281
ESN 444 3281 

------_=_NextPart_001_01C39F4A.11EB5EA0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2656.31">
<TITLE>RE: [AAA-WG]: Diam CC (AA interrogation in initial CC =
request)</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi Mark,</FONT>
</P>

<P><FONT SIZE=3D2>Credit control really is in both realms - accounting =
and authorisation/authentication. </FONT>
</P>

<P><FONT SIZE=3D2>Mixing applications is already described in the Diam =
CC draft (Adding DCC AVPs to the AA messages). I'm only proposing the =
logical mirror of the existing mixing.</FONT></P>

<P><FONT SIZE=3D2>To me, it seems cleaner than impacting an already =
existing protocol with new features. Better to build existing features =
&amp; functionality into the new protocol.</FONT></P>

<P><FONT SIZE=3D2>Cheers,</FONT>
<BR><FONT SIZE=3D2>Chris.</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Mark Grayson (mgrayson) [<A =
HREF=3D"mailto:mgrayson@cisco.com">mailto:mgrayson@cisco.com</A>] =
</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, October 30, 2003 6:42 PM</FONT>
<BR><FONT SIZE=3D2>To: Richards, Christopher [RICH2:2Q40:EXCH]; Harri =
Hakala (TU/LMF); aaa-wg@merit.edu</FONT>
<BR><FONT SIZE=3D2>Cc: Leena Mattila (TU/LMF); =
juha-pekka.koskinen@nokia.com; john.loughney@nokia.com; =
Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB); =
marco.stura@nokia.com</FONT></P>

<P><FONT SIZE=3D2>Subject: RE: [AAA-WG]: Diam CC (AA interrogation in =
initial CC request)</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Christopher</FONT>
</P>

<P><FONT SIZE=3D2>as I understand, RFC 3588 explicitly differentiates =
between new accounting applications and authentication applications. =
Therefore I would not be in favour of mixing the two, otherwise we will =
end up overloading DCC with NASREQ issues, EAP issues and the =
like.</FONT></P>

<P><FONT SIZE=3D2>Cheers,</FONT>
<BR><FONT SIZE=3D2>Mark</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Christopher Richards [<A =
HREF=3D"mailto:crich@nortelnetworks.com">mailto:crich@nortelnetworks.com=
</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: 31 October 2003 00:04</FONT>
<BR><FONT SIZE=3D2>To: 'Harri Hakala (TU/LMF)'; aaa-wg@merit.edu</FONT>
<BR><FONT SIZE=3D2>Cc: Leena Mattila (TU/LMF); =
juha-pekka.koskinen@nokia.com; john.loughney@nokia.com; =
Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB); =
'marco.stura@nokia.com'</FONT></P>

<P><FONT SIZE=3D2>Subject: RE: [AAA-WG]: Diam CC (AA interrogation in =
initial CC request)</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Thank you Harri for your response.</FONT>
</P>

<P><FONT SIZE=3D2>I would like to propose modifications to allow the =
Diameter CC client to include AA authentication and authorisation =
parameters in the initial CCR.</FONT></P>

<P><FONT SIZE=3D2>In fact, the existing figure 1 (page 9) has exactly =
this scenario.</FONT>
</P>

<P><FONT SIZE=3D2>Whether a AA server is fitted out with a CC client or =
a CC server has the capability to perform AA functions is fairly =
arbitrary. I could argue that in the case where a subscriber has a =
centralized account, it makes sense that the same function performing =
the credit control also performs the authentication &amp; authorisation =
(session / access control). </FONT></P>

<P><FONT SIZE=3D2>From a technical point of view - I would say that it =
is better to try to not impact any existing interfaces (AA) by adding =
new AVPs and functionality. Instead, build the functionality existing =
in existing protocols into the new one. I.e. Have Diameter CC =
application perform AA roles.</FONT></P>

<P><FONT SIZE=3D2>The beauty of this is that is more easily enables a =
merging of both pre- and post-paid services in the future - removing =
the artificial separation of pre-paid and post-paid accounts. And =
brings 3GPP and 3GPP2 closer together. </FONT></P>

<P><FONT SIZE=3D2>At the very least, the option should be allowed and =
described in the document.</FONT>
</P>

<P><FONT SIZE=3D2>I propose changing the text on page 17 from:-</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; Two different approaches are =
defined for the first interrogation to </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; suit properly in all the possible =
architectures. The first approach </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; uses credit-control messages =
after user's authorization and </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; authentication took place. The =
second approach uses service specific</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; authorization messages to perform =
the first interrogation during the</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; user's =
authorization/authentication phase, and credit-control </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; messages for the intermediate and =
the final interrogations. </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; In case an implementation of the =
credit-control client supports both</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; the methods, it SHOULD be =
configurable what method to use. </FONT>
</P>

<P><FONT SIZE=3D2>to:-</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; Three different approaches are =
defined for the first interrogation to </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; suit properly in all the possible =
architectures. The first approach </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; uses credit-control messages =
after user's authorization and </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; authentication took place. The =
second approach uses service specific</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; authorization messages to perform =
the first interrogation during the</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; user's =
authorization/authentication phase, and credit-control </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; messages for the intermediate and =
the final interrogations. </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; The third approach uses AA =
specific AVPs in the initial Diameter Credit</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; Control Request message.</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; In case an implementation of the =
credit-control client supports two or</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; more of the methods, it SHOULD be =
configurable what method to use. </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Add sub clause 5.1.3:- </FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;5.1.3 Authorization In First Credit Control =
Interrogation </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; The Diameter credit-control =
client in the service element MAY</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; include the =
authorization/authentication functionality in </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; the construction of the CC =
request by adding appropriate AA</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; AVPs to the CCR message. The =
credit-control client MUST add</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; the AA AVPs to indicate =
authorization/authentication is requested.</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; The Diameter CC server determines =
whether or not </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; subscriber authentication / =
authorization is required. Subscriber</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; authorization/authentication MAY =
be performed by the CC server</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; or may be forwarded to the home =
AA server as necessary.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; The following diagram illustrates =
the use of authorization / </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; authentication AVPs in the first =
Credit Control Request. The </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; parallel accounting stream is not =
shown in the figure. </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; =
End-User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service =
Element&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CC =
Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
AAA</FONT>
<BR><FONT SIZE=3D2>Server </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (CC =
Client)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Service =
Request&nbsp;&nbsp; | CC Request (AA =
AVPs)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|------------------&gt;|-------------------&gt;|&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | AAR (Initial, AA =
AVPs)</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |-------------------&gt;| =
</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; AAA (AA =
AVPs)&nbsp;&nbsp; |</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&lt;-------------------| =
</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | CC Answer(Granted-Units, AA =
AVPs)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Service =
Delivery&nbsp; =
|&lt;-------------------|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | =
</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&lt;-----------------&gt;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | =
CCR(Update,Used-Units)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |-------------------&gt;| </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; =
CCA(Granted-Units)|</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&lt;-------------------|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | End of =
Service&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|------------------&gt;| =
CCR(Termination,Used-Units)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |-------------------&gt;| </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; CCA |</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&lt;-------------------|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Figure 5: Protocol example with use =
of the CCR</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; messages for the first authorization interrogation. </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;5.2 Intermediate Interrogation&nbsp; </FONT>
</P>

<P><FONT SIZE=3D2>Please let me know if this is OK.</FONT>
</P>

<P><FONT SIZE=3D2>Cheers, </FONT>
<BR><FONT SIZE=3D2>Chris. </FONT>
<BR><FONT SIZE=3D2>Shasta Wireless Development </FONT>
<BR><FONT SIZE=3D2>Nortel Networks </FONT>
<BR><FONT SIZE=3D2>Telephone: </FONT>
<BR><FONT SIZE=3D2>+1 972 684 3281</FONT>
<BR><FONT SIZE=3D2>ESN 444 3281 </FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Harri Hakala (TU/LMF) [<A =
HREF=3D"mailto:harri.hakala@ericsson.com">mailto:harri.hakala@ericsson.c=
om</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Monday, October 27, 2003 1:07 AM</FONT>
<BR><FONT SIZE=3D2>To: Richards, Christopher [RICH2:2Q40:EXCH]; =
aaa-wg@merit.edu</FONT>
<BR><FONT SIZE=3D2>Cc: Leena Mattila (TU/LMF); =
juha-pekka.koskinen@nokia.com; john.loughney@nokia.com; =
Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB); =
'marco.stura@nokia.com'</FONT></P>

<P><FONT SIZE=3D2>Subject: RE: [AAA-WG]: Diam CC questions</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi Christopher,</FONT>
</P>

<P><FONT SIZE=3D2>Thank you for your comments and suggestions.</FONT>
<BR><FONT SIZE=3D2>For a start answers to your first questions.</FONT>
</P>

<P><FONT SIZE=3D2>I'm not sure that the assumption regarding different =
service environments for MIP and 3GPP is true. At best this is an =
opinion which may or may not be correct. Personally, I do not think =
that there will be a simple distinction like this. Would it be best to =
remove this - if for no reason other brevity? I think that you are =
right. The CCA-01 version should fix this. My main question: Is there =
an overriding technical reason why Diameter credit-control AVPs are =
added to&nbsp; AA request and not the other way around when the initial =
AAA interrogation is made? I.e. Would it not be a cleaner solution to =
add AA AVPs to the Diameter credit-control client request. In this way, =
there is no &quot;leakage&quot; of the Diameter credit-control =
application into existing AA applications. Instead, the AA applications =
actually can be used to enhance the Diameter CC capabilities. If there =
is no technical reason, then I would like to propose that</FONT></P>

<P><FONT SIZE=3D2>either:- </FONT>
<BR><FONT SIZE=3D2>(a) Replacing the existing text with text that =
states AA AVPs are added to Diameter credit-control requests. </FONT>
<BR><FONT SIZE=3D2>(b) Adding text that states AA AVPs are added to =
Diameter credit-control requests as a third option for the combining of =
the initial AAA request. The principle is to use the credit control =
messages only for credit authorization. The authentication and =
authorization is largely service specific that is why different =
Diameter applications have been required for authentication &amp; =
authorization. I assume that it is not desired to use credit control =
messages also for service specific authentication and authorization, =
especially when the client doesn't necessarily know whether the user is =
'prepaid' user prior to sending the CCR message. In circumstances where =
majority of the users are still 'postpaid' users, this may lead to =
situations where the initial credit control messages would be mostly =
used for authentication and service authorization. =
Regards.........Harri -----Original Message-----</FONT></P>

<P><FONT SIZE=3D2>From: Christopher Richards [<A =
HREF=3D"mailto:crich@nortelnetworks.com">mailto:crich@nortelnetworks.com=
</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: 24. lokakuuta 2003 23:48</FONT>
<BR><FONT SIZE=3D2>To: aaa-wg@merit.edu</FONT>
<BR><FONT SIZE=3D2>Cc: Harri Hakala (TU/LMF); Leena Mattila (TU/LMF); =
juha-pekka.koskinen@nokia.com; john.loughney@nokia.com; =
Benni.Alexander@nokia.com; patrik.teppo@po.org</FONT></P>

<P><FONT SIZE=3D2>Subject: [AAA-WG]: Diam CC questions</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hello All, </FONT>
<BR><FONT SIZE=3D2>I have a couple of questions regarding the Diameter =
Credit Control draft. </FONT>
<BR><FONT SIZE=3D2>In clause 2 and 4.2, the document discusses the =
capability to combine credit authorisation with service specific =
authorisation and authentication. (Note: on page 20, clause 4.1.1 seems =
mis-numbered) 2. Architecture Models </FONT></P>

<P><FONT SIZE=3D2>[snip] </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; In servive environments such as the =
Network Access Server (NAS) and </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; Mobile IP, it is a requirement to =
perform the first interrogation as </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; part of the =
authorization/authentication process for the sake of </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; protocol efficiency. Further credit =
authorizations after the first </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; interrogation took place are performed =
with credit control commands </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; defined in this specification. =
Implementations of credit-control </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; client operating in the mentioned =
environments SHOULD support this </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; method. In case the credit-control =
server and AAA server are separate</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp; physical entities the service element =
send the request messages to </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; the AAA server, which then issue an =
appropriate request or proxy the </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; received request forward to the =
credit-control server. </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; In other service environments, such as =
the 3GPP network and some SIP </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; scenario, there is a substantial =
decoupling between </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; registration/access to the network and =
the actual service request </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; (i.e. the authentication/authorization =
is executed once at </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; registration/access to the network and =
is not executed for every </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; service event requested by the =
subscriber). In such environments it </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; is more appropriate to perform the =
first interrogation after the user</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp; has been authenticated and authorized. =
The first interrogation as </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; well as intermediate and final =
interrogations is executed with credit</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp; control commands defined in this =
specification. Implementations of </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; credit-control client operating in 3GPP =
environment SHOULD support </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; this method. In 3GPP environment the =
service element sends the </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; request message directly to the =
credit-control server. </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>4.2 Authorization Messages for First Interrogation =
</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; In the second approach, the Diameter =
credit-control client in the </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; service element MUST actively =
contribute with the </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; authorization/authentication client in =
the construction of the AA </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; request by adding appropriate credit =
control AVPs. </FONT>
<BR><FONT SIZE=3D2>[snip] </FONT>
<BR><FONT SIZE=3D2>I'm not sure that the assumption regarding different =
service environments for MIP and 3GPP is true. At best this is an =
opinion which may or may not be correct. Personally, I do not think =
that there will be a simple distinction like this. Would it be best to =
remove this - if for no reason other brevity? My main question: Is =
there an overriding technical reason why Diameter credit-control AVPs =
are added to a AA request and not the other way around when the initial =
AAA interrogation is made? I.e. Would it not be a cleaner solution to =
add AA AVPs to the Diameter credit-control client request. In this way, =
there is no &quot;leakage&quot; of the Diameter credit-control =
application into existing AA applications. Instead, the AA applications =
actually can be used to enhance the Diameter CC capabilities. If there =
is no technical reason, then I would like to propose that</FONT></P>

<P><FONT SIZE=3D2>either:- </FONT>
<BR><FONT SIZE=3D2>(a) Replacing the existing text with text that =
states AA AVPs are added to Diameter credit-control requests. </FONT>
<BR><FONT SIZE=3D2>(b) Adding text that states AA AVPs are added to =
Diameter credit-control requests as a third option for the combining of =
the initial AAA request.</FONT></P>
<BR>

<P><FONT SIZE=3D2>On a different subject: Multi-quotas and =
Used-Service-Units &amp; Granted-Service-Unit structure. </FONT>
<BR><FONT SIZE=3D2>The inclusion of trigger/action/trigger-value and =
cause fields within the Granted-Service-Unit structure. </FONT>
<BR><FONT SIZE=3D2>A Granted-Service-Unit is really the permission to =
use a resource until some limit is reached or some other session =
properties change. The permission may be granted only for the =
consumption of a particular resource or category of resource. The =
current draft has most of these attributes already defined for the =
Granted-Service-Unit. However, it seems to be missing the ability to =
instruct the CC client what actions to take in the event of certain =
session events. I propose the addition of Triggers, trigger-actions and =
trigger-values for the Granted-Service-Unit AVP. Triggers are such =
things as: Time changes or changes to the QoS characteristics of a =
session or a change in user location (for 3GPP) or quota usage =
threshold or quota idle time. Associated with these triggers are =
actions that should be taken upon the trigger. Examples of actions =
could include: re-authorise quota, return quota and block further =
traffic. Some trigger/actions require a trigger value. For example, the =
&quot;Idle quota&quot; trigger, may have an action of &quot;return =
quota&quot; and a trigger value of &quot;600 seconds&quot;. In other =
words, if this quota has not been used for 600 seconds, return it to =
the Diameter CC server.</FONT></P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Trigger ::=3D &lt; AVP Header: TBD &gt; </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { Trigger-Id =
} </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { =
Trigger-Action } </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
Trigger-Value ] </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Granted-Service-Unit ::=3D &lt; AVP Header: TBD &gt; </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { =
Cause-Id } </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Time ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Money ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Total-Octets ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Input-Octets ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Output-Octets ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Service-Specific-Units ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *[ =
Service-Identifier ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
Rating-Group ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *[ Trigger ] =
</FONT>
<BR><FONT SIZE=3D2>Cause fields are used in each Used-Service-Unit and =
Granted-Service-Unit AVP response. E.g. When a client returns a quota =
to the server, the cause field is used to indicate why the quota is =
being returned. In a Granted-Service-Unit AVP response, the server =
indicates if the Granted-Service-Unit is successfully requested and if =
not, why.</FONT></P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Cause-Id ::=3D &lt; AVP Header: TBD &gt; </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { =
Cause-Value } </FONT>
<BR><FONT SIZE=3D2>E.g. </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; Used-Service-Unit ::=3D &lt; AVP Header: TBD &gt; </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { Cause-Value } =
</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Time ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Money ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Total-Octets ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Input-Octets ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Output-Octets ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
CC-Service-Specific-Units ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *[ =
Service-Identifier ] </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
Rating-Group ] </FONT>
<BR><FONT SIZE=3D2>For example, in the Used-Service-Units AVP, the =
cause may be set to &quot;return of idle quota&quot;. The Diameter CC =
server, would then know not to return any more Granted-Service-Unit AVP =
for this Service-Identifier.&nbsp; </FONT></P>

<P><FONT SIZE=3D2>In the Granted-Service-Unit, the cause may indicate =
that the request was denied due to &quot;too many Granted-Service-Units =
in use&quot;. The client could then take action to return idle =
Granted-Service-Unit quotas. </FONT></P>
<BR>

<P><FONT SIZE=3D2>Please let me know your thoughts and suggestions =
regarding these proposals. If you agree I will prepare a formal change. =
Cheers, </FONT></P>

<P><FONT SIZE=3D2>Chris Richards. </FONT>
<BR><FONT SIZE=3D2>Shasta Wireless Development </FONT>
<BR><FONT SIZE=3D2>Nortel Networks </FONT>
<BR><FONT SIZE=3D2>Telephone: </FONT>
<BR><FONT SIZE=3D2>+1 972 684 3281</FONT>
<BR><FONT SIZE=3D2>ESN 444 3281 </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C39F4A.11EB5EA0--


From owner-aaa-wg@merit.edu  Fri Oct 31 11:34:20 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06323
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:34:19 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id B03C4912EE; Fri, 31 Oct 2003 09:46:52 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 7D8DA912F0; Fri, 31 Oct 2003 09:46:52 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id D7CFD912EE
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 09:46:50 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id BDFB15DDCF; Fri, 31 Oct 2003 09:46:50 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from zsc3s004.nortelnetworks.com (h65s138a81n47.user.nortelnetworks.com [47.81.138.65])
	by segue.merit.edu (Postfix) with ESMTP id 4B5BC5DDCC
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 09:46:50 -0500 (EST)
Received: from zrc2c011.us.nortel.com (zrc2c011.us.nortel.com [47.103.120.51])
	by zsc3s004.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h9VEkTk11195;
	Fri, 31 Oct 2003 06:46:29 -0800 (PST)
Received: by zrc2c011.us.nortel.com with Internet Mail Service (5.5.2653.19)
	id <VRPJ0AXZ>; Fri, 31 Oct 2003 08:46:29 -0600
Message-ID: <161AA64DA85DFC4BA4D2EB5629B597535E8957@zrc2c012.us.nortel.com>
From: "Christopher Richards" <crich@nortelnetworks.com>
To: "'marco.stura@nokia.com'" <marco.stura@nokia.com>, mgrayson@cisco.com,
        harri.hakala@ericsson.com
Cc: leena.mattila@ericsson.com, juha-pekka.koskinen@nokia.com,
        john.loughney@nokia.com, Benni.Alexander@nokia.com,
        patrik.teppo@ericsson.com, aaa-wg@merit.edu
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Fri, 31 Oct 2003 08:46:29 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39FBD.C4A61A62"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C39FBD.C4A61A62
Content-Type: text/plain

Hi Marco, all,
 
I was not suggesting making this approach mandatory - just another optional
mechanism.
 
If we agree that it is very inefficient to do 2 sets of requests/responses
for every call setup - and that including CC information in an initial AA
request is OK, I cannot see why including AA information (Whether that be
RADIUS or NASREQ or whatever) in the Diameter CC request is so bad.
 
The message flow already exists. Most of the AVPs already exist. I am
proposing adding just user name/password/PAP/CHAP information.
 
By maintaining RADIUS for the initial interrogation, you are forcing new CC
server implementations to support both RADIUS and Diameter stacks, or force
each session setup to perform two sets of requests/responses or force the
network RADIUS server to perform Diameter proxy functions --- none of these
options are particularly attractive - it adds complexity, setup latency and
cost to provide the service.
 
Imagine how much easier it could be to do it all in one shot to one
functional entity.

Cheers, 
Chris. 

-----Original Message-----
From: marco.stura@nokia.com [mailto:marco.stura@nokia.com] 
Sent: Friday, October 31, 2003 2:01 AM
To: Richards, Christopher [RICH2:2Q40:EXCH]; mgrayson@cisco.com;
harri.hakala@ericsson.com
Cc: leena.mattila@ericsson.com; juha-pekka.koskinen@nokia.com;
john.loughney@nokia.com; Benni.Alexander@nokia.com;
patrik.teppo@ericsson.com; aaa-wg@merit.edu
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)



Hi,
 
Christopher Richards wrote:

Credit control really is in both realms - accounting and
authorisation/authentication. 

This has been extensilvely discussed before the CCA was accepted as a AAA WG
item, the conclusion has been that credit control is definitely in the
authorization space. This is why the CCA is an authorization application and
I would stick on this.

Mixing applications is already described in the Diam CC draft (Adding DCC
AVPs to the AA messages). I'm only proposing the logical mirror of the
existing mixing.

To me, it seems cleaner than impacting an already existing protocol with new
features. Better to build existing features & functionality into the new
protocol.

 
Mark Grayson wrote:

as I understand, RFC 3588 explicitly differentiates between new accounting
applications and authentication applications. Therefore I would not be in
favour of mixing the two, otherwise we will end up overloading DCC with
NASREQ issues, EAP issues and the like.

I strongly agree with Mark. Please note that we are not mixing applications
with the current approach, while with Chris approach we would do. The
mechanism described is heavily relying on the service specific
authentication/authorization applications to perform the tasks they are
designed for. The only addition in the AA command (and AA here doesn't mean
NASREQ only), is an indication of credit control capabilities, the mechanism
is mirrored from the RADIUS model and also facilitate RADIUS/DIAMETER IOP.

As a conclusion I wouldn't like to see yet another option, rather I would
stick on the existing RADIUS model for
performing the first interrogation.
 
Regards
Marco


------_=_NextPart_001_01C39FBD.C4A61A62
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 5.50.4933.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff size=2>Hi 
Marco, all,</FONT></SPAN></DIV>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff size=2>I was 
not suggesting making this approach mandatory - just another optional 
mechanism.</FONT></SPAN></DIV>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff size=2>If we 
agree that it is very inefficient to do 2 sets of requests/responses for every 
call setup - and that including CC information in an initial AA request is OK, I 
cannot see why including AA information (Whether that be RADIUS or NASREQ or 
whatever) in the Diameter CC request is so bad.</FONT></SPAN></DIV>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff size=2>The 
message flow already exists. Most of the AVPs already exist. I am proposing 
adding just user name/password/PAP/CHAP information.</FONT></SPAN></DIV>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=309043114-31102003></SPAN><!--StartFragment --><SPAN 
class=309043114-31102003><FONT face=Arial color=#0000ff size=2>By maintaining 
RADIUS for the initial interrogation, you are forcing new CC server 
implementations to support both RADIUS and Diameter stacks, or force each 
session setup to perform two sets of requests/responses or force the network 
RADIUS server to perform Diameter proxy functions --- none of these options are 
particularly attractive - it adds complexity, setup latency and cost to provide 
the service.</FONT></SPAN></DIV>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=309043114-31102003><FONT face=Arial color=#0000ff 
size=2>Imagine how much easier it could be to do it all in one shot to one 
functional entity.</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><B><FONT face=Arial size=2>Cheers,</FONT></B> <BR><B><FONT face=Arial 
size=2>Chris.</FONT></B> </P>
<P><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
marco.stura@nokia.com [mailto:marco.stura@nokia.com] <BR><B>Sent:</B> Friday, 
October 31, 2003 2:01 AM<BR><B>To:</B> Richards, Christopher [RICH2:2Q40:EXCH]; 
mgrayson@cisco.com; harri.hakala@ericsson.com<BR><B>Cc:</B> 
leena.mattila@ericsson.com; juha-pekka.koskinen@nokia.com; 
john.loughney@nokia.com; Benni.Alexander@nokia.com; patrik.teppo@ericsson.com; 
aaa-wg@merit.edu<BR><B>Subject:</B> RE: [AAA-WG]: Diam CC (AA interrogation in 
initial CC request)<BR><BR></FONT></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff 
  size=2>Hi,</FONT></SPAN></DIV>
  <DIV><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=311243907-31102003><FONT color=#0000ff>
  <P><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff 
  size=2>Christopher Richards wrote:</FONT></SPAN></P>
  <P><SPAN class=311243907-31102003><FONT face=Arial color=#000000 size=2>Credit 
  control really is in both realms - accounting and 
  authorisation/authentication. </FONT></SPAN></P>
  <DIV><SPAN class=311243907-31102003><FONT size=2><FONT face=Arial><FONT 
  color=#0000ff>This has been extensilvely discussed before</FONT> <FONT 
  color=#0000ff>the CCA was accepted as a AAA WG item, the conclusion has been 
  that credit control is definitely in the authorization space. This is why the 
  CCA is an authorization application and I would stick on 
  this.</FONT></FONT></FONT></SPAN></DIV>
  <DIV>
  <P><FONT face=Arial color=#000000 size=2>Mixing applications is already 
  described in the Diam CC draft (Adding DCC AVPs to the AA messages). I'm only 
  proposing the logical mirror of the existing mixing.</FONT></P>
  <P><FONT face=Arial color=#000000 size=2>To me, it seems cleaner than 
  impacting an already existing protocol with new features. Better to build 
  existing features &amp; functionality into the new 
  protocol.</FONT></P></DIV></FONT></SPAN></DIV>
  <DIV><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff size=2>Mark 
  Grayson wrote:</FONT></SPAN></DIV>
  <DIV>
  <P><FONT size=2>as I understand, RFC 3588 explicitly differentiates between 
  new accounting applications and authentication applications. Therefore I would 
  not be in favour of mixing the two, otherwise we will end up overloading DCC 
  with NASREQ issues, EAP issues and the like.</FONT></P>
  <P><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff 
  size=2>I&nbsp;strongly agree with Mark. Please note that we are not mixing 
  applications with the current approach, while with Chris approach we would do. 
  The mechanism described is heavily relying on the service specific 
  authentication/authorization applications to perform the tasks they are 
  designed for. The only addition in the AA command (and AA here doesn't mean 
  NASREQ only), is an indication of credit control capabilities, the mechanism 
  is&nbsp;mirrored from the RADIUS model and also facilitate RADIUS/DIAMETER 
  IOP.</FONT></SPAN></P></DIV>
  <DIV><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff size=2>As a 
  conclusion I wouldn't like to see yet another&nbsp;option, rather I would 
  stick on the existing RADIUS model for</FONT></SPAN></DIV>
  <DIV><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff 
  size=2>performing the first interrogation.</FONT></SPAN></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff 
  size=2>Regards</FONT></SPAN></DIV>
  <DIV><SPAN class=311243907-31102003><FONT face=Arial color=#0000ff 
  size=2>Marco</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C39FBD.C4A61A62--


From owner-aaa-wg@merit.edu  Fri Oct 31 11:39:10 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06620
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:39:09 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id 5C22C912F2; Fri, 31 Oct 2003 09:49:12 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 85C14912F3; Fri, 31 Oct 2003 09:49:10 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 62133912F0
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 09:49:08 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 4BC8C5DE27; Fri, 31 Oct 2003 09:49:08 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from zrc2s0jx.nortelnetworks.com (zrc2s0jx.nortelnetworks.com [47.103.122.112])
	by segue.merit.edu (Postfix) with ESMTP id C3F695DDC9
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 09:49:07 -0500 (EST)
Received: from zrc2c011.us.nortel.com (zrc2c011.us.nortel.com [47.103.120.51])
	by zrc2s0jx.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h9VEmLN14914;
	Fri, 31 Oct 2003 08:48:21 -0600 (CST)
Received: by zrc2c011.us.nortel.com with Internet Mail Service (5.5.2653.19)
	id <VRPJ0AZW>; Fri, 31 Oct 2003 08:48:21 -0600
Message-ID: <161AA64DA85DFC4BA4D2EB5629B597535E8958@zrc2c012.us.nortel.com>
From: "Christopher Richards" <crich@nortelnetworks.com>
To: "'john.loughney@nokia.com'" <john.loughney@nokia.com>, aaa-wg@merit.edu
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Fri, 31 Oct 2003 08:48:19 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39FBD.D04CB830"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C39FBD.D04CB830
Content-Type: text/plain

Thanks John,

I'll take a look at the thread.

I'm not saying that the current proposal is broken - just lacking and
inefficient.

Since we're at the draft stage now, it seems like a good time to propose
making improvements to the existing mechanism. It's not too late for that I
trust?

Cheers,
Chris.


-----Original Message-----
From: john.loughney@nokia.com [mailto:john.loughney@nokia.com] 
Sent: Friday, October 31, 2003 2:18 AM
To: Richards, Christopher [RICH2:2Q40:EXCH]; aaa-wg@merit.edu
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)


Hi Christopher,

> Credit control really is in both realms - accounting and 
> authorisation/authentication.
> Mixing applications is already described in the Diam CC draft (Adding DCC
AVPs to the AA 
> messages). I'm only proposing the logical mirror of the existing mixing.
> 
> To me, it seems cleaner than impacting an already existing protocol 
> with new features.
> Better to build existing features & functionality into the new protocol.

The issue of accounting vs authorization has been discussed on the mailing
list, there are two issues filed about this already, which can be found
here:

http://www.drizzle.com/~aboba/AAA/issues.html

Unless you can find some reasons why the current model the CCA has proposed
is broken, I suggest we don't revisit this issue.

thanks,
John

------_=_NextPart_001_01C39FBD.D04CB830
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2656.31">
<TITLE>RE: [AAA-WG]: Diam CC (AA interrogation in initial CC =
request)</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Thanks John,</FONT>
</P>

<P><FONT SIZE=3D2>I'll take a look at the thread.</FONT>
</P>

<P><FONT SIZE=3D2>I'm not saying that the current proposal is broken - =
just lacking and inefficient.</FONT>
</P>

<P><FONT SIZE=3D2>Since we're at the draft stage now, it seems like a =
good time to propose making improvements to the existing mechanism. =
It's not too late for that I trust?</FONT></P>

<P><FONT SIZE=3D2>Cheers,</FONT>
<BR><FONT SIZE=3D2>Chris.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: john.loughney@nokia.com [<A =
HREF=3D"mailto:john.loughney@nokia.com">mailto:john.loughney@nokia.com</=
A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Friday, October 31, 2003 2:18 AM</FONT>
<BR><FONT SIZE=3D2>To: Richards, Christopher [RICH2:2Q40:EXCH]; =
aaa-wg@merit.edu</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [AAA-WG]: Diam CC (AA interrogation in =
initial CC request)</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi Christopher,</FONT>
</P>

<P><FONT SIZE=3D2>&gt; Credit control really is in both realms - =
accounting and </FONT>
<BR><FONT SIZE=3D2>&gt; authorisation/authentication.</FONT>
<BR><FONT SIZE=3D2>&gt; Mixing applications is already described in the =
Diam CC draft (Adding DCC AVPs to the AA </FONT>
<BR><FONT SIZE=3D2>&gt; messages). I'm only proposing the logical =
mirror of the existing mixing.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; To me, it seems cleaner than impacting an =
already existing protocol </FONT>
<BR><FONT SIZE=3D2>&gt; with new features.</FONT>
<BR><FONT SIZE=3D2>&gt; Better to build existing features &amp; =
functionality into the new protocol.</FONT>
</P>

<P><FONT SIZE=3D2>The issue of accounting vs authorization has been =
discussed on the mailing list, there are two issues filed about this =
already, which can be found here:</FONT></P>

<P><FONT SIZE=3D2><A =
HREF=3D"http://www.drizzle.com/~aboba/AAA/issues.html" =
TARGET=3D"_blank">http://www.drizzle.com/~aboba/AAA/issues.html</A></FON=
T>
</P>

<P><FONT SIZE=3D2>Unless you can find some reasons why the current =
model the CCA has proposed is broken, I suggest we don't revisit this =
issue.</FONT></P>

<P><FONT SIZE=3D2>thanks,</FONT>
<BR><FONT SIZE=3D2>John</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C39FBD.D04CB830--


From owner-aaa-wg@merit.edu  Fri Oct 31 11:39:10 2003
Received: from trapdoor.merit.edu (trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06621
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:39:09 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id BB822912CD; Thu, 30 Oct 2003 19:38:57 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 425E1912CE; Thu, 30 Oct 2003 19:38:56 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id CDCEB912CD
	for <aaa-wg@trapdoor.merit.edu>; Thu, 30 Oct 2003 19:38:53 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id AFEED5DE7E; Thu, 30 Oct 2003 19:38:53 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from zsc3s004.nortelnetworks.com (h65s138a81n47.user.nortelnetworks.com [47.81.138.65])
	by segue.merit.edu (Postfix) with ESMTP id E1FF65DE58
	for <aaa-wg@merit.edu>; Thu, 30 Oct 2003 19:38:52 -0500 (EST)
Received: from zrc2c011.us.nortel.com (zrc2c011.us.nortel.com [47.103.120.51])
	by zsc3s004.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h9V0cfG24272;
	Thu, 30 Oct 2003 16:38:42 -0800 (PST)
Received: by zrc2c011.us.nortel.com with Internet Mail Service (5.5.2653.19)
	id <VRPJ98YR>; Thu, 30 Oct 2003 18:38:42 -0600
Message-ID: <161AA64DA85DFC4BA4D2EB5629B597535E8952@zrc2c012.us.nortel.com>
From: "Christopher Richards" <crich@nortelnetworks.com>
To: "'marco.stura@nokia.com'" <marco.stura@nokia.com>
Cc: Harri.Hakala@ericsson.fi, Leena.Mattila@ericsson.fi,
        juha-pekka.koskinen@nokia.com, john.loughney@nokia.com,
        Benni.Alexander@nokia.com, patrik.teppo@po.org, aaa-wg@merit.edu
Subject: RE: [AAA-WG]: Diam CC Quota Triggers
Date: Thu, 30 Oct 2003 18:38:41 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39F47.5519638C"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C39F47.5519638C
Content-Type: text/plain

Hi Marco,
 
Thanks for your reply. I decided to address the different questions I raised
in separate emails to make it simpler.
 
I think that there is real value in having per-quota level triggers, actions
and "reason/cause" codes now that we have multiple quotas per message and
per session.
 
I've added some clarifications below.

Cheers, 
Chris. 

Shasta Wireless Development 
Nortel Networks 

Telephone: 
+1 972 684 3281 
ESN 444 3281 

-----Original Message-----
From: marco.stura@nokia.com [mailto:marco.stura@nokia.com] 
Sent: Monday, October 27, 2003 6:37 AM
To: Richards, Christopher [RICH2:2Q40:EXCH]
Cc: Harri.Hakala@ericsson.fi; Leena.Mattila@ericsson.fi;
juha-pekka.koskinen@nokia.com; john.loughney@nokia.com;
Benni.Alexander@nokia.com; patrik.teppo@po.org; aaa-wg@merit.edu
Subject: RE: [AAA-WG]: Diam CC questions



Hi Christopher,
 
thank you for your valuable comments.  
 
Harri already gave some answer to some of your questions, I try to address
the others. 
 
I think you have some good point here,  my comments in line.
 
Regards
Marco 
 
P.S.: In general I would suggest you review the draft 01, that should soon
appear in the IETF database, and continue the discussion based on this new
version of the credit control application. Let me know if you want the draft
01 immediately, in that case I 'll send the document directly to you. Hope
this is fine with you.
 
 
>On a different subject: Multi-quotas and Used-Service-Units &
Granted-Service-Unit structure. 
 
 [MSt]: I guess you refer to  enhancing  the issue I posted last week,
right?  Or at least to the multiple quotas in general. 
[Chris Richards ] Yes. I am very much in favour of the multiple quotas.
However, with this change comes some re-arrangement of information that is
associated to a quota - and not to a session. Therefore some information
needs to be specific to the Service-Unit AVP (Granted, requested & reported)
- and not at the scope of the entire message (session). 

>The inclusion of trigger/action/trigger-value and cause fields within the
Granted-Service-Unit structure. 

>A Granted-Service-Unit is really the permission to use a resource until
some limit is reached or
> some other session  properties change. The permission may be granted only
for the consumption of a particular resource 
>or category of resource.

[MSt]: The CC server grant permission to use resources according to the
funds available in the user account. If the server determines that usage of
certain resource or category of resource need not to be granted it won't
return quota associated to it.
[Chris Richards ] It may deny a previously granted quota - and do so for
many different reasons. It may also deny an initial request for a quota for
the same reasons. For example, the client requests for 3 different quotas on
behalf of the subscriber at session start. However, the server may decline
to provide Granted-Service-Units to one or more of them while allowing the
others (Providing Granted-Service-Units).

Now that we have multiple quota, we need to be able to treat each one
independently of the others. 

>The current draft has most of these attributes already defined for the
Granted-Service-Unit. However, it seems to be missing 
>the ability to instruct the CC client what actions to take in the event of
certain session events. I propose the addition of 
>Triggers, trigger-actions and trigger-values for the Granted-Service-Unit
AVP.
 
>Triggers are such things as: Time changes or changes to the QoS
characteristics of a session or a change in user location
> (for 3GPP) or quota usage threshold or quota idle time.
 
>Associated with these triggers are actions that should be taken upon the
trigger. Examples of actions could include: re-
>authorise quota, return quota and block further traffic.
 
>Some trigger/actions require a trigger value. For example, the "Idle quota"
trigger, may have an action of "return quota" 
>and  a trigger value of "600 seconds". In other words, if this quota has
not been used for 600 seconds, return it to the 
>Diameter CC server.
 
Trigger ::= < AVP Header: TBD > 
                     { Trigger-Id } 
                     { Trigger-Action } 
                     [ Trigger-Value ] 

         Granted-Service-Unit ::= < AVP Header: TBD > 
                                  { Cause-Id } 
                                  [ CC-Time ] 
                                  [ CC-Money ] 
                                  [ CC-Total-Octets ] 
                                  [ CC-Input-Octets ] 
                                  [ CC-Output-Octets ] 
                                  [ CC-Service-Specific-Units ] 
                                 *[ Service-Identifier ] 
                                  [ Rating-Group ] 
                                 *[ Trigger ] 

[MSt]: this feature concerning the QoS changes or other mid-session events
is already supported. The assumption is that, if mid-session events occur,
the granted quota(s) is(are) not valid anymore and the credit control client
need to perform credit re-authorization to the CC server, this is visible in
the state machine as well as in section 4. I would not introduce any
separate action: the client should send a CCR (update) when such events
occur. 
[Chris Richards ] The problem with the current definition is that it forces
all events to all quotas for all subscribers to be the same. However, for
some subscribers using some quotas, only some events need to be acted upon.
E.g. Not all QoS changes for all quotas should need to trigger a mid call
re-auth of the quota - it should be on a subscriber, quota and event -
basis.

 Concerning the quota idle time we have defined the Validity-time that is
used exactly for that purpose (i.e. return quota if not consumed within
Validity-Time). Validity-time applies to the whole credit reservation, that
is the asset to control. When thinking to multi-quotas, a single credit
reservation is kept for the credit control session and rating for all the
requested Rating-Groups and Service-Identifiers is performed against the
reserved credit (of course according to the cost of a given service or
rating group). Many of the issues you listed are already covered in the
current draft.
[Chris Richards ] The Validity-time has a different usage to the "Idle-Time"
trigger I gave as an example. The Validity-time seems to apply to the entire
session. However, the quota Idle-time is per-quota. It is a means of
ensuring that a subscribers account balance is not all allocated to a
session in many quotas when some of the quotas may no longer be needed and
the quota can be returned to the subscribers account for use elsewhere.
Again, Idle-time is just one example of the many quota-specific triggers --
events that are specific to a particular quota (Granted-Service-Unit).

BTW, We have stated that 'a change in rating condition' may trigger a
spontaneous update but this has been left totally for the client
implementation to decide what kind of change should be regarded important
from rating point of view. So, guidance from the CC server should be allowed
as well and you have a point here.  Why not to defne the Trigger AVP (maybe
in somewhat simpler format) in the CCA message level instead of embedding
that in the GSU AVP?
[Chris Richards ] Because it is specific to each quota
(Granted-Service-Unit). 

 Also, I agree with you that at least one of the things you listed is not
well covered yet , and you have another good point here as well . I'm
thinking to the time changes. While QoS changes and location changes occur
according to some sort of statistic model, thus a huge storm of CCR messages
due to such events is not likely to happen, the time change case may occur
for all the active subscribers at the same time. But I'm not sure the
Trigger AVP you propose cover my concern related to time changes, it seems
the CC client would potentially generate a huge storm of CCR. I think tariff
changes can be handled by including tariff-change time in the CCA (but would
not treat this as 'trigger') and by reporting used units twice (before and
after t-ch, for that we would need a new avp in the USU).  
[Chris Richards ] Excellent. 

>Cause fields are used in each Used-Service-Unit and Granted-Service-Unit
AVP response. E.g. When a client returns 
>quota to the server, the cause field is used to indicate why the quota is
being returned. In a Granted-Service-Unit AVP
> response, the server indicates if the Granted-Service-Unit is successfully
requested and if not, why.

         Cause-Id ::= < AVP Header: TBD > 
                      { Cause-Value } 

[MSt]: I think diameter result codes should be used instead of tailored
cause-id avp. There are few  cases  why the client would perform credit
re-authorization, but the reason is always "credit re-authorization":
 
1- The credit reservation has been consumed. This is determined by the fact
that no units are in possession of the CC client anymore (example for
multiple  quotas can be found in my issue at Flow xxx).
 
2- Mid-session event has occured. The CCR message would include the
mid-session event to be rated, the non-consumed reservation will be returned
to the user's account. The CC server can determine  the mid-session event
from the rating AVPs.
 
3- Validity-Time expires. The CC server is in control of this parameter, it
can determine whether the Validity-Time has expired and what to do next.
 
>For example, in the Used-Service-Units AVP, the cause may be set to "return
of idle quota". The Diameter CC server, 
>would then know not to return any more Granted-Service-Unit AVP for this
Service-Identifier. 
[Chris Richards ] The intention was to define a per-quota cause value. Since
each quota (Granted-Service-Unit) is an independent entity, each needs to be
able to inform the client why it was or was not successful. Having a single
cause at the message (session) level is not fine enough granularity. 
 
>In the Granted-Service-Unit, the cause may indicate that the request was
denied due to "too many Granted-Service-Units in
> use". The client could then take action to return idle
Granted-Service-Unit quotas. 
 
 [MSt]:  If the client terminates the end-user service and the CC session,
it would include the Termination-Cause AVP indicating the  reason. If the CC
server determines some error in the CCR message, it would return an
appropriate Result-Code AVP value.   In the multi-quota case, I don't see
needs to determine credit re-authorization upon a single G-S-U since the
asset to control is always the whole credit reservation.
[Chris Richards ] For example, subscriber wishes to use some service for
which he currently has no Granted-Service-unit. CC Client requests a quota
for this use from the server using the Requested-Service-Unit AVP. If the
users account is barred from using that service, the server can return a
cause indicating "quota declined for session duration" saving the CC client
from requesting the same quota again.
Also when a Reported-Service-Unit is returned to the CC server, it can
indicate what action the server should take based on the cause for return
value - "returning idle quota" will instruct the server not to re-authorise
this quota. Since more than one quota can now exist in a single CC message,
each needs to indicate independently why it is there.



>Please let me know your thoughts and suggestions regarding these proposals.
If you agree I will prepare a formal change. 

 [MSt]: I think it would be nice to address the following issues: tariff-
time  changes in both the single quota and  the multiple quotas cases;
guidance from the CC server concerning the mid-session events.
 
As I say, I'm not sure your current proposal is perfectly tailored to solve
these issues. I would see those as separate issues to be  addressed with
different AVPs. Perhaps you could define an AVP for the CC-ReAuth-Trigger
and some other mechanism for the tariff-time-change?  It would be great if
you can help find a solution to these issues. 


------_=_NextPart_001_01C39F47.5519638C
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 5.50.4933.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=812271300-31102003><FONT face=Arial color=#0000ff size=2>Hi 
Marco,</FONT></SPAN></DIV>
<DIV><SPAN class=812271300-31102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=812271300-31102003><FONT face=Arial color=#0000ff size=2>Thanks 
for your reply. I decided to address the different questions I raised in 
separate emails to make it simpler.</FONT></SPAN></DIV>
<DIV><SPAN class=812271300-31102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=812271300-31102003><FONT face=Arial color=#0000ff size=2>I 
think that there is real value in having per-quota level triggers, actions and 
"reason/cause" codes now that we have multiple quotas per message and per 
session.</FONT></SPAN></DIV>
<DIV><SPAN class=812271300-31102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=812271300-31102003>
<DIV><SPAN class=812271300-31102003><FONT face=Arial color=#0000ff size=2>I've 
added some clarifications below.</FONT></SPAN></DIV></SPAN></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2><STRONG>Cheers,</STRONG></FONT> <BR><B><FONT 
face=Arial size=2>Chris.</FONT></B> </P>
<P><B><FONT face=Arial size=2>Shasta Wireless Development</FONT></B> 
<BR><B><FONT face=Arial size=2>Nortel Networks</FONT></B> </P>
<P><B><FONT face=Arial size=2>Telephone:</FONT></B> <BR><B><FONT face=Arial 
size=2>+1 972 684 3281</FONT></B> <BR><B><FONT face=Arial size=2>ESN 444 
3281</FONT></B> </P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  marco.stura@nokia.com [mailto:marco.stura@nokia.com] <BR><B>Sent:</B> Monday, 
  October 27, 2003 6:37 AM<BR><B>To:</B> Richards, Christopher 
  [RICH2:2Q40:EXCH]<BR><B>Cc:</B> Harri.Hakala@ericsson.fi; 
  Leena.Mattila@ericsson.fi; juha-pekka.koskinen@nokia.com; 
  john.loughney@nokia.com; Benni.Alexander@nokia.com; patrik.teppo@po.org; 
  aaa-wg@merit.edu<BR><B>Subject:</B> RE: [AAA-WG]: Diam CC 
  questions<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff>
  <DIV><SPAN class=208201407-27102003><FONT size=2>Hi 
  Christopher,</FONT></SPAN></DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2>thank you for your valuable 
  comments.<SPAN class=859480812-27102003>&nbsp;</SPAN><SPAN 
  class=859480812-27102003>&nbsp;</SPAN></FONT></SPAN></DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=859480812-27102003></SPAN></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=859480812-27102003>Harri already&nbsp;gave some answer to some 
  of&nbsp;your questions, I try to address&nbsp;the 
  others.</SPAN></FONT></SPAN><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=859480812-27102003>&nbsp;</SPAN></FONT></SPAN></DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=859480812-27102003>I think you have&nbsp;some good&nbsp;point 
  here,&nbsp;&nbsp;m</SPAN>y comments in line.</FONT></SPAN></DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2>Regards</FONT></SPAN></DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2>Marco<SPAN 
  class=859480812-27102003>&nbsp;</SPAN></FONT></SPAN></DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=859480812-27102003></SPAN></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=859480812-27102003>P.S.: In general I would suggest you review the draft 
  01, that should soon appear in the IETF database, and continue the discussion 
  based on this new version of the credit control application. Let me know if 
  you want the draft 01 immediately, in that case I 'll send the document 
  directly to you. Hope this is fine with you.</SPAN></FONT></SPAN></DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=859480812-27102003></SPAN></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=208201407-27102003><SPAN class=208201407-27102003><FONT 
  size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=208201407-27102003>&gt;</SPAN>On a different subject: Multi-quotas and 
  Used-Service-Units &amp; Granted-Service-Unit structure. </FONT></SPAN></DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=859480812-27102003>&nbsp;[MSt]:&nbsp;</SPAN>I guess you refer 
  to&nbsp;<SPAN class=859480812-27102003>&nbsp;enhancing &nbsp;</SPAN>the issue 
  I posted last week, right?</FONT><SPAN class=859480812-27102003><FONT 
  size=2>&nbsp; Or at least to the multiple quotas in general.&nbsp;<BR><SPAN 
  class=812271300-31102003><FONT face=7x13 color=#000000>[Chris Richards 
  ]&nbsp;Yes. I am very much in favour of the multiple quotas. However, with 
  this change comes some re-arrangement of information that is associated to a 
  quota - and not to a session. Therefore some information needs to be specific 
  to the&nbsp;Service-Unit AVP (Granted, requested &amp; reported) - and 
  not&nbsp;at the&nbsp;scope of the entire message 
  (session).&nbsp;</FONT></SPAN></FONT></SPAN></DIV>
  <DIV>
  <P><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>The inclusion of 
  trigger/action/trigger-value and cause fields within the Granted-Service-Unit 
  structure. </FONT></P></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>A 
  Granted-Service-Unit is really the permission to use a resource until some 
  limit is reached or</FONT></DIV>
  <DIV><FONT size=2><SPAN 
  class=208201407-27102003>&gt;</SPAN>&nbsp;some&nbsp;other&nbsp;session&nbsp;<SPAN 
  class=208201407-27102003>&nbsp;</SPAN>properties change. The permission may be 
  granted only for the consumption of a particular resource </FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>or category of 
  resource.</FONT></DIV>
  <DIV>
  <P><SPAN class=208201407-27102003><FONT size=2>[MSt]: The CC server grant 
  permission to use resources according to the funds available in the user 
  account. If the server determines that usage of certain resource or category 
  of resource need not to be granted it won't return quota associated to 
  it.<BR><SPAN class=812271300-31102003><FONT face=7x13 color=#000000>[Chris 
  Richards ]&nbsp;It may deny a previously granted quota - and do so for many 
  different reasons. It may also deny an initial request for a quota for the 
  same reasons. For example, the client requests for 3 different quotas&nbsp;on 
  behalf of the subscriber at session start. However, the server may decline to 
  provide Granted-Service-Units to one or more of 
  them&nbsp;while&nbsp;allowing&nbsp;the others (Providing 
  Granted-Service-Units).</FONT></SPAN></FONT></SPAN></P>
  <P><SPAN class=208201407-27102003><FONT face=7x13 color=#000000 size=2><SPAN 
  class=812271300-31102003>Now that we have multiple quota, we need to be able 
  to&nbsp;treat each one independently of the 
  others.&nbsp;</SPAN></FONT></SPAN></P></DIV>
  <DIV><SPAN class=208201407-27102003></SPAN><FONT size=2><SPAN 
  class=208201407-27102003>&gt;</SPAN>The current draft has most of these 
  attributes already defined for the Granted-Service-Unit. However, it seems to 
  be missing </FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>the ability to 
  instruct the CC client what actions to take in the event of certain session 
  events. I propose the addition o<SPAN class=208201407-27102003>f 
  </SPAN></FONT></DIV>
  <DIV><SPAN class=208201407-27102003></SPAN><FONT size=2><SPAN 
  class=208201407-27102003>&gt;</SPAN>Triggers, trigger-actions and 
  trigger-values for the Granted-Service-Unit AVP.</FONT></DIV>
  <DIV><SPAN class=208201407-27102003><FONT size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>Triggers are such 
  things as: Time changes or changes to the QoS characteristics of a session or 
  a change in user location</FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>&nbsp;(for 3GPP) 
  or quota usage threshold or quota idle time.</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>Associated with 
  these triggers are actions that should be taken upon the trigger. Examples of 
  actions could include: re-</FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>authorise quota, 
  return quota and block further traffic.</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>Some 
  trigger/actions require a trigger value. For example, the "Idle quota" 
  trigger, may have an action of "return quota" </FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>and&nbsp;<SPAN 
  class=208201407-27102003>&nbsp;</SPAN>a trigger value of "600 seconds". In 
  other words, if this quota has not been used for 600 seconds, return it to the 
  </FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>Diameter CC 
  server.</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>Trigger ::= &lt; AVP Header: TBD &gt; 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 
  Trigger-Id } <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 
  Trigger-Action } <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ 
  Trigger-Value ] </FONT>
  <P><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Granted-Service-Unit ::= &lt; AVP Header: TBD &gt; 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  { Cause-Id } <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  [ CC-Time ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  [ CC-Money ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  [ CC-Total-Octets ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  [ CC-Input-Octets ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  [ CC-Output-Octets ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  [ CC-Service-Specific-Units ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  *[ Service-Identifier ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  [ Rating-Group ] <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  *[ Trigger ] </FONT></P></DIV>
  <DIV>
  <P><SPAN class=208201407-27102003><FONT size=2>[MSt]: this feature concerning 
  the QoS changes or other mid-session events is already supported. The 
  assumption is that, if mid-session events occur, the granted quota(s) is(are) 
  not valid anymore and the credit control client need to perform credit 
  re-authorization to the CC server, this is visible in the state machine as 
  well as in section 4. </FONT><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003>I&nbsp;would not introduce any separate action: the 
  client&nbsp;should send a CCR (update) when such events occur. <BR><SPAN 
  class=812271300-31102003><FONT face=7x13 color=#000000>[Chris Richards 
  ]&nbsp;The problem with the current definition is that it forces all events to 
  all quotas for all subscribers to be the same. However, for some subscribers 
  using some quotas, only some events need to be acted upon. E.g. Not all QoS 
  changes for all quotas should need to trigger a mid call re-auth of the quota 
  - it should be on a subscriber, quota and event - 
  basis.</FONT></SPAN></SPAN></SPAN></FONT></SPAN></P>
  <P><SPAN class=208201407-27102003><FONT size=2><SPAN 
  class=208201407-27102003><SPAN class=361093007-27102003><SPAN 
  class=812271300-31102003>&nbsp;</SPAN>Con</SPAN></SPAN>cerning the quota idle 
  time we have defined the Validity-time that is used exactly for that purpose 
  (i.e. return quota if not consumed within Validity-Time). Validity-time 
  applies to the whole credit reservation, that is the asset to control. When 
  thinking to multi-quotas, a single credit reservation is kept for the credit 
  control session and rating for all the requested Rating-Groups and 
  Service-Identifiers is performed against the reserved credit (of course 
  according to the cost of a given service or rating group).&nbsp;Many of the 
  issues you listed are already covered in the current draft.<BR><SPAN 
  class=812271300-31102003><FONT face=7x13 color=#000000>[Chris Richards 
  ]&nbsp;The Validity-time&nbsp;has a different usage to the "Idle-Time" trigger 
  I&nbsp;gave as an&nbsp;example. The Validity-time seems to apply to the entire 
  session. However, the quota Idle-time is per-quota. It is a means of ensuring 
  that&nbsp;a subscribers account balance is not all allocated to a 
  session&nbsp;in many quotas when some of the quotas may no longer be needed 
  and the quota can be returned to the subscribers account for use 
  elsewhere.&nbsp;Again, Idle-time is just one example of the many 
  quota-specific triggers -- events that are specific to a particular quota 
  (Granted-Service-Unit).</FONT></SPAN></FONT></SPAN></P>
  <P><SPAN class=208201407-27102003><FONT size=2>BTW, We have stated that 'a 
  change in rating condition' may&nbsp;trigger a spontaneous update but this has 
  been left totally for the client implementation to decide 
  what&nbsp;kind&nbsp;of change&nbsp;should be regarded important from rating 
  point of view.&nbsp;So,&nbsp;guidance from the CC server should be allowed as 
  well and you have a point here.&nbsp;</FONT><SPAN 
  class=859480812-27102003><FONT size=2>&nbsp;Why not to defne the Trigger AVP 
  (maybe in somewhat simpler format) in the CCA message level instead of 
  embedding that in the GSU AVP?<BR><SPAN class=812271300-31102003><FONT 
  face=7x13 color=#000000>[Chris Richards ]&nbsp;Because it is specific to each 
  quota (Granted-Service-Unit).</FONT>&nbsp;</SPAN></FONT></SPAN></SPAN></P>
  <P><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=859480812-27102003>&nbsp;</SPAN></SPAN><SPAN 
  class=208201407-27102003></SPAN><SPAN class=208201407-27102003>Also, I agree 
  with you that at least one of the&nbsp;things you listed is not well covered 
  yet<SPAN class=859480812-27102003>&nbsp;, and you have another good point here 
  as well&nbsp;</SPAN>. I'm thinking to the time changes. While QoS changes and 
  location changes occur according to some sort of statistic model, thus a huge 
  storm of CCR messages due to such events is not likely to happen, the time 
  change case may occur for all the active subscribers at the same time. But I'm 
  not sure&nbsp;the Trigger AVP you propose cover my concern related to time 
  changes, it seems the CC client would potentially generate a huge storm of 
  CCR. I think tariff changes can be handled by&nbsp;including tariff-change 
  time in the CCA (but would not&nbsp;treat this as 'trigger') and 
  by&nbsp;reporting used units twice (before and after&nbsp;t-ch,&nbsp;for that 
  we&nbsp;would need a&nbsp;new avp in the USU).</SPAN>&nbsp; <BR><SPAN 
  class=812271300-31102003><FONT face=7x13 color=#000000>[Chris Richards 
  ]&nbsp;Excellent.</FONT>&nbsp;</SPAN></FONT></P></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>Cause fields are 
  used in each Used-Service-Unit and Granted-Service-Unit AVP response. E.g. 
  When a client returns </FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>quota to the 
  server, the cause field is used to indicate why the quota is being returned. 
  In a Granted-Service-Unit AVP</FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>&nbsp;response, 
  the server indicates if the Granted-Service-Unit is successfully requested and 
  if not, why.</FONT></DIV>
  <DIV>
  <P><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cause-Id ::= 
  &lt; AVP Header: TBD &gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  { Cause-Value } </FONT></P></DIV>
  <DIV><FONT face=Arial color=#0000ff><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003><FONT size=2>[MSt]: I think diameter result codes 
  should be used instead of tailored cause-id avp.<FONT face="Times New Roman" 
  color=#000000>&nbsp;<FONT face=Arial color=#0000ff>There are few&nbsp;<SPAN 
  class=859480812-27102003>&nbsp;cases&nbsp;</SPAN> why the client would perform 
  credit re-authorization, but the reason is always "credit 
  re-authorization":</FONT></FONT></FONT></SPAN></SPAN></FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003></SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><SPAN class=208201407-27102003><SPAN class=361093007-27102003><FONT 
  size=2>1- The credit reservation has been consumed. This is determined by the 
  fact that no units are in possession of the CC client anymore (example 
  for&nbsp;<SPAN class=859480812-27102003>&nbsp;multiple 
  &nbsp;</SPAN>quotas&nbsp;can be found in my issue at Flow 
  xxx).</FONT></SPAN></SPAN></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003></SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003>2- Mid-session event has occured. The CCR message 
  would include the mid-session event to be rated, the non-consumed reservation 
  will be returned to the user's account. The CC server can determine&nbsp; the 
  mid-session event from the rating AVPs.</SPAN></SPAN></FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003></SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003>3- Validity-Time expires. The CC server is in control 
  of this parameter, it can determine whether the Validity-Time has expired and 
  what to do next.</SPAN></SPAN></FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003></SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>For example, in 
  the Used-Service-Units AVP, the cause may be set to "return of idle quota". 
  The Diameter CC server, </FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>would then know 
  not to return any more Granted-Service-Unit AVP for this 
  Service-Identifier.&nbsp;<BR><SPAN class=812271300-31102003><FONT face=7x13 
  color=#000000>[Chris Richards ]&nbsp;The intention was to define a per-quota 
  cause value.&nbsp;Since each quota (Granted-Service-Unit) is an independent 
  entity, each needs to be able to inform the client why it was or was not 
  successful. Having a single cause at the&nbsp;message (session) level is not 
  fine enough granularity.&nbsp;</FONT></SPAN></FONT></DIV>
  <DIV><FONT face=7x13 color=#000000 size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>In the 
  Granted-Service-Unit, the cause may indicate that the request was denied due 
  to "too many Granted-Service-Units in</FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>&nbsp;use". The 
  client could then take action to return idle Granted-Service-Unit quotas. 
  </FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003><SPAN class=859480812-27102003>&nbsp;[MSt]: 
  &nbsp;</SPAN>If the client terminates the end-user service and the CC session, 
  it would include the Termination-Cause AVP indicating the<SPAN 
  class=859480812-27102003>&nbsp;&nbsp;</SPAN></SPAN></SPAN><SPAN 
  class=208201407-27102003><SPAN class=361093007-27102003>reason. If the CC 
  server determines some error in the CCR message, it would return an 
  appropriate Result-Code AVP value.<SPAN class=859480812-27102003>&nbsp; 
  &nbsp;</SPAN></SPAN></SPAN></FONT><SPAN class=208201407-27102003><SPAN 
  class=361093007-27102003><FONT size=2>In the multi-quota case, I don't see 
  needs to determine credit re-authorization upon a single G-S-U since the asset 
  to control is always the whole credit reservation.<BR><SPAN 
  class=812271300-31102003><FONT face=7x13 color=#000000>[Chris Richards 
  ]&nbsp;For example, subscriber wishes to use some service for which he 
  currently has no Granted-Service-unit. CC Client requests a quota for this use 
  from the server using the Requested-Service-Unit AVP. If the users account is 
  barred from using&nbsp;that service, the server can return a cause indicating 
  "quota declined for session duration" saving the CC client from requesting the 
  same quota again.</FONT></SPAN></FONT></SPAN></SPAN></DIV>
  <DIV><SPAN class=208201407-27102003><SPAN class=361093007-27102003><FONT 
  face=7x13 color=#000000 size=2><SPAN class=812271300-31102003>Also when a 
  Reported-Service-Unit is returned to the CC server, it can indicate what 
  action the server should take based on the cause for return value - "returning 
  idle quota" will instruct the server not to re-authorise this quota. Since 
  more than one quota can now exist in a single CC message, each needs to 
  indicate independently why it is 
there.</SPAN></FONT></SPAN></SPAN></DIV></DIV>
  <DIV><FONT size=2><BR></FONT></DIV>
  <P><FONT size=2><SPAN class=208201407-27102003>&gt;</SPAN>Please let me know 
  your thoughts and suggestions regarding these proposals. If you agree I will 
  prepare a formal change.<SPAN 
class=208201407-27102003>&nbsp;</SPAN></FONT></P>
  <DIV><FONT size=2><SPAN class=208201407-27102003><SPAN 
  class=859480812-27102003>&nbsp;[MSt]:&nbsp;</SPAN>I think it would be nice to 
  address the following issues: tariff-<SPAN class=859480812-27102003>&nbsp;time 
  &nbsp;</SPAN>changes in&nbsp;both the single quota and&nbsp;<SPAN 
  class=859480812-27102003>&nbsp;the multiple 
  quotas&nbsp;</SPAN>cases;&nbsp;</SPAN><SPAN 
  class=208201407-27102003>&nbsp;guidance from the CC server concerning the 
  mid-session events.</SPAN></FONT></DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><SPAN class=208201407-27102003>As I say, I'm not sure your 
  current proposal is perfectly tailored to&nbsp;<SPAN 
  class=859480812-27102003>solve </SPAN>these issues. I would see those as 
  separate issues to be<SPAN class=859480812-27102003>&nbsp; </SPAN></SPAN><SPAN 
  class=208201407-27102003>addressed with different AVPs. Perhaps you could 
  define an AVP for the&nbsp;<SPAN 
  class=859480812-27102003>CC-ReAuth-Trigger&nbsp;</SPAN>and some other 
  mechanism for the tariff-time-change?<SPAN class=859480812-27102003>&nbsp; It 
  would be great if you can help&nbsp;find a solution&nbsp;to these 
  issues.</SPAN></SPAN><SPAN class=208201407-27102003><SPAN 
  class=859480812-27102003>&nbsp;</SPAN></SPAN></FONT></SPAN></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C39F47.5519638C--


From owner-aaa-wg@merit.edu  Fri Oct 31 11:39:12 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06653
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:39:12 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id D956D912F7; Fri, 31 Oct 2003 04:56:50 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 9C6D7912FB; Fri, 31 Oct 2003 04:56:50 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 11E85912F7
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 04:56:43 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id E79BF5DE78; Fri, 31 Oct 2003 04:56:42 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id 284895DE60
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 04:56:42 -0500 (EST)
Received: from esvir04nok.ntc.nokia.com (esvir04nokt.ntc.nokia.com [172.21.143.36])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9V9ueF03206
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 11:56:40 +0200 (EET)
Received: from esebh001.NOE.Nokia.com (unverified) by esvir04nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T659e695680ac158f24076@esvir04nok.ntc.nokia.com>;
 Fri, 31 Oct 2003 11:56:40 +0200
Received: from esebh005.NOE.Nokia.com ([172.21.138.86]) by esebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Fri, 31 Oct 2003 11:56:40 +0200
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh005.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Fri, 31 Oct 2003 11:56:40 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39F95.47967CBC"
Subject: RE: [AAA-WG]: Diam CC Tariff time changes
Date: Fri, 31 Oct 2003 11:56:39 +0200
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D018B031E@esebe016.ntc.nokia.com>
Thread-Topic: [AAA-WG]: Diam CC Quota Triggers
Thread-Index: AcOfR1pHzx8g1nIySumYbDLz0hc/yAAPo1bA
From: <marco.stura@nokia.com>
To: <crich@nortelnetworks.com>
Cc: <Harri.Hakala@ericsson.fi>, <Leena.Mattila@ericsson.fi>,
        <juha-pekka.koskinen@nokia.com>, <john.loughney@nokia.com>,
        <Benni.Alexander@nokia.com>, <patrik.teppo@po.org>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 31 Oct 2003 09:56:40.0180 (UTC) FILETIME=[47E77340:01C39F95]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This is a multi-part message in MIME format.

------_=_NextPart_001_01C39F95.47967CBC
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Chris,
=20
> Also, I agree with you that at least one of the things you listed is =
not well covered yet , and you have another good point >here as well . =
I'm thinking to the time changes. While QoS changes and location changes =
occur according to some sort of >statistic model, thus a huge storm of =
CCR messages due to such events is not likely to happen, the time change =
case >may occur for all the active subscribers at the same time. But I'm =
not sure the Trigger AVP you propose cover my concern >related to time =
changes, it seems the CC client would potentially generate a huge storm =
of CCR. I think tariff changes can >be handled by including =
tariff-change time in the CCA (but would not treat this as 'trigger') =
and by reporting used units twice >(before and after t-ch, for that we =
would need a new avp in the USU). =20
[Chris Richards ] Excellent.=20
=20
Since we seems to agree with this, I would discuss the tariff time =
change with a separate thread.
Is that OK?
=20
Regards
Marco

------_=_NextPart_001_01C39F95.47967CBC
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D238360608-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
Chris,</FONT></SPAN></DIV>
<DIV><SPAN class=3D238360608-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><FONT=20
size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D859480812-27102003></SPAN></SPAN></FONT></FONT></SPAN>&nbsp;</DIV=
>
<DIV><SPAN class=3D238360608-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><FONT=20
size=3D2><SPAN class=3D208201407-27102003><SPAN=20
class=3D859480812-27102003>&gt;&nbsp;</SPAN></SPAN><SPAN=20
class=3D208201407-27102003></SPAN><SPAN class=3D208201407-27102003>Also, =
I agree=20
with you that at least one of the&nbsp;things you listed is not well =
covered=20
yet<SPAN class=3D859480812-27102003>&nbsp;, and you have another good =
point=20
&gt;here as well&nbsp;</SPAN>. I'm thinking to the time changes. While =
QoS=20
changes and location changes occur according to some sort of =
&gt;statistic=20
model, thus a huge storm of CCR messages due to such events is not =
likely to=20
happen, the time change case &gt;may occur for all the active =
subscribers at the=20
same time. But I'm not sure&nbsp;the Trigger AVP you propose cover my =
concern=20
&gt;related to time changes, it seems the CC client would potentially =
generate a=20
huge storm of CCR. I think tariff changes can &gt;be handled =
by&nbsp;including=20
tariff-change time in the CCA (but would not&nbsp;treat this as =
'trigger') and=20
by&nbsp;reporting used units twice &gt;(before and =
after&nbsp;t-ch,&nbsp;for=20
that we&nbsp;would need a&nbsp;new avp in the USU).</SPAN>&nbsp; =
<BR><SPAN=20
class=3D812271300-31102003><FONT face=3D7x13 color=3D#000000>[Chris =
Richards=20
]&nbsp;Excellent.</FONT>&nbsp;</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D238360608-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><FONT=20
color=3D#000000 size=3D2><SPAN=20
class=3D812271300-31102003></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D238360608-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D812271300-31102003>Since we seems to agree with this, I would =
discuss the=20
tariff time change with a separate thread.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D238360608-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D812271300-31102003>Is that OK?</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D238360608-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D812271300-31102003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D238360608-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D812271300-31102003>Regards</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D238360608-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D812271300-31102003>Marco</SPAN></FONT></SPAN></DIV></BODY></HTML>=


------_=_NextPart_001_01C39F95.47967CBC--


From owner-aaa-wg@merit.edu  Fri Oct 31 11:39:14 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06619
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:39:09 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id DB1D0912E5; Fri, 31 Oct 2003 03:18:02 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 94189912E6; Fri, 31 Oct 2003 03:18:02 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 04EB3912E5
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 03:18:00 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id D9CF65DE22; Fri, 31 Oct 2003 03:17:59 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id 156EA5DDB0
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 03:17:59 -0500 (EST)
Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9V8HuG12718
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 10:17:57 +0200 (EET)
Received: from esebh003.NOE.Nokia.com (unverified) by esvir03nok.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T659e0ef22dac158f23077@esvir03nok.nokia.com>;
 Fri, 31 Oct 2003 10:17:56 +0200
Received: from esebe023.NOE.Nokia.com ([172.21.138.115]) by esebh003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Fri, 31 Oct 2003 10:17:56 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Fri, 31 Oct 2003 10:17:55 +0200
Message-ID: <DADF50F5EC506B41A0F375ABEB320636A8B878@esebe023.ntc.nokia.com>
Thread-Topic: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Thread-Index: AcOfSjUKY1/fNL+lQcWW2CzEI5y+cQAPQk7w
From: <john.loughney@nokia.com>
To: <crich@nortelnetworks.com>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 31 Oct 2003 08:17:56.0498 (UTC) FILETIME=[7D1D4F20:01C39F87]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi Christopher,

> Credit control really is in both realms - accounting and =
authorisation/authentication.=20
> Mixing applications is already described in the Diam CC draft (Adding =
DCC AVPs to the AA=20
> messages). I'm only proposing the logical mirror of the existing =
mixing.
>=20
> To me, it seems cleaner than impacting an already existing protocol =
with new features.=20
> Better to build existing features & functionality into the new =
protocol.

The issue of accounting vs authorization has been discussed on the =
mailing list, there are two issues filed about this already, which can =
be found here:

http://www.drizzle.com/~aboba/AAA/issues.html

Unless you can find some reasons why the current model the CCA has =
proposed is broken, I suggest we don't revisit this issue.

thanks,
John


From owner-aaa-wg@merit.edu  Fri Oct 31 11:39:17 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06673
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:39:14 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id F3B7F9121F; Thu, 30 Oct 2003 19:04:07 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id B9834912C9; Thu, 30 Oct 2003 19:04:06 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 18BA59121F
	for <aaa-wg@trapdoor.merit.edu>; Thu, 30 Oct 2003 19:04:00 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id E87D35DDD1; Thu, 30 Oct 2003 19:03:59 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from zsc3s004.nortelnetworks.com (h65s138a81n47.user.nortelnetworks.com [47.81.138.65])
	by segue.merit.edu (Postfix) with ESMTP id C7B835DE58
	for <aaa-wg@merit.edu>; Thu, 30 Oct 2003 19:03:58 -0500 (EST)
Received: from zrc2c011.us.nortel.com (zrc2c011.us.nortel.com [47.103.120.51])
	by zsc3s004.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h9V03qG21642;
	Thu, 30 Oct 2003 16:03:53 -0800 (PST)
Received: by zrc2c011.us.nortel.com with Internet Mail Service (5.5.2653.19)
	id <VRPJ98QJ>; Thu, 30 Oct 2003 18:03:53 -0600
Message-ID: <161AA64DA85DFC4BA4D2EB5629B597535E8951@zrc2c012.us.nortel.com>
From: "Christopher Richards" <crich@nortelnetworks.com>
To: "'Harri Hakala (TU/LMF)'" <harri.hakala@ericsson.com>, aaa-wg@merit.edu
Cc: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>,
        juha-pekka.koskinen@nokia.com, john.loughney@nokia.com,
        Benni.Alexander@nokia.com,
        "Patrik Teppo (KA/EAB)" <patrik.teppo@ericsson.com>,
        "'marco.stura@nokia.com'" <marco.stura@nokia.com>
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Thu, 30 Oct 2003 18:03:50 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39F42.76E31A9E"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C39F42.76E31A9E
Content-Type: text/plain

Thank you Harri for your response.
 
I would like to propose modifications to allow the Diameter CC client to
include AA authentication and authorisation parameters in the initial CCR.
 
In fact, the existing figure 1 (page 9) has exactly this scenario.
 
Whether a AA server is fitted out with a CC client or a CC server has the
capability to perform AA functions is fairly arbitrary. I could argue that
in the case where a subscriber has a centralized account, it makes sense
that the same function performing the credit control also performs the
authentication & authorisation (session / access control). 
 
From a technical point of view - I would say that it is better to try to not
impact any existing interfaces (AA) by adding new AVPs and functionality.
Instead, build the functionality existing in existing protocols into the new
one. I.e. Have Diameter CC application perform AA roles.
 
The beauty of this is that is more easily enables a merging of both pre- and
post-paid services in the future - removing the artificial separation of
pre-paid and post-paid accounts. And brings 3GPP and 3GPP2 closer together. 
 
At the very least, the option should be allowed and described in the
document.
 
I propose changing the text on page 17 from:-
 
    Two different approaches are defined for the first interrogation to 
    suit properly in all the possible architectures. The first approach 
    uses credit-control messages after user's authorization and 
    authentication took place. The second approach uses service specific 
    authorization messages to perform the first interrogation during the 
    user's authorization/authentication phase, and credit-control 
    messages for the intermediate and the final interrogations. 
    In case an implementation of the credit-control client supports both 
    the methods, it SHOULD be configurable what method to use. 
 
to:-
 
    Three different approaches are defined for the first interrogation to 
    suit properly in all the possible architectures. The first approach 
    uses credit-control messages after user's authorization and 
    authentication took place. The second approach uses service specific 
    authorization messages to perform the first interrogation during the 
    user's authorization/authentication phase, and credit-control 
    messages for the intermediate and the final interrogations. 
    The third approach uses AA specific AVPs in the initial Diameter Credit
    Control Request message.
    In case an implementation of the credit-control client supports two or
    more of the methods, it SHOULD be configurable what method to use. 
 
 
Add sub clause 5.1.3:- 
 
 5.1.3 Authorization In First Credit Control Interrogation 
     
    The Diameter credit-control client in the service element MAY
    include the authorization/authentication functionality in 
    the construction of the CC request by adding appropriate AA
    AVPs to the CCR message. The credit-control client MUST add
    the AA AVPs to indicate authorization/authentication is requested.
    The Diameter CC server determines whether or not 
    subscriber authentication / authorization is required. Subscriber
    authorization/authentication MAY be performed by the CC server
    or may be forwarded to the home AA server as necessary.       
          
    The following diagram illustrates the use of authorization / 
    authentication AVPs in the first Credit Control Request. The 
    parallel accounting stream is not shown in the figure. 
     
    End-User        Service Element        CC Server           AAA Server 
                     (CC Client)                         
       | Service Request   | CC Request (AA AVPs)                    | 
       |------------------>|------------------->|                    | 
       |                   |                    | AAR (Initial, AA AVPs) 
       |                   |                    |------------------->| 
       |                   |                    |    AAA (AA AVPs)   |
       |                   |                    |<-------------------| 
       |                   | CC Answer(Granted-Units, AA AVPs)       | 
       | Service Delivery  |<-------------------|                    | 
       |<----------------->|                    |                    | 
       |         :         |                    |                    | 
       |         :         |                    |                    | 
       |         :         |                    |                    | 
       |                   |                    |                    | 
       |                   | CCR(Update,Used-Units)                  | 
       |                   |------------------->| 
       |                   |                    | 
       |                   |                    |  
       |                   |  CCA(Granted-Units)|
       |                   |<-------------------|                     
       |         :         |                    |                     
       |         :         |                    |                    
       | End of Service    |                    |                     
       |------------------>| CCR(Termination,Used-Units)             
       |                   |------------------->| 
       |                   |                    |
       |                   |                    |                
       |                   |                CCA |
       |                   |<-------------------|               
     
                 Figure 5: Protocol example with use of the CCR
             messages for the first authorization interrogation. 
                                       
      
 5.2 Intermediate Interrogation  

Please let me know if this is OK.
 
Cheers, 
Chris. 

Shasta Wireless Development 
Nortel Networks 

Telephone: 
+1 972 684 3281 
ESN 444 3281 

-----Original Message-----
From: Harri Hakala (TU/LMF) [mailto:harri.hakala@ericsson.com] 
Sent: Monday, October 27, 2003 1:07 AM
To: Richards, Christopher [RICH2:2Q40:EXCH]; aaa-wg@merit.edu
Cc: Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com;
john.loughney@nokia.com; Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB);
'marco.stura@nokia.com'
Subject: RE: [AAA-WG]: Diam CC questions


Hi Christopher,
 
Thank you for your comments and suggestions.
For a start answers to your first questions.
 
I'm not sure that the assumption regarding different service environments
for MIP and 3GPP is true. At best this is an opinion which may or may not be
correct. Personally, I do not think that there will be a simple distinction
like this. Would it be best to remove this - if for no reason other brevity?
I think that you are right. The CCA-01 version should fix this.
My main question: Is there an overriding technical reason why Diameter
credit-control AVPs are added to  AA request and not the other way around
when the initial AAA interrogation is made? I.e. Would it not be a cleaner
solution to add AA AVPs to the Diameter credit-control client request. In
this way, there is no "leakage" of the Diameter credit-control application
into existing AA applications. Instead, the AA applications actually can be
used to enhance the Diameter CC capabilities.

If there is no technical reason, then I would like to propose that either:- 
(a) Replacing the existing text with text that states AA AVPs are added to
Diameter credit-control requests. 
(b) Adding text that states AA AVPs are added to Diameter credit-control
requests as a third option for the combining of the initial AAA request.
The principle is to use the credit control messages only for credit
authorization. The authentication and authorization is largely service
specific that is why different Diameter applications have been required for
authentication & authorization. I assume that it is not desired to use
credit control messages also for service specific authentication and
authorization, especially when the client doesn't necessarily know whether
the user is 'prepaid' user prior to sending the CCR message. In
circumstances where majority of the users are still 'postpaid' users, this
may lead to situations where the initial credit control messages would be
mostly used for authentication and service authorization.

Regards.........Harri

-----Original Message-----
From: Christopher Richards [mailto:crich@nortelnetworks.com]
Sent: 24. lokakuuta 2003 23:48
To: aaa-wg@merit.edu
Cc: Harri Hakala (TU/LMF); Leena Mattila (TU/LMF);
juha-pekka.koskinen@nokia.com; john.loughney@nokia.com;
Benni.Alexander@nokia.com; patrik.teppo@po.org
Subject: [AAA-WG]: Diam CC questions



Hello All, 

I have a couple of questions regarding the Diameter Credit Control draft. 

In clause 2 and 4.2, the document discusses the capability to combine credit
authorisation with service specific authorisation and authentication. (Note:
on page 20, clause 4.1.1 seems mis-numbered)

2. Architecture Models 
[snip] 
   In servive environments such as the Network Access Server (NAS) and 
   Mobile IP, it is a requirement to perform the first interrogation as 
   part of the authorization/authentication process for the sake of 
   protocol efficiency. Further credit authorizations after the first 
   interrogation took place are performed with credit control commands 
   defined in this specification. Implementations of credit-control 
   client operating in the mentioned environments SHOULD support this 
   method. In case the credit-control server and AAA server are separate 
   physical entities the service element send the request messages to 
   the AAA server, which then issue an appropriate request or proxy the 
   received request forward to the credit-control server. 
    
   In other service environments, such as the 3GPP network and some SIP 
   scenario, there is a substantial decoupling between 
   registration/access to the network and the actual service request 
   (i.e. the authentication/authorization is executed once at 
   registration/access to the network and is not executed for every 
   service event requested by the subscriber). In such environments it 
   is more appropriate to perform the first interrogation after the user 
   has been authenticated and authorized. The first interrogation as 
   well as intermediate and final interrogations is executed with credit 
   control commands defined in this specification. Implementations of 
   credit-control client operating in 3GPP environment SHOULD support 
   this method. In 3GPP environment the service element sends the 
   request message directly to the credit-control server. 
     
4.2 Authorization Messages for First Interrogation 
    
   In the second approach, the Diameter credit-control client in the 
   service element MUST actively contribute with the 
   authorization/authentication client in the construction of the AA 
   request by adding appropriate credit control AVPs. 
[snip] 

I'm not sure that the assumption regarding different service environments
for MIP and 3GPP is true. At best this is an opinion which may or may not be
correct. Personally, I do not think that there will be a simple distinction
like this. Would it be best to remove this - if for no reason other brevity?

My main question: Is there an overriding technical reason why Diameter
credit-control AVPs are added to a AA request and not the other way around
when the initial AAA interrogation is made? I.e. Would it not be a cleaner
solution to add AA AVPs to the Diameter credit-control client request. In
this way, there is no "leakage" of the Diameter credit-control application
into existing AA applications. Instead, the AA applications actually can be
used to enhance the Diameter CC capabilities.

If there is no technical reason, then I would like to propose that either:- 
(a) Replacing the existing text with text that states AA AVPs are added to
Diameter credit-control requests. 
(b) Adding text that states AA AVPs are added to Diameter credit-control
requests as a third option for the combining of the initial AAA request.


On a different subject: Multi-quotas and Used-Service-Units &
Granted-Service-Unit structure. 

The inclusion of trigger/action/trigger-value and cause fields within the
Granted-Service-Unit structure. 

A Granted-Service-Unit is really the permission to use a resource until some
limit is reached or some other session properties change. The permission may
be granted only for the consumption of a particular resource or category of
resource.

The current draft has most of these attributes already defined for the
Granted-Service-Unit. However, it seems to be missing the ability to
instruct the CC client what actions to take in the event of certain session
events. I propose the addition of Triggers, trigger-actions and
trigger-values for the Granted-Service-Unit AVP.

Triggers are such things as: Time changes or changes to the QoS
characteristics of a session or a change in user location (for 3GPP) or
quota usage threshold or quota idle time.

Associated with these triggers are actions that should be taken upon the
trigger. Examples of actions could include: re-authorise quota, return quota
and block further traffic.

Some trigger/actions require a trigger value. For example, the "Idle quota"
trigger, may have an action of "return quota" and a trigger value of "600
seconds". In other words, if this quota has not been used for 600 seconds,
return it to the Diameter CC server.

         Trigger ::= < AVP Header: TBD > 
                     { Trigger-Id } 
                     { Trigger-Action } 
                     [ Trigger-Value ] 

         Granted-Service-Unit ::= < AVP Header: TBD > 
                                  { Cause-Id } 
                                  [ CC-Time ] 
                                  [ CC-Money ] 
                                  [ CC-Total-Octets ] 
                                  [ CC-Input-Octets ] 
                                  [ CC-Output-Octets ] 
                                  [ CC-Service-Specific-Units ] 
                                 *[ Service-Identifier ] 
                                  [ Rating-Group ] 
                                 *[ Trigger ] 

Cause fields are used in each Used-Service-Unit and Granted-Service-Unit AVP
response. E.g. When a client returns a quota to the server, the cause field
is used to indicate why the quota is being returned. In a
Granted-Service-Unit AVP response, the server indicates if the
Granted-Service-Unit is successfully requested and if not, why.

         Cause-Id ::= < AVP Header: TBD > 
                      { Cause-Value } 

E.g. 

            Used-Service-Unit ::= < AVP Header: TBD > 
                                { Cause-Value } 
                                  [ CC-Time ] 
                                  [ CC-Money ] 
                                  [ CC-Total-Octets ] 
                                  [ CC-Input-Octets ] 
                                  [ CC-Output-Octets ] 
                                  [ CC-Service-Specific-Units ] 
                                 *[ Service-Identifier ] 
                                  [ Rating-Group ] 

For example, in the Used-Service-Units AVP, the cause may be set to "return
of idle quota". The Diameter CC server, would then know not to return any
more Granted-Service-Unit AVP for this Service-Identifier.  

In the Granted-Service-Unit, the cause may indicate that the request was
denied due to "too many Granted-Service-Units in use". The client could then
take action to return idle Granted-Service-Unit quotas. 


Please let me know your thoughts and suggestions regarding these proposals.
If you agree I will prepare a formal change.

Cheers, 
Chris Richards. 

Shasta Wireless Development 
Nortel Networks 

Telephone: 
+1 972 684 3281 
ESN 444 3281 


------_=_NextPart_001_01C39F42.76E31A9E
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 5.50.4933.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff size=2>Thank 
you Harri for your response.</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff size=2>I 
would like to propose modifications to allow the Diameter CC client to include 
AA authentication and authorisation parameters in the initial 
CCR.</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff size=2>In 
fact, the existing figure 1 (page 9)&nbsp;has exactly this 
scenario.</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2>Whether a AA server is fitted out with a CC client or a CC server has the 
capability to perform AA functions is fairly arbitrary. I could argue that in 
the case where a subscriber has a centralized account, it makes sense that the 
same function performing the credit control also performs the authentication 
&amp; authorisation (session / access control). </FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff size=2>From a 
technical point of view - I would say that it is better to try to not impact any 
existing interfaces (AA) by adding new AVPs and functionality. Instead, build 
the functionality existing in existing protocols into the new one. I.e. Have 
Diameter CC application perform AA roles.</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff size=2>The 
beauty of this is that is more easily enables a merging of both pre- and 
post-paid services in the future - removing the artificial separation of 
pre-paid and post-paid accounts. And brings 3GPP and 3GPP2 closer together. 
</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff size=2>At the 
very least, the option should be allowed and described in the 
document.</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff size=2>I 
propose changing the text on page 17 from:-</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;&nbsp;&nbsp; 
Two different approaches are defined for the first interrogation to 
<BR>&nbsp;&nbsp;&nbsp; suit properly in all the possible architectures. The 
first approach <BR>&nbsp;&nbsp;&nbsp; uses credit-control messages after user's 
authorization and <BR>&nbsp;&nbsp;&nbsp; authentication took place. The second 
approach uses service specific <BR>&nbsp;&nbsp;&nbsp; authorization messages to 
perform the first interrogation during the <BR>&nbsp;&nbsp;&nbsp; user's 
authorization/authentication phase, and credit-control <BR>&nbsp;&nbsp;&nbsp; 
messages for the intermediate and the final interrogations. 
<BR>&nbsp;&nbsp;&nbsp; In case an implementation of the credit-control client 
supports both <BR>&nbsp;&nbsp;&nbsp; the methods, it SHOULD be configurable what 
method to use. </FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff 
size=2>to:-</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;&nbsp;&nbsp; 
Three different approaches are defined for the first interrogation to 
<BR>&nbsp;&nbsp;&nbsp; suit properly in all the possible architectures. The 
first approach <BR>&nbsp;&nbsp;&nbsp; uses credit-control messages after user's 
authorization and <BR>&nbsp;&nbsp;&nbsp; authentication took place. The second 
approach uses service specific <BR>&nbsp;&nbsp;&nbsp; authorization messages to 
perform the first interrogation during the <BR>&nbsp;&nbsp;&nbsp; user's 
authorization/authentication phase, and credit-control <BR>&nbsp;&nbsp;&nbsp; 
messages for the intermediate and the final 
interrogations.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;&nbsp;&nbsp; 
The third approach uses&nbsp;AA specific AVPs in the initial Diameter 
Credit</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;&nbsp;&nbsp; 
Control Request message.<BR>&nbsp;&nbsp;&nbsp; In case an implementation of the 
credit-control client supports&nbsp;two or<BR>&nbsp;&nbsp;&nbsp; more of the 
methods, it SHOULD be configurable what method to use. </FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=Arial color=#0000ff size=2>Add 
sub clause 5.1.3:- </FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;5.1.3 
Authorization In First Credit Control Interrogation <BR>&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&nbsp;&nbsp;&nbsp; The Diameter credit-control client in the service 
element&nbsp;MAY<BR>&nbsp;&nbsp;&nbsp; include the authorization/authentication 
functionality in <BR>&nbsp;&nbsp;&nbsp; the construction of the CC request by 
adding appropriate&nbsp;AA<BR>&nbsp;&nbsp;&nbsp; AVPs to the CCR message. The 
credit-control client MUST add</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;&nbsp;&nbsp; 
the&nbsp;AA AVPs to indicate authorization/authentication&nbsp;is 
requested.</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;&nbsp; 
&nbsp;The Diameter CC server&nbsp;determines whether or not </FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;&nbsp;&nbsp; 
subscriber authentication&nbsp;/ authorization</FONT></SPAN><SPAN 
class=135113418-30102003><FONT face=7x13 size=2> is required. 
Subscriber</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;&nbsp;&nbsp; 
authorization/authentication&nbsp;MAY be performed by the CC 
server</FONT></SPAN></DIV>
<DIV><SPAN class=135113418-30102003><FONT face=7x13 size=2>&nbsp;&nbsp;&nbsp; or 
may be forwarded to the home AA server as necessary</FONT></SPAN><SPAN 
class=135113418-30102003><FONT face=7x13 
size=2>.&nbsp;&nbsp;&nbsp;</FONT></SPAN><SPAN class=135113418-30102003><FONT 
face=7x13 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; 
The following diagram illustrates the use of authorization / 
<BR>&nbsp;&nbsp;&nbsp; authentication AVPs in the first Credit Control Request. 
The <BR>&nbsp;&nbsp;&nbsp; parallel accounting stream is not shown in the 
figure. <BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 
End-User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service 
Element&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CC 
Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AAA Server 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
(CC 
Client)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Service Request&nbsp;&nbsp; | CC 
Request (AA 
AVPs)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|------------------&gt;|-------------------&gt;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| AAR (Initial, AA AVPs) <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|-------------------&gt;| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp; AAA (AA AVPs)&nbsp;&nbsp; 
|<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&lt;-------------------| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| CC Answer(Granted-Units, AA AVPs)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Service Delivery&nbsp; 
|&lt;-------------------|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&lt;-----------------&gt;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| 
CCR(Update,Used-Units)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|-------------------&gt;|&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp; CCA(Granted-Units)|<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&lt;-------------------|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| End of Service&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|------------------&gt;| 
CCR(Termination,Used-Units)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|-------------------&gt;|&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
CCA |<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&lt;-------------------|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Figure 5: Protocol example with use of 
the&nbsp;CCR<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
messages for the first authorization interrogation. 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;5.2 Intermediate 
Interrogation&nbsp;&nbsp;<BR></DIV></FONT></SPAN></SPAN><FONT face=Arial 
size=2></FONT></DIV>
<DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
class=135113418-30102003>Please let me know if this is 
OK.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=135113418-30102003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><B><FONT face=Arial><FONT size=2><SPAN 
class=135113418-30102003></SPAN>Cheers,</FONT></FONT></B> <BR><B><FONT 
face=Arial size=2>Chris.</FONT></B> </DIV></DIV>
<P><B><FONT face=Arial size=2>Shasta Wireless Development</FONT></B> 
<BR><B><FONT face=Arial size=2>Nortel Networks</FONT></B> </P>
<P><B><FONT face=Arial size=2>Telephone:</FONT></B> <BR><B><FONT face=Arial 
size=2>+1 972 684 3281</FONT></B> <BR><B><FONT face=Arial size=2>ESN 444 
3281</FONT></B> </P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Harri Hakala 
  (TU/LMF) [mailto:harri.hakala@ericsson.com] <BR><B>Sent:</B> Monday, October 
  27, 2003 1:07 AM<BR><B>To:</B> Richards, Christopher [RICH2:2Q40:EXCH]; 
  aaa-wg@merit.edu<BR><B>Cc:</B> Leena Mattila (TU/LMF); 
  juha-pekka.koskinen@nokia.com; john.loughney@nokia.com; 
  Benni.Alexander@nokia.com; Patrik Teppo (KA/EAB); 
  'marco.stura@nokia.com'<BR><B>Subject:</B> RE: [AAA-WG]: Diam CC 
  questions<BR><BR></FONT></DIV>
  <DIV>
  <DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
  class=296263014-26102003>Hi Christopher,</SPAN></FONT></DIV>
  <DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
  class=296263014-26102003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
  class=296263014-26102003>Thank you for your comments and suggestions.<BR>For a 
  start&nbsp;answer<SPAN class=032144606-27102003>s&nbsp;</SPAN><SPAN 
  class=032144606-27102003>to </SPAN>you<SPAN class=032144606-27102003><FONT 
  face=Arial><FONT face="Courier New">r</FONT>&nbsp;</FONT></SPAN>first 
  questions.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=296263014-26102003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><SPAN class=296263014-26102003>I'm not sure that the 
  assumption regarding different service environments for MIP and 3GPP is true. 
  At best this is an opinion which may or may not be correct. Personally, I do 
  not think that there will be a simple distinction like this. Would it be best 
  to remove this - if for no reason other brevity?</SPAN></FONT></DIV>
  <DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
  class=296263014-26102003>I think that you are right. The CCA-01 
  version&nbsp;should fix this.</SPAN></FONT></DIV>
  <DIV><FONT size=+0><SPAN class=296263014-26102003>
  <P><FONT size=2>My main question: Is there an overriding technical reason why 
  Diameter credit-control AVPs are added to&nbsp; AA request and not the other 
  way around when the initial AAA interrogation is made? I.e. Would it not be a 
  cleaner solution to add AA AVPs to the Diameter credit-control client request. 
  In this way, there is no "leakage" of the Diameter credit-control application 
  into existing AA applications. Instead, the AA applications actually can be 
  used to enhance the Diameter CC capabilities.</FONT></P>
  <P><FONT size=2>If there is no technical reason, then I would like to propose 
  that either:- <BR>(a) Replacing the existing text with text that states AA 
  AVPs are added to Diameter credit-control requests. <BR>(b) Adding text that 
  states AA AVPs are added to Diameter credit-control requests as a third option 
  for the combining of the initial AAA request.<BR></FONT><FONT 
  color=#0000ff><FONT size=2><SPAN class=296263014-26102003><FONT 
  face="Courier New">The principle is to use the c<SPAN 
  class=296263014-26102003><SPAN class=296263014-26102003>redit 
  control&nbsp;messages only&nbsp;for credit authorization. 
  </SPAN></SPAN></FONT></SPAN><SPAN class=296263014-26102003><SPAN 
  class=296263014-26102003><FONT face="Courier New"><SPAN 
  class=296263014-26102003><FONT face="Courier New">The authentication and 
  authorization is largely&nbsp;service specific that is why different Diameter 
  applications have&nbsp;been required for authentication &amp; authorization. 
  I&nbsp;assume that it is not desired&nbsp;to use&nbsp;credit control messages 
  also&nbsp;<SPAN class=032144606-27102003>for<FONT face="Courier New"> 
  </SPAN>service specific authentication and authorization, especially when the 
  client doesn't necessarily know whether the user is 'prepaid' user prior to 
  sending the CCR message. In <SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><FONT 
  color=#000000><FONT color=#0000ff>circumstances</FONT> </FONT>where 
  </SPAN>majority of the users are still 'postpaid' users, this may 
  lead&nbsp;<SPAN class=032144606-27102003><FONT face=Arial><FONT 
  face="Courier New">to</FONT>&nbsp;</FONT></SPAN>situations where the initial 
  credit control messages&nbsp;<SPAN class=032144606-27102003><FONT 
  face=Arial><FONT face="Courier New">would be</FONT>&nbsp;</FONT></SPAN>mostly 
  used</FONT></SPAN></FONT></SPAN></SPAN></FONT></FONT></FONT><FONT 
  face="Courier New"><SPAN class=296263014-26102003><SPAN 
  class=296263014-26102003><FONT face="Courier New"><SPAN 
  class=296263014-26102003><FONT face="Courier New" color=#0000ff 
  size=2>&nbsp;for authentication and service 
  authorization.</FONT></SPAN></FONT></SPAN></SPAN></FONT></P>
  <P><FONT face="Courier New" color=#0000ff size=2><SPAN 
  class=296263014-26102003><FONT size=2><SPAN class=296263014-26102003><FONT 
  size=2><FONT face="Courier New"><SPAN 
  class=296263014-26102003>Regards.........Harri</SPAN></FONT></FONT></SPAN></FONT></SPAN></FONT></P></SPAN></FONT></DIV></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Christopher Richards 
    [mailto:crich@nortelnetworks.com]<BR><B>Sent:</B> 24. lokakuuta 2003 
    23:48<BR><B>To:</B> aaa-wg@merit.edu<BR><B>Cc:</B> Harri Hakala (TU/LMF); 
    Leena Mattila (TU/LMF); juha-pekka.koskinen@nokia.com; 
    john.loughney@nokia.com; Benni.Alexander@nokia.com; 
    patrik.teppo@po.org<BR><B>Subject:</B> [AAA-WG]: Diam CC 
    questions<BR><BR></FONT></DIV>
    <P><FONT size=2>Hello All,</FONT> </P>
    <P><FONT size=2>I have a couple of questions regarding the Diameter Credit 
    Control draft.</FONT> </P>
    <P><FONT size=2>In clause 2 and 4.2, the document discusses the capability 
    to combine credit authorisation with service specific authorisation and 
    authentication. (Note: on page 20, clause 4.1.1 seems 
    mis-numbered)</FONT></P>
    <P><FONT size=2>2. Architecture Models</FONT> <BR><FONT size=2>[snip]</FONT> 
    <BR><FONT size=2>&nbsp;&nbsp; In servive environments such as the Network 
    Access Server (NAS) and </FONT><BR><FONT size=2>&nbsp;&nbsp; Mobile IP, it 
    is a requirement to perform the first interrogation as </FONT><BR><FONT 
    size=2>&nbsp;&nbsp; part of the authorization/authentication process for the 
    sake of </FONT><BR><FONT size=2>&nbsp;&nbsp; protocol efficiency. Further 
    credit authorizations after the first </FONT><BR><FONT size=2>&nbsp;&nbsp; 
    interrogation took place are performed with credit control commands 
    </FONT><BR><FONT size=2>&nbsp;&nbsp; defined in this specification. 
    Implementations of credit-control </FONT><BR><FONT size=2>&nbsp;&nbsp; 
    client operating in the mentioned environments SHOULD support this 
    </FONT><BR><FONT size=2>&nbsp;&nbsp; method. In case the credit-control 
    server and AAA server are separate </FONT><BR><FONT size=2>&nbsp;&nbsp; 
    physical entities the service element send the request messages to 
    </FONT><BR><FONT size=2>&nbsp;&nbsp; the AAA server, which then issue an 
    appropriate request or proxy the </FONT><BR><FONT size=2>&nbsp;&nbsp; 
    received request forward to the credit-control server. </FONT><BR><FONT 
    size=2>&nbsp;&nbsp;&nbsp; </FONT><BR><FONT size=2>&nbsp;&nbsp; In other 
    service environments, such as the 3GPP network and some SIP </FONT><BR><FONT 
    size=2>&nbsp;&nbsp; scenario, there is a substantial decoupling between 
    </FONT><BR><FONT size=2>&nbsp;&nbsp; registration/access to the network and 
    the actual service request </FONT><BR><FONT size=2>&nbsp;&nbsp; (i.e. the 
    authentication/authorization is executed once at </FONT><BR><FONT 
    size=2>&nbsp;&nbsp; registration/access to the network and is not executed 
    for every </FONT><BR><FONT size=2>&nbsp;&nbsp; service event requested by 
    the subscriber). In such environments it </FONT><BR><FONT 
    size=2>&nbsp;&nbsp; is more appropriate to perform the first interrogation 
    after the user </FONT><BR><FONT size=2>&nbsp;&nbsp; has been authenticated 
    and authorized. The first interrogation as </FONT><BR><FONT 
    size=2>&nbsp;&nbsp; well as intermediate and final interrogations is 
    executed with credit </FONT><BR><FONT size=2>&nbsp;&nbsp; control commands 
    defined in this specification. Implementations of </FONT><BR><FONT 
    size=2>&nbsp;&nbsp; credit-control client operating in 3GPP environment 
    SHOULD support </FONT><BR><FONT size=2>&nbsp;&nbsp; this method. In 3GPP 
    environment the service element sends the </FONT><BR><FONT 
    size=2>&nbsp;&nbsp; request message directly to the credit-control server. 
    </FONT><BR><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT size=2>4.2 
    Authorization Messages for First Interrogation </FONT><BR><FONT 
    size=2>&nbsp;&nbsp;&nbsp; </FONT><BR><FONT size=2>&nbsp;&nbsp; In the second 
    approach, the Diameter credit-control client in the </FONT><BR><FONT 
    size=2>&nbsp;&nbsp; service element MUST actively contribute with the 
    </FONT><BR><FONT size=2>&nbsp;&nbsp; authorization/authentication client in 
    the construction of the AA </FONT><BR><FONT size=2>&nbsp;&nbsp; request by 
    adding appropriate credit control AVPs. </FONT><BR><FONT 
    size=2>[snip]</FONT> </P>
    <P><FONT size=2>I'm not sure that the assumption regarding different service 
    environments for MIP and 3GPP is true. At best this is an opinion which may 
    or may not be correct. Personally, I do not think that there will be a 
    simple distinction like this. Would it be best to remove this - if for no 
    reason other brevity?</FONT></P>
    <P><FONT size=2>My main question: Is there an overriding technical reason 
    why Diameter credit-control AVPs are added to a AA request and not the other 
    way around when the initial AAA interrogation is made? I.e. Would it not be 
    a cleaner solution to add AA AVPs to the Diameter credit-control client 
    request. In this way, there is no "leakage" of the Diameter credit-control 
    application into existing AA applications. Instead, the AA applications 
    actually can be used to enhance the Diameter CC capabilities.</FONT></P>
    <P><FONT size=2>If there is no technical reason, then I would like to 
    propose that either:-</FONT> <BR><FONT size=2>(a) Replacing the existing 
    text with text that states AA AVPs are added to Diameter credit-control 
    requests.</FONT> <BR><FONT size=2>(b) Adding text that states AA AVPs are 
    added to Diameter credit-control requests as a third option for the 
    combining of the initial AAA request.</FONT></P><BR>
    <P><FONT size=2>On a different subject: Multi-quotas and Used-Service-Units 
    &amp; Granted-Service-Unit structure.</FONT> </P>
    <P><FONT size=2>The inclusion of trigger/action/trigger-value and cause 
    fields within the Granted-Service-Unit structure.</FONT> </P>
    <P><FONT size=2>A Granted-Service-Unit is really the permission to use a 
    resource until some limit is reached or some other session properties 
    change. The permission may be granted only for the consumption of a 
    particular resource or category of resource.</FONT></P>
    <P><FONT size=2>The current draft has most of these attributes already 
    defined for the Granted-Service-Unit. However, it seems to be missing the 
    ability to instruct the CC client what actions to take in the event of 
    certain session events. I propose the addition of Triggers, trigger-actions 
    and trigger-values for the Granted-Service-Unit AVP.</FONT></P>
    <P><FONT size=2>Triggers are such things as: Time changes or changes to the 
    QoS characteristics of a session or a change in user location (for 3GPP) or 
    quota usage threshold or quota idle time.</FONT></P>
    <P><FONT size=2>Associated with these triggers are actions that should be 
    taken upon the trigger. Examples of actions could include: re-authorise 
    quota, return quota and block further traffic.</FONT></P>
    <P><FONT size=2>Some trigger/actions require a trigger value. For example, 
    the "Idle quota" trigger, may have an action of "return quota" and a trigger 
    value of "600 seconds". In other words, if this quota has not been used for 
    600 seconds, return it to the Diameter CC server.</FONT></P>
    <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT size=2> Trigger ::= 
    &lt; AVP Header: TBD &gt;</FONT> 
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    { Trigger-Id }</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    { Trigger-Action }</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ Trigger-Value ]</FONT> </P>
    <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT size=2> 
    Granted-Service-Unit ::= &lt; AVP Header: TBD &gt; 
    </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    { Cause-Id }</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Time ] </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Money ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Total-Octets ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Input-Octets ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Output-Octets ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Service-Specific-Units ]</FONT> 
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    *[ Service-Identifier ]</FONT> 
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ Rating-Group ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    *[ Trigger ]</FONT> </P>
    <P><FONT size=2>Cause fields are used in each Used-Service-Unit and 
    Granted-Service-Unit AVP response. E.g. When a client returns a quota to the 
    server, the cause field is used to indicate why the quota is being returned. 
    In a Granted-Service-Unit AVP response, the server indicates if the 
    Granted-Service-Unit is successfully requested and if not, why.</FONT></P>
    <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT size=2> Cause-Id 
    ::= &lt; AVP Header: TBD &gt;</FONT> 
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    { Cause-Value }</FONT> </P>
    <P><FONT size=2>E.g.</FONT> </P>
    <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp; Used-Service-Unit ::= &lt; AVP Header: TBD &gt; 
    </FONT><BR><FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    { Cause-Value }</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Time ] </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Money ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Total-Octets ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Input-Octets ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Output-Octets ]</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ CC-Service-Specific-Units ]</FONT> 
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    *[ Service-Identifier ]</FONT> 
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    [ Rating-Group ]</FONT> </P>
    <P><FONT size=2>For example, in the Used-Service-Units AVP, the cause may be 
    set to "return of idle quota". The Diameter CC server, would then know not 
    to return any more Granted-Service-Unit AVP for this 
    Service-Identifier.&nbsp; </FONT></P>
    <P><FONT size=2>In the Granted-Service-Unit, the cause may indicate that the 
    request was denied due to "too many Granted-Service-Units in use". The 
    client could then take action to return idle Granted-Service-Unit quotas. 
    </FONT></P><BR>
    <P><FONT size=2>Please let me know your thoughts and suggestions regarding 
    these proposals. If you agree I will prepare a formal change.</FONT></P>
    <P><FONT size=2>Cheers,</FONT> <BR><FONT size=2>Chris Richards.</FONT> </P>
    <P><FONT size=2>Shasta Wireless Development</FONT> <BR><FONT size=2>Nortel 
    Networks</FONT> </P>
    <P><FONT size=2>Telephone:</FONT> <BR><FONT size=2>+1 972 684 3281</FONT> 
    <BR><FONT size=2>ESN 444 3281</FONT> 
</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C39F42.76E31A9E--


From owner-aaa-wg@merit.edu  Fri Oct 31 11:39:19 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06670
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:39:14 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id 18CCD912E2; Fri, 31 Oct 2003 10:33:03 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id D2343912EF; Fri, 31 Oct 2003 10:33:02 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 50A58912E2
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 10:33:01 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 3C4C55DDBF; Fri, 31 Oct 2003 10:33:01 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21])
	by segue.merit.edu (Postfix) with ESMTP id 314EB5DDFB
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 10:33:00 -0500 (EST)
Received: from esvir05nok.ntc.nokia.com (esvir05nokt.ntc.nokia.com [172.21.143.37])
	by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9VFWxY01569
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 17:32:59 +0200 (EET)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir05nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T659f9d3c2fac158f250c9@esvir05nok.ntc.nokia.com>;
 Fri, 31 Oct 2003 17:32:58 +0200
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Fri, 31 Oct 2003 17:32:58 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39FC4.42CFFC08"
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Fri, 31 Oct 2003 17:32:57 +0200
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D018B0324@esebe016.ntc.nokia.com>
Thread-Topic: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Thread-Index: AcOfveG1acBYHMGaQvOY4rizeJbbHAAATByQ
From: <marco.stura@nokia.com>
To: <crich@nortelnetworks.com>, <mgrayson@cisco.com>,
        <harri.hakala@ericsson.com>
Cc: <leena.mattila@ericsson.com>, <juha-pekka.koskinen@nokia.com>,
        <john.loughney@nokia.com>, <Benni.Alexander@nokia.com>,
        <patrik.teppo@ericsson.com>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 31 Oct 2003 15:32:58.0726 (UTC) FILETIME=[43413860:01C39FC4]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This is a multi-part message in MIME format.

------_=_NextPart_001_01C39FC4.42CFFC08
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Chris,
=20
>By maintaining RADIUS for the initial interrogation, you are forcing =
new CC server implementations to support both RADIUS >and Diameter =
stacks, or force each session setup to perform two sets of =
requests/responses or force the network RADIUS >server to perform =
Diameter proxy functions --- none of these options are particularly =
attractive - it adds complexity, setup >latency and cost to provide the =
service.
=20
I never said that we use RADIUS for the initial interrogation, rather I =
was referring to the RADIUS model of including
credit control information in the Access-Request message that is =
maintained in the Diam CC for the first interrogation with Diameter AA =
commands.
=20
DIAMETER/RADIUS interworking is described in the draft 01 (section 2 and =
section 11), there is also a flow example in the appendix A. You may =
want to check this information.
=20
>Imagine how much easier it could be to do it all in one shot to one =
functional entity.
=20
The service specific authorization/authentication is specific to the =
service, that's why different authorization
application exist (e.g. NASREQ, DIAMMIP) which define their own =
mechanisms and tasks. What you are doing with
the approach you propose is to require to the Diam CC to support all =
existing and future service specific authorization
and authentication mechanisms and tasks as well as mixing up the =
command's semantic because, according to
your proposal, Credit-Control-Request now means network access =
authentication and authorization is requested, authorization and =
authentication for a mobile node using MIP is requested, credit =
authorization is requested etc. etc.  Well, it doesn't look so easy and =
clean....
=20
Regards
Marco
=20

------_=_NextPart_001_01C39FC4.42CFFC08
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
Chris,</FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>&gt;By=20
maintaining RADIUS for the initial interrogation, you are forcing new CC =
server=20
implementations to support both RADIUS &gt;and Diameter stacks, or force =
each=20
session setup to perform two sets of requests/responses or force the =
network=20
RADIUS &gt;server to perform Diameter proxy functions --- none of these =
options=20
are particularly attractive - it adds complexity, setup &gt;latency and =
cost to=20
provide the service.</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003>I never said that we use RADIUS for the =
initial=20
interrogation, rather I was referring to the RADIUS model of=20
including</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003>credit control information in the =
Access-Request=20
message that is maintained </SPAN></FONT></SPAN><SPAN=20
class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003>in the Diam CC for the first interrogation =
with=20
Diameter AA commands.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003>DIAMETER/RADIUS interworking is described in =
the draft=20
01 (section 2 and section 11), there is also a flow example in the =
appendix A.=20
You may want to check this information.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003><SPAN class=3D309043114-31102003><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>&gt;Imagine how much easier it could be to do =
it all in one=20
shot to one functional entity.</FONT></SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003><SPAN=20
class=3D309043114-31102003></SPAN></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003><SPAN class=3D309043114-31102003>
<DIV><SPAN class=3D894485514-31102003>
<DIV></SPAN><SPAN class=3D894485514-31102003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>The service specific authorization/authentication is specific =
to the=20
service, that's why different authorization</FONT></SPAN></DIV></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =

size=3D2>application exist (e.g. NASREQ, DIAMMIP) which define their own =

mechanisms and tasks. What you are doing with</FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>the=20
approach you propose is to require to the Diam CC to support all =
existing and=20
future service specific authorization</FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>and=20
authentication mechanisms and tasks as well as mixing up the command's =
semantic=20
because, according to</FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>your=20
proposal, Credit-Control-Request now means&nbsp;network access =
authentication=20
and authorization is requested,&nbsp;authorization and authentication =
for a=20
mobile node using MIP is requested, credit authorization is requested =
etc. etc.=20
&nbsp;Well, it doesn't look so easy and=20
clean....</FONT></SPAN></DIV></SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003>Regards</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D309043114-31102003>Marco</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D894485514-31102003><SPAN=20
class=3D309043114-31102003></SPAN></SPAN><FONT face=3DTahoma><FONT =
size=3D2><SPAN=20
class=3D894485514-31102003><FONT face=3DArial=20
color=3D#0000ff></FONT></SPAN></FONT></FONT>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C39FC4.42CFFC08--


From owner-aaa-wg@merit.edu  Fri Oct 31 11:39:22 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06728
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:39:22 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id 36072912E6; Fri, 31 Oct 2003 03:23:50 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 03611912E7; Fri, 31 Oct 2003 03:23:49 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 7A0E4912E6
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 03:23:48 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 5B8725DE7A; Fri, 31 Oct 2003 03:23:48 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [193.180.251.47])
	by segue.merit.edu (Postfix) with ESMTP id B95765DE77
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 03:23:47 -0500 (EST)
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120])
	by penguin-ext.wise.edt.ericsson.se (8.12.10/8.12.10/WIREfire-1.8) with ESMTP id h9V8NkSs017786;
	Fri, 31 Oct 2003 09:23:46 +0100 (MET)
Received: by esealnt610.al.sw.ericsson.se with Internet Mail Service (5.5.2657.72)
	id <V637VGYR>; Fri, 31 Oct 2003 09:23:52 +0100
Message-ID: <F8EFC4B4A8C016428BC1F589296D4FBF03E062C6@esealnt630.al.sw.ericsson.se>
From: "Leena Mattila (TU/LMF)" <leena.mattila@ericsson.com>
To: "'Christopher Richards'" <crich@nortelnetworks.com>
Cc: "Harri Hakala (TU/LMF)" <harri.hakala@ericsson.com>,
        juha-pekka.koskinen@nokia.com, john.loughney@nokia.com,
        Benni.Alexander@nokia.com,
        "Patrik Teppo (KA/EAB)" <patrik.teppo@ericsson.com>, aaa-wg@merit.edu
Subject: FW: [AAA-WG]: Diam CC Quota Triggers
Date: Fri, 31 Oct 2003 09:22:53 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

Hi Chris,

I agree with you, there are still some things missing in the DCC.
However, I think we have different views on the usage of the quota
in some places. See more comments inline.

Cheers,
Leena

>Some trigger/actions require a trigger value. For example, the
>"Idle quota" trigger, may have an action of "return quota" 
>and  a trigger value of "600 seconds". In other words, if this quota
>has not been used for 600 seconds, return it to the 
>Diameter CC server.
>
>Trigger ::= < AVP Header: TBD > 
>                     { Trigger-Id } 
>                     { Trigger-Action } 
>                     [ Trigger-Value ] 
>         Granted-Service-Unit ::= < AVP Header: TBD > 
>                                  { Cause-Id } 
>                                  [ CC-Time ] 
>                                  [ CC-Money ] 
>                                  [ CC-Total-Octets ] 
>                                  [ CC-Input-Octets ] 
>                                  [ CC-Output-Octets ] 
>                                  [ CC-Service-Specific-Units ] 
>                                 *[ Service-Identifier ] 
>                                  [ Rating-Group ] 
>                                 *[ Trigger ] 

[MSt]: this feature concerning the QoS changes or other mid-session
events is already supported. The assumption is that, if mid-session
events occur, the granted quota(s) is(are) not valid anymore and the
credit control client need to perform credit re-authorization to the
CC server, this is visible in the state machine as well as in
section 4. I would not introduce any separate action: the client
should send a CCR (update) when such events occur.

[Chris Richards ] The problem with the current definition is that it
forces all events to all quotas for all subscribers to be the same.
However, for some subscribers using some quotas, only some events need
to be acted upon. E.g. Not all QoS changes for all quotas should need
to trigger a mid call re-auth of the quota - it should be on a subscriber,
quota and event - basis.

[Leena Mattila] I agree with both of you to some extent. I think we
need to define a Trigger to allow the server to control what events
are significant from credit control point of view but I would not go
further than that. That is, the only action for each Trigger would
be 'send CCR(update) to CC server'. The CC Server can then decide what
action to take, continue as normal, terminate service, redirect etc.
Those mechanisms exist already in the DCC, I would not mix the action
with the Trigger and complicate things too much.

[Leena Mattila] I would also keep the principle that when a CCR(update)
is sent then _all_ quotas are reported to the CC server, not only a few
of them while keeping the others running in the client, otherwise we
create kind of hidden sub-sessions with different quotas in one CC session.
If one necessarily wants to report different quotas asynchoronously
then sub-sessions should be used for this purpose. 

[Chris Richards ] The Validity-time has a different usage to the "Idle-Time"
trigger I gave as an example. The Validity-time seems to apply to the 
entire session. However, the quota Idle-time is per-quota. It is a means
of ensuring that a subscribers account balance is not all allocated to a
session in many quotas when some of the quotas may no longer be needed
and the quota can be returned to the subscribers account for use elsewhere.
Again, Idle-time is just one example of the many quota-specific triggers
-- events that are specific to a particular quota (Granted-Service-Unit).

[Leena Mattila] I'd define a basic set of events in the DCC as the Triggers
e.g. change of location, QoS change, and leave the rest to be service
specific. 

[MSt] Why not to defne the Trigger AVP (maybe
in somewhat simpler format) in the CCA message level instead of embedding
that in the GSU AVP?
[Chris Richards ] Because it is specific to each quota (Granted-Service-Unit).

[Leena Mattila] OK, but as mentioned earlier I'd keep the rule that all
quotas should be reported in the CCR(update) whatever and where ever the trigger is.

[MSt]: I think diameter result codes should be used instead of tailored
cause-id avp. There are few  cases  why the client would perform credit
re-authorization, but the reason is always "credit re-authorization"
<snip>
[Chris Richards ] The intention was to define a per-quota cause value.
Since each quota (Granted-Service-Unit) is an independent entity, each
needs to be able to inform the client why it was or was not successful.
Having a single cause at the message (session) level is not fine enough
granularity.

[Leena Mattila] Why is this granularity needed in the client?

[MSt]:  If the client terminates the end-user service and the CC session,
it would include the Termination-Cause AVP indicating the  reason. If the
CC server determines some error in the CCR message, it would return an
appropriate Result-Code AVP value.   In the multi-quota case, I don't
see needs to determine credit re-authorization upon a single G-S-U
since the asset to control is always the whole credit reservation.
[Chris Richards ] For example, subscriber wishes to use some service
for which he currently has no Granted-Service-unit. CC Client
requests a quota for this use from the server using the
Requested-Service-Unit AVP. If the users account is barred from
using that service, the server can return a cause indicating "quota
declined for session duration" saving the CC client from requesting
the same quota again.
[Leena Mattila] If one wants to ask separate quota for separate
services, still having one credit control session then I think
the sub-session mechanism should be used. I don't see big difference
between the sub-sessions and the mechanism you propose here.
If different quotas should be reported and treated asynchronously
then sub-sessions should be used. 

[Chris Richards ] Also when a Reported-Service-Unit is returned to the CC server,
it can indicate what action the server should take based on the
cause for return value - "returning idle quota" will instruct the 
server not to re-authorise this quota. Since more than one quota can
now exist in a single CC message, each needs to indicate independently
why it is there.
[Leena Mattila] I don't see a need for any modifications due to that.
The client can report the used units that the service has consumed
and if it does not need any more units of this type any more it can
request 0 units as Requested-Service-Units.



From owner-aaa-wg@merit.edu  Fri Oct 31 11:39:23 2003
Received: from trapdoor.merit.edu (postfix@trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06730
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:39:22 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id 35341912E4; Fri, 31 Oct 2003 03:01:20 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 85CF4912E5; Fri, 31 Oct 2003 03:01:19 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 429B9912E4
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 03:01:17 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id A64D05DE0C; Fri, 31 Oct 2003 03:01:16 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id B25AA5DDB2
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 03:01:15 -0500 (EST)
Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9V81BG17902
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 10:01:11 +0200 (EET)
Received: from esebh004.NOE.Nokia.com (unverified) by esvir03nok.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T659dff9178ac158f23077@esvir03nok.nokia.com>;
 Fri, 31 Oct 2003 10:01:08 +0200
Received: from esebh005.NOE.Nokia.com ([172.21.138.86]) by esebh004.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Fri, 31 Oct 2003 10:01:08 +0200
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh005.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139);
	 Fri, 31 Oct 2003 10:01:08 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C39F85.23ECB1C0"
Subject: RE: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Date: Fri, 31 Oct 2003 10:01:07 +0200
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D018B031D@esebe016.ntc.nokia.com>
Thread-Topic: [AAA-WG]: Diam CC (AA interrogation in initial CC request)
Thread-Index: AcOfSjTKb4o3NeMBSWusenqZVbyOVQAN+YlQ
From: <marco.stura@nokia.com>
To: <crich@nortelnetworks.com>, <mgrayson@cisco.com>,
        <harri.hakala@ericsson.com>
Cc: <leena.mattila@ericsson.com>, <juha-pekka.koskinen@nokia.com>,
        <john.loughney@nokia.com>, <Benni.Alexander@nokia.com>,
        <patrik.teppo@ericsson.com>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 31 Oct 2003 08:01:08.0457 (UTC) FILETIME=[24467590:01C39F85]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk

This is a multi-part message in MIME format.

------_=_NextPart_001_01C39F85.23ECB1C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
Christopher Richards wrote:

Credit control really is in both realms - accounting and =
authorisation/authentication.=20

This has been extensilvely discussed before the CCA was accepted as a =
AAA WG item, the conclusion has been that credit control is definitely =
in the authorization space. This is why the CCA is an authorization =
application and I would stick on this.

Mixing applications is already described in the Diam CC draft (Adding =
DCC AVPs to the AA messages). I'm only proposing the logical mirror of =
the existing mixing.

To me, it seems cleaner than impacting an already existing protocol with =
new features. Better to build existing features & functionality into the =
new protocol.

=20
Mark Grayson wrote:

as I understand, RFC 3588 explicitly differentiates between new =
accounting applications and authentication applications. Therefore I =
would not be in favour of mixing the two, otherwise we will end up =
overloading DCC with NASREQ issues, EAP issues and the like.

I strongly agree with Mark. Please note that we are not mixing =
applications with the current approach, while with Chris approach we =
would do. The mechanism described is heavily relying on the service =
specific authentication/authorization applications to perform the tasks =
they are designed for. The only addition in the AA command (and AA here =
doesn't mean NASREQ only), is an indication of credit control =
capabilities, the mechanism is mirrored from the RADIUS model and also =
facilitate RADIUS/DIAMETER IOP.

As a conclusion I wouldn't like to see yet another option, rather I =
would stick on the existing RADIUS model for
performing the first interrogation.
=20
Regards
Marco

------_=_NextPart_001_01C39F85.23ECB1C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>RE: [AAA-WG]: Diam CC (AA interrogation in initial CC =
request)</TITLE>

<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff =

size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D311243907-31102003><FONT color=3D#0000ff>
<P><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff=20
size=3D2>Christopher Richards wrote:</FONT></SPAN></P>
<P><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#000000 =
size=3D2>Credit=20
control really is in both realms - accounting and =
authorisation/authentication.=20
</FONT></SPAN></P>
<DIV><SPAN class=3D311243907-31102003><FONT size=3D2><FONT =
face=3DArial><FONT=20
color=3D#0000ff>This has been extensilvely discussed before</FONT> <FONT =

color=3D#0000ff>the CCA was accepted as a AAA WG item, the conclusion =
has been=20
that credit control is definitely in the authorization space. This is =
why the=20
CCA is an authorization application and I would stick on=20
this.</FONT></FONT></FONT></SPAN></DIV>
<DIV>
<P><FONT face=3DArial color=3D#000000 size=3D2>Mixing applications is =
already=20
described in the Diam CC draft (Adding DCC AVPs to the AA messages). I'm =
only=20
proposing the logical mirror of the existing mixing.</FONT></P>
<P><FONT face=3DArial color=3D#000000 size=3D2>To me, it seems cleaner =
than impacting=20
an already existing protocol with new features. Better to build existing =

features &amp; functionality into the new=20
protocol.</FONT></P></DIV></FONT></SPAN></DIV>
<DIV><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>Mark=20
Grayson wrote:</FONT></SPAN></DIV>
<DIV>
<P><FONT size=3D2>as I understand, RFC 3588 explicitly differentiates =
between new=20
accounting applications and authentication applications. Therefore I =
would not=20
be in favour of mixing the two, otherwise we will end up overloading DCC =
with=20
NASREQ issues, EAP issues and the like.</FONT></P>
<P><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff=20
size=3D2>I&nbsp;strongly agree with Mark. Please note that we are not =
mixing=20
applications with the current approach, while with Chris approach we =
would do.=20
The mechanism described is heavily relying on the service specific=20
authentication/authorization applications to perform the tasks they are =
designed=20
for. The only addition in the AA command (and AA here doesn't mean =
NASREQ only),=20
is an indication of credit control capabilities, the mechanism =
is&nbsp;mirrored=20
from the RADIUS model and also facilitate RADIUS/DIAMETER=20
IOP.</FONT></SPAN></P></DIV>
<DIV><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>As a=20
conclusion I wouldn't like to see yet another&nbsp;option, rather I =
would stick=20
on the existing RADIUS model for</FONT></SPAN></DIV>
<DIV><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff =

size=3D2>performing the first interrogation.</FONT></SPAN></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff =

size=3D2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=3D311243907-31102003><FONT face=3DArial color=3D#0000ff =

size=3D2>Marco</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C39F85.23ECB1C0--


From owner-aaa-wg@merit.edu  Fri Oct 31 11:39:26 2003
Received: from trapdoor.merit.edu (trapdoor.merit.edu [198.108.1.26])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06774
	for <aaa-archive@lists.ietf.org>; Fri, 31 Oct 2003 11:39:25 -0500 (EST)
Received: by trapdoor.merit.edu (Postfix)
	id 541969127C; Fri, 31 Oct 2003 04:47:21 -0500 (EST)
Delivered-To: aaa-wg-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56)
	id 1FC71912E3; Fri, 31 Oct 2003 04:47:21 -0500 (EST)
Delivered-To: aaa-wg@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41])
	by trapdoor.merit.edu (Postfix) with ESMTP id 83D709127C
	for <aaa-wg@trapdoor.merit.edu>; Fri, 31 Oct 2003 04:47:19 -0500 (EST)
Received: by segue.merit.edu (Postfix)
	id 6381A5DE2E; Fri, 31 Oct 2003 04:47:19 -0500 (EST)
Delivered-To: aaa-wg@merit.edu
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
	by segue.merit.edu (Postfix) with ESMTP id 96F335DE1B
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 04:47:18 -0500 (EST)
Received: from esvir04nok.ntc.nokia.com (esvir04nokt.ntc.nokia.com [172.21.143.36])
	by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id h9V9lHB21575
	for <aaa-wg@merit.edu>; Fri, 31 Oct 2003 11:47:17 +0200 (EET)
Received: from esebh002.NOE.Nokia.com (unverified) by esvir04nok.ntc.nokia.com
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T659e60bce6ac158f24076@esvir04nok.ntc.nokia.com>;
 Fri, 31 Oct 2003 11:47:16 +0200
Received: from esebe016.NOE.Nokia.com ([172.21.138.55]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747);
	 Fri, 31 Oct 2003 11:47:16 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AAA-WG]: Diam CC Quota Triggers
Date: Fri, 31 Oct 2003 11:47:15 +0200
Message-ID: <142DC466081D9B409AAD1DDCA4B21E1D018B0320@esebe016.ntc.nokia.com>
Thread-Topic: [AAA-WG]: Diam CC Quota Triggers
Thread-Index: AcOfiIwt3OIwFczoSMatA3l3N+/bfgAAOZmg
From: <marco.stura@nokia.com>
To: <leena.mattila@ericsson.com>, <crich@nortelnetworks.com>
Cc: <harri.hakala@ericsson.com>, <juha-pekka.koskinen@nokia.com>,
        <john.loughney@nokia.com>, <Benni.Alexander@nokia.com>,
        <patrik.teppo@ericsson.com>, <aaa-wg@merit.edu>
X-OriginalArrivalTime: 31 Oct 2003 09:47:16.0757 (UTC) FILETIME=[F813EC50:01C39F93]
Sender: owner-aaa-wg@merit.edu
Precedence: bulk
Content-Transfer-Encoding: quoted-printable

Hi,

in my mind all this discussion is tightly coupled with the credit =
reservation,
that is what the CCA need to control.
One single credit reservation maps one-to-one to a credit control =
session, what Chris
describes seems to assume that you have different credit reservations =
per each
quotas hiding a sub-session within a session. If quotas are computed =
from different
reservations, and thus need to be treated independently, then CC =
sub-sessions
SHOULD be used. And CC sub-sessions are supported in the current draft.

More comments in line.

Regards
Marco

> -----Original Message-----
> From: owner-aaa-wg@merit.edu=20
> [mailto:owner-aaa-wg@merit.edu]On Behalf Of
> ext Leena Mattila (TU/LMF)
> Sent: 31 October, 2003 10:23
> To: 'Christopher Richards'
> Cc: Harri Hakala (TU/LMF); Koskinen Juha-Pekka (NET/Tampere); Loughney
> John (NRC/Helsinki); Alexander Benni (NET/Helsinki); Patrik Teppo
> (KA/EAB); aaa-wg@merit.edu
> Subject: FW: [AAA-WG]: Diam CC Quota Triggers
>=20
>=20
> Hi Chris,
>=20
> I agree with you, there are still some things missing in the DCC.
> However, I think we have different views on the usage of the quota
> in some places. See more comments inline.
>=20
> Cheers,
> Leena
>=20
> >Some trigger/actions require a trigger value. For example, the
> >"Idle quota" trigger, may have an action of "return quota"=20
> >and  a trigger value of "600 seconds". In other words, if this quota
> >has not been used for 600 seconds, return it to the=20
> >Diameter CC server.
> >
> >Trigger ::=3D < AVP Header: TBD >=20
> >                     { Trigger-Id }=20
> >                     { Trigger-Action }=20
> >                     [ Trigger-Value ]=20
> >         Granted-Service-Unit ::=3D < AVP Header: TBD >=20
> >                                  { Cause-Id }=20
> >                                  [ CC-Time ]=20
> >                                  [ CC-Money ]=20
> >                                  [ CC-Total-Octets ]=20
> >                                  [ CC-Input-Octets ]=20
> >                                  [ CC-Output-Octets ]=20
> >                                  [ CC-Service-Specific-Units ]=20
> >                                 *[ Service-Identifier ]=20
> >                                  [ Rating-Group ]=20
> >                                 *[ Trigger ]=20
>=20
> [MSt]: this feature concerning the QoS changes or other mid-session
> events is already supported. The assumption is that, if mid-session
> events occur, the granted quota(s) is(are) not valid anymore and the
> credit control client need to perform credit re-authorization to the
> CC server, this is visible in the state machine as well as in
> section 4. I would not introduce any separate action: the client
> should send a CCR (update) when such events occur.
>=20
> [Chris Richards ] The problem with the current definition is that it
> forces all events to all quotas for all subscribers to be the same.
> However, for some subscribers using some quotas, only some events need
> to be acted upon. E.g. Not all QoS changes for all quotas should need
> to trigger a mid call re-auth of the quota - it should be on=20
> a subscriber,
> quota and event - basis.
>=20
> [Leena Mattila] I agree with both of you to some extent. I think we
> need to define a Trigger to allow the server to control what events
> are significant from credit control point of view but I would not go
> further than that. That is, the only action for each Trigger would
> be 'send CCR(update) to CC server'. The CC Server can then decide what
> action to take, continue as normal, terminate service, redirect etc.
> Those mechanisms exist already in the DCC, I would not mix the action
> with the Trigger and complicate things too much.
>=20

[MSt]: to define a server controllable triggers is what I meant. The =
triggers
action is always "credit re-authorization" means that CCR[Update] to the =
CC
server is to be sent.

> [Leena Mattila] I would also keep the principle that when a=20
> CCR(update)
> is sent then _all_ quotas are reported to the CC server, not=20
> only a few
> of them while keeping the others running in the client, otherwise we
> create kind of hidden sub-sessions with different quotas in=20
> one CC session.
> If one necessarily wants to report different quotas asynchoronously
> then sub-sessions should be used for this purpose.=20

[MSt]: Agree.

>=20
> [Chris Richards ] The Validity-time has a different usage to=20
> the "Idle-Time"
> trigger I gave as an example. The Validity-time seems to apply to the=20
> entire session. However, the quota Idle-time is per-quota. It=20
> is a means
> of ensuring that a subscribers account balance is not all=20
> allocated to a
> session in many quotas when some of the quotas may no longer be needed
> and the quota can be returned to the subscribers account for=20
> use elsewhere.
> Again, Idle-time is just one example of the many=20
> quota-specific triggers
> -- events that are specific to a particular quota=20
> (Granted-Service-Unit).
>=20
> [Leena Mattila] I'd define a basic set of events in the DCC=20
> as the Triggers
> e.g. change of location, QoS change, and leave the rest to be service
> specific.=20
>=20
> [MSt] Why not to defne the Trigger AVP (maybe
> in somewhat simpler format) in the CCA message level instead=20
> of embedding
> that in the GSU AVP?
> [Chris Richards ] Because it is specific to each quota=20
> (Granted-Service-Unit).
>=20
> [Leena Mattila] OK, but as mentioned earlier I'd keep the=20
> rule that all
> quotas should be reported in the CCR(update) whatever and=20
> where ever the trigger is.
>=20

[MSt]: OK Leena, but the trigger should be then at the command level.
Keeping the rule that a credit re-authorization is performed (i.e.
all quotas are reported), it doesn't require for triggers at the
G-S-U level.

> [MSt]: I think diameter result codes should be used instead=20
> of tailored
> cause-id avp. There are few  cases  why the client would=20
> perform credit
> re-authorization, but the reason is always "credit re-authorization"
> <snip>
> [Chris Richards ] The intention was to define a per-quota cause value.
> Since each quota (Granted-Service-Unit) is an independent entity, each
> needs to be able to inform the client why it was or was not=20
> successful.
> Having a single cause at the message (session) level is not=20
> fine enough
> granularity.
>=20

[MSt]: if the one single credit reservation is done for the CC session, =
each
quota is not an independent entity as such. If you see quotas as =
independent
entities, then you need one credit reservation for each quota and you =
should
use sub-sessions.

> [Leena Mattila] Why is this granularity needed in the client?
>=20

> [MSt]:  If the client terminates the end-user service and the=20
> CC session,
> it would include the Termination-Cause AVP indicating the =20
> reason. If the
> CC server determines some error in the CCR message, it would return an
> appropriate Result-Code AVP value.   In the multi-quota case, I don't
> see needs to determine credit re-authorization upon a single G-S-U
> since the asset to control is always the whole credit reservation.
> [Chris Richards ] For example, subscriber wishes to use some service
> for which he currently has no Granted-Service-unit. CC Client
> requests a quota for this use from the server using the
> Requested-Service-Unit AVP. If the users account is barred from
> using that service, the server can return a cause indicating "quota
> declined for session duration" saving the CC client from requesting
> the same quota again.

[MSt]: the assumption is that the services a user is allowed for are =
provisioned
by another entity than the CC server. If a given service is barred for a =
given
user, the Service-Identifier pointing to that service won't be =
provisioned=20
to the Service Element. The CC client won't send any request for that =
service,
simply would deny the user's service request.

> [Leena Mattila] If one wants to ask separate quota for separate
> services, still having one credit control session then I think
> the sub-session mechanism should be used. I don't see big difference
> between the sub-sessions and the mechanism you propose here.
> If different quotas should be reported and treated asynchronously
> then sub-sessions should be used.=20
>=20
> [Chris Richards ] Also when a Reported-Service-Unit is=20
> returned to the CC server,
> it can indicate what action the server should take based on the
> cause for return value - "returning idle quota" will instruct the=20
> server not to re-authorise this quota. Since more than one quota can
> now exist in a single CC message, each needs to indicate independently
> why it is there.
> [Leena Mattila] I don't see a need for any modifications due to that.
> The client can report the used units that the service has consumed
> and if it does not need any more units of this type any more it can
> request 0 units as Requested-Service-Units.
>=20
[MSt]: I don't see need for modification either. What you, Leena, =
describe
is one of the supported option (client driven). Another option is to =
report
0 used-units for a service that didn't consume any and let the server=20
decide what to do (server driven). Both are supported.



