( Post Office Protocol - Version 3 ) POP3 RFC 1939 報告學生 : 駱正哲.

Slides:



Advertisements
Similar presentations
Securing Bruce Maggs. Separate Suites of Protocols Protocols for retrieving POP, IMAP, MAPI (Microsoft Exchange) Protocols for sending
Advertisements

Trivial Protocols CS-328 Dick Steflik. What’s a Protocol The rules that govern the exchange of information between to hosts –when a dignitary visits a.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.
INTRANET MAIL SERVER (DESIGN OF SMTP and POP3)
1 Electronic Mail u Three major components: u user agents u mail servers u simple mail transfer protocol: SMTP u User Agent u a.k.a. “mail reader” u composing,
2: Application Layer1 ECE5650 FTP, , DNS, and P2P.
CPSC 441: FTP & SMTP1 Application Layer: FTP & Instructor: Carey Williamson Office: ICT Class.
Electronic Mail and SMTP
Simple Mail Transfer Protocol (SMTP) CS-328 Dick Steflik.
POP3 Post Office Protocol v.3. Intro The Post Office Protocol (POP) is currently the most popular TCP/IP access and retrieval protocol. It implements.
Esimerkki: Sähköposti. Lappeenranta University of Technology / JP, PH, AH Electronic Mail Three major components: user agents mail servers simple mail.
Simple Mail Transfer Protocol
Introduction 1 Lecture 7 Application Layer (FTP, ) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering.
Mail Server Fitri Setyorini. Content SMTP POP3 How mail server works IMAP.
Introduction 1-1 Chapter 2 FTP & Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 IC322 Fall.
FTP File Transfer Protocol. Introduction transfer file to/from remote host client/server model  client: side that initiates transfer (either to/from.
2: Application Layer1 Chapter 2 Application Layer These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross.
Implementing POP3 and IMAP4 Using Dovecot
SMTP, POP3, IMAP.
1 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
Mail Services.
CSE401N: Computer Networks Lecture-5 Electronic Mail S. M. Hasibul Haque Lecturer Dept. of CSE, BUET.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 2: Application.
Intro to Computer Networks Bob Bradley The University of Tennessee at Martin.
Review: –How do we address “a network end-point”? –What services are provided by the Internet? –What is the network logical topology observed by a network.
Application Layer Protocols Simple Mail Transfer Protocol.
Electronic Mail. Most heavily used application on any network Uses client-server architecture –Electronic mail client accepts mail from user and delivers.
Lecturer: Maxim Podlesny Sep CSE 473 File Transfer and Electronic in Internet.
Application Protocols: ELECTRONIC MAIL (SMTP, POP) CSNB534 Semester 2, 2007/2008 Asma Shakil.
Telecooperation Technische Universität Darmstadt Copyrighted material; for TUD student use only Internet Standards: Julian Schröder-Bernhardi, Dirk.
Sending and Receiving Mails
Simple Mail Transfer Protocol (SMTP)
File Transfer Protocol (FTP)
Krerk Piromsopa. Application Protocols & System Services. 1 Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.
1 SMTP - Simple Mail Transfer Protocol –RFC 821 POP - Post Office Protocol –RFC 1939 Also: –RFC 822 Standard for the Format of ARPA Internet Text.
Securing Bruce Maggs. Separate Suites of Protocols Protocols for retrieving POP, IMAP, MAPI (Microsoft Exchange) Protocols for sending
Chapter 16: Distributed Applications Business Data Communications, 4e.
TFTP: Trivial file transfer protocol
Computer Networks with Internet Technology William Stallings Chapter 03 Traditional Applications.
CS 3830 Day 9 Introduction 1-1. Announcements r Quiz #2 this Friday r Demo prog1 and prog2 together starting this Wednesday 2: Application Layer 2.
ColdFusion Foundations: POP3 Mosh Teitelbaum evoch, LLC.
P.O.P. A presentation brought to you by Thomas. Topics Introduction General Information Area of use Functionality The alternative way POP3 vs. IMAP Conclusion.
SMTP - Simple Mail Transfer Protocol RFC 821
CITA 310 Section 6 Providing Services (Textbook Chapter 8)
Post Office Protocol.
CS440 Computer Networks 1 Neil Tang 12/01/2008.
Slides based on Carey Williamson’s: FTP & SMTP1 File Transfer Protocol (FTP) r FTP client contacts FTP server at port 21, specifying TCP as transport protocol.
World Wide Web r Most Web pages consist of: m base HTML page, and m several referenced objects addressed by a URL r URL has two components: host name and.
COMP 431 Internet Services & Protocols
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Implementing POP3 and IMAP4 Using Dovecot AfNOG 2016 Scalable Internet Services (SS-E) Gaborone, Botswana Presented by Michuki Mwangi (Built on materials.
Spring 2006 CPE : Application Layer_ 1 Special Topics in Computer Engineering Application layer: Some of these Slides are Based on Slides.
درس مهندسی اینترنت – مهدی عمادی مهندسی اینترنت برنامه‌نویسی در اینترنت 1 SMTP, FTP.
Securing Bruce Maggs.
SMTP - Simple Mail Transfer Protocol POP - Post Office Protocol
Securing Bruce Maggs.
Securing Bruce Maggs.
Implementing POP3 and IMAP4 Using Dovecot
CIT 383: Administrative Scripting
SMTP, POP3, IMAP.
ColdFusion Foundations: POP3
Chapter 2: Application layer
Internet and Intranet Protocols and Applications
Chapter 2 Application Layer
Securing Bruce Maggs.
Securing Bruce Maggs.
File Transfer Protocol
Part II Application Layer.
Presentation transcript:

( Post Office Protocol - Version 3 ) POP3 RFC 1939 報告學生 : 駱正哲

POP3 smtp server User Agent mail drop POP3 Server TCP port 110 smtp port

POP3 +OK -ERR command arguments CRLF case-insensitive (status indicator) responses CRLF responses CRLF 40 characters 512 characters message format responses CRLF. CRLF

POP3 AUTHORIZATION TRANSACTION UPDATE USER / PASS APOP POP3 AUTH QUIT LIST,RETR, DELE …… QUIT Three stages greeting

POP3 AUTHORIZATION STAGE USER / PASS Plaintext USER nameresponse : +OK Password required for name. PASS stringresponse : +OK name has n messages (m octets). space acceptable dangerous

POP3 AUTHORIZATION STAGE APOP 1. A timestamp in greeting 2. APOP user digestdigest Timestamp ex. 16 octets Hexadecimal ( and lower-case ASCII)

POP3 AUTHORIZATION STAGE MD 5 timestampshared secret digest

POP3 AUTHORIZATION STAGE POP3 AUTH +OK maildrop locked and ready -ERR authentication exchange failed AUTH mechanism : server challenge : + ( BASE64 encoded string) client answer : ( BASE64 encoded string) client cancel : *

Exclusive-access lock on the maildrop POP3 AUTHORIZATION STAGE Mailbox Pop3 client new mail Mailbox new mail

POP3 TRANSACTION STAGE STAT:issue a drop listing for that maildrop response :+OK nn mm number of messages total size in octet (decimal) STAT +OK

POP3 TRANSACTION STAGE LIST (msg) :List messages in the mailfrop or issue a scan listing for that message LIST +OK 10 messages (7817 octets) LIST 9 +OK 9 661

POP3 TRANSACTION STAGE RETR msg :+OK (message body) -ERR no such message DELE msg :+OK message deleted -ERR no such message NOOP :+OK

POP3 TRANSACTION STAGE UIDL (msg) :+OK unique-id listing -ERR no such message 1 ~ 70 characters Between : 0x21 ~ 0x7E unique - idmessage HASH

POP3 TRANSACTION STAGE UIDL +OK uidl command accepted. 1 e73f7d065d8ca4c4388ee3123c2b855a e2eff10ccce447c30c3a3f78b610 3 a9df87f9ca8ccbf72cb095c2ba ed16b3f3f00b53d0a7553eec96082efc 5 0a537b201c a133ee771f5f45b d8cc7da7d713548b5ea f747914f6e48c98692c38bf9 8 fab3686e92be670ebe5e cc44b 9 076ac86d0efeea6bca94240b4282f b3beb2d4c42f3563c19135b0ec0ff29.

POP3 UPDATE STAGE Remove message marked deleted Close TCP connection