Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70702C433E0 for ; Mon, 22 Jun 2020 14:54:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4BB3520732 for ; Mon, 22 Jun 2020 14:54:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729356AbgFVOyO (ORCPT ); Mon, 22 Jun 2020 10:54:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729321AbgFVOyN (ORCPT ); Mon, 22 Jun 2020 10:54:13 -0400 Received: from orbyte.nwl.cc (orbyte.nwl.cc [IPv6:2001:41d0:e:133a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81029C061573 for ; Mon, 22 Jun 2020 07:54:13 -0700 (PDT) Received: from n0-1 by orbyte.nwl.cc with local (Exim 4.94) (envelope-from ) id 1jnNpq-0003vH-Qk; Mon, 22 Jun 2020 16:54:10 +0200 Date: Mon, 22 Jun 2020 16:54:10 +0200 From: Phil Sutter To: Reindl Harald Cc: Pablo Neira Ayuso , netfilter-devel@vger.kernel.org Subject: Re: iptables user space performance benchmarks published Message-ID: <20200622145410.GB23632@orbyte.nwl.cc> Mail-Followup-To: Phil Sutter , Reindl Harald , Pablo Neira Ayuso , netfilter-devel@vger.kernel.org References: <20200619141157.GU23632@orbyte.nwl.cc> <20200622124207.GA25671@salvia> <20200622140450.GZ23632@orbyte.nwl.cc> <1a32ffd2-b3a2-cf60-9928-3baa58f7d9ef@thelounge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1a32ffd2-b3a2-cf60-9928-3baa58f7d9ef@thelounge.net> Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Hi, On Mon, Jun 22, 2020 at 04:11:06PM +0200, Reindl Harald wrote: > Am 22.06.20 um 16:04 schrieb Phil Sutter: > >> i gave it one try and used "iptables-nft-restore" and "ip6tables-nft", > >> after reboot nothing worked at all > > > > Not good. Did you find out *why* nothing worked anymore? Would you maybe > > care to share your script and ruleset with us? > > i could share it offlist, it's a bunch of stuff including a managament > interface written in bash and is designed for a /24 1:1 NETMAP Yes, please share off-list. I'll see if I can reproduce the problem. > basicaly it already has a config-switch to enforce iptables-nft > > FILE TOTAL STRIPPED SIZE > tui.sh 1653 1413 80K > firewall.sh 984 738 57K > shared.inc.sh 578 407 28K > custom.inc.sh 355 112 13K > config.inc.sh 193 113 6.2K > update-blocked-feed.sh 68 32 4.1K Let's hope I don't have to read all of that. /o\ [...] > >> please don't consider to drop iptables-legacy, it just works and im miss > >> a compelling argument to rework thousands of hours > > > > I'm not the one to make that call, but IMHO the plan is for > > iptables-legacy to become irrelevant *before* it is dropped from > > upstream repositories. So as long as you are still using it (and you're > > not an irrelevant minority ;) nothing's at harm. > > well, my machines are dating back to 2008 and i don't plan to re-install > them and given that im am just 42 years old now :-) You're sending emails, so you're alive and kicking! There's absolutely no reason your systems shouldn't be. After all, where's the fun of keeping a box up to date if it's not for the casual technology migration (and the sleepless night to fix the bugs)? :) Cheers, Phil