Re: source routing - bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 7 Jun 2005, Tim Newsham wrote:

I've stumbled across something that looks like a bug in the IP
stack in linux relating to source routing.

Check /proc/sys/net/ipv4/conf/*/rp_filter on A.

It was previously 0, I changed it to 1 and got the same results.
Are you able to successfully perform the tests I specified?
(I assume you are, since you recommended a fix to me).
What are your network settings?

I meant trying to set it to 0, I assumed you had it set to 1 (which is the default on most distros).

Regardless, you're right, it doesn't seem to be the problem. It looks like the linux IP stack isn't happy if it's in the route path twice. I can't find where in the code it is, but I think it's in net/ipv4/ip_options.c and/or net/ipv4/ip_input.c Someone with more knowledge of the IPv4 internals can probably tell you more.

			Alexey
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux