mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-11 17:29:16 +05:00
custom scripts: remove redundant in nft fw section
This commit is contained in:
parent
3f5335d0ad
commit
21041346f1
@ -44,5 +44,5 @@ zapret_custom_firewall_nft()
|
||||
zapret_apply_firewall_rules_nft
|
||||
|
||||
f="udp dport 443"
|
||||
nft_fw_nfqws_post $1 "$f $desync $first_packets_only" "$f $desync $first_packets_only" $QNUM2
|
||||
nft_fw_nfqws_post "$f $desync $first_packets_only" "$f $desync $first_packets_only" $QNUM2
|
||||
}
|
||||
|
@ -57,9 +57,9 @@ zapret_custom_firewall_nft()
|
||||
zapret_apply_firewall_rules_nft
|
||||
|
||||
f="udp dport 443"
|
||||
nft_fw_nfqws_post $1 "$f $desync $first_packets_only" "$f $desync $first_packets_only" $QNUM2
|
||||
nft_fw_nfqws_post "$f $desync $first_packets_only" "$f $desync $first_packets_only" $QNUM2
|
||||
# this for ipv4 only. do not have access to ipv6 enabled TSPU to test
|
||||
nft_fw_nfqws_post $1 "$f $desync $udplen $short_header4" "" $QNUM3
|
||||
nft_fw_nfqws_post "$f $desync $udplen $short_header4" "" $QNUM3
|
||||
# add flow offload exemption for the whole stream because we dont know when short_header rule triggers
|
||||
nft_add_flow_offload_exemption "$f" "" "QUIC exemption for complex TSPU hack"
|
||||
}
|
||||
|
@ -44,5 +44,5 @@ zapret_custom_firewall_nft()
|
||||
zapret_apply_firewall_rules_nft
|
||||
|
||||
f="udp dport 443"
|
||||
nft_fw_nfqws_post $1 "$f $desync $first_packets_only" "$f $desync $first_packets_only" $QNUM2
|
||||
nft_fw_nfqws_post "$f $desync $first_packets_only" "$f $desync $first_packets_only" $QNUM2
|
||||
}
|
||||
|
@ -57,9 +57,9 @@ zapret_custom_firewall_nft()
|
||||
zapret_apply_firewall_rules_nft
|
||||
|
||||
f="udp dport 443"
|
||||
nft_fw_nfqws_post $1 "$f $desync $first_packets_only" "$f $desync $first_packets_only" $QNUM2
|
||||
nft_fw_nfqws_post "$f $desync $first_packets_only" "$f $desync $first_packets_only" $QNUM2
|
||||
# this for ipv4 only. do not have access to ipv6 enabled TSPU to test
|
||||
nft_fw_nfqws_post $1 "$f $desync $udplen $short_header4" "" $QNUM3
|
||||
nft_fw_nfqws_post "$f $desync $udplen $short_header4" "" $QNUM3
|
||||
# add flow offload exemption for the whole stream because we dont know when short_header rule triggers
|
||||
nft_add_flow_offload_exemption "$f" "" "QUIC exemption for complex TSPU hack"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user