Internet Internet 1962: Paul Baran, packet switching 1969: DARPA, - - PowerPoint PPT Presentation

internet internet
SMART_READER_LITE
LIVE PREVIEW

Internet Internet 1962: Paul Baran, packet switching 1969: DARPA, - - PowerPoint PPT Presentation

History Internet Internet 1962: Paul Baran, packet switching 1969: DARPA, 4-node ARPANET 1974: Vint Cerf, Bob Kahn, TCP 1982: TCP/IP ARPANET 1984: DNS 1986: NSFNET Backbone Network, 56kbps 1992 : Tim Berners-Lee,


slide-1
SLIDE 1

Internet Internet

Basic concepts - 2 Basic concepts and directions in telecommunications C. Courcoubetis

History

1962: Paul Baran, packet switching 1969: DARPA, 4-node ARPANET 1974: Vint Cerf, Bob Kahn, TCP 1982: TCP/IP στο ARPANET 1984: DNS 1986: NSFNET Backbone Network, 56kbps 1992: Tim Berners-Lee, WWW

Basic concepts - 3 Basic concepts and directions in telecommunications C. Courcoubetis

Development of the internet

NSFNET δίκτυο κορµού ∆ίκτυα τοπικής εµβέλειας ∆ίκτυα πελατών Χρήστες Network service providers (US) MCI, NETCOM SPRINT, PSI ANS, Uunet, Verio

NAPs

(Network Access Points) ISPs ∆ίκτυα πελατών Χρήστες

Internet: 1990 Internet: 2000+ 2000: >75 public NAPs, 100M computers, 3M domains

AT&T, BBN EBONE, Qwest,...

Internet

Architecture and Services

slide-2
SLIDE 2

Basic concepts - 5 Basic concepts and directions in telecommunications C. Courcoubetis

Client-server service model

Server: application that listens to a specific network address (N,p)

  • p: same for identical services

Client: “light” application, runs locally, connects for short time to a server using TCP

  • r UDP

server B client server A server C

100 101

ports applications server C client

Basic concepts - 6 Basic concepts and directions in telecommunications C. Courcoubetis

Applications

Use the client – server model FTP: Listens to port 21, 2 TCP connections SMTP: simple mail transfer protocol

  • Receives: message + addresses of receivers

Telnet: Simulates direct terminal connection

RTP: real-time transfer protocol

  • audio+video transmission with small dealy
  • Transmitter: Codes, Compresses
  • Receiver: Stores, decodes

Basic concepts - 7 Basic concepts and directions in telecommunications C. Courcoubetis

Electronic mail

user agent (Alice) (MS Outlook) user agent (Jane) (Netscape) mail server hermes.aueb.gr 25 mail server xxx.ntua.gr 25 SMTP mail to jane@ntua.gr from alice@aueb.gr SMTP http POP3 IMAP http POP3: port 110, memory less IMAP: memory http: only a browser is required to send and receive Send an email message Access the mail server for messages

Basic concepts - 8 Basic concepts and directions in telecommunications C. Courcoubetis

WWW

HTTP: hypertext transfer protocol

  • Uses TCP for transmission of files (port 80)
  • web browser: client, remote machine: server
  • 1. “click” go to my home page

<A HREF=“http://www.aueb.gr/users/courcou”>

  • 2. Opens a connection with the server (3-way

handshake), Send the file’s address

  • 3. server: Asks for the password, authentication, Sends

the file and terminates his connection

  • 4. browser: Terminates his connection
slide-3
SLIDE 3

Basic concepts - 9 Basic concepts and directions in telecommunications C. Courcoubetis

WWW (2)

HTML: hypertext marking language

  • The browsers understand html

example:

  • My personal web page,
  • HTML code

URL: uniform resource locator

  • “identity” of network places

− www.aueb.gr/users/courcou − Access protocol, Network address − host name, path

Basic concepts - 10 Basic concepts and directions in telecommunications C. Courcoubetis

HTML

<HTML> <HEAD> <TITLE> Origins of the Internet</TITLE> </HEAD> <BODY BGCOLOUR = “white” TEXT = “darkblue”> <P>The history of the Internet begins at the height of the cold war.... ...see <A HREF = http://www.aueb.gr/fileF.html> map F <\A> for details... .................................................................a nuclear attack?</P> <P>Communication networks of the day were.................................. ....................................................................................................... ....<IMG SRC = http://www.ntua.gr/pictures/stars.gif > ................ ................................................................................................</P> </BODY> </HTML>

Basic concepts - 11 Basic concepts and directions in telecommunications C. Courcoubetis

Management of TCP connections

3 way handshake model

client server

SYN: (SYN=1, seq=client_isn) SYN SYN.ack ack

data

SYN.ack: (SYN=1, seq=server_isn, ack= client_isn+1) ack: (SYN=0, seq=client_isn+1, ack= server_isn+1)

m http request

FIN ack ack FIN

Basic concepts - 12 Basic concepts and directions in telecommunications C. Courcoubetis

How http functions

Web page = consists of different objects (base html file + JPEG, GIF,Java ap.) Base html file F A B Get F F client server Get A A Get B B

TCP

Get F F Get B B Get A A Http1.1

slide-4
SLIDE 4

Basic concepts - 13 Basic concepts and directions in telecommunications C. Courcoubetis

Http mesages

