You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a separate terminal on the kali machine, execute nc 127.0.0.1 5050
Expected Behavior
Netcat is designed to create a TCP connection. When the commands are issued, the user on the second command is able to type into STDIN and that information gets sent to the recipient side
Actual Behavior
The connection is received on the recipient side, then immediately closed.
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please 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. Thank you!
Windows Version
Microsoft Windows [Version 10.0.22635.3350]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1-2
Distro Version
Kali 2024.1 rolling
Other Software
No response
Repro Steps
nc -nvlp 5050
nc 127.0.0.1 5050
Expected Behavior
Netcat is designed to create a TCP connection. When the commands are issued, the user on the second command is able to type into STDIN and that information gets sent to the recipient side
Actual Behavior
The connection is received on the recipient side, then immediately closed.
Diagnostic Logs
Client strace: https://gist.github.com/peterbro1/5de18e43f3260279adae9ee2486643ba
Server strace: https://gist.github.com/peterbro1/da519b52194614860be4a25f3190a7e1
WslNetworkingLogs-2024-03-14_19-21-31.zip
https://superuser.com/questions/1835183/ncat-inside-wsl2-not-behaving-correctly
The text was updated successfully, but these errors were encountered: