Commit Graph

39 Commits

Author SHA1 Message Date
Liu Yiding 7d34df5102 iperf3: upgrade 3.20 -> 3.21
1.ChangeLog:
  https://github.com/esnet/iperf/releases/tag/3.21

2.LIC_FILES_CHKSUM Changed as Copyright Year change from 2025 to 2026.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-15 07:24:54 -07:00
Randy MacLeod 736e14743c iperf3: Upgrade 3.18 -> 3.20
Change summary from:
  https://software.es.net/iperf/news.html#iperf-3-19-released
and RELNOTES links:

iperf-3.20 fixes a number of bugs and also adds some minor enhancements.
  https://github.com/esnet/iperf/blob/master/RELNOTES.md#iperf-320-2025-11-14

iperf-3.19.1 is a security fix release to address three issues reported
by Han Lee of Apple Information Security.
  https://github.com/esnet/iperf/blob/master/RELNOTES.md#iperf-3191-2025-07-25

iperf-3.19 includes support for MP-TCPv1 under Linux, keepalives on the
control connection, support for the MSG_TRUNC receive option, and
a number of minor bug fixes.
  https://github.com/esnet/iperf/blob/master/RELNOTES.md#iperf-319-2025-05-16

Drop 2 CVE patches that were backports.
Drop 0001-configure.ac-check-for-CPP-prog.patch
which is merged in:
   https://github.com/esnet/iperf/commit/beadb59b90e8

License-Update: The only changes were:
  ❯ git log --oneline 3.18..3.20 LICENSE
  9f6dc21 Copyright updates for 2025.
  edf5c75 Fix typo in LICENSE

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-18 08:17:54 -08:00
Michael Opdenacker 9c4f82ac0b iperf3: add missing "libgcc" RDEPENDS
This fixes an issue observed with iperf3 added to core-image-minimal.
The executable starts fine but at the end of a test, issues this error:

iperf3 -c 172.24.0.1
Connecting to host 172.24.0.1, port 5201
[ 5] local 172.24.0.2 port 55444 connected to 172.24.0.1 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 113 MBytes 945 Mbits/sec 0 396 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 0 396 KBytes
[ 5] 2.00-3.00 sec 113 MBytes 946 Mbits/sec 0 417 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 937 Mbits/sec 1 417 KBytes
[ 5] 4.00-5.00 sec 113 MBytes 946 Mbits/sec 0 424 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 938 Mbits/sec 0 424 KBytes
[ 5] 6.00-7.00 sec 112 MBytes 943 Mbits/sec 0 428 KBytes
[ 5] 7.00-8.00 sec 112 MBytes 942 Mbits/sec 0 445 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 944 Mbits/sec 0 457 KBytes
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 09:06:24 -07:00
Nitin Wankhade 959b07135c iperf3: Fix CVE-2025-54350
remove assert to prevent crash due to assertion failure
on malformed authentication attempt

Reference: https://github.com/esnet/iperf/commit/4eab661da0bbaac04493fa40164e928c6df7934a

Signed-off-by: Nitin Wankhade <nitin.wankhade333@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-23 07:38:37 -07:00
Nitin Wankhade 7b0f353128 iperf3: Fix CVE-2025-54349
This commit fix heap overflow for iperf3 package

Reference: https://github.com/esnet/iperf/commit/4e5313bab0b9b3fe03513ab54f722c8a3e4b7bdf

Signed-off-by: Nitin Wankhade <nitin.wankhade333@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-23 07:38:37 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Denis Mukhin 5db02534da iperf3: enable native builds
Enable native variants of iperf3 tool for SDK builds.

Signed-off-by: Denis Mukhin <dmukhin@ford.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-13 08:27:19 -07:00
Martin Siegumfeldt b5e0a0a0a6 iperf3: upgrade 3.17.1 -> 3.18
drop backported patch

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 18:30:54 -07:00
Martin Jansa bf70a66775 iperf3: fix build with gcc-15
* fixes:
  http://errors.yoctoproject.org/Errors/Details/848456/

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-21 11:07:33 -07:00
Trevor Woerner 09c22e8b0d iperf3: throughput fix
This is a backport of a fix to iperf3. The author saw a 40% improvement in
their network throughput, we've seen around a 55% improvement in our tests.

Link: https://github.com/esnet/iperf/pull/1708/commits/ac6b9f7fd335ddebc5212eed40083ef4cd3cb86d
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-27 19:53:36 -08:00
Wang Mingyu ac1756f1b7 iperf3: upgrade 3.16 -> 3.17.1
License-Update: Copyright year updated to 2024.

