From mboxrd@z Thu Jan 1 00:00:00 1970 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 21648C83F1C for ; Wed, 30 Aug 2023 18:43:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238672AbjH3Siz (ORCPT ); Wed, 30 Aug 2023 14:38:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245647AbjH3PrO (ORCPT ); Wed, 30 Aug 2023 11:47:14 -0400 Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [IPv6:2001:780:45:1d:225:90ff:fe52:c662]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 559A8122 for ; Wed, 30 Aug 2023 08:47:12 -0700 (PDT) Received: from [78.30.34.192] (port=40836 helo=gnumonks.org) by ganesha.gnumonks.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbNPQ-002QQq-1N; Wed, 30 Aug 2023 17:47:10 +0200 Date: Wed, 30 Aug 2023 17:47:07 +0200 From: Pablo Neira Ayuso To: Phil Sutter Cc: netfilter-devel@vger.kernel.org, linux-audit@redhat.com, Richard Guy Briggs Subject: Re: [nf PATCH 2/2] netfilter: nf_tables: Audit log rule reset Message-ID: References: <20230829175158.20202-1-phil@nwl.cc> <20230829175158.20202-2-phil@nwl.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230829175158.20202-2-phil@nwl.cc> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Tue, Aug 29, 2023 at 07:51:58PM +0200, Phil Sutter wrote: > Resetting rules' stateful data happens outside of the transaction logic, > so 'get' and 'dump' handlers have to emit audit log entries themselves. Also applied to nf, thanks