



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























IPSec (Internet Protocol Security)
m-y-p-a-s-s-w-o-r-d
d-a-n
telnet foo.bar.orgtelnet
foo.bar.org
username:username: dan
dan
password:password:
Deposit Rs 100,
Bank
Customer
Deposit Rs 1000
I’m Bob, Send Me
all Corporate
Correspondence
with PTCL
Bob
6
CPU CPU
Docsity.com
Public Key
DecryptionDecryption
Private Key
Networkers Networkers
&^$!@#l:{Q &^$!@#l:{Q
Networkers Networkers
Encryption Encryption
Authentication and Integrity -
Message-Digest Algorithms
Message
“
“Secret
Secret
Key Key”
”
Hash
Message
AliceAlice
Hash Hash
Function Function
Decrypt the
Received
Signature
Decrypt Using
Alice’s Public Key
Hash of
Message
Hash Message
Message with
Appended
Signature
If Hashes are
Equal, Signature
is Authentic
Re-Hash theReceivedMessage
Message
Signature Signature
SignatureSignature
Certificate Authority (CA) verifies identity
CA signs digital certificate containingdevice’s public key
Certificate equivalent to an ID card
Internet Internet
B A N K
contains:
•Serial number of thecertificate•Issuer algorithm information•Valid to/from date•User public key information•Signature of issuingauthority
00001230000123 RSA, 3837829RSA, 3837829…
…
1/1/93 to 12/31/981/1/93 to 12/31/98Alice Smith, Acme CorpAlice Smith, Acme CorpRSA, 3813710…RSA, 3813710
…
Acme Corporation, Security Dept.Acme Corporation, Security Dept.RSA, 2393702347…RSA, 2393702347
…
All Data in Clear Text
Router
Firewall
came from Router
Authentication
Data (00ABCDEF)
Authentication
Data (00ABCDEF)
IP Header + Data
IP Header + Data
Router
Firewall
DataData
Data confidentiality
Limited traffic flow confidentiality
Data integrity
Data origin authentication
Anti-replay protection
Does not protect IP Header
IPSec Encapsulating Security Payload
Header (ESP)
ESP header is prependedto IP datagram
Confidentiality throughencryption of IP datagram
Integrity through keyedhash function
Security Parameter Index (SPI) Security Parameter Index (SPI)
Sequence Number Field Sequence Number Field
Padding (If Any) Padding (If Any)
Pad
Length
Pad
Length
Next
Header
Next
Header
Initialization Vector Initialization Vector
Authentication Data Authentication Data
Payload Data Payload Data