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

libssl's path should not be hard coded #123

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

crazytaxii
Copy link
Contributor

Description

libssl's path should not be hard coded.
For example, on my Rocky Linux 9, the library is /lib64/libssl.so.3.

Running 30-sslsniff failed because of wrong libssl.so path /lib/x86_64-linux-gnu/libssl.so.3:

$ ./sslsniff 
OpenSSL path: /lib64/libssl.so.3
libbpf: elf: failed to open /lib/x86_64-linux-gnu/libssl.so.3: No such file or directory
no program attached for probe_SSL_rw_enter: No such file or directory
GnuTLS path: /lib64/libgnutls.so.30
NSS path: /lib64/libnspr4.so
FUNC         TIME(s)            COMM             PID     LEN    

@yunwei37
Copy link
Member

Thanks!

@yunwei37 yunwei37 merged commit 8dae44e into eunomia-bpf:main Jun 25, 2024
6 checks passed
@crazytaxii crazytaxii deleted the fix branch June 25, 2024 10:42
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.

2 participants