Computer Networks- Wireshark TCP project

Computer Networks- Wireshark TCP project. I have attached the details thank you. Please if you dont know please dont take responsibility.

Unformatted Attachment Preview

Don't use plagiarized sources. Get Your Custom Essay on
Computer Networks- Wireshark TCP project
Just from $13/Page
Order Essay

Wireshark Lab: TCP
In this lab, we’ll investigate the behavior of the celebrated TCP protocol in detail. We’ll
do so by analyzing a trace of the TCP segments sent and received in transferring a 150KB
file (containing the text of Lewis Carrol’s Alice’s Adventures in Wonderland) from your
computer to a remote server
Before beginning this lab, you’ll probably want to review sections 3.5 and 3.7 in the
Preliminary Steps:
1. Disable IPv6, if applicable.
2. Disable Large Send Offload (also called TCP Segmentation Offload), if
Include screenshots whenever possible. You will lose (many) points if you do not provide
necessary screenshots.
I prepared a video that shows how to capture packets and answer the questions.!AscAkmu7rcZ6g6cBDsuXYRCxCGsgvg
1. Capturing a bulk TCP transfer from your computer to a remote
Before beginning our exploration of TCP, we’ll need to use Wireshark to obtain a packet
trace of the TCP transfer of a file from your computer to a remote server. You’ll do so by
accessing a Web page that will allow you to enter the name of a file stored on your
computer (which contains the ASCII text of Alice in Wonderland), and then transfer the
file to a Web server using the HTTP POST method (see section 2.2.3 in the text). We’re
using the POST method rather than the GET method as we’d like to transfer a large
amount of data from your computer to another computer. Of course, we’ll be running
Wireshark during this time to obtain the trace of the TCP segments sent and received
from your computer.
Do the following:
• Start up your web browser. Go to
and retrieve an ASCII copy of Alice in Wonderland. Store this file somewhere on
your computer.
References to figures and sections are for the 6th edition of our text, Computer Networks, A Top-down
Approach, 6th ed., J.F. Kurose and K.W. Ross, Addison-Wesley/Pearson, 2012.
Next go to
You should see a screen that looks like:
Use the Browse button in this form to enter the name of the file (full path name)
on your computer containing Alice in Wonderland (or do so manually). Don’t yet
press the “Upload alice.txt file” button.
Now start up Wireshark and begin packet capture (Capture->Start) and then press
OK on the Wireshark Packet Capture Options screen (we’ll not need to select any
options here).
Returning to your browser, press the “Upload alice.txt file” button to upload the
file to the server. Once the file has been uploaded, a short
congratulations message will be displayed in your browser window.
Stop Wireshark packet capture. Your Wireshark window should look similar to
the window shown below.
2. A first look at the captured trace
Before analyzing the behavior of the TCP connection in detail, let’s take a high level
view of the trace.
• First, filter the packets displayed in the Wireshark window by entering “tcp”
(lowercase, no quotes, and don’t forget to press return after entering!) into the
display filter specification window towards the top of the Wireshark window.
What you should see is series of TCP and HTTP messages between your computer and You should see the initial three-way handshake containing a SYN
message. You should see an HTTP POST message. Depending on the version of
Wireshark you are using, you might see a series of “HTTP Continuation” messages being
sent from your computer to Recall from our discussion in the earlier
HTTP Wireshark lab, that is no such thing as an HTTP Continuation message – this is
Wireshark’s way of indicating that there are multiple TCP segments being used to carry a
single HTTP message. In more recent versions of Wireshark, you’ll see “[TCP segment
of a reassembled PDU]” in the Info column of the Wireshark display to indicate that this
TCP segment contained data that belonged to an upper layer protocol message (in our
case here, HTTP). You should also see TCP ACK segments being returned from to your computer.
Answer the following questions according to your captured packets. Whenever possible,
when answering a question, you should hand in a printout of the packet(s) within the
trace that you used to answer the question asked. Annotate the printout2 to explain your
answer. To print a packet, use File->Print, choose Selected packet only, choose Packet
summary line, and select the minimum amount of packet detail that you need to answer
the question.
1. What is the IP address and TCP port number used by the client computer (source)
that is transferring the file to To answer this question, it’s
probably easiest to select an HTTP message and explore the details of the TCP
packet used to carry this HTTP message, using the “details of the selected packet
header window” (refer to Figure 2 in the “Getting Started with Wireshark” Lab if
you’re uncertain about the Wireshark windows.
2. What is the IP address of On what port number is it sending
and receiving TCP segments for this connection?
We will use the packet trace that you have captured to study TCP behavior in the rest of
this lab.
3. TCP Basics
Answer the following questions for the TCP segments:
3. What is the sequence number of the TCP SYN segment that is used to initiate the
TCP connection between the client computer and What is it
in the segment that identifies the segment as a SYN segment?
4. What is the sequence number of the SYNACK segment sent by
to the client computer in reply to the SYN? What is the value of the
Acknowledgement field in the SYNACK segment? How did
determine that value? What is it in the segment that identifies the segment as a
SYNACK segment?
5. What is the sequence number of the TCP segment containing the HTTP POST
command? Note that in order to find the POST command, you’ll need to dig into
the packet content field at the bottom of the Wireshark window, looking for a
segment with a “POST” within its DATA field.
6. Consider the TCP segment containing the HTTP POST as the first segment in the
TCP connection. What are the sequence numbers of the first six segments in the
TCP connection (including the segment containing the HTTP POST)? At what
time was each segment sent? Select an arbitrary ACK segment (which is for a
TCP data segment sent by your client to the server) sent back by the web server;
when was it received? When was the corresponding TCP data segment sent?
What do we mean by “annotate”? If you hand in a paper copy, please highlight where in the printout
you’ve found the answer and add some text (preferably with a colored pen) noting what you found in what
you ‘ve highlight. If you hand in an electronic copy, it would be great if you could also highlight and
Please calculate the RTT (Round Trip Time) for the corresponding TCP data
segment and its ACK.
7. What is the length of each of the first six TCP segments? Based on this
information, what’s the MSS (Maximum Segment Size)?
8. What is the minimum amount of available buffer space advertised at the receiver
for the entire trace?
9. Are there any retransmitted segments in the trace file? What did you check for (in
the trace) in order to answer this question?
10. How much data does the receiver typically acknowledge in an ACK? Providing
the information for one ACK is enough. You need to first pick the ACK, and then
find the corresponding TCP data segment sent by your client, and then report the
number of data bytes in the TCP segment’s payload.

Purchase answer to see full

Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.


Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.


Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.


Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.


Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.

Order your essay today and save 15% with the discount code DISCOUNT15