Computer Network 1 1

Similar documents
Chapter 7 (Week 13) The Application Layer ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP BLM431 Computer Networks Dr.

Outline. EEC-484/584 Computer Networks. Slow Start Algorithm. Internet Congestion Control Algorithm

[Prof. Rupesh G Vaishnav] Page 1

Chapter 7. The Application Layer. DNS The Domain Name System. DNS Resource Records. The DNS Name Space Resource Records Name Servers

System: Basic Functionality

Electronic Mail Paradigm

OSI Model. Hybrid Model. Software outside the operating system Software inside the operating system. Only Internet addresses used

Electronic Mail. Electronic Mailboxes

The Application Layer

EEC-682/782 Computer Networks I

Lecture 7 Application Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Application Layer. Applications and application-layer protocols. Goals:

Electronic Mail (SMTP)

Lecture 6 Application Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

FTP,HTTP. By Nidhi Jindal

Electronic Mail. Three Components: SMTP SMTP. SMTP mail server. 1. User Agents. 2. Mail Servers. 3. SMTP protocol

The Application Layer: & SMTP

Simple Network Management Protocol (SNMP)

Application Layer Protocols

Chapter 2: Application layer

APPLICATION LAYER APPLICATION LAYER : DNS, HTTP, , SMTP, Telnet, FTP, Security-PGP-SSH.

Electronic Mail

Operating Systems CS 571

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

Simple Network Management Protocol (SNMP)

FTP. Mail. File Transfer Protocol (FTP) FTP commands, responses. Electronic Mail. TDTS06: Computer Networks

Electronic Mail. Prof. Indranil Sen Gupta. Professor, Dept. of Computer Science & Engineering Indian Institute of Technology Kharagpur

2. Introduction to Internet Applications

Chapter 2. Application Layer

The Application Layer: SMTP, FTP

Computer Networking Introduction

Traditional Internet Applications

Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0

is still the most used Internet app. According to some studies around 85% of Internet users still use for communication.

CSCE 463/612 Networks and Distributed Processing Spring 2018

Motivation For Networking. Information access Interaction among cooperative application programs Resource sharing

Protocol Classification

Application Layer Chapter 2

Applications & Application-Layer Protocols: FTP and (SMTP & POP)

Chapter 4. Internet Applications

Application Layer: OSI and TCP/IP Models

Communications Software. CSE 123b. CSE 123b. Spring Lecture 11: Domain Name System (DNS) Stefan Savage. Some pictures courtesy David Wetherall

CSE 123b Communications Software. Overview for today. Names and Addresses. Goals for a naming system. Internet Hostnames

CS 716: Introduction to communication networks th class; 11 th Nov Instructor: Sridhar Iyer IIT Bombay

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Lecture 25. Tuesday, November 21 CS 475 Networks - Lecture 25 1

Internet Technology. 03r. Application layer protocols: . Paul Krzyzanowski. Rutgers University. Spring 2016

Chapter 2 Application Layer. Lecture 5 DNS. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Network Applications Principles of Network Applications

CSCD 330 Network Programming Winter 2015

Chapter 2 outline. 2.1 Principles of app layer protocols

Application-layer Protocols

Chapter 2 part B: outline

Networking Revision. TCP/IP Protocol Stack & OSI reference model. Basic Protocols. TCP/IP Model ANTHONY KAO NETWORKING FINAL EXAM SPRING 2014 REVISION

Chapter 10: Application Layer

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

Application: Electronic Mail

Applications & Application-Layer Protocols: (SMTP) and DNS

DNS and SMTP. James Walden CIT 485: Advanced Cybersecurity. James WaldenCIT 485: Advanced Cybersecurity DNS and SMTP 1 / 31

CCNA Exploration1 Chapter 3: Application Layer Functionality and Protocols

DNS and HTTP. A High-Level Overview of how the Internet works

The Application Layer: Sockets, DNS

Computer Networking: Applications George Blankenship. Applications George Blankenship 1

FTP. Client Server Model. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Server Models

Lecture 05: Application Layer (Part 02) Domain Name System. Dr. Anis Koubaa

CSCE 463/612 Networks and Distributed Processing Spring 2018

Today: Naming. Example: File Names

Information Network Systems The application layer. Stephan Sigg

Application Level Protocols

Review for Internet Introduction

CHAPTER 22 DISTRIBUTED APPLICATIONS ANSWERS TO QUESTIONS ANSWERS TO PROBLEMS

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers

FTP. FTP offers many facilities :

4. The transport layer

CCNA Exploration Network Fundamentals. Chapter 03 Application Functionality and Protocols

Domain Name Service. DNS Overview. October 2009 Computer Networking 1

EECS 122: Introduction to Computer Networks DNS and WWW. Internet Names & Addresses

Objectives CINS/F1-01

Miscellaneous. Name Service. Examples. Outline Domain Name System Peer-to-Peer Networks

Unit 28 Website Production ASSIGNMENT 1

CSC 4900 Computer Networks:

CCNA 1 Chapter 10 v5.0 Exam Answers 2013

Ethernet / TCP-IP - Training Suite Application level protocols

WWW: the http protocol

INTERNET & WORLD WIDE WEB (UNIT-1) MECHANISM OF INTERNET

Lecture 6: Application Layer Web proxies, , and SMTP

CCNA R&S: Introduction to Networks. Chapter 10: The Application Layer

Foundations of Python

New Topic: Naming. Differences in naming in distributed and non-distributed systems. How to name mobile entities?

Chapter 2 Application Layer

13. Internet Applications 최양희서울대학교컴퓨터공학부

Application Layer: , DNS

Internet Electronic Mail

Application Layer. Goals:

Application Layer. Applications and application-layer protocols. Goals:

Application Layer. Goals: Service models. Conceptual aspects of network application protocols Client server paradigm

Problem Max. Points Act. Points Grader

Internet Applications. Dr Steve Gordon ICT, SIIT

DNS Concepts. Acknowledgements July 2005, Thimphu, Bhutan. In conjunction with SANOG VI. Bill Manning Ed Lewis Joe Abley Olaf M.

CC451 Computer Networks

Transcription:

Computer Network 1 1

Chapter 10: Application Layer Advanced Principal Concepts Samples and Techniques Foundation Summary Question and Answer 2

Outline Application Layer There is a need for support protocols, to allow the applications to function Some network applications DNS: handles naming within the Internet POP IMAP SMTP: handle electronic mail FTP: File Transfer over the Internet WWW HTTP: Web world Multimedia 3

Part 1: DNS and Email Advanced Principal Concepts Samples and Techniques Foundation Summary Question and Answer 4

Outline Where our applications are running? Using services provided by layers below that provide reliable transport We will look at: Domain Name System Email 5

Domain Name System - DNS IP addresses can be used to identify a host machine on the Internet e As those machines move around, the addresses need to be changed accordingly as well ASCII names have been used to decouple host names and their IPs to provide more flexibility The network itself still understands only numerical addresses The DNS was invented to manage and resolve host names into IP addresses 6

DNS: Characteristics i A file host.txt listed all the hosts and their IP addresses, but issue some problems: File size, load and latency Host name conflict Essence of DNS: Hierarchical Domain-based naming scheme Adi distributed ib ddatabase system 7

DNS: A Brief To map a name onto an IP address, an application program: Calls a library procedure called the resolver, passing it the name as a parameter The resolver sends a UDP packet to a local l DNS server DNS server looks up the name and returns the IP address to the resolver Resolver returns it to the application Armed with the IP address, the program can then establish a TCP connection with the destination or send it UDP packets 8

DNS Name Space A portion of the Internet domain name space 9

DNS naming Domain names are case insensitive: edu, Edu, EDU have the same meaning Component name can be up to 63 characters Full path names must not exceed 255 characters Each domain name server manages its own name space. It can create subdomain names without asking for permission from upper server. Examples: hcmut.edu.vn and cse.hcmut.edu.vn 10

Resource Records Every domain has a set of records associated with it The principal DNS resource records types. 11

Resource Records (2) A portion of a possible DNS database for cs.vu.nl. 12

