Bruce A. Mah
9e2d79d262
Update templates to point users at GitHub Discussions for support.
2021-11-15 16:39:56 -08:00
Preston Hunt
d424be34a9
Fix --dscp ( #1162 )
...
TOS = DSCP * 4; so shift DSCP << 2
2021-11-15 11:38:29 -08:00
Bruce A. Mah
071ee915ba
Merge pull request #1153 from chenshuo/binddev
...
Fix --bind-dev options for TCP streams. (#1099 )
2021-11-12 13:04:02 -08:00
Bruce A. Mah
63d7c55a18
Merge pull request #1227 from esnet/issue-1223
...
Fix: Avoid spamming stdout (and JSON output) with a warning.
2021-11-11 16:51:48 -08:00
Bruce A. Mah
805a4ce1ae
Consistify string lengths for arguments to warning().
2021-11-11 13:57:04 -08:00
Bruce A. Mah
a071a8c8bd
Fix: Avoid spamming stdout (and JSON output) with a warning.
...
Fixes #1223 .
2021-11-11 13:46:12 -08:00
Bruce A. Mah
a8e0787764
Merge pull request #1226 from esnet/fix-bidir-json-identifiers
...
Follow-up to #1200 : s/bdir/bidir/ in JSON identifiers per review comments
2021-11-08 15:23:45 -08:00
Bruce A. Mah
aa455109cb
Follow-up to PR#1200: s/bdir/bidir/ in JSON identifiers per review comments.
...
This provides consistency with the CLI option name --bidir.
2021-11-08 13:55:39 -08:00
Bruce A. Mah
f39fa9c9a0
Merge pull request #1200 from davidBar-On/issue-952-bidir-json-output
...
Fix for issue #952 - different json object names for bidir reverse ch…
2021-11-08 13:50:08 -08:00
swlars
24753fd762
Null checks ( #1216 )
...
* Add NULL checks and comment
* Remove comment
* Change printf to iperf_err and add brackets to else
* Add test to iperf_err
* Revert iperf_err to printf
2021-10-04 17:12:30 -07:00
Bruce A. Mah
9149c64b9e
Merge pull request #1210 from esnet/issue-1157-take-2
...
Closes #1157 .
Incorporates and closes #1180 .
2021-09-30 11:34:11 -07:00
Bruce A. Mah
aeed006dcf
Factor out hostname/interface processing code into a function.
2021-09-29 08:32:03 -07:00
Bruce A. Mah
5c26626a79
Update help and manpage text. Towards #1157 .
2021-09-29 08:32:03 -07:00
Bruce A. Mah
42436be796
Make -c and -B work similar with respect to "%" interface specifications.
...
IPv6 link-local address literals are accepted in both places.
Note that we might not work correctly in the presumably rare case
of a FQDN that resolves to an IPv6 link-local address.
"%" is always treated as a separator for a shortcut to --bind-dev,
for IPv4 and IPv6 literals as well as hostnames passed to -c and -B.
2021-09-29 08:32:02 -07:00
swlars
8bd43a2774
Merge pull request #1206 from matt9j/bugfix-api-unit-header
...
Add get/set test_unit_format function declarations to iperf_api.h
2021-09-28 14:21:21 -07:00
Bruce A. Mah
16d13e96fd
Merge pull request #1204 from davidBar-On/zerocopy_in_server_for_reverse_mode
...
Support zerocopy by Reverse mode
2021-09-27 13:19:45 -07:00
David Bar-On
b788ec0405
Per review comment, set server's zerocopy option to j_p->valueint instead of 1
2021-09-25 21:28:11 +03:00
swlars
b3ab30cbc3
Merge pull request #1209 from esnet/add-comment
...
Add comment to clean_up_and_fail
2021-09-23 15:47:25 -07:00
Sarah Larsen
0b15c44989
Add comment to clean_up_and_fail
2021-09-22 18:54:39 -07:00
swlars
c31ca00921
Merge pull request #1202 from ludeeus/patch-1
...
Don't exit in cleanup_and_fail
2021-09-20 19:13:41 -07:00
Bruce A. Mah
36e812992c
Merge branch 'TBD__issue-1157-support-address%interface-syntax' of ssh://github.com/davidBar-On/iperf into davidBar-On-TBD__issue-1157-support-address%interface-syntax
2021-09-20 10:22:07 -07:00
Matt Johnson
85bf6a1757
Add get/set test_unit_format function declarations to iperf_api.h
...
The functions were added in f2c4e2b5bd
and
implicitly declared in iperf_api.c, but were never actually declared in
the api header file! External users of the api need access to the
declaration in the header file to use the function from the library.
2021-09-17 18:49:52 -07:00
David Bar-On
71525517ff
Support zerocopy by Reverse mode
2021-09-15 19:24:48 +03:00
Joakim Sørensen
1ed0239d23
Don't exit in cleanup_and_fail
2021-09-13 09:35:11 +02:00
swlars
332c31ee65
Merge pull request #1198 from a1346054/fixes
...
Spelling and shellcheck fixes
2021-09-10 16:36:03 -07:00
a1346054
e919e8c21b
trim excess whitespace
2021-09-03 14:11:16 +00:00
a1346054
50d6cce65c
fix spelling
2021-09-03 14:11:16 +00:00
a1346054
ae2fac39c0
fix shellcheck warnings
2021-09-03 13:51:53 +00:00
Mark Feit
775341de11
Exit if idle time expires waiting for a connection in one-off mode. #1187 ( #1197 )
2021-09-02 14:20:26 -07:00
David Bar-On
39ec29c5cc
Fix for issue #952 - different json object names for bidir reverse channel
2021-09-02 04:18:04 +03:00
Rich Brown
709f552cf7
Update README.md ( #1185 )
...
Update language describing iperf2 vs. iperf3
2021-07-30 14:50:51 -07:00
Bruce A. Mah
1b577aea91
Minor editorial changes to comments from PR #1174 .
...
No functional changes.
2021-07-16 14:30:43 -07:00
DJ Breuer (dbreue200)
0d078c4a1d
Added {end}{sum_sent} and {end}{sum_received} to UDP JSON output
2021-07-16 14:22:18 -07:00
Bruce A. Mah
3f4dc88e41
Add FreeBSD builds to Travis CI build matrix.
2021-07-09 07:09:53 -07:00
Bruce A. Mah
75bd9fc951
Regen.
2021-07-09 06:55:08 -07:00
Bruce A. Mah
d83ffa3370
Version number bump for post-3.10.1.
2021-07-09 06:54:29 -07:00
Bruce A. Mah
26fd923448
docs: Update documentation for -w to reflect what it actually does.
...
Fixes #1175 .
2021-07-08 19:52:08 -07:00
Hamid Anvari
ba0dad3160
handling possible stat() error
2021-07-07 15:59:03 -07:00
Hamid Anvari
e65803672d
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).
2021-07-07 15:59:03 -07:00
David Bar-On
f54b6b4b13
Fix issue #1157 (partial) - support bind device using
2021-07-05 20:07:33 +03:00
Bruce A. Mah
b043b4e245
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 .
2021-06-30 09:02:34 -07:00
TheRealDJ
584a8d5492
Test bitrate (--bitrate) added to JSON output in {test}{test_start} ( #1168 )
...
Fixes #1167 .
2021-06-30 08:45:06 -07:00
Bruce A. Mah
36a094d403
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 .
2021-06-29 17:27:05 -07:00
Bruce A. Mah
3b31c4b6ac
docs: Update for iperf-3.10.1.
2021-06-02 15:59:42 -07:00
Bruce A. Mah
169b0d9b4e
chore: Regen.
2021-06-02 15:29:24 -07:00
Bruce A. Mah
7f02c6f079
Releng 3.10.1 ( #1156 )
...
Version number bumps and release notes for iperf-3.10.1.
2021-06-02 15:27:44 -07:00
Bruce A. Mah
702db979c5
Chore: regen.
2021-06-02 08:19:52 -07:00
Bruce A. Mah
8a8c7edcc3
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.
2021-06-02 08:18:37 -07:00
Bruce A. Mah
8416820a3b
Merge branch 'master' of github.com:esnet/iperf
2021-06-01 08:44:11 -07:00
Bruce A. Mah
d4f8999e6b
docs: Update for iperf-3.10 manpage.
2021-06-01 08:43:54 -07:00