Re: ip_route_output_key returns wrong gateway info with specific ip rules

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

 



Hi Maciej,

thanks for your explanations!

On 10/05/14 at 02:56, Maciej Żenczykowski wrote:
> Easiest fix has been to use iptables mangle prerouting to mark
> packets, thus also forcing a reroute, and then using fwmark ip rules
> instead of (or maybe in addition to) from ip rules.

I can workaround this with marked packets etc., sure.  But i want to
know/learn why the "ip_route_output_key" from route.c function returns a
different value in my scenario although the data it gets via the
parameter is the same and just the ip rule is different.

I guess i have to add debug parts into route.c and dig more into that, i
just thought maybe some developer already knows what the problem might
be.

Thanks.

-- 
Andreas Herz
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux