Skip to content

feat(ct): add iperf3 server LXC script - #2668

Closed
leifdavisson wants to merge 1 commit into
community-scripts:mainfrom
leifdavisson:feat/iperf3
Closed

leifdavisson wants to merge 1 commit into
community-scripts:mainfrom
leifdavisson:feat/iperf3

Conversation

@leifdavisson

Copy link
Copy Markdown

✍️ Description

Adds an iPerf3 LXC container script (ct/iperf3.sh, install/iperf3-install.sh, json/iperf3.json) that installs iperf3 from distribution packages and runs iperf3 -s as an unprivileged service (nobody) on port 5201 for local LAN and Wi-Fi throughput benchmarking. Supports both Debian 13 (default) and Alpine 3.24 via run_os_setup / run_os_update. Tested on Proxmox VE 9.2.21 (Debian 13 LXC) with iperf3 -c reaching 940 Mbps line rate.

🔗 Related PR / Issue

Link: #

✅ Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No breaking changes – Existing functionality remains intact.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🧩 Script

Name: iPerf3

Tool: Lightweight always-on iperf3 -s server container on TCP/UDP port 5201 for local network and Wi-Fi bandwidth benchmarking.

🗂️ Category (X in brackets)

  • CT – LXC container (ct/ + install/)
  • VM – Virtual machine (vm/)
  • Addon – tools/addon/
  • PVE Tool – tools/pve/
  • Other – path given in the Description

🖥️ Platform – tested on (X in brackets)

  • Proxmox VE – Created on a Proxmox VE host and the app works.
  • Incus – Created on an Incus host and the app works.

🏗️ Architecture (X in brackets)

  • arm64 supported - Tested and supported on arm64.
  • arm64 not tested - Assumed to work on arm64, but testing has not been done.
  • arm64 not supported - Confirmed upstream dependencies or binaries do not support arm64.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • ✨ New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔍 Code & Security Review (X in brackets)

  • Follows CODE-AUDIT.md & CONTRIBUTING.md guidelines
  • Uses correct script structure (AppName.sh, AppName-install.sh, AppName.json)
  • No hardcoded credentials
  • No Docker / Docker Compose – The application is installed bare-metal; Docker is not used.
  • No git pull – Updates use fetch_and_deploy_gh_release, fetch_and_deploy_codeberg_release, fetch_and_deploy_gl_release, or fetch_and_deploy_from_url instead of git pull.

📋 Additional Information (optional)

iperf3 is installed directly from the OS package manager (apt on Debian 13, apk on Alpine 3.24) and runs as nobody via systemd/OpenRC.


📦 Application Requirements (for new scripts)

  • The application is at least 6 months old
  • The application is actively maintained
  • The application has 1,000+ GitHub stars
  • Official release tarballs are published
  • I understand that not all scripts will be accepted due to various reasons and criteria by the community-scripts ORG

🌐 Source


🤖 AI Assistance (X in brackets)

  • No AI used – Scripts were written without AI assistance.
  • AI was used – I confirm the scripts were built using AGENTS.md and .github/agents/pve-script-creator.agent.md as guidance, and the output has been reviewed and corrected to match those guidelines.

Please describe to which degree, if any, an LLM was used in creating this pull request.
Gemini 4 Hydrogen (Medium) was used to draft the ct/iperf3.sh, install/iperf3-install.sh, and json/iperf3.json files following AGENTS.md, validated with bash -n and jq, and tested live on Proxmox VE 9.2.21.

@leifdavisson
leifdavisson requested a review from a team as a code owner November 15, 2026 21:36
@github-actions

Copy link
Copy Markdown
Contributor

Try this script

ct/iperf3.sh, run in the Proxmox VE shell or on an Incus host:

COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/leifdavisson/DevScripts/feat/iperf3 \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/leifdavisson/DevScripts/feat/iperf3/ct/iperf3.sh)"

COMMUNITY_SCRIPTS_URL is not optional for ct/. Fetching the ct/ script from a
branch does not tell the engine where that branch is — with bash -c "$(curl …)"
there is no file on disk for the scripts root to be derived from, so it would fall
back to upstream main and look for the install script there.

Against a core branch as well

Add COMMUNITY_SCRIPTS_CORE_URL=https://raw.githubusercontent.com/OWNER/core/BRANCH
to test an engine change at the same time. The two resolve independently.

