Red Hat Bugzilla – Bug 16281
traceroute LSRR broken
Last modified: 2008-05-01 11:37:57 EDT
traceroute, as shipped with 6.2 (and earlier) does not support
Loose Source Record Route (LSRR) correctly. The result is:
[root@bombay traceroute-1.4a5]# /usr/sbin//traceroute -g 220.127.116.11
traceroute to (18.104.22.168), 30 hops max, 46 byte packets
traceroute: sendto: Invalid argument
46 , =-1ote ,9
The last line contains unprintable characters which sometimes render
the terminal broken.
A patch for the problem is available at
It works, except that linux/types.h has to be included
before linux/icmp.h. Look and you'll see.
Created attachment 2521 [details]
Slightly modified from Alexis patch (URL for that one in text)
A new, supposedly combined patch for some problems traceroute has was posted
on the security-audit list:
I didn't check it. Another recommandation from the same thread was to
use traceroute-nanog instead/additionally. The stock version of that
one exhibits the same -g problem as the stock traceroute, though.
FIxed (by adding modified patch) in traceroute-1.4a5-24. Thanks for the
*** Bug 17742 has been marked as a duplicate of this bug. ***