Finish Security - The Application Layer




CS158a

Chris Pollett

May 10, 2023

Outline

Introduction

Secret-Key Ciphers, Block Ciphers

Public-Key Ciphers, Signatures

Transport Layer Security (TLS)

Firewalls

Running a Firewall

Application Layer

E-mail

SMTP

S: 220 myname.edu
C: HELO client.domain 
S: 250 Hello client.domain, pleased to meet you 
C: MAIL FROM: bob@client.domain 
S: 250 bob@client.domain ... Sender ok 
C: RCPT TO: sally@myname.edu 
S: 250 sally@client.domain ... Receiver ok 
C: DATA 
S:354 Enter mail, end with "." on a line by itself 
C: How about lunch? 
C: . 
S: 250 Message accepted for delivery 
C: QUIT
S: 221 myname.edu closing connection

Format of Mail Messages

Additional SMTP Command

POP3

IMAP

HTTP

In-Class Exercise

The Domain Name System (DNS)

More on DNS

Still More on DNS

Name Servers