#
b077aed3 |
|
23-Jun-2023 |
Pierre Pronchery <pierre@freebsdfoundation.org> |
Merge OpenSSL 3.0.9 Migrate to OpenSSL 3.0 in advance of FreeBSD 14.0. OpenSSL 1.1.1 (the version we were previously using) will be EOL as of 2023-09-11. Most of the base system has already been updated for a seamless switch to OpenSSL 3.0. For many components we've added `-DOPENSSL_API_COMPAT=0x10100000L` to CFLAGS to specify the API version, which avoids deprecation warnings from OpenSSL 3.0. Changes have also been made to avoid OpenSSL APIs that were already deprecated in OpenSSL 1.1.1. The process of updating to contemporary APIs can continue after this merge. Additional changes are still required for libarchive and Kerberos- related libraries or tools; workarounds will immediately follow this commit. Fixes are in progress in the upstream projects and will be incorporated when those are next updated. There are some performance regressions in benchmarks (certain tests in `openssl speed`) and in some OpenSSL consumers in ports (e.g. haproxy). Investigation will continue for these. Netflix's testing showed no functional regression and a rather small, albeit statistically significant, increase in CPU consumption with OpenSSL 3.0. Thanks to ngie@ and des@ for updating base system components, to antoine@ and bofh@ for ports exp-runs and port fixes/workarounds, and to Netflix and everyone who tested prior to commit or contributed to this update in other ways. PR: 271615 PR: 271656 [exp-run] Relnotes: Yes Sponsored by: The FreeBSD Foundation
|
#
83eaf7ae |
|
21-Jun-2022 |
Jung-uk Kim <jkim@FreeBSD.org> |
OpenSSL: Merge OpenSSL 1.1.1p Merge commit '54ae8e38f717f22963c2a87f48af6ecefc6b3e9b'
|
#
62ca9fc1 |
|
17-Aug-2021 |
John Baldwin <jhb@FreeBSD.org> |
OpenSSL: Only enable KTLS if it is explicitly configured It has always been the case that KTLS is not compiled by default. However if it is compiled then it was automatically used unless specifically configured not to. This is problematic because it avoids any crypto implementations from providers. A user who configures all crypto to use the FIPS provider may unexpectedly find that TLS related crypto is actually being performed outside of the FIPS boundary. Instead we change KTLS so that it is disabled by default. We also swap to using a single "option" (i.e. SSL_OP_ENABLE_KTLS) rather than two separate "modes", (i.e. SSL_MODE_NO_KTLS_RX and SSL_MODE_NO_KTLS_TX). Reviewed by: jkim Obtained from: OpenSSL (a3a54179b6754fbed6d88e434baac710a83aaf80) MFC after: 5 days Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31440 |
#
aa906e2a |
|
15-Jan-2021 |
John Baldwin <jhb@FreeBSD.org> |
OpenSSL: Support for kernel TLS offload (KTLS) This merges upstream patches from OpenSSL's master branch to add KTLS infrastructure for TLS 1.0-1.3 including both RX and TX offload and SSL_sendfile support on both Linux and FreeBSD. Note that TLS 1.3 only supports TX offload. A new WITH/WITHOUT_OPENSSL_KTLS determines if OpenSSL is built with KTLS support. It defaults to enabled on amd64 and disabled on all other architectures. Reviewed by: jkim (earlier version) Approved by: secteam Obtained from: OpenSSL (patches from master) MFC after: 1 week Relnotes: yes Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28273 |
#
58f35182 |
|
22-Sep-2020 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1h.
|
#
da327cd2 |
|
10-Sep-2019 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1d.
|
#
610a21fd |
|
28-May-2019 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1c.
|
#
6935a639 |
|
26-Feb-2019 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1b.
|
#
c9cf7b5c |
|
20-Nov-2018 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1a.
|
#
e71b7053 |
|
13-Sep-2018 |
Jung-uk Kim <jkim@FreeBSD.org> |
Update OpenSSL to 1.1.1. Note it does not update build infrastructure.
|
#
83eaf7ae |
|
21-Jun-2022 |
Jung-uk Kim <jkim@FreeBSD.org> |
OpenSSL: Merge OpenSSL 1.1.1p Merge commit '54ae8e38f717f22963c2a87f48af6ecefc6b3e9b'
|
#
62ca9fc1 |
|
17-Aug-2021 |
John Baldwin <jhb@FreeBSD.org> |
OpenSSL: Only enable KTLS if it is explicitly configured It has always been the case that KTLS is not compiled by default. However if it is compiled then it was automatically used unless specifically configured not to. This is problematic because it avoids any crypto implementations from providers. A user who configures all crypto to use the FIPS provider may unexpectedly find that TLS related crypto is actually being performed outside of the FIPS boundary. Instead we change KTLS so that it is disabled by default. We also swap to using a single "option" (i.e. SSL_OP_ENABLE_KTLS) rather than two separate "modes", (i.e. SSL_MODE_NO_KTLS_RX and SSL_MODE_NO_KTLS_TX). Reviewed by: jkim Obtained from: OpenSSL (a3a54179b6754fbed6d88e434baac710a83aaf80) MFC after: 5 days Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31440 |
#
aa906e2a |
|
15-Jan-2021 |
John Baldwin <jhb@FreeBSD.org> |
OpenSSL: Support for kernel TLS offload (KTLS) This merges upstream patches from OpenSSL's master branch to add KTLS infrastructure for TLS 1.0-1.3 including both RX and TX offload and SSL_sendfile support on both Linux and FreeBSD. Note that TLS 1.3 only supports TX offload. A new WITH/WITHOUT_OPENSSL_KTLS determines if OpenSSL is built with KTLS support. It defaults to enabled on amd64 and disabled on all other architectures. Reviewed by: jkim (earlier version) Approved by: secteam Obtained from: OpenSSL (patches from master) MFC after: 1 week Relnotes: yes Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28273 |
#
58f35182 |
|
22-Sep-2020 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1h.
|
#
da327cd2 |
|
10-Sep-2019 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1d.
|
#
610a21fd |
|
28-May-2019 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1c.
|
#
6935a639 |
|
26-Feb-2019 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1b.
|
#
c9cf7b5c |
|
20-Nov-2018 |
Jung-uk Kim <jkim@FreeBSD.org> |
Merge OpenSSL 1.1.1a.
|
#
e71b7053 |
|
13-Sep-2018 |
Jung-uk Kim <jkim@FreeBSD.org> |
Update OpenSSL to 1.1.1. Note it does not update build infrastructure.
|
#
62ca9fc1 |
|
17-Aug-2021 |
John Baldwin <jhb@FreeBSD.org> |
OpenSSL: Only enable KTLS if it is explicitly configured It has always been the case that KTLS is not compiled by default. However if it is compiled then it was automatically used unless specifically configured not to. This is problematic because it avoids any crypto implementations from providers. A user who configures all crypto to use the FIPS provider may unexpectedly find that TLS related crypto is actually being performed outside of the FIPS boundary. Instead we change KTLS so that it is disabled by default. We also swap to using a single "option" (i.e. SSL_OP_ENABLE_KTLS) rather than two separate "modes", (i.e. SSL_MODE_NO_KTLS_RX and SSL_MODE_NO_KTLS_TX). Reviewed by: jkim Obtained from: OpenSSL (a3a54179b6754fbed6d88e434baac710a83aaf80) MFC after: 5 days Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31440
|
#
aa906e2a |
|
15-Jan-2021 |
John Baldwin <jhb@FreeBSD.org> |
OpenSSL: Support for kernel TLS offload (KTLS) This merges upstream patches from OpenSSL's master branch to add KTLS infrastructure for TLS 1.0-1.3 including both RX and TX offload and SSL_sendfile support on both Linux and FreeBSD. Note that TLS 1.3 only supports TX offload. A new WITH/WITHOUT_OPENSSL_KTLS determines if OpenSSL is built with KTLS support. It defaults to enabled on amd64 and disabled on all other architectures. Reviewed by: jkim (earlier version) Approved by: secteam Obtained from: OpenSSL (patches from master) MFC after: 1 week Relnotes: yes Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28273
|