mirror of
https://github.com/bol-van/zapret.git
synced 2026-10-17 11:35:20 +09:00
blockcheck: enable ECN in windows
This commit is contained in:
1 parent
977d117417
commit
4d35d8d1ec
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user