Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Similar documents
Review of Important Networking Concepts

Packet Header Formats

ECE4110 Internetwork Programming. Introduction and Overview

EE 610 Part 2: Encapsulation and network utilities

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

Introduction to TCP/IP networking

TCP /IP Fundamentals Mr. Cantu

cs144 Midterm Review Fall 2010

Need For Protocol Architecture

Need For Protocol Architecture

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

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

TCP/IP Networking Basics

Hands-On Ethical Hacking and Network Defense

Internet Routing. Review of Networking Principles. What s the Internet: nuts and bolts view. Communication links

Internet Routing. Review of Networking Principles

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1

Network Protocols and Architectures

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

ENEE 457: Computer Systems Security 11/07/16. Lecture 18 Computer Networking Basics

ECE 358 Project 3 Encapsulation and Network Utilities

network security s642 computer security adam everspaugh

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

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

Internet. 1) Internet basic technology (overview) 3) Quality of Service (QoS) aspects

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

STEVEN R. BAGLEY PACKETS

Computer Networks Security: intro. CS Computer Systems Security

Interconnecting Networks with TCP/IP

Review of Important Networking Concepts. Recall the Example from last lecture

Introduction to computer networking

CHAPTER-2 IP CONCEPTS

Part 1: Introduction. Goal: Review of how the Internet works Overview

NETWORK PACKET ANALYSIS PROGRAM

Sirindhorn International Institute of Technology Thammasat University

Review of Important Networking Concepts TCP/IP

CSCI-GA Operating Systems. Networking. Hubertus Franke

Lab Two Using Wireshark to Discover IP NAME:

Network Model. Why a Layered Model? All People Seem To Need Data Processing

The Internetworking Problem. Internetworking. A Translation-based Solution

CS 204: Advanced Computer Networks

ICS 351: Networking Protocols

Chapter 2 Communicating Over the Network

Process-to-Process Delivery:

CSc 466/566. Computer Security. 18 : Network Security Introduction

CS61C Machine Structures Lecture 37 Networks. No Machine is an Island!

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

K2289: Using advanced tcpdump filters

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

ch02 True/False Indicate whether the statement is true or false.

Announcements. CS 5565 Network Architecture and Protocols. Outline for today. The Internet: nuts and bolts view. The Internet: nuts and bolts view

CSCI Networking Name:

Business Data Networks and Security 10th Edition by Panko Test Bank

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

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

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

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

Network and Mobile Compu4ng in the 20 th Century and Beyond. COMP 1400 Memorial University Winter 2015

Introduction to Information Science and Technology 2017 Networking II. Sören Schwertfeger 师泽仁

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

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

Lab 1: Packet Sniffing and Wireshark

Course on Computer Communication and Networks. Lecture 1 Chapter 1: Introduction Part A: Internet, Protocol Layering and Data

Networking Background

Transport: How Applications Communicate

Course Contents. The TCP/IP protocol Stack

The Internet. Overview. Network building blocks

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

ECE 158A: Lecture 7. Fall 2015

BIT RATE CALCULATION WITH BARIX DEVICES

Chapter 1. Computer Networks and the Internet

Shortest Path First Example

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Communication Networks

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Internet Networking recitation #2 IP Checksum, Fragmentation

Video Streaming with the Stream Control Transmission Protocol (SCTP)

Problem Set 7 Due: Start of Class, November 2

Internet Architecture & Performance. What s the Internet: nuts and bolts view

CS 43: Computer Networks The Link Layer. Kevin Webb Swarthmore College November 28, 2017

CE3005: Computer Networks Laboratory 3 SNIFFING AND ANALYSING NETWORK PACKETS

Lab Using Wireshark to Examine Ethernet Frames

Lecture 3 Protocol Stacks and Layering

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

Computer Networks Principles

Internet Protocol. Outline Introduction to Internet Protocol Header and address formats ICMP Tools CS 640 1

LOGICAL ADDRESSING. Faisal Karim Shaikh.

CS155 Firewalls. Why Firewalls? Why Firewalls? Bugs, Bugs, Bugs

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

ECE 650 Systems Programming & Engineering. Spring 2018

Network Layer/IP Protocols

ECE 650 Systems Programming & Engineering. Spring 2018

Lab Using Wireshark to Examine Ethernet Frames

Review for Internet Introduction

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Transcription:

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Mail seban649@student.liu.se

Protocol Hi Hi Got the time? 2:00 time TCP connection request TCP connection response <file>

Whats the internet: nuts and bolts Millions of connected computing devices: Hosts = end systems Running network apps Communication links Fiber, copper, radio, satellite Transmission rate: bandwidth Packet switches: forward packets (chunks of data) Routers and switches mobile network home network institutional network global ISP regional ISP PC server wireless laptop smartphone router wireless links wired links

Whats the internet: nuts and bolts Millions of connected computing devices: Hosts = end systems Running network apps Communication links Fiber, copper, radio, satellite Transmission rate: bandwidth Packet switches: forward packets (chunks of data) Routers and switches mobile network home network institutional network global ISP regional ISP PC server wireless laptop smartphone router wireless links wired links

Whats the internet: nuts and bolts Millions of connected computing devices: Hosts = end systems Running network apps Communication links Fiber, copper, radio, satellite Transmission rate: bandwidth Packet switches: forward packets (chunks of data) Routers and switches mobile network home network institutional network global ISP regional ISP PC server wireless laptop smartphone router wireless links wired links

Whats the internet: nuts and bolts Millions of connected computing devices: Hosts = end systems Running network apps Communication links Fiber, copper, radio, satellite Transmission rate: bandwidth Packet switches: forward packets (chunks of data) Routers and switches mobile network home network institutional network global ISP regional ISP PC server wireless laptop smartphone router wireless links wired links

Internet protocol stack Application: supporting network applications FTP, SMTP, HTTP Transport: process-process data transfer TCP, UDP Network: routing of datagrams from source to destination IP, routing protocols Link: data transfer between neighboring network elements Ethernet, 802.111 (WiFi), PPP Application Transport Network Link Physical Physical: bits on the wire

Encapsulation HTTP [data] GET /somedir/page.html HTTP/1.1 Host: www.someschool.edu

Encapsulation Bits Ethernet [frame] Destination address Source address IP [packet] Destination address Source address TCP [segment] Destination port Source port HTTP [data] GET /somedir/page.html HTTP/1.1 Host: www.someschool.edu Application Transport Network Link Physical

Wireshark Packet analyzer Capture and view network packages

Start screen of Wireshark 12

Wireshark s GUI Menu Display filter Listing of captured packets Details of selected packet header Packet content in hexadecimal and ASCII

Example HTTP Request type TCP Port IP IP Address Ethernet MAC Address

TCP Headers Offsets Octet 0 1 2 3 Octet Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 0 0 Source port Destination port 4 32 Sequence number 8 64 Acknowledgment number (if ACK set) 12 96 Data offset Reserved 0 0 0 N S C W R E C E U R G A C K P S H R S T S Y N F I N Window Size 16 128 Checksum Urgent pointer (if URG set) 20... 160... Options (if data offset > 5. Padded at the end with "0" bytes if necessary.)...

TCP Header

TCP Time-Sequence Graph 1. Open trace file 2. Filter by entering tcp 3. Select tcp segement 4. Choose: Statistics-> TCP Stream Graph-> Time-Sequnce Graph (Stevens)

IP Headers Offsets Octet 0 1 2 3 Octet Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 0 0 Version IHL DSCP ECN Total Length 4 32 Identification Flags Fragment Offset 8 64 Time To Live Protocol Header Checksum 12 96 Source IP Address 16 128 Destination IP Address 20 160 24 192 28 224 Options (if IHL > 5) 32 256

Traceroute

Traceroute ICMP echo request TTL 1

Traceroute ICMP TTL exceeded response

Traceroute ICMP echo request TTL 2

Traceroute ICMP echo request TTL 1

Traceroute ICMP TTL exceeded response

Traceroute ICMP TTL exceeded response

IP Headers

Ethernet Headers & Trailers Layer Layer 2 Ethernet frame Layer 1 Ethernet packet & IPG Preamble Start of frame delimiter MAC destination MAC source 802.1Q tag (optional) Ethertype (Ethernet II) or length (IEEE 802.3) 7 octets 1 octet 6 octets 6 octets (4 octets) 2 octets 64(68) 1518(1522) octets 72(76) 1526(1530) octets Payload 46 1500 octets Frame check sequence (32-bit CRC) Interpacket gap 4 octets 12 octets 12 oct.

Ethernet Headers & Trailers

Handy things Mark packets: ctrl + M ( selects packets) Disable checksum error coloring from: Views->Coloring rules Apply filter by right clicking the value from an item and select: Apply as Filter->Selected

Assignments Assignment 1: "Wireshark lab: Getting started + HTTP" (1+ time slot, plus own work ) Two parts: wireshark and questions Assignment 2: "Wireshark lab: TCP" (1+ time slots, plus own work ) Two parts: wireshark and questions Assignment 3: "Wireshark lab: IP" (1+ time slot, plus own work ) Two parts: wireshark and questions Assignment 4: "Web analysis" (4+ to 5+ time slots, plus own work )

Questions?