XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
25.56k stars 3.95k forks source link

如何开启TFO #1291

Closed GeorgeRudd closed 1 year ago

GeorgeRudd commented 2 years ago

服务端 debian10 /etc/sysctl.conf 里设置 net.ipv4.tcp_fastopen=3 客户端 win11 android12 v2rayN v2rayNG 都使用自定义配置 ss2022协议 "sockopt": { "tcpFastOpen": true } 使用 grep '^TcpExt:' /proc/net/netstat | cut -d ' ' -f 87-92 | column -t 观察 TCPFastOpenPassive TCPFastOpenPassiveFail 都是0

xqzr commented 2 years ago
net.ipv4.tcp_fastopen=3
net.ipv4.tcp_fastopen_blackhole_timeout_sec=0
GeorgeRudd commented 2 years ago

/etc/sysctl.conf

加了还是不行

pmkol commented 2 years ago

同样问题,发现并没有生效,使用的是trojan协议

xqzr commented 2 years ago

检查客户端 系统 TFO 参数

GeorgeRudd commented 1 year ago

https://github.com/XTLS/Xray-core/issues/1433