Radext Working Group                                         L. Yeh, Ed.
Internet-Draft                                       Huawei Technologies
Intended status: Standards Track                        October 24, 2011
Expires: April 26, 2012


           RADIUS Accounting Extensions of Traffic Statistics
               draft-yeh-radext-ext-traffic-statistics-00

Abstract

   This document specifies the RADIUS attributes extensions of IPv4 and
   IPv6 traffic statistics for the differentiated accounting policies on
   the AAA server.

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on April 26, 2012.

Copyright Notice

   Copyright (c) 2011 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.





Yeh                      Expires April 26, 2012                 [Page 1]


Internet-Draft        RADIUS Accounting Extensions          October 2011


Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . 3
   2.  Terminology and Language  . . . . . . . . . . . . . . . . . . . 3
   3.  Deployment Scenarios  . . . . . . . . . . . . . . . . . . . . . 3
   4.  Traffic Statistics Attributes . . . . . . . . . . . . . . . . . 4
   5.  Table of Attributes . . . . . . . . . . . . . . . . . . . . . . 5
   6.  Security Considerations . . . . . . . . . . . . . . . . . . . . 6
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 6
   8.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . 7
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . . . 7
     9.1.  Normative References  . . . . . . . . . . . . . . . . . . . 7
     9.2.  Informative References  . . . . . . . . . . . . . . . . . . 7
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . . 8





































Yeh                      Expires April 26, 2012                 [Page 2]


Internet-Draft        RADIUS Accounting Extensions          October 2011


1.  Introduction

   The following text is not ready for commnets yet, but just repeats
   the idea shown in draft-yeh-radext-dual-stack-access-02.  It will be
   updated soon.

   IP sessions got from PPPoE can be either dual-stack IPv4/IPv6
   session, IPv6-only, or the legacy IPv4-only session.  Alternatively,
   IP session can also be obtained from IPoE. ...

   The NAS is required to support octets counters and packets counters
   for the combined or the separated IPv4 or IPv6 traffic (section 9.4,
   [BBF TR-187]).  After the traffic statistics is reported to the
   accounting server through RADIUS, the accounting policies for the
   IPv4 or IPv6 traffic can be differentiated.  Per the section 9.4 of
   BBF TR-187, the attributes of Acct-Input-Octets, Acct-Output-Octets,
   Acct-Input-Packets, Acct-Output-Packets are recommended to use for
   the combination traffic.  A batch of new RADIUS accounting attributes
   is required here to report the separated IPv4 or IPv6 traffic
   statistics to the Accounting Server.


2.  Terminology and Language

   This document describes some new RADIUS attributes and the associated
   usage on NAS and AAA server.  This document should be read in
   conjunction with the relevant RADIUS specifications, including
   [RFC2865], [RFC2866], [RFC2869], [RFC3162] and [RFC4818] for a
   complete mechanism.  Definitions for terms and acronyms not
   specifically defined in this document are defined in RFC2865,
   RFC2866, RFC2869, RFC3162 and RFC4818.

   The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD,
   SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, when they appear in this
   document, are to be interpreted as described in BCP 14, [RFC2119].


3.  Deployment Scenarios

    +----------+                +----------+                +----------+
    |  Host /  |      PPPoE     |          |     RADIUS     |   AAA    |
    | Customer |  ------------  |   NAS    |  ------------  |  Server  |
    |  Router  |      IPoE      |          |                |          |
    +----------+                +----------+                +----------+
     Dual-Stack         Separated queues and counter
                         for IPv4 and IPv6 traffic

            Figure 1: Deployment Scenario for dual-stack users



Yeh                      Expires April 26, 2012                 [Page 3]


Internet-Draft        RADIUS Accounting Extensions          October 2011