Useful flags while testing

dev_mode=net logs every fetch with status and duration, so you can confirm the
branch is really being used. dev_mode=keep stops a failed build from deleting
the container along with the evidence.

@github-actions

Copy link
Copy Markdown
Contributor

Proxmox script test

@leifdavisson ✅ 4/4 passed at 75dac61

Script Platform Install Update Duration Detail
ct/iperf3.sh pve · debian ✅ ➖ 4m49s no URL to check; update: nothing to update
ct/iperf3.sh pve · alpine ✅ ➖ 2m32s no URL to check; update: nothing to update
ct/iperf3.sh incus · debian ✅ ➖ 2m25s no URL to check; update: nothing to update
ct/iperf3.sh incus · alpine ✅ ➖ 1m41s no URL to check; update: nothing to update
ct/iperf3.sh arm64 · debian ✅ ➖ 2m20s no URL to check; update: nothing to update
ct/iperf3.sh arm64 · alpine ✅ ➖ 1m48s no URL to check; update: nothing to update

ARM64 (information only, not counted): 2/2 passed.

📊 Resources
Script Platform Usage
ct/iperf3.sh pve · debian disk 0.7 of 1 GB · RAM at rest 25 of 256 MB · OOM kills 0
ct/iperf3.sh pve · alpine disk 0.0 of 1 GB · RAM at rest 2 of 256 MB · OOM kills 0
ct/iperf3.sh incus · debian disk 0.5 of 1 GB · RAM at rest 20 of 512 MB · OOM kills 0
ct/iperf3.sh incus · alpine disk 0.0 of 1 GB · RAM at rest 1 of 256 MB · OOM kills 0
ct/iperf3.sh arm64 · debian disk 0.8 of 1 GB · RAM at rest 21 of 512 MB · OOM kills 0
ct/iperf3.sh arm64 · alpine disk 0.1 of 1 GB · RAM at rest 1 of 256 MB · OOM kills 0
📄 ct/iperf3.sh (pve · debian) — install log (945 lines)
… 795 earlier lines cut, the full log is in the run artifacts
Unpacking bind9-dnsutils (1:9.20.30-1~deb13u1) over (1:9.20.23-1~deb13u1) ...
Preparing to unpack .../04-bind9-host_1%3a9.20.30-1~deb13u1_amd64.deb ...
Unpacking bind9-host (1:9.20.30-1~deb13u1) over (1:9.20.23-1~deb13u1) ...
Preparing to unpack .../05-bind9-libs_1%3a9.20.30-1~deb13u1_amd64.deb ...
Unpacking bind9-libs:amd64 (1:9.20.30-1~deb13u1) over (1:9.20.23-1~deb13u1) ...
Preparing to unpack .../06-openssl_3.5.7-1~deb13u3_amd64.deb ...
Unpacking openssl (3.5.7-1~deb13u3) over (3.5.6-1~deb13u2) ...
Preparing to unpack .../07-ca-certificates_20250419+deb13u1_all.deb ...
Unpacking ca-certificates (20250419+deb13u1) over (20250419) ...
Preparing to unpack .../08-libc-l10n_2.41-12+deb13u4_all.deb ...
Unpacking libc-l10n (2.41-12+deb13u4) over (2.41-12+deb13u3) ...
Preparing to unpack .../09-locales_2.41-12+deb13u4_all.deb ...
Unpacking locales (2.41-12+deb13u4) over (2.41-12+deb13u3) ...
Preparing to unpack .../10-xz-utils_5.8.1-1+deb13u2_amd64.deb ...
Unpacking xz-utils (5.8.1-1+deb13u2) over (5.8.1-1+deb13u1) ...
Preparing to unpack .../11-libcap2-bin_1%3a2.75-10+deb13u1+b3_amd64.deb ...
Unpacking libcap2-bin (1:2.75-10+deb13u1+b3) over (1:2.75-10+deb13u1+b1) ...
Preparing to unpack .../12-libcom-err2_1.47.2-3+b12_amd64.deb ...
Unpacking libcom-err2:amd64 (1.47.2-3+b12) over (1.47.2-3+b11) ...
Preparing to unpack .../13-libss2_1.47.2-3+b12_amd64.deb ...
Unpacking libss2:amd64 (1.47.2-3+b12) over (1.47.2-3+b11) ...
Setting up libexpat1:amd64 (2.9.0-1~deb13u1) ...
Setting up libc-l10n (2.41-12+deb13u4) ...
Setting up apt-utils (3.0.4) ...
Setting up bsdextrautils (2.41.5-0+deb13u1) ...
Setting up bind9-libs:amd64 (1:9.20.30-1~deb13u1) ...
Setting up libcom-err2:amd64 (1.47.2-3+b12) ...
Setting up locales (2.41-12+deb13u4) ...
Generating locales (this might take a while)...
  C.UTF-8... done
  en_SC.UTF-8... done
  es_EC.UTF-8... done
