Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2367331rwb; Thu, 29 Sep 2022 09:17:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5OR7ejTcpgV4ZUsaBxLKQL0Oozyf+ByuJiQS1f9VF5xm2YZo8MQCnLIRMsL2Wz7n3sWYp+ X-Received: by 2002:a17:907:2cc8:b0:77d:6f62:7661 with SMTP id hg8-20020a1709072cc800b0077d6f627661mr3405304ejc.233.1664468258978; Thu, 29 Sep 2022 09:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664468258; cv=none; d=google.com; s=arc-20160816; b=pLIXGKuhp8ZcO+/w72ZAjYiqE5CF9jO+Dg2aRE8XreppqEfajVubPlLsEblJ+mt4Ui OuwcxdmXLpLOyvTvQgRtwYURSD6o2YSzau7D+k3wzYUOltiyUASGtYOONPBsDBT5p+1y rurTNC3jh7/fXNgVwNF/63SQZ1+xoFXwUB4tdFiizutvYHShdQ0tdcf2/Bz9EuZpVsUw iNMEXS48Jii/UqI7Mq3q4pqb/qxObnmiU3oNUbwtCsZC+5NL9EnpajCuxIL+RCSjGATN /pvcUYcgoivnJocT7p7ZopP1l9S3n7mkxi4jjtz+74nRHEhAz0TwbhZL3K8wp/5nc8My wTHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=c5YoEWNjyvIP6S2IX0gRXRFnp5Vc2gN0mY0swCH70bE=; b=AiAfASeXs0TN7UFc/8SCift/ADPsRiPMXjhkslMpF8/kqh9HhHUtFOUyW2yiI/68yr YDxa8lXvpwfgG+9HX5BLqnNN64rM1EPaQoKVZjScOeiXJwmKAYusYaDHumInPVZzS/yy dtqm1nj5OWaXE+QkIU0rp1F1UgBD5LOOt226yY//5rdVeWzfocG9uu6CIL8p1JxM2Agf 7JByZf+dkTgw/6MeZRy4Rjc0uBTgbIoIu+COY/5Z8/oMFlpp4zqpC7/xBm7l9AYwVfhc OlcBnJy9bskazd63mbVfursxQoTxW3OGrdyYSejbH4llX5EwOmI3BmBXu1M2VQyy7zIf QlTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WNh5qrP2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m1-20020a056402430100b00454deaddaa7si9799595edc.87.2022.09.29.09.17.12; Thu, 29 Sep 2022 09:17:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WNh5qrP2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235890AbiI2QLz (ORCPT + 99 others); Thu, 29 Sep 2022 12:11:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235705AbiI2QLt (ORCPT ); Thu, 29 Sep 2022 12:11:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 618111D35B3; Thu, 29 Sep 2022 09:11:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E71D6B8250D; Thu, 29 Sep 2022 16:11:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0464AC433C1; Thu, 29 Sep 2022 16:11:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664467905; bh=3UNXmMc0XLFmLrPUUGDB5+gyNKMjhdigqOhQGHRSdrA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WNh5qrP20dU0231I3OsV82y6I7NXzOH1OEvW/U+XYIvzP9zf4bw9oKl+OUo6uu+fw FEdMtq7advOwZCOCnuIAxfEsjRcIJB62ZnVUVy0dnTTUdFxBYKxByOiGEZ6F8NxUBZ 1gX6UkmBf/lwa9i8heosMZWm9LEmelnaiZ5KuJIG0P3eL7/tfQxpTZ32R60iec3q3g HFlmvjS60DbN75pqxIRqlL54ivAOh4f1InBwTyEQiYjTFN2DT18W58v1pWsyVuin+j 9abrb1S1v2Pf8XlhIo0BVZPb1ypyfglLA12eHr04Uijk7zkzuUkuYb+f/b97lfuymk 6eqkF7ZPUwOyw== Date: Thu, 29 Sep 2022 09:11:43 -0700 From: Jakub Kicinski To: Hans Schultz Cc: davem@davemloft.net, netdev@vger.kernel.org, Florian Fainelli , Andrew Lunn , Vivien Didelot , Vladimir Oltean , Eric Dumazet , Paolo Abeni , Kurt Kanzenbach , Hauke Mehrtens , Woojung Huh , UNGLinuxDriver@microchip.com, Sean Wang , Landen Chao , DENG Qingfang , Matthias Brugger , Claudiu Manoil , Alexandre Belloni , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Shuah Khan , Russell King , Christian Marangi , Daniel Borkmann , Yuwei Wang , Petr Machata , Ido Schimmel , Florent Fourcot , Hans Schultz , Joachim Wiberg , Amit Cohen , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, bridge@lists.linux-foundation.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v6 net-next 9/9] selftests: forwarding: add test of MAC-Auth Bypass to locked port tests Message-ID: <20220929091143.468546f2@kernel.org> In-Reply-To: <20220928174904.117131-1-netdev@kapio-technology.com> References: <20220928174904.117131-1-netdev@kapio-technology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 28 Sep 2022 19:49:04 +0200 Hans Schultz wrote: > From: "Hans J. Schultz" > > Verify that the MAC-Auth mechanism works by adding a FDB entry with the > locked flag set, denying access until the FDB entry is replaced with a > FDB entry without the locked flag set. > > Add test of blackhole fdb entries, verifying that there is no forwarding > to a blackhole entry from any port, and that the blackhole entry can be > replaced. > > Also add a test that verifies that sticky FDB entries cannot roam (this > is not needed for now, but should in general be present anyhow for future > applications). If you were trying to repost just the broken patches - that's not gonna work :(