Jan.2001C.Watters1 World Wide Web Basics. Jan.2001C.Watters2 What is an internet anyway? 2 or more networks that can communicate.

Slides:



Advertisements
Similar presentations
Hypertext Transfer PROTOCOL ----HTTP Sen Wang CSE5232 Network Programming.
Advertisements

Communication Protocols II Ninth Meeting. TCP/IP family.
World Wide Web Basics Original version by Carolyn Watters (Dalhousie U. Computer Science)
Layer 7- Application Layer
How the web works: HTTP and CGI explained
Cornell CS502 Web Basics and Protocols CS 502 – Carl Lagoze Acks to McCracken Syracuse Univ.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Hypertext Transport Protocol CS Dick Steflik.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Process-to-Process Delivery:
Lesson 24. Protocols and the OSI Model. Objectives At the end of this Presentation, you will be able to:
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
UNIT-V Computer Network Transport Layer 1 Prepared by - ROHIT KOSHTA.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
FTP (File Transfer Protocol) & Telnet
HyperText Transfer Protocol (HTTP).  HTTP is the protocol that supports communication between web browsers and web servers.  A “Web Server” is a HTTP.
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.
Some Data Comm. Standards
A Closer Look at HTTP HyperText Transfer Protocol.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Sistem Jaringan dan Komunikasi Data #9. DNS The Internet Directory Service  the Domain Name Service (DNS) provides mapping between host name & IP address.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
HTTP HTTP stands for Hypertext Transfer Protocol. It is an TCP/IP based communication protocol which is used to deliver virtually all files and other.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
Computer Networks. Introduction Computer Network2 A History Lesson of Networking 1969 – ARPANET, first packet switched network consist of UCLA, Stanford,
TCP/IP Transport and Application (Topic 6)
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
TCP/IP (Transmission Control Protocol / Internet Protocol)
Operating Systems Lesson 12. HTTP vs HTML HTML: hypertext markup language ◦ Definitions of tags that are added to Web documents to control their appearance.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP.
Web Services. 2 Internet Collection of physically interconnected computers. Messages decomposed into packets. Packets transmitted from source to destination.
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.
Fall 2000C.Watters1 World Wide Web and E-Commerce Internet and WWW Basics.
INTERNET AND PROTOCOLS For more notes and topics visit: eITnotes.com.
Computer Networks with Internet Technology William Stallings Chapter 04 Modern Applications 4.1 Web Access - HTTP.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
COMP2322 Lab 2 HTTP Steven Lee Jan. 29, HTTP Hypertext Transfer Protocol Web’s application layer protocol Client/server model – Client (browser):
1 Unraveling the Web: How Does it All Work?. 2 Web Enabling Technologies F TCP/IP network (Internet & others) F URLs F HTTP protocol and HTTP Servers.
COMPUTER NETWORKS Hwajung Lee. Image Source:
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
Oct 2000C.Watters1 Internet for E-Commerce Internet, Intranet, Extranet Basics.
INTRODUCTION Dr Mohd Soperi Mohd Zahid Semester /16.
HTTP Protocol Amanda Burrows. HTTP Protocol The HTTP protocol is used to send HTML documents through the Internet. The HTTP protocol sends the HTML documents.
Week-7 (Lecture-1) Internet Protocols: TCP/IP, Client Server: Protocol: Specification in networking and Communications It defines the procedures to be.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Hypertext Transfer Protocol
Instructor Materials Chapter 5 Providing Network Services
Computer Networks.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Computer Networks.
COMP2322 Lab 2 HTTP Steven Lee Feb. 8, 2017.
Networking for Home and Small Businesses – Chapter 6
Networking for Home and Small Businesses – Chapter 6
Topic 5: Communication and the Internet
Process-to-Process Delivery:
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Networking for Home and Small Businesses – Chapter 6
OSI Reference Model Unit II
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Unit – III Network Essentials
Presentation transcript:

Jan.2001C.Watters1 World Wide Web Basics

Jan.2001C.Watters2 What is an internet anyway? 2 or more networks that can communicate

Jan.2001C.Watters3 Historical View: Internet Telnet computers –Stanford, UCLA, UC Santa Barbara, U Utah FTP computers on the internet million computers on the internet ?? Kazillions

Jan.2001C.Watters4 What is the World Wide Web ? Hypertext connectivity of “documents”

Jan.2001C.Watters5 Size of the Internet

Jan.2001C.Watters6

Jan.2001C.Watters7 The web The Web is protocol that uses the internet as the communication structure links documents stored in computers communicating with the internet main authority: W3 consortium

Jan.2001C.Watters8 Historical View: WWW Berners Lee - web doc proposal Berners Lee - text browser (physicists) public access to web docs at CERN web servers & Mosaic (graphics) – (500 servers by year end) more Internet than US post x million docs & y million servers

Jan.2001C.Watters9

Jan.2001C.Watters10 Basics Web server - machine that services internet request Web client - machine that initiates internet request Browser - software to interact with internet data at the client TCP/IP - internet data protocol FTP - internet file transfer protocol HTTP - hypertext transfer protocol HTML - hypertext markup language

Jan.2001C.Watters11 Client-Server Model

Jan.2001C.Watters12 Looking in the Cloud /opt/sbin/traceroute

Jan.2001C.Watters13 CA*net2 layer 2 links

Jan.2001C.Watters14 CA*net3 Physical Links

Jan.2001C.Watters15 1. Client-Server & Web Cloud model TCP/IP HTTP and MIME types FTP protocol stacks

Jan.2001C.Watters16 Servers and Clients Servers - computer systems at the end of a network that store files and provide other services Clients - computer systems that are end points for users of the data

Jan.2001C.Watters17 Network Architectures ISO’s OSI model 1970’s International Organization for Standards Open Systems Interconnection reference Model 7 layer architecture

Jan.2001C.Watters18 ISO - OSI Model Application layer presentation layer session layer transport layer network layer data link layer physical layer Ftp, telnet, etc data compression, format set up connections end-to-end trans of packets guide packets along links send packet between nodes deliver bits between nodes

Jan.2001C.Watters19 ISO OSI model

Jan.2001C.Watters20 INTERNET MODEL 4 layers Application layer –communication services (ftp, telnet, ) transport layer –transmission of messages end-to-end network layer –transmission of messages sequence of links link layer –transmission of packet across one link

Jan.2001C.Watters21 Internet layers

Jan.2001C.Watters22 Application Layer FTP HTTP SMTP telnet etc

Jan.2001C.Watters23 TCP/IP Suite of protocols made the standard for the Internet facilitates communication between heterogeneous and similar networks that are connected together reliable, connection oriented, byte stream protocol

Jan.2001C.Watters24 Transport layer: TCP and UDP TCP –transmission control protocol –full duplex byte stream –virtual path (connected) –error free –uses acknowledgements –16 bit address of ports UDP –user datagram protocol –connectionless –no acknowledgements –no flow control –no resending of erroroneous packets –some error detection –16 bit port addresses

Jan.2001C.Watters25 TCP/IP Transport Control Protocol Internet Protocol

Jan.2001C.Watters26 TCP and IP

Jan.2001C.Watters27 Network Layer: IP Delivers packets up to 64kbytes, 1 at a time Each packet has a header –sending host and intended host network addresses –32 bit addresses IP layer (like UDP) – unreliable –connectionless

Jan.2001C.Watters28 Link Layer: links Connect computer to Internet SLIP –serial line IP (asynchronous, 1 char at a time) –move IP packets to common link (phone line) PPP –point-to-point protocol –also synchronous transfer for packets

Jan.2001C.Watters29 Data encapsulation using TCP on Ethernet

Jan.2001C.Watters30 TCP/IP apps TCP/IP software usually includes: –remote terminal client using TELNET protocol for remote login –electronic mail client using SMTP protocol to transfer to remote system –file transfer client using FTP protocol to transfer files between 2 machines

Jan.2001C.Watters31 HTTP HyperText Transport Protocol Native protocol for WWW sits on top of internet’s TCP/IP protocol HTTP is a 4 step process per transaction uses a predefined set of document formats from MIME

Jan.2001C.Watters32 MIME MIME - multipurpose internet mail extensions –defines file formats (images, video, text, etc) –e.g. Content-type: text/html – Data type/subtype » text/html » text/plain » image/gif » video/mpeg » application/msword »etc!!!

