Ipsec
Ipsec
Ipsec
2
IPSecurity Services :
• Access control
• Connectionless integrity
• Confidentiality (encryption)
4
Two Modes of IPSecurity
◦ IPSec operates in two modes: Transport mode and Tunnel mode.
5
Transport Mode
◦ IPSec in transport mode does not protect the IP header; it only protects the information
coming from the transport layer.
6
Tunnel Mode
◦ In tunnel mode, IPSec protects the entire IP packet. It takes an IP packet,
including the header, applies IPSec security methods to the entire packet, and
then adds a new IP header.
◦ IPSec in tunnel mode protects the original IP header.
7
DIFFERENCE BETWEEN TWO
MODES
8
Two Security Protocols
9
Authentication Header (AH)
11
◦ Next header - The 8-bit next-header field defines the type of payload carried
by the IP datagram (such as TCP, UDP, ICMP, or OSPF).
◦ Security parameter index. The 32-bit security parameter index (SPI) field
plays the role of a virtual-circuit identifier and is the same for all packets sent
during a connection called a security association
13
Encapsulating Security Payload (ESP)
14
Encapsulating Security Payload (ESP) Protocol in
transport mode
15
◦ Security parameter index
◦ Sequence number
◦ Pad length - The 8-bit pad length field defines the number of padding bytes.
Range ( 0 -255)
◦ Next header
◦ Authentication data
16
ESP provides source authentication, data integrity, and
confidentiality privacy.
17
Security Association
• Security Association (SA) form the basis of Internet Protocol Security (IPSec).
• This relationship describes that how the existing security services should be
utilized in a way that the entities can communicate securely. 18
Security Association
• With the help of the defined IPsec protocols, SAs offer data protection for
unidirectional traffic.
19
Important parameters related to security Association are:
• ESP Information