about summary refs log tree commit diff
path: root/pkgs/tools/networking/phantomsocks
diff options
context:
space:
mode:
authoroluceps <i@oluceps.uk>2023-04-05 16:49:22 +0800
committeroluceps <i@oluceps.uk>2023-04-23 19:17:19 +0800
commita5165e99c8000bb088be07971f3ac4723ab145c4 (patch)
tree11b64a1d2eaad158b1c17569973c6002b53584d8 /pkgs/tools/networking/phantomsocks
parente876881925402d1316db5b52981cdc479068f20f (diff)
phantomsocks: init at unstable-2023-04-05
Diffstat (limited to 'pkgs/tools/networking/phantomsocks')
-rw-r--r--pkgs/tools/networking/phantomsocks/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/networking/phantomsocks/default.nix b/pkgs/tools/networking/phantomsocks/default.nix
new file mode 100644
index 0000000000000..fc8fef3a14b88
--- /dev/null
+++ b/pkgs/tools/networking/phantomsocks/default.nix
@@ -0,0 +1,29 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+  pname = "phantomsocks";
+  version = "unstable-2023-04-05";
+
+  src = fetchFromGitHub {
+    owner = "macronut";
+    repo = pname;
+    rev = "a54ae9f3611e8623f89e69273f2ded7f7c0a7abf";
+    hash = "sha256-ytTLwKlwbaiSWDRZBkOV7Hrl5ywWzLbv/fJ7nVlD++E=";
+  };
+
+  vendorHash = "sha256-c0NQfZuMMWz1ASwFBcpMNjxZwXLo++gMYBiNgvT8ZLQ=";
+
+  meta = with lib;{
+    homepage = "https://github.com/macronut/phantomsocks";
+    description = "A cross-platform proxy client/server for Linux/Windows/macOS";
+    longDescription = ''
+      A cross-platform proxy tool that could be used to modify TCP packets
+      to implement TCB desync to bypass detection and censoring.
+    '';
+    license = licenses.lgpl3Only;
+    maintainers = with maintainers; [ oluceps ];
+  };
+}