diff options
author | lewo <lewo@abesis.fr> | 2018-07-10 23:32:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-10 23:32:07 +0200 |
commit | 3c9f3a867efe49ddb9d3254a1efada7c0a35a185 (patch) | |
tree | 157ab495ae34b3c4bded0d63691b47a16138112b /pkgs | |
parent | 2f71c99fd40da2e602b99d622a6ed33198c145aa (diff) | |
parent | 2a0f62afa3f7548291a31c531fb30269581ee2dc (diff) | |
download | nixlib-3c9f3a867efe49ddb9d3254a1efada7c0a35a185.tar nixlib-3c9f3a867efe49ddb9d3254a1efada7c0a35a185.tar.gz nixlib-3c9f3a867efe49ddb9d3254a1efada7c0a35a185.tar.bz2 nixlib-3c9f3a867efe49ddb9d3254a1efada7c0a35a185.tar.lz nixlib-3c9f3a867efe49ddb9d3254a1efada7c0a35a185.tar.xz nixlib-3c9f3a867efe49ddb9d3254a1efada7c0a35a185.tar.zst nixlib-3c9f3a867efe49ddb9d3254a1efada7c0a35a185.zip |
Merge pull request #43248 from leenaars/spoofer
spoofer: init at 1.3.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/spoofer/default.nix | 40 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/tools/networking/spoofer/default.nix b/pkgs/tools/networking/spoofer/default.nix new file mode 100644 index 000000000000..675777e4faa6 --- /dev/null +++ b/pkgs/tools/networking/spoofer/default.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchurl, pkgconfig, protobuf, openssl, libpcap, traceroute +, withGUI ? false, qt5 }: + +let inherit (stdenv.lib) optional optionalString; +in + +stdenv.mkDerivation rec { + pname = "spoofer"; + version = "1.3.2"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "https://www.caida.org/projects/spoofer/downloads/${name}.tar.gz"; + sha256 = "05297dyyq8bdpbr3zz974l7vm766lq1bsxvzp5pa4jfpvnj7cl1g"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ openssl protobuf libpcap traceroute ] + ++ optional withGUI qt5.qtbase ; + + meta = with stdenv.lib; { + homepage = https://www.caida.org/projects/spoofer; + description = "Assess and report on deployment of source address validation"; + longDescription = '' + Spoofer is a new client-server system for Windows, MacOS, and + UNIX-like systems that periodically tests a network's ability to + both send and receive packets with forged source IP addresses + (spoofed packets). This can be used to produce reports and + visualizations to inform operators, response teams, and policy + analysts. The system measures different types of forged + addresses, including private and neighboring addresses. The + test results allows to analyze characteristics of networks + deploying source address validation (e.g., network location, + business type). + ''; + platforms = platforms.all; + license = licenses.gpl3Plus; + maintainers = with stdenv.lib.maintainers; [ leenaars]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dff7c3265510..0f071c42cd74 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8519,6 +8519,10 @@ with pkgs; flex = flex_2_5_35; }; + spoofer = callPackage ../tools/networking/spoofer { }; + + spoofer-gui = callPackage ../tools/networking/spoofer { withGUI = true; }; + sqlitebrowser = libsForQt5.callPackage ../development/tools/database/sqlitebrowser { }; sselp = callPackage ../tools/X11/sselp{ }; |