A Socket-Based Key Management API (and Surrounding Infrastructure)

Size: px
Start display at page:

Download "A Socket-Based Key Management API (and Surrounding Infrastructure)"

Transcription

1 A Socket-Based Key Management API (and Surrounding Infrastructure) Daniel L. McDonald Sun Microsystems, USA Bao G. Phan Naval Research Laboratory, USA Randall J. Atkinson Cisco Systems, USA Abstract This paper presents an application programmer interface (API) which, in combination with interfaces presented to a protocol stack implementation, provides a set of abstractions allowing different session key management schemes to be built outside the operating system kernel. Introduction As the global Internet continues its exponential growth, many concerns once disregarded now fall under the scrutiny of the Internet community. Security is among the top areas of concern for the Internet Engineering Task Force (IETF). The IETF has advanced to Proposed Standard, a security architecture for the Internet Protocol [Atk95a, Atk95b, Atk95c]. The presence of these security mechanisms in the Internet Protocol does not, by itself, ensure good security. The establishment and maintenance of cryptographic keys and related security information, also known as key management, is also crucial to effective security. Key management for the Internet Protocol is a subject of much experimentation and debate [MS95] [AMP96a] [AMP96b] [Orm96]. Furthermore, key management strategies have a history of subtle flaws that are not discovered until after they are published or deployed [NS87]. This paper presents an environment which allows implementations of key management strategies to exist outside the operating system kernel, where they can be implemented, debugged, and updated in a safe environment. The Internet Protocol suite has gained popularity largely because of its availability in the Berkeley Software Distribution (BSD) versions of the Unix operating system. Even though many commercial operating systems no longer use the BSD networking implementation, they still support BSD abstractions for application programmers, such as the sockets API [LMKQ89]. The sockets interface allows applications in BSD to communicate with other applications, or sometimes, even with the operating system itself. One of the recent developments in BSD was the routing socket [Skl91], which allows a privileged application to alter a node s network routing tables. This abstraction allows a BSD system to use an appropriate routing protocol, without requiring changes inside the kernel. Instead, routing protocols are implemented in user-space daemons, such as routed or gated. An analogous concept, a key socket, enables placing cryptographic keys inside the operating system for IP or other networking protocols to use. Like routing information, cryptographic keys should be easily

2 and quickly accessible by the network protocol implementation. Also, like routing information, the method of obtaining and creating these cryptographic keys is largely up to the administrator of that machine, and the environment in which the machine exists. The creator of cryptographic keys can be implemented in user-space, without altering the kernel. Abstractions Figure 1--Component Interactions Figure 1 illustrates the interaction between components that comprise the necessary security information, the consumers of that information, and the producers of that information. Everything to the right of the gray vertical line in Figure 1 comprises a traditional networking implementation. The networking protocols are implemented in the kernel, and applications access those protocols through some sort of API, in this case, BSD-style network sockets. Left of the vertical gray line of Figure 1 lies what needs to be added for the IP security architecture to be implemented. The IP security architecture [Atk95a] defines a security association. A security association exists between two communication endpoints, and contains information (not exclusively limited to) the cryptographic key for traffic between the two endpoints, what sort of cryptographic algorithm is being used, the lifetime of this association (or of the key being used in this association), and other association-specific attributes, such as a sensitivity label [Ken91]. Security associations are stored inside the kernel, so that the networking protocol implementation can quickly and easily access them. Additionally, public key certificates could also be stored in the kernel using PF_KEY. The remainder of this paper, however will deal with security associations. Alongside the security associations is the key engine which presents interfaces to both the protocol implementation, and user-level key management programs. The key engine also sends messages to key management applications that need to obtain new or updated security information at the request of the protocol implementation. Additionally, the key engine may perform maintenance on the entries in the security association table, such as deleting associations that are past their expiration times or are no longer in

3 Aiding the protocol implementation in making decisions about which packets to secure, or which to reject based on the lack of security is a policy engine. The policy engine will interface with the key engine, especially when deciding if a security association is to be used across multiple communications between the same IP endpoints, or if each new communication deserves its own unique security association. This separation of policy from mechanisms in the protocol implementation allows policies to be implemented per system, or even be changed by user-level direction. While the protocol implementation and the policy engine consume and request security associations, something needs to produce security associations and feed them to the key engine. Key management protocols create and produce such information. The PF_KEY key management socket provides a set of messages that the kernel can use to indicate the need for a new or updated security association, and that key management applications can use to add, remove, or update security associations. Automated key management implementations can send self-authenticated network packets and update associations based on the results of that communication, or system administrators can use programs which add, delete, or update single associations. PF_KEY interface User-level key management programs and the kernel communicate key-management information through a socket with the protocol family PF_KEY. PF_KEY supports a series of messages, which can be generated by the kernel or the user-level program, and received by all registered listeners. The messages are as follows: KEY_ADD - A user-level program sends KEY_ADD messages to the kernel to create a new security association. This new security association contains all of the relevant parameters, as mentioned in the Abstractions section, as well as what networking protocol will use this association. KEY_DELETE - Like the name suggests, this message from the user-level program to the kernel will delete a security association. Usually, the Security Parameters Index (SPI) [Atk95a], the type of networking protocol which uses the association, and the protocol addresses are used as an index to find the association to be deleted. KEY_UPDATE - Giving the same parameters as KEY_DELETE, this message instead updates the security association with new values (e.g. key, lifetime). KEY_GET - Retrieve a security association based on the SPI and other parameters. KEY_ACQUIRE - Unlike most PF_KEY messages, this message is sent from the kernel to the user-level programs which registered with the KEY_REGISTER message. This is a directive from the kernel to the user-level program to go and obtain a security association for communication between two IP endpoints. For example, a KEY_ACQUIRE message may initiate an authenticated Diffie-Hellman key exchange of some variety. KEY_GETSPI - This message asks the kernel for a unique value for an SPI. The reason for a separate PF_KEY message is that the SPI may be transmitted as part of the key management actions set in motion by a KEY_ACQUIRE message. Only the kernel has enough information to generate a unique

