From patchwork Sat Mar 19 00:47:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: fesoj000 X-Patchwork-Id: 37934 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 00BFD27BBEB; Sat, 19 Mar 2022 00:48:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A1BD927BBE9 for ; Sat, 19 Mar 2022 00:48:14 +0000 (GMT) Received: from localhost ([::1]:57520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVNGP-00077W-KC for patchwork@mira.cbaines.net; Fri, 18 Mar 2022 20:48:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVNGF-00073i-WB for guix-patches@gnu.org; Fri, 18 Mar 2022 20:48:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVNGF-0000jw-N3 for guix-patches@gnu.org; Fri, 18 Mar 2022 20:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVNGF-00038T-Ki for guix-patches@gnu.org; Fri, 18 Mar 2022 20:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54457] [PATCH 5/9] gnu: Add conntrack-tools References: <871b5ef4-87f1-bd27-0d24-0725064b2894@gmail.com> In-Reply-To: <871b5ef4-87f1-bd27-0d24-0725064b2894@gmail.com> Resent-From: fesoj000 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Mar 2022 00:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54457 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54457@debbugs.gnu.org Received: via spool by 54457-submit@debbugs.gnu.org id=B54457.164765086911905 (code B ref 54457); Sat, 19 Mar 2022 00:48:03 +0000 Received: (at 54457) by debbugs.gnu.org; 19 Mar 2022 00:47:49 +0000 Received: from localhost ([127.0.0.1]:58721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVNG0-00035o-6W for submit@debbugs.gnu.org; Fri, 18 Mar 2022 20:47:48 -0400 Received: from mail-ed1-f54.google.com ([209.85.208.54]:45041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVNFx-00034b-NH for 54457@debbugs.gnu.org; Fri, 18 Mar 2022 20:47:46 -0400 Received: by mail-ed1-f54.google.com with SMTP id w25so11995902edi.11 for <54457@debbugs.gnu.org>; Fri, 18 Mar 2022 17:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:from:subject :content-language:to:content-transfer-encoding; bh=N7a+7zlq+ZeT22tND4Q9j9eB1+yeu4DF8SVgrBY9Otw=; b=qGR8Lb0zl+Ra3iiHMNYxNt5WWKgT6DksTuM48FRUCBaiG8JKO2QKGcmafTPVBSUfoQ If7XuzO1NRlkkdvuJDlWdBBSSsXGPSJfF8sXg+SzvO2ubFgvKyufuDv3aIy6T2gQe4yc 6/FXRMuglSyCkNIdsxZ8xFxup7j9V7IRHSVCTgj7f+/QDHh7GU6AUqIiUNDKzLkN3DAf LD17srFKoVWNYAIv3j8HIRc4PzW6151wWs+iW8JzN1xnH0vfzAdIcTt0nLiITf/7xBzb z7c8H5sk/ovq/ROhvvIUT6aHXd+CgxKJrONBHjQU5FdZQsKCHpn+gznVf31YqHKtYH6c FmLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:content-language:to:content-transfer-encoding; bh=N7a+7zlq+ZeT22tND4Q9j9eB1+yeu4DF8SVgrBY9Otw=; b=02z6QtMENWhkNGQdtVV7nWr29Nwz8O2sG5rIvTX8i1HJ1JOKzMF27dokThilpz8ndl dIngrztzRPux2G0D+mrZ/8xJtq7ICaL1ISZ9ZJrq46dC1YQHSPY6CRR0e3Homrn4NLlg F42VHtQy3J6QRuVB09CpkSZypkpfmMZ8F4L03rmo3bKCDiOhZyyM4UQUN/HYLvF55+tS w9VEM4SuXC1X7Cg9eB8Qs5BwSC2UiwABTHDH9S3TQo9Ayn8ykJEqwVFGjRosuBEpsIn1 tCrQERfVv6SNHyx0yPltqfyJAMY/3JHq5T9DAFirymPBg2i5IRGXrLiaJRuMdb3UM/3U NMwg== X-Gm-Message-State: AOAM533ggNnnZbVH1Y0AdE5CJyqOs65fAgY5Has9Ep5F5kWKYjuyPfwS dHlOwbKugRX5A7ae7GewsYIottjSOOE= X-Google-Smtp-Source: ABdhPJwLWaIpG8wzCNh/8cV1+6XtmMscWPehOPf9W8gLHBAwN3p/NW5rZQp6LVF/GJZzoOEx5s0vag== X-Received: by 2002:a05:6402:50cb:b0:418:d750:9cba with SMTP id h11-20020a05640250cb00b00418d7509cbamr12501602edb.16.1647650860184; Fri, 18 Mar 2022 17:47:40 -0700 (PDT) Received: from ?IPV6:2003:ee:af2f:e00:c2f9:c2bb:bf95:1fc5? (p200300eeaf2f0e00c2f9c2bbbf951fc5.dip0.t-ipconnect.de. [2003:ee:af2f:e00:c2f9:c2bb:bf95:1fc5]) by smtp.gmail.com with ESMTPSA id hs12-20020a1709073e8c00b006dfd7dee980sm160157ejc.30.2022.03.18.17.47.39 for <54457@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Mar 2022 17:47:39 -0700 (PDT) Message-ID: <7d4ea9a8-aa41-8f2f-35fd-da9b8e95b1ce@gmail.com> Date: Sat, 19 Mar 2022 01:47:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 From: fesoj000 Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (conntrack-tools): New variable. --- gnu/packages/linux.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 900f76063c..b44abb5908 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -128,6 +128,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages networking) #:use-module (gnu packages ninja) #:use-module (gnu packages nss) + #:use-module (gnu packages onc-rpc) #:use-module (gnu packages perl) #:use-module (gnu packages pciutils) #:use-module (gnu packages pkg-config) @@ -7346,6 +7347,38 @@ (define-public libnetfilter-queue (home-page "https://netfilter.org/projects/libnetfilter_queue/index.html") (license license:gpl1))) +(define-public conntrack-tools + (package + (name "conntrack-tools") + (version "1.4.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://netfilter.org/projects/" + "conntrack-tools/files/" + "conntrack-tools-" + version ".tar.bz2")) + (sha256 + (base32 + "0psx41bclqrh4514yzq03rvs3cq3scfpd1v4kkyxnic2hk65j22r")))) + (build-system gnu-build-system) + (native-inputs + (list bison flex libtirpc libnetfilter-conntrack libnetfilter-cttimeout + libnetfilter-cthelper libnetfilter-queue libnfnetlink libmnl + pkg-config)) + (synopsis "Set of tools targeting the conntrack kernel subsystem.") + (description "The tool conntrack provides a full featured interface that is +intended to replace the old /proc/net/ip_conntrack interface.Using conntrack, +you can view and manage the in-kernel connection tracking state table from +userspace. On the other hand, conntrackd covers the specific aspects of stateful +firewalls to enable highly available scenarios, and can be used as statistics +collector as well. +Since 1.2.0, the conntrack-tools includes the nfct command line utility. This +utility only supports the nfnetlink_cttimeout by now. In the long run, we expect +that it will replace conntrack by providing a syntax similar to nftables.") + (home-page "https://netfilter.org/projects/conntrack-tools/index.html") + (license license:gpl1))) + (define-public proot (package (name "proot")