This section specifies the components and steps to set up an ACP. The ACP is automatically self-creating, which makes it "indestructible" against most changes to the data plane, including misconfigurations of routing, addressing, NAT, firewall, or any other traffic policy filters that would inadvertently or otherwise unavoidably also impact the management plane traffic, such as the actual operator command-line interface (CLI) session or controller NETCONF session through which the configuration changes to the data plane are executed.
Physical misconfiguration of wiring between ACP nodes will also not break the ACP. As long as there is a transitive physical path between ACP nodes, the ACP should be able to recover given that it automatically operates across all interfaces of the ACP nodes and automatically determines paths between them.
Attacks against the network via incorrect routing or addressing information for the data plane will not impact the ACP. Even impaired ACP nodes will have a significantly reduced attack surface against malicious misconfiguration because only very limited ACP or interface up/down configuration can affect the ACP, and depending on their specific designs, these types of attacks could also be eliminated. See more in
Section 9.3 and
Section 11.
An ACP node can be a router, switch, controller, NMS host, or any other IPv6-capable node. Initially, it
MUST have its ACP certificate, as well as an (empty) ACP adjacency table (described in
Section 6.3). It then can start to discover ACP neighbors and build the ACP. This is described step by step in the following sections.
The ACP relies on group security. An ACP domain is a group of nodes that trust each other to participate in ACP operations such as creating ACP secure channels in an autonomous, peer-to-peer fashion between ACP domain members via protocols such as IPsec. To authenticate and authorize another ACP member node with access to the ACP domain, each ACP member requires keying material: an ACP node
MUST have an LDevID certificate and information about one or more TAs as required for the ACP domain membership check (
Section 6.2.3).
Manual keying via shared secrets is not usable for an ACP domain because it would require a single shared secret across all current and future ACP domain members to meet the expectation of autonomous, peer-to-peer establishment of ACP secure channels between any ACP domain members. Such a single shared secret would be an unacceptable security weakness. Asymmetric keying material (public keys) without certificates does not provide the mechanism to authenticate ACP domain membership in an autonomous, peer-to-peer fashion for current and future ACP domain members.
The LDevID certificate is henceforth called the ACP certificate. The TA is the CA root certificate of the ACP domain.
The ACP does not mandate specific mechanisms by which this keying material is provisioned into the ACP node. It only requires that the certificate comply with
Section 6.2.1, specifically that it have the acp-node-name as specified in
Section 6.2.2 in its domain certificate as well as those of candidate ACP peers. See
Appendix A.2 for more information about enrollment or provisioning options.
This document uses the term ACP in many places where the Autonomic Networking reference documents [
RFC 7575] and [
RFC 8993] use the word autonomic. This is done because those reference documents consider (only) fully Autonomic Networks and nodes, but the support of ACP does not require the support for other components of Autonomic Networks except for the reliance on GRASP and the providing of security and transport for GRASP. Therefore, the word autonomic might be misleading to operators interested in only the ACP.
[
RFC 7575] defines the term "autonomic domain" as a collection of autonomic nodes. ACP nodes do not need to be fully autonomic, but when they are, then the ACP domain is an autonomic domain. Likewise, [
RFC 8993] defines the term "domain certificate" as the certificate used in an autonomic domain. The ACP certificate is that domain certificate when ACP nodes are (fully) autonomic nodes. Finally, this document uses the term ACP network to refer to the network created by active ACP nodes in an ACP domain. The ACP network itself can extend beyond ACP nodes through the mechanisms described in
Section 8.1.
ACP certificates
MUST be [
RFC 5280] compliant X.509 v3 [
X.509] certificates.
ACP nodes
MUST support handling ACP certificates, TA certificates, and certificate chain certificates (henceforth just called certificates in this section) with RSA public keys and certificates with Elliptic Curve Cryptography (ECC) public keys.
ACP nodes
MUST NOT support certificates with RSA public keys of less than a 2048-bit modulus or curves with group order of less than 256 bits. They
MUST support certificates with RSA public keys with 2048-bit modulus and
MAY support longer RSA keys. They
MUST support certificates with ECC public keys using NIST P-256 curves and
SHOULD support P-384 and P-521 curves.
ACP nodes
MUST NOT support certificates with RSA public keys whose modulus is less than 2048 bits, or certificates whose ECC public keys are in groups whose order is less than 256 bits. RSA signing certificates with 2048-bit public keys
MUST be supported, and such certificates with longer public keys
MAY be supported. ECDSA certificates using the NIST P-256 curve
MUST be supported, and such certificates using the P-384 and P-521 curves
SHOULD be supported.
ACP nodes
MUST support RSA certificates that are signed by RSA signatures over the SHA-256 digest of the contents and
SHOULD additionally support SHA-384 and SHA-512 digests in such signatures. The same requirements for digest usage in certificate signatures apply to Elliptic Curve Digital Signature Algorithm (ECDSA) certificates, and additionally, ACP nodes
MUST support ECDSA signatures on ECDSA certificates.
The ACP certificate
SHOULD use an RSA key and an RSA signature when the ACP certificate is intended to be used not only for ACP authentication but also for other purposes. The ACP certificate
MAY use an ECC key and an ECDSA signature if the ACP certificate is only used for ACP and ANI authentication and authorization.
Any secure channel protocols used for the ACP as specified in this document or extensions of this document
MUST therefore support authentication (e.g., signing), starting with these types of certificates. See [
RFC 8422] for more information.
The reason for these choices are as follows: as of 2020, RSA is still more widely used than ECC, therefore the
MUST-level requirements for RSA. ECC offers equivalent security at (logarithmically) shorter key lengths (see [
RFC 8422]). This can be beneficial especially in the presence of constrained bandwidth or constrained nodes in an ACP/ANI network. Some ACP functions such as GRASP peer-to-peer across the ACP require end-to-end/any-to-any authentication and authorization, therefore ECC can only reliably be used in the ACP when it
MUST be supported on all ACP nodes. RSA signatures are mandatory to be supported also for ECC certificates because the CAs themselves may not support ECC yet.
The ACP certificate
SHOULD be used for any authentication between nodes with ACP domain certificates (ACP nodes and NOC nodes) where a required authorization condition is ACP domain membership, such as ACP node to NOC/OAM end-to-end security and ASA to ASA end-to-end security.
Section 6.2.3 defines this "ACP domain membership check". The uses of this check that are standardized in this document are for the establishment of hop-by-hop ACP secure channels (
Section 6.8) and for ACP GRASP (
Section 6.9.2) end to end via TLS.
The ACP domain membership check requires a minimum number of elements in a certificate as described in
Section 6.2.3. The identity of a node in the ACP is carried via the acp-node-name as defined in
Section 6.2.2.
To support Elliptic Curve Diffie-Hellman (ECDH) directly with the key in the ACP certificate, ACP certificates with ECC keys need to indicate that they are ECDH capable: if the X.509 v3 keyUsage extension is present, the keyAgreement bit must then be set. Note that this option is not required for any of the required ciphersuites in this document and may not be supported by all CAs.
Any other fields of the ACP certificate are to be populated as required by [
RFC 5280]. As long as they are compliant with [
RFC 5280], any other field of an ACP certificate can be set as desired by the operator of the ACP domain through the appropriate ACP registrar and/or ACP CA procedures. For example, other fields may be required for purposes other than those that the ACP certificate is intended to be used for (such as elements of a SubjectName).
For further certificate details, ACP certificates may follow the recommendations from [
CABFORUM].
For diagnostic and other operational purposes, it is beneficial to copy the device-identifying fields of the node's IDevID certificate into the ACP certificate, such as the "serialNumber" attribute ([
X.520], Section 6.2.9) in the subject field distinguished name encoding. Note that this is not the certificate serial-number. See also
RFC 8995,
Section 2.3.1. This can be done, for example, if it would be acceptable for the device's "serialNumber" to be signaled via the Link Layer Discovery Protocol [
LLDP] because, like LLDP-signaled information, the ACP certificate information can be retrieved by neighboring nodes without further authentication and can be used either for beneficial diagnostics or for malicious attacks. Retrieval of the ACP certificate is possible via a (failing) attempt to set up an ACP secure channel, and the "serialNumber" usually contains device type information that may help to more quickly determine working exploits/attacks against the device.
Note that there is no intention to constrain authorization within the ACP or Autonomic Networks using the ACP to just the ACP domain membership check as defined in this document. It can be extended or modified with additional requirements. Such future authorizations can use and require additional elements in certificates or policies or even additional certificates. See
Section 6.2.5 for the additional check against the id-kp-cmcRA extended key usage attribute ("[
Certificate Management over CMS (CMC) Updates]" [
RFC 6402]), and see
Appendix A.9.5 for possible future extensions.
acp-node-name = local-part "@" acp-domain-name
local-part = [ acp-address ] [ "+" rsub extensions ]
acp-address = 32HEXDIG / "0" ; HEXDIG as of [RFC5234], Appendix B.1
rsub = [ <subdomain> ] ; <subdomain> as of [RFC1034], Section 3.5
acp-domain-name = <domain> ; as of [RFC1034], Section 3.5
extensions = *( "+" extension )
extension = 1*etext ; future standard definition.
etext = ALPHA / DIGIT / ; Printable US-ASCII
"!" / "#" / "$" / "%" / "&" / "'" /
"*" / "-" / "/" / "=" / "?" / "^" /
"_" / "`" / "{" / "|" / "}" / "~"
routing-subdomain = [ rsub "." ] acp-domain-name
Example:
Given an ACP address of fd89:b714:f3db:0:200:0:6400:0000, an ACP domain name of acp.example.com, and an rsub extension of area51.research, then this results in the following:
acp-node-name = fd89b714f3db00000200000064000000
+area51.research@acp.example.com
acp-domain-name = acp.example.com
routing-subdomain = area51.research.acp.example.com
The acp-node-name in
Figure 2 is the ABNF definition ("[
Augmented BNF for Syntax Specifications: ABNF]" [
RFC 5234]) of the ACP Node Name. An ACP certificate
MUST carry this information. It
MUST contain an otherName field in the X.509 Subject Alternative Name extension, and the otherName
MUST contain an AcpNodeName as described in
Section 6.2.2.
Nodes complying with this specification
MUST be able to receive their ACP address through the domain certificate, in which case their own ACP certificate
MUST have a 32HEXDIG acp-address field. The acp-address field is case insensitive because ABNF HEXDIG is. It is recommended to encode acp-address with lowercase letters. Nodes complying with this specification
MUST also be able to authenticate nodes as ACP domain members or ACP secure channel peers when they have a zero-value acp-address field and as ACP domain members (but not as ACP secure channel peers) when the acp-address field is omitted from their AcpNodeName. See
Section 6.2.3.
The acp-domain-name is used to indicate the ACP domain across which ACP nodes authenticate and authorize each other, for example, to build ACP secure channels to each other, see
Section 6.2.3. The acp-domain-name
SHOULD be the FQDN of an Internet domain owned by the network administration of the ACP and ideally reserved to only be used for the ACP. In this specification, it serves as a name for the ACP that ideally is globally unique. When acp-domain-name is a globally unique name, collision of ACP addresses across different ACP domains can only happen due to ULA hash collisions (see
Section 6.11.2). Using different acp-domain-names, operators can distinguish multiple ACPs even when using the same TA.
To keep the encoding simple, there is no consideration for internationalized acp-domain-names. The acp-node-name is not intended for end-user consumption. There is no protection against an operator picking any domain name for an ACP whether or not the operator can claim to own the domain name. Instead, the domain name only serves as a hash seed for the ULA and for diagnostics for the operator. Therefore, any operator owning only an internationalized domain name should be able to pick an equivalently unique 7-bit ASCII acp-domain-name string representing the internationalized domain name.
The routing-subdomain is a string that can be constructed from the acp-node-name, and it is used in the hash creation of the ULA (see
Section 6.11.2). The presence of the rsub component allows a single ACP domain to employ multiple /48 ULA prefixes. See
Appendix A.6 for example use cases.
The optional extensions field is used for future standardized extensions to this specification. It
MUST be ignored if present and not understood.
The following points explain and justify the encoding choices described:
-
Formatting notes:
- 1.1
- The rsub component needs to be in the local-part: if the format just had routing-subdomain as the domain part of the acp-node-name, rsub and acp-domain-name could not be separated from each other to determine in the ACP domain membership check which part is the acp-domain-name and which is solely for creating a different ULA prefix.
- 1.2
- If both acp-address and rsub are omitted from AcpNodeName, the local-part will have the format "++extension(s)". The two plus characters are necessary so the node can unambiguously parse that both acp-address and rsub are omitted.
-
The encoding of the ACP domain name and ACP address as described in this section is used for the following reasons:
- 2.1
- The acp-node-name is the identifier of a node's ACP. It includes the necessary components to identify a node's ACP both from within the ACP as well as from the outside of the ACP.
- 2.2
- For manual and/or automated diagnostics and backend management of devices and ACPs, it is necessary to have an easily human-readable and software-parsable standard, single string representation of the information in the acp-node-name. For example, inventory or other backend systems can always identify an entity by one unique string field but not by a combination of multiple fields, which would be necessary if there were no single string representation.
- 2.3
- If the encoding was not such a string, it would be necessary to define a second standard encoding to provide this format (standard string encoding) for operator consumption.
- 2.4
- Addresses of the form <local>@<domain> have become the preferred format for identifiers of entities in many systems, including the majority of user identifiers in web or mobile applications such as multi-domain single-sign-on systems.
-
Compatibilities:
- 3.1
- It should be possible to use the ACP certificate as an LDevID certificate on the system for uses besides the ACP. Therefore, the information element required for the ACP should be encoded so that it minimizes the possibility of creating incompatibilities with other such uses. The attributes of the subject field, for example, are often used in non-ACP applications and therefore should not be occupied by new ACP values.
- 3.2
- The element should not require additional ASN.1 encoding and/or decoding because libraries for accessing certificate information, especially for embedded devices, may not support extended ASN.1 decoding beyond predefined, mandatory fields. subjectAltName / otherName is already used with a single string parameter for several otherNames (see "[Extensible Messaging and Presence Protocol (XMPP): Core]" [RFC 6120], "[Dynamic Peer Discovery for RADIUS/TLS and RADIUS/DTLS Based on the Network Access Identifier (NAI)]" [RFC 7585], "[Internet X.509 Public Key Infrastructure Subject Alternative Name for Expression of Service Name]" [RFC 4985], "[Internationalized Email Addresses in X.509 Certificates]" [RFC 8398]).
- 3.3
- The element required for the ACP should minimize the risk of being misinterpreted by other uses of the LDevID certificate. It also must not be misinterpreted as an email address, hence the use of the otherName / rfc822Name option in the certificate would be inappropriate.
See
Section 4.2.1.6 of
RFC 5280 for details on the subjectAltName field.
The following ASN.1 module normatively specifies the AcpNodeName structure. This specification uses the ASN.1 definitions from "[
New ASN.1 Modules for the Public Key Infrastructure Using X.509 (PKIX)]" [
RFC 5912] with the 2002 ASN.1 notation used in that document. [
RFC 5912] updates normative documents using older ASN.1 notation.
ANIMA-ACP-2020
{ iso(1) identified-organization(3) dod(6)
internet(1) security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-anima-acpnodename-2020(97) }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
IMPORTS
OTHER-NAME
FROM PKIX1Implicit-2009
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-pkix1-implicit-02(59) }
id-pkix
FROM PKIX1Explicit-2009
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-pkix1-explicit-02(51) } ;
id-on OBJECT IDENTIFIER ::= { id-pkix 8 }
AcpNodeNameOtherNames OTHER-NAME ::= { on-AcpNodeName, ... }
on-AcpNodeName OTHER-NAME ::= {
AcpNodeName IDENTIFIED BY id-on-AcpNodeName
}
id-on-AcpNodeName OBJECT IDENTIFIER ::= { id-on 10 }
AcpNodeName ::= IA5String (SIZE (1..MAX))
-- AcpNodeName as specified in this document carries the
-- acp-node-name as specified in the ABNF in Section 6.2.2
END
The following points constitute the ACP domain membership check of a candidate peer via its certificate:
-
The peer has proved ownership of the private key associated with the certificate's public key. This check is performed by the security association protocol used, for example, Section 2.15 of [RFC 7296].
-
The peer's certificate passes certificate path validation as defined in RFC 5280, Section 6, against one of the TAs associated with the ACP node's ACP certificate (see Section 6.2.4). This includes verification of the validity (lifetime) of the certificates in the path.
-
If the peer's certificate indicates a CRLDP (RFC 5280, Section 4.2.1.13) or OCSP responder (RFC 5280, Section 4.2.2.1), then the peer's certificate MUST be valid according to those mechanisms when they are available: an OCSP check for the peer's certificate across the ACP must succeed, or the peer's certificate must not be listed in the CRL retrieved from the CRLDP. These mechanisms are not available when the ACP node has no ACP or non-ACP connectivity to retrieve a current CRL or has no access an OCSP responder, and the security association protocol itself also has no way to communicate the CRL or OCSP check.
Retries to learn revocation via OCSP or CRL SHOULD be made using the same backoff as described in Section 6.7. If and when the ACP node then learns that an ACP peer's certificate is invalid for which Rule 3 had to be skipped during ACP secure channel establishment, then the ACP secure channel to that peer MUST be closed even if this peer is the only connectivity to access CRL/OCSP. This applies (of course) to all ACP secure channels to this peer if there are multiple. The ACP secure channel connection MUST be retried periodically to support the case that the neighbor acquires a new, valid certificate.
-
The peer's certificate has a syntactically valid acp-node-name field, and the acp-domain-name in that peer's acp-node-name is the same as in this ACP node's certificate (lowercase normalized).
When checking a candidate peer's certificate for the purpose of establishing an ACP secure channel, one additional check is performed:
-
The acp-address field of the candidate peer certificate's AcpNodeName is not omitted but is either 32HEXDIG or 0, according to Figure 2.
Technically, ACP secure channels can only be built with nodes that have an acp-address.
Rule 5 ensures that this is taken into account during ACP domain membership check.
Nodes with an omitted acp-address field can only use their ACP domain certificate for non-ACP secure channel authentication purposes. This includes, for example, NMS type nodes permitted to communicate into the ACP via
Section 8.1
The special value "0" in an ACP certificate's acp-address field is used for nodes that can and should determine their ACP address through mechanisms other than learning it through the acp-address field in their ACP certificate. These ACP nodes are permitted to establish ACP secure channels. Mechanisms for those nodes to determine their ACP address are outside the scope of this specification, but this option is defined here so that any ACP nodes can build ACP secure channels to them according to
Rule 5.
The optional rsub field of the AcpNodeName is not relevant to the ACP domain membership check because it only serves to structure routing and addressing within an ACP but not to segment mutual authentication and authorization (hence the name "routing subdomain").
In summary:
-
Steps 1 through 4 constitute standard certificate validity verification and private key authentication as defined by [RFC 5280] and security association protocols (such as [RFC 7296]) when leveraging certificates.
-
Except for its public key, Steps 1 through 4 do not include the verification of any preexisting form of a certificate's identity elements, such as a web server's domain name prefix, which is often encoded in the certificate common name. Step 5 is an equivalent step for the AcpNodeName.
-
Step 4 constitutes standard CRL and OCSP checks refined for the case of missing connectivity and limited-functionality security association protocols.
-
Steps 1 through 4 authorize the building of any secure connection between members of the same ACP domain except for ACP secure channels.
-
Step 5 is the additional verification of the presence of an ACP address as necessary for ACP secure channels.
-
Steps 1 through 5 therefore authorize the building of an ACP secure channel.
For brevity, the remainder of this document refers to this process only as authentication instead of as authentication and authorization.
An ACP node with a realtime clock in which it has confidence
MUST check the timestamps when performing an ACP domain membership check, such as checking the certificate validity period in
Step 1 and the respective times in
Step 4 for revocation information (e.g., signingTimes in Cryptographic Message Syntax (CMS) signatures).
An ACP node without such a realtime clock
MAY ignore those timestamp validation steps if it does not know the current time. Such an ACP node
SHOULD obtain the current time in a secured fashion, such as via NTP signaled through the ACP. It then ignores timestamp validation only until the current time is known. In the absence of implementing a secured mechanism, such an ACP node
MAY use a current time learned in an insecure fashion in the ACP domain membership check.
Current time
MAY be learned in an unsecured fashion, for example, via NTP ("[
Network Time Protocol Version 4: Protocol and Algorithms Specification]" [
RFC 5905]) over the same link-local IPv6 addresses used for the ACP from neighboring ACP nodes. ACP nodes that do provide unsecured NTP over their link-local addresses
SHOULD primarily run NTP across the ACP and provide NTP time across the ACP only when they have a trusted time source. Details for such NTP procedures are beyond the scope of this specification.
Besides the ACP domain membership check, the ACP itself has no dependency on knowing the current time, but protocols and services using the ACP, for example, event logging, will likely need to know the current time.
ACP nodes need TA information according to
RFC 5280,
Section 6.1.1 (d), typically in the form of one or more certificates of the TA to perform certificate path validation as required by
Section 6.2.3, Rule 2. TA information
MUST be provisioned to an ACP node (together with its ACP domain certificate) by an ACP registrar during initial enrollment of a candidate ACP node. ACP nodes
MUST also support the renewal of TA information via EST as described in
Section 6.2.5.
The required information about a TA can consist of one or more certificates as required for dealing with CA certificate renewals as explained in Section
4.4 of [
RFC 4210]).
A certificate path is a chain of certificates starting at the ACP certificate (the leaf and/or end entity), followed by zero or more intermediate CA certificates, and ending with the TA information, which is typically one or two self-signed certificates of the TA. The CA that signs the ACP certificate is called the assigning CA. If there are no intermediate CAs, then the assigning CA is the TA. Certificate path validation authenticates that the TA associated with the ACP permits the ACP certificate, either directly or indirectly via one or more intermediate CA.
Note that different ACP nodes may have different intermediate CAs in their certificate path and even different TA. The set of TAs for an ACP domain must be consistent across all ACP members so that any ACP node can authenticate any other ACP node. The protocols through which the ACP domain membership check
Rules 1 through 3 are performed need to support the exchange not only of the ACP nodes certificates but also the exchange of the intermediate TA.
For the ACP domain membership check, ACP nodes
MUST support certificate path validation with zero or one intermediate CA. They
SHOULD support two intermediate CAs and two TAs (to permit migration from one TA to another TA).
Certificates for an ACP
MUST only be given to nodes that are allowed to be members of that ACP. When the signing CA relies on an ACP registrar, the CA
MUST only sign certificates with acp-node-name through trusted ACP registrars. In this setup, any existing CA, unaware of the formatting of acp-node-name, can be used.
These requirements can be achieved by using a TA private to the owner of the ACP domain or potentially through appropriate contractual agreements between the involved parties (registrar and CA). Using a public CA is out of scope of this document.
A single owner can operate multiple, independent ACP domains from the same set of TAs. Registrars must then know into which ACP a node needs to be enrolled.
ACP nodes
MUST support renewal of their certificate and TA information via EST and
MAY support other mechanisms. See
Section 6.1 for TLS requirements. An ACP network
MUST have at least one ACP node supporting EST server functionality across the ACP so that EST renewal is usable.
ACP nodes
SHOULD remember the GRASP O_IPv6_LOCATOR parameters of the EST server with which they last renewed their ACP certificate. They
SHOULD provide the ability for these EST server parameters to also be set by the ACP registrar (see
Section 6.11.7) that initially enrolled the ACP device with its ACP certificate. When BRSKI is used (see [
RFC 8995]), the IPv6 locator of the BRSKI registrar from the BRSKI TLS connection
SHOULD be remembered and used for the next renewal via EST if that registrar also announces itself as an EST server via GRASP on its ACP address (see
Section 6.2.5.1).
The EST server
MUST present a certificate that passes the ACP domain membership check in its TLS connection setup (
Section 6.2.3, rules 1 through 4, not
rule 5 as this is not for an ACP secure channel setup). The EST server certificate
MUST also contain the id-kp-cmcRA extended key usage attribute [
RFC 6402], and the EST client
MUST check its presence.
The additional check against the id-kp-cmcRA extended key usage extension field ensures that clients do not fall prey to an illicit EST server. While such illicit EST servers should not be able to support certificate signing requests (as they are not able to elicit a signing response from a valid CA), such an illicit EST server would be able to provide faked CA certificates to EST clients that need to renew their CA certificates when they expire.
Note that EST servers supporting multiple ACP domains will need to have a separate certificate for each of these ACP domains and respond on a different transport address (IPv6 address and/or TCP port). This is easily automated on the EST server if the CA allows registrars to request certificates with the id-kp-cmcRA extended usage extension for themselves.
ACP nodes that are EST servers
MUST announce their service in the ACP via GRASP Flood Synchronization (M_FLOOD) messages. See
RFC 8990,
Section 2.8.11 for the definition of this message type and
Figure 4 for an example.
[M_FLOOD, 12340815, h'fd89b714f3db0000200000064000001', 210000,
[["SRV.est", 4, 255 ],
[O_IPv6_LOCATOR,
h'fd89b714f3db0000200000064000001', IPPROTO_TCP, 443]]
]
The formal definition of the objective in CDDL (see "[
Concise Data Definition Language (CDDL): A Notational Convention to Express Concise Binary Object Representation (CBOR) and JSON Data Structures]" [
RFC 8610]) is as follows:
flood-message = [M_FLOOD, session-id, initiator, ttl,
+[objective, (locator-option / [])]]
; See example above and explanation
; below for initiator and ttl.
objective = ["SRV.est", objective-flags, loop-count,
objective-value]
objective-flags = sync-only ; As in [RFC8990].
sync-only = 4 ; M_FLOOD only requires synchronization.
loop-count = 255 ; Recommended as there is no mechanism
; to discover network diameter.
objective-value = any ; Reserved for future extensions.
The objective name "SRV.est" indicates that the objective is an EST server compliant with [
RFC 7030] because "est" is a registered service name ("[
Internet Assigned Numbers Authority (IANA) Procedures for the Management of the Service Name and Transport Protocol Port Number Registry]" [
RFC 6335]) for [
RFC 7030]. The 'objective-value' field
MUST be ignored if present. Backward-compatible extensions to [
RFC 7030]
MAY be indicated through 'objective-value'. Certificate renewal options that are incompatible with [
RFC 7030]
MUST use a different 'objective-name'. Unrecognized 'objective-value' fields (or parts thereof if it is a partially understood structure)
MUST be ignored.
The M_FLOOD message
MUST be sent periodically. The default
SHOULD be 60 seconds; the value
SHOULD be operator configurable but
SHOULD be not smaller than 60 seconds. The frequency of sending
MUST be such that the aggregate amount of periodic M_FLOODs from all flooding sources cause only negligible traffic across the ACP. The time-to-live (ttl) parameter
SHOULD be 3.5 times the period so that up to three consecutive messages can be dropped before an announcement is considered expired. In the example above, the ttl is 210000 msec, that is, 3.5 times 60 seconds. When a service announcer using these parameters unexpectedly dies immediately after sending the M_FLOOD, receivers would consider it expired 210 seconds later. When a receiver tries to connect to this dead service before this timeout, it will experience a failing connection and use that as an indication that the service instance is dead and select another instance of the same service instead (from another GRASP announcement).
The "SRV.est" objective(s)
SHOULD only be announced when the ACP node knows that it can successfully communicate with a CA to perform the EST renewal and/or rekeying operations for the ACP domain. See also
Section 11.
When performing renewal, the node
SHOULD attempt to connect to the remembered EST server. If that fails, it
SHOULD attempt to connect to an EST server learned via GRASP. The server with which certificate renewal succeeds
SHOULD be remembered for the next renewal.
Remembering the last renewal server and preferring it provides stickiness that can help diagnostics. It also provides some protection against off-path, compromised ACP members announcing bogus information into GRASP.
Renewal of certificates
SHOULD start after less than 50% of the domain certificate lifetime so that network operations have ample time to investigate and resolve any problems that cause a node to not renew its domain certificate in time, and to allow prolonged periods of running parts of a network disconnected from any CA.
The ACP node
SHOULD support revocation through CRL(s) via HTTP from one or more CRL Distribution Points (CRLDP). The CRLDP(s)
MUST be indicated in the domain certificate when used. If the CRLDP URL uses an IPv6 address (ULA address when using the addressing rules specified in this document), the ACP node will connect to the CRLDP via the ACP. If the CRLDP uses a domain name, the ACP node will connect to the CRLDP via the data plane.
It is common to use domain names for CRLDP(s), but there is no requirement for the ACP to support DNS. Any DNS lookup in the data plane is not only a possible security issue, but it would also not indicate whether the resolved address is meant to be reachable across the ACP. Therefore, the use of an IPv6 address versus the use of a DNS name doubles as an indicator whether or not to reach the CRLDP via the ACP.
A CRLDP can be reachable across the ACP either by running it on a node with ACP or by connecting its node via an ACP connect interface (see
Section 8.1).
When using a private PKI for ACP certificates, the CRL may be need-to-know, for example, to prohibit insight into the operational practices of the domain by tracking the growth of the CRL. In this case, HTTPS may be chosen to provide confidentiality, especially when making the CRL available via the data plane. Authentication and authorization
SHOULD use ACP certificates and the ACP domain membership check (
Section 6.2.3). The CRLDP
MAY omit the CRL verification during authentication of the peer to permit CRL retrieval by an ACP node with a revoked ACP certificate, which can allow the (ex) ACP node to quickly discover its ACP certificate revocation. This may violate the desired need-to-know requirement, though. ACP nodes
MAY support CRLDP operations via HTTPS.
The certificate lifetime may be set to shorter lifetimes than customary (one year) because certificate renewal is fully automated via ACP and EST. The primary limiting factor for shorter certificate lifetimes is the load on the EST server(s) and CA. It is therefore recommended that ACP certificates are managed via a CA chain where the assigning CA has enough performance to manage short-lived certificates. See also
Section 9.2.4 for a discussion about an example setup achieving this. See also "[
Support for Short-Term, Automatically Renewed (STAR) Certificates in the Automated Certificate Management Environment (ACME)]" [
RFC 8739].
When certificate lifetimes are sufficiently short, such as few hours, certificate revocation may not be necessary, allowing the simplification of the overall certificate maintenance infrastructure.
See
Appendix A.2 for further optimizations of certificate maintenance when BRSKI can be used [
RFC 8995].
An ACP node may determine that its ACP certificate has expired, for example, because the ACP node was powered down or disconnected longer than its certificate lifetime. In this case, the ACP node
SHOULD convert to a role of a reenrolling candidate ACP node.
In this role, the node maintains the TA and certificate chain associated with its ACP certificate exclusively for the purpose of reenrollment, and it attempts (or waits) to get reenrolled with a new ACP certificate. The details depend on the mechanisms and protocols used by the ACP registrars.
Please refer to
Section 6.11.7 and [
RFC 8995] for explanations about ACP registrars and vouchers as used in the following text. When ACP is intended to be used without BRSKI, the details about BRSKI and vouchers in the following text can be skipped.
When BRSKI is used (i.e., on ACP nodes that are ANI nodes), the reenrolling candidate ACP node attempts to enroll like a candidate ACP node (BRSKI pledge), but instead of using the ACP node's IDevID certificate, it
SHOULD first attempt to use its ACP domain certificate in the BRSKI TLS authentication. The BRSKI registrar
MAY honor this certificate beyond its expiration date purely for the purpose of reenrollment. Using the ACP node's domain certificate allows the BRSKI registrar to learn that node's acp-node-name so that the BRSKI registrar can reassign the same ACP address information to the ACP node in the new ACP certificate.
If the BRSKI registrar denies the use of the old ACP certificate, the reenrolling candidate ACP node
MUST reattempt reenrollment using its IDevID certificate as defined in BRSKI during the TLS connection setup.
When the BRSKI connection is attempted with either with the old ACP certificate or the IDevID certificate, the reenrolling candidate ACP node
SHOULD authenticate the BRSKI registrar during TLS connection setup based on its existing TA certificate chain information associated with its old ACP certificate. The reenrolling candidate ACP node
SHOULD only fall back to requesting a voucher from the BRSKI registrar when this authentication fails during TLS connection setup. As a countermeasure against attacks that attempt to force the ACP node to forget its prior (expired) certificate and TA, the ACP node should alternate between attempting to reenroll using its old keying material and attempting to reenroll with its IDevID and requesting a voucher.
When mechanisms other than BRSKI are used for ACP certificate enrollment, the principles of the reenrolling candidate ACP node are the same. The reenrolling candidate ACP node attempts to authenticate any ACP registrar peers using reenrollment protocols and/or mechanisms via its existing certificate chain and/or TA information and provides its existing ACP certificate and other identification (such as the IDevID certificate) as necessary to the registrar.
Maintaining existing TA information is especially important when using enrollment mechanisms that do not leverage a mechanism to authenticate the ACP registrar (such as the voucher in BRSKI), and when the injection of certificate failures could otherwise make the ACP vulnerable to remote attacks by returning the ACP node to a "duckling" state in which it accepts enrollment by any network it connects to. The (expired) ACP certificate and ACP TA
SHOULD therefore be maintained and attempted to be used as one possible credential for reenrollment until new keying material is acquired.
When using BRSKI or other protocols and/or mechanisms that support vouchers, maintaining existing TA information allows for lighter-weight reenrollment of expired ACP certificates, especially in environments where repeated acquisition of vouchers during the lifetime of ACP nodes may be operationally expensive or otherwise undesirable.
An ACP certificate is called failing in this document if or when the ACP node to which the certificate was issued can determine that it was revoked (or explicitly not renewed), or in the absence of such explicit local diagnostics, when the ACP node fails to connect to other ACP nodes in the same ACP domain using its ACP certificate. To determine that the ACP certificate is the culprit of a connection failure, the peer should pass the domain membership check (
Section 6.2.3), and connection error diagnostics should exclude other reasons for the connection failure.
This type of failure can happen during the setup or refreshment of a secure ACP channel connection or during any other use of the ACP certificate, such as for the TLS connection to an EST server for the renewal of the ACP domain certificate.
The following are examples of failing certificates that the ACP node can only discover through connection failure: the domain certificate or any of its signing certificates could have been revoked or may have expired, but the ACP node cannot diagnose this condition directly by itself. Revocation information or clock synchronization may only be available across the ACP, but the ACP node cannot build ACP secure channels because the ACP peers reject the ACP node's domain certificate.
An ACP node
SHOULD support the option to determine whether its ACP certificate is failing, and when it does, put itself into the role of a reenrolling candidate ACP node as explained in
Section 6.2.5.5.
To know to which nodes to establish an ACP channel, every ACP node maintains an adjacency table. The adjacency table contains information about adjacent ACP nodes, at a minimum: Node-ID (the identifier of the node inside the ACP, see
Section 6.11.3 and
Section 6.11.5), the interface on which neighbor was discovered (by GRASP as explained below), the link-local IPv6 address of the neighbor on that interface, and the certificate (including acp-node-name). An ACP node
MUST maintain this adjacency table. This table is used to determine to which neighbor an ACP connection is established.
When the next ACP node is not directly adjacent (i.e., not on a link connected to this node), the information in the adjacency table can be supplemented by configuration. For example, the Node-ID and IP address could be configured. See
Section 8.2.
The adjacency table
MAY contain information about the validity and trust of the adjacent ACP node's certificate. However, subsequent steps
MUST always start with the ACP domain membership check against the peer (see
Section 6.2.3).
The adjacency table contains information about adjacent ACP nodes in general, independent of their domain and trust status. The next step determines to which of those ACP nodes an ACP connection should be established.
Discovery Unsolicited Link-Local (DULL) GRASP is a limited subset of GRASP intended to operate across an insecure link-local scope. See
Section 2.5.2 of
RFC 8990 for its formal definition. The ACP uses one instance of DULL GRASP for every L2 interface of the ACP node to discover candidate ACP neighbors that are link-level adjacent. Unless modified by policy as noted earlier (
Section 5, bullet point 2), native interfaces (e.g., physical interfaces on physical nodes)
SHOULD be initialized automatically to a state in which ACP discovery can be performed, and any native interfaces with ACP neighbors can then be brought into the ACP even if the interface is otherwise unconfigured. Reception of packets on such otherwise unconfigured interfaces
MUST be limited so that at first only SLAAC ("[
IPv6 Stateless Address Autoconfiguration]" [
RFC 4862]) and DULL GRASP work, and then only the following ACP secure channel setup packets work, but not any other unnecessary traffic (e.g., no other link-local IPv6 transport stack responders, for example).
Note that the use of the IPv6 link-local multicast address (ALL_GRASP_NEIGHBORS) implies the need to use MLDv2 (see "[
Multicast Listener Discovery Version 2 (MLDv2) for IPv6]" [
RFC 3810]) to announce the desire to receive packets for that address. Otherwise, DULL GRASP could fail to operate correctly in the presence of MLD-snooping switches ("[
Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches]" [
RFC 4541]) that either do not support ACP or are not ACP enabled because those switches would stop forwarding DULL GRASP packets. Switches that do not support MLD snooping simply need to operate as pure L2 bridges for IPv6 multicast packets for DULL GRASP to work.
ACP discovery
SHOULD NOT be enabled by default on non-native interfaces. In particular, ACP discovery
MUST NOT run inside the ACP across ACP virtual interfaces. See
Section 9.3 for further non-normative suggestions on how to enable and disable ACP at the node and interface level. See
Section 8.2.2 for more details about tunnels (typical non-native interfaces). See
Section 7 for extending ACP on devices operating (also) as L2 bridges.
Note: if an ACP node also implements BRSKI to enroll its ACP certificate (see
Appendix A.2 for a summary), then the above considerations also apply to GRASP discovery for BRSKI. Each DULL instance of GRASP set up for ACP is then also used for the discovery of a bootstrap proxy via BRSKI when the node does not have a domain certificate. Discovery of ACP neighbors happens only when the node does have the certificate. The node therefore never needs to discover both a bootstrap proxy and an ACP neighbor at the same time.
An ACP node announces itself to potential ACP peers by use of the "AN_ACP" objective. This is a synchronization objective intended to be flooded on a single link using the GRASP Flood Synchronization (M_FLOOD) message. In accordance with the design of the Flood Synchronization message, a locator consisting of a specific link-local IP address, IP protocol number, and port number will be distributed with the flooded objective. An example of the message is informally:
[M_FLOOD, 12340815, h'fe80000000000000c0011001feef0000', 210000,
[["AN_ACP", 4, 1, "IKEv2" ],
[O_IPv6_LOCATOR,
h'fe80000000000000c0011001feef0000', IPPROTO_UDP, 15000]]
[["AN_ACP", 4, 1, "DTLS" ],
[O_IPv6_LOCATOR,
h'fe80000000000000c0011001feef0000', IPPROTO_UDP, 17000]]
]
The formal CDDL definition is:
flood-message = [M_FLOOD, session-id, initiator, ttl,
+[objective, (locator-option / [])]]
objective = ["AN_ACP", objective-flags, loop-count,
objective-value]
objective-flags = sync-only ; as in [RFC8990]
sync-only = 4 ; M_FLOOD only requires synchronization
loop-count = 1 ; limit to link-local operation
objective-value = method-name / [ method, *extension ]
method = method-name / [ method-name, *method-param ]
method-name = "IKEv2" / "DTLS" / id
extension = any
method-param = any
id = text .regexp "[A-Za-z@_$]([-.]*[A-Za-z0-9@_$])*"
The 'objective-flags' field is set to indicate synchronization.
The 'loop-count' is fixed at 1 since this is a link-local operation.
In the above example, the
RECOMMENDED period of sending of the objective is 60 seconds. The indicated 'ttl' of 210000 msec means that the objective would be cached by ACP nodes even when two out of three messages are dropped in transit.
The 'session-id' is a random number used for loop prevention (distinguishing a message from a prior instance of the same message). In DULL this field is irrelevant but has to be set according to the GRASP specification.
The originator
MUST be the IPv6 link-local address of the originating ACP node on the sending interface.
The 'method-name' in the 'objective-value' parameter is a string indicating the protocol available at the specified or implied locator. It is a protocol supported by the node to negotiate a secure channel. "IKEv2" as shown in
Figure 6 is the protocol used to negotiate an IPsec secure channel.
The 'method-param' parameter allows method-specific parameters to be carried. This specification does not define any 'method-param'(s) for "IKEv2" or "DTLS". Any method-params for these two methods that are not understood by an ACP node
MUST be ignored by it.
The 'extension' parameter allows the definition of method-independent parameters. This specification does not define any extensions. Extensions not understood by an ACP node
MUST be ignored by it.
The 'locator-option' is optional and is only required when the secure channel protocol is not offered at a well-defined port number, or if there is no well-defined port number.
IKEv2 is the actual protocol used to negotiate an IPsec connection. GRASP therefore indicates "IKEv2" and not "IPsec". If "IPsec" was used, this could mean the use of the obsolete, older version IKE (v1) ("[
The Internet Key Exchange (IKE)]" [
RFC 2409]). IKEv2 has an IANA-assigned port number 500, but in
Figure 6, the candidate ACP neighbor is offering ACP secure channel negotiation via IKEv2 on port 15000 (purely to show through the example that GRASP allows the indication of a port number, and it does not have to be IANA assigned).
There is no default UDP port for DTLS, it is always locally assigned by the node. For further details about the "DTLS" secure channel protocol, see
Section 6.8.4.
If a locator is included, it
MUST be an O_IPv6_LOCATOR, and the IPv6 address
MUST be the same as the initiator address (these are DULL requirements to minimize third-party DoS attacks).
The secure channel methods defined in this document use "IKEv2" and "DTLS" for 'objective-value'. There is no distinction between IKEv2 native and GRE-IKEv2 because this is purely negotiated via IKEv2.
A node that supports more than one secure channel protocol method needs to flood multiple versions of the "AN_ACP" objective so that each method can be accompanied by its own 'locator-option'. This can use a single GRASP M_FLOOD message as shown in
Figure 6.
The primary use of DULL GRASP is to discover the link-local IPv6 address of candidate ACP peers on subnets. The signaling of the supported secure channel option is primarily for diagnostic purposes, but it is also necessary for discovery when the protocol has no well-known transport address, such as in the case of DTLS.
Note that a node serving both as an ACP node and BRSKI Join Proxy may choose to distribute the "AN_ACP" objective and the respective BRSKI in the same M_FLOOD message, since GRASP allows multiple objectives in one message. This may be impractical, though, if ACP and BRSKI operations are implemented via separate software modules and/or ASAs.
The result of the discovery is the IPv6 link-local address of the neighbor as well as its supported secure channel protocols (and the non-standard port they are running on). It is stored in the ACP adjacency table (see
Section 6.3), which then drives the further building of the ACP to that neighbor.
Note that the described DULL GRASP objective intentionally does not include the ACP node's ACP certificate, even though this would be useful for diagnostics and to simplify the security exchange in ACP secure channel security association protocols (see
Section 6.8). The reason is that DULL GRASP messages are periodically multicast across IPv6 subnets, and full certificates could easily lead to fragmented IPv6 DULL GRASP multicast packets due to the size of a certificate. This would be highly undesirable.
An ACP node determines to which other ACP nodes in the adjacency table it should attempt to build an ACP connection. This is based on the information in the ACP adjacency table.
The ACP is established exclusively between nodes in the same domain. This includes all routing subdomains.
Appendix A.6 explains how ACP connections across multiple routing subdomains are special.
The result of the candidate ACP neighbor selection process is a list of adjacent or configured autonomic neighbors to which an ACP channel should be established. The next step begins that channel establishment.
To avoid attacks, the initial discovery of candidate ACP peers cannot include any unprotected negotiation. To avoid reinventing and validating security association mechanisms, the next step after discovering the address of a candidate neighbor is to establish a security association with that neighbor using a well-known security association method.
It seems clear from the use cases that not all types of ACP nodes can or need to connect directly to each other, nor are they able to support or prefer all possible mechanisms. For example, IoT devices that are codespace limited may only support DTLS because that code exists already on them for end-to-end security, but low-end, in-ceiling L2 switches may only want to support Media Access Control Security (MacSec, see 802.1AE [
MACSEC]) because that is also supported in their chips. Only a flexible gateway device may need to support both of these mechanisms and potentially more. Note that MacSec is not required by any profiles of the ACP in this specification. Instead, MacSec is mentioned as an interesting potential secure channel protocol. Note also that the security model allows and requires any-to-any authentication and authorization between all ACP nodes because there is not only hop-by-hop but also end-to-end authentication for secure channels.
To support extensible selection of the secure channel protocol without a single common mandatory-to-implement (MTI) protocol, an ACP node
MUST try all the ACP secure channel protocols it supports and that are also announced by the candidate ACP neighbor via its "AN_ACP" GRASP parameters (these are called the "feasible" ACP secure channel protocols).
To ensure that the selection of the secure channel protocols always succeeds in a predictable fashion without blocking, the following rules apply:
-
An ACP node may choose to attempt to initiate the different feasible ACP secure channel protocols it supports according to its local policies sequentially or in parallel, but it MUST support acting as a responder to all of them in parallel.
-
Once the first ACP secure channel protocol connection to a specific peer IPv6 address passes peer authentication, the two peers know each other's certificate because those ACP certificates are used by all secure channel protocols for mutual authentication. The peer with the higher Node-ID in the AcpNodeName of its ACP certificate takes on the role of the Decider towards the peer. The other peer takes on the role of the Follower. The Decider selects which secure channel protocol to ultimately use.
-
The Follower becomes passive: it does not attempt to further initiate ACP secure channel protocol connections with the Decider and does not consider it to be an error when the Decider closes secure channels. The Decider becomes the active party, continuing to attempt the setup of secure channel protocols with the Follower. This process terminates when the Decider arrives at the "best" ACP secure channel connection option that also works with the Follower ("best" from the Decider's point of view).
-
A peer with a "0" acp-address in its AcpNodeName takes on the role of Follower when peering with a node that has a non-"0" acp-address (note that this specification does not fully define the behavior of ACP secure channel negotiation for nodes with a "0" ACP address field, it only defines interoperability with such ACP nodes).
In a simple example, ACP peer Node 1 attempts to initiate an IPsec connection via IKEv2 to peer Node 2. The IKEv2 authentication succeeds. Node 1 has the lower ACP address and becomes the Follower. Node 2 becomes the Decider. IKEv2 might not be the preferred ACP secure channel protocol for the Decider Node 2. Node 2 would therefore proceed to attempt secure channel setups with more preferred protocol options (in its view, e.g., DTLS/UDP). If any such preferred ACP secure channel connection of the Decider succeeds, it would close the IPsec connection. If Node 2 has no preferred protocol option over IPsec, or no such connection attempt from Node 2 to Node 1 succeeds, Node 2 would keep the IPsec connection and use it.
The Decider
SHOULD NOT send actual payload packets across a secure channel until it has decided to use it. The Follower
MAY delay linking the ACP secure channel to the ACP virtual interface until it sees the first payload packet from the Decider up to a maximum of 5 seconds to avoid unnecessarily linking a secure channel that will be terminated as undesired by the Decider shortly afterward.
The following sequence of steps show this example in more detail. Each step is tagged with [<step#>{:<connection>}]. The connection is included to more easily distinguish which of the two competing connections the step belongs to, one initiated by Node 1, one initiated by Node 2.
-
[1]
-
Node 1 sends GRASP "AN_ACP" message to announce itself.
-
[2]
-
Node 2 sends GRASP "AN_ACP" message to announce itself.
-
[3]
-
Node 2 receives [1] from Node 1.
-
[4:C1]
-
Because of [3], Node 2 starts as initiator on its preferredsecure channel protocol towards Node 1. Connection C1.
-
[5]
-
Node 1 receives [2] from Node 2.
-
[6:C2]
-
Because of [5], Node 1 starts as initiator on its preferred secure channel protocol towards Node 2. Connection C2.
-
[7:C1]
-
Node 1 and Node 2 have authenticated each other's certificate on connection C1 as valid ACP peers.
-
[8:C1]
-
Node 1's certificate has a lower ACP Node-ID than Node 2's, therefore Node 1 considers itself the Follower and Node 2 the Decider on connection C1. Connection setup C1 is completed.
-
[9]
-
Node 1 refrains from attempting any further secure channel connections to Node2 (the Decider) as learned from [2] because it knows from [8:C1] that it is the Follower relative to Node 2.
-
[10:C2]
-
Node 1 and Node 2 have authenticated each other's certificate on connection C2 (like [7:C1]).
-
[11:C2]
-
Node 1's certificate has a lower ACP Node-ID than Node 2's, therefore Node 1considers itself the Follower and Node 2 the Decider on connection C2, butthey also identify that C2 is to the same mutual peer as their C1, so this hasno further impact: the roles Decider and Follower where already assignedbetween these two peers by [8:C1].
-
[12:C2]
-
Node 2 (the Decider) closes C1. Node 1 is fine with this, because of its role as the Follower (from [8:C1]).
-
[13]
-
Node 2 (the Decider) and Node 1 (the Follower) start datatransfer across C2, which makes it become a secure channel for the ACP.
All this negotiation is in the context of an L2 interface. The Decider and Follower will build ACP connections to each other on every L2 interface that they both connect to. An autonomic node
MUST NOT assume that neighbors with the same L2 or link-local IPv6 addresses on different L2 interfaces are the same node. This can only be determined after examining the certificate after a successful security association attempt.
The Decider
SHOULD NOT suppress attempting a particular ACP secure channel protocol connection on one L2 interface because this type of ACP secure channel connection has failed to the peer with the same ACP certificate on another L2 interface: not only may the supported ACP secure channel protocol options be different on the same ACP peer across different L2 interfaces, but also error conditions may cause inconsistent failures across different L2 interfaces. Avoiding such connection attempt optimizations can therefore help to increase robustness in the case of errors.
Independent of the security association protocol chosen, candidate ACP neighbors need to be authenticated based on their domain certificate. This implies that any secure channel protocol
MUST support certificate-based authentication that can support the ACP domain membership check as defined in
Section 6.2.3. If it fails, the connection attempt is aborted and an error logged. Attempts to reconnect
MUST be throttled. The
RECOMMENDED default is exponential base-two backoff with an initial retransmission time (IRT) of 10 seconds and a maximum retransmission time (MRT) of 640 seconds.
Failure to authenticate an ACP neighbor when acting in the role of a responder of the security authentication protocol
MUST NOT impact the attempts of the ACP node to attempt establishing a connection as an initiator. Only failed connection attempts as an initiator must cause throttling. This rule is meant to increase resilience of secure channel creation.
Section 6.6 shows how simultaneous mutual secure channel setup collisions are resolved.
This section describes how ACP nodes establish secured data connections to automatically discovered or configured peers in the ACP.
Section 6.4 describes how peers that are adjacent on an IPv6 subnet are discovered automatically.
Section 8.2 describes how to configure peers that are not adjacent on an IPv6 subnet.
Section 6.13.5.2 describes how secure channels are mapped to virtual IPv6 subnet interfaces in the ACP. The simple case is to map every ACP secure channel to a separate ACP point-to-point virtual interface (
Section 6.13.5.2.1). When a single subnet has multiple ACP peers, this results in multiple ACP point-to-point virtual interfaces across that underlying multiparty IPv6 subnet. This can be optimized with ACP multi-access virtual interfaces (
Section 6.13.5.2.2), but the benefits of that optimization may not justify the complexity of that option.
Due to channel selection (
Section 6.6), ACP can support an evolving set of security association protocols and does not require support for a single network-wide MTI. ACP nodes only need to implement those protocols required to interoperate with their candidate peers, not with potentially any node in the ACP domain. See
Section 6.8.5 for an example of this.
The degree of security required on every hop of an ACP network needs to be consistent across the network so that there is no designated "weakest link" because it is that "weakest link" that would otherwise become the designated point of attack. When the secure channel protection on one link is compromised, it can be used to send and/or receive packets across the whole ACP network. Therefore, even though the security association protocols can be different, their minimum degree of security should be comparable.
Secure channel protocols do not need to always support arbitrary Layer 3 (L3) connectivity between peers, but can leverage the fact that the standard use case for ACP secure channels is an L2 adjacency. Hence, L2 dependent mechanisms could be adopted for use as secure channel association protocols.
L2 mechanisms such as strong encrypted radio technologies or [
MACSEC] may offer equivalent encryption, and the ACP security association protocol may only be required to authenticate ACP domain membership of a peer and/or derive a key for the L2 mechanism. Mechanisms that leverage such underlying L2 security to auto-discover and associate ACP peers are possible and desirable to avoid duplication of encryption, but none are specified in this document.
Strong physical security of a link may stand in where cryptographic security is infeasible. As there is no secure mechanism to automatically discover strong physical security solely between two peers, it can only be used with explicit configuration, and that configuration too could become an attack vector. This document therefore specifies with
Section 8.1 only one explicitly configured mechanism without any secure channel association protocol for the case where both the link and the nodes attached to it have strong physical security.
The authentication of peers in any security association protocol
MUST use the ACP certificate according to
Section 6.2.3. Because auto-discovery of candidate ACP neighbors via GRASP (see
Section 6.4) as specified in this document does not communicate the neighbor's ACP certificate, and ACP nodes may not (yet) have any other network connectivity to retrieve certificates, any security association protocol
MUST use a mechanism to communicate the certificate directly instead of relying on a referential mechanism such as communicating only a hash and/or URL for the certificate.
A security association protocol
MUST use Forward Secrecy (whether inherently or as part of a profile of the security association protocol).
Because the ACP payload of legacy protocol payloads inside the ACP and hop-by-hop ACP flooded GRASP information is unencrypted, the ACP secure channel protocol requires confidentiality. Symmetric encryption for the transmission of secure channel data
MUST use encryption schemes considered to be security wise equal to or better than 256-bit key strength, such as AES-256. There
MUST NOT be support for NULL encryption.
Security association protocols typically only signal the end entity certificate (e.g., the ACP certificate) and any possible intermediate CA certificates for successful mutual authentication. The TA has to be mutually known and trusted, and therefore its certificate does not need to be signaled for successful mutual authentication. Nevertheless, for use with ACP secure channel setup, there
SHOULD be the option to include the TA certificate in the signaling to aid troubleshooting, see
Section 9.1.1.
Signaling of TA certificates may not be appropriate when the deployment relies on a security model where the TA certificate content is considered confidential, and only its hash is appropriate for signaling. ACP nodes
SHOULD have a mechanism to select whether the TA certificate is signaled or not, assuming that both options are possible with a specific secure channel protocol.
An ACP secure channel
MUST immediately be terminated when the lifetime of any certificate in the chain used to authenticate the neighbor expires or becomes revoked. This may not be standard behavior in secure channel protocols because the certificate authentication may only influence the setup of the secure channel in these protocols, but may not be revalidated during the lifetime of the secure connection in the absence of this requirement.
When specifying an additional security association protocol for ACP secure channels beyond those covered in this document, any protocol options that are unnecessary for the support of devices that are expected to be able to support the ACP
SHOULD be eliminated in order to minimize implementation complexity. For example, definitions for security protocols often include old and/or inferior security options required only to interoperate with existing devices that cannot update to the currently preferred security options. Such old and/or inferior security options do not need to be supported when a security association protocol is first specified for the ACP, thus strengthening the "weakest link" and simplifying ACP implementation overhead.
An ACP node that is supporting native IPsec
MUST use IPsec in tunnel mode, negotiated via IKEv2, and with IPv6 payload (e.g., ESP Next Header of 41). It
MUST use local and peer link-local IPv6 addresses for encapsulation. Manual keying
MUST NOT be used, see
Section 6.2. Traffic Selectors are:
TSi = (0, 0-65535, :: - FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF)
TSr = (0, 0-65535, :: - FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF)
IPsec tunnel mode is required because the ACP will route and/or forward packets received from any other ACP node across the ACP secure channels, and not only its own generated ACP packets. With IPsec transport mode (and no additional encapsulation header in the ESP payload), it would only be possible to send packets originated by the ACP node itself because the IPv6 addresses of the ESP must be the same as that of the outer IPv6 header.
ACP IPsec implementations
MUST comply with [
RFC 8221] and any specifications that update it. The requirements from above and this section amend and supersede its requirements.
The IP Authentication Header (AH)
MUST NOT be used (because it does not provide confidentiality).
For the required ESP encryption algorithms in
Section 5 of
RFC 8221, the following guidance applies:
-
ENCR_NULL AH MUST NOT be used (because it does not provide confidentiality).
-
ENCR_AES_GCM_16 is the only MTI ESP encryption algorithm for ACP via IPsec/ESP (it is already listed as MUST in [RFC 8221]).
-
ENCR_AES_CBC with AUTH_HMAC_SHA2_256_128 (as the ESP authentication algorithm) and ENCR_AES_CCM_8 MAY be supported. If either provides higher performance than ENCR_AES_GCM_16, it SHOULD be supported.
-
ENCR_CHACHA20_POLY1305 SHOULD be supported at equal or higher performance than ENCR_AES_GCM_16. If that performance is not feasible, it MAY be supported.
IKEv2 indicates an order for the offered algorithms. The algorithms
SHOULD be ordered by performance. The first algorithm supported by both sides is generally chosen.
Explanations:
-
There is no requirement to interoperate with legacy equipment in ACP secure channels, so a single MTI encryption algorithm for IPsec in ACP secure channels is sufficient for interoperability and allows for the most lightweight implementations.
-
ENCR_AES_GCM_16 is an Authenticated Encryption with Associated Data (AEAD) cipher mode, so no additional ESP authentication algorithm is needed, simplifying the MTI requirements of IPsec for the ACP.
-
There is no MTI requirement for the support of ENCR_AES_CBC because ENCR_AES_GCM_16 is assumed to be feasible with less cost and/or higher performance in modern devices' hardware-accelerated implementations compared to ENCR-AES_CBC.
-
ENCR_CHACHA20_POLY1305 is mandatory in [RFC 8221] because of its target use as a fallback algorithm in case weaknesses in AES are uncovered. Unfortunately, there is currently no way to automatically propagate across an ACP a policy to disallow use of AES-based algorithms, so this target benefit of ENCR_CHACHA20_POLY1305 cannot fully be adopted yet for the ACP. Therefore, this algorithm is only recommended. Changing from AES to this algorithm with a potentially big drop in performance could also render the ACP inoperable. Therefore, there is a performance requirement against this algorithm so that it could become an effective security backup to AES for the ACP once a policy to switch over to it or prefer it is available in an ACP framework.
[
RFC 8221] allows for 128-bit or 256-bit AES keys. This document mandates that only 256-bit AES keys
MUST be supported.
When [
RFC 8221] is updated, ACP implementations will need to consider legacy interoperability.
[
RFC 8247] provides a baseline recommendation for mandatory-to-implement ciphers, integrity checks, pseudorandom functions, and Diffie-Hellman mechanisms. Those recommendations, and the recommendations of subsequent documents, apply as well to the ACP. Because IKEv2 for ACP secure channels is sufficient to be implemented in control plane software rather than in Application-Specific Integrated Circuit (ASIC) hardware, and ACP nodes supporting IKEv2 are not assumed to be code space constrained, and because existing IKEv2 implementations are expected to support [
RFC 8247] recommendations, this document makes no attempt to simplify its recommendations for use with the ACP.
See [
IKEV2IANA] for IANA IKEv2 parameter names used in this text.
ACP nodes supporting IKEv2
MUST comply with [
RFC 8247] amended by the following requirements, which constitute a policy statement as permitted by [
RFC 8247].
To signal the ACP certificate chain (including TA) as required by
Section 6.8.2, the "X.509 Certificate - Signature" payload in IKEv2 can be used. It is mandatory according to
RFC 7296,
Section 3.6.
ACP nodes
SHOULD set up IKEv2 to only use the ACP certificate and TA when acting as an IKEv2 responder on the IPv6 link-local address and port number indicated in the "AN_ACP" DULL GRASP announcements (see
Section 6.4).
When CERTREQ is received from a peer, and it does not indicate any of this ACP node's TA certificates, the ACP node
SHOULD ignore the CERTREQ and continue sending its certificate chain including its TA as subject to the requirements and explanations in
Section 6.8.2. This will not result in successful mutual authentication but assists diagnostics.
Note that with IKEv2, failing authentication will only result in the responder receiving the certificate chain from the initiator, but not vice versa. Because ACP secure channel setup is symmetric (see
Section 6.7), every non-malicious ACP neighbor will attempt to connect as an initiator, though, allowing it to obtain the diagnostic information about the neighbor's certificate.
In IKEv2, ACP nodes are identified by their ACP addresses. The ID_IPv6_ADDR IKEv2 identification payload
MUST be used and
MUST convey the ACP address. If the peer's ACP certificate includes a 32HEXDIG ACP address in the acp-node-name (not "0" or omitted), the address in the IKEv2 identification payload
MUST match it. See
Section 6.2.3 for more information about "0" or omitted ACP address fields in the acp-node-name.
IKEv2 authentication
MUST use authentication method 14 ("Digital Signature") for ACP certificates; this authentication method can be used with both RSA and ECDSA certificates, indicated by an ASN.1 object AlgorithmIdentifier.
The Digital Signature hash SHA2-512
MUST be supported (in addition to SHA2-256).
The IKEv2 Diffie-Hellman key exchange group 19 (256-bit random ECP),
MUST be supported. Reason: ECC provides a similar security level to finite-field (modular exponentiation (MODP)) key exchange with a shorter key length, so is generally preferred absent other considerations.
In network devices, it is often more common to implement high-performance virtual interfaces on top of GRE encapsulation than on top of a "native" IPsec association (without any other encapsulation than those defined by IPsec). On those devices, it may be beneficial to run the ACP secure channel on top of GRE protected by the IPsec association.
The requirements for ESP/IPsec/IKEv2 with GRE are the same as for native IPsec (see
Section 6.8.3.1) except that IPsec transport mode and next protocol GRE (47) are to be negotiated. Tunnel mode is not required because of GRE. Traffic Selectors are:
TSi = (47, 0-65535, Initiator-IPv6-LL-addr ... Initiator-IPv6-LL-addr)
TSr = (47, 0-65535, Responder-IPv6-LL-addr ... Responder-IPv6-LL-addr)
If the IKEv2 initiator and responder support IPsec over GRE, it will be preferred over native IPsec because of how IKEv2 negotiates transport mode (as used by this IPsec over GRE profile) versus tunnel mode as used by native IPsec (see
Section 1.3.1 of
RFC 7296). The ACP IPv6 traffic has to be carried across GRE according to "[
IPv6 Support for Generic Routing Encapsulation (GRE)]" [
RFC 7676].
This document defines the use of ACP via DTLS on the assumption that it is likely the first transport encryption supported in some classes of constrained devices: DTLS is commonly used in constrained devices when IPsec is not. Code space on those devices may be also be too limited to support more than the minimum number of required protocols.
An ACP node announces its ability to support DTLS version 1.2 ("[
Datagram Transport Layer Security Version 1.2]" [
RFC 6347]) compliant with the requirements defined in this document as an ACP secure channel protocol in GRASP through the "DTLS" 'objective-value' in the "AN_ACP" objective (see
Section 6.4).
To run ACP via UDP and DTLS, a locally assigned UDP port is used that is announced as a parameter in the GRASP "AN_ACP" objective to candidate neighbors. This port can also be any newer version of DTLS as long as that version can negotiate a DTLS 1.2 connection in the presence of a peer that only supports DTLS 1.2.
All ACP nodes supporting DTLS as a secure channel protocol
MUST adhere to the DTLS implementation recommendations and security considerations of [
RFC 7525] except with respect to the DTLS version. ACP nodes supporting DTLS
MUST support DTLS 1.2. They
MUST NOT support older versions of DTLS.
Unlike for IPsec, no attempts are made to simplify the requirements of the recommendations in [
RFC 7525] because the expectation is that DTLS would use software-only implementations where the ability to reuse widely adopted implementations is more important than the ability to minimize the complexity of a hardware-accelerated implementation, which is known to be important for IPsec.
DTLS 1.3 [
TLS-DTLS13] is "backward compatible" with DTLS 1.2 (see [
TLS-DTLS13]). A DTLS implementation supporting both DTLS 1.2 and DTLS 1.3 does comply with the above requirements of negotiating to DTLS 1.2 in the presence of a DTLS 1.2 only peer, but using DTLS 1.3 when booth peers support it.
Version 1.2 is the MTI version of DTLS in this specification because of the following:
-
There is more experience with DTLS 1.2 across the spectrum of target ACP nodes.
-
Firmware of lower-end, embedded ACP nodes may not support a newer version for a long time.
-
There are significant changes with DTLS 1.3, such as a different record layer requiring time to gain implementation and deployment experience especially on lower-end devices with limited code space.
-
The existing BCP [RFC 7525] for DTLS 1.2 may take an equally longer time to be updated with experience from a newer DTLS version.
-
There are no significant benefits of DTLS 1.3 over DTLS 1.2 that are use-case relevant in the context of the ACP options for DTLS. For example, signaling performance improvements for session setup in DTLS 1.3 is not important for the ACP given the long-lived nature of ACP secure channel connections and the fact that DTLS connections are mostly link local (short RTT).
Nevertheless, newer versions of DTLS, such as DTLS 1.3, have stricter security requirements, and the use of the latest standard protocol version is in general recommended for IETF security standards. Therefore, ACP implementations are advised to support all the newer versions of DTLS that can still negotiate down to DTLS 1.2.
There is no additional session setup or other security association besides this simple DTLS setup. As soon as the DTLS session is functional, the ACP peers will exchange ACP IPv6 packets as the payload of the DTLS transport connection. Any DTLS-defined security association mechanisms such as rekeying are used as they would be for any transport application relying solely on DTLS.
As explained in the beginning of
Section 6.6, there is no single secure channel mechanism mandated for all ACP nodes. Instead, this section defines two ACP profiles, "baseline" and "constrained", for ACP nodes that do introduce such requirements.
An ACP node supporting the baseline profile
MUST support IPsec natively and
MAY support IPsec via GRE. An ACP node supporting the constrained profile that cannot support IPsec
MUST support DTLS. An ACP node connecting an area of constrained ACP nodes with an area of baseline ACP nodes needs to support both IPsec and DTLS and therefore supports both the baseline and constrained profiles.
Explanation: not all types of ACP nodes are able to or need to connect directly to each other, nor are they able to support or prefer all possible secure channel mechanisms. For example, IoT devices with limited code space may only support DTLS because that code already exists on them for end-to-end security, but high-end core routers may not want to support DTLS because they can perform IPsec in accelerated hardware, but they would need to support DTLS in an underpowered CPU forwarding path shared with critical control plane operations. This is not a deployment issue for a single ACP across these types of nodes as long as there are also appropriate gateway ACP nodes that sufficiently support many secure channel mechanisms to allow interconnecting areas of ACP nodes with a more constrained set of secure channel protocols. On the edge between IoT areas and high-end core networks, general-purpose routers that act as those gateways and that can support a variety of secure channel protocols are the norm already.
Native IPsec with tunnel mode provides the shortest encapsulation overhead. GRE may be preferred by legacy implementations because, in the past, the virtual interfaces required by ACP design in conjunction with secure channels have been implemented more often for GRE than purely for native IPsec.
ACP nodes need to specify the set of secure ACP mechanisms they support in documentation and should declare which profile they support according to the above requirements.
The ACP
MUST run an instance of GRASP inside of it. It is a key part of the ACP services. The function in GRASP that makes it fundamental as a service of the ACP is the ability to provide ACP-wide service discovery (using objectives in GRASP).
ACP provides IP unicast routing via RPL (see
Section 6.12).
The ACP does not use IP multicast routing nor does it provide generic IP multicast services (the handling of GRASP link-local multicast messages is explained in
Section 6.9.2). Instead, the ACP provides service discovery via the objective discovery/announcement and negotiation mechanisms of the ACP GRASP instance (services are a form of objectives). These mechanisms use hop-by-hop reliable flooding of GRASP messages for both service discovery (GRASP M_DISCOVERY messages) and service announcement (GRASP M_FLOOD messages).
See
Appendix A.5 for discussion about this design choice of the ACP.
In the terminology of GRASP [
RFC 8990], the ACP is the security and transport substrate for the GRASP instance run inside the ACP ("ACP GRASP").
This means that the ACP is responsible for ensuring that this instance of GRASP is only sending messages across the ACP GRASP virtual interfaces. Whenever the ACP adds or deletes such an interface because of new ACP secure channels or loss thereof, the ACP needs to indicate this to the ACP instance of GRASP. The ACP exists also in the absence of any active ACP neighbors. It is created when the node has a domain certificate, and it continues to exist even if all of its neighbors cease operation.
In this case, ASAs using GRASP running on the same node still need to be able to discover each other's objectives. When the ACP does not exist, ASAs leveraging the ACP instance of GRASP via APIs
MUST still be able to operate, and they
MUST be able to understand that there is no ACP and that therefore the ACP instance of GRASP cannot operate.
How the ACP acts as the security and transport substrate for GRASP is shown in
Figure 8.
GRASP unicast messages inside the ACP always use the ACP address. Link-local addresses from the ACP VRF
MUST NOT be used inside objectives. GRASP unicast messages inside the ACP are transported via TLS. See
Section 6.1 for TLS requirements. TLS mutual authentication
MUST use the ACP domain membership check defined in
Section 6.2.3.
GRASP link-local multicast messages are targeted for a specific ACP virtual interface (as defined
Section 6.13.5), but they are sent by the ACP to an ACP GRASP virtual interface that is constructed from the TCP connection(s) to the IPv6 link-local neighbor address(es) on the underlying ACP virtual interface. If the ACP GRASP virtual interface has two or more neighbors, the GRASP link-local multicast messages are replicated to all neighbor TCP connections.
TCP and TLS connections for GRASP in the ACP use the IANA-assigned TCP port for GRASP (7017). Effectively, the transport stack is expected to be TLS for connections to and from the ACP address (e.g., global-scope address(es)) and TCP for connections to and from the link-local addresses on the ACP virtual interfaces. The latter ones are only used for the flooding of GRASP messages.
..............................ACP..............................
. .
. /-GRASP-flooding-\ ACP GRASP instance .
. / \ A
. GRASP GRASP GRASP C
. link-local unicast link-local P
. multicast messages multicast .
. messages | messages .
. | | | .
...............................................................
. v v v ACP security and transport .
. | | | substrate for GRASP .
. | | | .
. | ACP GRASP | - ACP GRASP A
. | loopback | loopback interface C
. | interface | - ACP-cert auth P
. | TLS | .
. ACP GRASP | ACP GRASP - ACP GRASP virtual .
. subnet1 | subnet2 interfaces .
. TCP | TCP .
. | | | .
...............................................................
. | | | ^^^ Users of ACP (GRASP/ASA) .
. | | | ACP interfaces/addressing .
. | | | .
. | | | A
. | ACP loopback interf.| <- ACP loopback interface C
. | ACP-address | - address (global ULA) P
. subnet1 | subnet2 <- ACP virtual interfaces .
. link-local | link-local - link-local addresses .
...............................................................
. | | | ACP VRF .
. | RPL-routing | virtual routing and forwarding .
. | /IP-Forwarding\ | A
. | / \ | C
. ACP IPv6 packets ACP IPv6 packets P
. |/ \| .
. IPsec/DTLS IPsec/DTLS - ACP-cert auth .
...............................................................
| | Data Plane
| |
| | - ACP secure channel
link-local link-local - encapsulation addresses
subnet1 subnet2 - data plane interfaces
| |
ACP-Nbr1 ACP-Nbr2
TCP encapsulation for GRASP M_DISCOVERY and M_FLOOD link-local messages is used because these messages are flooded across potentially many hops to all ACP nodes, and a single link with even temporary packet-loss issues (e.g., a Wi-Fi or Powerline link) can reduce the probability for loss-free transmission so much that applications would want to increase the frequency with which they send these messages. Such shorter periodic retransmission of datagrams would result in more traffic and processing overhead in the ACP than the hop-by-hop, reliable retransmission mechanism offered by TCP and duplicate elimination by GRASP.
TLS is mandated for GRASP non-link-local unicast because the ACP secure channel mandatory authentication and encryption protects only against attacks from the outside but not against attacks from the inside: compromised ACP members that have (not yet) been detected and removed (e.g., via domain certificate revocation and/or expiry).
If GRASP peer connections were to use just TCP, compromised ACP members could simply eavesdrop passively on GRASP peer connections for which they are on-path ("man in the middle" or MITM) or intercept and modify messages. With TLS, it is not possible to completely eliminate problems with compromised ACP members, but attacks are a lot more complex.
Eavesdropping and/or spoofing by a compromised ACP node is still possible because in the model of the ACP and GRASP, the provider and consumer of an objective have initially no unique information (such as an identity) about the other side that would allow them to distinguish a benevolent from a compromised peer. The compromised ACP node would simply announce the objective as well, potentially filter the original objective in GRASP when it is a MITM and act as an application-level proxy. This of course requires that the compromised ACP node understand the semantics of the GRASP negotiation to an extent that allows the compromised node to proxy the messages without being detected, but in an ACP environment, this is quite likely public knowledge or even standardized.
The GRASP TLS connections are run the same as any other ACP traffic through the ACP secure channels. This leads to double authentication and encryption, which has the following benefits:
-
Secure channel methods such as IPsec may provide protection against additional attacks, for example, reset attacks.
-
The secure channel method may leverage hardware acceleration, and there may be little or no gain in eliminating it.
-
The security model for ACP GRASP is no different than other ACP traffic. Instead, there is just another layer of protection against certain attacks from the inside, which is important due to the role of GRASP in the ACP.
The ACP is in a separate context from the normal data plane of the node. This context includes the ACP channels' IPv6 forwarding and routing as well as any required higher-layer ACP functions.
In a classical network system, a dedicated VRF is one logical implementation option for the ACP. If allowed by the system's software architecture, separation options that minimize shared components, such as a logical container or virtual machine instance, are preferred. The context for the ACP needs to be established automatically during the bootstrap of a node. As much as possible, it should be protected from being modified unintentionally by (data plane) configuration.
Context separation improves security because the ACP is not reachable from the data plane routing or forwarding table(s). Also, configuration errors from the data plane setup do not affect the ACP.
The channels explained above typically only establish communication between two adjacent nodes. In order for communication to happen across multiple hops, the Autonomic Control Plane requires ACP network-wide valid addresses and routing. Each ACP node creates a loopback interface with an ACP network-wide unique address (prefix) inside the ACP context (as explained in
Section 6.10). This address may be used also in other virtual contexts.
With the algorithm introduced here, all ACP nodes in the same routing subdomain have the same /48 ULA prefix. Conversely, ULA Global IDs from different domains are unlikely to clash, such that two ACP networks can be merged, as long as the policy allows that merge. See also
Section 10.1 for a discussion on merging domains.
Links inside the ACP only use link-local IPv6 addressing, such that each node's ACP only requires one routable address prefix.
-
Usage: autonomic addresses are exclusively used for self-management functions inside a trusted domain. They are not used for user traffic. Communications with entities outside the trusted domain use another address space, for example, a normally managed routable address space (called "data plane" in this document).
-
Separation: autonomic address space is used separately from user address space and other address realms. This supports the robustness requirement.
-
Loopback only: only ACP loopback interfaces (and potentially those configured for ACP connect, see Section 8.1) carry routable address(es); all other interfaces (called ACP virtual interfaces) only use IPv6 link-local addresses. The usage of IPv6 link-local addressing is discussed in "[Using Only Link-Local Addressing inside an IPv6 Network]" [RFC 7404].
-
Use of ULA: for loopback interfaces of ACP nodes, we use ULA with the L bit set to 1 (as defined in Section 3.1 of RFC 4193). Note that the random hash for ACP loopback addresses uses the definition in Section 6.11.2 and not the one in RFC 4193, Section 3.2.2.
-
No external connectivity: the addresses do not provide access to the Internet. If a node requires further connectivity, it should use another, traditionally managed addressing scheme in parallel.
-
Addresses in the ACP are permanent and do not support temporary addresses as defined in "[Temporary Address Extensions for Stateless Address Autoconfiguration in IPv6]" [RFC 8981].
-
Addresses in the ACP are not considered sensitive on privacy grounds because ACP nodes are not expected to be end-user hosts, and therefore ACP addresses do not represent end users or groups of end users. All ACP nodes are in one (potentially federated) administrative domain. For ACP traffic, the nodes are assumed to be either candidate hosts or transit nodes. There are no transit nodes with fewer privileges to know the identity of other hosts in the ACP. Therefore, ACP addresses do not need to be pseudorandom as discussed in "[Security and Privacy Considerations for IPv6 Address Generation Mechanisms]" [RFC 7721]. Because they are not propagated to untrusted (non-ACP) nodes and stay within a domain (of trust), we also do not consider them to be subject to scanning attacks.
The ACP is based exclusively on IPv6 addressing for a variety of reasons:
-
Simplicity, reliability, and scale: if other network-layer protocols were supported, each would have to have its own set of security associations, routing table, and process, etc.
-
Autonomic functions do not require IPv4: autonomic functions and autonomic service agents are new concepts. They can be exclusively built on IPv6 from day one. There is no need for backward compatibility.
-
OAM protocols do not require IPv4: the ACP may carry OAM protocols. All relevant protocols (SNMP, TFTP, SSH, SCP, RADIUS, Diameter, NETCONF, etc.) are available in IPv6. See also [RFC 8368] for how ACP could be made to interoperate with IPv4-only OAM.
Further explanation about the addressing and routing-related reasons for the choice of the autonomous ACP addressing can be found in
Section 6.13.5.1.
The ULA addressing base scheme for ACP nodes has the following format:
8 40 2 78
+--+-------------------------+------+------------------------------+
|fd| hash(routing-subdomain) | Type | (sub-scheme) |
+--+-------------------------+------+------------------------------+
The first 48 bits follow the ULA scheme as defined in [
RFC 4193], to which a Type field is added.
-
fd:
-
Identifies a locally defined ULA address.
-
hash(routing-subdomain):
-
The 40-bit ULA Global ID (a term from [RFC 4193]) for ACP addresses carried in the acp-node-name in the ACP certificates are the first 40 bits of the SHA-256 hash of the routing-subdomain from the same acp-node-name. In the example of Section 6.2.2, the routing-subdomain is "area51.research.acp.example.com", and the 40-bit ULA Global ID is 89b714f3db.
When creating a new routing-subdomain for an existing Autonomic Network, it MUST be ensured that rsub is selected so the resulting hash of the routing-subdomain does not collide with the hash of any preexisting routing-subdomains of the Autonomic Network. This ensures that ACP addresses created by registrars for different routing subdomains do not collide with each other.
To allow for extensibility, the fact that the ULA Global ID is a hash of the routing-subdomain SHOULD NOT be assumed by any ACP node during normal operations. The hash function is only executed during the creation of the certificate. If BRSKI is used, then the BRSKI registrar will create the acp-node-name in response to the EST Certificate Signing Request (CSR) Attributes Request message sent by the pledge.
Establishing connectivity between different ACPs (different acp-domain-names) is outside the scope of this specification. If it is being done through future extensions, then the rsub of all routing-subdomains across those Autonomic Networks needs to be selected so that the resulting routing-subdomain hashes do not collide. For example, a large cooperation with its own private TA may want to create different Autonomic Networks that initially do not connect but where the option to do so should be kept open. When taking this possibility into account, it is always easy to select rsub so that no collisions happen.
-
Type:
-
This field allows different addressing sub-schemes. This addresses the "upgradability" requirement. Assignment of types for this field will be maintained by IANA.
-
(sub-scheme):
-
The sub-scheme may imply a range or set of addresses assigned to the node. This is called the ACP address range/set and explained in each sub-scheme.
Please refer to
Section 6.11.7 and
Appendix A.1 for further explanations for why the following addressing sub-schemes are used and why multiple are necessary.
The following summarizes the addressing sub-schemes:
Type |
Name |
F-bit |
Z |
V-bits |
Prefix |
0 |
ACP-Zone |
N/A |
0 |
1 bit |
/127 |
0 |
ACP-Manual |
N/A |
1 |
N/A |
/64 |
1 |
ACP-Vlong-8 |
0 |
N/A |
8 bits |
/120 |
1 |
ACP-Vlong-16 |
1 |
N/A |
16 bits |
/112 |
2 |
Reserved / For future definition/allocation |
3 |
Reserved / For future definition/allocation |
Table 1: Addressing Sub-Schemes
The F-bit (format bit,
Section 6.11.5) and Z (
Section 6.11.4) are two encoding fields that are explained in the sections covering the sub-schemes that use them. V-bits is the number of bits of addresses allocated to the ACP node. Prefix is the prefix that the ACP node is announcing into RPL.
This sub-scheme is used when the Type field of the base scheme is 0 and the Z bit is 0.
64 64
+-----------------+---+---------++-----------------------------+---+
| (base scheme) | Z | Zone-ID || Node-ID |
| | | || Registrar-ID | Node-Number| V |
+-----------------+---+---------++--------------+--------------+---+
50 1 13 48 15 1
The fields are defined as follows:
-
Type:
-
MUST be 0.
-
Z:
-
MUST be 0.
-
Zone-ID:
-
A value for a network zone.
-
Node-ID:
-
A unique value for each node.
The 64-bit Node-ID must be unique across the ACP domain for each node. It is derived and composed as follows:
-
Registrar-ID (48 bits):
-
A number unique inside the domain identifying the ACP registrar that assigned the Node-ID to the node. One or more domain-wide unique identifiers of the ACP registrar can be used for this purpose. See Section 6.11.7.2.
-
Node-Number:
-
A number to make the Node-ID unique. This can be sequentially assigned by the ACP registrar owning the Registrar-ID.
-
V (1 bit):
-
Virtualization bit:
-
0:
-
Indicates the ACP itself ("ACP node base system)
-
1:
-
Indicates the optional "host" context on the ACP node (see below).
In the Zone Addressing Sub-Scheme, the ACP address in the certificate has V field as all zero bits.
The ACP address set of the node includes addresses with any Zone-ID value and any V value. Therefore, no two nodes in the same ACP and the same hash(routing-subdomain) can have the same Node-ID with the Zone Addressing Sub-Scheme, for example, by differing only in their Zone-ID.
The Virtualization bit in this sub-scheme allows the easy addition of the ACP as a component to existing systems without causing problems in the port number space between the services in the ACP and the existing system. V=0 is the ACP router (autonomic node base system), V=1 is the host with preexisting transport endpoints on it that could collide with the transport endpoints used by the ACP router. The ACP host could, for example, have a P2P (peer-to-peer) virtual interface with the V=0 address as its router to the ACP. Depending on the software design of ASAs, which is outside the scope of this specification, they may use the V=0 or V=1 address.
The location of the V bit(s) at the end of the address allows the announcement of a single prefix for each ACP node. For example, in a network with 20,000 ACP nodes, this avoids 20,000 additional routes in the routing table.
It is
RECOMMENDED that only Zone-ID 0 is used unless it is meant to be used in conjunction with operational practices for partial or incremental adoption of the ACP as described in
Section 9.4.
Note: Zones and Zone-ID as defined here are not related to zones or zone_id defined in "[
IPv6 Scoped Address Architecture]" [
RFC 4007]. ACP zone addresses are not scoped (i.e., reachable only from within a zone as defined by [
RFC 4007]) but are reachable across the whole ACP. A zone_id is a zone index that has only local significance on a node [
RFC 4007], whereas an ACP Zone-ID is an identifier for an ACP zone that is unique across that ACP.
This sub-scheme is used when the Type field of the base scheme is 0 and the Z bit is 1.
64 64
+---------------------+---+----------++-----------------------------+
| (base scheme) | Z | Subnet-ID|| Interface Identifier |
+---------------------+---+----------++-----------------------------+
50 1 13
The fields are defined as follows:
-
Type:
-
MUST be 0.
-
Z:
-
MUST be 1.
-
Subnet-ID:
-
Configured subnet identifier.
-
Interface Identifier:
-
Interface identifier according to [RFC 4291].
This sub-scheme is meant for the "manual" allocation to subnets where the other addressing schemes cannot be used. The primary use case is for assignment to ACP connect subnets (see
Section 8.1.1).
"Manual" means that allocations of the Subnet-ID need to be done with preexisting, non-autonomic mechanisms. Every subnet that uses this addressing sub-scheme needs to use a unique Subnet-ID (unless some anycast setup is done).
The Z bit field was added to distinguish between the Zone Addressing Sub-Scheme and the Manual Addressing Sub-Scheme without requiring one more bit in the base scheme and therefore allowing for the Vlong Addressing Sub-Scheme (described in
Section 6.11.5) to have one more bit available.
The Manual Addressing Sub-Scheme addresses
SHOULD NOT be used in ACP certificates. Any node capable of building ACP secure channels and is permitted by registrar policy to participate in building ACP secure channels
SHOULD receive an ACP address (prefix) from one of the other ACP addressing sub-schemes. A node that cannot or is not permitted to participate in ACP secure channels can connect to the ACP via ACP connect interfaces of ACP edge nodes (see
Section 8.1) without setting up an ACP secure channel. Its ACP certificate
MUST omit the acp-address field to indicate that its ACP certificate is only usable for non-ACP secure channel authentication, such as end-to-end transport connections across the ACP or data plane.
Address management of ACP connect subnets is done using traditional assignment methods and existing IPv6 protocols. See
Section 8.1.3 for details. Therefore, the notion of /V-bits multiple addresses assigned to the ACP nodes does not apply to this sub-scheme.
This addressing sub-scheme is used when the Type field of the base scheme is 1.
50 78
+---------------------++-----------------------------+----------+
| (base scheme) || Node-ID |
| || Registrar-ID |F| Node-Number| V |
+---------------------++--------------+--------------+----------+
50 46 1 23/15 8/16
This addressing sub-scheme foregoes the Zone-ID field (
Section 6.11.3) to allow for larger, flatter routed networks (e.g., as in IoT) with 8,421,376 Node-Numbers (2
23 + 2
15). It also allows for up to 2
16 (i.e., 65,536) different virtualized addresses within a node, which could be used to address individual software components in an ACP node.
The fields are the same as in the Zone Addressing Sub-Scheme (
Section 6.11.3) with the following refinements:
-
F:
-
Format bit. This bit determines the format of the subsequent bits.
-
V:
-
Virtualization bit: this is a field that is either 8 or 16 bits. For F=0, it is 8 bits, for F=1 it is 16 bits. The V-bits are assigned by the ACP node. In the ACP certificate's ACP address (Section 6.2.2), the V-bits are always set to 0.
-
Registrar-ID:
-
To maximize Node-Number and V, the Registrar-ID is reduced to 46 bits. One or more domain-wide unique identifiers of the ACP registrar can be used for this purpose. See Section 6.11.7.2.
-
Node-Number:
-
The Node-Number is unique to each ACP node. There are two formats for the Node-Number. When F=0, the Node-Number is 23 bits, for F=1, it is 15 bits. Each format of Node-Number is considered to be in a unique number space.
The F=0 bit format addresses are intended to be used for "general purpose" ACP nodes that would potentially have a limited number (less than 256) of clients (ASA and/or autonomic functions or legacy services) of the ACP that require separate V(irtual) addresses.
The F=1 bit Node-Numbers are intended for ACP nodes that are ACP edge nodes (see
Section 8.1.1) or that have a large number of clients requiring separate V(irtual) addresses, for example, large SDN controllers with container modular software architecture (see
Section 8.1.2).
In the Vlong Addressing Sub-Scheme, the ACP address in the certificate has all V field bits as zero. The ACP address set for the node includes any V value.
Before further addressing sub-schemes are defined, experience with the schemes defined here should be collected. The schemes defined in this document have been devised to allow hopefully a sufficiently flexible setup of ACPs for a variety of situations. These reasons also lead to the fairly liberal use of address space: the Zone Addressing Sub-Scheme is intended to enable optimized routing in large networks by reserving bits for Zone-IDs. The Vlong Addressing Sub-Scheme enables the allocation of 8/16-bit of addresses inside individual ACP nodes. Both address spaces allow distributed, uncoordinated allocation of node addresses by reserving bits for the Registrar-ID field in the address.
ACP registrars are responsible for enrolling candidate ACP nodes with ACP certificates and associated trust anchor(s). They are also responsible for including an acp-node-name field in the ACP certificate. This field carries the ACP domain name and the ACP node's ACP address prefix. This address prefix is intended to persist unchanged through the lifetime of the ACP node.
Because of the ACP addressing sub-schemes, an ACP domain can have multiple distributed ACP registrars that do not need to coordinate for address assignment. ACP registrars can also be sub-CAs, in which case they can also assign ACP certificates without dependencies against a (shared) TA (except during renewals of their own certificates).
ACP registrars are PKI registration authorities (RA) enhanced with the handling of the ACP certificate-specific fields. They request certificates for ACP nodes from a CA through any appropriate mechanism (out of scope in this document, but this mechanism is required to be BRSKI for ANI registrars). Only nodes that are trusted to be compliant with the registrar requirements described in this section can be given the necessary credentials to perform this RA function, such as the credential for the ACP registrar to connect to the CA as a registrar.
Any protocols or mechanisms may be used by ACP registrars as long as the resulting ACP certificate and TA certificate(s) can be used by other domain members to perform the ACP domain membership check described in
Section 6.2.3, and the acp-node-name meets the ACP addressing requirements described in the next three sections.
An ACP registrar could be a person deciding whether to enroll a candidate ACP node and then orchestrating the enrollment of the ACP certificate and associated TA, using command line or web-based commands on the candidate ACP node and TA to generate and sign the ACP certificate and configure certificate and TA onto the node.
The only currently defined protocol for ACP registrars is BRSKI [
RFC 8995]. When BRSKI is used, the ACP nodes are called ANI nodes, and the ACP registrars are called BRSKI or ANI registrars. The BRSKI specification does not define the handling of the acp-node-name field because the rules do not depend on BRSKI but apply equally to any protocols or mechanisms that an ACP registrar may use.
ACP registrars
MUST NOT allocate ACP address prefixes to ACP nodes via the acp-node-name that would collide with the ACP address prefixes of other ACP nodes in the same ACP domain. This includes both prefixes allocated by the same ACP registrar to different ACP nodes as well as prefixes allocated by other ACP registrars for the same ACP domain.
To support such unique address allocation, an ACP registrar
MUST have one or more 46-bit identifiers, called the Registrar-ID, that are unique across the ACP domain. Allocation of Registrar-ID(s) to an ACP registrar can happen through OAM mechanisms in conjunction with some database and/or allocation orchestration.
ACP registrars running on physical devices with known globally unique EUI-48 MAC address(es) (EUI stands for "Extended Unique Identifier") can use the lower 46 bits of those address(es) as unique Registrar-IDs without requiring any external signaling and/or configuration (the upper two bits, V and U, are not uniquely assigned but are functional). This approach is attractive for distributed, non-centrally administered, lightweight ACP registrar implementations. There is no mechanism to deduce from a MAC address itself whether it is actually uniquely assigned. Implementations need to consult additional offline information before making this assumption, for example, by knowing that a particular physical product or Network Interface Controller (NIC) chip is guaranteed to use globally unique assigned EUI-48 MAC address(es).
When the candidate ACP device (called pledge in BRSKI) is to be enrolled into an ACP domain, the ACP registrar needs to allocate a unique ACP address to the node and ensure that the ACP certificate gets an acp-node-name field (
Section 6.2.2) with the appropriate information: ACP domain name, ACP address, and so on. If the ACP registrar uses BRSKI, it signals the ACP acp-node-name field to the pledge via EST CSR Attributes (see
RFC 8995,
Section 5.9.2, "EST CSR Attributes").
The ACP registrar selects for the candidate ACP node a unique address prefix from an appropriate ACP addressing sub-scheme, either a Zone Addressing Sub-Scheme prefix (see
Section 6.11.3), or a Vlong Addressing Sub-Scheme prefix (see
Section 6.11.5). The assigned ACP address prefix encoded in the acp-node-name field of the ACP certificate indicates to the ACP node its ACP address information. The addressing sub-scheme indicates the prefix length: /127 for the Zone Addressing Sub-Scheme, /120 or /112 for the Vlong Addressing Sub-Scheme. The first address of the prefix is the ACP address. All other addresses in the prefix are for other uses by the ACP node as described in the Zone Addressing Sub-Scheme and Vlong Addressing Sub-Scheme sections. The ACP address prefix itself is then signaled by the ACP node into the ACP routing protocol (see
Section 6.12) to establish IPv6 reachability across the ACP.
The choice of addressing sub-scheme and prefix length in the Vlong Addressing Sub-Scheme is subject to ACP registrar policy. It could be an ACP domain-wide policy, or a per ACP node or per ACP node type policy. For example, in BRSKI, the ACP registrar is aware of the IDevID certificate of the candidate ACP node, which typically contains a "serialNumber" attribute in the subject field distinguished name encoding that often indicates the node's vendor and device type, and it can be used to drive a policy for selecting an appropriate addressing sub-scheme for the (class of) node(s).
ACP registrars
SHOULD default to allocating Zone Addressing Sub-Scheme addresses with Zone-ID 0.
ACP registrars that are aware of the IDevID certificate of a candidate ACP device
SHOULD be able to choose the Zone vs. Vlong Addressing Sub-Scheme for ACP nodes based on the "serialNumber" attribute [
X.520] in the subject field distinguished name encoding of the IDevID certificate, for example, by the PID (Product Identifier) part, which identifies the product type, or by the complete "serialNumber". The PID, for example, could identify nodes that allow for specialized ASA requiring multiple addresses or for non-autonomic virtual machines (VMs) for services, and those nodes could receive Vlong Addressing Sub-Scheme ACP addresses.
In a simple allocation scheme, an ACP registrar remembers persistently across reboots its currently used Registrar-ID and, for each addressing scheme (Zone with Zone-ID 0, Vlong with /112, Vlong with /120), the next Node-Number available for allocation, and it increases the next Node-Number during successful enrollment of an ACP node. In this simple allocation scheme, the ACP registrar would not recycle ACP address prefixes from ACP nodes that are no longer used.
If allocated addresses cannot be remembered by registrars, then it is necessary either to use a new value for the Register-ID field in the ACP addresses or to determine allocated ACP addresses by determining the addresses of reachable ACP nodes, which is not necessarily the set of all ACP nodes. Untracked ACP addresses can be reclaimed by revoking or not renewing their certificates and instead handing out new certificates with new addresses (for example, with a new Registrar-ID value). Note that such strategies may require coordination amongst registrars.
When an ACP certificate is renewed or rekeyed via EST or other mechanisms, the ACP address/prefix in the acp-node-name field
MUST be maintained unless security issues or violations of the unique address assignment requirements exist or are suspected by the ACP registrar.
ACP address information
SHOULD be maintained even when the renewing and/or rekeying ACP registrar is not the same as the one that enrolled the prior ACP certificate. See
Section 9.2.4 for an example.
ACP address information
SHOULD also be maintained even after an ACP certificate expires or fails. See
Section 6.2.5.5 and
Section 6.2.5.6.
Section 9.2 discusses further informative details of ACP registrars: needed interactions, required parameters, certificate renewal and limitations, use of sub-CAs on registrars, and centralized policy control.
Once ULA addresses are set up, all autonomic entities should run a routing protocol within the ACP context. This routing protocol distributes the ULA created in the previous section for reachability. The use of the ACP-specific context eliminates the probable clash with data plane routing tables and also secures the ACP from interference from configuration mismatch or incorrect routing updates.
The establishment of the routing plane and its parameters are automatic and strictly within the confines of the ACP. Therefore, no explicit configuration is required.
All routing updates are automatically secured in transit as the channels of the ACP are encrypted, and this routing runs only inside the ACP.
The routing protocol inside the ACP is RPL [
RFC 6550]. See
Appendix A.4 for more details on the choice of RPL.
RPL adjacencies are set up across all ACP channels in the same domain including all its routing subdomains. See
Appendix A.6 for more details.
The following is a description of the RPL profile that ACP nodes need to support by default. The format of this section is derived from [
ROLL-APPLICABILITY].
RPL Packet Information (RPI), defined in
RFC 6550,
Section 11.2, defines the data packet artifacts required or beneficial in the forwarding of packets routed by RPL. This profile does not use RPI for better compatibility with accelerated hardware forwarding planes, which most often do not support the Hop-by-Hop headers used for RPI, but also to avoid the overhead of the RPI header on the wire and cost of adding and/or removing them.
To avoid the need for RPI, the ACP RPL profile uses a simple routing/forwarding table based on destination prefix. To achieve this, the profile uses only one RPL instanceID. This single instanceID can contain only one Destination-Oriented Directed Acyclic Graph (DODAG), and the routing/forwarding table can therefore only calculate a single class of service ("best effort towards the primary NOC/root") and cannot create optimized routing paths to accomplish latency or energy goals between any two nodes.
This choice is a compromise. Consider a network that has multiple NOCs in different locations. Only one NOC will become the DODAG root. Traffic to and from other NOCs has to be sent through the DODAG (shortest path tree) rooted in the primary NOC. Depending on topology, this can be an annoyance from a point of view of latency or minimizing network path resources, but this is deemed to be acceptable given how ACP traffic is "only" network management/control traffic. See
Appendix A.9.4 for more details.
Using a single instanceID/DODAG does not introduce a single point of failure, as the DODAG will reconfigure itself when it detects data plane forwarding failures, including choosing a different root when the primary one fails.
The benefit of this profile, especially compared to other IGPs, is that it does not calculate routes for nodes reachable through the same interface as the DODAG root. This RPL profile can therefore scale to a much larger number of ACP nodes in the same amount of computation and memory than other routing protocols, especially on nodes that are leafs of the topology or those close to those leafs.
In RPL profiles where RPI (see
Section 6.12.1.13) is present, it is also used to trigger reconvergence when misrouted, for example, looping packets, which are recognized because of their RPI data. This helps to minimize RPL signaling traffic, especially in networks without stable topology and slow links.
The ACP RPL profile instead relies on quickly reconverging the DODAG by recognizing link state change (down/up) and triggering reconvergence signaling as described in
Section 6.12.1.7. Since links in the ACP are assumed to be mostly reliable (or have link-layer protection against loss) and because there is no stretch according to
Section 6.12.1.7, loops caused by loss of RPL signaling packets should be exceedingly rare.
In addition, there are a variety of mechanisms possible in RPL to further avoid temporary loops that are
RECOMMENDED to be used for the ACP RPL profile: DODAG Information Objects (DIOs)
SHOULD be sent two or three times to inform children when losing the last parent. The technique in
RFC 6550,
Section 8.2.2.6 (Detaching)
SHOULD be favored over that in Section
8.2.2.5 (Poisoning) because it allows local connectivity. Nodes
SHOULD select more than one parent, at least three if possible, and send Destination Advertisement Objects (DAOs) to all of them in parallel.
Additionally, failed ACP tunnels can be quickly discovered through the secure channel protocol mechanisms such as IKEv2 dead peer detection. This can function as a replacement for a Low-power and Lossy Network's (LLN's) Expected Transmission Count (ETX) feature, which is not used in this profile. A failure of an ACP tunnel should immediately signal the RPL control plane to pick a different parent.
There is a single RPL instance. The default RPLInstanceID is 0.
The RPL Mode of Operation (MOP)
MUST support mode 2, "Storing Mode of Operations with no multicast support". Implementations
MAY support mode 3 ("... with multicast support") as that is a superset of mode 2. Note: Root indicates mode in DIO flow.
The DAO policy is proactive, aggressive DAO state maintenance:
-
Use the 'K' flag in unsolicited DAO to indicate change from previous information (to require DAO-ACK).
-
Retry such DAO DAO-RETRIES(3) times with DAO-ACK_TIME_OUT(256ms) in between.
-
Objective Function (OF):
-
Use Objective Function Zero (OF0) ("[Objective Function Zero for the Routing Protocol for Low-Power and Lossy Networks (RPL)]" [RFC 6552]). Metric containers are not used.
-
rank_factor:
-
Derived from link speed: if less than or equal to 100 Mbps, LOW_SPEED_FACTOR(5), else HIGH_SPEED_FACTOR(1).
This is a simple rank differentiation between typical "low speed" or IoT links that commonly max out at 100 Mbps and typical infrastructure links with speeds of 1 Gbps or higher. Given how the path selection for the ACP focuses only on reachability but not on path cost optimization, no attempts at finer-grained path optimization are made.
-
Global Repair:
-
We assume stable links and ranks (metrics), so there is no need to periodically rebuild the DODAG. The DODAG version is only incremented under catastrophic events (e.g., administrative action).
-
Local Repair:
-
As soon as link breakage is detected, the ACP node sends a No-Path DAO for all the targets that were reachable only via this link. As soon as link repair is detected, the ACP node validates if this link provides a better parent. If so, a new rank is computed by the ACP node, and it sends a new DIO that advertises the new rank. Then it sends a DAO with a new path sequence about itself.
When using ACP multi-access virtual interfaces, local repair can be triggered directly by peer breakage, see Section 6.13.5.2.2.
-
stretch_rank:
-
None provided ("not stretched").
-
Data-Path Validation:
-
Not used.
-
Trickle:
-
Not used.
Multicast is not used yet, but it is possible because of the selected mode of operations.
RPL security [
RFC 6550] is not used, and ACP security is substituted.
Because the ACP links already include provisions for confidentiality and integrity protection, their usage at the RPL layer would be redundant, and so RPL security is not used.
Every ACP node (RPL node) announces an IPv6 prefix covering the addresses assigned to the ACP node via the AcpNodeName. The prefix length depends on the addressing sub-scheme of the acp-address, /127 for the Zone Addressing Sub-Scheme and /112 or /120 for the Vlong Addressing Sub-Scheme. See
Section 6.11 for more details.
Every ACP node
MUST install a black hole route (also known as a null route) if there are unused parts of the ACP address space assigned to the ACP node via its AcpNodeName. This is superseded by longer prefixes assigned to interfaces for the address space actually used by the node. For example, when the node has an ACP-Vlong-8 address space, it installs a /120 black hole route. If it then only uses the ACP address (first address from the space), for example, it would assign that address via a /128 address prefix to the ACP loopback interface (see
Section 6.13.5.1). None of those longer prefixes are announced into RPL.
For ACP-Manual address prefixes configured on an ACP node, for example, for ACP connect subnets (see
Section 8.1.1), the node announces the /64 subnet prefix.
-
-
The preference is indicated in the DODAGPreference field of DIO message.
-
Explicitly configured "root":
-
0b100
-
ACP registrar (default):
-
0b011
-
ACP connect (non-registrar):
-
0b010
-
Default:
-
0b001
Because RPL minimizes the size of the routing and forwarding table, prefixes reachable through the same interface as the RPL root are not known on every ACP node. Therefore, traffic to unknown destination addresses can only be discovered at the RPL root. The RPL root
SHOULD have attach-safe mechanisms to operationally discover and log such packets.
As this requirement places additional constraints on the data plane functionality of the RPL root, it does not apply to "normal" nodes that are not configured to have special functionality (i.e., the administrative parameter from
Section 6.12.1.12 has value 0b001). If the ACP network is degraded to the point where there are no nodes that could be configured as root, registrar, or ACP connect nodes, it is possible that the RPL root (and thus the ACP as a whole) would be unable to detect traffic to unknown destinations. However, in the absence of nodes with administrative preference other than 0b001, there is also unlikely to be a way to get diagnostic information out of the ACP, so detection of traffic to unknown destinations would not be actionable anyway.
Since channels are established between adjacent neighbors by default, the resulting overlay network does hop-by-hop encryption. Each node decrypts incoming traffic from the ACP and encrypts outgoing traffic to its neighbors in the ACP. Routing is discussed in
Section 6.12.
There are no performance requirements for ACP implementations defined in this document because the performance requirements depend on the intended use case. It is expected that a fully autonomic node with a wide range of ASA can require high forwarding plane performance in the ACP, for example, for telemetry. Implementations of ACP that solely support traditional or SDN-style use cases can benefit from ACP at lower performance, especially if the ACP is used only for critical operations, e.g., when the data plane is not available. The design of the ACP as specified in this document is intended to support a wide range of performance options: it is intended to allow software-only implementations at potentially low performance, but the design can also support high-performance options. See [
RFC 8368] for more details.
In order to be independent of the data plane routing and addressing, the ACP secure channels discovered via GRASP use IPv6 link-local addresses between adjacent neighbors. Note:
Section 8.2 specifies extensions in which secure channels are configured tunnels operating over the data plane, so those secure channels cannot be independent of the data plane.
To avoid impacting the operations of the IPv6 (link-local) interface/address used for ACP channels when configuring the data plane, appropriate implementation considerations are required. If the IPv6 interface/link-local address is shared with the data plane, it needs to be impossible to unconfigure and/or disable it through configuration. Instead of sharing the IPv6 interface/link-local address, a separate (virtual) interface with a separate IPv6 link-local address can be used. For example, the ACP interface could be run over a separate MAC address of an underlying L2 (Ethernet) interface. For more details and options, see
Appendix A.9.2.
Note that other (nonideal) implementation choices may introduce additional, undesired dependencies against the data plane, for example, shared code and configuration of the secure channel protocols (IPsec and/or DTLS).
The MTU for ACP secure channels
MUST be derived locally from the underlying link MTU minus the secure channel encapsulation overhead.
ACP secure channel protocols do not need to perform MTU discovery because they are built across L2 adjacencies: the MTUs on both sides connecting to the L2 connection are assumed to be consistent. Extensions to ACP where the ACP is, for example, tunneled need to consider how to guarantee MTU consistency. This is an issue of tunnels, not an issue of running the ACP across a tunnel. Transport stacks running across ACP can perform normal PMTUD (Path MTU Discovery). Because the ACP is meant to prioritize reliability over performance, they
MAY opt to only expect IPv6 minimum MTU (1280 octets) to avoid running into PMTUD implementation bugs or underlying link MTU mismatch problems.
If two nodes are connected via several links, the ACP
SHOULD be established across every link, but it is possible to establish the ACP only on a subset of links. Having an ACP channel on every link has a number of advantages, for example, it allows for a faster failover in case of link failure, and it reflects the physical topology more closely. Using a subset of links (for example, a single link), reduces resource consumption on the node because state needs to be kept per ACP channel. The negotiation scheme explained in
Section 6.6 allows the Decider (the node with the higher ACP address) to drop all but the desired ACP channels to the Follower, and the Follower will not retry to build these secure channels from its side unless the Decider appears with a previously unknown GRASP announcement (e.g., on a different link or with a different address announced in GRASP).
Conceptually, the ACP VRF has two types of interfaces: the "ACP loopback interface(s)" to which the ACP ULA address(es) are assigned and the "ACP virtual interfaces" that are mapped to the ACP secure channels.
For autonomous operations of the ACP, as described in
Section 6 and
Section 7, the ACP node uses the first address from the N bit ACP prefix assigned to the node. N = (128 - number of Vbits of the ACP address). This address is assigned with an address prefix of N or larger to a loopback interface.
Other addresses from the prefix can be used by the ACP of the node as desired. The autonomous operations of the ACP do not require additional global-scope IPv6 addresses, they are instead intended for ASA or non-autonomous functions. Components of the ACP that are not fully autonomic, such as ACP connect interfaces (see
Figure 14), may also introduce additional global-scope IPv6 addresses on other types of interfaces to the ACP.
The use of loopback interfaces for global-scope addresses is common operational configuration practice on routers, for example, in Internal BGP (IBGP) connections since BGP4 (see "[
A Border Gateway Protocol 4 (BGP-4)]" [
RFC 1654]) or earlier. The ACP adopts and automates this operational practice.
A loopback interface for use with the ACP as described above is an interface that behaves according to Section
4 of [
RFC 6724], paragraph 2. Packets sent by the host of the node from the loopback interface behave as if they are looped back by the interface so that they look as if they originated from the loopback interface, are then received by the node and forwarded by it towards the destination.
The term "loopback only" indicates this behavior, but not the actual name of the interface type chosen in an actual implementation. A loopback interface for use with the ACP can be a virtual and/or software construct without any associated hardware, or it can be a hardware interface operating in loopback mode.
A loopback interface used for the ACP
MUST NOT have connectivity to other nodes.
The following list reviews the reasons for the choice of loopback addresses for ACP addresses, which is based on the IPv6 address architecture and common challenges:
-
IPv6 addresses are assigned to interfaces, not nodes. IPv6 continues the IPv4 model that a subnet prefix is associated with one link, see Section 2.1 of [RFC 4291].
-
IPv6 implementations commonly do not allow assignment of the same IPv6 global-scope address in the same VRF to more than one interface.
-
Global-scope addresses assigned to interfaces that connect to other nodes (external interfaces) may not be stable addresses for communications because any such interface could fail due to reasons external to the node. This could render the addresses assigned to that interface unusable.
-
If failure of the subnet does not bring down the interface and make the addresses unusable, it could result in unreachability of the address because the shortest path to the node might go through one of the other nodes on the same subnet, which could equally consider the subnet to be operational even though it is not.
-
Many OAM service implementations on routers cannot deal with more than one peer address, often because they already expect that a single loopback address can be used, especially to provide a stable address under failure of external interfaces or links.
-
Even when an application supports multiple addresses to a peer, it can only use one address at a time for a connection with the most widely deployed transport protocols, TCP and UDP. While "[TCP Extensions for Multipath Operation with Multiple Addresses]" [RFC 6824]/[RFC 8684] solves this problem, it is not widely adopted by implementations of router OAM services.
-
To completely autonomously assign global-scope addresses to subnets connecting to other nodes, it would be necessary for every node to have an amount of prefix address space on the order of the maximum number of subnets that the node could connect to, and then the node would have to negotiate with adjacent nodes across those subnets which address space to use for each subnet.
-
Using global-scope addresses for subnets between nodes is unnecessary if those subnets only connect routers, such as ACP secure channels, because they can communicate to remote nodes via their global-scope loopback addresses. Using global-scope addresses for those external subnets is therefore wasteful for the address space and also unnecessarily increases the size of the routing and forwarding tables, which, especially for the ACP, is highly undesirable because it should attempt to minimize the per-node overhead of the ACP VRF.
-
For all these reasons, the ACP addressing sub-schemes do not consider ACP addresses for subnets connecting ACP nodes.
Note that "[
Segment Routing Architecture]" [
RFC 8402] introduces the term Node-SID to refer to IGP prefix segments that identify a specific router, for example, on a loopback interface. An ACP loopback address prefix may similarly be called an ACP Node Identifier.
Any ACP secure channel to another ACP node is mapped to ACP virtual interfaces in one of the following ways. This is independent of the chosen secure channel protocol (IPsec, DTLS, or other future protocol, either standardized or not).
Note that all the considerations described here assume point-to-point secure channel associations. Mapping multiparty secure channel associations, such as "[
The Group Domain of Interpretation]" [
RFC 6407], is out of scope.
In this option, each ACP secure channel is mapped to a separate point-to-point ACP virtual interface. If a physical subnet has more than two ACP-capable nodes (in the same domain), this implementation approach will lead to a full mesh of ACP virtual interfaces between them.
When the secure channel protocol determines a peer to be dead, this
SHOULD result in indicating link breakage to trigger RPL DODAG repair, see
Section 6.12.1.7.
In a more advanced implementation approach, the ACP will construct a single multi-access ACP virtual interface for all ACP secure channels to ACP-capable nodes reachable across the same underlying (physical) subnet. IPv6 link-local multicast packets sent to an ACP multi-access virtual interface are replicated to every ACP secure channel mapped to the ACP multi-access virtual interface. IPv6 unicast packets sent to an ACP multi-access virtual interface are sent to the ACP secure channel that belongs to the ACP neighbor that is the next hop in the ACP forwarding table entry used to reach the packets' destination address.
When the secure channel protocol determines that a peer is dead for a secure channel mapped to an ACP multi-access virtual interface, this
SHOULD result in signaling breakage of that peer to RPL, so it can trigger RPL DODAG repair, see
Section 6.12.1.7.
There is no requirement for all ACP nodes on the same multi-access subnet to use the same type of ACP virtual interface. This is purely a node-local decision.
ACP nodes
MUST perform standard IPv6 operations across ACP virtual interfaces including SLAAC [
RFC 4862] to assign their IPv6 link-local address on the ACP virtual interface and ND ("[
Neighbor Discovery for IP version 6 (IPv6)]" [
RFC 4861]) to discover which IPv6 link-local neighbor address belongs to which ACP secure channel mapped to the ACP virtual interface. This is independent of whether the ACP virtual interface is point-to-point or multi-access.
Optimistic Duplicate Address Detection (DAD) according to "[
Optimistic Duplicate Address Detection (DAD) for IPv6]" [
RFC 4429] is
RECOMMENDED because the likelihood for duplicates between ACP nodes is highly improbable as long as the address can be formed from a globally unique, locally assigned identifier (e.g., EUI-48/EUI-64, see below).
ACP nodes
MAY reduce the amount of link-local IPv6 multicast packets from ND by learning the IPv6 link-local neighbor address to ACP secure channel mapping from other messages, such as the source address of IPv6 link-local multicast RPL messages, and therefore forego the need to send Neighbor Solicitation messages.
The ACP virtual interface IPv6 link-local address can be derived from any appropriate local mechanism, such as node-local EUI-48 or EUI-64. It
MUST NOT depend on something that is attackable from the data plane, such as the IPv6 link-local address of the underlying physical interface, which can be attacked by SLAAC, or parameters of the secure channel encapsulation header that may not be protected by the secure channel mechanism.
The link-layer address of an ACP virtual interface is the address used for the underlying interface across which the secure tunnels are built, typically Ethernet addresses. Because unicast IPv6 packets sent to an ACP virtual interface are not sent to a link-layer destination address but rather to an ACP secure channel, the link-layer address fields
SHOULD be ignored on reception, and instead the ACP secure channel from which the message was received should be remembered.
Multi-access ACP virtual interfaces are preferable implementations when the underlying interface is a (broadcast) multi-access subnet because they reflect the presence of the underlying multi-access subnet to the virtual interfaces of the ACP. This makes it, for example, simpler to build services with topology awareness inside the ACP VRF in the same way as they could have been built running natively on the multi-access interfaces.
Consider also the impact of point-to-point vs. multi-access virtual interfaces on the efficiency of flooding via link-local multicast messages.
Assume a LAN with three ACP neighbors, Alice, Bob, and Carol. Alice's ACP GRASP wants to send a link-local GRASP multicast message to Bob and Carol. If Alice's ACP emulates the LAN as per-peer, point-to-point virtual interfaces, one to Bob and one to Carol, Alice's ACP GRASP will send two copies of multicast GRASP messages: one to Bob and one to Carol. If Alice's ACP emulates a LAN via a multipoint virtual interface, Alice's ACP GRASP will send one packet to that interface, and the ACP multipoint virtual interface will replicate the packet to each secure channel, one to Bob, one to Carol. The result is the same. The difference happens when Bob and Carol receive their packets. If they use ACP point-to-point virtual interfaces, their GRASP instance would forward the packet from Alice to each other as part of the GRASP flooding procedure. These packets are unnecessary and would be discarded by GRASP on receipt as duplicates (by use of the GRASP Session ID). If Bob and Carol's ACP emulated a multi-access virtual interface, then this would not happen because GRASP's flooding procedure does not replicate packets back to the interface from which they were received.
Note that link-local GRASP multicast messages are not sent directly as IPv6 link-local multicast UDP messages to ACP virtual interfaces, but instead to ACP GRASP virtual interfaces that are layered on top of ACP virtual interfaces to add TCP reliability to link-local multicast GRASP messages. Nevertheless, these ACP GRASP virtual interfaces perform the same replication of messages and therefore have the same impact on flooding. See
Section 6.9.2 for more details.
RPL does support operations and correct routing table construction across non-broadcast multi-access (NBMA) subnets. This is common when using many radio technologies. When such NBMA subnets are used, they
MUST NOT be represented as ACP multi-access virtual interfaces because the replication of IPv6 link-local multicast messages will not reach all NBMA subnet neighbors. As a result, GRASP message flooding would fail. Instead, each ACP secure channel across such an interface
MUST be represented as an ACP point-to-point virtual interface. See also
Appendix A.9.4.
Care needs to be taken when creating multi-access ACP virtual interfaces across ACP secure channels between ACP nodes in different domains or routing subdomains. If, for example, future inter-domain ACP policies are defined as "peer-to-peer" policies, it is easier to create ACP point-to-point virtual interfaces for these inter-domain secure channels.