Resource Records (3) hcmut.edu.vn. IN SOA hcmut-server.hcmut.edu.vn. webmaster.hcmut.edu.vn. ( 2004110800; serial 7200; refresh 3600; retry 604800; expire 86400 ); minimum hcmut.edu.vn. 86400 IN NS vnuserv.vnuhcm.edu.vn. hcmut.edu.vn. 86400 IN NS server.vnuhcm.edu.vn. hcmut.edu.vn. 86400 IN MX 0 webmailserv.hcmut.edu.vn. hcmut.edu.vn. 86400 IN MX 5 vnuserv.vnuhcm.edu.vn. hcmut-server.hcmut.edu.vn. 86400 IN A 172.28.2.2 stu-mailserv.hcmut.edu.vn. t 86400 IN A 172.28.2.328 2 webmailserv.hcmut.edu.vn. 86400 IN A 172.28.2.4 pop3.student.hcmut.edu.vn. 86400 IN CNAME stu-mailserv.hcmut.edu.vn. www.student.hcmut.edu.vn edu 86400 IN CNAME stu-mailserv mailserv.hcmut.edu.vn. edu vn. 13

Name Servers DNS Name Space is divided into non-overlappingoverlapping zones Each zone has Name Servers holding information about it 14

DNS - Query root name server recursive query puts burden of name resolution on contacted name server. heavy load? iterated query contacted server replies with name of server to contact. t I don t know this name, but ask this server 2 local name server dns.eurecom.fr 1 8 requesting host surf.eurecom.fr 3 4 7 iterated query intermediate name server dns.umass.edu 5 6 authoritative name server dns.cs.umass.edu gaia.cs.umass.edu 15

Electronic Mail Email (or E- mail) Has been around since the early days of Internet Is widely used today Informal form of communication Simple and easy to use 16

Electronic Mail (2) Some smileys :-). 17

Architecture and Services Basic scemail functions Composition Transfer Reporting Displaying i Disposition 18

Some email terms mailbox storage where incoming emails are saved for later processing mailing list a representative email address of a group of people. p Email sent to this address will be forwarded to all of its participants CC, BCC... 19

Email Message Structure Envelopes and messages. (a) Paper mail. (b) Electronic mail. 20

Email Systems Has two basic parts: User agent: a program that accepts a variety of commands for composing, receiving, and replying to messages, as well as for manipulating mailboxes Message transfer agents: relaying messages from the originator to the recipient 21

Reading E-mail Address format: user@dns-address An example display of the contents of a mailbox. 22

Message Formats RFC 822 header fields related to message transport. 23

Message Formats (2) Some fields used in the RFC 822 message header. 24

MIME Multipurpose Internet Mail Extensions Some problems when using ASCII formatted messages: Languages with accents (French, German). Languages in non-latin alphabets (Hebrew, Russian). Languages without alphabets (Chinese, Japanese). Messages not containing text at all (audio or images). MINE adds structure to the message body and defines encoding rules for non-ascii messages 25

MIME (2) RFC 822 headers added by MIME. 26

MIME (3) The MIME types and subtypes defined in RFC 2045. 27

multipart/mixed li i 28

multipart/alternative li l i 29

multipart/digest li 30

Message Transfer Message transfer agents are daemons running on mail servers Use Simple Mail Transfer Protocol Use TCP on port 25 31

Message Transfer (2) Transferring a message from elinore@abc.com to carolyn@xyz.comcom Using SMTP. 32

Final Delivery (a) Sending and reading mail when the receiver has a permanent Internet connection and the user agent runs on the same machine as the message transfer agent. (b) Reading e-mail when the receiver has a dial-up connection to an ISP. 33

POP3 Post Office Protocol Version 3 Use TCP on port 110 Is used to download messages from a mail server to client computers Example: Using POP3 to fthth fetch three messages. 34

IMAP (Internet Message Access Protocol) POP3 is not convenient when users frequently use different machines to read email from servers, as emails have to be downloaded to different computers more or less random IMAP can resolve this issues as emails will be always on the servers A comparison of POP3 and IMAP. 35

Web Mail user agent HTTP SMTP HTTP user agent ordinary Web browser sender s mail server receiver s mail server ordinary Web browser Convenient for the user on the go (Internet Café, WebTV, ) User can organize their hierarchy of folders on servers May be slow: server typically far from client interaction with server through CGI scripts 36