-
Notifications
You must be signed in to change notification settings - Fork 832
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
Bad tcp behavior under mirrored network #12269
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
It's Windows on Arm only. It's fine on amd64 PC. |
/logs |
The log file: |
Diagnostic information
|
@LHe496 thanks for reporting the issue this sounds similar to #10855 to confirm it's the same issue, could you please collect networking logs using https://github.com/microsoft/WSL/blob/master/diagnostics/collect-networking-logs.ps1? the script will generate a "WslNetworkingLogs" zip It's interesting that the issue happens only on arm but not on amd |
Networking log: |
Diagnostic information
|
BTW, I've tested the procedure mentioned on #12245. It's the same to me. I think maybe it's the same problem since before updating wsl to version 2.3.26.0, I've experienced the same problem under wsl version 2.3.24.0. |
thanks for sending the logs the RST packet should have destination port same as the source port of the SYN packet (45823), but the destination port is altered (it's 60362) 14:18:27.853583 loopback0 Out ifindex 2 00:15:5d:1e:ac:f8 ethertype IPv4 (0x0800), length 80: (tos 0x0, ttl 64, id 26490, offset 0, flags [DF], proto TCP (6), length 60) |
/dupe #10855 |
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Something mysterious happens. After I installed wireshark to capture the traffic, it turns out to be fine that Windows seems to be able to sent back message to the right port. If I stop wireshark from capturing, it brokes again. Maybe this could be a clue. |
The wireshark capturing did not fix it on my side sadly. |
Windows Version
Microsoft Windows [Version 10.0.26100.2314]
WSL Version
2.3.26.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.167.4-microsoft-standard-WSL2
Distro Version
Ubuntu 22.04
Other Software
telnet 0.17-44build1 arm64
Repro Steps
On Windows on Arm wsl2 with a mirrored network, use telnet to connect to an unexisting port.
Suppose there is no process listening to port 8677:
telnet 127.0.0.1 8677
Expected Behavior
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Actual Behavior
Trying 127.0.0.1...
The telnet will wait for a long time to report time out.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: