LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   traceroute hanging, not timing out (https://www.linuxquestions.org/questions/linux-software-2/traceroute-hanging-not-timing-out-4175717986/)

linuxuserme 10-21-2022 06:18 AM

traceroute hanging, not timing out
 
Traceroute 1.9.4 (inetutils 1.9.4) is hanging and not timing out with continuous undesirable ICMP traffic. Have to press ctrl+c on the terminal to stop traceroute.
Is this issue fixed in latest traceroute 2.3 version?

computersavvy 10-21-2022 12:50 PM

Traceroute should halt at 30 hops max. It will normally continue searching for the route as long as the hop count is less than the limit and has a long timeout with each hop where it gets no response and seems to hang when it gets no response.
Some routers are configured to give no id response but to forward the request. Others are programmed to block and not forward. Still others give the id response. This means that different routes to the same destination may give differing results.

linuxuserme 10-22-2022 09:26 AM

Yes, it should timeout when it gets no response, but it hangs instead, when this machine gets continuous ICMP (e.g. ping) traffic from other machine at the same time.
It is busy in processing those ICMP ping packets and could not timeout.
Is this issue fixed in latest traceroute utility?


All times are GMT -5. The time now is 06:19 PM.