2018-07-09 11:31:22 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, protobuf, openssl, libpcap, traceroute
|
|
|
|
, withGUI ? false, qt5 }:
|
|
|
|
|
2018-07-20 21:36:12 +02:00
|
|
|
let inherit (stdenv.lib) optional;
|
2018-07-09 11:31:22 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "spoofer";
|
2019-07-16 22:23:59 +02:00
|
|
|
version = "1.4.5";
|
2018-07-09 11:31:22 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.caida.org/projects/spoofer/downloads/${pname}-${version}.tar.gz";
|
2019-07-16 22:23:59 +02:00
|
|
|
sha256 = "0pnim3xyfsmv6alsvhwjs4v9lp39wwiyj63rxsqyz4wx4vkmn12z";
|
2018-07-09 11:31:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ openssl protobuf libpcap traceroute ]
|
|
|
|
++ optional withGUI qt5.qtbase ;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.caida.org/projects/spoofer";
|
2018-07-09 11:31:22 +02: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;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ leenaars];
|
|
|
|
};
|
|
|
|
}
|