Jan.2001C.Watters33 HTTP Connection 1. Client –makes an HTTP request for a web page –makes a TCP/IP connection 2. Server accepts request –sends page as HTTP 3. Client downloads page 4. Server breaks the connection

Jan.2001C.Watters34 HTTP is Stateless!!!! Each operation or transaction makes a new connection each operation is unaware of any other connection each click is a new connection So how do they do those shopping carts??

Jan.2001C.Watters35 What does it look like? Header + object file Header –plain text –info about the object (MIME etc) –methods allowed –etc –browser sends a header to server each time you ask for information –server sends a header and possibly content

Jan.2001C.Watters36 HTTP Transaction Example GET /catalog/ip/ip.htm HTTP 1.0 Accept: text/plain Accept: text/html Referer: User-Agent: Mozilla/2.0

Jan.2001C.Watters37 HTTP REQUEST PROTOCOL Request = Simple | Full Simple = GET CRLF Full = Method URI ProtVersion CRLF [ *] [CRLF ] Method = GET | POST | HEAD | …. = : CRLF = MIME conforming message

Jan.2001C.Watters38 HTTP Header fields General-header fields –used for both requests and responses Request-header fields –used for responses –extra client information for use by server –optional

Jan.2001C.Watters39 General-header fields Date: mon,11, Jan :14:32 GMT MIME-version: 1.0 Pragma: no cache –directives

Jan.2001C.Watters40 Request-header fields acceptable MIME types for response –Accept:text/html – Accept:*.* 401 response from client –Authorization: Basic abcdef (uuencoded username and password) From:client- -addr

Jan.2001C.Watters41 More Request-header fields If-Modified-Since:date –conditional get source of current requested Url –Referer:URL robot/browser identification –User-Agent:Mozilla/2.0

Jan.2001C.Watters42 Looking at the HTTP Header Values In Perl –$ENV{“From”} In Netscape –

Jan.2001C.Watters43 HTTP Methods Client requests either –simple request –full request Request-line= method Request-URI HTTP-version CRLF GET /catalog/ip.html HTTP/1.0

Jan.2001C.Watters44 Simple requests Only for HTTP 0.9 only uses Get method causes the server to locate and transfer the object specified client responsible for handling the object GET CRLF

Jan.2001C.Watters45 Full Request Uses HTTP version and more methods method tells server what to do to the resource requested Methods –GET –POST –HEAD

Jan.2001C.Watters46 GET Method Request server to retrieve object specified conditional GET –request message includes –If-Modified-Since in header

Jan.2001C.Watters47 HEAD Method Like GET but does not return the object returns a header about the resource requested (metainformation) good way to test link validity

Jan.2001C.Watters48 POST Method Include an object in the request server should use that object in processing the request must include a Content-Length in header

Jan.2001C.Watters49 HTTP Response Message HTTP protocol version 3 digit status code reason phrase CRLF optional header fields CRLF

Jan.2001C.Watters50 HTTP Response Header Fields Additional information about the server such as: –LOCATION: exact URI address –SERVER: server software (CERN/3.0) –WWW-AUTHENTICATE: status 401 responses (unauthorized request) server challenges client client may use to send authorization info to server

Jan.2001C.Watters51 Understanding STATUS Codes 1xx - not yet in use 2xx - action successful 3xx - further action needed 4xx - client request error 5xx - server error

Jan.2001C.Watters52 HTTP Transaction 1. Client and server establish a connection 2. Client makes a request 3. Server makes a response 4. Server terminates connection

Jan.2001C.Watters53 Step 1 establish connection –TCP/IP connection set up –uses a port number as application reference –usually port 80 –ports 1024 are open) Step 2 client request –Http message sent with a request line –request-line = method URL HTTP version

Jan.2001C.Watters54 Web Port Assignments 21FTP 23 Telnet 25 smtp (mail) 70 gopher 79 finger 80 HTTP

Jan.2001C.Watters55 Step 3 Server response –server sends Http message and optionally requested data –resp-message = HTTP version statuscode reason-phrase [optional stuff] Step 4 connection terminated –usually the server –sometimes the client “stops” it –anything else, whoever notices terminates