Key distribution over IP / UDP

MPLS and IP protocols are encrypted and authenticated in the communication network through the IEEE 802.1AE protocol, which solves the problems of high resource consumption and increased delay in traditional technologies, achieving low-latency and high-throughput communication security, and is suitable for delay-sensitive applications application.

CN118694515APending Publication Date: 2024-09-24NOKIA NETWORKS OY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410312445.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-23
Filing Date
2024-03-19
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing technologies for encryption and authentication of MPLS and IP protocols in communication networks have the problems of high resource consumption and increased latency. Especially in networks that require low latency and high throughput, traditional IPSec and MACSec protocols are not suitable for latency. Sensitive applications.

Method used

Using the IEEE 802.1AE protocol in the layer 2 network security protocol, the AES-GCM algorithm is used to encrypt and authenticate MPLS packets at the tunnel layer or service layer, and encrypt and authenticate IP packets at layer 3 to ensure that the communication path The device can transparently operate MPLS and IP headers, avoiding encryption and authentication on the MPLS and IP label stack, reducing CPU resource consumption and latency.

Benefits of technology

It implements encryption and authentication at line rate in MPLS and IP networks, reduces CPU resource usage and latency, is suitable for low-latency sensitive networks, supports the security of MPLS and IP protocols, and maintains network efficiency and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694515A
    Figure CN118694515A
Patent Text Reader

Abstract

Techniques for distributing encryption keys for Layer 2.5 / 3 transmissions using a Media Access Control Secure Key Protocol. The transmitting node generates a media access control security key protocol packet having a layer 2 header, an internet protocol header, a user datagram protocol header, an IEEE 802.1 x header, and a media access control security key protocol payload, the media access control security key protocol payload contains an encryption key for encrypting a packet flow transmitted from the transmitting node to the receiving node. The IEEE 802.1 x header includes a secure channel identification that uniquely identifies the packet flow and the encrypted transmitting node. The transmitting node transmits a media access control security key protocol packet to the receiving node via layer 3 transmission. A receiving node receives a media access control security key protocol packet and obtains an encryption key from the media access control security key protocol packet. The transmitting node encrypts layer 2.5 / 3 transmissions to the receiving node using the encryption key, and the receiving node decrypts the encrypted layer 2.5 / 3 transmissions received from the transmitting node using the encryption key.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This is a continuation-in-part of co-pending application Serial No. 17 / 514,046 (“046 Application”) filed on October 29, 2021 (Attorney Docket No.: 323876-US-NP), the teachings of which are incorporated herein by reference in their entirety. Technical Field

[0003] Various example embodiments relate generally to communication networks, and more particularly, but not exclusively, to security of communication protocols in communication networks. Background Art

[0004] In a communication system, various communication technologies may be used to support communications, including using communication security capabilities to support communication security of the communication system. Summary of the invention

[0005] In at least some example embodiments, a transmitting (TX) node includes at least one processor and at least one memory including computer program code. The at least one memory and computer program code are configured to, with the at least one processor, cause the transmitting node to at least (i) generate an MKA (MACsec (Media Access Control Security) Key Agreement) packet, the MACsec key agreement packet including a layer 2 header, an Internet Protocol (IP) header, a user datagram protocol (UDP) header, an IEEE 802.1x header, and a MACsec key agreement payload, the MACsec key agreement payload containing: an encryption key for encrypting a packet stream transmitted from the transmitting node to a receiving node, and (ii) transmit the MACsec key agreement packet to the receiving node via a layer 3 transport.

[0006] In at least some of the above-described transmission embodiments, the encryption key is a security association key (SAK).

[0007] In at least some of the above-described sending embodiments, the sending node is configured to receive the security association key from the key server using Advanced Encryption Standard (AES) key encapsulation.

[0008] In at least some of the above-described transmission embodiments, the transmitting node is configured to encrypt the encryption key in the transmission media access control security key protocol using Advanced Encryption Standard key encapsulation.

[0009] In at least some of the above-described transmission embodiments, the IEEE 802.1x header includes a secure channel identifier (SCI) that uniquely identifies the packet flow and an encrypted transmitting node.

[0010] In at least some of the above-described transmission embodiments, the secure channel identifier includes: an encryption segment identifier (SID) for identifying an encryption transmission node, and a unique identifier of a tunnel on the encryption transmission node.

[0011] In at least some of the above-described transmission embodiments, the transmitting node is configured to locally generate a unique identifier and transmit the secure channel identification to the receiving node using a media access control security key protocol on an IP / UDP header.

[0012] In at least some of the above-described transmission embodiments, the transmitting node is configured to encrypt packets of the packet flow using an encryption key and transmit the encrypted packets to the receiving node via a layer 2.5 / 3 transport.

[0013] In at least some of the above transmission embodiments, the layer 2.5 / 3 transport is a layer 2.5 multi-protocol label switching (MPLS) transport.

[0014] In at least some of the above-described transmission embodiments, the layer 2.5 / 3 transport is a layer 3 Internet Protocol (IP) transport.

[0015] In at least some of the above-described transmission embodiments, the layer 3 transport is an IP transport.

[0016] In at least some example embodiments, a receiving (RX) node includes at least one processor and at least one memory including computer program code. The at least one memory and computer program code are configured to, with the at least one processor, cause the receiving node to at least (i) receive a media access control security key protocol packet from a transmitting (TX) node via a layer 3 transmission, the media access control security key protocol packet including a layer 2 header, an internet protocol header, a user datagram protocol header, an IEEE 802.1x header, and an MKA payload, the MKA payload containing an encryption key for decrypting a packet stream transmitted from the transmitting node to the receiving node, and (ii) process the media access control security key protocol packet to obtain a security association key.

[0017] In at least some of the above receiving embodiments, the encryption key is a security association key.

[0018] In at least some of the above-described receiving embodiments, the encryption key is encrypted in a media access control security key protocol packet using an Advanced Encryption Standard key encapsulation.

[0019] In at least some of the above-described receiving embodiments, the IEEE 802.1x header includes a secure channel identifier that uniquely identifies the packet flow and the encryption sending node.

[0020] In at least some of the above-described receiving embodiments, the secure channel identifier includes: an encrypted encryption segment identifier for identifying the encrypted sending node, and a unique identifier of a tunnel on the encrypted sending node.

[0021] In at least some of the above-described receiving embodiments, the receiving node is configured to receive the secure channel identification from the sending node using a media access control security key protocol on an Internet Protocol / User Datagram Protocol header.

[0022] In at least some of the above-described receiving embodiments, the receiving node is configured to receive encrypted packets of the packet stream from the sending node via layer 2.5 / 3 transport and to decrypt the encrypted packets using the encryption key.

[0023] In at least some of the above-described reception embodiments, the layer 2.5 / 3 transport is a layer 2.5 MPLS transport.

[0024] In at least some of the above-described receiving embodiments, the layer 2.5 / 3 transport is a layer 3 IP transport.

[0025] In at least some of the above-described receiving embodiments, the layer 3 transport is an IP transport. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The teachings herein may be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which:

[0027] Figure 1 Example embodiments of systems configured to support communications security are described;

[0028] Figure 2 An example embodiment of a packet format is described to illustrate the application of encryption and authentication to packets in a manner that supports MPLS security using aspects of IEEE 802.1AE;

[0029] Figure 3A-3C An example embodiment of a packet format is described to illustrate the application of encryption and authentication to packets in a manner that supports IP security using some aspects of IEEE 802.1AE;

[0030] Figure 4A-4C An example embodiment of a packet format is described to illustrate the application of encryption and authentication to packets in a manner that supports IP security using some aspects of IEEE 802.1AE;

[0031] Figure 5 Example embodiments of methods for supporting communications security are described;

[0032] Figure 6 Describes example embodiments of computers suitable for performing the various functions herein; and

[0033] Figure 7 Example embodiments of packet formats are described to illustrate new MKA packets transported via EAPoL.

[0034] To facilitate understanding, identical reference numerals have been used herein, where possible, to designate identical elements that are common to the various figures. DETAILED DESCRIPTION

[0035] Various example embodiments for supporting communication security are given. Various example embodiments for supporting communication security can be configured to support communication security of communication protocols at various open systems interconnection (OSI) layers. Various example embodiments for supporting communication security can be configured to support communication security of communication protocols operating above layer 2 using layer 2 network security protocols. Various example embodiments for supporting communication security can be configured to support communication security of communication protocols operating at layer 2.5 (e.g., multi-protocol label switching (MPLS) protocol, or other suitable layer 2.5 protocols) using some aspects of layer 2 network security protocols (e.g., Institute of Electrical and Electronics Engineers (IEEE) 802 protocols, such as IEEE 802.1AE, or other suitable types of layer 2 network security protocols). Various example embodiments for supporting communication security can be configured to support communication security of communication protocols operating at layer 3 (e.g., Internet Protocol (IP), such as IP version 4 (IPv4) or IP version 6 (IPv6), or other suitable layer 3 protocols) using layer 2 network security protocols. Various example embodiments for supporting communication security may be configured to support communication security of communication protocols operating above Layer 2 using aspects of a Layer 2 network security protocol. Various example embodiments for supporting communication security may enable communication security of communication protocols operating above Layer 2 using a Layer 2 network security protocol in a manner that enables devices operating along a communication path using a communication protocol above Layer 2 to operate on headers of the communication protocol operating above Layer 2 (e.g., operate on headers, such as by reading and modifying headers, so that a router with Layer 2.5 MPLS capabilities can make decisions based on an MPLS header, a router with Layer 3 IP capabilities can make decisions based on an IP header, etc.). Various example embodiments for supporting communication security may be configured to support communication security of communication protocols operating above Layer 2 using aspects of a Layer 2 network security protocol, wherein the Layer 2 network security protocol is configured to support encryption functions and authentication functions (e.g., Institute of Electrical and Electronics Engineers (IEEE) 802 protocols such as IEEE 802.1AE, or other suitable types of Layer 2 security protocols). It will be appreciated that the advantages or potential advantages of these and various other example embodiments, as well as packet-enabled network security, may be further understood by reference to the various drawings discussed further below.

[0036] Figure 1 Example embodiments of systems configured to support communications security are described.

[0037] System 100 includes a pair of communication devices 110-A and 110-Z (collectively referred to as communication devices 110) that can communicate via a communication path 120. Communication device 110 can be any device that can communicate via a communication path, and communication path 120 can be any path through which a communication device can communicate, and therefore, communication device 110 and communication path 120 can be associated with various communication contexts. For example, communication device 110 can include user equipment, routers, switches, etc. For example, communication path 120 can represent a single link, multiple links, a portion of a communication network, a communication network, multiple communication networks, etc. For example, communication devices 110-A and 110-Z can be a customer router and a provider router, respectively, a pair of provider routers, a pair of customer routers communicating via a communication network (e.g., a customer router associated with an enterprise network, a user router associated with a data center network, etc.), etc. It should be understood that the foregoing examples are merely a few ways in which example embodiments that can be used to support security of communications of communication devices.

[0038] The communication device 110 is configured to support the security of communications exchanged between the communication devices 110 through the communication network 120. The communication device 110 can be configured to support security for communications based on a network security protocol that supports encryption functions and authentication functions. For example, for a packet sent from the communication device 110-A to the communication device 110-Z, the communication device 110-A can apply encryption and authentication to the packet based on the network security protocol, and the communication device 110-Z can verify the authentication and perform decryption based on the network security protocol. Similarly, for example, for a packet sent from the communication device 110-Z to the communication device 110-A, the communication device 110-Z can apply encryption and authentication to the packet based on the network security protocol, and the communication device 110-A can verify the authentication and perform decryption based on the network security protocol.

[0039] The communication device 110 may be configured to support communication security of a communication protocol operating at layer 2 or above using a layer 2 network security protocol. The communication device 110 may be configured to support communication security of a communication protocol operating at layer 2.5 (e.g., a multi-protocol label switching (MPLS) protocol or other suitable layer 2.5 protocol) using a layer 2 network security protocol. The communication device 110 may be configured to support communication security of a communication protocol operating at layer 3 (e.g., an Internet Protocol (IP), such as IP version 4 (IPv4) or IP version 6 (IPv6); or other suitable layer 3 protocols) using a layer 2 network security protocol. The communication device 110 may be configured to support communication security of a communication protocol operating at layer 2 or above using a layer 2 network security protocol, wherein communications of the communication protocol operating at layer 2 or above are transmitted using a communication protocol operating at layer 2 (e.g., Ethernet or other suitable layer 2 communication protocols). The communication device 110 may be configured to support communication security for a communication protocol operating above Layer 2 using aspects of a Layer 2 network security protocol, wherein the Layer 2 network security protocol is configured to support encryption functionality and authentication functionality (e.g., an Institute of Electrical and Electronics Engineers (IEEE) 802 protocol, such as IEEE 802.1AE or other suitable types of Layer 2 network security protocols). The communication device 110 may be configured to support communication security in a manner that enables portions of a packet to remain transparent (i.e., unencrypted and unauthenticated), such that devices along the communication path 120 may process the packet based on the portion of the packet that remains transparent (e.g., switching an MPLS label if the packet is an MPLS packet, routing based on an IP address if the packet is an IP packet, etc., and various combinations thereof).

[0040] The communication device 110 may be configured to support communication security based on the use of the communication security unit 111. More specifically, the communication device 110-A may be configured to support the security of packets transmitted to the communication device 110-Z (e.g., encryption and authentication computing functions) and packets received from the communication device 110-Z (e.g., decryption and authentication verification functions) based on the communication security unit 111-A, and similarly, the communication device 110-Z may be configured to support the security of packets transmitted to the communication device 110-A (e.g., encryption and authentication computing functions) and packets received from the communication device 110-A (e.g., decryption and authentication verification functions) based on the communication security unit 111-Z. The communication security unit 111 may be configured to support various other functions for supporting communication security according to the various example embodiments presented herein.

[0041] It should be understood that although system 100 is primarily presented in the context of a relatively simple arrangement of units, system 100 may be any system including any units (e.g., devices, networks, etc.) that can support secure communications according to the various example embodiments presented herein.

[0042] Various example embodiments for supporting communications security may be configured to use aspects of a layer 2 network security protocol (eg, IEEE 802.1AE) to support communications security for communications protocols operating at layer 2.5 (eg, MPLS).

[0043] Various example embodiments for supporting communication security may enable the use of aspects of Layer 2 network security protocols such as IEEE 802.1AE to support communication security for Layer 2.5 communication protocols such as MPLS in a manner that enables devices operating along a communication path using a Layer 2.5 communication protocol to operate on a Layer 2.5 communication protocol header (e.g., operate on the header, such as by reading and modifying the header so that a router with Layer 2.5 MPLS capabilities can make decisions based on the MPLS header). In this way, the MPLS header is kept transparent and unauthenticated throughout the network so that any LSR router can read and modify the MPLS header in order to forward packets from one PE to the next PE. It should be understood that this operation can be very dynamic, and a user may be able to indicate via configuration which MPLS tunnels or services should be encrypted (although it should be understood that this type of selective application of embodiments for supporting security of MPLS communications may also be automated in various ways).

[0044] Many networks use MPLS as a transport layer, and therefore, moving forward, security and encryption are expected to be important for MPLS transport in many contexts. For example, as the number of cyber attacks increases, there is an increasing need for low-latency and high-throughput encryption to ensure the security of the MPLS transport layer. However, encryption consumes a large amount of resources in the network (e.g., increased use of central processing unit (CPU) power, increased latency added to the transmission used to perform encryption operations, etc.), and is therefore a relatively expensive operation in the network. In addition, MPLS encryption is not typically used in networks because most encryption is performed at Layer 3 IP (i.e., IPSec) and Layer 2 Ethernet (i.e., MACSec).

[0045] Various example embodiments may be configured to support MPLS security using aspects of IEEE 802.1AE in a manner that supports MPLS data path security to support encryption and authentication of MPLS packets at line rate at a tunnel layer or service layer, with relatively low CPU resource usage, and introduce relatively little or no additional latency for encryption and authentication functions. MPLS encryption may use aspects of the IEEE 802.1AE standard, which is typically used for Layer 2 Ethernet encryption (i.e., MACSec), and the Advanced Encryption Standard Galois / Counter Mode (AES-GCM) algorithm (e.g., based on AES-128, AES-256, etc.) to encrypt any MPLS packet at a tunnel layer or service layer.

[0046] In various example embodiments, to enable MPLS security via some aspects of IEEE 802.1AE, the following capabilities may be used.

[0047] In order to support MPLS security using some aspects of IEEE 802.1AE, the desired tunnel or service to be encrypted can be identified. The desired tunnel or service that is expected to be encrypted can be identified based on the label value. If the tunnel is being encrypted, the service label can be encrypted or remain transparent. If the service is being encrypted, the service label needs to be plain text. For example, the hardware for encryption can be configured to lock into the label stack of the tunnel, or the label stack of the tunnel and the service, and identify the tunnel or service as encryption enabled (e.g., an encryption-enabled tunnel or an encryption-enabled service), and only encrypt the tunnel or service via AES-GCM-128 / 256.

[0048] In order to use some aspects of IEEE 802.1AE to support MPLS security, the MPLS label stack for the tunnel or tunnel and service will be placed on top of the 802.1AE header and will not be encrypted or authenticated. This enables the MPLS network to read the MPLS header and operate on the MPLS header.

[0049] For example, keeping the MPLS header unencrypted and unauthenticated enables the MPLS network to read the MPLS label stack and make appropriate forwarding decisions based on the MPLS label stack. If the MPLS label stack is encrypted, the MPLS network will not be able to read the MPLS label stack to read the label value and make appropriate forwarding decisions based on the label value.

[0050] For example, leaving the MPLS header unencrypted and unauthenticated enables the MPLS network to manipulate the MPLS label stack as needed, such as labels being removed from and / or added to the MPLS label stack (e.g., popping and / or pushing certain labels on the path of the LSP based on MPLS forwarding standards such as MPLS Fast Reroute (FRR) or Segment Routing (SR). If the authentication is calculated over the MPLS label stack and the MPLS label stack changes along the path of the MPLS packet, the CRC calculated at the destination will fail. To avoid this type of authentication failure while still allowing manipulation of the MPLS label stack, as described above, the authentication is not calculated on the MPLS label stack.

[0051] To support MPLS security using aspects of IEEE 802.1AE, if the MPLS packet is transported over Ethernet technology, the Ethernet header may also remain unencrypted and unauthenticated so that it can be manipulated without causing a CRC check failure at the destination.

[0052] It should be understood that by reference Figure 2 The packet format may further be understood to apply encryption and authentication to the packets in a manner that uses aspects of IEEE 802.1AE to support MPLS security.

[0053] Figure 2 Example embodiments of packet formats are described to illustrate the application of encryption and authentication to packets in a manner that supports MPLS security using some aspects of IEEE 802.1AE. Figure 2As shown, packet 200 includes a payload, an 802.1AE header pre-added to the payload, an MPLS header pre-added to the 802.1AE header (including a first label pre-added to the 802.1AE header and a second label pre-added to the first label), an Ethernet header pre-added to the MPLS header (including an Ether type MPLS field pre-added to the second label, an SMAC field pre-added to the Ether type PLS field, and a DMAC field pre-added to the SMAC field), an integrity check value (ICV) field appended to the payload, and a cyclic redundancy check (CRC) field appended to the ICV field. Packet 200 includes an encrypted first part (including the payload), an authenticated second part (including the payload and the 802.1AE header), and a third part (including the MPLS header, the Ethernet header, and the ICV and CRC fields) that is neither encrypted nor authenticated. It should be understood that although the example embodiments are presented primarily with respect to where certain types of MPLS labels remain unencrypted and unauthenticated to support MPLS security using aspects of IEEE 802.1AE, various other types of MPLS labels may remain unencrypted and unauthenticated to support MPLS security using aspects of IEEE 802.1AE for various types of MPLS solutions (e.g., Border Gateway Protocol (BGP) labeled unicast (BGP-LU) labels, Entropy Label Indicator (ELI) labels, Entropy Label (EL), etc., and various combinations thereof). As shown herein, this enables the MPLS header to remain unencrypted and unauthenticated, thereby enabling devices along the path to manipulate the MPLS header as needed.

[0054] In order to support MPLS security using some aspects of IEEE 802.1AE, label edge routers (LERs) involved in MPLS packet communications (ie, ingress LERs (ILERs) and egress LERs (ELERs)) may be configured to support various functions for supporting MPLS security using some aspects of IEEE 802.1AE.

[0055] To support MPLS security using aspects of IEEE 802.1AE, ILER is configured to encrypt and authenticate a specific MPLS tunnel or service. ILER pushes the appropriate MPLS label for the MPLS tunnel or service on top of the packet. ILER programs the hardware with the MPLS label stack to be encrypted and authenticated and the appropriate AES-GCM-128 / 256 key pair to identify and encrypt the MPLS tunnel or service as an encrypted MPLS tunnel or service. Packets are constructed with the appropriate MPLS labels and encrypted via 802.1AE MPLS (e.g., using 802.1AE MPLS encryptable hardware). ILER checks each MPLS packet and encrypts the packet if it matches the MPLS label stack for that particular MPLS tunnel or service. ILER adds an 802.1AE header after the MPLS label stack according to some aspects of the IEEE 802.1AE standard, and then encrypts the payload of the packet (i.e., the data after the MPLS stack) according to some aspects of IEEE802.1AE and using AES-GCM-128 / 256. ILER also runs authentication (e.g., using an authentication algorithm) on the 802.1AE header and payload, but does not run any authentication on the MPLS label stack or Ethernet header, thereby allowing the MPLS label stack to be inspected and manipulated via an MPLS LSR router connected to an MPLS encryption and decryption router.

[0056] In order to support MPLS security using some aspects of IEEE 802.1AE, ILER can support the use of encryption and authentication offsets to apply encryption and authentication to portions of packets to be encrypted and authenticated, respectively. The encryption and authentication offsets can be specified in various ways (e.g., using starting byte / bit position and length, starting and ending byte / bit position, etc.). ILER can support the use of programmable and flexible encryption and authentication offsets to identify portions of packets to be encrypted and authenticated, respectively. ILER can calculate encryption and authentication offsets (e.g., software calculates encryption and authentication offsets) based on a set of MPLS labels included in an MPLS header of an MPLS tunnel or service. ILER (e.g., hardware and / or software) can be flexible and programmable enough to allow programming of any offset for encryption and any offset for authentication, thereby allowing encryption and authentication of any packet with appropriate offsets based on stream encryption and authentication requirements. Given various network scenarios that may be applied to a given MPLS tunnel or service, the ILER may maintain multiple sets of encryption and authentication offsets for a given MPLS tunnel or service in order to support appropriate application of encryption and authentication to the MPLS tunnel or service for various network scenarios that may be applied to the given MPLS tunnel or service. It should be understood that the ILER may maintain encryption and authentication offsets for several or multiple and different network scenarios for various MPLS tunnels or services supported by the ILER.

[0057] In order to support MPLS security using some aspects of IEEE 802.1AE, encrypted packets are forwarded from ILER to ELER through the MPLS forwarding network, where the LSR routers are able to perform various operations on the encrypted packets based on the appropriate (multiple) OSI layer headers that are transparent. For example, these LSR routers can make switching decisions based on the MPLS label stack. For example, these LSR routers can manipulate the MPLS label stack (e.g., remove and / or add labels for FRR, traffic engineering (TE), etc., and various combinations thereof) as needed and in accordance with the IETF MPLS standard. It should be understood that the LSR routers can perform these operations and various other operations on encrypted packets based on unencrypted and unauthenticated MPLS headers.

[0058] In order to support MPLS security using some aspects of IEEE 802.1AE, ELER is configured to decrypt specific MPLS tunnels or services and support authentication for specific MPLS channels or services. When a packet arrives at ELER, the MPLS label stack will identify the router as an ELER router. ELER will be IEEE 802.1AE aware, enabling it to decrypt MPLS tunnel or service packets. ELER is programmed with the arriving MPLS label stack so that the arriving MPLS label stack can be used by ELER to identify the MPLS tunnel or service as an encrypted MPLS tunnel or service. Based on identifying the MPLS label stack in the packet as matching the arriving MPLS label stack indicating that the MPLS label stack is associated with the MPLS tunnel or service, and based on the presence of the IEEE 802.1AE header, ELER uses some aspects of the IEEE 802.1AE process to decrypt the packet and runs authentication on the 802.1AE header and payload to ensure that there are no CRC errors. ELER can then process the packet via the normal MPLS data path.

[0059] It should be appreciated that various example embodiments using aspects of IEEE 802.1AE to support MPLS security enable MPLS-capable routers to selectively use a Layer 2.5 MPLS header to forward encrypted packets through an MPLS domain (e.g., between provider edge routers) by performing encryption and authentication on portions of the packet excluding the MPLS header (rather than encrypting any bytes after the 802.1AE header, even though it includes the IP and MPLS headers and running authentication on the entire packet).

[0060] It should be appreciated that although example embodiments are presented primarily with respect to MPLS security using aspects of IEEE 802.1AE, including encryption and authentication, in at least some example embodiments, MPLS security using aspects of IEEE 802.1AE may include authentication without encryption.

[0061] It should be understood that various example embodiments for supporting communication security may be configured to use a Layer 2 network security protocol to support communication security for communication protocols operating at Layer 2.5, and may be configured to support various other functions for supporting communication security for communication protocols operating at Layer 2.5 based on the use of a Layer 2 network security protocol.

[0062] Various example embodiments for supporting communications security may be configured to support communications security for communications protocols operating at layer 3 (eg, IP) using aspects of layer 2 network security protocols (eg, IEEE 802.1AE).

[0063] Various example embodiments for supporting communication security can use aspects of layer 2 network security protocols such as IEEE 802.1AE to support communication security of layer 3 communication protocols such as IP in a manner that enables devices operating using layer 3 communication protocols along a communication path to operate on layer 3 communication protocol headers (e.g., operate on headers, such as by reading and modifying headers so that routers with layer 3 IP capabilities can make decisions based on IP headers). In this way, throughout the network, the IP header remains transparent and unauthenticated, so that any IP router can read and optionally modify the IP header to forward packets from one PE to the next PE. It should be understood that although the IP header is not typically modified, except in segment routing (SRv6) of an IPv6 network, packets can still be tunneled via MPLS and IP tunneling technologies that may require header modification. It should be understood that this operation can be very dynamic, and a user can be able to specify which IP flows should be encrypted via configuration (although it should be understood that this type of selective application of embodiments for supporting security of IP communications can also be automated in various ways).

[0064] Many networks using IP provide security for IP based on the use of security protocols such as IP Security (IPSec) and IPSec Encapsulating Security Payload (ESP). However, IPSec typically consumes a large amount of CPU resources without providing true hardware encryption support, and does not operate at line rate, and IPSec ESP causes relatively high latency in packet forwarding. This makes IPSec unsuitable for delay-sensitive network applications, such as Time-Sensitive Networking (TSN), which requires relatively low latency.

[0065] Various example embodiments may be configured to support IP security using aspects of IEEE 802.1AE in a manner that supports IP data path security to support encryption and authentication of IP packets of selected IP flows at line rate, with relatively low CPU resource usage, and introduces relatively small additional latency for encryption and authentication functions. IP encryption may use aspects of the IEEE 802.1AE standard (which is typically used for Layer 2 Ethernet encryption (i.e., MACSec)) and the AES-GCM algorithm (e.g., based on AES-128, AES-256, etc.) to encrypt any IP packet at the IP flow layer.

[0066] In various example embodiments, to enable IP security via some aspects of IEEE 802.1AE, the following capabilities may be used.

[0067] In order to support IP security using some aspects of IEEE 802.1AE, the desired IP flow to be encrypted can be identified. The desired IP flow to be encrypted can be identified based on various IP flow matching techniques, such as IP header matching in the form of tuple matching or byte matching (e.g., matching source and destination IP addresses, matching destination IP addresses, etc.), deep packet inspection, etc. For example, the hardware used for encryption can match certain parts of the IP packet (e.g., based on hardware ternary content addressable memory (TCAM)) to determine whether the IP packet belongs to an IP flow to which IP security using some aspects of IEEE 802.1AE should be applied.

[0068] To support IP security using aspects of IEEE 802.1AE, the IP header of an IP flow will be placed on top of the 802.1AE header, and the IP header will not be encrypted or authenticated. This enables the IP network to read and operate on the IP header.

[0069] For example, the IP header is kept unencrypted and unauthenticated so that the IP network can read the IP header and make appropriate routing decisions based on the IP header. If the IP header is encrypted, the IP network will not be able to read the IP header to read the IP header fields and make appropriate forwarding decisions based on the IP header fields.

[0070] For example, the IP header is left unencrypted and unauthenticated to enable the IP network to manipulate the IP header as needed, such as by modifying header fields of the IP header as needed (e.g., decrementing the Time to Live (TTL) field, changing the Differentiated Services Code Point (DSCP) field based on the Quality of Service (QoS) configuration of transit IP routers, etc., and various combinations thereof). If the authentication is calculated over the IP header, and the IP header changes along the path of the IP packet, the CRC calculated at the destination will fail.

[0071] To support IP security using aspects of IEEE 802.1AE, if the IP flow is transported over MPLS technology (e.g., shortcuts, VPRN, etc.), the MPLS header may also remain unencrypted and unauthenticated, thereby enabling operations on the MPLS header (e.g., based on MPLS forwarding standards such as MPLS FRR or SR, where certain labels are popped and / or pushed on the path) without causing a CRC check failure at the destination.

[0072] To support IP security using aspects of IEEE 802.1AE, if an IP stream is transported over dot1q technology, the dot1q header can remain unencrypted and unauthenticated, thereby enabling manipulation of the dot1q tag (e.g., adding and / or removing the dot1q tag) without causing a CRC check failure at the destination.

[0073] To support IP security using aspects of IEEE 802.1AE, if the IP stream is transported over Ethernet technology, the Ethernet header can remain unencrypted and unauthenticated, allowing manipulation of the Ethernet header without causing a CRC check failure at the destination.

[0074] Note that keeping the MPLS header and Ethernet header transparent enables IP flows (e.g., IP transport and tunnel transport) to be transported over any technology (e.g., dot1q VLAN switching networks, MPLS networks that tunnel IP packets through MPLS tunnels, etc., and various combinations thereof).

[0075] It should be understood that by reference Figure 3A-3C and Figure 4A-4C The packet format may be further understood to use aspects of IEEE 802.1AE to apply encryption and authentication to the packets in a manner that supports IP security.

[0076] Figure 3A-3C An example embodiment of a packet format is described to illustrate the application of encryption and authentication to packets in a manner that supports IP security using aspects of IEEE 802.1AE. The packet format of FIG3 is configured to support encryption and authentication of IP packet payloads via aspects of IEEE 802.1AE in a manner that enables the layer 3 header, layer 2.5 header, and layer 2 header to remain transparent and unauthenticated, so that the packet is routable through an IP network, and devices along the path can perform operations based on any of these unencrypted and unauthenticated fields without any issues or failures at the decryption router (e.g., removing, modifying, and / or adding various fields or headers at various layers).

[0077] Figure 3A Example embodiments of packet formats are described to illustrate the application of encryption and authentication to packets in a manner that supports IP security for IPv4 packets using some aspects of IEEE 802.1AE. Figure 3AAs shown, packet 300-A includes a payload, an Ether type (E type) field pre-added to the payload, an 802.1AE header pre-added to the E type field, an IPv4 header pre-added to the 802.1AE header, an Ethernet header pre-added to the IPv4 header (including an Ether type IPv4 field pre-added to the IPv4 header, an SMAC field pre-added to the Ether type IPv4 field, and a DMAC field pre-added to the SMAC field), an integrity check value (ICV) field appended to the payload, and a cyclic redundancy check (CRC) field appended to the ICV field. Packet 300-A includes an encrypted first part (including a payload and an E type field), an authenticated second part (including a payload, an E type field, and an 802.1AE header), and a third part (including an IPv4 header and an Ethernet header, and ICV and CRC fields) that is neither encrypted nor authenticated. As shown herein, this leaves the IPv4 header and Ethernet header unencrypted and unauthenticated, thereby enabling devices along the path to manipulate the IPv4 header and / or Ethernet header as needed.

[0078] Figure 3B Example embodiments of packet formats are described to illustrate the application of encryption and authentication to packets in a manner that supports IP security for IPv6 packets using aspects of IEEE 802.1AE. Figure 3B As shown, packet 300-B includes a payload, an Ether type (E type) field pre-added to the payload, an 802.1AE header pre-added to the E type field, an IPv6 header pre-added to the 802.1AE header, an Ethernet header pre-added to the IPv6 header (including an Ether type IPv6 field pre-added to the IPv6 header, an SMAC field pre-added to the Ether type IPv6 field, and a DMAC field pre-added to the SMAC field), an integrity check value (ICV) field appended to the payload, and a cyclic redundancy check (CRC) field appended to the ICV field. Packet 300-B includes an encrypted first part (including a payload and an E type field), an authenticated second part (including a payload, an E type field, and an 802.1AE header), and a third part that is neither encrypted nor authenticated (including an IPv6 header and an Ethernet header, as well as ICV and CRC fields). As shown herein, this leaves the IPv6 header and Ethernet header unencrypted and unauthenticated, thereby enabling devices along the path to manipulate the IPv6 header and / or Ethernet header as needed.

[0079] Figure 3CExample embodiments of packet formats are described to illustrate the application of encryption and authentication to packets in a manner that supports IP security for IP packets using aspects of IEEE 802.1AE, where the IP packets are transported over MPLS. For example, IP packets may be transported over a portion of a network or over the entire network via an MPLS tunnel. Figure 3C As shown, packet 300-C includes a payload, an Ether type (E type) field pre-added to the payload, an 802.1AE header pre-added to the E type field, an IP header (which can be IPv4 or IPv6) pre-added to the 802.1AE header, an MPLS header (including a first label pre-added to the IP header and a second label pre-added to the first label) pre-added to the 802.1AE header, an Ethernet header (including an Ether type MPLS field pre-added to the second label, an SMAC field pre-added to the Ether type PLS field, and a DMAC field pre-added to the SMAC field) pre-added to the MPLS header, an integrity check value (ICV) field appended to the payload, and a cyclic redundancy check (CRC) field appended to the ICV field. Packet 300-C includes a first portion that is encrypted (including payload and E-type field), a second portion that is authenticated (including payload, E-type field and 802.1AE header), and a third portion that is neither encrypted nor authenticated (including IP header, MPLS header and Ethernet header, and ICV and CRC fields). As shown herein, this keeps the IP header, MPLS header and Ethernet header unencrypted and unauthenticated, thereby enabling devices along the path to operate on one or more of the IP header, MPLS header and / or Ethernet header as needed.

[0080] Figure 4A-4C Example embodiments of packet formats are described to illustrate the application of encryption and authentication to packets in a manner that supports IP security using some aspects of IEEE 802.1AE. Figure 4A-4C The packet format is configured to support encryption and authentication of IP packet payloads via aspects of IEEE 802.1AE in a manner that enables the layer 3 header, layer 2.5 header, dot1q tag, and layer 2 header to remain transparent and unauthenticated, such that the packet is routable through an IP network and devices can perform operations based on any of these unencrypted and unauthenticated fields without any issues or failures at the decryption router (e.g., removing, modifying, and / or adding various fields or headers at various layers). Figure 4A-4CThe packet format also includes, in addition to the dot1q tag between the Layer 3 IP header and the Layer 2 Ethernet header (illustratively, an 802.1Q tag on the IP header and an Ethernet type dot1q tag on the 802.1Q tag, followed by the SMAC and DMAC of the Layer 2 header), Figure 4A-4C The grouping format is similar to Figure 3A-3C The grouping format.

[0081] Figure 4A Example embodiments of packet formats are described to illustrate the application of encryption and authentication to packets in a manner that supports IP security for IPv4 packets using aspects of IEEE 802.1AE, where the packets also include dot1q tags. Figure 4A As shown, packet 400-A includes a payload, an Ether type (E type) field pre-added to the payload, an 802.1AE header pre-added to the E type field, an IPv4 header pre-added to the 802.1AE header, an 802.1Q tag pre-added to the IPv4 header, an Ethernet header pre-added to the 802.1Q tag (including an Ether type dot1q field pre-added to the 802.1Q tag, an SMAC field pre-added to the Ether type dot1q field, and a DMAC field pre-added to the SMAC field), an integrity check value (ICV) field appended to the payload, and a cyclic redundancy check (CRC) field appended to the ICV field. Packet 400-A includes a first portion that is encrypted (including the payload and the E-type field), a second portion that is authenticated (including the payload, the E-type field, and the 802.1AE header), and a third portion that is neither encrypted nor authenticated (including the IPv4 header, the 802.1Q tag, and the Ethernet header, as well as the ICV and CRC fields). As described herein, this leaves the IPv4 header, the 802.1Q tag, and the Ethernet header unencrypted and unauthenticated, thereby enabling devices along the path to operate on the IPv4 header, the 802.1Q tag, and / or the Ethernet header as needed.

[0082] Figure 4B Example embodiments of packet formats are described to illustrate the application of encryption and authentication to packets in a manner that supports IP security for IPv6 packets using aspects of IEEE 802.1AE, where the packets also include dot1q tags. Figure 4BAs shown, packet 400-B includes a payload, an Ether type (E type) field pre-added to the payload, an 802.1AE header pre-added to the E type field, an IPv6 header pre-added to the 802.1AE header, an 802.1Q tag pre-added to the IPv6 header, an Ethernet header pre-added to the 802.1Q tag (including an Ether type dot1q field pre-added to the 802.1Q tag, an SMAC field pre-added to the Ether type dot1q field, and a DMAC field pre-added to the SMAC field), an integrity check value (ICV) field appended to the payload, and a cyclic redundancy check (CRC) field appended to the ICV field. Packet 400-B includes a first portion that is encrypted (including the payload and the E-type field), a second portion that is authenticated (including the payload, the E-type field, and the 802.1AE header), and a third portion that is neither encrypted nor authenticated (including the IPv6 header, the 802.1Q tag, and the Ethernet header, as well as the ICV and CRC fields). As described herein, this allows the IPv6 header, 802.1Q tag, and Ethernet header to remain unencrypted and unauthenticated, thereby enabling devices along the path to operate on the IPv6 header, 802.1Q tag, and / or Ethernet header as needed.

[0083] Figure 4C Example embodiments of packet formats are described to illustrate the application of encryption and authentication to packets in a manner that supports IP security for IP packets using aspects of IEEE 802.1AE, where the IP packets are transported over MPLS and where the packets also include dot1q labels. Figure 4CAs shown, packet 400-C includes a payload, an Ether type (E type) field pre-added to the payload, an 802.1AE header pre-added to the E type field, an IP header (which can be IPv4 or IPv6) pre-added to the 802.1AE header, an MPLS header (including a first label pre-added to the IP header and a second label pre-added to the first label) pre-added to the 802.1AE header, an 802.1Q label pre-added to the MPLS header, an Ethernet header (including an Ether type dot1q field pre-added to the 802.1Q label, an SMAC field pre-added to the Ether type dot1q field, and a DMAC field pre-added to the SMAC field) pre-added to the 802.1Q label, an integrity check value (ICV) field appended to the payload, and a cyclic redundancy check (CRC) field appended to the ICV field. Packet 400-C includes a first portion that is encrypted (including payload and E-type field), a second portion that is authenticated (including payload, E-type field and 802.1AE header), and a third portion that is neither encrypted nor authenticated (including IP header, MPLS header, 802.1Q label and Ethernet header, and ICV and CRC fields). As shown herein, this leaves the IP header, MPLS header, 802.1Q label and Ethernet header unencrypted and unauthenticated, thereby enabling devices along the path to operate on one or more of the IP header, MPLS header, 802.1Q label and / or Ethernet header as needed.

[0084] To support IP security using aspects of IEEE 802.1AE, IP routers involved in IP packet communications (ie, ingress IP routers and egress IP routers) may be configured to support various functions for supporting IP encryption using aspects of IEEE 802.1AE.

[0085] In order to support IP security using some aspects of IEEE 802.1AE, the ingress IP router is configured to encrypt specific IP flows and support authentication of specific IP flows for routing through the Layer 3 network. The IP flows to which IP security using some aspects of IEEE 802.1AE is to be applied can be configured in various ways, such as by a user, automatically, etc. The IP flows to which IP security using some aspects of IEEE 802.1AE is to be applied can be identified based on various criteria (e.g., a combination of source IP address and destination IP address, only destination IP address, etc.). The ingress IP router is programmed with IP flow matching criteria associated with the application of IP security (e.g., software can program IP flow matching criteria into hardware so that the hardware can match packets passing through the hardware based on IP flow matching rules). The ingress IP router is programmed with an IEEE 802.1AE security association key (SAK) for encryption (e.g., the hardware is also programmed with an IEEE802.1AE SAK via an 802.1AE process). It should be understood that each IP flow to be encrypted can be configured with its own encryption key to be used by the IEEE 802.1AE method.

[0086] In order to support IP security using some aspects of IEEE 802.1AE, the ingress IP router can support the use of encryption and authentication offsets so as to apply encryption and authentication to parts of the packets to be encrypted and authenticated, respectively. The encryption and authentication offsets can be specified in various ways (e.g., using the starting byte / bit position and length, the starting and ending byte / bit position, etc.). The ingress IP router can support the use of programmable and flexible encryption and authentication offsets. The ingress IP router can calculate the encryption and authentication offsets based on the IP address family (e.g., IPv4 or IPv6) of the IP flow (e.g., software calculates the encryption and authentication offsets). The ingress IP router can determine whether the IP packet is encapsulated on an MPLS tunnel (e.g., IP over MPLS, IP fast rerouting (FRR) over MPLS for loop-free substitution (LFA) or topology-independent LFA (TILFA), etc.), and program the appropriate encryption and authentication offsets for the MPLS tunnel (e.g., a user or software can indicate whether the IP packet is encapsulated on an MPLS tunnel, and the software can program the appropriate encryption and authentication offsets for the MPLS tunnel into the hardware). The ingress IP router (e.g., hardware and / or software) can be sufficiently flexible and programmable to allow programming of any offset for encryption and any offset for authentication, thereby allowing encryption and authentication of any packet with appropriate offsets based on the flow encryption and authentication requirements. Given the various network scenarios that may be applied to a given IP flow, the ingress IP router can maintain multiple sets of encryption and authentication offsets for a given IP flow to support the appropriate application of encryption and authentication to IP flows for various network scenarios that may be applied to a given IP flow. For example, the ingress IP router can maintain encryption and authentication offsets as follows: (1) MAC+IP header separate encryption and authentication offsets, where the IP flow leaves an untagged interface, (2) MAC+dot1q vlan label+IP header encryption and authentication offsets, where the IP flow leaves a dot1q tagged interface; and (3) MAC+MPLS+IP header encryption and authentication offsets (e.g., for tunneling or IP FRR over MPLS), where the IP flow has been fast rerouted through an MPLS tunnel or resolved via an MPLS tunnel. It should be understood that for the various IP flows supported by the ingress IP router, the ingress IP router may maintain encryption and authentication offsets for several or multiple, and different network scenarios.

[0087] To support IP security using aspects of IEEE 802.1AE, encrypted packets are forwarded from an ingress IP router to an egress IP router through an IP network, where the transit IP router is capable of performing various operations on the encrypted packets based on the appropriate OSI layer header(s) being transparent. For example, the transit IP router may remove header fields (e.g., MAC header and optional dot1q tag) from the packet in order to make a Layer 3 routing decision, and then add header fields to the packet after the Layer 3 routing decision (e.g., MAC header and optional dot1q tag for the next segment). For example, the transit IP router may modify one or more fields in the IP header (e.g., reduce the TTL field, change the DSCP field based on the QoS configuration of the transit IP router, etc.). For example, the transit IP router may add or remove MPLS labels for tunneling IP packets over MPLS or IP FRR over MPLS. For example, the transit IP router may add or remove dot1q tags based on the incoming and outgoing ports. It should be appreciated that a transit IP router may be able to perform these operations, as well as various other operations, on encrypted packets based on unencrypted and unauthenticated IP headers, MPLS headers, and Ethernet headers.

[0088] In order to support IP security using some aspects of IEEE 802.1AE, the egress IP router is configured to decrypt specific IP flows and support authentication of specific IP flows for routing through a Layer 3 network. Like the ingress IP router, the egress IP router can be programmed with the appropriate IP flows that need to be decrypted on the data path, so the data path can match the IP flow, and use some aspects of the IEEE 802.1AE process to initiate the decryption process. This programming of the IP flow to be decrypted can be done manually via signaling, etc. When the packet of the IP flow is received at the egress IP router, the egress IP router can identify the IP flow as an encrypted flow when matching the IP flow, and based on some aspects of the IEEE 802.1AE header and the IEEE 802.1AE process, decrypt the packet of the IP flow. The egress IP router can then forward the inbound packet based on the forwarding rules of the egress IP router.

[0089] It should be understood that although example embodiments for encrypting and authenticating IP flows using aspects of IEEE 802.1AE are primarily described, various example embodiments for supporting IP security using aspects of IEEE 802.1AE may be selectively applied such that at least some of the IP flows supported by the network may be encrypted and authenticated, while at least some of the IP flows supported by the network may not be encrypted and authenticated.

[0090] It should be appreciated that aspects of IEEE 802.1AE are used to support various example embodiments of IP security by performing encryption and authentication on portions of a packet other than the IP header (any MPLS header that may be present) (as opposed to encrypting any bytes after the 802.1AE header, even though it includes both the IP and MPLS headers and running authentication on the entire packet), enabling IP-capable routers to selectively use a Layer 3 IP header to forward encrypted packets through an IP domain (e.g., between provider edge routers), enabling MPLS-capable routers to selectively use a Layer 2.5 MPLS header to forward encrypted packets through an MPLS domain (where IP packets are transported over MPLS in the MPLS domain), and enabling Ethernet-capable devices to selectively use a L2 Ethernet header to forward encrypted packets through an Ethernet domain (where IP packets are transported over Ethernet in the Ethernet domain).

[0091] It should be understood that various example embodiments for supporting communication security may be configured to use a Layer 2 network security protocol to support communication security for a communication protocol operating at Layer 3, and may be configured to support various other functions for supporting communication security for a communication protocol operating at Layer 3 based on the use of a Layer 2 network security protocol.

[0092] Figure 5 An example embodiment of a method for supporting communication security is described. It should be understood that although primarily presented herein as being performed serially, at least a portion of the functionality of method 500 may be performed simultaneously or in parallel. Figure 5. At block 501, method 500 begins. At block 510, communication of packets is supported, wherein the packets include a payload, a header of a first communication protocol at a first communication layer, and a header of a second communication protocol at a second communication layer above the first communication layer, wherein a first portion of the packet (including the payload) is encrypted based on the first communication protocol, wherein a second portion of the packet (including the payload and the header of the first communication protocol) is authenticated based on the first communication protocol, wherein a third portion of the packet (including the header of the second communication protocol) remains unencrypted based on the first communication protocol and remains unauthenticated based on the first communication protocol. The first portion of the packet, the second portion of the packet, and the third portion of the packet may be identified based on an encryption offset associated with the packet and an authentication offset associated with the packet. Support for communication of packets may include encryption of the first portion of the packet and authentication of the second portion of the packet performed by an encryption node, and sending the packet to a destination node by the encryption node. Support for communication of packets may include receiving the packet by a node, and determining, by the node, processing of the packet at the node based on the third portion of the packet. Supporting communication of packets may include modifying, by the node, at least one aspect of a third portion of the packet to form a modified packet, and sending, by the node, the modified packet to a destination node. Supporting communication of packets may include receiving the packet by a decryption node, and performing, by the decryption node, authentication of the packet, the second portion, and decryption of the first portion of the packet. The first communication layer may be at layer 2. The first communication protocol may be a network security protocol configured to support encryption functions and authentication functions. The network security protocol supports features of the IEEE 802.1AE protocol. The second communication layer may be above layer 2. The second communication layer may be at layer 2.5 or layer 3. The second communication protocol may be a layer 2.5 protocol or a layer 3 protocol. The second communication protocol may support features of MPLS or support features of IP. The second communication protocol may be a layer 2.5 protocol. The second communication protocol may support features of MPLS. The header of the second communication protocol may include a set of MPLS labels. The packet may include a header of a third communication protocol at the first communication layer. The header of the third communication protocol may be included in the third portion of the packet. The third communication protocol may support features of Ethernet. The second communication protocol may be a layer 3 protocol. The second communication protocol may support features of IP. The packet may include a header of a third communication protocol at the first communication layer. The header of the third communication protocol may be included in the third part of the packet. The third communication protocol may support features of Ethernet. The header of the third communication protocol may include a source MAC address and a destination MAC address. The header of the third communication protocol may include at least one Ethernet related label. The packet may include a header of the third communication protocol at the third communication layer. The third communication layer may be at layer 2.5. The third communication protocol may be a layer 2.5 protocol. The third communication protocol may support features of MPLS.The header of the third communication protocol may be included in the third part of the packet. The packet may include the header of the fourth communication protocol at the first communication layer. The header of the fourth communication protocol may be included in the third part of the packet. The fourth communication protocol may support the features of Ethernet. The header of the fourth communication protocol may include a source MAC address and a destination MAC address. The header of the fourth communication protocol includes at least one Ethernet-related tag. It should be understood that the packet may include various other parts, headers, fields, values, arrangements, etc., and various combinations thereof. At box 599, the method 500 ends. It should be understood that support for communication of packets may also be described as supporting communication of packets, wherein the packet includes a payload, a header of a first communication protocol at a first communication layer, and a header of a second communication protocol at a second communication layer above the first communication layer, wherein the first part of the packet encrypted based on the first communication protocol includes the payload, wherein the second part of the packet authenticated based on the first communication protocol includes: the payload and header of the first communication protocol, and wherein the third part of the packet neither encrypted based on the first communication protocol nor authenticated based on the first communication protocol includes: the header of the second communication protocol.

[0093] Various example embodiments for supporting communications security may provide various advantages or potential advantages. For example, various example embodiments for supporting communications security may enable use of a layer 2 network security protocol to support communications security for a communications protocol operating above layer 2 in a manner that enables devices operating along a communications path using a communications protocol operating above layer 2 to operate on headers of the communications protocol operating above layer 2 (e.g., a router with layer 2.5 MPLS capabilities may make decisions based on MPLS headers, a router with layer 3 IP capabilities may make decisions based on IP headers, etc.). For example, various example embodiments for supporting communications security may enable use of a layer 2 network security protocol to support communications security for a communications protocol operating above layer 2 in a manner that enables devices operating along a communications path using a communications protocol operating above layer 2 to operate on headers of the communications protocol operating above layer 2 without having to first decrypt the packet in order to access the header of the communications protocol operating above layer 2 and then re-encrypt the packet before forwarding (e.g., by ensuring that the layer 2 network security protocol does not apply encryption to the header of the communications protocol operating above layer 2). For example, various example embodiments for supporting communication security may enable use of a layer 2 network security protocol to support communication security of a communication protocol operating above layer 2 in a manner that enables devices operating along a communication path using a communication protocol above layer 2 to operate on headers of the communication protocol operating above layer 2 (e.g., change fields of the header) without causing CRC failures and packet discards. For example, various example embodiments for supporting communication security may enable application of IEEE 802.1AE in a manner that makes IEEE 802.1AE suitable for use in end-to-end MPLS tunnel or service encryption / authentication and forwarding, and may enable application of IEEE 802.1AE in a manner that makes IEEE 802.1AE suitable for use in end-to-end IP stream encryption / authentication and forwarding, and various combinations thereof.For example, various example embodiments for supporting communication security may enable: the application of IEEE 802.1AE in a manner that can support multi-hop Layer 3 encryption of IEEE 802.1AE (e.g., based on keeping the Layer 3 IP header, Layer 2.5 MPLS header, and Layer 2 header (e.g., Ethernet MAC header, 802.1X header, etc.) transparent), which may be useful in many types of applications such as Generic Routing Encapsulation (GRE) transport tunnels (e.g., where a Layer 2 Ethernet Virtual Private Network (EVPN) or a Layer 3 GRE Virtual Private Routed Network (VPRN) on a Virtual Extensible Local Area Network (VXLAN) can transport multi-hop encrypted customer data), transport delay-sensitive applications (e.g., Precision Time Protocol (PTP) g.8275.2, where synchronization information over IP can traverse multiple hops in the network), and the like, as well as various combinations thereof. For example, various example embodiments for supporting communication security may enable IEEE 802.1AE to be applied to communications of various communication protocols above Layer 2 in a manner that enables the use of various relatively strong properties of IEEE 802.1AE (e.g., low latency, line rate throughput, applicability to time sensitive networks (TSN), etc.) while ensuring communications of communication protocols above Layer 2. Various example embodiments for supporting communication security may provide various other advantages or potential advantages.

[0094] Figure 6 Example embodiments of computers suitable for performing the various functions presented herein are described.

[0095] The computer 600 includes a processor 602 (e.g., a central processing unit (CPU), a processor, a processor having a set of processor cores, a processor core of a processor, etc.) and a memory 604 (e.g., a random access memory, a read-only memory, etc.). The processor 602 and the memory 604 may be communicatively connected. In at least some example embodiments, the computer 600 may include at least one processor and at least one memory including computer product code, wherein the at least one memory and the computer product code are configured to cause the computer 600 to perform various functions presented herein together with the at least one processor.

[0096] The computer 600 may also include a collaboration unit 605. The collaboration unit 605 may be a hardware device. The collaboration unit 605 may be a process that can be loaded into the memory 604 and executed by the processor 602 to implement various functions presented herein (in this case, for example, the collaboration unit 605 (including associated data structures) may be stored on a non-transitory computer-readable storage medium, such as a storage device or other suitable type of storage unit (e.g., a magnetic drive, an optical drive, etc.)).

[0097] The computer 600 may also include one or more input / output devices 606. The input / output devices 606 may include one or more of the following: user input devices (e.g., keyboard, keypad, mouse, microphone, camera, etc.), user output devices (e.g., display, speaker, etc.), one or more network communication devices or units (e.g., input ports, output ports, receivers, transmitters, transceivers, etc.), one or more storage devices (e.g., tape drives, floppy disk drives, optical drives, hard disk drives, solid-state drives, etc.), etc., and various combinations thereof.

[0098] It should be understood that the computer 600 may represent a general architecture and functionality suitable for implementing the functional units described herein, portions of the functional units described herein, etc., and various combinations thereof. For example, the computer 600 may provide a general architecture and functionality suitable for implementing one or more units presented herein, such as the communication device 110, a portion of the communication device 110, the communication security unit 111, a portion of the communication security unit 111, etc., and various combinations thereof.

[0099] Key Distribution

[0100] IEEE 802.1AE was originally designed only for Layer 2 encryption. The above-described technology (hereinafter referred to as ANYSec) enables some aspects of IEEE 802.1AE to be used to encrypt Layer 2.5 MPLS networks and Layer 3 IP networks.

[0101] As described above, in order to support IP / MPLS security using some aspects of IEEE 802.1AE, a transmitting (TX) node (e.g., an ingress IP / MPLS router) is configured with a security association key (SAK) that is used to encrypt a specific IP / MPLS flow and to support authentication of a specific IP flow so that it is routed from the TX node to a receiving (RX) node (e.g., an egress IP / MPLS router) through a Layer 3 / 2.5 network. In order for the RX node to decrypt the IP / MPLS flow, the RX node must have the same SAK that the TX node used to encrypt the IP / MPLS flow.

[0102] IEEE 802.1AE recommends the use of the MACsec (Media Access Control Security) Key Agreement (MKA) described in IEEE 802.1x 2010 for key distribution between nodes. MKA includes secure, fully distributed point-to-point or multipoint-to-multipoint transmission and many applications of the transmission, including the distribution of security association keys by a selected key server using Advanced Encryption Standard (AES) key encapsulation, such as Cipher-based Message Authentication Code (CMAC)-AES-128, CMAC-AES-256, etc. MKA uses the Layer 2 Extensible Authentication Protocol (EAPoL) protocol over LAN as its transmission. Unfortunately, in MPLS / IP networks, MKA transmission on the Layer 2 header will not be available. The present disclosure provides SAK transmission from a TX node to a RX node over the Internet Protocol (IP) and the User Datagram Protocol (UDP) to meet the needs of ANYSec.

[0103] In addition, the present disclosure details how to identify encrypted streams and their corresponding SAKs via a secure channel identifier (SCI) in the case of ANYSec. In MACsec, the SCI is constructed based on the MAC address and the VLAN being encrypted. For ANYSec and MPLS / IP encryption, the SCI uniquely identifies an MPLS link state protocol (LSP) tunnel or IP stream. The SCI includes an encryption segment identifier (SID) for identifying an encrypted TX node, and a unique identifier for a tunnel on an encrypted TX node. The SCI can be used at an RX node to (i) uniquely identify an encrypted TX node and TX node stream, and (ii) determine the appropriate SAK for decrypting an encrypted stream received from a TX node.

[0104] Section 9 of IEEE 802.1x-2010 explains the MACsec Key Agreement (MKA) protocol in detail. The last paragraph of Section 9.4 states that MKA is designed for mutual authentication of Connectivity Association (CA) participants and can be used for any application. Therefore, since ANYSec uses some aspects of IEEE 802.1AE to encrypt IP and MPLS flows, MKA is used to authenticate ANYSec peers. One shortcoming of MKA is how it identifies the SCI in the data path and the fact that the SCI is transmitted as an EAPoL packet (i.e., only the L2 layer header).

[0105] Section 9 also states:

[0106] MKA allows nodes to discover and authenticate each other via the CA key (CAK), and

[0107] Agree on a secret security association key to be used for encrypted communications;

[0108] MKA protects distributed security keys via Advanced Encryption Standard (AES) key encapsulation

[0109] Link key;

[0110] The security association key is created by the key server through MKA negotiation;

[0111] MKA manages the installation and use of security association keys by the MAC security entity (SecY), which protects transmitted and received data. Each SecY uses MKA to transmit the lowest packet number (PN) used for transmission in the last two seconds with the SAK to allow

[0112] Allow receivers to bind transmission delays;

[0113] The system implementing MKA satisfies (i) random number generation and (ii) SCI, which is the unique MAC address and port ID for the MACsec implementation within the system. (In ANYSec, the SCI can be changed to the node chassis MAC and encryption segment to include a globally unique

[0114] Identifier. );

[0115] The root of the key hierarchy for any given MKA instance is the secure CAK key. Each CAK key is identified by a CA Key Name (CKN) that allows each MKA participant to select which CAK key to use to process received MKA packets.

[0116] Most of the standards for MACsec described above are also useful for ANYSec encrypted MPLS or IP flows, as long as (i) the MKA can be transported over IP and (ii) the SCI is changed to uniquely identify the encrypted flow via a new identifier as described previously.

[0117] EAP over IP

[0118] To address the MPLS / IP flow encryption issue using MKA for ANYSec, MKA signaling and key distribution should be performed over IP, in other words, using the Extensible Authentication Protocol over IP (EAPoIP). In this case, IP routes the MKA packets from the originating TX node of the ANYSec flow to the destination RX node. The destination node needs to identify the packet as an MKA packet in order to process the MKA packet. In order to identify the protocol data unit (PDU) as a unique MKA PDU in the network, UDP and a specific UDP port assigned to MKA will be used. This UDP port can be configured or it can be a well-known UDP port assigned by the Internet Assigned Numbers Authority (IANA).

[0119] UDP is ideal for this MKA identity because it is a best-effort protocol and does not have a retransmission mechanism in case of packet loss like the Transmission Control Protocol (TCP). This is ideal for MKA, where MKA packets are transmitted periodically (based on a configured timer). If some MKA packets are lost, the receiving end of MKA will close the MKA session. This periodic packet transmission is called a heartbeat.

[0120] EAP Packet

[0121] Figure 7 An example embodiment of a packet format is described to illustrate the new MKA packet 700 transmitted via EAPoL and how MKA (ie, EAP over IP / UDP) looks like. Figure 7 As shown, the MKA packet 700 includes a layer 2 header 702, an IP header 704, a UDP header 706, an IEEE 802.1x header 708, and an MKA payload 710. A conventional MKA packet includes a layer 2 header, an IEEE 802.1x header, and an MKA payload, which are similar to Figure 7 802.1x header 708, and MKA payload 710. The new MKA packet 700 adds an IP header 704 and a UDP header 706 to enable the MKA packet 700 to be transported over IP / UDP at Layer 3. The Layer 3 MKA can be used to signal appropriate security association keys for MPLS encryption via some aspects of IEEE 802.1AE, as well as IP encryption via IEEE 802.1AE. The MKA packet 700 transported over IP / UDP can be used to distribute SAKs, which can be used for encryption of Layer 2.5 (MPLS) and / or Layer 3 (IP) packets.

[0122] With EAP over IP / UDP, a configurable UDP port can be used to identify the MKA application throughout the network. The UDP port can be configured via a command line interface (CLI) or any other suitable means. The MKA packet 700 is generated without a UDP header 706, wherein the destination UDP port identified in the UDP header 706 is set to the configured UDP port. The MKA packet 700 arriving at the destination RX node of the destination UDP port will be identified and processed by the node, for example, via the same conventional MKA code as any other MKA packet (i.e., EAPoL). The source UDP port identified in the UDP header 706 can be randomly assigned. It should be noted that the destination UDP port can be a well-known port assigned by IANA (Internet Assigned Numbers Authority) in the future.

[0123] The source IP address identified in the IP header 704 should be the IP address of the node that generated the MKA packet 700. For example, in the case of MPLS and segment routing (SR), the source IP address is the IP address to which the SR label is being advertised, or the IP address to which the MPLS label is bound. The destination IP address identified in the IP header 704 should be the IP address on the node to which the LSP (MPLS tunnel) terminates. As previously described, when the MKA packet 700 arrives at the destination IP address and the RX node checks the destination UDP port and identifies the port to be allocated to the MKA process, the RX node processes the packet as MKA to obtain a SAK.

[0124] As mentioned earlier, in MACsec, a secure channel identifier (SCI) is used when multiple flows (e.g., VLANs) are encrypted on a single port. Each VLAN needs to be uniquely identified to ensure that the correct SAK is used to encrypt and decrypt the flow. In MACSec, the SCI is constructed from the port MAC and VLAN ID.

[0125] Note that the SCI is optional and is only required when there are multiple streams on the same port, as each stream needs to be encrypted with a different key and the Secure Channel Identifier (SCI) for that key.

[0126] The SCI and its corresponding SAK are signaled between nodes, such as an encryption node and a decryption node, via MKA. Using the same token, the SCI and its corresponding SAK will be installed in the data path of both nodes. The encryption node uses the SAK to encrypt packets, where each encrypted packet has an IEEE 802.1AE header containing the SCI. When the encrypted packet arrives at the decryption node, the decryption node reads the SCI in the IEEE 802.1AE header and uses the SCI to identify and apply the corresponding SAK to decrypt the encrypted packet.

[0127] In ANYSec, port MAC addresses or VLANs cannot be used to identify flows because flows are MPLS or IP. ANYSec uses encryption segment identifiers (SIDs) to uniquely identify encryption nodes in the network. Therefore, the encryption SID can also uniquely identify encryption nodes in the SCI. There may be many different MPLS flows that need to be encrypted within the TX node. Therefore, a second identifier is used to uniquely identify the flow within the node. For example, the second identifier can be a tunnel ID or another unique identifier for the tunnel or IP flow. To ensure that the SCI does not conflict with any other MAC address for MPLS or IP, the SCI can start with an invalid byte, such as

[01] , which is a multicast MAC and will never be used by MACsec.

[0128] Typically, for MPLS and IP security via MKA and some aspects of IEEE 802.1AE, the SCI must uniquely identify the MPLS or IP flow to be protected, as well as the node that is being tunnel-secured.

[0129] In one possible implementation, the 8-byte SCI has the following format:

[0130] [01RR RR RX XX XX YY YY],

[0131] Where each character represents a 4-bit nibble, [RRRRR] is 20 reserved bits, [XXXXX] is the 20-bit local Ethernet segment (ES) label, and [YYYY] is a 16-bit unique ID for each encryption stream, for example, generated locally on the encryption TX node. This is another reason why the encryption SID needs to be uniquely identified by node or by encryption group.

[0132] Although embodiments of the present disclosure have been described in the context of SAK distribution using MKA packets over Layer 2.5 MPLS transport or Layer 3 IP transport, the present disclosure is not limited thereto. In general, the present disclosure can be implemented to distribute any encryption key using MKA packets over any Layer 2.5 / 3 transport identified via a UPD port.

[0133] It should be understood that at least some of the functionality presented herein may be implemented in software (e.g., via implementation of software on one or more processors for execution on a general-purpose computer (e.g., via execution by one or more processors to provide a special-purpose computer, etc.) and / or may be implemented in hardware (e.g., using a general-purpose computer, one or more application-specific integrated circuits, and / or any other hardware equivalents).

[0134] It should be understood that at least some of the functions proposed herein can be implemented in hardware, for example, as a circuit system that cooperates with a processor to perform various functions. Portions of the functions / units described herein can be implemented as a computer program product, in which computer instructions adapt the operation of the computer when processed by the computer so that the methods and / or techniques described herein are called or otherwise provided. Instructions for calling various methods can be stored in fixed or removable media (e.g., non-transitory computer-readable media), transmitted via a data stream in a broadcast or other signal-bearing medium, and / or stored in a memory within a computing device that operates according to the instructions. It should be understood that the term "or" used herein refers to a non-exclusive "or" unless otherwise specified (e.g., using "otherwise" or "or in the alternative").

[0135] It will be appreciated that although various embodiments incorporating the teachings presented herein have been shown and described in detail, those skilled in the art can readily devise numerous other varied embodiments that still incorporate these teachings.

Claims

1. A sending node, comprising: at least one processor; as well as at least one memory including computer program code; The at least one memory and the computer program code are configured to, together with the at least one processor, cause the sending node to at least: Generate a media access control security key protocol packet, the media access control security key protocol packet comprising: a layer 2 header, an Internet Protocol header, a user datagram protocol header, an IEEE 802.1x header, and a media access control security key protocol payload, the media access control security key protocol payload containing: an encryption key for encrypting a packet stream transmitted from the sending node to the receiving node; as well as The media access control security key protocol packet is sent to the receiving node via layer 3 transport.

2. The sending node according to claim 1, wherein the encryption key is a security association key.

3. The sending node according to claim 1 or 2, wherein the sending node is configured to receive the security association key from a key server using Advanced Encryption Standard key encapsulation.

4. The sending node according to claim 1 or 2, wherein the sending node is configured to encrypt the encryption key in the media access control security key protocol packet using Advanced Encryption Standard key encapsulation.

5. The sending node according to claim 1 or 2, wherein the IEEE 802.1x header comprises: A secure channel identifier uniquely identifies the packet flow and the encrypted sending node.

6. The sending node according to claim 5, wherein the secure channel identifier comprises: An encryption segment identifier used to identify the encryption sending node, and a unique identifier of a tunnel on the encryption sending node.

7. The sending node according to claim 6, wherein the sending node is configured to: generating the unique identifier locally; and The secure channel identifier is sent to the receiving node using a media access control security key protocol on an Internet Protocol / User Datagram Protocol header.

8. The sending node according to claim 1, wherein the sending node is configured to: encrypting packets of the packet stream using the encryption key; and The encrypted packets are sent to the receiving node via layer 2.5 / 3 transport.

9. A receiving node, comprising: at least one processor; as well as at least one memory including computer program code; The at least one memory and the computer program code are configured to, together with the at least one processor, cause the receiving node to at least: receiving a media access control security key protocol packet from a sending node via layer 3 transmission, the media access control security key protocol packet comprising: a layer 2 header, an internet protocol header, a user datagram protocol header, an IEEE 802.1x header, and a media access control security key protocol payload, the media access control security key protocol payload containing: an encryption key for decrypting a packet stream transmitted from the sending node to the receiving node; as well as The media access control security key protocol packet is processed to obtain the security association key.

10. The receiving node of claim 9, wherein the encryption key is a security association key.

11. A receiving node according to claim 9 or 10, wherein the encryption key is encrypted in the MAC security key protocol packet using Advanced Encryption Standard key encapsulation.

12. The receiving node according to claim 9 or 10, wherein the IEEE 802.1x header comprises: A secure channel identifier uniquely identifies the packet flow and the encrypted sending node.

13. The receiving node according to claim 12, wherein the secure channel identifier comprises: An encryption segment identifier used to identify the encryption sending node, and a unique identifier of a tunnel on the encryption sending node.

14. A method comprising: The sending node generates a media access control security key protocol packet, the media access control security key protocol packet comprising: a layer 2 header, an Internet Protocol header, a user datagram protocol header, an IEEE 802.1x header, and a media access control security key protocol payload, the media access control security key protocol payload containing: an encryption key for encrypting a packet stream transmitted from the sending node to a receiving node; and The sending node sends the media access control security key protocol packet to the receiving node via layer 3 transmission.

15. A method comprising: The receiving node receives a media access control security key protocol packet from a sending node via layer 3 transmission, the media access control security key protocol packet comprising: a layer 2 header, an Internet protocol header, a user datagram protocol header, an IEEE802.1x header, and a media access control security key protocol payload, the media access control security key protocol payload containing: an encryption key for decrypting a packet stream transmitted from the sending node to the receiving node; and The receiving node processes the media access control security key protocol packet to obtain the security association key.