4.  Traffic Statistics Attributes

   The fields shown in the diagrams below are transmitted from left to
   right.

   Description

      The traffic statistics attributes, including Acct-Input-IPv4-
      Octets, Acct-Output-IPv4-Octets, Acct-Input-IPv4-Packets, Acct-
      Output-IPv4-Packets, Acct-Input-IPv4-Gigawords and Acct-Output-
      IPv4-Gigawords, Acct-Input-IPv6-Octets, Acct-Output-IPv6-Octets,
      Acct-Input-IPv6-Packets, Acct-Output-IPv6-Packets, Acct-Input-
      IPv6-Gigawords and Acct-Output-IPv6-Gigawords, indicate how many
      octets or packets of IPv4 or IPv6 received from the user or sent
      to the user from the starting of this service provided, and can be
      present in Accounting-Request records while the Acct-Status-Type
      is set to Interim-Update or Stop.

      A summary of the Traffic Statistics attributes format is shown
      below.


       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     Type      |     Length    |              Value            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |          Value (cont.)        |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Type

      TBAn (by IANA)

      For the attribute of Acct-Input-IPv4-Octets, NAS report how many
      Octets of IPv4 traffic received from the user in the accounting-
      request packets from the starting of the service authorized.  For
      the attribute of Acct-Output-IPv4-Octets, NAS report how many
      Octets of IPv4 traffic sent to the user in the accounting-request
      packets from the starting of the service authorized.  For the
      attribute of Acct-Input-IPv4-Packets, NAS report how many packets
      of IPv4 traffic received from the user in the accounting-request
      packets from the starting of the service authorized.  For the
      attribute of Acct-Output-IPv4-Packets, NAS report how many packets
      of IPv4 traffic sent to the user in the accounting-request packets
      from the starting of the service authorized.  For the attribute of
      Acct-Input-IPv4-Gigawords, NAS report how many Gigawords of IPv4
      traffic received from the user in the accounting-request packets



Yeh                      Expires April 26, 2012                 [Page 4]


Internet-Draft        RADIUS Accounting Extensions          October 2011


      from the starting of the service authorized.  For the attribute of
      Acct-Output-IPv4-Gigawords, NAS report how many Gigawords of IPv4
      traffic sent to the user in the accounting-request packets from
      the starting of the service authorized.  For the attribute of
      Acct-Input-IPv6-Octets, NAS report how many Octets of IPv6 traffic
      received from the user in the accounting-request packets from the
      starting of the service authorized.  For the attribute of Acct-
      Output-IPv6-Octets, NAS report how many Octets of IPv6 traffic
      sent to the user in the accounting-request packets from the
      starting of the service authorized.  For the attribute of Acct-
      Input-IPv6-Packets, NAS report how many packets of IPv6 traffic
      received from the user in the accounting-request packets from the
      starting of the service authorized.  For the attribute of Acct-
      Output-IPv6-Packets, NAS report how many packets of IPv6 traffic
      sent to the user in the accounting-request packets from the
      starting of the service authorized.  For the attribute of Acct-
      Input-IPv6-Gigawords, NAS report how many Gigawords of IPv6
      traffic received from the user in the accounting-request packets
      from the starting of the service authorized.  For the attribute of
      Acct-Output-IPv6-Gigawords, NAS report how many Gigawords of IPv6
      traffic sent to the user in the accounting-request packets from
      the starting of the service authorized.

   Length

      6

   Value

      The Value field is 4 octets.


5.  Table of Attributes

   The following table provides a guide to which attributes may be found
   in which kinds of packets, and in what quantity.















Yeh                      Expires April 26, 2012                 [Page 5]


Internet-Draft        RADIUS Accounting Extensions          October 2011


   Req-  Acc-  Rej-  Chall  Accounting #      Attribute
   uest  ept   ect   -enge  Request
   0     0     0     0      0-1        TBA2   Acct-Input-IPv4-Octets
   0     0     0     0      0-1        TBA3   Acct-Output-IPv4-Octets
   0     0     0     0      0-1        TBA4   Acct-Input-IPv4-Packets
   0     0     0     0      0-1        TBA5   Acct-Output-IPv4-Packets
   0     0     0     0      0-1        TBA6   Acct-Input-IPv4-Gigawords
   0     0     0     0      0-1        TBA7   Acct-Output-IPv4-Gigawords
   0     0     0     0      0-1        TBA8   Acct-Input-IPv6-Octets
   0     0     0     0      0-1        TBA9   Acct-Output-IPv6-Octets
   0     0     0     0      0-1        TBA10  Acct-Input-IPv6-Packets
   0     0     0     0      0-1        TBA11  Acct-Output-IPv6-Packets
   0     0     0     0      0-1        TBA12  Acct-Input-IPv6-Gigawords
   0     0     0     0      0-1        TBA13  Acct-Output-IPv6-Gigawords

   The meaning of the above table entries is as follows:

   0    This attribute MUST NOT be present.
   0+   Zero or more instances of this attribute MAY be present.
   0-1  Zero or one instance of this attribute MAY be present.
   1    Exactly one instance of this attribute MUST be present.
   1+   One or more of these attributes MUST be present.


