slide 1
Slides by Vitaly Shmatikov UT Austin
IPSec Slides by Vitaly Shmatikov UT Austin slide 1 TCP/IP Example - - PowerPoint PPT Presentation
IPSec Slides by Vitaly Shmatikov UT Austin slide 1 TCP/IP Example slide 2 IP Security Issues Eavesdropping Modification of packets in transit Identity spoofing (forged source IP addresses) Denial of service Many solutions
slide 1
Slides by Vitaly Shmatikov UT Austin
slide 2
slide 3
slide 4
Protection for IP traffic AH provides integrity and
ESP also confidentiality Compression Sets up keys and algorithms for AH and ESP
slide 5
slide 6
– With an insecure network in the middle
slide 7
slide 8
slide 9
IPSec protects communication on the insecure part of the network
Implements IPSec Implements IPSec
slide 10
IP header (real dest) IPSec header TCP/UDP header + data IP header (gateway) IPSec header TCP/UDP header + data IP header (real dest)
slide 11
slide 12
slide 13
slide 14
– SA also records protocol being used (AH) and mode (transport or tunnel) plus hashing algorithm used – MD5 or SHA-1 supported as hashing algorithms
slide 15
Version Header Length TOS Packet length Packet I d Flags Fragment
TTL Protocol number Checksum Source I P address Destination I P address Options
slide 16
Before AH is applied
slide 17
Before AH is applied
slide 18
Next header (TCP) Payload length Reserved Security parameters index (SPI) Sequence number ICV: Integrity Check Value (HMAC of IP header, AH, TCP payload)
Identifies security association (shared keys and algorithms) Anti-replay Authenticates source, verifies integrity of payload
slide 19
slide 20
slide 21
slide 22
New IP header
Original IP header ESP header TCP/UDP segment ESP trailer ESP auth
encrypted authenticated
Original IP header ESP header TCP/UDP segment ESP trailer ESP auth
slide 23
Identifies security association (shared keys and algorithms) Anti-replay TCP segment (transport mode)
entire IP packet (tunnel mode) Pad to block size for cipher, also hide actual payload length Type of payload HMAC-based Integrity Check Value (similar to AH)
slide 24
– Including original headers so destination addresses are hidden
slide 25