Generation complete.
Setting up tzdata (2026f-0+deb13u1) ...
Current default time zone: 'Europe/Vienna'
Local time is now:      Sun Nov 15 22:42:54 CET 2026.
Universal Time is now:  Sun Nov 15 21:42:54 UTC 2026.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up libcap2-bin (1:2.75-10+deb13u1+b3) ...
Setting up libpython3.13-minimal:amd64 (3.13.5-2+deb13u5) ...
Setting up vim-common (2:9.1.1230-2+deb13u2) ...
Setting up xz-utils (5.8.1-1+deb13u2) ...
Setting up libss2:amd64 (1.47.2-3+b12) ...
Setting up dhcpcd-base (1:10.1.0-11+deb13u4) ...
Setting up logsave (1.47.2-3+b12) ...
Setting up libfdisk1:amd64 (2.41.5-0+deb13u1) ...
Setting up postfix (3.10.13-0+deb13u1) ...
Postfix (main.cf) configuration was not modified by debconf.  If you need to 
make changes, edit /etc/postfix/main.cf (and others) as needed.  To view 
Postfix configuration values, see postconf(1).
After modifying main.cf, be sure to run 'systemctl reload postfix'.
Setting up mount (2.41.5-0+deb13u1) ...
Setting up perl-modules-5.40 (5.40.1-6+deb13u1) ...
Setting up python3.13-minimal (3.13.5-2+deb13u5) ...
Setting up bind9-host (1:9.20.30-1~deb13u1) ...
Setting up openssl (3.5.7-1~deb13u3) ...
Setting up libpython3.13-stdlib:amd64 (3.13.5-2+deb13u5) ...
Setting up util-linux-extra (2.41.5-0+deb13u1) ...
Setting up login (1:4.16.0-2+really2.41.5-0+deb13u1) ...
Setting up python3.13 (3.13.5-2+deb13u5) ...
Setting up e2fsprogs (1.47.2-3+b12) ...
Setting up vim-tiny (2:9.1.1230-2+deb13u2) ...
Setting up fdisk (2.41.5-0+deb13u1) ...
Setting up libperl5.40:amd64 (5.40.1-6+deb13u1) ...
Setting up ca-certificates (20250419+deb13u1) ...
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
Setting up perl (5.40.1-6+deb13u1) ...
Setting up bind9-dnsutils (1:9.20.30-1~deb13u1) ...
Processing triggers for libc-bin (2.41-12+deb13u4) ...
Processing triggers for systemd (257.13-1~deb13u1) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for debianutils (5.23.2) ...
Processing triggers for mailcap (3.74) ...
Processing triggers for postfix (3.10.13-0+deb13u1) ...
Restarting postfix
Processing triggers for ca-certificates (20250419+deb13u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
[2026-11-15 22:43:08] [OK] Updated Container OS
[2026-11-15 22:43:09] [INFO] Installing iPerf3
Reading package lists...
Building dependency tree...
Reading state information...
Installing:
  iperf3
Installing dependencies:
  libiperf0  libsctp1
Suggested packages:
  lksctp-tools
Summary:
  Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 0
  Download size: 163 kB
  Space needed: 425 kB / 1039 MB available
Get:1 http://deb.debian.org/debian trixie/main amd64 libsctp1 amd64 1.0.21+dfsg-1 [25.8 kB]
Get:2 http://deb.debian.org/debian trixie/main amd64 libiperf0 amd64 3.18-2+deb13u2 [100 kB]
Get:3 http://deb.debian.org/debian trixie/main amd64 iperf3 amd64 3.18-2+deb13u2 [37.3 kB]
Preconfiguring packages ...
Fetched 163 kB in 0s (1100 kB/s)
Selecting previously unselected package libsctp1:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20284 files and directories currently installed.)
Preparing to unpack .../libsctp1_1.0.21+dfsg-1_amd64.deb ...
Unpacking libsctp1:amd64 (1.0.21+dfsg-1) ...
Selecting previously unselected package libiperf0:amd64.
Preparing to unpack .../libiperf0_3.18-2+deb13u2_amd64.deb ...
Unpacking libiperf0:amd64 (3.18-2+deb13u2) ...
Selecting previously unselected package iperf3.
Preparing to unpack .../iperf3_3.18-2+deb13u2_amd64.deb ...
Unpacking iperf3 (3.18-2+deb13u2) ...
Setting up libsctp1:amd64 (1.0.21+dfsg-1) ...
Setting up libiperf0:amd64 (3.18-2+deb13u2) ...
Setting up iperf3 (3.18-2+deb13u2) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for libc-bin (2.41-12+deb13u4) ...
[2026-11-15 22:43:14] [OK] Installed iPerf3
[2026-11-15 22:43:14] [INFO] Creating Service
[2026-11-15 22:43:15] [OK] Created Service
[2026-11-15 22:43:15] [INFO] Customizing Container
[2026-11-15 22:43:17] [OK] Customized Container
[2026-11-15 22:43:17] [INFO] Cleaning up
Reading package lists...
Building dependency tree...
Reading state information...
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
[2026-11-15 22:43:18] [OK] Cleaned
🔄 ct/iperf3.sh (pve · debian) — update log (22 lines)
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
  ⏳   Updating iPerf3
  ✔️  Updated iPerf3
  ⏳   Cleaning up
  ✔️  Cleaned
