云微

Results 171 comments of 云微

This is a minimal working runtime and toolchain example based on libbpf and WAMR, with only 300+ lines in runtime host implementation: https://github.com/eunomia-bpf/wasm-bpf It provides most abilities from eBPF to...

There is one in the bcc repo, you may refer to it: https://github.com/iovisor/bcc/blob/master/tools/mysqld_qslower_example.txt

@HuAn28 您有空的话,可以帮忙提一个 pr 在对应的中文和英文文档 https://github.com/eunomia-bpf/bpf-developer-tutorial/blob/main/src%2F11-bootstrap%2FREADME.md https://github.com/eunomia-bpf/bpf-developer-tutorial/blob/main/src%2F11-bootstrap%2FREADME_en.md 中的编译和运行部分,增加一句描述源代码在对应的目录 https://github.com/eunomia-bpf/bpf-developer-tutorial/blob/main/src/11-bootstrap 中的指导吗?可以防止未来其他人也有对应的疑问~ 非常感谢啦

是的!你可以在这里找到:https://github.com/eunomia-bpf/eunomia-bpf/releases 例如 https://github.com/eunomia-bpf/eunomia-bpf/releases/download/v1.0.10/ecli-aarch64 和 https://github.com/eunomia-bpf/eunomia-bpf/releases/download/v1.0.10/ecc-aarch64 具体要求和 x86 应该没有什么不同

应该和 libcap 没啥关系(? 可能是 openssl 版本不对之类的问题。[ecapture](https://ecapture.cc/) 这样比较完整的工具需要对不同的 ssl 库做很多适配,可以看看源代码 这里的 sslsniff 主要是示例,它可能没有办法写得那么复杂和完善)

Thanks for your help! But I think maybe itwould be better to change the tutorial documents to using `signal.h` instead of common.h? The code is correct but there is some...

应该是用 XDP,然后剩下用 - bpf_redirect():直接重定向数据包到指定的网卡。 - bpf_clone_redirect():会克隆当前的数据包并发送到指定的接口,原始数据包依然继续走正常的网络协议栈 最近刚用 XDP 一段时间,所以才回(请见谅