summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-04-22 01:50:41 +0200
committerGitHub <noreply@github.com>2022-04-22 01:50:41 +0200
commitf53f90b66921488fb3681ac78528ce407b775590 (patch)
treef32c3654d31c8a27dcbfdc539ab9d6b42e3452ee /pkgs
parent90147b38081852ae46c79461edcebb1bbd372702 (diff)
parente0968c03d709189045b94cd95572a2f7a80e0625 (diff)
downloadnixpkgs-f53f90b66921488fb3681ac78528ce407b775590.tar
nixpkgs-f53f90b66921488fb3681ac78528ce407b775590.tar.gz
nixpkgs-f53f90b66921488fb3681ac78528ce407b775590.tar.bz2
nixpkgs-f53f90b66921488fb3681ac78528ce407b775590.tar.lz
nixpkgs-f53f90b66921488fb3681ac78528ce407b775590.tar.xz
nixpkgs-f53f90b66921488fb3681ac78528ce407b775590.tar.zst
nixpkgs-f53f90b66921488fb3681ac78528ce407b775590.zip
Merge pull request #141468 from raboof/alpnpass-init-at-2021-08-09
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/alpnpass/default.nix34
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/networking/alpnpass/default.nix b/pkgs/applications/networking/alpnpass/default.nix
new file mode 100644
index 00000000000..5cc0ac1cf05
--- /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 ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 37882cc320e..61b19ec6ffa 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -33504,6 +33504,8 @@ with pkgs;
 
   acpilight = callPackage ../misc/acpilight { };
 
+  alpnpass = callPackage ../applications/networking/alpnpass { };
+
   android-file-transfer = libsForQt5.callPackage ../tools/filesystems/android-file-transfer { };
 
   antimicrox = libsForQt5.callPackage ../tools/misc/antimicrox { };