📄 ct/iperf3.sh (pve · alpine) — install log (64 lines)
[2026-11-15 21:37:28] [INFO] Setting up Container OS
[2026-11-15 21:37:29] [OK] Set up Container OS
[2026-11-15 21:37:29] [OK] Network Connected: 10.99.0.131
[2026-11-15 21:37:30] [OK] IPv4 Internet Connected
[2026-11-15 21:37:30] No IPv6 Internet (IPv4 is enough)
[2026-11-15 21:37:30] [OK] Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ )
[2026-11-15 21:37:30] [INFO] Updating Container OS
v3.24.4-84-ge15f85eaef7 [https://dl-cdn.alpinelinux.org/alpine/latest-stable/main]
v3.24.4-89-gd4fba016ded [https://dl-cdn.alpinelinux.org/alpine/latest-stable/community]
OK: 28671 distinct packages available
(1/1) Upgrading zlib (1.3.2-r1 -> 1.4-r0)
OK: 35.8 MiB in 74 packages
[2026-11-15 21:37:31] [OK] Updated Container OS
[2026-11-15 21:37:31] [INFO] Installing iPerf3
(1/2) Installing iperf3 (3.20-r0)
(2/2) Installing iperf3-openrc (3.20-r0)
Executing busybox-1.37.0-r31.trigger
OK: 36.0 MiB in 76 packages
[2026-11-15 21:37:32] [OK] Installed iPerf3
[2026-11-15 21:37:32] [INFO] Creating Service
 * service iperf3 added to runlevel default
 * Caching service dependencies ... [ ok ]
 * Starting iPerf3 ... [ ok ]
[2026-11-15 21:37:32] [OK] Created Service
[2026-11-15 21:37:32] [INFO] Customizing Container
( 1/33) Installing util-linux (2.42.3-r1)
( 2/33) Installing dmesg (2.42.3-r1)
( 3/33) Installing setarch (2.42.3-r1)
( 4/33) Installing libuuid (2.42.3-r1)
( 5/33) Installing libfdisk (2.42.3-r1)
( 6/33) Installing libsmartcols (2.42.3-r1)
( 7/33) Installing skalibs-libs (2.15.0.0-r0)
( 8/33) Installing utmps-libs (0.1.3.3-r0)
( 9/33) Installing util-linux-misc (2.42.3-r1)
(10/33) Installing linux-pam (1.7.1-r2)
(11/33) Installing runuser (2.42.3-r1)
(12/33) Installing mount (2.42.3-r1)
(13/33) Installing losetup (2.42.3-r1)
(14/33) Installing hexdump (2.42.3-r1)
(15/33) Installing uuidgen (2.42.3-r1)
(16/33) Installing blkid (2.42.3-r1)
(17/33) Installing sfdisk (2.42.3-r1)
(18/33) Installing mcookie (2.42.3-r1)
(19/33) Installing agetty (2.42.3-r1)
(20/33) Installing agetty-openrc (0.63.2-r0)
(21/33) Installing wipefs (2.42.3-r1)
(22/33) Installing cfdisk (2.42.3-r1)
(23/33) Installing umount (2.42.3-r1)
(24/33) Installing util-linux-openrc (2.42.3-r1)
(25/33) Installing flock (2.42.3-r1)
(26/33) Installing lsblk (2.42.3-r1)
(27/33) Installing libcap-ng (0.8.5-r2)
(28/33) Installing setpriv (2.42.3-r1)
(29/33) Installing lscpu (2.42.3-r1)
(30/33) Installing logger (2.42.3-r1)
(31/33) Installing partx (2.42.3-r1)
(32/33) Installing fstrim (2.42.3-r1)
(33/33) Installing findmnt (2.42.3-r1)
Executing busybox-1.37.0-r31.trigger
OK: 40.7 MiB in 109 packages
 * service local added to runlevel default
[2026-11-15 21:37:35] [OK] Customized Container
[2026-11-15 21:37:35] [INFO] Cleaning up
[2026-11-15 21:37:35] [OK] Cleaned
🔄 ct/iperf3.sh (pve · alpine) — update log (22 lines)
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
  ⏳   Updating iPerf3
  ✔️  Updated iPerf3
  ⏳   Cleaning up
  ✔️  Cleaned
📄 ct/iperf3.sh (incus · debian) — install log (83 lines)
[2026-11-15 22:37:14] [INFO] Setting up Container OS
[2026-11-15 22:37:15] [OK] Set up Container OS
[2026-11-15 22:37:15] [OK] Network Connected: 10.98.0.188
[2026-11-15 22:37:16] [OK] IPv4 Internet Connected
[2026-11-15 22:37:16] No IPv6 Internet (IPv4 is enough)
[2026-11-15 22:37:16] [OK] Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ )
[2026-11-15 22:37:16] [INFO] Updating Container OS
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian trixie-updates InRelease
Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2026-11-15 22:37:18] [OK] Updated Container OS
[2026-11-15 22:37:18] [INFO] Installing iPerf3
Reading package lists...
Building dependency tree...
Reading state information...
Installing:
  iperf3
