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

utils: support openssl 3.1.0-3.1.4 and 3.0.9-3.0.12 #469

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

cfc4n
Copy link
Member

@cfc4n cfc4n commented Jan 26, 2024

Since 3.0.x has the same offsets as the other properties of the 3.1.x series ssl_st structs, the 3.0.x kern file is used uniformly.

Since 3.0.x has the same offsets as the other properties of the 3.1.x series ssl_st structs, the 3.0.x kern file is used uniformly.

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n added the enhancement New feature or request label Jan 26, 2024
Copy link
Member Author

@cfc4n cfc4n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed

sudo bin/ecapture tls --libssl=/lib/aarch64-linux-gnu/libssl.so.3 --ssl_version="openssl 3.1.1"
tls_2024/01/27 05:04:28 ECAPTURE :: ecapture Version : linux_aarch64:0.7.2-20240104-f368e82:[CORE]
tls_2024/01/27 05:04:28 ECAPTURE :: Pid Info : 47510
tls_2024/01/27 05:04:28 ECAPTURE :: Kernel Info : 5.15.131
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	module initialization
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	master key keylogger:
tls_2024/01/27 05:04:28 ECAPTURE ::	Module.Run()
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	Text MODEL
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	OpenSSL/BoringSSL version: openssl 3.1.1
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	libPthread path not found, IP info lost.
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	HOOK type:2, binrayPath:/lib/aarch64-linux-gnu/libssl.so.3
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	Hook masterKey function:SSL_write
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	target all process.
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	target all users.
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	BPF bytecode filename:user/bytecode/openssl_3_0_0_kern.o
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	perfEventReader created. mapSize:4 MB
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	perfEventReader created. mapSize:4 MB
tls_2024/01/27 05:04:28 EBPFProbeOPENSSL	module started successfully.
tls_2024/01/27 05:04:28 ECAPTURE :: 	start 1 modules
^Ctls_2024/01/27 05:04:40 EBPFProbeOPENSSL	close.
tls_2024/01/27 05:04:40 EBPFProbeOPENSSL	close

@cfc4n cfc4n merged commit 28b248b into master Jan 27, 2024
6 checks passed
@cfc4n cfc4n deleted the support-openssl-3.1.x branch January 27, 2024 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant