GSEC · Question #382
When trace route fails to get a timely response for a packet after three tries, which action will it take?
The correct answer is D. It will print '* * *' for the attempts, increment the TTL and try again until the maximum hop count. When traceroute receives no response for all three probes at a hop, it prints ' *' and increments the TTL to continue probing the next hop until the maximum hop count is reached.
Question
When trace route fails to get a timely response for a packet after three tries, which action will it take?
Options
- AIt will print '* * *' for the attempts and increase the maximum hop count by one.
- BIt will exit gracefully, and indicate to the user that the destination is unreachable.
- CIt will increase the timeout for the hop and resend the packets.
- DIt will print '* * *' for the attempts, increment the TTL and try again until the maximum hop count.
How the community answered
(46 responses)- A7% (3)
- B2% (1)
- C11% (5)
- D80% (37)
Why each option
When traceroute receives no response for all three probes at a hop, it prints '* * *' and increments the TTL to continue probing the next hop until the maximum hop count is reached.
Traceroute increments the TTL to probe the next hop - it does not increase the maximum hop count, which is a fixed ceiling, not a dynamic value.
Traceroute does not exit when a single hop is unresponsive; it continues sending probes with higher TTL values to find subsequent hops.
Traceroute does not retry the same hop with a longer timeout after three failed probes; it moves on to the next hop by incrementing the TTL.
Traceroute sends three UDP or ICMP probes per TTL value. If no ICMP Time Exceeded reply is received within the timeout period for all three probes, it prints '* * *' to represent the unresponsive hop. It then increments the TTL by one and probes the next hop, continuing this behavior until the destination responds or the maximum hop count (default 30) is exhausted.
Concept tested: Traceroute behavior on unresponsive hops
Source: https://linux.die.net/man/8/traceroute
Topics
Community Discussion
No community discussion yet for this question.