History log of /iperf/src/iperf_error.c (Results 1 – 25 of 72)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7bdd5b0e 20-Feb-2022 David Bar-On <[email protected]>

Fix for issue 1215 - add TCP option


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.


# 24753fd7 05-Oct-2021 swlars <[email protected]>

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


# e919e8c2 03-Sep-2021 a1346054 <[email protected]>

trim excess whitespace


# 50d6cce6 03-Sep-2021 a1346054 <[email protected]>

fix spelling


# f54b6b4b 05-Jul-2021 David Bar-On <[email protected]>

Fix issue #1157 (partial) - support bind device using


Revision tags: 3.10.1, 3.10
# de006004 26-Feb-2021 Bruce A. Mah <[email protected]>

enh: Wording fixes in various messages, document --rcv-timeout in manpage.

Follow-up to #1123.

Pet copyrights where appropriate.


# 8ffe72e2 26-Feb-2021 David Bar-On <[email protected]>

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

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.

show more ...


# 49a5771a 16-Feb-2021 David Bar-On <[email protected]>

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 <[email protected]>
Co-authored-by: Bru

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 <[email protected]>
Co-authored-by: Bruce A. Mah <[email protected]>

show more ...


# be66b575 02-Feb-2021 David Bar-On <[email protected]>

Server select timeout to prevent server to get stuck because of client or network errors (#1101)


# bd143779 12-Nov-2020 ralcini <[email protected]>

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 fo

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 <[email protected]>

show more ...


Revision tags: 3.9
# a9c28038 25-Jul-2020 Bruce A. Mah <[email protected]>

fix: Emit error message for an unknown i_error, rather than an empty string. (#1030)

Suggested by @david-BarOn.

Towards #1022.


# 1a908ce1 23-Jul-2020 Bruce A. Mah <[email protected]>

feat: Add a --timestamps flag to prepend a timestamp per output line. (#1028)

This flag takes an optional argument, which is a format specification to strftime(3)...this allows for custom timestamp

feat: Add a --timestamps flag to prepend a timestamp per output line. (#1028)

This flag takes an optional argument, which is a format specification to strftime(3)...this allows for custom timestamp formats. Based on a suggested implementation by @davidBar-On. Towards #909.

show more ...


# a0c6f0ec 10-Jul-2020 David Bar-On <[email protected]>

feat: Issue #937 - Add a server option to limit total allowed throughput (#999)


Revision tags: 3.8.1, 3.8
# 06e3f08d 20-May-2020 Bruce A. Mah <[email protected]>

fix(auth): Fix a potential buffer overflow in iperf3 client.
This condition was only possible when configuration authentication
via the libiperf API.

While here, also fix a few other sundry issues:

fix(auth): Fix a potential buffer overflow in iperf3 client.
This condition was only possible when configuration authentication
via the libiperf API.

While here, also fix a few other sundry issues:

* Remove arbitrary length limits on username and password.

* Improved error handling.

* Updated error messages for readability.

* Fixed minor typo in some identifiers.

Fixes #996.

show more ...


Revision tags: 3.7
# 38bac802 18-Jun-2019 Bruce A. Mah <[email protected]>

fix: Emit appropriate error messages from getaddrinfo(3). (#888)

* fix: Emit appropriate error messages from getaddrinfo(3).

This fixes an omission likely caused when switching resolver
library

fix: Emit appropriate error messages from getaddrinfo(3). (#888)

* fix: Emit appropriate error messages from getaddrinfo(3).

This fixes an omission likely caused when switching resolver
library calls. Fixes #846.

show more ...


# 6c783462 14-Jun-2019 Bruce A. Mah <[email protected]>

Fix: Don't allow --port 0 or other invalid values. (#885)

* Fix: Don't allow --port or --cport to take 0 or other invalid values.

Fixes #884.


# 0778f04c 13-Dec-2018 Boris Okunev <[email protected]>

Bidirect mode implementation (#780)

Adds the `--bidir` flag to support simultaneous two-way tests.

Submitted by @LikHait. Fixes #201.


Revision tags: 3.6, 3.5, 3.4
# e7aa59b6 12-Feb-2018 Bruce A. Mah <[email protected]>

Make --cport work without --bind (#697).

This commit also adds SCTP support for --cport.

Fixes #616.


# bd85edb8 26-Jan-2018 Bruce A. Mah <[email protected]>

If we're sending output to stdout, then make errors go to stderr. (#695)

No effect on JSON format output or output to a file.

Submitted by @cygnus2048, fixes #688.


Revision tags: 3.3, 3.2, 3.2rc1
# 37d913df 08-May-2017 Bruce A. Mah <[email protected]>

Improve error handling and documentation for -f/--format. (#568)

We now reject all invalid format characters given as the
argument to the -f/--format flag. All valid characters are now
documented

Improve error handling and documentation for -f/--format. (#568)

We now reject all invalid format characters given as the
argument to the -f/--format flag. All valid characters are now
documented in the usage message and manual page.

Towards #566.

show more ...


# 5ab2132c 20-Apr-2017 Gabriel Ganne <[email protected]>

warning fixes (#551)

* fix Wstrict-prototypes warnings found by clang

also fix usage_long() call

Signed-off-by: Gabriel Ganne <[email protected]>

* fix Wunreachable-code-break warnings

warning fixes (#551)

* fix Wstrict-prototypes warnings found by clang

also fix usage_long() call

Signed-off-by: Gabriel Ganne <[email protected]>

* fix Wunreachable-code-break warnings found by clang

Signed-off-by: Gabriel Ganne <[email protected]>

* fix Wshadow warnings found by clang

Signed-off-by: Gabriel Ganne <[email protected]>

* fix Wmissing-noreturn warning found by clang

Signed-off-by: Gabriel Ganne <[email protected]>

* ix memory leak found by clang

Signed-off-by: Gabriel Ganne <[email protected]>

* fix Wmisleading-indentation warnings raised by gcc-6

Signed-off-by: Gabriel Ganne <[email protected]>

* fix warning: Value stored to 'ptr' during its initialization is never read found by clang

Signed-off-by: Gabriel Ganne <[email protected]>

* fix warning: The left operand of '>' is a garbage value found by clang

Signed-off-by: Gabriel Ganne <[email protected]>

* fix memory leak in global cleanup

Signed-off-by: Gabriel Ganne <[email protected]>

show more ...


# a51045de 20-Apr-2017 ralcini <[email protected]>

Service Authentication (#517)

Add an optional mode that requires clients to authenticate with the server.

In this mode, clients need to provide a username and a password, which are checked agains

Service Authentication (#517)

Add an optional mode that requires clients to authenticate with the server.

In this mode, clients need to provide a username and a password, which are checked against a password file on the server. The authentication credentials are protected by an RSA public keypair...the encrypted credentials are sent along with the test parameters.

Operationally the use of this feature places the following additional requirements on the build and installation of iperf3:

o The presence of the OpenSSL headers and libraries to build iperf3, and the libraries available on the client and server at runtime.

o Generation of an RSA public keypair; the private part is used by the server and the public part must be distributed to the clients.

o Username/password pairs for all authorized users, to be stored in a file on the server.

o Loose time synchronization between the server and clients (to within approximately 30 seconds).

o Appropriate command-line flags given on the client and server.

Note that iperf3 can be built and run as before, without fulfilling any of these requirements.

Partial documentation for this feature is included in this commit. It is anticipated that additional documentation text and editing will follow this merge.

Submitted by @ralcini. First suggested by @codyhanson in pull request #242.

show more ...


# 03224c9f 11-Apr-2017 Bruce A. Mah <[email protected]>

Prevent specifying a UDP send size that's too small.
We need at least 16 bytes to hold counters and timestamps.
Avoids a problem noted in issue #390.


# 9f28b247 13-Mar-2017 ShaunCurrier <[email protected]>

Remove unused hstrerror(), bad nanosleep() message in configure.ac (#503) (#523)

* Remove unused hstrerror(), bad nanosleep() message in configure.ac (#503)

* Remove dead code involving h_errno a

Remove unused hstrerror(), bad nanosleep() message in configure.ac (#503) (#523)

* Remove unused hstrerror(), bad nanosleep() message in configure.ac (#503)

* Remove dead code involving h_errno and hstrerror()

h_errno was formerly set as a side effect of a failed
gethostbyname(3) call, but this function has been
deprecated.

show more ...


123