draft-ietf-softwire-map-radius-20.txt   draft-ietf-softwire-map-radius-21.txt 
Softwire S. Jiang, Ed. Softwire S. Jiang, Ed.
Internet-Draft Huawei Technologies Co., Ltd Internet-Draft Huawei Technologies Co., Ltd
Intended status: Standards Track Y. Fu, Ed. Intended status: Standards Track Y. Fu, Ed.
Expires: August 17, 2019 CNNIC Expires: September 12, 2019 CNNIC
B. Liu B. Liu
Huawei Technologies Co., Ltd Huawei Technologies Co., Ltd
P. Deacon P. Deacon
IEA Software, Inc. IEA Software, Inc.
C. Xie C. Xie
China Telecom China Telecom
T. Li T. Li
Tsinghua University Tsinghua University
M. Boucadair, Ed. M. Boucadair, Ed.
Orange Orange
February 13, 2019 March 11, 2019
RADIUS Attributes for Address plus Port (A+P) based Softwire Mechanisms RADIUS Attributes for Address plus Port (A+P) based Softwire Mechanisms
draft-ietf-softwire-map-radius-20 draft-ietf-softwire-map-radius-21
Abstract Abstract
IPv4-over-IPv6 transition mechanisms provide IPv4 connectivity IPv4-over-IPv6 transition mechanisms provide IPv4 connectivity
services over IPv6 native networks during the IPv4/IPv6 co-existence services over IPv6 native networks during the IPv4/IPv6 co-existence
period. DHCPv6 options have been defined for configuring clients for period. DHCPv6 options have been defined for configuring clients for
Lightweight 4over6, Mapping of Address and Port with Encapsulation, Lightweight 4over6, Mapping of Address and Port with Encapsulation,
and Mapping of Address and Port using Translation unicast softwire and Mapping of Address and Port using Translation unicast softwire
mechanisms, and also multicast softwires. However, in many networks, mechanisms, and also multicast softwires. However, in many networks,
configuration information is stored in an Authentication, configuration information is stored in an Authentication,
skipping to change at page 2, line 10 skipping to change at page 2, line 10
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on August 17, 2019. This Internet-Draft will expire on September 12, 2019.
Copyright Notice Copyright Notice
Copyright (c) 2019 IETF Trust and the persons identified as the Copyright (c) 2019 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 3, line 7 skipping to change at page 3, line 7
3.1.4.2. Rule-IPv4-Prefix Attribute . . . . . . . . . . . 16 3.1.4.2. Rule-IPv4-Prefix Attribute . . . . . . . . . . . 16
3.1.4.3. EA-Length Attribute . . . . . . . . . . . . . . . 16 3.1.4.3. EA-Length Attribute . . . . . . . . . . . . . . . 16
3.1.5. Attributes for Softwire46-v4v6Bind . . . . . . . . . 17 3.1.5. Attributes for Softwire46-v4v6Bind . . . . . . . . . 17
3.1.5.1. IPv4-address Attribute . . . . . . . . . . . . . 17 3.1.5.1. IPv4-address Attribute . . . . . . . . . . . . . 17
3.1.5.2. Bind-IPv6-Prefix Attribute . . . . . . . . . . . 17 3.1.5.2. Bind-IPv6-Prefix Attribute . . . . . . . . . . . 17
3.1.6. Attributes for S46-PORTPARAMS . . . . . . . . . . . . 18 3.1.6. Attributes for S46-PORTPARAMS . . . . . . . . . . . . 18
3.1.6.1. PSID-offset Attribute . . . . . . . . . . . . . . 18 3.1.6.1. PSID-offset Attribute . . . . . . . . . . . . . . 18
3.1.6.2. PSID-len Attribute . . . . . . . . . . . . . . . 19 3.1.6.2. PSID-len Attribute . . . . . . . . . . . . . . . 19
3.1.6.3. PSID Attribute . . . . . . . . . . . . . . . . . 19 3.1.6.3. PSID Attribute . . . . . . . . . . . . . . . . . 19
3.2. Softwire46-Priority Attribute . . . . . . . . . . . . . . 20 3.2. Softwire46-Priority Attribute . . . . . . . . . . . . . . 20
3.3. Softwire46-Multicast Attribute . . . . . . . . . . . . . 21 3.2.1. Softwire46-Option-Code . . . . . . . . . . . . . . . 21
3.3. Softwire46-Multicast Attribute . . . . . . . . . . . . . 22
3.3.1. ASM-Prefix64 Attribute . . . . . . . . . . . . . . . 23 3.3.1. ASM-Prefix64 Attribute . . . . . . . . . . . . . . . 23
3.3.2. SSM-Prefix64 Attribute . . . . . . . . . . . . . . . 24 3.3.2. SSM-Prefix64 Attribute . . . . . . . . . . . . . . . 24
3.3.3. U-Prefix64 Attribute . . . . . . . . . . . . . . . . 24 3.3.3. U-Prefix64 Attribute . . . . . . . . . . . . . . . . 24
4. A Sample Configuration Process with RADIUS . . . . . . . . . 24 4. A Sample Configuration Process with RADIUS . . . . . . . . . 24
5. Table of Attributes . . . . . . . . . . . . . . . . . . . . . 27 5. Table of Attributes . . . . . . . . . . . . . . . . . . . . . 27
6. Security Considerations . . . . . . . . . . . . . . . . . . . 28 6. Security Considerations . . . . . . . . . . . . . . . . . . . 28
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 28 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 28
7.1. New RADIUS Attributes . . . . . . . . . . . . . . . . . . 28 7.1. New RADIUS Attributes . . . . . . . . . . . . . . . . . . 28
7.2. RADIUS Softwire46 Configuration and Multicast Attributes 29 7.2. RADIUS Softwire46 Configuration and Multicast Attributes 29
7.3. Softwire46 Mechanisms and Their Identifying Option Codes 29 7.3. Softwire46 Mechanisms and Their Identifying Option Codes 29
skipping to change at page 20, line 25 skipping to change at page 20, line 25
TLV-Value TLV-Value
Contains the PSID (16-bits) right justified, and the unused bits Contains the PSID (16-bits) right justified, and the unused bits
in this field MUST be set to zero. in this field MUST be set to zero.
The PSID value algorithmically identifies a set of ports The PSID value algorithmically identifies a set of ports
assigned to a CE. The first k bits on the left of this assigned to a CE. The first k bits on the left of this
2-octet field is the PSID value. The remaining (16-k) bits 2-octet field is the PSID value. The remaining (16-k) bits
on the right are padding zeros. on the right are padding zeros.
3.2. Softwire46-Priority Attribute 3.2. Softwire46-Priority Attribute
The Softwire46-Priority Attribute defines a 32-bit Softwire46-option- The Softwire46-Priority Attribute includes an orderd list of
code field to contain the information allowing the client to Softwire64 mechanisms allowing the client to prioritize which
prioritize which mechanism to use, corresponding to mechanism to use, corresponding to OPTION_S46_PRIORITY defined in
OPTION_S46_PRIORITY defined in [RFC8026]. The following requirements [RFC8026]. The following requirements apply:
apply:
The Softwire46-Priority Attribute MAY appear in an Access-Accept The Softwire46-Priority Attribute MAY appear in an Access-Accept
packet. It MAY also appear in an Access-Request packet. packet. It MAY also appear in an Access-Request packet.
The Softwire46-Priority Attribute MAY appear in a CoA-Request The Softwire46-Priority Attribute MAY appear in a CoA-Request
packet. packet.
The Softwire46-Priority Attribute MAY appear in an Accounting- The Softwire46-Priority Attribute MAY appear in an Accounting-
Request packet. Request packet.
The Softwire46-Priority Attribute MUST NOT appear in any other The Softwire46-Priority Attribute MUST NOT appear in any other
RADIUS packet. RADIUS packet.
The Softwrie46-Priority Attribute is structured as follows: The Softwrie46-Priority Attribute is structured as follows:
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 | Extended-Type | ... .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. Softwire46-option-code |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Softwire46-option-code |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type Type
241 (To be confirmed by IANA) 241 (To be confirmed by IANA)
Length Length
Indicates the length of this attribute, Indicates the length of this attribute,
including the Type, Length, Extended-Type and Value fields. including the Type, Length, Extended-Type and Value fields.
Extended-Type Extended-Type
TBD5 TBD5
Softwire46-option-code TLV-Value
Integer. A 32-bit IANA-registered option code representing The attribute include one or more Softwire46-Option-Code TLVs:
an Softwire46 mechanism. The option codes and their A Softwire46-Priority Attribute MUST contain at least one
corresponding Softwire46 mechanisms are listed in Section 7.3. Softwire46-Option-Code TLV (Section 3.2.1).
Softwire46 mechanisms are prioritized in the appearance order
of the Softwire46-option-code(s) in the Softwire46-Priority
Attribute.
A Softwire46-Priority Attribute MUST contain at least one Softwire46 mechanisms are prioritized in the appearance order
Softwire46-option-code. of the in the Softwire46-Priority Attribute.
The Softwire46-Priority Attribute is associated with the following The Softwire46-Priority Attribute is associated with the following
identifier: 241.Extended-Type (TBD5). identifier: 241.Extended-Type (TBD5).
3.2.1. Softwire46-Option-Code
This attribute is used to convey an option code assigned to a
Softwire64 mechanism [RFC8026]. This attribute is encoded 32 bits as
per the recommendation in Appendix A.2.1 of [RFC6158].
The structure of Softwire46-Option-Code is shown below:
TLV-Type
18
TLV-Length
6 octets
Data Type
The attribute Softwire46-Option-Code is of type integer (Section 3.1
of [RFC8044]).
TLV-Value
A 32-bit IANA-registered option code representing a Softwire46
mechanism. The codes and their corresponding Softwire46
mechanisms are listed in Section 7.3.
3.3. Softwire46-Multicast Attribute 3.3. Softwire46-Multicast Attribute
The Softwire46-Multicast Attribute conveys the IPv6 prefixes to be The Softwire46-Multicast Attribute conveys the IPv6 prefixes to be
used to synthesize multicast and unicast IPv4-embedded IPv6 addresses used to synthesize multicast and unicast IPv4-embedded IPv6 addresses
as per [RFC8114]. This attribute is of type "tlv" and contains as per [RFC8114]. This attribute is of type "tlv" and contains
additional TLVs. The following requirements apply: additional TLVs. The following requirements apply:
The BNG SHALL use the IPv6 prefixes returned in the RADIUS The BNG SHALL use the IPv6 prefixes returned in the RADIUS
Softwire46-Multicast Attribute to populate the DHCPv6 PREFIX64 Softwire46-Multicast Attribute to populate the DHCPv6 PREFIX64
Option [RFC8115]. Option [RFC8115].
skipping to change at page 23, line 39 skipping to change at page 23, line 39
translation. Refer to Section 3.3.3. translation. Refer to Section 3.3.3.
The Softwire46-Multicast Attribute is associated with the following The Softwire46-Multicast Attribute is associated with the following
identifier: 241.Extended-Type(TBD6). identifier: 241.Extended-Type(TBD6).
3.3.1. ASM-Prefix64 Attribute 3.3.1. ASM-Prefix64 Attribute
The ASM-Prefix64 attribute is structured as follows: The ASM-Prefix64 attribute is structured as follows:
TLV-Type TLV-Type
18 19
TLV-Length TLV-Length
16 octets. The length of ssm-prefix64 must be to 96 [RFC8115]. 16 octets. The length of ssm-prefix64 must be to 96 [RFC8115].
Data Type Data Type
The attribute ASM-Prefix64 is of type ipv6prefix (Section 3.10 of The attribute ASM-Prefix64 is of type ipv6prefix (Section 3.10 of
[RFC8044]). [RFC8044]).
TLV-Value TLV-Value
This field specifies the IPv6 multicast prefix (asm-prefix64) This field specifies the IPv6 multicast prefix (asm-prefix64)
to be used to synthesize the IPv4-embedded IPv6 addresses of the to be used to synthesize the IPv4-embedded IPv6 addresses of the
multicast groups in the ASM mode. The conveyed multicast IPv6 multicast groups in the ASM mode. The conveyed multicast IPv6
prefix MUST belong to the ASM range. prefix MUST belong to the ASM range.
3.3.2. SSM-Prefix64 Attribute 3.3.2. SSM-Prefix64 Attribute
The SSM-Prefix64 attribute is structured as follows: The SSM-Prefix64 attribute is structured as follows:
Type Type
19 20
TLV-Length TLV-Length
16 octets. The length of ssm-prefix64 must be to 96 [RFC8115]. 16 octets. The length of ssm-prefix64 must be to 96 [RFC8115].
Data Type Data Type
The attribute SSM-Prefix64 is of type ipv6prefix (Section 3.10 of The attribute SSM-Prefix64 is of type ipv6prefix (Section 3.10 of
[RFC8044]). [RFC8044]).
TLV-Type TLV-Type
This field specifies the IPv6 multicast prefix (ssm-prefix64) This field specifies the IPv6 multicast prefix (ssm-prefix64)
to be used to synthesize the IPv4-embedded IPv6 addresses of the to be used to synthesize the IPv4-embedded IPv6 addresses of the
multicast groups in the SSM mode. The conveyed multicast IPv6 multicast groups in the SSM mode. The conveyed multicast IPv6
prefix MUST belong to the SSM range. prefix MUST belong to the SSM range.
3.3.3. U-Prefix64 Attribute 3.3.3. U-Prefix64 Attribute
The structure of U-Prefix64 is shown below: The structure of U-Prefix64 is shown below:
TLV-Type TLV-Type
20 21
TLV-Length TLV-Length
4 + length of unicast-prefix. As specified in [RFC6052], 4 + length of unicast-prefix. As specified in [RFC6052],
the unicast-prefix prefix-length MUST be set to 32, 40, 48, the unicast-prefix prefix-length MUST be set to 32, 40, 48,
56, 64, or 96. 56, 64, or 96.
Data Type Data Type
The attribute U-Prefix64 is of type ipv6prefix (Section 3.10 of The attribute U-Prefix64 is of type ipv6prefix (Section 3.10 of
[RFC8044]). [RFC8044]).
skipping to change at page 28, line 50 skipping to change at page 28, line 50
[RFC8126]. [RFC8126].
This document requests that IANA register three new RADIUS This document requests that IANA register three new RADIUS
attributes, from the "Short Extended Space" of [RFC6929]. The attributes, from the "Short Extended Space" of [RFC6929]. The
attributes are: Softwire46-Configuration Attribute, attributes are: Softwire46-Configuration Attribute,
Softwire46-Priority Attribute, and Softwire46-Multicast Attribute: Softwire46-Priority Attribute, and Softwire46-Multicast Attribute:
Type Description Data Type Reference Type Description Data Type Reference
---- ----------- --------- --------- ---- ----------- --------- ---------
241.TBD1 Softwire46-Configuration tlv Section 3.1 241.TBD1 Softwire46-Configuration tlv Section 3.1
241.TBD5 Softwire46-Priority integer Section 3.2 241.TBD5 Softwire46-Priority tlv Section 3.2
241.TBD6 Softwire46-Multicast tlv Section 3.3 241.TBD6 Softwire46-Multicast tlv Section 3.3
7.2. RADIUS Softwire46 Configuration and Multicast Attributes 7.2. RADIUS Softwire46 Configuration and Multicast Attributes
IANA is requested to create a new registry called "RADIUS Softwire46 IANA is requested to create a new registry called "RADIUS Softwire46
Configuration and Multicast Attributes". Configuration and Multicast Attributes".
All attributes in this registry have one or more parent RADIUS All attributes in this registry have one or more parent RADIUS
attributes in nesting (refer to [RFC6929]). attributes in nesting (refer to [RFC6929]).
skipping to change at page 29, line 35 skipping to change at page 29, line 35
8 Softwire46-V4V6Bind tlv Section 3.1.3.4 8 Softwire46-V4V6Bind tlv Section 3.1.3.4
9 Softwire46-PORTPARAMS tlv Section 3.1.3.5 9 Softwire46-PORTPARAMS tlv Section 3.1.3.5
10 Rule-IPv6-Prefix ipv6prefix Section 3.1.4.1 10 Rule-IPv6-Prefix ipv6prefix Section 3.1.4.1
11 Rule-IPv4-Prefix ipv4prefix Section 3.1.4.2 11 Rule-IPv4-Prefix ipv4prefix Section 3.1.4.2
12 EA-Length integer Section 3.1.4.3 12 EA-Length integer Section 3.1.4.3
13 IPv4-address ipv4addr Section 3.1.5.1 13 IPv4-address ipv4addr Section 3.1.5.1
14 Bind-IPv6-Prefix ipv6prefix Section 3.1.5.2 14 Bind-IPv6-Prefix ipv6prefix Section 3.1.5.2
15 PSID-offset integer Section 3.1.6.1 15 PSID-offset integer Section 3.1.6.1
16 PSID-len integer Section 3.1.6.2 16 PSID-len integer Section 3.1.6.2
17 PSID integer Section 3.1.6.3 17 PSID integer Section 3.1.6.3
18 ASM-Prefix64 ipv6prefix Section 3.3.1 18 Softwire64-Option-Code integer Section 3.2.1
19 SSM-Prefix64 ipv6prefix Section 3.3.2 19 ASM-Prefix64 ipv6prefix Section 3.3.1
20 U-Prefix64 ipv6prefix Section 3.3.3 20 SSM-Prefix64 ipv6prefix Section 3.3.2
21-255 Unassigned 21 U-Prefix64 ipv6prefix Section 3.3.3
22-255 Unassigned
The registration procedure for this registry is Standards Action as The registration procedure for this registry is Standards Action as
defined in [RFC8126]. defined in [RFC8126].
7.3. Softwire46 Mechanisms and Their Identifying Option Codes 7.3. Softwire46 Mechanisms and Their Identifying Option Codes
The Softwire46-Priority Attribute defines a 16-bit Softwire46-option- The Softwire46-Priority Attribute defines a 16-bit Softwire46-option-
code field, for which IANA is requested to create and maintain a new code field, for which IANA is requested to create and maintain a new
registry entitled "Option Codes Permitted in the Softwire46-Priority registry entitled "Option Codes Permitted in the Softwire46-Priority
Attribute". The registration procedure for this registry is Attribute". The registration procedure for this registry is
 End of changes. 15 change blocks. 
37 lines changed or deleted 48 lines changed or added

This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/