Network & Internet Security Flashcards
IPSec Modes of Operation
Transport Mode-IPSec header protects rest of packet and maybe IP header
Tunnel Mode-IPSec header and new IP header protect original payload
Security Associations
Contract between sender and receiver Determines IP protocols, keys, etc. One for inbound and outbound traffic Hosts store their SAs in a SA database Identified by SPI, IP of dest, AH or ESP
Anti-Replay Mechanism
SN starts at 0 when new SA is negotiated
++SN when new packet sent
N is largest sequence number seen so far
Packets with SN between N-W+1 and N are accepted only once
Packets with SN <= N-W aren’t accepted at all
Authentication Header
Transport Mode-Authenticated except for mutable fields
Tunnel Mode-Authenticated except for mutable fields in the new IP header
MAC computed over entire packet
Encapsulation Security Protocol
Transport Mode-Orig IP hdr || ESP hdr || TCP || Data || ESP trlr || ESP auth (opt); auth ESP hdr-ESP trlr; encr TCP-ESP trlr
Tunnel Mode-New IP hdr || ESP hdr || Orig IP hdr || TCP || Data || ESP trlr || ESP auth (opt); auth ESP hdr-ESP trlr; encr Orig IP hdr-ESP trlr