view Side-By-Side changes
NetworkL2TPEXT Working Group Baiju Patel INTERNET-DRAFT Intel Category: Standards Track Bernard Aboba<draft-ietf-l2tpext-security-02.txt><draft-ietf-l2tpext-security-03.txt> William Dixon 14 July 2001 Microsoft Glen Zorn Skip Booth Cisco SystemsFebruary 2001Securing L2TP usingIPSEC 1.IPsec Status of this Memo This document is an Internet-Draft and is in full conformance with all provisions of Section 10 of RFC2026. 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.This memo is filed as <draft-ietf-l2tpext-security-02.txt> and expires August 12, 2001. 2.Copyright Notice Copyright (C) The Internet Society (2001). All Rights Reserved.3.Abstract This document discusses how L2TP may utilizeIPSECIPsec to provide for tunnel authentication, privacy protection, integrity checking and replay protection. Both the voluntary and compulsory tunneling cases are discussed. Patel, et al. Standards TrackFORMFEED[Page[Page 1] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 20014.Table of Contents 1. Introduction .......................................... 3 1.1 Terminology ..................................... 3 1.2 RequirementsLanguage In this document, the key words "MAY", "MUST, "MUST NOT", "optional", "recommended", "SHOULD",language ........................... 4 2. L2TP security requirements ........................... 4 2.1 L2TP security protocol .......................... 5 2.2 Stateless compression and"SHOULD NOT", are to be interpreted as described in [2]. 5. Terminology Voluntary Tunneling In voluntary tunneling, aencryption ............ 6 3. L2TP/IPsec inter-operability guidelines ............... 6 3.1. L2TP tunnel and Phase 1 and 2 SA teardown ....... 6 3.2. Fragmentation Issues ............................ 6 3.3. Per-packet Security Checks ...................... 7 4. IPsec Filtering details when protecting L2TP .......... 7 4.1. IKE Phase 1 Negotiations ........................ 8 4.2. IKE Phase 2 Negotiations ........................ 8 5. Security considerations ............................... 14 5.1 Authentication issues ........................... 14 5.2 IPSEC and PPP interactions ...................... 17 6. References ............................................ 20 ACKNOWLEDGMENTS .............................................. 21 AUTHORS' ADDRESSES ........................................... 22 Appendix A: Example IPsec Filter sets ........................ 23 Intellectual property statement .............................. 26 Full Copyright Statement ..................................... 27 Patel, et al. Standards Track [Page 2] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 1. Introduction L2TP [1] iscreated by the user, typically via use of a tunneling client. Asaresult,protocol that tunnels PPP traffic over variety of networks (e.g., IP, SONET, ATM). Since theuser will sendprotocol encapsulates PPP, L2TPpackets toinherits PPP authentication, as well as theNASPPP Encryption Control Protocol (ECP) (described in [10]), and the Compression Control Protocol (CCP) (described in [9]). L2TP also includes support for tunnel authentication, whichwill forward them oncan be used to mutually authenticate theLNS. In voluntary tunneling, the NAStunnel endpoints. However, L2TP does notneed to support L2TP, and the LAC resides on the same machine as the user. Another example of voluntary tunneling is the gateway to gateway scenario. In this case thedefine tunnelis created by a network device, typically a router or network appliance. In this scenario either side may start the tunnel on demand. Compulsory Tunneling In compulsory tunneling, a tunnel is created without any action from the user and without allowing the user any choice. As a result, the user will send PPP packets to the NAS/LAC, which will encapsulate them in L2TP and tunnel them to the LNS. In the compulsory tunneling case, the NAS/LAC must be L2TP-capable. Initiator The initiator can be the LAC or the LNS and is the device which sends the SCCRQ and receives the SCCRP. Responder The responder can be the LAC or the LNS and is the device which receives the SCCRQ and replies with a SCCRP. 6. Introduction L2TP [1] is a protocol that tunnels PPP traffic over variety of networks (e.g., IP, SONET, ATM). Since the protocol encapsulates PPP, L2TP inherits PPP authentication, as well as the PPP Encryption Control Protocol (ECP) (described in [10]), and the Compression Control Protocol (CCP) (described in [9]). L2TP also includes support for tunnel authentication, which can be used to mutually authenticate the tunnel endpoints. However, L2TP does not define tunnel protection mechanisms. IPSECprotection mechanisms. IPsec is a protocol suite which is used to secure communication at the network layer between two peers. This protocol is comprised of IP Security Architecture document [6], IKE, described in [7],IPSECIPsec AH, described in [3] andIPSECIPsec ESP, described in [4]. IKE is the key management protocol while AH and ESP are used to protect IP traffic.Patel, et al. Standards Track FORMFEED[Page 2] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001This draft proposes use of theIPSECIPsec protocol suite for protecting L2TP traffic over IP networks, and discusses howIPSECIPsec and L2TP should be used together. This document does not attempt to standardize end-to-end security. When end-to-end security is required, it is recommended that additional security mechanisms (such asIPSECIPsec orTLS)TLS [14]) be used inside the tunnel, in addition to L2TP tunnel security. Although L2TP does not mandate the use of IP/UDP for its transport mechanism, the scope of this document is limited to L2TP over IP networks. The exact mechanisms for enabling security for non-IP networks must be addressed in appropriate standards for L2TP over specific non-IP networks.7. L2TP Security Requirements L2TP tunnels PPP traffic over the IP and non-IP public networks. Therefore, both1.1. Terminology Voluntary Tunneling In voluntary tunneling, a tunnel is created by thecontrol and data packetsuser, typically via use of a tunneling client. As a result, the client will send L2TP packets to the NAS which will forward them on to the LNS. In voluntary tunneling, the NAS does not need to support L2TP, and the LAC resides on the same machine as the client. Another example of voluntary tunneling is the gateway to gateway scenario. In this case the tunnel is created by a network device, typically a router or network appliance. In this scenario either side may start the tunnel on demand. Compulsory Tunneling In compulsory tunneling, a tunnel is created without any action from the client and without allowing the client any choice. As a result, the client will send PPP packets to the NAS/LAC, which will encapsulate them in L2TP and tunnel them Patel, et al. Standards Track [Page 3] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 to the LNS. In the compulsory tunneling case, the NAS/LAC must be L2TP-capable. Initiator The initiator can be the LAC or the LNS and is the device which sends the SCCRQ and receives the SCCRP. Responder The responder can be the LAC or the LNS and is the device which receives the SCCRQ and replies with a SCCRP. 1.2. Requirements language In this document, the key words "MAY", "MUST, "MUST NOT", "optional", "recommended", "SHOULD", and "SHOULD NOT", are to be interpreted as described in [2]. 2. L2TP security requirements L2TP tunnels PPP traffic over the IP and non-IP public networks. Therefore, both the control and data packets of L2TP protocol are vulnerable to attack. Examples of attacks include:1.[1] An adversary may try to discover user identities by snooping data packets.2.[2] An adversary may try to modify packets (both control and data).3.[3] An adversary may try to hijack the L2TP tunnel or the PPP connection inside the tunnel.4.[4] An adversary can launch denial of service attacks by terminating PPP connections, or L2TP tunnels.5.[5] An adversary may attempt to disrupt the PPP ECP negotiation in order to weaken or remove confidentiality protection. Alternatively, an adversary may wish to disrupt the PPP LCP authentication negotiation so as to weaken the PPP authentication process or gain access to user passwords. To address these threats, the L2TP security protocol MUST be able to provide authentication, integrity and replay protection for control packets. In addition, itSHOULDMUST be able to protect confidentialityoffor control packets. It MUST be able to provide integrity and replay protection of data packets, and MAY be able to protect confidentiality of data packets. An L2TP security protocol MUST also provide a scalable approach to key management. The L2TP protocol, and PPP authentication and encryption do not meet the security requirements for L2TP. L2TP tunnel authentication provides Patel, et al. Standards Track [Page 4] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 mutual authentication between the LAC and the LNS at tunnel origination. Therefore, it does not protect control and data traffic on a per packetPatel, et al. Standards Track FORMFEED[Page 3] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001basis. Thus, L2TP tunnel authentication leaves the L2TP tunnel vulnerable to attacks. PPP authenticates the client to the LNS, but also does not provide per-packet authentication, integrity, or replay protection. PPP encryption meets confidentiality requirements for PPP traffic but does not address authentication,integrityintegrity, replay protection and key management requirements. In addition, PPP ECP negotiation, outlined in [10] does not provide for a protectedcipher-suiteciphersuite negotiation. Therefore, PPP encryption provides a weak security solution, and in addition does not assist in securing L2TP control channel. Key management facilities are not provided by the L2TP protocol. However, where L2TP tunnel authentication is desired, it is necessary to distribute tunnel passwords. Note that several of the attacks outlined above can be carried out on PPP packets sent over the link between the client and the NAS/LAC, prior to encapsulation of the packets within an L2TP tunnel. While strictly speaking these attacks are outside the scope of L2TP security, in order to protect against them, theuserclient SHOULD provide for confidentiality,authenticationauthentication, replay and integrity protection for PPP packets sent over the dial-up link.AuthenticationAuthentication, replay and integrity protection are not currently supported by PPP encryption methods, described in [11]-[13].7.1.2.1. L2TP Security Protocol The L2TP security protocol MUST provide authentication, integrity and replay protection for control packets. In addition, it SHOULD protect confidentiality of control packets. It MUST provide integrity and replay protection of data packets, and MAY protect confidentiality of data packets. An L2TP security protocol MUST also provide a scalable approach to key management. To meet above requirements, all L2TP security compliant implementations MUST implementIPSECIPsec ESP for securing L2TP control packets and SHOULD implementIPSECIPsec ESP for protection of L2TP data packets. All mandated cipher suites, including NULL encryption, ofIPSECIPsec ESP MUST be supported. Note that if confidentiality is not required (e.g., L2TP data traffic), ESP with NULL encryption may be used. The implementations MUST implement replay protection mechanisms ofIPSEC.IPsec. L2TP security MUST meet the key management requirements of theIPSECIPsec protocol suite. IKE SHOULD be supported for authentication, security association negotiation, and key management using theIPSECIPsec DOI [5].7.2.Patel, et al. Standards Track [Page 5] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 2.2. StatelessCompressioncompression andEncryptionencryption Stateless encryption and/or compression is highly desirable when L2TP is run over IP. Since L2TP is a connection-oriented protocol, use ofPatel, et al. Standards Track FORMFEED[Page 4] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001stateful compression/encryption is feasible, but when run over IP, this is not desirable. While providing better compression,and somewhat more secure encryption, stateful methodswhen used without an underlying reliable deliverymechanismmechanism, stateful methods magnify packetlosses, and thuslosses. As a result, they are problematic when used over the Internet where packet loss can be significant.In addition, althoughAlthough L2TP [1] is connection oriented,the L2TP specification [1] does not mandatepacketordering,ordering is not mandatory, which can create difficulties in implementation of stateful compression/encryption schemes.However, theseThese considerations are not as important when L2TP is run over non-IP media such as IEEE 802, ATM, X.25, or Frame Relay, since these media guarantee ordering, and packet losses are typically low..NH 1 .R L2TP/IPSEC3. L2TP/IPsec inter-operability guidelines The following guidelines are established to meet L2TP security requirements usingIPSECIPsec in practical situations.Note that this section is not a requirement for an implementation to be3.1. L2TPsecurity compliant. Its purpose to make the implementors aware of certain efficiencytunnel andsecurity considerations. In the scenarios that follow, it is assumed that both L2TP clientsPhase 1 andservers are able to set2 SA teardown Mechanisms within PPP andget the properties of IPSEC security associations, as well as to influence the IPSEC security services negotiated. Furthermore, it is assumed thatL2TPclients and servers are able to influence the negotiation processprovide forPPP encryptionboth graceful andcompression. 7.3. Compulsory Tunnelnon- graceful teardown. In the case of PPP, an LCP TermReq and TermAck sequence corresponds to acompulsory tunnel,graceful teardown. LCP keep-alive messages and L2TP tunnel hellos provide thedial-in user will be sending PPP packetscapability to detect when a non- graceful teardown has occurred. Whenever teardown events occur, causing theLAC, and will typically not be aware that its packets are being tunneled, nor that any security services are in place between the LAC and LNS. Fromtunnel to close, theLNS's point of view, it will note arrival of a PPP data packet encapsulated in L2TP, which is itself encapsulatedcontrol connection teardown mechanism defined inan IP packet. Assuming that[1] must be used. Once theLNSL2TP tunnel isable to retrieve the properties of the Security Association set up between itselfdeleted by either peer, any phase 1 andthe LAC, it will have knowledgephase 2 SA's which still exist as a result of thesecurity services in placeL2TP tunnel between theLACpeers SHOULD be deleted. Phase 1 anditself. Thusphase 2 delete messages SHOULD be sent when this occurs. When IKE receives a phase 1 or phase 2 delete message, IKE should notify L2TP this event has occurred. If the L2TP state is such that a ZLB ack has been sent in response to a STOPCCN, this can be assumed to be positive acknowledgment that thecompulsory tunneling case,peer received thedial-in userZLB ack andthe LNS have unequal knowledgehas performed a teardown of any L2TP tunnel state associated with thesecurity services in place between them.peer. The L2TP tunnel state and any associated filters can now be safely removed. 3.2. Fragmentation Issues Since theLNSdefault MRU for PPP connections iscapable of knowing whether confidentiality, authentication, integrity and replay protection are in place between the LAC1500 bytes, fragmentation can become a concern when prepending L2TP anditself, itIPsec headers to a PPP frame. One mechanism which canusebe used to reduce thisknowledge in orderproblem is tomodify its behavior duringprovide PPPECP and CCP negotiation. For example, let us assume that LNS confidentiality policy can be described by onewith the MTU value of thefollowing terms: "Require Encryption," "Allow Encryption" or "Prohibit Encryption." If IPSEC confidentiality services are in place, then an LNS implementing a "Prohibit Encryption" policy will act as thoughingress/egress interface of thepolicy had been violated. Similarly, an LNS implementing a "RequireL2TP/IPsec tunnel minus the overhead of the extra headers. This should Patel, et al. Standards TrackFORMFEED[Page 5][Page 6] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 2001Encryption" or "Allow Encryption" policy will act as though these policies were satisfied, and would not mandate use of PPP encryption or compression. Note however, that this is notoccur after thesame as insisting that PPP encryptionL2TP tunnel has been setup andcompression be turned off, since this decision will depend on the policy of the dial-in user. Sincebut before LCP negotiations begin. If thedial-in user has no knowledgeMTU value of thesecurity services in place between the LAC andingress/egress interface for theLNS, and sincetunnel is less than PPP's default MTU, it maynot trustreplace theLAC orvalue being used. This value may also be used as thewire between itself andinitial value proposed for theLAC,MRU in thedial-in user will typically want to ensure sufficient security through use of end-to-end IPSEC or PPP encryption/compression between itself andLCP config req. If an ICMP PMTU is received by IPsec, this value should be stored in theLNS. A dial-in user wishingSA as proposed in [6]. IPsec should also provide notification of this event toensure security services overL2TP so that theentire travel path would not modify this behavior even if it had knowledge ofnew MTU value can be reflected into thesecurity services in place betweenPPP interface. Any new PTMU discoveries seen at theLACPPP interface should be checked against this new value andthe LNS. This is because the dial-in user needsprocessed accordingly. 3.3. Per-packet Security Checks When a packet arrives from a tunnel which requires security, L2TP MUST: [1] Check tonegotiate confidentiality services between itself andensure that theLNSpacket was decrypted and/or authenticated by IPsec. Since IPsec already verifies that the packet arrived inorder to provide privacy onthewire between itselfcorrect SA, L2TP can be assured that the packet was indeed sent by a trusted peer and that it did not arrive in theLAC. Similarly,clear. [2] Verify that thedial-in user needs to negotiate end-to-end security between itselfIP addresses andthe end-stationUDP port values inorder to ensure confidentiality ontheportion ofpacket match thepath betweensocket information which was used to setup theLNS andL2TP tunnel. This step prevents malicious peers from spoofing packets into other tunnels. 4. IPsec Filtering details when protecting L2TP Since IKE/IPsec is agnostic about theend-station. Given thatnuances of thedial-in user willapplication it is protecting, typicallynot trustno integration is necessary between theLAC and will negotiate confidentialityapplication andcompression services on its own,theLAC may only wishIPsec protocol. However, protocols which allow the port number tonegotiate IPSEC ESP with null encryption (described in []) withfloat during theLNS, andprotocol negotiations (such as L2TP), can cause problems within theLNS will request replay protection. This will ensure that confidentiality and compression services will not be duplicated overcurrent IKE framework. The L2TP specification [1] states that implementations MAY use a dynamically assigned UDP source port. This port change is reflected in thepath betweenSCCRP sent from theLAC andresponder to theLNS. This will typically result in better scalability forinitiator. Although theLAC, since encryption will be handled bycurrent L2TP specification allows thedial-in user andresponder to use a new IP address when sending theLNS. The dial-in user can satisfy its desireSCCRP, this behavior is not recommended forconfidentiality services in oneimplementations requiring protection oftwo ways. If it knows that all end-stations that it will communicate with are IPSEC-capable (or ifL2TP via IPsec. To allow for this behavior when using L2TP and IPsec, when the responder chooses a new IP address itrefuses to talkMUST send a StopCCN tonon- IPSEC capable end-stations), then it can refusethe initiator, with the Result and Error Code AVP present. The Result Code MUST be set tonegotiate PPP encryption/compression2 (General Error) andnegotiate IPSEC ESP withtheend-stations instead.Error Code SHOULD be set to 7 (Try Another). If theclient does not know that all end-stations it will contact are IPSEC capable (the most likely case),Error Code is set to 7, thenit will negotiate PPP encryption/compression. This may result in duplicate compression/encryption which can only be eliminated if PPP compression/encryption canthe optional error message MUST beturned off on a per-packet basis. Note that sincepresent and theLNS knowscontents MUST contain the dotted decimal IP address (UTF-8 encoded) that thedial-in user's packets are being tunneled but the dial-in user does not,Responder desires to use for subsequent communications and theLNS can ensure that stateless compression/encryption is used by offering stateless compression/encryption methods if available ininitiator MUST parse theECPresult andCCP negotiations.error code Patel, et al. Standards TrackFORMFEED[Page 6][Page 7] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 20017.4. Voluntary Tunnel Ininformation and send a new SCCRQ to thecasenew IP address contained in the error message. This approach reduces complexity since now the initiator always knows precisely the IP address of its peer. This also allows avoluntary tunnel, the dial-in user will be sendingcontrolled mechanism for L2TPpacketsto tie IPsec filters and policy to theNAS, which will route themsame peer. The filtering details required to accommodate this behavior as well as other mechanisms needed to protect L2TP with IPsec are discussed in theLNS. Overfollowing sections. 4.1. IKE Phase 1 Negotiations Per IKE [7], when using pre-shared key authentication, adialup link, these L2TP packets willkey must beencapsulated in IP and PPP. Assuming that it is possiblepresent forthe dial-in usereach peer to which secure communication is required. When using Main Mode (which provides identity protection), this key must correspond toretrieve the properties oftheSecurity Association between itself andIP address for theLNS,peer. When using Aggressive Mode (which does not provide identity protection), thedial-in user will have knowledgepre-shared key must map to one ofany security services negotiated between itself andtheLNS. It will also have knowledge of PPP encryption/compression services negotiated between itself andvalid id types defined in theNAS. >FromIPsec DOI [5]. If theLNS's point of view, it will noteinitiator receives aPPP packet encapsulated in L2TP, which is itself encapsulated in an IP frame. This situation is identical to the compulsory tunneling case. Assuming that the LNS is able to retrieve the properties ofStopCCN with theSecurity Associationresult and error code AVP setup between itselfto "try another" and a valid IP address is present in thedial-in user,message, itwill have knowledge ofMAY bind thesecurity services in place betweenoriginal pre-shared key used by IKE to thedial-in user and itself. Thusnew IP address contained in thevoluntary tunneling case, the dial-in user anderror-message. One may may wish to consider theLNS have symmetric knowledgeimplications for scalability of using pre-shared keys as thesecurity services in place between them. Sinceauthentication method for phase 1. As theLNS is capablenumber ofknowing whether confidentiality, authentication, integrity check or replay protection is in place between the dial-in userLAC anditself, it is able to use this knowledgeLNS endpoints grow, pre-shared keys become increasingly difficult tomodify its PPP ECP and CCP negotiation stance. If IPSEC confidentialitymanage. Whenever possible, authentication with certificates isin place,preferred. 4.2. IKE Phase 2 Negotiations During theLNS can behave as though a "Require Encryption" directive had been fulfilled, not mandating use of PPP encryption or compression. TypicallyIKE phase 2 negotiations, theLNS will not insist that PPP encryption/compression be turned off, instead leaving this decisionpeers agree on what traffic is to be protected by thedial-in user. SinceIPsec protocols. The quick mode IDs represent thedial-in user has knowledge oftraffic which thesecurity services in place between itselfpeers agree to protect andthe LNS, it can act as though a "Require Encryption" directive had been fulfilled if IPSEC ESP was already in place between itself and the LNS. Thus, it can request that PPP encryption and compression not be negotiated. Note that if IP compression services cannot be negotiated, it will typically be desirable to turn off PPP compression if no stateless method is available, due to the undesirable effects of stateful PPP compression. Thus in the voluntary tunneling case the dial-in user and LNS will typically be able to avoid useare comprised ofPPP encryption and compression, negotiating IPSEC Confidentiality, Authentication, and Integrity protection services instead, as well as IP Compression if available. This may result in duplicate encryption if the dial-in user is communicating with an IPSEC-capable end-station. In order to avoid duplicate encryption/compression, the dial-in user may negotiate two Security Associations with the LNS, one with ESP with null encryption,address space, protocol, andone with confidentiality/compression. Packets going to an IPSEC-port information. Patel, et al. Standards TrackFORMFEED[Page 7][Page 8] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 2001capable end-station would run over the ESP with null encryption security association, and packets to a non-IPSEC capable end-station would run over the other security association. Note that many IPSEC implementations cannot support this without allowingWhen securing L2TPpackets onwith IPsec, thesame tunnel tofollowing cases must beoriginated from multiple UDP ports. This requires modifications to the L2TP specification. Also note that the dial-in user may wish to put confidentiality services in place for non-tunneled packets traveling between itself and the NAS. This will protect the dial-in user against eavesdropping on the wire between itself and the NAS. As a result, it may wish to negotiate PPP encryption and compression withconsidered: Cases: +--------------------------------------------------+ | Initiator Port | Responder Addr | Responder Port | +--------------------------------------------------+ | 1701 | Fixed | 1701 | +--------------------------------------------------+ | 1701 | Fixed | Dynamic | +--------------------------------------------------+ | 1701 | Dynamic | 1701 | +--------------------------------------------------+ | 1701 | Dynamic | Dynamic | +--------------------------------------------------+ | Dynamic | Fixed | 1701 | +--------------------------------------------------+ | Dynamic | Fixed | Dynamic | +--------------------------------------------------+ | Dynamic | Dynamic | 1701 | +--------------------------------------------------+ | Dynamic | Dynamic | Dynamic | +--------------------------------------------------+ By solving theNAS. As in compulsory tunneling, this will result in duplicate encryption and possibly compression unless PPP compression/encryption can be turned off on a per-packet basis. 7.5. L2TP Tunnel and Phase 1 and 2 SA Teardown Theremost general case of the above permutations, all cases arevarious mechanisms designed into PPP and L2TP which providecovered. The most general case is theability to determine both graceful and non-graceful teardown events. Inlast one in thecase of PPP, an LCP TermReq and TermAck sequence corresponds tolist. This scenario is when the initiator chooses agraceful teardown. LCP keep-alive messagesnew port number andL2TP tunnel hellos providethecapability to detect whenresponder chooses anon-graceful teardown has occurred. Whenever any of these teardown events occurnew address and port number. The L2TP message flow whichcause the tunneloccurs toclose, the control connection teardown mechanism defined in [1] must be used. Once the L2TP tunnelsetup this sequence isdeleted by either peer, any phaseas follows: -> IKE Phase 1 andphasePhase 2SA's which still exist as a result of the L2TP tunnel between the peers SHOULD be deleted.to protect Initial SCCRQ SCCRQ -> (Fixed IP address, Dynamic Initiator Port) <- STOPCCN (Responder chooses new IP address) -> New IKE Phase 1 andphasePhase 2delete messages SHOULD be sent when this occurs. Anytimeto protect new SCCRQ SCCRQ -> (SCCRQ to Responder's new IP address) <- New IKEreceives a phase 1 or phasePhase 2delete message, IKE should notify L2TP this event has occurred. Ifto for port number change by the responder <- SCCRP (Responder chooses new port number) SCCCN -> (L2TP Tunnel Establishment completes) Although the Initiator and Responder typically do not dynamically change ports, L2TPstate issecurity must accommodate emerging applications suchthat a ZLB ack has been sent in response to a STOPCCN, this can be assumed to be positive acknowledgmentas load balancing and QoS. This may require that thepeer received the ZLB ackport andhas performed a teardown of anyIP address float during L2TP tunnelstate associated with the peer. Theestablishment. Patel, et al. Standards Track [Page 9] INTERNET-DRAFT Securing L2TPtunnel state and any associated filters can now be safely removed. 7.6. Fragmentation Issues SinceUsing IPsec 14 July 2001 To support thedefault MRU for PPP connections is 1500 bytes, fragmentation can become a concern when addinggeneral case, mechanisms must be designed into L2TP andIPSEC headers onto a PPP packet. One mechanismIPsec whichcanallow L2TP to inject filters into the IPsec filter database. This technique may be usedto reduce this problemby any application which floats ports and requires security via IPsec, and isto provide PPP withdescribed in theMTU value of the ingress/egress interface of the L2TP/IPSEC tunnel minusfollowing sections. The responder is not required to support theoverhead ofability to float it's IP address and port. However, theextra headers. This should occur afterinitiator MUST allow theL2TP tunnel has been setupresponder to float it's port andbut before LCP negotiations begin. IfSHOULD allow theMTU valueresponder float it's IP address. Appendix A provides examples of these cases using theingress/egress interfaceprocess described below. 4.2.1. Terminology definitions used for filtering statements I-Port The UDP port number thetunnel is less than PPP's default MTU, it may replace the value being used.Initiator chooses to originate/receive L2TP traffic on. Thisvalue may alsocan beuseda static port such asthe initial value proposed Patel, et al. Standards Track FORMFEED[Page 8] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001 for the MRU in the LCP config req. If1701 or anICMP PMTU is receivedephemeral one assigned byIPSEC, this value should be stored intheSA as proposed in [6]. IPSEC should also provide notification of this eventsocket. R-Port The UDP port number the Responder chooses to originate/receive L2TPso that the new MTU valuetraffic on. This can bereflected into the PPP interface. Any new PTMU discoveries seen at the PPP interface should be checked against this new value and processed accordingly. 7.7. Per-packet Security Checks When a packet arrives from a tunnel which requires security, L2TP MUST: 1) check to ensure thatthepacket was decrypted and/or authenticatedport number 1701 or an ephemeral one assigned byIPsec. Since IPsec already verifies thatthepacket arrived insocket. This is thecorrect SA, L2TP can be assured that the packet was indeed sent by a trusted peer and that it did not arrive inport number theclear. 2) verify thatResponder uses after receiving the initial SCCRQ. R-IPAddr1 The IPaddresses and UDP port values inaddress thepacket matchResponder listens on for initial SCCRQ. If thesocket information which wasresponder does not choose a new IP address, this address will be usedto setup the L2TP tunnel. This step prevents malicious peers from spoofing packets into other tunnels. 8. IPSEC Filtering Details When Protectingfor all subsequent L2TPSince IKE/IPSEC is fairly agnostic abouttraffic. R-IPAddr2 The IP address thenuances ofResponder chooses upon receiving theapplication it is protecting, typically no integrationSCCRQ. This address isnecessary between the application and the IPSEC protocol. However protocols such as L2TP which allow the port numberused tofloat during the protocol negotiations can cause problems withinsend thecurrent IKE framework. TheSCCRP and all subsequent L2TPspecification [1] states that implementations MAY use a dynamically assigned UDP source port. This port changetunnel traffic isreflected in the SCCRPsentfrom the responder to the initiator. Although the current L2TP specification allows the responder to use a newand received on this address. R-IPAddr The IP addresswhen sendingwhich theSCCRP, this behavior is not recommended for implementations requiring protection of L2TP via IPSEC. To allowresponder uses forthis behavior when using L2TPsending andIPSEC, whenreceiving L2TP packets. This is either theresponder choosesinitial value of R-IPAddr1 or a new value of R-IPAddr2. I-IPAddr The IP addressit MUST send a StopCCN totheinitiator,Initiator uses to communicate with for theResult and Error Code AVP present.L2TP tunnel. Any-Addr TheResult Code MUST be set to 2 (General Error) andpresence of Any-Address defines that IKE should accept any single address proposed in theError Code SHOULD be set to 7 (Try Another). Iflocal address of theError Code is set to 7, thenquick mode IDs sent by theoptional error message MUSTpeer during IKE phase 2 negotiations. This single address may bepresent and the contents MUST contain the dotted decimalformatted as an IP Single address, an IP Netmask address(UTF-8 encoded) thatwith theResponder desiresNetmask set touse for subsequent communications and the initiator MUST parse the result and error code information255.255.255.255, andsend a new SCCRQ to the newIP addresscontained in the error message. This approach reduces complexity since now the initiator always knows preciselyRange with theIP address of its peer. This also allowsrange being 1, or acontrolled mechanism for L2TPhostname which can be resolved totie IPSEC filters and policyone address. Refer to [5] for more information on thesame peer.format for quick mode IDs. Patel, et al. Standards TrackFORMFEED[Page 9][Page 10] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 2001 Any-Port Thefiltering details requiredpresence of Any-Port defines that IKE should accept a value of 0 or a specific port value for the port value in the port value in the quick mode IDs negotiated during IKE phase 2. The filters defined in the following sections are listed from highest priority toaccommodate this behavior as well as other mechanismslowest priority. 4.2.2. Initial filters needed to protectL2TP with IPSEC are discussed inthefollowing sections. 8.1. IKE Phase 1 Negotiations Per IKE [7], when using pre-shared key authentication, a keySCCRQ The initial filter set on the initiator and responder is necessary to protect the SCCRQ sent by the initiator to open the L2TP tunnel. Both the initiator and the responder must either bepresentpre-configured foreach peer which secure communication is required. When using Main Mode (provides identity protection) this keythese filters or L2TP mustcorrespondhave a method to inject this information into theIP address forIPsec filtering database. In either case, this filter MUST be present before thepeer.L2TP tunnel setup messages start to flow. Responder Filters: Outbound-1: None. They should be be dynamically created by IKE upon successful completion of phase 2. Inbound-1: From Any-Addr, to R-IPAddr1, UDP, src Any-Port, dst 1701 Initiator Filters: Outbound-1: From I-IPAddr, to R-IPAddr1, UDP, src I-Port, dst 1701 Inbound-1: From R-IPAddr1, to I-IPAddr, UDP, src 1701, dst I-Port Inbound-2: From R-IPAddr1, to I-IPAddr, UDP, src Any-Port, dst I-Port Whenusing Aggressive Mode (no identity protection)thepre-shared keyinitiator uses dynamic ports, L2TP mustmap to one ofinject thevalid id types defined infilters into theIPSEC DOI [5].IPsec filter database, once its source port number is known. If the initiatorreceivesuses aStopCCN withfixed port of 1701, these filters MAY be statically defined. The Any-Port definition in theresult and error code AVP setinitiator's inbound-2 filter statement is needed to"try another" andhandle the potential port change which may occur as the result of the responder changing its port number. If avalid IP addressphase 2 SA bundle is not already presentinto protect themessage, it MAY bindSCCRQ, theoriginal pre-shared key usedsending of a SCCRQ by the initiator SHOULD cause IKE to setup thenew IP address contained in the error-message. One maynecessary SAs to protect this packet. Alternatively, L2TP maywishalso request IKE toconsidersetup thescalability implications of using pre- shared keys asSA bundle. If theauthentication methodSA cannot be setup forphase 1. Assome reason, thenumber of LAC and LNS endpoints grow, use of pre-shared keys becomes increasingly difficult to manage. Whenever possible, authentication with certificates is preferred. 8.2. IKE Phase 2 Negotiations Duringpacket MUST be dropped. The port numbers in theIKE phase 2 negotiations,Quick Mode IDs sent by thepeers agree on what traffic isinitiator MUST contain the specific port numbers used to identify the UDP socket. The port numbers would beprotected byeither I-Port/1701 or 1701/1701 for theIPSEC protocols.initial SCCRQ. The quick mode IDsrepresent the traffic whichsent by thepeers agree to protect and are comprisedinitiator will be a subset ofaddress space, protocol, and port information. When securing L2TP with IPSEC,thefollowing cases must be considered: Cases: +--------------------------------------------------+ | Initiator Port | Responder Addr | Responder Port | +--------------------------------------------------+ | 1701 | Fixed | 1701 | +--------------------------------------------------+ | 1701 | Fixed | Dynamic | +--------------------------------------------------+ | 1701 | Dynamic | 1701 | +--------------------------------------------------+ | 1701 | Dynamic | Dynamic | +--------------------------------------------------+ | Dynamic | Fixed | 1701 | +--------------------------------------------------+ | Dynamic | Fixed | Dynamic |Patel, et al. Standards TrackFORMFEED[Page 10][Page 11] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 2001+--------------------------------------------------+ | Dynamic | Dynamic | 1701 | +--------------------------------------------------+ | Dynamic | Dynamic | Dynamic | +--------------------------------------------------+ By solving the most general case ofInbound-1 filter at theabove permutations, all cases are covered.responder. As a result, the quick mode exchange will finish and IKE should inject a specific filter set into the IPsec filter database and associate this filter set with the phase 2 SA established between the peers. These filters should persist as long as the L2TP tunnel exists. Themost general casenew filter set at the responder will be: Responder Filters: Outbound-1: From R-IPAddr1, to I-IPAddr, UDP, src 1701, dst I-Port Inbound-1: From I-IPAddr, to R-IPAddr1, UDP, src I-Port, dst 1701 Inbound-2: From Any-Addr, to R-IPAddr1, UDP, src Any-Port, dst 1701 Mechanisms SHOULD exist between L2TP and IPsec such that L2TP is not retransmitting thelast one inSCCRQ while thelist. This scenarioSA iswhenbeing established . L2TP's control channel retransmit mechanisms should start once the SA has been established. This will help avoid timeouts which may occur as the result of slow SA establishment. Once the phase 2 SA has been established between the peers, the SCCRQ should be sent from the initiatorchooses a new port number andto the responder. If the responderchoosesdoes not choose a new IP addressandor a new portnumber. Thenumber, the L2TPmessage flow which occurs to setup this sequence is as follows: -> IKE Phase 1 and Phase 2tunnel can now proceed toprotect Initial SCCRQ SCCRQ -> (Fixedestablish. 4.2.3. Responder chooses new IPaddress, Dynamic Initiator Port) <- STOPCCN (ResponderAddress This step describes the process which should be followed when the responder chooses a new IPaddress) -> New IKE Phase 1 and Phase 2address. The only opportunity for the responder toprotect new SCCRQchange it's IP address is after receiving the SCCRQ-> (SCCRQ to Responder'sbut before sending a SCCRP. The newIP address) <- New IKE Phase 2 to for port number change byaddress the responder<- SCCRP (Responderchoosesnew port number) SCCCN -> (L2TP Tunnel Establishment completes) Although the typical caseto use MUST be reflected intoday's environment is thattheInitiatorresult andResponder do not dynamically change ports, it iserror code AVP of arequirement that the L2TP Security protocolSTOPCCN message. The Result Code MUST bedesigned such that it can accommodate emerging applications such as load balancingset to 2 (General Error) andQoS issues. Both of these problems may require that portthe Error Code MUST be set to 7 (Try Another). The optional error message MUST be present and the contents MUST contain the dotted decimal IP addressfloat during L2TP tunnel establishment. In order(UTF-8 encoded) the Responder desires toallowuse forthis most general case, mechanisms mustsubsequent communications. The STOPCCN Message MUST bedesigned into L2TPsent using the same address andIPSECUDP port information whichallow L2TP to inject filters intotheIPSEC filter database. Note, this same technique may beinitiator usedby any application which floats ports and requires security via IPSEC.to send the SCCRQ. Thistechnique is described inmessage will be protecting using thefollowing sections. The responder is not requiredinitial SA bundle setup tosupportprotect theability to float it's IP address and port. However,SCCRQ. Upon receiving the STOPCCN, the initiator MUSTsupportparse theability to allowIP address from theresponder to float it's portResult andSHOULD supportError Code AVP and perform theabilitynecessary sanity checks tolet the responder float it's IPverify this is a correctly formatted address.Refer to Appendix A for specific examplesIf no errors are found L2TP should inject a new set ofthese casesfilters into the IPsec filter database. If using pre-shared key authentication, L2TP MAY request IKE to bind theprocess described below.Patel, et al. Standards TrackFORMFEED[Page 11][Page 12] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 20018.2.1. Definition of Terminology Used for Filtering Statements I-Port The UDP port number the Initiator chooses to originate/receive L2TP traffic on. This can be a static port such as 1701 or a ephemeral one assigned by the socket. R-Port The UDP port number the Responder choosesnew IP address tooriginate/receive L2TP traffic on. This can be the port number 1701 or a ephemeral one assigned by the socket. This istheport numberpre-shared key which was used for theResponder uses after receivingoriginal IP address. Since theinitial SCCRQ. R-IPAddr1 TheIP addressthe Responder listens on for initial SCCRQ. Ifof the responderdoes not choosechanged, a newIP address, this address willphase 1 and phase 2 SA must beused for all subsequent L2TP traffic. R-IPAddr2 The IP addressestablished between theResponder chooses upon receivingpeers before theSCCRQ. This addressnew SCCRQ isused to sendsent. Assuming theSCCRP and all subsequent L2TPinitial tunneltraffic is senthas been torn down andreceived on this address. R-IPAddr The IP address whichtheresponder uses for send and receiving L2TP packets. This is eitherfilters needed to create the tunnel removed, theinitial value of R-IPAddr1 or anewvalue of R-IPAddr2. I-IPAddr The IP addressfilters for the initiator and responder will be: InitiatorusesFilters: Outbound-1: From I-IPAddr, tocommunicate with for the L2TP tunnel. Any-Addr The presence of Any-Address defines that IKE should accept any single address proposed in the local address of the quick mode IDs sent by the peer duringR-IPAddr2, UDP, src I-Port, dst 1701 Inbound-1: From R-IPAddr2, to I-IPAddr, UDP, src 1701, dst I-Port Inbound-2: From R-IPAddr2, to I-IPAddr, UDP, src Any-Port, dst I-Port Once IKE phase 2negotiations. This single address may be formatted as an IP Single address, an IP Netmask address withcompletes, theNetmasknew filter set at the responder will be: Responder Filters: Outbound-1: From R-IPAddr2, to255.255.255.255, and IP address Range withI-IPAddr, UDP, src 1701, dst I-Port Inbound-1: From I-IPAddr, to R-IPAddr2, UDP, src I-Port, dst 1701 Inbound-2: From Any-Addr, to R-IPAddr1, UDP, src Any-Port, dst 1701 If therange being 1, or a hostname which can be resolved downresponder chooses not toone address. Refermove to[5] for more information ona new port number, theformat for quick mode IDs. Any-PortL2TP tunnel setup can now complete. 4.2.4. Responder chooses new Port Number Thepresence of Any-Port defines that IKE should accept a value of 0 orresponder MAY choose aspecificnew UDP source portvalueto use for L2TP tunnel traffic. This decision MUST be made before sending the SCCRP. If a new portvalue in the port value innumber is chosen, then L2TP must inject new filters into thequick mode IDs negotiated duringIPsec filter database. The responder must start new IKE phase2. The filters defined in the following sections are listed from highest priority to lowest priority. 8.2.2. Initial Filters Needed to Protect the SCCRQ The initial filter set on the initiator and responder are necessary to protect the SCCRQ sent by the initiator to open the L2TP tunnel. Both the initiator and2 negotiations with theresponder must either be pre-configured for theseinitiator. Patel, et al. Standards TrackFORMFEED[Page 12][Page 13] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 2001filters or L2TP must have a method to inject this information into the IPSEC filtering database. In either case, thisThe final filterMUST be present beforeset at theL2TP tunnel setup messages start to flow. Responderinitiator and responder is as follows. Initiator Filters: Outbound-1:None. They should be be dynamically created by IKE upon successful completion of phase 2. Inbound-1:FromAny-Addr,I-IPAddr, toR-IPAddr1,R-IPAddr, UDP, srcAny-Port,I-Port, dst1701 Initiator Filters: Outbound-1:R-Port Outbound-2: From I-IPAddr, toR-IPAddr1,R-IPAddr, UDP, src I-Port, dst 1701 Inbound-1: FromR-IPAddr1,R-IPAddr, to I-IPAddr, UDP, src1701,R-Port, dst I-Port Inbound-2: FromR-IPAddr1,R-IPAddr, to I-IPAddr, UDP, src 1701, dst I-Port Inbound-3: From R-IPAddr, to I-IPAddr, UDP, src Any-Port, dst I-PortWhen the initiator uses dynamic ports, L2TP must inject the filters into the IPSECThe Inbound-1 filterdatabase once its source port number is known. Iffor the initiatoruses a fixed port of 1701, these filters MAYwill bestatically defined. The Any-Port definition in the initiator's inbound-2 filter statement is needed to handle the potential port change which may occur as the resultinjected by IKE upon successful completion of theresponder changing it's port number. If aphase 2SA bundle is not already present to protect the SCCRQ, the sending of a SCCRQnegotiations initiated by theinitiator SHOULD cause IKEpeer. Responder Filters: Outbound-1: From R-IPAddr, tosetup the necessary SAs to protect this packet. Alternatively, L2TP may also request IKE to setup the SA bundle. If the SA cannot be setup for some reason, the packet MUST be dropped. The port numbers in the Quick Mode IDs sent by the initiator MUST contain the specific port numbers used to identify the UDP socket. The port numbers would be either I-Port/1701 or 1701/1701 for the initial SCCRQ. The quick mode IDs sent by the initiator will be a subset of the Inbound-1 filter at the responder. As a result, the quick mode exchange will finish and IKE should inject a specific filter set into the IPSEC filter database and associate this filter set with the phase 2 SA established between the peers. These filters should persist as long as the L2TP tunnel exists. The new filter set at the responder will be: Responder Filters: Outbound-1:I-IPAddr, UDP, src R-Port, dst I-Port Outbound-2: FromR-IPAddr1,R-IPAddr, to I-IPAddr, UDP, src 1701, dst I-Port Inbound-1: From I-IPAddr, toR-IPAddr1,R-IPAddr, UDP, src I-Port, dst1701R-Port Inbound-2: From I-IPAddr, to R-IPAddr, UDP, src I-Port, dst 1701 Inbound-3: From Any-Addr, to R-IPAddr1, UDP, src Any-Port, dst 1701Mechanisms SHOULD exist between L2TP and IPSEC such that L2TP is not Patel, et al. Standards Track FORMFEED[Page 13] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001 retransmittingOnce theSCCRQ whilenegotiations have completed, theSASCCRP isbeing established . L2TP's control channel retransmit mechanisms should start oncesent and theSAL2TP tunnel can complete establishment. After the L2TP tunnel has beenestablished. This will help avoid timeouts whichestablished, any residual SAs and their associated filters mayoccur asbe deleted. 4.2.5. Gateway-gateway and L2TP Dial-out considerations In theresult of slow SA establishment. Oncegateway-gateway or thephase 2 SA has been established between the peers,L2TP dial-out scenario, either side may initiate L2TP. The process outlined in theSCCRQprevious steps should besent fromfollowed with one addition. The initial filter set at both sides MUST include theinitiatorfollowing filter: Inbound Filter: 1: From Any-Addr, to R-IPAddr1, UDP, src Any-Port, dst 1701 When either peer decides to start a tunnel, L2TP should inject the necessary inbound and outbound filters to protect theresponder. IfSCCRQ. Tunnel establishment then proceeds exactly as stated in theresponderprevious sections. 5. Security considerations 5.1. Authentication issues IPsec IKE negotiation MUST negotiate an authentication method specified in the IKE RFC 2409 [7]. In addition to IKE authentication, L2TP implementations utilize PPP authentication methods, such as those Patel, et al. Standards Track [Page 14] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 described in [15]-[16]. In this section, we discuss authentication issues. 5.1.1. Differences between IKE and PPP authentication While PPP provides initial authentication, it does notchoose a new IP addressprovide per- packet authentication, integrity ora new port number, the L2TP tunnel can now proceed to establish. 8.2.3. Responder Chooses New IP Addressreplay protection. Thisstep describesimplies that theprocess which should be followed whenidentity verified in theresponder chooses a new IP address. The only opportunity forinitial PPP authentication is not subsequently verified on reception of each packet. With IPSEC, when theresponder to change it's IP addressidentity asserted in IKE isafter receivingauthenticated, theSCCRQ but before sendingresulting derived keys are used to provide per-packet authentication, integrity and replay protection. As aSCCRP. The new addressresult, theresponder chooses to use MUST be reflectedidentity verified in theresult and error code AVPIKE conversation is subsequently verified on reception of each packet. Let us assume that the identity claimed in PPP is aSTOPCCN message. The Result Code MUST be set to 2 (General Error) anduser identity, while theError Code MUST be set to 7 (Try Another). The optional error message MUST be present andidentity claimed within IKE is a machine identity. Since only thecontents MUST containmachine identity is verified on a per-packet basis, there is no way to verify that only thedotted decimal IP address (UTF-8 encoded)user authenticated within PPP is using theResponder desirestunnel. In fact, IPSEC implementations that only support machine authentication typically have no way touse for subsequent communications. The STOPCCN Message MUSTenforce traffic segregation. As a result, where machine authentication is used, once an L2TP/IPSEC tunnel is opened, any user on a multi-user machine will typically besent using the same address and UDP port information which the initiator usedable to send traffic down theSCCRQ. This message willtunnel. If the IPSEC implementation supports user authentication, this problem can beprotecting usingaverted. In this case, theinitial SA bundle setupuser identity asserted within IKE will be verified on a per-packet basis. In order toprotect the SCCRQ. Upon receiving the STOPCCN,provide segregation of traffic between users When user authentication is used, theinitiatorclient MUSTparse the IP addressensure that only traffic fromthe Result and Error Code AVP and perform the necessary sanity checks to verify thisthat particular user isa correctly formatted address. If no errors are found L2TP should inject a new set of filters intosent down theIPSEC filter database. If using pre-shared key authentication,L2TPMAY requesttunnel. 5.1.2. Certificate authentication in IKEto bind the new IP address to the pre-shared key which was used for the original IP address. SinceWhen X.509 certificate authentication is chosen within IKE, theIP address ofLNS is expected to use an IKE Certificate Request Payload (CRP) to request from theresponder changed,client anew phase 1certificate issued by a particular certificate authority or may use several CRPs if several certificate authorities are trusted andphase 2 SA mustconfigured in its IPsec IKE authentication policy. The LNS SHOULD beestablished between the peers before the new SCCRQ is sent. Assuming the initial tunnel has been torn down and the filters neededable tocreate thetrust several certificate authorities in order to allow tunnelremoved, the new filters for the initiator and responder will be: Initiator Filters: Outbound-1: From I-IPAddr,client end-points toR-IPAddr2, UDP, src I-Port, dst 1701connect to it using their own certificate credential from their chosen PKI. Client and server side certificate revocation list checking MAY be enabled on a per-CA basis, since differences in revocation list checking exist between different PKI providers. Patel, et al. Standards TrackFORMFEED[Page 14][Page 15] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 2001Inbound-1: From R-IPAddr2, to I-IPAddr, UDP, src 1701, dst I-Port Inbound-2: From R-IPAddr2, to I-IPAddr, UDP, src Any-Port, dst I-Port OnceL2TP implementations MAY use dynamically assigned ports for both source and destination ports only if security for each source and destination port combinations can be successfully negotiated by IKE. 5.1.3. Machine versus user certificate authentication in IKEphase 2 completes,The certificate credentials provided by thenew filter set atL2TP client during theresponder will be: Responder Filters: Outbound-1: From R-IPAddr2, to I-IPAddr, UDP, src 1701, dst I-Port Inbound-1: From I-IPAddr, to R-IPAddr2, UDP, src I-Port, dst 1701 Inbound-2: From Any-Addr, to R-IPAddr1, UDP, src Any-Port, dst 1701 IfIKE negotiation MAY be those of theresponder chooses not to move to a new port number,machine or of the L2TPtunnel setupuser. When machine authentication is used, the machine certificate is typically stored on the LAC and LNS during an enrollment process. When user certificates are used, the user certificate cannow complete. 8.2.4. Responder Chooses New Port Number The responder MAY choose a new UDP source port to use for L2TP tunnel traffic. This decision MUSTbemade before sendingstored either on theSCCRP. Ifmachine or on anew port numbersmartcard. Since the value of a machine certificate ischosen, then L2TP must inject new filters intoinversely proportional to theIPSEC filter database. The responder must start new IKE phase 2 negotiationsease with which an attacker can obtain one under false pretenses, it is advisable that theinitiator. The final filter set atmachine certificate enrollment process be strictly controlled. For example, only administrators may have theinitiator and responder is as follows. Initiator Filters: Outbound-1: From I-IPAddr, to R-IPAddr, UDP, src I-Port, dst R-Port Outbound-2: From I-IPAddr, to R-IPAddr, UDP, src I-Port, dst 1701 Inbound-1: From R-IPAddr, to I-IPAddr, UDP, src R-Port, dst I-Port Inbound-2: From R-IPAddr, to I-IPAddr, UDP, src 1701, dst I-Port Inbound-3: From R-IPAddr,ability toI-IPAddr, UDP, src Any-Port, dst I-Port The Inbound-1 filter forenroll a machine with a machine certificate. While smartcard certificate storage lessens theinitiator will be injected by IKE upon successful completionprobability of compromise of thephase 2 negotiations initiated by the peer. Responder Filters: Outbound-1: From R-IPAddr,private key, smartcards are not necessarily desirable in all situations. For example, some organizations deploying machine certificates use them so as to restrict use of non-approved hardware. Since user authentication can be provided within PPP (keeping in mind the weaknesses described earlier), support for machine authentication in IPsec makes it is possible to authenticate both the machine as well as the user. In circumstances in which this dual assurance is considered valuable, enabling movement of the machine certificate from one machine to another, as would be possible if the machine certificate were stored on a smart card, may be undesirable. Similarly, when user certificate are deployed, it is advisable for the user enrollment process to be strictly controlled. If for example, a user password can be readily used to obtain a certificate (either a temporary or a longer term one), then that certificate has no more security value than the password. To limit the ability of an attacker to obtain a user certificate from a stolen password, the enrollment period can be limited, after which password access will be turned off. Such a policy will prevent an attacker obtaining the password of an unused account from obtaining a user certificate once the enrollment period has expired. 5.1.4. Pre-shared keys in IKE Use of pre-shared keys in IKE main mode is vulnerable to man-in-the- middle attacks when used in remote access situations. In main mode it is Patel, et al. Standards Track [Page 16] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 necessary for SKEYID_e to be used prior to the receipt of the identification payload. Therefore the selection of the pre-shared key may only be based on information contained in the IP header. However, in remote access situations, dynamic IP address assignment is typical, so that it is often not possible to identify the required pre-shared key based on the IP address. Thus when pre-shared keys are used in remote access scenarios, the same pre-shared key is shared by a group of users and is no longer able to function as an effective shared secret. In this situation, neither the client nor the server identifies itself during IKE phase 1; it is only known that both parties are a member of the group with knowledge of the pre-shared key. This permits anyone with access to the group pre-shared key to act as a man-in-the-middle. This vulnerability does not occur in aggressive mode since the identity payload is sent earlier in the exchange, and therefore the pre-shared key can be selected based on the identity. However, when aggressive mode is used the user identity is exposed and this is often considered undesirable. As a result, where main mode is used with pre-shared keys, unless PPP performs mutual authentication, the server is not authenticated. This enables a rogue server in possession of the group pre-shared key to successfully masquerade as the LNS and mount a dictionary attack on legacy authentication methods such as CHAP [15]. Such an attack could potentially compromise many passwords at a time. This vulnerability is present in some existing IPSEC tunnel mode implementations. To avoid this problem, L2TP/IPSEC implementations SHOULD NOT use a group pre-shared key for IKE authentication to the LNS. IKE pre-shared authentication key values SHOULD be protected in a manner similar to the user's account password used by L2TP. 5.2. IPSEC and PPP security interactions When L2TP is protected with IPsec, both PPP and IPsec security services are available. Which services are negotiated depends on whether the tunnel is compulsory or voluntary. A detailed analysis of voluntary and compulsory tunneling scenarios is included below. These scenarios are non-normative and do not create requirements for an implementation to be L2TP security compliant. In the scenarios below, it is assumed that both L2TP clients and servers are able to set and get the properties of IPsec security associations, as well as to influence the IPsec security services negotiated. Furthermore, it is assumed that L2TP clients and servers are able to influence the negotiation process for PPP encryption and compression. Patel, et al. Standards Track [Page 17] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 5.2.1. Compulsory tunnel In the case of a compulsory tunnel, the client sends PPP frames to the LAC, and will typically not be aware that the frames are being tunneled, nor that any security services are in place between the LAC and LNS. At the LNS, a data packet will arrive, which includes a PPP frame encapsulated in L2TP, which is itself encapsulated in an IP packet. By obtaining the properties of the Security Association set up between the LNS and the LAC, the LNS can obtain information about security services in place between itself and the LAC. Thus in the compulsory tunneling case, the client and the LNS have unequal knowledge of the security services in place between them. Since the LNS is capable of knowing whether confidentiality, authentication, integrity and replay protection are in place between itself and the LAC, it can use this knowledge in order to modify its behavior during PPP ECP [10] and CCP [9] negotiation. Let us assume that LNS confidentiality policy can be described by one of the following terms: "Require Encryption," "Allow Encryption" or "Prohibit Encryption." If IPsec confidentiality services are in place, then an LNS implementing a "Prohibit Encryption" policy will act as though the policy had been violated. Similarly, an LNS implementing a "Require Encryption" or "Allow Encryption" policy will act as though these policies were satisfied, and would not mandate use of PPP encryption or compression. This is not the same as insisting that PPP encryption and compression be turned off, since this decision will depend on client policy. Since the client has no knowledge of the security services in place between the LAC and the LNS, and since it may not trust the LAC or the wire between itself and the LAC, the client will typically want to ensure sufficient security through use of end-to-end IPsec or PPP encryption/compression between itself and the LNS. A client wishing to ensure security services over the entire travel path would not modify this behavior even if it had knowledge of the security services in place between the LAC and the LNS. The client negotiates confidentiality services between itself and the LNS in order to provide privacy on the wire between itself and the LAC. The client negotiates end-to-end security between itself and the end-station in order to ensure confidentiality on the portion of the path between the LNS and the end-station. The client will typically not trust the LAC and will negotiate confidentiality and compression services on its own. As a result, the LAC may only wish to negotiate IPsec ESP with null encryption with the LNS, and the LNS will request replay protection. This will ensure that confidentiality and compression services will not be duplicated over the Patel, et al. Standards Track [Page 18] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 path between the LAC and the LNS. This results in better scalability for the LAC, since encryption will be handled by the client and the LNS. The client can satisfy its desire for confidentiality services in one of two ways. If it knows that all end-stations that it will communicate with are IPsec-capable (or if it refuses toI-IPAddr, UDP, src R-Port, dst I-Port Outbound-2: From R-IPAddr,talk toI-IPAddr, UDP, src 1701, dst I-Port Inbound-1: From I-IPAddr,non- IPsec capable end-stations), then it can refuse toR-IPAddr, UDP, src I-Port, dst R-Port Inbound-2: From I-IPAddr,negotiate PPP encryption/compression and negotiate IPsec ESP with the end-stations instead. If the client does not know that all end-stations it will contact are IPsec capable (the most likely case), then it will negotiate PPP encryption/compression. This may result in duplicate compression/encryption which can only be eliminated if PPP compression/encryption can be turned off on a per-packet basis. Note that since the LNS knows that the client's packets are being tunneled but the client does not, the LNS can ensure that stateless compression/encryption is used by offering stateless compression/encryption methods if available in the ECP and CCP negotiations. 5.2.2. Voluntary tunnel In the case of a voluntary tunnel, the client will be send L2TP packets toR-IPAddr, UDP, src I-Port, dst 1701 Inbound-3: From Any-Addr,the NAS, which will route them to the LNS. Over a dialup link, these L2TP packets will be encapsulated in IP and PPP. Assuming that it is possible for the client toR-IPAddr1, UDP, src Any-Port, dst 1701 Onceretrieve thenegotiations have completed,properties of theSCCRP is sentSecurity Association between itself and theL2TP tunnel can complete establishment. AfterLNS, theL2TP tunnel has been established,client will have knowledge of anyresidual SAs and their associated filters may be deleted. Patel, et al. Standards Track FORMFEED[Page 15] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001 8.2.5. Gateway-gatewaysecurity services negotiated between itself andL2TP Dial-out Considerations Inthegateway-gateway orLNS. It will also have knowledge of PPP encryption/compression services negotiated between itself and theL2TP dial-out scenario, either side may initiateNAS. >From theL2TP. The process outlinedLNS point of view, it will note a PPP frame encapsulated in L2TP, which is itself encapsulated in an IP packet. This situation is identical to theprevious steps should be followed with one addition. The initial filtercompulsory tunneling case. If LNS retrieves the properties of the Security Association setat both sides MUST includeup between itself and thefollowing filter: Inbound Filter: 1: From Any-Addr,client, it can be informed of the security services in place between them. Thus in the voluntary tunneling case, the client and the LNS have symmetric knowledge of the security services in place between them. Since the LNS is capable of knowing whether confidentiality, authentication, integrity check or replay protection is in place between the client and itself, it is able toR-IPAddr1, UDP, src Any-Port, dst 1701 When either peer decidesuse this knowledge to modify its PPP ECP and CCP negotiation stance. If IPsec confidentiality is in place, the LNS can behave as though a "Require Encryption" directive had been fulfilled, not mandating use of PPP encryption or compression. Typically the LNS will not insist that PPP encryption/compression be turned off, instead leaving this decision tostart a tunnel,the client. Patel, et al. Standards Track [Page 19] INTERNET-DRAFT Securing L2TPshould injectUsing IPsec 14 July 2001 Since thenecessary inboundclient has knowledge of the security services in place between itself andoutbound filters to protecttheSCCRQ. Tunnel establishment then proceeds exactlyLNS, it can act asstatedthough a "Require Encryption" directive had been fulfilled if IPsec ESP was already in place between itself and theprevious sections. 9. Security Considerations IPSEC IKE negotiation MUST negotiate an authenticationLNS. Thus, it can request that PPP encryption and compression not be negotiated. If IP compression services cannot be negotiated, it will typically be desirable to turn off PPP compression if no stateless methodspecifiedis available, due to the undesirable effects of stateful PPP compression. Thus in theIKE RFC 2409 [7]. When X.509 certificate authentication is chosen,voluntary tunneling case the client and LNSis expectedwill typically be able to avoid use of PPP encryption and compression, negotiating IPsec Confidentiality, Authentication, and Integrity protection services instead, as well as IP Compression, if available. This may result in duplicate encryption if the client is communicating with anIKE Certificate Request Payload (CRP)IPsec-capable end-station. In order torequest fromavoid duplicate encryption/compression, the clienta certificate issued by a particular certificate authority ormayuse several CRPs if several certificate authorities are trustednegotiate two Security Associations with the LNS, one with ESP with null encryption, and one with confidentiality/compression. Packets going to an IPsec- capable end-station would run over the ESP with null encryption security association, andconfigured in its IPSEC IKE authentication policy. The certificate credentials provided bypackets to a non-IPsec capable end-station would run over the other security association. Note that many IPsec implementations cannot support this without allowing L2TPclient duringpackets on theIKE negotiation MAYsame tunnel to bethose of the machine or of the L2TP user. Whenoriginated from multiple UDP ports. This requires modifications to the L2TPuser certificate is used, the client MUST ensure that only traffic fromspecification. Also note thatparticular user is sent downtheL2TP tunnel. The LNS SHOULD be able to trust several certificate authorities in order to allow tunnelclientend-points to connectmay wish toit using their own certificate credential from their chosen PKI. Client and server side certificate revocation list checking MAY be enabled on a per-CA basis, since differencesput confidentiality services inrevocation list checking exist between different PKI providers. L2TP implementations MAY use dynamically assigned ports for both source and destination ports only if securityplace foreach sourcenon-tunneled packets traveling between itself anddestination port combinations can be successfully negotiated by IKE. A single pre-shared key for all IKE authentication to an LNS SHOULD NOT be used. IKE pre-shared authentication key values SHOULD be protected in a manner similar totheuser's account password used by L2TP. 10. Acknowledgments Thanks to Gurdeep Singh Pall, David Eitelbach, Peter Ford,NAS. This will protect the client against eavesdropping on the wire between itself andSanjay Anand of Microsoft, John Richardson of Intelthe NAS. As a result, it may wish to negotiate PPP encryption andRob Adams of Cisco for Patel, et al. Standards Track FORMFEED[Page 16] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001 many useful discussions ofcompression with the NAS. As in compulsory tunneling, thisproblem space. 11.will result in duplicate encryption and possibly compression unless PPP compression/encryption can be turned off on a per-packet basis. 6. References [1] Townsley, W., Valencia, A., Rubens, A., Pall, G., Zorn, G., and Palter, B., "Layer Two Tunneling Protocol L2TP", RFC 2661, August 1999. [2] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [3]Kent, S.,Kent,S., Atkinson, R., "IP Authentication Header", RFC 2402, November 1998. [4]Kent, S.,Kent,S., Atkinson, R., "IP Encapsulating Security Payload (ESP)", RFC 2406, November 1998. Patel, et al. Standards Track [Page 20] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 [5] Piper, D., "The Internet IP Security Domain of Interpretation of ISAKMP", RFC 2407, November 1998. [6] Atkinson, R., Kent, S., "Security Architecture for the Internet Protocol", RFC 2401, November 1998. [7] Harkins, D., Carrel, D., "The Internet Key Exchange (IKE)", RFC 2409, November 1998. [8] Simpson, W., Editor, "The Point-to-Point Protocol (PPP)", STD 51, RFC 1661, July 1994. [9] Rand, D., "The PPP Compression Control Protocol (CCP)", RFC 1962, June 1996. [10] Meyer, G., "The PPP Encryption Control Protocol (ECP)", RFC 1968, June 1996. [11] Sklower, K., Meyer, G., "The PPP DES Encryption Protocol (DESE)", RFC 1969, June 1996. [12] Sklower, K., Meyer, G., "The PPP DES Encryption Protocol, Version 2 (DESE-bis)", RFC 2419, September 1998. [13] Hummert, K., "The PPP Triple-DES Encryption Protocol (3DESE)", RFC 2420, September 1998.12. Authors' Addresses Baiju V. Patel[14] Dierks, T. and C. Allen, "The TLS Protocol Version 1.0", RFC 2246, November 1998. [15] Simpson, W.,"PPP Challenge Handshake Authentication Protocol (CHAP)," RFC 1994, August 1996. [16] Blunk, L, Vollbrecht, J., "PPP Extensible Authentication Protocol (EAP)," RFC 2284, March 1998. Acknowledgments Thanks to Gurdeep Singh Pall, David Eitelbach, Peter Ford, and Sanjay Anand of Microsoft, John Richardson of IntelCorpand Rob Adams of Cisco for many useful discussions of this problem space. Patel, et al. Standards TrackFORMFEED[Page 17][Page 21] INTERNET-DRAFT Securing L2TP UsingIPSEC FebruaryIPsec 14 July 2001 Authors' Addresses Baiju V. Patel Intel Corp 2511 NE 25th Ave Hillsboro, OR 97124 Phone: +1 503 264 2422 Email: baiju.v.patel@intel.com Bernard Aboba Microsoft Corporation One Microsoft Way Redmond, WA 98052 Phone: +1 425 936 6605 EMail: bernarda@microsoft.com William Dixon Microsoft Corporation One Microsoft Way Redmond, WA 98052 Phone: +1 425 703 8729 EMail: wdixon@microsoft.com Glen Zorn Cisco Systems, Inc. 500 108th Avenue N.E., Suite 500 Bellevue, Washington 98004 Phone: +1 425 438 8218 Fax: +1 425 438 1848 EMail: gwz@cisco.com Skip Booth Cisco Systems 7025 Kit Creek Road RTP, NC 27709 Phone: +1 919 392 6951 EMail: ebooth@cisco.com Patel, et al. Standards Track [Page 22] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 Appendix A:Examples IPSECExample IPsec Filter sets for L2TP Tunnel Establishment A.1 Initiator and Responder use fixed addresses and ports This is the most simple of the cases since nothing changes during L2TPPatel, et al. Standards Track FORMFEED[Page 18] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001tunnel establishment. Since the initiator does not know whether the responder will change it's port number, it still must be prepared for this case. In this example, the initiator will use an IP address of 1.1.1.1 and the responder will use an IP address of 2.2.2.1. The filters for this scenario are: A.1.1 Protect the SCCRQ Initiator Filters: Outbound-1: From 1.1.1.1, to 2.2.2.1, UDP, src 1701, dst 1701 Inbound-1: From 2.2.2.1, to 1.1.1.1, UDP, src 1701, dst 1701 Inbound-2: From 2.2.2.1, to 1.1.1.1, UDP, src Any-Port, dst 1701 Responder Filters: Outbound-1: None, dynamically injected when IKE Phase 2 completes Inbound-1: From Any-Addr, to 2.2.2.1, UDP, src Any-Port, dst 1701 After IKE Phase 2 completes the filters at the initiator and responder will be: Initiator Filters: Outbound-1: From 1.1.1.1, to 2.2.2.1, UDP, src 1701, dst 1701 Inbound-1: From 2.2.2.1, to 1.1.1.1, UDP, src 1701, dst 1701 Inbound-2: From 2.2.2.1, to 1.1.1.1, UDP, src Any-Port, dst 1701 Responder Filters: Outbound-1: From 2.2.2.1, to 1.1.1.1, UDP, src 1701, dst 1701 Inbound-1: From 1.1.1.1, to 2.2.2.1, UDP, src 1701, dst 1701 Inbound-2: From Any-Addr, to 2.2.2.1, UDP, src Any-Port, dst 1701 A.2 Gateway to Gateway Scenario where Initiator and Responder use dynamic ports In this scenario either side is allowed to initiate the tunnel. Since dynamic ports will be used, an extra phase 2 negotiation must occur to protect the SCCRP sent from the responder to the initiator. Other than the additional phase 2 setup, the only other difference is that L2TP on the responder must inject an additional filter into theIPSECIPsec database Patel, et al. Standards Track [Page 23] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 once the new port number is chosen. This example also shows the additional filter needed by the initiator which allows either side to start the tunnel. In either the dial-out orPatel, et al. Standards Track FORMFEED[Page 19] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001the gateway to gateway scenario this additional filter is required. For this example, assume the dynamic port given to the initiator is 5000 and his IP address is 1.1.1.1. The responder will use an IP address of 2.2.2.1 and a port number of 6000. The filters for this scenario are: A.2.1 Initial Filters to allow either side to respond to negotiations In this case both peers must be able to accept phase 2 negotiations to from L2TP peers. My-IPAddr is defined as whatever IP address the device is willing to accept L2TP negotiations on. Responder Filters present at both peers: Inbound-1: From Any-Addr, to My-IPAddr, UDP, src Any-Port, dst 1701 A.2.2 Protect the SCCRQ, one peer is now the initiator Initiator Filters: Outbound-1: From 1.1.1.1, to 2.2.2.1, UDP, src 5000, dst 1701 Inbound-1: From 2.2.2.1, to 1.1.1.1, UDP, src 1701, dst 5000 Inbound-2: From 2.2.2.1, to 1.1.1.1, UDP, src Any-Port, dst 5000 Inbound-3: From Any-Addr, to 1.1.1.1, UDP, src Any-Port, dst 1701 Responder Filters: Outbound-1: None, dynamically injected when IKE Phase 2 completes Inbound-1: From Any-Addr, to 2.2.2.1, UDP, src Any-Port, dst 1701 Patel, et al. Standards Track [Page 24] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 After IKE Phase 2 completes the filters at the initiator and responder will be: Initiator Filters: Outbound-1: From 1.1.1.1, to 2.2.2.1, UDP, src 5000, dst 1701 Inbound-1: From 2.2.2.1, to 1.1.1.1, UDP, src 1701, dst 5000 Inbound-2: From 2.2.2.1, to 1.1.1.1, UDP, src Any-Port, dst 5000 Inbound-3: From Any-Addr, to 1.1.1.1, UDP, src Any-Port, dst 1701 Responder Filters: Outbound-1: From 2.2.2.1, to 1.1.1.1, UDP, src 1701, dst 5000 Inbound-1: From 1.1.1.1, to 2.2.2.1, UDP, src 5000, dst 1701 Inbound-2: From Any-Addr, to 2.2.2.1, UDP, src Any-Port, dst 1701 A.2.3 Protect the SCCRP after port changePatel, et al. Standards Track FORMFEED[Page 20] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001At this point the responder knows which port number it is going to use. New filters should be injected by L2TP to reflect this new port assignment. The new filter set at the responder is: Responder Filters: Outbound-1: From 2.2.2.1, to 1.1.1.1, UDP, src 6000, dst 5000 Outbound-2: From 2.2.2.1, to 1.1.1.1, UDP, src 1701, dst 5000 Inbound-1: From 1.1.1.1, to 2.2.2.1, UDP, src 5000, dst 6000 Inbound-2: From 1.1.1.1, to 2.2.2.1, UDP, src 5000, dst 1701 Inbound-3: From Any-Addr, to 2.2.2.1, UDP, src Any-Port, dst 1701 The second phase 2 will start once L2TP sends the SCCRP. Once the phase 2 negotiations complete, the new filter set at the initiator and the responder will be: Initiator Filters: Outbound-1: From 1.1.1.1, to 2.2.2.1, UDP, src 5000, dst 6000 Outbound-2: From 1.1.1.1, to 2.2.2.1, UDP, src 5000, dst 1701 Inbound-1: From 2.2.2.1, to 1.1.1.1, UDP, src 6000, dst 5000 Inbound-2: From 2.2.2.1, to 1.1.1.1, UDP, src 1701, dst 5000 Inbound-3: From 2.2.2.1, to 1.1.1.1, UDP, src Any-Port, dst 1701 Patel, et al. Standards Track [Page 25] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 Responder Filters: Outbound-1: From 2.2.2.1, to 1.1.1.1, UDP, src 6000, dst 5000 Outbound-2: From 2.2.2.1, to 1.1.1.1, UDP, src 1701, dst 5000 Inbound-1: From 1.1.1.1, to 2.2.2.1, UDP, src 5000, dst 6000 Inbound-2: From 1.1.1.1, to 2.2.2.1, UDP, src 5000, dst 1701 Inbound-3: From Any-Addr, to 2.2.2.1, UDP, src Any-Port, dst 1701 Once the L2TP tunnel has been successfully established, the original phase 2 may be deleted. This allows the Inbound-2 and Outbound-2 filter statements to be removed as well.13.Intellectual Property Statement The IETF takes no position regarding the validity or scope of any intellectual property 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; neither does it represent that it has made any effort to identify any such rights. Information on the IETF's procedures with respect to rights in standards-track and standards-Patel, et al. Standards Track FORMFEED[Page 21] INTERNET-DRAFT Securing L2TP Using IPSEC February 2001related documentation can be found in BCP-11. Copies of claims of rights made available for publication 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 implementors or users of this specification can be obtained from the IETF Secretariat. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to practice this standard. Please address the information to the IETF Executive Director.14.Patel, et al. Standards Track [Page 26] INTERNET-DRAFT Securing L2TP Using IPsec 14 July 2001 Full Copyright Statement Copyright (C) The Internet Society (2001). All Rights Reserved. This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English. The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns. This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS 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."15.Expiration Date This memo is filed as<draft-ietf-l2tpext-security-02.txt><draft-ietf-l2tpext-security-03.txt>, and expiresAugust 12, 2001.January 15, 2002. Patel, et al. Standards TrackFORMFEED[Page 22][Page 27] ----