Hello,
Thank you for posting in Microsoft Q&A.
Based on the description, I understand your question is related to ECN Negotiation Failure Between Windows( as client) and Linux.
First run below commands:
netsh int tcp set global ecn=enabled
There is no direct parameter in Windows to control the ECN bits in the SYN packet to avoid setting it to '10'.
Tyr below command to disable ECN for Initial SYN Packets
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -Name "InitialRto" -Value 3000 -PropertyType DWord
Create a PowerShell script to dynamically adjust ECN settings based on the connection state.
netsh int tcp set global ecn=disabled
$connection = New-Object System.Net.Sockets.TcpClient("linux-server-ip", 22)
netsh int tcp set global ecn=enabled
Have a nice day.
Best Regards,
Molly
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it