4 SPI. KEY_REGISTER - This message differentiates programs that write messages (such as a manual security association program) from programs that should receive KEY_ACQUIRE messages. Any program that needs to receive KEY_ACQUIRE messages from the kernel should send a KEY_REGISTER message immediately upon execution. A type can be passed in with KEY_ACQUIRE messages so that only certain classes of KEY_ACQUIRE message are passed to the application. This allows different key management strategies for different network protocols (IP, IPv6, etc.). KEY_EXPIRE - If the key engine is performing maintenance on security associations, it may use this message to indicate that a security association has somehow expired, and that perhaps another negotiation similar to what KEY_ACQUIRE initiates. KEY_DUMP - If a diagnostic program requires a complete list of the current security association table, it issues this message to the kernel. The kernel sends back KEY_DUMP messages containing the security association entries. Early implementation experience has shown that, because of socket buffering limitations, this message may not be the optimal way to access the entire contents of the security association table. KEY_FLUSH - If a situation requires rapid removal of all security associations (such as a system compromise or system failure), this message may be sent, either by user programs, or by the kernel itself in its failure code. Applications will not necessarily use all of the PF_KEY messages, though they provide a set of abstractions needed to implement key management in user-space, while allowing the actual encryption or authentication of packets inside the kernel. Kernel interface The key engine supports two function calls made by either the protocol implementation on arriving packets, or by the network security policy engine on departing packets. The first call, getassocbyspi(), is made by the networking protocol implementation itself. When an incoming packet contains either Encapsulating Security Payload (ESP) or Authentication Header (AH) as its payload, the protocol implementation extracts the SPI from the ESP or AH header. This SPI is the argument to getassocbyspi(), which should return the required information to either decrypt or authenticate the packet. Getassocbyspi() should return a security association because the association should be present either after manual configuration, or after some sort of key exchange has taken place. In the event getassocbyspi() fails, the incoming packet should be dropped. After the networking protocol implementation authenticates or decrypts the packet, the packet is marked as (not) authenticated or (not) decrypted, so policy decisions can be made closer to when the data is delivered to the application. On outgoing packets, the policy engine makes decisions regarding what needs to be done to the packet. The policy engine enforces what the system requires for security, as well as trying to accommodate any application-directed security requests. These decisions include whether the security association(s) used can be shared across other communications, or whether they should be unique to this one, and possibly

5 what, if any, sensitivity label is needed. With this information, the policy engine calls getassocbysocket(), which returns a security association used to encrypt or authenticate the outgoing packet. The "by socket" part of the function name refers to the fact that the security association may be unique to this particular instance of communication (which in BSD is the socket). The actual process of authenticating or encrypting will probably not happen until the packet is ready to be passed to the network device driver, but the security association will be already allocated when that happens. Getassocbysocket() is where KEY_ACQUIRE messages may be sent up to key management applications, if no key is available, and if a key management daemon has registered using the KEY_REGISTER message, getassocbysocket() may return an indicator to its caller that packets requiring this particular security association should be queued up and retried after a certain amount of time, or dropped. Which is done is primarily a function of implementation, but either is acceptable in an unreliable protocol such as IP. Internal maintenance It is possible for the key engine to perform maintenance tasks on security associations. These tasks are largely orthogonal to the interfaces presented above, but the KEY_EXPIRE and KEY_ACQUIRE messages can be used to aid the internal maintenance of the security association table. A common internal maintenance function is to age and possibly remove security associations that have exceeded their lifetimes. Application examples Many classes of applications can use the PF_KEY socket to either perform, or enhance their tasks. The two primary tasks, manual or automated key management, will be illustrated below. Other applications that could use the PF_KEY socket include system monitoring applications, which would track the progress of KEY_ACQUIRE requests as they came from the kernel, and security auditing programs, which could sample random associations for sufficient key strength, or send KEY_FLUSH commands if a situation warranted such action.

6 Figure 2--Manual Key Management Figure 2 illustrates a simple manual key management program. In essence, a manual key management program is nothing more than a user interface to the PF_KEY messages. A manual key management program should only be executable by privileged users, but apart from that, the construction of such a program should only be a problem of converting user input into PF_KEY messages. Figure 3--Automated Key Management Figure 3 illustrates a more complex setup, where an automated key management application is in place. Under automated key management systems [MS95] [AMP96a] [AMP96b], network communication needs to take place. This network communication cannot have a network security policy enforced on it, because it would lead to a bootstrapping problem. All other communications have the same policy enforced on them, and may cause the key engine to send KEY_ACQUIRE messages up to any listening PF_KEY sockets. The automated key management application will, upon startup, issue a KEY_REGISTER message to the kernel, so that the kernel is aware that automated key management services are available. If the key engine is performing maintenance on security associations, it may send up KEY_EXPIRE messages to the key management application just before a security association (or part of it) expires. The application can then either extend the lifetime, delete the association, or update it with cached

