nixpkgs/pkgs/tools/networking/spoofer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.5 KiB
Nix
Raw Normal View History

2021-01-17 06:51:22 +03:00
{ lib, stdenv, fetchurl, pkg-config, protobuf, openssl, libpcap, traceroute
2018-07-09 12:31:22 +03:00
, withGUI ? false, qt5 }:
2021-01-15 12:19:50 +03:00
let inherit (lib) optional;
2018-07-09 12:31:22 +03:00
in
stdenv.mkDerivation rec {
pname = "spoofer";
2021-08-22 09:31:14 +03:00
version = "1.4.7";
2018-07-09 12:31:22 +03:00
src = fetchurl {
url = "https://www.caida.org/projects/spoofer/downloads/${pname}-${version}.tar.gz";
2021-08-22 09:31:14 +03:00
sha256 = "sha256-6ov1dZbxmBRIhfIzUaxiaHUeiU6SbNKhiQX1W4lmhD8=";
2018-07-09 12:31:22 +03:00
};
2021-01-17 06:51:22 +03:00
nativeBuildInputs = [ pkg-config ];
2018-07-09 12:31:22 +03:00
buildInputs = [ openssl protobuf libpcap traceroute ]
++ optional withGUI qt5.qtbase ;
dontWrapQtApps = true;
meta = with lib; {
homepage = "https://www.caida.org/projects/spoofer";
2018-07-09 12:31:22 +03:00
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;
2021-01-15 12:19:50 +03:00
maintainers = with lib.maintainers; [ leenaars];
2018-07-09 12:31:22 +03:00
};
}