Internet-Draft | Svc. Dest. Opt. | August 2024 |
Bonica, et al. | Expires 8 February 2025 | [Page] |
This document describes an experiment in which VPN service information is encoded in a new IPv6 Destination Option. The new IPv6 Destination Option is called the VPN Service Option.¶
One purpose of this experiment is to demonstrate that the VPN Service Option can be implemented and deployed in a production network. Another purpose is to demonstrate that the security considerations, described in this document, have been sufficiently addressed. Finally, this document encourages replication of the experiment.¶
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 https://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 8 February 2025.¶
Copyright (c) 2024 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 (https://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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Generic Packet Tunneling [RFC2473] allows a router in one network to encapsulate a packet in an IP header and send that packet across the Internet to another router. The receiving router removes the outer IP header and forwards the original packet into its own network. One motivation for Generic Packet Tunneling is to provide connectivity between two networks that share a private addressing [RFC1918] plan but are not connected by direct links. In this case, all sites in the first network are accessible to all sites in the second network. Likewise, all sites in the second network are accessible to all sites in the first network.¶
Virtual Private Networks (VPN) technologies provide additional functionality, allowing network providers to emulate private networks by using shared infrastructure. For example, assume that a red sites and blue sites connect to a provider network. The provider network allows communication among red sites. It also allows communication among blue sites. However, it prevents communication between red sites and blue sites.¶
The IETF has standardized many VPN technologies, including:¶
The VPN technologies mentioned above share the following characteristics:¶
An ingress Provider Edge (PE) device tunnels customer data to an egress PE device. A popular tunnel technology for all of these VPN approaches is MPLS where the tunnel header includes an MPLS [RFC3032] service label.¶
The egress PE removes the tunnel header, exposing the customer data. It then queries its Forwarding Information Base (FIB) to identify the interface through which the customer data is to be forwarded. The service label, found in the tunnel header, identifies either the next-hop interface or a VPN-specific portion of the FIB that will be used to determine the next-hop interface.¶
The mechanism described above requires both PE devices (ingress and egress) to support MPLS. It cannot be deployed where one or both of the PEs does not support MPLS.¶
This document describes an experiment in which VPN service information is encoded in a new IPv6 Destination Option [RFC8200] called the VPN Service Option.¶
One purpose of this experiment is to demonstrate that the VPN Service Option can be implemented and deployed in a production network. Another purpose is to demonstrate that the security considerations, described in this document, have been sufficiently addressed. Finally, this document encourages replication of the experiment, so that operational issues can be discovered.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The VPN Service Option is an IPv6 Destination Option encoded following the encoding rules defined in [RFC8200].¶
The VPN Service Option contains the following fields:¶
Option Type: 8-bit selector. VPN Service Option. This field MUST be set to RFC3692-style Experiment (94)[RFC4727]. See Note below.¶
Opt Data Len - 8-bit unsigned integer. Length of the option, in octets, excluding the Option Type and Option Length fields. This field MUST be set to 4.¶
Option Data - 32-bits. VPN Service Information:¶
High-order 12 bits: A checksum. The checksum field is the 12 bit one's complement of the one's complement sum of all 16 bit words in the pseudo-header. Figure 1 depicts the VPN Service Option Pseudo-header. For purposes of computing the checksum, the value of the checksum is zero.¶
Low-order 20 bits: Identifies either the next-hop interface or a VPN-specific portion of the FIB that will be used to determine the next-hop interface.¶
*---------------------------------------------------------------* | IPv6 Source Address |IPv6 Destination Address | Option Data | *---------------------------------------------------------------*
The VPN Service Option MAY appear in a Destination Options header that precedes an upper-layer header. It MUST NOT appear in any other extension header. If VPN Service option appears in appears in another extension header, the receiver MUST discard the packet.¶
NOTE : A single IPv6 Destination Option Type code point is available in the registry for experimentation. The low order bits are set to '11110'. The highest-order two bits of the Option Type (i.e., the "act" bits) specify the action taken by a destination node that does not recognize the option. For this experiment, these bits are set to 01 to indicate the required action is to discard the packet. The third highest-order bit of the Option Type (i.e., the "chg" bit) indicates whether the Option Data can be modified in transit. For this experiment the bit is set to 0 to indicate that Option Data cannot be modified along the path between the packet's source and its destination. Thus, the Option Type for this experiment is set to '01011110', i.e., 94.¶
The ingress PE encapsulates customer payload in a tunnel header. The tunnel header contains:¶
The IPv6 header contains:¶
Next Header - Defined in [RFC8200]. MUST be equal to either Authentication Header (51) or Destination Options (60).¶
Source Address - Defined in [RFC8200]. Represents an interface on the ingress PE device.¶
Destination Address - Defined in [RFC8200]. Represents an interface on the egress PE device.¶
If the Authentication Header is present, it contains:¶
Next Header - Defined in [RFC4302]. MUST be equal to Destination Options (60).¶
Reserved - Defined in [RFC4302]. MUST be set to zero by the sender, and SHOULD be ignored by the recipient.¶
The IPv6 Destination Options Extension Header contains:¶
The FIB can be populated:¶
By an operator, using a Command Line Interface (CLI).¶
By a controller, using the Path Computation Element (PCE) Communication Protocol (PCEP) [RFC5440] or the Network Configuration Protocol (NETCONF) [RFC6241].¶
If the FIB is populated using BGP, BGP creates a Label-FIB (LFIB), exactly as it would if VPN service information were encoded in an MPLS service label. The egress PE queries the LFIB to resolve information contained by the VPN Service Option.¶
This document does not make any IANA requests.¶
However, if the experiment described herein succeeds, the authors will reissue this document, to be published on the Standards Track. The reissued document will request an IPv6 Destination Option number.¶
IETF VPN technologies assume that PE devices trust one another. If an egress PE processes a VPN Service Option from an untrusted device, VPN boundaries can be breached.¶
The following are acceptable methods of risk mitigation:¶
Authenticate the packet option using the IPv6 Authentication Header (AH) [RFC4302] or the IPv6 Encapsulating Security Payload (ESP) Header [RFC4303]. If the ESP Header is used, it encapsulates the entire packet.¶
Maintain a limited domain.¶
All nodes at the edge limited domain maintain Access Control Lists (ACLs) that discard packets that satisfy the following criteria:¶
Contain an IPv6 VPN Service option.¶
Contain an IPv6 Destination Address that represents an interface inside of the secure limited domain.¶
The checksum in the VPN Service Option provides some protection against accidental modification of the fields that form the pseudo-header, but it does not provide any additional security for the mechanisms defined in this document. It does provide protection against accidental collisions between experiments as described in Section 8.¶
The VPN Service Option is imposed by an ingress PE and processed by an egress PE. It is not processed by any nodes along the delivery path between the ingress PE and egress PE. So, it is safe to deploy the VPN Service Option across the Internet.¶
However, some networks discard packets that include IPv6 Destination Options. This is an imediment to deplyment.¶
Because the VPN Service Option uses an experimental code point, there is a risk of collisions with other experiments. Specifically, the egress PE may process packets from another experiment that uses the same code point. This risk is mitigated by the VPN Service Option checksum. It is highly unlikely that a packet received from the other experiment will pass checksum validation.¶
It is expected that, as with all experiments with IETF protocols, care is taken by the operator to ensure that all nodes participating in an experiment are carefully configured.¶
Parties participating in this experiment should publish experimental results within one year of the publication of this document. Experimental results should address the following:¶
TBD¶