mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
blockcheck: more configurable parameters
This commit is contained in:
parent
21e864132a
commit
e2d5d5c18b
@ -12,16 +12,16 @@ ZAPRET_BASE="$EXEDIR"
|
|||||||
[ -n "$TPWS" ] || TPWS="$ZAPRET_BASE/tpws/tpws"
|
[ -n "$TPWS" ] || TPWS="$ZAPRET_BASE/tpws/tpws"
|
||||||
[ -n "$MDIG" ] || MDIG="$ZAPRET_BASE/mdig/mdig"
|
[ -n "$MDIG" ] || MDIG="$ZAPRET_BASE/mdig/mdig"
|
||||||
[ -n "$DESYNC_MARK" ] || DESYNC_MARK=0x40000000
|
[ -n "$DESYNC_MARK" ] || DESYNC_MARK=0x40000000
|
||||||
DOMAIN=rutracker.org
|
[ -n "$IPFW_RULE_NUM" ] || IPFW_RULE_NUM=1
|
||||||
CURL_MAX_TIME=5
|
[ -n "$IPFW_DIVERT_PORT" ] || IPFW_DIVERT_PORT=59780
|
||||||
MIN_TTL=1
|
[ -n "$DOMAIN" ] || DOMAIN=rutracker.org
|
||||||
MAX_TTL=12
|
[ -n "$CURL_MAX_TIME" ] || CURL_MAX_TIME=5
|
||||||
|
[ -n "$MIN_TTL" ] || MIN_TTL=1
|
||||||
|
[ -n "$MAX_TTL" ] || MAX_TTL=12
|
||||||
|
|
||||||
HDRTEMP=/tmp/zapret-hdr.txt
|
HDRTEMP=/tmp/zapret-hdr.txt
|
||||||
ECHON="echo -n"
|
ECHON="echo -n"
|
||||||
|
|
||||||
IPFW_RULE_NUM=1
|
|
||||||
IPFW_DIVERT_PORT=59780
|
|
||||||
|
|
||||||
DNSCHECK_DNS="8.8.8.8 1.1.1.1 77.88.8.8"
|
DNSCHECK_DNS="8.8.8.8 1.1.1.1 77.88.8.8"
|
||||||
DNSCHECK_DOM="pornhub.com putinhuylo.com rutracker.org nnmclub.to protonmail.com"
|
DNSCHECK_DOM="pornhub.com putinhuylo.com rutracker.org nnmclub.to protonmail.com"
|
||||||
DNSCHECK_DIG1=/tmp/dig1.txt
|
DNSCHECK_DIG1=/tmp/dig1.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user