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

xbox 测试多人连线时丢包 100% #949

Closed
pexcn opened this issue Sep 25, 2022 · 7 comments
Closed

xbox 测试多人连线时丢包 100% #949

pexcn opened this issue Sep 25, 2022 · 7 comments

Comments

@pexcn
Copy link
Contributor

pexcn commented Sep 25, 2022

photo_2022-09-25_17-33-29

现象:
使用 v1.15.0-alpha.8 时, 在 xbox 测试多人连线的时候会连不通,显示丢包 100%. 请问是 ss-rust 不支持 FULLCONE NAT 的问题吗?

补充:
在使用 v1.14.3 的时候,在服务端做了以下设置是能通过 xbox 的多人连线测试的;但是同样的设置,在 v1.15.0-alpha.8 却不行。

echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc
@pexcn
Copy link
Contributor Author

pexcn commented Sep 25, 2022

关联 issue: shadowsocks/shadowsocks-libev#361

@zonyitoo
Copy link
Collaborator

It is fullcone NAT. You can verify that in code.

@database64128
Copy link
Contributor

This test probably tests some edge cases with large packets. Your multiplayer games should play just fine. Just ignore the test result. And don't mess with sys/net/ipv4/ip_no_pmtu_disc.

Your issue is related to commit be518ce, which was requested by me. Disabling IP fragmentation ensures that protocols using DPLPMTUD can probe the correct MTU, which is crucial for throughput and latency, since fragmented IP packets can be flaky over the Internet.

@zonyitoo
Copy link
Collaborator

I tried with Nintendo's Switch, and it showed NAT Type: A, which is Fullcone.

@pexcn
Copy link
Contributor Author

pexcn commented Sep 25, 2022

感谢各位大佬解答😁,我决定把 ip_no_pmtu_disc 关闭了

@pexcn pexcn closed this as completed Sep 25, 2022
@pexcn
Copy link
Contributor Author

pexcn commented May 8, 2024

具体忘记了,保持系统的默认设置就行,显示100%丢包实际不影响使用

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

4 participants
@zonyitoo @pexcn @database64128 and others