• Tidak ada hasil yang ditemukan

Understanding TCP with WireShark

N/A
N/A
Protected

Academic year: 2024

Membagikan "Understanding TCP with WireShark"

Copied!
2
0
0

Teks penuh

(1)

King Abdul-Aziz University Computer Networks Faculty of Computing and Information Technology CPIT370 Department of Information Technology

Akbar Badhusha Mohideen Page 1

Lab#6: Understanding TCP operation with Wire Shark Prepared By Akbar Badhusha MOHIDEEN

Objectives:

The objective of this lab is to generate TCP traffic, capture TCP packets in the Wire Shark software and observe the three way hand shake of the TCP connection establishment process and the connection termination process.

Activity Outcomes

At the end of this lab the student will be able to

Use the Wire Shark software to capture the packets.

Analyze the three way handshake packets of TCP connection establishment and termination.

Lab Tasks

Building the small network:

Firstly, build the smallest network with two PCs connected by a crossover cable. Use the IP addresses 192.168.10.1 for one PC and 192.168.10.2 for another PC.

Start NetMeeting:

Secondly, start the NetMeeting software in both the PCs. But do not start to call from each side.

Starting Wire shark:

Then start the Wire Shark software (which is used for capturing and analyzing the packets) and start the capturing process.

After starting to capture, from the NetMeeting, call the PC2 from PC1. Using text Chat, send one line of text and disconnect the NetMeeting connection between two PCs.

Now stop the capturing process and look at the captured packets.

TCP Three way handshake analysis:

How is the first packet in the TCP session identified?

_______________________________________________________________

See the details of the first three packets of the TCP connection establishment and then fill up the table given below. In the TCP connection establishment sequence, the opening TCP session sends a TCP datagram with the SYN bit set and the receiver sends a related TCP datagram with the SYN ACK bits set. A final ACK bit is sent from sender to finish the TCP handshake.

In the screen capture below, the highlighted line shows the First packet of TCP session. When the flags field is elaborated, the SYN bit is seen as 1. Similarly, observe the details of other two packets and fill up the questions below.

(2)

2 For the First packet fill up the following Blanks:

Source IP Address: ___.___.___.___

Destination IP Address: _______________

Source port number: ______________

Destination port number: ______________

Sequence number: ______________

Acknowledgement number: ___________

Flag Bits SYN ____ ACK _____ FIN _____

For the Second packet fill up the following Blanks:

Source IP Address: ___.___.___.___

Destination IP Address: _______________

Source port number: ______________

Destination port number: ______________

Sequence number: ______________

Acknowledgement number: ___________

Flag Bits SYN ____ ACK _____ FIN _____

For the Third packet fill up the following Blanks:

Source IP Address: ___.___.___.___

Destination IP Address: _______________

Source port number: ______________

Destination port number: ______________

Sequence number: ______________

Acknowledgement number: ___________

Flag Bits SYN ____ ACK _____ FIN _____

Referensi

Dokumen terkait

Title: Voiced Controlled Music Player ii Bachelor of Computer Science Honours Faculty of Information and Communication Technology Kampar Campus, UTAR.. UNIVERSITI TUNKU ABDUL RAHMAN

Department of Computer Science & Engineering Faculty of Science & Information Technology Lab Final Section: PC-G Semester: Summer 2020 Course Code: CSE 123 Course Title:

Hammood4, Khairul Hafezad Abdullah5, Davi Sofyan6,Majid Rahardi3 1Department of Information Systems, Faculty of Computer Science and Information Technology, University of Anbar,

Hepatic involvement can cause massive hepatomegaly, respiratory distress From the Pediatric Oncology/Hematology Section, Princess Noorah Oncology Center, King Abdul-Aziz Medical City,

1 Ghadah Ahmed Al-Jarallah Lecturer, Computer Science Education: MSc Computer Science & Information Technology, King Saud University, Riyadh, 2018 BSc Computer Science & Information

Last Profile Update: November 01, 2023 King Abdulaziz University Jeddah, Saudi Arabia Faculty of Computing and Information Technology Page 1 of 2 Hana Almagrabi Assistant Professor,

Arwa Allinjawi Faculty of Computing and Information Technology KING ABDULAZIZ UNIVERSITY JEDDAH-SAUDI ARABIA Rab.II 1440 H – January 2019 G Faculty of Computing and Information

Course File - Course Specifications Spring 2018 Department of Computer Science Printed as of: Sunday January 14 20 2 Faculty of Computing and Information Technology Introduction