Application Layer -1- Network Tools

Similar documents
EITF25 Internet- - Techniques and Applica8ons Stefan Höst. L9 Applica8on layer

ETSF10 Internet Protocols Network Layer Protocols

ICS 351: Networking Protocols

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

EEC-682/782 Computer Networks I

CS 457 Lecture 11 More IP Networking. Fall 2011

Outline. SC/CSE 3213 Winter Sebastian Magierowski York University. ICMP ARP DHCP NAT (not a control protocol) L9: Control Protocols

Chapter 2. Application Layer

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

ETSF10 Internet Protocols Routing on the Internet

Objectives. Connecting with Computer Science 2

ICS 451: Today's plan

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

Review of Important Networking Concepts

0 0& Basic Background. Now let s get into how things really work!

SC/CSE 3213 Winter Sebastian Magierowski York University CSE 3213, W13 L8: TCP/IP. Outline. Forwarding over network and data link layers

6. Correspondence relationship between Educational goals and Course goals

Internet applications

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

Network Layer (4): ICMP

Web Engineering (CC 552)

Internet Control Message Protocol (ICMP)

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

Ch.9 Internet Protocol: Error And Control Messages (ICMP)

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

Single Network: applications, client and server hosts, switches, access links, trunk links, frames, path. Review of TCP/IP Internetworking

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

CSCD 433/533 Advanced Networks

Unit 28 Website Production ASSIGNMENT 1

Higher layer protocols

TSIN02 - Internetworking

Fachgebiet Technische Informatik, Joachim Zumbrägel

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

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Use of the TCP/IP Protocols and the OSI Model in Packet Tracer

Table of Contents 1 System Maintaining and Debugging 1-1

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Network layer: Overview. Network Layer Functions

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

ICMP (Internet Control Message Protocol)

Different Layers Lecture 20

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

EE 122: HyperText Transfer Protocol (HTTP)

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

Network Security. Introduction to networks. Radboud University, The Netherlands. Autumn 2015

CCNA Exploration Network Fundamentals. Chapter 3 Application Layer Functionality and Protocols

Application Layer: OSI and TCP/IP Models

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits

Application Layer Protocols

ETSF10 Internet Protocols Transport Layer Protocols

Firewall Stateful Inspection of ICMP

Table of Contents. 1 Intrusion Detection Statistics 1-1 Overview 1-1 Displaying Intrusion Detection Statistics 1-1

Chapter 2 Applications and Layered Architectures

Web as a Distributed System

Protocol Classification

Introduction to Computer Networks. CS 166: Introduction to Computer Systems Security

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

Problems of IP. Unreliable connectionless service. Cannot acquire status information from routers and other hosts

Network Layer: DHCP, ICMP, NAT, IPv6

1/18/13. Network+ Guide to Networks 5 th Edition. Objectives. Chapter 10 In-Depth TCP/IP Networking

Internet Control Message Protocol (ICMP)

TSIN02 - Internetworking

CSCI-1680 WWW Rodrigo Fonseca

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Connecting with Computer Science Chapter 5 Review: Chapter Summary:

Computer Network 2015 Mid-Term Exam.

BSc. (Hons) Web Technologies. Examinations for 2017 / Semester 1

Lecture 18 Overview. Last Lecture. This Lecture. Next Lecture. Internet Protocol (1) Internet Protocol (2)

User Datagram Protocol(UDP)

Application Level Protocols

CSE 565 Computer Security Fall 2018

Computer Networks Security: intro. CS Computer Systems Security

ETSF10 Internet Protocols Routing on the Internet

The Application Layer: Sockets, DNS

Chapter 10: Application Layer

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Paper solution Subject: Computer Networks (TE Computer pattern) Marks : 30 Date: 5/2/2015

Computer Networking Introduction

Using ICMP to Troubleshoot TCP/IP Networks

Configuring Routes on the ACE

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

CSCI-1680 WWW Rodrigo Fonseca

Data Communication & Computer Networks MCQ S

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

CSCI 466 Midterm Networks Fall 2013

Transport: How Applications Communicate

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Internet Technology 3/2/2016

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

Table of Contents 1 System Maintenance and Debugging Commands 1-1

(ICMP), RFC

CCNA Exploration1 Chapter 3: Application Layer Functionality and Protocols

CSE 3214: Computer Network Protocols and Applications. Midterm Examination

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

TCP/IP Protocol Suite

Set of IP routers. Set of IP routers. Set of IP routers. Set of IP routers

Computer Communication - an introduction. Maria Kihl

MESSAGES error-reporting messages and query messages. problems processes IP packet specific information

WEB TECHNOLOGIES CHAPTER 1

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Transcription:

EITF25 Internet: Technology and Applications Application Layer -1- Network Tools 2013, Lecture 06 Kaan Bür, Stefan Höst

Previously on EITF25 Transport Layer Addressing above IP Ports, sockets Process-to-process delivery Transport layer protocols TCP UDP Quality of Service 2

