-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Dokodemo-door端口转发iperf3失败 #1872
Comments
在转发到iperf3服务端直接做了tcpdump,客户端在三次握手后会发送一串类似身份标识的数据,然后服务端会返回1字节(值为“0x09”)的数据回去。直连的话会客户端会继续推进下去,正常连接。但是用dokodemo的话,如果把缓存关掉,v2的转发还会ACK服务端这1字节数据,但并没有向客户端转发返回这1字节的数据。 是不是dokodemo对转发的数据量有要求? |
在#1817 提到v4.7是可行的,我再用4.7测试是可以通过的,而4.8就不行了。然后比对了4.7~4.8之间的代码,好像demo和freedom的数据转发线程有调整过,是不是这部分的原因? |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
4.10和4.18都试过
想通过dokodemo端口转发iperf3来测量v2负载通道
iperf3端访问dokodemo的端口时,v2的error日志有显示连接上转发的目标iperf3服务端,但是服务端和客户端都没有反应,无论手动中断(客户端ctrl+c)还是v2自动中断,服务端都提示“iperf3: error - unable to receive parameters from client”
能正常转发iperf3的流量
服务器端配置:
iperf3
服务端:iperf3 -sp 6666 -B 192.168.0.30 -f K
客户端: iperf3 -c 192.168.0.30 -p 6665 -b 1M -f K --get-server-output
客户端配置:
// 在这里附上客户端配置
/var/log/v2ray/error.log
文件中。服务器端错误日志:
The text was updated successfully, but these errors were encountered: