Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90569C43334 for ; Wed, 8 Jun 2022 16:27:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245503AbiFHQ1i (ORCPT ); Wed, 8 Jun 2022 12:27:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245461AbiFHQ1f (ORCPT ); Wed, 8 Jun 2022 12:27:35 -0400 Received: from orbyte.nwl.cc (orbyte.nwl.cc [IPv6:2001:41d0:e:133a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4F3B4F447 for ; Wed, 8 Jun 2022 09:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nwl.cc; s=mail2022; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XpeMXjJY/9d2RZNUaVPx8guK85MjAz9D8aLcntSsrM0=; b=Q5wqCsKfUbaD1Ll8BeXGpPtpbV kBO4WtGmP+ds4oY4fENspfF0P9k2La8J4jxsF9RiKDjDRHIpKaDNpjEiqiZmwl++U4L0xybAjpC4p fdJmGwEYFK0hzFTSqiVX9zbKSP3ehgfD5KDeFLrNDvdaGNtth+BVqSjTaTdgnMM333r7fLmlkxt6V r5WWG0Wrx8AVVJdHldiCmCNsho8WCl1fvW+HNlsz9eVItWhRq0CN+tKrXHB4QBkZHLB2PAAon96gL HjwzKvE+phXX71DR+IkUcmnqM4/HYcn8lvEo9S+i9L5eXcXeb/80PzyYaO7KUFFpTo68/TOg3J2yW I5313vcg==; Received: from localhost ([::1] helo=xic) by orbyte.nwl.cc with esmtp (Exim 4.94.2) (envelope-from ) id 1nyyWq-00084y-6V for netfilter-devel@vger.kernel.org; Wed, 08 Jun 2022 18:27:32 +0200 From: Phil Sutter To: netfilter-devel@vger.kernel.org Subject: [iptables PATCH 5/9] extensions: libebt_standard.t: Test logical-{in,out} as well Date: Wed, 8 Jun 2022 18:27:08 +0200 Message-Id: <20220608162712.31202-6-phil@nwl.cc> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220608162712.31202-1-phil@nwl.cc> References: <20220608162712.31202-1-phil@nwl.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org These weren't used anywhere before. At least ensure they are only allowed where claimed. Signed-off-by: Phil Sutter --- extensions/libebt_standard.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/libebt_standard.t b/extensions/libebt_standard.t index c6c3172748d7b..97cb3baaf6d21 100644 --- a/extensions/libebt_standard.t +++ b/extensions/libebt_standard.t @@ -12,12 +12,17 @@ :INPUT -i foobar;=;OK -o foobar;=;FAIL +--logical-in br0;=;OK +--logical-out br1;=;FAIL :FORWARD -i foobar;=;OK -o foobar;=;OK +--logical-in br0 --logical-out br1;=;OK :OUTPUT -i foobar;=;FAIL -o foobar;=;OK +--logical-in br0;=;FAIL +--logical-out br1;=;OK :PREROUTING *nat -i foobar;=;OK -- 2.34.1