about summary refs log tree commit diff
path: root/pkgs/applications/networking/alpnpass
diff options
context:
space:
mode:
authorArnout Engelen <arnout@bzzt.net>2021-10-13 10:04:33 +0200
committerArnout Engelen <arnout@bzzt.net>2022-04-21 16:17:43 +0200
commite0968c03d709189045b94cd95572a2f7a80e0625 (patch)
tree00c372088831a25837ae114bbc9339768c160b6f /pkgs/applications/networking/alpnpass
parent1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887 (diff)
alpnpass: init at 0.1
Diffstat (limited to 'pkgs/applications/networking/alpnpass')
-rw-r--r--pkgs/applications/networking/alpnpass/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/networking/alpnpass/default.nix b/pkgs/applications/networking/alpnpass/default.nix
new file mode 100644
index 0000000000000..5cc0ac1cf05cf
--- /dev/null
+++ b/pkgs/applications/networking/alpnpass/default.nix
@@ -0,0 +1,34 @@
+{ buildGoModule
+, fetchFromGitHub
+, lib
+}:
+
+buildGoModule rec {
+  pname = "alpnpass";
+  version = "0.1";
+
+  src = fetchFromGitHub {
+    owner = "VerSprite";
+    repo = "alpnpass";
+    rev = version;
+    hash = "sha256-hNZqGTV17rFSKLhZzNqH2E4SSb6Jhk7YQ4TN0HnE+9g=";
+  };
+
+  vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
+
+  meta = with lib; {
+    description = "Inspect the plaintext payload inside of proxied TLS connections";
+    longDescription = ''
+      This tool will listen on a given port, strip SSL encryption,
+      forward traffic through a plain TCP proxy,
+      then encrypt the returning traffic again
+      and send it to the target of your choice.
+
+      Unlike most SSL stripping solutions this tool will negotiate ALPN and
+      preserve the negotiated protocol all the way to the target.
+    '';
+    homepage = "https://github.com/VerSprite/alpnpass";
+    license = licenses.unlicense;
+    maintainers = [ maintainers.raboof ];
+  };
+}