From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kKCwIwX6LmHPFgEAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 05:56:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EFE5HwX6LmEKOQAAB5/wlQ (envelope-from ) for ; Wed, 01 Sep 2021 03:56:53 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 386712E6B3 for ; Wed, 1 Sep 2021 05:56:53 +0200 (CEST) Received: from localhost ([::1]:48934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLHMq-0001Sn-4Y for larch@yhetil.org; Tue, 31 Aug 2021 23:56:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLHM8-0000Ay-LI for guix-patches@gnu.org; Tue, 31 Aug 2021 23:56:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52555) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLHM8-0006nF-5T for guix-patches@gnu.org; Tue, 31 Aug 2021 23:56:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLHM8-00062n-53 for guix-patches@gnu.org; Tue, 31 Aug 2021 23:56:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50310] [PATCH 22/22] gnu: Add sniffglue. Resent-From: Milkey Mouse Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 03:56:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50310@debbugs.gnu.org Received: via spool by 50310-submit@debbugs.gnu.org id=B50310.163046855923084 (code B ref 50310); Wed, 01 Sep 2021 03:56:08 +0000 Received: (at 50310) by debbugs.gnu.org; 1 Sep 2021 03:55:59 +0000 Received: from localhost ([127.0.0.1]:35846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLHLy-00060F-Lf for submit@debbugs.gnu.org; Tue, 31 Aug 2021 23:55:58 -0400 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLHLt-0005yt-AU for 50310@debbugs.gnu.org; Tue, 31 Aug 2021 23:55:53 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1630468488; cv=none; d=zohomail.com; s=zohoarc; b=SJV7yc+Zg5AwR3XN1QJYiUS88lPosDGfUMhhlpwFzSQWTPVkNzJ5oXM33QEtlZtTbOl6YNQImyA4wBrNKTcvFk9Ag6eCTE5I3ZDzHgeug6CZQtRvk7BAkgg4Egv8jXJh8cXVNAdtwfT5Fo1iUSdGqBdxoV4oZ+W5fwctOEdg+oA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1630468488; h=Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=KYRMw0zPPOOtFCkvDs7Pg4+ZuQc7g+Dq0Ury/KcsJF0=; b=FyY20LHFUgCdr8vqBehzpbjJS4ZKg4pJ4m+D86gBa+JSltPNE5C34kiRhbl8hjtnzfjhLm3QVn5pGTe9lmACpRyJAvIFjv5H9iQaEctJgM4fTWRE2E/lki+Xo36zbpYU3FRkG9xqr7dU/KuMKajcUFWJbawSMLVTXz/eHQ/b0Ew= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=meme.institute; spf=pass smtp.mailfrom=milkeymouse@meme.institute; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1630468488; s=memelord; d=meme.institute; i=milkeymouse@meme.institute; h=From:To:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=KYRMw0zPPOOtFCkvDs7Pg4+ZuQc7g+Dq0Ury/KcsJF0=; b=K84tM2whock8JCKCVG9OsWL75uDVWSQjFBmHA2zdGrX+cDU9QtQcAIrO2oATc9Wr xgvERRBRUA2iwlwhLgn0ozAL2lL2qXuXUJFIR3iUjNrKiMhKfqH7TQydXXHaM9XQwUv DPg5s3ewAIIb/uDKjvEKLKQ5pvZ8nYHWbwrO21u8= Received: from jupiter.local (50.35.186.171 [50.35.186.171]) by mx.zohomail.com with SMTPS id 1630468485291734.2008018529012; Tue, 31 Aug 2021 20:54:45 -0700 (PDT) From: Milkey Mouse Date: Tue, 31 Aug 2021 20:54:21 -0700 Message-Id: <20210901035421.964348-22-milkeymouse@meme.institute> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210901035421.964348-1-milkeymouse@meme.institute> References: <20210901035027.962335-1-milkeymouse@meme.institute> <20210901035421.964348-1-milkeymouse@meme.institute> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630468613; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KYRMw0zPPOOtFCkvDs7Pg4+ZuQc7g+Dq0Ury/KcsJF0=; b=tAyAY5elfCVajibKolWczY67bYjpZmsmEgjt+es7+XQ3+C6ldHSdCVhIVSYw7/yucS6kny ikPvVyUnCE6WrLc+fxkBTjCgCOqCWmGy0EqWI1hGWYYT3PITJTfKks73wImDIggYq3ETqf 588ZKa2cD7l1uROZPJoEmXIpH0gnunf00UQR8dulcpTPMVW3b36uxScdO65CYfztELn8Gh qPqwMS+Ck6PRGtWWR9bvWcTCrFRK1nCmcqYtwZAe0Z94spRbd2PJJ6rUvNX55UVqYccfrw 9bWx5GKB+Zz1UMAMYYPH9NFAy7AnikY3dI290XZOzUQBDfFKj7DwmM78R1SJmg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1630468613; a=rsa-sha256; cv=fail; b=e2znt7Iv1g1gPl7swSEDbXsLMN08UV6w6u+ZsLCFVjsn4uQ50GJDmBZGA8CWhoNY12hKTW dcoEIFSTq/kDq42X0cmUqtW/RlS/TAmO8i88uuA6/mtlvriiHd64OMhdOqV0mrKbQhxT// /mIC7IVGzDpfgm0KoVHSb1U2aBUXyH61pvdWvckuL/3AiF1nBGHA28bJL0mEFB2zvrER0Y ghWcmgVIm98Z/S4dz0Z8dZv7gbpOlavxRTNjKrYPm8DoPVyuj6LrkcSYKQj7cKuN4qSzkO PaNp/s/0IpgTDtMaey2Arr1U9O4Vh6gnxTEZzxZt7loX16KaRjcw/JDv/31TKQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=meme.institute header.s=memelord header.b=K84tM2wh; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=meme.institute header.s=memelord header.b=K84tM2wh; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 386712E6B3 X-Spam-Score: 5.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: mD6YG7ct3UMf * gnu/packages/rust-apps.scm (sniffglue): New variable. --- gnu/packages/rust-apps.scm | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 24e002493a..e81c7d8748 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -34,6 +34,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) + #:use-module (gnu packages admin) #:use-module (gnu packages compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) @@ -42,6 +43,7 @@ #:use-module (gnu packages fontutils) #:use-module (gnu packages gtk) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages linux) #:use-module (gnu packages ssh) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) @@ -645,6 +647,60 @@ gitignore rules.") (base32 "13jzbmjz1bmmfr0i80hw6ar484mgabx3hbpb2ynhk0ddqi0yr58m")))))) +(define-public sniffglue + (package + (name "sniffglue") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sniffglue" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q1kwkw1hq38qgvc6j4b5l9m85a6lpn1jls4bm27c5kha9cg8l24")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-atty" ,rust-atty-0.2) + ("rust-base64" ,rust-base64-0.13) + ("rust-dhcp4r" ,rust-dhcp4r-0.2) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-dns-parser" ,rust-dns-parser-0.8) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.20) + ("rust-nom" ,rust-nom-6) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-pcap-sys" ,rust-pcap-sys-0.1) + ("rust-pktparse" ,rust-pktparse-0.5) + ("rust-reduce" ,rust-reduce-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-syscallz" ,rust-syscallz-0.15) + ("rust-tls-parser" ,rust-tls-parser-0.10) + ("rust-toml" ,rust-toml-0.5) + ("rust-users" ,rust-users-0.11)) + #:cargo-development-inputs + (("rust-boxxy" ,rust-boxxy-0.11)))) + (inputs + `(("libpcap" ,libpcap) + ("libseccomp" ,libseccomp))) + (home-page "https://github.com/kpcyrd/sniffglue") + (synopsis "Secure multithreaded packet sniffer") + (description + "This package provides a network sniffer written in Rust. Packets +are parsed concurrently using a thread pool to utilize all cpu cores. A goal +of the project is to be runnable on untrusted networks without crashing.") + (license license:gpl3))) + (define-public tectonic (package (name "tectonic") -- 2.33.0