view Side-By-Side changes
Internet-Draft Cisco Systems Intended status: Standards Track G. Gross Expires:June 9,August 22, 2008 IdentAware Security D. Ignjatic PolycomDecember 9, 2007February 22, 2008 Multicast Extensions to the Security Architecture for the Internet Protocoldraft-ietf-msec-ipsec-extensions-07.txtdraft-ietf-msec-ipsec-extensions-08.txt Status of this Memo By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. Copyright Notice Copyright (C) The IETF Trust(2007).(2008). Abstract The Security Architecture for the Internet Protocol describes security services for traffic at the IP layer. That architecture primarily defines services for Internet Protocol (IP) unicast packets.It also defines services for manually keyed Security Associations (SAs) matching IP multicast traffic selectors.This documentfurther definesdescribes how the IPsec security servicesfor manually and dynamically keyed SAs matchingare applied to IP multicasttraffic selectors withinpackets. These extensions are relevant only for an IPsec implementation thatSecurity Architecture.supports multicast. Weis ExpiresJune 9,August 22, 2008 [Page 1] Internet-Draft Multicast Extensions to RFC 4301December 2007February 22, 2008 Table of Contents 1. Introduction.....................................................3 1.1 Scope.........................................................3 1.2 Terminology...................................................4 2. Overview of IP MulticastOperation...............................5Operation...............................6 3. Security Association Modes.......................................6 3.1 Tunnel Mode with AddressPreservation.........................6Preservation.........................7 4. Security Association.............................................8 4.1 Major IPsec Databases.........................................8 4.1.1 Group Security Policy Database (GSPD).....................8 4.1.2 Security Association Database(SAD).......................9(SAD)......................11 4.1.3 Group Peer Authorization Database(PAD).........................9(GPAD).................11 4.2 Group Security Association(GSA).............................11(GSA).............................13 4.3 Data OriginAuthentication...................................13Authentication...................................16 4.4 Group SA and KeyManagement..................................13Management..................................16 4.4.1 Co-Existence of Multiple Key ManagementProtocols........13Protocols........16 4.4.2 New Security AssociationAttributes......................14Attributes......................17 5. IP TrafficProcessing...........................................14Processing...........................................17 5.1 Outbound IPMulticastTrafficProcessing.....................14Processing...............................17 5.2 Inbound IPMulticastTrafficProcessing......................15Processing................................18 6. SecurityConsiderations.........................................15Considerations.........................................21 6.1 Security Issues Solved by IPsec MulticastExtensions.........15Extensions.........21 6.2 Security Issues Not Solved by IPsec MulticastExtensions.....15Extensions.....21 6.2.1 OutsiderAttacks.........................................16Attacks.........................................22 6.2.2 InsiderAttacks..........................................16Attacks..........................................22 6.3 Implementation or Deployment Issues that ImpactSecurity.....17Security.....23 6.3.1 Homogeneous Group Cryptographic AlgorithmCapabilities...17Capabilities...23 6.3.2 Groups that Span Two or More Security PolicyDomains.....17Domains.....23 6.3.3Network Address Translation..............................17Source-Specific Multicast Group Sender Transient Locators23 7. IANAConsiderations.............................................20Considerations.............................................24 8.Acknowledgements................................................20Acknowledgements................................................24 9.References......................................................20References......................................................24 9.1 NormativeReferences.........................................20References.........................................24 9.2 InformativeReferences.......................................21References.......................................24 Appendix A - Multicast Application ServiceModels..................24Models..................27 A.1 Unidirectional MulticastApplications........................24Applications........................27 A.2 Bi-directional Reliable MulticastApplications...............24Applications...............27 A.3 Any-To-Any MulticastApplications............................25Applications............................28 Author'sAddress...................................................26Address...................................................29 Full CopyrightStatement...........................................27Statement...........................................29 IntellectualProperty..............................................27Property..............................................30 Weis, et al. ExpiresJune 9,August 22, 2008 [Page 2] Internet-Draft Multicast Extensions to RFC 4301December 2007February 22, 2008 1. Introduction The Security Architecture for the Internet Protocol [RFC4301] provides security services for traffic at the IP layer. It describes an architecture for IPsec compliant systems, and a set of security services for the IP layer. These security services primarily describe services and semantics for IPsec Security Associations (SAs) shared between two IPsec devices. Typically, this includes SAs with traffic selectors that include a unicast address in the IP destination field, and results in an IPsec packet with a unicast address in the IP destination field. The security services defined in RFC 4301 can also be used to tunnel IP multicast packets, where the tunnel is a pairwise association between two IPsec devices. RFC4301 defined manually keyed transport mode IPsec SA support for IP packets with a multicast address in the IP destination address field. However, RFC4301 did not define the interaction of an IPsec subsystem with a Group Key Management protocol or the semantics of a tunnel mode IPsec SA with an IP multicast address in the outer IP header. This document describes OPTIONAL extensions to RFC 4301 that further define the IPsec security architecture for groups of IPsec devices to share SAs. In particular, it supports SAs with traffic selectors that include a multicast address in the IP destination field, andresultsthat result in an IPsec packet with an IP multicast address in the IP destination field. It also describes additional semantics for IPsec Group Key Management (GKM) subsystems. Note that this document uses the term "GKM protocol" generically and therefore it does not assume a particular GKM protocol. An IPsec implementation that does not supports multicast is not required to support these extensions. Throughout this document, RFC 4301 semantics remain unchanged by the presence these multicast extensions unless specifically noted to the contrary. 1.1 Scope The IPsec extensions described in this document support IPsec Security Associations that result in IPsec packets with IPv4 or IPv6 multicast group addresses as the destination address. Both Any-Source Multicast (ASM) and Source-Specific Multicast (SSM) [RFC3569][RFC3376]group addresses are supported. These extensions are used when management policy requires IP multicast packets protected by IPsec to remain IP multicast packets. When management policy requires that the IP multicast packets are encapsulated as IP unicast packets (e.g., because the network connected to the unprotected interface does not support IP multicast), the extensions in this document are not used. Weis, et al. Expires August 22, 2008 [Page 3] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 These extensions also support Security Associations with IPv4 Broadcast addresses that result in an IPv4 link-level broadcast packet, and IPv6 Anycast addresses [RFC2526] that result in an IPv6 Anycast packet. These destination address types share many of the same characteristics of multicast addresses because there may be multiple candidate receivers of a packet protected by IPsec. The IPsec architecture does not make requirements upon entities not participating in IPsec (e.g., network devices between IPsec endpoints). As such, these multicast extensions do not require intermediate systems in a multicast enabled network to participate in IPsec. In particular, no requirements are placed on the use ofWeis, et al. Expires June 9, 2008 [Page 3] Internet-Draft Multicast Extensions to RFC 4301 December 2007multicast routing protocols (e.g., PIM-SM [RFC4601]) or multicast admission protocols (e.g., IGMP [RFC3376]. All implementation models of IPsec (e.g., "bump-in-the-stack", "bump-in-the-wire") are supported. This version of the multicast IPsec extension specification requires that all IPsec devices participating in a Security Association are homogeneous. They MUST share a common set of cryptographic transform and protocol handling capabilities. The semantics of an "IPsec composite group" [COMPGRP], a heterogeneous IPsec cryptographic group formed from the union of two or more sub- groups, is an area for future standardization. 1.2 Terminology The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119]. The following key terms are used throughout this document. Any-Source Multicast (ASM) The Internet Protocol (IP) multicast service model as defined in RFC 1112 [RFC1112]. In this model one or more senders source packets to a single IP multicast address. When receivers join the group, they receive all packets sent to that IP multicast address. This is known as a (*,G) group. Group Controller Key Server (GCKS) A Group Key Management (GKM) protocol server that manages IPsec state for a group. A GCKS authenticates and provides the IPsec SA policy and keying material to GKM group members. Weis, et al. Expires August 22, 2008 [Page 4] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 Group Key Management (GKM) Protocol A key management protocol used by a GCKS to distribute IPsec Security Association policy and keying material. A GKM protocol is used when a group of IPsec devices require the same SAs. For example, when an IPsec SA describes an IP multicast destination, the sender and all receivers need to have the group SA. Group Key Management Subsystem A subsystem in an IPsec device implementing a Group Key Management protocol. The GKM subsystem provides IPsec SAs to the IPsec subsystem on the IPsec device. Refer to RFC 3547 [RFC3547] and RFC 4535 [RFC4535] for additional information.Weis, et al. Expires June 9, 2008 [Page 4] Internet-Draft Multicast Extensions to RFC 4301 December 2007Group Member An IPsec device that belongs to a group. A Group Member is authorized to be a Group Sender and/or a Group Receiver. Group Owner An administrative entity that chooses the policy for a group. Group Security Association (GSA) A collection of IPsec Security Associations (SAs) and GKM Subsystem SAs necessary for a Group Member to receive key updates. A GSA describes the working policy for a group. Refer to RFC 4046 [RFC4046] for additional information. Group Security Policy Database (GSPD) The GSPD is a multicast-capable security policy database, as mentioned in RFC3740 and RFC4301 section 4.4.1.1. Its semantics are a superset of the unicast SPD defined by RFC4301 section 4.4.1. Unlike a unicast SPD-S in which point-to-point traffic selectors are inherently bi-directional, multicast security traffic selectors in the GSPD-S introduce a "sender only", "receiver only" or "symmetric" directional attribute. Refer to section 4.1.1 for more details. Group Receiver A Group Member that is authorized to receive packets sent to a group by a Group Sender. Group Sender A Group Member that is authorized to send packets to a group. Source-Specific Multicast (SSM) The Internet Protocol (IP) multicast service model as defined in RFC 3569 [RFC3569]. In this model, each combination of a sender and an IP multicast address is considered a group. This is known as an (S,G) group. Tunnel Mode with Address Preservation Weis, et al. Expires August 22, 2008 [Page 5] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 A type of IPsec tunnel mode used by security gateway implementations when encapsulating IP multicast packets such that they remain IP multicast packets. This mode is necessary for IP multicast routing to correctly route IP multicast packets protected by IPsec. 2. Overview of IP Multicast Operation IP multicasting is a means of sending a single packet to a "host group", a set of zero or more hosts identified by a single IP destination address. IP multicast packets areUDP data packetsdelivered to all members of the group with either"best-effort""best-efforts" reliability [RFC1112], or as part of a reliabledeliverystream (e.g., NORM) [RFC3940].Weis, et al. Expires June 9, 2008 [Page 5] Internet-Draft Multicast Extensions to RFC 4301 December 2007A sender to an IP multicast group sets the destination of the packet to an IP address that has been allocated for IP multicast. Allocated IP multicast addresses are defined in RFC 3171, RFC 3306, and RFC 3307 [RFC3171] [RFC3306] [RFC3307]. Potential receivers of the packet "join" the IP multicast group by registering with a network routing device [RFC3376] [RFC3810], signaling its intent to receive packets sent to a particular IP multicast group. Network routing devices configured to pass IP multicast packets participate in multicast routing protocols (e.g., PIM-SM) [RFC4601]. Multicast routing protocols maintain state regarding which devices have registered to receive packets for a particular IP multicast group. When a router receives an IP multicast packet, it forwards a copy of the packet out of each interface for which there are known receivers. 3. Security Association Modes IPsec supports two modes of use: transport mode and tunnel mode. In transport mode, IP Authentication Header (AH) [RFC4302] and IP Encapsulating Security Payload (ESP) [RFC4303] provide protection primarily for next layer protocols; in tunnel mode, AH and ESP are applied to tunneled IP packets. A host implementation of IPsec using the multicast extensions MAY use either transport mode or tunnel mode to encapsulate an IP multicast packet. These processing rules are identical to the rules described in Section 4.1orof [RFC4301]. However, the destination address for the IPsec packet is an IP multicast address, rather than a unicast host address. A security gateway implementation of IPsecusing the multicast extensionsMUST use a tunnel mode SA, for the reasons described in Section 4.1 of [RFC4301]. In particular, the security gateway needs to use tunnel mode to encapsulate incoming fragments, since IPsec cannot directly operate on fragments. Weis, et al. Expires August 22, 2008 [Page 6] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 3.1 Tunnel Mode with Address Preservation New header construction semantics are required when tunnel mode is used to encapsulate IP multicast packets that are to remain IP multicast packets. These semantics are due to the following unique requirements of IP multicast routing protocols (e.g., PIM-SM [RFC4601]). This document describes these new header construction semantics as "tunnel mode with address preservation",and iswhich are described as follows. - When an IP multicastrouting protocols comparepacket is received by a host or router the destination addresson aof the packet is compared to the local IP multicastroutingstate. If the destination of an IP multicast packet is changeditthe host or router receiving the IP multicast packet willno longer be properly routed.not process it properly. Therefore, an IPsec host or security gateway needs toWeis, et al. Expires June 9, 2008 [Page 6] Internet-Draft Multicast Extensions to RFC 4301 December 2007preserve the multicast IP destination address after IPsec tunnel encapsulation.The GKM Subsystem on a security gateway implementing the IPsec multicast extensions preserves the multicast IP address as follows. Firstly, the GKM Subsystem sets the Remote Address PFP flag in the GSPD-S entry for the traffic selectors. This flag causes the remote address of the packet matching IPsec SA traffic selectors to be propagated to the IPsec tunnel encapsulation. Secondly, the GKM Subsystem needs to signal that destination address preservation is in effect for a particular IPsec SA. The GKM protocol MUST define an attribute that signals destination address preservation to the GKM Subsystem on an IPsec security gateway.- IP multicast routing protocolsalsotypically create multicast distribution trees based on the source address as well as the group address. If an IPsec security gateway changes the source address of an IP multicast packet(e.g., to(to its own IP address), the resulting IPsec protected packet may fail Reverse Path Forwarding (RPF) checksonperformed by other routers. A failed RPF check may result in the packet being dropped. To accommodate routing protocol RPF checks, theGKM Subsystem on asecurity gatewayimplementationimplementing the IPsec multicast extensionsneeds toSHOULD preserve the original packet IP sourceaddress as follows. Firstly, the GSPD-S entry for the traffic selectors sets the Source Address PFP flag. This flag causes the remote address toaddress. However, it should bepropagated to the IPsec SA. Secondly, the GKM Subsystem needs to signalnoted that a security gateway performing source address preservationis in effectwill not receive ICMP PMTU or other messages intended fora particular IPsec SA. The GKM Subsystem MUST define a protocol attribute that signalsthe security gateway. Security gateway applications not requiring source address preservation will be able tothe GKM Subsystem on an IPsec security gateway. Somereceive ICMP PMTU messages and process them as described in section 6.1 of RFC 4301. Because some applications of address preservation mayonlyrequire only the destination address to bepreserved. For this reason, thepreserved, specification of destination address preservation and source address preservation are separated in the above description. Destination address preservation and source address preservation attributes are described in the Group Security Policy Database (GSPD) (defined later in this document), and are copied into corresponding SAD entries. Address preservation is applicable only for tunnel mode IPsec SAs that specify the IP version of the encapsulating header to be the same version as that of the inner header. When the IP versions are different, IP multicast packets can be encapsulated using a tunnelprocessing semanticsinterface, for example as described in [RFC4891], where the tunnel is also treated as an interface by IP multicast routing protocols. Weis, et al. Expires August 22, 2008 [Page 7] Internet-Draft Multicast Extensions to RFC 4301MUST be followed.February 22, 2008 In summary, retaining both the IP source and destination addresses of the inner IP headerallowallows IP multicast routing protocols to routethea packetirrespective ofproperly when the packetbeingis protected by IPsec. This result is necessary in order for the multicast extensions to allow a host or security gateway to provide IPsec servicesWeis, et al. Expires June 9, 2008 [Page 7] Internet-Draft Multicast Extensions to RFC 4301 December 2007for IP multicast packets. This method of RFC 4301 tunnel mode is known as "tunnel mode with address preservation". 4. Security Association 4.1 Major IPsec Databases The following sections describe the GKM Subsystem and IPsec extension interactions with the IPsec databases. The major IPsec databasesneededneed expanded semantics to fully support multicast. 4.1.1 Group Security Policy Database (GSPD) The Group Security Policy Database is a security policy database capable ofimplementingsupporting both unicast security associations as defined byRFC4301RFC 4301 and the multicast extensions defined by this specification.A new Group Security Policy Database (GSPD) attribute is introduced: GSPD entry directionality. Directionality can take three types. EachThe GSPDentry canis considered to bemarked "symmetric", "sender only" or "receiver only". "Symmetric" GSPD entries arethecommon entries as specified by RFC 4301. "Symmetric" SHOULD beSPD, with the addition of the semantics relating to thedefault directionality unless specified otherwise. GSPD entries marked as "sender only" or "receiver only" SHOULD supportmulticastIP addressesextensions described intheir destination address selectors. If the processing requested is bypass or discard andthis section. This document describes a"sender only" typenew "Address Preservation" (AP) flag indicating that tunnel mode with address preservation isconfigured the entry SHOULDto beputapplied to a GSPD entry. The AP flag has two attributes: AP-L used inGSPD-O only. Reciprocally, ifthetype is "receiver only",processing of theentry SHOULD go to GSPD-I only. SSM is supported bylocal tunnel address, and AP-R used in theuseprocessing ofunicast IP address selectors as documented in RFC 4301. GSPD entries created by a GCKS may be assigned identical SPIs to SAD entries created by IKEv2 [RFC4306].the remote tunnel process. This flag isnot a problem for the inbound traffic asadded to theappropriate SAs can be matched usingGSPD "Processing info" field of thealgorithm described inGSDP. The following text reproduced from Section 4.4.1.2 of RFC 4301section 4.1. In addition, SAsincludes this additional processing. (Note: for brevity, only the Processing info related to tunnel processing has been reproduced.) o Processing info -- which action is required -- PROTECT, BYPASS, or DISCARD. There is just one action that goes withidentical SPI values butall the selector sets, notmanually keyed can be differentiated because they containalink to their parent SPD entries. However,separate action for each set. If theoutbound traffic needs to be matched againstrequired processing is PROTECT, theGSPD selectors so thatentry contains theappropriate SA can be created on packet arrival.following information. - IPsecimplementations that support multicast MUST use the destinationmode -- tunnel or transport - (if tunnel mode) local tunnel addressas the additional selector and match it against the GSPD entries marked "sender only". To facilitate dynamic group keying, the outbound GSPD MUST implement-- For apolicy action capability that triggersnon mobile host, if there is just one interface, this is straightforward; if there are multiple interfaces, this must be statically configured. For aGKM protocol registration exchange (as per Section 5.1mobile host, the specification of[RFC4301]). For example,theGroup Sender GSPD policy might trigger on a matchlocal address is handled externally to IPsec. If tunnel mode withaaddress preservation is specifiedmulticast application packet. The ensuing Group Sender registration exchange would setupfor theGroup Sender's outbound SAD entry that encryptslocal tunnel address, themulticast application's dataAP-L attribute is set to TRUE for the local tunnel address and the local tunnel address is unspecified. Weis, et al. ExpiresJune 9,August 22, 2008 [Page 8] Internet-Draft Multicast Extensions to RFC 4301December 2007 stream. InFebruary 22, 2008 The presence of theinverse direction, group policy may also setup an inbound IPsec SA. AtAP-L attribute indicates that theGroup Receiver endpoint(s),inner IP header source address will be copied to theGSPD policy might trigger onouter IP header source address during IP header construction for tunnel mode. - (if tunnel mode) remote tunnel address -- There is no standard way to determine this. See 4.5.3, "Locating amatchSecurity Gateway". If tunnel mode with address preservation is specified for themulticast application packet sent fromremote tunnel address, theGroup Sender.AP-R attribute is set to TRUE for the remote tunnel address and the remote tunnel address is unspecified. Theensuing Group Receiver registration exchange would setuppresence of theGroup Receiver's inbound SAD entryAP-R attribute indicates thatdecryptsthe inner IP header destination address will be copied to the outer IP header destination address during IP header construction for tunnel mode. This document describes unique directionality processing for GSPD entries with a remote IP multicastapplication's data stream. Inaddress. Since an IP multicast address must not be sent as theinverse direction,source address of an IP packet [RFC1112], directionality of Local and Remote address and ports is maintained during incoming SPD-S and SPD-I checks rather than being swapped. Section 4.4.1 of RFC 4301 is amended as follows: Representing Directionality in an SPD Entry For traffic protected by IPsec, thegroup policy may also setupLocal and Remote address and ports in anoutboundSPD entry are swapped to represent directionality, consistent with IKE conventions. In general, the protocols that IPsecSA (e.g. when supporting an ASM service model).deals with have the property of requiring symmetric SAs with flipped Local/Remote IP addresses. However, SPD entries with a remote IP multicast address do not have their Local and Remote address and ports in an SPD entry swapped during incoming SPD-S and SPD-I checks. A new Group Security Policy Database (GSPD) attribute is introduced: GSPD entry directionality. The following text is added to the bullet list of SPD fields described in Section 4.4.1.2 of RFC 4301. o Directionality -- can one of three types: "symmetric", "sender only" or "receiver only". "Symmetric" indicates that a pair of SAs are to be created (one in each direction as specified by RFC 4301). GSPD entries marked as "sender only" indicate that one SA is to be created in the outbound direction. GSPD entries marked as "receiver only" indicate that one SA is to be created in the inbound direction. GSPD entries marked as "sender only" or "receiver only" SHOULD support multicast IP addresses in their destination address selectors. If the processing requested is BYPASS or DISCARD and a "sender only" type is configured the entry SHOULD be put in GSPD-O only. Weis, et al. Expires August 22, 2008 [Page 9] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 Reciprocally, if the type is "receiver only", the entry SHOULD go to GSPD-I only. GSPD entries created by a GCKS may be assigned identical SPIs to SAD entries created by IKEv2 [RFC4306]. This is not a problem for the inbound traffic as the appropriate SAs can be matched using the algorithm described in RFC 4301 section 4.1. However, the outbound traffic needs to be matched against the GSPD selectors so that the appropriate SA can be created. To facilitate dynamic group keying, the outbound GSPD MUST implement a policy action capability that triggers a GKM protocol registration exchange (as per Section 5.1 of [RFC4301]). For example, the Group Sender GSPD policy might trigger on a match with a specified multicast application packet entering the implementation via the protected interface, or emitted by the implementation on the protected side of the boundary and directed toward the unprotected interface.. The ensuing Group Sender registration exchange would set up the Group Sender's outbound SAD entry that encrypts the multicast application's data stream. In the inverse direction, group policy may also set up an inbound IPsec SA. At the Group Receiver endpoint(s), the IPsec subsystem MAYprovideuse GSPD policy mechanisms(e.g.(e.g., trigger on detection of IGMP/MLDleavejoin group exchange) that initiate a GKM protocol registration exchange. The ensuing Group Receiver registration exchange would set up the Group Receiver's inbound SAD entry that decrypts the multicast application's data stream. In the inverse direction, the group policy may also set up an outbound IPsec SA (e.g., when supporting an ASM service model). The IPsec subsystem MAY provide GSPD policy mechanisms that automatically initiate a GKM protocol de-registration exchange. De-registrationmay allowallows a GCKS to minimize exposure of the group's secret key by re-keying a group on a group membership change event. It also minimizes cost on a GCKS for those groups that maintain member state. One such policy mechanism could be the detection of IGMP/MLD leave group exchange. However, a security gateway Group Member would not initiate a GKM protocol de- registration exchange until it detects that there are no more receivers behind a protected interface. Additionally, the GKM subsystem MAYsetupset up the GSPD/SAD state information independent of the multicast application's state. In this scenario, the group's Group Owner issues management directives thattellstell the GKM subsystem when it should start GKM registration and de-registration protocol exchanges. Typically the registration policy strives to make sure that the group's IPsec subsystem state is "always ready" in anticipation of the multicast application starting its execution.4.1.2 Security Association Database (SAD) The Security Association Database (SAD) can support multicast SAs, if manually configured. An outbound multicast SA has the same structure as a unicastWeis, et al. Expires August 22, 2008 [Page 10] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 4.1.2 Security Association Database (SAD) The SAD contains an item describing whether tunnel or transport mode is applied to traffic on this SA. Thesource addresstext in RFC 4301 Section 4.4.2.1 isthatamended to describe Address Preservation. o IPsec protocol mode: tunnel or transport. Indicates which mode of AH or ESP is applied to traffic on this SA. When tunnel mode is specified, theGroup Sender and the destinationdata item also indicates whether or not address preservation is applied to themulticast group address.outer IP header. Address preservation MUST NOT be specified when the IP version of the encapsulating header and IP version of the inner header do not match. The local address, remote address, or both addresses MAY be marked as being preserved during tunnel encapsulation. An inbound multicast SA MUST be configured with the source addresses of each Group Sender peer authorized to transmit to the multicast SA in question.The SPI value for a multicast SA is provided by a GCKS, not by the receiver as occurs for a unicast SA. Other than the SPI assignment and the inbound packet de- multiplexing described in RFC4301 section 4.1, the SAD behaves identically for unicast and multicast security associations.4.1.3 Group Peer Authorization Database(PAD) The Peer Authorization Database (PAD) is extended in order to accommodate peers that may take on specific roles in the group. Such roles can be GCKS, Group Sender or a Group Receiver. A peer can have multiple roles. The PAD may also contain root certificates for PKI used by the group. Weis, et al. Expires June 9, 2008 [Page 9] Internet-Draft Multicast Extensions to RFC 4301 December 2007 4.1.3.1 GKM/IPsec Interactions with the PAD The RFC 4301 section 4.4.3 introduced the PAD. In summary, the PAD manages the IPsec entity authentication mechanism(s) and authorization of each such peer identity to negotiate modifications to the GSPD/SAD. Within the context of the GKM/IPsec subsystem, the PAD defines for each group: . For those groups that authenticate identities using(GPAD) The multicast IPsec extensions introduce aPublic Key Infrastructure,new data structure called thePAD containsGroup Peer Authorization Database (GPAD). Analogous to thegroup's set of one or more trusted root public key certificates. ThePADmay also include the PKI configuration data needed to retrieve supporting certificates needed for an end entity's certificate path validation. . A set of one or more group membership authorization rules. The GCKS examines these rules(refer todetermineRFC 4301 section 4.4.3), the GPAD provides acandidate group member's acceptable authentication mechanismlink between a Group Key Management protocol andto decide whether that candidate has the authority to jointhegroup. . A set of one or more GCKSSPD. The GPAD contains three group role authorizationrules.rule sets. A groupmember uses these rules to deciderole authorization rule set specifies whichsystemspeers are authorized toact asparticipate in aGCKS forgroup in a givengroup. These rules also declare the permitted GCKS authentication mechanism(s). . A set of one or moreGroupSender role authorization rules. In some groups the action of sending protected packets is restricted to a subset of group members. ARole. The GCKSusesGKM subsystem examines these rules todeclare which systems are authorized to be a Group Sender for a given group. Some GKM protocols (e.g. GSAKMP [RFC4535]) distribute their group's PAD configuration in a security policy token [RFC4534] signed by the group's policy authority, also known as the Group Owner (GO). Each group member receives the policy token (usingdetermine whether amethod not described in this memo) and verifies thecandidate GroupOwner's signature on the policy token. If that GO signature is accepted, then the group member dynamically updates its PAD withMember has thepolicy token's contents. The PAD MUST provide a management interface capability that allows an administratorauthority toenforce thatjoin thescope of agroup. A Group Member GKMgroup's policy specified GSPD/SAD modificationssubsystem uses these rules to decide which systems arerestrictedauthorized toonly those trafficact as a GCKS for a given group. The third group role authorization rule set determines which Group Members are authorized to send dataflows that belongtothatthe group.ThisWhen making a group role authorizationMUST be configurable atdecision, the GKMgroup granularity. Insubsystem queries theinverse direction,GPAD with thePAD management interface MUST provide a mechanism(s) to enforce that IKEv2 security associations do not negotiate traffic selectors that conflict or override3-tuple {Group Identifier, Group Role, GKMgroup policies. Weis, et al. Expires June 9, 2008 [Page 10] Internet-Draft Multicast Extensions to RFC 4301 December 2007 This document refers to re-key mechanismsID}. These three GPAD search indices are defined asbeing multicast because of the inherent scalability of IP multicast distribution. However, therefollows: . Group Identifier - The Group Identifier isno particular reasonan opaque byte string of IKE ID type Key ID thatre-key mechanisms need be multicast. For example, [ZLLY03] describesidentifies amethod of re-key employing both unicast andsecure multicastmessages. 4.2group. The GroupSecurity Association (GSA) As stated in Section 4 of [RFC3740] an IPsec implementation supporting these extensions has a number of security associations: one or more IPsec SAs,Identifier byte string MUST be at least four bytes long andone or more GKM SAs used to download IPsec SAs. These SAs are collectively referred to as aless than 256 bytes long. The GPAD administrator MUST assign each GroupSecurity Association (GSA). 4.2.1 Concurrent IPsec SA Life Spans and Re-key Rollover DuringIdentifier acryptographic group's lifetime, multiple IPsec group security associations can exist concurrently. This occurs principally dueunique value within the scope of all secure multicast groups administered by the GPAD's security domain. Weis, et al. Expires August 22, 2008 [Page 11] Internet-Draft Multicast Extensions totwo reasons:RFC 4301 February 22, 2008 . Group Role - There aremultiple Group Senders authorized in the group, each with its own IPsec SA that maintains anti-replay state. A group that does not rely on IP Security anti-replay services can share one IPsec SA for allthree types ofitsgroup roles: GroupSenders. - The life spans ofMember, Group Sender (i.e., a GroupSender's two (or more) IPsec SAs are allowedMember authorized tooverlapbe a multicast sender), and GCKS. A Group Member may be authorized to act intime, so that theremore than one role within a given group. . GKM ID - The GKM ID iscontinuitythe identifier used in themulticast data stream across group re-key events. This capabilityGKM protocol's identification payload. The GKM protocol MUST support the six IKE ID payload types specified in RFC 4301 section 4.4.3.1. A Group Role authorization rule set isreferred toan ordered list of GPAD Entry Identifiers. GPAD Entry Identifiers have the same syntax and pattern matching semantics as"re-key rollover continuity". Eachthe PAD Entry Identifiers defined in RFC 4301 section 4.4.3.1. Every groupre-key multicast message senthas three group role authorization rule sets, one group role authorization rule set per Group Role. Within the GPAD, the group authorization rule sets are indexed bya GCKS signalsthestart of a new2-tuple {Group Identifier, GroupSender time epoch, with each such epoch havingRole}. When the GKM subsystem needs to make anassociated IPsec SA. Theauthorization decision, it linearly searches the selected groupmembership interacts with these IPsec SAs as follows: - Asrole authorization rule set until either it acquires aprecursorGPAD Entry Identifier match to theGroup Sender beginning its re-key rollover continuity processing,GKM ID, or it reaches theGCKS periodically multicasts a Re-Key Event (RKE) messageend of the rule set. A match authorizes the GKM ID to act in thegroup.specified Group Role. TheRKE multicast containsno find condition indicates the GKM ID is not authorized for the requested Group Role. For long lived large-scale groups, there are operational and security benefits to having an automated and distributed group security policydirectives, and new IPsec SAmanagement facility. The security policyand keying material.changes can be rapidly propagated across the whole group membership rather than at the pace of manual administration at individual systems. In theabsencecontext ofa reliable multicast transport protocol,theGCKS may re-transmitGPAD, theRKE a policy defined numbermanagement facility promotes the timely and accurate introduction oftimesnewly authorized Group Members, updates toimproveexisting role authorizations, and theavailabilityrevocation ofre-key information. -a compromised Group Member's role authorizations. TheRKE multicast configureslatter capability intercepts a compromised Group Member from re-joining the group. For example, some GKM protocols (e.g., GSAKMP [RFC4535]) distribute their group'sGSPD/SAD withGPAD, GSPD, and SAD configuration in a security policy token [RFC4534] signed by thenew IPsec SAs.group's policy authority, also known as the Group Owner (GO). EachIPsec SA that replaces an existing SA is called a "leading edge" IPsec SA. The leading edge IPsec SA hasGroup Member GSAKMP subsystem receives the policy token (using anew Security Parameter Index (SPI)method not described in this memo) andnew associated keying material. For a short period afterverifies theGCKS multicastsGroup Owner's signature on the policy token. If that GO signature is accepted, then theRKE, aGroupSender does not yet transmit data usingMember's GSAKMP subsystem dynamically updates theleading edgeGPAD, GSPD, and SAD with the policy token's contents. Alternatively, the group's security policy management facility could be based on a trusted configuration management protocol rather than a GKM protocol. Weis, et al. ExpiresJune 9,August 22, 2008 [Page11]12] Internet-Draft Multicast Extensions to RFC 4301December 2007 IPsec SA. Meanwhile, other Group Members prepare to use this IPsec SAFebruary 22, 2008 A group security policy management facility is not mandated byinstalling the new IPsec SAs to their respective GSPD/SAD. - After waitingthis specification. The GPAD MUST have asufficiently long enough period suchtrusted management interface thatall of the Group Members have processed the RKE multicast, the Group Sender begins to transmit usingallows theleading edge IPsec SA with its data encrypted bymanual creation, editing, and deletion of thenew keying material. Only authorized Group Members can decrypt these IPsec SA multicast transmissions.group role authorization rule sets. Theperiod that a Group Sender waits before starting its first leading edge SA transmission is a GKM/IPsec policy parameter. This transmit delay period value for a new "leading edge" IPsec SA SHOULDGPAD, GSPD, and SAD databases MAY beconfigurable at the Group Owner management interface onconfigured by apergroupbasis. The period duration will typically be measured in seconds, and should take account for the timesecurity policy management facility through that same management interface. How an IPsec subsystem implementation coordinates theRKE message takes to reach all Group Members, as well as the time Group Members needmanual and automated database modifications toprocess the RKE message. If group policy includes retransmitting RKE messages for availability, the period should includeavoid conflicts is a local matter outside theretransmission times as well. Periodsscope oflonger duration (e.g,this specification. The GPAD MUST provide a management interface capability that allows an administrator topre-distribute future SAs) are also possible, but since the SA lifetimes will begin decrementing immediatelyenforce that theeffective useful lifetimescope ofthe SA maya GKM group's policy specified GSPD/SAD modifications is restricted to only those traffic data flows that belong to that group. This authorization MUST begreatly reduced. - The Group Sender's "trailing edge" SA isconfigurable at GKM group granularity. In theoldest security association in use byinverse direction, thegroup forGPAD management interface MUST provide a mechanism(s) to ensure thatsender. All authorizedIKEv2 security associations do not negotiate traffic selectors that conflict or override GKM group policies. 4.2 GroupMembers can receiveSecurity Association (GSA) An IPsec implementation supporting these extensions will support a number of security associations: one or more IPsec SAs, anddecrypt data for this SA, but the Group Sender does not transmit new data using the "trailing edge" SA after it has transitionedone or more GKM SAs used tothe "leading edge SA". The trailing edgedownload IPsec SAs [RFC3740]. These SAs are collectively referred to as a Group Security Association (GSA). 4.2.1 Concurrent IPsec SAis deleted by theLife Spans and Re-key Rollover During a secure multicast group'sendpoints according tolifetime, multiple IPsec grouppolicy (e.g., after a defined period has elapsed)"security associations can exist concurrently. Thisre-key rollover strategy allows the groupoccurs principally due todrain itstwo reasons: - There are multiple Group Senders authorized intransit datagrams from the network while transitioning to the leading edge SA. Staggeringtheroles ofgroup, eachrespectivewith its own IPsec SAas described above improves the group's synchronization even when there are high network propagation delays. Note that due towhich maintains anti-replay state. A groupmembership joins and leaves, each Group Sender time epoch may havethat does not rely on IP Security anti-replay services can share one IPsec SA for all of its Group Senders. - The life spans of adifferent group membership set. ItGroup Sender's two (or more) IPsec SAs are allowed to overlap in time, so that there isa group policy decision whethercontinuity in the multicast data stream across group re-keyevent transitionevents. This capability is referred to as "re-key rollover continuity". The rekey continuity rollover algorithm depends on an IPsec SA management interface betweenepochs provides forwardthe GKM subsystem andbackward secrecy.the IPsec subsystem. Thegroup's re-key protocol keying material and algorithm (e.g. Logical Key Hierarchy) enforces this policy. Implementations MAY offer a Group OwnerIPsec subsystem MUST provide management interfaceoption to enable/disable re-key rollover continuitymechanisms fora particular group. This specification requires that a GKM/IPsec implementation MUST support at least two concurrentthe GKM subsystem to add IPsec SAsper Group Senderand to delete IPsec SAs. For illustrative purposes, thisre-keytext defines the rekey rollover continuityalgorithm.algorithm in terms of two timer parameters that govern IPsec SA lifespans relative to the start of a group Weis, et al. ExpiresJune 9,August 22, 2008 [Page12]13] Internet-Draft Multicast Extensions to RFC 4301December 2007 4.3 Data Origin Authentication As defined in [RFC4301], data origin authentication is a security serviceFebruary 22, 2008 rekey event. However, it should be emphasized thatverifies the identity of the claimed source of data. A Message Authentication Code (MAC) is often used to achieve data origin authentication for connections shared between two parties. But typical MAC authentication methods using a single shared secret are not sufficient to provide data origin authentication for groups with more than two parties. With a MAC algorithm, every group member can use the MAC key to create a valid MAC tag, whether or not they aretheauthentic originator ofGKM subsystem interprets thegroup application's data. Whengroup's security policy to direct thepropertycorrect timing ofdata origin authentication is required for anIPsec SAdistributedactivation and deactivation. A given group policy may choose timer values that differ froma GKCS, an authentication transform wherethose recommended by this text. The two rekey rollover continuity timer parameters are: 1. Activation Time Delay (ATD) - The ATD defines how long after theoriginator keepsstart of asecret should be used. Two possible algorithms are TESLA [RFC4082] or RSA digital signature [RFC4359]. In some cases, (e.g., digital signature authentication transforms) the processing costrekey event to activate new IPsec SAs. The ATD parameter is expressed in units of seconds. Typically, thealgorithmATD parameter issignificantly greater than an HMAC authentication method. To protect against denial of service attacksset to the maximum time it takes to deliver a multicast message fromdevice that is not authorizedthe GCKS tojoinall of thegroup,group's members. For a GCKS that relies on a Reliable Multicast Transport Protocol (RMTP), theIPsec SA using this algorithm mayATD parameter could beencapsulated with an IPsec SA usingset equal to the RTMP protocol's maximum error recovery time. When aMAC authentication algorithm. However, doing so requiresRMTP is not present, thepacket toATD parameter might besent acrossset equal to theIPsec boundary for additional inbound processing (see Section 5.2network's maximum multicast message delivery latency across all of[RFC4301]).the group's endpoints. The ATD is a GKM group policy parameter. Thisuse of ESP encapsulated within ESP accommodatesvalue SHOULD be configurable at theconstraint that an ESP trailerGroup Owner management interface on a per group basis. 2. Deactivation Time Delay (DTD) - The DTD definesan Integrity Check Value (ICV) for onlyhow long after the start of asingle authenticator transform. Relaxing this constraint onrekey event to deactivate those IPsec SAs that are destroyed by theuserekey event. The purpose of theICV fieldDTD parameter isan area for future standardization. 4.4 Group SAto minimize the residual exposure of a group's keying material after a rekey event has retired that keying material. The DTD is independent of andKey Management 4.4.1 Co-Existenceshould not to be confused with the IPsec SA soft lifetime attribute. The DTD parameter is expressed in units ofMultiple Key Management Protocols Often,seconds. Typically, theGKM subsystem willDTD parameter would beintroducedset toan existent IPsec subsystem as a companion key management protocolthe ADT plus the maximum time it takes toIKEv2 [RFC4306]. A fundamental GKM protocol IP Security subsystem requirement is that bothdeliver a multicast message from theGKM protocol and IKEv2 can simultaneously share accessGroup Sender to all of the group's members. For acommonGroupSecurity Policy Database and Security Association Database. The mechanismsSender thatprovide mutually exclusive accessrelies on a RMTP, the DTD parameter could be set equal to ADT plus thecommon GSPD/SAD data structures areRTMP protocol's maximum error recovery time. When alocal matter. This includesRMTP is not present, theGSPD-outbound cache andDTD parameter might be set equal to ADT plus theGSPD-inbound cache. However, implementers should note that IKEv2 SPI allocation is entirely independent fromnetwork's maximum multicast message delivery latency across all of the group's endpoints. A GKMSPI allocation becausesubsystem MAY implement the DTD as a group securityassociations are qualifiedpolicy parameter. If a GKM subsystem does not implement the DTD parameter then other group security policy mechanisms MUST determine when to deactivate an IPsec SA. Each group re-key multicast message sent by adestinationGCKS signals the start of a new Group Sender IPsec SA time epoch, with each such epoch having an associated set of two IPsec SAs. Note that this document refers to re-key mechanisms as being multicast because of the inherent scalability of IPaddress and may optionally havemulticast distribution. However, there is no particular reason that re-keying mechanisms must be multicast. For example, [ZLLY03] describes asource IP address qualifier. See [RFC4303, Section 2.1] for further explanation.method of re-key employing both unicast and multicast messages. The group membership interacts with these IPsec SAs as follows: Weis, et al. ExpiresJune 9,August 22, 2008 [Page13]14] Internet-Draft Multicast Extensions to RFC 4301December 2007 The Peer Authorization Database does require explicit coordination between the GKM protocol and IKEv2. Section 4.1.3 describes these interactions. 4.4.2 New Security Association Attributes A number of new security association attributes are defined to convey extensions defined in this document. Each GKM protocol supporting this architecture MUST support the following list of attributes described elsewhere in this document.February 22, 2008 -Address Preservation (Section 3.1). This attribute describes whether address preservation is to be appliedAs a precursor to theSA onGroup Sender beginning its re-key rollover continuity processing, thesource address, destination address, or both source and destination addresses. - Directional attribute (Section 4.1.1). This attribute describes whetherGCKS periodically multicasts apair of SAs (one in each direction) areRe-Key Event (RKE) message tobe installed (to match the "symmetric" SPD directionality), only intheoutbound direction (to match "receiver only" SPD directionality), or only ingroup. The RKE multicast MAY contain group policy directives, new IPsec SA policy, and group keying material. In theinbound direction (to match "sender only" SPD directionality). - Anyabsence ofthe cryptographic transform-specific parameters and keys that are sent froma RMTP, the GCKS may re-transmit the RKE a policy-defined number of times to improve theGroup Members (e.g. data origin authentication parameters as described in section 4.3). - Re-key rollover procedure time intervals (section 4.2.1).availability of re-key information. Thetime thatGKM subsystem starts theGroup Receiver IPsec subsystems will waitATD and DTD timers aftercreatingit receives theleading edgelast RKE retransmission. - The GKM subsystem interprets the RKE multicast to configure the group's GSPD/SAD with the new IPsec SAs. Each IPsec SAbefore they will retire the trailing edgethat replaces an existing SA is called a "leading edge" IPsec SA.Also, theThe leading edge IPsec SA has a new Security Parameter Index (SPI) and its associated keying material keys it. For a timethatperiod of ATD seconds in duration after the GCKS multicasts the RKE, a Group Senderwill delay before it starts transmitting ondoes not yet transmit data using the leadingedgesedge IPsec SA.5. IP Traffic Processing Processing of traffic follows Section 5 of [RFC4301], with the additions described below when these IP multicast extensions are supported. 5.1 Outbound IP Multicast Traffic Processing If anMeanwhile, other Group Members prepare to use this IPsec SAis marked as supporting tunnel mode with address preservation (as described in Section 3.1), either or both of the outer header source or destination addresses is marked as being preserved. Ifby installing thesource address is marked as being preserved, during header constructionnew IPsec SAs to their respective GSPD/SAD. - After waiting for the"src address" header field MUST be "copied from inner hdr" rather than "constructed" as described in [RFC4301]. Similarly, ifATD period, such that all of thedestination address is marked as being preserved, during header constructionGroup Members have received and processed the"dest address" header field MUST be "copied from inner hdr" rather than "constructed". Weis, et al. Expires June 9, 2008 [Page 14] Internet-Draft Multicast ExtensionsRKE message, the GKM subsystem directs the Group Sender toRFC 4301 December 2007 5.2 Inbound IP Multicast Traffic Processing If anbegin to transmit using the leading edge IPsec SAis marked as supporting tunnel modewithaddress preservation (as describedits data encrypted by the new keying material. Only authorized Group Members can decrypt these IPsec SA multicast transmissions. - The Group Sender's "trailing edge" SA is the oldest security association inSection 3.1),use by themarked address (i.e., source and/or destination address) ongroup for that sender. All authorized Group Members can receive and decrypt data for this SA, but theouter IP header MUST be verifiedGroup Sender does not transmit new data using the trailing edge IPsec SA after it has transitioned tobethesame value asleading edge IPsec SA. The trailing edge IPsec SA is deleted by theinner IP header. Ifgroup's GKM subsystems after theaddresses are not consistent,DTD time period has elapsed since theIPsec system MUST treatRKE transmission. This re-key rollover strategy allows theerrorgroup to drain its in transit datagrams from thesame manner as other invalid selectors, as described in Section 5.2 of [RFC4301]. In particularnetwork while transitioning to the leading edge IPsecsystem MUST discard the packet, as well as treat the inconsistency as an auditable event. 6. Security Considerations The IP security multicast extensions defined by this specification build onSA. Staggering theunicast-oriented IP security architecture [RFC4301]. Consequently, this specification inherits manyroles of each respective IPsec SA as described above improves theRFC4301 security considerationsgroup's synchronization even when there are high network propagation delays. Note that due to group membership joins andthe readerleaves, each Group Sender IPsec SA time epoch may have a different group membership set. It isadviseda group policy decision whether the re-key event transition between epochs provides forward and backward secrecy. The group's re-key protocol keying material and algorithm (e.g., Logical Key Hierarchy, refer toreview it as companion guidance. 6.1 Security Issues Solved by IPsec[RFC2627] and Appendix A of [RFC4535]) enforces this policy. Implementations MAY offer a Group Owner management interface option to enable/disable re-key rollover continuity for a Weis, et al. Expires August 22, 2008 [Page 15] Internet-Draft Multicast ExtensionsThe IPto RFC 4301 February 22, 2008 particular group. This specification requires that a GKM/IPsec implementation MUST support at least two concurrent IPsec SA per Group Sender and this re-key rollover continuity algorithm. 4.3 Data Origin Authentication As defined in [RFC4301], data origin authentication is a securitymulticast extensionserviceprovidesthat verifies thefollowing network layer mechanismsidentity of the claimed source of data. A Message Authentication Code (MAC) is often used to achieve data origin authentication forsecure group communications: - Confidentiality using a groupconnections sharedencryption key. - Group sourcebetween two parties. However, typical MAC authenticationand integrity protectionmethods using agroupsingle shared secret are not sufficient to provide data origin authenticationkey. - Group Senderfor groups with more than two parties. With a MAC algorithm, every group member can use the MAC key to create a valid MAC tag, whether or not they are the authentic originator of the group application's data. When the property of data origin authenticationusing a digital signature, TESLA, or other mechanism. - Anti-replay protectionis required for an IPsec SA distributed from alimited numberGKCS, an authentication transform where the originator keeps a secret should be used. Two possible algorithms are TESLA [RFC4082] or RSA digital signature [RFC4359]. In some cases, (e.g., digital signature authentication transforms) the processing cost ofGroup Senders usingtheESP (or AH) sequence number facility. - Filteringalgorithm is significantly greater than an HMAC authentication method. To protect against denial ofmulticast transmissions by those group members who areservice attacks from a device that is not authorizedby group policytobe Group Senders. This feature leveragesjoin theIPsec state-less firewall service. In support ofgroup, theabove services,IPsec SA using thisspecification enhancesalgorithm may be encapsulated with an IPsec SA using a MAC authentication algorithm. However, doing so requires thedefinitionpacket to be sent across the IPsec boundary a second time for additional inbound processing (see Section 5.2 of [RFC4301]). This use of AH or ESP encapsulated within AH or ESP accommodates theSPD, PAD,constraint that AH andSAD databases to facilitateESP define an Integrity Check Value (ICV) for only a single authenticator transform. 4.4 Group SA and Key Management 4.4.1 Co-Existence of Multiple Key Management Protocols Often, theautomated groupGKM subsystem will be introduced to an existent IPsec subsystem as a companion key managementof large-scale cryptographic groups. 6.2 Security Issues Not Solved by IPsec Multicast Extensions As noted in RFC4301 section 2.2, itprotocol to IKEv2 [RFC4306]. A fundamental GKM protocol IP Security subsystem requirement isout of scope of this architecturethat both the GKM protocol and IKEv2 can simultaneously share access to a common Group Security Policy Database and Security Association Database. The mechanisms that provide mutually exclusive access todefendthegroup's keys or its applicationcommon GSPD/SAD dataagainst those attacks against many aspects ofstructures are a local matter. This includes theoperating environment in whichGSPD-outbound cache and theIPsec implementation executes.GSPD-inbound cache. However,itimplementers should note that IKEv2 SPI allocation is entirely independent from GKM SPI allocation because group security associations are qualified by a destination multicast IP address and may optionally have a source Weis, et al. ExpiresJune 9,August 22, 2008 [Page15]16] Internet-Draft Multicast Extensions to RFC 4301December 2007 should be noted thatFebruary 22, 2008 IP address qualifier. See [RFC4303, Section 2.1] for further explanation. The Peer Authorization Database does require explicit coordination between theriskGKM protocol and IKEv2. Section 4.1.3 describes these interactions. 4.4.2 New Security Association Attributes A number ofattacks originating by an adversarynew security association attributes are defined to convey extensions defined in this document. Each GKM protocol supporting this architecture MUST support thenetworkfollowing list of attributes described elsewhere in this document. - Address Preservation (Section 3.1). This attribute describes whether address preservation is to be applied to the SA on the source address, destination address, or both source and destination addresses. - Directional attribute (Section 4.1.1). This attribute describes whether a pair of SAs (one in each direction) ismagnifiedto be installed (to match the "symmetric" SPD directionality), only in the outbound direction (to match "receiver only" SPD directionality), or only in theextent thatinbound direction (to match "sender only" SPD directionality). - Any of thegroupcryptographic transform-specific parameters and keysare shared across a large number of systems. The security issuesthat areleft unsolved bysent from theIPsec multicast extension service divide into two broad categories: outsider attacks, and insider attacks. 6.2.1 Outsider Attacks The IPsec multicast extension service does not defend against an Adversary outside ofGCKS to thegroup who has:Group Members (e.g., data origin authentication parameters as described in section 4.3). - Re-key rollover procedure time intervals (section 4.2.1). Thecapability to launch a multicast flooding denial-of-service attack againsttime that thegroup, originating from a system whoseGroup Receiver IPsecsubsystem does not filtersubsystems will wait after creating theunauthorized multicast transmissions. - Compromised a multicast router, allowingleading edge IPsec SA before they will retire theAdversary to corrupt or delete all multicast packets destined fortrailing edge IPsec SA. Also, thegroup endpoints downstream from that router. - Captured a copy of an earlier multicast packet transmission and then replays it to a grouptime thatdoes not havetheanti-replay service enabled. Note that for a large-scale any source multicast group,Group Sender will delay before itis impractical forstarts transmitting on theGroup Receivers to maintain an anti-replay state for every potential Group Sender. Group policies that require anti-replay protection for a large-scale any-source-multicast group should consider an application layer total order multicast protocol. 6.2.2 Insider Attacks For large-scale groups,leading edge's IPsec SA. 5. IP Traffic Processing Processing of traffic follows Section 5 of [RFC4301], with the additions described below when these IPsecuritymulticast extensions aredependent onsupported. 5.1 Outbound IP Traffic Processing If anautomated Group Key Management protocol to correctly authenticate and authorize trustworthy members in compliance to the group's policies. Inherent in the concept of a cryptographic groupIPsec SA isa setmarked as supporting tunnel mode with address preservation (as described in Section 3.1), either or both ofonethe outer header source ormore shared secrets entrusteddestination addresses are marked as being preserved. Weis, et al. Expires August 22, 2008 [Page 17] Internet-Draft Multicast Extensions toallRFC 4301 February 22, 2008 Header construction for tunnel mode is described in Section 5.1.2 of RFC 4301. The first bullet of that section is amended as follows: o If address preservation is not marked in thegroup's members. Consequently,SAD entry for either theservice's security guarantees are no stronger thanouter IP header Source Address or Destination Address, theweakest member admitted toouter IP header Source Address and Destination Address identify thegroup by"endpoints" of theGKM system. The GKM systemtunnel (the encapsulator and decapsulator). If address preservation isresponsiblemarked forresponding to compromised group member detection by executing a group key recovery procedure. The GKM re-keying protocol will expelthecompromised group members and distribute new group keying material toIP header Source Address, it is copied from thetrusted members. Alternatively,inner IP header Source Address. If address preservation is marked for thegroup policy may requireIP header Destination Address, it is copied from theGKM system to terminateinner IP header Destination Address. The inner IP header Source Address and Destination Addresses identify thegroup. Inoriginal sender and recipient of theevent that an Adversary has been admitted intodatagram (from thegroup byperspective of this tunnel), respectively. Address preservation MUST NOT be marked when theGKM system,IP version of thefollowing attacks are possibleencapsulating header andthey can not be solved byIP version of theIPsec multicast extension service: Weis, et al. Expires June 9, 2008 [Page 16] Internet-Draft Multicast Extensions toinner header do not match. Note (3) regarding construction of tunnel addresses in Section 5.1.2.1 of RFC 4301December 2007 - The Adversary can discloseis amended as follows: (3) Unless marked for address preservation Local and Remote addresses depend on thesecret group key or group dataSA, which is used toan unauthorized party outside ofdetermine thegroup. After a group key or data compromise, cryptographic methods such as traitor tracing or watermarking can assistRemote address, which inthe forensics process. However, these methods are outside the scope of this specification. - The insider Adversary can forge packet transmissions that appearturn determines which Local address (net interface) is used tobe from a peer group member. To defend against this attack for those Group Sender transmissions that merit the overhead,forward thegroup policy can requirepacket. If address preservation is marked for theGroup Sender to multicast packets usingLocal address, it is copied from thedata origin authentication service. -inner IP header. If address preservation is marked for thegroup's data origin authentication service uses digital signatures, thenRemote address, that address is copied from theinsider Adversary can launch a computational resource denial of service attackinner IP header. 5.2 Inbound IP Traffic Processing IPsec-protected packets generated bymulticasting bogus signed packets. 6.3 Implementation or Deployment Issues that Impact Security 6.3.1 Homogeneous Group Cryptographic Algorithm Capabilities Thean IPsec device supporting these multicast extensions may (depending on its GSPD policy) preserve a destination address such that the IPsecuritydestination address is not an IPsec device. This requires an IPsec device supporting these multicast extensionsservice can not defend against a poorly considered group security policyto process IP traffic thatallows a weaker cryptographic algorithm simply because all ofis not addressed to thegroup's endpointsIPsec device itself. The following additions to IPsec inbound IP traffic processing areknownnecessary. For compatibility with RFC 4301, the phrase "addressed tosupport it. Unfortunately, large-scale groups can be difficultthis device" is taken toupgrademean packets with a unicast destination address belonging to thecurrent best in class cryptographic algorithms. One possible approachsystem itself, and multicast packets that are received by the system itself. However, multicast packets not received by the IPsec device are not considered addressed tosolving manythis device. Weis, et al. Expires August 22, 2008 [Page 18] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 The discussion ofthese problems is the deploymentprocessing Inbound IP Traffic described in Section 5.2 ofcomposite groups that can straddle heterogeneous groups [COMPGRP]. A standard solution for heterogeneous groupsRFC 4301 isan activity for future standardization. Inamended as follows. The first dash in item 2 is amended as follows: - If theinterim, synchronization of a group's cryptographic capabilities couldpacket appears to beachieved using a secureIPsec protected andscalable software distribution management tool. 6.3.2 Groups that Span Two or More Security Policy Domains Large-scale groups may span multiple legal jurisdictions (e.g countries) that enforce limits on cryptographic algorithmsit is addressed to this device, orkey strengths. As currently defined, theappears to be IPsecmulticast extension service requires a single group policy per group. As noted above, this problem remainsprotected and is addressed to a multicast group, anarea for future standardization. 6.3.3 Network Address Translation Withattempt is made to map it to an active SA via theadvent of NATSAD. A new item is added to the list between items 3a andmobile nodes, IPsec multicast applications need3b toovercome several architectural barriersdescribe processing of IPsec packets with destination address preservation applied: 3aa. If the packet is addressed totheir successful deployment. This section surveys those problemsa multicast group andidentifiesAH or ESP is specified as theGSPD/SAD state informationprotocol, the packet is looked up in the SAD. Use the SPI plus the destination or SPI plus destination and source addresses, as specified in Section 4.1. If there is no match, the packet is directed to SPD-I lookup. Note that if theGKM protocol supporting NATIPsec device is a security gateway, andmobile nodes needthe SPD-I policy is tosynchronize acrossPYPASS thegroup membership.packet, a subsequent security gateway along the routed path of the multicast packet may decrypt the packet. Figure 3 in RFC 4301 is updated to show the new processing path defined in item 3aa. Weis, et al. ExpiresJune 9,August 22, 2008 [Page17]19] Internet-Draft Multicast Extensions to RFC 4301December 2007 6.3.3.1 GSPD Losses Synchronization with Internet Layer's State The most prominent problem facing GKM protocols supportingFebruary 22, 2008 Unprotected Interface | V +-----+ IPsecis that the GKM protocol's group security policy mechanism can inadvertently configure the group's GSPD traffic selectors with unreliable transient IP addresses. The IP addresses are transient becauseprotected ------------------->|Demux|-------------------+ | +-----+ | | | | | Not IPsec | | | | IPsec protected not | | V addressed to device | | +-------+ +---------+ and not in SAD | | |DISCARD|<---|SPD-I (*)|<------------+ | | +-------+ +---------+ | | | | | | | |-----+ | | | | | | | | | V | | | | +------+ | | | | | ICMP | | | | | +------+ | | | | | V +---------+ | +-----------+ ....|SPD-O (*)|............|...................|PROCESS(**)|...IPsec +---------+ | | (AH/ESP) | Boundary ^ | +-----------+ | | +---+ | | BYPASS | +-->|IKE| | | | | +---+ | | V | V | +----------+ +---------+ +----+ |--------<------|Forwarding|<---------|SAD Check|-->|ICMP| nested SAs +----------+ | (***) | +----+ | +---------+ V Protected Interface Figure 1. Processing Model for Inbound Traffic (amending Figure 3 ofeither node mobility or Network Address Translation (NAT), bothRFC 4301) The discussion ofwhich can unilaterally change a Group Sender's sourceprocessing Inbound IPaddress without signaling the GKM protocol. The absenceTraffic described in Section 5.2 of RFC 4301 is amended to insert aGSPD synchronization mechanism can causenew item 6 as follows. 6. If an IPsec SA is marked as supporting tunnel mode with address preservation (as described in Section 3.1), thegroup's data trafficWeis, et al. Expires August 22, 2008 [Page 20] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 marked address (i.e., source and/or destination address) on the outer IP header MUST bediscarded rather than processed correctly. 6.3.3.2 Mobile Multicast Care-Of Address Route Optimization Both Mobile IPv4 [RFC3344] and Mobile IPv6 provide transparent unicast communicationsverified toa mobile Node. However, comparable support for secure multicast mobility management isbe the same value as the inner IP header. If the addresses are notspecified by these standards. The goal isconsistent, theability to maintain an end-to- end transport mode group SA between a Group Sender mobile node that has a volatile care-of-address and a Group Receiver membership that also may have mobile endpoints. In particular, there is no secure mechanism for route optimization ofIPsec system MUST discard the packet, as well as treat thetriangularinconsistency as an auditable event. 6. Security Considerations The IP security multicastpath betweenextensions defined by this specification build on thecorrespondent Group Receiver nodes,unicast-oriented IP security architecture [RFC4301]. Consequently, this specification inherits many of thehome agent,RFC4301 security considerations and themobile node. Any proposed solution needsreader is advised tobe secure against hostile re-direct and flooding attacks. 6.3.3.3 NAT Translation Mappings Are Not Predictablereview it as companion guidance. 6.1 Security Issues Solved by IPsec Multicast Extensions Thefollowing spontaneous NAT behaviors adversely impact source- specific secureIP security multicastgroups. When a NAT gateway is onextension service provides thepath betweenfollowing network layer mechanisms for secure group communications: - Confidentiality using a group shared encryption key. - GroupSender residing behind a NATsource authentication and integrity protection using apublic IPv4 multicastgroup shared authentication key. - GroupReceiver, the NAT gateway alters the private source address toSender data origin authentication using a digital signature, TESLA, or other mechanism. - Anti-replay protection for apublic IPv4 address. This translation needs to be coordinated with everylimited number of GroupReceiver's inbound GSPDSenders using the ESP (or AH) sequence number facility. - Filtering of multicastentries that depend on thattransmissions identified with a source addressas a traffic selector. One might mistakenly assumeof systems thatthe GCKS could set up theare not authorized by group policy to be GroupMembersSenders. This feature leverages the IPsec state-less firewall service (i.e., SPD-I and/or SDP-O entries with aGSPD entry that anticipatespacket disposition specified as DISCARD). In support of thevalue(s) thatabove services, this specification enhances theNAT translatesdefinition of thepacket's source address. However, there are known cases where this address translation can spontaneously change without warning: - NAT gateways may re-bootSPD, PAD, andlose their address translation state information. - The NAT gateway may de-allocate its address translation state after an inactivity timer expires. The address translation used by the NAT gateway afterSAD databases to facilitate theresumptionautomated group key management of large-scale cryptographic groups. 6.2 Security Issues Not Solved by IPsec Multicast Extensions As noted in RFC4301 section 2.2, it is out of scope of this architecture to defend the group's keys or its application dataflow may differ thanagainst attacks targeting vulnerabilities of the operating environment in which the IPsec implementation executes. However, it should be noted thatknownthe risk of attacks originating by an adversary in the network is magnified to theGSPD selectors atextent that the groupendpoints.keys are shared across a large number of systems. Weis, et al. ExpiresJune 9,August 22, 2008 [Page18]21] Internet-Draft Multicast Extensions to RFC 4301December 2007 -February 22, 2008 TheGCKS maysecurity issues that are left unsolved by the IPsec multicast extension service divide into two broad categories: outsider attacks, and insider attacks. 6.2.1 Outsider Attacks The IPsec multicast extension service does nothave global consistent knowledgedefend against an Adversary outside ofathe groupendpoint's current public and private address mappings duewho has: - the capability tonetwork errors or race conditions. For example,launch aGroup Member's address may change due tomulticast flooding denial-of-service attack against the group, originating from aDHCP assigned address lease expiration.system whose IPsec subsystem does not filter the unauthorized multicast transmissions. -Alternate paths may exist betweencompromised agiven pair of Group Members. If there are parallel NAT gateways along those paths, thenmulticast router, allowing theaddress translation state information at each NAT gateway may produce different translations onAdversary to corrupt or delete all multicast packets destined for the group endpoints downstream from that router. - captured aper packet basis. The consequencecopy ofthis problem isan earlier multicast packet transmission and then replayed it to a group thatthe GCKS candoes notbe pre- configured with NAT mappings, ashave theGSPD atanti-replay service enabled. Note that for a large-scale any-source multicast group, it is impractical for the GroupMembers will lose synchronization as soon as a NAT mapping changes dueReceivers toany of the above events. In the worst case,maintain an anti-replay state for every potential GroupMembers in different sections of the network will see different NAT mappings, because the multicast packet traversed multiple NAT gateways. 6.3.3.4 SSM Routing Dependency on Source IP Address Source-Specific Multicast (SSM) routing depends onSender. Group policies that require anti-replay protection for a large-scale any-source-multicast group should consider an application layer total order multicastpacket's sourceprotocol. 6.2.2 Insider Attacks For large-scale groups, the IPaddress andsecurity multicastdestination IP addressextensions are dependent on an automated Group Key Management protocol to correctly authenticate and authorize trustworthy members in compliance tomake a correct forwarding decision. However, a NAT gateway alters that packet's source IP address as its passes from a private network intothepublic network. Mobility changesgroup's policies. Inherent in the concept of aGroup Member's pointcryptographic group is a set ofattachmentone or more shared secrets entrusted to all of theInternet, and this will changegroup's members. Consequently, thepacket's source IP address. Regardless of why it happened, this alteration inservice's security guarantees are no stronger than thesource IP address makes it infeasibleweakest member admitted to the group by the GKM system. The GKM system is responsible fortransit multicast routers inresponding to compromised group member detection by executing a re-key procedure. The GKM re-keying protocol will expel thepublic Internetcompromised group members and distribute new group keying material toknow which SSM sender originatedthemulticast packet, which in turn selectstrusted members. Alternatively, thecorrect multicast forwarding policy. 6.3.3.5 ESP Cloaks Its Payloads from NAT Gateway When traversing NAT, application layer protocols that contain IPv4 addresses in their payload needgroup policy may require theintervention of an Application Layer Gateway (ALG) that understands that application layer protocol [RFC3027] [RFC3235]. The ALG massagesGKM system to terminate thepayload's private IPv4 addressesgroup. In the event that an Adversary has been admitted intoequivalent public IPv4 addresses. However, when encryptedthe group byend-to-end ESP, such payloads are opaque to application layer gateways. When multiple Group Senders reside behind a NAT with a single public IPv4 address,theNAT gatewayGKM system, the following attacks are possible and they can notdo UDP or TCP protocol port translation (i.e. NAPT) because the ESP encryption concealsbe solved by thetransport layer protocol headers.IPsec multicast extension service: - Theuse of UDP encapsulated ESP [RFC3948] avoids this problem. However, this capability needs to be configured atAdversary can disclose theGCKS as asecret grouppolicy, and it needskey or group data tobe supported in unison by allan unauthorized party outside of the group. After a group key or data compromise, cryptographic methods such as traitor tracing or Weis, et al. ExpiresJune 9,August 22, 2008 [Page19]22] Internet-Draft Multicast Extensions to RFC 4301December 2007 endpoints withinFebruary 22, 2008 watermarking can assist in thegroup, evenforensics process. However, these methods are outside the scope of this specification. - The insider Adversary can forge packet transmissions that appear to be from a peer group member. To defend against this attack for those Group Sender transmissions that merit the overhead, the group policy can require the Group Sender to multicast packets using the data origin authentication service. - If the group's data origin authentication service uses digital signatures, then the insider Adversary can launch a computational resource denial of service attack by multicasting bogus signed packets. 6.3 Implementation or Deployment Issues that Impact Security 6.3.1 Homogeneous Group Cryptographic Algorithm Capabilities The IP security multicast extensions service can not defend against a poorly considered group security policy thatresideallows a weaker cryptographic algorithm simply because all of the group's endpoints are known to support it. Unfortunately, large-scale groups can be difficult to upgrade to the current best in class cryptographic algorithms. One possible approach to solving many of these problems is the deployment of composite groups that can straddle heterogeneous groups [COMPGRP]. A standard solution for heterogeneous groups is an activity for future standardization. In the interim, synchronization of a group's cryptographic capabilities could be achieved using a secure and scalable software distribution management tool. 6.3.2 Groups that Span Two or More Security Policy Domains Large-scale groups may span multiple legal jurisdictions (e.g countries) that enforce limits on cryptographic algorithms or key strengths. As currently defined, thepublic Internet. 6.3.3.6 UDP Checksum Dependency on Source IP Address AnIPsecsubsystem using UDP withinmulticast extension service requires a single group policy per group. As noted above, this problem remains anESP payload will encounter NAT induced problems. The original IPv4area for future standardization. 6.3.3 Source-Specific Multicast Group Sender Transient Locators A Source Specific Multicast (SSM) Group Sender's sourceaddress is an input parameter into a receiver's UDP pseudo-header checksum verification, yet that value is lost after theIPheader'saddresstranslation by a transit NAT gateway. The UDP header checksum is opaque within the encrypted ESP payload. Consequently, the checksumcannot be manipulated by the transit NAT gateways. UDP checksum verification needsdynamically change during amechanismsecure multicast group's lifetime. Examples of the events thatrecoverscan cause theoriginalGroup Sender's sourceIPv4addressat the Group Receiver endpoints. Into change include but are not limited to NAT, atransport mode multicast application GSA,mobility induced change in theUDP checksum operation requirescare-of-address, and a multi-homed host using a new IP interface. The change in theorigin endpoint'sGroup Sender's source IP address will cause those GSPD entries related tocomplete successfully. In IKEv2, this information is obtained from the Traffic Selectors associatedthat multicast group to become out of date with respect to theexchange [RFC4306, Section 2.23]. See also reference [RFC3947]. A facility that obtainsgroup's multicast routing state. In thesame result needs to exist inworst case, there is aGKM protocol payloadrisk thatdefinesthemulticast application GSA attributes for eachGroupSender. 6.3.3.7 Cannot Use AH with NAT Gateway The presence ofSender's data originating from aNAT gateway makes it impossiblenew source address will be BYPASS Weis, et al. Expires August 22, 2008 [Page 23] Internet-Draft Multicast Extensions touse an Authentication Header, keyedRFC 4301 February 22, 2008 processed by agroup-wide key, to protect the integrity ofsecurity gateway. If this scenario was not anticipated, then it could leak the group's data. Consequently, it is recommended that SSM secure multicast groups have a default DISCARD policy for all unauthorized Group Sender source IPheaderaddresses fortransmissions between members ofthecryptographic group.SSM group's destination IP address. 7. IANA Considerations This document has no actions for IANA. 8. Acknowledgements The authors wish to thank Steven Kent, Russ Housley, PasiEronenEronen, and Tero Kivinen for their helpful comments. The "Guidelines for Writing RFC Text on Security Considerations" [RFC3552] was consulted to develop the Security Considerations section of this memo. 9. References 9.1 Normative References [RFC1112] Deering, S., "Host Extensions for IP Multicasting," RFC 1112, August 1989.Weis, et al. Expires June 9, 2008 [Page 20] Internet-Draft Multicast Extensions to RFC 4301 December 2007[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Level", BCP 14, RFC 2119, March 1997. [RFC4301] Kent, S. and K. Seo, "Security Architecture for the Internet Protocol", RFC 4301, December 2005. [RFC4302] Kent, S., "IP Authentication Header", RFC 4302, December 2005. [RFC4303] Kent, S., "IP Encapsulating Security Payload (ESP)", RFC 4303, December2004.2005. 9.2 Informative References [COMPGRP] Gross G. and H. Cruickshank, "Multicast IP Security Composite Cryptographic Groups", draft-ietf-msec-ipsec- composite-group-01.txt, work in progress, February 2007. [RFC2526] Johnson, D., and S.Deering.,Deering, "Reserved IPv6 Subnet Anycast Addresses", RFC 2526, March 1999. [RFC2627] Wallner, D., Harder, E. and R. Agee, "Key Management for Multicast: Issues and Architectures", RFC 2627, September 1998. Weis, et al. Expires August 22, 2008 [Page 24] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 [RFC2914] Floyd, S., "Congestion Control Principles", RFC 2914, September 2000.[RFC3027] Holdrege, M., and P. Srisuresh, "Protocol Complications with the IP Network Address Translator", RFC 3027, January 2001.[RFC3171] Albanni, Z.,et.et al., "IANA Guidelines for IPv4 Multicast Address Assignments", RFC 3171, August 2001.[RFC3235] Senie, D., "Network Address Translator (NAT)-Friendly Application Design Guidelines", RFC 3235, January 2002.[RFC3306] Haberman B. and D. Thaler," Unicast-Prefix-based"Unicast-Prefix-based IPv6 Multicast Addresses", RFC3306, August 2002. [RFC3307] Haberman B.," Allocation"Allocation Guidelines for IPv6 Multicast Addresses", RFC3307, August 2002.[RFC3344] Perkins, C., "IP Mobility Support for IPv4", RFC 3344, August 2002.[RFC3376] Cain, B.,et.et al., "Internet Group Management Protocol, Version 3", RFC 3376, October 2002. [RFC3547] Baugher, M., Weis, B., Hardjono, T., and H. Harney, "The Group Domain of Interpretation", RFC 3547, December 2002.Weis, et al. Expires June 9, 2008 [Page 21] Internet-Draft Multicast Extensions to RFC 4301 December 2007[RFC3552] Rescorla, E.,et.et al., "Guidelines for Writing RFC Text on Security Considerations", RFC 3552, July 2003. [RFC3569] Bhattacharyya, S., "An Overview of Source-Specific Multicast (SSM)", RFC 3569, July 2003. [RFC3740] Hardjono,Tl,T., and B. Weis, "The Multicast Group Security Architecture", RFC 3740, March 2004. [RFC3810] Vida, R., and L. Costa, "Multicast Listener Discovery Version 2 (MLDv2) for IPv6", RFC 3810, June 2004. [RFC3940] Adamson, B.,et.et al., "Negative-acknowledgment (NACK)- Oriented Reliable Multicast (NORM) Protocol", RFC 3940, November 2004.[RFC3947] Kivinen, T., et. al., "Negotiation of NAT-Traversal in the IKE", RFC 3947, January 2005. [RFC3948] Huttunen, A., et. al., "UDP Encapsulation of IPsec ESP Packets", RFC 3948, January 2005.[RFC4046] Baugher, M., Dondeti, L., Canetti, R., and F. Lindholm, "Multicast Security (MSEC) Group Key Management Architecture", RFC4046, April 2005. [RFC4082] Perrig, A.,et.et al., "Timed Efficient Stream Loss- Tolerant Authentication (TESLA): Multicast Source Authentication Transform Introduction", RFC 4082, June 2005. [RFC4306] Kaufman, C., "Internet Key Exchange (IKEv2) Protocol", RFC 4306, December 2005. [RFC4359] Weis, B., "The Use of RSA/SHA-1 Signatures within Encapsulating Security Payload (ESP) and Authentication Header (AH)", RFC 4359, January 2006. Weis, et al. Expires August 22, 2008 [Page 25] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 [RFC4534] Colegrove, A., and H. Harney, "Group Security Policy Token v1", RFC 4534, June 2006. [RFC4535] Harney, H., Meth, U., Colegrove, A., and G. Gross, "GSAKMP: Group Secure Association Key Management Protocol", RFC 4535, June 2006. [RFC4601] Fenner, B.,et.et al., "Protocol Independent Multicast - Sparse Mode (PIM-SM): Protocol Specification (Revised)", RFC 4601, August 2006. [RFC4891] Graveman R., et al., "Using IPsec to Secure IPv6-in-IPv4 Tunnels", RFC 4891, May 2007. [ZLLY03] Zhang, X.,et.et al., "Protocol Design for Scalable and Reliable Group Rekeying", IEEE/ACM Transactions onWeis, et al. Expires June 9, 2008 [Page 22] Internet-Draft Multicast Extensions to RFC 4301 December 2007Networking (TON), Volume 11, Issue 6, December 2003. See http://www.cs.utexas.edu/users/lam/Vita/Cpapers/ZLLY01.p df. Weis, et al. ExpiresJune 9,August 22, 2008 [Page23]26] Internet-Draft Multicast Extensions to RFC 4301December 2007February 22, 2008 Appendix A - Multicast Application Service Models The vast majority of secure multicast applications can be catalogued by their service model and accompanying intra-group communication patterns. Both the Group Key Management (GKM) Subsystem and the IPsec subsystem MUST be able to configure the GSPD/SAD security policies to match these dominant usage scenarios. The GSPD/SAD policies MUST include the ability to configure both Any-Source-Multicast groups and Source-Specific-Multicast groups for each of these service models. The GKM Subsystem management interface MAY include mechanisms to configure the security policies for service models not identified by this standard. A.1 Unidirectional Multicast Applications Multi-media content delivery multicast applications that do not have congestion notification or retransmission error recovery mechanisms are inherently unidirectional. RFC 4301 only defines bi- directional unicast traffic selectors (as per sections 4.4.1 and 5.1 with respect to traffic selector directionality). The GKM Subsystem requires that the IPsec subsystem MUST support unidirectional SPD entries, which cause a Group SecurityAssociations (GSA)toAssociation (GSA) to be installed in only one direction. Multicast applications that have only one group member authorized to transmit can use this type of group security association to enforce that group policy. In the inverse direction, the GSA does not have a SAD entry, and the GSPD configuration is optionallysetupset up to discard unauthorized attempts to transmit unicast or multicast packets to the group. The GKM Subsystem's management interface MUST have the ability tosetupset up a GKM Subsystem group having a unidirectional GSA security policy. A.2 Bi-directional Reliable Multicast Applications Some secure multicast applications are characterized as one Group Sender to many receivers, but with inverse data flows required by a reliable multicast transport protocol(e.g.(e.g., NORM). In such applications, the data flow from the sender is multicast, and the inverse flow from the group's receivers is unicast to the sender. Typically, the inverse data flows carry error repair requests and congestion control status. For such applications, it is advantageous to use the same IPsec SA for protection of both unicast and multicast data flows. This does introduce one risk: the IKEv2 application may choose the same SPI for receiving unicast traffic as the GCKS chooses for a group IPsec SA covering unicast traffic. If both SAs are installed in the SAD, the SA lookup may return the wrong SPI as the result of an SA lookup. To avoid this problem, IPsec SAs installed by the Weis, et al. ExpiresJune 9,August 22, 2008 [Page24]27] Internet-Draft Multicast Extensions to RFC 4301December 2007February 22, 2008 GKM SHOULD use the 2-tuple {destination IP address, SPI} to identify each IPsec SA. In addition, the GKM SHOULD use a unicast destination IP address that does not match any destination IP address in use by an IKE-v2 unicast IPsec SA. For example, suppose a Group Member is using both IKEv2 and a GKM protocol, andandthe group security policy requires protecting the NORM inverse data flows as described above. In this case, group policy SHOULD allocate and use a unique unicast destination IP address representing the NORM Group Sender. This address would be configured in parallel to the Group Sender's existing IP addresses. The GKM subsystems at both the NORM Group Sender and Group Receiver endpoints would install the IPsec SA protecting the NORM unicast messages such that the SA lookup uses the unicast destination address as well as the SPI. The GSA SHOULD use IPsec anti-replay protection service for the sender's multicast data flow to the group's receivers. Because of the scalability problem described in the next section, it is not practical to use the IPsec anti-replay service for the unicast inverse flows. Consequently, in the inverse direction the IPsec anti-replay protection MUST be disabled. However, the unicast inverse flows can use the group's IPsec group authentication mechanism. The group receiver's GSPD entry for this GSA SHOULD be configured to only allow a unicast transmission to the senderNodenode rather than a multicast transmission to the whole group. If an ESP digital signature authentication is available(E.g.,(e.g., RFC 4359), source authentication MAY be used to authenticate a receiverNode'snode's transmission to the sender. The GKM protocol MUST define a key management mechanism for the Group Sender to validate the asserted signature public key of any receiverNodenode without requiring that the sender maintain state about every group receiver. This multicast application service model is RECOMMENDED because it includes congestion control feedback capabilities. Refer to [RFC2914] for additional background information. The GKM Subsystem's Group Owner management interface MUST have the ability tosetupset up a symmetric GSPD entry and one Group Sender. The management interface SHOULD be able to configure a group to have at least 16 concurrent authorized senders, each with their own GSA anti-replay state. A.3 Any-To-Any Multicast Applications Another family of secure multicast applications exhibitsaan "any to many" communications pattern. A representative example of such an application is a videoconference combined with an electronic whiteboard. Weis, et al. ExpiresJune 9,August 22, 2008 [Page25]28] Internet-Draft Multicast Extensions to RFC 4301December 2007February 22, 2008 For such applications, all (or a large subset) of the Group Members are authorized multicast senders. In such service models, creating a distinct IPsec SA with anti-replay state for every potential sender does not scale to large groups. The group SHOULD share one IPsec SA for all of its senders. The IPsec SA SHOULD NOT use the IPsec anti-replay protection service for the sender's multicast data flow to the Group Receivers. The GKM Subsystem's management interface MUST have the ability tosetupset up a group having an Any-To-Many Multicast GSA security policy. Author's Address Brian Weis Cisco Systems 170 W. Tasman Drive, San Jose, CA 95134-1706 USA Phone: +1-408-526-4796 Email: bew@cisco.com George Gross IdentAware Security 977 Bates Road Shoreham, VT 05770 USA Phone: +1-908-268-1629 Email: gmgross@identaware.com Dragan Ignjatic Polycom 1000 W. 14th Street North Vancouver, BC V7P 3P3 Canada Phone: +1-604-982-3424 Email: dignjatic@polycom.comWeis, et al. Expires June 9, 2008 [Page 26] Internet-Draft Multicast Extensions to RFC 4301 December 2007Full Copyright Statement Copyright (C) The IETF Trust(2007).(2008). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. Weis, et al. Expires August 22, 2008 [Page 29] Internet-Draft Multicast Extensions to RFC 4301 February 22, 2008 This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Intellectual Property The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org.Weis, et al. Expires June 9, 2008 [Page 27] Internet-Draft Multicast Extensions to RFC 4301 December 2007Acknowledgement Funding for the RFC Editor function is provided by the IETF Administrative Support Activity (IASA). Weis, et al. ExpiresJune 9,August 22, 2008 [Page28]30] ----