Sie sind auf Seite 1von 3

Telecommunications SYStems

LAB # 9

TCP ANALYSIS USING WIRESHARK

Objective:

The purpose of this lab is to investigate Transmission Control Protocol (TCP)/


UDP Protocols using the packet analyzing program, Ethereal. The student will
visit one or more web sites and observe the traffic that takes place between the
local computer and the web site.

Equipment:

The following equipment is required:

1 computer with Ethereal loaded

Introduction:

In this lab, Ethereal will be used to look at the structure of TCP packets
transmitted over the network.

Procedure:

1. Start Ethereal, click Start, Capture dont put a filter in and start the
capturing process.

2. Start your web browser and go to www.iana.org or a website that your


instructor supplies.

3. Stop the capture process and look in the packets captured under the TCP
protocol for a three-way handshake indicating the start of a TCP session.
If there are any web pages downloaded you should also see some
packets containing the HTTP protocol.

4. In the first of the TCP packets (the [SYN] packet), what is the size of the
window advertised?

What is the sequence number of this packet?

What is the acknowledgement of the packet?

What is the source port?

Hyder Khoja May 30/2015[Type text] Page 1


What is the destination port?

5. In the second packet of the three-way handshake (the [ACK, SYN] packet)
what is the window size advertised?

What is the sequence number?

What is the acknowledgement number?

What is the source port?

What is the destination port?

6. In the third packet of the three-way handshake (the [ACK] packet what is
the window size?

What is the sequence number?

What is the acknowledgement number?

7. How do the sequence and acknowledgement numbers of the packets


relate together? Explain.

Does this information differ from the examples did in the lecture session?
Explain.

8. If data is being downloaded from the web site check for


acknowledgements from your computer. Are the sequence numbers
related to those seen in the last exchange?

Hyder Khoja May 30/2015[Type text] Page 2


9. Go to a different website, try the same thing and give your observations

10. Give a few Examples of SEQ#s that matches the ACK#

11. How Does TCP Guarantee End-to-End Delivery.

12. Name a few Applications that use TCP.

________________________________________________________________

Hyder Khoja May 30/2015[Type text] Page 3

Das könnte Ihnen auch gefallen