Browse Source

Fix for mss clamping

tags/2.1
Brielle Bruns 5 years ago
parent
commit
c2fe6eb39c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lib/iptables.inc

+ 1
- 0
lib/iptables.inc View File

@@ -188,6 +188,7 @@ function enable_mss_clamp {
[[ ${msssize} == "-" ]] && msssize="--clamp-mss-to-pmtu"
#[[ ${interface} != "all" ]] && interface="-o ${interface}"
[[ ${type} == "${OutFilter}" ]] && interface="-o ${interface}"
[[ ${type} == "${FwdFilter}" ]] && interface="-o ${interface}"
[[ ${isallinterfaces} == "yes" ]] && interface=""
${debug} ${DebugColor} "${FUNCNAME}:${DEFAULT_COLOR} Read: ${interface} ${mss} ${type} ${msssize}"
${VER_IPTABLES} -A ${type} -p tcp --tcp-flags SYN,RST SYN -j TCPMSS \


Loading…
Cancel
Save