| #
c8032570 |
| 04-Jun-2022 |
Dimitri Papadopoulos <[email protected]> |
Fix typos not found by codespell
Signed-off-by: Dimitri Papadopoulos <[email protected]>
|
| #
b97df9a9 |
| 29-Apr-2022 |
David Bar-On <[email protected]> |
Add debug level option to --debug
|
|
Revision tags: 3.11 |
|
| #
76bd67f6 |
| 28-Jan-2022 |
Sarah Larsen <[email protected]> |
iperf-3.11 release engineering tasks.
Bump version number, update release notes, rename release notes and tweak markup. Update copyright year.
|
| #
15ec8e6e |
| 15-Jan-2022 |
David Bar-On <[email protected]> |
Check also for legacy connect reply from the server
|
| #
2eace5a9 |
| 08-Jan-2022 |
David Bar-On <[email protected]> |
Fix 1123/1212 - ignore out of order packts during UDP connection in Reverse mode
|
| #
805a4ce1 |
| 11-Nov-2021 |
Bruce A. Mah <[email protected]> |
Consistify string lengths for arguments to warning().
|
| #
a071a8c8 |
| 09-Nov-2021 |
Bruce A. Mah <[email protected]> |
Fix: Avoid spamming stdout (and JSON output) with a warning.
Fixes #1223.
|
| #
e919e8c2 |
| 03-Sep-2021 |
a1346054 <[email protected]> |
trim excess whitespace
|
|
Revision tags: 3.10.1, 3.10 |
|
| #
21581a72 |
| 22-Dec-2020 |
Bruce A. Mah <[email protected]> |
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 <[email protected]> via PR #817.
Co-au
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 <[email protected]> via PR #817.
Co-authored-by: Ben Greear <[email protected]>
show more ...
|
|
Revision tags: 3.9 |
|
| #
223da980 |
| 10-Jul-2020 |
Bruce A. Mah <[email protected]> |
Issue 999 follow up (#1025)
* doc: Add manpage text for --server-bitrate-limit.
While here, normalize the manpage text for all command-line options
that take [KMGT] scaling suffixes (there were
Issue 999 follow up (#1025)
* doc: Add manpage text for --server-bitrate-limit.
While here, normalize the manpage text for all command-line options
that take [KMGT] scaling suffixes (there were about three different
strings in use).
* doc: Bump manpage date.
* fix: Fix printf format string warnings on macOS.
* fix: Fix compatibility definition of PRIu64 in iperf_udp.c to match iperf.h.
show more ...
|
|
Revision tags: 3.8.1, 3.8 |
|
| #
2609dd71 |
| 12-May-2020 |
Bruce A. Mah <[email protected]> |
fix(udp): Properly initialize for the first UDP packet received. (#990)
This fixes a problem where UDP tests between systems with significant
clock skew would register large amounts of jitter at th
fix(udp): Properly initialize for the first UDP packet received. (#990)
This fixes a problem where UDP tests between systems with significant
clock skew would register large amounts of jitter at the start of the
test.
Fixes #842. Analysis done by (and solution inspired by) @davidBar-On.
show more ...
|
| #
1521d9b5 |
| 11-May-2020 |
Bruce A. Mah <[email protected]> |
bug(udp): Fix minor problem in a debug message. (#995)
Fixes #993. Submitted by @davidBar-On.
|
| #
666040bd |
| 16-Nov-2019 |
Xiang Xiao <[email protected]> |
fix hotn?, strcasecmp and timeval isn't defined error
by including arpa/inet.h, strings.h and sys/timer.h
Part of #935.
Change-Id: Ibac8d3a992457f2a7cc10f74b144e3ebe69976d8 Signed-off-by: Xiang Xi
fix hotn?, strcasecmp and timeval isn't defined error
by including arpa/inet.h, strings.h and sys/timer.h
Part of #935.
Change-Id: Ibac8d3a992457f2a7cc10f74b144e3ebe69976d8 Signed-off-by: Xiang Xiao <[email protected]> (cherry picked from commit b9aa6cef43b338666a72bf6425fc88ed7602bce5) Signed-off-by: Bruce A. Mah <[email protected]>
show more ...
|
|
Revision tags: 3.7, 3.6 |
|
| #
cde81d76 |
| 16-May-2018 |
Ben Fox-Moore <[email protected]> |
Add initial portable time abstraction
|
|
Revision tags: 3.5 |
|
| #
c0055199 |
| 23-Feb-2018 |
Bruce A. Mah <[email protected]> |
Fix issue 692 (#705)
Don't count data for tests received after the end of a test.
This prevents is from reporting an incorrect number of bytes
received at the end of the test, which doesn't match
Fix issue 692 (#705)
Don't count data for tests received after the end of a test.
This prevents is from reporting an incorrect number of bytes
received at the end of the test, which doesn't match up with the
sum of the data received during the test intervals.
Log late receives if debugging mode enabled.
Fixes #692.
show more ...
|
|
Revision tags: 3.4 |
|
| #
d88f4cec |
| 08-Nov-2017 |
Philip Prindeville <[email protected]> |
Fix 3.3 build warnings (#664)
* Fix warnings about _GNU_SOURCE being redefined.
Signed-off-by: Philip Prindeville <[email protected]>
* Fix warnings of format-specified mismatching
Fix 3.3 build warnings (#664)
* Fix warnings about _GNU_SOURCE being redefined.
Signed-off-by: Philip Prindeville <[email protected]>
* Fix warnings of format-specified mismatching type
Signed-off-by: Philip Prindeville <[email protected]>
* Simplify endianness checks
Linux can be built with too many types of C run-time library and it's
not reasonable to have to enumerate all of them, especially since at
least one of them (MUSL) goes out of its way to not be easily
detectable.
Instead, leverage autoconf better for Linux/BSD to detect either
<endian.h> or <sys/endian.h> directly.
Signed-off-by: Philip Prindeville <[email protected]>
* Sys headers should not be included directly
There's usually a top-level header which then includes the sys/
descendent.
Signed-off-by: Philip Prindeville <[email protected]>
show more ...
|
|
Revision tags: 3.3, 3.2, 3.2rc1 |
|
| #
b0aff849 |
| 05-Jun-2017 |
Bruce A. Mah <[email protected]> |
Fix a few printf format string warnings seen on macOS / clang. (#593)
|
| #
7f061462 |
| 02-Jun-2017 |
Bruce A. Mah <[email protected]> |
Fix out-of-order / loss counting issues with UDP (#457) (#589)
* Towards issue #457. Try to not count the sequence number
gaps resulting from out-of-order packets as actual losses.
* Put all of
Fix out-of-order / loss counting issues with UDP (#457) (#589)
* Towards issue #457. Try to not count the sequence number
gaps resulting from out-of-order packets as actual losses.
* Put all of the UDP diagnostic output behind the --debug flag.
show more ...
|
| #
c458a115 |
| 30-May-2017 |
Bruce A. Mah <[email protected]> |
Fix -F problems (#588)
Attempt to fix some brokenness in -F from #301.
In some work related to #125, we introduced a bug in which
chunks of a file being read for the -F option were not
complete
Fix -F problems (#588)
Attempt to fix some brokenness in -F from #301.
In some work related to #125, we introduced a bug in which
chunks of a file being read for the -F option were not
completely sent, particularly with TCP sockets. We attempt
to fix this by detecting cases in which not all data passed
to a socket could be actually sent (for example due to full
socket buffers) and preserving that data for future send
iterations.
The ending statistics in the "diskfile" JSON structure were
wrong, and did not properly distinguish between sender-side
and receiver-side statistics. This has been fixed (at least
for the client side).
Specifically mention in the manpage that "iperf -F" is not
a file transfer tool.
show more ...
|
| #
9d7d60ac |
| 17-May-2017 |
Bruce A. Mah <[email protected]> |
Issue 216 (#581)
* Add configurable timeout for the setup of the control connection.
This is specified using the new --connect-timeout option, with an
integer parameter in ms. The iperf3 client w
Issue 216 (#581)
* Add configurable timeout for the setup of the control connection.
This is specified using the new --connect-timeout option, with an
integer parameter in ms. The iperf3 client will wait for this
amount of time for the setup of the control connection to the
server. If this option is not given, the OS default for TCP
connection setup is used. Specifying a smaller connection timeout
allows faster detection of a down / unresponsive iperf3 server.
The implementation uses a variation on the timeout_connect()
function from OpenBSD's netcat utility.
Fixes #216.
show more ...
|
| #
67653543 |
| 05-May-2017 |
Bruce A. Mah <[email protected]> |
Improve / fix comments regarding UDP jitter calculation.
Internal documentation fix only, no functional change.
|
| #
e73821cd |
| 03-May-2017 |
Bruce A. Mah <[email protected]> |
Normalize socket buffer debugging output, put socket buffer sizes in JSON.
These values show up in the start structure as sock_bufsize (requested size), sndbuf_actual (actual SO_SNDBUF value) and rc
Normalize socket buffer debugging output, put socket buffer sizes in JSON.
These values show up in the start structure as sock_bufsize (requested size), sndbuf_actual (actual SO_SNDBUF value) and rcvbuf_actual (actual SO_RCVBUF value). These values are available for both TCP and UDP. Both client and server emit these values in their JSON output for their respective sides, but don't exchange them.
Towards #558.
show more ...
|
|
Revision tags: 3.1.7, 3.1.6, 3.1.5 |
|
| #
1ff12f4c |
| 11-Jan-2017 |
Bruce A. Mah <[email protected]> |
Add 1KB to default UDP socket buffer sizes under certain circumstances.
This fixes a problem observed on FreeBSD and macOS where the MTU on the loopback interface is larger than the default socket b
Add 1KB to default UDP socket buffer sizes under certain circumstances.
This fixes a problem observed on FreeBSD and macOS where the MTU on the loopback interface is larger than the default socket buffer size. We adjusted the socket buffer size upwards to match the UDP payload size, but that's apparently not enough and we ended up dropping packets. This is bad. Add a 1KB fudge factor, which seesm to avoid this problem. Affects UDP tests only, not TCP or SCTP.
Part of #496.
(cherry picked from commit d76198944d210e8a575747d3ddbee41a886a10c9) Signed-off-by: Bruce A. Mah <[email protected]>
show more ...
|
| #
0fd60a36 |
| 10-Jan-2017 |
Bruce A. Mah <[email protected]> |
Issue 496 (#498)
* Dynamically determine an appropriate default UDP send size.
We use the TCP MSS for the control connection as the default UDP
sending length, if the --length parameter is not s
Issue 496 (#498)
* Dynamically determine an appropriate default UDP send size.
We use the TCP MSS for the control connection as the default UDP
sending length, if the --length parameter is not specified for a
UDP test. This computation replaces the former hard-coded 8K
default, which was way too large for non-jumbo-frame Ethernet
networks.
The concept for this solution was adapted from nuttcp. The
iperf3 implementation is pretty easy since we already were
getting the MSS for the control connection anyway (although we
needed to get it slightly earlier in the setup process to be
useful).
Towards issue #496.
While here, s/int/socklen_t/ in one place to fix a compile warning,
and bump a few copyright dates.
* Warn if doing a UDP test and the socket buffer isn't big enough.
This is surprisingly an issue on FreeBSD and macOS, where the MTU
over the loopback interface is actually larger than the default
UDP socket buffer size. In these cases, doing a UDP test over the
loopback interface (with the new UDP defaults) will fail unless a
smaller --length or a larger --window size is set explicitly.
Linux has larger UDP socket buffers by default (much larger than the
largest possible MTU), but even in the case that the socket buffers
are too small to hold an MTU-sized send, the kernel seems to do the
send correctly anyway.
Still working towards a good solution for issue #496.
* Further refinement on UDP buffer size settings.
If the default buffer size on a UDP test can't hold a packet,
then increase the buffer size to be large enough to hold one
packet payload. (If the buffer size was explicitly set, but too
small to hold a packet payload, then warn but don't change the
buffer size.)
Minor code refactoring to...factor out some common code into
a new iperf_udp_buffercheck() function.
Still working towards issue #496.
show more ...
|
| #
a094d9fe |
| 12-Dec-2016 |
Bruce A. Mah <[email protected]> |
Separate out application-level and fair-queueing-based pacing (#488)
* First try to fix pacing issues. Code compiles, lightly run-tested.
Make --bandwidth only control application-level pacing,
Separate out application-level and fair-queueing-based pacing (#488)
* First try to fix pacing issues. Code compiles, lightly run-tested.
Make --bandwidth only control application-level pacing, refecting
behavior of iperf 3.1.2 and earlier.
Add a new --fq-rate that controls only FQ-based per-socket pacing.
A given test can use application-level pacing, FQ pacing, both,
or neither.
Deprecate the --no-fq-socket-pacing option; specifying this generates
a warning and is equivalent to --fq-rate=0.
Towards issue #467 and related to issue #325.
* Move --fq-rate in the help text to be just below --b, tweak wording.
* Sigh. One more tweak on help text.
Some day I probably need to review and rewrite the whole thing.
Still working towards #467.
show more ...
|