Network Working Group                                       Dayong Guo
Internet Draft                                             Sheng Jiang
Intended status: Standards Track          Huawei Technologies Co., Ltd
Expires: October 20, 2011                                   R. Despres
                                                             RD-IPtech
                                                        April 20, 2011



                        RADIUS Attribute for 6rd

              draft-ietf-softwire-6rd-radius-attrib-02.txt


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 October 20, 2011.

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.








Guo, Jiang & Despres  Expires October 15, 2011                [Page 1]


Internet-Draft draft-ietf-softwire-6rd-radius-attrib-02      April 2011




Abstract

   6rd is One of the most popular methods to provide both IPv4 and IPv6
   connectivity services simultaneously during the IPv4/IPv6 co-existing
   period. The DHCP 6rd option has been defined to configure 6rd CPE.
   But in many networks, the configuration information may be stored in
   AAA servers while user configuration is mainly from Broadband Network
   Gateway (BNG) through DHC protocol. This document defines a RADIUS
   attribute that carries 6rd configuration information from AAA server
   to BNG.



Table of Contents

   1. Introduction ................................................ 3
   2. Terminology ................................................. 3
   3. IPv6 6rd Configuration with RADIUS........................... 3
   4. Attributes .................................................. 5
      4.1. IPv6-6rd-Configuration Attribute ....................... 5
      4.2. Table of attributes..................................... 7
   5. Diameter Considerations...................................... 7
   6. Security Considerations...................................... 7
   7. IANA Considerations ......................................... 7
   8. Acknowledgments ............................................. 8
   9. Change Log [RFC Editor please remove] ....................... 8
   10. References ................................................. 8
      10.1. Normative References................................... 8
      10.2. Informative References................................. 9

















Guo, Jiang & Despres  Expires October 15, 2011                [Page 2]


Internet-Draft draft-ietf-softwire-6rd-radius-attrib-02      April 2011



1. Introduction

   Recently providers start to deploy IPv6 and consider how to transit
   to IPv6. 6rd (IPv6 rapid deployment) [RFC5969] is one of the most
   popular methods to provide both IPv4 and IPv6 connectivity services
   simultaneously during the IPv4/IPv6 co-existing period. 6rd is used
   to provide IPv6 connectivity service through legacy IPv4-only
   infrastructure. 6rd adopt DHCP as auto-configuring protocol. The 6rd
   CPE extends DHCP option to discover 6rd border relay and to configure
   IPv6 prefix and address.

   In many networks, user configuration information may be managed by
   AAA servers, together with user Authentication, Authorization, and
   Accounting (AAA). Current AAA servers communicate using the RADIUS
   (Remote Authentication Dial In User Service, [RFC2865]) protocol.
   In a fixed line broadband network, the Broadband Network Gateways
   (BNGs) act as the access gateway of users (hosts or CPEs). The BNGs
   are assumed to embed a DHCP server function that allows them to
   locally handle any DHCP requests issued by hosts.

   Since the 6rd configuration information is stored in AAA servers and
   user configuration is mainly through DHC protocol between BNGs and
   hosts. New RADIUS attributes are needed to propagate the information
   from AAA servers to BNGs.

2. Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC2119 [RFC2119].

3. IPv6 6rd Configuration with RADIUS

   The below Figure 1 illustrates how the RADIUS protocol and DHCP
   cooperate to provide users/hosts with 6rd configuration.












Guo, Jiang & Despres  Expires October 15, 2011                [Page 3]


Internet-Draft draft-ietf-softwire-6rd-radius-attrib-02      April 2011




      User/host                    BNG                       AAA Server
         |                          |                             |
         |-------DHCPDISCOVER------>|                             |
         |                          |---Request(6rd Attribute)--->|
         |                          |                             |
         |                          |<---Accept(6rd Attribute)----|
         |<-------DHCPOFFER---------|                             |
         |                          |                             |
         |--------DHCPREQUEST------>|                             |
         |      (6rd Option)        |                             |
         |<--------DHCPACK----------|                             |
         |      (6rd option)        |                             |
         |                          |                             |
                   DHCP                         RADIUS
                Figure 1: the cooperation between DHCP and RADIUS

   BNGs act as a bridge between user and AAA server. First, a BNG
   receives a user DHCPDISCOVER. It initiates the BNG to request
   correspondent user authentication relevant from an AAA server using
   RADIUS protocol. A 6rd request may be also sent in the same message.
   If the user authentication is approved by the AAA server, an Accept
   message is acknowledged with the 6rd Attribute, defined in the next
   Section. After the BNG responds to the user with an Advertise
   message, the user requests for a 6rd Option. Then, the BNG can reply
   the user using DHCP protocol.

   Figure 2 describes another scenario, in which the authentication
   operation is not coupled with DHCP. In the authentication stage, the
   BNG obtains the 6rd configuration information from the AAA server
   through RADIUS protocol. When the user requests the 6rd Option, the
   BNG replies with a 6rd option in DHCPACK.

      User/host                    BNG                       AAA Server
         |                          |                             |
         |                          |---Request(6rd Attribute)--->|
         |                          |                             |
         |                          |<---Accept(6rd Attribute)----|
         |                          |                             |
         |--------DHCPREQUEST------>|                             |
         |      (6rd Option)        |                             |
         |<---------DHCPACK---------|                             |
         |      (6rd option)        |                             |
         |                          |                             |
                   DHCP                         RADIUS
                Figure 2: the cooperation between DHCP and RADIUS


Guo, Jiang & Despres  Expires October 15, 2011                [Page 4]


Internet-Draft draft-ietf-softwire-6rd-radius-attrib-02      April 2011


4. Attributes

   This section defines 6rd attribute which is used in the 6rd scenario.

4.1. IPv6-6rd-Configuration Attribute

   The IPv6-6rd-Configuration Attribute is structured as follows (The
   specification requires that multiple IPv4 addresses are associated
   strongly with one IPv6 prefix. Given that RADIUS currently has no
   recommended way of grouping multiple attributes, the below design
   appears to be a reasonable compromise.):

    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     |    SubType    |    SubLen     |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | IPv4MaskLen   |    SubType    |    SubLen     |  Reserved     |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  6rdPrefixLen |                                               |
   +-+-+-+-+-+-+-+-+                                               |
   |                                                               |
   |                     6rdPrefix                                 |
   |                                                               |
   +               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               |   SubType     |    SubLen     |6rdBRIPv4Address|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |             6rdBRIPv4Address                  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



       Type

         TBD

       Length

         25 + n*6 (the length of the entire attribute in octets; n
         stands the number of BR IPv4 addresses, minimum n is 1).

       SubType

         1 (SubType number, for the IPv4 Mask Length suboption)

       SubLen



Guo, Jiang & Despres  Expires October 15, 2011                [Page 5]


Internet-Draft draft-ietf-softwire-6rd-radius-attrib-02      April 2011


         3 (the length of the IPv4 Mask Length suboption)

       IPv4MaskLen

         The number of high-order bits that are identical across all CE
         IPv4 addresses within a given 6rd domain. This may be any value
         between 0 and 32. Any value greater than 32 is invalid.

       SubType

         2 (SubType number, for the 6rd prefix suboption)

       SubLen

         20 (the length of the 6rd prefix suboption)

       Reserved

         Set to be all 0 for now. Reserved for the future use. To be
         compatible with other IPv6 prefix attributes in the Radius
         Protocol.

       6rdPrefixLen

         The IPv6 Prefix length of the Service Provider's 6rd IPv6
         prefix in number of bits. The 6rdPrefixLen MUST be less than or
         equal to 128.

       6rdPrefix

         The Service Provider's 6rd IPv6 prefix represented as a 16
         octet IPv6 address. The bits after the 6rdPrefixlen number of
         bits in the prefix SHOULD be set to zero.

       SubType

         3 (SubType number, for the 6rd Border Relay IPv4 address
         suboption)

       SubLen

         6 (the length of the 6rd Border Relay IPv4 address suboption)

       6rdBRIPv4Address





Guo, Jiang & Despres  Expires October 15, 2011                [Page 6]


