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

0.6.6 couldn't init manager open /sys/kernel/debug/tracing/available_filter_functions: no such file or directory #424

Closed
heidan123 opened this issue Nov 20, 2023 · 4 comments
Labels
question Further information is requested

Comments

@heidan123
Copy link

heidan123 commented Nov 20, 2023

你好。运行0.6.6 报错

 ./ecapture tls --libssl=/system/lib64/libssl.so  -w /data/asd.log
tls --libssl=/system/lib64/libssl.so  -w /data/asd.log                        <
tls_2023/11/20 16:22:19 ECAPTURE :: ecapture Version : androidgki_x86_64:0.6.6-20231119-06b63d6:5.15.0-1050-azure
tls_2023/11/20 16:22:19 ECAPTURE :: Pid Info : 4124
tls_2023/11/20 16:22:19 ECAPTURE :: Kernel Info : 4.19.110
tls_2023/11/20 16:22:19 EBPFProbeOPENSSL        module initialization
tls_2023/11/20 16:22:19 ECAPTURE ::     Module.Run()
tls_2023/11/20 16:22:19 EBPFProbeOPENSSL        TC MODEL
tls_2023/11/20 16:22:19 EBPFProbeOPENSSL        OpenSSL/BoringSSL version not found, used default version :android_default
tls_2023/11/20 16:22:19 EBPFProbeOPENSSL        HOOK type:2, binrayPath:/system/lib64/libssl.so
tls_2023/11/20 16:22:19 EBPFProbeOPENSSL        Ifname:wlan0, Ifindex:4,  Port:443, Pcapng filepath:/data/asd.log
tls_2023/11/20 16:22:19 EBPFProbeOPENSSL        Hook masterKey function:SSL_in_init
tls_2023/11/20 16:22:19 EBPFProbeOPENSSL        BPF bytecode filename:user/bytecode/boringssl_a_13_kern_less52.o
tls_2023/11/20 16:22:19 EBPFProbeOPENSSL        module run failed, [skip it]. error:couldn't init manager open /sys/kernel/debug/tracing/available_filter_functions: no such file or directory
tls_2023/11/20 16:22:19 ECAPTURE ::     No runnable modules, Exit(1)

不加-w 可以正常运行

@cfc4n cfc4n added the question Further information is requested label Nov 21, 2023
@cfc4n
Copy link
Member

cfc4n commented Nov 21, 2023

请参考issue模板,补充运行环境信息等基础信息,便于排查。

@heidan123
Copy link
Author

还是夜神模拟器 安卓9 x64
uname -a
Linux localhost 4.19.110 #106 SMP PREEMPT Tue Sep 26 02:29:27 CST 2023 x86_64

@BiteFoo
Copy link
Contributor

BiteFoo commented Nov 22, 2023

这个应该是内核不支持,这个内核版本需要自己的去开启bpf的编译选项。不过ecapture并不支持这么低的内核版本。

@heidan123
Copy link
Author

好的,感谢。

@cfc4n cfc4n closed this as completed Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants