Date: Mon, 3 Sep 2018 16:33:15 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Runer <run00er@gmail.com>, freebsd-net@freebsd.org, "Andrey V. Elsukov" <ae@FreeBSD.org> Subject: Re: Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 Message-ID: <3439070c-a4cd-1f9b-a02b-dace4ed29bf3@grosbein.net> In-Reply-To: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> References: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
03.09.2018 14:02, Runer wrote: > *Hello Community! > > A situation has arisen in which ipfw fwd stops working when > RTF_BLACKHOLE or RTF_REJECT, ROUTE (8), is enabled on Freebsd 11 release. > ** > > FreeBSD 11.2-RELEASE-p1 route add default 127.0.0.1 -blackhole –iface ipfw show00100 30 4056 fwd 10.0.0.5 ip from table(1) to not 10.0.0.0/8 in via em0 The packet counter changes, but forwarding does not work.On FreeBSD 10 everything works fine. I suppose this is due to changes to forwarding -> fast forwarding by default in FreeBSD 11 and man ROUTE (8), “BUGS - unless IP fast forwarding is enabled, in which case the meaning of the flag will always be honored.” > I want to know if it's possible to implement the work ipfw fwd together with RTF_BLACKHOLE on FreeBSD 11 as before in FreeBSD 10? Thank you in advance! > > *** Can you fill a Problem Report using https://bugs.freebsd.org/bugzilla/enter_bug.cgi please? And drop me PR's number in reply.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3439070c-a4cd-1f9b-a02b-dace4ed29bf3>