Review of Previous Lecture rn.edu
[Pages:37]Review of Previous Lecture
? Principles of app layer protocols
? clients and servers ? app requirements
? Web and HTTP ? FTP
Some slides are in courtesy of J. Kurose and K. Ross
Announcement
? All got partners and IP addresses ?
? Should complete at least part I by the end of this week
? Networking research project available (preferably with OS background)
Outline
? Electronic Mail: SMTP, POP3, IMAP ? DNS ? Socket programming with TCP
Electronic Mail
Three major components:
? user agents
? mail servers
? simple mail transfer protocol: SMTP
user agent
mail server
SMTP
User Agent
SMTP
outgoing message queue
user mailbox
user agent
mail server
user agent
? a.k.a. "mail reader"
? composing, editing, reading mail messages
? e.g., Eudora, Outlook, elm, Netscape Messenger
? outgoing, incoming messages stored on server
mail server
SMTP
user agent
user agent
user agent
Electronic Mail: mail servers
Mail Servers
? mailbox contains incoming messages for user
? message queue of outgoing (to be sent) mail messages
? SMTP protocol between mail servers to send email messages
? client: sending mail server
? "server": receiving mail server
user agent mail server
SMTP
SMTP
user agent
mail server
user agent
mail server
SMTP
user agent
user agent
user agent
Electronic Mail: SMTP [RFC 2821]
? uses TCP to reliably transfer email message from client to server, port 25
? direct transfer: sending server to receiving server ? three phases of transfer
? handshaking (greeting) ? transfer of messages ? closure ? command/response interaction ? commands: ASCII text ? response: status code and phrase
? messages must be in 7-bit ASCII
Scenario: Alice sends message to Bob
1) Alice uses UA to compose message and "to" bob@someschool.edu
2) Alice's UA sends message to her mail server; message placed in message queue
3) Client side of SMTP opens TCP connection with Bob's mail server
4) SMTP client sends Alice's message over the TCP connection
5) Bob's mail server places the message in Bob's mailbox
6) Bob invokes his user agent to read message
1 user agent 2
mail server
3
4
mail server
5
user
6
agent
SMTP: final words
? SMTP uses persistent Comparison with HTTP:
connections
? HTTP: pull
? SMTP requires message (header & body) to be in
? SMTP: push
7-bit ASCII
? both have ASCII
? SMTP server uses CRLF.CRLF to determine
command/response interaction, status codes
end of message
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- ftp the file transfer protocol
- smtp porcupine
- 04 smtp other cornell university
- supplementary networking slides
- mime multipurpose internet mail extensions
- the mime multipart related content type
- application layer protocols
- application part 2
- network working group e levinson obsoletes 2112 category
- 2 4 mime and transfer encoding
Related searches
- philosophy of education lecture notes
- verification of previous employment letter
- principles of management lecture notes
- philosophy of education lecture notes slideshare
- principles of marketing lecture notes
- department of elementary and secondary edu mo
- fundamentals of marketing lecture notes
- principles of accounting lecture notes
- sociology of education lecture notes
- copy of previous tax return
- law of evidence lecture notes
- fundamentals of nursing lecture notes