From owner-freebsd-net@freebsd.org Tue Sep 4 07:47:01 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38DA4FE5C42 for ; Tue, 4 Sep 2018 07:47:01 +0000 (UTC) (envelope-from run00er@gmail.com) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FFAF8BDF0; Tue, 4 Sep 2018 07:47:00 +0000 (UTC) (envelope-from run00er@gmail.com) Received: by mail-lj1-x234.google.com with SMTP id p10-v6so2321112ljg.2; Tue, 04 Sep 2018 00:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=wk2XCZl80d7ldmM90dCWh9GOc+nNzG3/Qz0Yu+Yu76I=; b=h9xVVE8dbQ2lMv9bWuNdB7cjqNr4MpTTPQMBxfVY1L1oktPiCFGnNbIbu6LXhpXYrA kQrRVgZhs+zTXok20dOHV4Nh9W2qCbfSura8Fw0Nwpn6+23pmshzYQXgAKvGwUDZ8vpr 5iCf7J3bzk2ysr7Ew656814Twuagd9CpYOPQ4xh4c4F1cfrMCjrnpMmSDheFJe/NVD48 ayerM7CcvePy1McGKkpmVSfHEwspufe0tLD830NYkbhKtg6yMWiepN3XxrDDssHK8d9i aM8ZPzag6CaJygh10Sv6x8LRXHEb8iPLgF3r9zD3XuMzANeNM9Kr+gdIr9iRZcCBezKj HLdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=wk2XCZl80d7ldmM90dCWh9GOc+nNzG3/Qz0Yu+Yu76I=; b=UxqICZoOvlU2Ohmfk09eHlqWkdFFMaVx/WoMcmHZzhSvAGXu92XccDqjzD6vCWImmQ bZSzlGmRtUlwkAGLaZCHR5NU7LazodBRDKx28N5zYHVg8pS0mCTDQ3V8/Z+z7WIWjN+I +Fsrp2fIN0Q1p1dkkturxgsiziB/9NMTy3RvUlvUNMs6kgYOwNphOfT9nfThwjpWxvQr /mfg5f/GlYxsh9pA4/yukcbF++6IGm5f4IZ6om8PdxlA/PRdZ9Dkiwu06WIQhTP0Wmrv xsN3GHiDgRJ7A1feQZkuXuaJ4C2zT9mO5ioGurLfTJpNU8AvaafpYyTTf1fB9A9M17+6 yDXA== X-Gm-Message-State: APzg51CpFcuYQi+TVOUAzbLvKI783Ysw2C6jHBTS0FyuCcdNeaSKCnv1 Wn0hO197hm6gjNlRWaBMx3Pv2Fyp X-Google-Smtp-Source: ANB0VdYIVdL79jza4mUagRdbrhmBs10ERgzE2h9CDAXw1cHwRamtm2M1yb6fRe6UJrS37qeA7gSM+Q== X-Received: by 2002:a2e:7d10:: with SMTP id y16-v6mr18996155ljc.29.1536047219075; Tue, 04 Sep 2018 00:46:59 -0700 (PDT) Received: from [10.0.0.59] ([193.111.156.141]) by smtp.gmail.com with ESMTPSA id g133-v6sm3956536lfg.81.2018.09.04.00.46.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 00:46:58 -0700 (PDT) Subject: Re: Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 To: Eugene Grosbein , freebsd-net@freebsd.org, "Andrey V. Elsukov" References: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> <3439070c-a4cd-1f9b-a02b-dace4ed29bf3@grosbein.net> From: Runer Message-ID: Date: Tue, 4 Sep 2018 10:46:57 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <3439070c-a4cd-1f9b-a02b-dace4ed29bf3@grosbein.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2018 07:47:01 -0000 At your request Eugen, I fill in the Problem Report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231143 03.09.2018 12:33, Eugene Grosbein пишет: > 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. > >