config: Fix bug in default config (forced use google hostlist)

This commit is contained in:
remittor
2024-10-30 15:18:57 +03:00
parent 148a397051
commit d463d2e39e
2 changed files with 6 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ NFQWS_PORTS_UDP_KEEPALIVE=0
# use <HOSTLIST> and <HOSTLIST_NOAUTO> placeholders to engage standard hostlists and autohostlist in ipset dir # use <HOSTLIST> and <HOSTLIST_NOAUTO> placeholders to engage standard hostlists and autohostlist in ipset dir
# hostlist markers are replaced to empty string if MODE_FILTER does not satisfy # hostlist markers are replaced to empty string if MODE_FILTER does not satisfy
# <HOSTLIST_NOAUTO> appends ipset/zapret-hosts-auto.txt as normal list # <HOSTLIST_NOAUTO> appends ipset/zapret-hosts-auto.txt as normal list
NFQWS_OPT="--filter-tcp=80 <HOSTLIST> --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new --filter-tcp=443 <HOSTLIST> --dpi-desync=fake,split2 --dpi-desync-repeats=11 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin --new --filter-udp=443 <HOSTLIST> --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin --new --filter-udp=443 <HOSTLIST> --dpi-desync=fake --dpi-desync-repeats=11 --new --dpi-desync=fake,disorder2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig" NFQWS_OPT="--filter-tcp=80 <HOSTLIST> --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new --filter-tcp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt --dpi-desync=fake,split2 --dpi-desync-repeats=11 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin --new --filter-udp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic=/opt/zapret/files/fake/quic_initial_www_google_com.bin --new --filter-udp=443 <HOSTLIST_NOAUTO> --dpi-desync=fake --dpi-desync-repeats=11 --new <HOSTLIST> --dpi-desync=fake,disorder2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig"
# FlowOffload mode : donttouch,none,software,hardware # FlowOffload mode : donttouch,none,software,hardware

View File

@@ -53,21 +53,22 @@ function set_default_values
--dpi-desync-autottl=2 --dpi-desync-autottl=2
--dpi-desync-fooling=md5sig --dpi-desync-fooling=md5sig
--new --new
--filter-tcp=443 <HOSTLIST> --filter-tcp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
--dpi-desync=fake,split2 --dpi-desync=fake,split2
--dpi-desync-repeats=11 --dpi-desync-repeats=11
--dpi-desync-fooling=md5sig --dpi-desync-fooling=md5sig
--dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin --dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin
--new --new
--filter-udp=443 <HOSTLIST> --filter-udp=443 --hostlist=/opt/zapret/ipset/zapret-hosts-google.txt
--dpi-desync=fake --dpi-desync=fake
--dpi-desync-repeats=11 --dpi-desync-repeats=11
--dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin --dpi-desync-fake-quic=/opt/zapret/files/fake/quic_initial_www_google_com.bin
--new --new
--filter-udp=443 <HOSTLIST> --filter-udp=443 <HOSTLIST_NOAUTO>
--dpi-desync=fake --dpi-desync=fake
--dpi-desync-repeats=11 --dpi-desync-repeats=11
--new --new
<HOSTLIST>
--dpi-desync=fake,disorder2 --dpi-desync=fake,disorder2
--dpi-desync-autottl=2 --dpi-desync-autottl=2
--dpi-desync-fooling=md5sig --dpi-desync-fooling=md5sig