Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

61 lines
1.6 KiB
Nix

{
lib,
stdenv,
fetchurl,
pkg-config,
protobuf,
openssl,
libpcap,
traceroute,
withGUI ? false,
qt5,
}:
let
inherit (lib) optional;
in
stdenv.mkDerivation rec {
pname = "spoofer";
version = "1.4.12";
src = fetchurl {
url = "https://www.caida.org/projects/spoofer/downloads/${pname}-${version}.tar.gz";
sha256 = "sha256-3ljCPmazKz0fHer2yN6baFLu425Dsr9ppdjr2Iv5YJ8=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
protobuf
libpcap
traceroute
]
++ optional withGUI qt5.qtbase;
dontWrapQtApps = true;
enableParallelBuilding = true;
meta = with 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 lib.maintainers; [ leenaars ];
mainProgram = "spoofer-prober";
};
}