Merge pull request #147047 from fabaff/slowlorust

slowlorust: init at 0.1.1
This commit is contained in:
Fabian Affolter 2021-11-23 09:16:48 +01:00 committed by GitHub
commit 5115825c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "slowlorust";
version = "0.1.1";
src = fetchFromGitHub {
owner = "MJVL";
repo = pname;
rev = version;
sha256 = "c4NWkQ/QvlUo1YoV2s7rWB6wQskAP5Qp1WVM23wvV3c=";
};
cargoSha256 = "Wu1mm+yJw2SddddxC5NfnMWLr+dplnRxH3AJ1/mTAKM=";
meta = with lib; {
description = "Lightweight slowloris (HTTP DoS) tool";
homepage = "https://github.com/MJVL/slowlorust";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -9502,6 +9502,8 @@ with pkgs;
slirp4netns = callPackage ../tools/networking/slirp4netns { }; slirp4netns = callPackage ../tools/networking/slirp4netns { };
slowlorust = callPackage ../tools/networking/slowlorust { };
slsnif = callPackage ../tools/misc/slsnif { }; slsnif = callPackage ../tools/misc/slsnif { };
slstatus = callPackage ../applications/misc/slstatus { slstatus = callPackage ../applications/misc/slstatus {