Today: Application Layer (1) Domain Name System, DNS [Forouzan ed.5 ch.26.6] Host Configuration, DHCP [Forouzan ed.5 ch.18.4.4] Debugging Tools, ICMP [Forouzan ed.5 ch.19.2] World-Wide Web, HTTP [Forouzan ed.5 ch.26.1] *[Kihl & Andersson: 7.5, 7.7, 7.9, 12.4] 3

Mapping host name to IP address Application protocols use host names TCP/IP protocol suite uses IP addresses Mapping from host name to IP addresses Domain Name System (DNS) Domain name space Domain name resolution www.lth.se 130.235.209.220 4

Domain Name System (DNS) Internet s telephone book: Address name One of the most important systems on the Internet 5

Domain name space Names must be unique Complete control needed 6

Domain names and labels 7

Internet domains 8

Generic domains 9

Country domains se lth eit eit.lth.se 10

Hierarchy of domain name servers 13 logical root name servers implemented by 376 physic al servers 11

Domains, subdomains, zones Domain Subtree of DNS Zone Servers control area 12

Domain name resolution Action of address mapping Client = resolver Server = DNS One server cannot have all the answers! How to ask others? What to do with the answer? Caching Remember what you ve learned! 13

Recursive resolution 14

Iterative resolution 15

Domain name to IP address (1) troll.trollnet.se magi.magicnet.se 1. magi.magicnet.se? ns.trollnet.se 16

Domain name to IP address (2) troll.trollnet.se magi.magicnet.se 2. magicnet.se? ns.trollnet.se 17 3. Ask ns.magicnet.se x.ns.se

Domain name to IP address (3) troll.trollnet.se magi.magicnet.se 6. IP = 194.52.54.47 4. magi.magicnet.se? 5. IP = 194.52.54.47 ns.trollnet.se ns.magicnet.se 18

Domain name to IP address (4) troll.trollnet.se magi.magicnet.se 7. IP = 194.52.54.47 19

Exercise: Break this vicious cycle! DHCP IP addr. IP DNS TCP UDP 20

Obtaining an IP address Dynamic Host Configuration Protocol Application layer DHCP IP address Allocation from pool or static Network mask Default gateway DNS server(s) 21

DHCP operation 22

DHCP states 75% 23

See you in 15 :) After the break Network debugging ICMP World-wide web 24

Debugging Tools Applications used for debugging Two examples Ping Traceroute 25

Ping 26

Traceroute 27

Internet Control Message Protocol ICMP Support protocol for IP Error reporting Query 28

Encapsulation ICMP messages encapsulated in IP packets 29

ICMP message formats Error reporting Query messages 30

ICMPv4 message types 31

Redirection (error reporting type) Routing update for hosts More efficient when too many hosts DEFAULT ROUTER 32

Exercise: ICMP in action Q: In what kind of network can a host never receive a redirection message? A: In a network with only one router 33

Echo request and reply (query type) Is my destination alive? Network diagnostics IP layer Debugging tools Ping Traceroute 34

Traceroute Used to trace a packet s route from source to destination Uses three ICMP messages Echo Request (query) Time Exceeded (error) Destination Unreachable (error) Manipulates TTL field in IP header Uses wrong port number 35

Traceroute Echo request 36

Application layer paradigms Client-server paradigm WWW, Online games, Web TV, Facebook Peer-to-peer paradigm BitTorrent, Voddler, Skype Some applications use both paradigms Spotify

Client-server paradigm

Peer-to-peer paradigm 39

Application: WWW The idea of the World-Wide Web (WWW) was first proposed by Tim Berners-Lee in 1989 at CERN, the European Organization for Nuclear Research The purpose was to allow all CERN researchers at different locations throughout Europe to access each others results The commercial Web started in 1993.

Components of WWW Web documents (pages) HyperTextMarkup Language (HTML) for static web pages Script languages (PHP, ASP, JSP, CGI etc.) for dynamic Universal Resource Locator (URL) Standard way to identify location of web documents HyperText Transfer Protocol (HTTP) Protocol to access documents on a web server

Universal Resource Locator (URL) A web document has four identifiers Protocol, Host, Port and Path. A URL is defined as protocol://host:port/path Standard HTTP port 80 is is omitted http://www.eit.lth.se/course/eitf25

Hypertext Transfer Protocol (HTTP) Text-based protocol Two basic types of messages Requests and Responses Sets up and uses a TCP connection

Document retrieval 44

Operation of HTTP 1.1 Persistent connection Only one TCP session for all requests from the same server. 45

HTTP request and response format

HTTP methods in requests Using these methods, clients may request corresponding actions from server. 47

Example request and response 48

Cookies Original WWW was stateless Each request/response treated separately No history of previous messages Cookies store information about client introduce concept of a user session Implementation (creation and storage) of cookies can be different, but same concept

Cookies 50

Summary: Application Layer (1) Domain Name System Mapping host names to IP addresses Host configuration Obtaining an IP address Debugging tools Ping, traceroute, ICMP Client-server vs. P2P applications www, http, cookies 51