Application Layer -1- Network Tools

Similar documents
Internet Control Protocols Reading: Chapter 3

Application-layer protocols

Introduction to Network Operating Systems

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

ETSF10 Part 3 Lect 2

1 Introduction: Network Applications

Lab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas

Computer Networks I Laboratory Exercise 1

BASIC ANALYSIS OF TCP/IP NETWORKS

Chapter 11. User Datagram Protocol (UDP)

Connecting with Computer Science, 2e. Chapter 5 The Internet

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Lecture 28: Internet Protocols

IP addressing and forwarding Network layer

Web Browsing Examples. How Web Browsing and HTTP Works

This Lecture. The Internet and Sockets. The Start If everyone just sends a small packet of data, they can all use the line at the same.

How do I get to

Lab - Observing DNS Resolution

DNS Basics. DNS Basics

Network Layer: and Multicasting Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Network Technologies

Technical Support Information Belkin internal use only

Troubleshooting Tools

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

Application Layer. CMPT Application Layer 1. Required Reading: Chapter 2 of the text book. Outline of Chapter 2

Networking Test 4 Study Guide

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

Network layer: Overview. Network layer functions IP Routing and forwarding

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt

Chapter 25 Domain Name System Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Using IPM to Measure Network Performance

Sample Configuration Using the ip nat outside source list C

HTTP. Internet Engineering. Fall Bahador Bakhshi CE & IT Department, Amirkabir University of Technology

Chapter 10 Troubleshooting

Web. Services. Web Technologies. Today. Web. Technologies. Internet WWW. Protocols TCP/IP HTTP. Apache. Next Time. Lecture # Apache.

Cape Girardeau Career Center CISCO Networking Academy Bill Link, Instructor. 2.,,,, and are key services that ISPs can provide to all customers.

Domain Name System (DNS)

Network: several computers who can communicate. bus. Main example: Ethernet (1980 today: coaxial cable, twisted pair, 10Mb 1000Gb).

Internet Technologies. World Wide Web (WWW) Proxy Server Network Address Translator (NAT)

Data Communication Networks and Converged Networks

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

CISC 1600 Introduction to Multi-media Computing

Lecture 2. Internet: who talks with whom?

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Unix System Administration

LESSON Networking Fundamentals. Understand TCP/IP


Computer Networks & Security 2014/2015

SWE 444 Internet and Web Application Development. Introduction to Web Technology. Dr. Ahmed Youssef. Internet

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Network Layer: Address Mapping, Error Reporting, and Multicasting

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Network Security TCP/IP Refresher

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Компјутерски Мрежи NAT & ICMP

Detailed Table of Contents

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering

Transport and Network Layer

Computer Networks. Lecture 7: Application layer: FTP and HTTP. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Network Layers. CSC358 - Introduction to Computer Networks

Introduction to LAN/WAN. Application Layer (Part II)

TCP/IP and the Internet

Address Resolution Protocol (ARP)

Lab - Observing DNS Resolution

Topic 7 DHCP and NAT. Networking BAsics.

Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

Interconnecting Cisco Network Devices 1 Course, Class Outline

7 TRANSMISSION CONTROL PROTOCOL/ INTERNET PROTOCOL (TCP/IP)

Cisco Configuring Commonly Used IP ACLs

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Hands On Activities: TCP/IP Network Monitoring and Management

Application Protocols in the TCP/IP Reference Model

Glossary of Technical Terms Related to IPv6

Chakchai So-In, Ph.D.

IPv6 Fundamentals: A Straightforward Approach

Tools for penetration tests 1. Carlo U. Nicola, HT FHNW With extracts from documents of : Google; Wireshark; nmap; Nessus.

Sample Configuration Using the ip nat outside source static

04 Internet Protocol (IP)

Introduction to Internet and WWW

Ethereal Lab: DNS. 1. nslookup

Terminology. Internet Addressing System

Network Protocol Configuration

OSBRiDGE 5XLi. Configuration Manual. Firmware 3.10R

Outline Definition of Webserver HTTP Static is no fun Software SSL. Webserver. in a nutshell. Sebastian Hollizeck. June, the 4 th 2013

Subnetting,Supernetting, VLSM & CIDR

8.2 The Internet Protocol

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Forouzan: Chapter 17. Domain Name System (DNS)

CS101 Lecture 19: Internetworking. What You ll Learn Today

LAN TCP/IP and DHCP Setup

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

How Does Ping Really Work?

- IPv4 Addressing and Subnetting -

Homework 3 TCP/IP Network Monitoring and Management

Transcription:

EITF25 Internet: Technology and Applications Application Layer -1- Network Tools 2015, Lecture 08 Kaan Bür

Previously on EITF25 Addressing above IP Ports, sockets Process-to-process delivery Transport layer protocols TCP UDP Quality of Service Transport Layer 2015-11-30 EITF25 Internet: Technology and Applications 2

Application layer Principles of digital communications From electrical signals to bits to packets Using the physical infrastructure Network access Finding your way Addressing, routing Making use of it all Applications 2015-11-16 EITF25 Internet: Technology and Applications 3

Today: Application Layer (1) Domain Name System, DNS [S24.2][F26.6] Host Configuration, DHCP [S21.5][F18.4.4] Debugging Tools, ICMP [S14.3][F19.2] World-Wide Web, HTTP [S24.3][F26.1] *[Kihl & Andersson: 7.5, 7.7, 7.9, 12.4] 2015-11-30 EITF25 Internet: Technology and Applications 4

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 2015-11-30 EITF25 Internet: Technology and Applications 5