Internet-Draft draft-ietf-softwire-6rd-radius-attrib-02      April 2011


         One or more IPv4 addresses of the 6rd Border Relay(s) for a
         given 6rd domain. The maximum RADIUS Attribute length of 255
         octets results in a limit of 58 IPv4 addresses.

4.2. Table of attributes

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

   Request Accept Reject Challenge Accounting  #  Attribute
                                    Request
    0-1     0-1     0      0         0-1      TBD  IPv6-6rd-
                                                   Configuration

   The following table defines the meaning of the above table entries.

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

5. Diameter Considerations

   This attribute is usable within either RADIUS or Diameter [RFC3588].
   Since the Attributes defined in this document will be allocated from
   the standard RADIUS type space, no special handling is required by
   Diameter entities.

6. Security Considerations

   In 6rd scenarios, the RADIUS protocol is run over IPv4. Known
   security vulnerabilities of the RADIUS protocol are discussed in RFC
   2607 [RFC2607], RFC 2865 [RFC2865], and RFC 2869 [RFC2869]. Use of
   IPsec [RFC4301] for providing security when RADIUS is carried in IPv6
   is discussed in RFC 3162 [RFC3162].

   Security considerations for the Diameter protocol are discussed in
   RFC 3588 [RFC3588].

7. IANA Considerations

   This document requires the assignment of one new RADIUS Attribute
   Types in the "Radius Types" registry (currently located at



Guo, Jiang & Despres  Expires October 15, 2011                [Page 7]


Internet-Draft draft-ietf-softwire-6rd-radius-attrib-02      April 2011


   http://www.iana.org/assignments/radius-types for the following
   attributes:

      o  IPv6-6rd-Configuration

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

8. Acknowledgments

   The authors would like to thank Maglione Roberta, Alan DeKok, for
   valuable comments.

9. Change Log [RFC Editor please remove]

   draft-ietf-softwire-6rd-radius-attrib-02, redesign the sub TLVs of
   the attribute according to Radext WG reviewing, 2011-04-20.

   draft-ietf-softwire-6rd-radius-attrib-01, minor modifications after
   Radext WG reviewing, 2010-11-22.

   draft-ietf-softwire-6rd-radius-attrib-00, accept as Softwire WG draft
   in IETF 79, 2010-11-15.

   draft-guo-softwire-6rd-radius-attrib-00, renaming and deleting DS-
   lite contents, 2010-10-18.

   draft-guo-radext-softwire-concentrator-00, original version, 2010-07-
   05.

10. References

10.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.

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

   [RFC3588] Calhoun, P., Loughney, J., Guttman, E., Zorn, G., and J.,
             Arkko, "Diameter Base Protocol", RFC 3588, September 2003.



Guo, Jiang & Despres  Expires October 15, 2011                [Page 8]


Internet-Draft draft-ietf-softwire-6rd-radius-attrib-02      April 2011


   [RFC4301] Kent, S. and K. Seo, "Security Architecture for the
             Internet Protocol", RFC 4301, December 2005.

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

   [RFC5969] Townsley W., et al., "IPv6 Rapid Deployment on IPv4
             Infrastructures (6rd) -- Protocol Specification", RFC5969,
             August 2010.

10.2. Informative References

   [RFC2607] Aboba, B. and J. Vollbrecht, "Proxy Chaining and Policy
             Implementation in Roaming", RFC 2607, June 1999.

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



   Author's Addresses

   Dayong Guo
   Huawei Technologies Co., Ltd
   Huawei Building, No.3 Xinxi Rd.,
   Shang-Di Information Industry Base, Hai-Dian District, Beijing 100085
   P.R. China
   Email: guoseu@huawei.com

   Sheng Jiang
   Huawei Technologies Co., Ltd
   Huawei Building, No.3 Xinxi Rd.,
   Shang-Di Information Industry Base, Hai-Dian District, Beijing 100085
   P.R. China
   Email: jiangsheng@huawei.com

   Remi Despres
   RD-IPtech
   3 rue du President Wilson
   Levallois,
   France
   Email: remi.despres@free.fr







Guo, Jiang & Despres  Expires October 15, 2011                [Page 9]