Networking Fundamentals: IP, DNS, URL, MIME

Similar documents
CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

Communications and Networking

TCP/IP Basis. OSI Model

The Application Layer. CS158a Chris Pollett May 9, 2007.

CS3250 Distributed Systems

CSE331: Introduction to Networks and Security. Lecture 12 Fall 2006

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

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

architecture: what the pieces are and how they fit together names and addresses: what's your name and number?

1 Introduction: Network Applications

2- Electronic Mail (SMTP), File Transfer (FTP), & Remote Logging (TELNET)

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

Networks University of Stirling CSCU9B1 Essential Skills for the Information Age. Content

The Application Layer: DNS

TCP/IP and the Internet

IP Subnetting and Addressing

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

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Networking Test 4 Study Guide

Overview of Computer Networks

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories:

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

Terminology. Internet Addressing System

, SNMP, Securing the Web: SSL

Configuring Health Monitoring

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

Lecture 28: Internet Protocols

Technical Support Information Belkin internal use only

IP Addressing Introductory material.

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

2- Electronic Mail (SMTP), File Transfer (FTP), & Remote Logging (TELNET)

Web Browsing Examples. How Web Browsing and HTTP Works

INTERNET DOMAIN NAME SYSTEM

Protocols. Packets. What's in an IP packet

Domain Name System (DNS)

E-Commerce Security. The Client-Side Vulnerabilities. Securing the Data Transaction LECTURE 7 (SECURITY)

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

LESSON Networking Fundamentals. Understand TCP/IP

Introduction to Network Operating Systems

EXPLORER. TFT Filter CONFIGURATION

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

DNS Basics. DNS Basics

Cisco Configuring Commonly Used IP ACLs

Chapter 19 Network Layer: Logical Addressing 19.1

Transport and Network Layer

IP Addressing. IP Addresses. Introductory material.

Glossary of Technical Terms Related to IPv6

Connecting to and Setting Up a Network

Remote login (Telnet):

Computer Networks & Security 2014/2015

IP address format: Dotted decimal notation:

Networking Applications

How do I get to

Introduction to TCP/IP

IP addresses. IP addresses: IPv4: 32 bits:

Data Communication I

Internet Addresses (You should read Chapter 4 in Forouzan)

Applications and Services. DNS (Domain Name System)

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

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

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

Objectives of Lecture. Network Architecture. Protocols. Contents

Configuring Class Maps and Policy Maps

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

Domain Name Resolver (DNR) Configuration

Positional Numbering System

Introduction to Computer Networks

Lab - Observing DNS Resolution

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

1. The Web: HTTP; file transfer: FTP; remote login: Telnet; Network News: NNTP; SMTP.

Chapter 6 Configuring the SSL VPN Tunnel Client and Port Forwarding

First Midterm for ECE374 03/09/12 Solution!!

Computer Networks. Instructor: Niklas Carlsson

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace

Evolution of the WWW. Communication in the WWW. WWW, HTML, URL and HTTP. HTTP Abstract Message Format. The Client/Server model is used:

Lesson 1 Quiz Certification Partners, LLC. All Rights Reserved. Version 2.0

Life of a Packet CS 640,

Networking Overview. (as usual, thanks to Dave Wagner and Vern Paxson)

CS 356 Lecture 27 Internet Security Protocols. Spring 2013

Domain Name System (DNS)

Introduction to Network. Topics

Chakchai So-In, Ph.D.

Lecture 2 CS An example of a middleware service: DNS Domain Name System

Active Defense and Prevention


Chapter 7: Computer Networks, the Internet, and the World Wide Web. Invitation to Computer Science, C++ Version, Third Edition

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

1. How many unique network IDs are there in class A addresses? # of unique hosts?

Electronic Mail

CS43: Computer Networks . Kevin Webb Swarthmore College September 24, 2015

TCP/IP Network Essentials. Linux System Administration and IP Services

Internet Security [1] VU Engin Kirda

01 - Introduction. Internet Technology. MSc in Communication Sciences Program in Technologies for Human Communication.

Domain Name System Richard T. B. Ma

Proxy Server, Network Address Translator, Firewall. Proxy Server

Proxies. Chapter 4. Network & Security Gildas Avoine

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

This unit contains the following two lessons: Lessons Pages Length Lesson 3-1: Network Layer Addressing hours

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

Transcription:

Networking Fundamentals: IP, DNS, URL, MIME Computer Science and Engineering College of Engineering The Ohio State University Lecture 10

Internet Protocol (IP) Addresses A unique 32-bit number Assigned to device connected to internet An address for delivery of packets Written in dotted-decimal notation Divided into 4 fields separated by. Each field is 8 bits, i.e., 0-255 decimal 10100100011010110111101100000110 10100100.01101011.01111011.00000110 164.107.123.6 Some are reserved: e.g., 127.0.0.1

Representation and Abstraction Abstraction: 32-bit integer value Representations Dotted decimal Dotted hex Dotted octal Hexadecimal Decimal Binary etc Recall: abstraction, representation, correspondence relation

Address Space Organizations are allocated blocks of contiguous address to use 32 bits means 4 billion addresses Population of the earth: 7 billion Not enough addresses to go around! The end is predictable Techniques like NAT developed to help In fact, the end has come! Feb 2011: Last block was allocated

IPv6 128 bits ~10 40 addresses; we re good for a while A tiny fraction of IP traffic today Recommended format (canonical): Divide into 8 fields separated by : Each field 16 bits, i.e., 4 hex digits (0-FFFF) Omit leading 0 s in a field If there are consecutive fields with value 0, compress them as :: Compress at most 1 such set of 0 s Otherwise rep could be ambiguous Compress the longest sequence

Canonical Format: Uniqueness 2001:0db8:0000:0000:0000:ff00:0042:8329 2001:0db8:0000:0000:0000:ff00:0042:8329 2001:db8:0:0:0:ff00:42:8329 2001:db8:0:0:0:ff00:42:8329 2001:db8::ff00:42:8329

Domain Names String corresponds to an IP address cse.ohio-state.edu is easier than 164.107.123.6 See host, whois Case insensitive: lower-case standard A partial map (almost) DNS maps lower-case strings IP addresses Multiple strings can map to same address! Some strings map to multiple addresses (unusual)!

Domain Name Hierarchy Separated by. s Don t confuse with dotted decimal! Right-to-left hierarchy Top level domain is right-most field edu, com, net, gov, countries (ca, it, ) Second-level domain to its left Then third, fourth, etc., no limit www.sos.state.oh.us Hostname + Domain Name = Fully Qualified Domain Name (FQDN) stdlinux.cse.ohio-state.edu

Name Servers Act as a phonebook for lookup Given a FQDN, return IP address Hierarchical by domain, with local caching for recently retrieved items

Protocols Systematic ordering of messages Phone rings Callee answers by saying Hello Caller answers by saying Hello Different protocols use different messages, different sequencing, etc. In Italy, callee answers by saying Pronto

Network Layering: Abstraction One protocol is built on top of another Application level: FTP, HTTP, SSH, SMTP, TELNET Transport: TPC, UDP Internet: IP Each protocol assumes certain behavior from layer below IP routes packets to destination (unreliable) TCP creates a reliable, in-order channel HTTP delivers web pages Take CSE 3461

Network Ports A single host has many ports Application-level protocols have default port ftp 20 http 80 imap 143 ssh 22 smtp 25 telnet 23 A web server is a running program, waiting, listening for a call (on port 80) See telnet

URL Uniform Resource Locator scheme://fqdn:port/path?query#fragment Schemes include http, ftp, mailto, file Case insentitive, prefer lower case Port is optional (uses default) 80 for http Variety of formats, depending on scheme http://www.osu.edu/news/index.php ftp://doe@ftp.cse.ohio-state.edu mailto://brutus.1@osu.edu FQDN is case insensitive, prefer lower case

Abstract Value and Encoding Concrete invariant (convention) No space, ;, :, & in encoding To represent these characters in abstract value, use %hh instead (hh is ASCII code in hex) %20 for space Q: What about % in abstract value? Recall: correspondence relation

Document Root Web server configured to serve documents from a location in file system document root : /class/3901 File: /class/3901/labs/lab2.html URL: http://www.cse.osu.edu/labs/lab2.html Slashes in path should be for server s OS (but forward slashes are common) Virtual servers: multiple doc roots Proxy servers: remote doc roots

MIME Multipurpose Internet Mail Extensions Used to be for mail attachments How to interpret a file File is a blob of bits (encoding) How to map this blob into (abstract) value? Colors, sounds, characters, etc? Recall: correspondence relation Syntax: type/subtype plain/text, plain/html image/gif, image/jpg video/mpeg, video/quicktime

Determining MIME Type The sender (web server) determines MIME type of document being sent Rules map extensions to MIME types If file arrives without MIME info, receiver has to guess File extension may suggest the MIME type Some types handled by browser itself Others require plugin or application Experimental MIME subtypes: x- application/x-gzip

Summary IP address are unique on network IPv4 vs IPv6 DNS maps strings to IP addresses Domains nested hierarchically URLs identify resources on network Scheme, host, path MIME type defines a file s encoding Correspondence