Date: Sun, 6 Dec 2009 09:42:56 +0100 From: Luigi Rizzo <rizzo@iet.unipi.it> To: Julian Elischer <julian@elischer.org> Cc: freebsd-net@freebsd.org, Gleb Smirnoff <glebius@glebius.int.ru>, Lytochkin Boris <lytboris@gmail.com> Subject: Re: FreeBSD 8: ipfw fwd and pf route-to broken? Message-ID: <20091206084256.GB40585@onelab2.iet.unipi.it> In-Reply-To: <4B1B4728.2050308@elischer.org> References: <933fa9790912040047k64aa11a7s736688e7382725ad@mail.gmail.com> <933fa9790912051124x77f33878tfe588c0cbdb1fe4@mail.gmail.com> <4B1B4728.2050308@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 05, 2009 at 09:54:48PM -0800, Julian Elischer wrote: > Lytochkin Boris wrote: > >Hi! > > > >sbin/ipfw in RELENG_8 do not set sin_len in fwd rule, so sockaddr_in > >from ipfw is sucked into rtalloc1_fib() at last with zero length and > >is routed to lo0 instead of correct interface. > >Returning sin_len into sbin/ipfw resolves issue. > > > >sin_len setting was removed in revision 1.146 by luigi. > > > >What is correct solution? Return sin_len setting into sbin/ipfw or > >something else? if you have tested that putting back sin_len fixes the problem then it should definitely go in again. interesting bug, i will put it a fix as soon as i have a chance thanks luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091206084256.GB40585>