Protocols
Saved & recent

IPsec

Also called: Internet Protocol Security, ESP, IPsec tunnel mode

IPsec is a suite for protecting IP traffic according to configured security policies. Security associations specify how traffic is protected between endpoints. Its mechanisms include ESP, which can provide encryption and integrity, and AH, which provides authentication and integrity without encryption. The chosen services and modes determine what is covered.

For example, two office gateways can use ESP tunnel mode to carry protected inner IP packets inside packets addressed to the gateways. Transport mode instead protects traffic within an existing IP packet without adding that same inner-and-outer addressing structure. A tunnel protects selected traffic between its endpoints; it does not automatically authorize every application behind them.

Read first
Internet Protocol
Related
Internet Protocol, WireGuard, Encapsulation, Authorization
Further reading
RFC 4301 — Security Architecture for the Internet Protocol
office gateway office gateway ESP tunnel mode packet in transit outer IP header ESP protected inner IP packet integrity tag confidentiality and integrity selected visible routing ESP transport mode IP header ESP protected upper-layer payload integrity tag
Conceptual ESP comparison with confidentiality and integrity selected. Tunnel mode carries a protected inner IP packet inside a visible outer routing header; transport mode protects the original IP payload without the same inner/outer address structure. AH does not provide encryption.

View in the full Protocols collection