g-coder
8fcfc2479f
DEREF_AFTER_NULL in src/iperf_error.c ( #423 )
...
DEREF_AFTER_NULL: pointer ‘test’ at line:77 is passed as an argument to function iperf_delete_pidfile(), in which it is dereferenced at iperf_api.c:2832.
Pointer ‘test’ can be NULL and dereferencing a NULL pointer causes seg-fault.
Applied Fix: pointer ‘test’ is checked for NULL before passing it to function iperf_delete_pidfile().
2016-05-26 08:47:29 -07:00
Joe McEachern
3b2311263a
Add fix for #412 ( #414 )
...
* Add fix for #412
This prevents negative loss counters with UDP when omit is used
* Track the original start time and bytes omitted. This allows the
throttle function to work after the omit timer fires. This is
a fix for issue #419 .
* Remove changes to switch the bandwidth to received instead of sent bandwidth
* Roll back bandwidth sent vs received changes
2016-05-20 11:40:18 -07:00
Bruce A. Mah
f88486443c
Fix build on FreeBSD 11-CURRENT, as described in issue #413 .
...
This caused by a combination of the iperf3 build somehow using
the system queue.h on FreeBSD 11 (possibly only on this platform)
and TAILQ_END not being defined in the system queue.h.
Expanding the TAILQ_END macro to NULL seems to solve the problem.
Submitted by: @rbgarga
2016-05-20 10:05:24 -07:00
Monte Goode
897687ac0f
Mods to summed output after meeting.
2016-04-18 12:22:59 -07:00
Monte Goode
8d94dc289d
Add the row header to the --sum output.
2016-04-11 14:18:53 -07:00
Monte Goode
471aa5f133
New summing format. Still need row header from brian.
2016-04-11 12:18:21 -07:00
Monte Goode
2d3eb211f6
Quick linting pass and get the CR chars out of there so it'll actually run from a shell. :)
2016-04-11 10:07:04 -07:00
Bruce A. Mah
4fbdab392c
Merge pull request #377 from quasoft/forceflush
...
Add option `--forceflush` to force flushing of output at the end of each interval
2016-03-25 10:44:20 -07:00
QuaSoft
08a2de459b
Add command line option --forceflush
to allow user to request flushing of output at the end of each interval.
...
Fixes #299
2016-03-06 16:47:02 +02:00
Bruce A. Mah
fab327943f
Update Web site for iperf-3.1.2.
2016-02-01 16:34:01 -08:00
Bruce A. Mah
cb25dfe687
Update copyright dates in a couple of places.
2016-02-01 14:01:54 -08:00
Bruce A. Mah
670c18584b
Get rid of nan values when there were no packets in a UDP interval.
...
This was causing some headaches for code trying to parse JSON.
Also revise a prior partial fix that hard-coded 100% loss for the
case of zero packets.
Partially fixes #278 .
Merge candidate for 3.0 and 3.1 bugfix branches.
2016-01-28 16:04:33 -08:00
Brian Tierney
3cf50d9856
added additional project
2016-01-03 08:16:52 -08:00
Brian Tierney
c50b5ea849
adding scripts to generate gnuplots from iperf3 data
2015-12-15 15:26:55 -08:00
Bruce A. Mah
224ae8c764
Fix a bug where we printed the incorrect value for out-of-order UDP packets.
...
Fixes #329 , submitted by @bhegardt.
While here, add this value to the JSON output.
2015-11-20 08:31:09 -08:00
Bruce A. Mah
0e7921a7b4
Update for iperf-3.1.1.
...
Belatedly add news item for iperf3 project development status.
Move remaining 2014 news items to "Older News" section.
2015-11-19 10:32:01 -08:00
Bruce A. Mah
1fb00f8ccc
Revert "Version bumps, release notes for iperf 3.1.1."
...
This reverts commit 0eeb788eeb
.
2015-11-18 14:26:46 -08:00
Bruce A. Mah
0eeb788eeb
Version bumps, release notes for iperf 3.1.1.
2015-11-18 14:19:25 -08:00
Bruce A. Mah
ccec14eb51
Update README.
...
Reflect current support/maintenance status, add a few new known issues,
bump copyright date.
2015-11-18 10:26:05 -08:00
Bruce A. Mah
956d115851
Improve command error handling.
...
Exit with non-zero exit code if server mode has too many errors.
Properly detect complain about non-numeric arguments to -A, -L, and -S.
Implement range checks for argument to -S.
Fixes #316 .
2015-11-18 09:40:24 -08:00
Bruce A. Mah
44485b5b88
Fix a bug where the -T title option was not being output correctly
...
in JSON output.
Fixes #292 .
Patch from: @SLX-WI
2015-11-17 10:47:47 -08:00
Bruce A. Mah
6e48bb2a5d
Markup fixes in manpages for Debian compatibility.
...
Fixes #291 .
Merge candidate for 3.1 stable release if applicable.
2015-11-16 12:00:36 -08:00
Bruce A. Mah
7b2abbc59a
Rename the recently-added template member in the iperf_test structure
...
to improve C++ compatibility.
Fixes #323 .
2015-11-16 11:22:15 -08:00
Bruce A. Mah
e396134952
Update for 3.1 release.
2015-10-16 12:57:31 -07:00
Bruce A. Mah
b49566681d
Regen.
2015-10-16 10:01:09 -07:00
Bruce A. Mah
8774140404
Bump version numbers and dates for iperf 3.1.
2015-10-16 10:00:30 -07:00
Bruce A. Mah
01319ccf37
Merge branch 'master' of github.com:/esnet/iperf
2015-10-14 15:22:54 -07:00
Bruce A. Mah
736d144e03
Minor release notes tweak.
2015-10-14 15:22:31 -07:00
Bruce A. Mah
d256e644d3
Merge pull request #311 from tniessen/master
...
Fix bug in iperf_new_stream leading to EINVAL
2015-10-11 22:12:19 -07:00
Tobias Nießen
20585b9896
Fix bug in iperf_new_stream leading to EINVAL
...
Fix invocation of snprintf in iperf_new_stream to prevent mkstemp from producing EINVAL.
2015-10-11 15:58:52 +02:00
Bruce A. Mah
ee306250d7
Merge pull request #288 from yeahdongcn/master
...
Add tmp_path in order to make the template path workable on iOS.
2015-10-07 13:05:32 -07:00
Bruce A. Mah
156a5eb163
Merge pull request #305 from teto/getdomain_fix
...
Fixes a smashing stack problem as described in https://bugzilla.kernel.org/show_bug.cgi?id=104601
2015-10-07 12:59:01 -07:00
R0CKSTAR
9a3775091b
Change tmp_path to template and use snprintf instead of strcpy
2015-09-21 11:07:41 +08:00
Matthieu Coudron
eb3faee64f
Fixes a smashing stack problem as described in https://bugzilla.kernel.org/show_bug.cgi?id=104601
2015-09-19 14:08:47 +02:00
R0CKSTAR
7baf44a8b9
Missing one file
2015-08-03 09:40:53 +08:00
R0CKSTAR
01b82c9e3c
Add tmp_path in order to make the template path workable on iOS.
2015-08-03 00:01:02 +08:00
Bruce A. Mah
fe1c2246a4
Regen.
2015-07-07 14:14:14 -07:00
Bruce A. Mah
b4094dbf35
Turn the crank again for another 3.1 beta release.
2015-07-07 14:13:33 -07:00
Bruce A. Mah
ba6cd6a9a5
Fix problems in RPM spec file.
...
Specifically, remove an unneeded dependency on libuuid and fix up
set of doc files to be installed to match reality.
Tested on CentOS 6.
2015-07-07 14:04:26 -07:00
Bruce A. Mah
466a86f9db
Regen.
2015-06-30 13:46:17 -07:00
Bruce A. Mah
3a4d684d44
Bump version number.
2015-06-30 13:45:50 -07:00
Bruce A. Mah
883a465a72
Fix tarball generation (it was missing a file) and regen build goop.
...
Found by: @arlake228
2015-06-30 13:19:38 -07:00
Bruce A. Mah
1e20601ffd
Regen.
2015-06-19 11:28:13 -07:00
Bruce A. Mah
b6a2021c0b
Bump version number and manpage rev dates for 3.1b1.
2015-06-19 11:27:16 -07:00
Bruce A. Mah
e83fe5a51b
More wording tweaks in doc files.
2015-06-19 10:51:57 -07:00
Bruce A. Mah
6a46a741cf
SCTP works (in theory anyway) on Solaris, relnote this.
2015-06-19 10:35:21 -07:00
Bruce A. Mah
a8a902ddf8
First iteration of release notes for a 3.1.0 release
...
This involves copying the release notes through 3.0.11 into the
mainline release notes file, and then updating for changes on the
mainline that haven't appeared in any prior 3.0.x release. Not all
changes are listed.
We'll probably do a beta or two before a real 3.1.0 release.
2015-06-12 14:21:26 -07:00
Bruce A. Mah
990a036524
Merge pull request #272 from EduardoAbinader/flush_interval_results
...
Use iflush for interval results, to make file output behave similarly to stdout.
2015-06-11 12:56:39 -07:00
Eduardo Abinader
1c89715936
iflush for interval results
...
In order to keep the same behavior of stdout, iflush the results
to files as they are printed.
2015-06-06 10:44:32 -04:00
Bruce A. Mah
25eb62c7cd
Handle the case where EAGAIN != EWOULDBLOCK
...
Fixes #268 , suggested by @tvastri.
2015-05-21 10:31:17 -07:00