# can be passed FWTYPE=iptables to override default nftables preference
# can be passed FWTYPE=iptables to override default nftables preference
@ -354,6 +355,7 @@ check_system()
Linux)
Linux)
PKTWS="$NFQWS"
PKTWS="$NFQWS"
PKTWSD=nfqws
PKTWSD=nfqws
FIX_SEG=' --fix-seg'
linux_fwtype
linux_fwtype
["$FWTYPE"= iptables -o "$FWTYPE"= nftables ]||{
["$FWTYPE"= iptables -o "$FWTYPE"= nftables ]||{
echo firewall type$FWTYPE not supported in $UNAME
echo firewall type$FWTYPE not supported in $UNAME
@ -1430,6 +1432,11 @@ warn_mss()
[ -n "$1"]&&echo'WARNING ! although mss worked it may not work on all sites and will likely cause significant slowdown. it may only be required for TLS1.2, not TLS1.3'
[ -n "$1"]&&echo'WARNING ! although mss worked it may not work on all sites and will likely cause significant slowdown. it may only be required for TLS1.2, not TLS1.3'
for s in '''--oob''--disorder'${oobdis:+"$oobdis"};do
for s in '''--oob''--disorder'${oobdis:+"$oobdis"};do
for s2 in '--tlsrec=midsld''--tlsrec=sniext+1 --split-pos=midsld''--tlsrec=sniext+4 --split-pos=midsld''--tlsrec=sniext+1 --split-pos=1,midsld --fix-seg''--tlsrec=sniext+4 --split-pos=1,midsld --fix-seg';do
for s2 in '--tlsrec=midsld''--tlsrec=sniext+1 --split-pos=midsld''--tlsrec=sniext+4 --split-pos=midsld'"--tlsrec=sniext+1 --split-pos=1,midsld$FIX_SEG""--tlsrec=sniext+4 --split-pos=1,midsld$FIX_SEG";do
tpws_curl_test_update $1$3$s2$s$s3&& warn_mss $s3&&["$SCANLEVEL" != force ]&&{
tpws_curl_test_update $1$3$s2$s$s3&& warn_mss $s3&&["$SCANLEVEL" != force ]&&{