utils: support openssl 3.1.0-3.1.4 and 3.0.9-3.0.12#469
Merged
Conversation
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
commented
Jan 27, 2024
Member
Author
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.