0% found this document useful (0 votes)
7 views3 pages

TCP Report DCCN

The report details the analysis of TCP connections, including socket addresses, flags, sequence and acknowledgment numbers, and window sizes. It discusses the flow control mechanism of TCP, the significance of the HTTP OK message, and the connection termination process. Additionally, it covers the characteristics of TCP packet headers, including size and options, and confirms that no packets with a zero window size were captured.

Uploaded by

ayushvre1shete
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

TCP Report DCCN

The report details the analysis of TCP connections, including socket addresses, flags, sequence and acknowledgment numbers, and window sizes. It discusses the flow control mechanism of TCP, the significance of the HTTP OK message, and the connection termination process. Additionally, it covers the characteristics of TCP packet headers, including size and options, and confirms that no packets with a zero window size were captured.

Uploaded by

ayushvre1shete
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Report for LAB 3-2: TCP

Name: Ayush Rewanshete Student ID: 523cs0020 Date:

Part I

1
Socket addresses: 172.16.100.30:61009 , 104.18.22.19:443

2
Set flags: SYN , [SYN ,ACK] , ACK , ACK

3
Sequence number and acknowledgement number: 0,0

0,1

1,1
4
Window size: 65535 , 65535 , 255

Part II

1 Set flag in HTTP GET message: PSH , ACK

2 Number of bytes transmitted by the HTTP GET message: 412

3
Acknowledgement frequency:

Corresponding rule: Cumulative Acknowledgement


4
Number of bytes transmitted by each packet:

Relation to sequence and acknowledgement Number:

Next sequence number is equal to current sequence number + no of bytes transferred .

Next Acknowledgement number = Last received byte’s sequence no + 1


5
Original window sizes: 65535

Are these numbers expected? Yes .

How window sizes change? Window size decreases as receiver buffers incoming data and it
increases when buffer frees up.
6
How the window size is used in flow control?
The TCP window size helps in flow control by specifying how much data the sender can send
before needing an acknowledgment from the receiver. It ensures the sender doesn’t overwhelm the
receiver’s buffer.

7
Purpose of the HTTP OK message:

The HTTP OK message signifies that the server is ready to send the requested data to the client, and
it marks the beginning of the actual data transfer phase.

Part III

1
Number of TCP segments exchanged for connection termination: 2

1
Which end point started the connection termination phase?

Source

2
Flags sets in each of the segments used for connection termination: ACK , FIN

Part IV

1 a. Source port number: 61011 b. Destination port number: 443

c. Sequence number : 2795 (1354668747) d. Acknowledgement number 3995


(934950923)
e. Heather length: 20 bytes f. Set flags: ACK

g. Window size: 250 h. Urgent pointer: 0

2
Are answer in the question number 1 verified by the information in the detail pane lane?

Yes , they are verified.

3
Does any of the TCP packet headers carry options?
Yes some packet headers may contain options like timestamp option, window scale option but the
standard TCP header is 20 bytes in length . But in our captured file , there is no packet header with
options.

Explain : These packets having headers with more than 20 bytes contain some of the additional
options.
4
Size of a TCP packet with no option: 20 bytes

Size of a TCP packet with options: can be more than 20 bytes , maxm upto 40 bytes.
5
Is window size in any of the TCP packet zero?

Explain: No , in our captured file there is no TCP packet with window size = 0.But there can exist
some situation when buffer is full and window size is zero . The point to note is that window sliding
does not allow the buffer to get full . Once the window is full , the earliest packet is pulled ,
creating space for new packet , that’s why window size of TCP packet is shown to be 0.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy