Wireshark- Looking into the Packet. Henry A. McKelvey, MIS. Blacks in Technology

Size: px
Start display at page:

Download "Wireshark- Looking into the Packet. Henry A. McKelvey, MIS. Blacks in Technology"

Transcription

1 WIRESHARK- LOOKING INTO THE PACKET 1 Wireshark- Looking into the Packet Henry A. McKelvey, MIS Blacks in Technology

2 WIRESHARK- LOOKING INTO THE PACKET 2 Wireshark- Looking into the Packet Protocol Analysis is one of the best methods for troubleshooting network problems in and out of the cloud. Having designed, created and implemented technology for analyzing the cloud network. I think it is time to look at ways of defining the cloud from the inside out. One of the most interesting things about networks is that they usually tell you if there is a problem. Three basic issues occur with networks; slow throughput, no throughput, and corrupted data. Many things cause these issues to occur, and many events may occur because of these three issues, but these are the core. Incorrect configuration of switches/routers may cause these issues to occur. Incorrectly configured servers may also cause these issues to occur. The important thing is to be able to tell what is happening and why. This is where protocol analysis comes in. Protocol analyzers allows the network, or systems administrator to see what is occurring on the network, or what their systems are responding to and how. For instance, the protocol analyzer divides the transaction of packets up into usually 5-6 divisions of function based on the TCP/IP protocol stack.

