10.1. IntroductionIn this chapter, we look at the architecture that comprises and unifies the various IPsec protocols. We'll see that IPsec exactly meets our definition for a VPN: It's encryption and authentication applied to a tunnel in order to create the illusion of a private leased-line network. The overall architecture of IPsec is described in RFC 2401 [Kent and Atkinson 1998c], but separate RFCs describe its protocols and its encryption and authentication algorithms. Many of these RFCs are discussed in subsequent chapters. RFC 2401 doesn't talk very much about VPNs, preferring instead to discuss such objects as "secured connections." When it does use the term VPN, the RFC applies it to the case of a secured IP-in-IP tunnel, called tunnel mode in IPsec. We take the position that all IPsec modes constitute a VPN (see Exercise 10.3) and use the term freely. IPsec can be implemented in several ways in a host or security gateway. RFC 2401 describes three possible implementations:
Although RFC 2401 sometimes distinguishes among these types of implementations, the differences appear to matter only when considering the fine points of an actual implementation. For our purposes, we can imagine that IPsec is always integrated into the stack. |