From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id nvLCHN/Xs2NLowAAbAwnHQ (envelope-from ) for ; Tue, 03 Jan 2023 08:23:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AG8HG9/Xs2OQJgAA9RJhRA (envelope-from ) for ; Tue, 03 Jan 2023 08:23:11 +0100 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 18F7E19C09 for ; Tue, 3 Jan 2023 08:23:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCbdY-0005pG-Tn; Tue, 03 Jan 2023 02:23:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCbdW-0005nC-Oc for guix-patches@gnu.org; Tue, 03 Jan 2023 02:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pCbdW-0000tI-FO for guix-patches@gnu.org; Tue, 03 Jan 2023 02:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pCbdW-0005lZ-Ae for guix-patches@gnu.org; Tue, 03 Jan 2023 02:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60509] [PATCH 3/3] gnu: Add phantomsocks. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Jan 2023 07:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60509 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60509@debbugs.gnu.org Received: via spool by 60509-submit@debbugs.gnu.org id=B60509.167273055422109 (code B ref 60509); Tue, 03 Jan 2023 07:23:02 +0000 Received: (at 60509) by debbugs.gnu.org; 3 Jan 2023 07:22:34 +0000 Received: from localhost ([127.0.0.1]:44589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCbd4-0005kX-EB for submit@debbugs.gnu.org; Tue, 03 Jan 2023 02:22:34 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:45946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCbd2-0005kI-7O for 60509@debbugs.gnu.org; Tue, 03 Jan 2023 02:22:32 -0500 Date: Tue, 03 Jan 2023 15:22:22 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1672730546; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6ZO4sKeBkCNqmOjE9TDz+HMb/LZBuL7mWge8HNlVXNE=; b=ZdSaX8Ofhf0l4Zlt5UtGAbrAx8w9INmtxUAbxqE/S9nGajqqOyyKm7Mqq+iWZMTy+rdsX9 XQODSCefKNq1veSnIDhvxcEHoFw/7FUNSb/vBw7gAL4RvTcEzPLrKWs/ukWcZNgb+OKG1d OcpvtyKjGlkyi7BMQV33EBlo5N01ljIDfF3ZHDUD4CLcUnUJiLciVLxAq4Zpr0Kj4imccj oWwHvSH4SVAp60BfPhiJTGiPVlB2tuPYLwTx6tAd61XfbqMAz2tnFC4IQgZBPMHTp3gT9T y7pELIwMPKPqW1l2uRf+H71YvIxRdibhuZSTIDnrlvQ8J1QZSSROamHS+yOzfA== Message-ID: <87r0wcm6a9.wl-hako@ultrarare.space> In-Reply-To: <87sfgsm6as.wl-hako@ultrarare.space> References: <87v8lom6dm.wl-hako@ultrarare.space> <87tu18m6bf.wl-hako@ultrarare.space> <87sfgsm6as.wl-hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672730591; a=rsa-sha256; cv=none; b=Dqv2BtEgGwUu/Hv9k6kz4eh1PAPY5SkQpOmYI/0EnFwF0D2623pbR5uifk7ZZn4khzVTI3 9UUDO3LuUK7CmeMn2mL9GbwhVQ0+dVgzMqv9TaZK+9cR0iTiqZLvLbpsQOWibBr69c+rpA LlrO1xhXkGI4oQ644L5++DQDtVbiJtQLc7HmVr1TIAfFrJE4pPIiycDENCLObR+gZjcanT lmGrBx4Lsr6avYXNPynyXFOt5op7k3LDwnDB//kJV7OELfF2W2MAxjx7Q9Bagkobu40XD2 qVnd5YKWhOTZ9JRK3rgDFuL9+fTvuZ8ZFvzYitHBhb+sDReOSwlA4qOXKg4E9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=ZdSaX8Of; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672730591; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=6ZO4sKeBkCNqmOjE9TDz+HMb/LZBuL7mWge8HNlVXNE=; b=tsj7GPY0lvzvrglJ+a0sVNlv+DU7SH1VfjlEIaOFp4aZ8zicSgqX4FdLnXyqiXeHiFP7AB HoSLU9SPk8gl1QdLSChNUTILSD5S9CKv2TNsbAykvgh87040s/HO8JmGr7ypks3yLdsOcy XP/OfvbvdaaiNQS1+raBlK2YsJ3ocnWfuTPMt7DGeeikIhlk/2A83kbiGXdtWu1YFeUbr/ +3eAbawSvj6JrEWt+f5SKm0gfp4yGieMZ/CWaSZD68UIXZMnT+xDWWI5/1Hv+U5k4DO0L2 9IJh2ShvQ91JFpq5fm1PvKQIcHaFRowl9xRXOjchF6+U1QHsLUDrb/CiWGU+qg== X-Spam-Score: -4.35 X-Migadu-Queue-Id: 18F7E19C09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=ZdSaX8Of; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.35 X-TUID: Ym2Bvy94BC1F * gnu/packages/networking.scm (phantomsocks): New variable. --- gnu/packages/networking.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index a7b51ed1ff..b36bd1b9a7 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -4478,6 +4478,45 @@ (define-public netdiscover (home-page "https://github.com/netdiscover-scanner/netdiscover") (license license:gpl3+))) +(define-public phantomsocks + (package + (name "phantomsocks") + (version "0.0.0-20221222155609-14291e2c889e") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/macronut/phantomsocks") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13lllmh46xwns5ksqqdkl2p7vvnbzkzb6va005nk37bx6c4x2ixp")))) + (build-system go-build-system) + (arguments + (list #:install-source? #f + #:import-path "github.com/macronut/phantomsocks" + #:build-flags #~'("-tags" #$(if (target-linux?) + "rawsocket" + "pcap")))) + (propagated-inputs + (list go-github-com-google-gopacket + go-github-com-macronut-go-tproxy)) + (inputs + (if (target-linux?) + '() + (list libpcap))) + (home-page "https://github.com/macronut/phantomsocks") + (synopsis "Internet censorship circumvention tool") + (description + "Phantomsocks is an Internet censorship circumvention tool based on the +desync technique, which was introduced in the 2017 paper +@url{https://doi.org/10.1145/3131365.3131374, @cite{Your State is Not Mine: A +Closer Look at Evading Stateful Internet Censorship}}. + +Further information on the usage could be found on the Wikibooks page +@url{https://zh.wikibooks.org/wiki/Phantomsocks, @cite{Phantomsocks}}.") + (license license:lgpl3))) + (define-public putty (package (name "putty") -- 2.38.1