Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
41 lines
1.4 KiB
Nix
41 lines
1.4 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
, stdenv
|
|
, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pietrasanta-traceroute";
|
|
version = "0.0.5-unstable-2024-09-06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "catchpoint";
|
|
repo = "Networking.traceroute";
|
|
rev = "e4a5cf94dccd646e03b9b75a762e9b014e3a3128";
|
|
hash = "sha256-5FbuITewgSh6UFUU1vttkokk8uZ2IrzkDwsCuWJPKlM=";
|
|
};
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
buildInputs = [ openssl ];
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "ECN-aware version of traceroute";
|
|
longDescription = ''
|
|
An enhanced version of Dmitry Butskoy's traceroute, developed by Catchpoint.
|
|
- Support for "TCP InSession": opens a TCP connection with the destination and sends TCP probes with
|
|
increasing TTL values, to prevent false packet loss introduced by firewalls, and ensure packets
|
|
follow a single flow, akin to a normal TCP session.
|
|
- Similar QUIC-based traceroute.
|
|
- Enhanced ToS (DSCP/ECN) field report.
|
|
'';
|
|
homepage = "https://github.com/catchpoint/Networking.traceroute/";
|
|
changelog = "https://github.com/catchpoint/Networking.traceroute/blob/${src.rev}/ChangeLog";
|
|
license = with licenses; [ gpl2Only lgpl21Only ];
|
|
mainProgram = "traceroute";
|
|
maintainers = with maintainers; [ nicoo ];
|
|
platforms = platforms.all;
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|