Replies: 4 comments 6 replies
-
plese upload |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
简体中文关于回话合并这并不是 不过,你可以在eBPF的函数里,HOOK的地方,针对每个hook事件,取当时的CPU时钟,用户空间程序收到事件后,再进行消息顺序排序。 可以很好的减缓这类问题。但仍无法完美解决。 在eCapture的代码中, 关于SSL结构体访问也不需要完全引入 ecapture/kern/openssl_1_1_1d_kern.c Lines 7 to 44 in fe4a76d EnglishAbout conversation mergingThis is not caused by the However, in eBPF functions where HOOK occurs, you can take the CPU clock at that time for each hook event and sort messages in order after receiving events in user space programs. This can greatly alleviate such problems. But still cannot solve perfectly. In eCapture's code, About SSL structure accessYou don't need to fully introduce ecapture/kern/openssl_1_1_1d_kern.c Lines 7 to 44 in fe4a76d |
Beta Was this translation helpful? Give feedback.
-
我在使用LD_DEBUG信息跟踪某发送HTTPS请求的python程序时,输出了该python程序引用到的链接库,如下所示:
所以我使用bpftrace简单地hook了该链接库的SSL_write函数,在执行该python测试程序后并没有捕获到相关信息:
这是一个有趣的现象,同样地我对curl进行了测试,发现curl也同样引用了该链接库,但是不同地是可以捕获到调用信息:
这个测试来源于我在实现自研的进程级别的流量监控程序的过程中,同样我借鉴了ecapture项目的实现思路,但针对上述这个具体的问题,ecapture的结果也不尽如人意,所以想跟大家讨论下~
Beta Was this translation helpful? Give feedback.
All reactions