mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-11 17:29:16 +05:00
complex TSPU hack is overkill
This commit is contained in:
parent
0c457dc2a8
commit
bcb7abc830
Binary file not shown.
@ -33,7 +33,7 @@ zapret_custom_firewall()
|
||||
local f
|
||||
local first_packets_only="-m connbytes --connbytes-dir=original --connbytes-mode=packets --connbytes 1:3"
|
||||
local desync="-m mark ! --mark $DESYNC_MARK/$DESYNC_MARK"
|
||||
local udplen="-m length --length 600:1500"
|
||||
local udplen="-m length --length 601:1500"
|
||||
local short_header4="-m u32 --u32 0>>22&0x3C@8>>24&0xC0=0x40"
|
||||
|
||||
zapret_do_firewall_rules_ipt $1
|
||||
@ -52,7 +52,7 @@ zapret_custom_firewall_nft()
|
||||
local f
|
||||
local first_packets_only="ct original packets 1-3"
|
||||
local desync="mark and $DESYNC_MARK == 0"
|
||||
local udplen="udp length 600-1500"
|
||||
local udplen="udp length 601-1500"
|
||||
local short_header4="@th,64,2 1"
|
||||
|
||||
zapret_apply_firewall_rules_nft
|
||||
|
Loading…
Reference in New Issue
Block a user