Branch: refs/heads/bbr2-testing
Home:
https://github.com/esnet/iperf
Commit: bd1437791a63579d589e9bea7de9250a876a5c97
https://github.com/esnet/iperf/commit/bd1437791a63579d589e9bea7de9250a876a5c97
Author: ralcini <
roberto...@gmail.com>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M docs/invoking.rst
M src/iperf.h
M src/iperf3.1
M src/iperf_api.c
M src/iperf_api.h
M src/iperf_auth.c
M src/iperf_auth.h
M src/iperf_error.c
M src/iperf_locale.c
Log Message:
-----------
Configurable value for time drift between client/server for authentication request issue1065 (#1070)
* Issue 1065
* feat: Allow to configure a custom value for time drift between client/server for authentication
The use case is to support scenarios where it's not possible to enforce sync between client and server times.
* enh: drift redefined with skew
Co-authored-by: Francesco Marino <
francesc...@cybaze.it>
Commit: d3049a60fec5332733a3a8b61a1d46f00878b30c
https://github.com/esnet/iperf/commit/d3049a60fec5332733a3a8b61a1d46f00878b30c
Author: Bruce A. Mah <
bm...@es.net>
Date: 2020-12-01 (Tue, 01 Dec 2020)
Changed paths:
M src/iperf_api.c
M src/iperf_locale.c
Log Message:
-----------
fix: Hide auth diagnostics behind --debug to avoid polluting JSON output. (#1087)
Fixes #1086.
While here, fix wording of an error message.
Commit: 50315e7a1edaa6dfc1694ffe1e342faae41ac6c3
https://github.com/esnet/iperf/commit/50315e7a1edaa6dfc1694ffe1e342faae41ac6c3
Author: David Bar-On <
61089727+d...@users.noreply.github.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M src/iperf_server_api.c
Log Message:
-----------
Closing server prot_listener socket after stream setup failure (#1084)
Making sure the server closes prot_listener socket at the end of a session with a client. Without this change the socket may remain open, for example when there is a failure during the UDP stream establishment because the --window value is too high. Closing the socket was added to cleanup_server() as it seems to handle all cases where the socket may remain open.
Commit: 91c33dcfd08be3c00f7993dfc27c71212d2e9c32
https://github.com/esnet/iperf/commit/91c33dcfd08be3c00f7993dfc27c71212d2e9c32
Author: David Bar-On <
61089727+d...@users.noreply.github.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Bitrate throttling when burst is specified (#1090)
When the -b option specifies a burst value, throttling the bitrate does not work. This is because iperf_check_throttle() does not perform the check when burst value was defined.
This change removes the dependency of iperf_check_throttle() on the burst value and moves that check to the caller of that function. (Except for the call by send_timer_proc() which does not seem to be related to the change.)
Commit: d2a68e08965203c8aed3c456f5476ed1057ba46c
https://github.com/esnet/iperf/commit/d2a68e08965203c8aed3c456f5476ed1057ba46c
Author: Bruce A. Mah <
bm...@es.net>
Date: 2020-12-07 (Mon, 07 Dec 2020)
Changed paths:
M src/iperf3.1
M src/iperf_api.c
Log Message:
-----------
Issue 1079 (#1091)
* docs: Add a few notes about RSA key formats used for auth.
* enh(auth): If we can't read key files, emit appropriate OpenSSL error.
Fixes #1079.
Commit: aeb0b3db1156b28ae33a6850812b0f09b01bfb3c
https://github.com/esnet/iperf/commit/aeb0b3db1156b28ae33a6850812b0f09b01bfb3c
Author: jtluka <
jtl...@redhat.com>
Date: 2020-12-15 (Tue, 15 Dec 2020)
Changed paths:
M src/iperf_server_api.c
Log Message:
-----------
iperf_server_api: start calculating CPU utilization right before TEST_START (#1077)
Fixes issue 1076.
Signed-off-by: Jan Tluka <
jtl...@redhat.com>
Commit: d1260e6f947f06a7d251079521b31d4da2aeb01c
https://github.com/esnet/iperf/commit/d1260e6f947f06a7d251079521b31d4da2aeb01c
Author: Tony Weng <
4243335...@users.noreply.github.com>
Date: 2020-12-21 (Mon, 21 Dec 2020)
Changed paths:
M src/iperf.h
M src/iperf_api.c
M src/iperf_tcp.c
Log Message:
-----------
fix (tcp): Fix behavior with partial sends when using -k with TCP (#1082)
We now only count an attempted send once all of its bytes are sent
(and will perform partial sends if necessary to finish sending all the bytes).
Previously, partial sends were counted as completed, for the purpose
of the -k option.
Commit: 21581a72160c90da1cb3040a1207559e505de981
https://github.com/esnet/iperf/commit/21581a72160c90da1cb3040a1207559e505de981
Author: Bruce A. Mah <
bm...@es.net>
Date: 2020-12-22 (Tue, 22 Dec 2020)
Changed paths:
M Makefile.in
M aclocal.m4
M configure
M
configure.ac
M examples/Makefile.in
M src/Makefile.in
M src/iperf.h
M src/iperf3.1
M src/iperf_api.c
M src/iperf_api.h
M src/iperf_client_api.c
M src/
iperf_config.h.in
M src/iperf_locale.c
M src/iperf_locale.h
M src/iperf_sctp.c
M src/iperf_server_api.c
M src/iperf_udp.c
M src/iperf_util.c
M src/libiperf.3
M src/net.c
M src/net.h
Log Message:
-----------
enh: Support SO_BINDTODEVICE (#1097)
This lets iperf work better with multi-homed machines and
VRF.
Fixes #1089.
Based on a patch by Ben Greear <
gre...@candelatech.com> via PR #817.
Co-authored-by: Ben Greear <
gre...@candelatech.com>
Commit: ce01004017e9f22fb24f0f824e065e319ec34196
https://github.com/esnet/iperf/commit/ce01004017e9f22fb24f0f824e065e319ec34196
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-01-15 (Fri, 15 Jan 2021)
Changed paths:
M src/iperf_server_api.c
Log Message:
-----------
fix: Minor memory leak with -P. (#1103)
For every new connection we saved the name of the congestion
control algorithm, but if there were multiple connections we'd
leak all but the last name.
Fixes #1100.
Commit: d1cfda530fde2e76c9f949eb7ef2314a22814e2f
https://github.com/esnet/iperf/commit/d1cfda530fde2e76c9f949eb7ef2314a22814e2f
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-01-15 (Fri, 15 Jan 2021)
Changed paths:
M LICENSE
M README.md
M docs/conf.py
Log Message:
-----------
chore: Copyright date bumps for 2021.
Commit: be66b575446eda10564428da1eb86cd75f3232c0
https://github.com/esnet/iperf/commit/be66b575446eda10564428da1eb86cd75f3232c0
Author: David Bar-On <
61089727+d...@users.noreply.github.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/iperf.h
M src/iperf_api.c
M src/iperf_api.h
M src/iperf_error.c
M src/iperf_locale.c
M src/iperf_server_api.c
M src/main.c
Log Message:
-----------
Server select timeout to prevent server to get stuck because of client or network errors (#1101)
Commit: fab96c1d9687be909b74bc1d074c1b01c27279ed
https://github.com/esnet/iperf/commit/fab96c1d9687be909b74bc1d074c1b01c27279ed
Author: Wojciech Jowsa <
w.j...@celerway.com>
Date: 2021-02-04 (Thu, 04 Feb 2021)
Changed paths:
M src/iperf3.1
M src/iperf_api.c
M src/iperf_locale.c
M src/main.c
Log Message:
-----------
Enable writing to pidfile in client mode (#1110)
Commit: 8f1efb68dc66f23fe28099f203f5b270988ef625
https://github.com/esnet/iperf/commit/8f1efb68dc66f23fe28099f203f5b270988ef625
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-02-04 (Thu, 04 Feb 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
fix: Don't write trailing NUL to pidfile.
Fixes #1120.
Commit: 4e526a1a0b30fe0be58855957e013c07d89815c2
https://github.com/esnet/iperf/commit/4e526a1a0b30fe0be58855957e013c07d89815c2
Author: Hamid Anvari <
hr.a...@gmail.com>
Date: 2021-02-04 (Thu, 04 Feb 2021)
Changed paths:
M src/iperf_api.c
M src/iperf_api.h
Log Message:
-----------
API interface for setting/getting congestion control (#1036) (#1112)
Same restrictions/compatibility applies as
the CLI -C/--congestion options.
(Linux and FreeBSD only)
Fixes #1036
Commit: de3380149908ea5bb222bff0245fb2a315801762
https://github.com/esnet/iperf/commit/de3380149908ea5bb222bff0245fb2a315801762
Author: Hamid Anvari <
hr.a...@gmail.com>
Date: 2021-02-05 (Fri, 05 Feb 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Fix iperf_send() termination test in bytes/blocks mode (#1113)
In iperf_send() function, the check for termination test
in bytes/blocks mode is at the end of the iteration loop
for multisend (outer loop) and streams (inner loop).
If for any iteration of multisend (outer) loop bytes/blocks
sent reaches the desired limit, it still continues to send
data until the loop is exhausted. (The `break;` command does not
help, since it is already inside the streams (inner) loop).
This is a simple fix which brings the condition check to the
beginning of the inner loop, so it will skip the iteration if
the bytes/blocks count is already reached the target; hence
avoiding to send more data to the network.
Commit: 410899785e7485c2ae7c2e3337fe53f0d40bd689
https://github.com/esnet/iperf/commit/410899785e7485c2ae7c2e3337fe53f0d40bd689
Author: Hamid Anvari <
hr.a...@gmail.com>
Date: 2021-02-05 (Fri, 05 Feb 2021)
Changed paths:
M src/iperf_client_api.c
Log Message:
-----------
Fix/Optimize test termination condition check (#1114)
`test->done` represents the test completion.
In some modes, duration-based (-t) test, and file-transfer (-F) in particular,
the `test->done` is set during the timeout handler or file-transfer functions.
For such configurations, and in general, `test->done` being set is sufficient
condition for terminating the test.
This commit generalizes the condition check to `test->done`,
removing the clause which limtis this condition case to duration-based test only.
Commit: 25f50c23a750bbf22d4a2d8e1ce6dab743e9fe58
https://github.com/esnet/iperf/commit/25f50c23a750bbf22d4a2d8e1ce6dab743e9fe58
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-02-08 (Mon, 08 Feb 2021)
Changed paths:
M src/iperf_api.c
M src/iperf_server_api.c
M src/main.c
Log Message:
-----------
Issue 1118 (#1121)
* fix: Correctly emit JSON for --server --json.
Put extra error diagnostic information behind --verbose, to avoid putting
extra "error" members in JSON output.
Fixes #1118.
Commit: 49a5771af1a49a187bdd97614f1e77b6abbcc5bf
https://github.com/esnet/iperf/commit/49a5771af1a49a187bdd97614f1e77b6abbcc5bf
Author: David Bar-On <
61089727+d...@users.noreply.github.com>
Date: 2021-02-16 (Tue, 16 Feb 2021)
Changed paths:
M aclocal.m4
M configure
M
configure.ac
M src/iperf.h
M src/iperf3.1
M src/iperf_api.c
M src/iperf_api.h
M src/
iperf_config.h.in
M src/iperf_error.c
M src/iperf_locale.c
M src/iperf_util.c
Log Message:
-----------
IP don't fragment support (#1119)
Adds an --dont-fragment flag that sets the DF flag in the header for UDP/IPv4 tests.
Co-authored-by: root <ro...@DESKTOP-L81E90U.localdomain>
Co-authored-by: Bruce A. Mah <
bm...@es.net>
Commit: e22d530e2f7939481fa9a0c4f6374450c5dc48ff
https://github.com/esnet/iperf/commit/e22d530e2f7939481fa9a0c4f6374450c5dc48ff
Author: David Bar-On <
61089727+d...@users.noreply.github.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M src/net.c
Log Message:
-----------
fix: Remove the inclusion of tcp.h as it is included by iperf.h (#1122)
This fixes a build breakage on Alpine Linux, where tcp.h was explicitly included in src/net.c before _GNU_SOURCE was defined in iperf.h.
Commit: 8ffe72e24c3a55772e8ec52bc038127fc74d52d0
https://github.com/esnet/iperf/commit/8ffe72e24c3a55772e8ec52bc038127fc74d52d0
Author: David Bar-On <
61089727+d...@users.noreply.github.com>
Date: 2021-02-26 (Fri, 26 Feb 2021)
Changed paths:
M src/iperf.h
M src/iperf_api.c
M src/iperf_api.h
M src/iperf_client_api.c
M src/iperf_error.c
M src/iperf_locale.c
M src/iperf_server_api.c
Log Message:
-----------
enh: Add --rcv-timeout option (#1125)
Enhancement to PR #1101 - add --rcv-timeout option to allow setting the timeout for receiving packet from the sender in a running test, instead of the constant 120 seconds set in #1101. This is to allow short timeout, so the server will not be "busy" for long time doing nothing. Also, the resolution is set to ms (with minimum of 100ms), as at least in fast networks that may be required.
Since both the server and the client can be a sender, the option is allowed for both. The server setting is for all tests - the client is not sending its --rcv-timeout setting to the server.
While changing the help message, few printf constants from other help lines were changed to parameters.
Commit: de006004d4f431905cae311ddd2ca9a23b78669a
https://github.com/esnet/iperf/commit/de006004d4f431905cae311ddd2ca9a23b78669a
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-02-26 (Fri, 26 Feb 2021)
Changed paths:
M src/iperf3.1
M src/iperf_error.c
M src/iperf_locale.c
M src/iperf_server_api.c
Log Message:
-----------
enh: Wording fixes in various messages, document --rcv-timeout in manpage.
Follow-up to #1123.
Pet copyrights where appropriate.
Commit: 53a68308bad09a6a7c2758acfe6051123a865c68
https://github.com/esnet/iperf/commit/53a68308bad09a6a7c2758acfe6051123a865c68
Author: David Bar-On <
61089727+d...@users.noreply.github.com>
Date: 2021-03-15 (Mon, 15 Mar 2021)
Changed paths:
M src/iperf_client_api.c
M src/iperf_server_api.c
Log Message:
-----------
Fix issue 1061 - not fail in WSL1 when cannot get default congestion alg name (#1126)
Commit: 44c6fed2b6ae1f053efb66be4b186dee0143eb53
https://github.com/esnet/iperf/commit/44c6fed2b6ae1f053efb66be4b186dee0143eb53
Author: David Bar-On <
61089727+d...@users.noreply.github.com>
Date: 2021-04-09 (Fri, 09 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Fix issue 1129 for not sending stat to to undefined socket (#1132)
This fix avoids trying to do operations on a socket that was never opened successfully.
Commit: 8464c3c2bc22bfdc8a46fc44133dda7cd90ca2ba
https://github.com/esnet/iperf/commit/8464c3c2bc22bfdc8a46fc44133dda7cd90ca2ba
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-09 (Fri, 09 Apr 2021)
Changed paths:
M src/iperf_client_api.c
Log Message:
-----------
fix: Don't try to close the control connection if it never got opened. (#1136)
This prevents an "undefined socket" error, which can be incorrect if
the control connection didn't get opened due to a (for example)
"connection refused" type error.
This can be tested by running iperf3 in client mode and pointing it
towards a non-existent (or not-running) server.
Fixes #1129 (#1132 was an earlier, partial fix).
Commit: 9e244bb97fbbe084549204ac2b0fa1e69af3e485
https://github.com/esnet/iperf/commit/9e244bb97fbbe084549204ac2b0fa1e69af3e485
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-09 (Fri, 09 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
fix: Fix a couple of buffer overrun hazards.
Pointed out by @berkakinci.
Fixes #1134.
Commit: f9bc60895765473709757ff382ec1f4253a5b714
https://github.com/esnet/iperf/commit/f9bc60895765473709757ff382ec1f4253a5b714
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
fix: Do a better job of counting bytes in iperf_printf.
Commit: 528cea5d540d088aedb8a58f09edeba57f2d471a
https://github.com/esnet/iperf/commit/528cea5d540d088aedb8a58f09edeba57f2d471a
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
enh: Move iperf_printf's buffer off the stack.
Commit: c3578291ca4bf5216ec979908b226320be3bdb1d
https://github.com/esnet/iperf/commit/c3578291ca4bf5216ec979908b226320be3bdb1d
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Make sure we don't pass in a negative buffer size.
In theory this check should always succeed, given the relative
buffer sizes as currently coded.
Commit: 27695dc4d7274adc6f8ea5db42515f741e8dff18
https://github.com/esnet/iperf/commit/27695dc4d7274adc6f8ea5db42515f741e8dff18
Author: David Bar-On <
61089727+d...@users.noreply.github.com>
Date: 2021-04-13 (Tue, 13 Apr 2021)
Changed paths:
M src/iperf_server_api.c
Log Message:
-----------
enh: do not fail when new connection is refused during a running test (#1138)
Fixes #1135.
Commit: 50638f60cea6d39c5cc29cab7689707c5f712a96
https://github.com/esnet/iperf/commit/50638f60cea6d39c5cc29cab7689707c5f712a96
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-13 (Tue, 13 Apr 2021)
Changed paths:
M src/iperf_server_api.c
Log Message:
-----------
fix: Follow-up commit for #1138 to fix a couple misspellings.
No functional changes.
Commit: 1e33e72152fb2f25beb711c25d055079c5f54f6c
https://github.com/esnet/iperf/commit/1e33e72152fb2f25beb711c25d055079c5f54f6c
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-14 (Wed, 14 Apr 2021)
Changed paths:
M src/iperf_client_api.c
M src/iperf_server_api.c
M src/iperf_tcp.c
Log Message:
-----------
fix: Handle correctly some errors on initial client connect. (#1139)
This is a mostly-cosmetic reimplementation of pull request #1128.
Original commit log:
Fix two issues that caused an active TCP test to terminate if a new
connection request was received while in streams creation phase.
One issue was in iperf_tcp_accept() - after identifying that the cookies
of the new connection if from a new client, error was returned which
caused the active test to terminate. The other issue was in
iperf_run_server() where congestion alg was set for the new client,
although the stream to it was already closed by iperf_tcp_accept().
That also cause the active test to terminate.
Another minor issue that was fixed is that after a client received a
failure state (negative state) from the server, iperf_client_end()
still tried to send back IPERF_DONE to the server. That caused the
client to issue failure message of "unable to send control message:
Connection reset by peer" instead of "the server is busy running a test".
Originally submitted by: @davidBar-On
Commit: 670a596f570c03ea28204ce49ddca3331dd64179
https://github.com/esnet/iperf/commit/670a596f570c03ea28204ce49ddca3331dd64179
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-14 (Wed, 14 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Merge pull request #1137 from esnet/issue-1134
Commit: ac5fad17a9f2f52514d103a620bdef38cdbecfba
https://github.com/esnet/iperf/commit/ac5fad17a9f2f52514d103a620bdef38cdbecfba
Author: Bruce A. Mah <
bm...@kitchenlab.org>
Date: 2021-04-14 (Wed, 14 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Revert "fix: Fix a couple of buffer overrun hazards."
Commit: c499087116090ac1b4baf5212ad1f1cc83da8217
https://github.com/esnet/iperf/commit/c499087116090ac1b4baf5212ad1f1cc83da8217
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-14 (Wed, 14 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Merge pull request #1140 from esnet/revert-1137-issue-1134
Revert "fix: Fix a couple of buffer overrun hazards."
Commit: 35a3ed3fb0f4a998f7f43328a67112a799c05ea1
https://github.com/esnet/iperf/commit/35a3ed3fb0f4a998f7f43328a67112a799c05ea1
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-14 (Wed, 14 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
fix: Fix a couple of buffer overrun hazards.
Pointed out by @berkakinci.
Fixes #1134.
(cherry picked from commit 9e244bb97fbbe084549204ac2b0fa1e69af3e485)
Signed-off-by: Bruce A. Mah <
bm...@es.net>
Commit: 9e2006e2f0339455dc5c712df945ddf13e079502
https://github.com/esnet/iperf/commit/9e2006e2f0339455dc5c712df945ddf13e079502
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-14 (Wed, 14 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
fix: Do a better job of counting bytes in iperf_printf.
Related to #1134.
(cherry picked from commit f9bc60895765473709757ff382ec1f4253a5b714)
Signed-off-by: Bruce A. Mah <
bm...@es.net>
Commit: 6b266c79e63a80ff60e17f0781a4ff1ae36feaf4
https://github.com/esnet/iperf/commit/6b266c79e63a80ff60e17f0781a4ff1ae36feaf4
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-14 (Wed, 14 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
enh: Move iperf_printf's buffer off the stack.
(cherry picked from commit 528cea5d540d088aedb8a58f09edeba57f2d471a)
Signed-off-by: Bruce A. Mah <
bm...@es.net>
Commit: 466f4c187f854d03ef63ed3a586a4085b4b38470
https://github.com/esnet/iperf/commit/466f4c187f854d03ef63ed3a586a4085b4b38470
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-14 (Wed, 14 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Make sure we don't pass in a negative buffer size.
In theory this check should always succeed, given the relative
buffer sizes as currently coded.
Suggested by @grigorescu
Related to #1134.
(cherry picked from commit c3578291ca4bf5216ec979908b226320be3bdb1d)
Signed-off-by: Bruce A. Mah <
bm...@es.net>
Commit: f4a114652ffa498c66f7b994095573dac5bd2429
https://github.com/esnet/iperf/commit/f4a114652ffa498c66f7b994095573dac5bd2429
Author: Hamid Anvari <
hr.a...@gmail.com>
Date: 2021-04-16 (Fri, 16 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
diskfile_send() sent data capped at file-size
Issue: `diskfile_send()` unconditional call to `sp->snd2`
would result in sending full buffer size everytime,
regardless of the file size.
Fix: The function updated to check for end-of-file (reading 0 bytes)
and,
1. set `sp->pending_size` to appropriate data length available to be sent
2. check for end condition and avoid sending data more than file size.
Note: The fix is only for the maximum cap on the data size sent on the network.
If other parameters (-t, -n, etc.) yield smaller size or shorter time then needed,
the file will still be partially sent to the network.
Commit: 787919c4b3614b28f45587753f3a778a0157110c
https://github.com/esnet/iperf/commit/787919c4b3614b28f45587753f3a778a0157110c
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-04-16 (Fri, 16 Apr 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
fix: Handle a corner case more gracefully.
If the buffer happens to be holding exactly a sending chunk size,
we no longer arbitrarily quit.
While here, use equivalent, easier-to-read tests in a couple places.
Discussed with @hanvari
Follow-up to #1115.
Commit: 2ec43d12615b75dc7c19776c85929a3539bb0507
https://github.com/esnet/iperf/commit/2ec43d12615b75dc7c19776c85929a3539bb0507
Author: David Bar-On <
david....@gmail.com>
Date: 2021-05-20 (Thu, 20 May 2021)
Changed paths:
M src/iperf_client_api.c
Log Message:
-----------
Fix issue #1143 - make sure terminating error message is inside the JSON output
Commit: 47985d7fc4d33ee869db1507d681ef5da271c984
https://github.com/esnet/iperf/commit/47985d7fc4d33ee869db1507d681ef5da271c984
Author: Shuo Chen <
chen...@chenshuo.com>
Date: 2021-05-21 (Fri, 21 May 2021)
Changed paths:
M configure
M
configure.ac
M src/iperf.h
M src/iperf_api.c
M src/iperf_api.h
M src/
iperf_config.h.in
M src/tcp_info.c
Log Message:
-----------
Add tcp_info.snd_wnd to JSON output.
tcp_info.snd_wnd is available on FreeBSD and NetBSD since TCP_INFO was
added. It was added to Linux 5.4 in late 2019 and becomes available
in Ubuntu 20.04 and Debian 11.
Tested on:
* Debian 11 running on x86-64 with this field.
* Debian 10 armv7 running on Raspberry Pi 2 without this field.
* NetBSD 9.2 armv7 running on Raspberry Pi 3 with this field.
* FreeBSD 13 aarch64 running on Raspberry Pi 4 with this field.
Commit: 318fbf2e6247a3b02bf73ce620e00ce9da90e4be
https://github.com/esnet/iperf/commit/318fbf2e6247a3b02bf73ce620e00ce9da90e4be
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-05-21 (Fri, 21 May 2021)
Changed paths:
M
configure.ac
Log Message:
-----------
chore: autoupdate
Commit: e479d607e17a62f6073541de6c4843f2403e29a0
https://github.com/esnet/iperf/commit/e479d607e17a62f6073541de6c4843f2403e29a0
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-05-21 (Fri, 21 May 2021)
Changed paths:
M Makefile.in
M aclocal.m4
M configure
M examples/Makefile.in
M src/Makefile.in
M src/
iperf_config.h.in
Log Message:
-----------
chore: Regen.
Commit: d8d827455d3ea4eddf66d9695ce1fda351fdfc2e
https://github.com/esnet/iperf/commit/d8d827455d3ea4eddf66d9695ce1fda351fdfc2e
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-05-26 (Wed, 26 May 2021)
Changed paths:
M RELNOTES.md
M configure
M
configure.ac
M src/libiperf.3
Log Message:
-----------
Release engineering changes for iperf-3.10 (#1151)
* Draft release notes for iperf-3.10.
* iperf-3.10 version number bumps.
* Update using autoupdate-2.71 from Xcode 12 on macOS Big Sur.
* Regen.
* docs: Add release notes for recent changes.
Commit: c159c741243441be84f91d3130cbeef1e1d579e8
https://github.com/esnet/iperf/commit/c159c741243441be84f91d3130cbeef1e1d579e8
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-05-26 (Wed, 26 May 2021)
Changed paths:
M RELNOTES.md
Log Message:
-----------
docs: Finalize iperf-3.10 release date.
Commit: aadd6a6a5a2ad51356333d42993a9ed03f2e540c
https://github.com/esnet/iperf/commit/aadd6a6a5a2ad51356333d42993a9ed03f2e540c
Author: Bruce A. Mah <
bm...@kitchenlab.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M docs/conf.py
M docs/news.rst
Log Message:
-----------
docs: Update for iperf-3.10.
Commit: d4f8999e6b55cff486e80002be21f21e341c92b8
https://github.com/esnet/iperf/commit/d4f8999e6b55cff486e80002be21f21e341c92b8
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M docs/invoking.rst
Log Message:
-----------
docs: Update for iperf-3.10 manpage.
Commit: 8416820a3b5d1f5c8900be10f7aef2c0e9a10b61
https://github.com/esnet/iperf/commit/8416820a3b5d1f5c8900be10f7aef2c0e9a10b61
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M docs/conf.py
M docs/news.rst
Log Message:
-----------
Merge branch 'master' of github.com:esnet/iperf
Commit: 8a8c7edcc3f6e755df116e1c75ae41c8c3cdc0e8
https://github.com/esnet/iperf/commit/8a8c7edcc3f6e755df116e1c75ae41c8c3cdc0e8
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
M
configure.ac
Log Message:
-----------
fix: Updates for autoconf-2.71 (fix #1154) (#1155)
* Reimplement a number of socket option tests for autoconf-2.71.
* Reimplement configure test for IP DF.
* Use AC_PREREQ. Configuration scripts must be rebuilt with autoconf-2.71 or newer.
* Removed obsolete/unneeded tests and in general improve compatibility with autoconf-2.71.
Commit: 702db979c57d807147a405313c92997cbef5f6b0
https://github.com/esnet/iperf/commit/702db979c57d807147a405313c92997cbef5f6b0
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
M Makefile.in
M aclocal.m4
M configure
M examples/Makefile.in
M src/Makefile.in
M src/
iperf_config.h.in
Log Message:
-----------
Chore: regen.
Commit: 7f02c6f07906db01272a4570805ddad356047666
https://github.com/esnet/iperf/commit/7f02c6f07906db01272a4570805ddad356047666
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
M RELNOTES.md
M
configure.ac
Log Message:
-----------
Releng 3.10.1 (#1156)
Version number bumps and release notes for iperf-3.10.1.
Commit: 169b0d9b4e360646b8562d3395d94cc6c609e799
https://github.com/esnet/iperf/commit/169b0d9b4e360646b8562d3395d94cc6c609e799
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
M configure
Log Message:
-----------
chore: Regen.
Commit: 3b31c4b6ac40481fb6057ed75b8dd6af9c150b34
https://github.com/esnet/iperf/commit/3b31c4b6ac40481fb6057ed75b8dd6af9c150b34
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
M docs/conf.py
M docs/news.rst
Log Message:
-----------
docs: Update for iperf-3.10.1.
Commit: 36a094d4030e2f678a8b846f8df07d4e738e003f
https://github.com/esnet/iperf/commit/36a094d4030e2f678a8b846f8df07d4e738e003f
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-06-29 (Tue, 29 Jun 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Remove fsync(2) call after every write to a receiving --file. (#1176)
This removes a performance pessimization that wasn't really
needed in the first place.
Fixes #1159.
Commit: 584a8d54927d2ac9dd528e67343716a09bd777e5
https://github.com/esnet/iperf/commit/584a8d54927d2ac9dd528e67343716a09bd777e5
Author: TheRealDJ <
d...@djsnet.org>
Date: 2021-06-30 (Wed, 30 Jun 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Test bitrate (--bitrate) added to JSON output in {test}{test_start} (#1168)
Fixes #1167.
Commit: b043b4e2454ad1b856aa0c10fa1dd2af34897569
https://github.com/esnet/iperf/commit/b043b4e2454ad1b856aa0c10fa1dd2af34897569
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-06-30 (Wed, 30 Jun 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
fix: Consistently print target_bandwidth in the JSON start section. (#1177)
Previously we only did this for TCP tests with non-default -b.
Follow-on commit to #1168 and #776.
Commit: e65803672d9029be91c904f753e93afa611c2fb5
https://github.com/esnet/iperf/commit/e65803672d9029be91c904f753e93afa611c2fb5
Author: Hamid Anvari <
hr.a...@gmail.com>
Date: 2021-07-07 (Wed, 07 Jul 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Auto adjustment of test-end condition for file-transfer
In file transfer mode (-F), if no test-end condition is set,
(bytes, blocks, duration), it will automatically adjsut it to
file size (in bytes).
Commit: ba0dad316048fc658179b6b176ef0fe518a173f3
https://github.com/esnet/iperf/commit/ba0dad316048fc658179b6b176ef0fe518a173f3
Author: Hamid Anvari <
hr.a...@gmail.com>
Date: 2021-07-07 (Wed, 07 Jul 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
handling possible stat() error
Commit: 26fd923448f37f3535ffa2c3366fc427fa03ead0
https://github.com/esnet/iperf/commit/26fd923448f37f3535ffa2c3366fc427fa03ead0
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-07-08 (Thu, 08 Jul 2021)
Changed paths:
M src/iperf3.1
M src/iperf_locale.c
Log Message:
-----------
docs: Update documentation for -w to reflect what it actually does.
Fixes #1175.
Commit: d83ffa33702759f0f905dbae82b35a14666fca88
https://github.com/esnet/iperf/commit/d83ffa33702759f0f905dbae82b35a14666fca88
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-07-09 (Fri, 09 Jul 2021)
Changed paths:
M
configure.ac
Log Message:
-----------
Version number bump for post-3.10.1.
Commit: 75bd9fc951aaebc1c104f8fbbf6e84d4cae48c77
https://github.com/esnet/iperf/commit/75bd9fc951aaebc1c104f8fbbf6e84d4cae48c77
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-07-09 (Fri, 09 Jul 2021)
Changed paths:
M configure
Log Message:
-----------
Regen.
Commit: 3f4dc88e4162347c3e21d028b2b51e4dc199d7cb
https://github.com/esnet/iperf/commit/3f4dc88e4162347c3e21d028b2b51e4dc199d7cb
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-07-09 (Fri, 09 Jul 2021)
Changed paths:
M .travis.yml
Log Message:
-----------
Add FreeBSD builds to Travis CI build matrix.
Commit: 0d078c4a1d0f18353237df2d0a5ca290ede4f4ab
https://github.com/esnet/iperf/commit/0d078c4a1d0f18353237df2d0a5ca290ede4f4ab
Author: DJ Breuer (dbreue200) <
Daniel_B...@cable.comcast.com>
Date: 2021-07-16 (Fri, 16 Jul 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Added {end}{sum_sent} and {end}{sum_received} to UDP JSON output
Commit: 1b577aea91b79286dbcc523709f66824ba0c43e2
https://github.com/esnet/iperf/commit/1b577aea91b79286dbcc523709f66824ba0c43e2
Author: Bruce A. Mah <
bm...@es.net>
Date: 2021-07-16 (Fri, 16 Jul 2021)
Changed paths:
M src/iperf_api.c
Log Message:
-----------
Minor editorial changes to comments from PR #1174.
No functional changes.
Commit: ed770516b1411d98b688a689b86ac9fbc8c5594c
https://github.com/esnet/iperf/commit/ed770516b1411d98b688a689b86ac9fbc8c5594c
Author: Brian Tierney <
blti...@gmail.com>
Date: 2021-07-22 (Thu, 22 Jul 2021)
Changed paths:
M src/iperf_client_api.c
Log Message:
-----------
version that only applies -C flag to even numbered streams, and leave the others as the system default
Commit: 3d50582e327fa909f20b4b3e0d11450f5506a2d2
https://github.com/esnet/iperf/commit/3d50582e327fa909f20b4b3e0d11450f5506a2d2
Author: Brian Tierney <
blti...@gmail.com>
Date: 2021-07-22 (Thu, 22 Jul 2021)
Changed paths:
M src/iperf_tcp.c
Log Message:
-----------
added random sleep
Commit: 1ee36f31c847dad90a17a784994bf077f35cc15b
https://github.com/esnet/iperf/commit/1ee36f31c847dad90a17a784994bf077f35cc15b
Author: Brian Tierney <
tie...@nersc-tbn-1.testbed100.es.net>
Date: 2021-07-22 (Thu, 22 Jul 2021)
Changed paths:
M src/iperf_client_api.c
M src/iperf_tcp.c
Log Message:
-----------
add a sleep of 1 second to even numbered streams for CC testing
Commit: 053332363f150ab6dd6e772bb2d16d10b19f652d
https://github.com/esnet/iperf/commit/053332363f150ab6dd6e772bb2d16d10b19f652d
Author: Brian Tierney <
blti...@gmail.com>
Date: 2021-07-22 (Thu, 22 Jul 2021)
Changed paths:
M src/iperf_client_api.c
Log Message:
-----------
removed sleep, as it made no difference
Commit: 8a743c4c6940be3077f89a6add9f660245b496c8
https://github.com/esnet/iperf/commit/8a743c4c6940be3077f89a6add9f660245b496c8
Author: Brian Tierney <
blti...@gmail.com>
Date: 2021-07-22 (Thu, 22 Jul 2021)
Changed paths:
Log Message:
-----------
Merge branch 'bbr2-testing' of
https://github.com/esnet/iperf into bbr2-testing
Compare:
https://github.com/esnet/iperf/compare/dbd647105f7d...8a743c4c6940