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 2297EC001DE for ; Wed, 26 Jul 2023 07:30:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232371AbjGZHam (ORCPT ); Wed, 26 Jul 2023 03:30:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232128AbjGZH3r (ORCPT ); Wed, 26 Jul 2023 03:29:47 -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 7C98435B8 for ; Wed, 26 Jul 2023 00:28:20 -0700 (PDT) Received: from [46.222.121.5] (port=4644 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 1qOYwQ-005Bz1-9l; Wed, 26 Jul 2023 09:28:16 +0200 Date: Wed, 26 Jul 2023 09:28:11 +0200 From: Pablo Neira Ayuso To: Jeremy Sowden Cc: Netfilter Devel Subject: Re: ulogd2 patch ping Message-ID: References: <20230725191128.GE84273@celephais.dreamlands> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230725191128.GE84273@celephais.dreamlands> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Hi Jeremy, On Tue, Jul 25, 2023 at 08:11:28PM +0100, Jeremy Sowden wrote: > There is a ulogd2 patch of mine from the end of last that is still under > review in Patchwork: > > https://patchwork.ozlabs.org/project/netfilter-devel/patch/20221208222208.681865-1-jeremy@azazel.net/ > > It would be great to get a yea or nay. What plugins are still IPv4-only in ulogd2? Maybe add _IPV4 | _IPV6 flags to plugins hence it is possible to validate if user's stack is valid, otherwise bail out and provide a reason via logging? Regarding translation from network to host byte, I think it makes more sense to keep IPv4 addres in network byte, so filter and output plugings always expect them such way as you did in your patch? Let me know, thanks!