iperf3 with tls support
Go to file
Bruce A. Mah cfe8c5fb47 Make "iperf3 -s" accept both IPv4 and IPv6 connections on FreeBSD.
(Formerly it was just accepting IPv6.)

The problem here was that FreeBSD by default wasn't allowing IPv4
mapped addresses on IPv6 sockets, whereas other platforms
(specifically Linux and OS X) both do permit this.  We tried to turn
on mapped addresses via a setsockopt(IPV6_V6ONLY) call, but this call
was broken because the level argument was incorrect.  We didn't know
about this because we never checked the return value.

Fix this by providing the correct argument to setsockopt().  Add some
error checking to this and one other setsockopt() call, so we at least
don't fail silently in similar situations.

Issue:		126 (FreeBSD:  iperf3 -s only accepts IPv6
		connections)
2013-12-18 14:43:12 -08:00
config Changed bug report email to google code link. 2013-11-26 10:07:32 -08:00
examples Fix bug in reverse mode. 2013-08-29 11:38:20 -07:00
src Make "iperf3 -s" accept both IPv4 and IPv6 connections on FreeBSD. 2013-12-18 14:43:12 -08:00
aclocal.m4 Changed bug report email to google code link. 2013-11-26 10:07:32 -08:00
AUTHORS updates for 3.0 release 2013-11-10 09:37:10 -08:00
bootstrap.sh Updated autoconf stuff and fixed a small error with ierror() 2010-07-19 20:38:40 +00:00
configure Changed bug report email to google code link. 2013-11-26 10:07:32 -08:00
configure.ac Changed bug report email to google code link. 2013-11-26 10:07:32 -08:00
INSTALL Commented 'AX_LIB_SOCKET_NSL' out of configure.ac to fix build problem. 2012-08-20 14:35:58 -07:00
LICENSE Update license to a BSD license 2011-04-20 20:14:05 +00:00
make_release cleanups on the make_release script 2013-03-28 12:51:08 -05:00
Makefile.am Add an initial autotools setup. 2009-12-08 21:36:24 +00:00
Makefile.in Changed bug report email to google code link. 2013-11-26 10:07:32 -08:00
README added explaination of 'typical' mode vs 'extreme performance' mode 2013-12-04 13:59:06 -08:00
RELEASE_NOTES Mention -D, -C, -L in release notes. 2013-12-16 10:15:32 -08:00
TODO updates for 3.0 release 2013-11-10 09:37:10 -08:00

= Summary =

iperf3 is a tool for measuring achievable bandwidth on IP networks.

iperf3 is NOT backwards compatible with the original iperf.

Supported platforms:
  * Linux
  * FreeBSD 
  * Mac OSX

= Building iperf3 =

== Prerequisites: ==
  * libuuid: this is not installed by default for Debian/Ubuntu Systems
             to install: apt-get install uuid-dev

== Building ==

./configure; make; make install


== Latest version ==

To check out the most recent code, do:  hg clone http://code.google.com/p/iperf/


== Bug Reports ==

Before submitting a bug report, try checking out the latest version of the code, and confirm that its not
already fixed. Then submit to: https://code.google.com/p/iperf/issues/list

For more information see: http://code.google.com/p/iperf/

== Changes from iperf 2.x ==

New options:
  -V, --verbose             more detailed output than before
  -J, --json                output in JSON format
  -Z, --zerocopy            use a 'zero copy' sendfile() method of sending data
  -O, --omit N              omit the first n seconds (to ignore slowstart)
  -T, --title str           prefix every output line with this string
  -F, --file name           xmit/recv the specified file
  -A, --affinity n/n,m      set CPU affinity

Depricated options:

Plan to add for the next release:
  -D, --daemon             run the server as a daemon

Not planning to support. If you really miss these options, please submit a request in the issue tracker
  -d, --dualtest           Do a bidirectional test simultaneously
  -r, --tradeoff           Do a bidirectional test individually
  -N, --nodelay            set TCP no delay, disabling Nagle's Algorithm
  -T, --ttl                time-to-live, for multicast (default 1)
  -Z, --linux-congestion <algo>  set TCP congestion control algorithm (Linux only)
  -x, --reportexclude [CDMSV]   exclude C(connection) D(data) M(multicast) S(settings) V(server) reports
  -y, --reportstyle C      report as a Comma-Separated Values

Also deprecated is the ability to set the options via environment variables.

For sample command line usage, see: 
	http://fasterdata.es.net/performance-testing/network-troubleshooting-tools/iperf-and-iperf3/


Using the default options, iperf is meant to show typical well designed application performance.
'Typical well designed application' means avoiding artificial enhancements that work only for testing
(such as splice()'ing the data to /dev/null).  iperf does also have flags for 'extreme best case'
optimizations but they must be explicitly activated.

These flags include:
  -Z, --zerocopy            use a 'zero copy' sendfile() method of sending data
  -A, --affinity n/n,m      set CPU affinity