Making magic with the network stack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Sana147 507b9992b3 Update 'Test_Cases/Test_Case1/readme' 2 years ago
..
First_Test_Case.png Upload files to 'Test_Cases/Test_Case1' 2 years ago
TestCase1_ACK.py Update 'Test_Cases/Test_Case1/TestCase1_ACK.py' 2 years ago
TestCase1_FIN.py Upload files to 'Test_Cases/Test_Case1' 2 years ago
TestCase1_FINACK.py Upload files to 'Test_Cases/Test_Case1' 2 years ago
TestCase1_SYN.py Upload files to 'Test_Cases/Test_Case1' 2 years ago
TestCase1_SYNACK.py Update 'Test_Cases/Test_Case1/TestCase1_SYNACK.py' 2 years ago
readme Update 'Test_Cases/Test_Case1/readme' 2 years ago

readme

This folder contains detail for Test_Case1.

The values for the header fields are:

Verison = 4, to indicate IPv4 version is used.
IHL = 5, which indicates 20 bytes.
Type of Service = 0,
Total Window size = 40, which is 28 in hex. The total windows size contains the total lenght of IP header plus data.
Identification = 0001,
Flags = All flags are set to zero,
Fragment Offset = For now, there is no fragment offset so, this value is set to 0.


Source IP = 200.204.10.12, which is c8cc 0a0c in hex
Destination IP = 200.204.10.14, which is c8cc 0a0e in hex
Source Port = 1234, which is 04D2 in hex,
Destination Port = 4444, which is 115c in hex.

For the SYN packet, the SYN Flag in the header has a value of 1.
For the SYN+ACK packet, the SYN and ACK flags in the header have a value of 1.
For the ACK packet, the ACK flag in the header has a value of 1.
For the FIN packet, the FIN flag in the header has a value of 1.
For the FIN+ACK packet, the FIN and ACK flags in the header have a value of 1.