mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-31 23:00:42 +03:00
def-cfg: Add new strategy v7_by_StressOzz
This commit is contained in:
@@ -292,6 +292,57 @@ function set_cfg_nfqws_strat
|
|||||||
commit $cfgname
|
commit $cfgname
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
if [ "$strat" = "v7_by_StressOzz" ]; then
|
||||||
|
uci batch <<-EOF
|
||||||
|
set $cfgname.config.NFQWS_PORTS_TCP='80,443,2053,2083,2087,2096,8443'
|
||||||
|
set $cfgname.config.NFQWS_PORTS_UDP='443,19294-19344,50000-50100'
|
||||||
|
set $cfgname.config.NFQWS_OPT="
|
||||||
|
# Strategy $strat
|
||||||
|
|
||||||
|
--filter-tcp=443
|
||||||
|
--hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
|
||||||
|
--dpi-desync=fake,multisplit
|
||||||
|
--dpi-desync-split-pos=2,sld
|
||||||
|
--dpi-desync-fake-tls=0x0F0F0F0F
|
||||||
|
--dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin
|
||||||
|
--dpi-desync-fake-tls-mod=rnd,dupsid,sni=ggpht.com
|
||||||
|
--dpi-desync-split-seqovl=620
|
||||||
|
--dpi-desync-split-seqovl-pattern=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin
|
||||||
|
--dpi-desync-fooling=badsum,badseq
|
||||||
|
|
||||||
|
--new
|
||||||
|
--filter-tcp=443 <HOSTLIST>
|
||||||
|
--dpi-desync=fake,multisplit
|
||||||
|
--dpi-desync-split-seqovl=654
|
||||||
|
--dpi-desync-split-pos=1
|
||||||
|
--dpi-desync-fooling=ts
|
||||||
|
--dpi-desync-repeats=8
|
||||||
|
--dpi-desync-split-seqovl-pattern=/opt/zapret/files/fake/max.bin
|
||||||
|
--dpi-desync-fake-tls=/opt/zapret/files/fake/max.bin
|
||||||
|
|
||||||
|
--new
|
||||||
|
--filter-udp=443 <HOSTLIST_NOAUTO>
|
||||||
|
--dpi-desync=fake
|
||||||
|
--dpi-desync-repeats=6
|
||||||
|
--dpi-desync-fake-quic=/opt/zapret/files/fake/quic_initial_www_google_com.bin
|
||||||
|
|
||||||
|
--new
|
||||||
|
--filter-udp=19294-19344,50000-50100
|
||||||
|
--filter-l7=discord,stun
|
||||||
|
--dpi-desync=fake
|
||||||
|
--dpi-desync-repeats=6
|
||||||
|
|
||||||
|
--new
|
||||||
|
--filter-tcp=2053,2083,2087,2096,8443
|
||||||
|
--hostlist-domains=discord.media
|
||||||
|
--dpi-desync=multisplit
|
||||||
|
--dpi-desync-split-seqovl=652
|
||||||
|
--dpi-desync-split-pos=2
|
||||||
|
--dpi-desync-split-seqovl-pattern=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin
|
||||||
|
"
|
||||||
|
commit $cfgname
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
if [ "$strat" = "ALT7_by_Flowseal" ]; then
|
if [ "$strat" = "ALT7_by_Flowseal" ]; then
|
||||||
uci batch <<-EOF
|
uci batch <<-EOF
|
||||||
set $cfgname.config.NFQWS_PORTS_TCP='80,443'
|
set $cfgname.config.NFQWS_PORTS_TCP='80,443'
|
||||||
|
|||||||
Reference in New Issue
Block a user