Stop probing after receiving ICMP6_DST_UNREACH.
The behavior can be observed by tracing the route to
2a02:ee80:4028:1126::
Discussed with: Job Snijders, Nick Hilliard
Obtained from: OpenBSD
Differential D47520
traceroute6: Don't keep trying on unreachables otis on Nov 11 2024, 10:43 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Diff Detail
Event TimelineComment Actions Ah... this will require an entry in traceroute6.8 (right before EXIT STATUS), but it can be done before committing, if others also accept this patch. Comment Actions Just a couple remarks:
Comment Actions
IMO it would be nicer to describe this behaviour in the commit log message. What exactly happens? Comment Actions While tracing route to a network that rejects the route, traceroute6 keeps trying the next hops even if received the error code 6. # traceroute6 -I 2a02:ee80:4028:1126:: ... 7 kbn-bb5-v6.ip.twelve99.net 16.832 ms 16.849 ms 17.074 ms 8 * * * 9 storegate-ic-310070.ip.twelve99-cust.net 15.934 ms 15.458 ms 15.432 ms 10 2001:2000:1080:30::1 16.163 ms 16.215 ms 16.095 ms 11 2001:2000:1080:30::2 16.256 ms 16.358 ms 16.188 ms 12 2001:2010:e::2 17.999 ms 18.049 ms 17.942 ms 13 2001:2010:e::2 17.785 ms 17.939 ms 17.879 ms 14 2001:2010:e::2 17.805 ms 17.879 ms 17.866 ms 15 2001:2010:e::2 17.855 ms 17.950 ms 17.902 ms 16 2001:2010:e::2 17.874 ms 17.939 ms * 17 2001:2010:e::2 17.912 ms 17.983 ms 17.914 ms 18 2001:2010:e::2 17.812 ms 17.922 ms 17.884 ms 19 2001:2010:e::2 17.909 ms 17.882 ms 17.884 ms 20 2001:2010:e::2 18.006 ms 17.967 ms * 21 2001:2010:e::2 17.935 ms 17.995 ms 17.960 ms 22 2001:2010:e::2 17.844 ms 17.927 ms 17.856 ms 23 2001:2010:e::2 17.976 ms 18.069 ms 17.877 ms 24 2001:2010:e::2 17.918 ms 17.968 ms 17.835 ms 25 2001:2010:e::2 17.835 ms 17.936 ms 17.802 ms 26 2001:2010:e::2 17.881 ms 17.969 ms 17.867 ms ^C With this patch, the behavior is: 7 kbn-bb5-v6.ip.twelve99.net (2001:2034:1:75::1) 17.917 ms 18.078 ms 17.838 ms 8 * * * 9 storegate-ic-310070.ip.twelve99-cust.net (2001:2035:0:94::2) 17.034 ms 16.859 ms 16.824 ms 10 2001:2000:1080:30::1 (2001:2000:1080:30::1) 17.080 ms 16.984 ms 16.993 ms 11 2001:2000:1080:30::2 (2001:2000:1080:30::2) 17.818 ms 17.527 ms 17.574 ms 12 2001:2010:e::2 (2001:2010:e::2) 19.017 ms 18.977 ms 19.007 ms 13 2001:2010:e::2 (2001:2010:e::2) 18.963 ms !<6> 18.981 ms !<6> 18.950 ms !<6> and traceroute6 stops after receiving the error code. |