Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove kTLS feature probe #4064

Merged
merged 1 commit into from
Jun 20, 2023
Merged

remove kTLS feature probe #4064

merged 1 commit into from
Jun 20, 2023

Conversation

toidiu
Copy link
Contributor

@toidiu toidiu commented Jun 19, 2023

Description of changes:

kTLS must rely on glibc on the host in order to retrieve headers since linux doesnt expose kTLS headers in its uapi. For this reason its not possible to detect kTLS feature support at compile time.

We currently import headers via glibc #include <netinet/tcp.h>, but this breaks on hosts where the glibc version is too old.. aka AL2: #3949.

Instead we will gate kTLS on linux and include kTLS headers inline, with the somewhat safe assumption that they remain stable in Linux.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Jun 19, 2023
@toidiu toidiu mentioned this pull request Jun 19, 2023
32 tasks
@toidiu toidiu marked this pull request as ready for review June 20, 2023 21:10
@maddeleine maddeleine self-requested a review June 20, 2023 22:45
@toidiu toidiu merged commit 5e7f054 into aws:main Jun 20, 2023
@toidiu toidiu deleted the ak-ktls0_rmFeatureProbe branch June 20, 2023 22:57
@toidiu toidiu mentioned this pull request Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants