about summary refs log tree commit diff
path: root/pkgs/by-name/pi
diff options
context:
space:
mode:
authornicoo <nicoo@debian.org>2024-05-21 16:12:35 +0000
committerGitHub <noreply@github.com>2024-05-21 16:12:35 +0000
commitd62141d024493276446fed8faf92dcc29d51a049 (patch)
tree6605173a4826f95b3286d7c37970a4ddf84ef8e1 /pkgs/by-name/pi
parentf15b763c6149223f67d179149050ad1a18eab898 (diff)
pietrasanta-traceroute: init at `0.0.5-unstable-2023-11-28` (#313400)
Diffstat (limited to 'pkgs/by-name/pi')
-rw-r--r--pkgs/by-name/pi/pietrasanta-traceroute/package.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/by-name/pi/pietrasanta-traceroute/package.nix b/pkgs/by-name/pi/pietrasanta-traceroute/package.nix
new file mode 100644
index 0000000000000..fef33f4b1ba39
--- /dev/null
+++ b/pkgs/by-name/pi/pietrasanta-traceroute/package.nix
@@ -0,0 +1,40 @@
+{ lib
+, fetchFromGitHub
+, unstableGitUpdater
+, stdenv
+, openssl
+}:
+
+stdenv.mkDerivation rec {
+  pname = "pietrasanta-traceroute";
+  version = "0.0.5-unstable-2023-11-28";
+
+  src = fetchFromGitHub {
+    owner = "catchpoint";
+    repo = "Networking.traceroute";
+    rev = "c870c7bd7bafeab815f8564a67a281892c3a6230";
+    hash = "sha256-CKqm8b6qNLEpso25+uTvtiR/hFMKJzuXUZkQ7lWzGd8=";
+  };
+  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;
+  };
+}