Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Dec 2009 00:36:11 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
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:  <4B1B6CFB.7040003@elischer.org>
In-Reply-To: <20091206084256.GB40585@onelab2.iet.unipi.it>
References:  <933fa9790912040047k64aa11a7s736688e7382725ad@mail.gmail.com> <933fa9790912051124x77f33878tfe588c0cbdb1fe4@mail.gmail.com> <4B1B4728.2050308@elischer.org> <20091206084256.GB40585@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo wrote:
> 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


if this indeed breaks fwd in 8.0 it's a big deal and needs to go into 
the errata.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B1B6CFB.7040003>