Messages in this thread | | | Subject | RE: Re-routing packets via netfilter (ip_rt_bug) | Date | Mon, 25 Apr 2005 18:51:25 +0200 | From | "Yair Itzhaki" <> |
| |
No, this does not help. The failure is now inside "ip_route_output_slow", since the reversed address packet has the source address of the remote machine, and the call to "ip_dev_find" fails to find a device with matching address.
In 2.4 the okfn pointer used to point to "ip_queue_xmit2" which evaluated the new route from scratch. It was passed in as the completion function when calling the NF_HOOK chain. In 2.6 this function is gone (replaced with a reference to "dst_output).
Was removing it a mistake?
-----Original Message----- From: Patrick McHardy [mailto:kaber@trash.net] Sent: Monday, April 25, 2005 11:07 To: Yair Itzhaki Cc: linux-kernel@vger.kernel.org; Netfilter Development Mailinglist Subject: Re: Re-routing packets via netfilter (ip_rt_bug)
Yair Itzhaki wrote: > While traversing packets through Netfilter, changing dest address from a foreign to a local address causes the packet to drop (and show up at ip_rt_bug(), along a syslog entry).
Does this patch fix your problem?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |