From 36fa003547306899347c39d3955ef8f704baf660 Mon Sep 17 00:00:00 2001 From: Bogdan Radulescu Date: Fri, 28 Aug 2026 14:32:41 +0300 Subject: [PATCH] package/nettest: new package nettest measures download and upload throughput, latency, jitter and packet loss using the RMBT protocol. The same binary runs as either the client or the measurement server it tests against. Written in Rust with no native library dependencies: the target binary links only libc, libm and libgcc_s, and is fully static when built against musl. Signed-off-by: Bogdan Radulescu Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/nettest/Config.in | 11 +++++++++++ package/nettest/nettest.hash | 3 +++ package/nettest/nettest.mk | 12 ++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/nettest/Config.in create mode 100644 package/nettest/nettest.hash create mode 100644 package/nettest/nettest.mk diff --git a/DEVELOPERS b/DEVELOPERS index 1fd93b1de5..97eb2d9cac 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -564,6 +564,7 @@ F: package/libgpiod2/ N: Bogdan Radulescu F: package/iftop/ F: package/ncdu/ +F: package/nettest/ N: Brandon Maier F: board/freescale/ls1046a-frwy/ diff --git a/package/Config.in b/package/Config.in index 307f7ce86a..243b390d1c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2559,6 +2559,7 @@ endif source "package/nethogs/Config.in" source "package/netplug/Config.in" source "package/netsnmp/Config.in" + source "package/nettest/Config.in" source "package/network-manager/Config.in" source "package/network-manager-openvpn/Config.in" source "package/networkd-dispatcher/Config.in" diff --git a/package/nettest/Config.in b/package/nettest/Config.in new file mode 100644 index 0000000000..0ec4dcdc4a --- /dev/null +++ b/package/nettest/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_NETTEST + bool "nettest" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_RUSTC + help + nettest measures download and upload throughput, latency, + jitter and packet loss using the RMBT protocol. The same + binary runs as either the client or the measurement server + it tests against. + + https://github.com/specure/nettest diff --git a/package/nettest/nettest.hash b/package/nettest/nettest.hash new file mode 100644 index 0000000000..eaafe15ea3 --- /dev/null +++ b/package/nettest/nettest.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 13dd03c8853f7eb9a4dd20b9deedbfa7cd7efbc59a175bd3bb1f0c4d1126e238 nettest-2.1.3-cargo6.tar.gz +sha256 6523fc0e74e4774f105b0ee86a8187952337db6231f1a1817316174e241344ff LICENSE.txt diff --git a/package/nettest/nettest.mk b/package/nettest/nettest.mk new file mode 100644 index 0000000000..d7ca986434 --- /dev/null +++ b/package/nettest/nettest.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# nettest +# +################################################################################ + +NETTEST_VERSION = 2.1.3 +NETTEST_SITE = $(call github,specure,nettest,v$(NETTEST_VERSION)) +NETTEST_LICENSE = Apache-2.0 +NETTEST_LICENSE_FILES = LICENSE.txt + +$(eval $(cargo-package))