Public bug reported:

iperf3's man page clearly shows:

“--sctp use SCTP rather than TCP (FreeBSD and Linux)”

Yet if you try to use it:

“iperf3: unrecognized option '--sctp'”

<snip>

Either it is being built without SCTP support or the man page is wrong.

This is likely fixed in Cosmic as the Debian bug suggests:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858944

There's no reason this option shouldn't be enabled.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: iperf3 (not installed)
ProcVersionSignature: Ubuntu 4.15.0-43.46~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-43-generic i686
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: i386
CurrentDesktop: MATE
Date: Tue Jan  1 13:15:24 2019
SourcePackage: iperf3
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: iperf3 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: iperf3 (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: amd64 apport-bug bionic i386 xenial

** Bug watch added: Debian Bug tracker #858944
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858944

** Also affects: iperf3 (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858944
   Importance: Unknown
       Status: Unknown

** Description changed:

  iperf3's man page clearly shows:
  
  “--sctp use SCTP rather than TCP (FreeBSD and Linux)”
  
  Yet if you try to use it:
  
- iperf3: unrecognized option '--sctp'
- Usage: iperf [-s|-c host] [options]
-        iperf [-h|--help] [-v|--version]
+ “iperf3: unrecognized option '--sctp'”
  
- Server or Client:
-   -p, --port      #         server port to listen on/connect to
-   -f, --format    [kmgKMG]  format to report: Kbits, Mbits, KBytes, MBytes
-   -i, --interval  #         seconds between periodic bandwidth reports
-   -F, --file name           xmit/recv the specified file
-   -A, --affinity n/n,m      set CPU affinity
-   -B, --bind      <host>    bind to a specific interface
-   -V, --verbose             more detailed output
-   -J, --json                output in JSON format
-   -d, --debug               emit debugging output
-   -v, --version             show version information and quit
-   -h, --help                show this message and quit
- Server specific:
-   -s, --server              run in server mode
-   -D, --daemon              run the server as a daemon
-   -1, --one-off             handle one client connection then exit
- Client specific:
-   -c, --client    <host>    run in client mode, connecting to <host>
-   -u, --udp                 use UDP rather than TCP
-   -b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for unlimited)
-                             (default 1 Mbit/sec for UDP, unlimited for TCP)
-                             (optional slash and packet count for burst mode)
-   -t, --time      #         time in seconds to transmit for (default 10 secs)
-   -n, --bytes     #[KMG]    number of bytes to transmit (instead of -t)
-   -k, --blockcount #[KMG]   number of blocks (packets) to transmit (instead 
of -t or -n)
-   -l, --len       #[KMG]    length of buffer to read or write
-                             (default 128 KB for TCP, 8 KB for UDP)
-   -P, --parallel  #         number of parallel client streams to run
-   -R, --reverse             run in reverse mode (server sends, client 
receives)
-   -w, --window    #[KMG]    set window size / socket buffer size
-   -C, --linux-congestion <algo>  set TCP congestion control algorithm (Linux 
only)
-   -M, --set-mss   #         set TCP maximum segment size (MTU - 40 bytes)
-   -N, --nodelay             set TCP no delay, disabling Nagle's Algorithm
-   -4, --version4            only use IPv4
-   -6, --version6            only use IPv6
-   -S, --tos N               set the IP 'type of service'
-   -L, --flowlabel N         set the IPv6 flow label (only supported on Linux)
-   -Z, --zerocopy            use a 'zero copy' method of sending data
-   -O, --omit N              omit the first n seconds
-   -T, --title str           prefix every output line with this string
-   --get-server-output       get results from server
+ <snip>
  
  Either it is being built without SCTP support or the man page is wrong.
  
  This is likely fixed in Cosmic as the Debian bug suggests:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858944
  
  There's no reason this option shouldn't be enabled.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: iperf3 (not installed)
  ProcVersionSignature: Ubuntu 4.15.0-43.46~16.04.1-generic 4.15.18
  Uname: Linux 4.15.0-43-generic i686
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: i386
  CurrentDesktop: MATE
  Date: Tue Jan  1 13:15:24 2019
  SourcePackage: iperf3
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810197

Title:
  --sctp unrecognised

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iperf3/+bug/1810197/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to