Skip to content

Conversation

cfc4n
Copy link
Member

@cfc4n cfc4n commented Aug 10, 2025

This pull request updates the version mapping and support for various OpenSSL 3.x releases across both the Go module and related shell scripts. The main goal is to add support for newer OpenSSL patch versions and ensure all version mappings are up to date and consistent.

OpenSSL version support and mapping updates:

  • Updated version constants in probe_openssl_lib.go to support newer OpenSSL 3.0, 3.2, 3.3, 3.4, and 3.5 patch versions, including incrementing MaxSupportedOpenSSL30Version to 17, SupportedOpenSSL32Version4 to 5, MaxSupportedOpenSSL33Version to 4, and others. (user/module/probe_openssl_lib.go)
  • Updated the sslVersionBpfMap in initOpensslOffset() to correctly reference the latest supported OpenSSL patch versions, such as mapping 3.2.5 and 3.3.4 to their respective kernel object files. (user/module/probe_openssl_lib.go) [1] [2]

Shell script mapping updates:

  • Added or updated entries in the version-to-offset maps for OpenSSL 3.0, 3.2, 3.3, 3.4, and 3.5 in their respective helper scripts, ensuring that all supported patch versions are included and mapped to the correct offsets. (utils/openssl_offset_3.0.sh, utils/openssl_offset_3.2.sh, utils/openssl_offset_3.3.sh, utils/openssl_offset_3.4.sh, utils/openssl_offset_3.5.sh) [1] [2] [3] [4] [5]

@cfc4n cfc4n added the enhancement New feature or request label Aug 10, 2025
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 10, 2025
Copy link

🔧 Debug Build Complete

📦 Download Links:

⏰ Files will be retained for 7 days, please download and test promptly.

@cfc4n cfc4n merged commit bcf9d2a into master Aug 10, 2025
10 checks passed
@cfc4n cfc4n deleted the feature/update-openssl-offsets branch August 10, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant