GNU bug report logs - #60509
[PATCH 0/3] gnu: Add phantomsocks.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Tue, 3 Jan 2023 07:21:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60509 in the body.
You can then email your comments to 60509 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#60509; Package guix-patches. (Tue, 03 Jan 2023 07:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hilton Chain <hako <at> ultrarare.space>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 03 Jan 2023 07:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/3] gnu: Add phantomsocks.
Date: Tue, 03 Jan 2023 15:20:21 +0800
*** BLURB HERE ***

Hilton Chain (3):
  gnu: Add go-github-com-google-gopacket.
  gnu: Add go-github-com-macronut-go-tproxy.
  gnu: Add phantomsocks.

 gnu/packages/golang.scm     | 45 +++++++++++++++++++++++++++++++++++++
 gnu/packages/networking.scm | 39 ++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)


base-commit: 3354ca5970f150d99871f3a391a58d5f2cca8018
--
2.38.1




Information forwarded to guix-patches <at> gnu.org:
bug#60509; Package guix-patches. (Tue, 03 Jan 2023 07:22:02 GMT) Full text and rfc822 format available.

Message #8 received at 60509 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: 60509 <at> debbugs.gnu.org
Subject: [PATCH 1/3] gnu: Add go-github-com-google-gopacket.
Date: Tue, 03 Jan 2023 15:21:40 +0800
* gnu/packages/golang.scm (go-github-com-google-gopacket): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 70ddef52f1..ed482502a8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7043,6 +7043,28 @@ (define-public go-github-com-google-uuid
 4122 and DCE 1.1: Authentication and Security Services.")
     (license license:bsd-3)))
 
+(define-public go-github-com-google-gopacket
+  (package
+    (name "go-github-com-google-gopacket")
+    (version "1.1.19")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/google/gopacket")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "048qwm2n0wrpql4qqgd7jyynn3gk069yvqbxnshlayzmbhf87ls4"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/google/gopacket"))
+    (home-page "https://github.com/google/gopacket")
+    (synopsis "Packet processing capabilities library")
+    (description
+     "This package provides packet processing capabilities for Go.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-google-goterm
   (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
         (revision "1"))
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#60509; Package guix-patches. (Tue, 03 Jan 2023 07:23:01 GMT) Full text and rfc822 format available.

Message #11 received at 60509 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: 60509 <at> debbugs.gnu.org
Subject: [PATCH 2/3] gnu: Add go-github-com-macronut-go-tproxy.
Date: Tue, 03 Jan 2023 15:22:03 +0800
* gnu/packages/golang.scm (go-github-com-macronut-go-tproxy): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ed482502a8..4c79f3dec2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7357,6 +7357,29 @@ (define-public go-google-golang-org-protobuf
 improved and cleaner API.")
     (license license:bsd-3)))
 
+(define-public go-github-com-macronut-go-tproxy
+  (package
+    (name "go-github-com-macronut-go-tproxy")
+    (version "0.0.0-20190726054950-ef7efd7f24ed")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/FutureProtocolLab/go-tproxy")
+                    (commit (go-version->git-ref version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0jibsg0xhsn0h1jq4g9qd4nr58w43y8majlwfri9ffk2cbfrwqdr"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/macronut/go-tproxy"))
+    (home-page "https://github.com/FutureProtocolLab/go-tproxy")
+    (synopsis "Linux Transparent Proxy library")
+    (description
+     "Golang TProxy provides an easy to use wrapper for the Linux Transparent
+Proxy functionality.")
+    (license license:expat)))
+
 (define-public go-github-com-mattn-go-zglob
   (package
     (name "go-github-com-mattn-go-zglob")
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#60509; Package guix-patches. (Tue, 03 Jan 2023 07:23:02 GMT) Full text and rfc822 format available.

Message #14 received at 60509 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: 60509 <at> debbugs.gnu.org
Subject: [PATCH 3/3] gnu: Add phantomsocks.
Date: Tue, 03 Jan 2023 15:22:22 +0800
* 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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 30 Jan 2023 22:45:02 GMT) Full text and rfc822 format available.

Notification sent to Hilton Chain <hako <at> ultrarare.space>:
bug acknowledged by developer. (Mon, 30 Jan 2023 22:45:02 GMT) Full text and rfc822 format available.

Message #19 received at 60509-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Hilton Chain <hako <at> ultrarare.space>
Cc: 60509-done <at> debbugs.gnu.org
Subject: Re: bug#60509: [PATCH 0/3] gnu: Add phantomsocks.
Date: Mon, 30 Jan 2023 23:44:35 +0100
Hilton Chain <hako <at> ultrarare.space> skribis:

>   gnu: Add go-github-com-google-gopacket.
>   gnu: Add go-github-com-macronut-go-tproxy.
>   gnu: Add phantomsocks.

Hi!  Applied the whole series.  I change the license of ‘phantomsocks’
to ‘lgpl3+’ because I couldn’t see anything in the source stating it’s
version 3 only.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Feb 2023 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.