Homework 5: Packet Analysis of an Echo Reply (12 points) Introduction: Previously we decoded an echo...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Homework 5: Packet Analysis of an Echo Reply (12 points) Introduction: Previously we decoded an echo request. The purpose of Homework 5 is to give you practice decoding an Echo Reply. The hexadecimal output from our previous lab is copied below. 4500 0054 31a2 0000 4001 4b05 7f00 0001 7f00 0001 0000 dela 456e 0007 42cb bd62 0000 0000 156f 0800 0000 0000 1011 1213 1415 1617 1819 lalb 1cld lelf 2021 2223 ...... How to start? 1) Remember the output is an IP Header with its payload or data. Copy the Sans TCP/IP and tcpdump reference guide IP Header Template https://www.sans.org/security- resources/tcpip.pdf IPv4 Header Offset: Add column+row. e.g. Protocol=9 ip[9] = "IP header offset 9" or the protocol field 1 2 3 0 Ver IHL TOS Total Length IP Identification HOM Offset 0 4 8 12 16 20 TTL Protocol Checksum Source Address Destination Address Options (optional) 2) Overlay the hexadecimal output on the template 3) Hopefully you will agree with the following: IPv4 Header Offset: Add column+row. e.g. Protocol=9 ip[9] = "IP header offset 9" or the protocol field 0 1 2 3 Ver HL TOS Total Length 0 4 IP Identification HOM 31 TTL 840 127 167 20 4 Offset 20000 Protocol Checksum 475 o Source Address Destination Address Options (optional) 4) Now that you have overlaid the IP Header template with the hexadecimal output, let's interpret the packet contents. a. What is the version of IP? b. What is the length of the IP Header in bytes? IHL x 4 = C. What is the total length of the IP datagram in decimal? d. What is the IP Identification number in decimal? e. You will note that the Fragment Flags and Fragment Offset are all zero. It means the Don't Fragment and More Fragment bits are set to zero. f. What is the Time to Live field in decimal? g. What protocol is indicated in the protocol field? h. What is the Checksum in decimal? i. What is the Destination Address in dotted decimal? 5) Underline or highlight the IP Header 4500 0054 31a2 0000 4001 4b05 7f00 0001 7f00 0001 0000 dela 456e 0007 42cb bd62 0000 0000 156f 0800 0000 0000 1011 1213 1415 1617 1819 lalb 1c1d 1elf 2021 2223 Remember in 4)b. above you calculated the IP header to be 20 bytes long. The minimum length of an IP Header is 20 bytes long. A 20-byte IP Header does not include Options. If an IP Header contains options, the IHL will be greater than 5. 6. What protocol follows the IP Header? If you answered ICMP, you are right. The IP header must include the protocol type that follows so hardware devices know how to interpret the remaining packet information. In order to decipher the rest of the packet you will need to copy the Sans TCP/IP and tcpDump reference guide ICMP Template which I have included below. I have written in the hexadecimal packet contents into the template. What type of ICMP packet is our example? 0 4 Type 0 3 4 5 8 9 11 12 I ! I I T 1 I I I I I I I 0 1 Type Code I 1 1 Code 0 0 1 2 3 et Addtl. information depending on type/code 4 5 ICMP 6 7 8 9 10 11 12 13 0 0 1 2 3 0 0 0 1 0 1 2 Name Echo Reply Network Unreachable Host Unreachable IProtocol Unreachable IPort Unreachable Checksum Fragmentation Required Source Route Failed Dest. Network Unknown Destination Host Unknown Source Host Isolated Net Administratively Prohibited Host Administratively Prohibited 3 INetwork unreschable for TOS Host unreachable for TOS Communication Admin. Prohibited Source quench Network Redirect Host Redirect ITOS & Network Redirect ITOS & Host Redirect Echo [Echo Request] Router Advertisement Time to live exceeded in transit Fragment Reassembly time exceeded Parameter Prob. Pointer indicated the error Missing a required option Note: If the protocol in the IP Header was 6, you would need to continue to decode with Sans TCP/IP and tcpDump reference guide TCP Template. If the protocol in the IP Header was 17 (0x11), you would need to continue to decode with Sans TCP/IP and tcpDump reference guide UDP Template. What follows the 4-byte ICMP Header is the ICMP's payload or data. Homework 5: Packet Analysis of an Echo Reply (12 points) Introduction: Previously we decoded an echo request. The purpose of Homework 5 is to give you practice decoding an Echo Reply. The hexadecimal output from our previous lab is copied below. 4500 0054 31a2 0000 4001 4b05 7f00 0001 7f00 0001 0000 dela 456e 0007 42cb bd62 0000 0000 156f 0800 0000 0000 1011 1213 1415 1617 1819 lalb 1cld lelf 2021 2223 ...... How to start? 1) Remember the output is an IP Header with its payload or data. Copy the Sans TCP/IP and tcpdump reference guide IP Header Template https://www.sans.org/security- resources/tcpip.pdf IPv4 Header Offset: Add column+row. e.g. Protocol=9 ip[9] = "IP header offset 9" or the protocol field 1 2 3 0 Ver IHL TOS Total Length IP Identification HOM Offset 0 4 8 12 16 20 TTL Protocol Checksum Source Address Destination Address Options (optional) 2) Overlay the hexadecimal output on the template 3) Hopefully you will agree with the following: IPv4 Header Offset: Add column+row. e.g. Protocol=9 ip[9] = "IP header offset 9" or the protocol field 0 1 2 3 Ver HL TOS Total Length 0 4 IP Identification HOM 31 TTL 840 127 167 20 4 Offset 20000 Protocol Checksum 475 o Source Address Destination Address Options (optional) 4) Now that you have overlaid the IP Header template with the hexadecimal output, let's interpret the packet contents. a. What is the version of IP? b. What is the length of the IP Header in bytes? IHL x 4 = C. What is the total length of the IP datagram in decimal? d. What is the IP Identification number in decimal? e. You will note that the Fragment Flags and Fragment Offset are all zero. It means the Don't Fragment and More Fragment bits are set to zero. f. What is the Time to Live field in decimal? g. What protocol is indicated in the protocol field? h. What is the Checksum in decimal? i. What is the Destination Address in dotted decimal? 5) Underline or highlight the IP Header 4500 0054 31a2 0000 4001 4b05 7f00 0001 7f00 0001 0000 dela 456e 0007 42cb bd62 0000 0000 156f 0800 0000 0000 1011 1213 1415 1617 1819 lalb 1c1d 1elf 2021 2223 Remember in 4)b. above you calculated the IP header to be 20 bytes long. The minimum length of an IP Header is 20 bytes long. A 20-byte IP Header does not include Options. If an IP Header contains options, the IHL will be greater than 5. 6. What protocol follows the IP Header? If you answered ICMP, you are right. The IP header must include the protocol type that follows so hardware devices know how to interpret the remaining packet information. In order to decipher the rest of the packet you will need to copy the Sans TCP/IP and tcpDump reference guide ICMP Template which I have included below. I have written in the hexadecimal packet contents into the template. What type of ICMP packet is our example? 0 4 Type 0 3 4 5 8 9 11 12 I ! I I T 1 I I I I I I I 0 1 Type Code I 1 1 Code 0 0 1 2 3 et Addtl. information depending on type/code 4 5 ICMP 6 7 8 9 10 11 12 13 0 0 1 2 3 0 0 0 1 0 1 2 Name Echo Reply Network Unreachable Host Unreachable IProtocol Unreachable IPort Unreachable Checksum Fragmentation Required Source Route Failed Dest. Network Unknown Destination Host Unknown Source Host Isolated Net Administratively Prohibited Host Administratively Prohibited 3 INetwork unreschable for TOS Host unreachable for TOS Communication Admin. Prohibited Source quench Network Redirect Host Redirect ITOS & Network Redirect ITOS & Host Redirect Echo [Echo Request] Router Advertisement Time to live exceeded in transit Fragment Reassembly time exceeded Parameter Prob. Pointer indicated the error Missing a required option Note: If the protocol in the IP Header was 6, you would need to continue to decode with Sans TCP/IP and tcpDump reference guide TCP Template. If the protocol in the IP Header was 17 (0x11), you would need to continue to decode with Sans TCP/IP and tcpDump reference guide UDP Template. What follows the 4-byte ICMP Header is the ICMP's payload or data.
Expert Answer:
Related Book For
Strategic Management Concepts And Cases A Competitive Advantage Approach
ISBN: 9780136120988
13th Edition
Authors: Fred R. David
Posted Date:
Students also viewed these computer network questions
-
In Problems 65-72, summarize all pertinent information obtained by applying the graphing strategy, and sketch the graph of y=f(x). 66. 68. 70. 72. x2x6 f(x) 2x 1x +14 f(x)-_-x2-4 x3-5x2-6x 3x +2...
-
Sentry Transport Inc. of Atlanta provides in-town parcel delivery services in addition to a full range of passenger services. Sentry engaged in the following activities during the current year: a....
-
The purchasing manager for the Pacific Steel Company must determine a policy for ordering coal to operate 12 converters. Each converter requires exactly 5 tons of coal per day to operate, and the...
-
(The Martingale problem on \(L)\) Let \(f, g)\) be a pair of functions in \(L\). Find a process \(\left\{X_{t} ight\}_{t}\) defined on \(E\) such that \[M_{t}=f\left(X_{t} ight)-f\left(X_{0}...
-
Many MBAs who ventured into the ??dot-com?? world of the late 1990s found themselves unemployed by 2001 as many firms in that industry ceased to exist. However, during their tenure with these...
-
What is the secret sauce to Wendy's dynamite social media strategy, especially on Twitter
-
In this exercise, you create an application that allows the user to enter the gender (either F or M) and GPA for any number of students. The application should calculate the average GPA for all...
-
According to the article "At the Crossroads" what role do race and class play within lesbian motherhood? Do you believe that lesbian or gay couples should have to pay for a family? Why or why not?
-
In your discussion post, address the following: What are the most effective methods for communication? What communication styles have you used in your personal and professional life that have been...
-
In the room where Offred lives in Margaret Atwood's The Handmaid's Tale, the chandelier has been removed, there is shatterproof glass in the window, and there is no glass covering the watercolor...
-
Discuss What would be your motivation for applying to the Youth Ambassadors Program in GRENADA and How will your participation in the program help you address the issues currently facing in grenada! ?
-
Identify two derivatives that you could use to hedge against a potential change in the market base interest rates. In your answer, you need to explain in what circumstances you would use these...
-
Using new machinery will increase the revenue to an additional $10,000 a year for the expected 10 year life of the machinery. The firm's cost of funds is 6%. What is the maximum the firm would be...
-
The metabolic disorder that can be classified as overflow inherited and metabolic disorder is: a. Tyrosinemia b. Melanuria c. Alkaptonuria d. Phenylketonuria
-
Determine the reactions in supports A and D and connections B and C. Sketch its shear and moment diagram and determine the magnitude ankoration of the maximum shear and moment for every member. 18 3...
-
This activity is aimed at giving you practical knowledge about how organizations in your city or town are doing strategic planning. This exercise also will give you experience interacting on a...
-
It would be interesting to know how traveled are students at your university and also how those students consider their travels to be helpful in becoming an effective businessperson. Generally...
-
Who are the major competitors of your college or university? What are their strengths and weaknesses? What are their strategies? How successful are these institutions compared to your college?
-
The two surfaces of a double convex, thin lens made of plastic each have an absolute value of radius of curvature of \(1.8 \mathrm{~mm}\). If the focal length of the lens is \(4.5 \mathrm{~mm}\),...
-
The radius of curvature of one surface of a glass lens \((n=1.45)\) is \(1.50 \mathrm{~m}\). If sunlight is focused at a point \(0.300 \mathrm{~m}\) away from the lens, what is the radius of...
-
You have a thin lens that is convex on both surfaces. The material of which the lens is made has index of refraction \(n=1.40\), and the radii of curvature are \(\left|R_{1} ight|=300 \mathrm{~mm}\)...
Study smarter with the SolutionInn App