Changelog:
============
- Version number has been corrected.
- No longer signing tags

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-07 09:11:57 -07:00
Xiangyu Chen d2614ed81e iperf3: upgrade 3.15 -> 3.16
rebase patch 0001-configure.ac-check-for-CPP-prog.patch for iperf3.16

Changelog:
===========
    Multiple test streams started with -P/--parallel will now be
    serviced by different threads. This allows iperf3 to take
    advantage of multiple CPU cores on modern processors, and will
    generally result in significant throughput increases (PR #1591).

    OpenSSL 3 is now detected at build time. If OpenSSL 3 is found,
    various older, deprecated, APIs will not be used. iperf3 will
    continue to work with OpenSSL 1.1.1. OpenSSL is used as a part
    of the iperf3 authentication functionality (Issue #1300, PR#1589).

    The authorized users file used by the authentication functionality
    is now checked for accessibility much earlier during the program
    startup, as opposed to being checked near the start of a test (Issue #1583, PR #1585).

    Iperf3 now requires pthreads and C atomic variables to compile and run.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-29 17:28:09 -08:00
Wang Mingyu 8765f02ffb iperf3: upgrade 3.14 -> 3.15
Changelog:
===========
  Several bugs that could allow the iperf3 server to hang waiting
  for input on the control connection has been fixed.

  A bug that caused garbled output with UDP tests on 32-bit hosts
  has been fixed (PR #1554, PR #1556). This bug was introduced in
  iperf-3.14.

  A bug in counting UDP messages has been fixed (PR #1367, PR
  #1380).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:03 -07:00
Michael Opdenacker 6b2b98e52d remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-03 09:14:20 -07:00
Chen Qi 5760b66b3b iperf3: remove incorrect CVE_PRODUCT setting
This CVE_PRODUCT setting seems to be copied from the iperf2 recipe.
But the CVE_PRODUCT for iperf3 should be just iperf3. For example,
https://nvd.nist.gov/vuln/detail/CVE-2023-38403.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-01 23:26:36 -07:00
Wang Mingyu fe28de1cda iperf3: upgrade 3.13 -> 3.14
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-20 19:08:56 -07:00
Martin Jansa be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Fabio Estevam ad3c5e1ab7 iperf3: Update to 3.13
Update to the 3.13 version.

The iperf3 release notes are available at:

https://github.com/esnet/iperf/blob/6bfe27d82a3f74ad1239aba987a4fb75c1005078/RELNOTES.md

The only change in the LICENSE file was the year update.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-04 13:45:58 -08:00
Wang Mingyu 7be2695d13 iperf3: upgrade 3.11 -> 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-09 20:06:54 -07:00
Akash Hadke d55cc1d3f9 iperf: Set CVE_PRODUCT to "iperf_project:iperf"
Set CVE_PRODUCT as 'iperf_project:iperf' for iperf2 and iperf3
recipes, cve-check class is setting default CVE_PRODUCT to
'iperf2' and 'iperf3' respectively which ignores the iperf
CVEs from NVD Database.

Reference:
CVE-2016-4303
Link: https://nvd.nist.gov/vuln/detail/CVE-2016-4303

Signed-off-by: Akash Hadke <akash.hadke@kpit.com>
Signed-off-by: Akash Hadke <hadkeakash4@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:28 -04:00
Randy MacLeod f46265250f iperf3: upgrade from 3.9 to 3.11
The copyright dates were exteneded to 2022 so the LICENSE hash changed.

Add some blank lines in the recipe to make it easier to read and
refresh the patches to eliminate patch fuzz warnings.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-21 08:25:11 -07:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Andrey Zhizhikin 4767b1ea6c iperf3: fix build with autoconf 2.71
Add patch that checks for CPP prog, which helps to resolve build
errors:

../git/configure: line 14427: CPP: command not found
| ../git/configure: line 14553: ac_fn_c_try_cpp: command not found
| ../git/configure: line 14553: ac_fn_c_try_cpp: command not found

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-04 08:54:38 -08:00
Zang Ruochen b2bbacfc57 iperf3: upgrade 3.7 -> 3.9
-License-Update: Copyright year updated to 2020.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:20 -07:00
Alexander Vickberg 740bdb3e79 iperf3: Add OpenSSL build option to PACKAGECONFIG
Make building with OpenSSL optional but enabled by default as today.

Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-05 16:23:36 -07:00
Christophe PRIOUZEAU 6489f71597 iperf3: Clarify BSD license variant
The License of iperf3 is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:29:50 -07:00
Robert Yang ddb942850e iperf3: Drop broken native
$ bitbake iperf3-native
configure: error: --with-openssl was given, but test for OpenSSL failed

It's a broken native recipe which means no ones need it any more, so remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-25 09:48:19 -07:00
Mingli Yu 8f2b82f010 iperf3: Upgrade to 3.7
* Licence-Update:
  - Copyright years are updated to 2019
* Remove automake-foreign.patch as the logic included
  in the new version
* Rebase 0002-Remove-pg-from-profile_CFLAGS.patch
  to new version

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21 09:31:09 -07:00
Mingli Yu 695a93871c iperf3: Upgrade to 3.6
* Licence-Update:
  - Copyright years are updated to 2018
  - Remove the part about src/tcp_window_size.{c,h}
    as iperf3 uses get/setsockopt() with SO_SNDBUF
    and SO_RCVBUF directly now
* Update the path parameter for --with-openssl as
  ${RECIPE_SYSROOT}${prefix} to fix the below do_configure
  error
  | checking for openssl/ssl.h in /poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/recipe-sysroot... no
  | checking whether compiling and linking against OpenSSL works... no
  | configure: error: in `/poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/build':
  | configure: error: --with-openssl was given, but test for OpenSSL failed

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 02:12:15 -07:00
Khem Raj f604119524 iperf3: Drop redundant patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-23 15:32:05 -07:00
Hains van den Bosch 3772686111 iperf3: refresh patch
WARNING: iperf3-3.2-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-include-stdint.h-for-various-std-c99-int-types.patch
patching file src/cjson.h
Hunk #1 succeeded at 28 with fuzz 2 (offset 5 lines).
patching file src/timer.h

Now at patch 0001-include-stdint.h-for-various-std-c99-int-types.patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Kai Kang 49d17c6533 iperf3: 3.1.3 -> 3.2
Upgrade iperf3 from 3.1.3 to 3.2.

* update md5 checksum of license file which update year info and add
  same bsd license for src/net.c
* add dependency openssl

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:03 +02:00
Khem Raj 85d4fe7335 iperf3: Fix missing stdint.h and do not link with -pg
Helps compile with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:37 +02:00
Oleksandr Kravchuk fa65be9ba7 iperf3: update to 3.1.3
Version 3.1.3 includes security fix and all users are encouraged by the
developers to update to this or newer version as soon as possible.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-10 13:14:01 +01:00
Derek Straka c1ede4830a iperf3: update to version 3.1.2 plus bug fixes
license md5 updated for copyright date modifications

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:23 +02:00
Kai Kang e05057c587 iperf3: fix build-deps qa warning
Add PACKAGECONFIG lksctp to fix qa warning:

| WARNING: QA Issue: iperf3 rdepends on lksctp-tools, but it isn't a
| build dependency? [build-deps]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:56:23 +01:00
Chunrong Guo 21fe8a55f6 iperf3 :upgrade to 3.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:24 +02:00
mike.looijmans@topic.nl 01a47ecc1a iperf3: Add native support
If you want to use iperf3 to measure your board's IP performance, you
may also want to compile if for the build host, because unlike iperf,
iperf3 isn't readily available as a standard Ubuntu package for example.

Add a BBCLASSEXTEND="native" to the recipe so that you just can build
iperf3-native and have bitbake compile it for you, instead of having to
download, compile and install it manually on the build machine.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:31:52 +01:00
Ben Shelton 3a4ea266eb iperf3: Add recipe for version 3.0.10
iperf3 is the new successor of iperf. The project is now mature enough
as it started in 2009 and has stable releases. It supports reporting
results in the portable JSON format, provides more information than
iperf does and also adds some features from other tools such as nuttcp
and netperf that were missing from the original iperf.

This recipe is based on the iperf v3.0.8 recipe posted to the list by
Guy Morand

(http://lists.openembedded.org/pipermail/openembedded-devel/2014-October/098403.html)

with the following changes:

- Pass the 'foreign' option to automake.

- The Makefiles for the examples only work properly when the build is
  done in the same directory as the source.  Fix this in Makefile.am and
  run bootstrap.sh to regenerate Makefile.in.

- Bump the version to the latest stable release.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-08 11:58:44 +01:00