0 O O 0 . . . Before, we have looked at the hex value to decode what the numbers mean. For this assignment, we will be d
Posted: Wed Apr 27, 2022 3:34 pm
0 O O 0 . . . Before, we have looked at the hex value to decode what the numbers mean. For this assignment, we will be doing the opposite - given information about the packet, the goal will be to build the corresponding hex packet. Your task: Build a hex packet, as if it was just extracted from the network, given the following information and diagram. If (hex) is not stated, the number is decimal. It is a TCP packet Address information: HW Dest (hex) = 00:50:56:86:8F:33 - HW Src (hex) = 00:00:0C:31:01:AB IP Dest = 64.39.3.146 IP Src = 199.100.16.100 o Port Dest = 53258 Port Src = 3128 IP Type of Service: 0 TTL: 60 Flags - IP: Don't Fragment is set • TCP: Acknowledgement is set IDs IP (hex): 39CF TCP Sequence (hex): 1770 EDC8 - TCP Acknowledgement (hex): 7D46 9EDB Options No IP options TCP options (hex): 0101 080A 8EBE A04A 1CE0 5196 • Checksums . IP (hex): E973 - TCP (hex): BC1E • TCP window size: 1024 • TCP urgent pointer: 0 You can figure out all other missing fields using the information above. Using scratch paper may be beneficial for this assignment - write out each header field, fill in the numbers with the appropriate information, and then build your packet. For instance, creating and filling in a table may help (not all fields are listed in the example below): 0 O O O Ethemat der Det SA Hester Version Header Lampe of Senice TOP Header See on Dest Port Type/Lan SIPA Dest Poption Line Option Oy 319 360
Ethernet Header Dest Addr Src Addr IP Header Version Header Len Type of Service TCP Header Src Port Type/Len Src IP Addr Dest Port Dest IP Addr Options (if any) Urgent Ptr Options (if any) Data (if any) 001f 3309 8160
Ethernet Header Dest Addr Src Addr IP Header Version Header Len Type of Service TCP Header Src Port Type/Len Src IP Addr Dest Port Dest IP Addr Options (if any) Urgent Ptr Options (if any) Data (if any) 001f 3309 8160