Bug 16281 - traceroute LSRR broken
Summary: traceroute LSRR broken
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: traceroute
Version: 6.2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
: 17742 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2000-08-15 18:42 UTC by Ingo Luetkebohle
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-08-30 14:46:04 UTC

Attachments (Terms of Use)
Slightly modified from Alexis patch (URL for that one in text) (9.81 KB, patch)
2000-08-15 18:47 UTC, Ingo Luetkebohle
no flags Details | Diff

Description Ingo Luetkebohle 2000-08-15 18:42:54 UTC
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
traceroute to  (, 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.

Comment 1 Ingo Luetkebohle 2000-08-15 18:47:47 UTC
Created attachment 2521 [details]
Slightly modified from Alexis patch (URL for that one in text)

Comment 2 Ingo Luetkebohle 2000-08-30 14:46:03 UTC
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.

Comment 3 Jeff Johnson 2000-10-04 19:20:29 UTC
FIxed (by adding modified patch) in traceroute-1.4a5-24. Thanks for the

Comment 4 Jeff Johnson 2000-10-04 19:21:20 UTC
*** Bug 17742 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.