Installing dependencies:
  libiperf0  libsctp1
Suggested packages:
  lksctp-tools
Summary:
  Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 0
  Download size: 163 kB
  Space needed: 425 kB / 146 GB available
Get:1 http://deb.debian.org/debian trixie/main amd64 libsctp1 amd64 1.0.21+dfsg-1 [25.8 kB]
Get:2 http://deb.debian.org/debian trixie/main amd64 libiperf0 amd64 3.18-2+deb13u2 [100 kB]
Get:3 http://deb.debian.org/debian trixie/main amd64 iperf3 amd64 3.18-2+deb13u2 [37.3 kB]
Preconfiguring packages ...
Fetched 163 kB in 0s (1508 kB/s)
Selecting previously unselected package libsctp1:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16513 files and directories currently installed.)
Preparing to unpack .../libsctp1_1.0.21+dfsg-1_amd64.deb ...
Unpacking libsctp1:amd64 (1.0.21+dfsg-1) ...
Selecting previously unselected package libiperf0:amd64.
Preparing to unpack .../libiperf0_3.18-2+deb13u2_amd64.deb ...
Unpacking libiperf0:amd64 (3.18-2+deb13u2) ...
Selecting previously unselected package iperf3.
Preparing to unpack .../iperf3_3.18-2+deb13u2_amd64.deb ...
Unpacking iperf3 (3.18-2+deb13u2) ...
Setting up libsctp1:amd64 (1.0.21+dfsg-1) ...
Setting up libiperf0:amd64 (3.18-2+deb13u2) ...
Setting up iperf3 (3.18-2+deb13u2) ...
Processing triggers for libc-bin (2.41-12+deb13u4) ...
[2026-11-15 22:37:22] [OK] Installed iPerf3
[2026-11-15 22:37:22] [INFO] Creating Service
[2026-11-15 22:37:24] [OK] Created Service
[2026-11-15 22:37:24] [INFO] Customizing Container
[2026-11-15 22:37:25] [OK] Customized Container
[2026-11-15 22:37:26] [INFO] Cleaning up
Reading package lists...
Building dependency tree...
Reading state information...
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
[2026-11-15 22:37:26] [OK] Cleaned
🔄 ct/iperf3.sh (incus · debian) — update log (17 lines)
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
10.98.0.188
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
  ⏳   Updating iPerf3
  ✔️  Updated iPerf3