GET /users/courcou/index.html HTTP/1.1 Host: www.aueb.gr Connection: close User-agent: Mozilla/4.0 Accept-language:gr POST /yahoo.com/search HTTP/1.1 arg1?arg2?arg3 HTTP/1.1 200 OK Connection: close Date:… Server:Apache Last-modified: Mon, 12 May 1999 02:23:26 Content-length: 23232 Content-type: text/html data…………………… ……………………….. 301 Moved Permanently 304 Not modified since 400 Bad Request 401 Authorization required 404 Not Found HTTP REQUEST message HTTP RESPONSE message Πείραµα: telnet www.aueb.gr 80 GET /users/courcou/index.html HTTP/1.0 request line (one line) header lines entity body

Basic concepts - 14 Basic concepts and directions in telecommunications C. Courcoubetis

http request message

Two types of http messages: request and response

Basic concepts - 15 Basic concepts and directions in telecommunications C. Courcoubetis

http request message

Basic concepts - 16 Basic concepts and directions in telecommunications C. Courcoubetis

http response message

slide-5
SLIDE 5

Basic concepts - 17 Basic concepts and directions in telecommunications C. Courcoubetis

http response status codes

In the first line of a response message

Basic concepts - 18 Basic concepts and directions in telecommunications C. Courcoubetis

Authentication

Basic concepts - 19 Basic concepts and directions in telecommunications C. Courcoubetis

Cookies

Keep “state”

Basic concepts - 20 Basic concepts and directions in telecommunications C. Courcoubetis

Conditional GET

Client-side caching

slide-6
SLIDE 6

Basic concepts - 21 Basic concepts and directions in telecommunications C. Courcoubetis

Dynamic Content

A request is generated by the browser (as an HTTP request) and contains several things (concept of the request string):

  • server + program + form data

http://www.anyserver.com/cgi-bin/results.cgi?name=Sony&cat=TV

web server location and name of program Key=value pairs

Basic concepts - 22 Basic concepts and directions in telecommunications C. Courcoubetis

Creating Dynamic Content

Common Gateway Interface (CGI)

A set of standard methods and routines used to write a stand- alone software program that knows how to receive requests from a Web Server and returns data to the server Written in a wide variety of programming languages (Perl, Visual Basic etc.) Problem: Create a process for each CGI program

Web Server Common Gateway Interface Process 1

  • Runtime Environment
  • Environment Variables
  • Program

Process 2

  • Runtime Environment
  • Environment Variables
  • Program

Internet

Names and addresses

Basic concepts - 24 Basic concepts and directions in telecommunications C. Courcoubetis

IP addresses

  • 4 numbers separated by fullstops
  • example: 128.171.17.13
  • Official server addresses / hosts
  • Official Name: ΙΡ address

246.38.17.145 128.171.17.13

slide-7
SLIDE 7

Basic concepts - 25 Basic concepts and directions in telecommunications C. Courcoubetis

From names to addresses

Basic Problem:

Computer Name -> Network address

  • Corresponding example: Telephone catalogue

Name on the internet: Hierarchical Structure

  • domains: .com, .edu, .gov, .int, .mil, …, .gr, ,.fr, .be, ...
  • Sub-domains: berkeley.edu, aueb.gr, forth.gr, …
  • Sub-sub-dmains: ics.forth.gr, thetis.ics.forth.gr, ...
  • Every (sub) domain has a responsible name server (DNS)

− Each DNS knows the addresses of the sub-domain DNS’s

Basic concepts - 26 Basic concepts and directions in telecommunications C. Courcoubetis

Name and addresses (2)

root name server local

name server dns.aueb.gr

requesting host high.aueb.gr authoritative name server dns.berkeley.edu authoritative name server dns.cs.berkeley.edu cyber.cs.berkeley.edu 1 2 3 4 5 6 7 8 root name server requesting host dias.aueb.gr 1 2 3 4 5 6 7 8 iterative query recursive queries

Internet value chain

Basic concepts - 28 Basic concepts and directions in telecommunications C. Courcoubetis

The Internet value chain (2)

user Applications and content (ASP) Server farm Backbone Access ISP Bit pipes

slide-8
SLIDE 8

Basic concepts - 29 Basic concepts and directions in telecommunications C. Courcoubetis

The Internet value chain

  • 1. I nfrastructure service level: simple services

used by other levels

  • bit pipes, equipment, call-center services, billing
  • 2. I nternet services level:
  • Connectivity services: transport services (IP data,

streaming,…), connection with applications (data centers) and with users

data center, IP backbone, access, end-user IP network, distribution

  • I nformation services: content services: applications,

telecommunication services to end-users, e-commerce

Application Service Provider (ASP), Content Provider (CP), Electronic Marketplace Provider (EMP), Communication Service Provider, Internet Retailer

  • End-user level

Basic concepts - 30 Basic concepts and directions in telecommunications C. Courcoubetis

The Internet value chain (3)

Internet Service Layer

Financial Service Provider Connectivity Provider Information Provider End-User Billing Service Provider Network Component Service Provider

Infrastructure Layer

Basic concepts - 31 Basic concepts and directions in telecommunications C. Courcoubetis

More slides

Basic concepts - 32 Basic concepts and directions in telecommunications C. Courcoubetis

Architecture

F T P

T E L N E T R L O G I N

S M T P D N S

...

H T T P R T P T F T P

TCP UDP IP LAN link

slide-9
SLIDE 9

Basic concepts - 33 Basic concepts and directions in telecommunications C. Courcoubetis

File Transfer Protocol

ftp client ftp server Local file system Remote file system TCP control connection port 21 TCP data connection port 20 (one per file) Control: user id, list, chdir, put, get, ...