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

学习29-sockops遇到报错“iperf3: error - unable to send control message: Permission denied #117

Open
YuSongHao opened this issue May 8, 2024 · 0 comments

Comments

@YuSongHao
Copy link

系统版本:Ubuntu-22.04
内核版本:6.5.0-28-generic

步骤:root用户按29-sockops的readme步骤,安装依赖和submodule之后,完成make和 load.sh,使用sudo iperf3 -s -p 5001建立tcp服务端,使用sudo iperf3 -c 127.0.0.1 -p 5001进行测试。

表现:iperf3报错error - unable to send control message: Permission denied.
简单debug发现是bpf_redirect.bpf.c中最后的bpf_msg_redirect_hash返回了SK_DROP(0)。

想求助下一步应该如何排查和解决。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant