Skip to content

Commit 2aaa2f7

Browse files
author
bol-van
committed
Truncated history
0 parents  commit 2aaa2f7

File tree

300 files changed

+43184
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+43184
-0
lines changed

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* text=auto eol=lf
2+
binaries/win64/readme.txt eol=crlf
3+
*.cmd eol=crlf
4+
*.bat eol=crlf

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
config
2+
ip2net/ip2net
3+
mdig/mdig
4+
nfq/nfqws
5+
tpws/tpws
6+
binaries/my/
7+
binaries/win64/zapret-winws/autohostlist.txt
8+
init.d/**/custom
9+
ipset/zapret-ip*.txt
10+
ipset/zapret-ip*.gz
11+
ipset/zapret-hosts*.txt
12+
ipset/zapret-hosts*.gz

Makefile

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
DIRS := nfq tpws ip2net mdig
2+
DIRS_MAC := tpws ip2net mdig
3+
TGT := binaries/my
4+
5+
all: clean
6+
@mkdir -p "$(TGT)"; \
7+
for dir in $(DIRS); do \
8+
find "$$dir" -type f \( -name "*.c" -o -name "*.h" -o -name "*akefile" \) -exec chmod -x {} \; ; \
9+
$(MAKE) -C "$$dir" || exit; \
10+
for exe in "$$dir/"*; do \
11+
if [ -f "$$exe" ] && [ -x "$$exe" ]; then \
12+
mv -f "$$exe" "${TGT}" ; \
13+
ln -fs "../${TGT}/$$(basename "$$exe")" "$$exe" ; \
14+
fi \
15+
done \
16+
done
17+
18+
bsd: clean
19+
@mkdir -p "$(TGT)"; \
20+
for dir in $(DIRS); do \
21+
find "$$dir" -type f \( -name "*.c" -o -name "*.h" -o -name "*akefile" \) -exec chmod -x {} \; ; \
22+
$(MAKE) -C "$$dir" bsd || exit; \
23+
for exe in "$$dir/"*; do \
24+
if [ -f "$$exe" ] && [ -x "$$exe" ]; then \
25+
mv -f "$$exe" "${TGT}" ; \
26+
ln -fs "../${TGT}/$$(basename "$$exe")" "$$exe" ; \
27+
fi \
28+
done \
29+
done
30+
31+
mac: clean
32+
@mkdir -p "$(TGT)"; \
33+
for dir in $(DIRS_MAC); do \
34+
find "$$dir" -type f \( -name "*.c" -o -name "*.h" -o -name "*akefile" \) -exec chmod -x {} \; ; \
35+
$(MAKE) -C "$$dir" mac || exit; \
36+
for exe in "$$dir/"*; do \
37+
if [ -f "$$exe" ] && [ -x "$$exe" ]; then \
38+
mv -f "$$exe" "${TGT}" ; \
39+
ln -fs "../${TGT}/$$(basename "$$exe")" "$$exe" ; \
40+
fi \
41+
done \
42+
done
43+
44+
clean:
45+
@[ -d "$(TGT)" ] && rm -rf "$(TGT)" ; \
46+
for dir in $(DIRS); do \
47+
$(MAKE) -C "$$dir" clean; \
48+
done

binaries/aarch64/ip2net

37.5 KB
Binary file not shown.

binaries/aarch64/mdig

47.4 KB
Binary file not shown.

binaries/aarch64/nfqws

112 KB
Binary file not shown.

binaries/aarch64/tpws

93.7 KB
Binary file not shown.

binaries/arm/ip2net

32.6 KB
Binary file not shown.

binaries/arm/mdig

44.3 KB
Binary file not shown.

binaries/arm/nfqws

105 KB
Binary file not shown.

binaries/arm/tpws

91.8 KB
Binary file not shown.

binaries/freebsd-x64/dvtws

123 KB
Binary file not shown.

binaries/freebsd-x64/ip2net

14.4 KB
Binary file not shown.

binaries/freebsd-x64/mdig

12.2 KB
Binary file not shown.

binaries/freebsd-x64/tpws

99.6 KB
Binary file not shown.

binaries/mac64/ip2net

114 KB
Binary file not shown.

binaries/mac64/mdig

115 KB
Binary file not shown.

binaries/mac64/tpws

283 KB
Binary file not shown.

binaries/mips32r1-lsb/ip2net

40.1 KB
Binary file not shown.

binaries/mips32r1-lsb/mdig

54.1 KB
Binary file not shown.

binaries/mips32r1-lsb/nfqws

124 KB
Binary file not shown.

binaries/mips32r1-lsb/tpws

107 KB
Binary file not shown.

binaries/mips32r1-msb/ip2net

40 KB
Binary file not shown.

binaries/mips32r1-msb/mdig

53.9 KB
Binary file not shown.

binaries/mips32r1-msb/nfqws

124 KB
Binary file not shown.

binaries/mips32r1-msb/tpws

107 KB
Binary file not shown.

binaries/mips64r2-msb/ip2net

91.7 KB
Binary file not shown.

binaries/mips64r2-msb/mdig

134 KB
Binary file not shown.

binaries/mips64r2-msb/nfqws

343 KB
Binary file not shown.

binaries/mips64r2-msb/tpws

288 KB
Binary file not shown.

binaries/ppc/ip2net

40.3 KB
Binary file not shown.

binaries/ppc/mdig

51.7 KB
Binary file not shown.

binaries/ppc/nfqws

132 KB
Binary file not shown.

binaries/ppc/tpws

107 KB
Binary file not shown.

binaries/win64/WinDivert.dll

46.5 KB
Binary file not shown.

binaries/win64/WinDivert64.sys

91.9 KB
Binary file not shown.

binaries/win64/ip2net.exe

86.5 KB
Binary file not shown.

binaries/win64/mdig.exe

112 KB
Binary file not shown.

binaries/win64/readme.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Standalone version in zapret-winws folder !!
2+
From this folder winws can be started only from cygwin shell.
3+
4+
Cygwin refuses to start winws if a copy of cygwin1.dll is present !
5+
6+
How to get win7 and winws compatible version of cygwin :
7+
8+
curl -O https://www.cygwin.com/setup-x86_64.exe
9+
setup-x86_64.exe --allow-unsupported-windows --no-verify --site http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2024/01/30/231215

binaries/win64/winws.exe

234 KB
Binary file not shown.
46.5 KB
Binary file not shown.
91.9 KB
Binary file not shown.
998 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
googlevideo.com
2+
youtubei.googleapis.com
3+
i.ytimg.com
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
start "zapret: http,https,quic" /min "%~dp0winws.exe" ^
2+
--wf-tcp=80,443 --wf-udp=443 ^
3+
--filter-udp=443 --hostlist="%~dp0list-youtube.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%~dp0quic_initial_www_google_com.bin" --new ^
4+
--filter-udp=443 --dpi-desync=fake --dpi-desync-repeats=11 --new ^
5+
--filter-tcp=80 --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
6+
--filter-tcp=443 --hostlist="%~dp0list-youtube.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%~dp0tls_clienthello_www_google_com.bin" --new ^
7+
--dpi-desync=fake,disorder2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
start "zapret: http,https,quic" /min "%~dp0winws.exe" ^
2+
--wf-tcp=80,443 --wf-udp=443 ^
3+
--filter-udp=443 --hostlist="%~dp0list-youtube.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%~dp0quic_initial_www_google_com.bin" --new ^
4+
--filter-udp=443 --dpi-desync=fake --dpi-desync-repeats=11 --new ^
5+
--filter-tcp=80 --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --hostlist-auto="%~dp0autohostlist.txt" --new ^
6+
--filter-tcp=443 --hostlist="%~dp0list-youtube.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%~dp0tls_clienthello_www_google_com.bin" --new ^
7+
--dpi-desync=fake,disorder2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --hostlist-auto="%~dp0autohostlist.txt"
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
set ARGS=--wf-l3=ipv4,ipv6 --wf-tcp=80,443 --dpi-desync=fake,split --dpi-desync-ttl=7 --dpi-desync-fooling=md5sig
2+
call :srvinst winws1
3+
rem set ARGS=--wf-l3=ipv4,ipv6 --wf-udp=443 --dpi-desync=fake
4+
rem call :srvinst winws2
5+
goto :eof
6+
7+
:srvinst
8+
net stop %1
9+
sc delete %1
10+
sc create %1 binPath= "\"%~dp0winws.exe\" %ARGS%" DisplayName= "zapret DPI bypass : %1" start= auto
11+
sc description %1 "zapret DPI bypass software"
12+
sc start %1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
call :srvdel winws1
2+
rem call :srvdel winws2
3+
goto :eof
4+
5+
:srvdel
6+
net stop %1
7+
sc delete %1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sc start winws1
2+
rem sc start winws2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
net stop winws1
2+
rem net stop winws2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
set WINWS1=--wf-l3=ipv4,ipv6 --wf-tcp=80,443 --dpi-desync=fake,split --dpi-desync-ttl=7 --dpi-desync-fooling=md5sig
2+
schtasks /Create /F /TN winws1 /NP /RU "" /SC onstart /TR "\"%~dp0winws.exe\" %WINWS1%"
3+
rem set WINWS2=--wf-l3=ipv4,ipv6 --wf-udp=443 --dpi-desync=fake
4+
rem schtasks /Create /F /TN winws2 /NP /RU "" /SC onstart /TR "\"%~dp0winws.exe\" %WINWS2%"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
schtasks /End /TN winws1
2+
schtasks /Delete /TN winws1 /F
3+
rem schtasks /End /TN winws2
4+
rem schtasks /Delete /TN winws2 /F
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
schtasks /Run /TN winws1
2+
rem schtasks /Run /TN winws2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
schtasks /End /TN winws1
2+
rem schtasks /End /TN winws2
Binary file not shown.

binaries/win64/zapret-winws/winws.exe

234 KB
Binary file not shown.

binaries/x86/ip2net

31.7 KB
Binary file not shown.

binaries/x86/mdig

45 KB
Binary file not shown.

binaries/x86/nfqws

120 KB
Binary file not shown.

binaries/x86/tpws

101 KB
Binary file not shown.

binaries/x86_64/ip2net

33.4 KB
Binary file not shown.

binaries/x86_64/mdig

45.7 KB
Binary file not shown.

binaries/x86_64/nfqws

122 KB
Binary file not shown.

binaries/x86_64/tpws

104 KB
Binary file not shown.

binaries/x86_64/tpws_wsl.tgz

109 KB
Binary file not shown.

0 commit comments

Comments
 (0)