1
1
Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
Bruce A. Mah
0891322aad
chore: Slightly belatedly update copyright dates. 2019-05-24 13:57:01 -07:00
Bruce A. Mah
92eb6391d0
Update some copyright dates, somewhat belatedly. 2018-02-14 13:36:48 -08:00
Todd C. Miller
480824e3c1 Remove a few unnecessary headers and unused functions. (#667)
* EXIT_SUCCESS and EXIT_FAILURE are defined in stdlib.h, not sysexits.h
so no need to include the latter.

* No need to include pthread.h.

* Remove the no longer used delay() function.
This also removes the reliance on nanosleep().

* Remove get_tcp_windowsize() and set_tcp_windowsize() which are unused.
These days, iperf uses get/setsockopt() with SO_SNDBUF SO_RCVBUF directly.
2017-11-11 10:26:59 -08:00
Bruce A. Mah
9d7d60aca1 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.
2017-05-17 12:50:50 -07:00
Bruce A. Mah
69ba4e5831
Happy 2017. 2017-01-06 21:19:27 -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
da9f046f19
Update license and copyright text to conform to LBNL standards.
Note that the license remains a 3-clause BSD license; the only
license changes were to add the name of the program and to add
some punctuation.
2014-09-29 14:00:46 -07:00
Bruce A. Mah
329523a557
Add a --udp-counters-64bit feature to support very long UDP tests.
UDP tests store a packet sequence number in the packets to detect loss
and ordering issues.  This sequence number is a 32-bit signed integer,
which can wrap during very long-running UDP tests.  This change adds
an option (defaulting to off) which uses a 64-bit unsigned integer to
store this quantity in the packet.  The option is specified on the
client side; the server must support this feature for proper
functioning (older servers will interoperate with newer clients, as
long as --udp-counters-64-bit is not used).

The default might be changed in a future version of iperf3.

As a part of this change, the client sends its version string to the
server in the parameter block.

Uses a public-domain compatibility shim for 64-bit byte order
conversions.  There are probably some additional platforms that need
to be supported, in particular Solaris.  We might add some
configure-time checks to only enable this feature on platforms where
we can support the byte-order conversions.

This change is not well-tested.

Towards issue #191.
2014-08-28 08:59:32 -07:00
Bruce A. Mah
5628e0afae
Update LICENSE to reflect new bootstrap.sh. 2014-08-26 14:21:29 -07:00
Bruce A. Mah
f7069f8ed4 Collect licenses for files derived from external sources. 2014-08-08 10:45:56 -07:00
Bruce A. Mah
5238ff0458 Happy 2014. 2014-01-07 16:12:34 -08:00
Jon Dugan
62b41ffe40 Update license to a BSD license 2011-04-20 20:14:05 +00:00
Jon Dugan
d768f73dce more cleanup and rearrangement 2009-12-02 02:08:47 +00:00
Jon Dugan
5439ecd5e0 rename LICENSE to COPYING for autotools convienence 2008-04-08 03:37:30 +00:00
Jon Dugan
b2e02ac17e * Add man page to autoconf goo
* Bump the version in autoconf
* Add missing LICENSE file
2008-04-08 03:32:45 +00:00