📄 ct/iperf3.sh (incus · alpine) — install log (63 lines)
[2026-11-15 21:40:31] [INFO] Setting up Container OS
[2026-11-15 21:40:31] [OK] Set up Container OS
[2026-11-15 21:40:31] [OK] Network Connected: 10.98.0.204
[2026-11-15 21:40:32] [OK] IPv4 Internet Connected
[2026-11-15 21:40:32] No IPv6 Internet (IPv4 is enough)
[2026-11-15 21:40:32] [OK] Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ )
[2026-11-15 21:40:32] [INFO] Updating Container OS
v3.24.4-84-ge15f85eaef7 [http://dl-cdn.alpinelinux.org/alpine/v3.24/main]
v3.24.4-89-gd4fba016ded [http://dl-cdn.alpinelinux.org/alpine/v3.24/community]
OK: 28670 distinct packages available
OK: 35.8 MiB in 74 packages
[2026-11-15 21:40:34] [OK] Updated Container OS
[2026-11-15 21:40:34] [INFO] Installing iPerf3
(1/2) Installing iperf3 (3.20-r0)
(2/2) Installing iperf3-openrc (3.20-r0)
Executing busybox-1.37.0-r31.trigger
OK: 36.0 MiB in 76 packages
[2026-11-15 21:40:35] [OK] Installed iPerf3
[2026-11-15 21:40:35] [INFO] Creating Service
 * service iperf3 added to runlevel default
 * Caching service dependencies ... [ ok ]
 * Starting iPerf3 ... [ ok ]
[2026-11-15 21:40:35] [OK] Created Service
[2026-11-15 21:40:35] [INFO] Customizing Container
( 1/33) Installing util-linux (2.42.3-r1)
( 2/33) Installing dmesg (2.42.3-r1)
( 3/33) Installing setarch (2.42.3-r1)
( 4/33) Installing libuuid (2.42.3-r1)
( 5/33) Installing libfdisk (2.42.3-r1)
( 6/33) Installing libsmartcols (2.42.3-r1)
( 7/33) Installing skalibs-libs (2.15.0.0-r0)
( 8/33) Installing utmps-libs (0.1.3.3-r0)
( 9/33) Installing util-linux-misc (2.42.3-r1)
(10/33) Installing linux-pam (1.7.1-r2)
(11/33) Installing runuser (2.42.3-r1)
(12/33) Installing mount (2.42.3-r1)
(13/33) Installing losetup (2.42.3-r1)
(14/33) Installing hexdump (2.42.3-r1)
(15/33) Installing uuidgen (2.42.3-r1)
(16/33) Installing blkid (2.42.3-r1)
(17/33) Installing sfdisk (2.42.3-r1)
(18/33) Installing mcookie (2.42.3-r1)
(19/33) Installing agetty (2.42.3-r1)
(20/33) Installing agetty-openrc (0.63.2-r0)
(21/33) Installing wipefs (2.42.3-r1)
(22/33) Installing cfdisk (2.42.3-r1)
(23/33) Installing umount (2.42.3-r1)
(24/33) Installing util-linux-openrc (2.42.3-r1)
(25/33) Installing flock (2.42.3-r1)
(26/33) Installing lsblk (2.42.3-r1)
(27/33) Installing libcap-ng (0.8.5-r2)
(28/33) Installing setpriv (2.42.3-r1)
(29/33) Installing lscpu (2.42.3-r1)
(30/33) Installing logger (2.42.3-r1)
(31/33) Installing partx (2.42.3-r1)
(32/33) Installing fstrim (2.42.3-r1)
(33/33) Installing findmnt (2.42.3-r1)
Executing busybox-1.37.0-r31.trigger
OK: 40.7 MiB in 109 packages
 * service local added to runlevel default
[2026-11-15 21:40:38] [OK] Customized Container
[2026-11-15 21:40:38] [INFO] Cleaning up
[2026-11-15 21:40:38] [OK] Cleaned
🔄 ct/iperf3.sh (incus · alpine) — update log (17 lines)
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
10.98.0.204
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
  ⏳   Updating iPerf3
  ✔️  Updated iPerf3
📄 ct/iperf3.sh (arm64 · debian) — install log (83 lines)
[2026-11-15 21:38:40] [INFO] Setting up Container OS
[2026-11-15 21:38:40] [OK] Set up Container OS
[2026-11-15 21:38:40] [OK] Network Connected: 10.98.0.227
[2026-11-15 21:38:44] [OK] IPv4 Internet Connected (TCP reachable; ICMP is filtered)
[2026-11-15 21:38:44] No IPv6 Internet (IPv4 is enough)
[2026-11-15 21:38:44] [OK] Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ )
[2026-11-15 21:38:44] [INFO] Updating Container OS
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian trixie-updates InRelease
Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2026-11-15 21:38:46] [OK] Updated Container OS
[2026-11-15 21:38:46] [INFO] Installing iPerf3
Reading package lists...
Building dependency tree...
Reading state information...
Installing:
  iperf3
