Skip to content

Conversation

@Alchemichai
Copy link

📦 Package Details

Maintainer: @guidosarducci

Description:
speedtest-netperf provides a quick and easy way to test a network's performance under high loads by creating multiple instances of netperf and pinging to check for latency changes under load.

netperf servers can now optionally have a passphrase. The default "netperf.bufferbloat.net/" uses a rotating password that is listed on a webpage hosted on the same domain. Right now, netperf -H netperf.bufferbloat.net (which speedtest-netperf uses by default) throws "recv_response: partial response received: 0 bytes". As a result, the output of speedtest-netperf.sh -s contains very little data.

An optional -Z or --passphrase option has been added to speedtest-netperf.sh which is passed to the -Z option of netperf. The -Z option has been added to usage instructions in script and README.md
Warnings have been put in the script's error output and in the README.md to check the server's web page for a passphrase.


🧪 Run Testing Details

  • OpenWrt Version: 24.10.4
  • OpenWrt Target/Subtarget: mediatek/filogic
  • OpenWrt Device: BPI-R4

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

@GeorgeSapkin
Copy link
Member

Your commit should start with the subject and end with the sign-off, not the other way around. You commit message lines should be less than 75 characters long.

Comment on lines +461 to +465
-Z|--passphrase)
case "$2" in
"") echo "Missing passphrase" ; exit 1 ;;
*) PASSPHRASE="$2" ; shift 2 ;;
esac ;;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this check work if passphrase is not the last argument, and instead of a passphrase, $2 is the next argument instead? E.g. --passphrase --ping. It looks like this applies to the rest of the arguments as well.

Netperf servers can now optionally have a passphrase for use.
The default "netperf.bufferbloat.net/" uses a rotating password that is
listed on a webpage hosted on the same domain.
Right now, "netperf -H netperf.bufferbloat.net" (the default host)
throws "recv_response: partial response received: 0 bytes".
As a result, the output of "speedtest-netperf.sh -s" is inaccurate.

An optional -Z/--passphrase option has been added to speedtest-netperf.sh
which is passed to the -Z option of netperf.

The -Z option has been added to usage instructions in script and README.md

Warnings have been put in the script's error output and in the README.md
to check the server's web page for a passphrase.

Signed-off-by: Chris Swingle <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants