winws: windows service support

This commit is contained in:
bol-van
2024-04-30 15:35:20 +03:00
parent 9eded3d3ce
commit 9df7574b2b
20 changed files with 291 additions and 8 deletions

Binary file not shown.

View File

@@ -0,0 +1,6 @@
ej.ru
bbc.com
static.rutracker.cc
nnmclub.to
hdrezka.ag
rutracker.org

View File

@@ -1,2 +1,2 @@
start "zapret: http,https" "%~dp0winws.exe" --wf-tcp=80,443 --dpi-desync=fake,disorder2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig
start "zapret: quic" "%~dp0winws.exe" --wf-udp=443 --dpi-desync=fake --dpi-desync-repeats=10
start "zapret: quic" "%~dp0winws.exe" --wf-udp=443 --dpi-desync=fake --dpi-desync-repeats=11

View File

@@ -0,0 +1,12 @@
set ARGS=--wf-l3=ipv4,ipv6 --wf-tcp=80,443 --dpi-desync=fake,split --dpi-desync-ttl=7 --dpi-desync-fooling=md5sig
call :srvinst winws1
rem set ARGS=--wf-l3=ipv4,ipv6 --wf-udp=443 --dpi-desync=fake
rem call :srvinst winws2
goto :eof
:srvinst
net stop %1
sc delete %1
sc create %1 binPath= "\"%~dp0winws.exe\" %ARGS%" DisplayName= "zapret DPI bypass : %1" start= auto
sc description %1 "zapret DPI bypass software"
sc start %1

View File

@@ -0,0 +1,7 @@
call :srvdel winws1
rem call :srvdel winws2
goto :eof
:srvdel
net stop %1
sc delete %1

View File

@@ -0,0 +1,2 @@
sc start winws1
rem sc start winws2

View File

@@ -0,0 +1,2 @@
net stop winws1
rem net stop winws2