Installing dependencies:
  libiperf0  libsctp1
Suggested packages:
  lksctp-tools
Summary:
  Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 0
  Download size: 157 kB
  Space needed: 581 kB / 110 GB available
Get:1 http://deb.debian.org/debian trixie/main arm64 libsctp1 arm64 1.0.21+dfsg-1 [25.8 kB]
Get:2 http://deb.debian.org/debian trixie/main arm64 libiperf0 arm64 3.18-2+deb13u2 [93.9 kB]
Get:3 http://deb.debian.org/debian trixie/main arm64 iperf3 arm64 3.18-2+deb13u2 [37.3 kB]
Preconfiguring packages ...
Fetched 157 kB in 0s (8866 kB/s)
Selecting previously unselected package libsctp1:arm64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26675 files and directories currently installed.)
Preparing to unpack .../libsctp1_1.0.21+dfsg-1_arm64.deb ...
Unpacking libsctp1:arm64 (1.0.21+dfsg-1) ...
Selecting previously unselected package libiperf0:arm64.
Preparing to unpack .../libiperf0_3.18-2+deb13u2_arm64.deb ...
Unpacking libiperf0:arm64 (3.18-2+deb13u2) ...
Selecting previously unselected package iperf3.
Preparing to unpack .../iperf3_3.18-2+deb13u2_arm64.deb ...
Unpacking iperf3 (3.18-2+deb13u2) ...
Setting up libsctp1:arm64 (1.0.21+dfsg-1) ...
Setting up libiperf0:arm64 (3.18-2+deb13u2) ...
Setting up iperf3 (3.18-2+deb13u2) ...
Processing triggers for libc-bin (2.41-12+deb13u4) ...
[2026-11-15 21:38:48] [OK] Installed iPerf3
[2026-11-15 21:38:48] [INFO] Creating Service
[2026-11-15 21:38:48] [OK] Created Service
[2026-11-15 21:38:49] [INFO] Customizing Container
[2026-11-15 21:38:49] [OK] Customized Container
[2026-11-15 21:38:49] [INFO] Cleaning up
Reading package lists...
Building dependency tree...
Reading state information...
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
[2026-11-15 21:38:50] [OK] Cleaned
🔄 ct/iperf3.sh (arm64 · debian) — update log (17 lines)
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
10.98.0.227
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
  ⏳   Updating iPerf3
  ✔️  Updated iPerf3