Domain Name System (DNS) Internet s telephone book: Address name One of the most important systems on the Internet 2015-11-30 EITF25 Internet: Technology and Applications 6

Domain name space Names must be unique Complete control needed 2015-11-30 EITF25 Internet: Technology and Applications 7

Domain names and labels 2015-11-30 EITF25 Internet: Technology and Applications 8

Internet domains 2015-11-30 EITF25 Internet: Technology and Applications 9

Generic domains 2015-11-30 EITF25 Internet: Technology and Applications 10

Country domains se lth eit eit.lth.se 2015-11-30 EITF25 Internet: Technology and Applications 11

Hierarchy of domain name servers 13 logical root name servers implemented by 376 physic al servers 2015-11-30 EITF25 Internet: Technology and Applications 12

Domains, subdomains, zones Domain Subtree of DNS Zone Servers control area 2015-11-30 EITF25 Internet: Technology and Applications 13

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! 2015-11-30 EITF25 Internet: Technology and Applications 14

Recursive resolution 2015-11-30 EITF25 Internet: Technology and Applications 15

Iterative resolution 2015-11-30 EITF25 Internet: Technology and Applications 16

Domain name to IP address (1) troll.trollnet.se magi.magicnet.se 1. magi.magicnet.se? ns.trollnet.se 2015-11-30 EITF25 Internet: Technology and Applications 17

Domain name to IP address (2) troll.trollnet.se magi.magicnet.se 2. magicnet.se? 3. Ask ns.magicnet.se ns.trollnet.se 2015-11-30 18 EITF25 Internet: Technology and Applications 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 2015-11-30 19 EITF25 Internet: Technology and Applications

Domain name to IP address (4) troll.trollnet.se magi.magicnet.se 7. IP = 194.52.54.47 2015-11-30 20 EITF25 Internet: Technology and Applications

Exercise: Break this vicious cycle! DHCP IP addr. IP DNS TCP UDP 2015-11-30 EITF25 Internet: Technology and Applications 21

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) 2015-11-30 EITF25 Internet: Technology and Applications 22

DHCP operation 2015-11-30 EITF25 Internet: Technology and Applications 23

DHCP states 75% 2015-11-30 EITF25 Internet: Technology and Applications 24

See you in 15 :) After the break Network debugging ICMP World-wide web 2015-11-30 EITF25 Internet: Technology and Applications 25

Debugging Tools Applications used for debugging Two examples Ping Traceroute 2015-11-30 EITF25 Internet: Technology and Applications 26

Ping 2015-11-30 EITF25 Internet: Technology and Applications 27

Traceroute 2015-11-30 EITF25 Internet: Technology and Applications 28

Internet Control Message Protocol ICMP Support protocol for IP Error reporting Query 2015-11-30 EITF25 Internet: Technology and Applications 29

Encapsulation ICMP messages encapsulated in IP packets 2015-11-30 EITF25 Internet: Technology and Applications 30

ICMP message formats Error reporting Query messages 2015-11-30 EITF25 Internet: Technology and Applications 31

ICMPv4 message types 2015-11-30 EITF25 Internet: Technology and Applications 32

Redirection (error reporting type) Routing update for hosts More efficient when too many hosts DEFAULT ROUTER 2015-11-30 EITF25 Internet: Technology and Applications 33

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 2015-11-30 EITF25 Internet: Technology and Applications 34

Echo request and reply (query type) Is my destination alive? Network diagnostics IP layer Debugging tools Ping Traceroute 2015-11-30 EITF25 Internet: Technology and Applications 35

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 2015-11-30 EITF25 Internet: Technology and Applications 36

Traceroute Echo request 2015-11-30 EITF25 Internet: Technology and Applications 37

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 2015-11-30 EITF25 Internet: Technology and Applications 38

Client-server paradigm 2015-11-30 EITF25 Internet: Technology and Applications 39

Peer-to-peer paradigm 2015-11-30 EITF25 Internet: Technology and Applications 40

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. 2015-11-30 EITF25 Internet: Technology and Applications 41

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 2015-11-30 EITF25 Internet: Technology and Applications 42

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 2015-11-30 EITF25 Internet: Technology and Applications 43

Hypertext Transfer Protocol (HTTP) Text-based protocol Two basic types of messages Requests and Responses Sets up and uses a TCP connection 2015-11-30 EITF25 Internet: Technology and Applications 44

Document retrieval 2015-11-30 EITF25 Internet: Technology and Applications 45

Operation of HTTP 1.1 Persistent connection Only one TCP session for all requests from the same server. 2015-11-30 EITF25 Internet: Technology and Applications 46

HTTP request and response format 2015-11-30 EITF25 Internet: Technology and Applications 47

HTTP methods in requests Using these methods, clients may request corresponding actions from server. 2015-11-30 EITF25 Internet: Technology and Applications 48

Example request and response 2015-11-30 EITF25 Internet: Technology and Applications 49

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 2015-11-30 EITF25 Internet: Technology and Applications 50

Cookies 2015-11-30 EITF25 Internet: Technology and Applications 51

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 2015-11-30 EITF25 Internet: Technology and Applications 52