3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/spoofer/default.nix

42 lines
1.5 KiB
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchurl, pkg-config, protobuf, openssl, libpcap, traceroute
2018-07-09 10:31:22 +01:00
, withGUI ? false, qt5 }:
2021-01-15 09:19:50 +00:00
let inherit (lib) optional;
2018-07-09 10:31:22 +01:00
in
stdenv.mkDerivation rec {
pname = "spoofer";
2021-03-09 18:04:58 +00:00
version = "1.4.6";
2018-07-09 10:31:22 +01:00
src = fetchurl {
url = "https://www.caida.org/projects/spoofer/downloads/${pname}-${version}.tar.gz";
2021-03-09 18:04:58 +00:00
sha256 = "sha256-+4FNC+rMxIoVXlW7HnBXUg0P4FhNvMTAqJ9c7lXQ6vE=";
2018-07-09 10:31:22 +01:00
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ pkg-config ];
2018-07-09 10:31:22 +01: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 10:31:22 +01: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 09:19:50 +00:00
maintainers = with lib.maintainers; [ leenaars];
2018-07-09 10:31:22 +01:00
};
}