7 information or information obtained on another network communication. Conclusion Presented here is an API and surrounding infrastructure to allow modular and relatively easy implementation of key management strategies. It uses concepts and abstractions introduced in various works [LMKQ86] [Skl91] [Atk95a] and ties them together so that good abstractions to both key management strategies and networking protocol implementation. A sample implementation of PF_KEY is available in the NRL IPv6/IPsec distribution. The distribution can be obtained by U. S. citizens at ftp://ftp.c2.org or by anyone at ftp://ftp.ripe.net/. Endnotes 1 Work on this paper was done while the authors were at the U. S. Naval Research Laboratory. Daniel L. McDonald is now at Sun Microsystems, and Randall J. Atkinson is now at Cisco Systems. 2 The term endpoint is perhaps too strong, as a security association can exist without a defined source, so that a multicast security association can exist. References [Atk95a] Atkinson, R., "Security Architecture for the Internet Protocol," RFC 1825, August, [Atk95b] Atkinson, R., "IP Authentication Header," RFC 1826, August, [Atk95c] Atkinson, R., "IP Encapsulating Security Payload," RFC 1827, August, [AMP96a] Aziz, A., Markson, T., and Prafullchandra, H., "Simple Key-Management for Internet Protocols (SKIP)," work in progress. [AMP96b] Aziz, A., Markson, T., and Prafullchandra, H., "Certificate Discovery Protocol," work in progress. [Ken91] Kent, S., "U. S. Department of Defense Security Options for the Internet Protocol," RFC 1108, November, [LMKQ89] Leffler, S. J., McKusick, M. K., Karels, M. J., and Quarterman, J. S., The Design and Implementation of the 4.3BSD Unix Operating System. Addison-Wesley, Reading, Mass., [MS95] Maughan, D. and Schertler, M., "Internet Security Association and Key Management Protocol (ISAKMP)," work in progress. [NS87] Needham, R. M. and Schroeder, M. D., "Authentication Revisited," Operating Systems Review, vol. 21, num. 1, 1987 p. 7. [Orm96] Orman, H. K., "The Oakley Key Determination Protocol," work in progress.

8 [Skl91] Sklower, K., "A Tree-Based Packet Routing Table for Berkeley Unix," Proceedings of the 1991 Winter USENIX Conference, pp

8. Network Layer Contents

8. Network Layer Contents Contents 1 / 43 * Earlier Work * IETF IP sec Working Group * IP Security Protocol * Security Associations * Authentication Header * Encapsulation Security Payload * Internet Key Management Protocol * Modular

More information

Network Security - ISA 656 IPsec IPsec Key Management (IKE)

Network Security - ISA 656 IPsec IPsec Key Management (IKE) Network Security - ISA 656 IPsec IPsec (IKE) Angelos Stavrou September 28, 2008 What is IPsec, and Why? What is IPsec, and Why? History IPsec Structure Packet Layout Header (AH) AH Layout Encapsulating

More information

Internet security and privacy

Internet security and privacy Internet security and privacy IPsec 1 Layer 3 App. TCP/UDP IP L2 L1 2 Operating system layers App. TCP/UDP IP L2 L1 User process Kernel process Interface specific Socket API Device driver 3 IPsec Create

More information

Cryptography and Network Security. Sixth Edition by William Stallings

Cryptography and Network Security. Sixth Edition by William Stallings Cryptography and Network Security Sixth Edition by William Stallings Chapter 20 IP Security If a secret piece of news is divulged by a spy before the time is ripe, he must be put to death, together with

More information