6.  Security Considerations

   Security issues related RADIUS are described in section 8 of RFC2865
   and section 5 of RFC3162.


7.  IANA Considerations

   IANA is requested to assign 13 new Attribute Types code in the
   "Radius Types" registry (http://www.iana.org/assignments/radius-types
   for the following attributes:

      o  Acct-Input-IPv4-Octets
      o  Acct-Output-IPv4-Octets
      o  Acct-Input-IPv4-Packets
      o  Acct-Output-IPv4-Packets
      o  Acct-Input-IPv4-Gigawords
      o  Acct-Output-IPv4-Gigawords
      o  Acct-Input-IPv6-Octets
      o  Acct-Output-IPv6-Octets
      o  Acct-Input-IPv6-Packets
      o  Acct-Output-IPv6-Packets
      o  Acct-Input-IPv6-Gigawords
      o  Acct-Output-IPv6-Gigawords



Yeh                      Expires April 26, 2012                 [Page 6]


Internet-Draft        RADIUS Accounting Extensions          October 2011


   IANA should allocate these codes from the standard RADIUS Attributes
   space using the "IETF Review" policy [RFC5226].


8.  Acknowledgements

   TBD


9.  References

9.1.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC2865]  Rigney, C., Willens, S., Rubens, A., and W. Simpson,
              "Remote Authentication Dial In User Service (RADIUS)",
              RFC 2865, June 2000.

   [RFC2866]  Rigney, C., "RADIUS Accounting", RFC 2866, June 2000.

   [RFC2869]  Rigney, C., Willats, W., and P. Calhoun, "RADIUS
              Extensions", RFC 2869, June 2000.

   [RFC3162]  Aboba, B., Zorn, G., and D. Mitton, "RADIUS and IPv6",
              RFC 3162, August 2001.

   [RFC4818]  Salowey, J. and R. Droms, "RADIUS Delegated-IPv6-Prefix
              Attribute", RFC 4818, April 2007.

9.2.  Informative References

   [BBF TR-177]
              Broadband Forum, "IPv6 in the context of TR-101, Issue 1",
              November 2010.

   [BBF TR-187]
              Broadband Forum, "IPv6 for PPP Broadband Access, Issue 1",
              May 2010.

   [RFC4241]  Shirasaki, Y., Miyakawa, S., Yamasaki, T., and A.
              Takenouchi, "A Model of IPv6/IPv4 Dual Stack Internet
              Access Service", RFC 4241, December 2005.

   [RFC5226]  Narten, T. and H. Alvestrand, "Guidelines for Writing an
              IANA Considerations Section in RFCs", BCP 26, RFC 5226,
              May 2008.



Yeh                      Expires April 26, 2012                 [Page 7]


Internet-Draft        RADIUS Accounting Extensions          October 2011


   [draft-hu-v6ops-radius-issues-ipv6-00]
              Hu, J., Yan, L., Wang, Q., and J. Qin, "RADIUS issues in
              IPv6 deployments", February 2011.

   [draft-maglione-radext-ipv6-acct-extensions-01]
              Maglione, R., Krishnan, S., Kavanagh, A., Varga, B., and
              J. Kaippallimalil, "RADIUS Accounting Extensions for
              IPv6", January 2011.

   [draft-winter-radext-fancyaccounting-00]
              Winter, S., "RADIUS Accounting for traffic classes",
              March 2011.

   [draft-yeh-radext-dual-stack-access-02]
              Yeh, L. and T. Tsou, "RADIUS Attributes for Dual Stack
              Access", March 2011.

   [ietf-radext-ipv6-access-05]
              Lourdelet, B., Dec, W., Sarikaya, B., Zorn, G., and D.
              Miles, "RADIUS attributes for IPv6 Access Networks",
              July 2011.


Author's Address

   Leaf Y. Yeh (editor)
   Huawei Technologies
   F4, Huawei Area, Bantian,
   Longgang District, Shenzhen  518129
   P.R.China

   Phone: +86-755-28971871
   Email: leaf.y.yeh@huawei.com


















Yeh                      Expires April 26, 2012                 [Page 8]