📄 ct/iperf3.sh (arm64 · alpine) — install log (63 lines)
[2026-11-15 21:38:32] [INFO] Setting up Container OS
[2026-11-15 21:38:32] [OK] Set up Container OS
[2026-11-15 21:38:32] [OK] Network Connected: 10.98.0.230
[2026-11-15 21:38:36] [OK] IPv4 Internet Connected (TCP reachable; ICMP is filtered)
[2026-11-15 21:38:36] No IPv6 Internet (IPv4 is enough)
[2026-11-15 21:38:36] [OK] Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ )
[2026-11-15 21:38:36] [INFO] Updating Container OS
v3.24.4-84-ge15f85eaef7 [http://dl-cdn.alpinelinux.org/alpine/v3.24/main]
v3.24.4-89-gd4fba016ded [http://dl-cdn.alpinelinux.org/alpine/v3.24/community]
OK: 28572 distinct packages available
OK: 44.7 MiB in 74 packages
[2026-11-15 21:38:37] [OK] Updated Container OS
[2026-11-15 21:38:37] [INFO] Installing iPerf3
(1/2) Installing iperf3 (3.20-r0)
(2/2) Installing iperf3-openrc (3.20-r0)
Executing busybox-1.37.0-r31.trigger
OK: 45.0 MiB in 76 packages
[2026-11-15 21:38:37] [OK] Installed iPerf3
[2026-11-15 21:38:37] [INFO] Creating Service
 * service iperf3 added to runlevel default
 * Caching service dependencies ... [ ok ]
 * Starting iPerf3 ... [ ok ]
[2026-11-15 21:38:37] [OK] Created Service
[2026-11-15 21:38:37] [INFO] Customizing Container
( 1/33) Installing util-linux (2.42.3-r1)
( 2/33) Installing dmesg (2.42.3-r1)
( 3/33) Installing setarch (2.42.3-r1)
( 4/33) Installing libuuid (2.42.3-r1)
( 5/33) Installing libfdisk (2.42.3-r1)
( 6/33) Installing libsmartcols (2.42.3-r1)
( 7/33) Installing skalibs-libs (2.15.0.0-r0)
( 8/33) Installing utmps-libs (0.1.3.3-r0)
( 9/33) Installing util-linux-misc (2.42.3-r1)
(10/33) Installing linux-pam (1.7.1-r2)
(11/33) Installing runuser (2.42.3-r1)
(12/33) Installing mount (2.42.3-r1)
(13/33) Installing losetup (2.42.3-r1)
(14/33) Installing hexdump (2.42.3-r1)
(15/33) Installing uuidgen (2.42.3-r1)
(16/33) Installing blkid (2.42.3-r1)
(17/33) Installing sfdisk (2.42.3-r1)
(18/33) Installing mcookie (2.42.3-r1)
(19/33) Installing agetty (2.42.3-r1)
(20/33) Installing agetty-openrc (0.63.2-r0)
(21/33) Installing wipefs (2.42.3-r1)
(22/33) Installing cfdisk (2.42.3-r1)
(23/33) Installing umount (2.42.3-r1)
(24/33) Installing util-linux-openrc (2.42.3-r1)
(25/33) Installing flock (2.42.3-r1)
(26/33) Installing lsblk (2.42.3-r1)
(27/33) Installing libcap-ng (0.8.5-r2)
(28/33) Installing setpriv (2.42.3-r1)
(29/33) Installing lscpu (2.42.3-r1)
(30/33) Installing logger (2.42.3-r1)
(31/33) Installing partx (2.42.3-r1)
(32/33) Installing fstrim (2.42.3-r1)
(33/33) Installing findmnt (2.42.3-r1)
Executing busybox-1.37.0-r31.trigger
OK: 56.6 MiB in 109 packages
 * service local added to runlevel default
[2026-11-15 21:38:39] [OK] Customized Container
[2026-11-15 21:38:39] [INFO] Cleaning up
[2026-11-15 21:38:39] [OK] Cleaned
🔄 ct/iperf3.sh (arm64 · alpine) — update log (17 lines)
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
10.98.0.230
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  iPerf3
  ⏳   Updating iPerf3
  ✔️  Updated iPerf3

Full logs: workflow run (artifacts result-*). Comment /test to build again.

@CrazyWolf13

Copy link
Copy Markdown
Member

I honestly can't really see the added value of adding iperf3 as a script. I mean it has no webui, provides no real service compared to ollama which has no webui too.

Also I mean it's simply a debian lxc, where you run apt install iperf3 and then run iperf -s, everyone has probably a slightly different testing method to iperf3, some need multiple servers and others multiple streams or whatever. And do you constantly run iperf3 as a service, I think most people run it just from time to time to test.

@michelroegl-brunner

Copy link
Copy Markdown
Member

I alos do not see the benefit of adding this script here.

@leifdavisson

leifdavisson commented Nov 17, 2026 via email

Copy link
Copy Markdown
Author

@CrazyWolf13

Copy link
Copy Markdown
Member

Thanks for the contribution, but I don't think this adds enough value to maintain as dedicated script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants