CCNP ISCW Notes

1 Apr 2008

Chapter 12: IPsec Overview

IPsec features:

IPsec Protocols

Internet Key Exchange (IKE)

IKE handles secure exchange of keys and other information over a nonsecure channel.

Rides TCP port 500.

Encapsulating Security Payload (ESP)

Provides for both data encryption and integrity.

DES, 3DES, or AES can be used for encryption.

Hash-based Message Authentication Code (HMAC) provides data integrity, using either SHA-1 or MD5.

Defined as IP protocol 50.

Authentication Header (AH)

Does not provide for data encryption.

Like ESP, uses HMAC to provide data integrity.

Defined as IP protocol 51.

IPsec Modes

Peer Authentication

IPsec can use any of the following methods to authenticate a peer:

Internet Key Exchange (IKE)

IKE Protocols

IKE Phases

Phase 1

A bidirectional security association (SA) is established between peers, and peers may optionally be authenticated.

Phase 1 is accomplished in either main mode or aggressive mode.

Parameters such as hash methods and transform sets are negotiated.

Phase 1.5 (Optional)

Xauth (Extended Authentication) can optionally authenticate the user of the IPsec endpoint.

Phase 2

Unidirectional SA's are set up between endpoints in IKE quick mode using the parameters agreed upon in phase 1. Separate keys are used for each direction.

IKE Modes

Main Mode

Six messages are exchanged, in three pairs:

Aggressive Mode

An abbreviated version of main mode:

IKE Quick Mode

Used only in phase 2, to setup unidirectional SA's over an established bidirectional SA.

Other IKE Functions

Encryption Algorithms

Symmetric algorithms:

Asymmetric algorithms:

Public Key Infrastructure (PKI)

© 2008 PacketLife.net