3 WIRESHARK- LOOKING INTO THE PACKET 3 The Background First, you have Frame data (bytes on the wire) which constitutes the information linked to the Frame (Interface ID, Encapsulation Type, Time data, Frame Number, Frame Length, Protocols in Frame, etc...) This data can be used to help troubleshoot Layer 1 issues and situations if the network (Physical Layer) baseline is known. Second, you have the Data Link Layer data (Based on Encapsulation Type) which constitutes the information linked to the data link mode of your system, usually Ethernet, but can include Frame Relay, ATM, or other Layer two technologies. The sections covered in Ethernet are Source Media Access Control Address, Destination Media Access Control Address. Information gathered from Address Resolution Protocol (Source MAC Address, and Destination Internet Protocol Address linked to MAC Address, Source and Destination LG and IG bits used to show globally unique address and individual address positions (Extracted from the MAC Address) and then the Ether Type for Ethernet, this is 0x0800.

4 WIRESHARK- LOOKING INTO THE PACKET 4 Third, you have the Internet-working Layer data. This section includes the IP Version (4 or 6), header length, Differentiated Services, Explicit Congestion Notification (ECN), total length of packet, packet identification, flags (Reserved bit, Don t Fragment, More Fragments, Fragment Offset, Time To Live, Protocol (TCP/UDP), header checksum, checksum data, source and destination domain to IP link.) Fourth, you have the Transmission Control Protocol layer data, which gives you the source and destination port data, sequence number, acknowledgement number, header length, flags (reserved, nonce, congestion window reduced, ECN-echo, urgent, acknowledgement, push, reset, synchronization, and finish), window size, checksum, and analysis of sequence and acknowledgement length. Fifth, you have the data, which is sent or as it is called the payload. The data also includes its Now, you might ask, What is this review of the protocol stack for? Well it is to show you, the reader, that the protocol analyzer can contain data that you need to complete your work or at least tell you where a problem may exist. For instance, I was working on a project and one of the programmers was having a problem getting her program to run. The young woman was a pure programmer with no knowledge of network or other data resources experience. She knew how to program and that was it. Therefore, it was no surprise when she made a call to a process to execute a command on another system her program would fail. She traced the fault to a

5 WIRESHARK- LOOKING INTO THE PACKET 5 command that made a system call using a socket (IP Address: Port). She was told by her project manager to talk to one of the network people (me) about the issue, so what did I do. On her system, I installed a protocol analyzer and looked at her interface, just as expected the program could not locate the asset online. Therefore, I told her that the program was working fine and that before the system call she should write some code to do a resource check that would either put the program into a wait condition with periodic checks or throw an exception that states that the resource is busy and to try again later. She wrote the code to do both and when the remote system was back up and running the program ran without a problem. This is one example of how protocol analysis can be used to aid in network troubleshooting that extends into the realm of programming. The program was making use of cloud assets, which permitted the use of a protocol analyzer. Why is this important? As more programming ventures into remote or virtual connections, as in connecting to virtualized and cloud-based systems, the use of protocol analysis will become more commonplace. A once ignored facet of network troubleshoot is going to become a widely used method of verifying network connectivity of virtualized and cloud based systems. There are many Protocol analyzers out there and they all function in and about the same. However, there is a complexity involved with using a protocol analyzer to troubleshoot network wide issues and events. I experienced this while working at Verizon. I was helping a colleague troubleshoot a network problem, which required the use of multiple protocol analyzers installed to provide data as to correlate network events with network problems, using the multiple analysis

6 WIRESHARK- LOOKING INTO THE PACKET 6 systems was easy but correlating the data was not, because the units were not synced up and the data was captured at different times. It was during this comedy of errors that an idea emerged, that leads to a method being developed to provide correlation to the protocol analysis/ capture process. After some time and effort, we (Jimmie Peterman, Rosa Underwood, Emory Young, and I) developed a way to capture, and correlate data that could be used on Enterprise Networks to troubleshoot events in such a way a person could tell what was happening without having to have an extensive knowledge of the network. The method and device was the subject of patent application and the subsequent granting of United States Patent US Understanding the layout of the protocol analyzer is one thing, but looking at it for the data that can be harvested from a capture is the power of the analyzer. I have attached a file to this document to help you understand how read a protocol analyzer during a simple troubleshooting exercise that will be discussed in the latter part of this paper. For now let us discuss the technology of protocol analysis. The Technology To some of you this may appear to be a mundane exercise, but one thing I have seen consistently is the writing of programs for use on the Internet/Cloud and people having problems with the application of remote sockets. This is a problem made for the use of a protocol analyzer. There was a time where the protocol analyzer was used only for network troubleshooting. To use

7 WIRESHARK- LOOKING INTO THE PACKET 7 a protocol analyzer you had to invest in a system that may have cost thousands of dollars, but because of the open source movement, you now have a choice of free very well coded software based protocol analyzes such as Wireshark (I use this one so this will be about Wireshark). Like I had mentioned in the past your choices were limited to some very costly equipment such as the Hardware based Radcom Protocol Analyzer, Teledyne LeCroy Analyzer, and the HP/Agilent LAN Analyzer, on the software side you have EtherPeek and Agilent s analyzer software. The fact was to do protocol analysis you had to spend a lot of money, which put the proper troubleshooting of network problems out of the range of most small companies. Then the Security Administrator Tool for Analyzing Networks (SATAN) was invented. SATAN is a tool to help systems administrators. It recognizes several common networkingrelated security problems, and reports the problems without actually exploiting them (porcupine.org, 1995). SATAN permitted for the first time (open source tool wise) the viewing of network activity in response to network stimuli. This opened the door for other advancements such as Ethereal, which was the first full, featured open source protocol analyzer. Now, take into mind that it was not the first open source protocol analyzer, it was the first full featured protocol analyzer (there is a difference). Ethereal remained the number 1 free open source protocol analyzer for years, before finally being surpassed by Wireshark. Now, this is another gotcha Wireshark is Ethereal all grown up. Wireshark expanded on the feature sets of Ethereal and

8 WIRESHARK- LOOKING INTO THE PACKET 8 added a lot of support for other network technologies that were left out of the Ethereal feature set. Now since we all like free stuff, I am going to guess that Wireshark is looking good to you now as a possible alternative to the standard protocol analyzers. If so, go on line and download it. It will load two major pieces of code the first is the Wireshark package, which includes the analyzer and the protocol modules. The next piece of code is the subsystem that permits the capture of packets over the network interface, this code is called pcap (for UNIX/Linux) or to be more inclusive WinPcap (For Windows). I would be amiss if I did not discuss pcap and its role in the use of protocol analysis. Packet capture (pcap) is a command line tool that contains the APIs, which permit the capturing of packets over the network interface of a system. The program itself from what I know is written in C. This permits higher-level languages (Java, TCL,.Net, and other scripting type languages) to pass and receive variables/data-sets and to interact with the pcap program in an almost seamless fashion. In fact, on Linux and UNIX systems TCPDUMP uses the pcap library (libpcap) to provide packet capture output. *Note: The TCPDUMP group wrote pcap. Packet Capture (pcap) can be used as a standalone program or a wrapper (Ethereal, Wireshark) that permits GUI use of the library can access it. Many programs use the pcap library, which makes it one of the most used programs in the network arena.

9 WIRESHARK- LOOKING INTO THE PACKET 9 Now since we have discussed the histories of Wireshark and Pcap, let s get into the actual use technology embodied by these two programs. When used in unison the two programs are able to provide information as to the condition of the packets in a network. The next part of this three-part blog will be how Wireshark works. I will be examining a way of troubleshooting a web site problem using two Protocol Analyzers. This method will be based on a system that I helped design and was the topic of US patent # 7,899,323, MULTI-INTERFACE PROTOCOL ANALYSIS SYSTEM. Now take into mind that I will not be doing the full implementation of patent #7,899,323 just a subset that will permit me to show how to use Wireshark and TCPDUMP to troubleshoot problems in the cloud. The Application This is the fun part; first we need to know what a good web site session looks like using Wireshark. This paper has attached to it a file containing a Wireshark capture of a good web site session to and other sites. The start of all troubleshooting begins with the development of a baseline capture to level-set readings. This is done to provide a comparison between a good reading and a possible bad reading. I will use a real life problem I experienced troubleshooting a problem on an executive s computer at a company where I use to work. Starting off here is an analog of a baseline capture file:

10 WIRESHARK- LOOKING INTO THE PACKET 10 To use this file you must first have Wireshark and WinPcap installed on your Windows machine. If you do not have it please install it now. If you have Linux it will come with your Linux distribution if not use one of the two methods of installation on the Wireshark web site to install Wireshark on your Linux or Windows machine. Once Wireshark and Pcap are installed. Click on the Baseline.pcap file. This will open the file up in you Wireshark program. At this point the output will look like this: (See Next Page) Figure 2

11 WIRESHARK- LOOKING INTO THE PACKET 11 Wireshark Capture without Network Layer Decode This will give you the raw TCP\IP data without decoding it for URL viewing. To allow network decoding to take place, follow these instructions: 1) On the menu bar item View 2) Select Name Resolution 3) Click on Enable for Network Layer 4) On menu bar click on Reload symbol The screen should now look like this:

12 WIRESHARK- LOOKING INTO THE PACKET 12 Figure 3 Wireshark Capture with Network Layer Decode Notice in Figure 2 on line 4 you have the IP address of , then on line 4 of Figure 3 you have the domain name of cdns.comcast.net this shows that the system decoded the IP Address into its domain name equivalent. This is vital in troubleshooting this problem. Since this is the baseline we can consider this file to be good in comparison to the next capture (The infected machine). (See Figure 4)