The Internet community has developed application-specific security mechanisms in a number of application areas, including electronic mail (S/MIME,

The Internet community has developed application-specific security mechanisms in a number of application areas, including electronic mail (S/MIME, 1 The Internet community has developed application-specific security mechanisms in a number of application areas, including electronic mail (S/MIME, PGP), client/server (Kerberos), Web access (Secure Sockets

More information

Request for Comments: 2230 Category: Informational November 1997

Request for Comments: 2230 Category: Informational November 1997 Network Working Group R. Atkinson Request for Comments: 2230 NRL Category: Informational November 1997 Status of this Memo Key Exchange Delegation Record for the DNS This memo provides information for

More information

Firepower Threat Defense Site-to-site VPNs

Firepower Threat Defense Site-to-site VPNs About, on page 1 Managing, on page 3 Configuring, on page 3 Monitoring Firepower Threat Defense VPNs, on page 11 About Firepower Threat Defense site-to-site VPN supports the following features: Both IPsec

More information

Configuration of an IPSec VPN Server on RV130 and RV130W

Configuration of an IPSec VPN Server on RV130 and RV130W Configuration of an IPSec VPN Server on RV130 and RV130W Objective IPSec VPN (Virtual Private Network) enables you to securely obtain remote access to corporate resources by establishing an encrypted tunnel

More information

Cryptography and Network Security Chapter 16. Fourth Edition by William Stallings

Cryptography and Network Security Chapter 16. Fourth Edition by William Stallings Cryptography and Network Security Chapter 16 Fourth Edition by William Stallings Chapter 16 IP Security If a secret piece of news is divulged by a spy before the time is ripe, he must be put to death,

More information

The EN-4000 in Virtual Private Networks

The EN-4000 in Virtual Private Networks EN-4000 Reference Manual Document 8 The EN-4000 in Virtual Private Networks O ne of the principal features of routers is their support of virtual private networks (VPNs). This document discusses transmission

More information

Virtual Private Networks

Virtual Private Networks EN-2000 Reference Manual Document 8 Virtual Private Networks O ne of the principal features of routers is their support of virtual private networks (VPNs). This document discusses transmission security,

More information

QUIZ: Longest Matching Prefix

QUIZ: Longest Matching Prefix QUIZ: Longest Matching Prefix A router has the following routing table: 10.50.42.0 /24 Send out on interface Z 10.50.20.0 /24 Send out on interface A 10.50.24.0 /22 Send out on interface B 10.50.20.0 /22

More information

Sharing IPsec with Tunnel Protection

Sharing IPsec with Tunnel Protection The feature allows sharing an IPsec security association database (SADB) between two or more generic routing encapsulation (GRE) tunnel interfaces when tunnel protection is used. Shared tunnel interfaces

More information

Performance Study of COPS over TLS and IPsec Secure Session

Performance Study of COPS over TLS and IPsec Secure Session Performance Study of COPS over TLS and IPsec Secure Session Yijun Zeng and Omar Cherkaoui Université du Québec à Montréal CP. 8888 Suc. A, Montréal yj_zeng@hotmail.com, cherkaoui.omar@uqam.ca Abstract.

More information

Table of Contents 1 IKE 1-1

Table of Contents 1 IKE 1-1 Table of Contents 1 IKE 1-1 IKE Overview 1-1 Security Mechanism of IKE 1-1 Operation of IKE 1-1 Functions of IKE in IPsec 1-2 Relationship Between IKE and IPsec 1-3 Protocols 1-3 Configuring IKE 1-3 Configuration

More information

Protocols, Technologies and Standards Secure network protocols for the OSI stack P2.1 WLAN Security WPA, WPA2, IEEE i, IEEE 802.1X P2.

Protocols, Technologies and Standards Secure network protocols for the OSI stack P2.1 WLAN Security WPA, WPA2, IEEE i, IEEE 802.1X P2. P2 Protocols, Technologies and Standards Secure network protocols for the OSI stack P2.1 WLAN Security WPA, WPA2, IEEE 802.11i, IEEE 802.1X P2.2 IP Security IPsec transport mode (host-to-host), ESP and

More information

IPSec. Overview. Overview. Levente Buttyán

IPSec. Overview. Overview. Levente Buttyán IPSec - brief overview - security associations (SAs) - Authentication Header (AH) protocol - Encapsulated Security Payload () protocol - combining SAs (examples) Overview Overview IPSec is an Internet

More information

Set Up a Remote Access Tunnel (Client to Gateway) for VPN Clients on RV016, RV042, RV042G and RV082 VPN Routers

Set Up a Remote Access Tunnel (Client to Gateway) for VPN Clients on RV016, RV042, RV042G and RV082 VPN Routers Set Up a Remote Access Tunnel (Client to Gateway) for VPN Clients on RV016, RV042, RV042G and RV082 VPN Routers Objective A Virtual Private Network (VPN) is a private network that is used to virtually

More information

Operating Systems Design Exam 3 Review: Spring Paul Krzyzanowski

Operating Systems Design Exam 3 Review: Spring Paul Krzyzanowski Operating Systems Design Exam 3 Review: Spring 2012 Paul Krzyzanowski pxk@cs.rutgers.edu 1 Question 1 An Ethernet device driver implements the: (a) Data Link layer. (b) Network layer. (c) Transport layer.

More information

Configuring Security for VPNs with IPsec

Configuring Security for VPNs with IPsec This module describes how to configure basic IPsec VPNs. IPsec is a framework of open standards developed by the IETF. It provides security for the transmission of sensitive information over unprotected

More information

VPN Overview. VPN Types

VPN Overview. VPN Types VPN Types A virtual private network (VPN) connection establishes a secure tunnel between endpoints over a public network such as the Internet. This chapter applies to Site-to-site VPNs on Firepower Threat

More information

Virtual Private Network

Virtual Private Network VPN and IPsec Virtual Private Network Creates a secure tunnel over a public network Client to firewall Router to router Firewall to firewall Uses the Internet as the public backbone to access a secure

More information

Network Encryption 3 4/20/17

Network Encryption 3 4/20/17 The Network Layer Network Encryption 3 CSC362, Information Security most of the security mechanisms we have surveyed were developed for application- specific needs electronic mail: PGP, S/MIME client/server

More information

Network Security: IPsec. Tuomas Aura

Network Security: IPsec. Tuomas Aura Network Security: IPsec Tuomas Aura 3 IPsec architecture and protocols Internet protocol security (IPsec) Network-layer security protocol Protects IP packets between two hosts or gateways Transparent to

More information

IP Security IK2218/EP2120

IP Security IK2218/EP2120 IP Security IK2218/EP2120 Markus Hidell, mahidell@kth.se KTH School of ICT Based partly on material by Vitaly Shmatikov, Univ. of Texas Acknowledgements The presentation builds upon material from - Previous

More information

Design Universal Security Scheme for Broadband Router

Design Universal Security Scheme for Broadband Router International Journal of Security, Vol.10, No.2, PP.81 86, Mar. 2010 81 Design Universal Security Scheme for Broadband Router Xiaozhuo Gu 1,2 and Jianzu Yang 2 (Corresponding author: Xiaozhuo Gu) National

More information

Configuring TACACS. Finding Feature Information. Prerequisites for Configuring TACACS

Configuring TACACS. Finding Feature Information. Prerequisites for Configuring TACACS TACACS+ is a security application that provides centralized validation of users attempting to gain access to a router or network access server. TACACS+ provides detailed accounting information and flexible

More information

VPN and IPsec. Network Administration Using Linux. Virtual Private Network and IPSec 04/2009

VPN and IPsec. Network Administration Using Linux. Virtual Private Network and IPSec 04/2009 VPN and IPsec Network Administration Using Linux Virtual Private Network and IPSec 04/2009 What is VPN? VPN is an emulation of a private Wide Area Network (WAN) using shared or public IP facilities. A

More information

IPsec (AH, ESP), IKE. Guevara Noubir CSG254: Network Security

IPsec (AH, ESP), IKE. Guevara Noubir CSG254: Network Security IPsec (AH, ESP), IKE Guevara Noubir noubir@ccs.neu.edu Securing Networks Control/Management (configuration) Applications Layer telnet/ftp: ssh, http: https, mail: PGP (SSL/TLS) Transport Layer (TCP) (IPSec,

More information

Configuring Internet Key Exchange Security Protocol

Configuring Internet Key Exchange Security Protocol Configuring Internet Key Exchange Security Protocol This chapter describes how to configure the Internet Key Exchange (IKE) protocol. IKE is a key management protocol standard that is used in conjunction

More information

iii PPTP... 7 L2TP/IPsec... 7 Pre-shared keys (L2TP/IPsec)... 8 X.509 certificates (L2TP/IPsec)... 8 IPsec Architecture... 11

iii PPTP... 7 L2TP/IPsec... 7 Pre-shared keys (L2TP/IPsec)... 8 X.509 certificates (L2TP/IPsec)... 8 IPsec Architecture... 11 iii PPTP................................................................................ 7 L2TP/IPsec........................................................................... 7 Pre-shared keys (L2TP/IPsec)............................................................

More information

Security for VPNs with IPsec Configuration Guide, Cisco IOS XE Release 3S

Security for VPNs with IPsec Configuration Guide, Cisco IOS XE Release 3S Security for VPNs with IPsec Configuration Guide, Cisco IOS XE Release 3S Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000

More information

Chapter 11 The IPSec Security Architecture for the Internet Protocol

Chapter 11 The IPSec Security Architecture for the Internet Protocol Chapter 11 The IPSec Security Architecture for the Internet Protocol IPSec Architecture Security Associations AH / ESP IKE [NetSec], WS 2008/2009 11.1 The TCP/IP Protocol Suite Application Protocol Internet

More information

Experimental Tests on SCTP over IPSec

Experimental Tests on SCTP over IPSec 2008 IFIP International Conference on Network and Parallel Computing Experimental Tests on SCTP over IPSec Maria-Dolores Cano, Juan A. Romero, Fernando Cerdan Department of Information Technologies & Communications

More information

Request for Comments: June Sun s SKIP Firewall Traversal for Mobile IP. Status of This Memo

Request for Comments: June Sun s SKIP Firewall Traversal for Mobile IP. Status of This Memo Network Working Group Request for Comments: 2356 Category: Informational G. Montenegro V. Gupta Sun Microsystems, Inc. June 1998 Status of This Memo Sun s SKIP Firewall Traversal for Mobile IP This memo

More information

Dr. Jinyuan (Stella) Sun Dept. of Electrical Engineering and Computer Science University of Tennessee Fall 2010

Dr. Jinyuan (Stella) Sun Dept. of Electrical Engineering and Computer Science University of Tennessee Fall 2010 Dr. Jinyuan (Stella) Sun Dept. of Electrical Engineering and Computer Science University of Tennessee Fall 2010 1 Photuris and SKIP PHASE 1 IKE PHASE 2 IKE How is SA established? How do parties negotiate

More information

IPv6 over IPv4 GRE Tunnel Protection

IPv6 over IPv4 GRE Tunnel Protection The feature allows both IPv6 unicast and multicast traffic to pass through a protected generic routing encapsulation (GRE) tunnel. Finding Feature Information, page 1 Prerequisites for, page 1 Restrictions

More information

Internet Security. - IPSec, SSL/TLS, SRTP - 29th. Oct Lee, Choongho

Internet Security. - IPSec, SSL/TLS, SRTP - 29th. Oct Lee, Choongho Internet Security - IPSec, SSL/TLS, SRTP - 29th. Oct. 2007 Lee, Choongho chlee@mmlab.snu.ac.kr Contents Introduction IPSec SSL / TLS SRTP Conclusion 2/27 Introduction (1/2) Security Goals Confidentiality

More information

show crypto group summary, page 1 show crypto ikev2-ikesa security-associations summary spi, page 2

show crypto group summary, page 1 show crypto ikev2-ikesa security-associations summary spi, page 2 This chapter includes the command output tables. group summary, page 1 ikev2-ikesa security-associations summary, page 2 ikev2-ikesa security-associations summary spi, page 2 ipsec security-associations,

More information

Analysis of the IPSec Key Exchange Standard

Analysis of the IPSec Key Exchange Standard Analysis of the IPSec Key Exchange Standard Radia Perlman, Sun Microsystems Laboratories Charlie Kaufman, Iris Associates 1 Abstract This paper describes the purpose, history, and analysis of IKE [RFC2409],

More information

CSE509: (Intro to) Systems Security

CSE509: (Intro to) Systems Security CSE509: (Intro to) Systems Security Fall 2012 Invited Lecture by Vyas Sekar IPSec 2005-12 parts by Matt Bishop, used with permission Security in Real Life: Motivation Site SF Company X $$$ Site NY Site

More information

4. Basic IP Support Protocols

4. Basic IP Support Protocols 4. Basic IP Support Protocols There are a number of protocols that support the operation of IP. This section will only discuss the most basic three: ICMP, RARP, and ARP. Other more sophisticated protocols

More information

Resource Reservation Protocol

Resource Reservation Protocol 48 CHAPTER Chapter Goals Explain the difference between and routing protocols. Name the three traffic types supported by. Understand s different filter and style types. Explain the purpose of tunneling.

More information

Securizarea Calculatoarelor și a Rețelelor 29. Monitorizarea și depanarea VPN-urilor IPSec Site-to-Site

Securizarea Calculatoarelor și a Rețelelor 29. Monitorizarea și depanarea VPN-urilor IPSec Site-to-Site Platformă de e-learning și curriculă e-content pentru învățământul superior tehnic Securizarea Calculatoarelor și a Rețelelor 29. Monitorizarea și depanarea VPN-urilor IPSec Site-to-Site Site-to-Site IPsec

More information

Chapter 6: Network Layer

Chapter 6: Network Layer Chapter 6: Network Layer CCNA Routing and Switching Introduction to Networks v6.0 Chapter 6 - Sections & Objectives 6.1 Network Layer Protocols Explain how network layer protocols and services support

More information

CSE 123A Computer Netwrking

CSE 123A Computer Netwrking CSE 123A Computer Netwrking Winter 2005 Mobile Networking Alex Snoeren presenting in lieu of Stefan Savage Today s s issues What are implications of hosts that move? Remember routing? It doesn t work anymore

More information

Using MSDP to Interconnect Multiple PIM-SM Domains

Using MSDP to Interconnect Multiple PIM-SM Domains Using MSDP to Interconnect Multiple PIM-SM Domains This module describes the tasks associated with using Multicast Source Discovery Protocol (MSDP) to interconnect multiple Protocol Independent Multicast

More information

VPN World. MENOG 16 Istanbul-Turkey. By Ziad Zubidah Network Security Specialist

VPN World. MENOG 16 Istanbul-Turkey. By Ziad Zubidah Network Security Specialist VPN World MENOG 16 Istanbul-Turkey By Ziad Zubidah Network Security Specialist What is this Van used for?! Armed Van It used in secure transporting for valuable goods from one place to another. It is bullet

More information

Int ernet w orking. Internet Security. Literature: Forouzan: TCP/IP Protocol Suite : Ch 28

Int ernet w orking. Internet Security. Literature: Forouzan: TCP/IP Protocol Suite : Ch 28 Int ernet w orking Internet Security Literature: Forouzan: TCP/IP Protocol Suite : Ch 28 Internet Security Internet security is difficult Internet protocols were not originally designed for security The

More information

IPsec NAT Transparency

IPsec NAT Transparency The feature introduces support for IP Security (IPsec) traffic to travel through Network Address Translation (NAT) or Port Address Translation (PAT) points in the network by addressing many known incompatibilities

More information

firewalls perimeter firewall systems firewalls security gateways secure Internet gateways

firewalls perimeter firewall systems firewalls security gateways secure Internet gateways Firewalls 1 Overview In old days, brick walls (called firewalls ) built between buildings to prevent fire spreading from building to another Today, when private network (i.e., intranet) connected to public

More information

The IPSec Security Architecture for the Internet Protocol

The IPSec Security Architecture for the Internet Protocol Chapter 11 The IPSec Security Architecture for the Internet Protocol [NetSec], WS 2005/2006 11.1 Overview Brief introduction to the Internet Protocol (IP) suite Security problems of IP and objectives of

More information

IPSec VPN Setup with IKE Preshared Key and Manual Key on WRVS4400N Router

IPSec VPN Setup with IKE Preshared Key and Manual Key on WRVS4400N Router IPSec VPN Setup with IKE Preshared Key and Manual Key on WRVS4400N Router Objective Internet Protocol Security (IPSec) is used to protect communications through the encryption of IP packets during a communication

More information

Overview of the IPsec Features

Overview of the IPsec Features CHAPTER 2 This chapter provides an overview of the IPsec features of the VSPA. This chapter includes the following sections: Overview of Basic IPsec and IKE Configuration Concepts, page 2-1 Configuring

More information

CS 356 Internet Security Protocols. Fall 2013

CS 356 Internet Security Protocols. Fall 2013 CS 356 Internet Security Protocols Fall 2013 Review Chapter 1: Basic Concepts and Terminology Chapter 2: Basic Cryptographic Tools Chapter 3 User Authentication Chapter 4 Access Control Lists Chapter 5

More information

A Study on Intrusion Detection Techniques in a TCP/IP Environment

A Study on Intrusion Detection Techniques in a TCP/IP Environment A Study on Intrusion Detection Techniques in a TCP/IP Environment C. A. Voglis and S. A. Paschos Department of Computer Science University of Ioannina GREECE Abstract: The TCP/IP protocol suite is the

More information

Issues. Separation of. Distributed system security. Security services. Security policies. Security mechanism

Issues. Separation of. Distributed system security. Security services. Security policies. Security mechanism Module 9 - Security Issues Separation of Security policies Precise definition of which entities in the system can take what actions Security mechanism Means of enforcing that policy Distributed system

More information

CommWorks October RSIP Support for End-to-end IPsec. Status of this Memo

CommWorks October RSIP Support for End-to-end IPsec. Status of this Memo Network Working Group Request for Comments: 3104 Category: Experimental G. Montenegro Sun Microsystems, Inc. M. Borella CommWorks October 2001 RSIP Support for End-to-end IPsec Status of this Memo This

More information

IPSec. Dr.Talal Alkharobi. IPsec (IP security)

IPSec. Dr.Talal Alkharobi. IPsec (IP security) IPSec IPsec (IP security) 2 A suite of protocols for securing Internet Protocol (IP) communications by authenticating and/or encrypting each IP packet in a data stream. IPsec also includes protocols for

More information

Category: Standards Track June Mobile IPv6 Support for Dual Stack Hosts and Routers

Category: Standards Track June Mobile IPv6 Support for Dual Stack Hosts and Routers Network Working Group H. Soliman, Ed. Request for Comments: 5555 Elevate Technologies Category: Standards Track June 2009 Status of This Memo Mobile IPv6 Support for Dual Stack Hosts and Routers This document

More information

CSCE 715: Network Systems Security

CSCE 715: Network Systems Security CSCE 715: Network Systems Security Chin-Tser Huang huangct@cse.sc.edu University of South Carolina Security in Network Layer Implementing security in application layer provides flexibility in security

More information

Lehrstuhl für Netzarchitekturen und Netzdienste Fakultät für Informatik Technische Universität München. ilab. Lab 8 SSL/TLS and IPSec

Lehrstuhl für Netzarchitekturen und Netzdienste Fakultät für Informatik Technische Universität München. ilab. Lab 8 SSL/TLS and IPSec Lehrstuhl für Netzarchitekturen und Netzdienste Fakultät für Informatik Technische Universität München ilab Lab 8 SSL/TLS and IPSec Outlook: On Layer 4: Goal: Provide security for one specific port SSL

More information

Cpsc527 - Lecture 3. IPv6 (RFC1883) Dr. Son Vuong UBC

Cpsc527 - Lecture 3. IPv6 (RFC1883) Dr. Son Vuong UBC Cpsc527 - Lecture 3 IPv6 (RFC1883) Dr. Son Vuong UBC 1 Overview Limitations of current Internet Protocol (IP) How many addresses do we need? Features of new IP Address Allocation Provider selection Mobility

More information

Secure Networking with NAT Traversal for Enhanced Mobility

Secure Networking with NAT Traversal for Enhanced Mobility Secure Networking with NAT Traversal for Enhanced Mobility Lubomir Cvrk 1, Vit Vrba 1 1 Brno University of Technology, Dept. of Telecommunications, Purkynova 118, 61200 Brno, Czech Republic {cvrk, vrba}@westcom.cz

More information

Lecture notes of G. Q. Maguire Jr. IK1550/1552, Spring Module 12

Lecture notes of G. Q. Maguire Jr. IK1550/1552, Spring Module 12 Lecture notes of G. Q. Maguire Jr. IK1550/1552, Spring 2014 Module 12 1 Module 12 2 Module 12 3 Module 12 4 Module 12 5 S. Garfinkel, PGP: pretty good privacy. Sebastopol, CA: O Reilly & Associates, 1995,

More information

Outline. CS5984 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Host Mobility Problem Solutions. Network Layer Solutions Model

Outline. CS5984 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Host Mobility Problem Solutions. Network Layer Solutions Model CS5984 Mobile Computing Outline Host Mobility problem and solutions IETF Mobile IPv4 Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Mobile IPv4 1 2 Host Mobility Problem 1/2 Host Mobility

More information

A New Authentication Scheme of Binding Update Protocol on Handover in Mobile IPv6 Networks

A New Authentication Scheme of Binding Update Protocol on Handover in Mobile IPv6 Networks A New Authentication Scheme of Binding Update Protocol on Handover in Mobile IPv6 Networks Jung Doo Koo 1, Jungsook Koo 2, Dong Chun Lee 3 1 Dept. of Computer Science and Eng., Hanyang Univ., Korea jdkoo@cse.hanyang.ac.kr

More information

Outline. CS6504 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Dr. Ayman Abdel-Hamid. Mobile IPv4.

Outline. CS6504 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Dr. Ayman Abdel-Hamid. Mobile IPv4. CS6504 Mobile Computing Outline Host Mobility problem and solutions IETF Mobile IPv4 Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Mobile IPv4 1 2 Host Mobility Problem 1/2 Host Mobility

More information

INTERNET PROTOCOL SECURITY (IPSEC) GUIDE.

INTERNET PROTOCOL SECURITY (IPSEC) GUIDE. INTERNET PROTOCOL SECURITY (IPSEC) GUIDE www.insidesecure.com INTRODUCING IPSEC NETWORK LAYER PACKET SECURITY With the explosive growth of the Internet, more and more enterprises are looking towards building

More information

Sample excerpt. Virtual Private Networks. Contents

Sample excerpt. Virtual Private Networks. Contents Contents Overview...................................................... 7-3.................................................... 7-5 Overview of...................................... 7-5 IPsec Headers...........................................

More information

Junos Security. Chapter 8: IPsec VPNs Juniper Networks, Inc. All rights reserved. Worldwide Education Services

Junos Security. Chapter 8: IPsec VPNs Juniper Networks, Inc. All rights reserved.  Worldwide Education Services Junos Security Chapter 8: IPsec VPNs 2012 Juniper Networks, Inc. All rights reserved. www.juniper.net Worldwide Education Services Chapter Objectives After successfully completing this chapter, you will

More information

Security for VPNs with IPsec Configuration Guide, Cisco IOS Release 15M&T

Security for VPNs with IPsec Configuration Guide, Cisco IOS Release 15M&T Security for VPNs with IPsec Configuration Guide, Cisco IOS Release 15M&T Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000

More information

CIS 6930/4930 Computer and Network Security. Topic 8.2 Internet Key Management

CIS 6930/4930 Computer and Network Security. Topic 8.2 Internet Key Management CIS 6930/4930 Computer and Network Security Topic 8.2 Internet Key Management 1 Key Management Why do we need Internet key management AH and ESP require encryption and authentication keys Process to negotiate

More information

Firewalls Network Security: Firewalls and Virtual Private Networks CS 239 Computer Software March 3, 2003

Firewalls Network Security: Firewalls and Virtual Private Networks CS 239 Computer Software March 3, 2003 Firewalls Network Security: Firewalls and Virtual Private Networks CS 239 Computer Software March 3, 2003 A system or combination of systems that enforces a boundary between two or more networks - NCSA

More information

Date: June 4 th a t 1 4:00 1 7:00

Date: June 4 th a t 1 4:00 1 7:00 Kommunika tionssyste m FK, Examina tion G 5 0 7 Date: June 4 th 0 0 3 a t 4:00 7:00 KTH/IMIT/LCN No help material is allowed. You may answer questions in English or Swedish. Please answer each question

More information

Network Working Group. Category: Standards Track BBN September 1997

Network Working Group. Category: Standards Track BBN September 1997 Network Working Group Request for Comments: 2207 Category: Standards Track L. Berger FORE Systems T. O Malley BBN September 1997 RSVP Extensions for IPSEC Data Flows Status of this Memo This document specifies

More information

IP Security. Have a range of application specific security mechanisms

IP Security. Have a range of application specific security mechanisms IP Security IP Security Have a range of application specific security mechanisms eg. S/MIME, PGP, Kerberos, SSL/HTTPS However there are security concerns that cut across protocol layers Would like security

More information

IPv6. IPv6, MPLS. IPv6. IPv6 Addresses. IPv4 Packet Format. IPv6. History

IPv6. IPv6, MPLS. IPv6. IPv6 Addresses. IPv4 Packet Format. IPv6. History , MPLS History Next generation IP (AKA IPng) Intended to extend address space and routing limitations of IPv4 Requires header change Attempted to include everything new in one change IETF moderated Based

More information

AIT 682: Network and Systems Security

AIT 682: Network and Systems Security AIT 682: Network and Systems Security Final Exam Review Instructor: Dr. Kun Sun Topics covered by Final Topic before Midterm 10% Topic after Midterm 90% Date: 12/13/2017 7:30am 10:15am Place: the same

More information

Automatic Regression testing of network code: User-Mode Linux and FreeSWAN

Automatic Regression testing of network code: User-Mode Linux and FreeSWAN Automatic Regression testing of network code: User-Mode Linux and FreeSWAN Michael C. Richardson Sandelman Software Works Inc. mcr@sandelman.ottawa.on.ca http://www.sandelman.ca/mcr Abstract 1 Background:

More information

Cryptography and Network Security. Prof. D. Mukhopadhyay. Department of Computer Science and Engineering. Indian Institute of Technology, Kharagpur

Cryptography and Network Security. Prof. D. Mukhopadhyay. Department of Computer Science and Engineering. Indian Institute of Technology, Kharagpur Cryptography and Network Security Prof. D. Mukhopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Module No. # 01 Lecture No. # 38 A Tutorial on Network Protocols

More information

RFC 430x IPsec Support

RFC 430x IPsec Support The includes features Phase 1 and RFC430x IPsec Support Phase 2 that implement Internet Key Exchange (IKE) and IPsec behavior as specified in RFC 4301. Finding Feature Information, page 1 Information About,

More information

Using the Cisco ACE Application Control Engine Application Switches with the Cisco ACE XML Gateway

Using the Cisco ACE Application Control Engine Application Switches with the Cisco ACE XML Gateway Using the Cisco ACE Application Control Engine Application Switches with the Cisco ACE XML Gateway Applying Application Delivery Technology to Web Services Overview The Cisco ACE XML Gateway is the newest

More information

Network Security and Cryptography. December Sample Exam Marking Scheme

Network Security and Cryptography. December Sample Exam Marking Scheme Network Security and Cryptography December 2015 Sample Exam Marking Scheme This marking scheme has been prepared as a guide only to markers. This is not a set of model answers, or the exclusive answers

More information

CSC 6575: Internet Security Fall 2017

CSC 6575: Internet Security Fall 2017 CSC 6575: Internet Security Fall 2017 Network Security Devices IP Security Mohammad Ashiqur Rahman Department of Computer Science College of Engineering Tennessee Tech University 2 IPSec Agenda Architecture

More information

Sections Describing Standard Software Features

Sections Describing Standard Software Features 30 CHAPTER This chapter describes how to configure quality of service (QoS) by using automatic-qos (auto-qos) commands or by using standard QoS commands. With QoS, you can give preferential treatment to

More information

Configuring IPsec on Cisco Routers Mario Baldi Politecnico di Torino (Technical University of Torino)

Configuring IPsec on Cisco Routers Mario Baldi Politecnico di Torino (Technical University of Torino) Configuring IPsec on Cisco Routers Mario Baldi Politecnico di Torino (Technical University of Torino) http://staff.polito.it/mario.baldi Nota di Copyright This set of transparencies, hereinafter referred

More information

IPsec NAT Transparency

IPsec NAT Transparency sec NAT Transparency First Published: November 25, 2002 Last Updated: March 1, 2011 The sec NAT Transparency feature introduces support for Security (sec) traffic to travel through Network Address Translation

More information

The IPsec protocols. Overview

The IPsec protocols. Overview The IPsec protocols -- components and services -- modes of operation -- Security Associations -- Authenticated Header (AH) -- Encapsulated Security Payload () (c) Levente Buttyán (buttyan@crysys.hu) Overview

More information

Cloud Security Best Practices

Cloud Security Best Practices Cloud Security Best Practices Cohesive Networks - your applications secured Our family of security and connectivity solutions, VNS3, protects cloud-based applications from exploitation by hackers, criminal

More information

SFO17-406: IPsec Full Offload Support in OpenDataPlane. Bill Fischofer

SFO17-406: IPsec Full Offload Support in OpenDataPlane. Bill Fischofer SFO17-406: IPsec Full Offload Support in OpenDataPlane Bill Fischofer Credits The work described in this session represents the collaborative contribution of the LNG ODP team, particularly: Petri Savolainen,

More information

Configuring IKEv2 Fragmentation

Configuring IKEv2 Fragmentation The IKE Fragmentation adhering to RFC feature implements fragmentation of Internet Key Exchange Version 2 (IKEv2) packets as proposed in the IETF draft-ietf-ipsecme-ikev2-fragmentation-10 document. Finding

More information

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski Operating Systems 16. Networking Paul Krzyzanowski Rutgers University Spring 2015 1 Local Area Network (LAN) LAN = communications network Small area (building, set of buildings) Same, sometimes shared,

More information

Chapter 6. IP Security. Dr. BHARGAVI H. GOSWAMI Department of Computer Science Christ University

Chapter 6. IP Security. Dr. BHARGAVI H. GOSWAMI Department of Computer Science Christ University Chapter 6 IP Security Dr. BHARGAVI H. GOSWAMI Department of Computer Science Christ University +91 9426669020 bhargavigoswami@gmail.com Topic List 1. IP Security Overview 2. IP Security Architecture 3.

More information

Principles of Information Security, Fourth Edition. Chapter 8 Cryptography

Principles of Information Security, Fourth Edition. Chapter 8 Cryptography Principles of Information Security, Fourth Edition Chapter 8 Cryptography Learning Objectives Upon completion of this material, you should be able to: Chronicle the most significant events and discoveries

More information

Split DNS. Finding Feature Information

Split DNS. Finding Feature Information The feature enables a Cisco device to respond to Domain Name System (DNS) queries using a specific configuration and associated host table cache that are selected based on certain characteristics of the

More information

Automating VPN Management

Automating VPN Management Automating VPN Management By Scott Hilton, Vice President Product Management Assured Digital, Inc. Although many network managers, users and executives agree on the benefits of virtual private networking,

More information

INFS 766 Internet Security Protocols. Lectures 7 and 8 IPSEC. Prof. Ravi Sandhu IPSEC ROADMAP

INFS 766 Internet Security Protocols. Lectures 7 and 8 IPSEC. Prof. Ravi Sandhu IPSEC ROADMAP INFS 766 Internet Security Protocols Lectures 7 and 8 IPSEC Prof. Ravi Sandhu IPSEC ROADMAP Security Association IP AH (Authentication Header) Protocol IP ESP (Encapsulating Security Protocol) Authentication

More information

Virtual Tunnel Interface

Virtual Tunnel Interface This chapter describes how to configure a VTI tunnel. About s, on page 1 Guidelines for s, on page 1 Create a VTI Tunnel, on page 2 About s The ASA supports a logical interface called (VTI). As an alternative

More information

Communications Software. CSE 123b. CSE 123b. Spring Lecture 10: Mobile Networking. Stefan Savage

Communications Software. CSE 123b. CSE 123b. Spring Lecture 10: Mobile Networking. Stefan Savage CSE 123b CSE 123b Communications Software Spring 2003 Lecture 10: Mobile Networking Stefan Savage Quick announcement My office hours tomorrow are moved to 12pm May 6, 2003 CSE 123b -- Lecture 10 Mobile

More information