-
Notifications
You must be signed in to change notification settings - Fork 132
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
BBR over UDP的可能性 #23
Comments
这个lkl_raw 是 基于 raw socket的, 不是基于tap的,不需要绑定tap设备 最后去掉 自动设置 iptables规则的代码 |
lkl除了通过这个虚拟网卡与host通讯,能不能用host上面的unix socket或者pipe呢? 如果不行的话,好像很难把隧道里面的东西发给外面的程序,比如shadowsocks |
lkl和host通信 ,在进程内是通过 syscall的,host里的程序开启lkl,并调用lkl的syscalls来实现lkl和host的通信 [1] lkl/linux#223 |
貌似大佬你对lkl很了解,想邀你讨论下udp上面bbr:) 这个想法动机有这么几个:
目前我能想到的BBR over UDP途径有俩, 一个是quic, 但是go-quic项目没有支持bbr的迹象。第二个就是lkl, 但我看到的libhijack需要绑定整个物理网卡或者一个tap设备,这样必须要有root权限。有没有可能让lkl只需要绑定一个udp socket或者af_unix socket或者pipe,然后把这个当成一个虚拟的L2网卡呢?
The text was updated successfully, but these errors were encountered: