Skip to content

Conversation

@manedurphy
Copy link
Contributor

@manedurphy manedurphy commented Nov 19, 2025

PLEASE NOTE the following text from the iperf3 license. Submitting a
pull request to the iperf3 repository constitutes "[making]
Enhancements available...publicly":

You are under no obligation whatsoever to provide any bug fixes, patches, or
upgrades to the features, functionality or performance of the source code
("Enhancements") to anyone; however, if you choose to make your Enhancements
available either publicly, or directly to Lawrence Berkeley National
Laboratory, without imposing a separate written license agreement for such
Enhancements, then you hereby grant the following license: a non-exclusive,
royalty-free perpetual license to install, use, modify, prepare derivative
works, incorporate into other computer software, distribute, and sublicense
such enhancements or derivative works thereof, in binary and source code form.

The complete iperf3 license is available in the LICENSE file in the
top directory of the iperf3 source tree.

  • Version of iperf3 (or development branch, such as master or
    3.1-STABLE) to which this pull request applies: master

  • Issues fixed (if any): N/A

  • Brief description of code changes (suitable for use as a commit message):

Accepted Test
# Server
./src/iperf3 --server --server-max-bytes 50M
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 127.0.0.1, port 43444
[  5] local 127.0.0.1 port 5201 connected to 127.0.0.1 port 43458
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  50.0 MBytes   419 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  50.0 MBytes   419 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201 (test #2)
-----------------------------------------------------------

# Client
./src/iperf3 --client 127.0.0.1 --bytes 50M
Connecting to host 127.0.0.1, port 5201
[  5] local 127.0.0.1 port 43458 connected to 127.0.0.1 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  50.0 MBytes   419 Mbits/sec    0    639 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-1.00   sec  50.0 MBytes   419 Mbits/sec    0            sender
[  5]   0.00-1.00   sec  50.0 MBytes   419 Mbits/sec                  receiver

iperf Done.
Rejected Test
# Server
./src/iperf3 --server --server-max-bytes 50M
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
iperf3: error - client's requested bytes exceeds the server's maximum permitted limit
-----------------------------------------------------------
Server listening on 5201 (test #2)
-----------------------------------------------------------

# Client
./src/iperf3 --client 127.0.0.1 --bytes 52M
Connecting to host 127.0.0.1, port 5201
iperf3: error - client's requested bytes exceeds the server's maximum permitted limit

@bmah888
Copy link
Contributor

bmah888 commented Dec 1, 2025

Thanks for the PR! We'll take a look at it.

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