13 WIRESHARK- LOOKING INTO THE PACKET 13 The infected machine has the following problem. When the user selects they are sent to a failsafe page for yahoo.com. This in and of itself is no problem but it denotes a possible issue with web site locals. The following is a lesson in how to use protocol analysis to solve this problem. The following is a copy of the infected.pcap file: From your machine open up the infected.pcap file Click on the infected.pcap file. This will open the file up on your Wireshark program. At this point the output will look like this: (See Next Page):

14 WIRESHARK- LOOKING INTO THE PACKET 14 Figure 4 Wireshark Capture without Network Layer Decode This will give you the raw TCP\IP data without decoding it for URL viewing. To allow network decoding to take place, follow these instructions: 1) On the menu bar item View 2) Select Name Resolution

15 WIRESHARK- LOOKING INTO THE PACKET 15 3) Click on Enable for Network Layer 4) On menu bar click on Reload symbol The screen should now look like this: Figure 5

16 WIRESHARK- LOOKING INTO THE PACKET 16 Wireshark Capture with Network Layer Decode If you notice what is happening on the wireshark screen it is telling you that the IP Address of is connected to the yahoo.com site and not the google.com. By performing an nslookup on the infected machine you get this: Figure 6 nslookup of Google on the Infected Machine

17 WIRESHARK- LOOKING INTO THE PACKET 17 Taking into mind what is happening; here we can see that the nameserver lookup and the domain name that occurred as the result of the web search are not the same. In fact the IP Addresses to google.com are in the xxx range. Performing nslookup on your machine you get: Figure 7 nslookup of Google and Yahoo on the Baseline Machine

18 WIRESHARK- LOOKING INTO THE PACKET 18 Using simple logic at this point you can surmise something other than the nslookup is supplying the errant IP Address, the question is what can do this? Granted this was a simple problem, but it shows the use of Wireshark in proving there was a problem within the system. In conclusion, it can be said that wireshark is one of the most useful tools in finding out what problems may exists on your network. However there are many features that Wireshark has which must be learnt to master this tool. Here is some suggested reading material and web sites for those who may want to develop further skill in using Wireshark: &index=aps&hvadid= &hvpos=1t1&hvexid=&hvnetw=g&hvrand= &hvpone=&hvptwo=&hvqmt=b&hvdev=c&ref=pd_sl_2789p0sl8p_b Read and enjoy using Wireshark.

Experiment 2: Wireshark as a Network Protocol Analyzer

Experiment 2: Wireshark as a Network Protocol Analyzer Experiment 2: Wireshark as a Network Protocol Analyzer Learning Objectives: To become familiarized with the Wireshark application environment To perform basic PDU capture using Wireshark To perform basic

More information

Muhammad Farooq-i-Azam CHASE-2006 Lahore

Muhammad Farooq-i-Azam CHASE-2006 Lahore Muhammad Farooq-i-Azam CHASE-2006 Lahore Overview Theory Existing Sniffers in action Switched Environment ARP Protocol and Exploitation Develop it yourself 2 Network Traffic Computers and network devices

More information

Computer Networks A Simple Network Analyzer Decoding Ethernet and IP headers

Computer Networks A Simple Network Analyzer Decoding Ethernet and IP headers Computer Networks A Simple Network Analyzer Decoding Ethernet and IP headers Objectives The main objective of this assignment is to gain an understanding of network activities and network packet formats

More information

Computer Networks A Simple Network Analyzer PART A undergraduates and graduates PART B graduate students only

Computer Networks A Simple Network Analyzer PART A undergraduates and graduates PART B graduate students only Computer Networks A Simple Network Analyzer PART A undergraduates and graduates PART B graduate students only Objectives The main objective of this assignment is to gain an understanding of network activities

More information

Introduction to OSI model and Network Analyzer :- Introduction to Wireshark

Introduction to OSI model and Network Analyzer :- Introduction to Wireshark Sungkyunkwan University Introduction to OSI model and Network Analyzer :- Introduction to Wireshark Syed Muhammad Raza s.moh.raza@gmail.com Copyright 2000-2014 Networking Laboratory 1/56 An Overview Internet

More information

COMP2330 Data Communications and Networking

COMP2330 Data Communications and Networking COMP2330 Data Communications and Networking Dr. Chu Xiaowen (Second semester, 2009-2010 academic year) Laboratory 3 Last update: Feb-3-2009 Use Wireshark to Analyze IP Packet Objectives: (1) Use Wireshark

More information

ECE4110 Internetwork Programming. Introduction and Overview

ECE4110 Internetwork Programming. Introduction and Overview ECE4110 Internetwork Programming Introduction and Overview 1 EXAMPLE GENERAL NETWORK ALGORITHM Listen to wire Are signals detected Detect a preamble Yes Read Destination Address No data carrying or noise?

More information

A Simple Network Analyzer Decoding TCP, UDP, DNS and DHCP headers

A Simple Network Analyzer Decoding TCP, UDP, DNS and DHCP headers A Simple Network Analyzer Decoding TCP, UDP, DNS and DHCP headers Objectives The main objective of this assignment is to gain a deeper understanding of network activities and network packet formats using

More information

Network Analyzer :- Introduction to Wireshark

Network Analyzer :- Introduction to Wireshark Sungkyunkwan University Network Analyzer :- Introduction to Wireshark Syed M. Raza s.moh.raza@skku.edu H. Choo choo@skku.edu Copyright 2000-2018 Networking Laboratory Networking Laboratory 1/56 An Overview

More information

TCP /IP Fundamentals Mr. Cantu

TCP /IP Fundamentals Mr. Cantu TCP /IP Fundamentals Mr. Cantu OSI Model and TCP/IP Model Comparison TCP / IP Protocols (Application Layer) The TCP/IP subprotocols listed in this layer are services that support a number of network functions:

More information

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS 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 Whats

More information

IP Network Troubleshooting Part 3. Wayne M. Pecena, CPBE, CBNE Texas A&M University Educational Broadcast Services - KAMU

IP Network Troubleshooting Part 3. Wayne M. Pecena, CPBE, CBNE Texas A&M University Educational Broadcast Services - KAMU IP Network Troubleshooting Part 3 Wayne M. Pecena, CPBE, CBNE Texas A&M University Educational Broadcast Services - KAMU February 2016 Today s Outline: Focused Upon Protocol Analysis with Wireshark Review

More information

Lab - Using Wireshark to Examine a UDP DNS Capture

Lab - Using Wireshark to Examine a UDP DNS Capture Topology Objectives Part 1: Record a PC s IP Configuration Information Part 2: Use Wireshark to Capture DNS Queries and Responses Part 3: Analyze Captured DNS or UDP Packets Background / Scenario If you

More information

Lab - Using Wireshark to Examine a UDP DNS Capture

Lab - Using Wireshark to Examine a UDP DNS Capture Topology Objectives Part 1: Record a PC s IP Configuration Information Part 2: Use Wireshark to Capture DNS Queries and Responses Part 3: Analyze Captured DNS or UDP Packets Background / Scenario If you

More information

Material for the Networking lab in EITF25 & EITF45

Material for the Networking lab in EITF25 & EITF45 Material for the Networking lab in EITF25 & EITF45 2016 Preparations In order to succeed with the lab, you must have understood some important parts of the course. Therefore, before you come to the lab

More information

Inside Products TCP Problem Finder Thinking Inside the Box

Inside Products TCP Problem Finder Thinking Inside the Box Inside Products TCP Problem Finder Thinking Inside the Box www.insidethestack.com (831) 659-8360 sales@insidethestack.com Inside Products Products Inside the Stack Early Warning System TCP Problem Finder

More information

Lab Assignment 4 ECE374 Spring Posted: 03/22/18 Due: 03/29/18. In this lab, we ll take a quick look at the ICMP and IP protocols.

Lab Assignment 4 ECE374 Spring Posted: 03/22/18 Due: 03/29/18. In this lab, we ll take a quick look at the ICMP and IP protocols. Lab Assignment 4 ECE374 Spring 2018 Posted: 03/22/18 Due: 03/29/18 In this lab, we ll take a quick look at the ICMP and IP protocols. Whenever possible you should hand in Wireshark screenshots that you

More information

Chapter 20 Network Layer: Internet Protocol 20.1

Chapter 20 Network Layer: Internet Protocol 20.1 Chapter 20 Network Layer: Internet Protocol 20.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 20-1 INTERNETWORKING In this section, we discuss internetworking,

More information

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

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia IP - The Internet Protocol Based on the slides of Dr. Jorg Liebeherr, University of Virginia Orientation IP (Internet Protocol) is a Network Layer Protocol. IP: The waist of the hourglass IP is the waist

More information

Hands-On Hacking Techniques 101

Hands-On Hacking Techniques 101 Hands-On Hacking Techniques 101 University of Petra Faculty of Information Technology Department of Computer Networking 2014 Dr. Ali Al-Shemery bsc [at] ashemery [dot] com Dissecting Network Traffic using

More information

Problem Set 7 Due: Start of Class, November 2

Problem Set 7 Due: Start of Class, November 2 CS242 Computer Networks Handout # 14 Randy Shull October 26, 2017 Wellesley College Problem Set 7 Due: Start of Class, November 2 Reading: Kurose & Ross, Sections 3.6, 3.7, 3.8 Wireshark Lab [26] In these

More information

TCP/IP Networking Basics

TCP/IP Networking Basics TCP/IP Networking Basics 1 A simple TCP/IP Example A user on host argon.tcpip-lab.edu ( Argon ) makes a web access to URL http://neon.tcpip-lab.edu/index.html. What actually happens in the network? 2 HTTP

More information

Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi.

Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi. Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture 18 Tries Today we are going to be talking about another data

More information

Computer Forensics: Investigating Network Intrusions and Cybercrime, 2nd Edition. Chapter 2 Investigating Network Traffic

Computer Forensics: Investigating Network Intrusions and Cybercrime, 2nd Edition. Chapter 2 Investigating Network Traffic Computer Forensics: Investigating Network Intrusions and Cybercrime, 2nd Edition Chapter 2 Investigating Network Traffic Objectives After completing this chapter, you should be able to: Understand network

More information

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

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples. About the Tutorial Internet Protocol version 4 (IPv4) is the fourth version in the development of the Internet Protocol (IP) and the first version of the protocol to be widely deployed. IPv4 is described

More information

Wireshark Lab: Getting Started

Wireshark Lab: Getting Started Wireshark Lab: Getting Started This following content is edited from the wireshark lab exercise provided by J.F. Kurose, and K.W. Ross, "Computer Networking: A Top down approach" 5th ed. Pearson, 2010.

More information

The ACK and NACK of Programming

The ACK and NACK of Programming NFJS Software Symposium Series 2012 The ACK and NACK of Programming Ken Sipe About Speaker http://kensipe.blogspot.com/ http://del.icio.us/kensipe twitter: @kensipe ken.sipe@gmail.com Developer: Embedded,

More information

ITTC Communication Networks Laboratory The University of Kansas EECS 563 Introduction to Protocol Analysis with Wireshark

ITTC Communication Networks Laboratory The University of Kansas EECS 563 Introduction to Protocol Analysis with Wireshark Communication Networks Laboratory The University of Kansas EECS 563 Introduction to Protocol Analysis with Wireshark Trúc Anh N. Nguyễn, Egemen K. Çetinkaya, Mohammed Alenazi, and James P.G. Sterbenz Department

More information

EE 610 Part 2: Encapsulation and network utilities

EE 610 Part 2: Encapsulation and network utilities EE 610 Part 2: Encapsulation and network utilities Objective: After this experiment, the students should be able to: i. Understand the format of standard frames and packet headers. Overview: The Open Systems

More information

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

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet Chapter 2 - Part 1 The TCP/IP Protocol: The Language of the Internet Protocols A protocol is a language or set of rules that two or more computers use to communicate 2 Protocol Analogy: Phone Call Parties

More information

Wireshark Lab: Getting Started v6.0

Wireshark Lab: Getting Started v6.0 Wireshark Lab: Getting Started v6.0 Supplement to Computer Networking: A Top-Down Approach, 6 th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand.

More information

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

Network Model. Why a Layered Model? All People Seem To Need Data Processing Network Model Why a Layered Model? All People Seem To Need Data Processing Layers with Functions Packet Propagation Each router provides its services to support upper-layer functions. Headers (Encapsulation

More information

ELEC5616 COMPUTER & NETWORK SECURITY

ELEC5616 COMPUTER & NETWORK SECURITY ELEC5616 COMPUTER & NETWORK SECURITY Lecture 17: Network Protocols I IP The Internet Protocol (IP) is a stateless protocol that is used to send packets from one machine to another using 32- bit addresses

More information

Objectives: (1) To learn to capture and analyze packets using wireshark. (2) To learn how protocols and layering are represented in packets.

Objectives: (1) To learn to capture and analyze packets using wireshark. (2) To learn how protocols and layering are represented in packets. Team Project 1 Due: Beijing 00:01, Friday Nov 7 Language: English Turn-in (via email) a.pdf file. Objectives: (1) To learn to capture and analyze packets using wireshark. (2) To learn how protocols and

More information

Packet Capturing with TCPDUMP command in Linux

Packet Capturing with TCPDUMP command in Linux Packet Capturing with TCPDUMP command in Linux In this tutorial we will be looking into a very well known tool in Linux system administrators tool box. Some times during troubleshooting this tool proves

More information

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

ch02 True/False Indicate whether the statement is true or false. ch02 True/False Indicate whether the statement is true or false. 1. No matter what medium connects computers on a network copper wires, fiber-optic cables, or a wireless setup the same protocol must be

More information

ITTC Communication Networks Laboratory The University of Kansas EECS 780 Introduction to Protocol Analysis with Wireshark

ITTC Communication Networks Laboratory The University of Kansas EECS 780 Introduction to Protocol Analysis with Wireshark Communication Networks Laboratory The University of Kansas EECS 780 Introduction to Protocol Analysis with Wireshark Trúc Anh N. Nguyễn, Egemen K. Çetinkaya, Mohammed Alenazi, and James P.G. Sterbenz Department

More information

Wireshark Lab: Getting Started

Wireshark Lab: Getting Started Wireshark Lab: Getting Started Version: 2.0 2007 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Topdown Approach, 4 th edition. Tell me and I forget. Show me and I remember. Involve

More information

Review of Important Networking Concepts

Review of Important Networking Concepts Review of Important Networking Concepts Review: ed communication architecture The TCP/IP protocol suite 1 Networking Concepts Protocol Architecture Protocol s Encapsulation Network Abstractions 2 1 Sending

More information

Internetworking models

Internetworking models TEL3214 Computer Communication s Lecture 2 Internetworking models SSH (Secure Shell) SNMP (Simple Management Protocol) SMTP (Simple Mail Transfer Protocol) FTP (File Transfer Protocol) TFTP (Trivial File

More information

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

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link. Internet Layers Application Application Transport Transport Network Network Network Network Link Link Link Link Ethernet Fiber Optics Physical Layer Wi-Fi ARP requests and responses IP: 192.168.1.1 MAC:

More information

Lab: 2. Wireshark Getting Started

Lab: 2. Wireshark Getting Started Lab: 2 Wireshark Getting Started One s understanding of network protocols can often be greatly deepened by seeing protocols in action and by playing around with protocols observing the sequence of messages

More information

HPE Knowledge Article

HPE Knowledge Article HPE Knowledge Article HPE 5500 EI Switch Series - How to use the Packet Capture Utility Article Number mmr_sf-en_us000005595 Environment HP 5500-24G EI Switch HPE A-Series Switches Issue How can one use

More information

Introduction to OSI model and Network Analyzer :- Introduction to Wireshark

Introduction to OSI model and Network Analyzer :- Introduction to Wireshark Sungkyunkwan University Introduction to OSI model and Network Analyzer :- Introduction to Wireshark Syed Muhammad Raza s.moh.raza@gmail.com Copyright 2000-2015 Networking Laboratory 1/56 An Overview of

More information

Position of IP and other network-layer protocols in TCP/IP protocol suite

Position of IP and other network-layer protocols in TCP/IP protocol suite Position of IP and other network-layer protocols in TCP/IP protocol suite IPv4 is an unreliable datagram protocol a best-effort delivery service. The term best-effort means that IPv4 packets can be corrupted,

More information

User Datagram Protocol

User Datagram Protocol Topics Transport Layer TCP s three-way handshake TCP s connection termination sequence TCP s TIME_WAIT state TCP and UDP buffering by the socket layer 2 Introduction UDP is a simple, unreliable datagram

More information

Lecture (11) OSI layer 4 protocols TCP/UDP protocols

Lecture (11) OSI layer 4 protocols TCP/UDP protocols Lecture (11) OSI layer 4 protocols TCP/UDP protocols Dr. Ahmed M. ElShafee ١ Agenda Introduction Typical Features of OSI Layer 4 Connectionless and Connection Oriented Protocols OSI Layer 4 Common feature:

More information

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

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang CS 356: Computer Network Architectures Lecture 10: IP Fragmentation, ARP, and ICMP Xiaowei Yang xwy@cs.duke.edu Overview Homework 2-dimension parity IP fragmentation ARP ICMP Fragmentation and Reassembly

More information

BSc Year 2 Data Communications Lab - Using Wireshark to View Network Traffic. Topology. Objectives. Background / Scenario

BSc Year 2 Data Communications Lab - Using Wireshark to View Network Traffic. Topology. Objectives. Background / Scenario BSc Year 2 Data Communications Lab - Using Wireshark to View Network Traffic Topology Objectives Part 1: (Optional) Download and Install Wireshark Part 2: Capture and Analyze Local ICMP Data in Wireshark

More information

19: Networking. Networking Hardware. Mark Handley

19: Networking. Networking Hardware. Mark Handley 19: Networking Mark Handley Networking Hardware Lots of different hardware: Modem byte at a time, FDDI, SONET packet at a time ATM (including some DSL) 53-byte cell at a time Reality is that most networking

More information

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day?

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day? Goals for Today s Class EE 122: & Protocols Ion Stoica TAs: Junda Liu, DK Moon, David Zats http://inst.eecs.berkeley.edu/~ee122/fa09 (Materials with thanks to Vern Paxson, Jennifer Rexford, and colleagues

More information

Computer Networks Security: intro. CS Computer Systems Security

Computer Networks Security: intro. CS Computer Systems Security Computer Networks Security: intro CS 166 - Computer Systems Security A very easy network 3/14/16 Computer Networks: Intro 2 Two philosophers example Translator Language Translator Engineer Communication

More information

Protocol Analysis: Capturing Packets

Protocol Analysis: Capturing Packets Protocol Analysis: Capturing Packets This project is intended to be done on the EiLab Network, but if you want to try to VPN into the EiLab Network on your own PC from your home or workplace, follow these

More information

BIT RATE CALCULATION WITH BARIX DEVICES

BIT RATE CALCULATION WITH BARIX DEVICES BIT RATE CALCULATION WITH BARIX DEVICES With this document we want to explain how to calculate the total bit rate flowing on an Ethernet cable connected to a Barix device. The total bit rate is equal at

More information

(ICMP), RFC

(ICMP), RFC Internet et Control o Message Protocol (ICMP), RFC 792 http://icourse.cuc.edu.cn/networkprogramming/ linwei@cuc.edu.cn Nov. 2009 Overview The IP (Internet Protocol) relies on several other protocols to

More information

CS4450. Computer Networks: Architecture and Protocols. Lecture 13 THE Internet Protocol. Spring 2018 Rachit Agarwal

CS4450. Computer Networks: Architecture and Protocols. Lecture 13 THE Internet Protocol. Spring 2018 Rachit Agarwal CS4450 Computer Networks: Architecture and Protocols Lecture 13 THE Internet Protocol Spring 2018 Rachit Agarwal 2 Reflection The events in last few days have left me sad! Such events must be condemned

More information

REVIEW: A LOOK AT A PORTABLE USB3 NETWORK TAP WIRESHARK HEROES SERIES VISIT

REVIEW: A LOOK AT A PORTABLE USB3 NETWORK TAP WIRESHARK HEROES SERIES VISIT REVIEW: A LOOK AT A PORTABLE USB3 NETWORK TAP WIRESHARK HEROES SERIES VISIT WWW.PROFITAP.COM INTRODUCTION JASPER BONGERTZ TECHNICAL CONSULTANT FOR AIRBUS DEFENCE A while ago I wrote a post for LoveMyTool

More information

Network Layer (1) Networked Systems 3 Lecture 8

Network Layer (1) Networked Systems 3 Lecture 8 Network Layer (1) Networked Systems 3 Lecture 8 Role of the Network Layer Application Application The network layer is the first end-to-end layer in the OSI reference model Presentation Session Transport

More information

TCP Performance Analysis Based on Packet Capture

TCP Performance Analysis Based on Packet Capture TCP Performance Analysis Based on Packet Capture Stanislav Shalunov shalunov@internet2.edu 2003-02-05, E2E Performance Measurement Workshop, Miami Packet Capture TCP connection runs; some performance is

More information

UNIT IV -- TRANSPORT LAYER

UNIT IV -- TRANSPORT LAYER UNIT IV -- TRANSPORT LAYER TABLE OF CONTENTS 4.1. Transport layer. 02 4.2. Reliable delivery service. 03 4.3. Congestion control. 05 4.4. Connection establishment.. 07 4.5. Flow control 09 4.6. Transmission

More information

ECE 158A: Lecture 7. Fall 2015

ECE 158A: Lecture 7. Fall 2015 ECE 158A: Lecture 7 Fall 2015 Outline We have discussed IP shortest path routing Now we have a closer look at the IP addressing mechanism We are still at the networking layer, we will examine: IP Headers

More information

K2289: Using advanced tcpdump filters

K2289: Using advanced tcpdump filters K2289: Using advanced tcpdump filters Non-Diagnostic Original Publication Date: May 17, 2007 Update Date: Sep 21, 2017 Topic Introduction Filtering for packets using specific TCP flags headers Filtering

More information

Need For Protocol Architecture

Need For Protocol Architecture Chapter 2 CS420/520 Axel Krings Page 1 Need For Protocol Architecture E.g. File transfer Source must activate communications path or inform network of destination Source must check destination is prepared

More information

Need For Protocol Architecture

Need For Protocol Architecture Chapter 2 CS420/520 Axel Krings Page 1 Need For Protocol Architecture E.g. File transfer Source must activate communications path or inform network of destination Source must check destination is prepared

More information

WHITE PAPER: THE REALITY OF MEETING YOUR DATA VISUALIZATION DEMANDS! VISIT

WHITE PAPER: THE REALITY OF MEETING YOUR DATA VISUALIZATION DEMANDS! VISIT WHITE PAPER: THE REALITY OF MEETING YOUR DATA VISUALIZATION DEMANDS! VISIT WWW.PROFITAP.COM TAP, SPAN (rspan), VACL Reviewed for FULL Visibility Access! Just know the Devil or Angel you are dealing with!

More information

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC Internet Control Message Protocol (ICMP), RFC 79 Prof Lin Weiguo Copyleft 009~07, School of Computing, CUC Oct 07 Overview } The IP (Internet Protocol) relies on several other protocols to perform necessary

More information

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols Guide to TCP/IP, Third Edition Chapter 3: Data Link and Network Layer TCP/IP Protocols 1 Objectives Understand the role that data link protocols, such as SLIP and PPP, play for TCP/IP Distinguish among

More information

Connectionless and Connection-Oriented Protocols OSI Layer 4 Common feature: Multiplexing Using. The Transmission Control Protocol (TCP)

Connectionless and Connection-Oriented Protocols OSI Layer 4 Common feature: Multiplexing Using. The Transmission Control Protocol (TCP) Lecture (07) OSI layer 4 protocols TCP/UDP protocols By: Dr. Ahmed ElShafee ١ Dr. Ahmed ElShafee, ACU Fall2014, Computer Networks II Introduction Most data-link protocols notice errors then discard frames

More information

D-STAR Review & Final Exam

D-STAR Review & Final Exam Page 1 of 8 D-STAR Review & Final Exam Summary This lesson consists of a selection of items from the review sections of Lessons #1 - #9. The Final Exam consists of twenty questions selected from the individual

More information

Lab Exercise Protocol Layers

Lab Exercise Protocol Layers Lab Exercise Protocol Layers Objective To learn how protocols and layering are represented in packets. They are key concepts for structuring networks that are covered in 1.3 and 1.4 of your text. Review

More information

Ethereal Lab: Getting Started

Ethereal Lab: Getting Started Ethereal Lab: Getting Started Version: July 2005 2005 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Topdown Approach Featuring the Internet, 3 rd edition. Tell me and I forget. Show

More information

ECE 358 Project 3 Encapsulation and Network Utilities

ECE 358 Project 3 Encapsulation and Network Utilities ECE 358 Project 3 Encapsulation and Network Utilities Objective: After this project, students are expected to: i. Understand the format of standard frames and packet headers. ii. Use basic network utilities

More information

SSC-D02 HOMEWORK 2. Jean-Yves Le Boudec. November 6, 2002

SSC-D02 HOMEWORK 2. Jean-Yves Le Boudec. November 6, 2002 SSC-D02 HOMEWORK 2 Jean-Yves Le Boudec November 6, 2002 Exercise 1 You need to log on to a UNIX machine for this exercise. You may have to use the UNIX commands: traceroute, arp, ping, ifconfig, nslookup,

More information

STEVEN R. BAGLEY PACKETS

STEVEN R. BAGLEY PACKETS STEVEN R. BAGLEY PACKETS INTRODUCTION Talked about how data is split into packets Allows it to be multiplexed onto the network with data from other machines But exactly how is it split into packets and

More information

Chapter 1 Introduction

Chapter 1 Introduction Chapter 1 Introduction A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

Lab Exercise UDP. Objective. Requirements. Step 1: Capture a Trace

Lab Exercise UDP. Objective. Requirements. Step 1: Capture a Trace Lab Exercise UDP Objective To look at the details of UDP (User Datagram Protocol). UDP is a transport protocol used throughout the Internet as an alternative to TCP when reliability is not required. It

More information

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

Review of Important Networking Concepts. Recall the Example from last lecture Review of Important ing Concepts Review: ed communication architecture The TCP/IP protocol suite Jörg Liebeherr, 1998,1999 1 Recall the Example from last lecture Ellington.cs.virginia.edu establishes an

More information

Networking Technologies and Applications

Networking Technologies and Applications Networking Technologies and Applications Rolland Vida BME TMIT Transport Protocols UDP User Datagram Protocol TCP Transport Control Protocol and many others UDP One of the core transport protocols Used

More information

Wireshark Lab: Getting Started v7.0

Wireshark Lab: Getting Started v7.0 Wireshark Lab: Getting Started v7.0 Supplement to Computer Networking: A Top-Down Approach, 7th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand.

More information

NEW YORK CITY COLLEGE OF TECHNOLOGY/CUNY Computer Systems Technology Department

NEW YORK CITY COLLEGE OF TECHNOLOGY/CUNY Computer Systems Technology Department NEW YORK CITY COLLEGE OF TECHNOLOGY/CUNY Computer Systems Technology Department COURSE: CST2307 Networking Fundamentals (2 class hours, 2 lab hours, 3 credits) Course Description: This course introduces

More information

Wireshark Lab Ethernet And Arp Solution

Wireshark Lab Ethernet And Arp Solution We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer, you have convenient answers with wireshark lab ethernet

More information

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution) PART X Internetworking Part 1 (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution) CS422 Part 10 1 Spring 1999 Motivation For Internetworking LANs Low cost Limited distance WANs High

More information

SCTP. Stream Control Transmission Protocol. François Buntschu. Ecole d Ingénieurs et d Architectes de Fribourg HES-SO

SCTP. Stream Control Transmission Protocol. François Buntschu. Ecole d Ingénieurs et d Architectes de Fribourg HES-SO SCTP Stream Control Transmission Protocol François Buntschu Ecole d Ingénieurs et d Architectes de Fribourg HES-SO SCTP Stream Control Transmission Protocol EIA-FR, F.Buntschu August 2003 1 / 32 Agenda

More information

Wireshark Lab: Getting Started v7.0

Wireshark Lab: Getting Started v7.0 Wireshark Lab: Getting Started v7.0 Adapted by HMC from the supplement to Computer Networking: A Top-Down Approach, 7 th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve

More information

CPSC156a: The Internet Co-Evolution of Technology and Society. Lecture 4: September 16, 2003 Internet Layers and the Web

CPSC156a: The Internet Co-Evolution of Technology and Society. Lecture 4: September 16, 2003 Internet Layers and the Web CPSC156a: The Internet Co-Evolution of Technology and Society Lecture 4: September 16, 2003 Internet Layers and the Web Layering in the IP Protocols HTTP (Web) Telnet Domain Name Service Simple Network

More information

Introduction to TCP/IP networking

Introduction to TCP/IP networking Introduction to TCP/IP networking TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute TCP : Transmission Control Protocol HTTP, FTP, ssh What is an internet? A set

More information

So What is WireShark?

So What is WireShark? Drinking from the network hose So What is WireShark? Packet sniffer/protocol analyzer Open Source Network Tool Latest version of the ethereal tool 1 Source: www.fcc.gov A packet is a chunk of data enclosed

More information

CSCI-GA Operating Systems. Networking. Hubertus Franke

CSCI-GA Operating Systems. Networking. Hubertus Franke CSCI-GA.2250-001 Operating Systems Networking Hubertus Franke frankeh@cs.nyu.edu Source: Ganesh Sittampalam NYU TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute

More information

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical CSE/EE 461 The Network Layer Application Presentation Session Transport Network Data Link Physical This Lecture Focus: What to do when one wire isn t big enough? Point to point link Broadcast link (Ethernet

More information

Interface The exit interface a packet will take when destined for a specific network.

Interface The exit interface a packet will take when destined for a specific network. The Network Layer The Network layer (also called layer 3) manages device addressing, tracks the location of devices on the network, and determines the best way to move data, which means that the Network

More information

Cisco Nexus 7000 Series Architecture: Built-in Wireshark Capability for Network Visibility and Control

Cisco Nexus 7000 Series Architecture: Built-in Wireshark Capability for Network Visibility and Control White Paper Cisco Nexus 7000 Series Architecture: Built-in Wireshark Capability for Network Visibility and Control What You Will Learn The Cisco Nexus 7000 Series Switches combine the highest levels of

More information

Jonathan Wald and Jason Zigelbaum (A project report written under the guidance of Prof.

Jonathan Wald and Jason Zigelbaum (A project report written under the guidance of Prof. 1 of 12 Jonathan Wald jwald@wustl.edu and Jason Zigelbaum jczigelb@wustl.edu (A project report written under the guidance of Prof. Raj Jain) Download Table of Content: 1. Introduction 1.1 What is OpenPacketPro

More information

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

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses Internet Organization Addresses TCP/IP Protocol stack Forwarding Jörg Liebeherr, 1998-2003 1 What defines the Internet? 1. Use of a globally unique address space based on Internet Addresses 2. Support

More information

CLIENT SERVER ARCHITECTURE:

CLIENT SERVER ARCHITECTURE: CLIENT SERVER ARCHITECTURE: Client-Server architecture is an architectural deployment style that describe the separation of functionality into layers with each segment being a tier that can be located

More information

CE3005: Computer Networks Laboratory 3 SNIFFING AND ANALYSING NETWORK PACKETS

CE3005: Computer Networks Laboratory 3 SNIFFING AND ANALYSING NETWORK PACKETS SNIFFING AND ANALYSING NETWORK PACKETS 1. OBJECTIVE To further understand how the Internet really works and how the concept of encapsulation is being implemented in the different layers of the TCP/IP protocol

More information

The trace is here: https://kevincurran.org/com320/labs/wireshark/trace-dhcp.pcap

The trace is here: https://kevincurran.org/com320/labs/wireshark/trace-dhcp.pcap Lab Exercise DHCP Objective To see how DHCP (Dynamic Host Configuration Protocol) works. The trace is here: https://kevincurran.org/com320/labs/wireshark/trace-dhcp.pcap Network Setup Recall that DHCP

More information

Chapter 7. Local Area Network Communications Protocols

Chapter 7. Local Area Network Communications Protocols Chapter 7 Local Area Network Communications Protocols The Network Layer The third layer of the OSI Model is the network layer. The network layer is concerned with providing a means for hosts to communicate

More information

LAB 1 HOW THE WEB WORKS

LAB 1 HOW THE WEB WORKS LAB 1 HOW THE WEB WORKS What You Will Learn About IP addresses and Domain Names About some web browser plugins to help with development Examine headers sent by the HTTP protocol How to trace the route

More information

Sirindhorn International Institute of Technology Thammasat University

Sirindhorn International Institute of Technology Thammasat University 1 Name...ID....Section. Seat No.. Sirindhorn International Institute of Technology Thammasat University Midterm Examination: Semester 2/2007 Course Title : ITS 332 Information Technology II Lab (Networking)

More information

Flowreplay Design Notes

Flowreplay Design Notes Flowreplay Design Notes Aaron Turner http://synfin.net/ Last Edited: October 23, 2003 1 1 Overview Tcpreplay 1 was designed to replay traffic previously captured in the pcap format back onto the wire for

More information