Re: [2.1.32] traceroute

Richard B. Johnson (root@analogic.com)
Wed, 9 Apr 1997 17:38:42 -0400 (EDT)


On Wed, 9 Apr 1997, B. James Phillippe wrote:

> Greetings,
>
> Traceroute appears to be broken under 2.1.32.
>
> % traceroute int-ppp02
> traceroute: SO_SNDBUF: Invalid argument
>
> Here is an strace of it:

[SNIPPED]

A temporary fix is:

In traceroute.c, line 450 change #ifdef SO_SNDBUF to #ifdef_SNDBUF__

New versions of the kernel won't take a data-length of 65535 plus the
length of the header. Traceroute doesn't need this packet length so
I don't know why it sets such a buffer size. It works fine without
this option being set.

Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.32 on an i586 machine (66.15 BogoMips).
Warning : I read unsolicited mail for $350.00 per hour. Supply billing address.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-