1
1

929 Коммитов

Автор SHA1 Сообщение Дата
Bruce A. Mah
f57d942c3a
Add to FAQ an entry about BSODs under Windows 7.
This question has come up a few times, so even though iperf3
doesn't officially support any Windows platform, I'm putting
this in here.  Thanks to @ijspzpt for the references.
Addresses #590 and possibly #546.
2017-10-17 10:32:19 -07:00
Bruce A. Mah
24da2caa09 Fix memory leak introduced in 1460aa3433769db1f5660e7819b669e5414e9b42. (#652)
Pointed out by:  @pprindeville
Should have been found by:  @bmah888
2017-10-13 11:01:06 -07:00
Bruce A. Mah
d5d364a26e
Fix a Sphinx warning. 2017-10-12 14:14:51 -07:00
Bruce A. Mah
f016bdc4c0
Merge branch 'master' of github.com:/esnet/iperf 2017-10-12 10:57:24 -07:00
Bruce A. Mah
98fb0b80f1
Update RHEL and CentOS version numbers to reflect reality. 2017-10-12 10:53:06 -07:00
Bruce A. Mah
835ec5f3d8
Add a FAQ entry for generating a statically-linked executable.
(With directions tested on CentOS 7 and FreeBSD 11.)
Inspired by discussion in #632.
2017-10-12 10:49:35 -07:00
ralcini
1460aa3433 fix for https://github.com/esnet/iperf/issues/650 (#651)
Reset authentication token between tests.  Fixes #650.
2017-10-11 14:03:57 -07:00
Bruce A. Mah
b5640ac6c2 Clear TOS value when resetting test parameters. (#647)
This addresses a problem where the --tos parameter would incorrectly
"stick" on the server, causing wrong TOS values to be inserted into
packets during --reverse tests.  Fixes #639.
2017-10-11 12:10:11 -07:00
Bruce A. Mah
720a0a3e63 Allow the client to pass a duration of 0 to the server. (#648)
Seems to fix #645.
2017-10-11 11:05:55 -07:00
Bruce A. Mah
25f5947512 Fix a problem formatting very large numbers. (#642)
Avoid walking off the end of an array when trying to format a number larger than 1000T.

Motivated by #641, as reported by @shingchuang, but slightly
reimplemented.
2017-10-04 10:15:19 -07:00
Bruce A. Mah
2bc3d2ee5d Merge pull request #646 from wmbr/patch-1
Delete outdated comment
2017-10-04 09:46:30 -07:00
Malte
b2900fd710 Delete outdated comment
This comment became outdated with cba8584b2
2017-10-04 02:09:30 +02:00
Bruce A. Mah
cd5d89d36d Merge pull request #640 from esnet/issue-604
Two fixes for a warning for possibly-too-large UDP packets.

1.  Make sure we have a valid TCP MSS on the path when comparing
the UDP block size.

2.  Fix a redundant "warning".

This should fix a bug observed on Windows but not (so far) on any
UNIX-like platforms.  Fixes #604.
2017-09-20 09:23:12 -07:00
Bruce A. Mah
ea72479856
Add Travis CI integration with ESnet's Slack. 2017-09-19 10:43:34 -07:00
Bruce A. Mah
ca954c7668
Reverse the order of tests for better legibility and logical sense.
Suggested by @pprindeville.
2017-09-19 09:14:24 -07:00
Bruce A. Mah
d6a6751746
Two fixes for a warning for possibly-too-large UDP packets.
1.  Make sure we have a valid TCP MSS on the path when comparing
the UDP block size.

2.  Fix a redundant "warning".

This should fix a bug observed on Windows but not (so far) on any
UNIX-like platforms.  Fixes #608.
2017-09-18 15:17:18 -07:00
Bruce A. Mah
4a45b32b47 Fix out-of-the-box builds with no OpenSSL (#633)
Don't make OpenSSL detection error out unless --with-openssl explicitly given.

This fixes the out-of-the-box build on macOS, which doesn't include
headers, etc. for OpenSSL by default.  The configure script still
errors out if the user specifies a --with-openssl flag but for some
reason the build host's OpenSSL is broken or can't be used.

* Regen.
2017-08-15 11:13:08 -07:00
Bruce A. Mah
7cf95d205d
Regen. 2017-08-14 13:46:35 -07:00
ralcini
3fd1a2ae90 fix for issue #624 - force build without openssl (#631)
* fix: now --without-openssl configure flags works
enh: if openssl support is required and no valid installation is found, now it raise an error

* enh: added warning if building without openssl (iperf_auth disabled)
2017-08-14 13:43:38 -07:00
Philip Prindeville
517ad2248f Add required RSA header for OpenSSL (#622)
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-08-01 11:16:07 -07:00
Bruce A. Mah
dadbd25838
Fix spelling mistake in manpage.
Fixes #610, pointed out by @borenius-dfn-de.
2017-07-17 08:22:45 -07:00
Bruce A. Mah
b6d9de52a4
Updates for iperf-3.2 (new news, update manpage, version number). 2017-06-26 14:44:38 -07:00
Bruce A. Mah
b0e0a30631
Regen. 2017-06-26 14:35:55 -07:00
Bruce A. Mah
df912d25de
The master branch is now just development again, so update version string. 2017-06-26 14:35:18 -07:00
Bruce A. Mah
88d907f7fb
Regen. 2017-06-26 10:42:56 -07:00
Bruce A. Mah
619b4e9456
Version bumps, etc. for iperf 3.2. 2017-06-26 10:37:57 -07:00
Bruce A. Mah
35f1fbf56d
Wordsmithing on README file. 2017-06-26 10:35:00 -07:00
Bruce A. Mah
4f3a7a5403
Greatly expand description section.
Based on text by @eriitguy, fixes #480.
2017-06-20 15:04:30 -07:00
Bruce A. Mah
88a5798979
More release notes updates. Inching closer to iperf-3.2. 2017-06-20 13:31:32 -07:00
Bruce A. Mah
0741ccff22
Update/fix a couple of links to fasterdata.
Motivated by #603.
2017-06-20 09:47:28 -07:00
Wes Garrison
d2dcd876f3 Update link in README to sample CLI usage (#603) 2017-06-20 09:43:13 -07:00
Bruce A. Mah
1dee3718ac
Regen. 2017-06-19 14:35:53 -07:00
Bruce A. Mah
6cdbb01e95
Preparing for a release candidate build. 2017-06-19 14:35:22 -07:00
p0intR
946a5a0f15 Close ctrl_sck iperf_client_end() (#597)
This avoids a leak of file descriptors.
2017-06-12 09:42:21 -07:00
Bruce A. Mah
292d944eee
Add new iperf3 status update for 6 June 2017. 2017-06-06 14:43:42 -07:00
Bruce A. Mah
e134d88ffe
Add a couple of important FAQs, update packages list and supported platforms. 2017-06-05 15:27:23 -07:00
Bruce A. Mah
12e0c9be82
Enable Travis CI builds for macOS, in addition to Linux. 2017-06-05 14:09:52 -07:00
Bruce A. Mah
2392def10f
Updates to release notes for latest code changes.
Also a bit of minor wordsmithing.
2017-06-05 14:03:06 -07:00
Bruce A. Mah
b0aff8490a Fix a few printf format string warnings seen on macOS / clang. (#593) 2017-06-05 10:57:07 -07:00
Bruce A. Mah
b5597278b5 Towards issue #278. Don't print small, dataless last intervals. (#592)
This is mostly a cosmetic fix...due to timing differences or
interference from data packets, it is possible that the server
will have a very small last measurement window, possibly with
no data transferred.  This looks odd (although it's not incorrect)
and we'd like to eliminate these.  If there's an interval
(presumably it'd be the last measurement interval) less than
10% of the length of a standard measurement/reporting interval,
and there are no bytes transferred in the interval, then suppress
printing the results and don't add them to the grand total.
2017-06-05 10:38:36 -07:00
Bruce A. Mah
7f06146221 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.
2017-06-02 09:35:19 -07:00
Bruce A. Mah
adf46faced
Add release notes entries for recent changes. 2017-06-01 14:45:34 -07:00
Bruce A. Mah
c458a115b7 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.
2017-05-30 14:15:28 -07:00
Kenneth Wong
acb4c4c9d5 Improve C++ compatibilty (#587)
Improve the compatibility of iperf_api.h with C++ so that libiperf can more easily be used with C++ programs.

This involves function declarations as extern "C" and inclusion of a couple of more headers (which arguably improves the C use case).
2017-05-30 13:30:08 -07:00
Bruce A. Mah
39de1e0f27
Merge branch 'master' of github.com:esnet/iperf 2017-05-24 11:08:37 -07:00
Bruce A. Mah
3410d58fdc
Silence a warning for an unused variable. 2017-05-24 11:08:15 -07:00
Bruce A. Mah
0f081b7b2e Issue 583 (#586)
* s/bandwidth/bitrate/ in user-facing places.  Towards #583.

iperf3 has long misused terminology; bandwidth is a measure of
capacity.  iperf3 measures bitrate or throughput.  We standardize
on "bitrate" because it begins with the same letter as "bandwidth"
(to match the -b command-line option).

User-facing output mentioning "bandwidth" now uses "bitrate".
The long command-line option for -b (--bandwidth) is now --bitrate
(--bandwidth is transparently accepted for backward compatibility).
A few places in documentation that talk about bandwidth as a
measured value have been reworded to use bitrate or throughput.

There are a number of places in code where variables are still
called "bandwidth".  We leave these alone for now.

A mention of "bandwidth" in the test parameters JSON also needs
to remain unchanged to avoid breaking compatibility.  However,
the test results JSON never used the term "bandwidth" in
the first place.

* s/bandwidth/throughput in one place in RPM description.  Towards #583.
2017-05-24 10:50:44 -07:00
Bruce A. Mah
7a15a7ae85 Fix another compiler warning. 2017-05-23 13:05:09 -07:00
Bruce A. Mah
dc74346f26
Fix compiler warning with clang. 2017-05-23 12:52:16 -07:00
Sami Farin
e7ab564cb5 Return random ascii-string in make_cookie. (#582)
Having hostname and microsecond timestamp in the cookie is not
necessary.  Also fill test buffer with data from /dev/urandom
instead of using random().
2017-05-21 11:30:18 -07:00