FreeBSD 8: ipfw fwd and pf route-to broken?
Luigi Rizzo
rizzo at iet.unipi.it
Sun Dec 6 08:34:40 UTC 2009
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
More information about the freebsd-net
mailing list