© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Traditional Internet Applications Asst. Prof. Chaiporn Jaikaeo, Ph.D.

Slides:



Advertisements
Similar presentations
Introduction to Networks
Advertisements

How Clients and Servers Work Together. Objectives Web Server Protocols Examine how server and client software work Use FTP to transfer files Initiate.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
The Internet Useful Definitions and Concepts About the Internet.
Layer 7- Application Layer
Chapter 29 Structure of Computer Names Domain Names Within an Organization The DNS Client-Server Model The DNS Server Hierarchy Resolving a Name Optimization.
Cornell CS502 Web Basics and Protocols CS 502 – Carl Lagoze Acks to McCracken Syracuse Univ.
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
Implementing Application Protocols. Overview An application protocol facilitates communication between applications. For example, an client uses.
Chapter 30 Electronic Mail Representation & Transfer
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: Application Layer Network Basics.
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.
Linux Operations and Administration
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
Electronic Mail (SMTP, POP, IMAP, MIME)
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. 1.
INTRODUCTION TO WEB DATABASE PROGRAMMING
IT 210 The Internet & World Wide Web introduction.
1 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
1 Chapter Internet Applications (DNS, )
1 Chapter Internet Applications (DNS, )
Human-Computer Interface Course 5. ISPs and Internet connection.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
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.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Internet Applications  DNS   TELNET  FTP  Web browsing.
Electronic Mail Originally –Memo sent from one user to another Now –Memo sent to one or more mailboxes Mailbox –Destination point for messages.
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
The Internet Writer’s Handbook 2/e Introduction to World Wide Web Terms Writing for the Web.
1 Web Developer Foundations: Using XHTML Chapter 1 Key Concepts.
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. Revised 1/12/2015 by William Pegram 1.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Network Installation. Internet & Intranets Topics to be discussed Internet. Intranet. .
1 Applications Computer Networks. 2 Where are we?
Traditional Internet Applications Dr. John P. Abraham Professor UTRGV.
Electronic Mail. Client Software and Mail Hosts –Client PC has client software that communicates with user’s mail host –Mail hosts deliver.
1 Web Development & Design Foundations with XHTML Chapter 1 Key Concepts.
1 Welcome to CSC 301 Web Programming Charles Frank.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
CMPE 80N - Introduction to Networks and the Internet 1 Client-Server Architecture Client Server request response.
Application Layer Honolulu Community College Cisco Academy Training Center Semester 1 Version
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
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.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
Chapter 2 Application Layer Computer Networking: A Top Down Approach, 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
CS 6401 The World Wide Web Outline Background Structure Protocols.
4343 X2 – Outline The Domain Name System The Web.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
COMP 431 Internet Services & Protocols
1 Chapter 10: Application Layer Reference: Chapter 7 - “Computer Networks”, Andrew S. Tanenbaum, 4th Edition, Prentice Hall, 2003.
Ch 2. Application Layer Myungchul Kim
© MMII JW RyderCS 428 Computer Networks1 Electronic Mail  822, SMTP, MIME, POP  Most widely used application service  Sometimes only way a person ever.
Introduction to the Internet
Instructor Materials Chapter 5 Providing Network Services
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
E-commerce | WWW World Wide Web - Concepts
Chapter 10: Application Layer
William Stallings Data and Computer Communications
Traditional Internet Applications – / DNS
Applications Layer Functionality & Protocols
Traditional Internet Applications
Presentation transcript:

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Traditional Internet Applications Asst. Prof. Chaiporn Jaikaeo, Ph.D. Computer Engineering Department Kasetsart University, Bangkok, Thailand Adapted from the notes by Lami Kaya, and notes by J.F Kurose and K.W.

2 Application-Layer Protocols Specs for network applications The syntax and semantics of messages Actions to be taken if an error arises How the two sides know when to terminate communication There are two broad types of application-layer protocols that depend on the intended use: Private communication—proprietary, limited scope Standardized service—standard, Internet-wide: Web server, FTP, etc. Standards for the Internet are known as Request for Comments (RFCs)

3 Representation And Transfer Application-layer protocols specify two aspects of interaction: Representation Transfer

World Wide Web

5 Web Protocols The World Wide Web (WWW) is one of the most widely used services in the Internet

6 Document Representation With HTML HyperText Markup Language (HTML) Specifies the syntax of a web page Uses a textual representation Describes pages that contain multimedia Provides markup specifications instead of formatting Permits a hyperlink to be embedded in an arbitrary object

7 Document Representation With HTML Whitespaces do not matter Document Title Hello Document Title Hello

8 Uniform Resource Locators URLs identify where resources can be found and how they can be obtained The general form of a URL is: Example:

9 Uniform Resource Locators In a typical URL, a user can omit many of the parts E.g., Which omits the protocol (http is assumed) the port (80 is assumed) the document name (index.html is assumed) and parameters (none are assumed)

10 Hypertext Transfer Protocol HyperText Transfer Protocol (HTTP) Primary transfer protocol between web server and browser (client) A browser is a client that extracts a server name from a URL and contacts the server Most URLs contain an explicit protocol reference of or omit the protocol altogether (HTTP is assumed)

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.11 HTTP Once it establishes a connection a browser sends an HTTP request to the server

12 HTTP GET Requests/Responses The browser (client) sends a GET request to request a resource (e.g., HTML doc, images) The server responds by sending a header, a blank line, and the requested document GET /index.html HTTP/1.1 CRLF ( \r\n ) Sample GET request HTTP/ OK Server: Apache/ Content-Length: 221 Content-Type: text/html : Sample response

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.13 Response Details The first line of a response header contains a status code Additional lines of the header give further information, such as its length when it was last modified and the content type

14 Web Browser Architecture A browser must understand HTTP (at least) A browser also provides support for other protocols Knows how to interact with a server and how to interpret responses E.g., a browser must know how to access the FTP (File Transfer Protocol) service Knows what external program to launch for particular protocol code

File Transfer

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.16 File Transfer Protocol (FTP) FTP provides a powerful mechanism for the exchange of data between computers File transfer across the Internet is complicated because computers are heterogeneous, since each computer system file representations type information naming file access mechanisms

17 File Transfer Protocol (FTP) On some OS, each line in a text file is terminated by a single LINEFEED (LF) character On some OS may require both CARRIAGE RETURN (CR) and LINEFEED (LF) Some OS use slash (/) as a separator in file names, and others use a backslash (\)

18 FTP Communication Paradigm Based on client-server architecture Employs two types of connections Control connection – used for sending control commands Data connections – used for transferring file contents or directory listings

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.19 Typical FTP Connections

Electronic Mail

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.21 Electronic Mail One of the most widely used Internet applications Because it was conceived before personal computers and hand-held PDAs were available, software is divided into two parts interface application A mechanism for a user to compose and edit outgoing messages as well as read and process incoming transfer program acts as a client to send a message to the mail server on the destination computer; the mail server accepts incoming messages and deposits each in the appropriate user's mailbox

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.22 Electronic Mail The specifications used for Internet can be divided into three broad categories

23 Simple Mail Transfer Protocol (SMTP) Standard protocol that a mail transfer program uses SMTP has a restriction to send only textual content MIME standard that allows to include attachments such as graphic images or binary files SMTP can send a single message to multiple recipients

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.24 Example SMTP Session

25 ISPs, Mail Servers, And Mail Access Most users do not know how to configure and manage an server ISPs began offering services An ISP runs an server and provides a mailbox for each user access follows one of two forms: A special-purpose interface application A web browser that accesses an web page

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.26 ISPs, Mail Servers, And Mail Access

27 Web Browser as Mail Access ISP provides a special web page that displays messages from a user's mailbox Advantages ability to read from any computer a user does not need to run a special mail interface application

28 Mail Access Protocols (POP, IMAP) Provide access to a user’s mailbox Permit a user to view headers, download, delete, or send messages Client runs on user’s personal computer Server runs on a computer that stores user’s mailbox

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.29 Representation Standards Two important representation standards exist: RFC (Request For Comments) 2822 Internet Message Format Multi-purpose Internet Mail Extensions (MIME)

RFC 2822 Mail Message Format Takes its name from the IETF standards document RFC 2822 A mail message is represented as a text file and consists of a header section a blank line and a body Header lines each have the form: Keyword: information where the set of keywords is defined to include From:, To:, Subject:, Cc:

31 Multi-purpose Internet Mail Extensions (MIME) The MIME standard extends the functionality of to allow the transfer of non-text data in a message MIME specifies how a binary file can be encoded into printable characters, included in a message, and decoded by the receiver The Base64 encoding standard is most popular, but MIME does not restrict encoding to a specific form

Domain Name System

33 Domain Name System (DNS) DNS provides a service that maps human- readable symbolic names to computer addresses Just like a phonebook of the Internet Browsers, mail software, and most other Internet applications use the DNS

34 Domain Name System (DNS) Each name consists of a sequence of alpha-numeric segments separated by periods For example, a computer in the Computer Engineering Department at Kasetsart University has the domain name: garnet.cpe.ku.ac.th A computer at Cisco, Incorporated has the domain name: anakin.cisco.com Domain names are hierarchical, with the most significant part of the name on the right

35 Top-Level Domains (TLDs) The most significant segment of each domain name is called a top-level domain (TLD) Controlled by the Internet Corporation for Assigned Names and Numbers (ICANN) ICANN designates one or more domain registrars to administer a given top-level domain and approve specific names

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.36 Examples of TLDs

Examples of Country Code TLDs ccTLDCountry at Austria be Belgium ca Canada ch Switzerland cn Mainland China fm Federated States of Micronesia jp Japan th Thailand to Tonga tv Tuvalu

38 DNS Hierarchy And Server Model Each organization is free to choose the details of its servers A small organization that only has a few computers can contract with an ISP to run a DNS server. An organization that runs its own server can choose to place all names for the organization in a single physical server, or it can choose to divide its names among multiple servers

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.39 Possible Server Setups

40 Name Resolution Software (or library) to perform name-address translation is known as a name resolver The resolver becomes a client of a DNS server DNS server returns an answer to the caller Each resolver is configured with the address of one or more local domain name servers The resolver forms a DNS request message sends the message to the local server waits for the server to send a DNS reply message for the answer

requesting host cis.poly.edu gaia.cs.umass.edu root DNS server local DNS server dns.poly.edu authoritative DNS server dns.cs.umass.edu 7 8.edu DNS server Example Host at cis.poly.edu wants IP address for gaia.cs.umass.edu There are 13 root DNS servers around the world

DNS Caching Once (any) name server learns mapping, it caches mapping Cache entries timeout (disappear) after some time TLD servers typically cached in local name servers Thus root name servers not often visited

nslookup Command Tool for querying DNS Available for many operating systems Including Windows and Linux $ nslookup > Server: Address: #53 Non-authoritative answer: Name: Address: >

Summary Common Internet applications and protocols World Wide Web Electronic Mail File Transfer Domain Name System