blockcheck: enable ECN in windows

This commit is contained in:
bol-van
2025-10-07 10:19:02 +03:00
parent 977d117417
commit 4d35d8d1ec

View File

@@ -400,6 +400,9 @@ check_system()
# ts fooling requires timestamps. they are disabled by default in windows.
echo enabling tcp timestamps
netsh interface tcp set global timestamps=enabled >/dev/null
# they may not enable additional fake protection if ECN is enabled
echo enabling ECN
netsh int tcp set global ecn=enabled >/dev/null
;;
*)
echo $UNAME not supported