From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 60509@debbugs.gnu.org
Subject: [bug#60509] [PATCH 3/3] gnu: Add phantomsocks.
Date: Tue, 03 Jan 2023 15:22:22 +0800 [thread overview]
Message-ID: <87r0wcm6a9.wl-hako@ultrarare.space> (raw)
In-Reply-To: <87sfgsm6as.wl-hako@ultrarare.space>
* 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
next prev parent reply other threads:[~2023-01-03 7:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-03 7:20 [bug#60509] [PATCH 0/3] gnu: Add phantomsocks Hilton Chain via Guix-patches via
[not found] ` <handler.60509.B.167273044221844.ack@debbugs.gnu.org>
2023-01-03 7:21 ` [bug#60509] [PATCH 1/3] gnu: Add go-github-com-google-gopacket Hilton Chain via Guix-patches via
2023-01-03 7:22 ` [bug#60509] [PATCH 2/3] gnu: Add go-github-com-macronut-go-tproxy Hilton Chain via Guix-patches via
2023-01-03 7:22 ` Hilton Chain via Guix-patches via [this message]
2023-01-30 22:44 ` bug#60509: [PATCH 0/3] gnu: Add phantomsocks Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0wcm6a9.wl-hako@ultrarare.space \
--to=guix-patches@gnu.org \
--cc=60509@debbugs.gnu.org \
--cc=hako@ultrarare.space \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).