Skip to content

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

Merged
cfc4n merged 1 commit into
masterfrom
support-openssl-3.1.x
Jan 27, 2024
Merged

utils: support openssl 3.1.0-3.1.4 and 3.0.9-3.0.12#469
cfc4n merged 1 commit into
masterfrom
support-openssl-3.1.x

Conversation

@cfc4n
Copy link
Copy Markdown
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
Copy Markdown
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
@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